feat: parser refactor and updates #1600
Annotations
10 errors and 1 warning
🎨 Lint:
domains/grid/schema/elfsightWidgetSchema.ts#L8
Argument of type '{ src: string; }' is not assignable to parameter of type 'string'.
|
🎨 Lint:
domains/grid/schema/instagramWidgetSchema.ts#L9
Argument of type '{ src: string; type?: string | undefined; }' is not assignable to parameter of type 'string'.
|
🎨 Lint:
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'.
|
🎨 Lint:
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'.
|
🎨 Lint:
domains/grid/schema/youtubeWidgetSchema.ts#L9
Argument of type '{ src: string; allow?: string | undefined; }' is not assignable to parameter of type 'string'.
|
🎨 Lint:
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'.
|
🎨 Lint:
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'.
|
🎨 Lint:
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'.
|
🎨 Lint:
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'.
|
🎨 Lint:
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'.
|
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/
|
Loading