@celerity-sdk/types 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Shared TypeScript interfaces and types for the Celerity Node SDK.
4
4
 
5
- This is the foundation package all other `@celerity-sdk/*` packages depend on it. It contains **no runtime code**, only type definitions and behavioral interfaces.
5
+ This is the foundation package that all other `@celerity-sdk/*` packages depend on. It contains **no runtime code**, only type definitions and behavioral interfaces.
6
6
 
7
7
  ## Installation
8
8
 
@@ -28,4 +28,4 @@ pnpm add @celerity-sdk/types
28
28
 
29
29
  ## Part of the Celerity Framework
30
30
 
31
- See [celerityframework.com](https://celerityframework.com) for full documentation.
31
+ See [celerityframework.io](https://celerityframework.io) for full documentation.
package/dist/index.d.cts CHANGED
@@ -105,6 +105,7 @@ interface Schema<T = unknown> {
105
105
 
106
106
  type FunctionHandlerDefinition = {
107
107
  __celerity_handler: true;
108
+ id?: string;
108
109
  type: "http" | "consumer" | "schedule" | "websocket";
109
110
  metadata: Record<string, unknown>;
110
111
  handler: (...args: unknown[]) => unknown;
package/dist/index.d.ts CHANGED
@@ -105,6 +105,7 @@ interface Schema<T = unknown> {
105
105
 
106
106
  type FunctionHandlerDefinition = {
107
107
  __celerity_handler: true;
108
+ id?: string;
108
109
  type: "http" | "consumer" | "schedule" | "websocket";
109
110
  metadata: Record<string, unknown>;
110
111
  handler: (...args: unknown[]) => unknown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celerity-sdk/types",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "Shared TypeScript interfaces and types for the Celerity Node SDK",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {