@osdk/foundry.core 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,3 @@
1
+
2
+ //# sourceMappingURL=out.js.map
3
+ //# sourceMappingURL=index.browser.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ 'use strict';
2
+
3
+ //# sourceMappingURL=out.js.map
4
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+
2
+ //# sourceMappingURL=out.js.map
3
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -0,0 +1,236 @@
1
+ export type LooselyBrandedString<T extends string> = string & {
2
+ __LOOSE_BRAND?: T;
3
+ };
4
+ /**
5
+ * The format of an archive file.
6
+ *
7
+ * Log Safety: SAFE
8
+ */
9
+ export type ArchiveFileFormat = "ZIP";
10
+ /**
11
+ * Log Safety: UNSAFE
12
+ */
13
+ export type AttributeName = LooselyBrandedString<"AttributeName">;
14
+ /**
15
+ * Log Safety: UNSAFE
16
+ */
17
+ export type AttributeValue = LooselyBrandedString<"AttributeValue">;
18
+ /**
19
+ * Log Safety: UNSAFE
20
+ */
21
+ export type AttributeValues = Array<AttributeValue>;
22
+ /**
23
+ * Log Safety: SAFE
24
+ */
25
+ export type ContentLength = string;
26
+ /**
27
+ * Log Safety: SAFE
28
+ */
29
+ export type ContentType = LooselyBrandedString<"ContentType">;
30
+ /**
31
+ * The Foundry user who created this resource
32
+ *
33
+ * Log Safety: SAFE
34
+ */
35
+ export type CreatedBy = UserId;
36
+ /**
37
+ * The time at which the resource was created.
38
+ *
39
+ * Log Safety: SAFE
40
+ */
41
+ export type CreatedTime = string;
42
+ /**
43
+ * The display name of the entity.
44
+ *
45
+ * Log Safety: UNSAFE
46
+ */
47
+ export type DisplayName = LooselyBrandedString<"DisplayName">;
48
+ /**
49
+ * A measurement of distance.
50
+ *
51
+ * Log Safety: UNSAFE
52
+ */
53
+ export interface Distance {
54
+ value: number;
55
+ unit: DistanceUnit;
56
+ }
57
+ /**
58
+ * Log Safety: SAFE
59
+ */
60
+ export type DistanceUnit = "MILLIMETERS" | "CENTIMETERS" | "METERS" | "KILOMETERS" | "INCHES" | "FEET" | "YARDS" | "MILES" | "NAUTICAL_MILES";
61
+ /**
62
+ * An ISO 8601 formatted duration.
63
+ *
64
+ * Log Safety: UNSAFE
65
+ */
66
+ export type Duration = LooselyBrandedString<"Duration">;
67
+ /**
68
+ * The path to a File within Foundry. Examples: my-file.txt, path/to/my-file.jpg, dataframe.snappy.parquet.
69
+ *
70
+ * Log Safety: UNSAFE
71
+ */
72
+ export type FilePath = LooselyBrandedString<"FilePath">;
73
+ /**
74
+ * Log Safety: SAFE
75
+ */
76
+ export type FolderRid = LooselyBrandedString<"FolderRid">;
77
+ /**
78
+ * Log Safety: UNSAFE
79
+ */
80
+ export interface Group {
81
+ id: PrincipalId;
82
+ name: GroupName;
83
+ description?: string;
84
+ realm: Realm;
85
+ organizations: Array<OrganizationRid>;
86
+ attributes: Record<AttributeName, AttributeValues>;
87
+ }
88
+ /**
89
+ * Log Safety: SAFE
90
+ */
91
+ export interface GroupMember {
92
+ principalType: PrincipalType;
93
+ principalId: PrincipalId;
94
+ }
95
+ /**
96
+ * Log Safety: SAFE
97
+ */
98
+ export interface GroupMembership {
99
+ groupId: PrincipalId;
100
+ }
101
+ /**
102
+ * Log Safety: SAFE
103
+ */
104
+ export type GroupMembershipExpiration = string;
105
+ /**
106
+ * Log Safety: UNSAFE
107
+ */
108
+ export type GroupName = LooselyBrandedString<"GroupName">;
109
+ /**
110
+ * Log Safety: SAFE
111
+ */
112
+ export type OrganizationRid = LooselyBrandedString<"OrganizationRid">;
113
+ /**
114
+ * The page size to use for the endpoint.
115
+ *
116
+ * Log Safety: SAFE
117
+ */
118
+ export type PageSize = number;
119
+ /**
120
+ * The page token indicates where to start paging. This should be omitted from the first page's request.
121
+ To fetch the next page, clients should take the value from the nextPageToken field of the previous response
122
+ and populate the next request's pageToken field with it.
123
+ *
124
+ * Log Safety: UNSAFE
125
+ */
126
+ export type PageToken = LooselyBrandedString<"PageToken">;
127
+ /**
128
+ * Enables the use of preview functionality.
129
+ *
130
+ * Log Safety: SAFE
131
+ */
132
+ export type PreviewMode = boolean;
133
+ /**
134
+ * The ID of a Foundry Group or User.
135
+ *
136
+ * Log Safety: SAFE
137
+ */
138
+ export type PrincipalId = string;
139
+ /**
140
+ * Log Safety: SAFE
141
+ */
142
+ export type PrincipalType = "USER" | "GROUP";
143
+ /**
144
+ * Identifies which Realm a User or Group is a member of.
145
+ The palantir-internal-realm is used for Users or Groups that are created in Foundry by administrators and not associated with any SSO provider.
146
+ *
147
+ * Log Safety: UNSAFE
148
+ */
149
+ export type Realm = LooselyBrandedString<"Realm">;
150
+ /**
151
+ * The release status of the entity.
152
+ *
153
+ * Log Safety: SAFE
154
+ */
155
+ export type ReleaseStatus = "ACTIVE" | "EXPERIMENTAL" | "DEPRECATED";
156
+ /**
157
+ * The size of the file or attachment in bytes.
158
+ *
159
+ * Log Safety: SAFE
160
+ */
161
+ export type SizeBytes = string;
162
+ /**
163
+ * A subdomain from which a website is served.
164
+ *
165
+ * Log Safety: UNSAFE
166
+ */
167
+ export type Subdomain = LooselyBrandedString<"Subdomain">;
168
+ /**
169
+ * Log Safety: SAFE
170
+ */
171
+ export interface ThirdPartyApplication {
172
+ rid: ThirdPartyApplicationRid;
173
+ }
174
+ /**
175
+ * An RID identifying a third-party application created in Developer Console.
176
+ *
177
+ * Log Safety: SAFE
178
+ */
179
+ export type ThirdPartyApplicationRid = LooselyBrandedString<"ThirdPartyApplicationRid">;
180
+ /**
181
+ * Log Safety: SAFE
182
+ */
183
+ export type TimeUnit = "MILLISECONDS" | "SECONDS" | "MINUTES" | "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | "QUARTERS";
184
+ /**
185
+ * The Foundry user who last updated this resource
186
+ *
187
+ * Log Safety: SAFE
188
+ */
189
+ export type UpdatedBy = UserId;
190
+ /**
191
+ * The time at which the resource was most recently updated.
192
+ *
193
+ * Log Safety: SAFE
194
+ */
195
+ export type UpdatedTime = string;
196
+ /**
197
+ * Log Safety: UNSAFE
198
+ */
199
+ export interface User {
200
+ id: PrincipalId;
201
+ username: UserUsername;
202
+ givenName?: string;
203
+ familyName?: string;
204
+ email?: string;
205
+ realm: Realm;
206
+ organization: OrganizationRid;
207
+ attributes: Record<AttributeName, AttributeValues>;
208
+ }
209
+ /**
210
+ * A Foundry User ID.
211
+ *
212
+ * Log Safety: SAFE
213
+ */
214
+ export type UserId = string;
215
+ /**
216
+ * Log Safety: UNSAFE
217
+ */
218
+ export type UserUsername = LooselyBrandedString<"UserUsername">;
219
+ /**
220
+ * Log Safety: UNSAFE
221
+ */
222
+ export interface Version {
223
+ version: VersionVersion;
224
+ }
225
+ /**
226
+ * Log Safety: UNSAFE
227
+ */
228
+ export type VersionVersion = LooselyBrandedString<"VersionVersion">;
229
+ /**
230
+ * Log Safety: UNSAFE
231
+ */
232
+ export interface Website {
233
+ deployedVersion?: VersionVersion;
234
+ subdomains: Array<Subdomain>;
235
+ }
236
+ //# sourceMappingURL=_components.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_components.d.ts","sourceRoot":"","sources":["../../src/_components.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,MAAM,iBAAiB,GAAG,KAAK,CAAC;AAEtC;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,oBAAoB,CAAC,eAAe,CAAC,CAAC;AAElE;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,o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QAAQ,GACR,OAAO,GACP,UAAU,CAAC;AAEf;;;;GAIG;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC;AAE/B;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC;AAEjC;;GAEG;AACH,MAAM,WAAW,IAAI;IACnB,EAAE,EAAE,WAAW,CAAC;IAChB,QAAQ,EAAE,YAAY,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,KAAK,CAAC;IACb,YAAY,EAAE,eAAe,CAAC;IAC9B,UAAU,EAAE,MAAM,CAAC,aAAa,EAAE,eAAe,CAAC,CAAC;CACpD;AAED;;;;GAIG;AACH,MAAM,MAAM,MAAM,GAAG,MAAM,CAAC;AAE5B;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,oBAAoB,CAAC,cAAc,CAAC,CAAC;AAEhE;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB,OAAO,EAAE,cAAc,CAAC;CACzB;AAED;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,oBAAoB,CAAC,gBAAgB,CAAC,CAAC;AAEpE;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB,eAAe,CAAC,EAAE,cAAc,CAAC;IACjC,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;CAC9B"}
@@ -0,0 +1,2 @@
1
+ export type * from "./_components.js";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAgBA,mBAAmB,kBAAkB,CAAC"}
package/package.json ADDED
@@ -0,0 +1,60 @@
1
+ {
2
+ "name": "@osdk/foundry.core",
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
+ "types": "./build/types/index.d.ts",
12
+ "browser": "./build/js/index.browser.mjs",
13
+ "import": "./build/js/index.mjs",
14
+ "require": "./build/js/index.cjs"
15
+ },
16
+ "./*": {
17
+ "types": "./build/types/public/*.d.ts",
18
+ "browser": "./build/js/public/*.browser.mjs",
19
+ "import": "./build/js/public/*.mjs",
20
+ "require": "./build/js/public/*.cjs"
21
+ }
22
+ },
23
+ "dependencies": {
24
+ "@osdk/shared.net": "^1.10.0",
25
+ "@osdk/api": "^1.7.0"
26
+ },
27
+ "devDependencies": {
28
+ "typescript": "^5.4.5"
29
+ },
30
+ "publishConfig": {
31
+ "access": "public"
32
+ },
33
+ "files": [
34
+ "build/types",
35
+ "build/js",
36
+ "CHANGELOG.md",
37
+ "package.json",
38
+ "templates",
39
+ "*.d.ts"
40
+ ],
41
+ "main": "./build/js/index.cjs",
42
+ "module": "./build/js/index.mjs",
43
+ "types": "./build/types/index.d.ts",
44
+ "sls": {
45
+ "dependencies": {
46
+ "com.palantir.foundry.api:api-gateway": {
47
+ "minVersion": "1.824.0",
48
+ "maxVersion": "1.x.x"
49
+ }
50
+ }
51
+ },
52
+ "type": "module",
53
+ "scripts": {
54
+ "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo",
55
+ "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)",
56
+ "lint": "eslint . && dprint check --config $(find-up dprint.json)",
57
+ "transpile": "tsup",
58
+ "typecheck": "tsc-absolute"
59
+ }
60
+ }