@lessly/sdk-app 63.3.0 → 63.5.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 +32 -0
- package/dist/_types/gen/client.gen.d.ts +6 -1
- package/dist/_types/gen/manifest.gen.d.ts +2 -1
- package/dist/_types/gen/playground/index.d.ts +1 -1
- package/dist/_types/gen/playground/queryOptions.gen.d.ts +13 -1
- package/dist/_types/gen/types.gen.d.ts +66 -0
- package/dist/_types/index.d.ts +2 -1
- package/dist/_types/runtime/compositions.d.ts +16 -0
- package/dist/_types/runtime/types.d.ts +20 -0
- package/dist/{chunk-ELVZARJQ.js → chunk-FVKBKCNN.js} +41 -2
- package/dist/chunk-FVKBKCNN.js.map +1 -0
- package/dist/index.cjs +50 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +12 -2
- package/dist/index.js.map +1 -1
- package/dist/playground/index.cjs +15 -0
- package/dist/playground/index.cjs.map +1 -1
- package/dist/playground/index.js +14 -2
- package/dist/playground/index.js.map +1 -1
- package/package.json +2 -2
- package/src/gen/bindings.gen.ts +39 -0
- package/src/gen/client.gen.ts +11 -0
- package/src/gen/manifest.gen.ts +9 -1
- package/src/gen/playground/index.ts +1 -1
- package/src/gen/playground/queryOptions.gen.ts +19 -0
- package/src/gen/types.gen.ts +73 -0
- package/dist/chunk-ELVZARJQ.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -7455,6 +7455,45 @@ var bindings = {
|
|
|
7455
7455
|
"path": "/playground/webhooks/last",
|
|
7456
7456
|
"readOnly": true
|
|
7457
7457
|
}
|
|
7458
|
+
},
|
|
7459
|
+
"workflow": {
|
|
7460
|
+
"echo": {
|
|
7461
|
+
"level": "write",
|
|
7462
|
+
"method": "POST",
|
|
7463
|
+
"operationKey": "playground_workflow_echo",
|
|
7464
|
+
"params": [
|
|
7465
|
+
{
|
|
7466
|
+
"in": "body",
|
|
7467
|
+
"name": "note"
|
|
7468
|
+
},
|
|
7469
|
+
{
|
|
7470
|
+
"in": "body",
|
|
7471
|
+
"name": "tags"
|
|
7472
|
+
}
|
|
7473
|
+
],
|
|
7474
|
+
"path": "/playground/workflow/echo",
|
|
7475
|
+
"readOnly": false
|
|
7476
|
+
},
|
|
7477
|
+
"echo-list": {
|
|
7478
|
+
"level": "read",
|
|
7479
|
+
"method": "GET",
|
|
7480
|
+
"operationKey": "playground_workflow_echo-list",
|
|
7481
|
+
"path": "/playground/workflow/echoes",
|
|
7482
|
+
"readOnly": true
|
|
7483
|
+
},
|
|
7484
|
+
"ping": {
|
|
7485
|
+
"level": "write",
|
|
7486
|
+
"method": "POST",
|
|
7487
|
+
"operationKey": "playground_workflow_ping",
|
|
7488
|
+
"params": [
|
|
7489
|
+
{
|
|
7490
|
+
"in": "body",
|
|
7491
|
+
"name": "kind"
|
|
7492
|
+
}
|
|
7493
|
+
],
|
|
7494
|
+
"path": "/playground/workflow/ping",
|
|
7495
|
+
"readOnly": false
|
|
7496
|
+
}
|
|
7458
7497
|
}
|
|
7459
7498
|
},
|
|
7460
7499
|
"realtime": {
|
|
@@ -11047,6 +11086,9 @@ var operations = {
|
|
|
11047
11086
|
"playground_lifecycle_get-state": "read",
|
|
11048
11087
|
"playground_lifecycle_list-events": "read",
|
|
11049
11088
|
"playground_webhook_get-last": "read",
|
|
11089
|
+
"playground_workflow_echo": "write",
|
|
11090
|
+
"playground_workflow_echo-list": "read",
|
|
11091
|
+
"playground_workflow_ping": "write",
|
|
11050
11092
|
"realtime_archive_export": "admin",
|
|
11051
11093
|
"realtime_archive_export_status": "read",
|
|
11052
11094
|
"realtime_archive_get": "read",
|
|
@@ -11208,6 +11250,10 @@ var operations = {
|
|
|
11208
11250
|
"waitlist_signups_list": "read",
|
|
11209
11251
|
"workflow_health_ping": "read"
|
|
11210
11252
|
};
|
|
11253
|
+
var compositions = {
|
|
11254
|
+
"playground_workflow_echo": { "pii": ["input.note"], "label": "Store workflow echo" },
|
|
11255
|
+
"playground_workflow_ping": { "label": "Fire workflow ping", "completion_event": "playground/workflow.ping" }
|
|
11256
|
+
};
|
|
11211
11257
|
|
|
11212
11258
|
// src/runtime/permission-match.ts
|
|
11213
11259
|
var LEVELS = ["read", "write", "admin"];
|
|
@@ -11444,8 +11490,12 @@ function accessReason(op) {
|
|
|
11444
11490
|
// src/runtime/operations.ts
|
|
11445
11491
|
var operations2 = operations;
|
|
11446
11492
|
|
|
11493
|
+
// src/runtime/compositions.ts
|
|
11494
|
+
var compositions2 = compositions;
|
|
11495
|
+
|
|
11447
11496
|
exports.LesslyApiError = LesslyApiError;
|
|
11448
11497
|
exports.accessReason = accessReason;
|
|
11498
|
+
exports.compositions = compositions2;
|
|
11449
11499
|
exports.connectStream = connectStream;
|
|
11450
11500
|
exports.createLesslyApp = createLesslyApp;
|
|
11451
11501
|
exports.isAccessDenied = isAccessDenied;
|