Skip to content

feat: Group API Clients by Path Structure #564

feat: Group API Clients by Path Structure

feat: Group API Clients by Path Structure #564

Triggered via pull request December 5, 2024 21:33
Status Failure
Total duration 3m 32s
Artifacts

quality.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 4 warnings
Typecheck
Type '{ optionalType: "questionToken"; usedEnumNames: {}; enumType: "asConst"; enumSuffix: string; dateType: "string"; transformers: {}; oasType: false; unknownType: "any"; override: never[]; mapper: {}; output: { path: string; }; } | { optionalType: "undefined"; usedEnumNames: {}; enumType: "asConst"; enumSuffix: string; dateType: "string"; transformers: {}; oasType: false; unknownType: "any"; override: never[]; mapper: {}; output: { path: string; }; } | { mapper: { readonly category: PropertySignature; }; usedEnumNames: {}; enumType: "asConst"; enumSuffix: string; dateType: "string"; transformers: {}; oasType: false; unknownType: "any"; optionalType: "questionToken"; override: never[]; output: { path: string; }; } | { optionalType: "questionTokenAndUndefined"; usedEnumNames: {}; enumType: "asConst"; enumSuffix: string; dateType: "string"; transformers: {}; oasType: false; unknownType: "any"; override: never[]; mapper: {}; output: { path: string; }; } | { optionalType: "questionToken"; usedEnumNames: {}; enumType: "asConst"; enumSuffix: string; dateType: "string"; transformers: {}; oasType: false; unknownType: "any"; override: never[]; mapper: {}; output: { path: string; }; } | { optionalType: "questionToken"; usedEnumNames: {}; enumType: "asConst"; enumSuffix: string; dateType: "string"; transformers: {}; oasType: false; unknownType: "any"; override: never[]; mapper: {}; output: { path: string; }; } | { enumType: "asConst"; optionalType: "questionToken"; usedEnumNames: {}; enumSuffix: string; dateType: "string"; transformers: {}; oasType: false; unknownType: "any"; override: never[]; mapper: {}; output: { path: string; }; } | { enumType: "asConst"; optionalType: "questionToken"; usedEnumNames: {}; enumSuffix: string; dateType: "string"; transformers: {}; oasType: false; unknownType: "any"; override: never[]; mapper: {}; output: { path: string; }; } | { enumType: "asConst"; optionalType: "questionToken"; usedEnumNames: {}; enumSuffix: string; dateType: "string"; transformers: {}; oasType: false; unknownType: "any"; override: never[]; mapper: {}; output: { path: string; }; } | { enumType: "asConst"; optionalType: "questionToken"; usedEnumNames: {}; enumSuffix: string; dateType: "string"; transformers: {}; oasType: false; unknownType: "any"; override: never[]; mapper: {}; output: { path: string; }; } | { enumType: "asConst"; optionalType: "questionToken"; usedEnumNames: {}; enumSuffix: string; dateType: "string"; transformers: {}; oasType: false; unknownType: "any"; override: never[]; mapper: {}; output: { path: string; }; } | { enumType: "asConst"; optionalType: "questionToken"; usedEnumNames: {}; enumSuffix: string; dateType: "string"; transformers: {}; oasType: false; unknownType: "any"; override: never[]; mapper: {}; output: { path: string; }; } | { enumType: "asConst"; optionalType: "questionToken"; usedEnumNames: {}; enumSuffix: string; dateType: "string"; transformers: {}; oasType: false; unknownType: "any"; override: never[]; mapper: {}; output: { path: string; }; } | { enumType: "asConst"; optionalType: "questionToken"; usedEnumNames: {}; enumSuffix: string; dateType: "string"; transformers: {}; oasType: false; unknownType: "any"; override: never[]; mapper: {}; output: { path: string; }; } | { enumType: "asConst"; optionalType: "questionToken"; usedEnumNames: {}; enumSuffix: string; dateType: "string"; transformers: {}; oasType: false; unknownType: "any"; override: never[]; mapper: {}; output: { path: string; }; } | { enumType: "asConst"; optionalType: "questionToken"; usedEnumNames: {}; enumSuffix: string; dateType: "string"; transformers: {}; oasType: false; unknownType: "any"; override: never[]; mapper: {}; output: { path: string; }; } | { enumType: "asConst"; optionalType: "questionToken"; usedEnumNames: {}; enumSuffix: string; dateType: "string"; transformers: {}; oasType: false; unknownType: "any"; override: never[]; mapper: {}; output: { path: string; }; } | { enumType: "asConst"; optionalType: "questionToken"; usedEnumNames: {}; enumSuffix: string; dateType: "string"; transformers: {}; oasType: false; unk
Typecheck
Property 'group' is missing in type '{ unknownType: "unknown" | "any"; enumType: "asConst"; enumSuffix: string; dateType: "string"; optionalType: "questionToken"; usedEnumNames: {}; transformers: {}; oasType: false; override: never[]; mapper: {}; output: { path: string; }; }' but required in type 'ResolvedOptions'.
Typecheck
Type '{ dateType: "date"; dateParser: string; seed: undefined; regexGenerator: "faker"; override: never[]; transformers: {}; unknownType: "unknown"; mapper: {}; output: { path: string; }; } | { dateType: "string"; dateParser: "dayjs"; seed: undefined; regexGenerator: "faker"; override: never[]; transformers: {}; unknownType: "unknown"; mapper: {}; output: { path: string; }; } | { dateParser: "faker"; dateType: "string"; seed: undefined; regexGenerator: "faker"; override: never[]; transformers: {}; unknownType: "unknown"; mapper: {}; output: { path: string; }; } | { mapper: { readonly id: "faker.string.fromCharacters('abc')"; readonly name: "faker.string.alpha({casing: 'lower'})"; }; dateType: "date"; dateParser: string; seed: undefined; regexGenerator: "faker"; override: never[]; transformers: {}; unknownType: "unknown"; output: { path: string; }; } | { regexGenerator: "randexp"; dateType: "date"; dateParser: string; seed: undefined; override: never[]; transformers: {}; unknownType: "unknown"; mapper: {}; output: { path: string; }; } | { dateType: "date"; dateParser: string; seed: undefined; regexGenerator: "faker"; override: never[]; transformers: {}; unknownType: "unknown"; mapper: {}; output: { path: string; }; } | { dateType: "date"; dateParser: string; seed: undefined; regexGenerator: "faker"; override: never[]; transformers: {}; unknownType: "unknown"; mapper: {}; output: { path: string; }; } | { dateType: "date"; dateParser: string; seed: undefined; regexGenerator: "faker"; override: never[]; transformers: {}; unknownType: "unknown"; mapper: {}; output: { path: string; }; }' is not assignable to type 'ResolvedOptions'.
Typecheck
Type '{ dateType: "date"; dateParser: string; seed: undefined; regexGenerator: "faker"; override: never[]; transformers: {}; unknownType: "unknown"; mapper: {}; output: { path: string; }; } | { dateType: "date"; dateParser: string; seed: undefined; regexGenerator: "faker"; override: never[]; transformers: {}; unknownType: "unknown"; mapper: {}; output: { path: string; }; } | { dateType: "date"; dateParser: string; seed: undefined; regexGenerator: "faker"; override: never[]; transformers: {}; unknownType: "unknown"; mapper: {}; output: { path: string; }; } | { unknownType: "any"; dateType: "date"; dateParser: string; seed: undefined; regexGenerator: "faker"; override: never[]; transformers: {}; mapper: {}; output: { path: string; }; } | { seed: [222]; dateType: "date"; dateParser: string; regexGenerator: "faker"; override: never[]; transformers: {}; unknownType: "unknown"; mapper: {}; output: { path: string; }; } | { dateType: "date"; dateParser: string; seed: undefined; regexGenerator: "faker"; override: never[]; transformers: {}; unknownType: "unknown"; mapper: {}; output: { path: string; }; }' is not assignable to type 'ResolvedOptions'.
Typecheck
Property 'group' is missing in type '{ dateType: "date"; transformers: {}; inferred: false; typed: false; unknownType: "any"; mapper: {}; importPath: string; coercion: false; operations: false; override: never[]; output: { path: string; }; }' but required in type 'ResolvedOptions'.
Typecheck
Type '{ dateType: "date"; transformers: {}; inferred: false; typed: false; unknownType: "any"; mapper: {}; importPath: string; coercion: false; operations: false; override: never[]; output: { path: string; }; } | { typed: true; dateType: "date"; transformers: {}; inferred: false; unknownType: "any"; mapper: {}; importPath: string; coercion: false; operations: false; override: never[]; output: { path: string; }; } | { coercion: true; dateType: "date"; transformers: {}; inferred: false; typed: false; unknownType: "any"; mapper: {}; importPath: string; operations: false; override: never[]; output: { path: string; }; } | { mapper: { readonly name: "z.string().email()"; }; dateType: "date"; transformers: {}; inferred: false; typed: false; unknownType: "any"; importPath: string; coercion: false; operations: false; override: never[]; output: { path: string; }; } | { dateType: "date"; transformers: {}; inferred: false; typed: false; unknownType: "any"; mapper: {}; importPath: string; coercion: false; operations: false; override: never[]; output: { path: string; }; } | { inferred: true; dateType: "date"; transformers: {}; typed: false; unknownType: "any"; mapper: {}; importPath: string; coercion: false; operations: false; override: never[]; output: { path: string; }; } | { typed: true; dateType: "date"; transformers: {}; inferred: false; unknownType: "any"; mapper: {}; importPath: string; coercion: false; operations: false; override: never[]; output: { path: string; }; } | { dateType: "date"; transformers: {}; inferred: false; typed: false; unknownType: "any"; mapper: {}; importPath: string; coercion: false; operations: false; override: never[]; output: { path: string; }; } | { dateType: "date"; transformers: {}; inferred: false; typed: false; unknownType: "any"; mapper: {}; importPath: string; coercion: false; operations: false; override: never[]; output: { path: string; }; } | { dateType: "string"; transformers: {}; inferred: false; typed: false; unknownType: "any"; mapper: {}; importPath: string; coercion: false; operations: false; override: never[]; output: { path: string; }; } | { dateType: "date"; transformers: {}; inferred: false; typed: false; unknownType: "any"; mapper: {}; importPath: string; coercion: false; operations: false; override: never[]; output: { path: string; }; } | { dateType: false; transformers: {}; inferred: false; typed: false; unknownType: "any"; mapper: {}; importPath: string; coercion: false; operations: false; override: never[]; output: { path: string; }; } | { dateType: "date"; transformers: {}; inferred: false; typed: false; unknownType: "any"; mapper: {}; importPath: string; coercion: false; operations: false; override: never[]; output: { path: string; }; } | { dateType: "date"; transformers: {}; inferred: false; typed: false; unknownType: "any"; mapper: {}; importPath: string; coercion: false; operations: false; override: never[]; output: { path: string; }; } | { dateType: "date"; transformers: {}; inferred: false; typed: false; unknownType: "any"; mapper: {}; importPath: string; coercion: false; operations: false; override: never[]; output: { path: string; }; } | { dateType: "date"; transformers: {}; inferred: false; typed: false; unknownType: "any"; mapper: {}; importPath: string; coercion: false; operations: false; override: never[]; output: { path: string; }; } | { dateType: "date"; transformers: {}; inferred: false; typed: false; unknownType: "any"; mapper: {}; importPath: string; coercion: false; operations: false; override: never[]; output: { path: string; }; } | { dateType: "date"; transformers: {}; inferred: false; typed: false; unknownType: "any"; mapper: {}; importPath: string; coercion: false; operations: false; override: never[]; output: { path: string; }; } | { dateType: "date"; transformers: {}; inferred: false; typed: false; unknownType: "any"; mapper: {}; importPath: string; coercion: false; operations: false; override: never[]; output: { path: string; }; } | { dateType: "date"; transformers: {}; inferred: false; typed: false; unknownType: "any"; mapper: {}; importPath: string; c
Typecheck
Property 'group' is missing in type '{ unknownType: "unknown" | "any"; dateType: "date"; transformers: {}; typed: false; inferred: false; mapper: {}; importPath: string; coercion: false; operations: false; override: never[]; output: { path: string; }; }' but required in type 'ResolvedOptions'.
Typecheck
Property 'group' is missing in type '{ output: { path: string; }; parser: "data"; }' but required in type 'ResolvedOptions'.
Typecheck
Property 'group' is missing in type '{ parser: "data" | "faker"; output: { path: string; }; }' but required in type 'ResolvedOptions'.
Typecheck
Type '{ client: { dataReturnType: "data"; importPath: string; }; parser: "zod"; paramsType: "inline"; pathParamsType: "inline"; queryKey: Transformer; query: { importPath: string; methods: "get"[]; }; output: { path: string; }; } | { pathParamsType: "object"; client: { dataReturnType: "data"; importPath: string; }; parser: "zod"; paramsType: "inline"; queryKey: Transformer; query: { importPath: string; methods: "get"[]; }; output: { path: string; }; } | { parser: "zod"; client: { dataReturnType: "data"; importPath: string; }; paramsType: "inline"; pathParamsType: "inline"; queryKey: Transformer; query: { importPath: string; methods: "get"[]; }; output: { path: string; }; } | { query: { readonly methods: ["get"]; readonly importPath: "@tanstack/react-query"; }; queryKey: (props: TransformerProps) => unknown[]; client: { dataReturnType: "data"; importPath: string; }; parser: "zod"; paramsType: "inline"; pathParamsType: "inline"; output: { path: string; }; } | { client: { readonly dataReturnType: "data"; readonly importPath: "axios"; }; parser: "zod"; paramsType: "inline"; pathParamsType: "inline"; queryKey: Transformer; query: { importPath: string; methods: "get"[]; }; output: { path: string; }; } | { client: { readonly dataReturnType: "full"; readonly importPath: "@kubb/plugin-client/client"; }; parser: "zod"; paramsType: "inline"; pathParamsType: "inline"; queryKey: Transformer; query: { importPath: string; methods: "get"[]; }; output: { path: string; }; } | { query: { readonly importPath: "custom-query"; readonly methods: ["post"]; }; client: { dataReturnType: "data"; importPath: string; }; parser: "zod"; paramsType: "inline"; pathParamsType: "inline"; queryKey: Transformer; output: { path: string; }; } | { paramsType: "object"; pathParamsType: "object"; client: { dataReturnType: "data"; importPath: string; }; parser: "zod"; queryKey: Transformer; query: { importPath: string; methods: "get"[]; }; output: { path: string; }; }' is not assignable to type 'ResolvedOptions'.
error: Not implemented: packages/core/src/BarrelManager.test.ts#L114
at /home/runner/work/kubb/kubb/packages/core/src/BarrelManager.test.ts:114:25
error: Not implemented: packages/core/src/FileManager.test.ts#L102
at /home/runner/work/kubb/kubb/packages/core/src/FileManager.test.ts:102:26
TypeError: expect(JSON.stringify(files: packages/core/src/FileManager.test.ts#L232
at /home/runner/work/kubb/kubb/packages/core/src/FileManager.test.ts:232:49
TypeError: expect(JSON.stringify(fileManager.files: packages/core/src/FileManager.test.ts#L311
at /home/runner/work/kubb/kubb/packages/core/src/FileManager.test.ts:311:61
TypeError: expect(JSON.stringify(files: packages/core/src/FileManager.test.ts#L353
at /home/runner/work/kubb/kubb/packages/core/src/FileManager.test.ts:353:49
error: Not implemented: packages/core/src/FileManager.test.ts#L540
at /home/runner/work/kubb/kubb/packages/core/src/FileManager.test.ts:540:37
error: Not implemented: packages/core/src/FileManager.test.ts#L577
at /home/runner/work/kubb/kubb/packages/core/src/FileManager.test.ts:577:37
error: Not implemented: packages/core/src/FileManager.test.ts#L613
at /home/runner/work/kubb/kubb/packages/core/src/FileManager.test.ts:613:85
ReferenceError: Can't find variable: describe: packages/react/src/components/File.test.tsx#L5
at /home/runner/work/kubb/kubb/packages/react/src/components/File.test.tsx:5:1
error: Not implemented: packages/core/src/transformers/stringify.test.ts#L5
at /home/runner/work/kubb/kubb/packages/core/src/transformers/stringify.test.ts:5:28
Linting
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Typecheck
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636