@osdk/foundry.streams 0.0.0 → 2.1.0-beta.6
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 +25 -0
- package/build/browser/_components.d.ts +70 -0
- package/build/browser/_components.d.ts.map +1 -0
- package/build/browser/_components.js +17 -0
- package/build/browser/_components.js.map +1 -0
- package/build/browser/_errors.d.ts +55 -0
- package/build/browser/_errors.d.ts.map +1 -0
- package/build/browser/_errors.js +17 -0
- package/build/browser/_errors.js.map +1 -0
- package/build/browser/index.d.ts +5 -0
- package/build/browser/index.d.ts.map +1 -0
- package/build/browser/index.js +17 -4
- package/build/browser/index.js.map +1 -1
- package/build/browser/public/Dataset.d.ts +20 -0
- package/build/browser/public/Dataset.d.ts.map +1 -0
- package/build/browser/public/Dataset.js +31 -3
- package/build/browser/public/Dataset.js.map +1 -1
- package/build/browser/public/Stream.d.ts +21 -0
- package/build/browser/public/Stream.d.ts.map +1 -0
- package/build/browser/public/Stream.js +30 -3
- package/build/browser/public/Stream.js.map +1 -1
- package/build/esm/_components.js +17 -0
- package/build/esm/_components.js.map +1 -0
- package/build/esm/_errors.js +17 -0
- package/build/esm/_errors.js.map +1 -0
- package/build/esm/index.js +17 -4
- package/build/esm/index.js.map +1 -1
- package/build/esm/public/Dataset.js +31 -3
- package/build/esm/public/Dataset.js.map +1 -1
- package/build/esm/public/Stream.js +30 -3
- package/build/esm/public/Stream.js.map +1 -1
- package/package.json +9 -10
- package/build/browser/chunk-7ZR6TWBV.js +0 -16
- package/build/browser/chunk-7ZR6TWBV.js.map +0 -1
- package/build/browser/chunk-PZ5AY32C.js +0 -9
- package/build/browser/chunk-PZ5AY32C.js.map +0 -1
- package/build/browser/chunk-RLZPNH57.js +0 -16
- package/build/browser/chunk-RLZPNH57.js.map +0 -1
- package/build/esm/chunk-7ZR6TWBV.js +0 -16
- package/build/esm/chunk-7ZR6TWBV.js.map +0 -1
- package/build/esm/chunk-PZ5AY32C.js +0 -9
- package/build/esm/chunk-PZ5AY32C.js.map +0 -1
- package/build/esm/chunk-RLZPNH57.js +0 -16
- package/build/esm/chunk-RLZPNH57.js.map +0 -1
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# @osdk/foundry.streams
|
|
2
|
+
|
|
3
|
+
## 2.1.0-beta.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [5dc1241]
|
|
8
|
+
- @osdk/shared.client@1.0.0-beta.3
|
|
9
|
+
- @osdk/foundry.core@2.1.0-beta.6
|
|
10
|
+
- @osdk/foundry.datasets@2.1.0-beta.6
|
|
11
|
+
- @osdk/foundry.filesystem@2.1.0-beta.6
|
|
12
|
+
- @osdk/shared.net.platformapi@0.3.0-beta.3
|
|
13
|
+
|
|
14
|
+
## 2.1.0-beta.5
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Updated dependencies [b60e107]
|
|
19
|
+
- Updated dependencies [5d6d5ab]
|
|
20
|
+
- Updated dependencies [d4d6605]
|
|
21
|
+
- @osdk/shared.client@1.0.0-beta.2
|
|
22
|
+
- @osdk/foundry.filesystem@2.1.0-beta.5
|
|
23
|
+
- @osdk/foundry.datasets@2.1.0-beta.5
|
|
24
|
+
- @osdk/foundry.core@2.1.0-beta.5
|
|
25
|
+
- @osdk/shared.net.platformapi@0.3.0-beta.2
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import type * as _Datasets from "@osdk/foundry.datasets";
|
|
2
|
+
import type * as _Filesystem from "@osdk/foundry.filesystem";
|
|
3
|
+
export type LooselyBrandedString<T extends string> = string & {
|
|
4
|
+
__LOOSE_BRAND?: T;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Compression helps reduce the size of the data being sent, resulting in lower network usage and
|
|
8
|
+
storage, at the cost of some additional CPU usage for compression and decompression. This stream type
|
|
9
|
+
is only recommended if your stream contains a high volume of repetitive strings and is experiencing poor
|
|
10
|
+
network bandwidth symptoms like non-zero lag, lower than expected throughput, or dropped records.
|
|
11
|
+
*
|
|
12
|
+
* Log Safety: SAFE
|
|
13
|
+
*/
|
|
14
|
+
export type Compressed = boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Log Safety: UNSAFE
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateStreamingDatasetRequest {
|
|
19
|
+
name: _Datasets.DatasetName;
|
|
20
|
+
parentFolderRid: _Filesystem.FolderRid;
|
|
21
|
+
branchName?: _Datasets.BranchName;
|
|
22
|
+
partitionsCount?: PartitionsCount;
|
|
23
|
+
streamType?: StreamType;
|
|
24
|
+
compressed?: Compressed;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Log Safety: UNSAFE
|
|
28
|
+
*/
|
|
29
|
+
export interface Dataset {
|
|
30
|
+
rid: _Datasets.DatasetRid;
|
|
31
|
+
name: _Datasets.DatasetName;
|
|
32
|
+
parentFolderRid: _Filesystem.FolderRid;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* The number of partitions for a Foundry stream.
|
|
36
|
+
*
|
|
37
|
+
* Log Safety: SAFE
|
|
38
|
+
*/
|
|
39
|
+
export type PartitionsCount = number;
|
|
40
|
+
/**
|
|
41
|
+
* Log Safety: UNSAFE
|
|
42
|
+
*/
|
|
43
|
+
export interface Stream {
|
|
44
|
+
branchName: _Datasets.BranchName;
|
|
45
|
+
viewRid: ViewRid;
|
|
46
|
+
partitionsCount: PartitionsCount;
|
|
47
|
+
streamType: StreamType;
|
|
48
|
+
compressed: Compressed;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* LOW_LATENCY: The default stream type. Recommended for most use cases.
|
|
52
|
+
HIGH_THROUGHPUT: Best for streams that send large amounts of data every second. Using this stream type might
|
|
53
|
+
introduce some non-zero latency at the expense of a higher throughput. This stream type is only
|
|
54
|
+
recommended if you inspect your stream metrics in-platform and observe that the average batch size is equal
|
|
55
|
+
to the max match size, or if jobs using the stream are failing due to Kafka producer batches expiring. For
|
|
56
|
+
additional information on inspecting stream metrics, refer to the
|
|
57
|
+
(stream monitoring)[/docs/foundry/data-integration/stream-monitoring/#viewing-metrics] documentation.
|
|
58
|
+
For more information, refer to the stream types
|
|
59
|
+
documentation.
|
|
60
|
+
*
|
|
61
|
+
* Log Safety: SAFE
|
|
62
|
+
*/
|
|
63
|
+
export type StreamType = "LOW_LATENCY" | "HIGH_THROUGHPUT";
|
|
64
|
+
/**
|
|
65
|
+
* The resource identifier (RID) of the view that represents a stream.
|
|
66
|
+
*
|
|
67
|
+
* Log Safety: SAFE
|
|
68
|
+
*/
|
|
69
|
+
export type ViewRid = LooselyBrandedString<"ViewRid">;
|
|
70
|
+
//# sourceMappingURL=_components.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_components.d.ts","sourceRoot":"","sources":["../../src/_components.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,SAAS,MAAM,wBAAwB,CAAC;AACzD,OAAO,KAAK,KAAK,WAAW,MAAM,0BAA0B,CAAC;AAE7D,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,GAAG;IAC5D,aAAa,CAAC,EAAE,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;KAOK;AACL,MAAM,MAAM,UAAU,GAAG,OAAO,CAAC;AAEjC;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC5C,IAAI,EAAE,SAAS,CAAC,WAAW,CAAC;IAC5B,eAAe,EAAE,WAAW,CAAC,SAAS,CAAC;IACvC,UAAU,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC;IAClC,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB;AAED;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB,GAAG,EAAE,SAAS,CAAC,UAAU,CAAC;IAC1B,IAAI,EAAE,SAAS,CAAC,WAAW,CAAC;IAC5B,eAAe,EAAE,WAAW,CAAC,SAAS,CAAC;CACxC;AAED;;;;GAIG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC;AAErC;;GAEG;AACH,MAAM,WAAW,MAAM;IACrB,UAAU,EAAE,SAAS,CAAC,UAAU,CAAC;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,eAAe,EAAE,eAAe,CAAC;IACjC,UAAU,EAAE,UAAU,CAAC;IACvB,UAAU,EAAE,UAAU,CAAC;CACxB;AAED;;;;;;;;;;;;KAYK;AACL,MAAM,MAAM,UAAU,GAAG,aAAa,GAAG,iBAAiB,CAAC;AAE3D;;;;GAIG;AACH,MAAM,MAAM,OAAO,GAAG,oBAAoB,CAAC,SAAS,CAAC,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=_components.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_components.js","names":[],"sources":["_components.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 */\nexport {};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
export type LooselyBrandedString<T extends string> = string & {
|
|
2
|
+
__LOOSE_BRAND?: T;
|
|
3
|
+
};
|
|
4
|
+
/**
|
|
5
|
+
* Cannot create a streaming dataset in a user folder.
|
|
6
|
+
*
|
|
7
|
+
* Log Safety: SAFE
|
|
8
|
+
*/
|
|
9
|
+
export interface CannotCreateStreamingDatasetInUserFolder {
|
|
10
|
+
errorCode: "INVALID_ARGUMENT";
|
|
11
|
+
errorName: "CannotCreateStreamingDatasetInUserFolder";
|
|
12
|
+
errorInstanceId: string;
|
|
13
|
+
parameters: {
|
|
14
|
+
parentFolderRid: unknown;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Could not create the Dataset.
|
|
19
|
+
*
|
|
20
|
+
* Log Safety: SAFE
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateStreamingDatasetPermissionDenied {
|
|
23
|
+
errorCode: "PERMISSION_DENIED";
|
|
24
|
+
errorName: "CreateStreamingDatasetPermissionDenied";
|
|
25
|
+
errorInstanceId: string;
|
|
26
|
+
parameters: {};
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* The stream type is invalid.
|
|
30
|
+
*
|
|
31
|
+
* Log Safety: SAFE
|
|
32
|
+
*/
|
|
33
|
+
export interface InvalidStreamType {
|
|
34
|
+
errorCode: "INVALID_ARGUMENT";
|
|
35
|
+
errorName: "InvalidStreamType";
|
|
36
|
+
errorInstanceId: string;
|
|
37
|
+
parameters: {
|
|
38
|
+
streamType: unknown;
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* The given Stream could not be found.
|
|
43
|
+
*
|
|
44
|
+
* Log Safety: UNSAFE
|
|
45
|
+
*/
|
|
46
|
+
export interface StreamNotFound {
|
|
47
|
+
errorCode: "NOT_FOUND";
|
|
48
|
+
errorName: "StreamNotFound";
|
|
49
|
+
errorInstanceId: string;
|
|
50
|
+
parameters: {
|
|
51
|
+
datasetRid: unknown;
|
|
52
|
+
streamBranchName: unknown;
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=_errors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_errors.d.ts","sourceRoot":"","sources":["../../src/_errors.ts"],"names":[],"mappings":"AAgBA,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,GAAG;IAC5D,aAAa,CAAC,EAAE,CAAC,CAAC;CACnB,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,wCAAwC;IACvD,SAAS,EAAE,kBAAkB,CAAC;IAC9B,SAAS,EAAE,0CAA0C,CAAC;IACtD,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,eAAe,EAAE,OAAO,CAAC;KAC1B,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,sCAAsC;IACrD,SAAS,EAAE,mBAAmB,CAAC;IAC/B,SAAS,EAAE,wCAAwC,CAAC;IACpD,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,EAAE,CAAC;CAChB;AAED;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAChC,SAAS,EAAE,kBAAkB,CAAC;IAC9B,SAAS,EAAE,mBAAmB,CAAC;IAC/B,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,UAAU,EAAE,OAAO,CAAC;KACrB,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE,WAAW,CAAC;IACvB,SAAS,EAAE,gBAAgB,CAAC;IAC5B,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,UAAU,EAAE,OAAO,CAAC;QACpB,gBAAgB,EAAE,OAAO,CAAC;KAC3B,CAAC;CACH"}
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=_errors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_errors.js","names":[],"sources":["_errors.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 */\nexport {};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type { Compressed, CreateStreamingDatasetRequest, Dataset, PartitionsCount, Stream, StreamType, ViewRid, } from "./_components.js";
|
|
2
|
+
export type { CannotCreateStreamingDatasetInUserFolder, CreateStreamingDatasetPermissionDenied, InvalidStreamType, StreamNotFound, } from "./_errors.js";
|
|
3
|
+
export * as Datasets from "./public/Dataset.js";
|
|
4
|
+
export * as Streams from "./public/Stream.js";
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAgBA,YAAY,EACV,UAAU,EACV,6BAA6B,EAC7B,OAAO,EACP,eAAe,EACf,MAAM,EACN,UAAU,EACV,OAAO,GACR,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EACV,wCAAwC,EACxC,sCAAsC,EACtC,iBAAiB,EACjB,cAAc,GACf,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC;AAChD,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAC"}
|
package/build/browser/index.js
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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
|
+
export * as Datasets from "./public/Dataset.js";
|
|
17
|
+
export * as Streams from "./public/Stream.js";
|
|
5
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"index.js","names":["Datasets","Streams"],"sources":["index.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 */\nexport * as Datasets from \"./public/Dataset.js\";\nexport * as Streams from \"./public/Stream.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,KAAKA,QAAQ,MAAM,qBAAqB;AAC/C,OAAO,KAAKC,OAAO,MAAM,oBAAoB","ignoreList":[]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type * as _Core from "@osdk/foundry.core";
|
|
2
|
+
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
|
|
3
|
+
import type * as _Streams from "../_components.js";
|
|
4
|
+
/**
|
|
5
|
+
* Creates a streaming dataset with a stream on the specified branch, or if no branch is specified, on the
|
|
6
|
+
* default branch ('master' for most enrollments). For more information on streaming datasets, refer to the
|
|
7
|
+
* [streams](https://www.palantir.com/docs/foundry/data-integration/streams/) user documentation.
|
|
8
|
+
*
|
|
9
|
+
* @alpha
|
|
10
|
+
*
|
|
11
|
+
* Required Scopes: [api:datasets-write, api:streams-write]
|
|
12
|
+
* URL: /v2/streams/datasets/create
|
|
13
|
+
*/
|
|
14
|
+
export declare function createStreamingDataset($ctx: $Client | $ClientContext, ...args: [
|
|
15
|
+
$body: _Streams.CreateStreamingDatasetRequest,
|
|
16
|
+
$queryParams?: {
|
|
17
|
+
preview?: _Core.PreviewMode | undefined;
|
|
18
|
+
}
|
|
19
|
+
]): Promise<_Streams.Dataset>;
|
|
20
|
+
//# sourceMappingURL=Dataset.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Dataset.d.ts","sourceRoot":"","sources":["../../../src/public/Dataset.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAG7B,OAAO,KAAK,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAWnD;;;;;;;;;GASG;AACH,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,KAAK,EAAE,QAAQ,CAAC,6BAA6B;IAC7C,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC,CAE3B"}
|
|
@@ -1,4 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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 _createStreamingDataset = [1, "/v2/streams/datasets/create", 3];
|
|
19
|
+
/**
|
|
20
|
+
* Creates a streaming dataset with a stream on the specified branch, or if no branch is specified, on the
|
|
21
|
+
* default branch ('master' for most enrollments). For more information on streaming datasets, refer to the
|
|
22
|
+
* [streams](https://www.palantir.com/docs/foundry/data-integration/streams/) user documentation.
|
|
23
|
+
*
|
|
24
|
+
* @alpha
|
|
25
|
+
*
|
|
26
|
+
* Required Scopes: [api:datasets-write, api:streams-write]
|
|
27
|
+
* URL: /v2/streams/datasets/create
|
|
28
|
+
*/
|
|
29
|
+
export function createStreamingDataset($ctx, ...args) {
|
|
30
|
+
return $foundryPlatformFetch($ctx, _createStreamingDataset, ...args);
|
|
31
|
+
}
|
|
4
32
|
//# sourceMappingURL=Dataset.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"Dataset.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_createStreamingDataset","createStreamingDataset","$ctx","args"],"sources":["Dataset.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 _createStreamingDataset = [1, \"/v2/streams/datasets/create\", 3];\n/**\n * Creates a streaming dataset with a stream on the specified branch, or if no branch is specified, on the\n * default branch ('master' for most enrollments). For more information on streaming datasets, refer to the\n * [streams](https://www.palantir.com/docs/foundry/data-integration/streams/) user documentation.\n *\n * @alpha\n *\n * Required Scopes: [api:datasets-write, api:streams-write]\n * URL: /v2/streams/datasets/create\n */\nexport function createStreamingDataset($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _createStreamingDataset, ...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,uBAAuB,GAAG,CAAC,CAAC,EAAE,6BAA6B,EAAE,CAAC,CAAC;AACrE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,sBAAsBA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAClD,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,uBAAuB,EAAE,GAAGG,IAAI,CAAC;AACxE","ignoreList":[]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type * as _Core from "@osdk/foundry.core";
|
|
2
|
+
import type * as _Datasets from "@osdk/foundry.datasets";
|
|
3
|
+
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
|
|
4
|
+
import type * as _Streams from "../_components.js";
|
|
5
|
+
/**
|
|
6
|
+
* Get a stream by its branch name. If the branch does not exist, there is no stream on that branch, or the
|
|
7
|
+
* user does not have permission to access the stream, a 404 error will be returned.
|
|
8
|
+
*
|
|
9
|
+
* @alpha
|
|
10
|
+
*
|
|
11
|
+
* Required Scopes: [api:datasets-read, api:streams-read]
|
|
12
|
+
* URL: /v2/streams/datasets/{datasetRid}/streams/{streamBranchName}
|
|
13
|
+
*/
|
|
14
|
+
export declare function getStream($ctx: $Client | $ClientContext, ...args: [
|
|
15
|
+
datasetRid: _Datasets.DatasetRid,
|
|
16
|
+
streamBranchName: _Datasets.BranchName,
|
|
17
|
+
$queryParams?: {
|
|
18
|
+
preview?: _Core.PreviewMode | undefined;
|
|
19
|
+
}
|
|
20
|
+
]): Promise<_Streams.Stream>;
|
|
21
|
+
//# sourceMappingURL=Stream.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Stream.d.ts","sourceRoot":"","sources":["../../../src/public/Stream.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,KAAK,SAAS,MAAM,wBAAwB,CAAC;AACzD,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAG7B,OAAO,KAAK,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAYnD;;;;;;;;GAQG;AACH,wBAAgB,SAAS,CACvB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,UAAU,EAAE,SAAS,CAAC,UAAU;IAChC,gBAAgB,EAAE,SAAS,CAAC,UAAU;IAEtC,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC,CAE1B"}
|
|
@@ -1,4 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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 _getStream = [0, "/v2/streams/datasets/{0}/streams/{1}", 2];
|
|
19
|
+
/**
|
|
20
|
+
* Get a stream by its branch name. If the branch does not exist, there is no stream on that branch, or the
|
|
21
|
+
* user does not have permission to access the stream, a 404 error will be returned.
|
|
22
|
+
*
|
|
23
|
+
* @alpha
|
|
24
|
+
*
|
|
25
|
+
* Required Scopes: [api:datasets-read, api:streams-read]
|
|
26
|
+
* URL: /v2/streams/datasets/{datasetRid}/streams/{streamBranchName}
|
|
27
|
+
*/
|
|
28
|
+
export function getStream($ctx, ...args) {
|
|
29
|
+
return $foundryPlatformFetch($ctx, _getStream, ...args);
|
|
30
|
+
}
|
|
4
31
|
//# sourceMappingURL=Stream.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"Stream.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_getStream","getStream","$ctx","args"],"sources":["Stream.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 _getStream = [0, \"/v2/streams/datasets/{0}/streams/{1}\", 2];\n/**\n * Get a stream by its branch name. If the branch does not exist, there is no stream on that branch, or the\n * user does not have permission to access the stream, a 404 error will be returned.\n *\n * @alpha\n *\n * Required Scopes: [api:datasets-read, api:streams-read]\n * URL: /v2/streams/datasets/{datasetRid}/streams/{streamBranchName}\n */\nexport function getStream($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getStream, ...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,UAAU,GAAG,CAAC,CAAC,EAAE,sCAAsC,EAAE,CAAC,CAAC;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,SAASA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EACrC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,UAAU,EAAE,GAAGG,IAAI,CAAC;AAC3D","ignoreList":[]}
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=_components.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_components.js","names":[],"sources":["_components.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 */\nexport {};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=_errors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_errors.js","names":[],"sources":["_errors.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 */\nexport {};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
|
package/build/esm/index.js
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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
|
+
export * as Datasets from "./public/Dataset.js";
|
|
17
|
+
export * as Streams from "./public/Stream.js";
|
|
5
18
|
//# sourceMappingURL=index.js.map
|
package/build/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"index.js","names":["Datasets","Streams"],"sources":["index.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 */\nexport * as Datasets from \"./public/Dataset.js\";\nexport * as Streams from \"./public/Stream.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,KAAKA,QAAQ,MAAM,qBAAqB;AAC/C,OAAO,KAAKC,OAAO,MAAM,oBAAoB","ignoreList":[]}
|
|
@@ -1,4 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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 _createStreamingDataset = [1, "/v2/streams/datasets/create", 3];
|
|
19
|
+
/**
|
|
20
|
+
* Creates a streaming dataset with a stream on the specified branch, or if no branch is specified, on the
|
|
21
|
+
* default branch ('master' for most enrollments). For more information on streaming datasets, refer to the
|
|
22
|
+
* [streams](https://www.palantir.com/docs/foundry/data-integration/streams/) user documentation.
|
|
23
|
+
*
|
|
24
|
+
* @alpha
|
|
25
|
+
*
|
|
26
|
+
* Required Scopes: [api:datasets-write, api:streams-write]
|
|
27
|
+
* URL: /v2/streams/datasets/create
|
|
28
|
+
*/
|
|
29
|
+
export function createStreamingDataset($ctx, ...args) {
|
|
30
|
+
return $foundryPlatformFetch($ctx, _createStreamingDataset, ...args);
|
|
31
|
+
}
|
|
4
32
|
//# sourceMappingURL=Dataset.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"Dataset.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_createStreamingDataset","createStreamingDataset","$ctx","args"],"sources":["Dataset.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 _createStreamingDataset = [1, \"/v2/streams/datasets/create\", 3];\n/**\n * Creates a streaming dataset with a stream on the specified branch, or if no branch is specified, on the\n * default branch ('master' for most enrollments). For more information on streaming datasets, refer to the\n * [streams](https://www.palantir.com/docs/foundry/data-integration/streams/) user documentation.\n *\n * @alpha\n *\n * Required Scopes: [api:datasets-write, api:streams-write]\n * URL: /v2/streams/datasets/create\n */\nexport function createStreamingDataset($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _createStreamingDataset, ...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,uBAAuB,GAAG,CAAC,CAAC,EAAE,6BAA6B,EAAE,CAAC,CAAC;AACrE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,sBAAsBA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAClD,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,uBAAuB,EAAE,GAAGG,IAAI,CAAC;AACxE","ignoreList":[]}
|
|
@@ -1,4 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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 _getStream = [0, "/v2/streams/datasets/{0}/streams/{1}", 2];
|
|
19
|
+
/**
|
|
20
|
+
* Get a stream by its branch name. If the branch does not exist, there is no stream on that branch, or the
|
|
21
|
+
* user does not have permission to access the stream, a 404 error will be returned.
|
|
22
|
+
*
|
|
23
|
+
* @alpha
|
|
24
|
+
*
|
|
25
|
+
* Required Scopes: [api:datasets-read, api:streams-read]
|
|
26
|
+
* URL: /v2/streams/datasets/{datasetRid}/streams/{streamBranchName}
|
|
27
|
+
*/
|
|
28
|
+
export function getStream($ctx, ...args) {
|
|
29
|
+
return $foundryPlatformFetch($ctx, _getStream, ...args);
|
|
30
|
+
}
|
|
4
31
|
//# sourceMappingURL=Stream.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"Stream.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_getStream","getStream","$ctx","args"],"sources":["Stream.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 _getStream = [0, \"/v2/streams/datasets/{0}/streams/{1}\", 2];\n/**\n * Get a stream by its branch name. If the branch does not exist, there is no stream on that branch, or the\n * user does not have permission to access the stream, a 404 error will be returned.\n *\n * @alpha\n *\n * Required Scopes: [api:datasets-read, api:streams-read]\n * URL: /v2/streams/datasets/{datasetRid}/streams/{streamBranchName}\n */\nexport function getStream($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getStream, ...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,UAAU,GAAG,CAAC,CAAC,EAAE,sCAAsC,EAAE,CAAC,CAAC;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,SAASA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EACrC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,UAAU,EAAE,GAAGG,IAAI,CAAC;AAC3D","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@osdk/foundry.streams",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.1.0-beta.6",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -17,17 +17,17 @@
|
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@osdk/foundry.core": "2.1.0-beta.
|
|
21
|
-
"@osdk/foundry.
|
|
22
|
-
"@osdk/
|
|
23
|
-
"@osdk/shared.client": "
|
|
24
|
-
"@osdk/
|
|
20
|
+
"@osdk/foundry.core": "2.1.0-beta.6",
|
|
21
|
+
"@osdk/foundry.filesystem": "2.1.0-beta.6",
|
|
22
|
+
"@osdk/shared.net.platformapi": "~0.3.0-beta.3",
|
|
23
|
+
"@osdk/shared.client": "^1.0.0-beta.3",
|
|
24
|
+
"@osdk/foundry.datasets": "2.1.0-beta.6"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"typescript": "^5.5.4",
|
|
28
28
|
"@osdk/monorepo.api-extractor": "~0.0.0",
|
|
29
|
-
"@osdk/monorepo.
|
|
30
|
-
"@osdk/monorepo.
|
|
29
|
+
"@osdk/monorepo.tsup": "~0.0.0",
|
|
30
|
+
"@osdk/monorepo.tsconfig": "~0.0.0"
|
|
31
31
|
},
|
|
32
32
|
"publishConfig": {
|
|
33
33
|
"access": "public"
|
|
@@ -59,7 +59,6 @@
|
|
|
59
59
|
"clean": "rm -rf lib dist types build tsconfig.tsbuildinfo",
|
|
60
60
|
"fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)",
|
|
61
61
|
"lint": "eslint . && dprint check --config $(find-up dprint.json)",
|
|
62
|
-
"transpile": "monorepo.tool.transpile"
|
|
63
|
-
"typecheck": "monorepo.tool.typecheck esm"
|
|
62
|
+
"transpile": "monorepo.tool.transpile"
|
|
64
63
|
}
|
|
65
64
|
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { __export } from './chunk-PZ5AY32C.js';
|
|
2
|
-
import { foundryPlatformFetch } from '@osdk/shared.net.platformapi';
|
|
3
|
-
|
|
4
|
-
// src/public/Dataset.ts
|
|
5
|
-
var Dataset_exports = {};
|
|
6
|
-
__export(Dataset_exports, {
|
|
7
|
-
createStreamingDataset: () => createStreamingDataset
|
|
8
|
-
});
|
|
9
|
-
var _createStreamingDataset = [1, "/v2/streams/datasets/create", 3];
|
|
10
|
-
function createStreamingDataset($ctx, ...args) {
|
|
11
|
-
return foundryPlatformFetch($ctx, _createStreamingDataset, ...args);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export { Dataset_exports, createStreamingDataset };
|
|
15
|
-
//# sourceMappingURL=chunk-7ZR6TWBV.js.map
|
|
16
|
-
//# sourceMappingURL=chunk-7ZR6TWBV.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/Dataset.ts"],"names":["$foundryPlatformFetch"],"mappings":";;;;AAAA,IAAA,eAAA,GAAA,GAAA;AAAA,QAAA,CAAA,eAAA,EAAA;AAAA,EAAA,sBAAA,EAAA,MAAA,sBAAA;AAAA,CAAA,CAAA,CAAA;AAmBA,IAAM,uBAA0B,GAAA,CAAC,CAAG,EAAA,6BAAA,EAA+B,CAAC,CAAA,CAAA;AAY7D,SAAS,sBAAA,CAAuB,SAAS,IAAM,EAAA;AACpD,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,uBAAyB,EAAA,GAAG,IAAI,CAAA,CAAA;AACrE","file":"chunk-7ZR6TWBV.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 */\n\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\n\nconst _createStreamingDataset = [1, \"/v2/streams/datasets/create\", 3];\n\n/**\n * Creates a streaming dataset with a stream on the specified branch, or if no branch is specified, on the\n * default branch ('master' for most enrollments). For more information on streaming datasets, refer to the\n * [streams](https://www.palantir.com/docs/foundry/data-integration/streams/) user documentation.\n *\n * @alpha\n *\n * Required Scopes: [api:datasets-write, api:streams-write]\n * URL: /v2/streams/datasets/create\n */\nexport function createStreamingDataset($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _createStreamingDataset, ...args);\n}"]}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __export = (target, all) => {
|
|
3
|
-
for (var name in all)
|
|
4
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
5
|
-
};
|
|
6
|
-
|
|
7
|
-
export { __export };
|
|
8
|
-
//# sourceMappingURL=chunk-PZ5AY32C.js.map
|
|
9
|
-
//# sourceMappingURL=chunk-PZ5AY32C.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"chunk-PZ5AY32C.js"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { __export } from './chunk-PZ5AY32C.js';
|
|
2
|
-
import { foundryPlatformFetch } from '@osdk/shared.net.platformapi';
|
|
3
|
-
|
|
4
|
-
// src/public/Stream.ts
|
|
5
|
-
var Stream_exports = {};
|
|
6
|
-
__export(Stream_exports, {
|
|
7
|
-
getStream: () => getStream
|
|
8
|
-
});
|
|
9
|
-
var _getStream = [0, "/v2/streams/datasets/{0}/streams/{1}", 2];
|
|
10
|
-
function getStream($ctx, ...args) {
|
|
11
|
-
return foundryPlatformFetch($ctx, _getStream, ...args);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export { Stream_exports, getStream };
|
|
15
|
-
//# sourceMappingURL=chunk-RLZPNH57.js.map
|
|
16
|
-
//# sourceMappingURL=chunk-RLZPNH57.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/Stream.ts"],"names":["$foundryPlatformFetch"],"mappings":";;;;AAAA,IAAA,cAAA,GAAA,GAAA;AAAA,QAAA,CAAA,cAAA,EAAA;AAAA,EAAA,SAAA,EAAA,MAAA,SAAA;AAAA,CAAA,CAAA,CAAA;AAmBA,IAAM,UAAa,GAAA,CAAC,CAAG,EAAA,sCAAA,EAAwC,CAAC,CAAA,CAAA;AAWzD,SAAS,SAAA,CAAU,SAAS,IAAM,EAAA;AACvC,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,UAAY,EAAA,GAAG,IAAI,CAAA,CAAA;AACxD","file":"chunk-RLZPNH57.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 */\n\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\n\nconst _getStream = [0, \"/v2/streams/datasets/{0}/streams/{1}\", 2];\n\n/**\n * Get a stream by its branch name. If the branch does not exist, there is no stream on that branch, or the\n * user does not have permission to access the stream, a 404 error will be returned.\n *\n * @alpha\n *\n * Required Scopes: [api:datasets-read, api:streams-read]\n * URL: /v2/streams/datasets/{datasetRid}/streams/{streamBranchName}\n */\nexport function getStream($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getStream, ...args);\n}"]}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { __export } from './chunk-PZ5AY32C.js';
|
|
2
|
-
import { foundryPlatformFetch } from '@osdk/shared.net.platformapi';
|
|
3
|
-
|
|
4
|
-
// src/public/Dataset.ts
|
|
5
|
-
var Dataset_exports = {};
|
|
6
|
-
__export(Dataset_exports, {
|
|
7
|
-
createStreamingDataset: () => createStreamingDataset
|
|
8
|
-
});
|
|
9
|
-
var _createStreamingDataset = [1, "/v2/streams/datasets/create", 3];
|
|
10
|
-
function createStreamingDataset($ctx, ...args) {
|
|
11
|
-
return foundryPlatformFetch($ctx, _createStreamingDataset, ...args);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export { Dataset_exports, createStreamingDataset };
|
|
15
|
-
//# sourceMappingURL=chunk-7ZR6TWBV.js.map
|
|
16
|
-
//# sourceMappingURL=chunk-7ZR6TWBV.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/Dataset.ts"],"names":["$foundryPlatformFetch"],"mappings":";;;;AAAA,IAAA,eAAA,GAAA,GAAA;AAAA,QAAA,CAAA,eAAA,EAAA;AAAA,EAAA,sBAAA,EAAA,MAAA,sBAAA;AAAA,CAAA,CAAA,CAAA;AAmBA,IAAM,uBAA0B,GAAA,CAAC,CAAG,EAAA,6BAAA,EAA+B,CAAC,CAAA,CAAA;AAY7D,SAAS,sBAAA,CAAuB,SAAS,IAAM,EAAA;AACpD,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,uBAAyB,EAAA,GAAG,IAAI,CAAA,CAAA;AACrE","file":"chunk-7ZR6TWBV.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 */\n\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\n\nconst _createStreamingDataset = [1, \"/v2/streams/datasets/create\", 3];\n\n/**\n * Creates a streaming dataset with a stream on the specified branch, or if no branch is specified, on the\n * default branch ('master' for most enrollments). For more information on streaming datasets, refer to the\n * [streams](https://www.palantir.com/docs/foundry/data-integration/streams/) user documentation.\n *\n * @alpha\n *\n * Required Scopes: [api:datasets-write, api:streams-write]\n * URL: /v2/streams/datasets/create\n */\nexport function createStreamingDataset($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _createStreamingDataset, ...args);\n}"]}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __export = (target, all) => {
|
|
3
|
-
for (var name in all)
|
|
4
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
5
|
-
};
|
|
6
|
-
|
|
7
|
-
export { __export };
|
|
8
|
-
//# sourceMappingURL=chunk-PZ5AY32C.js.map
|
|
9
|
-
//# sourceMappingURL=chunk-PZ5AY32C.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"chunk-PZ5AY32C.js"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { __export } from './chunk-PZ5AY32C.js';
|
|
2
|
-
import { foundryPlatformFetch } from '@osdk/shared.net.platformapi';
|
|
3
|
-
|
|
4
|
-
// src/public/Stream.ts
|
|
5
|
-
var Stream_exports = {};
|
|
6
|
-
__export(Stream_exports, {
|
|
7
|
-
getStream: () => getStream
|
|
8
|
-
});
|
|
9
|
-
var _getStream = [0, "/v2/streams/datasets/{0}/streams/{1}", 2];
|
|
10
|
-
function getStream($ctx, ...args) {
|
|
11
|
-
return foundryPlatformFetch($ctx, _getStream, ...args);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export { Stream_exports, getStream };
|
|
15
|
-
//# sourceMappingURL=chunk-RLZPNH57.js.map
|
|
16
|
-
//# sourceMappingURL=chunk-RLZPNH57.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/Stream.ts"],"names":["$foundryPlatformFetch"],"mappings":";;;;AAAA,IAAA,cAAA,GAAA,GAAA;AAAA,QAAA,CAAA,cAAA,EAAA;AAAA,EAAA,SAAA,EAAA,MAAA,SAAA;AAAA,CAAA,CAAA,CAAA;AAmBA,IAAM,UAAa,GAAA,CAAC,CAAG,EAAA,sCAAA,EAAwC,CAAC,CAAA,CAAA;AAWzD,SAAS,SAAA,CAAU,SAAS,IAAM,EAAA;AACvC,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,UAAY,EAAA,GAAG,IAAI,CAAA,CAAA;AACxD","file":"chunk-RLZPNH57.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 */\n\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\n\nconst _getStream = [0, \"/v2/streams/datasets/{0}/streams/{1}\", 2];\n\n/**\n * Get a stream by its branch name. If the branch does not exist, there is no stream on that branch, or the\n * user does not have permission to access the stream, a 404 error will be returned.\n *\n * @alpha\n *\n * Required Scopes: [api:datasets-read, api:streams-read]\n * URL: /v2/streams/datasets/{datasetRid}/streams/{streamBranchName}\n */\nexport function getStream($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getStream, ...args);\n}"]}
|