Skip to content

feat: parser refactor and updates #1596

feat: parser refactor and updates

feat: parser refactor and updates #1596

Triggered via pull request November 4, 2024 16:04
Status Failure
Total duration 3m 13s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
test: domains/grid/schema/elfsightWidgetSchema.ts#L8
Argument of type '{ src: string; }' is not assignable to parameter of type 'string'.
test: domains/grid/schema/instagramWidgetSchema.ts#L9
Argument of type '{ src: string; type?: string | undefined; }' is not assignable to parameter of type 'string'.
test: domains/grid/schema/soundCloudWidgetSchema.ts#L10
Argument of type '{ src: string; type?: string | undefined; allow?: string | undefined; }' is not assignable to parameter of type 'string'.
test: domains/grid/schema/spotifyWidgetSchema.ts#L11
Argument of type '{ src: string; type?: string | undefined; theme?: string | undefined; allow?: string | undefined; }' is not assignable to parameter of type 'string'.
test: domains/grid/schema/youtubeWidgetSchema.ts#L9
Argument of type '{ src: string; allow?: string | undefined; }' is not assignable to parameter of type 'string'.
test: domains/grid/shared/config.ts#L29
Type of computed property's value is 'ZodObject<{ titleColor: ZodEffects<ZodDefault<ZodString>, string, string | undefined>; textColor: ZodEffects<ZodDefault<ZodString>, string, string | undefined>; backgroundColor: ZodEffects<...>; title: ZodOptional<...>; text: ZodOptional<...>; }, "strip", ZodTypeAny, { ...; }, { ...; }>', which is not assignable to type 'GridSchemaMap'.
test: domains/grid/shared/config.ts#L35
Type of computed property's value is 'ZodEffects<ZodObject<{ src: ZodString; type: ZodOptional<ZodString>; }, "strip", ZodTypeAny, { src: string; type?: string | undefined; }, { src: string; type?: string | undefined; }>, { ...; }, { ...; }>', which is not assignable to type 'GridSchemaMap'.
test: domains/grid/shared/config.ts#L36
Type of computed property's value is 'ZodObject<{ src: ZodEffects<ZodString, string, string>; allow: ZodOptional<ZodString>; }, "strip", ZodTypeAny, { src: string; allow?: string | undefined; }, { ...; }>', which is not assignable to type 'GridSchemaMap'.
test: domains/grid/shared/config.ts#L37
Type of computed property's value is 'ZodObject<{ src: ZodEffects<ZodString, string, string>; }, "strip", ZodTypeAny, { src: string; }, { src: string; }>', which is not assignable to type 'GridSchemaMap'.
test: domains/grid/shared/config.ts#L38
Type of computed property's value is 'ZodEffects<ZodObject<{ src: ZodString; allow: ZodOptional<ZodString>; }, "strip", ZodTypeAny, { src: string; allow?: string | undefined; }, { src: string; allow?: string | undefined; }>, { ...; }, { ...; }>', which is not assignable to type 'GridSchemaMap'.
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/