Skip to content

feat: file uplaod with options #16940

feat: file uplaod with options

feat: file uplaod with options #16940

Triggered via pull request February 4, 2025 15:16
Status Failure
Total duration 6m 32s
Artifacts 1

lint-and-test.yml

on: pull_request
Prepare client tests
2m 30s
Prepare client tests
Setup tests
5s
Setup tests
Lint unused exports with Knip
5m 11s
Lint unused exports with Knip
Build toolkit
3m 3s
Build toolkit
Matrix: Test client
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

16 errors
Test (packages/events): packages/events/src/router/middleware/validate/index.ts#L31
Switch is not exhaustive. Cases not matched: "FILE_WITH_OPTIONS"
Test (packages/events): packages/events/src/tests/generators.ts#L32
Switch is not exhaustive. Cases not matched: "FILE_WITH_OPTIONS"
Test (packages/events)
Process completed with exit code 1.
Test (packages/gateway)
'schema' is possibly 'undefined'.
Test (packages/gateway)
Type 'ZodString | ZodOptional<ZodString> | ZodNullable<ZodObject<{ filename: ZodString; originalFilename: ZodString; type: ZodString; }, "strip", ZodTypeAny, { ...; }, { ...; }>> | ZodBoolean | ZodOptional<...> | ZodOptional<...> | undefined' is not assignable to type 'InputField | OptionalInputField'.
Test (packages/gateway)
Process completed with exit code 2.
Build toolkit
'schema' is possibly 'undefined'.
Build toolkit
Type 'ZodString | ZodOptional<ZodString> | ZodNullable<ZodObject<{ filename: ZodString; originalFilename: ZodString; type: ZodString; }, "strip", ZodTypeAny, { ...; }, { ...; }>> | ZodBoolean | ZodOptional<...> | ZodOptional<...> | undefined' is not assignable to type 'InputField | OptionalInputField'.
Build toolkit
Not all code paths return a value.
Build toolkit
Process completed with exit code 2.
Lint client
Cannot invoke an object which is possibly 'null'.
Lint client
The 'this' context of type 'void' is not assignable to method's 'this' of type 'Window'.
Lint client
Type '{ id: string; inputId: string; isDisabled: boolean; options: { value: string; label: TranslationConfig; }[]; value: string | undefined; onChange: (val: string) => void; }' is not assignable to type 'IntrinsicAttributes & { id: string; type: "SELECT"; options: { value: string; label: TranslationConfig; }[]; label: TranslationConfig; ... 8 more ...; hideLabel?: boolean | undefined; } & { ...; }'.
Lint client
'schema' is possibly 'undefined'.
Lint client
Type 'ZodString | ZodOptional<ZodString> | ZodNullable<ZodObject<{ filename: ZodString; originalFilename: ZodString; type: ZodString; }, "strip", ZodTypeAny, { ...; }, { ...; }>> | ZodBoolean | ZodOptional<...> | ZodOptional<...> | undefined' is not assignable to type 'InputField | OptionalInputField'.
Lint client
Process completed with exit code 2.

Artifacts

Produced during runtime
Name Size
client
11.5 MB