@geowiki/evoland-orval-api-proxy 0.16.9-dev.14 → 0.16.9-dev.16
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/dist/index.d.mts +17 -17
- package/dist/index.d.ts +17 -17
- package/dist/index.js +3 -3
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
|
-
import { UseMutationOptions, UseQueryOptions,
|
|
2
|
+
import { UseMutationOptions, UseQueryOptions, UseQueryResult, QueryKey } from '@tanstack/react-query';
|
|
3
3
|
import * as axios from 'axios';
|
|
4
4
|
import { AxiosError, AxiosRequestConfig } from 'axios';
|
|
5
5
|
|
|
@@ -516,8 +516,8 @@ declare const getReadRootGetQueryKey: () => readonly ["/"];
|
|
|
516
516
|
declare const getReadRootGetQueryOptions: <TData = unknown, TError = ErrorType<unknown>>(options?: {
|
|
517
517
|
query?: UseQueryOptions<Awaited<ReturnType<typeof readRootGet>>, TError, TData>;
|
|
518
518
|
request?: SecondParameter<typeof http>;
|
|
519
|
-
}) => UseQueryOptions<unknown, TError, TData,
|
|
520
|
-
queryKey:
|
|
519
|
+
}) => UseQueryOptions<unknown, TError, TData, readonly unknown[]> & {
|
|
520
|
+
queryKey: readonly unknown[];
|
|
521
521
|
};
|
|
522
522
|
type ReadRootGetQueryResult = NonNullable<Awaited<ReturnType<typeof readRootGet>>>;
|
|
523
523
|
type ReadRootGetQueryError = ErrorType<unknown>;
|
|
@@ -538,8 +538,8 @@ declare const getGetUserMeGetQueryKey: () => readonly ["/me/"];
|
|
|
538
538
|
declare const getGetUserMeGetQueryOptions: <TData = unknown, TError = ErrorType<unknown>>(options?: {
|
|
539
539
|
query?: UseQueryOptions<Awaited<ReturnType<typeof getUserMeGet>>, TError, TData>;
|
|
540
540
|
request?: SecondParameter<typeof http>;
|
|
541
|
-
}) => UseQueryOptions<unknown, TError, TData,
|
|
542
|
-
queryKey:
|
|
541
|
+
}) => UseQueryOptions<unknown, TError, TData, readonly unknown[]> & {
|
|
542
|
+
queryKey: readonly unknown[];
|
|
543
543
|
};
|
|
544
544
|
type GetUserMeGetQueryResult = NonNullable<Awaited<ReturnType<typeof getUserMeGet>>>;
|
|
545
545
|
type GetUserMeGetQueryError = ErrorType<unknown>;
|
|
@@ -560,8 +560,8 @@ declare const getGetAvailableBandsAvailablebandsGetQueryKey: () => readonly ["/a
|
|
|
560
560
|
declare const getGetAvailableBandsAvailablebandsGetQueryOptions: <TData = unknown, TError = ErrorType<unknown>>(options?: {
|
|
561
561
|
query?: UseQueryOptions<Awaited<ReturnType<typeof getAvailableBandsAvailablebandsGet>>, TError, TData>;
|
|
562
562
|
request?: SecondParameter<typeof http>;
|
|
563
|
-
}) => UseQueryOptions<unknown, TError, TData,
|
|
564
|
-
queryKey:
|
|
563
|
+
}) => UseQueryOptions<unknown, TError, TData, readonly unknown[]> & {
|
|
564
|
+
queryKey: readonly unknown[];
|
|
565
565
|
};
|
|
566
566
|
type GetAvailableBandsAvailablebandsGetQueryResult = NonNullable<Awaited<ReturnType<typeof getAvailableBandsAvailablebandsGet>>>;
|
|
567
567
|
type GetAvailableBandsAvailablebandsGetQueryError = ErrorType<unknown>;
|
|
@@ -582,8 +582,8 @@ declare const getGetAvailableLayersAvailablelayersGetQueryKey: () => readonly ["
|
|
|
582
582
|
declare const getGetAvailableLayersAvailablelayersGetQueryOptions: <TData = unknown, TError = ErrorType<unknown>>(options?: {
|
|
583
583
|
query?: UseQueryOptions<Awaited<ReturnType<typeof getAvailableLayersAvailablelayersGet>>, TError, TData>;
|
|
584
584
|
request?: SecondParameter<typeof http>;
|
|
585
|
-
}) => UseQueryOptions<unknown, TError, TData,
|
|
586
|
-
queryKey:
|
|
585
|
+
}) => UseQueryOptions<unknown, TError, TData, readonly unknown[]> & {
|
|
586
|
+
queryKey: readonly unknown[];
|
|
587
587
|
};
|
|
588
588
|
type GetAvailableLayersAvailablelayersGetQueryResult = NonNullable<Awaited<ReturnType<typeof getAvailableLayersAvailablelayersGet>>>;
|
|
589
589
|
type GetAvailableLayersAvailablelayersGetQueryError = ErrorType<unknown>;
|
|
@@ -604,8 +604,8 @@ declare const getGetLabelsLabelsGetQueryKey: () => readonly ["/labels/"];
|
|
|
604
604
|
declare const getGetLabelsLabelsGetQueryOptions: <TData = unknown, TError = ErrorType<unknown>>(options?: {
|
|
605
605
|
query?: UseQueryOptions<Awaited<ReturnType<typeof getLabelsLabelsGet>>, TError, TData>;
|
|
606
606
|
request?: SecondParameter<typeof http>;
|
|
607
|
-
}) => UseQueryOptions<unknown, TError, TData,
|
|
608
|
-
queryKey:
|
|
607
|
+
}) => UseQueryOptions<unknown, TError, TData, readonly unknown[]> & {
|
|
608
|
+
queryKey: readonly unknown[];
|
|
609
609
|
};
|
|
610
610
|
type GetLabelsLabelsGetQueryResult = NonNullable<Awaited<ReturnType<typeof getLabelsLabelsGet>>>;
|
|
611
611
|
type GetLabelsLabelsGetQueryError = ErrorType<unknown>;
|
|
@@ -626,8 +626,8 @@ declare const getListProjectsListprojectsStartidxStartidxAmountAmountGetQueryKey
|
|
|
626
626
|
declare const getListProjectsListprojectsStartidxStartidxAmountAmountGetQueryOptions: <TData = ListProjectResponse, TError = ErrorType<HTTPValidationError>>(startidx: number, amount: number, options?: {
|
|
627
627
|
query?: UseQueryOptions<Awaited<ReturnType<typeof listProjectsListprojectsStartidxStartidxAmountAmountGet>>, TError, TData>;
|
|
628
628
|
request?: SecondParameter<typeof http>;
|
|
629
|
-
}) => UseQueryOptions<ListProjectResponse, TError, TData,
|
|
630
|
-
queryKey:
|
|
629
|
+
}) => UseQueryOptions<ListProjectResponse, TError, TData, readonly unknown[]> & {
|
|
630
|
+
queryKey: readonly unknown[];
|
|
631
631
|
};
|
|
632
632
|
type ListProjectsListprojectsStartidxStartidxAmountAmountGetQueryResult = NonNullable<Awaited<ReturnType<typeof listProjectsListprojectsStartidxStartidxAmountAmountGet>>>;
|
|
633
633
|
type ListProjectsListprojectsStartidxStartidxAmountAmountGetQueryError = ErrorType<HTTPValidationError>;
|
|
@@ -726,8 +726,8 @@ declare const getGetPolygonUtmlocationLonLonLatLatWidthWidthHeightHeightGetQuery
|
|
|
726
726
|
declare const getGetPolygonUtmlocationLonLonLatLatWidthWidthHeightHeightGetQueryOptions: <TData = PolygonResponse, TError = ErrorType<HTTPValidationError>>(lon: number, lat: number, width: number, height: number, options?: {
|
|
727
727
|
query?: UseQueryOptions<Awaited<ReturnType<typeof getPolygonUtmlocationLonLonLatLatWidthWidthHeightHeightGet>>, TError, TData>;
|
|
728
728
|
request?: SecondParameter<typeof http>;
|
|
729
|
-
}) => UseQueryOptions<PolygonResponse, TError, TData,
|
|
730
|
-
queryKey:
|
|
729
|
+
}) => UseQueryOptions<PolygonResponse, TError, TData, readonly unknown[]> & {
|
|
730
|
+
queryKey: readonly unknown[];
|
|
731
731
|
};
|
|
732
732
|
type GetPolygonUtmlocationLonLonLatLatWidthWidthHeightHeightGetQueryResult = NonNullable<Awaited<ReturnType<typeof getPolygonUtmlocationLonLonLatLatWidthWidthHeightHeightGet>>>;
|
|
733
733
|
type GetPolygonUtmlocationLonLonLatLatWidthWidthHeightHeightGetQueryError = ErrorType<HTTPValidationError>;
|
|
@@ -904,8 +904,8 @@ declare const getLocationContentLocationcontentLocationIdLocationIdProjectIdProj
|
|
|
904
904
|
declare const getLocationContentLocationcontentLocationIdLocationIdProjectIdProjectIdGetQueryOptions: <TData = LocationContentResponse, TError = ErrorType<HTTPValidationError>>(locationId: string, projectId: number, options?: {
|
|
905
905
|
query?: UseQueryOptions<Awaited<ReturnType<typeof locationContentLocationcontentLocationIdLocationIdProjectIdProjectIdGet>>, TError, TData>;
|
|
906
906
|
request?: SecondParameter<typeof http>;
|
|
907
|
-
}) => UseQueryOptions<LocationContentResponse, TError, TData,
|
|
908
|
-
queryKey:
|
|
907
|
+
}) => UseQueryOptions<LocationContentResponse, TError, TData, readonly unknown[]> & {
|
|
908
|
+
queryKey: readonly unknown[];
|
|
909
909
|
};
|
|
910
910
|
type LocationContentLocationcontentLocationIdLocationIdProjectIdProjectIdGetQueryResult = NonNullable<Awaited<ReturnType<typeof locationContentLocationcontentLocationIdLocationIdProjectIdProjectIdGet>>>;
|
|
911
911
|
type LocationContentLocationcontentLocationIdLocationIdProjectIdProjectIdGetQueryError = ErrorType<HTTPValidationError>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
|
-
import { UseMutationOptions, UseQueryOptions,
|
|
2
|
+
import { UseMutationOptions, UseQueryOptions, UseQueryResult, QueryKey } from '@tanstack/react-query';
|
|
3
3
|
import * as axios from 'axios';
|
|
4
4
|
import { AxiosError, AxiosRequestConfig } from 'axios';
|
|
5
5
|
|
|
@@ -516,8 +516,8 @@ declare const getReadRootGetQueryKey: () => readonly ["/"];
|
|
|
516
516
|
declare const getReadRootGetQueryOptions: <TData = unknown, TError = ErrorType<unknown>>(options?: {
|
|
517
517
|
query?: UseQueryOptions<Awaited<ReturnType<typeof readRootGet>>, TError, TData>;
|
|
518
518
|
request?: SecondParameter<typeof http>;
|
|
519
|
-
}) => UseQueryOptions<unknown, TError, TData,
|
|
520
|
-
queryKey:
|
|
519
|
+
}) => UseQueryOptions<unknown, TError, TData, readonly unknown[]> & {
|
|
520
|
+
queryKey: readonly unknown[];
|
|
521
521
|
};
|
|
522
522
|
type ReadRootGetQueryResult = NonNullable<Awaited<ReturnType<typeof readRootGet>>>;
|
|
523
523
|
type ReadRootGetQueryError = ErrorType<unknown>;
|
|
@@ -538,8 +538,8 @@ declare const getGetUserMeGetQueryKey: () => readonly ["/me/"];
|
|
|
538
538
|
declare const getGetUserMeGetQueryOptions: <TData = unknown, TError = ErrorType<unknown>>(options?: {
|
|
539
539
|
query?: UseQueryOptions<Awaited<ReturnType<typeof getUserMeGet>>, TError, TData>;
|
|
540
540
|
request?: SecondParameter<typeof http>;
|
|
541
|
-
}) => UseQueryOptions<unknown, TError, TData,
|
|
542
|
-
queryKey:
|
|
541
|
+
}) => UseQueryOptions<unknown, TError, TData, readonly unknown[]> & {
|
|
542
|
+
queryKey: readonly unknown[];
|
|
543
543
|
};
|
|
544
544
|
type GetUserMeGetQueryResult = NonNullable<Awaited<ReturnType<typeof getUserMeGet>>>;
|
|
545
545
|
type GetUserMeGetQueryError = ErrorType<unknown>;
|
|
@@ -560,8 +560,8 @@ declare const getGetAvailableBandsAvailablebandsGetQueryKey: () => readonly ["/a
|
|
|
560
560
|
declare const getGetAvailableBandsAvailablebandsGetQueryOptions: <TData = unknown, TError = ErrorType<unknown>>(options?: {
|
|
561
561
|
query?: UseQueryOptions<Awaited<ReturnType<typeof getAvailableBandsAvailablebandsGet>>, TError, TData>;
|
|
562
562
|
request?: SecondParameter<typeof http>;
|
|
563
|
-
}) => UseQueryOptions<unknown, TError, TData,
|
|
564
|
-
queryKey:
|
|
563
|
+
}) => UseQueryOptions<unknown, TError, TData, readonly unknown[]> & {
|
|
564
|
+
queryKey: readonly unknown[];
|
|
565
565
|
};
|
|
566
566
|
type GetAvailableBandsAvailablebandsGetQueryResult = NonNullable<Awaited<ReturnType<typeof getAvailableBandsAvailablebandsGet>>>;
|
|
567
567
|
type GetAvailableBandsAvailablebandsGetQueryError = ErrorType<unknown>;
|
|
@@ -582,8 +582,8 @@ declare const getGetAvailableLayersAvailablelayersGetQueryKey: () => readonly ["
|
|
|
582
582
|
declare const getGetAvailableLayersAvailablelayersGetQueryOptions: <TData = unknown, TError = ErrorType<unknown>>(options?: {
|
|
583
583
|
query?: UseQueryOptions<Awaited<ReturnType<typeof getAvailableLayersAvailablelayersGet>>, TError, TData>;
|
|
584
584
|
request?: SecondParameter<typeof http>;
|
|
585
|
-
}) => UseQueryOptions<unknown, TError, TData,
|
|
586
|
-
queryKey:
|
|
585
|
+
}) => UseQueryOptions<unknown, TError, TData, readonly unknown[]> & {
|
|
586
|
+
queryKey: readonly unknown[];
|
|
587
587
|
};
|
|
588
588
|
type GetAvailableLayersAvailablelayersGetQueryResult = NonNullable<Awaited<ReturnType<typeof getAvailableLayersAvailablelayersGet>>>;
|
|
589
589
|
type GetAvailableLayersAvailablelayersGetQueryError = ErrorType<unknown>;
|
|
@@ -604,8 +604,8 @@ declare const getGetLabelsLabelsGetQueryKey: () => readonly ["/labels/"];
|
|
|
604
604
|
declare const getGetLabelsLabelsGetQueryOptions: <TData = unknown, TError = ErrorType<unknown>>(options?: {
|
|
605
605
|
query?: UseQueryOptions<Awaited<ReturnType<typeof getLabelsLabelsGet>>, TError, TData>;
|
|
606
606
|
request?: SecondParameter<typeof http>;
|
|
607
|
-
}) => UseQueryOptions<unknown, TError, TData,
|
|
608
|
-
queryKey:
|
|
607
|
+
}) => UseQueryOptions<unknown, TError, TData, readonly unknown[]> & {
|
|
608
|
+
queryKey: readonly unknown[];
|
|
609
609
|
};
|
|
610
610
|
type GetLabelsLabelsGetQueryResult = NonNullable<Awaited<ReturnType<typeof getLabelsLabelsGet>>>;
|
|
611
611
|
type GetLabelsLabelsGetQueryError = ErrorType<unknown>;
|
|
@@ -626,8 +626,8 @@ declare const getListProjectsListprojectsStartidxStartidxAmountAmountGetQueryKey
|
|
|
626
626
|
declare const getListProjectsListprojectsStartidxStartidxAmountAmountGetQueryOptions: <TData = ListProjectResponse, TError = ErrorType<HTTPValidationError>>(startidx: number, amount: number, options?: {
|
|
627
627
|
query?: UseQueryOptions<Awaited<ReturnType<typeof listProjectsListprojectsStartidxStartidxAmountAmountGet>>, TError, TData>;
|
|
628
628
|
request?: SecondParameter<typeof http>;
|
|
629
|
-
}) => UseQueryOptions<ListProjectResponse, TError, TData,
|
|
630
|
-
queryKey:
|
|
629
|
+
}) => UseQueryOptions<ListProjectResponse, TError, TData, readonly unknown[]> & {
|
|
630
|
+
queryKey: readonly unknown[];
|
|
631
631
|
};
|
|
632
632
|
type ListProjectsListprojectsStartidxStartidxAmountAmountGetQueryResult = NonNullable<Awaited<ReturnType<typeof listProjectsListprojectsStartidxStartidxAmountAmountGet>>>;
|
|
633
633
|
type ListProjectsListprojectsStartidxStartidxAmountAmountGetQueryError = ErrorType<HTTPValidationError>;
|
|
@@ -726,8 +726,8 @@ declare const getGetPolygonUtmlocationLonLonLatLatWidthWidthHeightHeightGetQuery
|
|
|
726
726
|
declare const getGetPolygonUtmlocationLonLonLatLatWidthWidthHeightHeightGetQueryOptions: <TData = PolygonResponse, TError = ErrorType<HTTPValidationError>>(lon: number, lat: number, width: number, height: number, options?: {
|
|
727
727
|
query?: UseQueryOptions<Awaited<ReturnType<typeof getPolygonUtmlocationLonLonLatLatWidthWidthHeightHeightGet>>, TError, TData>;
|
|
728
728
|
request?: SecondParameter<typeof http>;
|
|
729
|
-
}) => UseQueryOptions<PolygonResponse, TError, TData,
|
|
730
|
-
queryKey:
|
|
729
|
+
}) => UseQueryOptions<PolygonResponse, TError, TData, readonly unknown[]> & {
|
|
730
|
+
queryKey: readonly unknown[];
|
|
731
731
|
};
|
|
732
732
|
type GetPolygonUtmlocationLonLonLatLatWidthWidthHeightHeightGetQueryResult = NonNullable<Awaited<ReturnType<typeof getPolygonUtmlocationLonLonLatLatWidthWidthHeightHeightGet>>>;
|
|
733
733
|
type GetPolygonUtmlocationLonLonLatLatWidthWidthHeightHeightGetQueryError = ErrorType<HTTPValidationError>;
|
|
@@ -904,8 +904,8 @@ declare const getLocationContentLocationcontentLocationIdLocationIdProjectIdProj
|
|
|
904
904
|
declare const getLocationContentLocationcontentLocationIdLocationIdProjectIdProjectIdGetQueryOptions: <TData = LocationContentResponse, TError = ErrorType<HTTPValidationError>>(locationId: string, projectId: number, options?: {
|
|
905
905
|
query?: UseQueryOptions<Awaited<ReturnType<typeof locationContentLocationcontentLocationIdLocationIdProjectIdProjectIdGet>>, TError, TData>;
|
|
906
906
|
request?: SecondParameter<typeof http>;
|
|
907
|
-
}) => UseQueryOptions<LocationContentResponse, TError, TData,
|
|
908
|
-
queryKey:
|
|
907
|
+
}) => UseQueryOptions<LocationContentResponse, TError, TData, readonly unknown[]> & {
|
|
908
|
+
queryKey: readonly unknown[];
|
|
909
909
|
};
|
|
910
910
|
type LocationContentLocationcontentLocationIdLocationIdProjectIdProjectIdGetQueryResult = NonNullable<Awaited<ReturnType<typeof locationContentLocationcontentLocationIdLocationIdProjectIdProjectIdGet>>>;
|
|
911
911
|
type LocationContentLocationcontentLocationIdLocationIdProjectIdProjectIdGetQueryError = ErrorType<HTTPValidationError>;
|
package/dist/index.js
CHANGED
|
@@ -28,8 +28,8 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
29
|
|
|
30
30
|
// src/index.ts
|
|
31
|
-
var
|
|
32
|
-
__export(
|
|
31
|
+
var index_exports = {};
|
|
32
|
+
__export(index_exports, {
|
|
33
33
|
LocationStatus: () => LocationStatus,
|
|
34
34
|
UserRank: () => UserRank,
|
|
35
35
|
createLocationCreatelocationPost: () => createLocationCreatelocationPost,
|
|
@@ -97,7 +97,7 @@ __export(src_exports, {
|
|
|
97
97
|
useSubmitCommentCommentPost: () => useSubmitCommentCommentPost,
|
|
98
98
|
useSubmitLabelingSubmitPost: () => useSubmitLabelingSubmitPost
|
|
99
99
|
});
|
|
100
|
-
module.exports = __toCommonJS(
|
|
100
|
+
module.exports = __toCommonJS(index_exports);
|
|
101
101
|
|
|
102
102
|
// src/schemas/locationStatus.ts
|
|
103
103
|
var LocationStatus = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geowiki/evoland-orval-api-proxy",
|
|
3
|
-
"version": "0.16.9-dev.
|
|
3
|
+
"version": "0.16.9-dev.16",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -17,13 +17,13 @@
|
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@types/node": "18.11.18",
|
|
20
|
-
"@types/react": "^
|
|
20
|
+
"@types/react": "^19.2.0",
|
|
21
21
|
"eslint": "^8.46.0",
|
|
22
22
|
"tsup": "^8.0.2",
|
|
23
23
|
"typescript": "5.4.2",
|
|
24
|
+
"eslint-config-custom": "0.0.0",
|
|
24
25
|
"tailwind-config": "0.0.0",
|
|
25
|
-
"tsconfig": "0.0.0"
|
|
26
|
-
"eslint-config-custom": "0.0.0"
|
|
26
|
+
"tsconfig": "0.0.0"
|
|
27
27
|
},
|
|
28
28
|
"scripts": {
|
|
29
29
|
"build": "tsup src/index.ts --format cjs,esm --dts",
|