@geolens/sdk 1.7.0 → 1.8.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.
|
@@ -2765,7 +2765,7 @@ export type DatasetMeta = {
|
|
|
2765
2765
|
/**
|
|
2766
2766
|
* Record Status
|
|
2767
2767
|
*
|
|
2768
|
-
* Lifecycle status: draft, ready, published
|
|
2768
|
+
* Lifecycle status. Deliberately not pinned to an enum: the values come from the workflow extension's status_order(), so an overlay may define its own. Community default order: draft, ready, internal, published.
|
|
2769
2769
|
*/
|
|
2770
2770
|
record_status?: string | null;
|
|
2771
2771
|
/**
|
|
@@ -3015,6 +3015,12 @@ export type DatasetResponse = {
|
|
|
3015
3015
|
* Free-text provenance / lineage statement
|
|
3016
3016
|
*/
|
|
3017
3017
|
lineage_summary?: string | null;
|
|
3018
|
+
/**
|
|
3019
|
+
* Metadata Warnings
|
|
3020
|
+
*
|
|
3021
|
+
* Advisory warnings produced by a metadata update — e.g. a visibility or status change exposing keywords inherited from an analysis source the new audience cannot open (feat #1070). Only ever set on the PATCH response; the change has already applied.
|
|
3022
|
+
*/
|
|
3023
|
+
metadata_warnings?: Array<string> | null;
|
|
3018
3024
|
/**
|
|
3019
3025
|
* N Dims
|
|
3020
3026
|
*
|
|
@@ -3058,7 +3064,7 @@ export type DatasetResponse = {
|
|
|
3058
3064
|
/**
|
|
3059
3065
|
* Record Status
|
|
3060
3066
|
*
|
|
3061
|
-
* Lifecycle status: draft, ready, published
|
|
3067
|
+
* Lifecycle status. Deliberately not pinned to an enum: the values come from the workflow extension's status_order(), so an overlay may define its own. Community default order: draft, ready, internal, published.
|
|
3062
3068
|
*/
|
|
3063
3069
|
record_status?: string;
|
|
3064
3070
|
/**
|
|
@@ -4458,6 +4464,12 @@ export type KeywordCreate = {
|
|
|
4458
4464
|
* KeywordListResponse
|
|
4459
4465
|
*/
|
|
4460
4466
|
export type KeywordListResponse = {
|
|
4467
|
+
/**
|
|
4468
|
+
* Inherited Audience Gap
|
|
4469
|
+
*
|
|
4470
|
+
* True when at least one keyword is inherited AND this record's audience — at its stored state, or at the counterfactual audience_visibility/audience_record_status query parameters, which are honored only for the record's owner and admins — includes someone who cannot open the source dataset (feat #1070).
|
|
4471
|
+
*/
|
|
4472
|
+
inherited_audience_gap?: boolean;
|
|
4461
4473
|
/**
|
|
4462
4474
|
* Keywords
|
|
4463
4475
|
*/
|
|
@@ -4475,6 +4487,12 @@ export type KeywordResponse = {
|
|
|
4475
4487
|
* Id
|
|
4476
4488
|
*/
|
|
4477
4489
|
id: string;
|
|
4490
|
+
/**
|
|
4491
|
+
* Inherited
|
|
4492
|
+
*
|
|
4493
|
+
* True when this keyword also exists on the dataset this record was derived from (feat #1070). Derived at read time from derived_from; only ever true for a requester who can access that source dataset, so everyone else sees false — matching the derived_from redaction.
|
|
4494
|
+
*/
|
|
4495
|
+
inherited?: boolean;
|
|
4478
4496
|
/**
|
|
4479
4497
|
* Keyword
|
|
4480
4498
|
*/
|
|
@@ -4796,8 +4814,10 @@ export type ManifestMetadata = {
|
|
|
4796
4814
|
export type ManifestPublication = {
|
|
4797
4815
|
/**
|
|
4798
4816
|
* Intent
|
|
4817
|
+
*
|
|
4818
|
+
* Publication intent. Deliberately not pinned to an enum: the values come from the workflow extension's status_order(), so an overlay may define its own, and apply validates against the live extension. Community default order: draft, ready, internal, published.
|
|
4799
4819
|
*/
|
|
4800
|
-
intent:
|
|
4820
|
+
intent: string;
|
|
4801
4821
|
};
|
|
4802
4822
|
/**
|
|
4803
4823
|
* ManifestSource
|
|
@@ -9306,6 +9326,12 @@ export type StatusUpdateResponse = {
|
|
|
9306
9326
|
* Id
|
|
9307
9327
|
*/
|
|
9308
9328
|
id: string;
|
|
9329
|
+
/**
|
|
9330
|
+
* Metadata Warnings
|
|
9331
|
+
*
|
|
9332
|
+
* Advisory warnings from the status change — the same inherited-keyword disclosure check the metadata PATCH runs (feat #1070, fix #1178 review). The transition has already applied.
|
|
9333
|
+
*/
|
|
9334
|
+
metadata_warnings?: Array<string> | null;
|
|
9309
9335
|
/**
|
|
9310
9336
|
* Record Status
|
|
9311
9337
|
*/
|
|
@@ -10544,6 +10570,18 @@ export type ListAuditLogsAdminAuditLogsGetData = {
|
|
|
10544
10570
|
* Limit
|
|
10545
10571
|
*/
|
|
10546
10572
|
limit?: number;
|
|
10573
|
+
/**
|
|
10574
|
+
* Sort
|
|
10575
|
+
*
|
|
10576
|
+
* Column to order by. Resource name is not sortable: it is resolved per page after the query, so the database cannot order by it.
|
|
10577
|
+
*/
|
|
10578
|
+
sort?: 'created_at' | 'action' | 'resource_type' | 'ip_address' | 'username';
|
|
10579
|
+
/**
|
|
10580
|
+
* Order
|
|
10581
|
+
*
|
|
10582
|
+
* Sort direction.
|
|
10583
|
+
*/
|
|
10584
|
+
order?: 'asc' | 'desc';
|
|
10547
10585
|
};
|
|
10548
10586
|
url: '/admin/audit-logs/';
|
|
10549
10587
|
};
|
|
@@ -10972,6 +11010,18 @@ export type ListAdminJobsAdminJobsGetData = {
|
|
|
10972
11010
|
* Limit
|
|
10973
11011
|
*/
|
|
10974
11012
|
limit?: number;
|
|
11013
|
+
/**
|
|
11014
|
+
* Sort
|
|
11015
|
+
*
|
|
11016
|
+
* Column to order by. Duration orders by the completed_at - started_at interval, so unfinished jobs sort last either way.
|
|
11017
|
+
*/
|
|
11018
|
+
sort?: 'created_at' | 'source_filename' | 'status' | 'username' | 'duration';
|
|
11019
|
+
/**
|
|
11020
|
+
* Order
|
|
11021
|
+
*
|
|
11022
|
+
* Sort direction.
|
|
11023
|
+
*/
|
|
11024
|
+
order?: 'asc' | 'desc';
|
|
10975
11025
|
};
|
|
10976
11026
|
url: '/admin/jobs/';
|
|
10977
11027
|
};
|
|
@@ -11037,6 +11087,18 @@ export type ListShareTokensEndpointAdminShareTokensGetData = {
|
|
|
11037
11087
|
* Status
|
|
11038
11088
|
*/
|
|
11039
11089
|
status?: string | null;
|
|
11090
|
+
/**
|
|
11091
|
+
* Sort
|
|
11092
|
+
*
|
|
11093
|
+
* Column to order by. Link status is not sortable: it is derived from is_active and expires_at after the query returns.
|
|
11094
|
+
*/
|
|
11095
|
+
sort?: 'map_name' | 'created_at' | 'creator' | 'expires_at' | 'embed_token_count';
|
|
11096
|
+
/**
|
|
11097
|
+
* Order
|
|
11098
|
+
*
|
|
11099
|
+
* Sort direction.
|
|
11100
|
+
*/
|
|
11101
|
+
order?: 'asc' | 'desc';
|
|
11040
11102
|
};
|
|
11041
11103
|
url: '/admin/share-tokens/';
|
|
11042
11104
|
};
|
|
@@ -11203,6 +11265,18 @@ export type ListUsersAdminUsersGetData = {
|
|
|
11203
11265
|
* Search
|
|
11204
11266
|
*/
|
|
11205
11267
|
search?: string | null;
|
|
11268
|
+
/**
|
|
11269
|
+
* Sort
|
|
11270
|
+
*
|
|
11271
|
+
* Column to order by. Roles and storage are not sortable: roles is a many-to-many and storage is aggregated per page after the query.
|
|
11272
|
+
*/
|
|
11273
|
+
sort?: 'username' | 'email' | 'status' | 'last_login_at' | 'created_at';
|
|
11274
|
+
/**
|
|
11275
|
+
* Order
|
|
11276
|
+
*
|
|
11277
|
+
* Sort direction.
|
|
11278
|
+
*/
|
|
11279
|
+
order?: 'asc' | 'desc';
|
|
11206
11280
|
};
|
|
11207
11281
|
url: '/admin/users/';
|
|
11208
11282
|
};
|
|
@@ -22013,6 +22087,18 @@ export type ListKeywordsEndpointRecordsRecordIdKeywordsGetData = {
|
|
|
22013
22087
|
* Limit
|
|
22014
22088
|
*/
|
|
22015
22089
|
limit?: number;
|
|
22090
|
+
/**
|
|
22091
|
+
* Audience Visibility
|
|
22092
|
+
*
|
|
22093
|
+
* Compute inherited_audience_gap as if the record had this visibility — the counterfactual an owner asks before widening access (feat #1070). Honored only for the record's owner and admins; ignored for everyone else, who get the gap at the record's stored state. Keywords themselves are unaffected.
|
|
22094
|
+
*/
|
|
22095
|
+
audience_visibility?: string | null;
|
|
22096
|
+
/**
|
|
22097
|
+
* Audience Record Status
|
|
22098
|
+
*
|
|
22099
|
+
* Compute inherited_audience_gap as if the record had this status — the counterfactual an owner asks before publishing (feat #1070). Honored only for the record's owner and admins; ignored for everyone else, who get the gap at the record's stored state. Deliberately not pinned to an enum: the lifecycle statuses come from the workflow extension's status_order(), so an overlay may define its own. An unrecognized status is treated conservatively (it reaches only the owner, which errs toward warning) rather than rejected.
|
|
22100
|
+
*/
|
|
22101
|
+
audience_record_status?: string | null;
|
|
22016
22102
|
};
|
|
22017
22103
|
url: '/records/{record_id}/keywords/';
|
|
22018
22104
|
};
|