@slflows/sdk 0.0.1 → 0.0.3

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.
@@ -26,7 +26,9 @@ interface JsonSchema {
26
26
  anyOf?: JsonSchema[];
27
27
  oneOf?: JsonSchema[];
28
28
  description?: string;
29
- additionalProperties?: boolean;
29
+ additionalProperties?: boolean | {
30
+ type: "string" | "number" | "boolean" | "object" | "array";
31
+ };
30
32
  }
31
33
  type Type = SimpleType | SimpleTypeArray | JsonSchema;
32
34
  interface AppConfigField {
@@ -145,6 +147,8 @@ interface EntityInput extends AppInput {
145
147
  }
146
148
  interface EntityContext {
147
149
  id: string;
150
+ name: string;
151
+ description: string;
148
152
  config: Record<string, any>;
149
153
  lifecycle: EntityLifecycleComponent | null;
150
154
  http: EntityHTTPEndpoint | null;
@@ -285,7 +289,7 @@ interface ListBlocksOutput {
285
289
  }
286
290
  declare const setAppInstallationStatus: (status: "active" | "failed") => Promise<void>;
287
291
  interface EmitOptions {
288
- outputId?: string;
292
+ outputKey?: string;
289
293
  parentEventId?: string;
290
294
  secondaryParentEventIds?: string[];
291
295
  echo?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slflows/sdk",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "files": [
5
5
  "dist"
6
6
  ],
@@ -15,7 +15,7 @@
15
15
  "typescript": "^5.8.3"
16
16
  },
17
17
  "scripts": {
18
- "build": "pkgroll --clean-dist --src types",
19
- "watch": "pkgroll --watch --src types"
18
+ "build": "tsc && rollup -c",
19
+ "prepare": "pkgroll --clean-dist --src types"
20
20
  }
21
21
  }