Skip to content

@codesoul-co/hypha-core / modules/sandbox/index

Using this module

Use the Index module for using the public contracts and operations for this capability boundary. It exports 15 constants, 8 functions.

Import from the package entrypoint

ts
import {
  sandboxCleanupRequestSchema,
  sandboxCreateRequestExample,
  sandboxCreateRequestSchema,
  sandboxLifecycleJsonSchemas,
  sandboxProviderCapabilitiesExample,
  sandboxProviderCapabilitiesJsonSchema,
  sandboxProviderCapabilitiesSchema,
  sandboxRecordExample,
} from '@codesoul-co/hypha-core';

// The complete export list is documented below.

Usage patterns

  • The module exposes 8 functions as direct operation entrypoints. Every overload, required/optional parameter, and return type is documented below.
  • The 15 constant/enum exports provide stable values, schemas, definitions, or defaults. Reuse these exports instead of copying internal values into an application.

Runtime validation example

ts
import { sandboxCleanupRequestSchema } from '@codesoul-co/hypha-core';

declare function loadExternalInput(): unknown;
const input: unknown = loadExternalInput();
const parsed = sandboxCleanupRequestSchema.parse(input);

Parse untrusted configuration, network, or persisted input with the runtime schema before passing it to functions or classes that expect a validated contract.

Public exports

SymbolKindSignatureDescription
sandboxCleanupRequestSchemaconstantconst sandboxCleanupRequestSchema: z.ZodObject<{ operationId: z.ZodString; sandboxId: z.ZodString; principal: z.ZodObject<{ principalId: z.ZodString; type: z.ZodEnum<["user", "agent", "service", "system"]>; tenantId: z.ZodOptional<z.ZodString>; userId: z.ZodOptional<z.ZodString>; agentId: z.ZodOptional<z.ZodString>; roles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; permissionScopes: z.ZodArray<z.ZodString, "m...Runtime schema for Sandbox Cleanup Request.
sandboxCreateRequestExampleconstantconst sandboxCreateRequestExample: SandboxCreateRequestValid example value for Sandbox Create Request.
sandboxCreateRequestSchemaconstantconst sandboxCreateRequestSchema: z.ZodEffects<z.ZodObject<{ operationId: z.ZodString; principal: z.ZodObject<{ principalId: z.ZodString; type: z.ZodEnum<["user", "agent", "service", "system"]>; tenantId: z.ZodOptional<z.ZodString>; userId: z.ZodOptional<z.ZodString>; agentId: z.ZodOptional<z.ZodString>; roles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; permissionScopes: z.ZodArray<z.ZodString, "many">; metad...Runtime schema for Sandbox Create Request.
sandboxLifecycleJsonSchemasconstantconst sandboxLifecycleJsonSchemas: Record<string, JsonSchema>Sandbox Lifecycle JSON Schemas constant exported by the modules/sandbox/index module.
sandboxProviderCapabilitiesExampleconstantconst sandboxProviderCapabilitiesExample: SandboxProviderCapabilitiesValid example value for Sandbox Provider Capabilities.
sandboxProviderCapabilitiesJsonSchemaconstantconst sandboxProviderCapabilitiesJsonSchema: JsonSchemaJSON Schema for Sandbox Provider Capabilities.
sandboxProviderCapabilitiesSchemaconstantconst sandboxProviderCapabilitiesSchema: z.ZodObject<{ processIsolation: z.ZodBoolean; filesystemIsolation: z.ZodBoolean; networkIsolation: z.ZodBoolean; cpuLimits: z.ZodBoolean; memoryLimits: z.ZodBoolean; diskLimits: z.ZodBoolean; pidsLimit: z.ZodBoolean; cancellation: z.ZodBoolean; processTreeKill: z.ZodBoolean; snapshots: z.ZodBoolean; imageDigestPinning: z.ZodBoolean; remoteExecution: z.ZodBoolean; }, "strict...Runtime schema for Sandbox Provider Capabilities.
sandboxRecordExampleconstantconst sandboxRecordExample: SandboxRecordValid example value for Sandbox Record.
sandboxRecordJsonSchemaconstantconst sandboxRecordJsonSchema: JsonSchemaJSON Schema for Sandbox Record.
sandboxRecordSchemaconstantconst sandboxRecordSchema: z.ZodEffects<z.ZodObject<{ id: z.ZodString; revision: z.ZodNumber; providerId: z.ZodString; environmentRef: z.ZodObject<{ id: z.ZodString; version: z.ZodOptional<z.ZodString>; revision: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; version?: string | undefined; revision?: string | undefined; }, { id: string; version?: string | undefined; revision?: string | undefine...Runtime schema for Sandbox Record.
sandboxStartRequestSchemaconstantconst sandboxStartRequestSchema: z.ZodObject<{ operationId: z.ZodString; sandboxId: z.ZodString; principal: z.ZodObject<{ principalId: z.ZodString; type: z.ZodEnum<["user", "agent", "service", "system"]>; tenantId: z.ZodOptional<z.ZodString>; userId: z.ZodOptional<z.ZodString>; agentId: z.ZodOptional<z.ZodString>; roles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; permissionScopes: z.ZodArray<z.ZodString, "man...Runtime schema for Sandbox Start Request.
sandboxStatusRequestSchemaconstantconst sandboxStatusRequestSchema: z.ZodObject<{ sandboxId: z.ZodString; principal: z.ZodObject<{ principalId: z.ZodString; type: z.ZodEnum<["user", "agent", "service", "system"]>; tenantId: z.ZodOptional<z.ZodString>; userId: z.ZodOptional<z.ZodString>; agentId: z.ZodOptional<z.ZodString>; roles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; permissionScopes: z.ZodArray<z.ZodString, "many">; metadata: z.ZodOptio...Runtime schema for Sandbox Status Request.
sandboxStatusSchemaconstantconst sandboxStatusSchema: z.ZodEnum<["creating", "created", "starting", "ready", "busy", "stopping", "stopped", "terminating", "terminated", "cleaning", "cleaned", "failed"]>Runtime schema for Sandbox Status.
sandboxStatusTransitionsconstantconst sandboxStatusTransitions: Readonly<Record<SandboxStatus, readonly SandboxStatus[]>>Sandbox Status Transitions constant exported by the modules/sandbox/index module.
sandboxTerminateRequestSchemaconstantconst sandboxTerminateRequestSchema: z.ZodObject<{ operationId: z.ZodString; sandboxId: z.ZodString; principal: z.ZodObject<{ principalId: z.ZodString; type: z.ZodEnum<["user", "agent", "service", "system"]>; tenantId: z.ZodOptional<z.ZodString>; userId: z.ZodOptional<z.ZodString>; agentId: z.ZodOptional<z.ZodString>; roles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; permissionScopes: z.ZodArray<z.ZodString, ...Runtime schema for Sandbox Terminate Request.
canTransitionSandboxStatusfunctioncanTransitionSandboxStatus(from: SandboxStatus, to: SandboxStatus): booleanCan Transition Sandbox Status function with 1 public call signature; parameters and return types are listed below.
validateSandboxCleanupRequestfunctionvalidateSandboxCleanupRequest(input: unknown): SandboxCleanupRequestValidate Sandbox Cleanup Request function with 1 public call signature; parameters and return types are listed below.
validateSandboxCreateRequestfunctionvalidateSandboxCreateRequest(input: unknown): SandboxCreateRequestValidate Sandbox Create Request function with 1 public call signature; parameters and return types are listed below.
validateSandboxProviderCapabilitiesfunctionvalidateSandboxProviderCapabilities(input: unknown): SandboxProviderCapabilitiesValidate Sandbox Provider Capabilities function with 1 public call signature; parameters and return types are listed below.
validateSandboxRecordfunctionvalidateSandboxRecord(input: unknown): SandboxRecordValidate Sandbox Record function with 1 public call signature; parameters and return types are listed below.
validateSandboxStartRequestfunctionvalidateSandboxStartRequest(input: unknown): SandboxStartRequestValidate Sandbox Start Request function with 1 public call signature; parameters and return types are listed below.
validateSandboxStatusRequestfunctionvalidateSandboxStatusRequest(input: unknown): SandboxStatusRequestValidate Sandbox Status Request function with 1 public call signature; parameters and return types are listed below.
validateSandboxTerminateRequestfunctionvalidateSandboxTerminateRequest(input: unknown): SandboxTerminateRequestValidate Sandbox Terminate Request function with 1 public call signature; parameters and return types are listed below.

sandboxCleanupRequestSchema

Runtime schema for Sandbox Cleanup Request.

  • Kind: constant
  • Import: import { sandboxCleanupRequestSchema } from '@codesoul-co/hypha-core';
  • Source module: modules/sandbox/index

Declaration

text
export declare const sandboxCleanupRequestSchema: z.ZodObject<{ operationId: z.ZodString; sandboxId: z.ZodString; principal: z.ZodObject<{ principalId: z.ZodString; type: z.ZodEnum<["user", "agent", "service", "system"]>; tenantId: z.ZodOptional<z.ZodString>; userId: z.ZodOptional<z.ZodString>; agentId: z.ZodOptional<z.ZodString>; roles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; permissionScopes: z.ZodArray<z.ZodString, "many">; metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; }, "strict", z.ZodTypeAny, { type: "user" | "agent" | "service" | "system"; principalId: string; permissionScopes: string[]; metadata?: Record<string, unknown> | undefined; agentId?: string | undefined; tenantId?: string | undefined; userId?: string | undefined; roles?: string[] | undefined; }, { type: "user" | "agent" | "service" | "system"; principalId: string; permissionScopes: string[]; metadata?: Record<string, unknown> | undefined; agentId?: string | undefined; tenantId?: string | undefined; userId?: string | undefined; roles?: string[] | undefined; }>; expectedRevision: z.ZodNumber; idempotencyKey: z.ZodOptional<z.ZodString>; } & { reason: z.ZodOptional<z.ZodString>; }, "strict", z.ZodTypeAny, { operationId: string; sandboxId: string; principal: { type: "user" | "agent" | "service" | "system"; principalId: string; permissionScopes: string[]; metadata?: Record<string, unknown> | undefined; agentId?: string | undefined; tenantId?: string | undefined; userId?: string | undefined; roles?: string[] | undefined; }; expectedRevision: number; reason?: string | undefined; idempotencyKey?: string | undefined; }, { operationId: string; sandboxId: string; principal: { type: "user" | "agent" | "service" | "system"; principalId: string; permissionScopes: string[]; metadata?: Record<string, unknown> | undefined; agentId?: string | undefined; tenantId?: string | undefined; userId?: string | undefined; roles?: string[] | undefined; }; expectedRevision: number; reason?: string | undefined; idempotencyKey?: string | undefined; }>;

sandboxCreateRequestExample

Valid example value for Sandbox Create Request.

  • Kind: constant
  • Import: import { sandboxCreateRequestExample } from '@codesoul-co/hypha-core';
  • Source module: modules/sandbox/index

Declaration

text
export declare const sandboxCreateRequestExample: SandboxCreateRequest;

sandboxCreateRequestSchema

Runtime schema for Sandbox Create Request.

  • Kind: constant
  • Import: import { sandboxCreateRequestSchema } from '@codesoul-co/hypha-core';
  • Source module: modules/sandbox/index

Declaration

text
// Exact type resolved from the package entrypoint; see source for the compiler expansion.
export declare const sandboxCreateRequestSchema: (typeof import('@codesoul-co/hypha-core'))['sandboxCreateRequestSchema'];

This compiler-expanded constant type is compacted. Its public name, top-level type, and source location remain here; use the module’s exported interfaces, types, or runtime schema for input/output fields.

sandboxLifecycleJsonSchemas

Sandbox Lifecycle JSON Schemas constant exported by the modules/sandbox/index module.

  • Kind: constant
  • Import: import { sandboxLifecycleJsonSchemas } from '@codesoul-co/hypha-core';
  • Source module: modules/sandbox/index

Declaration

text
export declare const sandboxLifecycleJsonSchemas: Record<string, JsonSchema>;

sandboxProviderCapabilitiesExample

Valid example value for Sandbox Provider Capabilities.

  • Kind: constant
  • Import: import { sandboxProviderCapabilitiesExample } from '@codesoul-co/hypha-core';
  • Source module: modules/sandbox/index

Declaration

text
export declare const sandboxProviderCapabilitiesExample: SandboxProviderCapabilities;

sandboxProviderCapabilitiesJsonSchema

JSON Schema for Sandbox Provider Capabilities.

  • Kind: constant
  • Import: import { sandboxProviderCapabilitiesJsonSchema } from '@codesoul-co/hypha-core';
  • Source module: modules/sandbox/index

Declaration

text
export declare const sandboxProviderCapabilitiesJsonSchema: JsonSchema;

sandboxProviderCapabilitiesSchema

Runtime schema for Sandbox Provider Capabilities.

  • Kind: constant
  • Import: import { sandboxProviderCapabilitiesSchema } from '@codesoul-co/hypha-core';
  • Source module: modules/sandbox/index

Declaration

text
export declare const sandboxProviderCapabilitiesSchema: z.ZodObject<{ processIsolation: z.ZodBoolean; filesystemIsolation: z.ZodBoolean; networkIsolation: z.ZodBoolean; cpuLimits: z.ZodBoolean; memoryLimits: z.ZodBoolean; diskLimits: z.ZodBoolean; pidsLimit: z.ZodBoolean; cancellation: z.ZodBoolean; processTreeKill: z.ZodBoolean; snapshots: z.ZodBoolean; imageDigestPinning: z.ZodBoolean; remoteExecution: z.ZodBoolean; }, "strict", z.ZodTypeAny, { processIsolation: boolean; filesystemIsolation: boolean; networkIsolation: boolean; cpuLimits: boolean; memoryLimits: boolean; diskLimits: boolean; pidsLimit: boolean; cancellation: boolean; processTreeKill: boolean; snapshots: boolean; imageDigestPinning: boolean; remoteExecution: boolean; }, { processIsolation: boolean; filesystemIsolation: boolean; networkIsolation: boolean; cpuLimits: boolean; memoryLimits: boolean; diskLimits: boolean; pidsLimit: boolean; cancellation: boolean; processTreeKill: boolean; snapshots: boolean; imageDigestPinning: boolean; remoteExecution: boolean; }>;

sandboxRecordExample

Valid example value for Sandbox Record.

  • Kind: constant
  • Import: import { sandboxRecordExample } from '@codesoul-co/hypha-core';
  • Source module: modules/sandbox/index

Declaration

text
export declare const sandboxRecordExample: SandboxRecord;

sandboxRecordJsonSchema

JSON Schema for Sandbox Record.

  • Kind: constant
  • Import: import { sandboxRecordJsonSchema } from '@codesoul-co/hypha-core';
  • Source module: modules/sandbox/index

Declaration

text
export declare const sandboxRecordJsonSchema: JsonSchema;

sandboxRecordSchema

Runtime schema for Sandbox Record.

  • Kind: constant
  • Import: import { sandboxRecordSchema } from '@codesoul-co/hypha-core';
  • Source module: modules/sandbox/index

Declaration

text
// Exact type resolved from the package entrypoint; see source for the compiler expansion.
export declare const sandboxRecordSchema: (typeof import('@codesoul-co/hypha-core'))['sandboxRecordSchema'];

This compiler-expanded constant type is compacted. Its public name, top-level type, and source location remain here; use the module’s exported interfaces, types, or runtime schema for input/output fields.

sandboxStartRequestSchema

Runtime schema for Sandbox Start Request.

  • Kind: constant
  • Import: import { sandboxStartRequestSchema } from '@codesoul-co/hypha-core';
  • Source module: modules/sandbox/index

Declaration

text
export declare const sandboxStartRequestSchema: z.ZodObject<{ operationId: z.ZodString; sandboxId: z.ZodString; principal: z.ZodObject<{ principalId: z.ZodString; type: z.ZodEnum<["user", "agent", "service", "system"]>; tenantId: z.ZodOptional<z.ZodString>; userId: z.ZodOptional<z.ZodString>; agentId: z.ZodOptional<z.ZodString>; roles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; permissionScopes: z.ZodArray<z.ZodString, "many">; metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; }, "strict", z.ZodTypeAny, { type: "user" | "agent" | "service" | "system"; principalId: string; permissionScopes: string[]; metadata?: Record<string, unknown> | undefined; agentId?: string | undefined; tenantId?: string | undefined; userId?: string | undefined; roles?: string[] | undefined; }, { type: "user" | "agent" | "service" | "system"; principalId: string; permissionScopes: string[]; metadata?: Record<string, unknown> | undefined; agentId?: string | undefined; tenantId?: string | undefined; userId?: string | undefined; roles?: string[] | undefined; }>; expectedRevision: z.ZodNumber; idempotencyKey: z.ZodOptional<z.ZodString>; }, "strict", z.ZodTypeAny, { operationId: string; sandboxId: string; principal: { type: "user" | "agent" | "service" | "system"; principalId: string; permissionScopes: string[]; metadata?: Record<string, unknown> | undefined; agentId?: string | undefined; tenantId?: string | undefined; userId?: string | undefined; roles?: string[] | undefined; }; expectedRevision: number; idempotencyKey?: string | undefined; }, { operationId: string; sandboxId: string; principal: { type: "user" | "agent" | "service" | "system"; principalId: string; permissionScopes: string[]; metadata?: Record<string, unknown> | undefined; agentId?: string | undefined; tenantId?: string | undefined; userId?: string | undefined; roles?: string[] | undefined; }; expectedRevision: number; idempotencyKey?: string | undefined; }>;

sandboxStatusRequestSchema

Runtime schema for Sandbox Status Request.

  • Kind: constant
  • Import: import { sandboxStatusRequestSchema } from '@codesoul-co/hypha-core';
  • Source module: modules/sandbox/index

Declaration

text
export declare const sandboxStatusRequestSchema: z.ZodObject<{ sandboxId: z.ZodString; principal: z.ZodObject<{ principalId: z.ZodString; type: z.ZodEnum<["user", "agent", "service", "system"]>; tenantId: z.ZodOptional<z.ZodString>; userId: z.ZodOptional<z.ZodString>; agentId: z.ZodOptional<z.ZodString>; roles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; permissionScopes: z.ZodArray<z.ZodString, "many">; metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; }, "strict", z.ZodTypeAny, { type: "user" | "agent" | "service" | "system"; principalId: string; permissionScopes: string[]; metadata?: Record<string, unknown> | undefined; agentId?: string | undefined; tenantId?: string | undefined; userId?: string | undefined; roles?: string[] | undefined; }, { type: "user" | "agent" | "service" | "system"; principalId: string; permissionScopes: string[]; metadata?: Record<string, unknown> | undefined; agentId?: string | undefined; tenantId?: string | undefined; userId?: string | undefined; roles?: string[] | undefined; }>; }, "strict", z.ZodTypeAny, { sandboxId: string; principal: { type: "user" | "agent" | "service" | "system"; principalId: string; permissionScopes: string[]; metadata?: Record<string, unknown> | undefined; agentId?: string | undefined; tenantId?: string | undefined; userId?: string | undefined; roles?: string[] | undefined; }; }, { sandboxId: string; principal: { type: "user" | "agent" | "service" | "system"; principalId: string; permissionScopes: string[]; metadata?: Record<string, unknown> | undefined; agentId?: string | undefined; tenantId?: string | undefined; userId?: string | undefined; roles?: string[] | undefined; }; }>;

sandboxStatusSchema

Runtime schema for Sandbox Status.

  • Kind: constant
  • Import: import { sandboxStatusSchema } from '@codesoul-co/hypha-core';
  • Source module: modules/sandbox/index

Declaration

text
export declare const sandboxStatusSchema: z.ZodEnum<["creating", "created", "starting", "ready", "busy", "stopping", "stopped", "terminating", "terminated", "cleaning", "cleaned", "failed"]>;

sandboxStatusTransitions

Sandbox Status Transitions constant exported by the modules/sandbox/index module.

  • Kind: constant
  • Import: import { sandboxStatusTransitions } from '@codesoul-co/hypha-core';
  • Source module: modules/sandbox/index

Declaration

text
export declare const sandboxStatusTransitions: Readonly<Record<SandboxStatus, readonly SandboxStatus[]>>;

sandboxTerminateRequestSchema

Runtime schema for Sandbox Terminate Request.

  • Kind: constant
  • Import: import { sandboxTerminateRequestSchema } from '@codesoul-co/hypha-core';
  • Source module: modules/sandbox/index

Declaration

text
export declare const sandboxTerminateRequestSchema: z.ZodObject<{ operationId: z.ZodString; sandboxId: z.ZodString; principal: z.ZodObject<{ principalId: z.ZodString; type: z.ZodEnum<["user", "agent", "service", "system"]>; tenantId: z.ZodOptional<z.ZodString>; userId: z.ZodOptional<z.ZodString>; agentId: z.ZodOptional<z.ZodString>; roles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; permissionScopes: z.ZodArray<z.ZodString, "many">; metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; }, "strict", z.ZodTypeAny, { type: "user" | "agent" | "service" | "system"; principalId: string; permissionScopes: string[]; metadata?: Record<string, unknown> | undefined; agentId?: string | undefined; tenantId?: string | undefined; userId?: string | undefined; roles?: string[] | undefined; }, { type: "user" | "agent" | "service" | "system"; principalId: string; permissionScopes: string[]; metadata?: Record<string, unknown> | undefined; agentId?: string | undefined; tenantId?: string | undefined; userId?: string | undefined; roles?: string[] | undefined; }>; expectedRevision: z.ZodNumber; idempotencyKey: z.ZodOptional<z.ZodString>; } & { reason: z.ZodOptional<z.ZodString>; }, "strict", z.ZodTypeAny, { operationId: string; sandboxId: string; principal: { type: "user" | "agent" | "service" | "system"; principalId: string; permissionScopes: string[]; metadata?: Record<string, unknown> | undefined; agentId?: string | undefined; tenantId?: string | undefined; userId?: string | undefined; roles?: string[] | undefined; }; expectedRevision: number; reason?: string | undefined; idempotencyKey?: string | undefined; }, { operationId: string; sandboxId: string; principal: { type: "user" | "agent" | "service" | "system"; principalId: string; permissionScopes: string[]; metadata?: Record<string, unknown> | undefined; agentId?: string | undefined; tenantId?: string | undefined; userId?: string | undefined; roles?: string[] | undefined; }; expectedRevision: number; reason?: string | undefined; idempotencyKey?: string | undefined; }>;

canTransitionSandboxStatus

Can Transition Sandbox Status function with 1 public call signature; parameters and return types are listed below.

  • Kind: function
  • Import: import { canTransitionSandboxStatus } from '@codesoul-co/hypha-core';
  • Source module: modules/sandbox/index

Declaration

text
export declare function canTransitionSandboxStatus(from: SandboxStatus, to: SandboxStatus): boolean;

Call signature

text
canTransitionSandboxStatus(from: SandboxStatus, to: SandboxStatus): boolean

Parameters

ParameterTypeRequiredDescription
fromSandboxStatusYesRequired parameter; accepted values are defined by the type column.
toSandboxStatusYesRequired parameter; accepted values are defined by the type column.

Returns

  • Type: boolean
  • Description: The return contract is defined by the type shown above.

validateSandboxCleanupRequest

Validate Sandbox Cleanup Request function with 1 public call signature; parameters and return types are listed below.

  • Kind: function
  • Import: import { validateSandboxCleanupRequest } from '@codesoul-co/hypha-core';
  • Source module: modules/sandbox/index

Declaration

text
export declare function validateSandboxCleanupRequest(input: unknown): SandboxCleanupRequest;

Call signature

text
validateSandboxCleanupRequest(input: unknown): SandboxCleanupRequest

Parameters

ParameterTypeRequiredDescription
inputunknownYesRequired parameter; accepted values are defined by the type column.

Returns

  • Type: SandboxCleanupRequest
  • Description: The return contract is defined by the type shown above.

validateSandboxCreateRequest

Validate Sandbox Create Request function with 1 public call signature; parameters and return types are listed below.

  • Kind: function
  • Import: import { validateSandboxCreateRequest } from '@codesoul-co/hypha-core';
  • Source module: modules/sandbox/index

Declaration

text
export declare function validateSandboxCreateRequest(input: unknown): SandboxCreateRequest;

Call signature

text
validateSandboxCreateRequest(input: unknown): SandboxCreateRequest

Parameters

ParameterTypeRequiredDescription
inputunknownYesRequired parameter; accepted values are defined by the type column.

Returns

  • Type: SandboxCreateRequest
  • Description: The return contract is defined by the type shown above.

validateSandboxProviderCapabilities

Validate Sandbox Provider Capabilities function with 1 public call signature; parameters and return types are listed below.

  • Kind: function
  • Import: import { validateSandboxProviderCapabilities } from '@codesoul-co/hypha-core';
  • Source module: modules/sandbox/index

Declaration

text
export declare function validateSandboxProviderCapabilities(input: unknown): SandboxProviderCapabilities;

Call signature

text
validateSandboxProviderCapabilities(input: unknown): SandboxProviderCapabilities

Parameters

ParameterTypeRequiredDescription
inputunknownYesRequired parameter; accepted values are defined by the type column.

Returns

  • Type: SandboxProviderCapabilities
  • Description: The return contract is defined by the type shown above.

validateSandboxRecord

Validate Sandbox Record function with 1 public call signature; parameters and return types are listed below.

  • Kind: function
  • Import: import { validateSandboxRecord } from '@codesoul-co/hypha-core';
  • Source module: modules/sandbox/index

Declaration

text
export declare function validateSandboxRecord(input: unknown): SandboxRecord;

Call signature

text
validateSandboxRecord(input: unknown): SandboxRecord

Parameters

ParameterTypeRequiredDescription
inputunknownYesRequired parameter; accepted values are defined by the type column.

Returns

  • Type: SandboxRecord
  • Description: The return contract is defined by the type shown above.

validateSandboxStartRequest

Validate Sandbox Start Request function with 1 public call signature; parameters and return types are listed below.

  • Kind: function
  • Import: import { validateSandboxStartRequest } from '@codesoul-co/hypha-core';
  • Source module: modules/sandbox/index

Declaration

text
export declare function validateSandboxStartRequest(input: unknown): SandboxStartRequest;

Call signature

text
validateSandboxStartRequest(input: unknown): SandboxStartRequest

Parameters

ParameterTypeRequiredDescription
inputunknownYesRequired parameter; accepted values are defined by the type column.

Returns

  • Type: SandboxStartRequest
  • Description: The return contract is defined by the type shown above.

validateSandboxStatusRequest

Validate Sandbox Status Request function with 1 public call signature; parameters and return types are listed below.

  • Kind: function
  • Import: import { validateSandboxStatusRequest } from '@codesoul-co/hypha-core';
  • Source module: modules/sandbox/index

Declaration

text
export declare function validateSandboxStatusRequest(input: unknown): SandboxStatusRequest;

Call signature

text
validateSandboxStatusRequest(input: unknown): SandboxStatusRequest

Parameters

ParameterTypeRequiredDescription
inputunknownYesRequired parameter; accepted values are defined by the type column.

Returns

  • Type: SandboxStatusRequest
  • Description: The return contract is defined by the type shown above.

validateSandboxTerminateRequest

Validate Sandbox Terminate Request function with 1 public call signature; parameters and return types are listed below.

  • Kind: function
  • Import: import { validateSandboxTerminateRequest } from '@codesoul-co/hypha-core';
  • Source module: modules/sandbox/index

Declaration

text
export declare function validateSandboxTerminateRequest(input: unknown): SandboxTerminateRequest;

Call signature

text
validateSandboxTerminateRequest(input: unknown): SandboxTerminateRequest

Parameters

ParameterTypeRequiredDescription
inputunknownYesRequired parameter; accepted values are defined by the type column.

Returns

  • Type: SandboxTerminateRequest
  • Description: The return contract is defined by the type shown above.