@codesoul-co/hypha-core / contracts/runtime-capacity-schemas
- Package index:
@codesoul-co/hypha-core - Source:
packages/core/src/contracts/runtime-capacity-schemas.ts - Exports: 22
Using this module
Use the Runtime capacity schemas module for declaring and runtime-validating contracts. It exports 22 constants.
Import from the package entrypoint
import {
runtimeCapacityAcquireRequestSchema,
runtimeCapacityAssertionRequestSchema,
runtimeCapacityContractDefinitions,
runtimeCapacityContractJsonSchemas,
runtimeCapacityLeaseDefinition,
runtimeCapacityLeaseGuardSchema,
runtimeCapacityLeaseSchema,
runtimeCapacityPolicyDefinition,
} from '@codesoul-co/hypha-core';
// The complete export list is documented below.Usage patterns
- The 22 constant/enum exports provide stable values, schemas, definitions, or defaults. Reuse these exports instead of copying internal values into an application.
Runtime validation example
import { runtimeCapacityAcquireRequestSchema } from '@codesoul-co/hypha-core';
declare function loadExternalInput(): unknown;
const input: unknown = loadExternalInput();
const parsed = runtimeCapacityAcquireRequestSchema.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
| Symbol | Kind | Signature | Description |
|---|---|---|---|
runtimeCapacityAcquireRequestSchema | constant | const runtimeCapacityAcquireRequestSchema: z.ZodObject<{ tenantId: z.ZodOptional<z.ZodString>; userId: z.ZodString; runId: z.ZodString; } & { kind: z.ZodEnum<["model", "tool", "execution"]>; operationId: z.ZodString; requestedLeaseId: z.ZodString; ownerId: z.ZodString; acquiredAt: z.ZodString; ttlMs: z.ZodNumber; idempotencyKey: z.ZodString; }, "strict", z.ZodTypeAny, { userId: string; runId: string; kind: "tool" ... | Runtime schema for Runtime Capacity Acquire Request. |
runtimeCapacityAssertionRequestSchema | constant | const runtimeCapacityAssertionRequestSchema: z.ZodObject<{ scope: z.ZodObject<{ tenantId: z.ZodOptional<z.ZodString>; userId: z.ZodString; runId: z.ZodString; }, "strict", z.ZodTypeAny, { userId: string; runId: string; tenantId?: string | undefined; }, { userId: string; runId: string; tenantId?: string | undefined; }>; kind: z.ZodEnum<["model", "tool", "execution"]>; guard: z.ZodObject<{ leaseId: z.ZodString; owne... | Runtime schema for Runtime Capacity Assertion Request. |
runtimeCapacityContractDefinitions | constant | const runtimeCapacityContractDefinitions: readonly [SpecSchemaDefinition<RuntimeCapacityPolicy>, SpecSchemaDefinition<RuntimeCapacityLease>] | Runtime Capacity Contract Definitions constant exported by the contracts/runtime-capacity-schemas module. |
runtimeCapacityContractJsonSchemas | constant | const runtimeCapacityContractJsonSchemas: Record<string, JsonSchema> | Runtime Capacity Contract JSON Schemas constant exported by the contracts/runtime-capacity-schemas module. |
runtimeCapacityLeaseDefinition | constant | const runtimeCapacityLeaseDefinition: SpecSchemaDefinition<RuntimeCapacityLease> | Runtime Capacity Lease Definition constant exported by the contracts/runtime-capacity-schemas module. |
runtimeCapacityLeaseGuardSchema | constant | const runtimeCapacityLeaseGuardSchema: z.ZodObject<{ leaseId: z.ZodString; ownerId: z.ZodString; fencingToken: z.ZodNumber; }, "strict", z.ZodTypeAny, { fencingToken: number; ownerId: string; leaseId: string; }, { fencingToken: number; ownerId: string; leaseId: string; }> | Runtime schema for Runtime Capacity Lease Guard. |
runtimeCapacityLeaseSchema | constant | const runtimeCapacityLeaseSchema: z.ZodEffects<z.ZodObject<{ tenantId: z.ZodOptional<z.ZodString>; userId: z.ZodString; runId: z.ZodString; } & { id: z.ZodString; kind: z.ZodEnum<["model", "tool", "execution"]>; operationId: z.ZodString; ownerId: z.ZodString; fencingToken: z.ZodNumber; policyRevision: z.ZodString; acquiredAt: z.ZodString; heartbeatAt: z.ZodString; expiresAt: z.ZodString; }, "strict", z.ZodTypeAny,... | Runtime schema for Runtime Capacity Lease. |
runtimeCapacityPolicyDefinition | constant | const runtimeCapacityPolicyDefinition: SpecSchemaDefinition<RuntimeCapacityPolicy> | Runtime Capacity Policy Definition constant exported by the contracts/runtime-capacity-schemas module. |
runtimeCapacityPolicySchema | constant | const runtimeCapacityPolicySchema: z.ZodObject<{ version: z.ZodLiteral<"1.0.0">; revision: z.ZodString; limits: z.ZodObject<{ model: z.ZodEffects<z.ZodObject<{ global: z.ZodNumber; perUser: z.ZodNumber; }, "strict", z.ZodTypeAny, { global: number; perUser: number; }, { global: number; perUser: number; }>, { global: number; perUser: number; }, { global: number; perUser: number; }>; tool: z.ZodEffects<z.ZodObject<{ ... | Runtime schema for Runtime Capacity Policy. |
runtimeCapacityReleaseRequestSchema | constant | const runtimeCapacityReleaseRequestSchema: z.ZodObject<{ scope: z.ZodObject<{ tenantId: z.ZodOptional<z.ZodString>; userId: z.ZodString; runId: z.ZodString; }, "strict", z.ZodTypeAny, { userId: string; runId: string; tenantId?: string | undefined; }, { userId: string; runId: string; tenantId?: string | undefined; }>; kind: z.ZodEnum<["model", "tool", "execution"]>; guard: z.ZodObject<{ leaseId: z.ZodString; ownerI... | Runtime schema for Runtime Capacity Release Request. |
runtimeCapacityRenewRequestSchema | constant | const runtimeCapacityRenewRequestSchema: z.ZodObject<{ scope: z.ZodObject<{ tenantId: z.ZodOptional<z.ZodString>; userId: z.ZodString; runId: z.ZodString; }, "strict", z.ZodTypeAny, { userId: string; runId: string; tenantId?: string | undefined; }, { userId: string; runId: string; tenantId?: string | undefined; }>; kind: z.ZodEnum<["model", "tool", "execution"]>; guard: z.ZodObject<{ leaseId: z.ZodString; ownerId:... | Runtime schema for Runtime Capacity Renew Request. |
runtimeCapacityScopeSchema | constant | const runtimeCapacityScopeSchema: z.ZodObject<{ tenantId: z.ZodOptional<z.ZodString>; userId: z.ZodString; runId: z.ZodString; }, "strict", z.ZodTypeAny, { userId: string; runId: string; tenantId?: string | undefined; }, { userId: string; runId: string; tenantId?: string | undefined; }> | Runtime schema for Runtime Capacity Scope. |
runtimeCapacityUsageRequestSchema | constant | const runtimeCapacityUsageRequestSchema: z.ZodObject<{ tenantId: z.ZodOptional<z.ZodString>; userId: z.ZodString; kind: z.ZodEnum<["model", "tool", "execution"]>; checkedAt: z.ZodString; }, "strict", z.ZodTypeAny, { userId: string; kind: "tool" | "model" | "execution"; checkedAt: string; tenantId?: string | undefined; }, { userId: string; kind: "tool" | "model" | "execution"; checkedAt: string; tenantId?: string |... | Runtime schema for Runtime Capacity Usage Request. |
runtimeCapacityUsageSchema | constant | const runtimeCapacityUsageSchema: z.ZodObject<{ kind: z.ZodEnum<["model", "tool", "execution"]>; policyRevision: z.ZodString; globalActive: z.ZodNumber; userActive: z.ZodNumber; globalLimit: z.ZodNumber; userLimit: z.ZodNumber; checkedAt: z.ZodString; }, "strict", z.ZodTypeAny, { kind: "tool" | "model" | "execution"; checkedAt: string; policyRevision: string; globalActive: number; userActive: number; globalLimit: ... | Runtime schema for Runtime Capacity Usage. |
validateRuntimeCapacityAcquireRequest | constant | const validateRuntimeCapacityAcquireRequest: (input: unknown) => RuntimeCapacityAcquireRequest | Validate Runtime Capacity Acquire Request constant exported by the contracts/runtime-capacity-schemas module. |
validateRuntimeCapacityAssertionRequest | constant | const validateRuntimeCapacityAssertionRequest: (input: unknown) => RuntimeCapacityAssertionRequest | Validate Runtime Capacity Assertion Request constant exported by the contracts/runtime-capacity-schemas module. |
validateRuntimeCapacityLease | constant | const validateRuntimeCapacityLease: (input: unknown) => RuntimeCapacityLease | Validate Runtime Capacity Lease constant exported by the contracts/runtime-capacity-schemas module. |
validateRuntimeCapacityPolicy | constant | const validateRuntimeCapacityPolicy: (input: unknown) => RuntimeCapacityPolicy | Validate Runtime Capacity Policy constant exported by the contracts/runtime-capacity-schemas module. |
validateRuntimeCapacityReleaseRequest | constant | const validateRuntimeCapacityReleaseRequest: (input: unknown) => RuntimeCapacityReleaseRequest | Validate Runtime Capacity Release Request constant exported by the contracts/runtime-capacity-schemas module. |
validateRuntimeCapacityRenewRequest | constant | const validateRuntimeCapacityRenewRequest: (input: unknown) => RuntimeCapacityRenewRequest | Validate Runtime Capacity Renew Request constant exported by the contracts/runtime-capacity-schemas module. |
validateRuntimeCapacityUsage | constant | const validateRuntimeCapacityUsage: (input: unknown) => RuntimeCapacityUsage | Validate Runtime Capacity Usage constant exported by the contracts/runtime-capacity-schemas module. |
validateRuntimeCapacityUsageRequest | constant | const validateRuntimeCapacityUsageRequest: (input: unknown) => RuntimeCapacityUsageRequest | Validate Runtime Capacity Usage Request constant exported by the contracts/runtime-capacity-schemas module. |
runtimeCapacityAcquireRequestSchema
Runtime schema for Runtime Capacity Acquire Request.
- Kind: constant
- Import:
import { runtimeCapacityAcquireRequestSchema } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-capacity-schemas
Declaration
export declare const runtimeCapacityAcquireRequestSchema: z.ZodObject<{ tenantId: z.ZodOptional<z.ZodString>; userId: z.ZodString; runId: z.ZodString; } & { kind: z.ZodEnum<["model", "tool", "execution"]>; operationId: z.ZodString; requestedLeaseId: z.ZodString; ownerId: z.ZodString; acquiredAt: z.ZodString; ttlMs: z.ZodNumber; idempotencyKey: z.ZodString; }, "strict", z.ZodTypeAny, { userId: string; runId: string; kind: "tool" | "model" | "execution"; operationId: string; idempotencyKey: string; ownerId: string; acquiredAt: string; requestedLeaseId: string; ttlMs: number; tenantId?: string | undefined; }, { userId: string; runId: string; kind: "tool" | "model" | "execution"; operationId: string; idempotencyKey: string; ownerId: string; acquiredAt: string; requestedLeaseId: string; ttlMs: number; tenantId?: string | undefined; }>;runtimeCapacityAssertionRequestSchema
Runtime schema for Runtime Capacity Assertion Request.
- Kind: constant
- Import:
import { runtimeCapacityAssertionRequestSchema } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-capacity-schemas
Declaration
export declare const runtimeCapacityAssertionRequestSchema: z.ZodObject<{ scope: z.ZodObject<{ tenantId: z.ZodOptional<z.ZodString>; userId: z.ZodString; runId: z.ZodString; }, "strict", z.ZodTypeAny, { userId: string; runId: string; tenantId?: string | undefined; }, { userId: string; runId: string; tenantId?: string | undefined; }>; kind: z.ZodEnum<["model", "tool", "execution"]>; guard: z.ZodObject<{ leaseId: z.ZodString; ownerId: z.ZodString; fencingToken: z.ZodNumber; }, "strict", z.ZodTypeAny, { fencingToken: number; ownerId: string; leaseId: string; }, { fencingToken: number; ownerId: string; leaseId: string; }>; checkedAt: z.ZodString; }, "strict", z.ZodTypeAny, { kind: "tool" | "model" | "execution"; scope: { userId: string; runId: string; tenantId?: string | undefined; }; checkedAt: string; guard: { fencingToken: number; ownerId: string; leaseId: string; }; }, { kind: "tool" | "model" | "execution"; scope: { userId: string; runId: string; tenantId?: string | undefined; }; checkedAt: string; guard: { fencingToken: number; ownerId: string; leaseId: string; }; }>;runtimeCapacityContractDefinitions
Runtime Capacity Contract Definitions constant exported by the contracts/runtime-capacity-schemas module.
- Kind: constant
- Import:
import { runtimeCapacityContractDefinitions } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-capacity-schemas
Declaration
export declare const runtimeCapacityContractDefinitions: readonly [SpecSchemaDefinition<RuntimeCapacityPolicy>, SpecSchemaDefinition<RuntimeCapacityLease>];runtimeCapacityContractJsonSchemas
Runtime Capacity Contract JSON Schemas constant exported by the contracts/runtime-capacity-schemas module.
- Kind: constant
- Import:
import { runtimeCapacityContractJsonSchemas } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-capacity-schemas
Declaration
export declare const runtimeCapacityContractJsonSchemas: Record<string, JsonSchema>;runtimeCapacityLeaseDefinition
Runtime Capacity Lease Definition constant exported by the contracts/runtime-capacity-schemas module.
- Kind: constant
- Import:
import { runtimeCapacityLeaseDefinition } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-capacity-schemas
Declaration
export declare const runtimeCapacityLeaseDefinition: SpecSchemaDefinition<RuntimeCapacityLease>;runtimeCapacityLeaseGuardSchema
Runtime schema for Runtime Capacity Lease Guard.
- Kind: constant
- Import:
import { runtimeCapacityLeaseGuardSchema } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-capacity-schemas
Declaration
export declare const runtimeCapacityLeaseGuardSchema: z.ZodObject<{ leaseId: z.ZodString; ownerId: z.ZodString; fencingToken: z.ZodNumber; }, "strict", z.ZodTypeAny, { fencingToken: number; ownerId: string; leaseId: string; }, { fencingToken: number; ownerId: string; leaseId: string; }>;runtimeCapacityLeaseSchema
Runtime schema for Runtime Capacity Lease.
- Kind: constant
- Import:
import { runtimeCapacityLeaseSchema } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-capacity-schemas
Declaration
export declare const runtimeCapacityLeaseSchema: z.ZodEffects<z.ZodObject<{ tenantId: z.ZodOptional<z.ZodString>; userId: z.ZodString; runId: z.ZodString; } & { id: z.ZodString; kind: z.ZodEnum<["model", "tool", "execution"]>; operationId: z.ZodString; ownerId: z.ZodString; fencingToken: z.ZodNumber; policyRevision: z.ZodString; acquiredAt: z.ZodString; heartbeatAt: z.ZodString; expiresAt: z.ZodString; }, "strict", z.ZodTypeAny, { id: string; userId: string; runId: string; kind: "tool" | "model" | "execution"; expiresAt: string; operationId: string; fencingToken: number; ownerId: string; acquiredAt: string; heartbeatAt: string; policyRevision: string; tenantId?: string | undefined; }, { id: string; userId: string; runId: string; kind: "tool" | "model" | "execution"; expiresAt: string; operationId: string; fencingToken: number; ownerId: string; acquiredAt: string; heartbeatAt: string; policyRevision: string; tenantId?: string | undefined; }>, { id: string; userId: string; runId: string; kind: "tool" | "model" | "execution"; expiresAt: string; operationId: string; fencingToken: number; ownerId: string; acquiredAt: string; heartbeatAt: string; policyRevision: string; tenantId?: string | undefined; }, { id: string; userId: string; runId: string; kind: "tool" | "model" | "execution"; expiresAt: string; operationId: string; fencingToken: number; ownerId: string; acquiredAt: string; heartbeatAt: string; policyRevision: string; tenantId?: string | undefined; }>;runtimeCapacityPolicyDefinition
Runtime Capacity Policy Definition constant exported by the contracts/runtime-capacity-schemas module.
- Kind: constant
- Import:
import { runtimeCapacityPolicyDefinition } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-capacity-schemas
Declaration
export declare const runtimeCapacityPolicyDefinition: SpecSchemaDefinition<RuntimeCapacityPolicy>;runtimeCapacityPolicySchema
Runtime schema for Runtime Capacity Policy.
- Kind: constant
- Import:
import { runtimeCapacityPolicySchema } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-capacity-schemas
Declaration
export declare const runtimeCapacityPolicySchema: z.ZodObject<{ version: z.ZodLiteral<"1.0.0">; revision: z.ZodString; limits: z.ZodObject<{ model: z.ZodEffects<z.ZodObject<{ global: z.ZodNumber; perUser: z.ZodNumber; }, "strict", z.ZodTypeAny, { global: number; perUser: number; }, { global: number; perUser: number; }>, { global: number; perUser: number; }, { global: number; perUser: number; }>; tool: z.ZodEffects<z.ZodObject<{ global: z.ZodNumber; perUser: z.ZodNumber; }, "strict", z.ZodTypeAny, { global: number; perUser: number; }, { global: number; perUser: number; }>, { global: number; perUser: number; }, { global: number; perUser: number; }>; execution: z.ZodEffects<z.ZodObject<{ global: z.ZodNumber; perUser: z.ZodNumber; }, "strict", z.ZodTypeAny, { global: number; perUser: number; }, { global: number; perUser: number; }>, { global: number; perUser: number; }, { global: number; perUser: number; }>; }, "strict", z.ZodTypeAny, { tool: { global: number; perUser: number; }; model: { global: number; perUser: number; }; execution: { global: number; perUser: number; }; }, { tool: { global: number; perUser: number; }; model: { global: number; perUser: number; }; execution: { global: number; perUser: number; }; }>; }, "strict", z.ZodTypeAny, { revision: string; version: "1.0.0"; limits: { tool: { global: number; perUser: number; }; model: { global: number; perUser: number; }; execution: { global: number; perUser: number; }; }; }, { revision: string; version: "1.0.0"; limits: { tool: { global: number; perUser: number; }; model: { global: number; perUser: number; }; execution: { global: number; perUser: number; }; }; }>;runtimeCapacityReleaseRequestSchema
Runtime schema for Runtime Capacity Release Request.
- Kind: constant
- Import:
import { runtimeCapacityReleaseRequestSchema } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-capacity-schemas
Declaration
export declare const runtimeCapacityReleaseRequestSchema: z.ZodObject<{ scope: z.ZodObject<{ tenantId: z.ZodOptional<z.ZodString>; userId: z.ZodString; runId: z.ZodString; }, "strict", z.ZodTypeAny, { userId: string; runId: string; tenantId?: string | undefined; }, { userId: string; runId: string; tenantId?: string | undefined; }>; kind: z.ZodEnum<["model", "tool", "execution"]>; guard: z.ZodObject<{ leaseId: z.ZodString; ownerId: z.ZodString; fencingToken: z.ZodNumber; }, "strict", z.ZodTypeAny, { fencingToken: number; ownerId: string; leaseId: string; }, { fencingToken: number; ownerId: string; leaseId: string; }>; releasedAt: z.ZodString; }, "strict", z.ZodTypeAny, { kind: "tool" | "model" | "execution"; scope: { userId: string; runId: string; tenantId?: string | undefined; }; guard: { fencingToken: number; ownerId: string; leaseId: string; }; releasedAt: string; }, { kind: "tool" | "model" | "execution"; scope: { userId: string; runId: string; tenantId?: string | undefined; }; guard: { fencingToken: number; ownerId: string; leaseId: string; }; releasedAt: string; }>;runtimeCapacityRenewRequestSchema
Runtime schema for Runtime Capacity Renew Request.
- Kind: constant
- Import:
import { runtimeCapacityRenewRequestSchema } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-capacity-schemas
Declaration
export declare const runtimeCapacityRenewRequestSchema: z.ZodObject<{ scope: z.ZodObject<{ tenantId: z.ZodOptional<z.ZodString>; userId: z.ZodString; runId: z.ZodString; }, "strict", z.ZodTypeAny, { userId: string; runId: string; tenantId?: string | undefined; }, { userId: string; runId: string; tenantId?: string | undefined; }>; kind: z.ZodEnum<["model", "tool", "execution"]>; guard: z.ZodObject<{ leaseId: z.ZodString; ownerId: z.ZodString; fencingToken: z.ZodNumber; }, "strict", z.ZodTypeAny, { fencingToken: number; ownerId: string; leaseId: string; }, { fencingToken: number; ownerId: string; leaseId: string; }>; renewedAt: z.ZodString; ttlMs: z.ZodNumber; }, "strict", z.ZodTypeAny, { kind: "tool" | "model" | "execution"; scope: { userId: string; runId: string; tenantId?: string | undefined; }; guard: { fencingToken: number; ownerId: string; leaseId: string; }; ttlMs: number; renewedAt: string; }, { kind: "tool" | "model" | "execution"; scope: { userId: string; runId: string; tenantId?: string | undefined; }; guard: { fencingToken: number; ownerId: string; leaseId: string; }; ttlMs: number; renewedAt: string; }>;runtimeCapacityScopeSchema
Runtime schema for Runtime Capacity Scope.
- Kind: constant
- Import:
import { runtimeCapacityScopeSchema } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-capacity-schemas
Declaration
export declare const runtimeCapacityScopeSchema: z.ZodObject<{ tenantId: z.ZodOptional<z.ZodString>; userId: z.ZodString; runId: z.ZodString; }, "strict", z.ZodTypeAny, { userId: string; runId: string; tenantId?: string | undefined; }, { userId: string; runId: string; tenantId?: string | undefined; }>;runtimeCapacityUsageRequestSchema
Runtime schema for Runtime Capacity Usage Request.
- Kind: constant
- Import:
import { runtimeCapacityUsageRequestSchema } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-capacity-schemas
Declaration
export declare const runtimeCapacityUsageRequestSchema: z.ZodObject<{ tenantId: z.ZodOptional<z.ZodString>; userId: z.ZodString; kind: z.ZodEnum<["model", "tool", "execution"]>; checkedAt: z.ZodString; }, "strict", z.ZodTypeAny, { userId: string; kind: "tool" | "model" | "execution"; checkedAt: string; tenantId?: string | undefined; }, { userId: string; kind: "tool" | "model" | "execution"; checkedAt: string; tenantId?: string | undefined; }>;runtimeCapacityUsageSchema
Runtime schema for Runtime Capacity Usage.
- Kind: constant
- Import:
import { runtimeCapacityUsageSchema } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-capacity-schemas
Declaration
export declare const runtimeCapacityUsageSchema: z.ZodObject<{ kind: z.ZodEnum<["model", "tool", "execution"]>; policyRevision: z.ZodString; globalActive: z.ZodNumber; userActive: z.ZodNumber; globalLimit: z.ZodNumber; userLimit: z.ZodNumber; checkedAt: z.ZodString; }, "strict", z.ZodTypeAny, { kind: "tool" | "model" | "execution"; checkedAt: string; policyRevision: string; globalActive: number; userActive: number; globalLimit: number; userLimit: number; }, { kind: "tool" | "model" | "execution"; checkedAt: string; policyRevision: string; globalActive: number; userActive: number; globalLimit: number; userLimit: number; }>;validateRuntimeCapacityAcquireRequest
Validate Runtime Capacity Acquire Request constant exported by the contracts/runtime-capacity-schemas module.
- Kind: constant
- Import:
import { validateRuntimeCapacityAcquireRequest } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-capacity-schemas
Declaration
export declare const validateRuntimeCapacityAcquireRequest: (input: unknown) => RuntimeCapacityAcquireRequest;validateRuntimeCapacityAssertionRequest
Validate Runtime Capacity Assertion Request constant exported by the contracts/runtime-capacity-schemas module.
- Kind: constant
- Import:
import { validateRuntimeCapacityAssertionRequest } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-capacity-schemas
Declaration
export declare const validateRuntimeCapacityAssertionRequest: (input: unknown) => RuntimeCapacityAssertionRequest;validateRuntimeCapacityLease
Validate Runtime Capacity Lease constant exported by the contracts/runtime-capacity-schemas module.
- Kind: constant
- Import:
import { validateRuntimeCapacityLease } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-capacity-schemas
Declaration
export declare const validateRuntimeCapacityLease: (input: unknown) => RuntimeCapacityLease;validateRuntimeCapacityPolicy
Validate Runtime Capacity Policy constant exported by the contracts/runtime-capacity-schemas module.
- Kind: constant
- Import:
import { validateRuntimeCapacityPolicy } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-capacity-schemas
Declaration
export declare const validateRuntimeCapacityPolicy: (input: unknown) => RuntimeCapacityPolicy;validateRuntimeCapacityReleaseRequest
Validate Runtime Capacity Release Request constant exported by the contracts/runtime-capacity-schemas module.
- Kind: constant
- Import:
import { validateRuntimeCapacityReleaseRequest } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-capacity-schemas
Declaration
export declare const validateRuntimeCapacityReleaseRequest: (input: unknown) => RuntimeCapacityReleaseRequest;validateRuntimeCapacityRenewRequest
Validate Runtime Capacity Renew Request constant exported by the contracts/runtime-capacity-schemas module.
- Kind: constant
- Import:
import { validateRuntimeCapacityRenewRequest } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-capacity-schemas
Declaration
export declare const validateRuntimeCapacityRenewRequest: (input: unknown) => RuntimeCapacityRenewRequest;validateRuntimeCapacityUsage
Validate Runtime Capacity Usage constant exported by the contracts/runtime-capacity-schemas module.
- Kind: constant
- Import:
import { validateRuntimeCapacityUsage } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-capacity-schemas
Declaration
export declare const validateRuntimeCapacityUsage: (input: unknown) => RuntimeCapacityUsage;validateRuntimeCapacityUsageRequest
Validate Runtime Capacity Usage Request constant exported by the contracts/runtime-capacity-schemas module.
- Kind: constant
- Import:
import { validateRuntimeCapacityUsageRequest } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-capacity-schemas
Declaration
export declare const validateRuntimeCapacityUsageRequest: (input: unknown) => RuntimeCapacityUsageRequest;