freestyle-sandboxes 0.0.93 → 0.0.94

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-CG8tIO9M.js';
1
+ import { D as DeploymentSource } from '../types.gen--Oxc46AH.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-CG8tIO9M.js';
1
+ import { D as DeploymentSource } from '../types.gen--Oxc46AH.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-CG8tIO9M.js';
1
+ import { D as DeploymentSource } from '../types.gen--Oxc46AH.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-CG8tIO9M.js';
1
+ import { D as DeploymentSource } from '../types.gen--Oxc46AH.js';
2
2
 
3
3
  declare const prepareDirForDeployment: (directory: string) => Promise<DeploymentSource>;
4
4
  declare const prepareDirForDeploymentSync: (directory: string) => DeploymentSource;
@@ -291,6 +291,11 @@ export type DevServerRequest = {
291
291
  */
292
292
  repo?: (string) | null;
293
293
  gitRef?: (string) | null;
294
+ /**
295
+ * Optional list of ports to expose externally. If not provided, port 3000 will be exposed on port 443 by default. Pass an empty array to disable external ports.
296
+ * Only ports 8081 and 443 can be configured externally for now. Any target port is allowed.
297
+ */
298
+ ports?: Array<PortConfig> | null;
294
299
  };
295
300
 
296
301
  export type DevServerStatusRequest = {
@@ -743,6 +748,11 @@ export type NetworkPermissionData = {
743
748
  behavior?: Behavior;
744
749
  };
745
750
 
751
+ export type PortConfig = {
752
+ port: number;
753
+ targetPort: number;
754
+ };
755
+
746
756
  export type ReadFileEphemeralDevServerResponses = {
747
757
  id: string;
748
758
  isNew: boolean;