Skip to content

groq-builder: zod compatibility #508

groq-builder: zod compatibility

groq-builder: zod compatibility #508

Triggered via pull request January 23, 2024 22:21
Status Failure
Total duration 38s
Artifacts

static-analysis.yml

on: pull_request
Lint and Type-check
30s
Lint and Type-check
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Lint and Type-check
Module '"../validation/lite"' has no exported member 'zod'.
Lint and Type-check
Type '{ productNames: string[]; categoryNames: string[]; }' does not satisfy the constraint '{ [ERROR]: "Types should be strict equal"; }'.
Lint and Type-check
Type '{ INVALID: TypeMismatchError<{ error: "⛔️ 'true' can only be used for known properties ⛔️"; expected: "_type" | "description" | "style" | "flavour" | "slug" | "name" | "_id" | "_createdAt" | "_updatedAt" | ... 4 more ... | "price"; actual: "INVALID"; }>; }[]' does not satisfy the constraint '{ [ERROR]: "Types should be strict equal"; }'.
Lint and Type-check
Type '{ name: string; }[]' does not satisfy the constraint '{ [ERROR]: "Types should be strict equal"; }'.
Lint and Type-check
Type '{ id: string | undefined; name: string; price: number; msrp: number; }[]' does not satisfy the constraint '{ [ERROR]: "Types should be strict equal"; }'.
Lint and Type-check
Type '{ name: string; price: number; }[]' does not satisfy the constraint '{ [ERROR]: "Types should be strict equal"; }'.
Lint and Type-check
Unused '@ts-expect-error' directive.
Lint and Type-check
Unused '@ts-expect-error' directive.
Lint and Type-check
Unused '@ts-expect-error' directive.
Lint and Type-check
Type '{ NAME: string; SLUG: string; msrp: number; }[]' does not satisfy the constraint '{ [ERROR]: "Types should be strict equal"; }'.
Lint and Type-check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/