Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

feat: parser refactor and updates #1603

feat: parser refactor and updates

feat: parser refactor and updates #1603

Triggered via pull request November 5, 2024 10:24
Status Failure
Total duration 2m 30s
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/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#L44
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#L50
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#L51
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: domains/grid/shared/config.ts#L52
Type of computed property's value is 'ZodEffects<ZodObject<{ src: ZodString; type: ZodOptional<ZodString>; allow: ZodOptional<ZodString>; }, "strip", ZodTypeAny, { ...; }, { ...; }>, { ...; }, { ...; }>', which is not assignable to type 'GridSchemaMap'.
test: domains/grid/shared/config.ts#L53
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#L54
Type of computed property's value is 'ZodEffects<ZodObject<{ src: ZodString; }, "strip", ZodTypeAny, { src: string; }, { src: string; }>, { [x: string]: unknown; }, { src: string; }>', 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/