typings.d.ts 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. declare namespace ADQV3 {
  2. interface AdProps {
  3. userId: number
  4. creativeHandle?: (id: number) => void
  5. };
  6. interface CreativeProps {
  7. queryForm: GetDynamicCreativeProps,
  8. setQueryForm: React.Dispatch<React.SetStateAction<GetDynamicCreativeProps>>,
  9. userId: number
  10. };
  11. interface GetAdListProps {
  12. pageNum: number;
  13. pageSize: number;
  14. useType: 1 | 2, // 1:小说(默认值)2:游戏
  15. accountMemo?: string, // 腾讯备注
  16. accountRemark?: string, // 本地备注
  17. accountIdList?: any[], // 广告账号
  18. adgroupIdList?: any[], // 广告组
  19. adgroupName?: string, // 广告名称
  20. putUserIdList?: number[], // 投手
  21. systemStatusList?: string[], // 广告状态
  22. };
  23. type AccountAdgroupMapsProps = {
  24. accountAdgroupMaps: string[]
  25. };
  26. interface ModifyStatusBatchProps extends AccountAdgroupMapsProps {
  27. suspend: boolean
  28. };
  29. interface ModifyAmountBatchProps extends AccountAdgroupMapsProps {
  30. bidAmount: number
  31. };
  32. interface GetDynamicCreativeProps {
  33. pageNum: number;
  34. pageSize: number;
  35. userId: number;
  36. isDeleted?: boolean;
  37. creativeName?: string;
  38. creativeId?: number;
  39. adgroupId?: number;
  40. accountId?: number
  41. }
  42. }