@slflows/sdk 0.9.0 → 0.10.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/dist/v1/index.d.ts +10 -2
- package/package.json +3 -3
package/dist/v1/index.d.ts
CHANGED
|
@@ -575,7 +575,7 @@ declare const http: {
|
|
|
575
575
|
* onRequest: async (input) => {
|
|
576
576
|
* if (input.request.path === "/approve") {
|
|
577
577
|
* // Manual approval received
|
|
578
|
-
* await lifecycle.
|
|
578
|
+
* await lifecycle.sync();
|
|
579
579
|
*
|
|
580
580
|
* await http.respond(input.request.requestId, {
|
|
581
581
|
* statusCode: 200,
|
|
@@ -839,6 +839,7 @@ interface JsonSchema {
|
|
|
839
839
|
anyOf?: JsonSchema[];
|
|
840
840
|
oneOf?: JsonSchema[];
|
|
841
841
|
description?: string;
|
|
842
|
+
sensitive?: boolean;
|
|
842
843
|
additionalProperties?: boolean | {
|
|
843
844
|
type: JsonSchemaType;
|
|
844
845
|
};
|
|
@@ -859,6 +860,12 @@ interface AppSignal {
|
|
|
859
860
|
name: string;
|
|
860
861
|
description: string;
|
|
861
862
|
sensitive?: boolean;
|
|
863
|
+
sensitivity?: SignalSensitivity;
|
|
864
|
+
}
|
|
865
|
+
declare enum SignalSensitivity {
|
|
866
|
+
HideByDefault = "hide_by_default",
|
|
867
|
+
NeverShow = "never_show",
|
|
868
|
+
NotSensitive = "not_sensitive"
|
|
862
869
|
}
|
|
863
870
|
interface AppHTTPComponent {
|
|
864
871
|
onRequest: (input: AppOnHTTPRequestInput) => Promise<void>;
|
|
@@ -1003,6 +1010,7 @@ interface AppBlockSignal {
|
|
|
1003
1010
|
name: string;
|
|
1004
1011
|
description: string;
|
|
1005
1012
|
sensitive?: boolean;
|
|
1013
|
+
sensitivity?: SignalSensitivity;
|
|
1006
1014
|
}
|
|
1007
1015
|
interface AppBlockSchedule {
|
|
1008
1016
|
description?: string;
|
|
@@ -1245,5 +1253,5 @@ interface PopulateFrom {
|
|
|
1245
1253
|
outputProperty: string;
|
|
1246
1254
|
}
|
|
1247
1255
|
|
|
1248
|
-
export { blocks, defineApp, events, getInvocationMetadata, http, kv, lifecycle, messaging, timers, ui };
|
|
1256
|
+
export { SignalSensitivity, blocks, defineApp, events, getInvocationMetadata, http, kv, lifecycle, messaging, timers, ui };
|
|
1249
1257
|
export type { AppBlock, AppBlockComponentInput, AppBlockComponentOutput, AppBlockConfigField, AppBlockHTTPComponent, AppBlockInputConfigField, AppBlockSchedule, AppBlockSignal, AppBlockUIComponent, AppConfigField, AppContext, AppHTTPComponent, AppHTTPEndpoint, AppInput, AppLifecycleCallbackOutput, AppLifecycleStatus, AppOnCreateOutput, AppOnHTTPRequestInput, AppOnInternalMessageInput, AppOnTimerInput, AppOnTriggerInput, AppOnUIRequestInput, AppSchedule, AppSchema, AppSignal, AppUIComponent, EntityContext, EntityHTTPEndpoint, EntityInput, EntityLifecycleCallbackOutput, EntityLifecycleComponent, EntityLifecycleStatus, EntityOnHTTPRequestInput, EntityOnInternalMessageInput, EntityOnTimerInput, EntityOnTriggerInput, EntityOnUIRequestInput, EntityOutput, EntityView, EntityViewType, EventContext, EventInput, HTTPRequest, JsonSchema, PopulateFrom, ScheduleDefinition, SuggestValuesInput, SuggestValuesOutput, SuggestedValue, Type, UIRequest };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slflows/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
"./v1": "./dist/v1/index.d.ts"
|
|
10
10
|
},
|
|
11
11
|
"devDependencies": {
|
|
12
|
-
"pkgroll": "^2.
|
|
13
|
-
"rollup": "^4.
|
|
12
|
+
"pkgroll": "^2.27.0",
|
|
13
|
+
"rollup": "^4.59.0",
|
|
14
14
|
"rollup-plugin-dts": "^6.3.0",
|
|
15
15
|
"typescript": "^5.9.3"
|
|
16
16
|
},
|