Skip to content

feat: added openai embeddings and functions #8

feat: added openai embeddings and functions

feat: added openai embeddings and functions #8

Triggered via push July 22, 2023 03:51
Status Failure
Total duration 1m 21s
Artifacts
Matrix: Verify / Test
Matrix: Verify / Types
Release canary
0s
Release canary
Changesets
0s
Changesets
Fit to window
Zoom out
Zoom in

Annotations

46 errors
Verify / Build: src/zod-to-json-schema/parsers/array.ts#L22
Type 'JsonSchema7Type | undefined' is not assignable to type 'JsonSchema7Type' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target.
Verify / Build: src/zod-to-json-schema/parsers/nativeEnum.ts#L13
Type 'undefined' cannot be used as an index type.
Verify / Build: src/zod-to-json-schema/parsers/nativeEnum.ts#L19
Argument of type '(values: string | number) => "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "function"' is not assignable to parameter of type '(value: string | number | undefined, index: number, array: (string | number | undefined)[]) => "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "function"'.
Verify / Build: src/zod-to-json-schema/parsers/nativeEnum.ts#L29
Type '(string | number | undefined)[]' is not assignable to type '(string | number)[]'.
Verify / Build: src/zod-to-json-schema/parsers/set.ts#L24
Type '{ type: "array"; uniqueItems: true; items: JsonSchema7Type | undefined; }' is not assignable to type 'JsonSchema7SetType' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
Verify / Build: src/zod-to-json-schema/parsers/string.ts#L199
Argument of type '{ errorMessage?: { format: string | undefined; }; format: "date-time" | "email" | "idn-email" | "uri" | "uuid" | "ipv4" | "ipv6"; }' is not assignable to parameter of type '{ format: string; errorMessage?: Partial<Omit<{ format: string; }, "" | "errorMessages" | "type">>; }' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
Verify / Build: src/zod-to-json-schema/parsers/string.ts#L237
Argument of type '{ errorMessage?: { pattern: string | undefined; }; pattern: string; }' is not assignable to parameter of type '{ pattern: string; errorMessage?: Partial<Omit<{ pattern: string; }, "" | "errorMessages" | "type">>; }' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
Verify / Build: src/zod-to-json-schema/parsers/tuple.ts#L23
Type '{ type: "array"; minItems: number; items: JsonSchema7Type[]; additionalItems: JsonSchema7Type | undefined; }' is not assignable to type 'JsonSchema7TupleType'.
Verify / Build: src/zod-to-json-schema/parsers/union.ts#L63
Type 'JsonSchema7Primitive | JsonSchema7Primitive[] | undefined' is not assignable to type 'JsonSchema7Primitive | JsonSchema7Primitive[]'.
Verify / Build: src/zod-to-json-schema/parsers/union.ts#L80
Fallthrough case in switch.
Verify / Test (latest)
Process completed with exit code 1.
Verify / Test (5.0.4)
The job was canceled because "latest" failed.
Verify / Test (5.0.4)
Process completed with exit code 1.
Verify / Types (5.0.4): src/zod-to-json-schema/parsers/array.ts#L22
Type 'JsonSchema7Type | undefined' is not assignable to type 'JsonSchema7Type' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target.
Verify / Types (5.0.4): src/zod-to-json-schema/parsers/nativeEnum.ts#L13
Type 'undefined' cannot be used as an index type.
Verify / Types (5.0.4): src/zod-to-json-schema/parsers/nativeEnum.ts#L19
Argument of type '(values: string | number) => "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "function"' is not assignable to parameter of type '(value: string | number | undefined, index: number, array: (string | number | undefined)[]) => "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "function"'.
Verify / Types (5.0.4): src/zod-to-json-schema/parsers/nativeEnum.ts#L29
Type '(string | number | undefined)[]' is not assignable to type '(string | number)[]'.
Verify / Types (5.0.4): src/zod-to-json-schema/parsers/set.ts#L24
Type '{ type: "array"; uniqueItems: true; items: JsonSchema7Type | undefined; }' is not assignable to type 'JsonSchema7SetType' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
Verify / Types (5.0.4): src/zod-to-json-schema/parsers/string.ts#L199
Argument of type '{ errorMessage?: { format: string | undefined; }; format: "date-time" | "email" | "idn-email" | "uri" | "uuid" | "ipv4" | "ipv6"; }' is not assignable to parameter of type '{ format: string; errorMessage?: Partial<Omit<{ format: string; }, "" | "errorMessages" | "type">>; }' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
Verify / Types (5.0.4): src/zod-to-json-schema/parsers/string.ts#L237
Argument of type '{ errorMessage?: { pattern: string | undefined; }; pattern: string; }' is not assignable to parameter of type '{ pattern: string; errorMessage?: Partial<Omit<{ pattern: string; }, "" | "errorMessages" | "type">>; }' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
Verify / Types (5.0.4): src/zod-to-json-schema/parsers/tuple.ts#L23
Type '{ type: "array"; minItems: number; items: JsonSchema7Type[]; additionalItems: JsonSchema7Type | undefined; }' is not assignable to type 'JsonSchema7TupleType'.
Verify / Types (5.0.4): src/zod-to-json-schema/parsers/union.ts#L63
Type 'JsonSchema7Primitive | JsonSchema7Primitive[] | undefined' is not assignable to type 'JsonSchema7Primitive | JsonSchema7Primitive[]'.
Verify / Types (5.0.4): src/zod-to-json-schema/parsers/union.ts#L80
Fallthrough case in switch.
Verify / Test (5.1.3)
The operation was canceled.
Verify / Types (5.1.3)
The job was canceled because "_5_0_4" failed.
Verify / Types (5.1.3): src/zod-to-json-schema/parsers/array.ts#L22
Type 'JsonSchema7Type | undefined' is not assignable to type 'JsonSchema7Type' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target.
Verify / Types (5.1.3): src/zod-to-json-schema/parsers/nativeEnum.ts#L13
Type 'undefined' cannot be used as an index type.
Verify / Types (5.1.3): src/zod-to-json-schema/parsers/nativeEnum.ts#L19
Argument of type '(values: string | number) => "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "function"' is not assignable to parameter of type '(value: string | number | undefined, index: number, array: (string | number | undefined)[]) => "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "function"'.
Verify / Types (5.1.3): src/zod-to-json-schema/parsers/nativeEnum.ts#L29
Type '(string | number | undefined)[]' is not assignable to type '(string | number)[]'.
Verify / Types (5.1.3): src/zod-to-json-schema/parsers/set.ts#L24
Type '{ type: "array"; uniqueItems: true; items: JsonSchema7Type | undefined; }' is not assignable to type 'JsonSchema7SetType' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
Verify / Types (5.1.3): src/zod-to-json-schema/parsers/string.ts#L199
Argument of type '{ errorMessage?: { format: string | undefined; }; format: "date-time" | "email" | "idn-email" | "uri" | "uuid" | "ipv4" | "ipv6"; }' is not assignable to parameter of type '{ format: string; errorMessage?: Partial<Omit<{ format: string; }, "" | "errorMessages" | "type">>; }' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
Verify / Types (5.1.3): src/zod-to-json-schema/parsers/string.ts#L237
Argument of type '{ errorMessage?: { pattern: string | undefined; }; pattern: string; }' is not assignable to parameter of type '{ pattern: string; errorMessage?: Partial<Omit<{ pattern: string; }, "" | "errorMessages" | "type">>; }' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
Verify / Types (5.1.3): src/zod-to-json-schema/parsers/tuple.ts#L23
Type '{ type: "array"; minItems: number; items: JsonSchema7Type[]; additionalItems: JsonSchema7Type | undefined; }' is not assignable to type 'JsonSchema7TupleType'.
Verify / Types (5.1.3): src/zod-to-json-schema/parsers/union.ts#L63
Type 'JsonSchema7Primitive | JsonSchema7Primitive[] | undefined' is not assignable to type 'JsonSchema7Primitive | JsonSchema7Primitive[]'.
Verify / Types (5.1.3): src/zod-to-json-schema/parsers/union.ts#L80
Fallthrough case in switch.
Verify / Types (latest)
The job was canceled because "_5_0_4" failed.
Verify / Types (latest): src/zod-to-json-schema/parsers/array.ts#L22
Type 'JsonSchema7Type | undefined' is not assignable to type 'JsonSchema7Type' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target.
Verify / Types (latest): src/zod-to-json-schema/parsers/nativeEnum.ts#L13
Type 'undefined' cannot be used as an index type.
Verify / Types (latest): src/zod-to-json-schema/parsers/nativeEnum.ts#L19
Argument of type '(values: string | number) => "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "function"' is not assignable to parameter of type '(value: string | number | undefined, index: number, array: (string | number | undefined)[]) => "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "function"'.
Verify / Types (latest): src/zod-to-json-schema/parsers/nativeEnum.ts#L29
Type '(string | number | undefined)[]' is not assignable to type '(string | number)[]'.
Verify / Types (latest): src/zod-to-json-schema/parsers/set.ts#L24
Type '{ type: "array"; uniqueItems: true; items: JsonSchema7Type | undefined; }' is not assignable to type 'JsonSchema7SetType' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
Verify / Types (latest): src/zod-to-json-schema/parsers/string.ts#L199
Argument of type '{ errorMessage?: { format: string | undefined; }; format: "date-time" | "email" | "idn-email" | "uri" | "uuid" | "ipv4" | "ipv6"; }' is not assignable to parameter of type '{ format: string; errorMessage?: Partial<Omit<{ format: string; }, "" | "errorMessages" | "type">>; }' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
Verify / Types (latest): src/zod-to-json-schema/parsers/string.ts#L237
Argument of type '{ errorMessage?: { pattern: string | undefined; }; pattern: string; }' is not assignable to parameter of type '{ pattern: string; errorMessage?: Partial<Omit<{ pattern: string; }, "" | "errorMessages" | "type">>; }' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
Verify / Types (latest): src/zod-to-json-schema/parsers/tuple.ts#L23
Type '{ type: "array"; minItems: number; items: JsonSchema7Type[]; additionalItems: JsonSchema7Type | undefined; }' is not assignable to type 'JsonSchema7TupleType'.
Verify / Types (latest): src/zod-to-json-schema/parsers/union.ts#L63
Type 'JsonSchema7Primitive | JsonSchema7Primitive[] | undefined' is not assignable to type 'JsonSchema7Primitive | JsonSchema7Primitive[]'.
Verify / Types (latest): src/zod-to-json-schema/parsers/union.ts#L80
Fallthrough case in switch.