@web-ts-toolkit/access-router-client 0.33.0 → 0.34.2
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/index.d.mts +18 -18
- package/index.d.ts +18 -18
- package/package.json +2 -2
package/index.d.mts
CHANGED
|
@@ -211,11 +211,11 @@ declare class Service {
|
|
|
211
211
|
protected handleError<T extends Response<unknown, unknown>>(error: unknown): Extract<T, FailureResult>;
|
|
212
212
|
/** Resolves per-call policy against the already-resolved service/adapter default. */
|
|
213
213
|
resolveThrowOnError(override?: boolean): boolean;
|
|
214
|
-
wrapGet<T = unknown>(url: string, defaultAxiosRequestConfig?: AxiosRequestConfig): (options?: WrapOptions, requestConfig?: AxiosRequestConfig) => Promise<AxiosResponse<T, any, {}>>;
|
|
215
|
-
wrapPost<T = unknown>(url: string, defaultAxiosRequestConfig?: AxiosRequestConfig): (data?: unknown, options?: WrapOptions, requestConfig?: AxiosRequestConfig) => Promise<AxiosResponse<T, any, {}>>;
|
|
216
|
-
wrapPut<T = unknown>(url: string, defaultAxiosRequestConfig?: AxiosRequestConfig): (data?: unknown, options?: WrapOptions, requestConfig?: AxiosRequestConfig) => Promise<AxiosResponse<T, any, {}>>;
|
|
217
|
-
wrapPatch<T = unknown>(url: string, defaultAxiosRequestConfig?: AxiosRequestConfig): (data?: unknown, options?: WrapOptions, requestConfig?: AxiosRequestConfig) => Promise<AxiosResponse<T, any, {}>>;
|
|
218
|
-
wrapDelete<T = unknown>(url: string, defaultAxiosRequestConfig?: AxiosRequestConfig): (options?: WrapOptions, requestConfig?: AxiosRequestConfig) => Promise<AxiosResponse<T, any, {}>>;
|
|
214
|
+
wrapGet<T = unknown>(url: string, defaultAxiosRequestConfig?: AxiosRequestConfig): (options?: WrapOptions, requestConfig?: AxiosRequestConfig) => Promise<AxiosResponse<T, any, {}, any>>;
|
|
215
|
+
wrapPost<T = unknown>(url: string, defaultAxiosRequestConfig?: AxiosRequestConfig): (data?: unknown, options?: WrapOptions, requestConfig?: AxiosRequestConfig) => Promise<AxiosResponse<T, any, {}, any>>;
|
|
216
|
+
wrapPut<T = unknown>(url: string, defaultAxiosRequestConfig?: AxiosRequestConfig): (data?: unknown, options?: WrapOptions, requestConfig?: AxiosRequestConfig) => Promise<AxiosResponse<T, any, {}, any>>;
|
|
217
|
+
wrapPatch<T = unknown>(url: string, defaultAxiosRequestConfig?: AxiosRequestConfig): (data?: unknown, options?: WrapOptions, requestConfig?: AxiosRequestConfig) => Promise<AxiosResponse<T, any, {}, any>>;
|
|
218
|
+
wrapDelete<T = unknown>(url: string, defaultAxiosRequestConfig?: AxiosRequestConfig): (options?: WrapOptions, requestConfig?: AxiosRequestConfig) => Promise<AxiosResponse<T, any, {}, any>>;
|
|
219
219
|
/**
|
|
220
220
|
* Public bridge to the per-service success/failure callback pipeline and
|
|
221
221
|
* `throwOnError` policy. Adapter-internal grouping machinery calls this so
|
|
@@ -299,33 +299,33 @@ declare class ModelService<T extends Document> extends Service {
|
|
|
299
299
|
updateAdvanced<TData extends Partial<T> | never = never, TSelect extends Projection = Projection>(identifier: string, data: object, args?: UpdateAdvancedArgs<TSelect>, options?: UpdateAdvancedOptions, axiosRequestConfig?: RequestConfig$1): ModelRequest<ModelResponse<T, ResolvedSelectedShape<T, TSelect, TData>>>;
|
|
300
300
|
id(id: string): {
|
|
301
301
|
subs: <S = never, K extends keyof T = keyof T>(field: K) => {
|
|
302
|
-
list: (axiosRequestConfig?: AxiosRequestConfig<any> & {
|
|
302
|
+
list: (axiosRequestConfig?: AxiosRequestConfig<any, any> & {
|
|
303
303
|
throwOnError?: boolean;
|
|
304
304
|
}) => ModelPromiseMeta & LazyRequest<SubDocumentListResponse<[S] extends [never] ? NonNullable<T[K]> extends readonly (infer TItem)[] ? TItem : never : S>>;
|
|
305
305
|
listAdvanced: <TData extends Partial<[S] extends [never] ? NonNullable<T[K]> extends readonly (infer TItem)[] ? TItem : never : S> = never, TSelect extends readonly string[] = readonly string[]>(filter?: FilterQuery<[S] extends [never] ? NonNullable<T[K]> extends readonly (infer TItem)[] ? TItem : never : S>, args?: {
|
|
306
306
|
select?: TSelect;
|
|
307
|
-
}, axiosRequestConfig?: AxiosRequestConfig<any> & {
|
|
307
|
+
}, axiosRequestConfig?: AxiosRequestConfig<any, any> & {
|
|
308
308
|
throwOnError?: boolean;
|
|
309
309
|
}) => ModelPromiseMeta & LazyRequest<SubDocumentListResponse<[S] extends [never] ? NonNullable<T[K]> extends readonly (infer TItem)[] ? TItem : never : S, ResolvedSelectedShape<[S] extends [never] ? NonNullable<T[K]> extends readonly (infer TItem)[] ? TItem : never : S, TSelect, TData>>>;
|
|
310
|
-
read: (subId: string, axiosRequestConfig?: AxiosRequestConfig<any> & {
|
|
310
|
+
read: (subId: string, axiosRequestConfig?: AxiosRequestConfig<any, any> & {
|
|
311
311
|
throwOnError?: boolean;
|
|
312
312
|
}) => ModelPromiseMeta & LazyRequest<SubDocumentResponse<[S] extends [never] ? NonNullable<T[K]> extends readonly (infer TItem)[] ? TItem : never : S>>;
|
|
313
313
|
readAdvanced: <TData extends Partial<[S] extends [never] ? NonNullable<T[K]> extends readonly (infer TItem)[] ? TItem : never : S> = never, TSelect_1 extends readonly string[] = readonly string[]>(subId: string, args?: {
|
|
314
314
|
select?: TSelect_1;
|
|
315
315
|
populate?: unknown;
|
|
316
|
-
}, axiosRequestConfig?: AxiosRequestConfig<any> & {
|
|
316
|
+
}, axiosRequestConfig?: AxiosRequestConfig<any, any> & {
|
|
317
317
|
throwOnError?: boolean;
|
|
318
318
|
}) => ModelPromiseMeta & LazyRequest<SubDocumentResponse<[S] extends [never] ? NonNullable<T[K]> extends readonly (infer TItem)[] ? TItem : never : S, ResolvedSelectedShape<[S] extends [never] ? NonNullable<T[K]> extends readonly (infer TItem)[] ? TItem : never : S, TSelect_1, TData>>>;
|
|
319
|
-
update: (subId: string, data: object, axiosRequestConfig?: AxiosRequestConfig<any> & {
|
|
319
|
+
update: (subId: string, data: object, axiosRequestConfig?: AxiosRequestConfig<any, any> & {
|
|
320
320
|
throwOnError?: boolean;
|
|
321
321
|
}) => ModelPromiseMeta & LazyRequest<SubDocumentResponse<[S] extends [never] ? NonNullable<T[K]> extends readonly (infer TItem)[] ? TItem : never : S>>;
|
|
322
|
-
bulkUpdate: (data: object[], axiosRequestConfig?: AxiosRequestConfig<any> & {
|
|
322
|
+
bulkUpdate: (data: object[], axiosRequestConfig?: AxiosRequestConfig<any, any> & {
|
|
323
323
|
throwOnError?: boolean;
|
|
324
324
|
}) => ModelPromiseMeta & LazyRequest<SubDocumentListResponse<[S] extends [never] ? NonNullable<T[K]> extends readonly (infer TItem)[] ? TItem : never : S>>;
|
|
325
|
-
create: (data: object | object[], axiosRequestConfig?: AxiosRequestConfig<any> & {
|
|
325
|
+
create: (data: object | object[], axiosRequestConfig?: AxiosRequestConfig<any, any> & {
|
|
326
326
|
throwOnError?: boolean;
|
|
327
327
|
}) => ModelPromiseMeta & LazyRequest<SubDocumentListResponse<[S] extends [never] ? NonNullable<T[K]> extends readonly (infer TItem)[] ? TItem : never : S>>;
|
|
328
|
-
delete: (subId: string, axiosRequestConfig?: AxiosRequestConfig<any> & {
|
|
328
|
+
delete: (subId: string, axiosRequestConfig?: AxiosRequestConfig<any, any> & {
|
|
329
329
|
throwOnError?: boolean;
|
|
330
330
|
}) => ModelPromiseMeta & LazyRequest<Response<string>>;
|
|
331
331
|
};
|
|
@@ -937,11 +937,11 @@ declare function createAdapter(axiosConfig?: AxiosRequestConfig, adapterOptions?
|
|
|
937
937
|
disposeCache: () => void;
|
|
938
938
|
createModelService: <T extends Document>({ modelName, basePath, queryPath, mutationPath, onSuccess, onFailure, throwOnError, }: ModelServiceOptions, defaults?: Defaults) => ModelService<T>;
|
|
939
939
|
createDataService: <T>({ dataName, basePath, queryPath, onSuccess, onFailure, throwOnError }: DataServiceOptions, defaults?: DataDefaults) => DataService<T>;
|
|
940
|
-
wrapGet: <T = unknown>(url: string, defaultConfig?: AxiosRequestConfig) => (options?: WrapOptions, requestConfig?: AxiosRequestConfig) => Promise<axios.AxiosResponse<T, any, {}>>;
|
|
941
|
-
wrapPost: <T = unknown>(url: string, defaultConfig?: AxiosRequestConfig) => (data?: unknown, options?: WrapOptions, requestConfig?: AxiosRequestConfig) => Promise<axios.AxiosResponse<T, any, {}>>;
|
|
942
|
-
wrapPut: <T = unknown>(url: string, defaultConfig?: AxiosRequestConfig) => (data?: unknown, options?: WrapOptions, requestConfig?: AxiosRequestConfig) => Promise<axios.AxiosResponse<T, any, {}>>;
|
|
943
|
-
wrapPatch: <T = unknown>(url: string, defaultConfig?: AxiosRequestConfig) => (data?: unknown, options?: WrapOptions, requestConfig?: AxiosRequestConfig) => Promise<axios.AxiosResponse<T, any, {}>>;
|
|
944
|
-
wrapDelete: <T = unknown>(url: string, defaultConfig?: AxiosRequestConfig) => (options?: WrapOptions, requestConfig?: AxiosRequestConfig) => Promise<axios.AxiosResponse<T, any, {}>>;
|
|
940
|
+
wrapGet: <T = unknown>(url: string, defaultConfig?: AxiosRequestConfig) => (options?: WrapOptions, requestConfig?: AxiosRequestConfig) => Promise<axios.AxiosResponse<T, any, {}, any>>;
|
|
941
|
+
wrapPost: <T = unknown>(url: string, defaultConfig?: AxiosRequestConfig) => (data?: unknown, options?: WrapOptions, requestConfig?: AxiosRequestConfig) => Promise<axios.AxiosResponse<T, any, {}, any>>;
|
|
942
|
+
wrapPut: <T = unknown>(url: string, defaultConfig?: AxiosRequestConfig) => (data?: unknown, options?: WrapOptions, requestConfig?: AxiosRequestConfig) => Promise<axios.AxiosResponse<T, any, {}, any>>;
|
|
943
|
+
wrapPatch: <T = unknown>(url: string, defaultConfig?: AxiosRequestConfig) => (data?: unknown, options?: WrapOptions, requestConfig?: AxiosRequestConfig) => Promise<axios.AxiosResponse<T, any, {}, any>>;
|
|
944
|
+
wrapDelete: <T = unknown>(url: string, defaultConfig?: AxiosRequestConfig) => (options?: WrapOptions, requestConfig?: AxiosRequestConfig) => Promise<axios.AxiosResponse<T, any, {}, any>>;
|
|
945
945
|
group: <T extends readonly (ModelRequest<unknown> | DataRequest<unknown>)[]>(...proms: T) => Promise<{ [K in keyof T]: Awaited<T[K]>; }>;
|
|
946
946
|
}>;
|
|
947
947
|
|
package/index.d.ts
CHANGED
|
@@ -211,11 +211,11 @@ declare class Service {
|
|
|
211
211
|
protected handleError<T extends Response<unknown, unknown>>(error: unknown): Extract<T, FailureResult>;
|
|
212
212
|
/** Resolves per-call policy against the already-resolved service/adapter default. */
|
|
213
213
|
resolveThrowOnError(override?: boolean): boolean;
|
|
214
|
-
wrapGet<T = unknown>(url: string, defaultAxiosRequestConfig?: AxiosRequestConfig): (options?: WrapOptions, requestConfig?: AxiosRequestConfig) => Promise<AxiosResponse<T, any, {}>>;
|
|
215
|
-
wrapPost<T = unknown>(url: string, defaultAxiosRequestConfig?: AxiosRequestConfig): (data?: unknown, options?: WrapOptions, requestConfig?: AxiosRequestConfig) => Promise<AxiosResponse<T, any, {}>>;
|
|
216
|
-
wrapPut<T = unknown>(url: string, defaultAxiosRequestConfig?: AxiosRequestConfig): (data?: unknown, options?: WrapOptions, requestConfig?: AxiosRequestConfig) => Promise<AxiosResponse<T, any, {}>>;
|
|
217
|
-
wrapPatch<T = unknown>(url: string, defaultAxiosRequestConfig?: AxiosRequestConfig): (data?: unknown, options?: WrapOptions, requestConfig?: AxiosRequestConfig) => Promise<AxiosResponse<T, any, {}>>;
|
|
218
|
-
wrapDelete<T = unknown>(url: string, defaultAxiosRequestConfig?: AxiosRequestConfig): (options?: WrapOptions, requestConfig?: AxiosRequestConfig) => Promise<AxiosResponse<T, any, {}>>;
|
|
214
|
+
wrapGet<T = unknown>(url: string, defaultAxiosRequestConfig?: AxiosRequestConfig): (options?: WrapOptions, requestConfig?: AxiosRequestConfig) => Promise<AxiosResponse<T, any, {}, any>>;
|
|
215
|
+
wrapPost<T = unknown>(url: string, defaultAxiosRequestConfig?: AxiosRequestConfig): (data?: unknown, options?: WrapOptions, requestConfig?: AxiosRequestConfig) => Promise<AxiosResponse<T, any, {}, any>>;
|
|
216
|
+
wrapPut<T = unknown>(url: string, defaultAxiosRequestConfig?: AxiosRequestConfig): (data?: unknown, options?: WrapOptions, requestConfig?: AxiosRequestConfig) => Promise<AxiosResponse<T, any, {}, any>>;
|
|
217
|
+
wrapPatch<T = unknown>(url: string, defaultAxiosRequestConfig?: AxiosRequestConfig): (data?: unknown, options?: WrapOptions, requestConfig?: AxiosRequestConfig) => Promise<AxiosResponse<T, any, {}, any>>;
|
|
218
|
+
wrapDelete<T = unknown>(url: string, defaultAxiosRequestConfig?: AxiosRequestConfig): (options?: WrapOptions, requestConfig?: AxiosRequestConfig) => Promise<AxiosResponse<T, any, {}, any>>;
|
|
219
219
|
/**
|
|
220
220
|
* Public bridge to the per-service success/failure callback pipeline and
|
|
221
221
|
* `throwOnError` policy. Adapter-internal grouping machinery calls this so
|
|
@@ -299,33 +299,33 @@ declare class ModelService<T extends Document> extends Service {
|
|
|
299
299
|
updateAdvanced<TData extends Partial<T> | never = never, TSelect extends Projection = Projection>(identifier: string, data: object, args?: UpdateAdvancedArgs<TSelect>, options?: UpdateAdvancedOptions, axiosRequestConfig?: RequestConfig$1): ModelRequest<ModelResponse<T, ResolvedSelectedShape<T, TSelect, TData>>>;
|
|
300
300
|
id(id: string): {
|
|
301
301
|
subs: <S = never, K extends keyof T = keyof T>(field: K) => {
|
|
302
|
-
list: (axiosRequestConfig?: AxiosRequestConfig<any> & {
|
|
302
|
+
list: (axiosRequestConfig?: AxiosRequestConfig<any, any> & {
|
|
303
303
|
throwOnError?: boolean;
|
|
304
304
|
}) => ModelPromiseMeta & LazyRequest<SubDocumentListResponse<[S] extends [never] ? NonNullable<T[K]> extends readonly (infer TItem)[] ? TItem : never : S>>;
|
|
305
305
|
listAdvanced: <TData extends Partial<[S] extends [never] ? NonNullable<T[K]> extends readonly (infer TItem)[] ? TItem : never : S> = never, TSelect extends readonly string[] = readonly string[]>(filter?: FilterQuery<[S] extends [never] ? NonNullable<T[K]> extends readonly (infer TItem)[] ? TItem : never : S>, args?: {
|
|
306
306
|
select?: TSelect;
|
|
307
|
-
}, axiosRequestConfig?: AxiosRequestConfig<any> & {
|
|
307
|
+
}, axiosRequestConfig?: AxiosRequestConfig<any, any> & {
|
|
308
308
|
throwOnError?: boolean;
|
|
309
309
|
}) => ModelPromiseMeta & LazyRequest<SubDocumentListResponse<[S] extends [never] ? NonNullable<T[K]> extends readonly (infer TItem)[] ? TItem : never : S, ResolvedSelectedShape<[S] extends [never] ? NonNullable<T[K]> extends readonly (infer TItem)[] ? TItem : never : S, TSelect, TData>>>;
|
|
310
|
-
read: (subId: string, axiosRequestConfig?: AxiosRequestConfig<any> & {
|
|
310
|
+
read: (subId: string, axiosRequestConfig?: AxiosRequestConfig<any, any> & {
|
|
311
311
|
throwOnError?: boolean;
|
|
312
312
|
}) => ModelPromiseMeta & LazyRequest<SubDocumentResponse<[S] extends [never] ? NonNullable<T[K]> extends readonly (infer TItem)[] ? TItem : never : S>>;
|
|
313
313
|
readAdvanced: <TData extends Partial<[S] extends [never] ? NonNullable<T[K]> extends readonly (infer TItem)[] ? TItem : never : S> = never, TSelect_1 extends readonly string[] = readonly string[]>(subId: string, args?: {
|
|
314
314
|
select?: TSelect_1;
|
|
315
315
|
populate?: unknown;
|
|
316
|
-
}, axiosRequestConfig?: AxiosRequestConfig<any> & {
|
|
316
|
+
}, axiosRequestConfig?: AxiosRequestConfig<any, any> & {
|
|
317
317
|
throwOnError?: boolean;
|
|
318
318
|
}) => ModelPromiseMeta & LazyRequest<SubDocumentResponse<[S] extends [never] ? NonNullable<T[K]> extends readonly (infer TItem)[] ? TItem : never : S, ResolvedSelectedShape<[S] extends [never] ? NonNullable<T[K]> extends readonly (infer TItem)[] ? TItem : never : S, TSelect_1, TData>>>;
|
|
319
|
-
update: (subId: string, data: object, axiosRequestConfig?: AxiosRequestConfig<any> & {
|
|
319
|
+
update: (subId: string, data: object, axiosRequestConfig?: AxiosRequestConfig<any, any> & {
|
|
320
320
|
throwOnError?: boolean;
|
|
321
321
|
}) => ModelPromiseMeta & LazyRequest<SubDocumentResponse<[S] extends [never] ? NonNullable<T[K]> extends readonly (infer TItem)[] ? TItem : never : S>>;
|
|
322
|
-
bulkUpdate: (data: object[], axiosRequestConfig?: AxiosRequestConfig<any> & {
|
|
322
|
+
bulkUpdate: (data: object[], axiosRequestConfig?: AxiosRequestConfig<any, any> & {
|
|
323
323
|
throwOnError?: boolean;
|
|
324
324
|
}) => ModelPromiseMeta & LazyRequest<SubDocumentListResponse<[S] extends [never] ? NonNullable<T[K]> extends readonly (infer TItem)[] ? TItem : never : S>>;
|
|
325
|
-
create: (data: object | object[], axiosRequestConfig?: AxiosRequestConfig<any> & {
|
|
325
|
+
create: (data: object | object[], axiosRequestConfig?: AxiosRequestConfig<any, any> & {
|
|
326
326
|
throwOnError?: boolean;
|
|
327
327
|
}) => ModelPromiseMeta & LazyRequest<SubDocumentListResponse<[S] extends [never] ? NonNullable<T[K]> extends readonly (infer TItem)[] ? TItem : never : S>>;
|
|
328
|
-
delete: (subId: string, axiosRequestConfig?: AxiosRequestConfig<any> & {
|
|
328
|
+
delete: (subId: string, axiosRequestConfig?: AxiosRequestConfig<any, any> & {
|
|
329
329
|
throwOnError?: boolean;
|
|
330
330
|
}) => ModelPromiseMeta & LazyRequest<Response<string>>;
|
|
331
331
|
};
|
|
@@ -937,11 +937,11 @@ declare function createAdapter(axiosConfig?: AxiosRequestConfig, adapterOptions?
|
|
|
937
937
|
disposeCache: () => void;
|
|
938
938
|
createModelService: <T extends Document>({ modelName, basePath, queryPath, mutationPath, onSuccess, onFailure, throwOnError, }: ModelServiceOptions, defaults?: Defaults) => ModelService<T>;
|
|
939
939
|
createDataService: <T>({ dataName, basePath, queryPath, onSuccess, onFailure, throwOnError }: DataServiceOptions, defaults?: DataDefaults) => DataService<T>;
|
|
940
|
-
wrapGet: <T = unknown>(url: string, defaultConfig?: AxiosRequestConfig) => (options?: WrapOptions, requestConfig?: AxiosRequestConfig) => Promise<axios.AxiosResponse<T, any, {}>>;
|
|
941
|
-
wrapPost: <T = unknown>(url: string, defaultConfig?: AxiosRequestConfig) => (data?: unknown, options?: WrapOptions, requestConfig?: AxiosRequestConfig) => Promise<axios.AxiosResponse<T, any, {}>>;
|
|
942
|
-
wrapPut: <T = unknown>(url: string, defaultConfig?: AxiosRequestConfig) => (data?: unknown, options?: WrapOptions, requestConfig?: AxiosRequestConfig) => Promise<axios.AxiosResponse<T, any, {}>>;
|
|
943
|
-
wrapPatch: <T = unknown>(url: string, defaultConfig?: AxiosRequestConfig) => (data?: unknown, options?: WrapOptions, requestConfig?: AxiosRequestConfig) => Promise<axios.AxiosResponse<T, any, {}>>;
|
|
944
|
-
wrapDelete: <T = unknown>(url: string, defaultConfig?: AxiosRequestConfig) => (options?: WrapOptions, requestConfig?: AxiosRequestConfig) => Promise<axios.AxiosResponse<T, any, {}>>;
|
|
940
|
+
wrapGet: <T = unknown>(url: string, defaultConfig?: AxiosRequestConfig) => (options?: WrapOptions, requestConfig?: AxiosRequestConfig) => Promise<axios.AxiosResponse<T, any, {}, any>>;
|
|
941
|
+
wrapPost: <T = unknown>(url: string, defaultConfig?: AxiosRequestConfig) => (data?: unknown, options?: WrapOptions, requestConfig?: AxiosRequestConfig) => Promise<axios.AxiosResponse<T, any, {}, any>>;
|
|
942
|
+
wrapPut: <T = unknown>(url: string, defaultConfig?: AxiosRequestConfig) => (data?: unknown, options?: WrapOptions, requestConfig?: AxiosRequestConfig) => Promise<axios.AxiosResponse<T, any, {}, any>>;
|
|
943
|
+
wrapPatch: <T = unknown>(url: string, defaultConfig?: AxiosRequestConfig) => (data?: unknown, options?: WrapOptions, requestConfig?: AxiosRequestConfig) => Promise<axios.AxiosResponse<T, any, {}, any>>;
|
|
944
|
+
wrapDelete: <T = unknown>(url: string, defaultConfig?: AxiosRequestConfig) => (options?: WrapOptions, requestConfig?: AxiosRequestConfig) => Promise<axios.AxiosResponse<T, any, {}, any>>;
|
|
945
945
|
group: <T extends readonly (ModelRequest<unknown> | DataRequest<unknown>)[]>(...proms: T) => Promise<{ [K in keyof T]: Awaited<T[K]>; }>;
|
|
946
946
|
}>;
|
|
947
947
|
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@web-ts-toolkit/access-router-client",
|
|
3
3
|
"description": "Typed client utilities for @web-ts-toolkit/access-router APIs",
|
|
4
4
|
"homepage": "https://web-ts-toolkit.pages.dev/docs/packages/access-router-client",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.34.2",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"keywords": [
|
|
8
8
|
"axios",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"supports es2022-module"
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@web-ts-toolkit/utils": "0.
|
|
36
|
+
"@web-ts-toolkit/utils": "0.34.2",
|
|
37
37
|
"axios": "^1.18.1"
|
|
38
38
|
},
|
|
39
39
|
"files": [
|