@nodaro/sdk 1.24.0 → 1.25.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/dist/index.cjs +11 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +49 -8
- package/dist/index.d.ts +49 -8
- package/dist/index.js +11 -4
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -238,10 +238,17 @@ var WorkflowsResource = class {
|
|
|
238
238
|
}
|
|
239
239
|
/**
|
|
240
240
|
* Import a `WorkflowExport` bundle into the specified project.
|
|
241
|
-
* Re-creates any bundled assets (characters, objects, locations)
|
|
241
|
+
* Re-creates any bundled assets (characters, objects, creatures, locations)
|
|
242
|
+
* under your account, and re-points BOTH the entity nodes and every `@`-chip
|
|
243
|
+
* (`ConnectedReference`) bound in the graph at the rows it created.
|
|
242
244
|
* Media the bundle references on other hosts is copied onto this instance's
|
|
243
|
-
* storage where reachable;
|
|
244
|
-
*
|
|
245
|
+
* storage where reachable; a bundled entity's images are copied whoever
|
|
246
|
+
* hosts them, because they are the exporter's bytes and their lifecycle is
|
|
247
|
+
* not yours. `importReport` says what was copied, what could not be reached
|
|
248
|
+
* and what was skipped (and why); `assetIdMap` maps each bundled entity id
|
|
249
|
+
* to the row created for it (for chips you hold outside the graph), and
|
|
250
|
+
* `assetsSkipped` names the entities your storage quota left uncreated —
|
|
251
|
+
* the workflow itself still lands.
|
|
245
252
|
*/
|
|
246
253
|
import(input) {
|
|
247
254
|
const { projectId, ...workflowJson } = input;
|
|
@@ -2628,7 +2635,7 @@ var WorkspacesResource = class {
|
|
|
2628
2635
|
return this.client.request("POST", "/v1/workspaces/join", { body: { code } });
|
|
2629
2636
|
}
|
|
2630
2637
|
};
|
|
2631
|
-
var SDK_VERSION = "1.
|
|
2638
|
+
var SDK_VERSION = "1.25.0" ;
|
|
2632
2639
|
var CLIENT_HEADER = "X-Nodaro-Client";
|
|
2633
2640
|
var isBrowser = () => typeof window !== "undefined" && typeof window.document !== "undefined";
|
|
2634
2641
|
var NodaroClient = class _NodaroClient {
|