UNPKG

@camunda8/sdk

Version:

[![NPM](https://nodei.co/npm/@camunda8/sdk.png)](https://www.npmjs.com/package/@camunda8/sdk)

81 lines (80 loc) 5.44 kB
/** * Orchestration Cluster API lifter namespace. * * This groups all branded key lifter namespaces from the Orchestration Cluster API * behind a single export so they don't pollute the root SDK namespace. Each lifter * exposes helper functions (e.g. `assumeExists(value: string)`) to convert legacy * string identifiers into their strongly-typed branded equivalents. * * Example: * ```typescript * import { OrchestrationLifters } from '@camunda8/sdk' * const processInstanceKey = OrchestrationLifters.ProcessInstanceKey.assumeExists('2251799813685249') * // processInstanceKey is now a branded ProcessInstanceKey type * ``` */ import { AuthorizationKey, BatchOperationKey, DecisionDefinitionId, DecisionDefinitionKey, DecisionEvaluationInstanceKey, DecisionEvaluationKey, DecisionInstanceKey, DecisionRequirementsKey, DeploymentKey, DocumentId, ElementId, ElementInstanceKey, EndCursor, FormId, FormKey, IncidentKey, JobKey, MessageKey, MessageSubscriptionKey, ProcessDefinitionId, ProcessDefinitionKey, ProcessInstanceKey, ScopeKey, SignalKey, StartCursor, Tag, TenantId, Username, UserTaskKey, VariableKey } from '@camunda8/orchestration-cluster-api'; export declare const OrchestrationLifters: { readonly AuthorizationKey: typeof AuthorizationKey; readonly BatchOperationKey: typeof BatchOperationKey; readonly DecisionDefinitionId: typeof DecisionDefinitionId; readonly DecisionDefinitionKey: typeof DecisionDefinitionKey; readonly DecisionEvaluationInstanceKey: typeof DecisionEvaluationInstanceKey; readonly DecisionEvaluationKey: typeof DecisionEvaluationKey; readonly DecisionInstanceKey: typeof DecisionInstanceKey; readonly DecisionRequirementsKey: typeof DecisionRequirementsKey; readonly DeploymentKey: typeof DeploymentKey; readonly DocumentId: typeof DocumentId; readonly ElementId: typeof ElementId; readonly ElementInstanceKey: typeof ElementInstanceKey; readonly EndCursor: typeof EndCursor; readonly FormId: typeof FormId; readonly FormKey: typeof FormKey; readonly IncidentKey: typeof IncidentKey; readonly JobKey: typeof JobKey; readonly MessageKey: typeof MessageKey; readonly MessageSubscriptionKey: typeof MessageSubscriptionKey; readonly ProcessDefinitionId: typeof ProcessDefinitionId; readonly ProcessDefinitionKey: typeof ProcessDefinitionKey; readonly ProcessInstanceKey: typeof ProcessInstanceKey; readonly ScopeKey: typeof ScopeKey; readonly SignalKey: typeof SignalKey; readonly StartCursor: typeof StartCursor; readonly Tag: typeof Tag; readonly TenantId: typeof TenantId; readonly Username: typeof Username; readonly UserTaskKey: typeof UserTaskKey; readonly VariableKey: typeof VariableKey; }; export declare namespace OrchestrationLifters { type AuthorizationKey = import('@camunda8/orchestration-cluster-api').AuthorizationKey; type BatchOperationKey = import('@camunda8/orchestration-cluster-api').BatchOperationKey; type DecisionDefinitionId = import('@camunda8/orchestration-cluster-api').DecisionDefinitionId; type DecisionDefinitionKey = import('@camunda8/orchestration-cluster-api').DecisionDefinitionKey; type DecisionEvaluationInstanceKey = import('@camunda8/orchestration-cluster-api').DecisionEvaluationInstanceKey; type DecisionEvaluationKey = import('@camunda8/orchestration-cluster-api').DecisionEvaluationKey; type DecisionInstanceKey = import('@camunda8/orchestration-cluster-api').DecisionInstanceKey; type DecisionRequirementsKey = import('@camunda8/orchestration-cluster-api').DecisionRequirementsKey; type DeploymentKey = import('@camunda8/orchestration-cluster-api').DeploymentKey; type DocumentId = import('@camunda8/orchestration-cluster-api').DocumentId; type ElementId = import('@camunda8/orchestration-cluster-api').ElementId; type ElementInstanceKey = import('@camunda8/orchestration-cluster-api').ElementInstanceKey; type EndCursor = import('@camunda8/orchestration-cluster-api').EndCursor; type FormId = import('@camunda8/orchestration-cluster-api').FormId; type FormKey = import('@camunda8/orchestration-cluster-api').FormKey; type IncidentKey = import('@camunda8/orchestration-cluster-api').IncidentKey; type JobKey = import('@camunda8/orchestration-cluster-api').JobKey; type MessageKey = import('@camunda8/orchestration-cluster-api').MessageKey; type MessageSubscriptionKey = import('@camunda8/orchestration-cluster-api').MessageSubscriptionKey; type ProcessDefinitionId = import('@camunda8/orchestration-cluster-api').ProcessDefinitionId; type ProcessDefinitionKey = import('@camunda8/orchestration-cluster-api').ProcessDefinitionKey; type ProcessInstanceKey = import('@camunda8/orchestration-cluster-api').ProcessInstanceKey; type ScopeKey = import('@camunda8/orchestration-cluster-api').ScopeKey; type SignalKey = import('@camunda8/orchestration-cluster-api').SignalKey; type StartCursor = import('@camunda8/orchestration-cluster-api').StartCursor; type Tag = import('@camunda8/orchestration-cluster-api').Tag; type TenantId = import('@camunda8/orchestration-cluster-api').TenantId; type Username = import('@camunda8/orchestration-cluster-api').Username; type UserTaskKey = import('@camunda8/orchestration-cluster-api').UserTaskKey; type VariableKey = import('@camunda8/orchestration-cluster-api').VariableKey; }