@osdk/foundry.streams 2.51.0 → 2.53.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 +148 -1
- package/build/browser/_components.d.ts.map +1 -1
- package/build/browser/_errors.d.ts +126 -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/Subscriber.d.ts +131 -0
- package/build/browser/public/Subscriber.d.ts.map +1 -0
- package/build/browser/public/Subscriber.js +116 -0
- package/build/browser/public/Subscriber.js.map +1 -0
- package/build/esm/_components.d.ts +148 -1
- package/build/esm/_components.d.ts.map +1 -1
- package/build/esm/_errors.d.ts +126 -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/Subscriber.d.ts +131 -0
- package/build/esm/public/Subscriber.d.ts.map +1 -0
- package/build/esm/public/Subscriber.js +116 -0
- package/build/esm/public/Subscriber.js.map +1 -0
- package/package.json +6 -6
|
@@ -0,0 +1,116 @@
|
|
|
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/streams/datasets/{0}/streams/{1}/subscribers", 3];
|
|
19
|
+
/**
|
|
20
|
+
* Register a new subscriber for a stream. Subscribers maintain server-side offset tracking,
|
|
21
|
+
* allowing reliable consumption without client-side state management.
|
|
22
|
+
*
|
|
23
|
+
* If a subscriber with the same ID already exists for this stream, the existing registration
|
|
24
|
+
* is returned. If a subscriber with the same ID exists for a different stream, an error is returned.
|
|
25
|
+
*
|
|
26
|
+
* @alpha
|
|
27
|
+
*
|
|
28
|
+
* Required Scopes: [api:streams-write]
|
|
29
|
+
* URL: /v2/streams/datasets/{datasetRid}/streams/{streamBranchName}/subscribers
|
|
30
|
+
*/
|
|
31
|
+
export function create($ctx, ...args) {
|
|
32
|
+
return $foundryPlatformFetch($ctx, _create, ...args);
|
|
33
|
+
}
|
|
34
|
+
const _deleteSubscriber = [3, "/v2/streams/datasets/{0}/streams/{1}/subscribers/{2}", 2];
|
|
35
|
+
/**
|
|
36
|
+
* Delete a subscriber and all its committed offset state. After deletion, the subscriber ID
|
|
37
|
+
* can be reused to create a new subscriber.
|
|
38
|
+
*
|
|
39
|
+
* @alpha
|
|
40
|
+
*
|
|
41
|
+
* Required Scopes: [api:streams-write]
|
|
42
|
+
* URL: /v2/streams/datasets/{datasetRid}/streams/{streamBranchName}/subscribers/{subscriberSubscriberId}
|
|
43
|
+
*/
|
|
44
|
+
export function deleteSubscriber($ctx, ...args) {
|
|
45
|
+
return $foundryPlatformFetch($ctx, _deleteSubscriber, ...args);
|
|
46
|
+
}
|
|
47
|
+
const _readRecords = [1, "/v2/highScale/streams/datasets/{0}/streams/{1}/subscribers/{2}/readRecords", 3];
|
|
48
|
+
/**
|
|
49
|
+
* Fetch records for a subscriber starting from their committed offset. Returns records
|
|
50
|
+
* grouped by partition.
|
|
51
|
+
*
|
|
52
|
+
* If `autoCommit` is true, offsets are automatically committed after the records are
|
|
53
|
+
* fetched, so the next read will start from where this one left off.
|
|
54
|
+
*
|
|
55
|
+
* If `autoCommit` is false, you must call `commitOffsets` to update the read position.
|
|
56
|
+
* Use manual commits for at-least-once processing where you need to ensure records are
|
|
57
|
+
* processed before acknowledging them.
|
|
58
|
+
*
|
|
59
|
+
* @alpha
|
|
60
|
+
*
|
|
61
|
+
* Required Scopes: [api:streams-read]
|
|
62
|
+
* URL: /v2/highScale/streams/datasets/{datasetRid}/streams/{streamBranchName}/subscribers/{subscriberSubscriberId}/readRecords
|
|
63
|
+
*/
|
|
64
|
+
export function readRecords($ctx, ...args) {
|
|
65
|
+
return $foundryPlatformFetch($ctx, _readRecords, ...args);
|
|
66
|
+
}
|
|
67
|
+
const _commitOffsets = [1, "/v2/highScale/streams/datasets/{0}/streams/{1}/subscribers/{2}/commitOffsets", 3];
|
|
68
|
+
/**
|
|
69
|
+
* Explicitly commit offsets for a subscriber. Required when `autoCommit` is false.
|
|
70
|
+
*
|
|
71
|
+
* Pass the last offset you processed for each partition.
|
|
72
|
+
*
|
|
73
|
+
* For example, if you processed a record at offset 50, commit `{"0": 50}` and the next
|
|
74
|
+
* read from partition "0" will start at offset 51.
|
|
75
|
+
*
|
|
76
|
+
* @alpha
|
|
77
|
+
*
|
|
78
|
+
* Required Scopes: [api:streams-write]
|
|
79
|
+
* URL: /v2/highScale/streams/datasets/{datasetRid}/streams/{streamBranchName}/subscribers/{subscriberSubscriberId}/commitOffsets
|
|
80
|
+
*/
|
|
81
|
+
export function commitOffsets($ctx, ...args) {
|
|
82
|
+
return $foundryPlatformFetch($ctx, _commitOffsets, ...args);
|
|
83
|
+
}
|
|
84
|
+
const _getReadPosition = [0, "/v2/highScale/streams/datasets/{0}/streams/{1}/subscribers/{2}/getReadPosition", 2];
|
|
85
|
+
/**
|
|
86
|
+
* Get the current read position for a subscriber. Returns the offset per partition where the next read
|
|
87
|
+
* will begin.
|
|
88
|
+
*
|
|
89
|
+
* @alpha
|
|
90
|
+
*
|
|
91
|
+
* Required Scopes: [api:streams-read]
|
|
92
|
+
* URL: /v2/highScale/streams/datasets/{datasetRid}/streams/{streamBranchName}/subscribers/{subscriberSubscriberId}/getReadPosition
|
|
93
|
+
*/
|
|
94
|
+
export function getReadPosition($ctx, ...args) {
|
|
95
|
+
return $foundryPlatformFetch($ctx, _getReadPosition, ...args);
|
|
96
|
+
}
|
|
97
|
+
const _resetOffsets = [1, "/v2/highScale/streams/datasets/{0}/streams/{1}/subscribers/{2}/resetOffsets", 3];
|
|
98
|
+
/**
|
|
99
|
+
* Reset subscriber offsets to a specific position. Use this to replay data from the
|
|
100
|
+
* beginning, skip to the latest records, or jump to specific offsets.
|
|
101
|
+
*
|
|
102
|
+
* The `position` parameter determines where reading will resume:
|
|
103
|
+
*
|
|
104
|
+
* * `earliest`: Reset to the beginning of each partition (offset 0)
|
|
105
|
+
* * `latest`: Reset to the current end of each partition
|
|
106
|
+
* * `specific`: Reset to explicit offsets for each partition
|
|
107
|
+
*
|
|
108
|
+
* @alpha
|
|
109
|
+
*
|
|
110
|
+
* Required Scopes: [api:streams-write]
|
|
111
|
+
* URL: /v2/highScale/streams/datasets/{datasetRid}/streams/{streamBranchName}/subscribers/{subscriberSubscriberId}/resetOffsets
|
|
112
|
+
*/
|
|
113
|
+
export function resetOffsets($ctx, ...args) {
|
|
114
|
+
return $foundryPlatformFetch($ctx, _resetOffsets, ...args);
|
|
115
|
+
}
|
|
116
|
+
//# sourceMappingURL=Subscriber.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Subscriber.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_create","create","$ctx","args","_deleteSubscriber","deleteSubscriber","_readRecords","readRecords","_commitOffsets","commitOffsets","_getReadPosition","getReadPosition","_resetOffsets","resetOffsets"],"sources":["Subscriber.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/streams/datasets/{0}/streams/{1}/subscribers\", 3];\n/**\n * Register a new subscriber for a stream. Subscribers maintain server-side offset tracking,\n * allowing reliable consumption without client-side state management.\n *\n * If a subscriber with the same ID already exists for this stream, the existing registration\n * is returned. If a subscriber with the same ID exists for a different stream, an error is returned.\n *\n * @alpha\n *\n * Required Scopes: [api:streams-write]\n * URL: /v2/streams/datasets/{datasetRid}/streams/{streamBranchName}/subscribers\n */\nexport function create($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _create, ...args);\n}\nconst _deleteSubscriber = [3, \"/v2/streams/datasets/{0}/streams/{1}/subscribers/{2}\", 2];\n/**\n * Delete a subscriber and all its committed offset state. After deletion, the subscriber ID\n * can be reused to create a new subscriber.\n *\n * @alpha\n *\n * Required Scopes: [api:streams-write]\n * URL: /v2/streams/datasets/{datasetRid}/streams/{streamBranchName}/subscribers/{subscriberSubscriberId}\n */\nexport function deleteSubscriber($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _deleteSubscriber, ...args);\n}\nconst _readRecords = [\n 1,\n \"/v2/highScale/streams/datasets/{0}/streams/{1}/subscribers/{2}/readRecords\",\n 3,\n];\n/**\n * Fetch records for a subscriber starting from their committed offset. Returns records\n * grouped by partition.\n *\n * If `autoCommit` is true, offsets are automatically committed after the records are\n * fetched, so the next read will start from where this one left off.\n *\n * If `autoCommit` is false, you must call `commitOffsets` to update the read position.\n * Use manual commits for at-least-once processing where you need to ensure records are\n * processed before acknowledging them.\n *\n * @alpha\n *\n * Required Scopes: [api:streams-read]\n * URL: /v2/highScale/streams/datasets/{datasetRid}/streams/{streamBranchName}/subscribers/{subscriberSubscriberId}/readRecords\n */\nexport function readRecords($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _readRecords, ...args);\n}\nconst _commitOffsets = [\n 1,\n \"/v2/highScale/streams/datasets/{0}/streams/{1}/subscribers/{2}/commitOffsets\",\n 3,\n];\n/**\n * Explicitly commit offsets for a subscriber. Required when `autoCommit` is false.\n *\n * Pass the last offset you processed for each partition.\n *\n * For example, if you processed a record at offset 50, commit `{\"0\": 50}` and the next\n * read from partition \"0\" will start at offset 51.\n *\n * @alpha\n *\n * Required Scopes: [api:streams-write]\n * URL: /v2/highScale/streams/datasets/{datasetRid}/streams/{streamBranchName}/subscribers/{subscriberSubscriberId}/commitOffsets\n */\nexport function commitOffsets($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _commitOffsets, ...args);\n}\nconst _getReadPosition = [\n 0,\n \"/v2/highScale/streams/datasets/{0}/streams/{1}/subscribers/{2}/getReadPosition\",\n 2,\n];\n/**\n * Get the current read position for a subscriber. Returns the offset per partition where the next read\n * will begin.\n *\n * @alpha\n *\n * Required Scopes: [api:streams-read]\n * URL: /v2/highScale/streams/datasets/{datasetRid}/streams/{streamBranchName}/subscribers/{subscriberSubscriberId}/getReadPosition\n */\nexport function getReadPosition($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getReadPosition, ...args);\n}\nconst _resetOffsets = [\n 1,\n \"/v2/highScale/streams/datasets/{0}/streams/{1}/subscribers/{2}/resetOffsets\",\n 3,\n];\n/**\n * Reset subscriber offsets to a specific position. Use this to replay data from the\n * beginning, skip to the latest records, or jump to specific offsets.\n *\n * The `position` parameter determines where reading will resume:\n *\n * * `earliest`: Reset to the beginning of each partition (offset 0)\n * * `latest`: Reset to the current end of each partition\n * * `specific`: Reset to explicit offsets for each partition\n *\n * @alpha\n *\n * Required Scopes: [api:streams-write]\n * URL: /v2/highScale/streams/datasets/{datasetRid}/streams/{streamBranchName}/subscribers/{subscriberSubscriberId}/resetOffsets\n */\nexport function resetOffsets($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _resetOffsets, ...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,kDAAkD,EAAE,CAAC,CAAC;AAC1E;AACA;AACA;AACA;AACA;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,iBAAiB,GAAG,CAAC,CAAC,EAAE,sDAAsD,EAAE,CAAC,CAAC;AACxF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,gBAAgBA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC5C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,iBAAiB,EAAE,GAAGD,IAAI,CAAC;AAClE;AACA,MAAMG,YAAY,GAAG,CACjB,CAAC,EACD,4EAA4E,EAC5E,CAAC,CACJ;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,WAAWA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EACvC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,YAAY,EAAE,GAAGH,IAAI,CAAC;AAC7D;AACA,MAAMK,cAAc,GAAG,CACnB,CAAC,EACD,8EAA8E,EAC9E,CAAC,CACJ;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,aAAaA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EACzC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,cAAc,EAAE,GAAGL,IAAI,CAAC;AAC/D;AACA,MAAMO,gBAAgB,GAAG,CACrB,CAAC,EACD,gFAAgF,EAChF,CAAC,CACJ;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,eAAeA,CAACT,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC3C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEQ,gBAAgB,EAAE,GAAGP,IAAI,CAAC;AACjE;AACA,MAAMS,aAAa,GAAG,CAClB,CAAC,EACD,6EAA6E,EAC7E,CAAC,CACJ;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,YAAYA,CAACX,IAAI,EAAE,GAAGC,IAAI,EAAE;EACxC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEU,aAAa,EAAE,GAAGT,IAAI,CAAC;AAC9D","ignoreList":[]}
|
|
@@ -4,6 +4,13 @@ import type * as _Filesystem from "@osdk/foundry.filesystem";
|
|
|
4
4
|
export type LooselyBrandedString<T extends string> = string & {
|
|
5
5
|
__LOOSE_BRAND?: T;
|
|
6
6
|
};
|
|
7
|
+
/**
|
|
8
|
+
* Log Safety: SAFE
|
|
9
|
+
*/
|
|
10
|
+
export interface CommitSubscriberOffsetsRequest {
|
|
11
|
+
viewRid?: ViewRid;
|
|
12
|
+
offsets: PartitionOffsets;
|
|
13
|
+
}
|
|
7
14
|
/**
|
|
8
15
|
* Compression helps reduce the size of the data being sent, resulting in lower network usage and
|
|
9
16
|
storage, at the cost of some additional CPU usage for compression and decompression. This stream type
|
|
@@ -61,6 +68,48 @@ export interface CreateStreamRequestStreamSchema {
|
|
|
61
68
|
fields: Array<_Core.Field>;
|
|
62
69
|
changeDataCapture?: _Core.ChangeDataCaptureConfiguration;
|
|
63
70
|
}
|
|
71
|
+
/**
|
|
72
|
+
* Log Safety: SAFE
|
|
73
|
+
*/
|
|
74
|
+
export interface CreateSubscriberRequest {
|
|
75
|
+
subscriberId: SubscriberId;
|
|
76
|
+
readPosition?: ReadPosition;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Log Safety: SAFE
|
|
80
|
+
*/
|
|
81
|
+
export interface CreateSubscriberRequestEarliestPosition {
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Log Safety: SAFE
|
|
85
|
+
*/
|
|
86
|
+
export interface CreateSubscriberRequestLatestPosition {
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Position to start reading from when registering a subscriber or resetting offsets.
|
|
90
|
+
|
|
91
|
+
earliest: Start reading from the beginning of each partition (offset 0). Use this to
|
|
92
|
+
reprocess all historical data in the stream.
|
|
93
|
+
latest: Start reading from the current end of each partition. Use this to skip
|
|
94
|
+
historical data and only process new records arriving after registration.
|
|
95
|
+
specific: Start reading from explicit offsets for each partition. Use this for precise
|
|
96
|
+
replay scenarios or to resume from a known checkpoint.
|
|
97
|
+
*
|
|
98
|
+
* Log Safety: SAFE
|
|
99
|
+
*/
|
|
100
|
+
export type CreateSubscriberRequestReadPosition = ({
|
|
101
|
+
type: "specific";
|
|
102
|
+
} & CreateSubscriberRequestSpecificPosition) | ({
|
|
103
|
+
type: "earliest";
|
|
104
|
+
} & CreateSubscriberRequestEarliestPosition) | ({
|
|
105
|
+
type: "latest";
|
|
106
|
+
} & CreateSubscriberRequestLatestPosition);
|
|
107
|
+
/**
|
|
108
|
+
* Log Safety: SAFE
|
|
109
|
+
*/
|
|
110
|
+
export interface CreateSubscriberRequestSpecificPosition {
|
|
111
|
+
offsets: PartitionOffsets;
|
|
112
|
+
}
|
|
64
113
|
/**
|
|
65
114
|
* Log Safety: UNSAFE
|
|
66
115
|
*/
|
|
@@ -69,6 +118,14 @@ export interface Dataset {
|
|
|
69
118
|
name: _Datasets.DatasetName;
|
|
70
119
|
parentFolderRid: _Filesystem.FolderRid;
|
|
71
120
|
}
|
|
121
|
+
/**
|
|
122
|
+
* Start reading from the beginning of the stream. Sets offset to 0 for all partitions,
|
|
123
|
+
allowing the subscriber to read all historical data from the start.
|
|
124
|
+
*
|
|
125
|
+
* Log Safety: SAFE
|
|
126
|
+
*/
|
|
127
|
+
export interface EarliestPosition {
|
|
128
|
+
}
|
|
72
129
|
/**
|
|
73
130
|
* The end offsets for each partition of a stream.
|
|
74
131
|
*
|
|
@@ -81,12 +138,33 @@ export type GetEndOffsetsResponse = Record<PartitionId, string>;
|
|
|
81
138
|
* Log Safety: DO_NOT_LOG
|
|
82
139
|
*/
|
|
83
140
|
export type GetRecordsResponse = Array<RecordWithOffset>;
|
|
141
|
+
/**
|
|
142
|
+
* Start reading from the current end of the stream. Sets offsets to the latest available
|
|
143
|
+
offset for each partition, meaning the subscriber will only receive records published
|
|
144
|
+
after this point.
|
|
145
|
+
*
|
|
146
|
+
* Log Safety: SAFE
|
|
147
|
+
*/
|
|
148
|
+
export interface LatestPosition {
|
|
149
|
+
}
|
|
84
150
|
/**
|
|
85
151
|
* The identifier for a partition of a Foundry stream.
|
|
86
152
|
*
|
|
87
153
|
* Log Safety: SAFE
|
|
88
154
|
*/
|
|
89
155
|
export type PartitionId = LooselyBrandedString<"PartitionId">;
|
|
156
|
+
/**
|
|
157
|
+
* A map of partition IDs to offsets.
|
|
158
|
+
*
|
|
159
|
+
* Log Safety: SAFE
|
|
160
|
+
*/
|
|
161
|
+
export type PartitionOffsets = Record<PartitionId, string>;
|
|
162
|
+
/**
|
|
163
|
+
* Records from a single partition with their offsets.
|
|
164
|
+
*
|
|
165
|
+
* Log Safety: DO_NOT_LOG
|
|
166
|
+
*/
|
|
167
|
+
export type PartitionRecords = Array<RecordWithOffset>;
|
|
90
168
|
/**
|
|
91
169
|
* The number of partitions for a Foundry stream.
|
|
92
170
|
*
|
|
@@ -107,6 +185,42 @@ export interface PublishRecordToStreamRequest {
|
|
|
107
185
|
record: _Record;
|
|
108
186
|
viewRid?: ViewRid;
|
|
109
187
|
}
|
|
188
|
+
/**
|
|
189
|
+
* Position to start reading from when registering a subscriber or resetting offsets.
|
|
190
|
+
|
|
191
|
+
earliest: Start reading from the beginning of each partition (offset 0). Use this to
|
|
192
|
+
reprocess all historical data in the stream.
|
|
193
|
+
latest: Start reading from the current end of each partition. Use this to skip
|
|
194
|
+
historical data and only process new records arriving after registration.
|
|
195
|
+
specific: Start reading from explicit offsets for each partition. Use this for precise
|
|
196
|
+
replay scenarios or to resume from a known checkpoint.
|
|
197
|
+
*
|
|
198
|
+
* Log Safety: SAFE
|
|
199
|
+
*/
|
|
200
|
+
export type ReadPosition = ({
|
|
201
|
+
type: "specific";
|
|
202
|
+
} & SpecificPosition) | ({
|
|
203
|
+
type: "earliest";
|
|
204
|
+
} & EarliestPosition) | ({
|
|
205
|
+
type: "latest";
|
|
206
|
+
} & LatestPosition);
|
|
207
|
+
/**
|
|
208
|
+
* Log Safety: SAFE
|
|
209
|
+
*/
|
|
210
|
+
export interface ReadRecordsFromSubscriberRequest {
|
|
211
|
+
viewRid?: ViewRid;
|
|
212
|
+
limit?: number;
|
|
213
|
+
partitionIds?: Array<PartitionId>;
|
|
214
|
+
autoCommit?: boolean;
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* Response containing records grouped by partition ID.
|
|
218
|
+
*
|
|
219
|
+
* Log Safety: DO_NOT_LOG
|
|
220
|
+
*/
|
|
221
|
+
export interface ReadSubscriberRecordsResponse {
|
|
222
|
+
recordsByPartition: Record<PartitionId, PartitionRecords>;
|
|
223
|
+
}
|
|
110
224
|
/**
|
|
111
225
|
* A record to be published to a stream.
|
|
112
226
|
*
|
|
@@ -131,6 +245,21 @@ export interface ResetStreamRequest {
|
|
|
131
245
|
streamType?: StreamType;
|
|
132
246
|
compressed?: Compressed;
|
|
133
247
|
}
|
|
248
|
+
/**
|
|
249
|
+
* Log Safety: SAFE
|
|
250
|
+
*/
|
|
251
|
+
export interface ResetSubscriberOffsetsRequest {
|
|
252
|
+
position: ReadPosition;
|
|
253
|
+
}
|
|
254
|
+
/**
|
|
255
|
+
* Start reading from specific offsets for each partition. Useful for resuming from a known
|
|
256
|
+
checkpoint or replaying from a specific point in time.
|
|
257
|
+
*
|
|
258
|
+
* Log Safety: SAFE
|
|
259
|
+
*/
|
|
260
|
+
export interface SpecificPosition {
|
|
261
|
+
offsets: PartitionOffsets;
|
|
262
|
+
}
|
|
134
263
|
/**
|
|
135
264
|
* Log Safety: UNSAFE
|
|
136
265
|
*/
|
|
@@ -149,13 +278,31 @@ introduce some non-zero latency at the expense of a higher throughput. This stre
|
|
|
149
278
|
recommended if you inspect your stream metrics in-platform and observe that the average batch size is equal
|
|
150
279
|
to the max match size, or if jobs using the stream are failing due to Kafka producer batches expiring. For
|
|
151
280
|
additional information on inspecting stream metrics, refer to the
|
|
152
|
-
|
|
281
|
+
stream monitoring documentation.
|
|
153
282
|
For more information, refer to the stream types
|
|
154
283
|
documentation.
|
|
155
284
|
*
|
|
156
285
|
* Log Safety: SAFE
|
|
157
286
|
*/
|
|
158
287
|
export type StreamType = "LOW_LATENCY" | "HIGH_THROUGHPUT";
|
|
288
|
+
/**
|
|
289
|
+
* Log Safety: UNSAFE
|
|
290
|
+
*/
|
|
291
|
+
export interface Subscriber {
|
|
292
|
+
subscriberId: SubscriberId;
|
|
293
|
+
readPosition?: ReadPosition;
|
|
294
|
+
datasetRid: _Core.DatasetRid;
|
|
295
|
+
branchName: _Core.BranchName;
|
|
296
|
+
viewRid: ViewRid;
|
|
297
|
+
startOffsets: PartitionOffsets;
|
|
298
|
+
createdTime: _Core.CreatedTime;
|
|
299
|
+
}
|
|
300
|
+
/**
|
|
301
|
+
* A unique identifier for a stream subscriber. Must be unique within the scope of a stream.
|
|
302
|
+
*
|
|
303
|
+
* Log Safety: SAFE
|
|
304
|
+
*/
|
|
305
|
+
export type SubscriberId = LooselyBrandedString<"SubscriberId">;
|
|
159
306
|
/**
|
|
160
307
|
* The resource identifier (RID) of the view that represents a stream.
|
|
161
308
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_components.d.ts","sourceRoot":"","sources":["../../src/_components.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,oBAAoB,CAAC;AACjD,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,MAAM,EAAE,KAAK,CAAC,YAAY,CAAC;IAC3B,UAAU,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC;IAC9B,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,+BAA+B,CAAC;IACxC,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;IAC7B,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB;AAED;;;;;;;KAOK;AACL,MAAM,MAAM,iDAAiD,GAAG;IAC9D,IAAI,EAAE,SAAS,CAAC;CACjB,GAAG,wDAAwD,CAAC;AAE7D;;GAEG;AACH,MAAM,WAAW,wDAAwD;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AE,KAAK,CAAC,YAAY,CAAC;IAC3B,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;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,YAAY,EAAE,YAAY,CAAC;IAC3B,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;IAC7B,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;IAC7B,OAAO,EAAE,OAAO,CAAC;IACjB,YAAY,EAAE,gBAAgB,CAAC;IAC/B,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;CAChC;AAED;;;;GAIG;AACH,MAAM,MAAM,YAAY,GAAG,oBAAoB,CAAC,cAAc,CAAC,CAAC;AAEhE;;;;GAIG;AACH,MAAM,MAAM,OAAO,GAAG,oBAAoB,CAAC,SAAS,CAAC,CAAC"}
|
package/build/esm/_errors.d.ts
CHANGED
|
@@ -29,6 +29,22 @@ export interface CannotWriteToTrashedStream {
|
|
|
29
29
|
datasetRid: unknown;
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
|
+
/**
|
|
33
|
+
* Could not commitOffsets the Subscriber.
|
|
34
|
+
*
|
|
35
|
+
* Log Safety: UNSAFE
|
|
36
|
+
*/
|
|
37
|
+
export interface CommitSubscriberOffsetsPermissionDenied {
|
|
38
|
+
errorCode: "PERMISSION_DENIED";
|
|
39
|
+
errorName: "CommitSubscriberOffsetsPermissionDenied";
|
|
40
|
+
errorDescription: "Could not commitOffsets the Subscriber.";
|
|
41
|
+
errorInstanceId: string;
|
|
42
|
+
parameters: {
|
|
43
|
+
datasetRid: unknown;
|
|
44
|
+
subscriberSubscriberId: unknown;
|
|
45
|
+
streamBranchName: unknown;
|
|
46
|
+
};
|
|
47
|
+
}
|
|
32
48
|
/**
|
|
33
49
|
* Could not create the Dataset.
|
|
34
50
|
*
|
|
@@ -56,6 +72,38 @@ export interface CreateStreamPermissionDenied {
|
|
|
56
72
|
streamBranchName: unknown;
|
|
57
73
|
};
|
|
58
74
|
}
|
|
75
|
+
/**
|
|
76
|
+
* Could not create the Subscriber.
|
|
77
|
+
*
|
|
78
|
+
* Log Safety: UNSAFE
|
|
79
|
+
*/
|
|
80
|
+
export interface CreateSubscriberPermissionDenied {
|
|
81
|
+
errorCode: "PERMISSION_DENIED";
|
|
82
|
+
errorName: "CreateSubscriberPermissionDenied";
|
|
83
|
+
errorDescription: "Could not create the Subscriber.";
|
|
84
|
+
errorInstanceId: string;
|
|
85
|
+
parameters: {
|
|
86
|
+
datasetRid: unknown;
|
|
87
|
+
subscriberSubscriberId: unknown;
|
|
88
|
+
streamBranchName: unknown;
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Could not delete the Subscriber.
|
|
93
|
+
*
|
|
94
|
+
* Log Safety: UNSAFE
|
|
95
|
+
*/
|
|
96
|
+
export interface DeleteSubscriberPermissionDenied {
|
|
97
|
+
errorCode: "PERMISSION_DENIED";
|
|
98
|
+
errorName: "DeleteSubscriberPermissionDenied";
|
|
99
|
+
errorDescription: "Could not delete the Subscriber.";
|
|
100
|
+
errorInstanceId: string;
|
|
101
|
+
parameters: {
|
|
102
|
+
datasetRid: unknown;
|
|
103
|
+
subscriberSubscriberId: unknown;
|
|
104
|
+
streamBranchName: unknown;
|
|
105
|
+
};
|
|
106
|
+
}
|
|
59
107
|
/**
|
|
60
108
|
* The byte stream could not be processed.
|
|
61
109
|
*
|
|
@@ -98,6 +146,22 @@ export interface GetRecordsFromStreamPermissionDenied {
|
|
|
98
146
|
streamBranchName: unknown;
|
|
99
147
|
};
|
|
100
148
|
}
|
|
149
|
+
/**
|
|
150
|
+
* Could not getReadPosition the Subscriber.
|
|
151
|
+
*
|
|
152
|
+
* Log Safety: UNSAFE
|
|
153
|
+
*/
|
|
154
|
+
export interface GetSubscriberReadPositionPermissionDenied {
|
|
155
|
+
errorCode: "PERMISSION_DENIED";
|
|
156
|
+
errorName: "GetSubscriberReadPositionPermissionDenied";
|
|
157
|
+
errorDescription: "Could not getReadPosition the Subscriber.";
|
|
158
|
+
errorInstanceId: string;
|
|
159
|
+
parameters: {
|
|
160
|
+
datasetRid: unknown;
|
|
161
|
+
subscriberSubscriberId: unknown;
|
|
162
|
+
streamBranchName: unknown;
|
|
163
|
+
};
|
|
164
|
+
}
|
|
101
165
|
/**
|
|
102
166
|
* The requested stream exists but is invalid, as it does not have a schema.
|
|
103
167
|
*
|
|
@@ -173,6 +237,22 @@ export interface PublishRecordToStreamPermissionDenied {
|
|
|
173
237
|
streamBranchName: unknown;
|
|
174
238
|
};
|
|
175
239
|
}
|
|
240
|
+
/**
|
|
241
|
+
* Could not readRecords the Subscriber.
|
|
242
|
+
*
|
|
243
|
+
* Log Safety: UNSAFE
|
|
244
|
+
*/
|
|
245
|
+
export interface ReadRecordsFromSubscriberPermissionDenied {
|
|
246
|
+
errorCode: "PERMISSION_DENIED";
|
|
247
|
+
errorName: "ReadRecordsFromSubscriberPermissionDenied";
|
|
248
|
+
errorDescription: "Could not readRecords the Subscriber.";
|
|
249
|
+
errorInstanceId: string;
|
|
250
|
+
parameters: {
|
|
251
|
+
datasetRid: unknown;
|
|
252
|
+
subscriberSubscriberId: unknown;
|
|
253
|
+
streamBranchName: unknown;
|
|
254
|
+
};
|
|
255
|
+
}
|
|
176
256
|
/**
|
|
177
257
|
* A provided record does not match the stream schema
|
|
178
258
|
*
|
|
@@ -216,6 +296,22 @@ export interface ResetStreamPermissionDenied {
|
|
|
216
296
|
streamBranchName: unknown;
|
|
217
297
|
};
|
|
218
298
|
}
|
|
299
|
+
/**
|
|
300
|
+
* Could not resetOffsets the Subscriber.
|
|
301
|
+
*
|
|
302
|
+
* Log Safety: UNSAFE
|
|
303
|
+
*/
|
|
304
|
+
export interface ResetSubscriberOffsetsPermissionDenied {
|
|
305
|
+
errorCode: "PERMISSION_DENIED";
|
|
306
|
+
errorName: "ResetSubscriberOffsetsPermissionDenied";
|
|
307
|
+
errorDescription: "Could not resetOffsets the Subscriber.";
|
|
308
|
+
errorInstanceId: string;
|
|
309
|
+
parameters: {
|
|
310
|
+
datasetRid: unknown;
|
|
311
|
+
subscriberSubscriberId: unknown;
|
|
312
|
+
streamBranchName: unknown;
|
|
313
|
+
};
|
|
314
|
+
}
|
|
219
315
|
/**
|
|
220
316
|
* The given Stream could not be found.
|
|
221
317
|
*
|
|
@@ -231,6 +327,36 @@ export interface StreamNotFound {
|
|
|
231
327
|
streamBranchName: unknown;
|
|
232
328
|
};
|
|
233
329
|
}
|
|
330
|
+
/**
|
|
331
|
+
* A subscriber with this ID already exists for a different stream.
|
|
332
|
+
*
|
|
333
|
+
* Log Safety: UNSAFE
|
|
334
|
+
*/
|
|
335
|
+
export interface SubscriberAlreadyExists {
|
|
336
|
+
errorCode: "CONFLICT";
|
|
337
|
+
errorName: "SubscriberAlreadyExists";
|
|
338
|
+
errorDescription: "A subscriber with this ID already exists for a different stream.";
|
|
339
|
+
errorInstanceId: string;
|
|
340
|
+
parameters: {
|
|
341
|
+
subscriberId: unknown;
|
|
342
|
+
existingDatasetRid: unknown;
|
|
343
|
+
existingBranchName: unknown;
|
|
344
|
+
};
|
|
345
|
+
}
|
|
346
|
+
/**
|
|
347
|
+
* No subscriber with the given ID was found.
|
|
348
|
+
*
|
|
349
|
+
* Log Safety: SAFE
|
|
350
|
+
*/
|
|
351
|
+
export interface SubscriberNotFound {
|
|
352
|
+
errorCode: "NOT_FOUND";
|
|
353
|
+
errorName: "SubscriberNotFound";
|
|
354
|
+
errorDescription: "No subscriber with the given ID was found.";
|
|
355
|
+
errorInstanceId: string;
|
|
356
|
+
parameters: {
|
|
357
|
+
subscriberId: unknown;
|
|
358
|
+
};
|
|
359
|
+
}
|
|
234
360
|
/**
|
|
235
361
|
* No view for the provided view RID provided could be found.
|
|
236
362
|
*
|
|
@@ -1 +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,gBAAgB,EAAE,qDAAqD,CAAC;IACxE,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,eAAe,EAAE,OAAO,CAAC;KAC1B,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACzC,SAAS,EAAE,kBAAkB,CAAC;IAC9B,SAAS,EAAE,4BAA4B,CAAC;IACxC,gBAAgB,EAAE,gDAAgD,CAAC;IACnE,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,UAAU,EAAE,OAAO,CAAC;KACrB,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,sCAAsC;IACrD,SAAS,EAAE,mBAAmB,CAAC;IAC/B,SAAS,EAAE,wCAAwC,CAAC;IACpD,gBAAgB,EAAE,+BAA+B,CAAC;IAClD,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,EAAE,CAAC;CAChB;AAED;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IAC3C,SAAS,EAAE,mBAAmB,CAAC;IAC/B,SAAS,EAAE,8BAA8B,CAAC;IAC1C,gBAAgB,EAAE,8BAA8B,CAAC;IACjD,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,UAAU,EAAE,OAAO,CAAC;QACpB,gBAAgB,EAAE,OAAO,CAAC;KAC3B,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,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AAM,CAAC;IACxB,UAAU,EAAE;QACV,YAAY,EAAE,OAAO,CAAC;KACvB,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE,WAAW,CAAC;IACvB,SAAS,EAAE,cAAc,CAAC;IAC1B,gBAAgB,EACd,4DAA4D,CAAC;IAC/D,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,OAAO,EAAE,OAAO,CAAC;KAClB,CAAC;CACH"}
|
package/build/esm/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export type { _Record, Compressed, CreateStreamingDatasetRequest, CreateStreamRequest, CreateStreamRequestChangeDataCaptureConfiguration, CreateStreamRequestFullRowChangeDataCaptureConfiguration, CreateStreamRequestStreamSchema, Dataset, GetEndOffsetsResponse, GetRecordsResponse, PartitionId, PartitionsCount, PublishRecordsToStreamRequest, PublishRecordToStreamRequest, RecordWithOffset, ResetStreamRequest, Stream, StreamType, ViewRid, } from "./_components.js";
|
|
2
|
-
export type { CannotCreateStreamingDatasetInUserFolder, CannotWriteToTrashedStream, CreateStreamingDatasetPermissionDenied, CreateStreamPermissionDenied, FailedToProcessBinaryRecord, GetEndOffsetsForStreamPermissionDenied, GetRecordsFromStreamPermissionDenied, InvalidStreamNoSchema, InvalidStreamType, PublishBinaryRecordToStreamPermissionDenied, PublishRecordsToStreamPermissionDenied, PublishRecordToStreamPermissionDenied, RecordDoesNotMatchStreamSchema, RecordTooLarge, ResetStreamPermissionDenied, StreamNotFound, ViewNotFound, } from "./_errors.js";
|
|
1
|
+
export type { _Record, CommitSubscriberOffsetsRequest, Compressed, CreateStreamingDatasetRequest, CreateStreamRequest, CreateStreamRequestChangeDataCaptureConfiguration, CreateStreamRequestFullRowChangeDataCaptureConfiguration, CreateStreamRequestStreamSchema, CreateSubscriberRequest, CreateSubscriberRequestEarliestPosition, CreateSubscriberRequestLatestPosition, CreateSubscriberRequestReadPosition, CreateSubscriberRequestSpecificPosition, Dataset, EarliestPosition, GetEndOffsetsResponse, GetRecordsResponse, LatestPosition, PartitionId, PartitionOffsets, PartitionRecords, PartitionsCount, PublishRecordsToStreamRequest, PublishRecordToStreamRequest, ReadPosition, ReadRecordsFromSubscriberRequest, ReadSubscriberRecordsResponse, RecordWithOffset, ResetStreamRequest, ResetSubscriberOffsetsRequest, SpecificPosition, Stream, StreamType, Subscriber, SubscriberId, ViewRid, } from "./_components.js";
|
|
2
|
+
export type { CannotCreateStreamingDatasetInUserFolder, CannotWriteToTrashedStream, CommitSubscriberOffsetsPermissionDenied, CreateStreamingDatasetPermissionDenied, CreateStreamPermissionDenied, CreateSubscriberPermissionDenied, DeleteSubscriberPermissionDenied, FailedToProcessBinaryRecord, GetEndOffsetsForStreamPermissionDenied, GetRecordsFromStreamPermissionDenied, GetSubscriberReadPositionPermissionDenied, InvalidStreamNoSchema, InvalidStreamType, PublishBinaryRecordToStreamPermissionDenied, PublishRecordsToStreamPermissionDenied, PublishRecordToStreamPermissionDenied, ReadRecordsFromSubscriberPermissionDenied, RecordDoesNotMatchStreamSchema, RecordTooLarge, ResetStreamPermissionDenied, ResetSubscriberOffsetsPermissionDenied, StreamNotFound, SubscriberAlreadyExists, SubscriberNotFound, ViewNotFound, } from "./_errors.js";
|
|
3
3
|
export * as Datasets from "./public/Dataset.js";
|
|
4
4
|
export * as Streams from "./public/Stream.js";
|
|
5
|
+
export * as Subscribers from "./public/Subscriber.js";
|
|
5
6
|
//# sourceMappingURL=index.d.ts.map
|
package/build/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAgBA,YAAY,EACV,OAAO,EACP,UAAU,EACV,6BAA6B,EAC7B,mBAAmB,EACnB,iDAAiD,EACjD,wDAAwD,EACxD,+BAA+B,EAC/B,OAAO,EACP,qBAAqB,EACrB,kBAAkB,EAClB,WAAW,EACX,eAAe,EACf,6BAA6B,EAC7B,4BAA4B,EAC5B,gBAAgB,EAChB,kBAAkB,EAClB,MAAM,EACN,UAAU,EACV,OAAO,GACR,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EACV,wCAAwC,EACxC,0BAA0B,EAC1B,sCAAsC,EACtC,4BAA4B,EAC5B,2BAA2B,EAC3B,sCAAsC,EACtC,oCAAoC,EACpC,qBAAqB,EACrB,iBAAiB,EACjB,2CAA2C,EAC3C,sCAAsC,EACtC,qCAAqC,EACrC,8BAA8B,EAC9B,cAAc,EACd,2BAA2B,EAC3B,cAAc,EACd,YAAY,GACb,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC;AAChD,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAgBA,YAAY,EACV,OAAO,EACP,8BAA8B,EAC9B,UAAU,EACV,6BAA6B,EAC7B,mBAAmB,EACnB,iDAAiD,EACjD,wDAAwD,EACxD,+BAA+B,EAC/B,uBAAuB,EACvB,uCAAuC,EACvC,qCAAqC,EACrC,mCAAmC,EACnC,uCAAuC,EACvC,OAAO,EACP,gBAAgB,EAChB,qBAAqB,EACrB,kBAAkB,EAClB,cAAc,EACd,WAAW,EACX,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,EACf,6BAA6B,EAC7B,4BAA4B,EAC5B,YAAY,EACZ,gCAAgC,EAChC,6BAA6B,EAC7B,gBAAgB,EAChB,kBAAkB,EAClB,6BAA6B,EAC7B,gBAAgB,EAChB,MAAM,EACN,UAAU,EACV,UAAU,EACV,YAAY,EACZ,OAAO,GACR,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EACV,wCAAwC,EACxC,0BAA0B,EAC1B,uCAAuC,EACvC,sCAAsC,EACtC,4BAA4B,EAC5B,gCAAgC,EAChC,gCAAgC,EAChC,2BAA2B,EAC3B,sCAAsC,EACtC,oCAAoC,EACpC,yCAAyC,EACzC,qBAAqB,EACrB,iBAAiB,EACjB,2CAA2C,EAC3C,sCAAsC,EACtC,qCAAqC,EACrC,yCAAyC,EACzC,8BAA8B,EAC9B,cAAc,EACd,2BAA2B,EAC3B,sCAAsC,EACtC,cAAc,EACd,uBAAuB,EACvB,kBAAkB,EAClB,YAAY,GACb,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC;AAChD,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAC;AAC9C,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAC"}
|
package/build/esm/index.js
CHANGED
package/build/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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
|
+
{"version":3,"file":"index.js","names":["Datasets","Streams","Subscribers"],"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\";\nexport * as Subscribers from \"./public/Subscriber.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;AAC7C,OAAO,KAAKC,WAAW,MAAM,wBAAwB","ignoreList":[]}
|