@constal/sdk 6.16.0 → 6.17.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/package.json +1 -1
- package/publish/api.json +1 -1
- package/publish/index.d.ts +9 -0
package/package.json
CHANGED
package/publish/api.json
CHANGED
package/publish/index.d.ts
CHANGED
|
@@ -2339,6 +2339,15 @@ interface SandboxPlacement {
|
|
|
2339
2339
|
interface SandboxCreateRequest {
|
|
2340
2340
|
/** The sandbox's id (SANDBOX_DOOR_ID), one the caller chose; omitted: one the door mints, kept under the create's key. */
|
|
2341
2341
|
id?: string;
|
|
2342
|
+
/**
|
|
2343
|
+
* Its name in the namespace, part of the create's identity: one segment of resolve's path, not empty, not `.` or `..`
|
|
2344
|
+
* (which a URL's parsing removes from a path) and with no `/`. Its coordinator claims it right before it writes the
|
|
2345
|
+
* sandbox, so a name another sandbox holds (one not deleted) is `AlreadyExists` naming that sandbox
|
|
2346
|
+
* (SandboxDoorError.sandbox), and nothing is made, at its provider either; a delete releases it, and resolve answers the
|
|
2347
|
+
* id it names. A create given its own `id` takes none (`Invalid`): only a minted id's create keeps its key in the
|
|
2348
|
+
* namespace, which keeps the name it asked. Omitted: no name, and nothing is claimed.
|
|
2349
|
+
*/
|
|
2350
|
+
name?: string;
|
|
2342
2351
|
/** The pools it may run on, in the order it tries them; one pool is a list of one. */
|
|
2343
2352
|
pools: SandboxPlacement[];
|
|
2344
2353
|
/** A SANDBOX_SIZES name or an allocation, which usage is priced on; the provider gives its nearest shape at or above it. Omitted: the pool's. */
|