@kubb/plugin-ts 4.29.1 → 4.31.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/package.json +9 -8
  2. package/dist/types-BX_NNqoT.d.ts +0 -171
  3. package/src/generators/__snapshots__/ACHDetailsResponse.ts +0 -19
  4. package/src/generators/__snapshots__/bodyTest.ts +0 -11
  5. package/src/generators/__snapshots__/bodyUploadFileApiAssetsPost.ts +0 -14
  6. package/src/generators/__snapshots__/catDogDiscriminator.ts +0 -18
  7. package/src/generators/__snapshots__/catDogDiscriminatorWithoutMapping.ts +0 -15
  8. package/src/generators/__snapshots__/catTypeAsConst.ts +0 -22
  9. package/src/generators/__snapshots__/createPet.ts +0 -47
  10. package/src/generators/__snapshots__/createPetWithEmptySchemaTypeUnknown.ts +0 -47
  11. package/src/generators/__snapshots__/createPetWithEmptySchemaTypeVoid.ts +0 -47
  12. package/src/generators/__snapshots__/createPetWithUnknownTypeUnknown.ts +0 -47
  13. package/src/generators/__snapshots__/createPetWithUnknownTypeVoid.ts +0 -47
  14. package/src/generators/__snapshots__/deletePet.ts +0 -11
  15. package/src/generators/__snapshots__/discriminatorInheritVehicle.ts +0 -17
  16. package/src/generators/__snapshots__/discriminatorStrictVehicle.ts +0 -11
  17. package/src/generators/__snapshots__/dogTypeAsConst.ts +0 -22
  18. package/src/generators/__snapshots__/enumAllOf.ts +0 -18
  19. package/src/generators/__snapshots__/enumArray.ts +0 -8
  20. package/src/generators/__snapshots__/enumArray20.ts +0 -20
  21. package/src/generators/__snapshots__/enumInObject.ts +0 -18
  22. package/src/generators/__snapshots__/enumItems.ts +0 -13
  23. package/src/generators/__snapshots__/enumNames.ts +0 -11
  24. package/src/generators/__snapshots__/enumNamesCamelCase.ts +0 -11
  25. package/src/generators/__snapshots__/enumNamesConst.ts +0 -11
  26. package/src/generators/__snapshots__/enumNamesInlineLiteral.ts +0 -6
  27. package/src/generators/__snapshots__/enumNamesLiteral.ts +0 -8
  28. package/src/generators/__snapshots__/enumNamesPascalCase.ts +0 -11
  29. package/src/generators/__snapshots__/enumNamesPascalConst.ts +0 -13
  30. package/src/generators/__snapshots__/enumNamesScreamingSnakeCase.ts +0 -11
  31. package/src/generators/__snapshots__/enumNamesSnakeCase.ts +0 -11
  32. package/src/generators/__snapshots__/enumNamesType.ts +0 -13
  33. package/src/generators/__snapshots__/enumNullableMember.ts +0 -13
  34. package/src/generators/__snapshots__/enumNullableType.ts +0 -13
  35. package/src/generators/__snapshots__/enumString.ts +0 -15
  36. package/src/generators/__snapshots__/enumStringScreamingSnakeCase.ts +0 -15
  37. package/src/generators/__snapshots__/enumVarNamesType.ts +0 -13
  38. package/src/generators/__snapshots__/findArtifactsWithMixedQueryParams.ts +0 -49
  39. package/src/generators/__snapshots__/fooBase.ts +0 -16
  40. package/src/generators/__snapshots__/fooNumber.ts +0 -16
  41. package/src/generators/__snapshots__/getPets.ts +0 -30
  42. package/src/generators/__snapshots__/mixedValueTypeConst.ts +0 -14
  43. package/src/generators/__snapshots__/nullConstNull.ts +0 -11
  44. package/src/generators/__snapshots__/nullable.ts +0 -11
  45. package/src/generators/__snapshots__/numberValueConst.ts +0 -14
  46. package/src/generators/__snapshots__/pascalEnum.ts +0 -13
  47. package/src/generators/__snapshots__/paymentAccountDetailsResponse.ts +0 -12
  48. package/src/generators/__snapshots__/performActionTestingWithSnakeCaseParamsAndParamsCasingCamelcase.ts +0 -45
  49. package/src/generators/__snapshots__/petDict.ts +0 -16
  50. package/src/generators/__snapshots__/petIntegerTypeNumber.ts +0 -35
  51. package/src/generators/__snapshots__/petMapper.ts +0 -23
  52. package/src/generators/__snapshots__/petQuestionToken.ts +0 -35
  53. package/src/generators/__snapshots__/petQuestionTokenAndUndefined.ts +0 -37
  54. package/src/generators/__snapshots__/petUndefined.ts +0 -37
  55. package/src/generators/__snapshots__/pets.ts +0 -19
  56. package/src/generators/__snapshots__/petsInterface.ts +0 -19
  57. package/src/generators/__snapshots__/petsStoreAdvancedDiscriminator.ts +0 -33
  58. package/src/generators/__snapshots__/petsStoreDiscriminator.ts +0 -18
  59. package/src/generators/__snapshots__/petsStoreNotifcationDiscriminator.ts +0 -26
  60. package/src/generators/__snapshots__/petsStoreRef.ts +0 -6
  61. package/src/generators/__snapshots__/plainDateDate.ts +0 -9
  62. package/src/generators/__snapshots__/plainDateString.ts +0 -9
  63. package/src/generators/__snapshots__/plainEmail.ts +0 -9
  64. package/src/generators/__snapshots__/plainFile.ts +0 -9
  65. package/src/generators/__snapshots__/plainTimeDate.ts +0 -9
  66. package/src/generators/__snapshots__/plainUuid.ts +0 -9
  67. package/src/generators/__snapshots__/readOnly.ts +0 -25
  68. package/src/generators/__snapshots__/showPetById.ts +0 -36
  69. package/src/generators/__snapshots__/stringValueConst.ts +0 -14
  70. package/src/generators/__snapshots__/systemsWithExplodeForm.ts +0 -24
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/plugin-ts",
3
- "version": "4.29.1",
3
+ "version": "4.31.1",
4
4
  "description": "TypeScript code generation plugin for Kubb, transforming OpenAPI schemas into TypeScript interfaces, types, and utility functions.",
5
5
  "keywords": [
6
6
  "typescript",
@@ -56,7 +56,8 @@
56
56
  "src",
57
57
  "dist",
58
58
  "!/**/**.test.**",
59
- "!/**/__tests__/**"
59
+ "!/**/__tests__/**",
60
+ "!/**/__snapshots__/**"
60
61
  ],
61
62
  "size-limit": [
62
63
  {
@@ -66,16 +67,16 @@
66
67
  }
67
68
  ],
68
69
  "dependencies": {
69
- "@kubb/fabric-core": "0.13.1",
70
- "@kubb/react-fabric": "0.13.1",
70
+ "@kubb/fabric-core": "0.13.3",
71
+ "@kubb/react-fabric": "0.13.3",
71
72
  "remeda": "^2.33.6",
72
73
  "typescript": "5.9.3",
73
- "@kubb/core": "4.29.1",
74
- "@kubb/oas": "4.29.1",
75
- "@kubb/plugin-oas": "4.29.1"
74
+ "@kubb/core": "4.31.1",
75
+ "@kubb/oas": "4.31.1",
76
+ "@kubb/plugin-oas": "4.31.1"
76
77
  },
77
78
  "peerDependencies": {
78
- "@kubb/react-fabric": "0.13.0",
79
+ "@kubb/react-fabric": "0.13.3",
79
80
  "typescript": ">=5.9.0"
80
81
  },
81
82
  "engines": {
@@ -1,171 +0,0 @@
1
- import { Oas, contentType } from "@kubb/oas";
2
- import { Exclude, Include, Override, ResolvePathOptions } from "@kubb/plugin-oas";
3
- import { Group, Output, PluginFactoryOptions, ResolveNameParams } from "@kubb/core";
4
- import { Generator } from "@kubb/plugin-oas/generators";
5
- import ts from "typescript";
6
-
7
- //#region \0rolldown/runtime.js
8
- //#endregion
9
- //#region src/types.d.ts
10
- type Options = {
11
- /**
12
- * Specify the export location for the files and define the behavior of the output
13
- * @default { path: 'types', barrelType: 'named' }
14
- */
15
- output?: Output<Oas>;
16
- /**
17
- * Define which contentType should be used.
18
- * By default, uses the first valid JSON media type.
19
- */
20
- contentType?: contentType;
21
- /**
22
- * Group the clients based on the provided name.
23
- */
24
- group?: Group;
25
- /**
26
- * Array containing exclude parameters to exclude/skip tags/operations/methods/paths.
27
- */
28
- exclude?: Array<Exclude>;
29
- /**
30
- * Array containing include parameters to include tags/operations/methods/paths.
31
- */
32
- include?: Array<Include>;
33
- /**
34
- * Array containing override parameters to override `options` based on tags/operations/methods/paths.
35
- */
36
- override?: Array<Override<ResolvedOptions>>;
37
- /**
38
- * Choose to use enum, asConst, asPascalConst, constEnum, literal, or inlineLiteral for enums.
39
- * - 'enum' generates TypeScript enum declarations.
40
- * - 'asConst' generates const objects with camelCase names and as const assertion.
41
- * - 'asPascalConst' generates const objects with PascalCase names and as const assertion.
42
- * - 'constEnum' generates TypeScript const enum declarations.
43
- * - 'literal' generates literal union types.
44
- * - 'inlineLiteral' inline enum values directly into the type (default in v5).
45
- * @default 'asConst'
46
- * @note In Kubb v5, 'inlineLiteral' becomes the default.
47
- */
48
- enumType?: 'enum' | 'asConst' | 'asPascalConst' | 'constEnum' | 'literal' | 'inlineLiteral';
49
- /**
50
- * Choose the casing for enum key names.
51
- * - 'screamingSnakeCase' generates keys in SCREAMING_SNAKE_CASE format.
52
- * - 'snakeCase' generates keys in snake_case format.
53
- * - 'pascalCase' generates keys in PascalCase format.
54
- * - 'camelCase' generates keys in camelCase format.
55
- * - 'none' uses the enum value as-is without transformation.
56
- * @default 'none'
57
- */
58
- enumKeyCasing?: 'screamingSnakeCase' | 'snakeCase' | 'pascalCase' | 'camelCase' | 'none';
59
- /**
60
- * Switch between type or interface for creating TypeScript types.
61
- * - 'type' generates type alias declarations.
62
- * - 'interface' generates interface declarations.
63
- * @default 'type'
64
- */
65
- syntaxType?: 'type' | 'interface';
66
- /**
67
- * Set a suffix for the generated enums.
68
- * @default 'enum'
69
- */
70
- enumSuffix?: string;
71
- /**
72
- * Choose to use date or datetime as JavaScript Date instead of string.
73
- * - 'string' represents dates as string values.
74
- * - 'date' represents dates as JavaScript Date objects.
75
- * @default 'string'
76
- */
77
- dateType?: 'string' | 'date';
78
- /**
79
- * Choose to use `number` or `bigint` for integer fields with `int64` format.
80
- * - 'number' uses the TypeScript `number` type (matches JSON.parse() runtime behavior).
81
- * - 'bigint' uses the TypeScript `bigint` type (accurate for values exceeding Number.MAX_SAFE_INTEGER).
82
- * @note in v5 of Kubb 'bigint' will become the default to better align with OpenAPI's int64 specification.
83
- * @default 'number'
84
- */
85
- integerType?: 'number' | 'bigint';
86
- /**
87
- * Which type to use when the Swagger/OpenAPI file is not providing more information.
88
- * - 'any' allows any value.
89
- * - 'unknown' requires type narrowing before use.
90
- * - 'void' represents no value.
91
- * @default 'any'
92
- */
93
- unknownType?: 'any' | 'unknown' | 'void';
94
- /**
95
- * Which type to use for empty schema values.
96
- * - 'any' allows any value.
97
- * - 'unknown' requires type narrowing before use.
98
- * - 'void' represents no value.
99
- * @default `unknownType`
100
- */
101
- emptySchemaType?: 'any' | 'unknown' | 'void';
102
- /**
103
- * Choose what to use as mode for an optional value.
104
- * - 'questionToken' marks the property as optional with ? (e.g., type?: string).
105
- * - 'undefined' adds undefined to the type union (e.g., type: string | undefined).
106
- * - 'questionTokenAndUndefined' combines both approaches (e.g., type?: string | undefined).
107
- * @default 'questionToken'
108
- */
109
- optionalType?: 'questionToken' | 'undefined' | 'questionTokenAndUndefined';
110
- /**
111
- * Choose between Array<string> or string[] for array types.
112
- * - 'generic' generates Array<Type> syntax.
113
- * - 'array' generates Type[] syntax.
114
- * @default 'array'
115
- */
116
- arrayType?: 'generic' | 'array';
117
- transformers?: {
118
- /**
119
- * Customize the names based on the type that is provided by the plugin.
120
- */
121
- name?: (name: ResolveNameParams['name'], type?: ResolveNameParams['type']) => string;
122
- };
123
- /**
124
- * @example
125
- * Use https://ts-ast-viewer.com to generate factory code(see createPropertySignature)
126
- * category: factory.createPropertySignature(
127
- * undefined,
128
- * factory.createIdentifier("category"),
129
- * factory.createToken(ts.SyntaxKind.QuestionToken),
130
- * factory.createKeywordTypeNode(ts.SyntaxKind.StringKeyword)
131
- * )
132
- */
133
- mapper?: Record<string, ts.PropertySignature>;
134
- /**
135
- * How to style your params, by default no casing is applied
136
- * - 'camelcase' uses camelCase for pathParams, queryParams and headerParams property names
137
- * @default undefined
138
- * @note response types (data/body) are NOT affected by this option
139
- */
140
- paramsCasing?: 'camelcase';
141
- /**
142
- * Define some generators next to the ts generators
143
- */
144
- generators?: Array<Generator<PluginTs>>;
145
- /**
146
- * Unstable naming for v5
147
- */
148
- UNSTABLE_NAMING?: true;
149
- };
150
- type ResolvedOptions = {
151
- output: Output<Oas>;
152
- group: Options['group'];
153
- override: NonNullable<Options['override']>;
154
- enumType: NonNullable<Options['enumType']>;
155
- enumKeyCasing: NonNullable<Options['enumKeyCasing']>;
156
- enumSuffix: NonNullable<Options['enumSuffix']>;
157
- dateType: NonNullable<Options['dateType']>;
158
- integerType: NonNullable<Options['integerType']>;
159
- unknownType: NonNullable<Options['unknownType']>;
160
- emptySchemaType: NonNullable<Options['emptySchemaType']>;
161
- optionalType: NonNullable<Options['optionalType']>;
162
- arrayType: NonNullable<Options['arrayType']>;
163
- transformers: NonNullable<Options['transformers']>;
164
- syntaxType: NonNullable<Options['syntaxType']>;
165
- mapper: Record<string, any>;
166
- paramsCasing: Options['paramsCasing'];
167
- };
168
- type PluginTs = PluginFactoryOptions<'plugin-ts', Options, ResolvedOptions, never, ResolvePathOptions>;
169
- //#endregion
170
- export { PluginTs as n, __name as r, Options as t };
171
- //# sourceMappingURL=types-BX_NNqoT.d.ts.map
@@ -1,19 +0,0 @@
1
- /**
2
- * Generated by Kubb (https://kubb.dev/).
3
- * Do not edit manually.
4
- */
5
-
6
- export type ACHDetailsResponse = {
7
- /**
8
- * @type string
9
- */
10
- type: paymentDetailsTypeResponse
11
- /**
12
- * @type string
13
- */
14
- routing_number: string
15
- /**
16
- * @type string
17
- */
18
- account_number: string
19
- }
@@ -1,11 +0,0 @@
1
- /**
2
- * Generated by Kubb (https://kubb.dev/).
3
- * Do not edit manually.
4
- */
5
-
6
- export type bodyTest = {
7
- /**
8
- * @type string
9
- */
10
- file: Blob
11
- }
@@ -1,14 +0,0 @@
1
- /**
2
- * Generated by Kubb (https://kubb.dev/).
3
- * Do not edit manually.
4
- */
5
-
6
- /**
7
- * Body_upload_file_api_assets_post
8
- */
9
- export type bodyUploadFileApiAssetsPost = {
10
- /**
11
- * @type string, binary
12
- */
13
- file: Blob
14
- }
@@ -1,18 +0,0 @@
1
- /**
2
- * Generated by Kubb (https://kubb.dev/).
3
- * Do not edit manually.
4
- */
5
-
6
- /**
7
- * CatDog
8
- */
9
- export type catDog =
10
- | (cat & {
11
- type: 'Cat'
12
- })
13
- | (dog & {
14
- type: 'Dog'
15
- })
16
- | (dog & {
17
- type: 'Bulldog'
18
- })
@@ -1,15 +0,0 @@
1
- /**
2
- * Generated by Kubb (https://kubb.dev/).
3
- * Do not edit manually.
4
- */
5
-
6
- /**
7
- * CatDogWithoutMapping
8
- */
9
- export type catDogWithoutMapping =
10
- | (cat & {
11
- type: 'Cat'
12
- })
13
- | (dog & {
14
- type: 'Dog'
15
- })
@@ -1,22 +0,0 @@
1
- /**
2
- * Generated by Kubb (https://kubb.dev/).
3
- * Do not edit manually.
4
- */
5
-
6
- /**
7
- * Cat
8
- */
9
- export type cat = {
10
- /**
11
- * @type string, uuid
12
- */
13
- id: string
14
- /**
15
- * @type string
16
- */
17
- type: 'Cat'
18
- /**
19
- * @type boolean | undefined
20
- */
21
- meow?: boolean
22
- }
@@ -1,47 +0,0 @@
1
- /**
2
- * Generated by Kubb (https://kubb.dev/).
3
- * Do not edit manually.
4
- */
5
-
6
- /**
7
- * @description Null response
8
- */
9
- export type CreatePets201 = error & {
10
- /**
11
- * @type object | undefined
12
- */
13
- name?: errorCode
14
- /**
15
- * @type string
16
- */
17
- message: string
18
- }
19
-
20
- /**
21
- * @description Accepted response
22
- */
23
- export type CreatePets202 = unknown
24
-
25
- /**
26
- * @description unexpected error
27
- */
28
- export type CreatePetsError = error
29
-
30
- export type CreatePetsMutationRequest = {
31
- /**
32
- * @type string
33
- */
34
- name: string
35
- /**
36
- * @type string
37
- */
38
- tag: string
39
- }
40
-
41
- export type CreatePetsMutationResponse = createPets201 | createPets202
42
-
43
- export type CreatePetsMutation = {
44
- Response: createPets201 | createPets202
45
- Request: createPetsMutationRequest
46
- Errors: any
47
- }
@@ -1,47 +0,0 @@
1
- /**
2
- * Generated by Kubb (https://kubb.dev/).
3
- * Do not edit manually.
4
- */
5
-
6
- /**
7
- * @description Null response
8
- */
9
- export type CreatePets201 = error & {
10
- /**
11
- * @type object | undefined
12
- */
13
- name?: errorCode
14
- /**
15
- * @type string
16
- */
17
- message: string
18
- }
19
-
20
- /**
21
- * @description Accepted response
22
- */
23
- export type CreatePets202 = unknown
24
-
25
- /**
26
- * @description unexpected error
27
- */
28
- export type CreatePetsError = error
29
-
30
- export type CreatePetsMutationRequest = {
31
- /**
32
- * @type string
33
- */
34
- name: string
35
- /**
36
- * @type string
37
- */
38
- tag: string
39
- }
40
-
41
- export type CreatePetsMutationResponse = createPets201 | createPets202
42
-
43
- export type CreatePetsMutation = {
44
- Response: createPets201 | createPets202
45
- Request: createPetsMutationRequest
46
- Errors: any
47
- }
@@ -1,47 +0,0 @@
1
- /**
2
- * Generated by Kubb (https://kubb.dev/).
3
- * Do not edit manually.
4
- */
5
-
6
- /**
7
- * @description Null response
8
- */
9
- export type CreatePets201 = error & {
10
- /**
11
- * @type object | undefined
12
- */
13
- name?: errorCode
14
- /**
15
- * @type string
16
- */
17
- message: string
18
- }
19
-
20
- /**
21
- * @description Accepted response
22
- */
23
- export type CreatePets202 = void
24
-
25
- /**
26
- * @description unexpected error
27
- */
28
- export type CreatePetsError = error
29
-
30
- export type CreatePetsMutationRequest = {
31
- /**
32
- * @type string
33
- */
34
- name: string
35
- /**
36
- * @type string
37
- */
38
- tag: string
39
- }
40
-
41
- export type CreatePetsMutationResponse = createPets201 | createPets202
42
-
43
- export type CreatePetsMutation = {
44
- Response: createPets201 | createPets202
45
- Request: createPetsMutationRequest
46
- Errors: any
47
- }
@@ -1,47 +0,0 @@
1
- /**
2
- * Generated by Kubb (https://kubb.dev/).
3
- * Do not edit manually.
4
- */
5
-
6
- /**
7
- * @description Null response
8
- */
9
- export type CreatePets201 = error & {
10
- /**
11
- * @type object | undefined
12
- */
13
- name?: errorCode
14
- /**
15
- * @type string
16
- */
17
- message: string
18
- }
19
-
20
- /**
21
- * @description Accepted response
22
- */
23
- export type CreatePets202 = unknown
24
-
25
- /**
26
- * @description unexpected error
27
- */
28
- export type CreatePetsError = error
29
-
30
- export type CreatePetsMutationRequest = {
31
- /**
32
- * @type string
33
- */
34
- name: string
35
- /**
36
- * @type string
37
- */
38
- tag: string
39
- }
40
-
41
- export type CreatePetsMutationResponse = createPets201 | createPets202
42
-
43
- export type CreatePetsMutation = {
44
- Response: createPets201 | createPets202
45
- Request: createPetsMutationRequest
46
- Errors: any
47
- }
@@ -1,47 +0,0 @@
1
- /**
2
- * Generated by Kubb (https://kubb.dev/).
3
- * Do not edit manually.
4
- */
5
-
6
- /**
7
- * @description Null response
8
- */
9
- export type CreatePets201 = error & {
10
- /**
11
- * @type object | undefined
12
- */
13
- name?: errorCode
14
- /**
15
- * @type string
16
- */
17
- message: string
18
- }
19
-
20
- /**
21
- * @description Accepted response
22
- */
23
- export type CreatePets202 = unknown
24
-
25
- /**
26
- * @description unexpected error
27
- */
28
- export type CreatePetsError = error
29
-
30
- export type CreatePetsMutationRequest = {
31
- /**
32
- * @type string
33
- */
34
- name: string
35
- /**
36
- * @type string
37
- */
38
- tag: string
39
- }
40
-
41
- export type CreatePetsMutationResponse = createPets201 | createPets202
42
-
43
- export type CreatePetsMutation = {
44
- Response: createPets201 | createPets202
45
- Request: createPetsMutationRequest
46
- Errors: any
47
- }
@@ -1,11 +0,0 @@
1
- /**
2
- * Generated by Kubb (https://kubb.dev/).
3
- * Do not edit manually.
4
- */
5
-
6
- export type DeletePetsPetidMutationResponse = any
7
-
8
- export type DeletePetsPetidMutation = {
9
- Response: any
10
- Errors: any
11
- }
@@ -1,17 +0,0 @@
1
- /**
2
- * Generated by Kubb (https://kubb.dev/).
3
- * Do not edit manually.
4
- */
5
-
6
- export const vehicleTypeEnum = {
7
- car: 'car',
8
- } as const
9
-
10
- export type VehicleTypeEnumKey = (typeof vehicleTypeEnum)[keyof typeof vehicleTypeEnum]
11
-
12
- export type vehicle = car & {
13
- /**
14
- * @type string
15
- */
16
- type: VehicleTypeEnumKey
17
- }
@@ -1,11 +0,0 @@
1
- /**
2
- * Generated by Kubb (https://kubb.dev/).
3
- * Do not edit manually.
4
- */
5
-
6
- export type vehicle = car & {
7
- /**
8
- * @type string
9
- */
10
- type: 'car'
11
- }
@@ -1,22 +0,0 @@
1
- /**
2
- * Generated by Kubb (https://kubb.dev/).
3
- * Do not edit manually.
4
- */
5
-
6
- /**
7
- * Dog
8
- */
9
- export type dog = {
10
- /**
11
- * @type string, uuid
12
- */
13
- id: string
14
- /**
15
- * @type string
16
- */
17
- type: 'Dog'
18
- /**
19
- * @type number | undefined
20
- */
21
- bark?: number
22
- }
@@ -1,18 +0,0 @@
1
- /**
2
- * Generated by Kubb (https://kubb.dev/).
3
- * Do not edit manually.
4
- */
5
-
6
- export const enumAllOfReasonEnum = {
7
- created_at: 'created_at',
8
- description: 'description',
9
- } as const
10
-
11
- export type EnumAllOfReasonEnumKey = (typeof enumAllOfReasonEnum)[keyof typeof enumAllOfReasonEnum]
12
-
13
- export type enumAllOf = {
14
- /**
15
- * @type string | undefined
16
- */
17
- reason?: EnumAllOfReasonEnumKey
18
- }
@@ -1,8 +0,0 @@
1
- /**
2
- * Generated by Kubb (https://kubb.dev/).
3
- * Do not edit manually.
4
- */
5
-
6
- export type EnumArrayEnum = 'NW' | 'NE' | 'SW' | 'SE'
7
-
8
- export type enumArray = EnumArrayEnum[]
@@ -1,20 +0,0 @@
1
- /**
2
- * Generated by Kubb (https://kubb.dev/).
3
- * Do not edit manually.
4
- */
5
-
6
- export const enumArrayIdentifierEnum = {
7
- NW: 'NW',
8
- NE: 'NE',
9
- SW: 'SW',
10
- SE: 'SE',
11
- } as const
12
-
13
- export type EnumArrayIdentifierEnumKey = (typeof enumArrayIdentifierEnum)[keyof typeof enumArrayIdentifierEnum]
14
-
15
- export type enumArray = {
16
- /**
17
- * @type array | undefined
18
- */
19
- identifier?: [number, string, EnumArrayIdentifierEnumKey, ...unknown[]]
20
- }