Convert getCommunities to TRPC and add additional flags. #26126
Annotations
6 errors and 1 warning
Type 'CommunityMiddleware' is not assignable to type 'CommandHandler<ZodObject<{ id: ZodString; metadata: ZodObject<{ name: ZodString; description: ZodString; required_requirements: ZodOptional<ZodNumber>; membership_ttl: ZodOptional<...>; }, "strip", ZodTypeAny, { ...; }, { ...; }>; requirements: ZodArray<...>; topics: ZodOptional<...>; }, "strip", ZodTypeAny, { ...; ...'.
|
Type '({ payload }: CommandContext<ZodObject<{ id: ZodString; }, "strip", ZodTypeAny, { id: string; }, { id: string; }>>) => Promise<{ groups: { id: number; ... 5 more ...; is_system_managed?: boolean | undefined; }[] | null | undefined; created: false; } | { ...; }>' is not assignable to type 'CommandHandler<ZodObject<{ id: ZodString; }, "strip", ZodTypeAny, { id: string; }, { id: string; }>, ZodObject<{ groups: ZodArray<ZodObject<{ id: ZodNumber; community_id: ZodString; ... 4 more ...; updated_at: ZodOptional<...>; }, "strip", ZodTypeAny, { ...; }, { ...; }>, "many">; created: ZodBoolean; }, "strip", Zo...'.
|
|
Type 'CommunityMiddleware' is not assignable to type 'CommandHandler<ZodObject<{ id: ZodString; contest_address: ZodString; name: ZodString; image_url: ZodOptional<ZodString>; funding_token_address: ZodOptional<...>; ... 5 more ...; topic_ids: ZodOptional<...>; }, "strip", ZodTypeAny, { ...; }, { ...; }>, ZodObject<...>>'.
|
|
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "FlakySuiteStatus", "MatureSuiteStatus".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
This job failed
Loading