@pikku/addon-console 0.12.2 → 0.12.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.
- package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +65 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.js +74 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.js.map +1 -0
- package/dist/.pikku/addon/pikku-package.gen.d.ts +2 -0
- package/dist/.pikku/addon/pikku-package.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/pikku-package.gen.js +9 -0
- package/dist/.pikku/addon/pikku-package.gen.js.map +1 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +47 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts.map +1 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.js +18 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.js.map +1 -0
- package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.d.ts +2 -0
- package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.d.ts.map +1 -0
- package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.js +7 -0
- package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.js.map +1 -0
- package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.json +3 -0
- package/dist/.pikku/agent/pikku-agent-wirings.gen.d.ts +5 -0
- package/dist/.pikku/agent/pikku-agent-wirings.gen.d.ts.map +1 -0
- package/dist/.pikku/agent/pikku-agent-wirings.gen.js +5 -0
- package/dist/.pikku/agent/pikku-agent-wirings.gen.js.map +1 -0
- package/dist/.pikku/console/pikku-node-types.gen.d.ts +7 -0
- package/dist/.pikku/console/pikku-node-types.gen.d.ts.map +1 -0
- package/dist/.pikku/console/pikku-node-types.gen.js +2 -0
- package/dist/.pikku/console/pikku-node-types.gen.js.map +1 -0
- package/dist/.pikku/function/pikku-function-types.gen.d.ts +506 -0
- package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +1 -0
- package/dist/.pikku/function/pikku-function-types.gen.js +314 -0
- package/dist/.pikku/function/pikku-function-types.gen.js.map +1 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.d.ts +2 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.d.ts.map +1 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.js +7 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.js.map +1 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.json +538 -0
- package/dist/.pikku/function/pikku-functions.gen.d.ts +2 -0
- package/dist/.pikku/function/pikku-functions.gen.d.ts.map +1 -0
- package/dist/.pikku/function/pikku-functions.gen.js +64 -0
- package/dist/.pikku/function/pikku-functions.gen.js.map +1 -0
- package/dist/.pikku/pikku-bootstrap.gen.d.ts +8 -0
- package/dist/.pikku/pikku-bootstrap.gen.d.ts.map +1 -0
- package/dist/.pikku/pikku-bootstrap.gen.js +18 -0
- package/dist/.pikku/pikku-bootstrap.gen.js.map +1 -0
- package/dist/.pikku/pikku-services.gen.d.ts +32 -0
- package/dist/.pikku/pikku-services.gen.d.ts.map +1 -0
- package/dist/.pikku/pikku-services.gen.js +27 -0
- package/dist/.pikku/pikku-services.gen.js.map +1 -0
- package/dist/.pikku/pikku-types.gen.d.ts +12 -0
- package/dist/.pikku/pikku-types.gen.d.ts.map +1 -0
- package/dist/.pikku/pikku-types.gen.js +17 -0
- package/dist/.pikku/pikku-types.gen.js.map +1 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts +2 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts.map +1 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +7 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js.map +1 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +31 -0
- package/dist/.pikku/schemas/register.gen.d.ts +2 -0
- package/dist/.pikku/schemas/register.gen.d.ts.map +1 -0
- package/dist/.pikku/schemas/register.gen.js +103 -0
- package/dist/.pikku/schemas/register.gen.js.map +1 -0
- package/dist/.pikku/schemas/schemas/AddonPackageInfo.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AllMeta.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ChannelSnippets.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/DeleteAgentThreadInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/DeleteAgentThreadOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/DeleteWorkflowRunInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/DeleteWorkflowRunOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetAIWorkflowsInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetAIWorkflowsOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetAddonCommunityPackageInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetAddonIconInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetAddonInstalledPackageInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetAddonMetaOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetAgentThreadMessagesInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetAgentThreadMessagesOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetAgentThreadRunsInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetAgentThreadRunsOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetAgentThreadsInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetAgentThreadsOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetChannelSnippetsInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetFunctionsMetaOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetInstalledAddonsOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetSchemaInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetWorkflowMetaByIdInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetWorkflowMetaByIdOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetWorkflowRunHistoryInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetWorkflowRunHistoryOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetWorkflowRunInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetWorkflowRunNamesOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetWorkflowRunOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetWorkflowRunStepsInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetWorkflowRunStepsOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetWorkflowRunsInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetWorkflowRunsOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetWorkflowVersionInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetWorkflowVersionOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/JSONSchema7.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/OauthConnectInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/OauthConnectOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/OauthDisconnectInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/OauthExchangeTokensInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/OauthExchangeTokensOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/OauthRefreshTokenInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/OauthRefreshTokenOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/OauthStatusInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/OauthStatusOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/OauthTestTokenInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/OauthTestTokenOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/StreamWorkflowRunInput.schema.json +1 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +6 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts.map +1 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.js +5 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.js.map +1 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +12 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts.map +1 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.js +11 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.js.map +1 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +114 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts.map +1 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.js +34 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.js.map +1 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +6 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.d.ts.map +1 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.js +5 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.js.map +1 -0
- package/dist/.pikku/variables/pikku-variables.gen.d.ts +12 -0
- package/dist/.pikku/variables/pikku-variables.gen.d.ts.map +1 -0
- package/dist/.pikku/variables/pikku-variables.gen.js +11 -0
- package/dist/.pikku/variables/pikku-variables.gen.js.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +81 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js +31 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.d.ts +2 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.d.ts.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +7 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +5 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +5 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js.map +1 -0
- package/dist/src/functions/delete-agent-thread.function.d.ts +14 -0
- package/dist/src/functions/delete-agent-thread.function.d.ts.map +1 -0
- package/dist/src/functions/delete-agent-thread.function.js +14 -0
- package/dist/src/functions/delete-agent-thread.function.js.map +1 -0
- package/dist/src/functions/delete-workflow-run.function.d.ts +14 -0
- package/dist/src/functions/delete-workflow-run.function.d.ts.map +1 -0
- package/dist/src/functions/delete-workflow-run.function.js +14 -0
- package/dist/src/functions/delete-workflow-run.function.js.map +1 -0
- package/dist/src/functions/get-addon-icon.function.d.ts +8 -0
- package/dist/src/functions/get-addon-icon.function.d.ts.map +1 -0
- package/dist/src/functions/get-addon-icon.function.js +12 -0
- package/dist/src/functions/get-addon-icon.function.js.map +1 -0
- package/dist/src/functions/get-addon-meta.function.d.ts +2 -0
- package/dist/src/functions/get-addon-meta.function.d.ts.map +1 -0
- package/dist/src/functions/get-addon-meta.function.js +11 -0
- package/dist/src/functions/get-addon-meta.function.js.map +1 -0
- package/dist/src/functions/get-addon-package.function.d.ts +9 -0
- package/dist/src/functions/get-addon-package.function.d.ts.map +1 -0
- package/dist/src/functions/get-addon-package.function.js +11 -0
- package/dist/src/functions/get-addon-package.function.js.map +1 -0
- package/dist/src/functions/get-agent-thread-messages.function.d.ts +8 -0
- package/dist/src/functions/get-agent-thread-messages.function.d.ts.map +1 -0
- package/dist/src/functions/get-agent-thread-messages.function.js +13 -0
- package/dist/src/functions/get-agent-thread-messages.function.js.map +1 -0
- package/dist/src/functions/get-agent-thread-runs.function.d.ts +8 -0
- package/dist/src/functions/get-agent-thread-runs.function.d.ts.map +1 -0
- package/dist/src/functions/get-agent-thread-runs.function.js +13 -0
- package/dist/src/functions/get-agent-thread-runs.function.js.map +1 -0
- package/dist/src/functions/get-agent-threads.function.d.ts +14 -0
- package/dist/src/functions/get-agent-threads.function.d.ts.map +1 -0
- package/dist/src/functions/get-agent-threads.function.js +17 -0
- package/dist/src/functions/get-agent-threads.function.js.map +1 -0
- package/dist/src/functions/get-ai-workflows.function.d.ts +20 -0
- package/dist/src/functions/get-ai-workflows.function.d.ts.map +1 -0
- package/dist/src/functions/get-ai-workflows.function.js +13 -0
- package/dist/src/functions/get-ai-workflows.function.js.map +1 -0
- package/dist/src/functions/get-all-meta.function.d.ts +3 -0
- package/dist/src/functions/get-all-meta.function.d.ts.map +1 -0
- package/dist/src/functions/get-all-meta.function.js +11 -0
- package/dist/src/functions/get-all-meta.function.js.map +1 -0
- package/dist/src/functions/get-channel-snippets.function.d.ts +9 -0
- package/dist/src/functions/get-channel-snippets.function.d.ts.map +1 -0
- package/dist/src/functions/get-channel-snippets.function.js +15 -0
- package/dist/src/functions/get-channel-snippets.function.js.map +1 -0
- package/dist/src/functions/get-functions-meta.function.d.ts +3 -0
- package/dist/src/functions/get-functions-meta.function.d.ts.map +1 -0
- package/dist/src/functions/get-functions-meta.function.js +12 -0
- package/dist/src/functions/get-functions-meta.function.js.map +1 -0
- package/dist/src/functions/get-installed-addons.function.d.ts +10 -0
- package/dist/src/functions/get-installed-addons.function.d.ts.map +1 -0
- package/dist/src/functions/get-installed-addons.function.js +41 -0
- package/dist/src/functions/get-installed-addons.function.js.map +1 -0
- package/dist/src/functions/get-installed-package.function.d.ts +9 -0
- package/dist/src/functions/get-installed-package.function.d.ts.map +1 -0
- package/dist/src/functions/get-installed-package.function.js +103 -0
- package/dist/src/functions/get-installed-package.function.js.map +1 -0
- package/dist/src/functions/get-schema.function.d.ts +9 -0
- package/dist/src/functions/get-schema.function.d.ts.map +1 -0
- package/dist/src/functions/get-schema.function.js +11 -0
- package/dist/src/functions/get-schema.function.js.map +1 -0
- package/dist/src/functions/get-workflow-meta-by-id.function.d.ts +23 -0
- package/dist/src/functions/get-workflow-meta-by-id.function.d.ts.map +1 -0
- package/dist/src/functions/get-workflow-meta-by-id.function.js +30 -0
- package/dist/src/functions/get-workflow-meta-by-id.function.js.map +1 -0
- package/dist/src/functions/get-workflow-run-history.function.d.ts +8 -0
- package/dist/src/functions/get-workflow-run-history.function.d.ts.map +1 -0
- package/dist/src/functions/get-workflow-run-history.function.js +13 -0
- package/dist/src/functions/get-workflow-run-history.function.js.map +1 -0
- package/dist/src/functions/get-workflow-run-names.function.d.ts +2 -0
- package/dist/src/functions/get-workflow-run-names.function.d.ts.map +1 -0
- package/dist/src/functions/get-workflow-run-names.function.js +13 -0
- package/dist/src/functions/get-workflow-run-names.function.js.map +1 -0
- package/dist/src/functions/get-workflow-run-steps.function.d.ts +8 -0
- package/dist/src/functions/get-workflow-run-steps.function.d.ts.map +1 -0
- package/dist/src/functions/get-workflow-run-steps.function.js +13 -0
- package/dist/src/functions/get-workflow-run-steps.function.js.map +1 -0
- package/dist/src/functions/get-workflow-run.function.d.ts +8 -0
- package/dist/src/functions/get-workflow-run.function.d.ts.map +1 -0
- package/dist/src/functions/get-workflow-run.function.js +17 -0
- package/dist/src/functions/get-workflow-run.function.js.map +1 -0
- package/dist/src/functions/get-workflow-runs.function.d.ts +17 -0
- package/dist/src/functions/get-workflow-runs.function.d.ts.map +1 -0
- package/dist/src/functions/get-workflow-runs.function.js +18 -0
- package/dist/src/functions/get-workflow-runs.function.js.map +1 -0
- package/dist/src/functions/get-workflow-version.function.d.ts +20 -0
- package/dist/src/functions/get-workflow-version.function.d.ts.map +1 -0
- package/dist/src/functions/get-workflow-version.function.js +13 -0
- package/dist/src/functions/get-workflow-version.function.js.map +1 -0
- package/dist/src/functions/oauth-connect.function.d.ts +17 -0
- package/dist/src/functions/oauth-connect.function.d.ts.map +1 -0
- package/dist/src/functions/oauth-connect.function.js +34 -0
- package/dist/src/functions/oauth-connect.function.js.map +1 -0
- package/dist/src/functions/oauth-disconnect.function.d.ts +8 -0
- package/dist/src/functions/oauth-disconnect.function.d.ts.map +1 -0
- package/dist/src/functions/oauth-disconnect.function.js +19 -0
- package/dist/src/functions/oauth-disconnect.function.js.map +1 -0
- package/dist/src/functions/oauth-exchange-tokens.function.d.ts +17 -0
- package/dist/src/functions/oauth-exchange-tokens.function.d.ts.map +1 -0
- package/dist/src/functions/oauth-exchange-tokens.function.js +20 -0
- package/dist/src/functions/oauth-exchange-tokens.function.js.map +1 -0
- package/dist/src/functions/oauth-refresh-token.function.d.ts +17 -0
- package/dist/src/functions/oauth-refresh-token.function.d.ts.map +1 -0
- package/dist/src/functions/oauth-refresh-token.function.js +27 -0
- package/dist/src/functions/oauth-refresh-token.function.js.map +1 -0
- package/dist/src/functions/oauth-status.function.d.ts +23 -0
- package/dist/src/functions/oauth-status.function.d.ts.map +1 -0
- package/dist/src/functions/oauth-status.function.js +34 -0
- package/dist/src/functions/oauth-status.function.js.map +1 -0
- package/dist/src/functions/oauth-test-token.function.d.ts +17 -0
- package/dist/src/functions/oauth-test-token.function.d.ts.map +1 -0
- package/dist/src/functions/oauth-test-token.function.js +26 -0
- package/dist/src/functions/oauth-test-token.function.js.map +1 -0
- package/dist/src/functions/stream-workflow-run.function.d.ts +8 -0
- package/dist/src/functions/stream-workflow-run.function.d.ts.map +1 -0
- package/dist/src/functions/stream-workflow-run.function.js +49 -0
- package/dist/src/functions/stream-workflow-run.function.js.map +1 -0
- package/dist/src/index.d.ts +16 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +15 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/services/addon.service.d.ts +45 -0
- package/dist/src/services/addon.service.d.ts.map +1 -0
- package/dist/src/services/addon.service.js +24 -0
- package/dist/src/services/addon.service.js.map +1 -0
- package/dist/src/services/file-watcher.service.d.ts +13 -0
- package/dist/src/services/file-watcher.service.d.ts.map +1 -0
- package/dist/src/services/file-watcher.service.js +31 -0
- package/dist/src/services/file-watcher.service.js.map +1 -0
- package/dist/src/services/oauth.service.d.ts +16 -0
- package/dist/src/services/oauth.service.d.ts.map +1 -0
- package/dist/src/services/oauth.service.js +26 -0
- package/dist/src/services/oauth.service.js.map +1 -0
- package/dist/src/services/schema.service.d.ts +10 -0
- package/dist/src/services/schema.service.d.ts.map +1 -0
- package/dist/src/services/schema.service.js +35 -0
- package/dist/src/services/schema.service.js.map +1 -0
- package/dist/src/services/wiring.service.d.ts +427 -0
- package/dist/src/services/wiring.service.d.ts.map +1 -0
- package/dist/src/services/wiring.service.js +598 -0
- package/dist/src/services/wiring.service.js.map +1 -0
- package/dist/src/services.d.ts +2 -0
- package/dist/src/services.d.ts.map +1 -0
- package/dist/src/services.js +33 -0
- package/dist/src/services.js.map +1 -0
- package/dist/src/tests/test-oauth.d.ts +2 -0
- package/dist/src/tests/test-oauth.d.ts.map +1 -0
- package/dist/src/tests/test-oauth.js +32 -0
- package/dist/src/tests/test-oauth.js.map +1 -0
- package/dist/src/tests/test-oauth2-client.d.ts +6 -0
- package/dist/src/tests/test-oauth2-client.d.ts.map +1 -0
- package/dist/src/tests/test-oauth2-client.js +131 -0
- package/dist/src/tests/test-oauth2-client.js.map +1 -0
- package/package.json +6 -7
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "array", "items": { "$ref": "#/definitions/InstalledAddon" }, "definitions": { "InstalledAddon": { "type": "object", "properties": { "namespace": { "type": "string" }, "packageName": { "type": "string" }, "functionCount": { "type": "number" }, "agentCount": { "type": "number" }, "icon": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } } }, "required": ["namespace", "packageName", "functionCount", "agentCount"], "additionalProperties": false } } }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "schemaName": { "type": "string" } }, "required": ["schemaName"], "additionalProperties": false, "definitions": {} }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "workflowId": { "type": "string" } }, "required": ["workflowId"], "additionalProperties": false, "definitions": {} }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": { "name": { "type": "string" }, "steps": { "type": "array", "items": { "$ref": "#/definitions/WorkflowStepMeta" } }, "context": { "$ref": "#/definitions/WorkflowContext" }, "dsl": { "type": "boolean" }, "pikkuFuncId": { "type": "string" }, "packageName": { "type": "string" }, "title": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } }, "summary": { "type": "string" }, "description": { "type": "string" }, "errors": { "type": "array", "items": { "type": "string" } }, "middleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMetadata" } }, "permissions": { "type": "array", "items": { "$ref": "#/definitions/PermissionMetadata" } } }, "required": ["name", "pikkuFuncId", "steps"], "definitions": { "WorkflowStepMeta": { "anyOf": [{ "$ref": "#/definitions/RpcStepMeta" }, { "$ref": "#/definitions/BranchStepMeta" }, { "$ref": "#/definitions/ParallelGroupStepMeta" }, { "$ref": "#/definitions/FanoutStepMeta" }, { "$ref": "#/definitions/ReturnStepMeta" }, { "$ref": "#/definitions/InlineStepMeta" }, { "$ref": "#/definitions/SleepStepMeta" }, { "$ref": "#/definitions/CancelStepMeta" }, { "$ref": "#/definitions/SwitchStepMeta" }, { "$ref": "#/definitions/FilterStepMeta" }, { "$ref": "#/definitions/ArrayPredicateStepMeta" }, { "$ref": "#/definitions/SetStepMeta" }], "description": "Workflow step metadata (extracted by inspector)" }, "RpcStepMeta": { "type": "object", "properties": { "type": { "type": "string", "const": "rpc", "description": "RPC form - generates queue worker" }, "stepName": { "type": "string", "description": "Cache key (stepName from workflow.do)" }, "rpcName": { "type": "string", "description": "RPC to invoke" }, "outputVar": { "type": "string", "description": "Output variable name (if assigned)" }, "inputs": { "anyOf": [{ "type": "object", "additionalProperties": { "$ref": "#/definitions/InputSource" } }, { "type": "string", "const": "passthrough" }], "description": "Input source mappings, or 'passthrough' when entire data is passed" }, "options": { "$ref": "#/definitions/WorkflowStepOptions", "description": "Step options" } }, "required": ["type", "stepName", "rpcName"], "additionalProperties": false, "description": "RPC step metadata (base form)" }, "InputSource": { "anyOf": [{ "type": "object", "properties": { "from": { "type": "string", "const": "input" }, "path": { "type": "string" } }, "required": ["from", "path"], "additionalProperties": false }, { "type": "object", "properties": { "from": { "type": "string", "const": "outputVar" }, "name": { "type": "string" }, "path": { "type": "string" } }, "required": ["from", "name"], "additionalProperties": false }, { "type": "object", "properties": { "from": { "type": "string", "const": "item" }, "path": { "type": "string" } }, "required": ["from", "path"], "additionalProperties": false }, { "type": "object", "properties": { "from": { "type": "string", "const": "literal" }, "value": {} }, "required": ["from", "value"], "additionalProperties": false }, { "type": "object", "properties": { "from": { "type": "string", "const": "template" }, "parts": { "type": "array", "items": { "type": "string" } }, "expressions": { "type": "array", "items": { "$ref": "#/definitions/InputSource" } } }, "required": ["from", "parts", "expressions"], "additionalProperties": false }], "description": "Input source for step arguments in DSL workflows" }, "WorkflowStepOptions": { "type": "object", "properties": { "description": { "type": "string", "description": "Display name for logs/UI (optional, doesn't affect execution)" }, "retries": { "type": "number", "description": "Number of retry attempts for failed steps (only applies to local execution)" }, "retryDelay": { "type": ["string", "number"], "description": "Delay between retry attempts (e.g., '1s', '2s', '2min')" } }, "additionalProperties": false, "description": "Workflow step options" }, "BranchStepMeta": { "type": "object", "properties": { "type": { "type": "string", "const": "branch" }, "branches": { "type": "array", "items": { "$ref": "#/definitions/BranchCase" }, "description": "Branches in order: first is \"if\", rest are \"else if\"" }, "elseSteps": { "type": "array", "items": { "$ref": "#/definitions/WorkflowStepMeta" }, "description": "Else branch steps (when no conditions match)" } }, "required": ["type", "branches"], "additionalProperties": false, "description": "Branch step metadata (if/else-if/else control flow)" }, "BranchCase": { "type": "object", "properties": { "condition": { "$ref": "#/definitions/Condition", "description": "Condition for this branch" }, "steps": { "type": "array", "items": { "$ref": "#/definitions/WorkflowStepMeta" }, "description": "Steps to execute when condition is true" } }, "required": ["condition", "steps"], "additionalProperties": false, "description": "A single branch in an if/else-if chain" }, "Condition": { "anyOf": [{ "$ref": "#/definitions/SimpleCondition" }, { "type": "object", "properties": { "type": { "type": "string", "const": "and" }, "conditions": { "type": "array", "items": { "$ref": "#/definitions/Condition" } } }, "required": ["type", "conditions"], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "or" }, "conditions": { "type": "array", "items": { "$ref": "#/definitions/Condition" } } }, "required": ["type", "conditions"], "additionalProperties": false }], "description": "Nested condition structure supporting AND/OR operations" }, "SimpleCondition": { "type": "object", "properties": { "type": { "type": "string", "const": "simple" }, "expression": { "type": "string" } }, "required": ["type", "expression"], "additionalProperties": false, "description": "Simple condition expression (leaf node)" }, "ParallelGroupStepMeta": { "type": "object", "properties": { "type": { "type": "string", "const": "parallel" }, "children": { "type": "array", "items": { "$ref": "#/definitions/RpcStepMeta" }, "description": "Child steps to execute in parallel" } }, "required": ["type", "children"], "additionalProperties": false, "description": "Parallel group step metadata (Promise.all with multiple steps)" }, "FanoutStepMeta": { "type": "object", "properties": { "type": { "type": "string", "const": "fanout" }, "stepName": { "type": "string", "description": "Step name for this fanout" }, "sourceVar": { "type": "string", "description": "Source array variable name" }, "itemVar": { "type": "string", "description": "Iterator variable name" }, "mode": { "type": "string", "enum": ["parallel", "sequential"], "description": "Execution mode" }, "child": { "$ref": "#/definitions/RpcStepMeta", "description": "Child step to execute per iteration" }, "timeBetween": { "type": "string", "description": "Time between iterations (sequential mode only)" } }, "required": ["type", "stepName", "sourceVar", "itemVar", "mode", "child"], "additionalProperties": false, "description": "Fanout step metadata (parallel or sequential iteration)" }, "ReturnStepMeta": { "type": "object", "properties": { "type": { "type": "string", "const": "return" }, "outputs": { "type": "object", "additionalProperties": { "$ref": "#/definitions/OutputBinding" }, "description": "Output bindings" } }, "required": ["type", "outputs"], "additionalProperties": false, "description": "Return step metadata (workflow output)" }, "OutputBinding": { "anyOf": [{ "type": "object", "properties": { "from": { "type": "string", "const": "outputVar" }, "name": { "type": "string" }, "path": { "type": "string" } }, "required": ["from", "name"], "additionalProperties": false }, { "type": "object", "properties": { "from": { "type": "string", "const": "stateVar" }, "name": { "type": "string" }, "path": { "type": "string" } }, "required": ["from", "name"], "additionalProperties": false }, { "type": "object", "properties": { "from": { "type": "string", "const": "input" }, "path": { "type": "string" } }, "required": ["from", "path"], "additionalProperties": false }, { "type": "object", "properties": { "from": { "type": "string", "const": "literal" }, "value": {} }, "required": ["from", "value"], "additionalProperties": false }, { "type": "object", "properties": { "from": { "type": "string", "const": "expression" }, "expression": { "type": "string" } }, "required": ["from", "expression"], "additionalProperties": false }], "description": "Output binding for return statements in DSL workflows" }, "InlineStepMeta": { "type": "object", "properties": { "type": { "type": "string", "const": "inline", "description": "Inline form - local execution" }, "stepName": { "type": "string", "description": "Cache key (stepName from workflow.do)" }, "description": { "type": "string", "description": "Display name" }, "options": { "$ref": "#/definitions/WorkflowStepOptions", "description": "Step options" } }, "required": ["type", "stepName"], "additionalProperties": false, "description": "Inline step metadata (legacy support)" }, "SleepStepMeta": { "type": "object", "properties": { "type": { "type": "string", "const": "sleep", "description": "Sleep step" }, "stepName": { "type": "string", "description": "Cache key (stepName from workflow.sleep)" }, "duration": { "type": ["string", "number"], "description": "Sleep duration" } }, "required": ["type", "stepName", "duration"], "additionalProperties": false, "description": "Sleep step metadata" }, "CancelStepMeta": { "type": "object", "properties": { "type": { "type": "string", "const": "cancel", "description": "Cancel step" }, "reason": { "type": "string", "description": "Optional cancellation reason" } }, "required": ["type"], "additionalProperties": false, "description": "Cancel step metadata" }, "SwitchStepMeta": { "type": "object", "properties": { "type": { "type": "string", "const": "switch" }, "expression": { "type": "string", "description": "Expression being switched on" }, "cases": { "type": "array", "items": { "$ref": "#/definitions/SwitchCaseMeta" }, "description": "Case branches" }, "defaultSteps": { "type": "array", "items": { "$ref": "#/definitions/WorkflowStepMeta" }, "description": "Default case steps (optional)" } }, "required": ["type", "expression", "cases"], "additionalProperties": false, "description": "Switch step metadata (switch/case control flow)" }, "SwitchCaseMeta": { "type": "object", "properties": { "value": { "type": ["string", "number", "boolean", "null"], "description": "Case value (literal) or expression" }, "expression": { "type": "string", "description": "Case expression (for complex cases)" }, "steps": { "type": "array", "items": { "$ref": "#/definitions/WorkflowStepMeta" }, "description": "Steps to execute for this case" } }, "required": ["steps"], "additionalProperties": false, "description": "Switch case metadata" }, "FilterStepMeta": { "type": "object", "properties": { "type": { "type": "string", "const": "filter" }, "sourceVar": { "type": "string", "description": "Source array variable name" }, "itemVar": { "type": "string", "description": "Iterator variable name" }, "condition": { "$ref": "#/definitions/Condition", "description": "Filter condition" }, "outputVar": { "type": "string", "description": "Output variable name (if assigned)" } }, "required": ["type", "sourceVar", "itemVar", "condition"], "additionalProperties": false, "description": "Filter step metadata (array.filter)" }, "ArrayPredicateStepMeta": { "type": "object", "properties": { "type": { "type": "string", "const": "arrayPredicate" }, "mode": { "type": "string", "enum": ["some", "every"], "description": "Predicate mode" }, "sourceVar": { "type": "string", "description": "Source array variable name" }, "itemVar": { "type": "string", "description": "Iterator variable name" }, "condition": { "$ref": "#/definitions/Condition", "description": "Predicate condition" }, "outputVar": { "type": "string", "description": "Output variable name (if assigned)" } }, "required": ["type", "mode", "sourceVar", "itemVar", "condition"], "additionalProperties": false, "description": "Array predicate step metadata (array.some, array.every)" }, "SetStepMeta": { "type": "object", "properties": { "type": { "type": "string", "const": "set", "description": "Set step" }, "variable": { "type": "string", "description": "Variable name to set (must be in context)" }, "value": { "description": "Value to assign (literal or expression)" } }, "required": ["type", "variable", "value"], "additionalProperties": false, "description": "Set step metadata (context variable assignment)" }, "WorkflowContext": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ContextVariable" }, "description": "Workflow context - state variables with defaults and types" }, "ContextVariable": { "type": "object", "properties": { "type": { "type": "string", "enum": ["string", "number", "boolean", "object", "array"], "description": "Variable type" }, "default": { "description": "Default value" }, "description": { "type": "string", "description": "Description for UI/docs" } }, "required": ["type"], "additionalProperties": false, "description": "Context variable definition (serialized from Zod schema or type inference)" }, "MiddlewareMetadata": { "anyOf": [{ "type": "object", "properties": { "type": { "type": "string", "const": "http" }, "route": { "type": "string" } }, "required": ["type", "route"], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "tag" }, "tag": { "type": "string" } }, "required": ["type", "tag"], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "wire" }, "name": { "type": "string" }, "inline": { "type": "boolean" } }, "required": ["type", "name"], "additionalProperties": false }], "description": "Metadata for middleware at any level\n- type: 'http' = HTTP route middleware group (references httpGroup in pikkuState)\n- type: 'tag' = Tag-based middleware group (references tagGroup in pikkuState)\n- type: 'wire' = Wire-level individual middleware" }, "PermissionMetadata": { "anyOf": [{ "type": "object", "properties": { "type": { "type": "string", "const": "http" }, "route": { "type": "string" } }, "required": ["type", "route"], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "tag" }, "tag": { "type": "string" } }, "required": ["type", "tag"], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "wire" }, "name": { "type": "string" }, "inline": { "type": "boolean" } }, "required": ["type", "name"], "additionalProperties": false }], "description": "Metadata for permissions at any level\n- type: 'http' = HTTP route permission group (references httpGroup in pikkuState)\n- type: 'tag' = Tag-based permission group (references tagGroup in pikkuState)\n- type: 'wire' = Wire-level individual permission" } } }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "runId": { "type": "string" } }, "required": ["runId"], "additionalProperties": false, "definitions": {} }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "array", "items": {}, "definitions": {} }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "runId": { "type": "string" } }, "required": ["runId"], "additionalProperties": false, "definitions": {} }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "array", "items": { "type": "string" }, "definitions": {} }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": {}, "definitions": {} }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "runId": { "type": "string" } }, "required": ["runId"], "additionalProperties": false, "definitions": {} }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "array", "items": {}, "definitions": {} }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "workflowName": { "type": "string" }, "status": { "type": "string" }, "limit": { "type": "number" }, "offset": { "type": "number" } }, "additionalProperties": false, "definitions": {} }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "array", "items": {}, "definitions": {} }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "name": { "type": "string" }, "graphHash": { "type": "string" } }, "required": ["name", "graphHash"], "additionalProperties": false, "definitions": {} }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "graph": {}, "source": { "type": "string" } }, "required": ["graph", "source"], "additionalProperties": false, "definitions": {} }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "$id": { "type": "string" }, "$ref": { "type": "string" }, "$schema": { "$ref": "#/definitions/JSONSchema7Version" }, "$comment": { "type": "string" }, "$defs": { "type": "object", "additionalProperties": { "$ref": "#/definitions/JSONSchema7Definition" } }, "type": { "anyOf": [{ "$ref": "#/definitions/JSONSchema7TypeName" }, { "type": "array", "items": { "$ref": "#/definitions/JSONSchema7TypeName" } }] }, "enum": { "type": "array", "items": { "$ref": "#/definitions/JSONSchema7Type" } }, "const": { "$ref": "#/definitions/JSONSchema7Type" }, "multipleOf": { "type": "number" }, "maximum": { "type": "number" }, "exclusiveMaximum": { "type": "number" }, "minimum": { "type": "number" }, "exclusiveMinimum": { "type": "number" }, "maxLength": { "type": "number" }, "minLength": { "type": "number" }, "pattern": { "type": "string" }, "items": { "anyOf": [{ "$ref": "#/definitions/JSONSchema7Definition" }, { "type": "array", "items": { "$ref": "#/definitions/JSONSchema7Definition" } }] }, "additionalItems": { "$ref": "#/definitions/JSONSchema7Definition" }, "maxItems": { "type": "number" }, "minItems": { "type": "number" }, "uniqueItems": { "type": "boolean" }, "contains": { "$ref": "#/definitions/JSONSchema7Definition" }, "maxProperties": { "type": "number" }, "minProperties": { "type": "number" }, "required": { "type": "array", "items": { "type": "string" } }, "properties": { "type": "object", "additionalProperties": { "$ref": "#/definitions/JSONSchema7Definition" } }, "patternProperties": { "type": "object", "additionalProperties": { "$ref": "#/definitions/JSONSchema7Definition" } }, "additionalProperties": { "$ref": "#/definitions/JSONSchema7Definition" }, "dependencies": { "type": "object", "additionalProperties": { "anyOf": [{ "$ref": "#/definitions/JSONSchema7Definition" }, { "type": "array", "items": { "type": "string" } }] } }, "propertyNames": { "$ref": "#/definitions/JSONSchema7Definition" }, "if": { "$ref": "#/definitions/JSONSchema7Definition" }, "then": { "$ref": "#/definitions/JSONSchema7Definition" }, "else": { "$ref": "#/definitions/JSONSchema7Definition" }, "allOf": { "type": "array", "items": { "$ref": "#/definitions/JSONSchema7Definition" } }, "anyOf": { "type": "array", "items": { "$ref": "#/definitions/JSONSchema7Definition" } }, "oneOf": { "type": "array", "items": { "$ref": "#/definitions/JSONSchema7Definition" } }, "not": { "$ref": "#/definitions/JSONSchema7Definition" }, "format": { "type": "string" }, "contentMediaType": { "type": "string" }, "contentEncoding": { "type": "string" }, "definitions": { "type": "object", "additionalProperties": { "$ref": "#/definitions/JSONSchema7Definition" } }, "title": { "type": "string" }, "description": { "type": "string" }, "default": { "$ref": "#/definitions/JSONSchema7Type" }, "readOnly": { "type": "boolean" }, "writeOnly": { "type": "boolean" }, "examples": { "$ref": "#/definitions/JSONSchema7Type" } }, "additionalProperties": false, "definitions": { "JSONSchema7Version": { "type": "string", "description": "Meta schema\n\nRecommended values:\n- 'http://json-schema.org/schema#'\n- 'http://json-schema.org/hyper-schema#'\n- 'http://json-schema.org/draft-07/schema#'\n- 'http://json-schema.org/draft-07/hyper-schema#'" }, "JSONSchema7Definition": { "anyOf": [{ "$ref": "#/definitions/JSONSchema7" }, { "type": "boolean" }], "description": "JSON Schema v7" }, "JSONSchema7": { "type": "object", "properties": { "$id": { "type": "string" }, "$ref": { "type": "string" }, "$schema": { "$ref": "#/definitions/JSONSchema7Version" }, "$comment": { "type": "string" }, "$defs": { "type": "object", "additionalProperties": { "$ref": "#/definitions/JSONSchema7Definition" } }, "type": { "anyOf": [{ "$ref": "#/definitions/JSONSchema7TypeName" }, { "type": "array", "items": { "$ref": "#/definitions/JSONSchema7TypeName" } }] }, "enum": { "type": "array", "items": { "$ref": "#/definitions/JSONSchema7Type" } }, "const": { "$ref": "#/definitions/JSONSchema7Type" }, "multipleOf": { "type": "number" }, "maximum": { "type": "number" }, "exclusiveMaximum": { "type": "number" }, "minimum": { "type": "number" }, "exclusiveMinimum": { "type": "number" }, "maxLength": { "type": "number" }, "minLength": { "type": "number" }, "pattern": { "type": "string" }, "items": { "anyOf": [{ "$ref": "#/definitions/JSONSchema7Definition" }, { "type": "array", "items": { "$ref": "#/definitions/JSONSchema7Definition" } }] }, "additionalItems": { "$ref": "#/definitions/JSONSchema7Definition" }, "maxItems": { "type": "number" }, "minItems": { "type": "number" }, "uniqueItems": { "type": "boolean" }, "contains": { "$ref": "#/definitions/JSONSchema7Definition" }, "maxProperties": { "type": "number" }, "minProperties": { "type": "number" }, "required": { "type": "array", "items": { "type": "string" } }, "properties": { "type": "object", "additionalProperties": { "$ref": "#/definitions/JSONSchema7Definition" } }, "patternProperties": { "type": "object", "additionalProperties": { "$ref": "#/definitions/JSONSchema7Definition" } }, "additionalProperties": { "$ref": "#/definitions/JSONSchema7Definition" }, "dependencies": { "type": "object", "additionalProperties": { "anyOf": [{ "$ref": "#/definitions/JSONSchema7Definition" }, { "type": "array", "items": { "type": "string" } }] } }, "propertyNames": { "$ref": "#/definitions/JSONSchema7Definition" }, "if": { "$ref": "#/definitions/JSONSchema7Definition" }, "then": { "$ref": "#/definitions/JSONSchema7Definition" }, "else": { "$ref": "#/definitions/JSONSchema7Definition" }, "allOf": { "type": "array", "items": { "$ref": "#/definitions/JSONSchema7Definition" } }, "anyOf": { "type": "array", "items": { "$ref": "#/definitions/JSONSchema7Definition" } }, "oneOf": { "type": "array", "items": { "$ref": "#/definitions/JSONSchema7Definition" } }, "not": { "$ref": "#/definitions/JSONSchema7Definition" }, "format": { "type": "string" }, "contentMediaType": { "type": "string" }, "contentEncoding": { "type": "string" }, "definitions": { "type": "object", "additionalProperties": { "$ref": "#/definitions/JSONSchema7Definition" } }, "title": { "type": "string" }, "description": { "type": "string" }, "default": { "$ref": "#/definitions/JSONSchema7Type" }, "readOnly": { "type": "boolean" }, "writeOnly": { "type": "boolean" }, "examples": { "$ref": "#/definitions/JSONSchema7Type" } }, "additionalProperties": false }, "JSONSchema7TypeName": { "type": "string", "enum": ["string", "number", "integer", "boolean", "object", "array", "null"], "description": "Primitive type" }, "JSONSchema7Type": { "anyOf": [{ "type": "string" }, { "type": "number" }, { "type": "boolean" }, { "$ref": "#/definitions/JSONSchema7Object" }, { "$ref": "#/definitions/JSONSchema7Array" }, { "type": "null" }], "description": "Primitive type" }, "JSONSchema7Object": { "type": "object", "additionalProperties": { "$ref": "#/definitions/JSONSchema7Type" } }, "JSONSchema7Array": { "type": "array", "items": { "$ref": "#/definitions/JSONSchema7Type" } } } }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "credentialName": { "type": "string" }, "callbackUrl": { "type": "string" } }, "required": ["credentialName"], "additionalProperties": false, "definitions": {} }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "authUrl": { "type": "string" } }, "required": ["authUrl"], "additionalProperties": false, "definitions": {} }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "credentialName": { "type": "string" } }, "required": ["credentialName"], "additionalProperties": false, "definitions": {} }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "code": { "type": "string" }, "state": { "type": "string" } }, "required": ["code", "state"], "additionalProperties": false, "definitions": {} }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "credentialName": { "type": "string" } }, "required": ["credentialName"], "additionalProperties": false, "definitions": {} }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "credentialName": { "type": "string" } }, "required": ["credentialName"], "additionalProperties": false, "definitions": {} }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "success": { "type": "boolean" }, "error": { "type": "string" } }, "required": ["success"], "additionalProperties": false, "definitions": {} }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "credentialName": { "type": "string" } }, "required": ["credentialName"], "additionalProperties": false, "definitions": {} }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "connected": { "type": "boolean" }, "hasRefreshToken": { "type": "boolean" }, "expiresAt": { "type": "number" }, "isExpired": { "type": "boolean" } }, "required": ["connected"], "additionalProperties": false, "definitions": {} }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "credentialName": { "type": "string" } }, "required": ["credentialName"], "additionalProperties": false, "definitions": {} }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "valid": { "type": "boolean" }, "error": { "type": "string" } }, "required": ["valid"], "additionalProperties": false, "definitions": {} }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "runId": { "type": "string" } }, "required": ["runId"], "additionalProperties": false, "definitions": {} }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-secret-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/secrets/pikku-secret-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAC/C,YAAY,EAAE,UAAU,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-secret-types.gen.js","sourceRoot":"","sources":["../../../.pikku/secrets/pikku-secret-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.3
|
|
3
|
+
*/
|
|
4
|
+
import { TypedSecretService as CoreTypedSecretService } from '@pikku/core/services';
|
|
5
|
+
import type { SecretService } from '@pikku/core/services';
|
|
6
|
+
export interface CredentialsMap {
|
|
7
|
+
}
|
|
8
|
+
export type SecretId = keyof CredentialsMap;
|
|
9
|
+
export declare class TypedSecretService extends CoreTypedSecretService<CredentialsMap> {
|
|
10
|
+
constructor(secrets: SecretService);
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=pikku-secrets.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-secrets.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/secrets/pikku-secrets.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,kBAAkB,IAAI,sBAAsB,EAAuB,MAAM,sBAAsB,CAAA;AACxG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAEzD,MAAM,WAAW,cAAc;CAE9B;AAED,MAAM,MAAM,QAAQ,GAAG,MAAM,cAAc,CAAA;AAM3C,qBAAa,kBAAmB,SAAQ,sBAAsB,CAAC,cAAc,CAAC;gBAChE,OAAO,EAAE,aAAa;CAGnC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.3
|
|
3
|
+
*/
|
|
4
|
+
import { TypedSecretService as CoreTypedSecretService } from '@pikku/core/services';
|
|
5
|
+
const CREDENTIALS_META = {};
|
|
6
|
+
export class TypedSecretService extends CoreTypedSecretService {
|
|
7
|
+
constructor(secrets) {
|
|
8
|
+
super(secrets, CREDENTIALS_META);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=pikku-secrets.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-secrets.gen.js","sourceRoot":"","sources":["../../../.pikku/secrets/pikku-secrets.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,kBAAkB,IAAI,sBAAsB,EAAuB,MAAM,sBAAsB,CAAA;AASxG,MAAM,gBAAgB,GAAmC,EAExD,CAAA;AAED,MAAM,OAAO,kBAAmB,SAAQ,sBAAsC;IAC5E,YAAY,OAAsB;QAChC,KAAK,CAAC,OAAO,EAAE,gBAAgB,CAAC,CAAA;IAClC,CAAC;CACF"}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.3
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Trigger-specific type definitions for tree-shaking optimization
|
|
6
|
+
*/
|
|
7
|
+
import { CorePikkuTriggerFunction, CorePikkuTriggerFunctionConfig, CoreTrigger } from '@pikku/core/trigger';
|
|
8
|
+
import type { CoreNodeConfig } from '@pikku/core/node';
|
|
9
|
+
import type { SingletonServices } from '../../types/application-types.d.js';
|
|
10
|
+
import type { StandardSchemaV1 } from '@standard-schema/spec';
|
|
11
|
+
/**
|
|
12
|
+
* A trigger function that sets up a subscription and returns a teardown function.
|
|
13
|
+
* The trigger is fired via wire.trigger.invoke(data).
|
|
14
|
+
*
|
|
15
|
+
* @template TInput - Input type (configuration passed when wired)
|
|
16
|
+
* @template TOutput - Output type produced when trigger fires
|
|
17
|
+
*/
|
|
18
|
+
export type PikkuTriggerFunction<TInput = unknown, TOutput = unknown> = CorePikkuTriggerFunction<TInput, TOutput, SingletonServices>;
|
|
19
|
+
/**
|
|
20
|
+
* Configuration object for creating a trigger function with metadata
|
|
21
|
+
*/
|
|
22
|
+
export type PikkuTriggerFunctionConfig<TInput = unknown, TOutput = unknown, InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined> = CorePikkuTriggerFunctionConfig<TInput, TOutput, SingletonServices, InputSchema, OutputSchema>;
|
|
23
|
+
/**
|
|
24
|
+
* Helper type to infer the output type from a Standard Schema
|
|
25
|
+
*/
|
|
26
|
+
type InferSchemaOutput<T> = T extends StandardSchemaV1<any, infer Output> ? Output : never;
|
|
27
|
+
/**
|
|
28
|
+
* Configuration object for trigger functions with Zod schema validation.
|
|
29
|
+
* Use this when you want to define input/output schemas using Zod.
|
|
30
|
+
* Types are automatically inferred from the schemas.
|
|
31
|
+
*/
|
|
32
|
+
export type PikkuTriggerFunctionConfigWithSchema<InputSchema extends StandardSchemaV1, OutputSchema extends StandardSchemaV1 | undefined = undefined> = {
|
|
33
|
+
title?: string;
|
|
34
|
+
description?: string;
|
|
35
|
+
tags?: string[];
|
|
36
|
+
func: PikkuTriggerFunction<InferSchemaOutput<InputSchema>, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown>;
|
|
37
|
+
input: InputSchema;
|
|
38
|
+
output?: OutputSchema;
|
|
39
|
+
node?: CoreNodeConfig;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Type definition for trigger wirings.
|
|
43
|
+
* Declares a trigger name and its target pikku function.
|
|
44
|
+
*/
|
|
45
|
+
export type TriggerWiring = CoreTrigger;
|
|
46
|
+
/**
|
|
47
|
+
* A trigger source with the subscription function, using project-specific services.
|
|
48
|
+
*
|
|
49
|
+
* @template TInput - Input type passed to the trigger function
|
|
50
|
+
* @template TOutput - Output type produced when trigger fires
|
|
51
|
+
*/
|
|
52
|
+
export type TriggerSource<TInput = unknown, TOutput = unknown> = {
|
|
53
|
+
name: string;
|
|
54
|
+
func: PikkuTriggerFunctionConfig<TInput, TOutput>;
|
|
55
|
+
} & (unknown extends TInput ? {
|
|
56
|
+
input?: TInput;
|
|
57
|
+
} : {
|
|
58
|
+
input: TInput;
|
|
59
|
+
});
|
|
60
|
+
/**
|
|
61
|
+
* Creates a trigger function configuration.
|
|
62
|
+
* Use this to define trigger functions that set up subscriptions.
|
|
63
|
+
*
|
|
64
|
+
* @param triggerOrConfig - Function definition or configuration object
|
|
65
|
+
* @returns The normalized configuration object
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* ```typescript
|
|
69
|
+
* export const redisSubscribeTrigger = pikkuTriggerFunc<
|
|
70
|
+
* { channel: string },
|
|
71
|
+
* { message: string }
|
|
72
|
+
* >(async ({ redis }, { channel }, { trigger }) => {
|
|
73
|
+
* const subscriber = redis.duplicate()
|
|
74
|
+
* await subscriber.subscribe(channel, (msg) => {
|
|
75
|
+
* trigger.invoke({ message: msg })
|
|
76
|
+
* })
|
|
77
|
+
* return () => subscriber.unsubscribe()
|
|
78
|
+
* })
|
|
79
|
+
*
|
|
80
|
+
* export const redisSubscribeTrigger = pikkuTriggerFunc({
|
|
81
|
+
* title: 'Redis Subscribe Trigger',
|
|
82
|
+
* description: 'Listens to Redis pub/sub channel',
|
|
83
|
+
* input: z.object({ channel: z.string() }),
|
|
84
|
+
* output: z.object({ message: z.string() }),
|
|
85
|
+
* func: async ({ redis }, { channel }, { trigger }) => {
|
|
86
|
+
* const subscriber = redis.duplicate()
|
|
87
|
+
* await subscriber.subscribe(channel, (msg) => {
|
|
88
|
+
* trigger.invoke({ message: msg })
|
|
89
|
+
* })
|
|
90
|
+
* return () => subscriber.unsubscribe()
|
|
91
|
+
* }
|
|
92
|
+
* })
|
|
93
|
+
* ```
|
|
94
|
+
*/
|
|
95
|
+
export declare function pikkuTriggerFunc<InputSchema extends StandardSchemaV1, OutputSchema extends StandardSchemaV1 | undefined = undefined>(config: PikkuTriggerFunctionConfigWithSchema<InputSchema, OutputSchema>): PikkuTriggerFunctionConfig<InferSchemaOutput<InputSchema>, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown, InputSchema, OutputSchema>;
|
|
96
|
+
export declare function pikkuTriggerFunc<TInput, TOutput = unknown>(triggerOrConfig: PikkuTriggerFunction<TInput, TOutput> | PikkuTriggerFunctionConfig<TInput, TOutput>): PikkuTriggerFunctionConfig<TInput, TOutput>;
|
|
97
|
+
/**
|
|
98
|
+
* Registers a trigger with the Pikku framework.
|
|
99
|
+
* Declares a trigger name and its target pikku function.
|
|
100
|
+
* Runs everywhere — inspector extracts at build time.
|
|
101
|
+
*
|
|
102
|
+
* @param trigger - Trigger definition with name and function config
|
|
103
|
+
*/
|
|
104
|
+
export declare const wireTrigger: (trigger: TriggerWiring) => void;
|
|
105
|
+
/**
|
|
106
|
+
* Registers a trigger source with the Pikku framework.
|
|
107
|
+
* Provides the subscription function and input data.
|
|
108
|
+
* Only imported in the trigger worker process.
|
|
109
|
+
*
|
|
110
|
+
* @param source - Trigger source with name, func, and input
|
|
111
|
+
*/
|
|
112
|
+
export declare const wireTriggerSource: <TInput = unknown, TOutput = unknown>(source: TriggerSource<TInput, TOutput>) => void;
|
|
113
|
+
export {};
|
|
114
|
+
//# sourceMappingURL=pikku-trigger-types.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-trigger-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/trigger/pikku-trigger-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,EAAE,wBAAwB,EAAE,8BAA8B,EAAE,WAAW,EAA8E,MAAM,qBAAqB,CAAA;AACvL,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAA;AAC3E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAI7D;;;;;;GAMG;AACH,MAAM,MAAM,oBAAoB,CAC9B,MAAM,GAAG,OAAO,EAChB,OAAO,GAAG,OAAO,IACf,wBAAwB,CAAC,MAAM,EAAE,OAAO,EAAE,iBAAiB,CAAC,CAAA;AAEhE;;GAEG;AACH,MAAM,MAAM,0BAA0B,CACpC,MAAM,GAAG,OAAO,EAChB,OAAO,GAAG,OAAO,EACjB,WAAW,SAAS,gBAAgB,GAAG,SAAS,GAAG,SAAS,EAC5D,YAAY,SAAS,gBAAgB,GAAG,SAAS,GAAG,SAAS,IAC3D,8BAA8B,CAAC,MAAM,EAAE,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,YAAY,CAAC,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,0BAA0B,CAAC,iBAAiB,CAAC,WAAW,CAAC,EAAE,YAAY,SAAS,gBAAgB,GAAG,iBAAiB,CAAC,YAAY,CAAC,GAAG,OAAO,EAAE,WAAW,EAAE,YAAY,CAAC,CAAA;AAC3K,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,OAAO,GAAG,OAAO,EACxD,eAAe,EACX,oBAAoB,CAAC,MAAM,EAAE,OAAO,CAAC,GACrC,0BAA0B,CAAC,MAAM,EAAE,OAAO,CAAC,GAC9C,0BAA0B,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AAQ9C;;;;;;GAMG;AACH,eAAO,MAAM,WAAW,GACtB,SAAS,aAAa,SAGvB,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,GAAI,MAAM,GAAG,OAAO,EAAE,OAAO,GAAG,OAAO,EACnE,QAAQ,aAAa,CAAC,MAAM,EAAE,OAAO,CAAC,SAGvC,CAAA"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.3
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Trigger-specific type definitions for tree-shaking optimization
|
|
6
|
+
*/
|
|
7
|
+
import { wireTrigger as wireTriggerCore, wireTriggerSource as wireTriggerSourceCore } from '@pikku/core/trigger';
|
|
8
|
+
export function pikkuTriggerFunc(triggerOrConfig) {
|
|
9
|
+
if (typeof triggerOrConfig === 'function') {
|
|
10
|
+
return { func: triggerOrConfig };
|
|
11
|
+
}
|
|
12
|
+
return triggerOrConfig;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Registers a trigger with the Pikku framework.
|
|
16
|
+
* Declares a trigger name and its target pikku function.
|
|
17
|
+
* Runs everywhere — inspector extracts at build time.
|
|
18
|
+
*
|
|
19
|
+
* @param trigger - Trigger definition with name and function config
|
|
20
|
+
*/
|
|
21
|
+
export const wireTrigger = (trigger) => {
|
|
22
|
+
wireTriggerCore(trigger);
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Registers a trigger source with the Pikku framework.
|
|
26
|
+
* Provides the subscription function and input data.
|
|
27
|
+
* Only imported in the trigger worker process.
|
|
28
|
+
*
|
|
29
|
+
* @param source - Trigger source with name, func, and input
|
|
30
|
+
*/
|
|
31
|
+
export const wireTriggerSource = (source) => {
|
|
32
|
+
wireTriggerSourceCore(source);
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=pikku-trigger-types.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-trigger-types.gen.js","sourceRoot":"","sources":["../../../.pikku/trigger/pikku-trigger-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,EAAyE,WAAW,IAAI,eAAe,EAAE,iBAAiB,IAAI,qBAAqB,EAAE,MAAM,qBAAqB,CAAA;AAyHvL,MAAM,UAAU,gBAAgB,CAAC,eAAoB;IACnD,IAAI,OAAO,eAAe,KAAK,UAAU,EAAE,CAAC;QAC1C,OAAO,EAAE,IAAI,EAAE,eAAe,EAAE,CAAA;IAClC,CAAC;IACD,OAAO,eAAe,CAAA;AACxB,CAAC;AAED;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,CACzB,OAAsB,EACtB,EAAE;IACF,eAAe,CAAC,OAAc,CAAC,CAAA;AACjC,CAAC,CAAA;AAED;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAC/B,MAAsC,EACtC,EAAE;IACF,qBAAqB,CAAC,MAAa,CAAC,CAAA;AACtC,CAAC,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.3
|
|
3
|
+
*/
|
|
4
|
+
export { wireVariable } from '@pikku/core/variable';
|
|
5
|
+
export type { CoreVariable, VariableDefinitionMeta, VariableDefinitionsMeta } from '@pikku/core/variable';
|
|
6
|
+
//# sourceMappingURL=pikku-variable-types.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-variable-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/variables/pikku-variable-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACnD,YAAY,EAAE,YAAY,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-variable-types.gen.js","sourceRoot":"","sources":["../../../.pikku/variables/pikku-variable-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.3
|
|
3
|
+
*/
|
|
4
|
+
import { TypedVariablesService as CoreTypedVariablesService } from '@pikku/core/services';
|
|
5
|
+
import type { VariablesService } from '@pikku/core/services';
|
|
6
|
+
export interface VariablesMap {
|
|
7
|
+
}
|
|
8
|
+
export type VariableId = keyof VariablesMap;
|
|
9
|
+
export declare class TypedVariablesService extends CoreTypedVariablesService<VariablesMap> {
|
|
10
|
+
constructor(variables: VariablesService);
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=pikku-variables.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-variables.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/variables/pikku-variables.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,qBAAqB,IAAI,yBAAyB,EAAqB,MAAM,sBAAsB,CAAA;AAC5G,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAE5D,MAAM,WAAW,YAAY;CAE5B;AAED,MAAM,MAAM,UAAU,GAAG,MAAM,YAAY,CAAA;AAM3C,qBAAa,qBAAsB,SAAQ,yBAAyB,CAAC,YAAY,CAAC;gBACpE,SAAS,EAAE,gBAAgB;CAGxC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.3
|
|
3
|
+
*/
|
|
4
|
+
import { TypedVariablesService as CoreTypedVariablesService } from '@pikku/core/services';
|
|
5
|
+
const VARIABLES_META = {};
|
|
6
|
+
export class TypedVariablesService extends CoreTypedVariablesService {
|
|
7
|
+
constructor(variables) {
|
|
8
|
+
super(variables, VARIABLES_META);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=pikku-variables.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-variables.gen.js","sourceRoot":"","sources":["../../../.pikku/variables/pikku-variables.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,qBAAqB,IAAI,yBAAyB,EAAqB,MAAM,sBAAsB,CAAA;AAS5G,MAAM,cAAc,GAAiC,EAEpD,CAAA;AAED,MAAM,OAAO,qBAAsB,SAAQ,yBAAuC;IAChF,YAAY,SAA2B;QACrC,KAAK,CAAC,SAAS,EAAE,cAAc,CAAC,CAAA;IAClC,CAAC;CACF"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.3
|
|
3
|
+
*/
|
|
4
|
+
import { WorkflowCancelledException } from '@pikku/core/workflow';
|
|
5
|
+
import { template } from '@pikku/core/workflow';
|
|
6
|
+
import { type PikkuWorkflowGraphConfig, type PikkuWorkflowGraphResult } from '@pikku/core/workflow';
|
|
7
|
+
import type { PikkuWorkflowWire, WorkflowStepOptions } from '@pikku/core/workflow';
|
|
8
|
+
export { WorkflowCancelledException };
|
|
9
|
+
import type { PikkuFunctionSessionless, PikkuFunctionConfig } from '../function/pikku-function-types.gen.js';
|
|
10
|
+
import type { RPCMap, FlattenedRPCMap } from '../rpc/pikku-rpc-wirings-map.internal.gen.d.js';
|
|
11
|
+
import type { WorkflowMap, GraphsMap } from './pikku-workflow-map.gen.d.js';
|
|
12
|
+
export { template };
|
|
13
|
+
export interface TypedWorkflow extends PikkuWorkflowWire {
|
|
14
|
+
do<K extends keyof RPCMap>(stepName: string, rpcName: K, data: RPCMap[K]['input'], options?: WorkflowStepOptions): Promise<RPCMap[K]['output']>;
|
|
15
|
+
do<T>(stepName: string, fn: () => T | Promise<T>, options?: WorkflowStepOptions): Promise<T>;
|
|
16
|
+
}
|
|
17
|
+
export type PikkuFunctionWorkflow<In = unknown, Out = never> = PikkuFunctionSessionless<In, Out, 'workflow'>;
|
|
18
|
+
export declare const pikkuWorkflowFunc: <In, Out = unknown>(func: PikkuFunctionWorkflow<In, Out> | PikkuFunctionConfig<In, Out, "workflow", PikkuFunctionWorkflow<In, Out>>) => PikkuFunctionConfig<In, Out, "workflow", PikkuFunctionWorkflow<In, Out>>;
|
|
19
|
+
export declare const pikkuWorkflowComplexFunc: <In, Out = unknown>(func: PikkuFunctionWorkflow<In, Out> | PikkuFunctionConfig<In, Out, "workflow", PikkuFunctionWorkflow<In, Out>>) => PikkuFunctionConfig<In, Out, "workflow", PikkuFunctionWorkflow<In, Out>>;
|
|
20
|
+
type TypedRef<T> = {
|
|
21
|
+
$ref: string;
|
|
22
|
+
path?: string;
|
|
23
|
+
} & {
|
|
24
|
+
__phantomType?: T;
|
|
25
|
+
};
|
|
26
|
+
type TemplateString = {
|
|
27
|
+
$template: {
|
|
28
|
+
parts: string[];
|
|
29
|
+
expressions: Array<{
|
|
30
|
+
$ref: string;
|
|
31
|
+
path?: string;
|
|
32
|
+
}>;
|
|
33
|
+
};
|
|
34
|
+
} & {
|
|
35
|
+
__brand: 'TemplateString';
|
|
36
|
+
};
|
|
37
|
+
type InputWithRefs<T> = {
|
|
38
|
+
[K in keyof T]?: T[K] | TypedRef<T[K]> | TypedRef<unknown> | TemplateString;
|
|
39
|
+
};
|
|
40
|
+
type NodeInputType<FuncMap extends Record<string, string>, K extends keyof FuncMap> = FuncMap[K] extends keyof FlattenedRPCMap ? InputWithRefs<FlattenedRPCMap[FuncMap[K]]['input']> : Record<string, unknown>;
|
|
41
|
+
type NodeOutputKeys<FuncMap extends Record<string, string>, N extends string> = N extends keyof FuncMap ? FuncMap[N] extends keyof FlattenedRPCMap ? keyof FlattenedRPCMap[FuncMap[N]]['output'] & string : string : string;
|
|
42
|
+
type RefFunction<FuncMap extends Record<string, string>> = {
|
|
43
|
+
<N extends Extract<keyof FuncMap, string>>(nodeId: N, path: NodeOutputKeys<FuncMap, N>): TypedRef<unknown>;
|
|
44
|
+
(nodeId: 'trigger' | '$item', path?: string): TypedRef<unknown>;
|
|
45
|
+
};
|
|
46
|
+
type TemplateFunction = (templateStr: string, refs: TypedRef<unknown>[]) => TemplateString;
|
|
47
|
+
type GraphNodeConfigMap<FuncMap extends Record<string, string>> = {
|
|
48
|
+
[K in Extract<keyof FuncMap, string>]?: {
|
|
49
|
+
next?: NextConfig<Extract<keyof FuncMap, string>>;
|
|
50
|
+
input?: NodeInputType<FuncMap, K> | (() => NodeInputType<FuncMap, K>) | ((ref: RefFunction<FuncMap>, template: TemplateFunction) => NodeInputType<FuncMap, K>);
|
|
51
|
+
onError?: Extract<keyof FuncMap, string> | Extract<keyof FuncMap, string>[];
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
type NextConfig<NodeIds extends string> = NodeIds | NodeIds[] | {
|
|
55
|
+
if: string;
|
|
56
|
+
then: NodeIds;
|
|
57
|
+
else?: NodeIds;
|
|
58
|
+
};
|
|
59
|
+
export declare function pikkuWorkflowGraph<const FuncMap extends Record<string, keyof FlattenedRPCMap & string>>(config: PikkuWorkflowGraphConfig<FuncMap, GraphNodeConfigMap<FuncMap>>): PikkuWorkflowGraphResult;
|
|
60
|
+
export declare const workflow: <Name extends keyof WorkflowMap>(workflowName: Name, options?: {
|
|
61
|
+
pollIntervalMs?: number;
|
|
62
|
+
}) => PikkuFunctionConfig<WorkflowMap[Name]["input"], WorkflowMap[Name]["output"], "session" | "rpc">;
|
|
63
|
+
export declare const workflowStart: <Name extends keyof WorkflowMap>(workflowName: Name) => PikkuFunctionConfig<WorkflowMap[Name]["input"], {
|
|
64
|
+
runId: string;
|
|
65
|
+
}, "session" | "rpc">;
|
|
66
|
+
export declare const workflowStatus: <Name extends keyof WorkflowMap>(_workflowName: Name) => PikkuFunctionConfig<{
|
|
67
|
+
runId: string;
|
|
68
|
+
}, {
|
|
69
|
+
id: string;
|
|
70
|
+
status: "running" | "completed" | "failed" | "cancelled";
|
|
71
|
+
output?: WorkflowMap[Name]["output"];
|
|
72
|
+
error?: {
|
|
73
|
+
message?: string;
|
|
74
|
+
};
|
|
75
|
+
}, "session" | "rpc">;
|
|
76
|
+
export declare const graphStart: <Name extends keyof GraphsMap, Node extends string & keyof GraphsMap[Name]>(graphName: Name, startNode: Node) => PikkuFunctionConfig<GraphsMap[Name][Node] extends {
|
|
77
|
+
input: infer I;
|
|
78
|
+
} ? I : never, {
|
|
79
|
+
runId: string;
|
|
80
|
+
}, "session" | "rpc">;
|
|
81
|
+
//# sourceMappingURL=pikku-workflow-types.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-workflow-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/workflow/pikku-workflow-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAA;AAOjE,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAC/C,OAAO,EAEL,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC9B,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAElF,OAAO,EAAE,0BAA0B,EAAE,CAAA;AACrC,O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AM,CAAA;KAAE,CAAA;CAAE,EAC5I,SAAS,GAAG,KAAK,CAEpB,CAAA;AAED,eAAO,MAAM,UAAU,GAAI,IAAI,SAAS,MAAM,SAAS,EAAE,IAAI,SAAS,MAAM,GAAG,MAAM,SAAS,CAAC,IAAI,CAAC,EAClG,WAAW,IAAI,EACf,WAAW,IAAI,KAEiF,mBAAmB,CACjH,SAAS,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,SAAS;IAAE,KAAK,EAAE,MAAM,CAAC,CAAA;CAAE,GAAG,CAAC,GAAG,KAAK,EAC5D;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,EACjB,SAAS,GAAG,KAAK,CAEpB,CAAA"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.3
|
|
3
|
+
*/
|
|
4
|
+
import { WorkflowCancelledException } from '@pikku/core/workflow';
|
|
5
|
+
import { workflow as coreWorkflow, workflowStart as coreWorkflowStart, workflowStatus as coreWorkflowStatus, graphStart as coreGraphStart, } from '@pikku/core/workflow';
|
|
6
|
+
import { template } from '@pikku/core/workflow';
|
|
7
|
+
import { pikkuWorkflowGraph as corePikkuWorkflowGraph, } from '@pikku/core/workflow';
|
|
8
|
+
export { WorkflowCancelledException };
|
|
9
|
+
export { template };
|
|
10
|
+
export const pikkuWorkflowFunc = (func) => {
|
|
11
|
+
return typeof func === 'function' ? { func } : func;
|
|
12
|
+
};
|
|
13
|
+
export const pikkuWorkflowComplexFunc = (func) => {
|
|
14
|
+
return typeof func === 'function' ? { func } : func;
|
|
15
|
+
};
|
|
16
|
+
export function pikkuWorkflowGraph(config) {
|
|
17
|
+
return corePikkuWorkflowGraph(config);
|
|
18
|
+
}
|
|
19
|
+
export const workflow = (workflowName, options) => {
|
|
20
|
+
return coreWorkflow(workflowName, options);
|
|
21
|
+
};
|
|
22
|
+
export const workflowStart = (workflowName) => {
|
|
23
|
+
return coreWorkflowStart(workflowName);
|
|
24
|
+
};
|
|
25
|
+
export const workflowStatus = (_workflowName) => {
|
|
26
|
+
return coreWorkflowStatus(_workflowName);
|
|
27
|
+
};
|
|
28
|
+
export const graphStart = (graphName, startNode) => {
|
|
29
|
+
return coreGraphStart(graphName, startNode);
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=pikku-workflow-types.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-workflow-types.gen.js","sourceRoot":"","sources":["../../../.pikku/workflow/pikku-workflow-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAA;AACjE,OAAO,EACL,QAAQ,IAAI,YAAY,EACxB,aAAa,IAAI,iBAAiB,EAClC,cAAc,IAAI,kBAAkB,EACpC,UAAU,IAAI,cAAc,GAC7B,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAC/C,OAAO,EACL,kBAAkB,IAAI,sBAAsB,GAG7C,MAAM,sBAAsB,CAAA;AAG7B,OAAO,EAAE,0BAA0B,EAAE,CAAA;AAKrC,OAAO,EAAE,QAAQ,EAAE,CAAA;AAsBnB,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAC/B,IAE4E,EAC5E,EAAE;IACF,OAAO,OAAO,IAAI,KAAK,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAA;AACrD,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,wBAAwB,GAAG,CACtC,IAE4E,EAC5E,EAAE;IACF,OAAO,OAAO,IAAI,KAAK,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAA;AACrD,CAAC,CAAA;AAkDD,MAAM,UAAU,kBAAkB,CAGhC,MAAsE;IAEtE,OAAO,sBAAsB,CAAC,MAAa,CAAC,CAAA;AAC9C,CAAC;AAED,MAAM,CAAC,MAAM,QAAQ,GAAG,CACtB,YAAkB,EAClB,OAAqC,EACrC,EAAE;IACF,OAAO,YAAY,CAAc,YAA0C,EAAE,OAAO,CAInF,CAAA;AACH,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,aAAa,GAAG,CAC3B,YAAkB,EAClB,EAAE;IACF,OAAO,iBAAiB,CAAc,YAA0C,CAI/E,CAAA;AACH,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,cAAc,GAAG,CAC5B,aAAmB,EACnB,EAAE;IACF,OAAO,kBAAkB,CAAc,aAA2C,CAIjF,CAAA;AACH,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,UAAU,GAAG,CACxB,SAAe,EACf,SAAe,EACf,EAAE;IACF,OAAO,cAAc,CAAY,SAAqC,EAAE,SAAmB,CAI1F,CAAA;AACH,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-workflow-wirings-meta.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/workflow/pikku-workflow-wirings-meta.gen.ts"],"names":[],"mappings":""}
|