@temporalio/common
Advanced tools
Comparing version 1.9.0 to 1.9.1
@@ -7,4 +7,17 @@ import type { temporal } from '@temporalio/proto'; | ||
export type WorkflowUpdateValidatorType = (...args: any[]) => void; | ||
export type WorkflowUpdateAnnotatedType = { | ||
handler: WorkflowUpdateType; | ||
validator?: WorkflowUpdateValidatorType; | ||
description?: string; | ||
}; | ||
export type WorkflowSignalType = (...args: any[]) => Promise<void> | void; | ||
export type WorkflowSignalAnnotatedType = { | ||
handler: WorkflowSignalType; | ||
description?: string; | ||
}; | ||
export type WorkflowQueryType = (...args: any[]) => any; | ||
export type WorkflowQueryAnnotatedType = { | ||
handler: WorkflowQueryType; | ||
description?: string; | ||
}; | ||
/** | ||
@@ -11,0 +24,0 @@ * Broad Workflow function definition, specific Workflows will typically use a narrower type definition, e.g: |
{ | ||
"name": "@temporalio/common", | ||
"version": "1.9.0", | ||
"version": "1.9.1", | ||
"description": "Common library for code that's used across the Client, Worker, and/or Workflow", | ||
@@ -15,3 +15,3 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@temporalio/proto": "1.9.0", | ||
"@temporalio/proto": "1.9.1", | ||
"long": "^5.2.3", | ||
@@ -40,3 +40,3 @@ "ms": "^3.0.0-canary.1", | ||
], | ||
"gitHead": "5096976287616207edcd3e4281a2a5e1f7393e33" | ||
"gitHead": "05f22004a0d877d8a128768016d5719adbc67de8" | ||
} |
@@ -9,4 +9,11 @@ import type { temporal } from '@temporalio/proto'; | ||
export type WorkflowUpdateValidatorType = (...args: any[]) => void; | ||
export type WorkflowUpdateAnnotatedType = { | ||
handler: WorkflowUpdateType; | ||
validator?: WorkflowUpdateValidatorType; | ||
description?: string; | ||
}; | ||
export type WorkflowSignalType = (...args: any[]) => Promise<void> | void; | ||
export type WorkflowSignalAnnotatedType = { handler: WorkflowSignalType; description?: string }; | ||
export type WorkflowQueryType = (...args: any[]) => any; | ||
export type WorkflowQueryAnnotatedType = { handler: WorkflowQueryType; description?: string }; | ||
@@ -13,0 +20,0 @@ /** |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
387483
126
7479
+ Added@temporalio/proto@1.9.1(transitive)
- Removed@temporalio/proto@1.9.0(transitive)
Updated@temporalio/proto@1.9.1