@osdk/foundry.datasets 2.24.0 → 2.26.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/CHANGELOG.md +26 -0
- package/build/browser/_components.d.ts +145 -0
- package/build/browser/_components.d.ts.map +1 -1
- package/build/browser/_errors.d.ts +203 -0
- package/build/browser/_errors.d.ts.map +1 -1
- package/build/browser/index.d.ts +3 -2
- package/build/browser/index.d.ts.map +1 -1
- package/build/browser/index.js +1 -0
- package/build/browser/index.js.map +1 -1
- package/build/browser/public/Branch.d.ts +17 -0
- package/build/browser/public/Branch.d.ts.map +1 -1
- package/build/browser/public/Branch.js +12 -0
- package/build/browser/public/Branch.js.map +1 -1
- package/build/browser/public/Dataset.d.ts +48 -0
- package/build/browser/public/Dataset.d.ts.map +1 -1
- package/build/browser/public/Dataset.js +36 -0
- package/build/browser/public/Dataset.js.map +1 -1
- package/build/browser/public/View.d.ts +99 -0
- package/build/browser/public/View.d.ts.map +1 -0
- package/build/browser/public/View.js +95 -0
- package/build/browser/public/View.js.map +1 -0
- package/build/esm/_components.d.ts +145 -0
- package/build/esm/_components.d.ts.map +1 -1
- package/build/esm/_errors.d.ts +203 -0
- package/build/esm/_errors.d.ts.map +1 -1
- package/build/esm/index.d.ts +3 -2
- package/build/esm/index.d.ts.map +1 -1
- package/build/esm/index.js +1 -0
- package/build/esm/index.js.map +1 -1
- package/build/esm/public/Branch.d.ts +17 -0
- package/build/esm/public/Branch.d.ts.map +1 -1
- package/build/esm/public/Branch.js +12 -0
- package/build/esm/public/Branch.js.map +1 -1
- package/build/esm/public/Dataset.d.ts +48 -0
- package/build/esm/public/Dataset.d.ts.map +1 -1
- package/build/esm/public/Dataset.js +36 -0
- package/build/esm/public/Dataset.js.map +1 -1
- package/build/esm/public/View.d.ts +99 -0
- package/build/esm/public/View.d.ts.map +1 -0
- package/build/esm/public/View.js +95 -0
- package/build/esm/public/View.js.map +1 -0
- package/package.json +5 -5
|
@@ -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|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2024 Palantir Technologies, Inc. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
|
|
17
|
+
//
|
|
18
|
+
const _create = [1, "/v2/datasets/views", 3];
|
|
19
|
+
/**
|
|
20
|
+
* Create a new View.
|
|
21
|
+
*
|
|
22
|
+
* @beta
|
|
23
|
+
*
|
|
24
|
+
* Required Scopes: [api:datasets-write]
|
|
25
|
+
* URL: /v2/datasets/views
|
|
26
|
+
*/
|
|
27
|
+
export function create($ctx, ...args) {
|
|
28
|
+
return $foundryPlatformFetch($ctx, _create, ...args);
|
|
29
|
+
}
|
|
30
|
+
const _get = [0, "/v2/datasets/views/{0}", 2];
|
|
31
|
+
/**
|
|
32
|
+
* Get metadata for a View.
|
|
33
|
+
*
|
|
34
|
+
* @beta
|
|
35
|
+
*
|
|
36
|
+
* Required Scopes: []
|
|
37
|
+
* URL: /v2/datasets/views/{viewDatasetRid}
|
|
38
|
+
*/
|
|
39
|
+
export function get($ctx, ...args) {
|
|
40
|
+
return $foundryPlatformFetch($ctx, _get, ...args);
|
|
41
|
+
}
|
|
42
|
+
const _addBackingDatasets = [1, "/v2/datasets/views/{0}/addBackingDatasets", 3];
|
|
43
|
+
/**
|
|
44
|
+
* Adds one or more backing datasets to a View. Any duplicates with the same dataset RID and branch name are
|
|
45
|
+
* ignored.
|
|
46
|
+
*
|
|
47
|
+
* @beta
|
|
48
|
+
*
|
|
49
|
+
* Required Scopes: [api:datasets-write]
|
|
50
|
+
* URL: /v2/datasets/views/{viewDatasetRid}/addBackingDatasets
|
|
51
|
+
*/
|
|
52
|
+
export function addBackingDatasets($ctx, ...args) {
|
|
53
|
+
return $foundryPlatformFetch($ctx, _addBackingDatasets, ...args);
|
|
54
|
+
}
|
|
55
|
+
const _replaceBackingDatasets = [2, "/v2/datasets/views/{0}/replaceBackingDatasets", 3];
|
|
56
|
+
/**
|
|
57
|
+
* Replaces the backing datasets for a View. Removing any backing dataset triggers a
|
|
58
|
+
* [SNAPSHOT](https://www.palantir.com/docs/foundry/data-integration/datasets#snapshot) transaction the next time the View is updated.
|
|
59
|
+
*
|
|
60
|
+
* @beta
|
|
61
|
+
*
|
|
62
|
+
* Required Scopes: [api:datasets-write]
|
|
63
|
+
* URL: /v2/datasets/views/{viewDatasetRid}/replaceBackingDatasets
|
|
64
|
+
*/
|
|
65
|
+
export function replaceBackingDatasets($ctx, ...args) {
|
|
66
|
+
return $foundryPlatformFetch($ctx, _replaceBackingDatasets, ...args);
|
|
67
|
+
}
|
|
68
|
+
const _removeBackingDatasets = [1, "/v2/datasets/views/{0}/removeBackingDatasets", 3];
|
|
69
|
+
/**
|
|
70
|
+
* Removes specified backing datasets from a View. Removing a dataset triggers a
|
|
71
|
+
* [SNAPSHOT](https://www.palantir.com/docs/foundry/data-integration/datasets#snapshot) transaction on the next update. If a
|
|
72
|
+
* specified dataset does not exist, no error is thrown.
|
|
73
|
+
*
|
|
74
|
+
* @beta
|
|
75
|
+
*
|
|
76
|
+
* Required Scopes: [api:datasets-write]
|
|
77
|
+
* URL: /v2/datasets/views/{viewDatasetRid}/removeBackingDatasets
|
|
78
|
+
*/
|
|
79
|
+
export function removeBackingDatasets($ctx, ...args) {
|
|
80
|
+
return $foundryPlatformFetch($ctx, _removeBackingDatasets, ...args);
|
|
81
|
+
}
|
|
82
|
+
const _addPrimaryKey = [1, "/v2/datasets/views/{0}/addPrimaryKey", 3];
|
|
83
|
+
/**
|
|
84
|
+
* Adds a primary key to a View that does not already have one. Primary keys are treated as
|
|
85
|
+
* guarantees provided by the creator of the dataset.
|
|
86
|
+
*
|
|
87
|
+
* @beta
|
|
88
|
+
*
|
|
89
|
+
* Required Scopes: [api:datasets-write]
|
|
90
|
+
* URL: /v2/datasets/views/{viewDatasetRid}/addPrimaryKey
|
|
91
|
+
*/
|
|
92
|
+
export function addPrimaryKey($ctx, ...args) {
|
|
93
|
+
return $foundryPlatformFetch($ctx, _addPrimaryKey, ...args);
|
|
94
|
+
}
|
|
95
|
+
//# sourceMappingURL=View.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"View.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_create","create","$ctx","args","_get","get","_addBackingDatasets","addBackingDatasets","_replaceBackingDatasets","replaceBackingDatasets","_removeBackingDatasets","removeBackingDatasets","_addPrimaryKey","addPrimaryKey"],"sources":["View.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _create = [1, \"/v2/datasets/views\", 3];\n/**\n * Create a new View.\n *\n * @beta\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/views\n */\nexport function create($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _create, ...args);\n}\nconst _get = [0, \"/v2/datasets/views/{0}\", 2];\n/**\n * Get metadata for a View.\n *\n * @beta\n *\n * Required Scopes: []\n * URL: /v2/datasets/views/{viewDatasetRid}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _addBackingDatasets = [1, \"/v2/datasets/views/{0}/addBackingDatasets\", 3];\n/**\n * Adds one or more backing datasets to a View. Any duplicates with the same dataset RID and branch name are\n * ignored.\n *\n * @beta\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/views/{viewDatasetRid}/addBackingDatasets\n */\nexport function addBackingDatasets($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _addBackingDatasets, ...args);\n}\nconst _replaceBackingDatasets = [2, \"/v2/datasets/views/{0}/replaceBackingDatasets\", 3];\n/**\n * Replaces the backing datasets for a View. Removing any backing dataset triggers a\n * [SNAPSHOT](https://www.palantir.com/docs/foundry/data-integration/datasets#snapshot) transaction the next time the View is updated.\n *\n * @beta\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/views/{viewDatasetRid}/replaceBackingDatasets\n */\nexport function replaceBackingDatasets($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _replaceBackingDatasets, ...args);\n}\nconst _removeBackingDatasets = [1, \"/v2/datasets/views/{0}/removeBackingDatasets\", 3];\n/**\n * Removes specified backing datasets from a View. Removing a dataset triggers a\n * [SNAPSHOT](https://www.palantir.com/docs/foundry/data-integration/datasets#snapshot) transaction on the next update. If a\n * specified dataset does not exist, no error is thrown.\n *\n * @beta\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/views/{viewDatasetRid}/removeBackingDatasets\n */\nexport function removeBackingDatasets($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _removeBackingDatasets, ...args);\n}\nconst _addPrimaryKey = [1, \"/v2/datasets/views/{0}/addPrimaryKey\", 3];\n/**\n * Adds a primary key to a View that does not already have one. Primary keys are treated as\n * guarantees provided by the creator of the dataset.\n *\n * @beta\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/views/{viewDatasetRid}/addPrimaryKey\n */\nexport function addPrimaryKey($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _addPrimaryKey, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,OAAO,GAAG,CAAC,CAAC,EAAE,oBAAoB,EAAE,CAAC,CAAC;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,MAAMA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAClC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,OAAO,EAAE,GAAGG,IAAI,CAAC;AACxD;AACA,MAAMC,IAAI,GAAG,CAAC,CAAC,EAAE,wBAAwB,EAAE,CAAC,CAAC;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,IAAI,EAAE,GAAGD,IAAI,CAAC;AACrD;AACA,MAAMG,mBAAmB,GAAG,CAAC,CAAC,EAAE,2CAA2C,EAAE,CAAC,CAAC;AAC/E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,kBAAkBA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC9C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,mBAAmB,EAAE,GAAGH,IAAI,CAAC;AACpE;AACA,MAAMK,uBAAuB,GAAG,CAAC,CAAC,EAAE,+CAA+C,EAAE,CAAC,CAAC;AACvF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,sBAAsBA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EAClD,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,uBAAuB,EAAE,GAAGL,IAAI,CAAC;AACxE;AACA,MAAMO,sBAAsB,GAAG,CAAC,CAAC,EAAE,8CAA8C,EAAE,CAAC,CAAC;AACrF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,qBAAqBA,CAACT,IAAI,EAAE,GAAGC,IAAI,EAAE;EACjD,OAAOJ,qBAAqB,CAACG,IAAI,EAAEQ,sBAAsB,EAAE,GAAGP,IAAI,CAAC;AACvE;AACA,MAAMS,cAAc,GAAG,CAAC,CAAC,EAAE,sCAAsC,EAAE,CAAC,CAAC;AACrE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,aAAaA,CAACX,IAAI,EAAE,GAAGC,IAAI,EAAE;EACzC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEU,cAAc,EAAE,GAAGT,IAAI,CAAC;AAC/D","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@osdk/foundry.datasets",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.26.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@osdk/shared.client": "^1.0.1",
|
|
23
23
|
"@osdk/shared.client2": "^1.0.0",
|
|
24
|
-
"@osdk/foundry.
|
|
25
|
-
"@osdk/
|
|
26
|
-
"@osdk/
|
|
24
|
+
"@osdk/foundry.core": "2.26.0",
|
|
25
|
+
"@osdk/foundry.filesystem": "2.26.0",
|
|
26
|
+
"@osdk/shared.net.platformapi": "~1.4.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"typescript": "^5.5.4",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"sls": {
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"com.palantir.foundry.api:api-gateway": {
|
|
49
|
-
"minVersion": "1.
|
|
49
|
+
"minVersion": "1.1251.0",
|
|
50
50
|
"maxVersion": "1.x.x",
|
|
51
51
|
"optional": false
|
|
52
52
|
}
|