@squonk/data-manager-client 1.2.2 → 1.2.3-rc.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/accounting/accounting.d.ts +1 -1
- package/admin/admin.cjs +8 -18
- package/admin/admin.cjs.map +1 -1
- package/admin/admin.d.ts +20 -21
- package/admin/admin.js +8 -18
- package/admin/admin.js.map +1 -1
- package/application/application.d.ts +1 -1
- package/configuration/configuration.d.ts +1 -1
- package/{custom-instance-56ecac1b.d.ts → custom-instance-50c9dd5d.d.ts} +12 -11
- package/dataset/dataset.d.ts +1 -1
- package/exchange-rate/exchange-rate.cjs.map +1 -1
- package/exchange-rate/exchange-rate.d.ts +3 -1
- package/exchange-rate/exchange-rate.js.map +1 -1
- package/file/file.d.ts +1 -1
- package/index.cjs.map +1 -1
- package/index.d.ts +1 -1
- package/index.js.map +1 -1
- package/instance/instance.d.ts +1 -1
- package/job/job.d.ts +1 -1
- package/metadata/metadata.d.ts +1 -1
- package/package.json +1 -1
- package/project/project.d.ts +1 -1
- package/src/admin/admin.ts +25 -31
- package/src/data-manager-api.schemas.ts +13 -11
- package/src/exchange-rate/exchange-rate.ts +2 -0
- package/task/task.d.ts +1 -1
- package/type/type.d.ts +1 -1
- package/user/user.d.ts +1 -1
|
@@ -8,6 +8,13 @@ A service that allows *registered* users to make **Datasets** and associated **M
|
|
|
8
8
|
|
|
9
9
|
* OpenAPI spec version: 1.2
|
|
10
10
|
*/
|
|
11
|
+
export type AdminDeleteJobManifestParams = {
|
|
12
|
+
/**
|
|
13
|
+
* Purge unreferenced Jobs
|
|
14
|
+
*/
|
|
15
|
+
purge?: QPurgeParameter;
|
|
16
|
+
};
|
|
17
|
+
|
|
11
18
|
export type AdminGetUsersParams = {
|
|
12
19
|
/**
|
|
13
20
|
* Maximum days a user has been idle (has not used the API). If you specify `2` and it's Monday then users who have not used the API since Saturday will be returned.
|
|
@@ -294,6 +301,11 @@ export type GetProjectsParams = {
|
|
|
294
301
|
*/
|
|
295
302
|
export type QEditorsParameter = string;
|
|
296
303
|
|
|
304
|
+
/**
|
|
305
|
+
* Purge unreferenced Jobs
|
|
306
|
+
*/
|
|
307
|
+
export type QPurgeParameter = boolean;
|
|
308
|
+
|
|
297
309
|
/**
|
|
298
310
|
* Filter the datasets by a comma separated list of owners
|
|
299
311
|
|
|
@@ -550,13 +562,6 @@ export type JobManifestPutBodyBody = {
|
|
|
550
562
|
params?: string;
|
|
551
563
|
};
|
|
552
564
|
|
|
553
|
-
export type JobManifestLoadPutBodyBody = {
|
|
554
|
-
/** Set to remove all pre-existing Job Definitions that are not present in the existing manifests after the load is complete.
|
|
555
|
-
|
|
556
|
-
Jobs in the collection `im-test` are not removed */
|
|
557
|
-
purge?: boolean;
|
|
558
|
-
};
|
|
559
|
-
|
|
560
565
|
export type InstancePostBodyBody = {
|
|
561
566
|
/** A supported application. Applications instances are managed using pre-deployed Kubernetes **Operators**. The application ID is a combination of the operator _plural_ and _group_.
|
|
562
567
|
|
|
@@ -1588,7 +1593,7 @@ export interface ApiLogDetail {
|
|
|
1588
1593
|
}
|
|
1589
1594
|
|
|
1590
1595
|
export interface ModeGetResponse {
|
|
1591
|
-
/** The Data Manager mode. The mode determines what features are available through the API. There are two modes,
|
|
1596
|
+
/** The Data Manager mode. The mode determines what features are available through the API. There are two modes, DEVELOPMENT, and PRODUCTION. In DEVELOPMENT mode some destructive operation are permitted (for example the removal of Job Definitions)
|
|
1592
1597
|
*/
|
|
1593
1598
|
mode: string;
|
|
1594
1599
|
}
|
|
@@ -2159,9 +2164,6 @@ export interface AdminJobManifestLoadPutResponse {
|
|
|
2159
2164
|
/** The number of Jobs inspected
|
|
2160
2165
|
*/
|
|
2161
2166
|
jobs_inspected: number;
|
|
2162
|
-
/** The number of Jobs purged
|
|
2163
|
-
*/
|
|
2164
|
-
jobs_purged?: number;
|
|
2165
2167
|
}
|
|
2166
2168
|
|
|
2167
2169
|
export interface AdminJobManifestGetResponse {
|
|
@@ -392,6 +392,8 @@ export const useGetAllJobExchangeRates = <
|
|
|
392
392
|
/**
|
|
393
393
|
* Sets the Exchange Rate for a specific job. The rate replaces any existing rate for the Job and applies immediately and future job executions for this Job will inherit this rate.
|
|
394
394
|
|
|
395
|
+
Exchange rates are divided by an internal **scale factor** prior to being applied. The scale factor has a value of 1,000. The scale factor is used to make the exchange rates a little easier to digest, because without this on some jobs we would need to support values ike '0.00001'. With a scale factor of `1,000` the exchange rate is a much more humanly-digestible, e.g. '0.00001' becomes '0.01'.
|
|
396
|
+
|
|
395
397
|
If a Job has no specific rate it adopts the current value of the default Job Exchange Rate.
|
|
396
398
|
|
|
397
399
|
You need `admin` privilege to use this method.
|
package/task/task.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
2
|
import { UseQueryOptions, QueryKey, UseQueryResult, UseMutationOptions } from '@tanstack/react-query';
|
|
3
|
-
import {
|
|
3
|
+
import { m as GetTasksParams, bX as customInstance, bc as TasksGetResponse, bY as ErrorType, bT as DmError, l as GetTaskParams, be as TaskGetResponse } from '../custom-instance-50c9dd5d.js';
|
|
4
4
|
import 'axios';
|
|
5
5
|
|
|
6
6
|
type SecondParameter<T extends (...args: any) => any> = T extends (config: any, args: infer P) => any ? P : never;
|
package/type/type.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UseQueryOptions, QueryKey, UseQueryResult } from '@tanstack/react-query';
|
|
2
|
-
import {
|
|
2
|
+
import { bX as customInstance, bb as TypesGetResponse, bY as ErrorType, bT as DmError } from '../custom-instance-50c9dd5d.js';
|
|
3
3
|
import 'axios';
|
|
4
4
|
|
|
5
5
|
type SecondParameter<T extends (...args: any) => any> = T extends (config: any, args: infer P) => any ? P : never;
|
package/user/user.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
2
|
import { UseQueryOptions, QueryKey, UseQueryResult, UseMutationOptions } from '@tanstack/react-query';
|
|
3
|
-
import {
|
|
3
|
+
import { bX as customInstance, b8 as UsersGetResponse, bY as ErrorType, bT as DmError, c as GetUserAccountParams, al as UserAccountDetail, a6 as UserAccountPatchBodyBody, G as GetUserApiLogParams, b9 as UserApiLogGetResponse } from '../custom-instance-50c9dd5d.js';
|
|
4
4
|
import 'axios';
|
|
5
5
|
|
|
6
6
|
type SecondParameter<T extends (...args: any) => any> = T extends (config: any, args: infer P) => any ? P : never;
|