Skip to content

feat: parser refactor and updates #1599

feat: parser refactor and updates

feat: parser refactor and updates #1599

Triggered via pull request November 4, 2024 18:09
Status Failure
Total duration 3m 16s
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#L39
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#L40
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#L41
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#L42
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: domains/grid/shared/config.ts#L43
Type of computed property's value is 'ZodEffects<ZodObject<{ src: ZodString; type: ZodOptional<ZodString>; allow: ZodOptional<ZodString>; theme: ZodOptional<ZodString>; }, "strip", ZodTypeAny, { ...; }, { ...; }>, { ...; }, { ...; }>', 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/