@qualisero/openapi-endpoint 0.12.1 → 0.12.3
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.
- package/README.md +1 -0
- package/dist/cli.js +1 -1
- package/dist/index.d.ts +5 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -9
- package/dist/openapi-endpoint.js +2 -2
- package/dist/openapi-helpers.js +1 -1
- package/dist/openapi-mutation.js +2 -2
- package/dist/openapi-query.js +1 -1
- package/dist/types-documentation.d.ts +158 -0
- package/dist/types-documentation.d.ts.map +1 -0
- package/dist/types-documentation.js +9 -0
- package/dist/types.d.ts +3 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
[](https://github.com/qualisero/openapi-endpoint/actions/workflows/ci.yml)
|
|
5
5
|
[](https://opensource.org/licenses/MIT)
|
|
6
6
|
[](https://bundlephobia.com/package/@qualisero/openapi-endpoint)
|
|
7
|
+
[](https://qualisero.github.io/openapi-endpoint/)
|
|
7
8
|
|
|
8
9
|
Turns your `openapi.json` into typesafe API composables using Vue Query (TanStack Query): guaranteeing that your frontend and backend share the same contract.
|
|
9
10
|
|
package/dist/cli.js
CHANGED
|
@@ -241,7 +241,7 @@ function generateApiOperationsContent(operationIds, operationInfoMap) {
|
|
|
241
241
|
return `// Auto-generated from OpenAPI specification
|
|
242
242
|
// Do not edit this file manually
|
|
243
243
|
|
|
244
|
-
import type { operations } from './openapi-types'
|
|
244
|
+
import type { operations } from './openapi-types.js'
|
|
245
245
|
|
|
246
246
|
export enum HttpMethod {
|
|
247
247
|
GET = 'GET',
|
package/dist/index.d.ts
CHANGED
|
@@ -2,18 +2,20 @@ import type { MaybeRefOrGetter } from 'vue';
|
|
|
2
2
|
import { EndpointQueryReturn } from './openapi-query';
|
|
3
3
|
import { EndpointMutationReturn } from './openapi-mutation';
|
|
4
4
|
import { Operations, GetPathParameters, OpenApiConfig, QQueryOptions, QMutationOptions, IsQueryOperation } from './types';
|
|
5
|
-
export type { OpenApiConfig, OpenApiInstance, GetResponseData, QueryClientLike, GetQueryParameters } from './types';
|
|
5
|
+
export type { OpenApiConfig, OpenApiInstance, GetResponseData, QueryClientLike, GetQueryParameters, GetPathParameters, GetRequestBody, } from './types';
|
|
6
|
+
export type { QQueryOptions, QMutationOptions, EndpointQueryReturn, EndpointMutationReturn, } from './types-documentation';
|
|
6
7
|
export { queryClient } from './openapi-helpers';
|
|
7
8
|
/** @internal */
|
|
8
|
-
export { type
|
|
9
|
+
export { type useEndpointQuery } from './openapi-query';
|
|
9
10
|
/** @internal */
|
|
10
|
-
export { type
|
|
11
|
+
export { type useEndpointMutation } from './openapi-mutation';
|
|
11
12
|
/**
|
|
12
13
|
* Creates a type-safe OpenAPI client for Vue applications.
|
|
13
14
|
*
|
|
14
15
|
* This is the main entry point for the library. It provides reactive composables
|
|
15
16
|
* for API operations with full TypeScript type safety based on your OpenAPI specification.
|
|
16
17
|
*
|
|
18
|
+
* @group Setup
|
|
17
19
|
* @template Ops - The operations type, typically generated from your OpenAPI spec
|
|
18
20
|
* @param config - Configuration object containing operations metadata and axios instance
|
|
19
21
|
* @returns {OpenApiInstance<Ops>} API instance with useQuery, useMutation, useEndpoint, and debug methods
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,KAAK,CAAA;AAG3C,OAAO,EAAE,mBAAmB,EAAoB,MAAM,iBAAiB,CAAA;AACvE,OAAO,EAAE,sBAAsB,EAAuB,MAAM,oBAAoB,CAAA;AAChF,OAAO,EACL,UAAU,EACV,iBAAiB,EACjB,aAAa,EACb,aAAa,EACb,gBAAgB,EAChB,gBAAgB,EACjB,MAAM,SAAS,CAAA;AAEhB,YAAY,
|
|
1
|
+
{"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G,IAAI,GAAG,SAAS,CAAC,GAC/D,CAAC,gBAAgB,CAAC,GAAG,EAAE,EAAE,CAAC,SAAS,IAAI,GAAG,aAAa,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,gBAAgB,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,kBACrF,gBAAgB,CAAC,GAAG,EAAE,EAAE,CAAC,SAAS,IAAI,GAAG,aAAa,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,gBAAgB,CAAC,GAAG,EAAE,EAAE,CAAC,KAC1G,gBAAgB,CAAC,GAAG,EAAE,EAAE,CAAC,SAAS,IAAI,GAAG,mBAAmB,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,sBAAsB,CAAC,GAAG,EAAE,EAAE,CAAC;EAM7G"}
|
package/dist/index.js
CHANGED
|
@@ -1,18 +1,15 @@
|
|
|
1
|
-
import { useEndpoint } from './openapi-endpoint';
|
|
2
|
-
import { useEndpointQuery } from './openapi-query';
|
|
3
|
-
import { useEndpointMutation } from './openapi-mutation';
|
|
4
|
-
import { getHelpers } from './openapi-helpers';
|
|
5
|
-
export { queryClient } from './openapi-helpers';
|
|
6
|
-
/** @internal */
|
|
7
|
-
export { useEndpointQuery } from './openapi-query';
|
|
8
|
-
/** @internal */
|
|
9
|
-
export { useEndpointMutation } from './openapi-mutation';
|
|
1
|
+
import { useEndpoint } from './openapi-endpoint.js';
|
|
2
|
+
import { useEndpointQuery } from './openapi-query.js';
|
|
3
|
+
import { useEndpointMutation } from './openapi-mutation.js';
|
|
4
|
+
import { getHelpers } from './openapi-helpers.js';
|
|
5
|
+
export { queryClient } from './openapi-helpers.js';
|
|
10
6
|
/**
|
|
11
7
|
* Creates a type-safe OpenAPI client for Vue applications.
|
|
12
8
|
*
|
|
13
9
|
* This is the main entry point for the library. It provides reactive composables
|
|
14
10
|
* for API operations with full TypeScript type safety based on your OpenAPI specification.
|
|
15
11
|
*
|
|
12
|
+
* @group Setup
|
|
16
13
|
* @template Ops - The operations type, typically generated from your OpenAPI spec
|
|
17
14
|
* @param config - Configuration object containing operations metadata and axios instance
|
|
18
15
|
* @returns {OpenApiInstance<Ops>} API instance with useQuery, useMutation, useEndpoint, and debug methods
|
package/dist/openapi-endpoint.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useEndpointQuery } from './openapi-query';
|
|
2
|
-
import { useEndpointMutation } from './openapi-mutation';
|
|
1
|
+
import { useEndpointQuery } from './openapi-query.js';
|
|
2
|
+
import { useEndpointMutation } from './openapi-mutation.js';
|
|
3
3
|
/**
|
|
4
4
|
* Composable for performing a strictly typed OpenAPI operation (query or mutation) using Vue Query.
|
|
5
5
|
* Automatically detects whether the operation is a query or mutation and delegates to the appropriate composable.
|
package/dist/openapi-helpers.js
CHANGED
package/dist/openapi-mutation.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { computed, ref, toValue } from 'vue';
|
|
2
2
|
import { useMutation } from '@tanstack/vue-query';
|
|
3
|
-
import { HttpMethod, } from './types';
|
|
4
|
-
import { resolvePath, generateQueryKey, isPathResolved, getParamsOptionsFrom } from './openapi-utils';
|
|
3
|
+
import { HttpMethod, } from './types.js';
|
|
4
|
+
import { resolvePath, generateQueryKey, isPathResolved, getParamsOptionsFrom } from './openapi-utils.js';
|
|
5
5
|
/**
|
|
6
6
|
* Composable for performing a strictly typed OpenAPI mutation operation using Vue Query.
|
|
7
7
|
* Ensures the operation is a mutation (POST/PUT/PATCH/DELETE) at runtime.
|
package/dist/openapi-query.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed, watch, toValue } from 'vue';
|
|
2
2
|
import { useQuery } from '@tanstack/vue-query';
|
|
3
|
-
import { resolvePath, generateQueryKey, isPathResolved, getParamsOptionsFrom } from './openapi-utils';
|
|
3
|
+
import { resolvePath, generateQueryKey, isPathResolved, getParamsOptionsFrom } from './openapi-utils.js';
|
|
4
4
|
import { isAxiosError } from 'axios';
|
|
5
5
|
/**
|
|
6
6
|
* Composable for performing a strictly typed OpenAPI query operation using Vue Query.
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Documentation-only exports for better API reference.
|
|
3
|
+
*
|
|
4
|
+
* This file exports types that are used internally but important for users to understand
|
|
5
|
+
* when working with the library. These are re-exported from types.ts with enhanced
|
|
6
|
+
* documentation for TypeDoc generation.
|
|
7
|
+
*/
|
|
8
|
+
import type { QQueryOptions as _QQueryOptions } from './types.js';
|
|
9
|
+
import type { QMutationOptions as _QMutationOptions } from './types.js';
|
|
10
|
+
import type { EndpointQueryReturn as _EndpointQueryReturn } from './openapi-query.js';
|
|
11
|
+
import type { EndpointMutationReturn as _EndpointMutationReturn } from './openapi-mutation.js';
|
|
12
|
+
import type { Operations } from './types.js';
|
|
13
|
+
/**
|
|
14
|
+
* Query options for `useQuery` that extend TanStack Query options.
|
|
15
|
+
*
|
|
16
|
+
* This type combines all options from TanStack Query's `UseQueryOptions` with
|
|
17
|
+
* custom options specific to this library, such as reactive query parameters,
|
|
18
|
+
* custom error handling, and axios configuration.
|
|
19
|
+
*
|
|
20
|
+
* @group Types
|
|
21
|
+
* @template Ops - The operations type from your OpenAPI specification
|
|
22
|
+
* @template Op - The operation key from your operations type
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* ```typescript
|
|
26
|
+
* // Using with type inference (recommended)
|
|
27
|
+
* const { data } = api.useQuery('listPets', {
|
|
28
|
+
* enabled: computed(() => isLoggedIn.value),
|
|
29
|
+
* staleTime: 5000,
|
|
30
|
+
* queryParams: { limit: 10, status: 'available' },
|
|
31
|
+
* onError: (error) => toast.error(error.message)
|
|
32
|
+
* })
|
|
33
|
+
*
|
|
34
|
+
* // Using explicit type
|
|
35
|
+
* const options: QQueryOptions<OpenApiOperations, 'listPets'> = {
|
|
36
|
+
* enabled: true,
|
|
37
|
+
* staleTime: 10000
|
|
38
|
+
* }
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
export type QQueryOptions<Ops extends Operations<Ops>, Op extends keyof Ops> = _QQueryOptions<Ops, Op>;
|
|
42
|
+
/**
|
|
43
|
+
* Mutation options for `useMutation` that extend TanStack Query options.
|
|
44
|
+
*
|
|
45
|
+
* This type combines all options from TanStack Query's `UseMutationOptions` with
|
|
46
|
+
* custom options for cache management, such as controlling automatic cache updates
|
|
47
|
+
* and specifying operations to invalidate after the mutation.
|
|
48
|
+
*
|
|
49
|
+
* @group Types
|
|
50
|
+
* @template Ops - The operations type from your OpenAPI specification
|
|
51
|
+
* @template Op - The operation key from your operations type
|
|
52
|
+
*
|
|
53
|
+
* @example
|
|
54
|
+
* ```typescript
|
|
55
|
+
* // Default cache management (automatic)
|
|
56
|
+
* const mutation = api.useMutation('createPet', {
|
|
57
|
+
* onSuccess: (data) => console.log('Created', data)
|
|
58
|
+
* })
|
|
59
|
+
*
|
|
60
|
+
* // Disable automatic cache management
|
|
61
|
+
* const mutation = api.useMutation('updatePet', {
|
|
62
|
+
* dontInvalidate: true,
|
|
63
|
+
* dontUpdateCache: true
|
|
64
|
+
* })
|
|
65
|
+
*
|
|
66
|
+
* // Invalidate specific operations
|
|
67
|
+
* const mutation = api.useMutation('deletePet', {
|
|
68
|
+
* invalidateOperations: ['listPets', 'getUserPets']
|
|
69
|
+
* })
|
|
70
|
+
* ```
|
|
71
|
+
*/
|
|
72
|
+
export type QMutationOptions<Ops extends Operations<Ops>, Op extends keyof Ops> = _QMutationOptions<Ops, Op>;
|
|
73
|
+
/**
|
|
74
|
+
* Return type of `useQuery` with all available reactive properties.
|
|
75
|
+
*
|
|
76
|
+
* This type represents the complete object returned by `useQuery`, including
|
|
77
|
+
* all properties from TanStack Query's `UseQueryResult` plus additional
|
|
78
|
+
* helper properties provided by this library.
|
|
79
|
+
*
|
|
80
|
+
* @group Types
|
|
81
|
+
* @template Ops - The operations type from your OpenAPI specification
|
|
82
|
+
* @template Op - The operation key from your operations type
|
|
83
|
+
*
|
|
84
|
+
* @property {ComputedRef<GetResponseData<Ops, Op> | undefined>} data - The response data, typed according to your OpenAPI spec
|
|
85
|
+
* @property {ComputedRef<boolean>} isEnabled - Whether the query is enabled and can execute
|
|
86
|
+
* @property {ComputedRef<unknown[]>} queryKey - The query key used by TanStack Query
|
|
87
|
+
* @property {(callback: (data: GetResponseData<Ops, Op>) => void) => void} onLoad - Register a callback for when data loads
|
|
88
|
+
* @property {ComputedRef<boolean>} isLoading - Whether the query is currently fetching
|
|
89
|
+
* @property {ComputedRef<Error | null>} error - Any error that occurred
|
|
90
|
+
* @property {ComputedRef<boolean>} isFetching - Whether the query is currently fetching (including background refetches)
|
|
91
|
+
* @property {ComputedRef<boolean>} isSuccess - Whether the query has successfully fetched data
|
|
92
|
+
* @property {ComputedRef<boolean>} isError - Whether the query has encountered an error
|
|
93
|
+
* @property {() => Promise<void>} refetch - Function to manually refetch the query
|
|
94
|
+
* @property {() => void} remove - Function to remove the query from the cache
|
|
95
|
+
*
|
|
96
|
+
* @example
|
|
97
|
+
* ```typescript
|
|
98
|
+
* const query = api.useQuery('getPet', { petId: '123' })
|
|
99
|
+
*
|
|
100
|
+
* // Access reactive properties
|
|
101
|
+
* if (query.isLoading.value) {
|
|
102
|
+
* console.log('Loading...')
|
|
103
|
+
* } else if (query.error.value) {
|
|
104
|
+
* console.error('Error:', query.error.value)
|
|
105
|
+
* } else if (query.data.value) {
|
|
106
|
+
* console.log('Pet:', query.data.value.name)
|
|
107
|
+
* }
|
|
108
|
+
*
|
|
109
|
+
* // Register load callback
|
|
110
|
+
* query.onLoad((pet) => {
|
|
111
|
+
* console.log('Pet loaded:', pet.name)
|
|
112
|
+
* })
|
|
113
|
+
* ```
|
|
114
|
+
*/
|
|
115
|
+
export type EndpointQueryReturn<Ops extends Operations<Ops>, Op extends keyof Ops> = _EndpointQueryReturn<Ops, Op>;
|
|
116
|
+
/**
|
|
117
|
+
* Return type of `useMutation` with all available reactive properties.
|
|
118
|
+
*
|
|
119
|
+
* This type represents the complete object returned by `useMutation`, including
|
|
120
|
+
* all properties from TanStack Query's `UseMutationResult` plus additional
|
|
121
|
+
* helper properties provided by this library.
|
|
122
|
+
*
|
|
123
|
+
* @group Types
|
|
124
|
+
* @template Ops - The operations type from your OpenAPI specification
|
|
125
|
+
* @template Op - The operation key from your operations type
|
|
126
|
+
*
|
|
127
|
+
* @property {ComputedRef<AxiosResponse<GetResponseData<Ops, Op>> | undefined>} data - The axios response with typed data
|
|
128
|
+
* @property {ComputedRef<boolean>} isEnabled - Whether the mutation can execute (path is resolved)
|
|
129
|
+
* @property {ComputedRef<GetPathParameters<Ops, Op>>} pathParams - Current path parameters
|
|
130
|
+
* @property {ComputedRef<Error | null>} error - Any error that occurred
|
|
131
|
+
* @property {ComputedRef<boolean>} isIdle - Whether the mutation has not been triggered yet
|
|
132
|
+
* @property {ComputedRef<boolean>} isPending - Whether the mutation is currently executing
|
|
133
|
+
* @property {ComputedRef<boolean>} isSuccess - Whether the last mutation was successful
|
|
134
|
+
* @property {ComputedRef<boolean>} isError - Whether the last mutation encountered an error
|
|
135
|
+
* @property {Ref<GetPathParameters<Ops, Op>>} extraPathParams - Ref to set additional path parameters when calling mutate
|
|
136
|
+
* @property {(variables) => void} mutate - Trigger mutation synchronously (throws error on failure)
|
|
137
|
+
* @property {(variables) => Promise<void>} mutateAsync - Trigger mutation asynchronously (returns promise)
|
|
138
|
+
* @property {() => void} reset - Reset the mutation to its initial state
|
|
139
|
+
*
|
|
140
|
+
* @example
|
|
141
|
+
* ```typescript
|
|
142
|
+
* const mutation = api.useMutation('createPet', {
|
|
143
|
+
* onSuccess: (response) => console.log('Created:', response.data)
|
|
144
|
+
* })
|
|
145
|
+
*
|
|
146
|
+
* // Execute mutation
|
|
147
|
+
* await mutation.mutateAsync({ data: { name: 'Fluffy' } })
|
|
148
|
+
*
|
|
149
|
+
* // Check state
|
|
150
|
+
* if (mutation.isPending.value) {
|
|
151
|
+
* console.log('Creating...')
|
|
152
|
+
* } else if (mutation.isSuccess.value) {
|
|
153
|
+
* console.log('Success!')
|
|
154
|
+
* }
|
|
155
|
+
* ```
|
|
156
|
+
*/
|
|
157
|
+
export type EndpointMutationReturn<Ops extends Operations<Ops>, Op extends keyof Ops> = _EndpointMutationReturn<Ops, Op>;
|
|
158
|
+
//# sourceMappingURL=types-documentation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types-documentation.d.ts","sourceRoot":"","sources":["../src/types-documentation.ts"],"names":[],"mappings":"AACA;;;;;;GAMG;AAKH,OAAO,KAAK,EAAE,aAAa,IAAI,cAAc,EAAE,MAAM,YAAY,CAAA;AACjE,OAAO,KAAK,EAAE,gBAAgB,IAAI,iBAAiB,EAAE,MAAM,YAAY,CAAA;AACvE,OAAO,KAAK,EAAE,mBAAmB,IAAI,oBAAoB,EAAE,MAAM,oBAAoB,CAAA;AACrF,OAAO,KAAK,EAAE,sBAAsB,IAAI,uBAAuB,EAAE,MAAM,uBAAuB,CAAA;AAC9F,OAAO,KAAK,EAA0E,UAAU,EAAE,MAAM,YAAY,CAAA;AAEpH;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAM,MAAM,aAAa,CAAC,GAAG,SAAS,UAAU,CAAC,GAAG,CAAC,EAAE,EAAE,SAAS,MAAM,GAAG,IAAI,cAAc,CAAC,GAAG,EAAE,EAAE,CAAC,CAAA;AAEtG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAM,MAAM,gBAAgB,CAAC,GAAG,SAAS,UAAU,CAAC,GAAG,CAAC,EAAE,EAAE,SAAS,MAAM,GAAG,IAAI,iBAAiB,CAAC,GAAG,EAAE,EAAE,CAAC,CAAA;AAE5G;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAM,MAAM,mBAAmB,CAAC,GAAG,SAAS,UAAU,CAAC,GAAG,CAAC,EAAE,EAAE,SAAS,MAAM,GAAG,IAAI,oBAAoB,CAAC,GAAG,EAAE,EAAE,CAAC,CAAA;AAElH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,MAAM,MAAM,sBAAsB,CAAC,GAAG,SAAS,UAAU,CAAC,GAAG,CAAC,EAAE,EAAE,SAAS,MAAM,GAAG,IAAI,uBAAuB,CAAC,GAAG,EAAE,EAAE,CAAC,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
2
|
+
/**
|
|
3
|
+
* @fileoverview Documentation-only exports for better API reference.
|
|
4
|
+
*
|
|
5
|
+
* This file exports types that are used internally but important for users to understand
|
|
6
|
+
* when working with the library. These are re-exported from types.ts with enhanced
|
|
7
|
+
* documentation for TypeDoc generation.
|
|
8
|
+
*/
|
|
9
|
+
export {};
|
package/dist/types.d.ts
CHANGED
|
@@ -21,6 +21,8 @@ export type OperationId = string;
|
|
|
21
21
|
* by only requiring the specific methods that are actually used internally.
|
|
22
22
|
* This prevents version compatibility issues where internal implementation details
|
|
23
23
|
* (like private properties) might differ between versions.
|
|
24
|
+
*
|
|
25
|
+
* @group Types
|
|
24
26
|
*/
|
|
25
27
|
export interface QueryClientLike {
|
|
26
28
|
/**
|
|
@@ -211,6 +213,7 @@ export type IsQueryOperation<Ops extends Operations<Ops>, Op extends keyof Ops>
|
|
|
211
213
|
* providing type-safe access to queries, mutations, and generic endpoints based
|
|
212
214
|
* on your OpenAPI specification.
|
|
213
215
|
*
|
|
216
|
+
* @group Types
|
|
214
217
|
* @template Ops - The operations type from your OpenAPI specification
|
|
215
218
|
* @template AxiosConfig - The axios request configuration type (defaults to AxiosRequestConfig)
|
|
216
219
|
*
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,UAAU,EAAE,KAAK,kBAAkB,EAA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BAAgB,CAAC,iBAAiB,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC,GAC/D,CAAC,gBAAgB,CAAC,GAAG,EAAE,EAAE,CAAC,SAAS,IAAI,GAAG,aAAa,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,gBAAgB,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,EACrG,aAAa,CAAC,EAAE,gBAAgB,CAAC,GAAG,EAAE,EAAE,CAAC,SAAS,IAAI,GAAG,aAAa,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,gBAAgB,CAAC,GAAG,EAAE,EAAE,CAAC,KACxG,gBAAgB,CAAC,GAAG,EAAE,EAAE,CAAC,SAAS,IAAI,GAAG,mBAAmB,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,sBAAsB,CAAC,GAAG,EAAE,EAAE,CAAC,CAAA;CAC7G,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qualisero/openapi-endpoint",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.3",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/qualisero/openapi-endpoint.git"
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"openapi-codegen": "./bin/openapi-codegen.js"
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
26
|
-
"build": "tsc -p tsconfig.json",
|
|
26
|
+
"build": "tsc -p tsconfig.json && node scripts/fix-esm-imports.js",
|
|
27
27
|
"dev": "vitest",
|
|
28
28
|
"test": "vitest",
|
|
29
29
|
"test:run": "vitest run",
|