freestyle-sandboxes 0.0.40 → 0.0.42

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.
@@ -1,4 +1,4 @@
1
- import { D as DeploymentSource } from '../types.gen-BuhQ5LpB.js';
1
+ import { D as DeploymentSource } from '../types.gen-DkQ-Dbs1.js';
2
2
 
3
3
  declare const prepareDirForDeployment: (directory: string) => Promise<DeploymentSource>;
4
4
  declare const prepareDirForDeploymentSync: (directory: string) => DeploymentSource;
@@ -1,4 +1,4 @@
1
- import { D as DeploymentSource } from '../types.gen-BuhQ5LpB.js';
1
+ import { D as DeploymentSource } from '../types.gen-DkQ-Dbs1.js';
2
2
 
3
3
  declare const prepareDirForDeployment: (directory: string) => Promise<DeploymentSource>;
4
4
  declare const prepareDirForDeploymentSync: (directory: string) => DeploymentSource;
@@ -19,6 +19,10 @@ export type AccessTokenInfo = {
19
19
 
20
20
  export type Behavior = 'regex' | 'exact';
21
21
 
22
+ export type BuildOptions = {
23
+ command?: (string) | null;
24
+ };
25
+
22
26
  export type CreateDomainMappingRequest = {
23
27
  deploymentId: string;
24
28
  };
@@ -182,6 +186,7 @@ export type FreestyleDeployWebConfiguration = {
182
186
  } | null;
183
187
  serverStartCheck?: boolean;
184
188
  networkPermissions?: Array<FreestyleNetworkPermission> | null;
189
+ build?: (null | BuildOptions);
185
190
  };
186
191
 
187
192
  export type FreestyleDeployWebErrorResponse = {
@@ -210,17 +215,12 @@ export type FreestyleDeployWebPayloadV2 = {
210
215
  config?: FreestyleDeployWebConfiguration;
211
216
  };
212
217
 
213
- export type FreestyleDeployWebSuccessResponse = {
218
+ export type FreestyleDeployWebSuccessResponseV2 = {
214
219
  deploymentId: string;
215
- domains?: Array<(string)> | null;
216
220
  /**
217
221
  * @deprecated
218
222
  */
219
- projectId?: (string) | null;
220
- };
221
-
222
- export type FreestyleDeployWebSuccessResponseV2 = {
223
- deploymentId: string;
223
+ projectId: string;
224
224
  domains?: Array<(string)> | null;
225
225
  };
226
226
 
@@ -883,7 +883,7 @@ export type HandleDeployWebData = {
883
883
  body: FreestyleDeployWebPayload;
884
884
  };
885
885
 
886
- export type HandleDeployWebResponse = (FreestyleDeployWebSuccessResponse);
886
+ export type HandleDeployWebResponse = (FreestyleDeployWebSuccessResponseV2);
887
887
 
888
888
  export type HandleDeployWebError = (FreestyleDeployWebErrorResponse);
889
889