@codesoul-co/hypha-core / contracts/runtime-recovery-schemas
模块用法
用于声明并运行时校验契约。Runtime recovery schemas 模块公开 29 常量、7 函数。
从包入口导入
import {
runtimeActivityCompensationResultDefinition,
runtimeActivityCompensationResultExample,
runtimeActivityCompensationResultSchema,
runtimeActivityReconciliationResultDefinition,
runtimeActivityReconciliationResultExample,
runtimeActivityReconciliationResultJsonSchema,
runtimeActivityReconciliationResultSchema,
runtimeRecoveryCandidateDefinition,
} from '@codesoul-co/hypha-core';
// 完整导出列表见下方。使用要点
- 7 个函数是该模块的直接操作入口;每个 overload 的必需/可选参数与返回类型均在下方列出。
- 29 个常量/枚举提供稳定值、Schema、Definition 或默认配置;应复用这些导出,避免在应用中复制内部值。
运行时校验示例
import { runtimeActivityCompensationResultSchema } from '@codesoul-co/hypha-core';
declare function loadExternalInput(): unknown;
const input: unknown = loadExternalInput();
const parsed = runtimeActivityCompensationResultSchema.parse(input);配置、网络请求或持久化数据等不可信输入应先通过 Runtime Schema,再传给只接受已校验契约的函数或类。
公共导出
| Symbol | 种类 | 签名 | 说明 |
|---|---|---|---|
runtimeActivityCompensationResultDefinition | 常量 | const runtimeActivityCompensationResultDefinition: SpecSchemaDefinition<RuntimeActivityCompensationResult> | 由 contracts/runtime-recovery-schemas 模块导出的 Runtime Activity Compensation Result Definition 常量。 |
runtimeActivityCompensationResultExample | 常量 | const runtimeActivityCompensationResultExample: RuntimeActivityCompensationResult | Runtime Activity Compensation Result 的有效示例值。 |
runtimeActivityCompensationResultSchema | 常量 | const runtimeActivityCompensationResultSchema: z.ZodEffects<z.ZodObject<{ activityId: z.ZodString; status: z.ZodEnum<["completed", "failed", "requires_review"]>; providerRevision: z.ZodOptional<z.ZodString>; receiptId: z.ZodOptional<z.ZodString>; errorCode: z.ZodOptional<z.ZodString>; }, "strict", z.ZodTypeAny, { status: "failed" | "completed" | "requires_review"; activityId: string; providerRevision?: string | un... | Runtime Activity Compensation Result 的运行时 Schema。 |
runtimeActivityReconciliationResultDefinition | 常量 | const runtimeActivityReconciliationResultDefinition: SpecSchemaDefinition<RuntimeActivityReconciliationResult> | 由 contracts/runtime-recovery-schemas 模块导出的 Runtime Activity Reconciliation Result Definition 常量。 |
runtimeActivityReconciliationResultExample | 常量 | const runtimeActivityReconciliationResultExample: RuntimeActivityReconciliationResult | Runtime Activity Reconciliation Result 的有效示例值。 |
runtimeActivityReconciliationResultJsonSchema | 常量 | const runtimeActivityReconciliationResultJsonSchema: JsonSchema | Runtime Activity Reconciliation Result 的 JSON Schema。 |
runtimeActivityReconciliationResultSchema | 常量 | const runtimeActivityReconciliationResultSchema: z.ZodEffects<z.ZodObject<{ activityId: z.ZodString; status: z.ZodEnum<["completed", "failed", "waiting", "cancelled", "not_started", "unknown"]>; observation: z.ZodOptional<z.ZodEffects<z.ZodObject<{ activityId: z.ZodString; status: z.ZodEnum<["completed", "failed", "waiting", "cancelled"]>; eventIds: z.ZodArray<z.ZodString, "many">; output: z.ZodOptional<z.ZodType<... | Runtime Activity Reconciliation Result 的运行时 Schema。 |
runtimeRecoveryCandidateDefinition | 常量 | const runtimeRecoveryCandidateDefinition: SpecSchemaDefinition<RuntimeRecoveryCandidate> | 由 contracts/runtime-recovery-schemas 模块导出的 Runtime Recovery Candidate Definition 常量。 |
runtimeRecoveryCandidateExample | 常量 | const runtimeRecoveryCandidateExample: RuntimeRecoveryCandidate | Runtime Recovery Candidate 的有效示例值。 |
runtimeRecoveryCandidateJsonSchema | 常量 | const runtimeRecoveryCandidateJsonSchema: JsonSchema | Runtime Recovery Candidate 的 JSON Schema。 |
runtimeRecoveryCandidateSchema | 常量 | const runtimeRecoveryCandidateSchema: z.ZodEffects<z.ZodObject<{ candidateId: z.ZodString; scope: z.ZodObject<{ tenantId: z.ZodOptional<z.ZodString>; userId: z.ZodString; runId: z.ZodString; }, "strict", z.ZodTypeAny, { runId: string; userId: string; tenantId?: string | undefined; }, { runId: string; userId: string; tenantId?: string | undefined; }>; reason: z.ZodEnum<["LEASE_EXPIRED", "STATE_CLAIM_EXPIRED", "PROJ... | Runtime Recovery Candidate 的运行时 Schema。 |
runtimeRecoveryCommandDefinition | 常量 | const runtimeRecoveryCommandDefinition: SpecSchemaDefinition<RuntimeRecoveryCommand> | 由 contracts/runtime-recovery-schemas 模块导出的 Runtime Recovery Command Definition 常量。 |
runtimeRecoveryCommandExample | 常量 | const runtimeRecoveryCommandExample: RuntimeRecoveryCommand | Runtime Recovery Command 的有效示例值。 |
runtimeRecoveryCommandJsonSchema | 常量 | const runtimeRecoveryCommandJsonSchema: JsonSchema | Runtime Recovery Command 的 JSON Schema。 |
runtimeRecoveryCommandSchema | 常量 | const runtimeRecoveryCommandSchema: z.ZodObject<{ candidate: z.ZodEffects<z.ZodObject<{ candidateId: z.ZodString; scope: z.ZodObject<{ tenantId: z.ZodOptional<z.ZodString>; userId: z.ZodString; runId: z.ZodString; }, "strict", z.ZodTypeAny, { runId: string; userId: string; tenantId?: string | undefined; }, { runId: string; userId: string; tenantId?: string | undefined; }>; reason: z.ZodEnum<["LEASE_EXPIRED", "STAT... | Runtime Recovery Command 的运行时 Schema。 |
runtimeRecoveryContractDefinitions | 常量 | const runtimeRecoveryContractDefinitions: readonly [SpecSchemaDefinition<RuntimeRecoveryCandidate>, SpecSchemaDefinition<RuntimeRecoveryScanRequest>, SpecSchemaDefinition<RuntimeRecoveryScanResult>, SpecSchemaDefinition<RuntimeRecoveryCommand>, SpecSchemaDefinition<RuntimeRecoveryResult>, SpecSchemaDefinition<RuntimeActivityReconciliationResult>, SpecSchemaDefinition<RuntimeActivityCompensationResult>] | 由 contracts/runtime-recovery-schemas 模块导出的 Runtime Recovery Contract Definitions 常量。 |
runtimeRecoveryContractJsonSchemas | 常量 | const runtimeRecoveryContractJsonSchemas: Record<string, JsonSchema> | 由 contracts/runtime-recovery-schemas 模块导出的 Runtime Recovery Contract JSON Schemas 常量。 |
runtimeRecoveryResultDefinition | 常量 | const runtimeRecoveryResultDefinition: SpecSchemaDefinition<RuntimeRecoveryResult> | 由 contracts/runtime-recovery-schemas 模块导出的 Runtime Recovery Result Definition 常量。 |
runtimeRecoveryResultExample | 常量 | const runtimeRecoveryResultExample: RuntimeRecoveryResult | Runtime Recovery Result 的有效示例值。 |
runtimeRecoveryResultJsonSchema | 常量 | const runtimeRecoveryResultJsonSchema: JsonSchema | Runtime Recovery Result 的 JSON Schema。 |
runtimeRecoveryResultSchema | 常量 | const runtimeRecoveryResultSchema: z.ZodObject<{ candidateId: z.ZodString; disposition: z.ZodEnum<["recovered", "reused", "requeued", "compensated", "requires_review", "lease_unavailable", "stale"]>; eventIds: z.ZodArray<z.ZodString, "many">; projection: z.ZodOptional<z.ZodEffects<z.ZodObject<{ runId: z.ZodString; runStatus: z.ZodEnum<[import("./runtime-projection").RuntimeOrchestrationRunStatus, ...import("./runt... | Runtime Recovery Result 的运行时 Schema。 |
runtimeRecoveryScanRequestDefinition | 常量 | const runtimeRecoveryScanRequestDefinition: SpecSchemaDefinition<RuntimeRecoveryScanRequest> | 由 contracts/runtime-recovery-schemas 模块导出的 Runtime Recovery Scan Request Definition 常量。 |
runtimeRecoveryScanRequestExample | 常量 | const runtimeRecoveryScanRequestExample: RuntimeRecoveryScanRequest | Runtime Recovery Scan Request 的有效示例值。 |
runtimeRecoveryScanRequestJsonSchema | 常量 | const runtimeRecoveryScanRequestJsonSchema: JsonSchema | Runtime Recovery Scan Request 的 JSON Schema。 |
runtimeRecoveryScanRequestSchema | 常量 | const runtimeRecoveryScanRequestSchema: z.ZodObject<{ checkedAt: z.ZodString; limit: z.ZodNumber; cursor: z.ZodOptional<z.ZodString>; }, "strict", z.ZodTypeAny, { limit: number; checkedAt: string; cursor?: string | undefined; }, { limit: number; checkedAt: string; cursor?: string | undefined; }> | Runtime Recovery Scan Request 的运行时 Schema。 |
runtimeRecoveryScanResultDefinition | 常量 | const runtimeRecoveryScanResultDefinition: SpecSchemaDefinition<RuntimeRecoveryScanResult> | 由 contracts/runtime-recovery-schemas 模块导出的 Runtime Recovery Scan Result Definition 常量。 |
runtimeRecoveryScanResultExample | 常量 | const runtimeRecoveryScanResultExample: RuntimeRecoveryScanResult | Runtime Recovery Scan Result 的有效示例值。 |
runtimeRecoveryScanResultJsonSchema | 常量 | const runtimeRecoveryScanResultJsonSchema: JsonSchema | Runtime Recovery Scan Result 的 JSON Schema。 |
runtimeRecoveryScanResultSchema | 常量 | const runtimeRecoveryScanResultSchema: z.ZodObject<{ candidates: z.ZodArray<z.ZodEffects<z.ZodObject<{ candidateId: z.ZodString; scope: z.ZodObject<{ tenantId: z.ZodOptional<z.ZodString>; userId: z.ZodString; runId: z.ZodString; }, "strict", z.ZodTypeAny, { runId: string; userId: string; tenantId?: string | undefined; }, { runId: string; userId: string; tenantId?: string | undefined; }>; reason: z.ZodEnum<["LEASE_... | Runtime Recovery Scan Result 的运行时 Schema。 |
validateRuntimeActivityCompensationResult | 函数 | validateRuntimeActivityCompensationResult(input: unknown): RuntimeActivityCompensationResult | Validate Runtime Activity Compensation Result 函数,提供 1 个公开调用签名;参数与返回类型见下表。 |
validateRuntimeActivityReconciliationResult | 函数 | validateRuntimeActivityReconciliationResult(input: unknown): RuntimeActivityReconciliationResult | Validate Runtime Activity Reconciliation Result 函数,提供 1 个公开调用签名;参数与返回类型见下表。 |
validateRuntimeRecoveryCandidate | 函数 | validateRuntimeRecoveryCandidate(input: unknown): RuntimeRecoveryCandidate | Validate Runtime Recovery Candidate 函数,提供 1 个公开调用签名;参数与返回类型见下表。 |
validateRuntimeRecoveryCommand | 函数 | validateRuntimeRecoveryCommand(input: unknown): RuntimeRecoveryCommand | Validate Runtime Recovery Command 函数,提供 1 个公开调用签名;参数与返回类型见下表。 |
validateRuntimeRecoveryResult | 函数 | validateRuntimeRecoveryResult(input: unknown): RuntimeRecoveryResult | Validate Runtime Recovery Result 函数,提供 1 个公开调用签名;参数与返回类型见下表。 |
validateRuntimeRecoveryScanRequest | 函数 | validateRuntimeRecoveryScanRequest(input: unknown): RuntimeRecoveryScanRequest | Validate Runtime Recovery Scan Request 函数,提供 1 个公开调用签名;参数与返回类型见下表。 |
validateRuntimeRecoveryScanResult | 函数 | validateRuntimeRecoveryScanResult(input: unknown): RuntimeRecoveryScanResult | Validate Runtime Recovery Scan Result 函数,提供 1 个公开调用签名;参数与返回类型见下表。 |
runtimeActivityCompensationResultDefinition
由 contracts/runtime-recovery-schemas 模块导出的 Runtime Activity Compensation Result Definition 常量。
- 种类: 常量
- 导入:
import { runtimeActivityCompensationResultDefinition } from '@codesoul-co/hypha-core'; - 源码模块:
contracts/runtime-recovery-schemas
声明
export declare const runtimeActivityCompensationResultDefinition: SpecSchemaDefinition<RuntimeActivityCompensationResult>;runtimeActivityCompensationResultExample
Runtime Activity Compensation Result 的有效示例值。
- 种类: 常量
- 导入:
import { runtimeActivityCompensationResultExample } from '@codesoul-co/hypha-core'; - 源码模块:
contracts/runtime-recovery-schemas
声明
export declare const runtimeActivityCompensationResultExample: RuntimeActivityCompensationResult;runtimeActivityCompensationResultSchema
Runtime Activity Compensation Result 的运行时 Schema。
- 种类: 常量
- 导入:
import { runtimeActivityCompensationResultSchema } from '@codesoul-co/hypha-core'; - 源码模块:
contracts/runtime-recovery-schemas
声明
export declare const runtimeActivityCompensationResultSchema: z.ZodEffects<z.ZodObject<{ activityId: z.ZodString; status: z.ZodEnum<["completed", "failed", "requires_review"]>; providerRevision: z.ZodOptional<z.ZodString>; receiptId: z.ZodOptional<z.ZodString>; errorCode: z.ZodOptional<z.ZodString>; }, "strict", z.ZodTypeAny, { status: "failed" | "completed" | "requires_review"; activityId: string; providerRevision?: string | undefined; receiptId?: string | undefined; errorCode?: string | undefined; }, { status: "failed" | "completed" | "requires_review"; activityId: string; providerRevision?: string | undefined; receiptId?: string | undefined; errorCode?: string | undefined; }>, { status: "failed" | "completed" | "requires_review"; activityId: string; providerRevision?: string | undefined; receiptId?: string | undefined; errorCode?: string | undefined; }, { status: "failed" | "completed" | "requires_review"; activityId: string; providerRevision?: string | undefined; receiptId?: string | undefined; errorCode?: string | undefined; }>;runtimeActivityReconciliationResultDefinition
由 contracts/runtime-recovery-schemas 模块导出的 Runtime Activity Reconciliation Result Definition 常量。
- 种类: 常量
- 导入:
import { runtimeActivityReconciliationResultDefinition } from '@codesoul-co/hypha-core'; - 源码模块:
contracts/runtime-recovery-schemas
声明
export declare const runtimeActivityReconciliationResultDefinition: SpecSchemaDefinition<RuntimeActivityReconciliationResult>;runtimeActivityReconciliationResultExample
Runtime Activity Reconciliation Result 的有效示例值。
- 种类: 常量
- 导入:
import { runtimeActivityReconciliationResultExample } from '@codesoul-co/hypha-core'; - 源码模块:
contracts/runtime-recovery-schemas
声明
export declare const runtimeActivityReconciliationResultExample: RuntimeActivityReconciliationResult;runtimeActivityReconciliationResultJsonSchema
Runtime Activity Reconciliation Result 的 JSON Schema。
- 种类: 常量
- 导入:
import { runtimeActivityReconciliationResultJsonSchema } from '@codesoul-co/hypha-core'; - 源码模块:
contracts/runtime-recovery-schemas
声明
export declare const runtimeActivityReconciliationResultJsonSchema: JsonSchema;runtimeActivityReconciliationResultSchema
Runtime Activity Reconciliation Result 的运行时 Schema。
- 种类: 常量
- 导入:
import { runtimeActivityReconciliationResultSchema } from '@codesoul-co/hypha-core'; - 源码模块:
contracts/runtime-recovery-schemas
声明
// 精确类型由包入口解析;完整编译器展开定义见源码链接。
export declare const runtimeActivityReconciliationResultSchema: (typeof import('@codesoul-co/hypha-core'))['runtimeActivityReconciliationResultSchema'];该常量的编译器展开类型已压缩;它的公共名称、顶层类型与源码位置仍保留在本条目中。相关输入/输出字段请使用同模块导出的接口、类型或 Runtime Schema。
runtimeRecoveryCandidateDefinition
由 contracts/runtime-recovery-schemas 模块导出的 Runtime Recovery Candidate Definition 常量。
- 种类: 常量
- 导入:
import { runtimeRecoveryCandidateDefinition } from '@codesoul-co/hypha-core'; - 源码模块:
contracts/runtime-recovery-schemas
声明
export declare const runtimeRecoveryCandidateDefinition: SpecSchemaDefinition<RuntimeRecoveryCandidate>;runtimeRecoveryCandidateExample
Runtime Recovery Candidate 的有效示例值。
- 种类: 常量
- 导入:
import { runtimeRecoveryCandidateExample } from '@codesoul-co/hypha-core'; - 源码模块:
contracts/runtime-recovery-schemas
声明
export declare const runtimeRecoveryCandidateExample: RuntimeRecoveryCandidate;runtimeRecoveryCandidateJsonSchema
Runtime Recovery Candidate 的 JSON Schema。
- 种类: 常量
- 导入:
import { runtimeRecoveryCandidateJsonSchema } from '@codesoul-co/hypha-core'; - 源码模块:
contracts/runtime-recovery-schemas
声明
export declare const runtimeRecoveryCandidateJsonSchema: JsonSchema;runtimeRecoveryCandidateSchema
Runtime Recovery Candidate 的运行时 Schema。
- 种类: 常量
- 导入:
import { runtimeRecoveryCandidateSchema } from '@codesoul-co/hypha-core'; - 源码模块:
contracts/runtime-recovery-schemas
声明
// 精确类型由包入口解析;完整编译器展开定义见源码链接。
export declare const runtimeRecoveryCandidateSchema: (typeof import('@codesoul-co/hypha-core'))['runtimeRecoveryCandidateSchema'];该常量的编译器展开类型已压缩;它的公共名称、顶层类型与源码位置仍保留在本条目中。相关输入/输出字段请使用同模块导出的接口、类型或 Runtime Schema。
runtimeRecoveryCommandDefinition
由 contracts/runtime-recovery-schemas 模块导出的 Runtime Recovery Command Definition 常量。
- 种类: 常量
- 导入:
import { runtimeRecoveryCommandDefinition } from '@codesoul-co/hypha-core'; - 源码模块:
contracts/runtime-recovery-schemas
声明
export declare const runtimeRecoveryCommandDefinition: SpecSchemaDefinition<RuntimeRecoveryCommand>;runtimeRecoveryCommandExample
Runtime Recovery Command 的有效示例值。
- 种类: 常量
- 导入:
import { runtimeRecoveryCommandExample } from '@codesoul-co/hypha-core'; - 源码模块:
contracts/runtime-recovery-schemas
声明
export declare const runtimeRecoveryCommandExample: RuntimeRecoveryCommand;runtimeRecoveryCommandJsonSchema
Runtime Recovery Command 的 JSON Schema。
- 种类: 常量
- 导入:
import { runtimeRecoveryCommandJsonSchema } from '@codesoul-co/hypha-core'; - 源码模块:
contracts/runtime-recovery-schemas
声明
export declare const runtimeRecoveryCommandJsonSchema: JsonSchema;runtimeRecoveryCommandSchema
Runtime Recovery Command 的运行时 Schema。
- 种类: 常量
- 导入:
import { runtimeRecoveryCommandSchema } from '@codesoul-co/hypha-core'; - 源码模块:
contracts/runtime-recovery-schemas
声明
// 精确类型由包入口解析;完整编译器展开定义见源码链接。
export declare const runtimeRecoveryCommandSchema: (typeof import('@codesoul-co/hypha-core'))['runtimeRecoveryCommandSchema'];该常量的编译器展开类型已压缩;它的公共名称、顶层类型与源码位置仍保留在本条目中。相关输入/输出字段请使用同模块导出的接口、类型或 Runtime Schema。
runtimeRecoveryContractDefinitions
由 contracts/runtime-recovery-schemas 模块导出的 Runtime Recovery Contract Definitions 常量。
- 种类: 常量
- 导入:
import { runtimeRecoveryContractDefinitions } from '@codesoul-co/hypha-core'; - 源码模块:
contracts/runtime-recovery-schemas
声明
export declare const runtimeRecoveryContractDefinitions: readonly [SpecSchemaDefinition<RuntimeRecoveryCandidate>, SpecSchemaDefinition<RuntimeRecoveryScanRequest>, SpecSchemaDefinition<RuntimeRecoveryScanResult>, SpecSchemaDefinition<RuntimeRecoveryCommand>, SpecSchemaDefinition<RuntimeRecoveryResult>, SpecSchemaDefinition<RuntimeActivityReconciliationResult>, SpecSchemaDefinition<RuntimeActivityCompensationResult>];runtimeRecoveryContractJsonSchemas
由 contracts/runtime-recovery-schemas 模块导出的 Runtime Recovery Contract JSON Schemas 常量。
- 种类: 常量
- 导入:
import { runtimeRecoveryContractJsonSchemas } from '@codesoul-co/hypha-core'; - 源码模块:
contracts/runtime-recovery-schemas
声明
export declare const runtimeRecoveryContractJsonSchemas: Record<string, JsonSchema>;runtimeRecoveryResultDefinition
由 contracts/runtime-recovery-schemas 模块导出的 Runtime Recovery Result Definition 常量。
- 种类: 常量
- 导入:
import { runtimeRecoveryResultDefinition } from '@codesoul-co/hypha-core'; - 源码模块:
contracts/runtime-recovery-schemas
声明
export declare const runtimeRecoveryResultDefinition: SpecSchemaDefinition<RuntimeRecoveryResult>;runtimeRecoveryResultExample
Runtime Recovery Result 的有效示例值。
- 种类: 常量
- 导入:
import { runtimeRecoveryResultExample } from '@codesoul-co/hypha-core'; - 源码模块:
contracts/runtime-recovery-schemas
声明
export declare const runtimeRecoveryResultExample: RuntimeRecoveryResult;runtimeRecoveryResultJsonSchema
Runtime Recovery Result 的 JSON Schema。
- 种类: 常量
- 导入:
import { runtimeRecoveryResultJsonSchema } from '@codesoul-co/hypha-core'; - 源码模块:
contracts/runtime-recovery-schemas
声明
export declare const runtimeRecoveryResultJsonSchema: JsonSchema;runtimeRecoveryResultSchema
Runtime Recovery Result 的运行时 Schema。
- 种类: 常量
- 导入:
import { runtimeRecoveryResultSchema } from '@codesoul-co/hypha-core'; - 源码模块:
contracts/runtime-recovery-schemas
声明
// 精确类型由包入口解析;完整编译器展开定义见源码链接。
export declare const runtimeRecoveryResultSchema: (typeof import('@codesoul-co/hypha-core'))['runtimeRecoveryResultSchema'];该常量的编译器展开类型已压缩;它的公共名称、顶层类型与源码位置仍保留在本条目中。相关输入/输出字段请使用同模块导出的接口、类型或 Runtime Schema。
runtimeRecoveryScanRequestDefinition
由 contracts/runtime-recovery-schemas 模块导出的 Runtime Recovery Scan Request Definition 常量。
- 种类: 常量
- 导入:
import { runtimeRecoveryScanRequestDefinition } from '@codesoul-co/hypha-core'; - 源码模块:
contracts/runtime-recovery-schemas
声明
export declare const runtimeRecoveryScanRequestDefinition: SpecSchemaDefinition<RuntimeRecoveryScanRequest>;runtimeRecoveryScanRequestExample
Runtime Recovery Scan Request 的有效示例值。
- 种类: 常量
- 导入:
import { runtimeRecoveryScanRequestExample } from '@codesoul-co/hypha-core'; - 源码模块:
contracts/runtime-recovery-schemas
声明
export declare const runtimeRecoveryScanRequestExample: RuntimeRecoveryScanRequest;runtimeRecoveryScanRequestJsonSchema
Runtime Recovery Scan Request 的 JSON Schema。
- 种类: 常量
- 导入:
import { runtimeRecoveryScanRequestJsonSchema } from '@codesoul-co/hypha-core'; - 源码模块:
contracts/runtime-recovery-schemas
声明
export declare const runtimeRecoveryScanRequestJsonSchema: JsonSchema;runtimeRecoveryScanRequestSchema
Runtime Recovery Scan Request 的运行时 Schema。
- 种类: 常量
- 导入:
import { runtimeRecoveryScanRequestSchema } from '@codesoul-co/hypha-core'; - 源码模块:
contracts/runtime-recovery-schemas
声明
export declare const runtimeRecoveryScanRequestSchema: z.ZodObject<{ checkedAt: z.ZodString; limit: z.ZodNumber; cursor: z.ZodOptional<z.ZodString>; }, "strict", z.ZodTypeAny, { limit: number; checkedAt: string; cursor?: string | undefined; }, { limit: number; checkedAt: string; cursor?: string | undefined; }>;runtimeRecoveryScanResultDefinition
由 contracts/runtime-recovery-schemas 模块导出的 Runtime Recovery Scan Result Definition 常量。
- 种类: 常量
- 导入:
import { runtimeRecoveryScanResultDefinition } from '@codesoul-co/hypha-core'; - 源码模块:
contracts/runtime-recovery-schemas
声明
export declare const runtimeRecoveryScanResultDefinition: SpecSchemaDefinition<RuntimeRecoveryScanResult>;runtimeRecoveryScanResultExample
Runtime Recovery Scan Result 的有效示例值。
- 种类: 常量
- 导入:
import { runtimeRecoveryScanResultExample } from '@codesoul-co/hypha-core'; - 源码模块:
contracts/runtime-recovery-schemas
声明
export declare const runtimeRecoveryScanResultExample: RuntimeRecoveryScanResult;runtimeRecoveryScanResultJsonSchema
Runtime Recovery Scan Result 的 JSON Schema。
- 种类: 常量
- 导入:
import { runtimeRecoveryScanResultJsonSchema } from '@codesoul-co/hypha-core'; - 源码模块:
contracts/runtime-recovery-schemas
声明
export declare const runtimeRecoveryScanResultJsonSchema: JsonSchema;runtimeRecoveryScanResultSchema
Runtime Recovery Scan Result 的运行时 Schema。
- 种类: 常量
- 导入:
import { runtimeRecoveryScanResultSchema } from '@codesoul-co/hypha-core'; - 源码模块:
contracts/runtime-recovery-schemas
声明
// 精确类型由包入口解析;完整编译器展开定义见源码链接。
export declare const runtimeRecoveryScanResultSchema: (typeof import('@codesoul-co/hypha-core'))['runtimeRecoveryScanResultSchema'];该常量的编译器展开类型已压缩;它的公共名称、顶层类型与源码位置仍保留在本条目中。相关输入/输出字段请使用同模块导出的接口、类型或 Runtime Schema。
validateRuntimeActivityCompensationResult
Validate Runtime Activity Compensation Result 函数,提供 1 个公开调用签名;参数与返回类型见下表。
- 种类: 函数
- 导入:
import { validateRuntimeActivityCompensationResult } from '@codesoul-co/hypha-core'; - 源码模块:
contracts/runtime-recovery-schemas
声明
export declare function validateRuntimeActivityCompensationResult(input: unknown): RuntimeActivityCompensationResult;调用签名
validateRuntimeActivityCompensationResult(input: unknown): RuntimeActivityCompensationResult参数
| 参数 | 类型 | 必需 | 说明 |
|---|---|---|---|
input | unknown | 是 | 必需参数;接受的值由类型列定义。 |
返回值
- 类型:
RuntimeActivityCompensationResult - 说明: 返回值契约由上述类型定义。
validateRuntimeActivityReconciliationResult
Validate Runtime Activity Reconciliation Result 函数,提供 1 个公开调用签名;参数与返回类型见下表。
- 种类: 函数
- 导入:
import { validateRuntimeActivityReconciliationResult } from '@codesoul-co/hypha-core'; - 源码模块:
contracts/runtime-recovery-schemas
声明
export declare function validateRuntimeActivityReconciliationResult(input: unknown): RuntimeActivityReconciliationResult;调用签名
validateRuntimeActivityReconciliationResult(input: unknown): RuntimeActivityReconciliationResult参数
| 参数 | 类型 | 必需 | 说明 |
|---|---|---|---|
input | unknown | 是 | 必需参数;接受的值由类型列定义。 |
返回值
- 类型:
RuntimeActivityReconciliationResult - 说明: 返回值契约由上述类型定义。
validateRuntimeRecoveryCandidate
Validate Runtime Recovery Candidate 函数,提供 1 个公开调用签名;参数与返回类型见下表。
- 种类: 函数
- 导入:
import { validateRuntimeRecoveryCandidate } from '@codesoul-co/hypha-core'; - 源码模块:
contracts/runtime-recovery-schemas
声明
export declare function validateRuntimeRecoveryCandidate(input: unknown): RuntimeRecoveryCandidate;调用签名
validateRuntimeRecoveryCandidate(input: unknown): RuntimeRecoveryCandidate参数
| 参数 | 类型 | 必需 | 说明 |
|---|---|---|---|
input | unknown | 是 | 必需参数;接受的值由类型列定义。 |
返回值
- 类型:
RuntimeRecoveryCandidate - 说明: 返回值契约由上述类型定义。
validateRuntimeRecoveryCommand
Validate Runtime Recovery Command 函数,提供 1 个公开调用签名;参数与返回类型见下表。
- 种类: 函数
- 导入:
import { validateRuntimeRecoveryCommand } from '@codesoul-co/hypha-core'; - 源码模块:
contracts/runtime-recovery-schemas
声明
export declare function validateRuntimeRecoveryCommand(input: unknown): RuntimeRecoveryCommand;调用签名
validateRuntimeRecoveryCommand(input: unknown): RuntimeRecoveryCommand参数
| 参数 | 类型 | 必需 | 说明 |
|---|---|---|---|
input | unknown | 是 | 必需参数;接受的值由类型列定义。 |
返回值
- 类型:
RuntimeRecoveryCommand - 说明: 返回值契约由上述类型定义。
validateRuntimeRecoveryResult
Validate Runtime Recovery Result 函数,提供 1 个公开调用签名;参数与返回类型见下表。
- 种类: 函数
- 导入:
import { validateRuntimeRecoveryResult } from '@codesoul-co/hypha-core'; - 源码模块:
contracts/runtime-recovery-schemas
声明
export declare function validateRuntimeRecoveryResult(input: unknown): RuntimeRecoveryResult;调用签名
validateRuntimeRecoveryResult(input: unknown): RuntimeRecoveryResult参数
| 参数 | 类型 | 必需 | 说明 |
|---|---|---|---|
input | unknown | 是 | 必需参数;接受的值由类型列定义。 |
返回值
- 类型:
RuntimeRecoveryResult - 说明: 返回值契约由上述类型定义。
validateRuntimeRecoveryScanRequest
Validate Runtime Recovery Scan Request 函数,提供 1 个公开调用签名;参数与返回类型见下表。
- 种类: 函数
- 导入:
import { validateRuntimeRecoveryScanRequest } from '@codesoul-co/hypha-core'; - 源码模块:
contracts/runtime-recovery-schemas
声明
export declare function validateRuntimeRecoveryScanRequest(input: unknown): RuntimeRecoveryScanRequest;调用签名
validateRuntimeRecoveryScanRequest(input: unknown): RuntimeRecoveryScanRequest参数
| 参数 | 类型 | 必需 | 说明 |
|---|---|---|---|
input | unknown | 是 | 必需参数;接受的值由类型列定义。 |
返回值
- 类型:
RuntimeRecoveryScanRequest - 说明: 返回值契约由上述类型定义。
validateRuntimeRecoveryScanResult
Validate Runtime Recovery Scan Result 函数,提供 1 个公开调用签名;参数与返回类型见下表。
- 种类: 函数
- 导入:
import { validateRuntimeRecoveryScanResult } from '@codesoul-co/hypha-core'; - 源码模块:
contracts/runtime-recovery-schemas
声明
export declare function validateRuntimeRecoveryScanResult(input: unknown): RuntimeRecoveryScanResult;调用签名
validateRuntimeRecoveryScanResult(input: unknown): RuntimeRecoveryScanResult参数
| 参数 | 类型 | 必需 | 说明 |
|---|---|---|---|
input | unknown | 是 | 必需参数;接受的值由类型列定义。 |
返回值
- 类型:
RuntimeRecoveryScanResult - 说明: 返回值契约由上述类型定义。
