Skip to content

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

模块用法

用于声明并运行时校验契约。Runtime checkpoint schemas 模块公开 26 常量、6 函数。

从包入口导入

ts
import {
  runtimeCheckpointContractDefinitions,
  runtimeCheckpointContractJsonSchemas,
  runtimeCheckpointCreateCommandDefinition,
  runtimeCheckpointCreateCommandExample,
  runtimeCheckpointCreateCommandJsonSchema,
  runtimeCheckpointCreateCommandSchema,
  runtimeCheckpointCreateResultDefinition,
  runtimeCheckpointCreateResultExample,
} from '@codesoul-co/hypha-core';

// 完整导出列表见下方。

使用要点

  • 6 个函数是该模块的直接操作入口;每个 overload 的必需/可选参数与返回类型均在下方列出。
  • 26 个常量/枚举提供稳定值、Schema、Definition 或默认配置;应复用这些导出,避免在应用中复制内部值。

运行时校验示例

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

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

配置、网络请求或持久化数据等不可信输入应先通过 Runtime Schema,再传给只接受已校验契约的函数或类。

公共导出

Symbol种类签名说明
runtimeCheckpointContractDefinitions常量const runtimeCheckpointContractDefinitions: readonly [SpecSchemaDefinition<RuntimeCheckpointPolicySpec>, SpecSchemaDefinition<RuntimeCheckpointRecord>, SpecSchemaDefinition<RuntimeCheckpointCreateCommand>, SpecSchemaDefinition<RuntimeCheckpointCreateResult>, SpecSchemaDefinition<RuntimeCheckpointLoadRequest>, SpecSchemaDefinition<RuntimeCheckpointLoadResult>]contracts/runtime-checkpoint-schemas 模块导出的 Runtime Checkpoint Contract Definitions 常量。
runtimeCheckpointContractJsonSchemas常量const runtimeCheckpointContractJsonSchemas: Record<string, JsonSchema>contracts/runtime-checkpoint-schemas 模块导出的 Runtime Checkpoint Contract JSON Schemas 常量。
runtimeCheckpointCreateCommandDefinition常量const runtimeCheckpointCreateCommandDefinition: SpecSchemaDefinition<RuntimeCheckpointCreateCommand>contracts/runtime-checkpoint-schemas 模块导出的 Runtime Checkpoint Create Command Definition 常量。
runtimeCheckpointCreateCommandExample常量const runtimeCheckpointCreateCommandExample: RuntimeCheckpointCreateCommandRuntime Checkpoint Create Command 的有效示例值。
runtimeCheckpointCreateCommandJsonSchema常量const runtimeCheckpointCreateCommandJsonSchema: JsonSchemaRuntime Checkpoint Create Command 的 JSON Schema。
runtimeCheckpointCreateCommandSchema常量const runtimeCheckpointCreateCommandSchema: z.ZodObject<{ checkpointId: z.ZodString; 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 ...Runtime Checkpoint Create Command 的运行时 Schema。
runtimeCheckpointCreateResultDefinition常量const runtimeCheckpointCreateResultDefinition: SpecSchemaDefinition<RuntimeCheckpointCreateResult>contracts/runtime-checkpoint-schemas 模块导出的 Runtime Checkpoint Create Result Definition 常量。
runtimeCheckpointCreateResultExample常量const runtimeCheckpointCreateResultExample: RuntimeCheckpointCreateResultRuntime Checkpoint Create Result 的有效示例值。
runtimeCheckpointCreateResultJsonSchema常量const runtimeCheckpointCreateResultJsonSchema: JsonSchemaRuntime Checkpoint Create Result 的 JSON Schema。
runtimeCheckpointCreateResultSchema常量const runtimeCheckpointCreateResultSchema: z.ZodObject<{ checkpointId: z.ZodString; disposition: z.ZodEnum<["applied", "reused", "lease_unavailable"]>; eventIds: z.ZodArray<z.ZodString, "many">; record: z.ZodOptional<z.ZodEffects<z.ZodObject<{ id: z.ZodString; scope: z.ZodObject<{ tenantId: z.ZodOptional<z.ZodString>; userId: z.ZodString; workspaceId: z.ZodOptional<z.ZodString>; sessionId: z.ZodString; runId: z.Zo...Runtime Checkpoint Create Result 的运行时 Schema。
runtimeCheckpointLoadRequestDefinition常量const runtimeCheckpointLoadRequestDefinition: SpecSchemaDefinition<RuntimeCheckpointLoadRequest>contracts/runtime-checkpoint-schemas 模块导出的 Runtime Checkpoint Load Request Definition 常量。
runtimeCheckpointLoadRequestExample常量const runtimeCheckpointLoadRequestExample: RuntimeCheckpointLoadRequestRuntime Checkpoint Load Request 的有效示例值。
runtimeCheckpointLoadRequestJsonSchema常量const runtimeCheckpointLoadRequestJsonSchema: JsonSchemaRuntime Checkpoint Load Request 的 JSON Schema。
runtimeCheckpointLoadRequestSchema常量const runtimeCheckpointLoadRequestSchema: 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?: strin...Runtime Checkpoint Load Request 的运行时 Schema。
runtimeCheckpointLoadResultDefinition常量const runtimeCheckpointLoadResultDefinition: SpecSchemaDefinition<RuntimeCheckpointLoadResult>contracts/runtime-checkpoint-schemas 模块导出的 Runtime Checkpoint Load Result Definition 常量。
runtimeCheckpointLoadResultExample常量const runtimeCheckpointLoadResultExample: RuntimeCheckpointLoadResultRuntime Checkpoint Load Result 的有效示例值。
runtimeCheckpointLoadResultJsonSchema常量const runtimeCheckpointLoadResultJsonSchema: JsonSchemaRuntime Checkpoint Load Result 的 JSON Schema。
runtimeCheckpointLoadResultSchema常量const runtimeCheckpointLoadResultSchema: z.ZodEffects<z.ZodObject<{ record: z.ZodEffects<z.ZodObject<{ id: z.ZodString; 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?: st...Runtime Checkpoint Load Result 的运行时 Schema。
runtimeCheckpointPolicySpecDefinition常量const runtimeCheckpointPolicySpecDefinition: SpecSchemaDefinition<RuntimeCheckpointPolicySpec>Runtime Checkpoint Policy Spec 的运行时校验入口,组合 Parser、Example 与 JSON Schema。
runtimeCheckpointPolicySpecExample常量const runtimeCheckpointPolicySpecExample: RuntimeCheckpointPolicySpecRuntime Checkpoint Policy Spec 的有效示例值。
runtimeCheckpointPolicySpecJsonSchema常量const runtimeCheckpointPolicySpecJsonSchema: JsonSchemaRuntime Checkpoint Policy Spec 的 JSON Schema。
runtimeCheckpointPolicySpecSchema常量const runtimeCheckpointPolicySpecSchema: z.ZodEffects<z.ZodObject<{ mode: z.ZodEnum<["none", "state_boundary", "every_n_events", "wait_boundary", "custom"]>; everyNEvents: z.ZodOptional<z.ZodNumber>; retainLast: z.ZodOptional<z.ZodNumber>; persistWorkspaceSnapshot: z.ZodOptional<z.ZodBoolean>; persistContextRefs: z.ZodOptional<z.ZodBoolean>; compression: z.ZodOptional<z.ZodEnum<["none", "gzip", "zstd"]>>; }, "stri...Runtime Checkpoint Policy Spec 的运行时 Schema。
runtimeCheckpointRecordDefinition常量const runtimeCheckpointRecordDefinition: SpecSchemaDefinition<RuntimeCheckpointRecord>contracts/runtime-checkpoint-schemas 模块导出的 Runtime Checkpoint Record Definition 常量。
runtimeCheckpointRecordExample常量const runtimeCheckpointRecordExample: RuntimeCheckpointRecordRuntime Checkpoint Record 的有效示例值。
runtimeCheckpointRecordJsonSchema常量const runtimeCheckpointRecordJsonSchema: JsonSchemaRuntime Checkpoint Record 的 JSON Schema。
runtimeCheckpointRecordSchema常量const runtimeCheckpointRecordSchema: z.ZodEffects<z.ZodObject<{ id: z.ZodString; 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 | un...Runtime Checkpoint Record 的运行时 Schema。
validateRuntimeCheckpointCreateCommand函数validateRuntimeCheckpointCreateCommand(input: unknown): RuntimeCheckpointCreateCommandValidate Runtime Checkpoint Create Command 函数,提供 1 个公开调用签名;参数与返回类型见下表。
validateRuntimeCheckpointCreateResult函数validateRuntimeCheckpointCreateResult(input: unknown): RuntimeCheckpointCreateResultValidate Runtime Checkpoint Create Result 函数,提供 1 个公开调用签名;参数与返回类型见下表。
validateRuntimeCheckpointLoadRequest函数validateRuntimeCheckpointLoadRequest(input: unknown): RuntimeCheckpointLoadRequestValidate Runtime Checkpoint Load Request 函数,提供 1 个公开调用签名;参数与返回类型见下表。
validateRuntimeCheckpointLoadResult函数validateRuntimeCheckpointLoadResult(input: unknown): RuntimeCheckpointLoadResultValidate Runtime Checkpoint Load Result 函数,提供 1 个公开调用签名;参数与返回类型见下表。
validateRuntimeCheckpointPolicySpec函数validateRuntimeCheckpointPolicySpec(input: unknown): RuntimeCheckpointPolicySpecValidate Runtime Checkpoint Policy Spec 函数,提供 1 个公开调用签名;参数与返回类型见下表。
validateRuntimeCheckpointRecord函数validateRuntimeCheckpointRecord(input: unknown): RuntimeCheckpointRecordValidate Runtime Checkpoint Record 函数,提供 1 个公开调用签名;参数与返回类型见下表。

runtimeCheckpointContractDefinitions

contracts/runtime-checkpoint-schemas 模块导出的 Runtime Checkpoint Contract Definitions 常量。

声明

text
export declare const runtimeCheckpointContractDefinitions: readonly [SpecSchemaDefinition<RuntimeCheckpointPolicySpec>, SpecSchemaDefinition<RuntimeCheckpointRecord>, SpecSchemaDefinition<RuntimeCheckpointCreateCommand>, SpecSchemaDefinition<RuntimeCheckpointCreateResult>, SpecSchemaDefinition<RuntimeCheckpointLoadRequest>, SpecSchemaDefinition<RuntimeCheckpointLoadResult>];

runtimeCheckpointContractJsonSchemas

contracts/runtime-checkpoint-schemas 模块导出的 Runtime Checkpoint Contract JSON Schemas 常量。

声明

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

runtimeCheckpointCreateCommandDefinition

contracts/runtime-checkpoint-schemas 模块导出的 Runtime Checkpoint Create Command Definition 常量。

声明

text
export declare const runtimeCheckpointCreateCommandDefinition: SpecSchemaDefinition<RuntimeCheckpointCreateCommand>;

runtimeCheckpointCreateCommandExample

Runtime Checkpoint Create Command 的有效示例值。

声明

text
export declare const runtimeCheckpointCreateCommandExample: RuntimeCheckpointCreateCommand;

runtimeCheckpointCreateCommandJsonSchema

Runtime Checkpoint Create Command 的 JSON Schema。

声明

text
export declare const runtimeCheckpointCreateCommandJsonSchema: JsonSchema;

runtimeCheckpointCreateCommandSchema

Runtime Checkpoint Create Command 的运行时 Schema。

声明

text
export declare const runtimeCheckpointCreateCommandSchema: z.ZodObject<{ checkpointId: z.ZodString; 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; }>; ownerId: z.ZodString; leaseTtlMs: z.ZodNumber; workflowRevision: z.ZodString; processHash: z.ZodString; variablesHash: z.ZodString; dependencySnapshotRef: z.ZodString; toolContractSnapshotRef: z.ZodOptional<z.ZodString>; workspaceSnapshotRef: z.ZodOptional<z.ZodString>; contextSnapshotRefs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; reason: z.ZodEnum<["state_boundary", "human_wait", "signal_wait", "timer_wait", "manual", "failure"]>; createdAt: z.ZodString; idempotencyKey: z.ZodOptional<z.ZodString>; metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<RuntimeJsonValue, z.ZodTypeDef, RuntimeJsonValue>>>; }, "strict", z.ZodTypeAny, { reason: "manual" | "state_boundary" | "human_wait" | "signal_wait" | "timer_wait" | "failure"; scope: { sessionId: string; runId: string; userId: string; workspaceId?: string | undefined; agentId?: string | undefined; tenantId?: string | undefined; }; createdAt: string; checkpointId: string; workflowRevision: string; processHash: string; variablesHash: string; dependencySnapshotRef: string; ownerId: string; leaseTtlMs: number; metadata?: Record<string, RuntimeJsonValue> | undefined; idempotencyKey?: string | undefined; toolContractSnapshotRef?: string | undefined; workspaceSnapshotRef?: string | undefined; contextSnapshotRefs?: string[] | undefined; }, { reason: "manual" | "state_boundary" | "human_wait" | "signal_wait" | "timer_wait" | "failure"; scope: { sessionId: string; runId: string; userId: string; workspaceId?: string | undefined; agentId?: string | undefined; tenantId?: string | undefined; }; createdAt: string; checkpointId: string; workflowRevision: string; processHash: string; variablesHash: string; dependencySnapshotRef: string; ownerId: string; leaseTtlMs: number; metadata?: Record<string, RuntimeJsonValue> | undefined; idempotencyKey?: string | undefined; toolContractSnapshotRef?: string | undefined; workspaceSnapshotRef?: string | undefined; contextSnapshotRefs?: string[] | undefined; }>;

runtimeCheckpointCreateResultDefinition

contracts/runtime-checkpoint-schemas 模块导出的 Runtime Checkpoint Create Result Definition 常量。

声明

text
export declare const runtimeCheckpointCreateResultDefinition: SpecSchemaDefinition<RuntimeCheckpointCreateResult>;

runtimeCheckpointCreateResultExample

Runtime Checkpoint Create Result 的有效示例值。

声明

text
export declare const runtimeCheckpointCreateResultExample: RuntimeCheckpointCreateResult;

runtimeCheckpointCreateResultJsonSchema

Runtime Checkpoint Create Result 的 JSON Schema。

声明

text
export declare const runtimeCheckpointCreateResultJsonSchema: JsonSchema;

runtimeCheckpointCreateResultSchema

Runtime Checkpoint Create Result 的运行时 Schema。

声明

text
// 精确类型由包入口解析;完整编译器展开定义见源码链接。
export declare const runtimeCheckpointCreateResultSchema: (typeof import('@codesoul-co/hypha-core'))['runtimeCheckpointCreateResultSchema'];

该常量的编译器展开类型已压缩;它的公共名称、顶层类型与源码位置仍保留在本条目中。相关输入/输出字段请使用同模块导出的接口、类型或 Runtime Schema。

runtimeCheckpointLoadRequestDefinition

contracts/runtime-checkpoint-schemas 模块导出的 Runtime Checkpoint Load Request Definition 常量。

声明

text
export declare const runtimeCheckpointLoadRequestDefinition: SpecSchemaDefinition<RuntimeCheckpointLoadRequest>;

runtimeCheckpointLoadRequestExample

Runtime Checkpoint Load Request 的有效示例值。

声明

text
export declare const runtimeCheckpointLoadRequestExample: RuntimeCheckpointLoadRequest;

runtimeCheckpointLoadRequestJsonSchema

Runtime Checkpoint Load Request 的 JSON Schema。

声明

text
export declare const runtimeCheckpointLoadRequestJsonSchema: JsonSchema;

runtimeCheckpointLoadRequestSchema

Runtime Checkpoint Load Request 的运行时 Schema。

声明

text
export declare const runtimeCheckpointLoadRequestSchema: 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; }>; checkpointId: z.ZodOptional<z.ZodString>; checkedAt: z.ZodString; }, "strict", z.ZodTypeAny, { scope: { sessionId: string; runId: string; userId: string; workspaceId?: string | undefined; agentId?: string | undefined; tenantId?: string | undefined; }; checkedAt: string; checkpointId?: string | undefined; }, { scope: { sessionId: string; runId: string; userId: string; workspaceId?: string | undefined; agentId?: string | undefined; tenantId?: string | undefined; }; checkedAt: string; checkpointId?: string | undefined; }>;

runtimeCheckpointLoadResultDefinition

contracts/runtime-checkpoint-schemas 模块导出的 Runtime Checkpoint Load Result Definition 常量。

声明

text
export declare const runtimeCheckpointLoadResultDefinition: SpecSchemaDefinition<RuntimeCheckpointLoadResult>;

runtimeCheckpointLoadResultExample

Runtime Checkpoint Load Result 的有效示例值。

声明

text
export declare const runtimeCheckpointLoadResultExample: RuntimeCheckpointLoadResult;

runtimeCheckpointLoadResultJsonSchema

Runtime Checkpoint Load Result 的 JSON Schema。

声明

text
export declare const runtimeCheckpointLoadResultJsonSchema: JsonSchema;

runtimeCheckpointLoadResultSchema

Runtime Checkpoint Load Result 的运行时 Schema。

声明

text
// 精确类型由包入口解析;完整编译器展开定义见源码链接。
export declare const runtimeCheckpointLoadResultSchema: (typeof import('@codesoul-co/hypha-core'))['runtimeCheckpointLoadResultSchema'];

该常量的编译器展开类型已压缩;它的公共名称、顶层类型与源码位置仍保留在本条目中。相关输入/输出字段请使用同模块导出的接口、类型或 Runtime Schema。

runtimeCheckpointPolicySpecDefinition

Runtime Checkpoint Policy Spec 的运行时校验入口,组合 Parser、Example 与 JSON Schema。

声明

text
export declare const runtimeCheckpointPolicySpecDefinition: SpecSchemaDefinition<RuntimeCheckpointPolicySpec>;

runtimeCheckpointPolicySpecExample

Runtime Checkpoint Policy Spec 的有效示例值。

声明

text
export declare const runtimeCheckpointPolicySpecExample: RuntimeCheckpointPolicySpec;

runtimeCheckpointPolicySpecJsonSchema

Runtime Checkpoint Policy Spec 的 JSON Schema。

声明

text
export declare const runtimeCheckpointPolicySpecJsonSchema: JsonSchema;

runtimeCheckpointPolicySpecSchema

Runtime Checkpoint Policy Spec 的运行时 Schema。

声明

text
export declare const runtimeCheckpointPolicySpecSchema: z.ZodEffects<z.ZodObject<{ mode: z.ZodEnum<["none", "state_boundary", "every_n_events", "wait_boundary", "custom"]>; everyNEvents: z.ZodOptional<z.ZodNumber>; retainLast: z.ZodOptional<z.ZodNumber>; persistWorkspaceSnapshot: z.ZodOptional<z.ZodBoolean>; persistContextRefs: z.ZodOptional<z.ZodBoolean>; compression: z.ZodOptional<z.ZodEnum<["none", "gzip", "zstd"]>>; }, "strict", z.ZodTypeAny, { mode: "custom" | "state_boundary" | "none" | "every_n_events" | "wait_boundary"; everyNEvents?: number | undefined; retainLast?: number | undefined; persistWorkspaceSnapshot?: boolean | undefined; persistContextRefs?: boolean | undefined; compression?: "none" | "gzip" | "zstd" | undefined; }, { mode: "custom" | "state_boundary" | "none" | "every_n_events" | "wait_boundary"; everyNEvents?: number | undefined; retainLast?: number | undefined; persistWorkspaceSnapshot?: boolean | undefined; persistContextRefs?: boolean | undefined; compression?: "none" | "gzip" | "zstd" | undefined; }>, { mode: "custom" | "state_boundary" | "none" | "every_n_events" | "wait_boundary"; everyNEvents?: number | undefined; retainLast?: number | undefined; persistWorkspaceSnapshot?: boolean | undefined; persistContextRefs?: boolean | undefined; compression?: "none" | "gzip" | "zstd" | undefined; }, { mode: "custom" | "state_boundary" | "none" | "every_n_events" | "wait_boundary"; everyNEvents?: number | undefined; retainLast?: number | undefined; persistWorkspaceSnapshot?: boolean | undefined; persistContextRefs?: boolean | undefined; compression?: "none" | "gzip" | "zstd" | undefined; }>;

runtimeCheckpointRecordDefinition

contracts/runtime-checkpoint-schemas 模块导出的 Runtime Checkpoint Record Definition 常量。

声明

text
export declare const runtimeCheckpointRecordDefinition: SpecSchemaDefinition<RuntimeCheckpointRecord>;

runtimeCheckpointRecordExample

Runtime Checkpoint Record 的有效示例值。

声明

text
export declare const runtimeCheckpointRecordExample: RuntimeCheckpointRecord;

runtimeCheckpointRecordJsonSchema

Runtime Checkpoint Record 的 JSON Schema。

声明

text
export declare const runtimeCheckpointRecordJsonSchema: JsonSchema;

runtimeCheckpointRecordSchema

Runtime Checkpoint Record 的运行时 Schema。

声明

text
// 精确类型由包入口解析;完整编译器展开定义见源码链接。
export declare const runtimeCheckpointRecordSchema: (typeof import('@codesoul-co/hypha-core'))['runtimeCheckpointRecordSchema'];

该常量的编译器展开类型已压缩;它的公共名称、顶层类型与源码位置仍保留在本条目中。相关输入/输出字段请使用同模块导出的接口、类型或 Runtime Schema。

validateRuntimeCheckpointCreateCommand

Validate Runtime Checkpoint Create Command 函数,提供 1 个公开调用签名;参数与返回类型见下表。

声明

text
export declare function validateRuntimeCheckpointCreateCommand(input: unknown): RuntimeCheckpointCreateCommand;

调用签名

text
validateRuntimeCheckpointCreateCommand(input: unknown): RuntimeCheckpointCreateCommand

参数

参数类型必需说明
inputunknown必需参数;接受的值由类型列定义。

返回值

  • 类型: RuntimeCheckpointCreateCommand
  • 说明: 返回值契约由上述类型定义。

validateRuntimeCheckpointCreateResult

Validate Runtime Checkpoint Create Result 函数,提供 1 个公开调用签名;参数与返回类型见下表。

声明

text
export declare function validateRuntimeCheckpointCreateResult(input: unknown): RuntimeCheckpointCreateResult;

调用签名

text
validateRuntimeCheckpointCreateResult(input: unknown): RuntimeCheckpointCreateResult

参数

参数类型必需说明
inputunknown必需参数;接受的值由类型列定义。

返回值

  • 类型: RuntimeCheckpointCreateResult
  • 说明: 返回值契约由上述类型定义。

validateRuntimeCheckpointLoadRequest

Validate Runtime Checkpoint Load Request 函数,提供 1 个公开调用签名;参数与返回类型见下表。

声明

text
export declare function validateRuntimeCheckpointLoadRequest(input: unknown): RuntimeCheckpointLoadRequest;

调用签名

text
validateRuntimeCheckpointLoadRequest(input: unknown): RuntimeCheckpointLoadRequest

参数

参数类型必需说明
inputunknown必需参数;接受的值由类型列定义。

返回值

  • 类型: RuntimeCheckpointLoadRequest
  • 说明: 返回值契约由上述类型定义。

validateRuntimeCheckpointLoadResult

Validate Runtime Checkpoint Load Result 函数,提供 1 个公开调用签名;参数与返回类型见下表。

声明

text
export declare function validateRuntimeCheckpointLoadResult(input: unknown): RuntimeCheckpointLoadResult;

调用签名

text
validateRuntimeCheckpointLoadResult(input: unknown): RuntimeCheckpointLoadResult

参数

参数类型必需说明
inputunknown必需参数;接受的值由类型列定义。

返回值

  • 类型: RuntimeCheckpointLoadResult
  • 说明: 返回值契约由上述类型定义。

validateRuntimeCheckpointPolicySpec

Validate Runtime Checkpoint Policy Spec 函数,提供 1 个公开调用签名;参数与返回类型见下表。

声明

text
export declare function validateRuntimeCheckpointPolicySpec(input: unknown): RuntimeCheckpointPolicySpec;

调用签名

text
validateRuntimeCheckpointPolicySpec(input: unknown): RuntimeCheckpointPolicySpec

参数

参数类型必需说明
inputunknown必需参数;接受的值由类型列定义。

返回值

  • 类型: RuntimeCheckpointPolicySpec
  • 说明: 返回值契约由上述类型定义。

validateRuntimeCheckpointRecord

Validate Runtime Checkpoint Record 函数,提供 1 个公开调用签名;参数与返回类型见下表。

声明

text
export declare function validateRuntimeCheckpointRecord(input: unknown): RuntimeCheckpointRecord;

调用签名

text
validateRuntimeCheckpointRecord(input: unknown): RuntimeCheckpointRecord

参数

参数类型必需说明
inputunknown必需参数;接受的值由类型列定义。

返回值

  • 类型: RuntimeCheckpointRecord
  • 说明: 返回值契约由上述类型定义。