sandbox0 0.9.7 → 0.9.8

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.
@@ -33,6 +33,18 @@ export interface RegistryCredentials {
33
33
  * @memberof RegistryCredentials
34
34
  */
35
35
  pullRegistry: string;
36
+ /**
37
+ * Complete provider-specific image reference to push. Clients should prefer this over composing pushRegistry and targetImage.
38
+ * @type {string}
39
+ * @memberof RegistryCredentials
40
+ */
41
+ pushImage?: string;
42
+ /**
43
+ * Complete image reference for templates and sandbox pulls. It may use a private regional endpoint.
44
+ * @type {string}
45
+ * @memberof RegistryCredentials
46
+ */
47
+ pullImage?: string;
36
48
  /**
37
49
  *
38
50
  * @type {string}
@@ -1 +1 @@
1
- {"version":3,"file":"RegistryCredentials.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/RegistryCredentials.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,SAAS,CAAC,EAAE,IAAI,CAAC;CACpB;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,mBAAmB,CAOzF;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAE1E;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mBAAmB,CAa7G;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAExE;AAED,wBAAgB,8BAA8B,CAAC,KAAK,CAAC,EAAE,mBAAmB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAc5H"}
1
+ {"version":3,"file":"RegistryCredentials.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/RegistryCredentials.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,SAAS,CAAC,EAAE,IAAI,CAAC;CACpB;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,mBAAmB,CAOzF;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAE1E;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mBAAmB,CAe7G;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAExE;AAED,wBAAgB,8BAA8B,CAAC,KAAK,CAAC,EAAE,mBAAmB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAgB5H"}
@@ -38,6 +38,8 @@ export function RegistryCredentialsFromJSONTyped(json, ignoreDiscriminator) {
38
38
  'provider': json['provider'],
39
39
  'pushRegistry': json['pushRegistry'],
40
40
  'pullRegistry': json['pullRegistry'],
41
+ 'pushImage': json['pushImage'] == null ? undefined : json['pushImage'],
42
+ 'pullImage': json['pullImage'] == null ? undefined : json['pullImage'],
41
43
  'username': json['username'],
42
44
  'password': json['password'],
43
45
  'expiresAt': json['expiresAt'] == null ? undefined : (new Date(json['expiresAt'])),
@@ -54,6 +56,8 @@ export function RegistryCredentialsToJSONTyped(value, ignoreDiscriminator = fals
54
56
  'provider': value['provider'],
55
57
  'pushRegistry': value['pushRegistry'],
56
58
  'pullRegistry': value['pullRegistry'],
59
+ 'pushImage': value['pushImage'],
60
+ 'pullImage': value['pullImage'],
57
61
  'username': value['username'],
58
62
  'password': value['password'],
59
63
  'expiresAt': value['expiresAt'] == null ? value['expiresAt'] : value['expiresAt'].toISOString(),
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- * Per-sandbox webhook configuration. Sandbox0 delivers webhook events at least once and consumers should deduplicate by event_id. For sandbox lifecycle events, procd persists signed delivery records to a manager-owned SandboxVolume outside the workspace before dispatch; manager also emits sandbox.deleted during pod deletion cleanup.
13
+ * Per-sandbox webhook configuration. Retries can deliver the same event more than once, so consumers should deduplicate by event_id and must not assume every unavailable endpoint eventually receives every event. Procd persists signed delivery records to a manager-owned SandboxVolume outside the workspace. Manager transactionally queues sandbox.deleted in PostgreSQL, retries transient failures for up to 24 hours, and never waits for the external endpoint before completing sandbox cleanup.
14
14
  *
15
15
  * @export
16
16
  * @interface WebhookConfig
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sandbox0",
3
- "version": "0.9.7",
3
+ "version": "0.9.8",
4
4
  "description": "Sandbox0 JavaScript/TypeScript SDK",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Sandbox0 Team",