@osdk/gotham.targetworkbench 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.
- package/build/browser/_components.d.ts +207 -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 +130 -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 +4 -0
- package/build/browser/index.d.ts.map +1 -0
- package/build/browser/index.js +17 -0
- package/build/browser/index.js.map +1 -0
- package/build/browser/public/TargetBoard.d.ts +61 -0
- package/build/browser/public/TargetBoard.d.ts.map +1 -0
- package/build/browser/public/TargetBoard.js +73 -0
- package/build/browser/public/TargetBoard.js.map +1 -0
- package/build/esm/_components.d.ts +207 -0
- package/build/esm/_components.d.ts.map +1 -0
- package/build/esm/_components.js +17 -0
- package/build/esm/_components.js.map +1 -0
- package/build/esm/_errors.d.ts +130 -0
- package/build/esm/_errors.d.ts.map +1 -0
- package/build/esm/_errors.js +17 -0
- package/build/esm/_errors.js.map +1 -0
- package/build/esm/index.d.ts +4 -0
- package/build/esm/index.d.ts.map +1 -0
- package/build/esm/index.js +17 -0
- package/build/esm/index.js.map +1 -0
- package/build/esm/public/TargetBoard.d.ts +61 -0
- package/build/esm/public/TargetBoard.d.ts.map +1 -0
- package/build/esm/public/TargetBoard.js +73 -0
- package/build/esm/public/TargetBoard.js.map +1 -0
- package/package.json +63 -0
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
export type LooselyBrandedString<T extends string> = string & {
|
|
2
|
+
__LOOSE_BRAND?: T;
|
|
3
|
+
};
|
|
4
|
+
/**
|
|
5
|
+
* Security settings for board content
|
|
6
|
+
*
|
|
7
|
+
* Log Safety: UNSAFE
|
|
8
|
+
*/
|
|
9
|
+
export interface ArtifactSecurity {
|
|
10
|
+
portionMarkings?: Array<PortionMarking>;
|
|
11
|
+
spaceRid?: SpaceRid;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* The current version of the Target Board to be modified.
|
|
15
|
+
The archive operation will be transformed against any concurrent operations
|
|
16
|
+
made since this version. If there are any conflicting edits that result in changes to
|
|
17
|
+
these operations when they're applied, that will be noted in the response.
|
|
18
|
+
*
|
|
19
|
+
* Log Safety: UNSAFE
|
|
20
|
+
*/
|
|
21
|
+
export type BaseRevisionId = LooselyBrandedString<"BaseRevisionId">;
|
|
22
|
+
/**
|
|
23
|
+
* Color options for target board columns
|
|
24
|
+
*
|
|
25
|
+
* Log Safety: SAFE
|
|
26
|
+
*/
|
|
27
|
+
export type ColumnColor = "RED" | "BLUE" | "GREEN" | "YELLOW" | "ORANGE" | "PURPLE";
|
|
28
|
+
/**
|
|
29
|
+
* Log Safety: UNSAFE
|
|
30
|
+
*/
|
|
31
|
+
export interface CreateTargetBoardRequest {
|
|
32
|
+
security: ArtifactSecurity;
|
|
33
|
+
highPriorityTargetList?: string;
|
|
34
|
+
configuration?: TargetBoardConfiguration;
|
|
35
|
+
name: TargetBoardName;
|
|
36
|
+
description?: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* An empty response object indicating the request was successful.
|
|
40
|
+
*
|
|
41
|
+
* Log Safety: SAFE
|
|
42
|
+
*/
|
|
43
|
+
export type EmptySuccessResponse = any;
|
|
44
|
+
/**
|
|
45
|
+
* Geographic coordinates
|
|
46
|
+
*
|
|
47
|
+
* Log Safety: SAFE
|
|
48
|
+
*/
|
|
49
|
+
export interface GeoLocation {
|
|
50
|
+
longitude: number;
|
|
51
|
+
latitude: number;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* The unique identifier for a High Priority Target List
|
|
55
|
+
*
|
|
56
|
+
* Log Safety: SAFE
|
|
57
|
+
*/
|
|
58
|
+
export type HighPriorityTargetListRid = LooselyBrandedString<"HighPriorityTargetListRid">;
|
|
59
|
+
/**
|
|
60
|
+
* Log Safety: UNSAFE
|
|
61
|
+
*/
|
|
62
|
+
export interface LoadedTargetBoard {
|
|
63
|
+
rid: TargetBoardRid;
|
|
64
|
+
name?: string;
|
|
65
|
+
description?: string;
|
|
66
|
+
highPriorityTargetList?: string;
|
|
67
|
+
configuration?: TargetBoardConfiguration;
|
|
68
|
+
targets?: Array<TargetBranchId>;
|
|
69
|
+
targetColumnIds?: Record<TargetBranchId, TargetDetails>;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Types of information to load for target pucks
|
|
73
|
+
*
|
|
74
|
+
* Log Safety: SAFE
|
|
75
|
+
*/
|
|
76
|
+
export type LoadLevel = "LOCATION" | "BOARD_STATUS";
|
|
77
|
+
/**
|
|
78
|
+
* Success response with the requested Target Board.
|
|
79
|
+
*
|
|
80
|
+
* Log Safety: UNSAFE
|
|
81
|
+
*/
|
|
82
|
+
export interface LoadTargetBoardResponse {
|
|
83
|
+
targetBoard: LoadedTargetBoard;
|
|
84
|
+
baseRevisionId: BaseRevisionId;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Log Safety: UNSAFE
|
|
88
|
+
*/
|
|
89
|
+
export interface ModifyTargetBoardRequest {
|
|
90
|
+
name: string;
|
|
91
|
+
description?: string;
|
|
92
|
+
highPriorityTargetList?: string;
|
|
93
|
+
configuration?: TargetBoardConfiguration;
|
|
94
|
+
baseRevisionId: BaseRevisionId;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Security markings represent the level of access control that applies to a specific piece of information (e.g., object property, object title).
|
|
98
|
+
Security markings are required upon creating a new object, and upon adding a new property to an existing object.
|
|
99
|
+
To access information with one or more markings, the user must have access to the markings associated with that information as defined by
|
|
100
|
+
your organization's defined security rules. Only users with the correct permissions can get, update, or delete a property
|
|
101
|
+
with security markings.
|
|
102
|
+
In particular, if a user creates an object and adds a property of type with highly restricted markings, it is possible
|
|
103
|
+
that subsequent calls to the get object properties endpoint may fail to display the highly restricted property.
|
|
104
|
+
Contact your Palantir administrator for more information on the markings that your organization uses.
|
|
105
|
+
*
|
|
106
|
+
* Log Safety: UNSAFE
|
|
107
|
+
*/
|
|
108
|
+
export type PortionMarking = LooselyBrandedString<"PortionMarking">;
|
|
109
|
+
/**
|
|
110
|
+
* The unique identifier for a Foundry space
|
|
111
|
+
*
|
|
112
|
+
* Log Safety: SAFE
|
|
113
|
+
*/
|
|
114
|
+
export type SpaceRid = LooselyBrandedString<"SpaceRid">;
|
|
115
|
+
/**
|
|
116
|
+
* Log Safety: UNSAFE
|
|
117
|
+
*/
|
|
118
|
+
export interface TargetBoard {
|
|
119
|
+
rid: TargetBoardRid;
|
|
120
|
+
name: TargetBoardName;
|
|
121
|
+
description?: string;
|
|
122
|
+
highPriorityTargetList?: string;
|
|
123
|
+
configuration?: TargetBoardConfiguration;
|
|
124
|
+
security: ArtifactSecurity;
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* A column in a target board
|
|
128
|
+
*
|
|
129
|
+
* Log Safety: UNSAFE
|
|
130
|
+
*/
|
|
131
|
+
export interface TargetBoardColumnConfiguration {
|
|
132
|
+
id: TargetBoardColumnConfigurationId;
|
|
133
|
+
name: string;
|
|
134
|
+
color: ColumnColor;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* The unique identifier of a column
|
|
138
|
+
*
|
|
139
|
+
* Log Safety: SAFE
|
|
140
|
+
*/
|
|
141
|
+
export type TargetBoardColumnConfigurationId = LooselyBrandedString<"TargetBoardColumnConfigurationId">;
|
|
142
|
+
/**
|
|
143
|
+
* Configuration for a target board
|
|
144
|
+
*
|
|
145
|
+
* Log Safety: UNSAFE
|
|
146
|
+
*/
|
|
147
|
+
export interface TargetBoardConfiguration {
|
|
148
|
+
columns: Array<TargetBoardColumnConfiguration>;
|
|
149
|
+
targetIdentifiers: Array<TargetIdentifierEnum>;
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* Log Safety: UNSAFE
|
|
153
|
+
*/
|
|
154
|
+
export type TargetBoardName = LooselyBrandedString<"TargetBoardName">;
|
|
155
|
+
/**
|
|
156
|
+
* The unique identifier for a Target Board
|
|
157
|
+
*
|
|
158
|
+
* Log Safety: SAFE
|
|
159
|
+
*/
|
|
160
|
+
export type TargetBoardRid = LooselyBrandedString<"TargetBoardRid">;
|
|
161
|
+
/**
|
|
162
|
+
* Identifier of a target and branch. Requires a '*' between the branch ID and target ID.
|
|
163
|
+
*
|
|
164
|
+
* Log Safety: UNSAFE
|
|
165
|
+
*/
|
|
166
|
+
export type TargetBranchId = LooselyBrandedString<"TargetBranchId">;
|
|
167
|
+
/**
|
|
168
|
+
* Status information for a target in a column
|
|
169
|
+
*
|
|
170
|
+
* Log Safety: UNSAFE
|
|
171
|
+
*/
|
|
172
|
+
export interface TargetColumnStatus {
|
|
173
|
+
boardRid: TargetBoardRid;
|
|
174
|
+
column: string;
|
|
175
|
+
columnName: string;
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* Assignment of a target to a column
|
|
179
|
+
*
|
|
180
|
+
* Log Safety: UNSAFE
|
|
181
|
+
*/
|
|
182
|
+
export interface TargetDetails {
|
|
183
|
+
columnId?: string;
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* Types of target identifiers
|
|
187
|
+
*
|
|
188
|
+
* Log Safety: SAFE
|
|
189
|
+
*/
|
|
190
|
+
export type TargetIdentifierEnum = "CUSTOM";
|
|
191
|
+
/**
|
|
192
|
+
* Location information for a target
|
|
193
|
+
*
|
|
194
|
+
* Log Safety: UNSAFE
|
|
195
|
+
*/
|
|
196
|
+
export interface TargetLocation {
|
|
197
|
+
type: string;
|
|
198
|
+
timestamp: string;
|
|
199
|
+
latestLocation: GeoLocation;
|
|
200
|
+
}
|
|
201
|
+
/**
|
|
202
|
+
* The unique identifier for a Target
|
|
203
|
+
*
|
|
204
|
+
* Log Safety: SAFE
|
|
205
|
+
*/
|
|
206
|
+
export type TargetRid = LooselyBrandedString<"TargetRid">;
|
|
207
|
+
//# sourceMappingURL=_components.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_components.d.ts","sourceRoot":"","sources":["../../src/_components.ts"],"names":[],"mappings":"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"}
|
|
@@ -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,130 @@
|
|
|
1
|
+
export type LooselyBrandedString<T extends string> = string & {
|
|
2
|
+
__LOOSE_BRAND?: T;
|
|
3
|
+
};
|
|
4
|
+
/**
|
|
5
|
+
* Cannot update a target board's columns if targets are present in the column
|
|
6
|
+
*
|
|
7
|
+
* Log Safety: SAFE
|
|
8
|
+
*/
|
|
9
|
+
export interface CannotUpdateColumnsWithTargets {
|
|
10
|
+
errorCode: "INVALID_ARGUMENT";
|
|
11
|
+
errorName: "CannotUpdateColumnsWithTargets";
|
|
12
|
+
errorInstanceId: string;
|
|
13
|
+
parameters: {
|
|
14
|
+
targetBoardRid: unknown;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Could not create the TargetBoard.
|
|
19
|
+
*
|
|
20
|
+
* Log Safety: SAFE
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateTargetBoardPermissionDenied {
|
|
23
|
+
errorCode: "PERMISSION_DENIED";
|
|
24
|
+
errorName: "CreateTargetBoardPermissionDenied";
|
|
25
|
+
errorInstanceId: string;
|
|
26
|
+
parameters: {};
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Could not delete the TargetBoard.
|
|
30
|
+
*
|
|
31
|
+
* Log Safety: SAFE
|
|
32
|
+
*/
|
|
33
|
+
export interface DeleteTargetBoardPermissionDenied {
|
|
34
|
+
errorCode: "PERMISSION_DENIED";
|
|
35
|
+
errorName: "DeleteTargetBoardPermissionDenied";
|
|
36
|
+
errorInstanceId: string;
|
|
37
|
+
parameters: {
|
|
38
|
+
targetBoardRid: unknown;
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* The specified portion markings are not valid.
|
|
43
|
+
*
|
|
44
|
+
* Log Safety: UNSAFE
|
|
45
|
+
*/
|
|
46
|
+
export interface InvalidClassificationPortionMarkings {
|
|
47
|
+
errorCode: "INVALID_ARGUMENT";
|
|
48
|
+
errorName: "InvalidClassificationPortionMarkings";
|
|
49
|
+
errorInstanceId: string;
|
|
50
|
+
parameters: {
|
|
51
|
+
portionMarkings: unknown;
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* The space rid is missing or invalid.
|
|
56
|
+
*
|
|
57
|
+
* Log Safety: SAFE
|
|
58
|
+
*/
|
|
59
|
+
export interface InvalidSpaceRid {
|
|
60
|
+
errorCode: "INVALID_ARGUMENT";
|
|
61
|
+
errorName: "InvalidSpaceRid";
|
|
62
|
+
errorInstanceId: string;
|
|
63
|
+
parameters: {
|
|
64
|
+
spaceRid: unknown;
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Could not load the TargetBoard.
|
|
69
|
+
*
|
|
70
|
+
* Log Safety: SAFE
|
|
71
|
+
*/
|
|
72
|
+
export interface LoadTargetBoardPermissionDenied {
|
|
73
|
+
errorCode: "PERMISSION_DENIED";
|
|
74
|
+
errorName: "LoadTargetBoardPermissionDenied";
|
|
75
|
+
errorInstanceId: string;
|
|
76
|
+
parameters: {
|
|
77
|
+
targetBoardRid: unknown;
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Could not modify the TargetBoard.
|
|
82
|
+
*
|
|
83
|
+
* Log Safety: SAFE
|
|
84
|
+
*/
|
|
85
|
+
export interface ModifyTargetBoardPermissionDenied {
|
|
86
|
+
errorCode: "PERMISSION_DENIED";
|
|
87
|
+
errorName: "ModifyTargetBoardPermissionDenied";
|
|
88
|
+
errorInstanceId: string;
|
|
89
|
+
parameters: {
|
|
90
|
+
targetBoardRid: unknown;
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Multitenant mode is currently unknown.
|
|
95
|
+
*
|
|
96
|
+
* Log Safety: SAFE
|
|
97
|
+
*/
|
|
98
|
+
export interface MultitenantModeUnknown {
|
|
99
|
+
errorCode: "INTERNAL";
|
|
100
|
+
errorName: "MultitenantModeUnknown";
|
|
101
|
+
errorInstanceId: string;
|
|
102
|
+
parameters: {};
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Cannot find target board from provided rid
|
|
106
|
+
*
|
|
107
|
+
* Log Safety: SAFE
|
|
108
|
+
*/
|
|
109
|
+
export interface TargetBoardNotFound {
|
|
110
|
+
errorCode: "INVALID_ARGUMENT";
|
|
111
|
+
errorName: "TargetBoardNotFound";
|
|
112
|
+
errorInstanceId: string;
|
|
113
|
+
parameters: {
|
|
114
|
+
targetBoardRid: unknown;
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* The user is required to have owner permissions on the artifact.
|
|
119
|
+
*
|
|
120
|
+
* Log Safety: SAFE
|
|
121
|
+
*/
|
|
122
|
+
export interface UserHasNoOwnerPerms {
|
|
123
|
+
errorCode: "INVALID_ARGUMENT";
|
|
124
|
+
errorName: "UserHasNoOwnerPerms";
|
|
125
|
+
errorInstanceId: string;
|
|
126
|
+
parameters: {
|
|
127
|
+
artifactId: unknown;
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
//# 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,8BAA8B;IAC7C,SAAS,EAAE,kBAAkB,CAAC;IAC9B,SAAS,EAAE,gCAAgC,CAAC;IAC5C,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,cAAc,EAAE,OAAO,CAAC;KACzB,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,iCAAiC;IAChD,SAAS,EAAE,mBAAmB,CAAC;IAC/B,SAAS,EAAE,mCAAmC,CAAC;IAC/C,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,EAAE,CAAC;CAChB;AAED;;;;GAIG;AACH,MAAM,WAAW,iCAAiC;IAChD,SAAS,EAAE,mBAAmB,CAAC;IAC/B,SAAS,EAAE,mCAAmC,CAAC;IAC/C,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,cAAc,EAAE,OAAO,CAAC;KACzB,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,oCAAoC;IACnD,SAAS,EAAE,kBAAkB,CAAC;IAC9B,SAAS,EAAE,sCAAsC,CAAC;IAClD,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,eAAe,EAAE,OAAO,CAAC;KAC1B,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC9B,SAAS,EAAE,kBAAkB,CAAC;IAC9B,SAAS,EAAE,iBAAiB,CAAC;IAC7B,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,QAAQ,EAAE,OAAO,CAAC;KACnB,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,+BAA+B;IAC9C,SAAS,EAAE,mBAAmB,CAAC;IAC/B,SAAS,EAAE,iCAAiC,CAAC;IAC7C,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,cAAc,EAAE,OAAO,CAAC;KACzB,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,iCAAiC;IAChD,SAAS,EAAE,mBAAmB,CAAC;IAC/B,SAAS,EAAE,mCAAmC,CAAC;IAC/C,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,cAAc,EAAE,OAAO,CAAC;KACzB,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACrC,SAAS,EAAE,UAAU,CAAC;IACtB,SAAS,EAAE,wBAAwB,CAAC;IACpC,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,EAAE,CAAC;CAChB;AAED;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAClC,SAAS,EAAE,kBAAkB,CAAC;IAC9B,SAAS,EAAE,qBAAqB,CAAC;IACjC,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,cAAc,EAAE,OAAO,CAAC;KACzB,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAClC,SAAS,EAAE,kBAAkB,CAAC;IAC9B,SAAS,EAAE,qBAAqB,CAAC;IACjC,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,UAAU,EAAE,OAAO,CAAC;KACrB,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,4 @@
|
|
|
1
|
+
export type { ArtifactSecurity, BaseRevisionId, ColumnColor, CreateTargetBoardRequest, EmptySuccessResponse, GeoLocation, HighPriorityTargetListRid, LoadedTargetBoard, LoadLevel, LoadTargetBoardResponse, ModifyTargetBoardRequest, PortionMarking, SpaceRid, TargetBoard, TargetBoardColumnConfiguration, TargetBoardColumnConfigurationId, TargetBoardConfiguration, TargetBoardName, TargetBoardRid, TargetBranchId, TargetColumnStatus, TargetDetails, TargetIdentifierEnum, TargetLocation, TargetRid, } from "./_components.js";
|
|
2
|
+
export type { CannotUpdateColumnsWithTargets, CreateTargetBoardPermissionDenied, DeleteTargetBoardPermissionDenied, InvalidClassificationPortionMarkings, InvalidSpaceRid, LoadTargetBoardPermissionDenied, ModifyTargetBoardPermissionDenied, MultitenantModeUnknown, TargetBoardNotFound, UserHasNoOwnerPerms, } from "./_errors.js";
|
|
3
|
+
export * as TargetBoards from "./public/TargetBoard.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,gBAAgB,EAChB,cAAc,EACd,WAAW,EACX,wBAAwB,EACxB,oBAAoB,EACpB,WAAW,EACX,yBAAyB,EACzB,iBAAiB,EACjB,SAAS,EACT,uBAAuB,EACvB,wBAAwB,EACxB,cAAc,EACd,QAAQ,EACR,WAAW,EACX,8BAA8B,EAC9B,gCAAgC,EAChC,wBAAwB,EACxB,eAAe,EACf,cAAc,EACd,cAAc,EACd,kBAAkB,EAClB,aAAa,EACb,oBAAoB,EACpB,cAAc,EACd,SAAS,GACV,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EACV,8BAA8B,EAC9B,iCAAiC,EACjC,iCAAiC,EACjC,oCAAoC,EACpC,eAAe,EACf,+BAA+B,EAC/B,iCAAiC,EACjC,sBAAsB,EACtB,mBAAmB,EACnB,mBAAmB,GACpB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,YAAY,MAAM,yBAAyB,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 * as TargetBoards from "./public/TargetBoard.js";
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["TargetBoards"],"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 TargetBoards from \"./public/TargetBoard.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,KAAKA,YAAY,MAAM,yBAAyB","ignoreList":[]}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import type * as _Core from "@osdk/gotham.core";
|
|
2
|
+
import type { SharedClient as $OldClient, SharedClientContext as $OldClientContext } from "@osdk/shared.client";
|
|
3
|
+
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client2";
|
|
4
|
+
import type * as _TargetWorkbench from "../_components.js";
|
|
5
|
+
/**
|
|
6
|
+
* By default, create a TargetBoard with default columns: IDENTIFIED TARGET, PRIORITIZED TARGET, IN COORDINATION, IN EXECUTION, COMPLETE.
|
|
7
|
+
* Returns the RID of the created TargetBoard.
|
|
8
|
+
* The `security.spaceRid` field defaults to your user's space if there is only one. Use the List Spaces endpoint at `/api/v2/filesystem/spaces` to get the spaces your user has access to.
|
|
9
|
+
*
|
|
10
|
+
* @beta
|
|
11
|
+
*
|
|
12
|
+
* Required Scopes: [api:target-write]
|
|
13
|
+
* URL: /v2/targetWorkbench/targetBoards
|
|
14
|
+
*/
|
|
15
|
+
export declare function create($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
16
|
+
$body: _TargetWorkbench.CreateTargetBoardRequest,
|
|
17
|
+
$queryParams?: {
|
|
18
|
+
preview?: _Core.PreviewMode | undefined;
|
|
19
|
+
}
|
|
20
|
+
]): Promise<_TargetWorkbench.TargetBoard>;
|
|
21
|
+
/**
|
|
22
|
+
* Archive a Target Board by RID.
|
|
23
|
+
*
|
|
24
|
+
* @beta
|
|
25
|
+
*
|
|
26
|
+
* Required Scopes: [api:target-write]
|
|
27
|
+
* URL: /v2/targetWorkbench/targetBoards/{targetBoardRid}
|
|
28
|
+
*/
|
|
29
|
+
export declare function deleteTargetBoard($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
30
|
+
targetBoardRid: _TargetWorkbench.TargetBoardRid,
|
|
31
|
+
$queryParams?: {
|
|
32
|
+
preview?: _Core.PreviewMode | undefined;
|
|
33
|
+
}
|
|
34
|
+
]): Promise<void>;
|
|
35
|
+
/**
|
|
36
|
+
* Modify a Target Board by RID.
|
|
37
|
+
*
|
|
38
|
+
* Sets the current state of a Collection. Any fields, except `hptl`, not supplied will result in
|
|
39
|
+
* removal if there was a value present. Trying to set `hptl` to empty when there's already a value will
|
|
40
|
+
* result in an INVALID\_ARGUMENT exception. You cannot modify the `hptl` field if a value is already set.
|
|
41
|
+
* Fields that are not supported by the OpenAPI layer will remain unmodified.
|
|
42
|
+
*
|
|
43
|
+
* @public
|
|
44
|
+
*
|
|
45
|
+
* Required Scopes: [api:target-write]
|
|
46
|
+
* URL: /v2/targetWorkbench/targetBoards/{targetBoardRid}/modify
|
|
47
|
+
*/
|
|
48
|
+
export declare function modify($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
49
|
+
targetBoardRid: _TargetWorkbench.TargetBoardRid,
|
|
50
|
+
$body: _TargetWorkbench.ModifyTargetBoardRequest
|
|
51
|
+
]): Promise<_TargetWorkbench.EmptySuccessResponse>;
|
|
52
|
+
/**
|
|
53
|
+
* Load Target Board by RID.
|
|
54
|
+
*
|
|
55
|
+
* @public
|
|
56
|
+
*
|
|
57
|
+
* Required Scopes: [api:target-read]
|
|
58
|
+
* URL: /v2/targetWorkbench/targetBoards/{targetBoardRid}/load
|
|
59
|
+
*/
|
|
60
|
+
export declare function load($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [targetBoardRid: _TargetWorkbench.TargetBoardRid]): Promise<_TargetWorkbench.LoadTargetBoardResponse>;
|
|
61
|
+
//# sourceMappingURL=TargetBoard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TargetBoard.d.ts","sourceRoot":"","sources":["../../../src/public/TargetBoard.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,EACV,YAAY,IAAI,UAAU,EAC1B,mBAAmB,IAAI,iBAAiB,EACzC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,KAAK,gBAAgB,MAAM,mBAAmB,CAAC;AAW3D;;;;;;;;;GASG;AACH,wBAAgB,MAAM,CACpB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,KAAK,EAAE,gBAAgB,CAAC,wBAAwB;IAChD,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,gBAAgB,CAAC,WAAW,CAAC,CAEvC;AASD;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,cAAc,EAAE,gBAAgB,CAAC,cAAc;IAE/C,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,IAAI,CAAC,CAEf;AASD;;;;;;;;;;;;GAYG;AACH,wBAAgB,MAAM,CACpB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,cAAc,EAAE,gBAAgB,CAAC,cAAc;IAC/C,KAAK,EAAE,gBAAgB,CAAC,wBAAwB;CACjD,GACA,OAAO,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,CAEhD;AAQD;;;;;;;GAOG;AACH,wBAAgB,IAAI,CAClB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE,CAAC,cAAc,EAAE,gBAAgB,CAAC,cAAc,CAAC,GACzD,OAAO,CAAC,gBAAgB,CAAC,uBAAuB,CAAC,CAEnD"}
|
|
@@ -0,0 +1,73 @@
|
|
|
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 $platformFetch } from "@osdk/shared.net.platformapi";
|
|
17
|
+
//
|
|
18
|
+
const _create = [1, "/v2/targetWorkbench/targetBoards", 3];
|
|
19
|
+
/**
|
|
20
|
+
* By default, create a TargetBoard with default columns: IDENTIFIED TARGET, PRIORITIZED TARGET, IN COORDINATION, IN EXECUTION, COMPLETE.
|
|
21
|
+
* Returns the RID of the created TargetBoard.
|
|
22
|
+
* The `security.spaceRid` field defaults to your user's space if there is only one. Use the List Spaces endpoint at `/api/v2/filesystem/spaces` to get the spaces your user has access to.
|
|
23
|
+
*
|
|
24
|
+
* @beta
|
|
25
|
+
*
|
|
26
|
+
* Required Scopes: [api:target-write]
|
|
27
|
+
* URL: /v2/targetWorkbench/targetBoards
|
|
28
|
+
*/
|
|
29
|
+
export function create($ctx, ...args) {
|
|
30
|
+
return $platformFetch($ctx, _create, ...args);
|
|
31
|
+
}
|
|
32
|
+
const _deleteTargetBoard = [3, "/v2/targetWorkbench/targetBoards/{0}", 2];
|
|
33
|
+
/**
|
|
34
|
+
* Archive a Target Board by RID.
|
|
35
|
+
*
|
|
36
|
+
* @beta
|
|
37
|
+
*
|
|
38
|
+
* Required Scopes: [api:target-write]
|
|
39
|
+
* URL: /v2/targetWorkbench/targetBoards/{targetBoardRid}
|
|
40
|
+
*/
|
|
41
|
+
export function deleteTargetBoard($ctx, ...args) {
|
|
42
|
+
return $platformFetch($ctx, _deleteTargetBoard, ...args);
|
|
43
|
+
}
|
|
44
|
+
const _modify = [2, "/v2/targetWorkbench/targetBoards/{0}/modify", 1];
|
|
45
|
+
/**
|
|
46
|
+
* Modify a Target Board by RID.
|
|
47
|
+
*
|
|
48
|
+
* Sets the current state of a Collection. Any fields, except `hptl`, not supplied will result in
|
|
49
|
+
* removal if there was a value present. Trying to set `hptl` to empty when there's already a value will
|
|
50
|
+
* result in an INVALID\_ARGUMENT exception. You cannot modify the `hptl` field if a value is already set.
|
|
51
|
+
* Fields that are not supported by the OpenAPI layer will remain unmodified.
|
|
52
|
+
*
|
|
53
|
+
* @public
|
|
54
|
+
*
|
|
55
|
+
* Required Scopes: [api:target-write]
|
|
56
|
+
* URL: /v2/targetWorkbench/targetBoards/{targetBoardRid}/modify
|
|
57
|
+
*/
|
|
58
|
+
export function modify($ctx, ...args) {
|
|
59
|
+
return $platformFetch($ctx, _modify, ...args);
|
|
60
|
+
}
|
|
61
|
+
const _load = [0, "/v2/targetWorkbench/targetBoards/{0}/load"];
|
|
62
|
+
/**
|
|
63
|
+
* Load Target Board by RID.
|
|
64
|
+
*
|
|
65
|
+
* @public
|
|
66
|
+
*
|
|
67
|
+
* Required Scopes: [api:target-read]
|
|
68
|
+
* URL: /v2/targetWorkbench/targetBoards/{targetBoardRid}/load
|
|
69
|
+
*/
|
|
70
|
+
export function load($ctx, ...args) {
|
|
71
|
+
return $platformFetch($ctx, _load, ...args);
|
|
72
|
+
}
|
|
73
|
+
//# sourceMappingURL=TargetBoard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TargetBoard.js","names":["foundryPlatformFetch","$platformFetch","_create","create","$ctx","args","_deleteTargetBoard","deleteTargetBoard","_modify","modify","_load","load"],"sources":["TargetBoard.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 $platformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _create = [1, \"/v2/targetWorkbench/targetBoards\", 3];\n/**\n * By default, create a TargetBoard with default columns: IDENTIFIED TARGET, PRIORITIZED TARGET, IN COORDINATION, IN EXECUTION, COMPLETE.\n * Returns the RID of the created TargetBoard.\n * The `security.spaceRid` field defaults to your user's space if there is only one. Use the List Spaces endpoint at `/api/v2/filesystem/spaces` to get the spaces your user has access to.\n *\n * @beta\n *\n * Required Scopes: [api:target-write]\n * URL: /v2/targetWorkbench/targetBoards\n */\nexport function create($ctx, ...args) {\n return $platformFetch($ctx, _create, ...args);\n}\nconst _deleteTargetBoard = [3, \"/v2/targetWorkbench/targetBoards/{0}\", 2];\n/**\n * Archive a Target Board by RID.\n *\n * @beta\n *\n * Required Scopes: [api:target-write]\n * URL: /v2/targetWorkbench/targetBoards/{targetBoardRid}\n */\nexport function deleteTargetBoard($ctx, ...args) {\n return $platformFetch($ctx, _deleteTargetBoard, ...args);\n}\nconst _modify = [2, \"/v2/targetWorkbench/targetBoards/{0}/modify\", 1];\n/**\n * Modify a Target Board by RID.\n *\n * Sets the current state of a Collection. Any fields, except `hptl`, not supplied will result in\n * removal if there was a value present. Trying to set `hptl` to empty when there's already a value will\n * result in an INVALID\\_ARGUMENT exception. You cannot modify the `hptl` field if a value is already set.\n * Fields that are not supported by the OpenAPI layer will remain unmodified.\n *\n * @public\n *\n * Required Scopes: [api:target-write]\n * URL: /v2/targetWorkbench/targetBoards/{targetBoardRid}/modify\n */\nexport function modify($ctx, ...args) {\n return $platformFetch($ctx, _modify, ...args);\n}\nconst _load = [0, \"/v2/targetWorkbench/targetBoards/{0}/load\"];\n/**\n * Load Target Board by RID.\n *\n * @public\n *\n * Required Scopes: [api:target-read]\n * URL: /v2/targetWorkbench/targetBoards/{targetBoardRid}/load\n */\nexport function load($ctx, ...args) {\n return $platformFetch($ctx, _load, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,cAAc,QAAQ,8BAA8B;AACrF;AACA,MAAMC,OAAO,GAAG,CAAC,CAAC,EAAE,kCAAkC,EAAE,CAAC,CAAC;AAC1D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,MAAMA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAClC,OAAOJ,cAAc,CAACG,IAAI,EAAEF,OAAO,EAAE,GAAGG,IAAI,CAAC;AACjD;AACA,MAAMC,kBAAkB,GAAG,CAAC,CAAC,EAAE,sCAAsC,EAAE,CAAC,CAAC;AACzE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,iBAAiBA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC7C,OAAOJ,cAAc,CAACG,IAAI,EAAEE,kBAAkB,EAAE,GAAGD,IAAI,CAAC;AAC5D;AACA,MAAMG,OAAO,GAAG,CAAC,CAAC,EAAE,6CAA6C,EAAE,CAAC,CAAC;AACrE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,MAAMA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAClC,OAAOJ,cAAc,CAACG,IAAI,EAAEI,OAAO,EAAE,GAAGH,IAAI,CAAC;AACjD;AACA,MAAMK,KAAK,GAAG,CAAC,CAAC,EAAE,2CAA2C,CAAC;AAC9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,cAAc,CAACG,IAAI,EAAEM,KAAK,EAAE,GAAGL,IAAI,CAAC;AAC/C","ignoreList":[]}
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
export type LooselyBrandedString<T extends string> = string & {
|
|
2
|
+
__LOOSE_BRAND?: T;
|
|
3
|
+
};
|
|
4
|
+
/**
|
|
5
|
+
* Security settings for board content
|
|
6
|
+
*
|
|
7
|
+
* Log Safety: UNSAFE
|
|
8
|
+
*/
|
|
9
|
+
export interface ArtifactSecurity {
|
|
10
|
+
portionMarkings?: Array<PortionMarking>;
|
|
11
|
+
spaceRid?: SpaceRid;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* The current version of the Target Board to be modified.
|
|
15
|
+
The archive operation will be transformed against any concurrent operations
|
|
16
|
+
made since this version. If there are any conflicting edits that result in changes to
|
|
17
|
+
these operations when they're applied, that will be noted in the response.
|
|
18
|
+
*
|
|
19
|
+
* Log Safety: UNSAFE
|
|
20
|
+
*/
|
|
21
|
+
export type BaseRevisionId = LooselyBrandedString<"BaseRevisionId">;
|
|
22
|
+
/**
|
|
23
|
+
* Color options for target board columns
|
|
24
|
+
*
|
|
25
|
+
* Log Safety: SAFE
|
|
26
|
+
*/
|
|
27
|
+
export type ColumnColor = "RED" | "BLUE" | "GREEN" | "YELLOW" | "ORANGE" | "PURPLE";
|
|
28
|
+
/**
|
|
29
|
+
* Log Safety: UNSAFE
|
|
30
|
+
*/
|
|
31
|
+
export interface CreateTargetBoardRequest {
|
|
32
|
+
security: ArtifactSecurity;
|
|
33
|
+
highPriorityTargetList?: string;
|
|
34
|
+
configuration?: TargetBoardConfiguration;
|
|
35
|
+
name: TargetBoardName;
|
|
36
|
+
description?: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* An empty response object indicating the request was successful.
|
|
40
|
+
*
|
|
41
|
+
* Log Safety: SAFE
|
|
42
|
+
*/
|
|
43
|
+
export type EmptySuccessResponse = any;
|
|
44
|
+
/**
|
|
45
|
+
* Geographic coordinates
|
|
46
|
+
*
|
|
47
|
+
* Log Safety: SAFE
|
|
48
|
+
*/
|
|
49
|
+
export interface GeoLocation {
|
|
50
|
+
longitude: number;
|
|
51
|
+
latitude: number;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* The unique identifier for a High Priority Target List
|
|
55
|
+
*
|
|
56
|
+
* Log Safety: SAFE
|
|
57
|
+
*/
|
|
58
|
+
export type HighPriorityTargetListRid = LooselyBrandedString<"HighPriorityTargetListRid">;
|
|
59
|
+
/**
|
|
60
|
+
* Log Safety: UNSAFE
|
|
61
|
+
*/
|
|
62
|
+
export interface LoadedTargetBoard {
|
|
63
|
+
rid: TargetBoardRid;
|
|
64
|
+
name?: string;
|
|
65
|
+
description?: string;
|
|
66
|
+
highPriorityTargetList?: string;
|
|
67
|
+
configuration?: TargetBoardConfiguration;
|
|
68
|
+
targets?: Array<TargetBranchId>;
|
|
69
|
+
targetColumnIds?: Record<TargetBranchId, TargetDetails>;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Types of information to load for target pucks
|
|
73
|
+
*
|
|
74
|
+
* Log Safety: SAFE
|
|
75
|
+
*/
|
|
76
|
+
export type LoadLevel = "LOCATION" | "BOARD_STATUS";
|
|
77
|
+
/**
|
|
78
|
+
* Success response with the requested Target Board.
|
|
79
|
+
*
|
|
80
|
+
* Log Safety: UNSAFE
|
|
81
|
+
*/
|
|
82
|
+
export interface LoadTargetBoardResponse {
|
|
83
|
+
targetBoard: LoadedTargetBoard;
|
|
84
|
+
baseRevisionId: BaseRevisionId;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Log Safety: UNSAFE
|
|
88
|
+
*/
|
|
89
|
+
export interface ModifyTargetBoardRequest {
|
|
90
|
+
name: string;
|
|
91
|
+
description?: string;
|
|
92
|
+
highPriorityTargetList?: string;
|
|
93
|
+
configuration?: TargetBoardConfiguration;
|
|
94
|
+
baseRevisionId: BaseRevisionId;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Security markings represent the level of access control that applies to a specific piece of information (e.g., object property, object title).
|
|
98
|
+
Security markings are required upon creating a new object, and upon adding a new property to an existing object.
|
|
99
|
+
To access information with one or more markings, the user must have access to the markings associated with that information as defined by
|
|
100
|
+
your organization's defined security rules. Only users with the correct permissions can get, update, or delete a property
|
|
101
|
+
with security markings.
|
|
102
|
+
In particular, if a user creates an object and adds a property of type with highly restricted markings, it is possible
|
|
103
|
+
that subsequent calls to the get object properties endpoint may fail to display the highly restricted property.
|
|
104
|
+
Contact your Palantir administrator for more information on the markings that your organization uses.
|
|
105
|
+
*
|
|
106
|
+
* Log Safety: UNSAFE
|
|
107
|
+
*/
|
|
108
|
+
export type PortionMarking = LooselyBrandedString<"PortionMarking">;
|
|
109
|
+
/**
|
|
110
|
+
* The unique identifier for a Foundry space
|
|
111
|
+
*
|
|
112
|
+
* Log Safety: SAFE
|
|
113
|
+
*/
|
|
114
|
+
export type SpaceRid = LooselyBrandedString<"SpaceRid">;
|
|
115
|
+
/**
|
|
116
|
+
* Log Safety: UNSAFE
|
|
117
|
+
*/
|
|
118
|
+
export interface TargetBoard {
|
|
119
|
+
rid: TargetBoardRid;
|
|
120
|
+
name: TargetBoardName;
|
|
121
|
+
description?: string;
|
|
122
|
+
highPriorityTargetList?: string;
|
|
123
|
+
configuration?: TargetBoardConfiguration;
|
|
124
|
+
security: ArtifactSecurity;
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* A column in a target board
|
|
128
|
+
*
|
|
129
|
+
* Log Safety: UNSAFE
|
|
130
|
+
*/
|
|
131
|
+
export interface TargetBoardColumnConfiguration {
|
|
132
|
+
id: TargetBoardColumnConfigurationId;
|
|
133
|
+
name: string;
|
|
134
|
+
color: ColumnColor;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* The unique identifier of a column
|
|
138
|
+
*
|
|
139
|
+
* Log Safety: SAFE
|
|
140
|
+
*/
|
|
141
|
+
export type TargetBoardColumnConfigurationId = LooselyBrandedString<"TargetBoardColumnConfigurationId">;
|
|
142
|
+
/**
|
|
143
|
+
* Configuration for a target board
|
|
144
|
+
*
|
|
145
|
+
* Log Safety: UNSAFE
|
|
146
|
+
*/
|
|
147
|
+
export interface TargetBoardConfiguration {
|
|
148
|
+
columns: Array<TargetBoardColumnConfiguration>;
|
|
149
|
+
targetIdentifiers: Array<TargetIdentifierEnum>;
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* Log Safety: UNSAFE
|
|
153
|
+
*/
|
|
154
|
+
export type TargetBoardName = LooselyBrandedString<"TargetBoardName">;
|
|
155
|
+
/**
|
|
156
|
+
* The unique identifier for a Target Board
|
|
157
|
+
*
|
|
158
|
+
* Log Safety: SAFE
|
|
159
|
+
*/
|
|
160
|
+
export type TargetBoardRid = LooselyBrandedString<"TargetBoardRid">;
|
|
161
|
+
/**
|
|
162
|
+
* Identifier of a target and branch. Requires a '*' between the branch ID and target ID.
|
|
163
|
+
*
|
|
164
|
+
* Log Safety: UNSAFE
|
|
165
|
+
*/
|
|
166
|
+
export type TargetBranchId = LooselyBrandedString<"TargetBranchId">;
|
|
167
|
+
/**
|
|
168
|
+
* Status information for a target in a column
|
|
169
|
+
*
|
|
170
|
+
* Log Safety: UNSAFE
|
|
171
|
+
*/
|
|
172
|
+
export interface TargetColumnStatus {
|
|
173
|
+
boardRid: TargetBoardRid;
|
|
174
|
+
column: string;
|
|
175
|
+
columnName: string;
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* Assignment of a target to a column
|
|
179
|
+
*
|
|
180
|
+
* Log Safety: UNSAFE
|
|
181
|
+
*/
|
|
182
|
+
export interface TargetDetails {
|
|
183
|
+
columnId?: string;
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* Types of target identifiers
|
|
187
|
+
*
|
|
188
|
+
* Log Safety: SAFE
|
|
189
|
+
*/
|
|
190
|
+
export type TargetIdentifierEnum = "CUSTOM";
|
|
191
|
+
/**
|
|
192
|
+
* Location information for a target
|
|
193
|
+
*
|
|
194
|
+
* Log Safety: UNSAFE
|
|
195
|
+
*/
|
|
196
|
+
export interface TargetLocation {
|
|
197
|
+
type: string;
|
|
198
|
+
timestamp: string;
|
|
199
|
+
latestLocation: GeoLocation;
|
|
200
|
+
}
|
|
201
|
+
/**
|
|
202
|
+
* The unique identifier for a Target
|
|
203
|
+
*
|
|
204
|
+
* Log Safety: SAFE
|
|
205
|
+
*/
|
|
206
|
+
export type TargetRid = LooselyBrandedString<"TargetRid">;
|
|
207
|
+
//# sourceMappingURL=_components.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_components.d.ts","sourceRoot":"","sources":["../../src/_components.ts"],"names":[],"mappings":"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"}
|
|
@@ -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,130 @@
|
|
|
1
|
+
export type LooselyBrandedString<T extends string> = string & {
|
|
2
|
+
__LOOSE_BRAND?: T;
|
|
3
|
+
};
|
|
4
|
+
/**
|
|
5
|
+
* Cannot update a target board's columns if targets are present in the column
|
|
6
|
+
*
|
|
7
|
+
* Log Safety: SAFE
|
|
8
|
+
*/
|
|
9
|
+
export interface CannotUpdateColumnsWithTargets {
|
|
10
|
+
errorCode: "INVALID_ARGUMENT";
|
|
11
|
+
errorName: "CannotUpdateColumnsWithTargets";
|
|
12
|
+
errorInstanceId: string;
|
|
13
|
+
parameters: {
|
|
14
|
+
targetBoardRid: unknown;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Could not create the TargetBoard.
|
|
19
|
+
*
|
|
20
|
+
* Log Safety: SAFE
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateTargetBoardPermissionDenied {
|
|
23
|
+
errorCode: "PERMISSION_DENIED";
|
|
24
|
+
errorName: "CreateTargetBoardPermissionDenied";
|
|
25
|
+
errorInstanceId: string;
|
|
26
|
+
parameters: {};
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Could not delete the TargetBoard.
|
|
30
|
+
*
|
|
31
|
+
* Log Safety: SAFE
|
|
32
|
+
*/
|
|
33
|
+
export interface DeleteTargetBoardPermissionDenied {
|
|
34
|
+
errorCode: "PERMISSION_DENIED";
|
|
35
|
+
errorName: "DeleteTargetBoardPermissionDenied";
|
|
36
|
+
errorInstanceId: string;
|
|
37
|
+
parameters: {
|
|
38
|
+
targetBoardRid: unknown;
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* The specified portion markings are not valid.
|
|
43
|
+
*
|
|
44
|
+
* Log Safety: UNSAFE
|
|
45
|
+
*/
|
|
46
|
+
export interface InvalidClassificationPortionMarkings {
|
|
47
|
+
errorCode: "INVALID_ARGUMENT";
|
|
48
|
+
errorName: "InvalidClassificationPortionMarkings";
|
|
49
|
+
errorInstanceId: string;
|
|
50
|
+
parameters: {
|
|
51
|
+
portionMarkings: unknown;
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* The space rid is missing or invalid.
|
|
56
|
+
*
|
|
57
|
+
* Log Safety: SAFE
|
|
58
|
+
*/
|
|
59
|
+
export interface InvalidSpaceRid {
|
|
60
|
+
errorCode: "INVALID_ARGUMENT";
|
|
61
|
+
errorName: "InvalidSpaceRid";
|
|
62
|
+
errorInstanceId: string;
|
|
63
|
+
parameters: {
|
|
64
|
+
spaceRid: unknown;
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Could not load the TargetBoard.
|
|
69
|
+
*
|
|
70
|
+
* Log Safety: SAFE
|
|
71
|
+
*/
|
|
72
|
+
export interface LoadTargetBoardPermissionDenied {
|
|
73
|
+
errorCode: "PERMISSION_DENIED";
|
|
74
|
+
errorName: "LoadTargetBoardPermissionDenied";
|
|
75
|
+
errorInstanceId: string;
|
|
76
|
+
parameters: {
|
|
77
|
+
targetBoardRid: unknown;
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Could not modify the TargetBoard.
|
|
82
|
+
*
|
|
83
|
+
* Log Safety: SAFE
|
|
84
|
+
*/
|
|
85
|
+
export interface ModifyTargetBoardPermissionDenied {
|
|
86
|
+
errorCode: "PERMISSION_DENIED";
|
|
87
|
+
errorName: "ModifyTargetBoardPermissionDenied";
|
|
88
|
+
errorInstanceId: string;
|
|
89
|
+
parameters: {
|
|
90
|
+
targetBoardRid: unknown;
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Multitenant mode is currently unknown.
|
|
95
|
+
*
|
|
96
|
+
* Log Safety: SAFE
|
|
97
|
+
*/
|
|
98
|
+
export interface MultitenantModeUnknown {
|
|
99
|
+
errorCode: "INTERNAL";
|
|
100
|
+
errorName: "MultitenantModeUnknown";
|
|
101
|
+
errorInstanceId: string;
|
|
102
|
+
parameters: {};
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Cannot find target board from provided rid
|
|
106
|
+
*
|
|
107
|
+
* Log Safety: SAFE
|
|
108
|
+
*/
|
|
109
|
+
export interface TargetBoardNotFound {
|
|
110
|
+
errorCode: "INVALID_ARGUMENT";
|
|
111
|
+
errorName: "TargetBoardNotFound";
|
|
112
|
+
errorInstanceId: string;
|
|
113
|
+
parameters: {
|
|
114
|
+
targetBoardRid: unknown;
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* The user is required to have owner permissions on the artifact.
|
|
119
|
+
*
|
|
120
|
+
* Log Safety: SAFE
|
|
121
|
+
*/
|
|
122
|
+
export interface UserHasNoOwnerPerms {
|
|
123
|
+
errorCode: "INVALID_ARGUMENT";
|
|
124
|
+
errorName: "UserHasNoOwnerPerms";
|
|
125
|
+
errorInstanceId: string;
|
|
126
|
+
parameters: {
|
|
127
|
+
artifactId: unknown;
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
//# 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,8BAA8B;IAC7C,SAAS,EAAE,kBAAkB,CAAC;IAC9B,SAAS,EAAE,gCAAgC,CAAC;IAC5C,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,cAAc,EAAE,OAAO,CAAC;KACzB,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,iCAAiC;IAChD,SAAS,EAAE,mBAAmB,CAAC;IAC/B,SAAS,EAAE,mCAAmC,CAAC;IAC/C,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,EAAE,CAAC;CAChB;AAED;;;;GAIG;AACH,MAAM,WAAW,iCAAiC;IAChD,SAAS,EAAE,mBAAmB,CAAC;IAC/B,SAAS,EAAE,mCAAmC,CAAC;IAC/C,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,cAAc,EAAE,OAAO,CAAC;KACzB,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,oCAAoC;IACnD,SAAS,EAAE,kBAAkB,CAAC;IAC9B,SAAS,EAAE,sCAAsC,CAAC;IAClD,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,eAAe,EAAE,OAAO,CAAC;KAC1B,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC9B,SAAS,EAAE,kBAAkB,CAAC;IAC9B,SAAS,EAAE,iBAAiB,CAAC;IAC7B,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,QAAQ,EAAE,OAAO,CAAC;KACnB,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,+BAA+B;IAC9C,SAAS,EAAE,mBAAmB,CAAC;IAC/B,SAAS,EAAE,iCAAiC,CAAC;IAC7C,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,cAAc,EAAE,OAAO,CAAC;KACzB,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,iCAAiC;IAChD,SAAS,EAAE,mBAAmB,CAAC;IAC/B,SAAS,EAAE,mCAAmC,CAAC;IAC/C,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,cAAc,EAAE,OAAO,CAAC;KACzB,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACrC,SAAS,EAAE,UAAU,CAAC;IACtB,SAAS,EAAE,wBAAwB,CAAC;IACpC,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,EAAE,CAAC;CAChB;AAED;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAClC,SAAS,EAAE,kBAAkB,CAAC;IAC9B,SAAS,EAAE,qBAAqB,CAAC;IACjC,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,cAAc,EAAE,OAAO,CAAC;KACzB,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAClC,SAAS,EAAE,kBAAkB,CAAC;IAC9B,SAAS,EAAE,qBAAqB,CAAC;IACjC,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,UAAU,EAAE,OAAO,CAAC;KACrB,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,4 @@
|
|
|
1
|
+
export type { ArtifactSecurity, BaseRevisionId, ColumnColor, CreateTargetBoardRequest, EmptySuccessResponse, GeoLocation, HighPriorityTargetListRid, LoadedTargetBoard, LoadLevel, LoadTargetBoardResponse, ModifyTargetBoardRequest, PortionMarking, SpaceRid, TargetBoard, TargetBoardColumnConfiguration, TargetBoardColumnConfigurationId, TargetBoardConfiguration, TargetBoardName, TargetBoardRid, TargetBranchId, TargetColumnStatus, TargetDetails, TargetIdentifierEnum, TargetLocation, TargetRid, } from "./_components.js";
|
|
2
|
+
export type { CannotUpdateColumnsWithTargets, CreateTargetBoardPermissionDenied, DeleteTargetBoardPermissionDenied, InvalidClassificationPortionMarkings, InvalidSpaceRid, LoadTargetBoardPermissionDenied, ModifyTargetBoardPermissionDenied, MultitenantModeUnknown, TargetBoardNotFound, UserHasNoOwnerPerms, } from "./_errors.js";
|
|
3
|
+
export * as TargetBoards from "./public/TargetBoard.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,gBAAgB,EAChB,cAAc,EACd,WAAW,EACX,wBAAwB,EACxB,oBAAoB,EACpB,WAAW,EACX,yBAAyB,EACzB,iBAAiB,EACjB,SAAS,EACT,uBAAuB,EACvB,wBAAwB,EACxB,cAAc,EACd,QAAQ,EACR,WAAW,EACX,8BAA8B,EAC9B,gCAAgC,EAChC,wBAAwB,EACxB,eAAe,EACf,cAAc,EACd,cAAc,EACd,kBAAkB,EAClB,aAAa,EACb,oBAAoB,EACpB,cAAc,EACd,SAAS,GACV,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EACV,8BAA8B,EAC9B,iCAAiC,EACjC,iCAAiC,EACjC,oCAAoC,EACpC,eAAe,EACf,+BAA+B,EAC/B,iCAAiC,EACjC,sBAAsB,EACtB,mBAAmB,EACnB,mBAAmB,GACpB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,YAAY,MAAM,yBAAyB,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 * as TargetBoards from "./public/TargetBoard.js";
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["TargetBoards"],"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 TargetBoards from \"./public/TargetBoard.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,KAAKA,YAAY,MAAM,yBAAyB","ignoreList":[]}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import type * as _Core from "@osdk/gotham.core";
|
|
2
|
+
import type { SharedClient as $OldClient, SharedClientContext as $OldClientContext } from "@osdk/shared.client";
|
|
3
|
+
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client2";
|
|
4
|
+
import type * as _TargetWorkbench from "../_components.js";
|
|
5
|
+
/**
|
|
6
|
+
* By default, create a TargetBoard with default columns: IDENTIFIED TARGET, PRIORITIZED TARGET, IN COORDINATION, IN EXECUTION, COMPLETE.
|
|
7
|
+
* Returns the RID of the created TargetBoard.
|
|
8
|
+
* The `security.spaceRid` field defaults to your user's space if there is only one. Use the List Spaces endpoint at `/api/v2/filesystem/spaces` to get the spaces your user has access to.
|
|
9
|
+
*
|
|
10
|
+
* @beta
|
|
11
|
+
*
|
|
12
|
+
* Required Scopes: [api:target-write]
|
|
13
|
+
* URL: /v2/targetWorkbench/targetBoards
|
|
14
|
+
*/
|
|
15
|
+
export declare function create($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
16
|
+
$body: _TargetWorkbench.CreateTargetBoardRequest,
|
|
17
|
+
$queryParams?: {
|
|
18
|
+
preview?: _Core.PreviewMode | undefined;
|
|
19
|
+
}
|
|
20
|
+
]): Promise<_TargetWorkbench.TargetBoard>;
|
|
21
|
+
/**
|
|
22
|
+
* Archive a Target Board by RID.
|
|
23
|
+
*
|
|
24
|
+
* @beta
|
|
25
|
+
*
|
|
26
|
+
* Required Scopes: [api:target-write]
|
|
27
|
+
* URL: /v2/targetWorkbench/targetBoards/{targetBoardRid}
|
|
28
|
+
*/
|
|
29
|
+
export declare function deleteTargetBoard($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
30
|
+
targetBoardRid: _TargetWorkbench.TargetBoardRid,
|
|
31
|
+
$queryParams?: {
|
|
32
|
+
preview?: _Core.PreviewMode | undefined;
|
|
33
|
+
}
|
|
34
|
+
]): Promise<void>;
|
|
35
|
+
/**
|
|
36
|
+
* Modify a Target Board by RID.
|
|
37
|
+
*
|
|
38
|
+
* Sets the current state of a Collection. Any fields, except `hptl`, not supplied will result in
|
|
39
|
+
* removal if there was a value present. Trying to set `hptl` to empty when there's already a value will
|
|
40
|
+
* result in an INVALID\_ARGUMENT exception. You cannot modify the `hptl` field if a value is already set.
|
|
41
|
+
* Fields that are not supported by the OpenAPI layer will remain unmodified.
|
|
42
|
+
*
|
|
43
|
+
* @public
|
|
44
|
+
*
|
|
45
|
+
* Required Scopes: [api:target-write]
|
|
46
|
+
* URL: /v2/targetWorkbench/targetBoards/{targetBoardRid}/modify
|
|
47
|
+
*/
|
|
48
|
+
export declare function modify($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
49
|
+
targetBoardRid: _TargetWorkbench.TargetBoardRid,
|
|
50
|
+
$body: _TargetWorkbench.ModifyTargetBoardRequest
|
|
51
|
+
]): Promise<_TargetWorkbench.EmptySuccessResponse>;
|
|
52
|
+
/**
|
|
53
|
+
* Load Target Board by RID.
|
|
54
|
+
*
|
|
55
|
+
* @public
|
|
56
|
+
*
|
|
57
|
+
* Required Scopes: [api:target-read]
|
|
58
|
+
* URL: /v2/targetWorkbench/targetBoards/{targetBoardRid}/load
|
|
59
|
+
*/
|
|
60
|
+
export declare function load($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [targetBoardRid: _TargetWorkbench.TargetBoardRid]): Promise<_TargetWorkbench.LoadTargetBoardResponse>;
|
|
61
|
+
//# sourceMappingURL=TargetBoard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TargetBoard.d.ts","sourceRoot":"","sources":["../../../src/public/TargetBoard.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,EACV,YAAY,IAAI,UAAU,EAC1B,mBAAmB,IAAI,iBAAiB,EACzC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,KAAK,gBAAgB,MAAM,mBAAmB,CAAC;AAW3D;;;;;;;;;GASG;AACH,wBAAgB,MAAM,CACpB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,KAAK,EAAE,gBAAgB,CAAC,wBAAwB;IAChD,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,gBAAgB,CAAC,WAAW,CAAC,CAEvC;AASD;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,cAAc,EAAE,gBAAgB,CAAC,cAAc;IAE/C,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,IAAI,CAAC,CAEf;AASD;;;;;;;;;;;;GAYG;AACH,wBAAgB,MAAM,CACpB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,cAAc,EAAE,gBAAgB,CAAC,cAAc;IAC/C,KAAK,EAAE,gBAAgB,CAAC,wBAAwB;CACjD,GACA,OAAO,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,CAEhD;AAQD;;;;;;;GAOG;AACH,wBAAgB,IAAI,CAClB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE,CAAC,cAAc,EAAE,gBAAgB,CAAC,cAAc,CAAC,GACzD,OAAO,CAAC,gBAAgB,CAAC,uBAAuB,CAAC,CAEnD"}
|
|
@@ -0,0 +1,73 @@
|
|
|
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 $platformFetch } from "@osdk/shared.net.platformapi";
|
|
17
|
+
//
|
|
18
|
+
const _create = [1, "/v2/targetWorkbench/targetBoards", 3];
|
|
19
|
+
/**
|
|
20
|
+
* By default, create a TargetBoard with default columns: IDENTIFIED TARGET, PRIORITIZED TARGET, IN COORDINATION, IN EXECUTION, COMPLETE.
|
|
21
|
+
* Returns the RID of the created TargetBoard.
|
|
22
|
+
* The `security.spaceRid` field defaults to your user's space if there is only one. Use the List Spaces endpoint at `/api/v2/filesystem/spaces` to get the spaces your user has access to.
|
|
23
|
+
*
|
|
24
|
+
* @beta
|
|
25
|
+
*
|
|
26
|
+
* Required Scopes: [api:target-write]
|
|
27
|
+
* URL: /v2/targetWorkbench/targetBoards
|
|
28
|
+
*/
|
|
29
|
+
export function create($ctx, ...args) {
|
|
30
|
+
return $platformFetch($ctx, _create, ...args);
|
|
31
|
+
}
|
|
32
|
+
const _deleteTargetBoard = [3, "/v2/targetWorkbench/targetBoards/{0}", 2];
|
|
33
|
+
/**
|
|
34
|
+
* Archive a Target Board by RID.
|
|
35
|
+
*
|
|
36
|
+
* @beta
|
|
37
|
+
*
|
|
38
|
+
* Required Scopes: [api:target-write]
|
|
39
|
+
* URL: /v2/targetWorkbench/targetBoards/{targetBoardRid}
|
|
40
|
+
*/
|
|
41
|
+
export function deleteTargetBoard($ctx, ...args) {
|
|
42
|
+
return $platformFetch($ctx, _deleteTargetBoard, ...args);
|
|
43
|
+
}
|
|
44
|
+
const _modify = [2, "/v2/targetWorkbench/targetBoards/{0}/modify", 1];
|
|
45
|
+
/**
|
|
46
|
+
* Modify a Target Board by RID.
|
|
47
|
+
*
|
|
48
|
+
* Sets the current state of a Collection. Any fields, except `hptl`, not supplied will result in
|
|
49
|
+
* removal if there was a value present. Trying to set `hptl` to empty when there's already a value will
|
|
50
|
+
* result in an INVALID\_ARGUMENT exception. You cannot modify the `hptl` field if a value is already set.
|
|
51
|
+
* Fields that are not supported by the OpenAPI layer will remain unmodified.
|
|
52
|
+
*
|
|
53
|
+
* @public
|
|
54
|
+
*
|
|
55
|
+
* Required Scopes: [api:target-write]
|
|
56
|
+
* URL: /v2/targetWorkbench/targetBoards/{targetBoardRid}/modify
|
|
57
|
+
*/
|
|
58
|
+
export function modify($ctx, ...args) {
|
|
59
|
+
return $platformFetch($ctx, _modify, ...args);
|
|
60
|
+
}
|
|
61
|
+
const _load = [0, "/v2/targetWorkbench/targetBoards/{0}/load"];
|
|
62
|
+
/**
|
|
63
|
+
* Load Target Board by RID.
|
|
64
|
+
*
|
|
65
|
+
* @public
|
|
66
|
+
*
|
|
67
|
+
* Required Scopes: [api:target-read]
|
|
68
|
+
* URL: /v2/targetWorkbench/targetBoards/{targetBoardRid}/load
|
|
69
|
+
*/
|
|
70
|
+
export function load($ctx, ...args) {
|
|
71
|
+
return $platformFetch($ctx, _load, ...args);
|
|
72
|
+
}
|
|
73
|
+
//# sourceMappingURL=TargetBoard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TargetBoard.js","names":["foundryPlatformFetch","$platformFetch","_create","create","$ctx","args","_deleteTargetBoard","deleteTargetBoard","_modify","modify","_load","load"],"sources":["TargetBoard.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 $platformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _create = [1, \"/v2/targetWorkbench/targetBoards\", 3];\n/**\n * By default, create a TargetBoard with default columns: IDENTIFIED TARGET, PRIORITIZED TARGET, IN COORDINATION, IN EXECUTION, COMPLETE.\n * Returns the RID of the created TargetBoard.\n * The `security.spaceRid` field defaults to your user's space if there is only one. Use the List Spaces endpoint at `/api/v2/filesystem/spaces` to get the spaces your user has access to.\n *\n * @beta\n *\n * Required Scopes: [api:target-write]\n * URL: /v2/targetWorkbench/targetBoards\n */\nexport function create($ctx, ...args) {\n return $platformFetch($ctx, _create, ...args);\n}\nconst _deleteTargetBoard = [3, \"/v2/targetWorkbench/targetBoards/{0}\", 2];\n/**\n * Archive a Target Board by RID.\n *\n * @beta\n *\n * Required Scopes: [api:target-write]\n * URL: /v2/targetWorkbench/targetBoards/{targetBoardRid}\n */\nexport function deleteTargetBoard($ctx, ...args) {\n return $platformFetch($ctx, _deleteTargetBoard, ...args);\n}\nconst _modify = [2, \"/v2/targetWorkbench/targetBoards/{0}/modify\", 1];\n/**\n * Modify a Target Board by RID.\n *\n * Sets the current state of a Collection. Any fields, except `hptl`, not supplied will result in\n * removal if there was a value present. Trying to set `hptl` to empty when there's already a value will\n * result in an INVALID\\_ARGUMENT exception. You cannot modify the `hptl` field if a value is already set.\n * Fields that are not supported by the OpenAPI layer will remain unmodified.\n *\n * @public\n *\n * Required Scopes: [api:target-write]\n * URL: /v2/targetWorkbench/targetBoards/{targetBoardRid}/modify\n */\nexport function modify($ctx, ...args) {\n return $platformFetch($ctx, _modify, ...args);\n}\nconst _load = [0, \"/v2/targetWorkbench/targetBoards/{0}/load\"];\n/**\n * Load Target Board by RID.\n *\n * @public\n *\n * Required Scopes: [api:target-read]\n * URL: /v2/targetWorkbench/targetBoards/{targetBoardRid}/load\n */\nexport function load($ctx, ...args) {\n return $platformFetch($ctx, _load, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,cAAc,QAAQ,8BAA8B;AACrF;AACA,MAAMC,OAAO,GAAG,CAAC,CAAC,EAAE,kCAAkC,EAAE,CAAC,CAAC;AAC1D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,MAAMA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAClC,OAAOJ,cAAc,CAACG,IAAI,EAAEF,OAAO,EAAE,GAAGG,IAAI,CAAC;AACjD;AACA,MAAMC,kBAAkB,GAAG,CAAC,CAAC,EAAE,sCAAsC,EAAE,CAAC,CAAC;AACzE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,iBAAiBA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC7C,OAAOJ,cAAc,CAACG,IAAI,EAAEE,kBAAkB,EAAE,GAAGD,IAAI,CAAC;AAC5D;AACA,MAAMG,OAAO,GAAG,CAAC,CAAC,EAAE,6CAA6C,EAAE,CAAC,CAAC;AACrE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,MAAMA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAClC,OAAOJ,cAAc,CAACG,IAAI,EAAEI,OAAO,EAAE,GAAGH,IAAI,CAAC;AACjD;AACA,MAAMK,KAAK,GAAG,CAAC,CAAC,EAAE,2CAA2C,CAAC;AAC9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,cAAc,CAACG,IAAI,EAAEM,KAAK,EAAE,GAAGL,IAAI,CAAC;AAC/C","ignoreList":[]}
|
package/package.json
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@osdk/gotham.targetworkbench",
|
|
3
|
+
"version": "0.0.0",
|
|
4
|
+
"license": "Apache-2.0",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/palantir/foundry-platform-typescript.git"
|
|
8
|
+
},
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"browser": "./build/browser/index.js",
|
|
12
|
+
"import": "./build/esm/index.js",
|
|
13
|
+
"default": "./build/esm/index.js"
|
|
14
|
+
},
|
|
15
|
+
"./*": {
|
|
16
|
+
"browser": "./build/browser/public/*.js",
|
|
17
|
+
"import": "./build/esm/public/*.js",
|
|
18
|
+
"default": "./build/esm/public/*.js"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"dependencies": {
|
|
22
|
+
"@osdk/shared.client": "1.0.1",
|
|
23
|
+
"@osdk/shared.client2": "^1.0.0",
|
|
24
|
+
"@osdk/gotham.core": "0.0.0",
|
|
25
|
+
"@osdk/shared.net.platformapi": "~1.4.0"
|
|
26
|
+
},
|
|
27
|
+
"devDependencies": {
|
|
28
|
+
"typescript": "^5.5.4",
|
|
29
|
+
"@osdk/monorepo.tsconfig": "~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.1273.0",
|
|
49
|
+
"maxVersion": "1.x.x",
|
|
50
|
+
"optional": false
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"type": "module",
|
|
55
|
+
"scripts": {
|
|
56
|
+
"check-attw": "monorepo.tool.attw esm",
|
|
57
|
+
"check-spelling": "cspell --quiet .",
|
|
58
|
+
"clean": "rm -rf lib dist types build tsconfig.tsbuildinfo",
|
|
59
|
+
"fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)",
|
|
60
|
+
"lint": "eslint . && dprint check --config $(find-up dprint.json)",
|
|
61
|
+
"transpile": "monorepo.tool.transpile"
|
|
62
|
+
}
|
|
63
|
+
}
|