@pikku/addon-graph 0.12.12 → 0.12.14
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/CHANGELOG.md +423 -0
- package/dist/.pikku/addon/agent/index.d.ts +8 -0
- package/dist/.pikku/addon/agent/index.d.ts.map +1 -0
- package/dist/.pikku/addon/agent/index.js +8 -0
- package/dist/.pikku/addon/agent/index.js.map +1 -0
- package/dist/.pikku/{agent → addon/agent}/pikku-agent-types.gen.d.ts +50 -8
- package/dist/.pikku/addon/agent/pikku-agent-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/agent/pikku-agent-types.gen.js +61 -0
- package/dist/.pikku/addon/agent/pikku-agent-types.gen.js.map +1 -0
- package/dist/.pikku/addon/agent/pikku-model-aliases.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/agent/pikku-model-aliases.gen.js +6 -0
- package/dist/.pikku/addon/agent/pikku-model-aliases.gen.js.map +1 -0
- package/dist/.pikku/addon/auth/index.d.ts +8 -0
- package/dist/.pikku/addon/auth/index.d.ts.map +1 -0
- package/dist/.pikku/addon/auth/index.js +8 -0
- package/dist/.pikku/addon/auth/index.js.map +1 -0
- package/dist/.pikku/addon/auth/pikku-auth-types.gen.d.ts +109 -0
- package/dist/.pikku/addon/auth/pikku-auth-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/auth/pikku-auth-types.gen.js +76 -0
- package/dist/.pikku/addon/auth/pikku-auth-types.gen.js.map +1 -0
- package/dist/.pikku/addon/channel/index.d.ts +8 -0
- package/dist/.pikku/addon/channel/index.d.ts.map +1 -0
- package/dist/.pikku/addon/channel/index.js +8 -0
- package/dist/.pikku/addon/channel/index.js.map +1 -0
- package/dist/.pikku/{channel → addon/channel}/pikku-channel-types.gen.d.ts +12 -43
- package/dist/.pikku/addon/channel/pikku-channel-types.gen.d.ts.map +1 -0
- package/dist/.pikku/{channel → addon/channel}/pikku-channel-types.gen.js +8 -20
- package/dist/.pikku/addon/channel/pikku-channel-types.gen.js.map +1 -0
- package/dist/.pikku/addon/error/index.d.ts +8 -0
- package/dist/.pikku/addon/error/index.d.ts.map +1 -0
- package/dist/.pikku/addon/error/index.js +8 -0
- package/dist/.pikku/addon/error/index.js.map +1 -0
- package/dist/.pikku/addon/error/pikku-error-types.gen.d.ts +8 -0
- package/dist/.pikku/addon/error/pikku-error-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/error/pikku-error-types.gen.js +8 -0
- package/dist/.pikku/addon/error/pikku-error-types.gen.js.map +1 -0
- package/dist/.pikku/addon/function/index.d.ts +8 -0
- package/dist/.pikku/addon/function/index.d.ts.map +1 -0
- package/dist/.pikku/addon/function/index.js +8 -0
- package/dist/.pikku/addon/function/index.js.map +1 -0
- package/dist/.pikku/addon/function/pikku-function-types.gen.d.ts +279 -0
- package/dist/.pikku/addon/function/pikku-function-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/function/pikku-function-types.gen.js +129 -0
- package/dist/.pikku/addon/function/pikku-function-types.gen.js.map +1 -0
- package/dist/.pikku/addon/function/pikku-functions-meta.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/function/pikku-functions-meta.gen.js +7 -0
- package/dist/.pikku/addon/function/pikku-functions-meta.gen.js.map +1 -0
- package/dist/.pikku/addon/function/pikku-functions.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/function/pikku-functions.gen.js +74 -0
- package/dist/.pikku/addon/function/pikku-functions.gen.js.map +1 -0
- package/dist/.pikku/addon/http/index.d.ts +8 -0
- package/dist/.pikku/addon/http/index.d.ts.map +1 -0
- package/dist/.pikku/addon/http/index.js +8 -0
- package/dist/.pikku/addon/http/index.js.map +1 -0
- package/dist/.pikku/addon/http/pikku-http-types.gen.d.ts +52 -0
- package/dist/.pikku/addon/http/pikku-http-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/http/pikku-http-types.gen.js +11 -0
- package/dist/.pikku/addon/http/pikku-http-types.gen.js.map +1 -0
- package/dist/.pikku/addon/mcp/index.d.ts +8 -0
- package/dist/.pikku/addon/mcp/index.d.ts.map +1 -0
- package/dist/.pikku/addon/mcp/index.js +8 -0
- package/dist/.pikku/addon/mcp/index.js.map +1 -0
- package/dist/.pikku/{mcp → addon/mcp}/pikku-mcp-types.gen.d.ts +12 -36
- package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.js +16 -0
- package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.js.map +1 -0
- package/dist/.pikku/addon/middleware/index.d.ts +8 -0
- package/dist/.pikku/addon/middleware/index.d.ts.map +1 -0
- package/dist/.pikku/addon/middleware/index.js +8 -0
- package/dist/.pikku/addon/middleware/index.js.map +1 -0
- package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.d.ts +134 -0
- package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.js +114 -0
- package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.js.map +1 -0
- package/dist/.pikku/{pikku-bootstrap-scenarios.gen.d.ts → addon/pikku-bootstrap-scenarios.gen.d.ts} +1 -1
- package/dist/.pikku/addon/pikku-bootstrap-scenarios.gen.d.ts.map +1 -0
- package/dist/.pikku/{pikku-bootstrap-scenarios.gen.js → addon/pikku-bootstrap-scenarios.gen.js} +1 -1
- package/dist/.pikku/addon/pikku-bootstrap-scenarios.gen.js.map +1 -0
- package/dist/.pikku/{pikku-bootstrap.gen.d.ts → addon/pikku-bootstrap.gen.d.ts} +2 -2
- package/dist/.pikku/addon/pikku-bootstrap.gen.d.ts.map +1 -0
- package/dist/.pikku/{pikku-bootstrap.gen.js → addon/pikku-bootstrap.gen.js} +2 -2
- package/dist/.pikku/addon/pikku-bootstrap.gen.js.map +1 -0
- package/dist/.pikku/addon/pikku-package.gen.js +3 -3
- package/dist/.pikku/addon/pikku-package.gen.js.map +1 -1
- package/dist/.pikku/{pikku-services.gen.d.ts → addon/pikku-services.gen.d.ts} +9 -8
- package/dist/.pikku/addon/pikku-services.gen.d.ts.map +1 -0
- package/dist/.pikku/{pikku-services.gen.js → addon/pikku-services.gen.js} +5 -4
- package/dist/.pikku/addon/pikku-services.gen.js.map +1 -0
- package/dist/.pikku/addon/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/rpc/pikku-rpc-wirings-meta.internal.gen.js +7 -0
- package/dist/.pikku/addon/rpc/pikku-rpc-wirings-meta.internal.gen.js.map +1 -0
- package/dist/.pikku/addon/scenarios/index.d.ts +8 -0
- package/dist/.pikku/addon/scenarios/index.d.ts.map +1 -0
- package/dist/.pikku/addon/scenarios/index.js +8 -0
- package/dist/.pikku/addon/scenarios/index.js.map +1 -0
- package/dist/.pikku/{workflow → addon/scenarios}/pikku-personas.gen.d.ts +17 -2
- package/dist/.pikku/addon/scenarios/pikku-personas.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/scenarios/pikku-personas.gen.js +29 -0
- package/dist/.pikku/addon/scenarios/pikku-personas.gen.js.map +1 -0
- package/dist/.pikku/addon/scenarios/pikku-scenario-functions-meta.gen.d.ts.map +1 -0
- package/dist/.pikku/{scenarios → addon/scenarios}/pikku-scenario-functions-meta.gen.js +2 -2
- package/dist/.pikku/addon/scenarios/pikku-scenario-functions-meta.gen.js.map +1 -0
- package/dist/.pikku/addon/scenarios/pikku-scenario-functions.gen.d.ts +5 -0
- package/dist/.pikku/addon/scenarios/pikku-scenario-functions.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/scenarios/pikku-scenario-functions.gen.js.map +1 -0
- package/dist/.pikku/{workflow/pikku-workflow-types.gen.d.ts → addon/scenarios/pikku-scenario-types.gen.d.ts} +72 -97
- package/dist/.pikku/addon/scenarios/pikku-scenario-types.gen.d.ts.map +1 -0
- package/dist/.pikku/{workflow/pikku-workflow-types.gen.js → addon/scenarios/pikku-scenario-types.gen.js} +13 -16
- package/dist/.pikku/addon/scenarios/pikku-scenario-types.gen.js.map +1 -0
- package/dist/.pikku/addon/scenarios/pikku-scenario-wirings-meta.gen.d.ts.map +1 -0
- package/dist/.pikku/{scenarios → addon/scenarios}/pikku-scenario-wirings-meta.gen.js +2 -2
- package/dist/.pikku/addon/scenarios/pikku-scenario-wirings-meta.gen.js.map +1 -0
- package/dist/.pikku/addon/scenarios/pikku-scenario-wirings.gen.d.ts +5 -0
- package/dist/.pikku/addon/scenarios/pikku-scenario-wirings.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/scenarios/pikku-scenario-wirings.gen.js.map +1 -0
- package/dist/.pikku/addon/scenarios/schemas/register.gen.d.ts +5 -0
- package/dist/.pikku/addon/scenarios/schemas/register.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/scenarios/schemas/register.gen.js +5 -0
- package/dist/.pikku/addon/scenarios/schemas/register.gen.js.map +1 -0
- package/dist/.pikku/addon/schemas/register.gen.d.ts.map +1 -0
- package/dist/.pikku/{schemas → addon/schemas}/register.gen.js +2 -2
- package/dist/.pikku/addon/schemas/register.gen.js.map +1 -0
- package/dist/.pikku/addon/scopes/index.d.ts +8 -0
- package/dist/.pikku/addon/scopes/index.d.ts.map +1 -0
- package/dist/.pikku/addon/scopes/index.js +8 -0
- package/dist/.pikku/addon/scopes/index.js.map +1 -0
- package/dist/.pikku/{scopes → addon/scopes}/pikku-personas.gen.d.ts +4 -13
- package/dist/.pikku/addon/scopes/pikku-personas.gen.d.ts.map +1 -0
- package/dist/.pikku/{scopes → addon/scopes}/pikku-personas.gen.js +1 -1
- package/dist/.pikku/addon/scopes/pikku-personas.gen.js.map +1 -0
- package/dist/.pikku/{scopes → addon/scopes}/pikku-roles.gen.d.ts +2 -2
- package/dist/.pikku/addon/scopes/pikku-roles.gen.d.ts.map +1 -0
- package/dist/.pikku/{scopes → addon/scopes}/pikku-roles.gen.js +1 -1
- package/dist/.pikku/addon/scopes/pikku-roles.gen.js.map +1 -0
- package/dist/.pikku/addon/scopes/pikku-scope-types.gen.d.ts +6 -0
- package/dist/.pikku/addon/scopes/pikku-scope-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/scopes/pikku-scope-types.gen.js +6 -0
- package/dist/.pikku/addon/scopes/pikku-scope-types.gen.js.map +1 -0
- package/dist/.pikku/{scopes → addon/scopes}/pikku-scopes.gen.d.ts +2 -2
- package/dist/.pikku/addon/scopes/pikku-scopes.gen.d.ts.map +1 -0
- package/dist/.pikku/{scopes → addon/scopes}/pikku-scopes.gen.js +1 -1
- package/dist/.pikku/addon/scopes/pikku-scopes.gen.js.map +1 -0
- package/dist/.pikku/addon/secrets/index.d.ts +9 -0
- package/dist/.pikku/addon/secrets/index.d.ts.map +1 -0
- package/dist/.pikku/addon/secrets/index.js +9 -0
- package/dist/.pikku/addon/secrets/index.js.map +1 -0
- package/dist/.pikku/addon/secrets/pikku-secret-types.gen.d.ts +5 -0
- package/dist/.pikku/addon/secrets/pikku-secret-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/secrets/pikku-secret-types.gen.js +5 -0
- package/dist/.pikku/addon/secrets/pikku-secret-types.gen.js.map +1 -0
- package/dist/.pikku/addon/secrets/pikku-secrets.gen.d.ts +26 -0
- package/dist/.pikku/addon/secrets/pikku-secrets.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/secrets/pikku-secrets.gen.js +23 -0
- package/dist/.pikku/addon/secrets/pikku-secrets.gen.js.map +1 -0
- package/dist/.pikku/{pikku-meta-service.gen.d.ts → addon/services/pikku-meta-service.gen.d.ts} +1 -1
- package/dist/.pikku/addon/services/pikku-meta-service.gen.d.ts.map +1 -0
- package/dist/.pikku/{pikku-meta-service.gen.js → addon/services/pikku-meta-service.gen.js} +2 -2
- package/dist/.pikku/addon/services/pikku-meta-service.gen.js.map +1 -0
- package/dist/.pikku/addon/setup/index.d.ts +9 -0
- package/dist/.pikku/addon/setup/index.d.ts.map +1 -0
- package/dist/.pikku/addon/setup/index.js +9 -0
- package/dist/.pikku/addon/setup/index.js.map +1 -0
- package/dist/.pikku/addon/{pikku-addon-types.gen.d.ts → setup/pikku-addon-setup-types.gen.d.ts} +6 -6
- package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/{pikku-addon-types.gen.js → setup/pikku-addon-setup-types.gen.js} +2 -2
- package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.js.map +1 -0
- package/dist/.pikku/addon/setup/pikku-setup-types.gen.d.ts +55 -0
- package/dist/.pikku/addon/setup/pikku-setup-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/setup/pikku-setup-types.gen.js +80 -0
- package/dist/.pikku/addon/setup/pikku-setup-types.gen.js.map +1 -0
- package/dist/.pikku/addon/trigger/index.d.ts +8 -0
- package/dist/.pikku/addon/trigger/index.d.ts.map +1 -0
- package/dist/.pikku/addon/trigger/index.js +8 -0
- package/dist/.pikku/addon/trigger/index.js.map +1 -0
- package/dist/.pikku/{trigger → addon/trigger}/pikku-trigger-types.gen.d.ts +7 -38
- package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.js +13 -0
- package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.js.map +1 -0
- package/dist/.pikku/addon/variables/index.d.ts +9 -0
- package/dist/.pikku/addon/variables/index.d.ts.map +1 -0
- package/dist/.pikku/addon/variables/index.js +9 -0
- package/dist/.pikku/addon/variables/index.js.map +1 -0
- package/dist/.pikku/addon/variables/pikku-variable-types.gen.d.ts +5 -0
- package/dist/.pikku/addon/variables/pikku-variable-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/variables/pikku-variable-types.gen.js +5 -0
- package/dist/.pikku/addon/variables/pikku-variable-types.gen.js.map +1 -0
- package/dist/.pikku/addon/variables/pikku-variables-meta.gen.json +1 -0
- package/dist/.pikku/addon/variables/pikku-variables.gen.d.ts +27 -0
- package/dist/.pikku/addon/variables/pikku-variables.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/variables/pikku-variables.gen.js +23 -0
- package/dist/.pikku/addon/variables/pikku-variables.gen.js.map +1 -0
- package/dist/.pikku/addon/workflow/index.d.ts +8 -0
- package/dist/.pikku/addon/workflow/index.d.ts.map +1 -0
- package/dist/.pikku/addon/workflow/index.js +8 -0
- package/dist/.pikku/addon/workflow/index.js.map +1 -0
- package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.d.ts +134 -0
- package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.js +23 -0
- package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.js.map +1 -0
- package/dist/.pikku/addon/workflow/pikku-workflow-wirings-meta.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/workflow/pikku-workflow-wirings-meta.gen.js +7 -0
- package/dist/.pikku/addon/workflow/pikku-workflow-wirings-meta.gen.js.map +1 -0
- package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.d.ts +5 -0
- package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.js +5 -0
- package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.js.map +1 -0
- package/dist/src/functions/array/aggregate.function.d.ts +4 -4
- package/dist/src/functions/array/aggregate.function.d.ts.map +1 -1
- package/dist/src/functions/array/aggregate.function.js +1 -1
- package/dist/src/functions/array/aggregate.function.js.map +1 -1
- package/dist/src/functions/array/chunk.function.d.ts +4 -4
- package/dist/src/functions/array/chunk.function.d.ts.map +1 -1
- package/dist/src/functions/array/chunk.function.js +1 -1
- package/dist/src/functions/array/chunk.function.js.map +1 -1
- package/dist/src/functions/array/fanout.function.d.ts +4 -4
- package/dist/src/functions/array/fanout.function.d.ts.map +1 -1
- package/dist/src/functions/array/fanout.function.js +1 -1
- package/dist/src/functions/array/fanout.function.js.map +1 -1
- package/dist/src/functions/array/find.function.d.ts +4 -4
- package/dist/src/functions/array/find.function.d.ts.map +1 -1
- package/dist/src/functions/array/find.function.js +1 -1
- package/dist/src/functions/array/find.function.js.map +1 -1
- package/dist/src/functions/array/group-by.function.d.ts +4 -4
- package/dist/src/functions/array/group-by.function.d.ts.map +1 -1
- package/dist/src/functions/array/group-by.function.js +1 -1
- package/dist/src/functions/array/group-by.function.js.map +1 -1
- package/dist/src/functions/array/limit.function.d.ts +4 -4
- package/dist/src/functions/array/limit.function.d.ts.map +1 -1
- package/dist/src/functions/array/limit.function.js +1 -1
- package/dist/src/functions/array/limit.function.js.map +1 -1
- package/dist/src/functions/array/remove-duplicates.function.d.ts +4 -4
- package/dist/src/functions/array/remove-duplicates.function.d.ts.map +1 -1
- package/dist/src/functions/array/remove-duplicates.function.js +1 -1
- package/dist/src/functions/array/remove-duplicates.function.js.map +1 -1
- package/dist/src/functions/array/reverse.function.d.ts +4 -4
- package/dist/src/functions/array/reverse.function.d.ts.map +1 -1
- package/dist/src/functions/array/reverse.function.js +1 -1
- package/dist/src/functions/array/reverse.function.js.map +1 -1
- package/dist/src/functions/array/sort.function.d.ts +4 -4
- package/dist/src/functions/array/sort.function.d.ts.map +1 -1
- package/dist/src/functions/array/sort.function.js +1 -1
- package/dist/src/functions/array/sort.function.js.map +1 -1
- package/dist/src/functions/array/split-out.function.d.ts +4 -4
- package/dist/src/functions/array/split-out.function.d.ts.map +1 -1
- package/dist/src/functions/array/split-out.function.js +1 -1
- package/dist/src/functions/array/split-out.function.js.map +1 -1
- package/dist/src/functions/array/summarize.function.d.ts +4 -4
- package/dist/src/functions/array/summarize.function.d.ts.map +1 -1
- package/dist/src/functions/array/summarize.function.js +1 -1
- package/dist/src/functions/array/summarize.function.js.map +1 -1
- package/dist/src/functions/array/unique.function.d.ts +4 -4
- package/dist/src/functions/array/unique.function.d.ts.map +1 -1
- package/dist/src/functions/array/unique.function.js +1 -1
- package/dist/src/functions/array/unique.function.js.map +1 -1
- package/dist/src/functions/data/coalesce.function.d.ts +4 -4
- package/dist/src/functions/data/coalesce.function.d.ts.map +1 -1
- package/dist/src/functions/data/coalesce.function.js +1 -1
- package/dist/src/functions/data/coalesce.function.js.map +1 -1
- package/dist/src/functions/data/crypto.function.d.ts +4 -4
- package/dist/src/functions/data/crypto.function.d.ts.map +1 -1
- package/dist/src/functions/data/crypto.function.js +1 -1
- package/dist/src/functions/data/crypto.function.js.map +1 -1
- package/dist/src/functions/data/date-time.function.d.ts +4 -4
- package/dist/src/functions/data/date-time.function.d.ts.map +1 -1
- package/dist/src/functions/data/date-time.function.js +1 -1
- package/dist/src/functions/data/date-time.function.js.map +1 -1
- package/dist/src/functions/data/jwt.function.d.ts +8 -8
- package/dist/src/functions/data/jwt.function.d.ts.map +1 -1
- package/dist/src/functions/data/jwt.function.js +2 -2
- package/dist/src/functions/data/jwt.function.js.map +1 -1
- package/dist/src/functions/data/math.function.d.ts +4 -4
- package/dist/src/functions/data/math.function.d.ts.map +1 -1
- package/dist/src/functions/data/math.function.js +1 -1
- package/dist/src/functions/data/math.function.js.map +1 -1
- package/dist/src/functions/data/read-file.function.d.ts +4 -4
- package/dist/src/functions/data/read-file.function.d.ts.map +1 -1
- package/dist/src/functions/data/read-file.function.js +1 -1
- package/dist/src/functions/data/read-file.function.js.map +1 -1
- package/dist/src/functions/data/sleep.function.d.ts +4 -4
- package/dist/src/functions/data/sleep.function.d.ts.map +1 -1
- package/dist/src/functions/data/sleep.function.js +1 -1
- package/dist/src/functions/data/sleep.function.js.map +1 -1
- package/dist/src/functions/data/string-transform.function.d.ts +4 -4
- package/dist/src/functions/data/string-transform.function.d.ts.map +1 -1
- package/dist/src/functions/data/string-transform.function.js +1 -1
- package/dist/src/functions/data/string-transform.function.js.map +1 -1
- package/dist/src/functions/data/type-convert.function.d.ts +4 -4
- package/dist/src/functions/data/type-convert.function.d.ts.map +1 -1
- package/dist/src/functions/data/type-convert.function.js +1 -1
- package/dist/src/functions/data/type-convert.function.js.map +1 -1
- package/dist/src/functions/data/wait.function.d.ts +4 -4
- package/dist/src/functions/data/wait.function.d.ts.map +1 -1
- package/dist/src/functions/data/wait.function.js +1 -1
- package/dist/src/functions/data/wait.function.js.map +1 -1
- package/dist/src/functions/data/write-file.function.d.ts +4 -4
- package/dist/src/functions/data/write-file.function.d.ts.map +1 -1
- package/dist/src/functions/data/write-file.function.js +1 -1
- package/dist/src/functions/data/write-file.function.js.map +1 -1
- package/dist/src/functions/logic/branch.function.d.ts +4 -4
- package/dist/src/functions/logic/branch.function.d.ts.map +1 -1
- package/dist/src/functions/logic/branch.function.js +1 -1
- package/dist/src/functions/logic/branch.function.js.map +1 -1
- package/dist/src/functions/logic/stop-and-error.function.d.ts +4 -4
- package/dist/src/functions/logic/stop-and-error.function.d.ts.map +1 -1
- package/dist/src/functions/logic/stop-and-error.function.js +1 -1
- package/dist/src/functions/logic/stop-and-error.function.js.map +1 -1
- package/dist/src/functions/network/http-request.function.d.ts +4 -4
- package/dist/src/functions/network/http-request.function.d.ts.map +1 -1
- package/dist/src/functions/network/http-request.function.js +1 -1
- package/dist/src/functions/network/http-request.function.js.map +1 -1
- package/dist/src/functions/transform/concat.function.d.ts +4 -4
- package/dist/src/functions/transform/concat.function.d.ts.map +1 -1
- package/dist/src/functions/transform/concat.function.js +1 -1
- package/dist/src/functions/transform/concat.function.js.map +1 -1
- package/dist/src/functions/transform/edit-fields.function.d.ts +4 -4
- package/dist/src/functions/transform/edit-fields.function.d.ts.map +1 -1
- package/dist/src/functions/transform/edit-fields.function.js +1 -1
- package/dist/src/functions/transform/edit-fields.function.js.map +1 -1
- package/dist/src/functions/transform/merge.function.d.ts +4 -4
- package/dist/src/functions/transform/merge.function.d.ts.map +1 -1
- package/dist/src/functions/transform/merge.function.js +1 -1
- package/dist/src/functions/transform/merge.function.js.map +1 -1
- package/dist/src/functions/transform/omit.function.d.ts +4 -4
- package/dist/src/functions/transform/omit.function.d.ts.map +1 -1
- package/dist/src/functions/transform/omit.function.js +1 -1
- package/dist/src/functions/transform/omit.function.js.map +1 -1
- package/dist/src/functions/transform/pick.function.d.ts +4 -4
- package/dist/src/functions/transform/pick.function.d.ts.map +1 -1
- package/dist/src/functions/transform/pick.function.js +1 -1
- package/dist/src/functions/transform/pick.function.js.map +1 -1
- package/dist/src/functions/transform/rename-keys.function.d.ts +4 -4
- package/dist/src/functions/transform/rename-keys.function.d.ts.map +1 -1
- package/dist/src/functions/transform/rename-keys.function.js +1 -1
- package/dist/src/functions/transform/rename-keys.function.js.map +1 -1
- package/dist/src/functions/transform/split-text.function.d.ts +4 -4
- package/dist/src/functions/transform/split-text.function.d.ts.map +1 -1
- package/dist/src/functions/transform/split-text.function.js +1 -1
- package/dist/src/functions/transform/split-text.function.js.map +1 -1
- package/dist/src/http-requester.service.d.ts +2 -2
- package/dist/src/http-requester.service.d.ts.map +1 -1
- package/dist/src/http-requester.service.js +2 -2
- package/dist/src/http-requester.service.js.map +1 -1
- package/dist/src/services.d.ts +1 -1
- package/dist/src/services.d.ts.map +1 -1
- package/dist/src/services.js +1 -1
- package/dist/src/services.js.map +1 -1
- package/dist/types/application-types.d.ts +1 -1
- package/package.json +11 -13
- package/dist/.pikku/addon/pikku-addon-types.gen.d.ts.map +0 -1
- package/dist/.pikku/addon/pikku-addon-types.gen.js.map +0 -1
- package/dist/.pikku/agent/pikku-agent-map.gen.d.ts +0 -4
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts.map +0 -1
- package/dist/.pikku/agent/pikku-agent-types.gen.js +0 -21
- package/dist/.pikku/agent/pikku-agent-types.gen.js.map +0 -1
- package/dist/.pikku/agent/pikku-model-aliases.gen.d.ts.map +0 -1
- package/dist/.pikku/agent/pikku-model-aliases.gen.js +0 -6
- package/dist/.pikku/agent/pikku-model-aliases.gen.js.map +0 -1
- package/dist/.pikku/agent/pikku-scorer-names.gen.d.ts +0 -8
- package/dist/.pikku/channel/pikku-channel-types.gen.d.ts.map +0 -1
- package/dist/.pikku/channel/pikku-channel-types.gen.js.map +0 -1
- package/dist/.pikku/console/pikku-node-types.gen.d.ts +0 -7
- package/dist/.pikku/console/pikku-node-types.gen.d.ts.map +0 -1
- package/dist/.pikku/console/pikku-node-types.gen.js +0 -2
- package/dist/.pikku/console/pikku-node-types.gen.js.map +0 -1
- package/dist/.pikku/function/pikku-function-types.gen.d.ts +0 -504
- package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +0 -1
- package/dist/.pikku/function/pikku-function-types.gen.js +0 -352
- package/dist/.pikku/function/pikku-function-types.gen.js.map +0 -1
- package/dist/.pikku/function/pikku-functions-meta.gen.d.ts.map +0 -1
- package/dist/.pikku/function/pikku-functions-meta.gen.js +0 -7
- package/dist/.pikku/function/pikku-functions-meta.gen.js.map +0 -1
- package/dist/.pikku/function/pikku-functions.gen.d.ts.map +0 -1
- package/dist/.pikku/function/pikku-functions.gen.js +0 -74
- package/dist/.pikku/function/pikku-functions.gen.js.map +0 -1
- package/dist/.pikku/http/pikku-http-types.gen.d.ts +0 -98
- package/dist/.pikku/http/pikku-http-types.gen.d.ts.map +0 -1
- package/dist/.pikku/http/pikku-http-types.gen.js +0 -50
- package/dist/.pikku/http/pikku-http-types.gen.js.map +0 -1
- package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts.map +0 -1
- package/dist/.pikku/mcp/pikku-mcp-types.gen.js +0 -38
- package/dist/.pikku/mcp/pikku-mcp-types.gen.js.map +0 -1
- package/dist/.pikku/pikku-bootstrap-scenarios.gen.d.ts.map +0 -1
- package/dist/.pikku/pikku-bootstrap-scenarios.gen.js.map +0 -1
- package/dist/.pikku/pikku-bootstrap.gen.d.ts.map +0 -1
- package/dist/.pikku/pikku-bootstrap.gen.js.map +0 -1
- package/dist/.pikku/pikku-meta-service.gen.d.ts.map +0 -1
- package/dist/.pikku/pikku-meta-service.gen.js.map +0 -1
- package/dist/.pikku/pikku-services.gen.d.ts.map +0 -1
- package/dist/.pikku/pikku-services.gen.js.map +0 -1
- package/dist/.pikku/pikku-types.gen.d.ts +0 -13
- package/dist/.pikku/pikku-types.gen.d.ts.map +0 -1
- package/dist/.pikku/pikku-types.gen.js +0 -19
- package/dist/.pikku/pikku-types.gen.js.map +0 -1
- package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +0 -24
- package/dist/.pikku/queue/pikku-queue-types.gen.d.ts.map +0 -1
- package/dist/.pikku/queue/pikku-queue-types.gen.js +0 -17
- package/dist/.pikku/queue/pikku-queue-types.gen.js.map +0 -1
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +0 -647
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +0 -681
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.remote.gen.d.ts +0 -647
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts.map +0 -1
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +0 -7
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js.map +0 -1
- package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.d.ts.map +0 -1
- package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js.map +0 -1
- package/dist/.pikku/scenarios/pikku-scenario-functions.gen.d.ts +0 -5
- package/dist/.pikku/scenarios/pikku-scenario-functions.gen.d.ts.map +0 -1
- package/dist/.pikku/scenarios/pikku-scenario-functions.gen.js.map +0 -1
- package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.d.ts.map +0 -1
- package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js.map +0 -1
- package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.d.ts +0 -5
- package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.d.ts.map +0 -1
- package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.js.map +0 -1
- package/dist/.pikku/scenarios/schemas/register.gen.d.ts +0 -5
- package/dist/.pikku/scenarios/schemas/register.gen.d.ts.map +0 -1
- package/dist/.pikku/scenarios/schemas/register.gen.js +0 -5
- package/dist/.pikku/scenarios/schemas/register.gen.js.map +0 -1
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +0 -22
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts.map +0 -1
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +0 -17
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js.map +0 -1
- package/dist/.pikku/schemas/register.gen.d.ts.map +0 -1
- package/dist/.pikku/schemas/register.gen.js.map +0 -1
- package/dist/.pikku/scopes/pikku-personas.gen.d.ts.map +0 -1
- package/dist/.pikku/scopes/pikku-personas.gen.js.map +0 -1
- package/dist/.pikku/scopes/pikku-roles.gen.d.ts.map +0 -1
- package/dist/.pikku/scopes/pikku-roles.gen.js.map +0 -1
- package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts +0 -8
- package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts.map +0 -1
- package/dist/.pikku/scopes/pikku-scope-types.gen.js +0 -6
- package/dist/.pikku/scopes/pikku-scope-types.gen.js.map +0 -1
- package/dist/.pikku/scopes/pikku-scopes.gen.d.ts.map +0 -1
- package/dist/.pikku/scopes/pikku-scopes.gen.js.map +0 -1
- package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +0 -7
- package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts.map +0 -1
- package/dist/.pikku/secrets/pikku-secret-types.gen.js +0 -5
- package/dist/.pikku/secrets/pikku-secret-types.gen.js.map +0 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +0 -22
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts.map +0 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.js +0 -21
- package/dist/.pikku/secrets/pikku-secrets.gen.js.map +0 -1
- package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts.map +0 -1
- package/dist/.pikku/trigger/pikku-trigger-types.gen.js +0 -34
- package/dist/.pikku/trigger/pikku-trigger-types.gen.js.map +0 -1
- package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +0 -6
- package/dist/.pikku/variables/pikku-variable-types.gen.d.ts.map +0 -1
- package/dist/.pikku/variables/pikku-variable-types.gen.js +0 -5
- package/dist/.pikku/variables/pikku-variable-types.gen.js.map +0 -1
- package/dist/.pikku/variables/pikku-variables.gen.d.ts +0 -22
- package/dist/.pikku/variables/pikku-variables.gen.d.ts.map +0 -1
- package/dist/.pikku/variables/pikku-variables.gen.js +0 -21
- package/dist/.pikku/variables/pikku-variables.gen.js.map +0 -1
- package/dist/.pikku/workflow/pikku-personas.gen.d.ts.map +0 -1
- package/dist/.pikku/workflow/pikku-personas.gen.js +0 -18
- package/dist/.pikku/workflow/pikku-personas.gen.js.map +0 -1
- package/dist/.pikku/workflow/pikku-scenario-step-map.gen.d.ts +0 -18
- package/dist/.pikku/workflow/pikku-workflow-map.gen.d.ts +0 -38
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +0 -1
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +0 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.d.ts.map +0 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +0 -7
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js.map +0 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +0 -5
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts.map +0 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +0 -5
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js.map +0 -1
- /package/dist/.pikku/{agent → addon/agent}/pikku-model-aliases.gen.d.ts +0 -0
- /package/dist/.pikku/{scenarios/pikku-scenario-functions-meta.gen.json → addon/db/pikku-db-meta.gen.json} +0 -0
- /package/dist/.pikku/{function → addon/function}/pikku-functions-meta-verbose.gen.json +0 -0
- /package/dist/.pikku/{function → addon/function}/pikku-functions-meta.gen.d.ts +0 -0
- /package/dist/.pikku/{function → addon/function}/pikku-functions-meta.gen.json +0 -0
- /package/dist/.pikku/{function → addon/function}/pikku-functions.gen.d.ts +0 -0
- /package/dist/.pikku/{rpc → addon/rpc}/pikku-rpc-wirings-meta.internal.gen.d.ts +0 -0
- /package/dist/.pikku/{rpc → addon/rpc}/pikku-rpc-wirings-meta.internal.gen.json +0 -0
- /package/dist/.pikku/{scenarios → addon/scenarios}/pikku-scenario-functions-meta.gen.d.ts +0 -0
- /package/dist/.pikku/{scopes/pikku-personas-meta.gen.json → addon/scenarios/pikku-scenario-functions-meta.gen.json} +0 -0
- /package/dist/.pikku/{scenarios → addon/scenarios}/pikku-scenario-functions.gen.js +0 -0
- /package/dist/.pikku/{scenarios → addon/scenarios}/pikku-scenario-wirings-meta.gen.d.ts +0 -0
- /package/dist/.pikku/{scenarios → addon/scenarios}/pikku-scenario-wirings.gen.js +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/register.gen.d.ts +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/AggregateInput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/AggregateOutput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/BranchInput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/BranchOutput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/ChunkInput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/ChunkOutput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/CoalesceInput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/CoalesceOutput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/ConcatInput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/ConcatOutput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/CryptoInput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/CryptoOutput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/DateTimeInput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/DateTimeOutput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/EditFieldsInput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/EditFieldsOutput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/FanoutInput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/FanoutOutput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/FindInput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/FindOutput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/GroupByInput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/GroupByOutput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/HttpRequestInput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/HttpRequestOutput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/JwtDecodeInput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/JwtDecodeOutput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/JwtSignInput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/JwtSignOutput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/LimitInput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/LimitOutput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/MathInput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/MathOutput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/MergeInput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/MergeOutput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/OmitInput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/OmitOutput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/PickInput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/PickOutput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/ReadFileInput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/ReadFileOutput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/RemoveDuplicatesInput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/RemoveDuplicatesOutput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/RenameKeysInput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/RenameKeysOutput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/ReverseInput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/ReverseOutput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/SleepInput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/SleepOutput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/SortInput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/SortOutput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/SplitOutInput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/SplitOutOutput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/SplitTextInput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/SplitTextOutput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/StopAndErrorInput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/StopAndErrorOutput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/StringTransformInput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/StringTransformOutput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/SummarizeInput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/SummarizeOutput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/TypeConvertInput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/TypeConvertOutput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/UniqueInput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/UniqueOutput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/WaitInput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/WaitOutput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/WriteFileInput.schema.json +0 -0
- /package/dist/.pikku/{schemas → addon/schemas}/schemas/WriteFileOutput.schema.json +0 -0
- /package/dist/.pikku/{scopes/pikku-roles-meta.gen.json → addon/scopes/pikku-personas-meta.gen.json} +0 -0
- /package/dist/.pikku/{scopes/pikku-scopes-meta.gen.json → addon/scopes/pikku-roles-meta.gen.json} +0 -0
- /package/dist/.pikku/{secrets/pikku-secrets-meta.gen.json → addon/scopes/pikku-scopes-meta.gen.json} +0 -0
- /package/dist/.pikku/{variables/pikku-variables-meta.gen.json → addon/secrets/pikku-secrets-meta.gen.json} +0 -0
- /package/dist/.pikku/{workflow → addon/workflow}/pikku-workflow-wirings-meta.gen.d.ts +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.141
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* Trigger-specific type definitions for tree-shaking optimization
|
|
6
6
|
*/
|
|
7
|
-
import { CorePikkuTriggerFunction, CorePikkuTriggerFunctionConfig
|
|
8
|
-
import type { CoreNodeConfig } from '@pikku/core/
|
|
9
|
-
import type { SingletonServices } from '
|
|
7
|
+
import { CorePikkuTriggerFunction, CorePikkuTriggerFunctionConfig } from '@pikku/core/trigger';
|
|
8
|
+
import type { CoreNodeConfig } from '@pikku/core/node';
|
|
9
|
+
import type { SingletonServices } from '../../../types/application-types.d.js';
|
|
10
10
|
import type { StandardSchemaV1 } from '@standard-schema/spec';
|
|
11
11
|
/**
|
|
12
12
|
* A trigger function that sets up a subscription and returns a teardown function.
|
|
@@ -15,11 +15,11 @@ import type { StandardSchemaV1 } from '@standard-schema/spec';
|
|
|
15
15
|
* @template TInput - Input type (configuration passed when wired)
|
|
16
16
|
* @template TOutput - Output type produced when trigger fires
|
|
17
17
|
*/
|
|
18
|
-
|
|
18
|
+
type PikkuTriggerFunction<TInput = unknown, TOutput = unknown> = CorePikkuTriggerFunction<TInput, TOutput, SingletonServices>;
|
|
19
19
|
/**
|
|
20
20
|
* Configuration object for creating a trigger function with metadata
|
|
21
21
|
*/
|
|
22
|
-
|
|
22
|
+
type PikkuTriggerFunctionConfig<TInput = unknown, TOutput = unknown, InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined> = CorePikkuTriggerFunctionConfig<TInput, TOutput, SingletonServices, InputSchema, OutputSchema>;
|
|
23
23
|
/**
|
|
24
24
|
* Helper type to infer the output type from a Standard Schema
|
|
25
25
|
*/
|
|
@@ -29,7 +29,7 @@ type InferSchemaOutput<T> = T extends StandardSchemaV1<any, infer Output> ? Outp
|
|
|
29
29
|
* Use this when you want to define input/output schemas using Zod.
|
|
30
30
|
* Types are automatically inferred from the schemas.
|
|
31
31
|
*/
|
|
32
|
-
|
|
32
|
+
type PikkuTriggerFunctionConfigWithSchema<InputSchema extends StandardSchemaV1, OutputSchema extends StandardSchemaV1 | undefined = undefined> = {
|
|
33
33
|
title?: string;
|
|
34
34
|
description?: string;
|
|
35
35
|
tags?: string[];
|
|
@@ -42,21 +42,6 @@ export type PikkuTriggerFunctionConfigWithSchema<InputSchema extends StandardSch
|
|
|
42
42
|
* Type definition for trigger wirings.
|
|
43
43
|
* Declares a trigger name and its target pikku function.
|
|
44
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
45
|
/**
|
|
61
46
|
* Creates a trigger function configuration.
|
|
62
47
|
* Use this to define trigger functions that set up subscriptions.
|
|
@@ -94,21 +79,5 @@ export type TriggerSource<TInput = unknown, TOutput = unknown> = {
|
|
|
94
79
|
*/
|
|
95
80
|
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
81
|
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
82
|
export {};
|
|
114
83
|
//# sourceMappingURL=pikku-trigger-types.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-trigger-types.gen.d.ts","sourceRoot":"","sources":["../../../../.pikku/addon/trigger/pikku-trigger-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,EACL,wBAAwB,EACxB,8BAA8B,EAC/B,MAAM,qBAAqB,CAAA;AAC5B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAA;AAC9E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAI7D;;;;;;GAMG;AACH,KAAK,oBAAoB,CACvB,MAAM,GAAG,OAAO,EAChB,OAAO,GAAG,OAAO,IACf,wBAAwB,CAAC,MAAM,EAAE,OAAO,EAAE,iBAAiB,CAAC,CAAA;AAEhE;;GAEG;AACH,KAAK,0BAA0B,CAC7B,MAAM,GAAG,OAAO,EAChB,OAAO,GAAG,OAAO,EACjB,WAAW,SAAS,gBAAgB,GAAG,SAAS,GAAG,SAAS,EAC5D,YAAY,SAAS,gBAAgB,GAAG,SAA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AA0B,CAAC,MAAM,EAAE,OAAO,CAAC,GAC9C,0BAA0B,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.141
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Trigger-specific type definitions for tree-shaking optimization
|
|
6
|
+
*/
|
|
7
|
+
export function pikkuTriggerFunc(triggerOrConfig) {
|
|
8
|
+
if (typeof triggerOrConfig === 'function') {
|
|
9
|
+
return { func: triggerOrConfig };
|
|
10
|
+
}
|
|
11
|
+
return triggerOrConfig;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=pikku-trigger-types.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-trigger-types.gen.js","sourceRoot":"","sources":["../../../../.pikku/addon/trigger/pikku-trigger-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAgHH,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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../.pikku/addon/variables/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,cAAc,+BAA+B,CAAA;AAC7C,cAAc,0BAA0B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../.pikku/addon/variables/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,cAAc,+BAA+B,CAAA;AAC7C,cAAc,0BAA0B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-variable-types.gen.d.ts","sourceRoot":"","sources":["../../../../.pikku/addon/variables/pikku-variable-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-variable-types.gen.js","sourceRoot":"","sources":["../../../../.pikku/addon/variables/pikku-variable-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.141
|
|
3
|
+
*/
|
|
4
|
+
import { TypedVariablesService as CoreTypedVariablesService } from '@pikku/core/services';
|
|
5
|
+
import type { VariablesService } from '@pikku/core/services';
|
|
6
|
+
/**
|
|
7
|
+
* Side-effect import of the metadata sidecar, so that tsc emits the .json
|
|
8
|
+
* alongside this file. An addon publishes only its compiled output, and a host
|
|
9
|
+
* reads that .json off disk to discover the addon's declared variables — an
|
|
10
|
+
* uncopied sidecar leaves them invisible to the host. Nothing binds it: the
|
|
11
|
+
* sidecar is not part of `#pikku/variables`.
|
|
12
|
+
*/
|
|
13
|
+
import './pikku-variables-meta.gen.json';
|
|
14
|
+
/**
|
|
15
|
+
* Every variable this project declares with `defineVariable`, keyed by name. It
|
|
16
|
+
* is what gives `variables.get('NAME')` a real type.
|
|
17
|
+
*/
|
|
18
|
+
export interface VariablesMap {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* The `variables` service as this project sees it: `get('NAME')` resolves the
|
|
22
|
+
* value's type from `VariablesMap` instead of returning `unknown`.
|
|
23
|
+
*/
|
|
24
|
+
export declare class TypedVariablesService extends CoreTypedVariablesService<VariablesMap> {
|
|
25
|
+
constructor(variables: VariablesService);
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=pikku-variables.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-variables.gen.d.ts","sourceRoot":"","sources":["../../../../.pikku/addon/variables/pikku-variables.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,qBAAqB,IAAI,yBAAyB,EAEnD,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAC5D;;;;;;GAMG;AACH,OAAO,iCAAiC,CAAsB;AAE9D;;;GAGG;AACH,MAAM,WAAW,YAAY;CAE5B;AAMD;;;GAGG;AACH,qBAAa,qBAAsB,SAAQ,yBAAyB,CAAC,YAAY,CAAC;gBACpE,SAAS,EAAE,gBAAgB;CAGxC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.141
|
|
3
|
+
*/
|
|
4
|
+
import { TypedVariablesService as CoreTypedVariablesService, } from '@pikku/core/services';
|
|
5
|
+
/**
|
|
6
|
+
* Side-effect import of the metadata sidecar, so that tsc emits the .json
|
|
7
|
+
* alongside this file. An addon publishes only its compiled output, and a host
|
|
8
|
+
* reads that .json off disk to discover the addon's declared variables — an
|
|
9
|
+
* uncopied sidecar leaves them invisible to the host. Nothing binds it: the
|
|
10
|
+
* sidecar is not part of `#pikku/variables`.
|
|
11
|
+
*/
|
|
12
|
+
import './pikku-variables-meta.gen.json' with { type: 'json' };
|
|
13
|
+
const TYPED_VARIABLES_META = {};
|
|
14
|
+
/**
|
|
15
|
+
* The `variables` service as this project sees it: `get('NAME')` resolves the
|
|
16
|
+
* value's type from `VariablesMap` instead of returning `unknown`.
|
|
17
|
+
*/
|
|
18
|
+
export class TypedVariablesService extends CoreTypedVariablesService {
|
|
19
|
+
constructor(variables) {
|
|
20
|
+
super(variables, TYPED_VARIABLES_META);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=pikku-variables.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-variables.gen.js","sourceRoot":"","sources":["../../../../.pikku/addon/variables/pikku-variables.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,qBAAqB,IAAI,yBAAyB,GAEnD,MAAM,sBAAsB,CAAA;AAE7B;;;;;;GAMG;AACH,OAAO,iCAAiC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAU9D,MAAM,oBAAoB,GAAiC,EAE1D,CAAA;AAED;;;GAGG;AACH,MAAM,OAAO,qBAAsB,SAAQ,yBAAuC;IAChF,YAAY,SAA2B;QACrC,KAAK,CAAC,SAAS,EAAE,oBAAoB,CAAC,CAAA;IACxC,CAAC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../.pikku/addon/workflow/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,cAAc,+BAA+B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../.pikku/addon/workflow/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,cAAc,+BAA+B,CAAA"}
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.141
|
|
3
|
+
*/
|
|
4
|
+
import { WorkflowCancelledException } from '@pikku/core/workflow';
|
|
5
|
+
import type { PikkuWorkflowGraphConfig, PikkuWorkflowGraphResult } from '@pikku/core/workflow';
|
|
6
|
+
import type { PikkuWorkflowWire, WorkflowStepOptions } from '@pikku/core/workflow';
|
|
7
|
+
export { WorkflowCancelledException };
|
|
8
|
+
import type { PikkuFunctionSessionless, PikkuFunctionConfig } from '../function/pikku-function-types.gen.js';
|
|
9
|
+
import type { FlattenedRPCMap } from '../rpc/pikku-rpc-wirings-map.internal.gen.d.js';
|
|
10
|
+
import type { FlattenedWorkflowMap } from './pikku-workflow-map.gen.d.js';
|
|
11
|
+
import type { AgentMap as FlattenedAgentMap } from '../agent/pikku-agent-map.gen.d.js';
|
|
12
|
+
/**
|
|
13
|
+
* The wire a workflow step is handed: `step` to run one durably, plus sleeping,
|
|
14
|
+
* waiting for a signal and asking for approval.
|
|
15
|
+
*/
|
|
16
|
+
export interface TypedWorkflow extends PikkuWorkflowWire {
|
|
17
|
+
do<K extends keyof FlattenedRPCMap>(stepName: string, rpcName: K, data: FlattenedRPCMap[K]['input'], options?: WorkflowStepOptions): Promise<FlattenedRPCMap[K]['output']>;
|
|
18
|
+
do<K extends keyof FlattenedWorkflowMap>(stepName: string, workflowName: K, data: FlattenedWorkflowMap[K]['input'], options?: WorkflowStepOptions): Promise<FlattenedWorkflowMap[K]['output']>;
|
|
19
|
+
do<T>(stepName: string, fn: () => T | Promise<T>, options?: WorkflowStepOptions): Promise<T>;
|
|
20
|
+
}
|
|
21
|
+
import type { StandardSchemaV1 } from '@standard-schema/spec';
|
|
22
|
+
import type { InferSchemaOutput, NodeConfig, PikkuApprovalDescription } from '../function/pikku-function-types.gen.js';
|
|
23
|
+
import type { PikkuPermission } from '../auth/pikku-auth-types.gen.js';
|
|
24
|
+
import type { PikkuMiddleware } from '../middleware/pikku-middleware-types.gen.js';
|
|
25
|
+
import type { ScopeId } from '../scopes/pikku-scopes.gen.js';
|
|
26
|
+
import { PikkuError } from '@pikku/core/errors';
|
|
27
|
+
import type { CorePermissionGroup } from '@pikku/core/function';
|
|
28
|
+
/**
|
|
29
|
+
* The shape of a workflow's body — services, input, and the workflow wire.
|
|
30
|
+
*/
|
|
31
|
+
export type PikkuFunctionWorkflow<In = unknown, Out = never> = PikkuFunctionSessionless<In, Out, 'workflow'>;
|
|
32
|
+
type PikkuWorkflowConfigWithSchema<InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined> = {
|
|
33
|
+
title?: string;
|
|
34
|
+
description?: string;
|
|
35
|
+
tags?: string[];
|
|
36
|
+
expose?: boolean;
|
|
37
|
+
internal?: boolean;
|
|
38
|
+
override?: string;
|
|
39
|
+
version?: number;
|
|
40
|
+
remote?: boolean;
|
|
41
|
+
mcp?: boolean;
|
|
42
|
+
readonly?: boolean;
|
|
43
|
+
approvalRequired?: boolean;
|
|
44
|
+
approvalDescription?: InputSchema extends StandardSchemaV1 ? PikkuApprovalDescription<InferSchemaOutput<InputSchema>> : never;
|
|
45
|
+
middleware?: PikkuMiddleware[];
|
|
46
|
+
input?: InputSchema;
|
|
47
|
+
output?: OutputSchema;
|
|
48
|
+
node?: NodeConfig;
|
|
49
|
+
errors?: Array<typeof PikkuError>;
|
|
50
|
+
inline?: boolean;
|
|
51
|
+
func: PikkuFunctionWorkflow<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown>;
|
|
52
|
+
auth?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Scopes the session must hold to run this workflow. All of them are required
|
|
55
|
+
* (AND), and they are checked before `permissions`.
|
|
56
|
+
*/
|
|
57
|
+
scopes?: ScopeId[];
|
|
58
|
+
permissions?: InputSchema extends StandardSchemaV1 ? CorePermissionGroup<PikkuPermission<InferSchemaOutput<InputSchema>>> : undefined;
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* Declares a workflow: the DSL form, where each step is awaited in order and
|
|
62
|
+
* the runner persists progress between them so a restart resumes rather than
|
|
63
|
+
* replays. The default choice for a workflow.
|
|
64
|
+
*
|
|
65
|
+
* @example snippet: workflowSteps
|
|
66
|
+
*/
|
|
67
|
+
export declare function pikkuWorkflowFunc<InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined>(config: PikkuWorkflowConfigWithSchema<InputSchema, OutputSchema>): PikkuFunctionConfig<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown, 'workflow', PikkuFunctionWorkflow<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown>, InputSchema, OutputSchema>;
|
|
68
|
+
export declare function pikkuWorkflowFunc<In, Out = unknown>(func: PikkuFunctionWorkflow<In, Out> | PikkuFunctionConfig<In, Out, 'workflow', PikkuFunctionWorkflow<In, Out>>): PikkuFunctionConfig<In, Out, 'workflow'>;
|
|
69
|
+
/**
|
|
70
|
+
* Declares a workflow whose control flow the DSL cannot express - a loop whose
|
|
71
|
+
* bound is only known at runtime, or branching that rejoins. An escape hatch:
|
|
72
|
+
* reach for `pikkuWorkflowFunc` unless the shape genuinely needs this.
|
|
73
|
+
*
|
|
74
|
+
* @example snippet: workflowComplexFunc
|
|
75
|
+
*/
|
|
76
|
+
export declare function pikkuWorkflowComplexFunc<InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined>(config: PikkuWorkflowConfigWithSchema<InputSchema, OutputSchema>): PikkuFunctionConfig<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown, 'workflow', PikkuFunctionWorkflow<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown>, InputSchema, OutputSchema>;
|
|
77
|
+
export declare function pikkuWorkflowComplexFunc<In, Out = unknown>(func: PikkuFunctionWorkflow<In, Out> | PikkuFunctionConfig<In, Out, 'workflow', PikkuFunctionWorkflow<In, Out>>): PikkuFunctionConfig<In, Out, 'workflow'>;
|
|
78
|
+
type TypedRef<T> = {
|
|
79
|
+
$ref: string;
|
|
80
|
+
path?: string;
|
|
81
|
+
} & {
|
|
82
|
+
__phantomType?: T;
|
|
83
|
+
};
|
|
84
|
+
type TemplateString = {
|
|
85
|
+
$template: {
|
|
86
|
+
parts: string[];
|
|
87
|
+
expressions: Array<{
|
|
88
|
+
$ref: string;
|
|
89
|
+
path?: string;
|
|
90
|
+
}>;
|
|
91
|
+
};
|
|
92
|
+
} & {
|
|
93
|
+
__brand: 'TemplateString';
|
|
94
|
+
};
|
|
95
|
+
type InputWithRefs<T> = {
|
|
96
|
+
[K in keyof T]?: T[K] | TypedRef<T[K]> | TypedRef<unknown> | TemplateString;
|
|
97
|
+
};
|
|
98
|
+
type NodeInputType<FuncMap extends Record<string, string>, K extends keyof FuncMap> = FuncMap[K] extends keyof FlattenedRPCMap ? InputWithRefs<FlattenedRPCMap[FuncMap[K]]['input']> : FuncMap[K] extends keyof FlattenedWorkflowMap ? InputWithRefs<FlattenedWorkflowMap[FuncMap[K]]['input']> : Record<string, unknown>;
|
|
99
|
+
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 : FuncMap[N] extends keyof FlattenedWorkflowMap ? keyof FlattenedWorkflowMap[FuncMap[N]]['output'] & string : FuncMap[N] extends keyof FlattenedAgentMap ? keyof FlattenedAgentMap[FuncMap[N]]['output'] & string : string : string;
|
|
100
|
+
type RefFunction<FuncMap extends Record<string, string>> = {
|
|
101
|
+
<N extends Extract<keyof FuncMap, string>>(nodeId: N, path: NodeOutputKeys<FuncMap, N>): TypedRef<unknown>;
|
|
102
|
+
<N extends Extract<keyof FuncMap, string>>(nodeId: N): TypedRef<unknown>;
|
|
103
|
+
(nodeId: 'trigger' | '$item', path?: string): TypedRef<unknown>;
|
|
104
|
+
};
|
|
105
|
+
type TemplateFunction = (templateStr: string, refs: TypedRef<unknown>[]) => TemplateString;
|
|
106
|
+
type ItemFunction = (path?: string) => TypedRef<unknown>;
|
|
107
|
+
type ForEachConfig<FuncMap extends Record<string, string>> = Extract<keyof FuncMap, string> | ((ref: RefFunction<FuncMap>) => TypedRef<unknown>);
|
|
108
|
+
type GraphNodeConfigMap<FuncMap extends Record<string, string>> = {
|
|
109
|
+
[K in Extract<keyof FuncMap, string>]?: {
|
|
110
|
+
next?: NextConfig<Extract<keyof FuncMap, string>>;
|
|
111
|
+
/** Run this node once per element of an upstream array. Its result becomes the ordered array of per-item results. */
|
|
112
|
+
forEach?: ForEachConfig<FuncMap>;
|
|
113
|
+
/** How the per-item instances of a forEach node run. Defaults to 'parallel'. */
|
|
114
|
+
mode?: 'parallel' | 'sequential';
|
|
115
|
+
input?: NodeInputType<FuncMap, K> | (() => NodeInputType<FuncMap, K>) | ((ref: RefFunction<FuncMap>, template: TemplateFunction, $item: ItemFunction) => NodeInputType<FuncMap, K>);
|
|
116
|
+
onError?: Extract<keyof FuncMap, string> | Extract<keyof FuncMap, string>[];
|
|
117
|
+
/** Free-text node documentation. Non-semantic — excluded from graphHash. */
|
|
118
|
+
notes?: string;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
type NextConfig<NodeIds extends string> = NodeIds | NodeIds[] | {
|
|
122
|
+
if: string;
|
|
123
|
+
then: NodeIds;
|
|
124
|
+
else?: NodeIds;
|
|
125
|
+
};
|
|
126
|
+
/**
|
|
127
|
+
* Declares a workflow as an explicit node graph, for a genuine cyclic
|
|
128
|
+
* dependency or a Node-only import the DSL cannot carry. The last resort of the
|
|
129
|
+
* three.
|
|
130
|
+
*
|
|
131
|
+
* @example snippet: workflowGraph
|
|
132
|
+
*/
|
|
133
|
+
export declare function pikkuWorkflowGraph<const FuncMap extends Record<string, (keyof FlattenedRPCMap & string) | (keyof FlattenedWorkflowMap & string) | (keyof FlattenedAgentMap & string)>>(config: PikkuWorkflowGraphConfig<FuncMap, GraphNodeConfigMap<FuncMap>>): PikkuWorkflowGraphResult;
|
|
134
|
+
//# sourceMappingURL=pikku-workflow-types.g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E,CAAA;AAE7G;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAChC,KAAK,CAAC,OAAO,SAAS,MAAM,CAC1B,MAAM,EACJ,CAAC,MAAM,eAAe,GAAG,MAAM,CAAC,GAChC,CAAC,MAAM,oBAAoB,GAAG,MAAM,CAAC,GACrC,CAAC,MAAM,iBAAiB,GAAG,MAAM,CAAC,CACrC,EAED,MAAM,EAAE,wBAAwB,CAAC,OAAO,EAAE,kBAAkB,CAAC,OAAO,CAAC,CAAC,GACrE,wBAAwB,CAE1B"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.141
|
|
3
|
+
*/
|
|
4
|
+
import { WorkflowCancelledException } from '@pikku/core/workflow';
|
|
5
|
+
import { pikkuWorkflowGraph as corePikkuWorkflowGraph } from '@pikku/core/workflow';
|
|
6
|
+
export { WorkflowCancelledException };
|
|
7
|
+
export function pikkuWorkflowFunc(func) {
|
|
8
|
+
return typeof func === 'function' ? { func } : func;
|
|
9
|
+
}
|
|
10
|
+
export function pikkuWorkflowComplexFunc(func) {
|
|
11
|
+
return typeof func === 'function' ? { func } : func;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Declares a workflow as an explicit node graph, for a genuine cyclic
|
|
15
|
+
* dependency or a Node-only import the DSL cannot carry. The last resort of the
|
|
16
|
+
* three.
|
|
17
|
+
*
|
|
18
|
+
* @example snippet: workflowGraph
|
|
19
|
+
*/
|
|
20
|
+
export function pikkuWorkflowGraph(config) {
|
|
21
|
+
return corePikkuWorkflowGraph(config);
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=pikku-workflow-types.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-workflow-types.gen.js","sourceRoot":"","sources":["../../../../.pikku/addon/workflow/pikku-workflow-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAA;AACjE,OAAO,EAAE,kBAAkB,IAAI,sBAAsB,EAAE,MAAM,sBAAsB,CAAA;AAUnF,OAAO,EAAE,0BAA0B,EAAE,CAAA;AAqGrC,MAAM,UAAU,iBAAiB,CAAC,IAAS;IACzC,OAAO,OAAO,IAAI,KAAK,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAA;AACrD,CAAC;AAoBD,MAAM,UAAU,wBAAwB,CAAC,IAAS;IAChD,OAAO,OAAO,IAAI,KAAK,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAA;AACrD,CAAC;AAqED;;;;;;GAMG;AACH,MAAM,UAAU,kBAAkB,CAQhC,MAAsE;IAEtE,OAAO,sBAAsB,CAAC,MAAa,CAAC,CAAA;AAC9C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-workflow-wirings-meta.gen.d.ts","sourceRoot":"","sources":["../../../../.pikku/addon/workflow/pikku-workflow-wirings-meta.gen.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.141
|
|
3
|
+
*/
|
|
4
|
+
import { pikkuState } from '@pikku/core/state';
|
|
5
|
+
const workflowsMeta = {};
|
|
6
|
+
pikkuState('@pikku/addon-graph', 'workflows', 'meta', workflowsMeta);
|
|
7
|
+
//# sourceMappingURL=pikku-workflow-wirings-meta.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-workflow-wirings-meta.gen.js","sourceRoot":"","sources":["../../../../.pikku/addon/workflow/pikku-workflow-wirings-meta.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAG9C,MAAM,aAAa,GAAyB,EAAE,CAAA;AAE9C,UAAU,CAAC,oBAAoB,EAAE,WAAW,EAAE,MAAM,EAAE,aAAa,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-workflow-wirings.gen.d.ts","sourceRoot":"","sources":["../../../../.pikku/addon/workflow/pikku-workflow-wirings.gen.ts"],"names":[],"mappings":";AAAA;;GAEG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-workflow-wirings.gen.js","sourceRoot":"","sources":["../../../../.pikku/addon/workflow/pikku-workflow-wirings.gen.ts"],"names":[],"mappings":";AAAA;;GAEG"}
|
|
@@ -19,7 +19,7 @@ export declare const AggregateInput: z.ZodObject<{
|
|
|
19
19
|
export declare const AggregateOutput: z.ZodObject<{
|
|
20
20
|
item: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
21
21
|
}, z.core.$strip>;
|
|
22
|
-
export declare const aggregate: import("#pikku").PikkuFunctionConfig<{
|
|
22
|
+
export declare const aggregate: import("#pikku/addon/function").PikkuFunctionConfig<{
|
|
23
23
|
items: Record<string, unknown>[];
|
|
24
24
|
field?: string | undefined;
|
|
25
25
|
outputField?: string | undefined;
|
|
@@ -32,7 +32,7 @@ export declare const aggregate: import("#pikku").PikkuFunctionConfig<{
|
|
|
32
32
|
includeAllItems?: boolean | undefined;
|
|
33
33
|
}, {
|
|
34
34
|
item: Record<string, unknown>;
|
|
35
|
-
}, "rpc" | "session", import("#pikku").PikkuFunctionSessionless<{
|
|
35
|
+
}, "rpc" | "session", import("#pikku/addon/function").PikkuFunctionSessionless<{
|
|
36
36
|
items: Record<string, unknown>[];
|
|
37
37
|
field?: string | undefined;
|
|
38
38
|
outputField?: string | undefined;
|
|
@@ -45,7 +45,7 @@ export declare const aggregate: import("#pikku").PikkuFunctionConfig<{
|
|
|
45
45
|
includeAllItems?: boolean | undefined;
|
|
46
46
|
}, {
|
|
47
47
|
item: Record<string, unknown>;
|
|
48
|
-
}, "rpc" | "session", import("#pikku").WiredServices, unknown> | import("#pikku").PikkuFunction<{
|
|
48
|
+
}, "rpc" | "session", import("#pikku/addon/function").WiredServices, unknown> | import("#pikku/addon/function").PikkuFunction<{
|
|
49
49
|
items: Record<string, unknown>[];
|
|
50
50
|
field?: string | undefined;
|
|
51
51
|
outputField?: string | undefined;
|
|
@@ -58,5 +58,5 @@ export declare const aggregate: import("#pikku").PikkuFunctionConfig<{
|
|
|
58
58
|
includeAllItems?: boolean | undefined;
|
|
59
59
|
}, {
|
|
60
60
|
item: Record<string, unknown>;
|
|
61
|
-
}, "rpc" | "session", import("#pikku").WiredServices>, undefined, undefined>;
|
|
61
|
+
}, "rpc" | "session", import("#pikku/addon/function").WiredServices>, undefined, undefined>;
|
|
62
62
|
//# sourceMappingURL=aggregate.function.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aggregate.function.d.ts","sourceRoot":"","sources":["../../../../src/functions/array/aggregate.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,mBAAmB;;;;iBAO9B,CAAA;AAEF,eAAO,MAAM,cAAc;;;;;;;;;;;iBAuBzB,CAAA;AAEF,eAAO,MAAM,eAAe;;iBAI1B,CAAA;AAiBF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"aggregate.function.d.ts","sourceRoot":"","sources":["../../../../src/functions/array/aggregate.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,mBAAmB;;;;iBAO9B,CAAA;AAEF,eAAO,MAAM,cAAc;;;;;;;;;;;iBAuBzB,CAAA;AAEF,eAAO,MAAM,eAAe;;iBAI1B,CAAA;AAiBF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2FAqCpB,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { pikkuSessionlessFunc } from '#pikku';
|
|
2
|
+
import { pikkuSessionlessFunc } from '#pikku/addon/function';
|
|
3
3
|
export const AggregateFieldInput = z.object({
|
|
4
4
|
field: z.string().describe('The field path to collect values from'),
|
|
5
5
|
outputField: z
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aggregate.function.js","sourceRoot":"","sources":["../../../../src/functions/array/aggregate.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"aggregate.function.js","sourceRoot":"","sources":["../../../../src/functions/array/aggregate.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAA;AAE5D,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,uCAAuC,CAAC;IACnE,WAAW,EAAE,CAAC;SACX,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,2DAA2D,CAAC;IACxE,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,4BAA4B,CAAC;CACtE,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,KAAK,EAAE,CAAC;SACL,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;SACxC,QAAQ,CAAC,iCAAiC,CAAC;IAC9C,KAAK,EAAE,CAAC;SACL,MAAM,EAAE;SACR,QAAQ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AAC,CAAC,MAAM,IAAI,KAAK,CAAC,CAAA;YACtE,CAAC;YACD,OAAO,EAAE,IAAI,EAAE,CAAA;QACjB,CAAC;QAED,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,IAAI,YAAY,CAAA;QACpD,OAAO;YACL,IAAI,EAAE,EAAE,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,KAAK,IAAI,EAAE,EAAE,IAAI,CAAC,MAAM,IAAI,KAAK,CAAC,EAAE;SACzE,CAAA;IACH,CAAC;CACF,CAAC,CAAA"}
|
|
@@ -6,20 +6,20 @@ export declare const ChunkInput: z.ZodObject<{
|
|
|
6
6
|
export declare const ChunkOutput: z.ZodObject<{
|
|
7
7
|
chunks: z.ZodArray<z.ZodArray<z.ZodUnknown>>;
|
|
8
8
|
}, z.core.$strip>;
|
|
9
|
-
export declare const chunk: import("#pikku").PikkuFunctionConfig<{
|
|
9
|
+
export declare const chunk: import("#pikku/addon/function").PikkuFunctionConfig<{
|
|
10
10
|
items: unknown[];
|
|
11
11
|
size: number;
|
|
12
12
|
}, {
|
|
13
13
|
chunks: unknown[][];
|
|
14
|
-
}, "rpc" | "session", import("#pikku").PikkuFunctionSessionless<{
|
|
14
|
+
}, "rpc" | "session", import("#pikku/addon/function").PikkuFunctionSessionless<{
|
|
15
15
|
items: unknown[];
|
|
16
16
|
size: number;
|
|
17
17
|
}, {
|
|
18
18
|
chunks: unknown[][];
|
|
19
|
-
}, "rpc" | "session", import("#pikku").WiredServices, unknown> | import("#pikku").PikkuFunction<{
|
|
19
|
+
}, "rpc" | "session", import("#pikku/addon/function").WiredServices, unknown> | import("#pikku/addon/function").PikkuFunction<{
|
|
20
20
|
items: unknown[];
|
|
21
21
|
size: number;
|
|
22
22
|
}, {
|
|
23
23
|
chunks: unknown[][];
|
|
24
|
-
}, "rpc" | "session", import("#pikku").WiredServices>, undefined, undefined>;
|
|
24
|
+
}, "rpc" | "session", import("#pikku/addon/function").WiredServices>, undefined, undefined>;
|
|
25
25
|
//# sourceMappingURL=chunk.function.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chunk.function.d.ts","sourceRoot":"","sources":["../../../../src/functions/array/chunk.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,UAAU;;;iBAGrB,CAAA;AAEF,eAAO,MAAM,WAAW;;iBAEtB,CAAA;AAIF,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"chunk.function.d.ts","sourceRoot":"","sources":["../../../../src/functions/array/chunk.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,UAAU;;;iBAGrB,CAAA;AAEF,eAAO,MAAM,WAAW;;iBAEtB,CAAA;AAIF,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;2FAchB,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { pikkuSessionlessFunc } from '#pikku';
|
|
2
|
+
import { pikkuSessionlessFunc } from '#pikku/addon/function';
|
|
3
3
|
export const ChunkInput = z.object({
|
|
4
4
|
items: z.array(z.unknown()).describe('The array to split into chunks'),
|
|
5
5
|
size: z.number().min(1).describe('Size of each chunk'),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chunk.function.js","sourceRoot":"","sources":["../../../../src/functions/array/chunk.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"chunk.function.js","sourceRoot":"","sources":["../../../../src/functions/array/chunk.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBA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
10
10
|
stepPrefix: z.ZodOptional<z.ZodString>;
|
|
11
11
|
}, z.core.$strip>;
|
|
12
12
|
export declare const FanoutOutput: z.ZodArray<z.ZodUnknown>;
|
|
13
|
-
export declare const fanout: import("#pikku").PikkuFunctionConfig<{
|
|
13
|
+
export declare const fanout: import("#pikku/addon/function").PikkuFunctionConfig<{
|
|
14
14
|
items: unknown[];
|
|
15
15
|
child: string;
|
|
16
16
|
mode: "parallel" | "sequential";
|
|
17
17
|
childInput?: Record<string, unknown> | undefined;
|
|
18
18
|
stepPrefix?: string | undefined;
|
|
19
|
-
}, unknown[], "rpc" | "session", import("#pikku").PikkuFunctionSessionless<{
|
|
19
|
+
}, unknown[], "rpc" | "session", import("#pikku/addon/function").PikkuFunctionSessionless<{
|
|
20
20
|
items: unknown[];
|
|
21
21
|
child: string;
|
|
22
22
|
mode: "parallel" | "sequential";
|
|
23
23
|
childInput?: Record<string, unknown> | undefined;
|
|
24
24
|
stepPrefix?: string | undefined;
|
|
25
|
-
}, unknown[], "rpc" | "session", import("#pikku").WiredServices, unknown> | import("#pikku").PikkuFunction<{
|
|
25
|
+
}, unknown[], "rpc" | "session", import("#pikku/addon/function").WiredServices, unknown> | import("#pikku/addon/function").PikkuFunction<{
|
|
26
26
|
items: unknown[];
|
|
27
27
|
child: string;
|
|
28
28
|
mode: "parallel" | "sequential";
|
|
29
29
|
childInput?: Record<string, unknown> | undefined;
|
|
30
30
|
stepPrefix?: string | undefined;
|
|
31
|
-
}, unknown[], "rpc" | "session", import("#pikku").WiredServices>, undefined, undefined>;
|
|
31
|
+
}, unknown[], "rpc" | "session", import("#pikku/addon/function").WiredServices>, undefined, undefined>;
|
|
32
32
|
//# sourceMappingURL=fanout.function.d.ts.map
|