@osdk/foundry.orchestration 0.0.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.
@@ -0,0 +1,21 @@
1
+ import { foundryPlatformFetch } from '@osdk/shared.net.platformapi';
2
+
3
+ var __defProp = Object.defineProperty;
4
+ var __export = (target, all) => {
5
+ for (var name in all)
6
+ __defProp(target, name, { get: all[name], enumerable: true });
7
+ };
8
+
9
+ // src/public/Schedule.ts
10
+ var Schedule_exports = {};
11
+ __export(Schedule_exports, {
12
+ getSchedule: () => getSchedule
13
+ });
14
+ var _getSchedule = [0, "/v2/orchestration/schedules/{0}", 2];
15
+ function getSchedule($ctx, ...args) {
16
+ return foundryPlatformFetch($ctx, _getSchedule, ...args);
17
+ }
18
+
19
+ export { Schedule_exports, getSchedule };
20
+ //# sourceMappingURL=chunk-2KKE6G2P.js.map
21
+ //# sourceMappingURL=chunk-2KKE6G2P.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/public/Schedule.ts"],"names":["$foundryPlatformFetch"],"mappings":";;;;;;;;;AAAA,IAAA,gBAAA,GAAA,GAAA;AAAA,QAAA,CAAA,gBAAA,EAAA;AAAA,EAAA,WAAA,EAAA,MAAA,WAAA;AAAA,CAAA,CAAA,CAAA;AAmBA,IAAM,YAAe,GAAA,CAAC,CAAG,EAAA,iCAAA,EAAmC,CAAC,CAAA,CAAA;AAQtD,SAAS,WAAA,CAAY,SAAS,IAAM,EAAA;AACzC,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,YAAc,EAAA,GAAG,IAAI,CAAA,CAAA;AAC1D","file":"chunk-2KKE6G2P.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 _getSchedule = [0, \"/v2/orchestration/schedules/{0}\", 2];\n\n/**\n * Get the Schedule\n *\n * Required Scopes: [api:orchestration-read]\n * URL: /v2/orchestration/schedules/{scheduleRid}\n */\nexport function getSchedule($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getSchedule, ...args);\n}"]}
@@ -0,0 +1,6 @@
1
+ // src/public/ScheduleVersion.ts
2
+ var ScheduleVersion_exports = {};
3
+
4
+ export { ScheduleVersion_exports };
5
+ //# sourceMappingURL=chunk-VNXNO6G4.js.map
6
+ //# sourceMappingURL=chunk-VNXNO6G4.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/public/ScheduleVersion.ts"],"names":[],"mappings":";AAAA,IAAA,uBAAA,GAAA","file":"chunk-VNXNO6G4.js","sourcesContent":["export {};"]}
@@ -0,0 +1,4 @@
1
+ export { Schedule_exports as Schedules } from './chunk-2KKE6G2P.js';
2
+ export { ScheduleVersion_exports as ScheduleVersions } from './chunk-VNXNO6G4.js';
3
+ //# sourceMappingURL=index.js.map
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -0,0 +1,3 @@
1
+ export { getSchedule } from '../chunk-2KKE6G2P.js';
2
+ //# sourceMappingURL=Schedule.js.map
3
+ //# sourceMappingURL=Schedule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"Schedule.js"}
@@ -0,0 +1,3 @@
1
+ import '../chunk-VNXNO6G4.js';
2
+ //# sourceMappingURL=ScheduleVersion.js.map
3
+ //# sourceMappingURL=ScheduleVersion.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"ScheduleVersion.js"}
@@ -0,0 +1,279 @@
1
+ import type { CreatedBy, CreatedTime, Duration, MediaSetRid, ProjectRid, UpdatedBy, UpdatedTime } from "@osdk/foundry.core";
2
+ import type { BranchName, DatasetRid } from "@osdk/foundry.datasets";
3
+ export type LooselyBrandedString<T extends string> = string & {
4
+ __LOOSE_BRAND?: T;
5
+ };
6
+ /**
7
+ * If any job in the build is unsuccessful, immediately finish the
8
+ build by cancelling all other jobs.
9
+ *
10
+ * Log Safety: SAFE
11
+ */
12
+ export type AbortOnFailure = boolean;
13
+ /**
14
+ * Log Safety: UNSAFE
15
+ */
16
+ export interface Action {
17
+ target: BuildTarget;
18
+ branchName: BranchName;
19
+ fallbackBranches: FallbackBranches;
20
+ forceBuild: ForceBuild;
21
+ retryCount?: RetryCount;
22
+ retryBackoffDuration?: RetryBackoffDuration;
23
+ abortOnFailure: AbortOnFailure;
24
+ notificationsEnabled: NotificationsEnabled;
25
+ }
26
+ /**
27
+ * Trigger after all of the given triggers emit an event.
28
+ *
29
+ * Log Safety: UNSAFE
30
+ */
31
+ export interface AndTrigger {
32
+ triggers: Array<Trigger>;
33
+ }
34
+ /**
35
+ * The status of the build.
36
+ *
37
+ * Log Safety: SAFE
38
+ */
39
+ export type BuildStatus = "RUNNING" | "SUCCEEDED" | "FAILED" | "CANCELED";
40
+ /**
41
+ * The targets of the build.
42
+ *
43
+ * Log Safety: UNSAFE
44
+ */
45
+ export type BuildTarget = ({
46
+ type: "manual";
47
+ } & ManualTarget) | ({
48
+ type: "upstream";
49
+ } & UpstreamTarget) | ({
50
+ type: "connecting";
51
+ } & ConnectingTarget);
52
+ /**
53
+ * All datasets between the input datasets (exclusive) and the
54
+ target datasets (inclusive) except for the datasets to ignore.
55
+ *
56
+ * Log Safety: SAFE
57
+ */
58
+ export interface ConnectingTarget {
59
+ inputDatasetRids: Array<DatasetRid>;
60
+ targetDatasetRids: Array<DatasetRid>;
61
+ ignoredDatasetRids: Array<DatasetRid>;
62
+ }
63
+ /**
64
+ * A standard CRON expression with minute, hour, day, month
65
+ and day of week.
66
+ *
67
+ * Log Safety: SAFE
68
+ */
69
+ export type CronExpression = LooselyBrandedString<"CronExpression">;
70
+ /**
71
+ * Trigger whenever a new transaction is committed to the
72
+ dataset on the target branch.
73
+ *
74
+ * Log Safety: UNSAFE
75
+ */
76
+ export interface DatasetUpdatedTrigger {
77
+ datasetRid: DatasetRid;
78
+ branchName: BranchName;
79
+ }
80
+ /**
81
+ * The branches to retrieve JobSpecs from if no JobSpec is found on the
82
+ target branch.
83
+ *
84
+ * Log Safety: UNSAFE
85
+ */
86
+ export type FallbackBranches = Array<BranchName>;
87
+ /**
88
+ * Whether to ignore staleness information when running the build.
89
+ *
90
+ * Log Safety: SAFE
91
+ */
92
+ export type ForceBuild = boolean;
93
+ /**
94
+ * Trigger whenever a job succeeds on the dataset and on the target
95
+ branch.
96
+ *
97
+ * Log Safety: UNSAFE
98
+ */
99
+ export interface JobSucceededTrigger {
100
+ datasetRid: DatasetRid;
101
+ branchName: BranchName;
102
+ }
103
+ /**
104
+ * Manually specify all datasets to build.
105
+ *
106
+ * Log Safety: SAFE
107
+ */
108
+ export interface ManualTarget {
109
+ datasetRids: Array<DatasetRid>;
110
+ }
111
+ /**
112
+ * Trigger whenever an update is made to a media set on the target
113
+ branch. For transactional media sets, this happens when a transaction
114
+ is committed. For non-transactional media sets, this event happens
115
+ eventually (but not necessary immediately) after an update.
116
+ *
117
+ * Log Safety: UNSAFE
118
+ */
119
+ export interface MediaSetUpdatedTrigger {
120
+ mediaSetRid: MediaSetRid;
121
+ branchName: BranchName;
122
+ }
123
+ /**
124
+ * Trigger whenever a new JobSpec is put on the dataset and on
125
+ that branch.
126
+ *
127
+ * Log Safety: UNSAFE
128
+ */
129
+ export interface NewLogicTrigger {
130
+ branchName: BranchName;
131
+ datasetRid: DatasetRid;
132
+ }
133
+ /**
134
+ * Whether to receive a notification at the end of scheduled builds.
135
+ *
136
+ * Log Safety: SAFE
137
+ */
138
+ export type NotificationsEnabled = boolean;
139
+ /**
140
+ * Trigger whenever any of the given triggers emit an event.
141
+ *
142
+ * Log Safety: UNSAFE
143
+ */
144
+ export interface OrTrigger {
145
+ triggers: Array<Trigger>;
146
+ }
147
+ /**
148
+ * The schedule will only build resources in the following projects.
149
+ *
150
+ * Log Safety: SAFE
151
+ */
152
+ export interface ProjectScope {
153
+ projectRids: Array<ProjectRid>;
154
+ }
155
+ /**
156
+ * The duration to wait between job retries. Defaults to 0.
157
+ *
158
+ * Log Safety: SAFE
159
+ */
160
+ export interface RetryBackoffDuration {
161
+ duration: Duration;
162
+ }
163
+ /**
164
+ * The number of run attempts for failed jobs.
165
+ *
166
+ * Log Safety: SAFE
167
+ */
168
+ export type RetryCount = number;
169
+ /**
170
+ * Log Safety: UNSAFE
171
+ */
172
+ export interface Schedule {
173
+ rid: ScheduleRid;
174
+ displayName?: string;
175
+ description?: string;
176
+ versionRid: ScheduleVersionRid;
177
+ createdTime: CreatedTime;
178
+ createdBy: CreatedBy;
179
+ updatedTime: UpdatedTime;
180
+ updatedBy: UpdatedBy;
181
+ paused: SchedulePaused;
182
+ trigger?: Trigger;
183
+ action: Action;
184
+ scopeMode: ScopeMode;
185
+ }
186
+ /**
187
+ * Log Safety: UNSAFE
188
+ */
189
+ export type SchedulePaused = boolean;
190
+ /**
191
+ * The Resource Identifier (RID) of a Schedule.
192
+ *
193
+ * Log Safety: SAFE
194
+ */
195
+ export type ScheduleRid = LooselyBrandedString<"ScheduleRid">;
196
+ /**
197
+ * Trigger whenever the specified schedule completes its action
198
+ successfully.
199
+ *
200
+ * Log Safety: SAFE
201
+ */
202
+ export interface ScheduleSucceededTrigger {
203
+ scheduleRid: ScheduleRid;
204
+ }
205
+ /**
206
+ * Log Safety: SAFE
207
+ */
208
+ export interface ScheduleVersion {
209
+ rid: ScheduleVersionRid;
210
+ }
211
+ /**
212
+ * The RID of a schedule version
213
+ *
214
+ * Log Safety: SAFE
215
+ */
216
+ export type ScheduleVersionRid = LooselyBrandedString<"ScheduleVersionRid">;
217
+ /**
218
+ * The boundaries for the schedule build.
219
+ *
220
+ * Log Safety: UNSAFE
221
+ */
222
+ export type ScopeMode = ({
223
+ type: "user";
224
+ } & UserScope) | ({
225
+ type: "project";
226
+ } & ProjectScope);
227
+ /**
228
+ * Trigger on a time based schedule.
229
+ *
230
+ * Log Safety: SAFE
231
+ */
232
+ export interface TimeTrigger {
233
+ cronExpression: CronExpression;
234
+ timeZone: ZoneId;
235
+ }
236
+ /**
237
+ * Log Safety: UNSAFE
238
+ */
239
+ export type Trigger = ({
240
+ type: "and";
241
+ } & AndTrigger) | ({
242
+ type: "or";
243
+ } & OrTrigger) | ({
244
+ type: "time";
245
+ } & TimeTrigger) | ({
246
+ type: "datasetUpdated";
247
+ } & DatasetUpdatedTrigger) | ({
248
+ type: "newLogic";
249
+ } & NewLogicTrigger) | ({
250
+ type: "jobSucceeded";
251
+ } & JobSucceededTrigger) | ({
252
+ type: "scheduleSucceeded";
253
+ } & ScheduleSucceededTrigger) | ({
254
+ type: "mediaSetUpdated";
255
+ } & MediaSetUpdatedTrigger);
256
+ /**
257
+ * Target the specified datasets along with all upstream datasets except the ignored datasets.
258
+ *
259
+ * Log Safety: SAFE
260
+ */
261
+ export interface UpstreamTarget {
262
+ datasetRids: Array<DatasetRid>;
263
+ ignoredDatasetRids: Array<DatasetRid>;
264
+ }
265
+ /**
266
+ * When triggered, the schedule will build all resources that the
267
+ associated user is permitted to build.
268
+ *
269
+ * Log Safety: SAFE
270
+ */
271
+ export interface UserScope {
272
+ }
273
+ /**
274
+ * A string representation of a java.time.ZoneId
275
+ *
276
+ * Log Safety: SAFE
277
+ */
278
+ export type ZoneId = LooselyBrandedString<"ZoneId">;
279
+ //# 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,EACV,SAAS,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AA;CAAE,GAAG,WAAW,CAAC,GAChC,CAAC;IAAE,IAAI,EAAE,gBAAgB,CAAA;CAAE,GAAG,qBAAqB,CAAC,GACpD,CAAC;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,GAAG,eAAe,CAAC,GACxC,CAAC;IAAE,IAAI,EAAE,cAAc,CAAA;CAAE,GAAG,mBAAmB,CAAC,GAChD,CAAC;IAAE,IAAI,EAAE,mBAAmB,CAAA;CAAE,GAAG,wBAAwB,CAAC,GAC1D,CAAC;IAAE,IAAI,EAAE,iBAAiB,CAAA;CAAE,GAAG,sBAAsB,CAAC,CAAC;AAE3D;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC7B,WAAW,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;IAC/B,kBAAkB,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;CACvC;AAED;;;;;KAKK;AACL,MAAM,WAAW,SAAS;CAAG;AAE7B;;;;GAIG;AACH,MAAM,MAAM,MAAM,GAAG,oBAAoB,CAAC,QAAQ,CAAC,CAAC"}
@@ -0,0 +1,21 @@
1
+ import { foundryPlatformFetch } from '@osdk/shared.net.platformapi';
2
+
3
+ var __defProp = Object.defineProperty;
4
+ var __export = (target, all) => {
5
+ for (var name in all)
6
+ __defProp(target, name, { get: all[name], enumerable: true });
7
+ };
8
+
9
+ // src/public/Schedule.ts
10
+ var Schedule_exports = {};
11
+ __export(Schedule_exports, {
12
+ getSchedule: () => getSchedule
13
+ });
14
+ var _getSchedule = [0, "/v2/orchestration/schedules/{0}", 2];
15
+ function getSchedule($ctx, ...args) {
16
+ return foundryPlatformFetch($ctx, _getSchedule, ...args);
17
+ }
18
+
19
+ export { Schedule_exports, getSchedule };
20
+ //# sourceMappingURL=chunk-2KKE6G2P.js.map
21
+ //# sourceMappingURL=chunk-2KKE6G2P.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/public/Schedule.ts"],"names":["$foundryPlatformFetch"],"mappings":";;;;;;;;;AAAA,IAAA,gBAAA,GAAA,GAAA;AAAA,QAAA,CAAA,gBAAA,EAAA;AAAA,EAAA,WAAA,EAAA,MAAA,WAAA;AAAA,CAAA,CAAA,CAAA;AAmBA,IAAM,YAAe,GAAA,CAAC,CAAG,EAAA,iCAAA,EAAmC,CAAC,CAAA,CAAA;AAQtD,SAAS,WAAA,CAAY,SAAS,IAAM,EAAA;AACzC,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,YAAc,EAAA,GAAG,IAAI,CAAA,CAAA;AAC1D","file":"chunk-2KKE6G2P.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 _getSchedule = [0, \"/v2/orchestration/schedules/{0}\", 2];\n\n/**\n * Get the Schedule\n *\n * Required Scopes: [api:orchestration-read]\n * URL: /v2/orchestration/schedules/{scheduleRid}\n */\nexport function getSchedule($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getSchedule, ...args);\n}"]}
@@ -0,0 +1,6 @@
1
+ // src/public/ScheduleVersion.ts
2
+ var ScheduleVersion_exports = {};
3
+
4
+ export { ScheduleVersion_exports };
5
+ //# sourceMappingURL=chunk-VNXNO6G4.js.map
6
+ //# sourceMappingURL=chunk-VNXNO6G4.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/public/ScheduleVersion.ts"],"names":[],"mappings":";AAAA,IAAA,uBAAA,GAAA","file":"chunk-VNXNO6G4.js","sourcesContent":["export {};"]}
@@ -0,0 +1,4 @@
1
+ export type { AbortOnFailure, Action, AndTrigger, BuildStatus, BuildTarget, ConnectingTarget, CronExpression, DatasetUpdatedTrigger, FallbackBranches, ForceBuild, JobSucceededTrigger, ManualTarget, MediaSetUpdatedTrigger, NewLogicTrigger, NotificationsEnabled, OrTrigger, ProjectScope, RetryBackoffDuration, RetryCount, Schedule, SchedulePaused, ScheduleRid, ScheduleSucceededTrigger, ScheduleVersion, ScheduleVersionRid, ScopeMode, TimeTrigger, Trigger, UpstreamTarget, UserScope, ZoneId, } from "./_components.js";
2
+ export * as Schedules from "./public/Schedule.js";
3
+ export * as ScheduleVersions from "./public/ScheduleVersion.js";
4
+ //# 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,cAAc,EACd,MAAM,EACN,UAAU,EACV,WAAW,EACX,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,qBAAqB,EACrB,gBAAgB,EAChB,UAAU,EACV,mBAAmB,EACnB,YAAY,EACZ,sBAAsB,EACtB,eAAe,EACf,oBAAoB,EACpB,SAAS,EACT,YAAY,EACZ,oBAAoB,EACpB,UAAU,EACV,QAAQ,EACR,cAAc,EACd,WAAW,EACX,wBAAwB,EACxB,eAAe,EACf,kBAAkB,EAClB,SAAS,EACT,WAAW,EACX,OAAO,EACP,cAAc,EACd,SAAS,EACT,MAAM,GACP,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAC;AAClD,OAAO,KAAK,gBAAgB,MAAM,6BAA6B,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { Schedule_exports as Schedules } from './chunk-2KKE6G2P.js';
2
+ export { ScheduleVersion_exports as ScheduleVersions } from './chunk-VNXNO6G4.js';
3
+ //# sourceMappingURL=index.js.map
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -0,0 +1,16 @@
1
+ import type { PreviewMode } from "@osdk/foundry.core";
2
+ import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
3
+ import type { Schedule, ScheduleRid } from "../_components.js";
4
+ /**
5
+ * Get the Schedule
6
+ *
7
+ * Required Scopes: [api:orchestration-read]
8
+ * URL: /v2/orchestration/schedules/{scheduleRid}
9
+ */
10
+ export declare function getSchedule($ctx: $Client | $ClientContext, ...args: [
11
+ scheduleRid: ScheduleRid,
12
+ $queryParams?: {
13
+ preview?: PreviewMode | undefined;
14
+ }
15
+ ]): Promise<Schedule>;
16
+ //# sourceMappingURL=Schedule.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Schedule.d.ts","sourceRoot":"","sources":["../../../src/public/Schedule.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAG7B,OAAO,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAW/D;;;;;GAKG;AACH,wBAAgB,WAAW,CACzB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,WAAW,EAAE,WAAW;IAExB,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,WAAW,GAAG,SAAS,CAAA;KAAE;CACrD,GACA,OAAO,CAAC,QAAQ,CAAC,CAEnB"}
@@ -0,0 +1,3 @@
1
+ export { getSchedule } from '../chunk-2KKE6G2P.js';
2
+ //# sourceMappingURL=Schedule.js.map
3
+ //# sourceMappingURL=Schedule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"Schedule.js"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ScheduleVersion.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScheduleVersion.d.ts","sourceRoot":"","sources":["../../../src/public/ScheduleVersion.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ import '../chunk-VNXNO6G4.js';
2
+ //# sourceMappingURL=ScheduleVersion.js.map
3
+ //# sourceMappingURL=ScheduleVersion.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"ScheduleVersion.js"}
package/package.json ADDED
@@ -0,0 +1,63 @@
1
+ {
2
+ "name": "@osdk/foundry.orchestration",
3
+ "version": "0.0.0",
4
+ "license": "Apache-2.0",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/palantir/osdk-ts.git"
8
+ },
9
+ "exports": {
10
+ ".": {
11
+ "browser": "./build/browser/index.js",
12
+ "import": "./build/esm/index.js"
13
+ },
14
+ "./*": {
15
+ "browser": "./build/browser/public/*.js",
16
+ "import": "./build/esm/public/*.js"
17
+ }
18
+ },
19
+ "dependencies": {
20
+ "@osdk/foundry.core": "2.0.0",
21
+ "@osdk/foundry.datasets": "~2.0.0",
22
+ "@osdk/shared.client": "~0.0.0",
23
+ "@osdk/shared.net.platformapi": "~0.2.0"
24
+ },
25
+ "devDependencies": {
26
+ "typescript": "^5.5.4",
27
+ "@osdk/monorepo.api-extractor": "~0.0.0",
28
+ "@osdk/monorepo.tsconfig": "~0.0.0",
29
+ "@osdk/monorepo.tsup": "~0.0.0"
30
+ },
31
+ "publishConfig": {
32
+ "access": "public"
33
+ },
34
+ "files": [
35
+ "build/cjs",
36
+ "build/esm",
37
+ "build/browser",
38
+ "CHANGELOG.md",
39
+ "package.json",
40
+ "templates",
41
+ "*.d.ts"
42
+ ],
43
+ "module": "./build/esm/index.js",
44
+ "types": "./build/esm/index.d.ts",
45
+ "sls": {
46
+ "dependencies": {
47
+ "com.palantir.foundry.api:api-gateway": {
48
+ "minVersion": "1.896.0",
49
+ "maxVersion": "1.x.x"
50
+ }
51
+ }
52
+ },
53
+ "type": "module",
54
+ "scripts": {
55
+ "check-attw": "monorepo.tool.attw esm",
56
+ "check-spelling": "cspell --quiet .",
57
+ "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo",
58
+ "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)",
59
+ "lint": "eslint . && dprint check --config $(find-up dprint.json)",
60
+ "transpile": "monorepo.tool.transpile",
61
+ "typecheck": "monorepo.tool.typecheck esm"
62
+ }
63
+ }