zephyr-edge-contract 0.0.17 → 0.0.18

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.
@@ -2,6 +2,30 @@ export interface PublishTarget {
2
2
  url: string;
3
3
  hostname: string;
4
4
  }
5
+ export interface PublishTargets {
6
+ /**
7
+ * `undefined` for rollback request, otherwise `PublishTarget`
8
+ *
9
+ * Already published at this point
10
+ */
11
+ version?: PublishTarget;
12
+ tags: PublishTarget[];
13
+ envs: PublishTarget[];
14
+ cnames: PublishTarget[];
15
+ }
16
+ export interface GatewayPublishRequest {
17
+ EDGE_URL: string;
18
+ application_uid: string;
19
+ snapshot_id: string;
20
+ targets: PublishTargets;
21
+ /** previously `can_write_jwt` */
22
+ jwt: string;
23
+ }
24
+ export interface StageZeroPublishRequest {
25
+ application_uid: string;
26
+ snapshot_id: string;
27
+ targets: PublishTarget[];
28
+ }
5
29
  export interface PublishRequest {
6
30
  EDGE_URL: string;
7
31
  application_uid: string;
@@ -20,8 +44,3 @@ export interface PublishRequest {
20
44
  };
21
45
  jwt: string;
22
46
  }
23
- export interface StageZeroPublishRequest {
24
- application_uid: string;
25
- snapshot_id: string;
26
- targets: PublishTarget[];
27
- }
@@ -2,6 +2,7 @@ export interface ZeAppVersion {
2
2
  application_uid: string;
3
3
  snapshot_id: string;
4
4
  version: string;
5
+ version_id: string;
5
6
  remote_entry_url: string;
6
7
  remote_host: string;
7
8
  name: string;
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zephyr-edge-contract",
3
- "version": "0.0.17",
3
+ "version": "0.0.18",
4
4
  "license": "Apache-2.0",
5
5
  "type": "commonjs",
6
6
  "main": "dist/index.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zephyr-edge-contract",
3
- "version": "0.0.17",
3
+ "version": "0.0.18",
4
4
  "license": "Apache-2.0",
5
5
  "type": "commonjs",
6
6
  "main": "dist/index.js",