@sequenceholdings/artifact-studio 0.10.0 → 0.10.1
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/dist/sdk.d.ts
CHANGED
|
@@ -413,6 +413,40 @@ export declare function createArtifactStorageClient(sdk?: SequenceArtifactSdk):
|
|
|
413
413
|
size: number | null;
|
|
414
414
|
contentType: string | null;
|
|
415
415
|
}>;
|
|
416
|
+
getNodeWithAncestors: (id: string) => Promise<{
|
|
417
|
+
id: string;
|
|
418
|
+
workspaceId: string;
|
|
419
|
+
parentId: string | null;
|
|
420
|
+
name: string;
|
|
421
|
+
kind: "file" | "folder";
|
|
422
|
+
state: "active" | "trashed" | "purging";
|
|
423
|
+
restricted: boolean;
|
|
424
|
+
revision: number;
|
|
425
|
+
currentVersionId: string | null;
|
|
426
|
+
metadata: Record<string, string>;
|
|
427
|
+
createdAt: string;
|
|
428
|
+
updatedAt: string;
|
|
429
|
+
role: "viewer" | "editor" | "admin";
|
|
430
|
+
size: number | null;
|
|
431
|
+
contentType: string | null;
|
|
432
|
+
ancestors: {
|
|
433
|
+
id: string;
|
|
434
|
+
workspaceId: string;
|
|
435
|
+
parentId: string | null;
|
|
436
|
+
name: string;
|
|
437
|
+
kind: "file" | "folder";
|
|
438
|
+
state: "active" | "trashed" | "purging";
|
|
439
|
+
restricted: boolean;
|
|
440
|
+
revision: number;
|
|
441
|
+
currentVersionId: string | null;
|
|
442
|
+
metadata: Record<string, string>;
|
|
443
|
+
createdAt: string;
|
|
444
|
+
updatedAt: string;
|
|
445
|
+
role: "viewer" | "editor" | "admin";
|
|
446
|
+
size: number | null;
|
|
447
|
+
contentType: string | null;
|
|
448
|
+
}[];
|
|
449
|
+
}>;
|
|
416
450
|
createFolder: (name: string, parentId?: string | null, { idempotencyKey, }?: {
|
|
417
451
|
idempotencyKey?: string;
|
|
418
452
|
}) => Promise<{
|
|
@@ -186,6 +186,10 @@ own origin rather than a neighbour's. When the application origin is on a
|
|
|
186
186
|
different site from its Atlas frame, a cookie it needs there must also be
|
|
187
187
|
`SameSite=None; Partitioned`, or the browser drops it.
|
|
188
188
|
|
|
189
|
+
For the same reason, the gateway refuses any `POST`, `PUT`, `PATCH`, `DELETE` or
|
|
190
|
+
WebSocket upgrade whose `Origin` is not your application's own. It does not guard
|
|
191
|
+
`GET`, `HEAD` or `OPTIONS`, so never change state in response to them.
|
|
192
|
+
|
|
189
193
|
The local process is ordinary code running as your operating-system user.
|
|
190
194
|
Atlas governs access to platform resources; it does not sandbox your laptop's
|
|
191
195
|
filesystem or all outbound network connections.
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"publishConfig": {
|
|
10
10
|
"access": "public"
|
|
11
11
|
},
|
|
12
|
-
"version": "0.10.
|
|
12
|
+
"version": "0.10.1",
|
|
13
13
|
"description": "SDK types and CLI library for building Artifact Studio apps. Driven via `seq-studio artifact <sub>` (@sequenceholdings/studio-cli), which runs the `./cli` runCli export.",
|
|
14
14
|
"type": "module",
|
|
15
15
|
"exports": {
|
|
@@ -171,9 +171,9 @@
|
|
|
171
171
|
"google-auth-library": "^10.5.0",
|
|
172
172
|
"server-only": "0.0.1",
|
|
173
173
|
"parse5": "7.3.0",
|
|
174
|
-
"@sequenceholdings/lattice-form-renderer": "0.2.0",
|
|
175
174
|
"@sequenceholdings/storage": "0.1.2",
|
|
176
|
-
"@sequenceholdings/orm": "2.7.
|
|
175
|
+
"@sequenceholdings/orm": "2.7.1",
|
|
176
|
+
"@sequenceholdings/lattice-form-renderer": "0.2.0"
|
|
177
177
|
},
|
|
178
178
|
"devDependencies": {
|
|
179
179
|
"@types/js-yaml": "^4.0.9",
|
|
@@ -186,6 +186,10 @@ own origin rather than a neighbour's. When the application origin is on a
|
|
|
186
186
|
different site from its Atlas frame, a cookie it needs there must also be
|
|
187
187
|
`SameSite=None; Partitioned`, or the browser drops it.
|
|
188
188
|
|
|
189
|
+
For the same reason, the gateway refuses any `POST`, `PUT`, `PATCH`, `DELETE` or
|
|
190
|
+
WebSocket upgrade whose `Origin` is not your application's own. It does not guard
|
|
191
|
+
`GET`, `HEAD` or `OPTIONS`, so never change state in response to them.
|
|
192
|
+
|
|
189
193
|
The local process is ordinary code running as your operating-system user.
|
|
190
194
|
Atlas governs access to platform resources; it does not sandbox your laptop's
|
|
191
195
|
filesystem or all outbound network connections.
|