Variable campaignDocSchemaConst
campaign
Doc
Schema
: ZodObject<{ advertiser
: ZodString; chain
: ZodNativeEnum<typeof Chains>; details
: ZodString; disableVerification
: ZodOptional<ZodBoolean>; events
: ZodArray<ZodObject<{ contractAddress
: ZodOptional<ZodString>; contractEvent
: ZodOptional<ZodString>; description
: ZodOptional<ZodString>; nativeLimit
: ZodOptional<ZodNumber>; perCommit
: ZodOptional<ZodNumber>; rate
: ZodNumber; strategy
: ZodNativeEnum<typeof CampaignStrategies>; }, "strip", ZodTypeAny, { contractAddress
: undefined | string; contractEvent
: undefined | string; description
: undefined | string; nativeLimit
: undefined | number; perCommit
: undefined | number; rate
: number; strategy
: CampaignStrategies; }, { contractAddress
: undefined | string; contractEvent
: undefined | string; description
: undefined | string; nativeLimit
: undefined | number; perCommit
: undefined | number; rate
: number; strategy
: CampaignStrategies; }>, "many">; id
: ZodOptional<ZodString>; owner
: ZodOptional<ZodString>; reward
: ZodObject<{ address
: ZodOptional<ZodString>; name
: ZodString; ticker
: ZodString; type
: ZodNativeEnum<typeof RewardTypes>; }, "strip", ZodTypeAny, { address
: undefined | string; name
: string; ticker
: string; type
: RewardTypes; }, { address
: undefined | string; name
: string; ticker
: string; type
: RewardTypes; }>; }, "strip", ZodTypeAny, { advertiser
: string; chain
: Chains; details
: string; disableVerification
: undefined | boolean; events
: ({ description?: string | undefined; nativeLimit?: number | undefined; perCommit?: number | undefined; contractAddress?: string | undefined; contractEvent?: string | undefined; strategy: CampaignStrategies; rate: number; }
)[]; id
: undefined | string; owner
: undefined | string; reward
: { address?: string | undefined; name: string; type: RewardTypes; ticker: string; }
; }, { advertiser
: string; chain
: Chains; details
: string; disableVerification
: undefined | boolean; events
: ({ description?: string | undefined; nativeLimit?: number | undefined; perCommit?: number | undefined; contractAddress?: string | undefined; contractEvent?: string | undefined; strategy: CampaignStrategies; rate: number; }
)[]; id
: undefined | string; owner
: undefined | string; reward
: { address?: string | undefined; name: string; type: RewardTypes; ticker: string; }
; }> = ...