@geowiki/evoland-orval-api-proxy 0.16.9-dev.9 → 0.16.10

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 CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _tanstack_react_query from '@tanstack/react-query';
2
- import { UseMutationOptions, UseQueryOptions, QueryKey, UseQueryResult } from '@tanstack/react-query';
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, QueryKey> & {
520
- queryKey: 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, QueryKey> & {
542
- queryKey: 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, QueryKey> & {
564
- queryKey: 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, QueryKey> & {
586
- queryKey: 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, QueryKey> & {
608
- queryKey: 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, QueryKey> & {
630
- queryKey: 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, QueryKey> & {
730
- queryKey: 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, QueryKey> & {
908
- queryKey: 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, QueryKey, UseQueryResult } from '@tanstack/react-query';
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, QueryKey> & {
520
- queryKey: 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, QueryKey> & {
542
- queryKey: 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, QueryKey> & {
564
- queryKey: 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, QueryKey> & {
586
- queryKey: 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, QueryKey> & {
608
- queryKey: 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, QueryKey> & {
630
- queryKey: 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, QueryKey> & {
730
- queryKey: 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, QueryKey> & {
908
- queryKey: 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 src_exports = {};
32
- __export(src_exports, {
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(src_exports);
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.9",
3
+ "version": "0.16.10",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [
@@ -13,17 +13,17 @@
13
13
  },
14
14
  "peerDependencies": {
15
15
  "@tanstack/react-query": "^5.28.4",
16
- "axios": "^1.12.0"
16
+ "axios": "^1.15.2"
17
17
  },
18
18
  "devDependencies": {
19
19
  "@types/node": "18.11.18",
20
- "@types/react": "^18.2.0",
21
- "eslint": "^8.46.0",
22
- "tsup": "^8.0.2",
20
+ "@types/react": "^19.2.14",
21
+ "eslint": "^8.57.1",
22
+ "tsup": "^8.5.1",
23
23
  "typescript": "5.4.2",
24
24
  "eslint-config-custom": "0.0.0",
25
- "tailwind-config": "0.0.0",
26
- "tsconfig": "0.0.0"
25
+ "tsconfig": "0.0.0",
26
+ "tailwind-config": "0.0.0"
27
27
  },
28
28
  "scripts": {
29
29
  "build": "tsup src/index.ts --format cjs,esm --dts",