@faable/deploy-sdk 1.0.11 → 1.0.12

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.
@@ -3,24 +3,18 @@ export declare class DeployApi extends FaableApi {
3
3
  constructor(params?: ApiParams);
4
4
  getDeployment(id: string): Promise<{
5
5
  id: string;
6
+ team: string;
6
7
  app_id: string;
7
8
  image: string;
8
9
  status: import("./api/types.js").components["schemas"]["DeploymentStatus"];
9
- user: string | null;
10
+ metadata: {
11
+ [key: string]: unknown;
12
+ };
10
13
  createdAt: string;
14
+ updatedAt: string;
11
15
  }>;
12
16
  getApp(id: string): Promise<{
13
17
  id: string;
14
- profile?: {
15
- id: string;
16
- slug: string;
17
- name?: string;
18
- description: string;
19
- is_team: boolean;
20
- owner_id: string;
21
- stripe_sub?: string | null;
22
- createdAt: string;
23
- } | string | unknown;
24
18
  team: string;
25
19
  name: string;
26
20
  description: string;
@@ -31,26 +25,16 @@ export declare class DeployApi extends FaableApi {
31
25
  runtime_strategy: ("next" | "wordpress") | null;
32
26
  instance_type: string;
33
27
  region: string;
34
- creator: string;
28
+ status: import("./api/types.js").components["schemas"]["AppStatus"];
35
29
  metadata: {
36
30
  [key: string]: unknown;
37
31
  };
38
- status: import("./api/types.js").components["schemas"]["AppStatus"];
39
32
  createdAt: string;
33
+ updatedAt: string;
40
34
  }>;
41
35
  listApps(): {
42
36
  all: () => Promise<{
43
37
  id: string;
44
- profile?: {
45
- id: string;
46
- slug: string;
47
- name?: string;
48
- description: string;
49
- is_team: boolean;
50
- owner_id: string;
51
- stripe_sub?: string | null;
52
- createdAt: string;
53
- } | string | unknown;
54
38
  team: string;
55
39
  name: string;
56
40
  description: string;
@@ -61,25 +45,15 @@ export declare class DeployApi extends FaableApi {
61
45
  runtime_strategy: ("next" | "wordpress") | null;
62
46
  instance_type: string;
63
47
  region: string;
64
- creator: string;
48
+ status: import("./api/types.js").components["schemas"]["AppStatus"];
65
49
  metadata: {
66
50
  [key: string]: unknown;
67
51
  };
68
- status: import("./api/types.js").components["schemas"]["AppStatus"];
69
52
  createdAt: string;
53
+ updatedAt: string;
70
54
  }[]>;
71
55
  first: () => Promise<import("@faable/sdk-base/dist/helpers/paginator.js").Page<{
72
56
  id: string;
73
- profile?: {
74
- id: string;
75
- slug: string;
76
- name?: string;
77
- description: string;
78
- is_team: boolean;
79
- owner_id: string;
80
- stripe_sub?: string | null;
81
- createdAt: string;
82
- } | string | unknown;
83
57
  team: string;
84
58
  name: string;
85
59
  description: string;
@@ -90,28 +64,18 @@ export declare class DeployApi extends FaableApi {
90
64
  runtime_strategy: ("next" | "wordpress") | null;
91
65
  instance_type: string;
92
66
  region: string;
93
- creator: string;
67
+ status: import("./api/types.js").components["schemas"]["AppStatus"];
94
68
  metadata: {
95
69
  [key: string]: unknown;
96
70
  };
97
- status: import("./api/types.js").components["schemas"]["AppStatus"];
98
71
  createdAt: string;
72
+ updatedAt: string;
99
73
  }>>;
100
74
  pass: (params?: {
101
75
  cursor?: string;
102
76
  pageSize?: string;
103
77
  }) => Promise<import("@faable/sdk-base/dist/helpers/paginator.js").Page<{
104
78
  id: string;
105
- profile?: {
106
- id: string;
107
- slug: string;
108
- name?: string;
109
- description: string;
110
- is_team: boolean;
111
- owner_id: string;
112
- stripe_sub?: string | null;
113
- createdAt: string;
114
- } | string | unknown;
115
79
  team: string;
116
80
  name: string;
117
81
  description: string;
@@ -122,48 +86,63 @@ export declare class DeployApi extends FaableApi {
122
86
  runtime_strategy: ("next" | "wordpress") | null;
123
87
  instance_type: string;
124
88
  region: string;
125
- creator: string;
89
+ status: import("./api/types.js").components["schemas"]["AppStatus"];
126
90
  metadata: {
127
91
  [key: string]: unknown;
128
92
  };
129
- status: import("./api/types.js").components["schemas"]["AppStatus"];
130
93
  createdAt: string;
94
+ updatedAt: string;
131
95
  }>>;
132
96
  };
133
97
  updateStatus<T>(id: string, data: T): Promise<any>;
134
98
  listSecrets(id: string): {
135
99
  all: () => Promise<{
136
100
  id: string;
101
+ team: string;
137
102
  app_id?: string;
138
103
  profile_id?: string;
139
104
  related: string;
140
105
  related_model: string;
141
106
  name: string;
142
107
  value: string;
108
+ metadata: {
109
+ [key: string]: unknown;
110
+ };
143
111
  createdAt: string;
112
+ updatedAt: string;
144
113
  }[]>;
145
114
  first: () => Promise<import("@faable/sdk-base/dist/helpers/paginator.js").Page<{
146
115
  id: string;
116
+ team: string;
147
117
  app_id?: string;
148
118
  profile_id?: string;
149
119
  related: string;
150
120
  related_model: string;
151
121
  name: string;
152
122
  value: string;
123
+ metadata: {
124
+ [key: string]: unknown;
125
+ };
153
126
  createdAt: string;
127
+ updatedAt: string;
154
128
  }>>;
155
129
  pass: (params?: {
156
130
  cursor?: string;
157
131
  pageSize?: string;
158
132
  }) => Promise<import("@faable/sdk-base/dist/helpers/paginator.js").Page<{
159
133
  id: string;
134
+ team: string;
160
135
  app_id?: string;
161
136
  profile_id?: string;
162
137
  related: string;
163
138
  related_model: string;
164
139
  name: string;
165
140
  value: string;
141
+ metadata: {
142
+ [key: string]: unknown;
143
+ };
166
144
  createdAt: string;
145
+ updatedAt: string;
167
146
  }>>;
168
147
  };
169
148
  }
@@ -1 +1 @@
1
- {"version":3,"file":"FaableDeployApi.d.ts","sourceRoot":"","sources":["../src/FaableDeployApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAGxD,qBAAa,SAAU,SAAQ,SAAS;gBAC1B,MAAM,CAAC,EAAE,SAAS;IAO9B,aAAa,CAAC,EAAE,EAAE,MAAM;;;;gBAgB+o2B,8CAAsB;;;;IAb7r2B,MAAM,CAAC,EAAE,EAAE,MAAM;;;;;gBAayknB,CAAC;;;;sBAA6I,CAAC;;;;;;;;;iBAAyU,8CAAsB;;;;;;;;gBAAyf,8CAAsB;;;IAVvlpB,QAAQ;;;;;;oBAUklnB,CAAC;;;;0BAA6I,CAAC;;;;;;;;;qBAAyU,8CAAsB;;;;;;;;oBAAyf,8CAAsB;;;;;;;;oBAA7/B,CAAC;;;;0BAA6I,CAAC;;;;;;;;;;;;;;;;;;;;;kBAThtnB,CAAC;oBAE1B,CAAA;;;;;;oBAO0lnB,CAAC;;;;0BAA6I,CAAC;;;;;;;;;qBAAyU,8CAAsB;;;;;;;;oBAAyf,8CAAsB;;;;IAPvlpB,YAAY,CAAC,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IAGnC,WAAW,CAAC,EAAE,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;kBALG,CAAC;oBAE1B,CAAA;;;;;;;;;;;;CAMD"}
1
+ {"version":3,"file":"FaableDeployApi.d.ts","sourceRoot":"","sources":["../src/FaableDeployApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAGxD,qBAAa,SAAU,SAAQ,SAAS;gBAC1B,MAAM,CAAC,EAAE,SAAS;IAO9B,aAAa,CAAC,EAAE,EAAE,MAAM;;;;;gBAgB42uB,8CAAsB;;;;;;;IAb15uB,MAAM,CAAC,EAAE,EAAE,MAAM;;;;;;;;iBAam/pB,8CAAsB;;;;gBAAmV,8CAAsB;;;;;;;IAVn4qB,QAAQ;;;;;;;;;qBAU4/pB,8CAAsB;;;;oBAAmV,8CAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAT12qB,CAAC;oBAE1B,CAAA;;;;;;;;;qBAOogqB,8CAAsB;;;;oBAAmV,8CAAsB;;;;;;;;IAPn4qB,YAAY,CAAC,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IAGnC,WAAW,CAAC,EAAE,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBALG,CAAC;oBAE1B,CAAA;;;;;;;;;;;;;;;;;CAMD"}
@@ -8,15 +8,14 @@ export type DeploymentStatus = components["schemas"]["DeploymentStatus"];
8
8
  export type Secret = components["schemas"]["Secret"];
9
9
  export type Domain = components["schemas"]["Domain"];
10
10
  export type Volume = components["schemas"]["Volume"];
11
- export type EventSecretsCreateBatchEvent = components["schemas"]["Event_secret.create_batch"];
12
- export type EventDeploymentCreated = components["schemas"]["Event_deployment.created"];
13
- export type EventAppDelete = components["schemas"]["Event_app.delete"];
14
- export type EventAppCreate = components["schemas"]["Event_app.create"];
15
- export type EventAppUpdate = components["schemas"]["Event_app.update"];
16
- export type EventDomainCreate = components["schemas"]["Event_domain.create"];
17
- export type EventDomainUpdate = components["schemas"]["Event_domain.update"];
18
- export type EventVolumeCreate = components["schemas"]["Event_volume.create"];
19
- export type EventVolumeDelete = components["schemas"]["Event_volume.delete"];
20
- export type EventSecretsUpdated = components["schemas"]["Event_secret.create_batch"];
21
- export type EventDeploymentStatusUpdate = components["schemas"]["Event_deployment.update_status"];
11
+ export type EventSecretsCreateBatchEvent = components["schemas"]["EventSecretCreate_batch"];
12
+ export type EventDeploymentCreated = components["schemas"]["EventDeploymentCreate"];
13
+ export type EventAppDelete = components["schemas"]["EventAppDelete"];
14
+ export type EventAppCreate = components["schemas"]["EventAppCreate"];
15
+ export type EventAppUpdate = components["schemas"]["EventAppUpdate"];
16
+ export type EventDomainCreate = components["schemas"]["EventDomainCreate"];
17
+ export type EventDomainUpdate = components["schemas"]["EventDomainUpdate"];
18
+ export type EventVolumeCreate = components["schemas"]["EventVolumeCreate"];
19
+ export type EventVolumeDelete = components["schemas"]["EventVolumeDelete"];
20
+ export type EventDeploymentStatusUpdate = components["schemas"]["EventDeploymentUpdate"];
22
21
  //# sourceMappingURL=api-types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"api-types.d.ts","sourceRoot":"","sources":["../../src/api/api-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAExC,MAAM,MAAM,GAAG,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,KAAK,CAAC,CAAC;AAC/C,MAAM,MAAM,S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