Skip to content

@codesoul-co/hypha-core / contracts/runtime-helper-schemas

Using this module

Use the Runtime helper schemas module for declaring and runtime-validating contracts. It exports 24 constants, 6 functions.

Import from the package entrypoint

ts
import {
  runtimeDeterminismScopeSchema,
  runtimeDeterministicObservationDefinition,
  runtimeDeterministicObservationExample,
  runtimeDeterministicObservationJsonSchema,
  runtimeDeterministicObservationSchema,
  runtimeHelperContractDefinitions,
  runtimeHelperContractJsonSchemas,
  runtimeHelperExecutionScopeSchema,
} from '@codesoul-co/hypha-core';

// The complete export list is documented below.

Usage patterns

  • The module exposes 6 functions as direct operation entrypoints. Every overload, required/optional parameter, and return type is documented below.
  • The 24 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 { runtimeDeterminismScopeSchema } from '@codesoul-co/hypha-core';

declare function loadExternalInput(): unknown;
const input: unknown = loadExternalInput();
const parsed = runtimeDeterminismScopeSchema.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
runtimeDeterminismScopeSchemaconstantconst runtimeDeterminismScopeSchema: z.ZodObject<{ tenantId: z.ZodOptional<z.ZodString>; userId: z.ZodString; runId: z.ZodString; stateId: z.ZodString; stateAttempt: z.ZodNumber; }, "strict", z.ZodTypeAny, { runId: string; userId: string; stateAttempt: number; stateId: string; tenantId?: string | undefined; }, { runId: string; userId: string; stateAttempt: number; stateId: string; tenantId?: string | undefined; }>Runtime schema for Runtime Determinism Scope.
runtimeDeterministicObservationDefinitionconstantconst runtimeDeterministicObservationDefinition: SpecSchemaDefinition<RuntimeDeterministicObservation<RuntimeJsonValue>>Runtime Deterministic Observation Definition constant exported by the contracts/runtime-helper-schemas module.
runtimeDeterministicObservationExampleconstantconst runtimeDeterministicObservationExample: RuntimeDeterministicObservation<RuntimeJsonValue>Valid example value for Runtime Deterministic Observation.
runtimeDeterministicObservationJsonSchemaconstantconst runtimeDeterministicObservationJsonSchema: JsonSchemaJSON Schema for Runtime Deterministic Observation.
runtimeDeterministicObservationSchemaconstantconst runtimeDeterministicObservationSchema: z.ZodObject<{ scope: z.ZodObject<{ tenantId: z.ZodOptional<z.ZodString>; userId: z.ZodString; runId: z.ZodString; stateId: z.ZodString; stateAttempt: z.ZodNumber; }, "strict", z.ZodTypeAny, { runId: string; userId: string; stateAttempt: number; stateId: string; tenantId?: string | undefined; }, { runId: string; userId: string; stateAttempt: number; stateId: string; tena...Runtime schema for Runtime Deterministic Observation.
runtimeHelperContractDefinitionsconstantconst runtimeHelperContractDefinitions: readonly [SpecSchemaDefinition<RuntimeTransitionProposal>, SpecSchemaDefinition<RuntimeWaitIntent>, SpecSchemaDefinition<RuntimeStateExecutionResult>, SpecSchemaDefinition<RuntimeDeterministicObservation<RuntimeJsonValue>>, SpecSchemaDefinition<RuntimeObservationEventInput<RuntimeJsonValue>>]Runtime Helper Contract Definitions constant exported by the contracts/runtime-helper-schemas module.
runtimeHelperContractJsonSchemasconstantconst runtimeHelperContractJsonSchemas: Record<string, JsonSchema>Runtime Helper Contract JSON Schemas constant exported by the contracts/runtime-helper-schemas module.
runtimeHelperExecutionScopeSchemaconstantconst runtimeHelperExecutionScopeSchema: z.ZodObject<{ scope: z.ZodObject<{ tenantId: z.ZodOptional<z.ZodString>; userId: z.ZodString; workspaceId: z.ZodOptional<z.ZodString>; sessionId: z.ZodString; runId: z.ZodString; agentId: z.ZodOptional<z.ZodString>; }, "strict", z.ZodTypeAny, { sessionId: string; runId: string; userId: string; workspaceId?: string | undefined; agentId?: string | undefined; tenantId?: string...Runtime schema for Runtime Helper Execution Scope.
runtimeObservationEventInputDefinitionconstantconst runtimeObservationEventInputDefinition: SpecSchemaDefinition<RuntimeObservationEventInput<RuntimeJsonValue>>Runtime Observation Event Input Definition constant exported by the contracts/runtime-helper-schemas module.
runtimeObservationEventInputExampleconstantconst runtimeObservationEventInputExample: RuntimeObservationEventInput<RuntimeJsonValue>Valid example value for Runtime Observation Event Input.
runtimeObservationEventInputJsonSchemaconstantconst runtimeObservationEventInputJsonSchema: JsonSchemaJSON Schema for Runtime Observation Event Input.
runtimeObservationEventInputSchemaconstantconst runtimeObservationEventInputSchema: z.ZodObject<{ type: z.ZodType<runtime.observation.${string}, z.ZodTypeDef, runtime.observation.${string}>; payload: z.ZodType<RuntimeJsonValue, z.ZodTypeDef, RuntimeJsonValue>; options: z.ZodOptional<z.ZodObject<{ idempotencyKey: z.ZodOptional<z.ZodString>; causationId: z.ZodOptional<z.ZodString>; parentEventId: z.ZodOptional<z.ZodString>; metadata: z.ZodOptional<z.Zod...Runtime schema for Runtime Observation Event Input.
runtimeStateExecutionResultDefinitionconstantconst runtimeStateExecutionResultDefinition: SpecSchemaDefinition<RuntimeStateExecutionResult>Runtime State Execution Result Definition constant exported by the contracts/runtime-helper-schemas module.
runtimeStateExecutionResultExampleconstantconst runtimeStateExecutionResultExample: RuntimeStateExecutionResultValid example value for Runtime State Execution Result.
runtimeStateExecutionResultJsonSchemaconstantconst runtimeStateExecutionResultJsonSchema: JsonSchemaJSON Schema for Runtime State Execution Result.
runtimeStateExecutionResultSchemaconstantconst runtimeStateExecutionResultSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{ kind: z.ZodLiteral<"completed">; output: z.ZodOptional<z.ZodType<RuntimeJsonValue, z.ZodTypeDef, RuntimeJsonValue>>; variablesPatch: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<RuntimeJsonValue, z.ZodTypeDef, RuntimeJsonValue>>>; }, "strict", z.ZodTypeAny, { kind: "completed"; variablesPatch?: Record<string, RuntimeJsonVal...Runtime schema for Runtime State Execution Result.
runtimeTransitionProposalDefinitionconstantconst runtimeTransitionProposalDefinition: SpecSchemaDefinition<RuntimeTransitionProposal>Runtime Transition Proposal Definition constant exported by the contracts/runtime-helper-schemas module.
runtimeTransitionProposalExampleconstantconst runtimeTransitionProposalExample: RuntimeTransitionProposalValid example value for Runtime Transition Proposal.
runtimeTransitionProposalJsonSchemaconstantconst runtimeTransitionProposalJsonSchema: JsonSchemaJSON Schema for Runtime Transition Proposal.
runtimeTransitionProposalSchemaconstantconst runtimeTransitionProposalSchema: z.ZodObject<{ to: z.ZodString; reason: z.ZodOptional<z.ZodString>; variablesPatch: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<RuntimeJsonValue, z.ZodTypeDef, RuntimeJsonValue>>>; }, "strict", z.ZodTypeAny, { to: string; reason?: string | undefined; variablesPatch?: Record<string, RuntimeJsonValue> | undefined; }, { to: string; reason?: string | undefined; variablesPatch...Runtime schema for Runtime Transition Proposal.
runtimeWaitIntentDefinitionconstantconst runtimeWaitIntentDefinition: SpecSchemaDefinition<RuntimeWaitIntent>Runtime Wait Intent Definition constant exported by the contracts/runtime-helper-schemas module.
runtimeWaitIntentExampleconstantconst runtimeWaitIntentExample: RuntimeWaitIntentValid example value for Runtime Wait Intent.
runtimeWaitIntentJsonSchemaconstantconst runtimeWaitIntentJsonSchema: JsonSchemaJSON Schema for Runtime Wait Intent.
runtimeWaitIntentSchemaconstantconst runtimeWaitIntentSchema: z.ZodEffects<z.ZodObject<{ type: z.ZodEnum<["human", "signal", "timer", "pause"]>; key: z.ZodOptional<z.ZodString>; expectedSchema: z.ZodOptional<z.ZodType<JsonSchema, z.ZodTypeDef, JsonSchema>>; expiresAt: z.ZodOptional<z.ZodString>; timeoutTransitionId: z.ZodOptional<z.ZodString>; pendingActionRef: z.ZodOptional<z.ZodString>; reason: z.ZodOptional<z.ZodString>; metadata: z.ZodOptio...Runtime schema for Runtime Wait Intent.
validateRuntimeDeterministicObservationfunctionvalidateRuntimeDeterministicObservation(input: unknown): RuntimeDeterministicObservationValidate Runtime Deterministic Observation function with 1 public call signature; parameters and return types are listed below.
validateRuntimeHelperExecutionScopefunctionvalidateRuntimeHelperExecutionScope(input: unknown): RuntimeHelperExecutionScopeValidate Runtime Helper Execution Scope function with 1 public call signature; parameters and return types are listed below.
validateRuntimeObservationEventInputfunctionvalidateRuntimeObservationEventInput(input: unknown): RuntimeObservationEventInputValidate Runtime Observation Event Input function with 1 public call signature; parameters and return types are listed below.
validateRuntimeStateExecutionResultfunctionvalidateRuntimeStateExecutionResult(input: unknown): RuntimeStateExecutionResultValidate Runtime State Execution Result function with 1 public call signature; parameters and return types are listed below.
validateRuntimeTransitionProposalfunctionvalidateRuntimeTransitionProposal(input: unknown): RuntimeTransitionProposalValidate Runtime Transition Proposal function with 1 public call signature; parameters and return types are listed below.
validateRuntimeWaitIntentfunctionvalidateRuntimeWaitIntent(input: unknown): RuntimeWaitIntentValidate Runtime Wait Intent function with 1 public call signature; parameters and return types are listed below.

runtimeDeterminismScopeSchema

Runtime schema for Runtime Determinism Scope.

Declaration

text
export declare const runtimeDeterminismScopeSchema: z.ZodObject<{ tenantId: z.ZodOptional<z.ZodString>; userId: z.ZodString; runId: z.ZodString; stateId: z.ZodString; stateAttempt: z.ZodNumber; }, "strict", z.ZodTypeAny, { runId: string; userId: string; stateAttempt: number; stateId: string; tenantId?: string | undefined; }, { runId: string; userId: string; stateAttempt: number; stateId: string; tenantId?: string | undefined; }>;

runtimeDeterministicObservationDefinition

Runtime Deterministic Observation Definition constant exported by the contracts/runtime-helper-schemas module.

Declaration

text
export declare const runtimeDeterministicObservationDefinition: SpecSchemaDefinition<RuntimeDeterministicObservation<RuntimeJsonValue>>;

runtimeDeterministicObservationExample

Valid example value for Runtime Deterministic Observation.

Declaration

text
export declare const runtimeDeterministicObservationExample: RuntimeDeterministicObservation<RuntimeJsonValue>;

runtimeDeterministicObservationJsonSchema

JSON Schema for Runtime Deterministic Observation.

Declaration

text
export declare const runtimeDeterministicObservationJsonSchema: JsonSchema;

runtimeDeterministicObservationSchema

Runtime schema for Runtime Deterministic Observation.

Declaration

text
export declare const runtimeDeterministicObservationSchema: z.ZodObject<{ scope: z.ZodObject<{ tenantId: z.ZodOptional<z.ZodString>; userId: z.ZodString; runId: z.ZodString; stateId: z.ZodString; stateAttempt: z.ZodNumber; }, "strict", z.ZodTypeAny, { runId: string; userId: string; stateAttempt: number; stateId: string; tenantId?: string | undefined; }, { runId: string; userId: string; stateAttempt: number; stateId: string; tenantId?: string | undefined; }>; key: z.ZodString; kind: z.ZodEnum<["clock", "id"]>; value: z.ZodType<RuntimeJsonValue, z.ZodTypeDef, RuntimeJsonValue>; }, "strict", z.ZodTypeAny, { value: RuntimeJsonValue; scope: { runId: string; userId: string; stateAttempt: number; stateId: string; tenantId?: string | undefined; }; key: string; kind: "id" | "clock"; }, { value: RuntimeJsonValue; scope: { runId: string; userId: string; stateAttempt: number; stateId: string; tenantId?: string | undefined; }; key: string; kind: "id" | "clock"; }>;

runtimeHelperContractDefinitions

Runtime Helper Contract Definitions constant exported by the contracts/runtime-helper-schemas module.

Declaration

text
export declare const runtimeHelperContractDefinitions: readonly [SpecSchemaDefinition<RuntimeTransitionProposal>, SpecSchemaDefinition<RuntimeWaitIntent>, SpecSchemaDefinition<RuntimeStateExecutionResult>, SpecSchemaDefinition<RuntimeDeterministicObservation<RuntimeJsonValue>>, SpecSchemaDefinition<RuntimeObservationEventInput<RuntimeJsonValue>>];

runtimeHelperContractJsonSchemas

Runtime Helper Contract JSON Schemas constant exported by the contracts/runtime-helper-schemas module.

Declaration

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

runtimeHelperExecutionScopeSchema

Runtime schema for Runtime Helper Execution Scope.

Declaration

text
export declare const runtimeHelperExecutionScopeSchema: z.ZodObject<{ scope: z.ZodObject<{ tenantId: z.ZodOptional<z.ZodString>; userId: z.ZodString; workspaceId: z.ZodOptional<z.ZodString>; sessionId: z.ZodString; runId: z.ZodString; agentId: z.ZodOptional<z.ZodString>; }, "strict", z.ZodTypeAny, { sessionId: string; runId: string; userId: string; workspaceId?: string | undefined; agentId?: string | undefined; tenantId?: string | undefined; }, { sessionId: string; runId: string; userId: string; workspaceId?: string | undefined; agentId?: string | undefined; tenantId?: string | undefined; }>; stateId: z.ZodString; stateAttempt: z.ZodNumber; fencingToken: z.ZodNumber; correlationId: z.ZodString; causationId: z.ZodOptional<z.ZodString>; }, "strict", z.ZodTypeAny, { correlationId: string; scope: { sessionId: string; runId: string; userId: string; workspaceId?: string | undefined; agentId?: string | undefined; tenantId?: string | undefined; }; stateAttempt: number; stateId: string; fencingToken: number; causationId?: string | undefined; }, { correlationId: string; scope: { sessionId: string; runId: string; userId: string; workspaceId?: string | undefined; agentId?: string | undefined; tenantId?: string | undefined; }; stateAttempt: number; stateId: string; fencingToken: number; causationId?: string | undefined; }>;

runtimeObservationEventInputDefinition

Runtime Observation Event Input Definition constant exported by the contracts/runtime-helper-schemas module.

Declaration

text
export declare const runtimeObservationEventInputDefinition: SpecSchemaDefinition<RuntimeObservationEventInput<RuntimeJsonValue>>;

runtimeObservationEventInputExample

Valid example value for Runtime Observation Event Input.

Declaration

text
export declare const runtimeObservationEventInputExample: RuntimeObservationEventInput<RuntimeJsonValue>;

runtimeObservationEventInputJsonSchema

JSON Schema for Runtime Observation Event Input.

Declaration

text
export declare const runtimeObservationEventInputJsonSchema: JsonSchema;

runtimeObservationEventInputSchema

Runtime schema for Runtime Observation Event Input.

Declaration

text
export declare const runtimeObservationEventInputSchema: z.ZodObject<{ type: z.ZodType<`runtime.observation.${string}`, z.ZodTypeDef, `runtime.observation.${string}`>; payload: z.ZodType<RuntimeJsonValue, z.ZodTypeDef, RuntimeJsonValue>; options: z.ZodOptional<z.ZodObject<{ idempotencyKey: z.ZodOptional<z.ZodString>; causationId: z.ZodOptional<z.ZodString>; parentEventId: z.ZodOptional<z.ZodString>; metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<RuntimeJsonValue, z.ZodTypeDef, RuntimeJsonValue>>>; }, "strict", z.ZodTypeAny, { metadata?: Record<string, RuntimeJsonValue> | undefined; causationId?: string | undefined; parentEventId?: string | undefined; idempotencyKey?: string | undefined; }, { metadata?: Record<string, RuntimeJsonValue> | undefined; causationId?: string | undefined; parentEventId?: string | undefined; idempotencyKey?: string | undefined; }>>; }, "strict", z.ZodTypeAny, { type: `runtime.observation.${string}`; payload: RuntimeJsonValue; options?: { metadata?: Record<string, RuntimeJsonValue> | undefined; causationId?: string | undefined; parentEventId?: string | undefined; idempotencyKey?: string | undefined; } | undefined; }, { type: `runtime.observation.${string}`; payload: RuntimeJsonValue; options?: { metadata?: Record<string, RuntimeJsonValue> | undefined; causationId?: string | undefined; parentEventId?: string | undefined; idempotencyKey?: string | undefined; } | undefined; }>;

runtimeStateExecutionResultDefinition

Runtime State Execution Result Definition constant exported by the contracts/runtime-helper-schemas module.

Declaration

text
export declare const runtimeStateExecutionResultDefinition: SpecSchemaDefinition<RuntimeStateExecutionResult>;

runtimeStateExecutionResultExample

Valid example value for Runtime State Execution Result.

Declaration

text
export declare const runtimeStateExecutionResultExample: RuntimeStateExecutionResult;

runtimeStateExecutionResultJsonSchema

JSON Schema for Runtime State Execution Result.

Declaration

text
export declare const runtimeStateExecutionResultJsonSchema: JsonSchema;

runtimeStateExecutionResultSchema

Runtime schema for Runtime State Execution Result.

Declaration

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

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.

runtimeTransitionProposalDefinition

Runtime Transition Proposal Definition constant exported by the contracts/runtime-helper-schemas module.

Declaration

text
export declare const runtimeTransitionProposalDefinition: SpecSchemaDefinition<RuntimeTransitionProposal>;

runtimeTransitionProposalExample

Valid example value for Runtime Transition Proposal.

Declaration

text
export declare const runtimeTransitionProposalExample: RuntimeTransitionProposal;

runtimeTransitionProposalJsonSchema

JSON Schema for Runtime Transition Proposal.

Declaration

text
export declare const runtimeTransitionProposalJsonSchema: JsonSchema;

runtimeTransitionProposalSchema

Runtime schema for Runtime Transition Proposal.

Declaration

text
export declare const runtimeTransitionProposalSchema: z.ZodObject<{ to: z.ZodString; reason: z.ZodOptional<z.ZodString>; variablesPatch: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<RuntimeJsonValue, z.ZodTypeDef, RuntimeJsonValue>>>; }, "strict", z.ZodTypeAny, { to: string; reason?: string | undefined; variablesPatch?: Record<string, RuntimeJsonValue> | undefined; }, { to: string; reason?: string | undefined; variablesPatch?: Record<string, RuntimeJsonValue> | undefined; }>;

runtimeWaitIntentDefinition

Runtime Wait Intent Definition constant exported by the contracts/runtime-helper-schemas module.

Declaration

text
export declare const runtimeWaitIntentDefinition: SpecSchemaDefinition<RuntimeWaitIntent>;

runtimeWaitIntentExample

Valid example value for Runtime Wait Intent.

Declaration

text
export declare const runtimeWaitIntentExample: RuntimeWaitIntent;

runtimeWaitIntentJsonSchema

JSON Schema for Runtime Wait Intent.

Declaration

text
export declare const runtimeWaitIntentJsonSchema: JsonSchema;

runtimeWaitIntentSchema

Runtime schema for Runtime Wait Intent.

Declaration

text
export declare const runtimeWaitIntentSchema: z.ZodEffects<z.ZodObject<{ type: z.ZodEnum<["human", "signal", "timer", "pause"]>; key: z.ZodOptional<z.ZodString>; expectedSchema: z.ZodOptional<z.ZodType<JsonSchema, z.ZodTypeDef, JsonSchema>>; expiresAt: z.ZodOptional<z.ZodString>; timeoutTransitionId: z.ZodOptional<z.ZodString>; pendingActionRef: z.ZodOptional<z.ZodString>; reason: z.ZodOptional<z.ZodString>; metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<RuntimeJsonValue, z.ZodTypeDef, RuntimeJsonValue>>>; }, "strict", z.ZodTypeAny, { type: "signal" | "human" | "timer" | "pause"; reason?: string | undefined; metadata?: Record<string, RuntimeJsonValue> | undefined; expiresAt?: string | undefined; key?: string | undefined; pendingActionRef?: string | undefined; expectedSchema?: JsonSchema | undefined; timeoutTransitionId?: string | undefined; }, { type: "signal" | "human" | "timer" | "pause"; reason?: string | undefined; metadata?: Record<string, RuntimeJsonValue> | undefined; expiresAt?: string | undefined; key?: string | undefined; pendingActionRef?: string | undefined; expectedSchema?: JsonSchema | undefined; timeoutTransitionId?: string | undefined; }>, { type: "signal" | "human" | "timer" | "pause"; reason?: string | undefined; metadata?: Record<string, RuntimeJsonValue> | undefined; expiresAt?: string | undefined; key?: string | undefined; pendingActionRef?: string | undefined; expectedSchema?: JsonSchema | undefined; timeoutTransitionId?: string | undefined; }, { type: "signal" | "human" | "timer" | "pause"; reason?: string | undefined; metadata?: Record<string, RuntimeJsonValue> | undefined; expiresAt?: string | undefined; key?: string | undefined; pendingActionRef?: string | undefined; expectedSchema?: JsonSchema | undefined; timeoutTransitionId?: string | undefined; }>;

validateRuntimeDeterministicObservation

Validate Runtime Deterministic Observation function with 1 public call signature; parameters and return types are listed below.

Declaration

text
export declare function validateRuntimeDeterministicObservation(input: unknown): RuntimeDeterministicObservation;

Call signature

text
validateRuntimeDeterministicObservation(input: unknown): RuntimeDeterministicObservation

Parameters

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

Returns

  • Type: RuntimeDeterministicObservation<RuntimeJsonValue>
  • Description: The return contract is defined by the type shown above.

validateRuntimeHelperExecutionScope

Validate Runtime Helper Execution Scope function with 1 public call signature; parameters and return types are listed below.

Declaration

text
export declare function validateRuntimeHelperExecutionScope(input: unknown): RuntimeHelperExecutionScope;

Call signature

text
validateRuntimeHelperExecutionScope(input: unknown): RuntimeHelperExecutionScope

Parameters

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

Returns

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

validateRuntimeObservationEventInput

Validate Runtime Observation Event Input function with 1 public call signature; parameters and return types are listed below.

Declaration

text
export declare function validateRuntimeObservationEventInput(input: unknown): RuntimeObservationEventInput;

Call signature

text
validateRuntimeObservationEventInput(input: unknown): RuntimeObservationEventInput

Parameters

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

Returns

  • Type: RuntimeObservationEventInput<RuntimeJsonValue>
  • Description: The return contract is defined by the type shown above.

validateRuntimeStateExecutionResult

Validate Runtime State Execution Result function with 1 public call signature; parameters and return types are listed below.

Declaration

text
export declare function validateRuntimeStateExecutionResult(input: unknown): RuntimeStateExecutionResult;

Call signature

text
validateRuntimeStateExecutionResult(input: unknown): RuntimeStateExecutionResult

Parameters

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

Returns

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

validateRuntimeTransitionProposal

Validate Runtime Transition Proposal function with 1 public call signature; parameters and return types are listed below.

Declaration

text
export declare function validateRuntimeTransitionProposal(input: unknown): RuntimeTransitionProposal;

Call signature

text
validateRuntimeTransitionProposal(input: unknown): RuntimeTransitionProposal

Parameters

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

Returns

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

validateRuntimeWaitIntent

Validate Runtime Wait Intent function with 1 public call signature; parameters and return types are listed below.

Declaration

text
export declare function validateRuntimeWaitIntent(input: unknown): RuntimeWaitIntent;

Call signature

text
validateRuntimeWaitIntent(input: unknown): RuntimeWaitIntent

Parameters

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

Returns

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