@geowiki/evoland-orval-api-proxy 0.0.0

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.mjs ADDED
@@ -0,0 +1,554 @@
1
+ // src/schemas/locationStatus.ts
2
+ var LocationStatus = {
3
+ NOT_STARTED: "NOT_STARTED",
4
+ INCOMPLETED: "INCOMPLETED",
5
+ COMPLETED: "COMPLETED"
6
+ };
7
+
8
+ // src/schemas/userRank.ts
9
+ var UserRank = {
10
+ MEMBER: "MEMBER",
11
+ ADMIN: "ADMIN",
12
+ OWNER: "OWNER"
13
+ };
14
+
15
+ // src/api/evoland.ts
16
+ import { useQuery, useMutation } from "@tanstack/react-query";
17
+
18
+ // src/apiClient.ts
19
+ import Axios from "axios";
20
+ var evolandAxiosInstance = Axios.create({
21
+ baseURL: ""
22
+ });
23
+ var http = (config, options) => {
24
+ const source = Axios.CancelToken.source();
25
+ return evolandAxiosInstance(
26
+ {
27
+ ...config,
28
+ ...options,
29
+ cancelToken: source.token,
30
+ withCredentials: true
31
+ }
32
+ // @ts-ignore
33
+ ).then(({ data }) => data);
34
+ };
35
+
36
+ // src/api/evoland.ts
37
+ var readRootGet = (options, signal) => {
38
+ return http({ url: `/`, method: "get", signal }, options);
39
+ };
40
+ var getReadRootGetQueryKey = () => [`/`];
41
+ var getReadRootGetQueryOptions = (options) => {
42
+ const { query: queryOptions, request: requestOptions } = options ?? {};
43
+ const queryKey = (queryOptions == null ? void 0 : queryOptions.queryKey) ?? getReadRootGetQueryKey();
44
+ const queryFn = ({
45
+ signal
46
+ }) => readRootGet(requestOptions, signal);
47
+ return { queryKey, queryFn, ...queryOptions };
48
+ };
49
+ var useReadRootGet = (options) => {
50
+ const queryOptions = getReadRootGetQueryOptions(options);
51
+ const query = useQuery(queryOptions);
52
+ query.queryKey = queryOptions.queryKey;
53
+ return query;
54
+ };
55
+ var getUserMeGet = (options, signal) => {
56
+ return http({ url: `/me/`, method: "get", signal }, options);
57
+ };
58
+ var getGetUserMeGetQueryKey = () => [`/me/`];
59
+ var getGetUserMeGetQueryOptions = (options) => {
60
+ const { query: queryOptions, request: requestOptions } = options ?? {};
61
+ const queryKey = (queryOptions == null ? void 0 : queryOptions.queryKey) ?? getGetUserMeGetQueryKey();
62
+ const queryFn = ({
63
+ signal
64
+ }) => getUserMeGet(requestOptions, signal);
65
+ return { queryKey, queryFn, ...queryOptions };
66
+ };
67
+ var useGetUserMeGet = (options) => {
68
+ const queryOptions = getGetUserMeGetQueryOptions(options);
69
+ const query = useQuery(queryOptions);
70
+ query.queryKey = queryOptions.queryKey;
71
+ return query;
72
+ };
73
+ var getAvailableBandsAvailablebandsGet = (options, signal) => {
74
+ return http(
75
+ { url: `/availablebands/`, method: "get", signal },
76
+ options
77
+ );
78
+ };
79
+ var getGetAvailableBandsAvailablebandsGetQueryKey = () => [`/availablebands/`];
80
+ var getGetAvailableBandsAvailablebandsGetQueryOptions = (options) => {
81
+ const { query: queryOptions, request: requestOptions } = options ?? {};
82
+ const queryKey = (queryOptions == null ? void 0 : queryOptions.queryKey) ?? getGetAvailableBandsAvailablebandsGetQueryKey();
83
+ const queryFn = ({ signal }) => getAvailableBandsAvailablebandsGet(requestOptions, signal);
84
+ return { queryKey, queryFn, ...queryOptions };
85
+ };
86
+ var useGetAvailableBandsAvailablebandsGet = (options) => {
87
+ const queryOptions = getGetAvailableBandsAvailablebandsGetQueryOptions(options);
88
+ const query = useQuery(queryOptions);
89
+ query.queryKey = queryOptions.queryKey;
90
+ return query;
91
+ };
92
+ var getAvailableLayersAvailablelayersGet = (options, signal) => {
93
+ return http(
94
+ { url: `/availablelayers/`, method: "get", signal },
95
+ options
96
+ );
97
+ };
98
+ var getGetAvailableLayersAvailablelayersGetQueryKey = () => [`/availablelayers/`];
99
+ var getGetAvailableLayersAvailablelayersGetQueryOptions = (options) => {
100
+ const { query: queryOptions, request: requestOptions } = options ?? {};
101
+ const queryKey = (queryOptions == null ? void 0 : queryOptions.queryKey) ?? getGetAvailableLayersAvailablelayersGetQueryKey();
102
+ const queryFn = ({ signal }) => getAvailableLayersAvailablelayersGet(requestOptions, signal);
103
+ return { queryKey, queryFn, ...queryOptions };
104
+ };
105
+ var useGetAvailableLayersAvailablelayersGet = (options) => {
106
+ const queryOptions = getGetAvailableLayersAvailablelayersGetQueryOptions(options);
107
+ const query = useQuery(queryOptions);
108
+ query.queryKey = queryOptions.queryKey;
109
+ return query;
110
+ };
111
+ var getLabelsLabelsGet = (options, signal) => {
112
+ return http({ url: `/labels/`, method: "get", signal }, options);
113
+ };
114
+ var getGetLabelsLabelsGetQueryKey = () => [`/labels/`];
115
+ var getGetLabelsLabelsGetQueryOptions = (options) => {
116
+ const { query: queryOptions, request: requestOptions } = options ?? {};
117
+ const queryKey = (queryOptions == null ? void 0 : queryOptions.queryKey) ?? getGetLabelsLabelsGetQueryKey();
118
+ const queryFn = ({ signal }) => getLabelsLabelsGet(requestOptions, signal);
119
+ return { queryKey, queryFn, ...queryOptions };
120
+ };
121
+ var useGetLabelsLabelsGet = (options) => {
122
+ const queryOptions = getGetLabelsLabelsGetQueryOptions(options);
123
+ const query = useQuery(queryOptions);
124
+ query.queryKey = queryOptions.queryKey;
125
+ return query;
126
+ };
127
+ var listProjectsListprojectsStartidxStartidxAmountAmountGet = (startidx, amount, options, signal) => {
128
+ return http(
129
+ {
130
+ url: `/listprojects/startidx=${startidx}&amount=${amount}`,
131
+ method: "get",
132
+ signal
133
+ },
134
+ options
135
+ );
136
+ };
137
+ var getListProjectsListprojectsStartidxStartidxAmountAmountGetQueryKey = (startidx, amount) => [`/listprojects/startidx=${startidx}&amount=${amount}`];
138
+ var getListProjectsListprojectsStartidxStartidxAmountAmountGetQueryOptions = (startidx, amount, options) => {
139
+ const { query: queryOptions, request: requestOptions } = options ?? {};
140
+ const queryKey = (queryOptions == null ? void 0 : queryOptions.queryKey) ?? getListProjectsListprojectsStartidxStartidxAmountAmountGetQueryKey(
141
+ startidx,
142
+ amount
143
+ );
144
+ const queryFn = ({ signal }) => listProjectsListprojectsStartidxStartidxAmountAmountGet(
145
+ startidx,
146
+ amount,
147
+ requestOptions,
148
+ signal
149
+ );
150
+ return {
151
+ queryKey,
152
+ queryFn,
153
+ enabled: !!(startidx && amount),
154
+ ...queryOptions
155
+ };
156
+ };
157
+ var useListProjectsListprojectsStartidxStartidxAmountAmountGet = (startidx, amount, options) => {
158
+ const queryOptions = getListProjectsListprojectsStartidxStartidxAmountAmountGetQueryOptions(
159
+ startidx,
160
+ amount,
161
+ options
162
+ );
163
+ const query = useQuery(queryOptions);
164
+ query.queryKey = queryOptions.queryKey;
165
+ return query;
166
+ };
167
+ var createProjectCreateprojectPost = (createProjectRequest, options) => {
168
+ return http(
169
+ {
170
+ url: `/createproject/`,
171
+ method: "post",
172
+ headers: { "Content-Type": "application/json" },
173
+ data: createProjectRequest
174
+ },
175
+ options
176
+ );
177
+ };
178
+ var getCreateProjectCreateprojectPostMutationOptions = (options) => {
179
+ const { mutation: mutationOptions, request: requestOptions } = options ?? {};
180
+ const mutationFn = (props) => {
181
+ const { data } = props ?? {};
182
+ return createProjectCreateprojectPost(data, requestOptions);
183
+ };
184
+ return { mutationFn, ...mutationOptions };
185
+ };
186
+ var useCreateProjectCreateprojectPost = (options) => {
187
+ const mutationOptions = getCreateProjectCreateprojectPostMutationOptions(options);
188
+ return useMutation(mutationOptions);
189
+ };
190
+ var setUserRoleSetuserrolePost = (setUserRoleRequest, options) => {
191
+ return http(
192
+ {
193
+ url: `/setuserrole/`,
194
+ method: "post",
195
+ headers: { "Content-Type": "application/json" },
196
+ data: setUserRoleRequest
197
+ },
198
+ options
199
+ );
200
+ };
201
+ var getSetUserRoleSetuserrolePostMutationOptions = (options) => {
202
+ const { mutation: mutationOptions, request: requestOptions } = options ?? {};
203
+ const mutationFn = (props) => {
204
+ const { data } = props ?? {};
205
+ return setUserRoleSetuserrolePost(data, requestOptions);
206
+ };
207
+ return { mutationFn, ...mutationOptions };
208
+ };
209
+ var useSetUserRoleSetuserrolePost = (options) => {
210
+ const mutationOptions = getSetUserRoleSetuserrolePostMutationOptions(options);
211
+ return useMutation(mutationOptions);
212
+ };
213
+ var removeUserRemoveuserPost = (removeUserRequest, options) => {
214
+ return http(
215
+ {
216
+ url: `/removeuser/`,
217
+ method: "post",
218
+ headers: { "Content-Type": "application/json" },
219
+ data: removeUserRequest
220
+ },
221
+ options
222
+ );
223
+ };
224
+ var getRemoveUserRemoveuserPostMutationOptions = (options) => {
225
+ const { mutation: mutationOptions, request: requestOptions } = options ?? {};
226
+ const mutationFn = (props) => {
227
+ const { data } = props ?? {};
228
+ return removeUserRemoveuserPost(data, requestOptions);
229
+ };
230
+ return { mutationFn, ...mutationOptions };
231
+ };
232
+ var useRemoveUserRemoveuserPost = (options) => {
233
+ const mutationOptions = getRemoveUserRemoveuserPostMutationOptions(options);
234
+ return useMutation(mutationOptions);
235
+ };
236
+ var getPolygonUtmlocationLonLonLatLatWidthWidthHeightHeightGet = (lon, lat, width, height, options, signal) => {
237
+ return http(
238
+ {
239
+ url: `/utmlocation/lon=${lon}&lat=${lat}&width=${width}&height=${height}`,
240
+ method: "get",
241
+ signal
242
+ },
243
+ options
244
+ );
245
+ };
246
+ var getGetPolygonUtmlocationLonLonLatLatWidthWidthHeightHeightGetQueryKey = (lon, lat, width, height) => [
247
+ `/utmlocation/lon=${lon}&lat=${lat}&width=${width}&height=${height}`
248
+ ];
249
+ var getGetPolygonUtmlocationLonLonLatLatWidthWidthHeightHeightGetQueryOptions = (lon, lat, width, height, options) => {
250
+ const { query: queryOptions, request: requestOptions } = options ?? {};
251
+ const queryKey = (queryOptions == null ? void 0 : queryOptions.queryKey) ?? getGetPolygonUtmlocationLonLonLatLatWidthWidthHeightHeightGetQueryKey(
252
+ lon,
253
+ lat,
254
+ width,
255
+ height
256
+ );
257
+ const queryFn = ({ signal }) => getPolygonUtmlocationLonLonLatLatWidthWidthHeightHeightGet(
258
+ lon,
259
+ lat,
260
+ width,
261
+ height,
262
+ requestOptions,
263
+ signal
264
+ );
265
+ return {
266
+ queryKey,
267
+ queryFn,
268
+ enabled: !!(lon && lat && width && height),
269
+ ...queryOptions
270
+ };
271
+ };
272
+ var useGetPolygonUtmlocationLonLonLatLatWidthWidthHeightHeightGet = (lon, lat, width, height, options) => {
273
+ const queryOptions = getGetPolygonUtmlocationLonLonLatLatWidthWidthHeightHeightGetQueryOptions(
274
+ lon,
275
+ lat,
276
+ width,
277
+ height,
278
+ options
279
+ );
280
+ const query = useQuery(queryOptions);
281
+ query.queryKey = queryOptions.queryKey;
282
+ return query;
283
+ };
284
+ var getLocationGetlocationPost = (getLocationRequest, options) => {
285
+ return http(
286
+ {
287
+ url: `/getlocation/`,
288
+ method: "post",
289
+ headers: { "Content-Type": "application/json" },
290
+ data: getLocationRequest
291
+ },
292
+ options
293
+ );
294
+ };
295
+ var getGetLocationGetlocationPostMutationOptions = (options) => {
296
+ const { mutation: mutationOptions, request: requestOptions } = options ?? {};
297
+ const mutationFn = (props) => {
298
+ const { data } = props ?? {};
299
+ return getLocationGetlocationPost(data, requestOptions);
300
+ };
301
+ return { mutationFn, ...mutationOptions };
302
+ };
303
+ var useGetLocationGetlocationPost = (options) => {
304
+ const mutationOptions = getGetLocationGetlocationPostMutationOptions(options);
305
+ return useMutation(mutationOptions);
306
+ };
307
+ var getNextLocationNextlocationPost = (nextLocationRequest, options) => {
308
+ return http(
309
+ {
310
+ url: `/nextlocation/`,
311
+ method: "post",
312
+ headers: { "Content-Type": "application/json" },
313
+ data: nextLocationRequest
314
+ },
315
+ options
316
+ );
317
+ };
318
+ var getGetNextLocationNextlocationPostMutationOptions = (options) => {
319
+ const { mutation: mutationOptions, request: requestOptions } = options ?? {};
320
+ const mutationFn = (props) => {
321
+ const { data } = props ?? {};
322
+ return getNextLocationNextlocationPost(data, requestOptions);
323
+ };
324
+ return { mutationFn, ...mutationOptions };
325
+ };
326
+ var useGetNextLocationNextlocationPost = (options) => {
327
+ const mutationOptions = getGetNextLocationNextlocationPostMutationOptions(options);
328
+ return useMutation(mutationOptions);
329
+ };
330
+ var createLocationCreatelocationPost = (createLocationRequest, options) => {
331
+ return http(
332
+ {
333
+ url: `/createlocation/`,
334
+ method: "post",
335
+ headers: { "Content-Type": "application/json" },
336
+ data: createLocationRequest
337
+ },
338
+ options
339
+ );
340
+ };
341
+ var getCreateLocationCreatelocationPostMutationOptions = (options) => {
342
+ const { mutation: mutationOptions, request: requestOptions } = options ?? {};
343
+ const mutationFn = (props) => {
344
+ const { data } = props ?? {};
345
+ return createLocationCreatelocationPost(data, requestOptions);
346
+ };
347
+ return { mutationFn, ...mutationOptions };
348
+ };
349
+ var useCreateLocationCreatelocationPost = (options) => {
350
+ const mutationOptions = getCreateLocationCreatelocationPostMutationOptions(options);
351
+ return useMutation(mutationOptions);
352
+ };
353
+ var submitLabelingSubmitPost = (submitRequest, options) => {
354
+ return http(
355
+ {
356
+ url: `/submit/`,
357
+ method: "post",
358
+ headers: { "Content-Type": "application/json" },
359
+ data: submitRequest
360
+ },
361
+ options
362
+ );
363
+ };
364
+ var getSubmitLabelingSubmitPostMutationOptions = (options) => {
365
+ const { mutation: mutationOptions, request: requestOptions } = options ?? {};
366
+ const mutationFn = (props) => {
367
+ const { data } = props ?? {};
368
+ return submitLabelingSubmitPost(data, requestOptions);
369
+ };
370
+ return { mutationFn, ...mutationOptions };
371
+ };
372
+ var useSubmitLabelingSubmitPost = (options) => {
373
+ const mutationOptions = getSubmitLabelingSubmitPostMutationOptions(options);
374
+ return useMutation(mutationOptions);
375
+ };
376
+ var searchLocationsLocationsPost = (listLocationsRequest, options) => {
377
+ return http(
378
+ {
379
+ url: `/locations/`,
380
+ method: "post",
381
+ headers: { "Content-Type": "application/json" },
382
+ data: listLocationsRequest
383
+ },
384
+ options
385
+ );
386
+ };
387
+ var getSearchLocationsLocationsPostMutationOptions = (options) => {
388
+ const { mutation: mutationOptions, request: requestOptions } = options ?? {};
389
+ const mutationFn = (props) => {
390
+ const { data } = props ?? {};
391
+ return searchLocationsLocationsPost(data, requestOptions);
392
+ };
393
+ return { mutationFn, ...mutationOptions };
394
+ };
395
+ var useSearchLocationsLocationsPost = (options) => {
396
+ const mutationOptions = getSearchLocationsLocationsPostMutationOptions(options);
397
+ return useMutation(mutationOptions);
398
+ };
399
+ var submitCommentCommentPost = (submitCommentRequest, options) => {
400
+ return http(
401
+ {
402
+ url: `/comment/`,
403
+ method: "post",
404
+ headers: { "Content-Type": "application/json" },
405
+ data: submitCommentRequest
406
+ },
407
+ options
408
+ );
409
+ };
410
+ var getSubmitCommentCommentPostMutationOptions = (options) => {
411
+ const { mutation: mutationOptions, request: requestOptions } = options ?? {};
412
+ const mutationFn = (props) => {
413
+ const { data } = props ?? {};
414
+ return submitCommentCommentPost(data, requestOptions);
415
+ };
416
+ return { mutationFn, ...mutationOptions };
417
+ };
418
+ var useSubmitCommentCommentPost = (options) => {
419
+ const mutationOptions = getSubmitCommentCommentPostMutationOptions(options);
420
+ return useMutation(mutationOptions);
421
+ };
422
+ var locationContentLocationcontentLocationIdLocationIdProjectIdProjectIdGet = (locationId, projectId, options, signal) => {
423
+ return http(
424
+ {
425
+ url: `/locationcontent/location_id=${locationId}&project_id=${projectId}`,
426
+ method: "get",
427
+ signal
428
+ },
429
+ options
430
+ );
431
+ };
432
+ var getLocationContentLocationcontentLocationIdLocationIdProjectIdProjectIdGetQueryKey = (locationId, projectId) => [
433
+ `/locationcontent/location_id=${locationId}&project_id=${projectId}`
434
+ ];
435
+ var getLocationContentLocationcontentLocationIdLocationIdProjectIdProjectIdGetQueryOptions = (locationId, projectId, options) => {
436
+ const { query: queryOptions, request: requestOptions } = options ?? {};
437
+ const queryKey = (queryOptions == null ? void 0 : queryOptions.queryKey) ?? getLocationContentLocationcontentLocationIdLocationIdProjectIdProjectIdGetQueryKey(
438
+ locationId,
439
+ projectId
440
+ );
441
+ const queryFn = ({ signal }) => locationContentLocationcontentLocationIdLocationIdProjectIdProjectIdGet(
442
+ locationId,
443
+ projectId,
444
+ requestOptions,
445
+ signal
446
+ );
447
+ return {
448
+ queryKey,
449
+ queryFn,
450
+ enabled: !!(locationId && projectId),
451
+ ...queryOptions
452
+ };
453
+ };
454
+ var useLocationContentLocationcontentLocationIdLocationIdProjectIdProjectIdGet = (locationId, projectId, options) => {
455
+ const queryOptions = getLocationContentLocationcontentLocationIdLocationIdProjectIdProjectIdGetQueryOptions(
456
+ locationId,
457
+ projectId,
458
+ options
459
+ );
460
+ const query = useQuery(queryOptions);
461
+ query.queryKey = queryOptions.queryKey;
462
+ return query;
463
+ };
464
+ var getClustersClusterPost = (clusterRequest, options) => {
465
+ return http(
466
+ {
467
+ url: `/cluster/`,
468
+ method: "post",
469
+ headers: { "Content-Type": "application/json" },
470
+ data: clusterRequest
471
+ },
472
+ options
473
+ );
474
+ };
475
+ var getGetClustersClusterPostMutationOptions = (options) => {
476
+ const { mutation: mutationOptions, request: requestOptions } = options ?? {};
477
+ const mutationFn = (props) => {
478
+ const { data } = props ?? {};
479
+ return getClustersClusterPost(data, requestOptions);
480
+ };
481
+ return { mutationFn, ...mutationOptions };
482
+ };
483
+ var useGetClustersClusterPost = (options) => {
484
+ const mutationOptions = getGetClustersClusterPostMutationOptions(options);
485
+ return useMutation(mutationOptions);
486
+ };
487
+ export {
488
+ LocationStatus,
489
+ UserRank,
490
+ createLocationCreatelocationPost,
491
+ createProjectCreateprojectPost,
492
+ evolandAxiosInstance,
493
+ getAvailableBandsAvailablebandsGet,
494
+ getAvailableLayersAvailablelayersGet,
495
+ getClustersClusterPost,
496
+ getCreateLocationCreatelocationPostMutationOptions,
497
+ getCreateProjectCreateprojectPostMutationOptions,
498
+ getGetAvailableBandsAvailablebandsGetQueryKey,
499
+ getGetAvailableBandsAvailablebandsGetQueryOptions,
500
+ getGetAvailableLayersAvailablelayersGetQueryKey,
501
+ getGetAvailableLayersAvailablelayersGetQueryOptions,
502
+ getGetClustersClusterPostMutationOptions,
503
+ getGetLabelsLabelsGetQueryKey,
504
+ getGetLabelsLabelsGetQueryOptions,
505
+ getGetLocationGetlocationPostMutationOptions,
506
+ getGetNextLocationNextlocationPostMutationOptions,
507
+ getGetPolygonUtmlocationLonLonLatLatWidthWidthHeightHeightGetQueryKey,
508
+ getGetPolygonUtmlocationLonLonLatLatWidthWidthHeightHeightGetQueryOptions,
509
+ getGetUserMeGetQueryKey,
510
+ getGetUserMeGetQueryOptions,
511
+ getLabelsLabelsGet,
512
+ getListProjectsListprojectsStartidxStartidxAmountAmountGetQueryKey,
513
+ getListProjectsListprojectsStartidxStartidxAmountAmountGetQueryOptions,
514
+ getLocationContentLocationcontentLocationIdLocationIdProjectIdProjectIdGetQueryKey,
515
+ getLocationContentLocationcontentLocationIdLocationIdProjectIdProjectIdGetQueryOptions,
516
+ getLocationGetlocationPost,
517
+ getNextLocationNextlocationPost,
518
+ getPolygonUtmlocationLonLonLatLatWidthWidthHeightHeightGet,
519
+ getReadRootGetQueryKey,
520
+ getReadRootGetQueryOptions,
521
+ getRemoveUserRemoveuserPostMutationOptions,
522
+ getSearchLocationsLocationsPostMutationOptions,
523
+ getSetUserRoleSetuserrolePostMutationOptions,
524
+ getSubmitCommentCommentPostMutationOptions,
525
+ getSubmitLabelingSubmitPostMutationOptions,
526
+ getUserMeGet,
527
+ http,
528
+ listProjectsListprojectsStartidxStartidxAmountAmountGet,
529
+ locationContentLocationcontentLocationIdLocationIdProjectIdProjectIdGet,
530
+ readRootGet,
531
+ removeUserRemoveuserPost,
532
+ searchLocationsLocationsPost,
533
+ setUserRoleSetuserrolePost,
534
+ submitCommentCommentPost,
535
+ submitLabelingSubmitPost,
536
+ useCreateLocationCreatelocationPost,
537
+ useCreateProjectCreateprojectPost,
538
+ useGetAvailableBandsAvailablebandsGet,
539
+ useGetAvailableLayersAvailablelayersGet,
540
+ useGetClustersClusterPost,
541
+ useGetLabelsLabelsGet,
542
+ useGetLocationGetlocationPost,
543
+ useGetNextLocationNextlocationPost,
544
+ useGetPolygonUtmlocationLonLonLatLatWidthWidthHeightHeightGet,
545
+ useGetUserMeGet,
546
+ useListProjectsListprojectsStartidxStartidxAmountAmountGet,
547
+ useLocationContentLocationcontentLocationIdLocationIdProjectIdProjectIdGet,
548
+ useReadRootGet,
549
+ useRemoveUserRemoveuserPost,
550
+ useSearchLocationsLocationsPost,
551
+ useSetUserRoleSetuserrolePost,
552
+ useSubmitCommentCommentPost,
553
+ useSubmitLabelingSubmitPost
554
+ };
package/package.json ADDED
@@ -0,0 +1,41 @@
1
+ {
2
+ "name": "@geowiki/evoland-orval-api-proxy",
3
+ "version": "0.0.0",
4
+ "main": "./dist/index.js",
5
+ "types": "./dist/index.d.ts",
6
+ "files": [
7
+ "dist",
8
+ "README.md"
9
+ ],
10
+ "license": "MIT",
11
+ "publishConfig": {
12
+ "access": "public"
13
+ },
14
+ "peerDependencies": {
15
+ "@tanstack/react-query": "^5.28.4",
16
+ "axios": "^1.15.2"
17
+ },
18
+ "devDependencies": {
19
+ "@types/node": "18.11.18",
20
+ "@types/react": "^19.2.14",
21
+ "eslint": "^8.57.1",
22
+ "tsup": "^8.5.1",
23
+ "typescript": "5.4.2",
24
+ "tailwind-config": "0.0.0",
25
+ "tsconfig": "0.0.0",
26
+ "eslint-config-custom": "0.0.0"
27
+ },
28
+ "scripts": {
29
+ "build": "tsup src/index.ts --format cjs,esm --dts",
30
+ "lint": "eslint \"src/**/*.ts*\"",
31
+ "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
32
+ },
33
+ "module": "./dist/index.mjs",
34
+ "exports": {
35
+ ".": {
36
+ "import": "./dist/index.mjs",
37
+ "require": "./dist/index.js",
38
+ "types": "./dist/index.d.ts"
39
+ }
40
+ }
41
+ }