@pikku/addon-meta-conversions 0.1.3 → 0.1.5
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/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/addon/agent/index.ts +8 -0
- package/dist/.pikku/addon/agent/pikku-agent-map.gen.d.ts +4 -0
- package/dist/.pikku/addon/agent/pikku-agent-types.gen.d.ts +54 -0
- package/dist/.pikku/addon/agent/pikku-agent-types.gen.d.ts.map +1 -0
- package/dist/.pikku/{agent → addon/agent}/pikku-agent-types.gen.js +5 -3
- package/dist/.pikku/addon/agent/pikku-agent-types.gen.js.map +1 -0
- package/dist/.pikku/{agent → addon/agent}/pikku-agent-types.gen.ts +28 -21
- package/dist/.pikku/addon/agent/pikku-model-aliases.gen.d.ts +2 -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/agent/pikku-model-aliases.gen.ts +6 -0
- package/dist/.pikku/addon/agent/pikku-scorer-names.gen.d.ts +8 -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/index.ts +8 -0
- package/dist/.pikku/addon/auth/pikku-auth-types.gen.d.ts +119 -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 +93 -0
- package/dist/.pikku/addon/auth/pikku-auth-types.gen.js.map +1 -0
- package/dist/.pikku/addon/auth/pikku-auth-types.gen.ts +156 -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/addon/channel/index.ts +8 -0
- package/dist/.pikku/{channel → addon/channel}/pikku-channel-types.gen.d.ts +5 -26
- 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 +2 -19
- package/dist/.pikku/addon/channel/pikku-channel-types.gen.js.map +1 -0
- package/dist/.pikku/{channel → addon/channel}/pikku-channel-types.gen.ts +7 -49
- 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/index.ts +8 -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/error/pikku-error-types.gen.ts +8 -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/index.ts +8 -0
- package/dist/.pikku/addon/function/pikku-function-types.gen.d.ts +270 -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 +117 -0
- package/dist/.pikku/addon/function/pikku-function-types.gen.js.map +1 -0
- package/{.pikku → dist/.pikku/addon}/function/pikku-function-types.gen.ts +65 -381
- package/dist/.pikku/addon/function/pikku-functions-meta.gen.d.ts.map +1 -0
- package/dist/.pikku/{function → addon/function}/pikku-functions-meta.gen.js +2 -2
- package/dist/.pikku/addon/function/pikku-functions-meta.gen.js.map +1 -0
- package/dist/.pikku/addon/function/pikku-functions-meta.gen.ts +7 -0
- package/dist/.pikku/addon/function/pikku-functions.gen.d.ts.map +1 -0
- package/dist/.pikku/{function → addon/function}/pikku-functions.gen.js +2 -2
- package/dist/.pikku/addon/function/pikku-functions.gen.js.map +1 -0
- package/dist/.pikku/{function → addon/function}/pikku-functions.gen.ts +2 -2
- 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/index.ts +8 -0
- package/dist/.pikku/addon/http/pikku-http-types.gen.d.ts +50 -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/http/pikku-http-types.gen.ts +62 -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/addon/mcp/index.ts +8 -0
- package/dist/.pikku/{mcp → addon/mcp}/pikku-mcp-types.gen.d.ts +7 -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/{.pikku → dist/.pikku/addon}/mcp/pikku-mcp-types.gen.ts +6 -50
- 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/index.ts +8 -0
- package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.d.ts +118 -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 +109 -0
- package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.js.map +1 -0
- package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.ts +167 -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-scenarios.gen.ts → addon/pikku-bootstrap-scenarios.gen.ts} +1 -1
- package/dist/.pikku/{pikku-bootstrap.gen.d.ts → addon/pikku-bootstrap.gen.d.ts} +3 -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} +3 -2
- package/dist/.pikku/addon/pikku-bootstrap.gen.js.map +1 -0
- package/dist/.pikku/addon/pikku-bootstrap.gen.ts +9 -0
- package/dist/.pikku/addon/pikku-package.gen.js +3 -2
- package/dist/.pikku/addon/pikku-package.gen.js.map +1 -1
- package/dist/.pikku/addon/pikku-package.gen.ts +4 -2
- 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/{.pikku → dist/.pikku/addon}/pikku-services.gen.ts +9 -8
- package/dist/.pikku/{rpc → addon/rpc}/pikku-rpc-wirings-map.gen.d.ts +6 -11
- package/dist/.pikku/{rpc → addon/rpc}/pikku-rpc-wirings-map.internal.gen.d.ts +6 -11
- package/dist/.pikku/{rpc → addon/rpc}/pikku-rpc-wirings-map.remote.gen.d.ts +6 -11
- package/dist/.pikku/addon/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts.map +1 -0
- package/dist/.pikku/{rpc → addon/rpc}/pikku-rpc-wirings-meta.internal.gen.js +2 -2
- package/dist/.pikku/addon/rpc/pikku-rpc-wirings-meta.internal.gen.js.map +1 -0
- package/dist/.pikku/{rpc → addon/rpc}/pikku-rpc-wirings-meta.internal.gen.ts +2 -2
- 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/addon/scenarios/index.ts +8 -0
- package/dist/.pikku/{workflow → addon/scenarios}/pikku-personas.gen.d.ts +3 -1
- package/dist/.pikku/addon/scenarios/pikku-personas.gen.d.ts.map +1 -0
- package/dist/.pikku/{workflow → addon/scenarios}/pikku-personas.gen.js +1 -1
- package/dist/.pikku/addon/scenarios/pikku-personas.gen.js.map +1 -0
- package/dist/.pikku/{workflow → addon/scenarios}/pikku-personas.gen.ts +4 -6
- 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/{.pikku → dist/.pikku/addon}/scenarios/pikku-scenario-functions-meta.gen.ts +3 -3
- 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/addon/scenarios/pikku-scenario-functions.gen.ts +4 -0
- package/dist/.pikku/{workflow/pikku-workflow-types.gen.d.ts → addon/scenarios/pikku-scenario-types.gen.d.ts} +79 -107
- 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} +9 -16
- package/dist/.pikku/addon/scenarios/pikku-scenario-types.gen.js.map +1 -0
- package/dist/.pikku/{workflow/pikku-workflow-types.gen.ts → addon/scenarios/pikku-scenario-types.gen.ts} +119 -210
- 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/{.pikku → dist/.pikku/addon}/scenarios/pikku-scenario-wirings-meta.gen.ts +3 -3
- 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/pikku-scenario-wirings.gen.ts +4 -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/scenarios/schemas/register.gen.ts +4 -0
- package/dist/.pikku/addon/schemas/register.gen.d.ts.map +1 -0
- package/dist/.pikku/{schemas → addon/schemas}/register.gen.js +1 -1
- package/dist/.pikku/addon/schemas/register.gen.js.map +1 -0
- package/dist/.pikku/{schemas → addon/schemas}/register.gen.ts +1 -1
- 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/addon/scopes/index.ts +8 -0
- package/dist/.pikku/{scopes → addon/scopes}/pikku-personas.gen.d.ts +5 -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-personas.gen.ts +5 -16
- package/dist/.pikku/{scopes → addon/scopes}/pikku-roles.gen.d.ts +1 -1
- package/dist/.pikku/addon/scopes/pikku-roles.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/scopes/pikku-roles.gen.js.map +1 -0
- package/{.pikku → dist/.pikku/addon}/scopes/pikku-roles.gen.ts +1 -1
- 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/{scopes → addon/scopes}/pikku-scope-types.gen.js +1 -1
- package/dist/.pikku/addon/scopes/pikku-scope-types.gen.js.map +1 -0
- package/dist/.pikku/addon/scopes/pikku-scope-types.gen.ts +5 -0
- package/dist/.pikku/{scopes → addon/scopes}/pikku-scopes.gen.d.ts +1 -1
- package/dist/.pikku/addon/scopes/pikku-scopes.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/scopes/pikku-scopes.gen.js.map +1 -0
- package/dist/.pikku/{scopes → addon/scopes}/pikku-scopes.gen.ts +1 -1
- 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/index.ts +9 -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-secret-types.gen.ts +4 -0
- package/dist/.pikku/addon/secrets/pikku-secrets.gen.d.ts +22 -0
- package/dist/.pikku/addon/secrets/pikku-secrets.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/secrets/pikku-secrets.gen.js +21 -0
- package/dist/.pikku/addon/secrets/pikku-secrets.gen.js.map +1 -0
- package/dist/.pikku/addon/secrets/pikku-secrets.gen.ts +30 -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/{pikku-meta-service.gen.ts → addon/services/pikku-meta-service.gen.ts} +2 -2
- 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/setup/index.ts +9 -0
- package/dist/.pikku/addon/{pikku-addon-types.gen.d.ts → setup/pikku-addon-setup-types.gen.d.ts} +7 -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} +3 -3
- package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.js.map +1 -0
- package/{.pikku/addon/pikku-addon-types.gen.ts → dist/.pikku/addon/setup/pikku-addon-setup-types.gen.ts} +6 -5
- package/dist/.pikku/addon/setup/pikku-setup-types.gen.d.ts +67 -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 +88 -0
- package/dist/.pikku/addon/setup/pikku-setup-types.gen.js.map +1 -0
- package/dist/.pikku/addon/setup/pikku-setup-types.gen.ts +105 -0
- package/dist/.pikku/addon/surface-usage.gen.json +1702 -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/addon/trigger/index.ts +8 -0
- package/dist/.pikku/{trigger → addon/trigger}/pikku-trigger-types.gen.d.ts +6 -37
- 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/{trigger → addon/trigger}/pikku-trigger-types.gen.ts +9 -45
- 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/index.ts +9 -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-variable-types.gen.ts +4 -0
- package/dist/.pikku/addon/variables/pikku-variables.gen.d.ts +19 -0
- package/dist/.pikku/addon/variables/pikku-variables.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/variables/pikku-variables.gen.js +19 -0
- package/dist/.pikku/addon/variables/pikku-variables.gen.js.map +1 -0
- package/dist/.pikku/addon/variables/pikku-variables.gen.ts +30 -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/index.ts +8 -0
- package/dist/.pikku/{workflow → addon/workflow}/pikku-scenario-step-map.gen.d.ts +2 -2
- package/dist/.pikku/{workflow → addon/workflow}/pikku-workflow-map.gen.d.ts +1 -1
- package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.d.ts +106 -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 +16 -0
- package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.js.map +1 -0
- package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.ts +200 -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-meta.gen.ts +9 -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/.pikku/addon/workflow/pikku-workflow-wirings.gen.ts +3 -0
- package/dist/src/functions/events/send.function.d.ts +4 -4
- package/dist/src/functions/events/send.function.d.ts.map +1 -1
- package/dist/src/functions/events/send.function.js +1 -1
- package/dist/src/functions/events/send.function.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 +2 -2
- package/dist/src/services.js.map +1 -1
- package/dist/types/application-types.d.ts +12 -0
- package/package.json +8 -8
- package/.pikku/addon/pikku-package.gen.ts +0 -11
- package/.pikku/agent/pikku-agent-map.gen.d.ts +0 -4
- package/.pikku/agent/pikku-agent-types.gen.ts +0 -84
- package/.pikku/channel/pikku-channel-types.gen.ts +0 -177
- package/.pikku/console/pikku-node-types.gen.ts +0 -8
- package/.pikku/function/pikku-functions-meta.gen.ts +0 -7
- package/.pikku/function/pikku-functions.gen.ts +0 -8
- package/.pikku/http/pikku-http-types.gen.ts +0 -119
- package/.pikku/pikku-bootstrap-scenarios.gen.ts +0 -9
- package/.pikku/pikku-bootstrap.gen.ts +0 -8
- package/.pikku/pikku-meta-service.gen.ts +0 -10
- package/.pikku/pikku-types.gen.ts +0 -24
- package/.pikku/queue/pikku-queue-types.gen.ts +0 -27
- package/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +0 -135
- package/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +0 -136
- package/.pikku/rpc/pikku-rpc-wirings-map.remote.gen.d.ts +0 -135
- package/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts +0 -6
- package/.pikku/scenarios/pikku-scenario-functions.gen.ts +0 -4
- package/.pikku/scenarios/pikku-scenario-wirings.gen.ts +0 -4
- package/.pikku/scenarios/schemas/register.gen.ts +0 -4
- package/.pikku/scheduler/pikku-scheduler-types.gen.ts +0 -25
- package/.pikku/schemas/register.gen.ts +0 -15
- package/.pikku/scopes/pikku-personas.gen.ts +0 -52
- package/.pikku/scopes/pikku-scope-types.gen.ts +0 -7
- package/.pikku/scopes/pikku-scopes.gen.ts +0 -58
- package/.pikku/secrets/pikku-secret-types.gen.ts +0 -5
- package/.pikku/secrets/pikku-secrets.gen.ts +0 -36
- package/.pikku/trigger/pikku-trigger-types.gen.ts +0 -160
- package/.pikku/variables/pikku-variable-types.gen.ts +0 -5
- package/.pikku/variables/pikku-variables.gen.ts +0 -34
- package/.pikku/workflow/pikku-personas.gen.ts +0 -38
- package/.pikku/workflow/pikku-scenario-step-map.gen.d.ts +0 -18
- package/.pikku/workflow/pikku-workflow-map.gen.d.ts +0 -38
- package/.pikku/workflow/pikku-workflow-types.gen.ts +0 -591
- package/.pikku/workflow/pikku-workflow-wirings-meta.gen.ts +0 -9
- package/.pikku/workflow/pikku-workflow-wirings.gen.ts +0 -3
- 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/addon/pikku-addon-types.gen.ts +0 -105
- package/dist/.pikku/agent/pikku-agent-map.gen.d.ts +0 -4
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +0 -49
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts.map +0 -1
- package/dist/.pikku/agent/pikku-agent-types.gen.js.map +0 -1
- 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-addon-meta.gen.json +0 -36
- 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/console/pikku-node-types.gen.ts +0 -8
- package/dist/.pikku/function/pikku-function-types.gen.d.ts +0 -506
- package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +0 -1
- package/dist/.pikku/function/pikku-function-types.gen.js +0 -351
- package/dist/.pikku/function/pikku-function-types.gen.js.map +0 -1
- package/dist/.pikku/function/pikku-function-types.gen.ts +0 -797
- package/dist/.pikku/function/pikku-functions-meta-verbose.gen.json +0 -33
- package/dist/.pikku/function/pikku-functions-meta.gen.d.ts.map +0 -1
- package/dist/.pikku/function/pikku-functions-meta.gen.js.map +0 -1
- package/dist/.pikku/function/pikku-functions-meta.gen.json +0 -27
- package/dist/.pikku/function/pikku-functions-meta.gen.ts +0 -7
- package/dist/.pikku/function/pikku-functions.gen.d.ts.map +0 -1
- 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/http/pikku-http-types.gen.ts +0 -119
- 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/mcp/pikku-mcp-types.gen.ts +0 -183
- 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-bootstrap.gen.ts +0 -8
- 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-services.gen.ts +0 -50
- 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/pikku-types.gen.ts +0 -24
- 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/queue/pikku-queue-types.gen.ts +0 -27
- 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.map +0 -1
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +0 -3
- package/dist/.pikku/scenarios/features.gen.json +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-meta.gen.json +0 -1
- package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.ts +0 -12
- 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-functions.gen.ts +0 -4
- 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-meta.gen.ts +0 -15
- 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/pikku-scenario-wirings.gen.ts +0 -4
- 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/scenarios/schemas/register.gen.ts +0 -4
- 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/scheduler/pikku-scheduler-types.gen.ts +0 -25
- package/dist/.pikku/schemas/register.gen.d.ts.map +0 -1
- package/dist/.pikku/schemas/register.gen.js.map +0 -1
- package/dist/.pikku/schemas/schemas/EventSendInput.schema.json +0 -1
- package/dist/.pikku/schemas/schemas/EventSendOutput.schema.json +0 -1
- package/dist/.pikku/schemas/schemas/SecretSchema_metaConversions.schema.json +0 -1
- package/dist/.pikku/scopes/pikku-personas-meta.gen.json +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-meta.gen.json +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-roles.gen.ts +0 -41
- 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.map +0 -1
- package/dist/.pikku/scopes/pikku-scope-types.gen.ts +0 -7
- package/dist/.pikku/scopes/pikku-scopes-meta.gen.json +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 -6
- 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-secret-types.gen.ts +0 -5
- package/dist/.pikku/secrets/pikku-secrets-meta.gen.json +0 -10
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +0 -25
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts.map +0 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.js +0 -23
- package/dist/.pikku/secrets/pikku-secrets.gen.js.map +0 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.ts +0 -36
- 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-variable-types.gen.ts +0 -5
- package/dist/.pikku/variables/pikku-variables-meta.gen.json +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/variables/pikku-variables.gen.ts +0 -34
- package/dist/.pikku/workflow/personas.gen.json +0 -1
- package/dist/.pikku/workflow/pikku-personas.gen.d.ts.map +0 -1
- package/dist/.pikku/workflow/pikku-personas.gen.js.map +0 -1
- 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-meta.gen.ts +0 -9
- 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/workflow/pikku-workflow-wirings.gen.ts +0 -3
- /package/{.pikku → dist/.pikku/addon}/console/pikku-addon-meta.gen.json +0 -0
- /package/{.pikku → dist/.pikku/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/{.pikku → dist/.pikku/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/{.pikku → dist/.pikku/addon}/rpc/pikku-rpc-wirings-meta.internal.gen.json +0 -0
- /package/{.pikku → dist/.pikku/addon}/scenarios/features.gen.json +0 -0
- /package/dist/.pikku/{scenarios → addon/scenarios}/pikku-scenario-functions-meta.gen.d.ts +0 -0
- /package/{.pikku → dist/.pikku/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/{.pikku → dist/.pikku/addon}/schemas/schemas/EventSendInput.schema.json +0 -0
- /package/{.pikku → dist/.pikku/addon}/schemas/schemas/EventSendOutput.schema.json +0 -0
- /package/{.pikku → dist/.pikku/addon}/schemas/schemas/SecretSchema_metaConversions.schema.json +0 -0
- /package/{.pikku → dist/.pikku/addon}/scopes/pikku-personas-meta.gen.json +0 -0
- /package/{.pikku → dist/.pikku/addon}/scopes/pikku-roles-meta.gen.json +0 -0
- /package/dist/.pikku/{scopes → addon/scopes}/pikku-roles.gen.js +0 -0
- /package/{.pikku → dist/.pikku/addon}/scopes/pikku-scopes-meta.gen.json +0 -0
- /package/dist/.pikku/{scopes → addon/scopes}/pikku-scopes.gen.js +0 -0
- /package/{.pikku → dist/.pikku/addon}/secrets/pikku-secrets-meta.gen.json +0 -0
- /package/{.pikku → dist/.pikku/addon}/variables/pikku-variables-meta.gen.json +0 -0
- /package/{.pikku → dist/.pikku/addon}/workflow/personas.gen.json +0 -0
- /package/dist/.pikku/{workflow → addon/workflow}/pikku-workflow-wirings-meta.gen.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../.pikku/addon/trigger/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,cAAc,8BAA8B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../.pikku/addon/trigger/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,cAAc,8BAA8B,CAAA"}
|
|
@@ -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.107
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* Trigger-specific type definitions for tree-shaking optimization
|
|
6
6
|
*/
|
|
7
|
-
import { CorePikkuTriggerFunction, CorePikkuTriggerFunctionConfig
|
|
7
|
+
import { CorePikkuTriggerFunction, CorePikkuTriggerFunctionConfig } from '@pikku/core/trigger';
|
|
8
8
|
import type { CoreNodeConfig } from '@pikku/core/node';
|
|
9
|
-
import type { SingletonServices } from '
|
|
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,SAAS,GAAG,SAAS,IAC3D,8BAA8B,CAAC,MAAM,EAAE,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,YAAY,CAAC,CAAA;AAEjG;;GAEG;AACH,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|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.107
|
|
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"}
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.107
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* Trigger-specific type definitions for tree-shaking optimization
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import {
|
|
8
|
+
import {
|
|
9
|
+
CorePikkuTriggerFunction,
|
|
10
|
+
CorePikkuTriggerFunctionConfig,
|
|
11
|
+
} from '@pikku/core/trigger'
|
|
9
12
|
import type { CoreNodeConfig } from '@pikku/core/node'
|
|
10
|
-
import type { SingletonServices } from '
|
|
13
|
+
import type { SingletonServices } from '../../../types/application-types.d.js'
|
|
11
14
|
import type { StandardSchemaV1 } from '@standard-schema/spec'
|
|
12
15
|
|
|
13
16
|
|
|
@@ -19,7 +22,7 @@ import type { StandardSchemaV1 } from '@standard-schema/spec'
|
|
|
19
22
|
* @template TInput - Input type (configuration passed when wired)
|
|
20
23
|
* @template TOutput - Output type produced when trigger fires
|
|
21
24
|
*/
|
|
22
|
-
|
|
25
|
+
type PikkuTriggerFunction<
|
|
23
26
|
TInput = unknown,
|
|
24
27
|
TOutput = unknown
|
|
25
28
|
> = CorePikkuTriggerFunction<TInput, TOutput, SingletonServices>
|
|
@@ -27,7 +30,7 @@ export type PikkuTriggerFunction<
|
|
|
27
30
|
/**
|
|
28
31
|
* Configuration object for creating a trigger function with metadata
|
|
29
32
|
*/
|
|
30
|
-
|
|
33
|
+
type PikkuTriggerFunctionConfig<
|
|
31
34
|
TInput = unknown,
|
|
32
35
|
TOutput = unknown,
|
|
33
36
|
InputSchema extends StandardSchemaV1 | undefined = undefined,
|
|
@@ -44,7 +47,7 @@ type InferSchemaOutput<T> = T extends StandardSchemaV1<any, infer Output> ? Outp
|
|
|
44
47
|
* Use this when you want to define input/output schemas using Zod.
|
|
45
48
|
* Types are automatically inferred from the schemas.
|
|
46
49
|
*/
|
|
47
|
-
|
|
50
|
+
type PikkuTriggerFunctionConfigWithSchema<
|
|
48
51
|
InputSchema extends StandardSchemaV1,
|
|
49
52
|
OutputSchema extends StandardSchemaV1 | undefined = undefined
|
|
50
53
|
> = {
|
|
@@ -64,21 +67,7 @@ export type PikkuTriggerFunctionConfigWithSchema<
|
|
|
64
67
|
* Type definition for trigger wirings.
|
|
65
68
|
* Declares a trigger name and its target pikku function.
|
|
66
69
|
*/
|
|
67
|
-
export type TriggerWiring = CoreTrigger
|
|
68
70
|
|
|
69
|
-
/**
|
|
70
|
-
* A trigger source with the subscription function, using project-specific services.
|
|
71
|
-
*
|
|
72
|
-
* @template TInput - Input type passed to the trigger function
|
|
73
|
-
* @template TOutput - Output type produced when trigger fires
|
|
74
|
-
*/
|
|
75
|
-
export type TriggerSource<
|
|
76
|
-
TInput = unknown,
|
|
77
|
-
TOutput = unknown
|
|
78
|
-
> = {
|
|
79
|
-
name: string
|
|
80
|
-
func: PikkuTriggerFunctionConfig<TInput, TOutput>
|
|
81
|
-
} & (unknown extends TInput ? { input?: TInput } : { input: TInput })
|
|
82
71
|
|
|
83
72
|
/**
|
|
84
73
|
* Creates a trigger function configuration.
|
|
@@ -133,28 +122,3 @@ export function pikkuTriggerFunc(triggerOrConfig: any) {
|
|
|
133
122
|
return triggerOrConfig
|
|
134
123
|
}
|
|
135
124
|
|
|
136
|
-
/**
|
|
137
|
-
* Registers a trigger with the Pikku framework.
|
|
138
|
-
* Declares a trigger name and its target pikku function.
|
|
139
|
-
* Runs everywhere — inspector extracts at build time.
|
|
140
|
-
*
|
|
141
|
-
* @param trigger - Trigger definition with name and function config
|
|
142
|
-
*/
|
|
143
|
-
export const wireTrigger = (
|
|
144
|
-
trigger: TriggerWiring
|
|
145
|
-
) => {
|
|
146
|
-
wireTriggerCore(trigger as any)
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
/**
|
|
150
|
-
* Registers a trigger source with the Pikku framework.
|
|
151
|
-
* Provides the subscription function and input data.
|
|
152
|
-
* Only imported in the trigger worker process.
|
|
153
|
-
*
|
|
154
|
-
* @param source - Trigger source with name, func, and input
|
|
155
|
-
*/
|
|
156
|
-
export const wireTriggerSource = <TInput = unknown, TOutput = unknown>(
|
|
157
|
-
source: TriggerSource<TInput, TOutput>
|
|
158
|
-
) => {
|
|
159
|
-
wireTriggerSourceCore(source as any)
|
|
160
|
-
}
|
|
@@ -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,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.107
|
|
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
|
+
export interface VariablesMap {
|
|
15
|
+
}
|
|
16
|
+
export declare class TypedVariablesService extends CoreTypedVariablesService<VariablesMap> {
|
|
17
|
+
constructor(variables: VariablesService);
|
|
18
|
+
}
|
|
19
|
+
//# 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,MAAM,WAAW,YAAY;CAE5B;AAMD,qBAAa,qBAAsB,SAAQ,yBAAyB,CAAC,YAAY,CAAC;gBACpE,SAAS,EAAE,gBAAgB;CAGxC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.107
|
|
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
|
+
export class TypedVariablesService extends CoreTypedVariablesService {
|
|
15
|
+
constructor(variables) {
|
|
16
|
+
super(variables, TYPED_VARIABLES_META);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
//# 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;AAM9D,MAAM,oBAAoB,GAAiC,EAE1D,CAAA;AAED,MAAM,OAAO,qBAAsB,SAAQ,yBAAuC;IAChF,YAAY,SAA2B;QACrC,KAAK,CAAC,SAAS,EAAE,oBAAoB,CAAC,CAAA;IACxC,CAAC;CACF"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.107
|
|
3
|
+
*/
|
|
4
|
+
import {
|
|
5
|
+
TypedVariablesService as CoreTypedVariablesService,
|
|
6
|
+
type VariableMeta,
|
|
7
|
+
} from '@pikku/core/services'
|
|
8
|
+
import type { VariablesService } from '@pikku/core/services'
|
|
9
|
+
/**
|
|
10
|
+
* Side-effect import of the metadata sidecar, so that tsc emits the .json
|
|
11
|
+
* alongside this file. An addon publishes only its compiled output, and a host
|
|
12
|
+
* reads that .json off disk to discover the addon's declared variables — an
|
|
13
|
+
* uncopied sidecar leaves them invisible to the host. Nothing binds it: the
|
|
14
|
+
* sidecar is not part of `#pikku/variables`.
|
|
15
|
+
*/
|
|
16
|
+
import './pikku-variables-meta.gen.json' with { type: 'json' }
|
|
17
|
+
|
|
18
|
+
export interface VariablesMap {
|
|
19
|
+
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
const TYPED_VARIABLES_META: Record<string, VariableMeta> = {
|
|
23
|
+
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export class TypedVariablesService extends CoreTypedVariablesService<VariablesMap> {
|
|
27
|
+
constructor(variables: VariablesService) {
|
|
28
|
+
super(variables, TYPED_VARIABLES_META)
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -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"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.107
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
-
* Scenario step map: the names `scenario.
|
|
5
|
+
* Scenario step map: the names `scenario.given/when/then` accepts, with
|
|
6
6
|
* the input and output types of each step.
|
|
7
7
|
*/
|
|
8
8
|
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.107
|
|
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
|
+
export interface TypedWorkflow extends PikkuWorkflowWire {
|
|
13
|
+
do<K extends keyof FlattenedRPCMap>(stepName: string, rpcName: K, data: FlattenedRPCMap[K]['input'], options?: WorkflowStepOptions): Promise<FlattenedRPCMap[K]['output']>;
|
|
14
|
+
do<K extends keyof FlattenedWorkflowMap>(stepName: string, workflowName: K, data: FlattenedWorkflowMap[K]['input'], options?: WorkflowStepOptions): Promise<FlattenedWorkflowMap[K]['output']>;
|
|
15
|
+
do<T>(stepName: string, fn: () => T | Promise<T>, options?: WorkflowStepOptions): Promise<T>;
|
|
16
|
+
}
|
|
17
|
+
import type { StandardSchemaV1 } from '@standard-schema/spec';
|
|
18
|
+
import type { InferSchemaOutput, NodeConfig, PikkuApprovalDescription } from '../function/pikku-function-types.gen.js';
|
|
19
|
+
import type { PikkuPermission } from '../auth/pikku-auth-types.gen.js';
|
|
20
|
+
import type { PikkuMiddleware } from '../middleware/pikku-middleware-types.gen.js';
|
|
21
|
+
import type { ScopeId } from '../scopes/pikku-scopes.gen.js';
|
|
22
|
+
import { PikkuError } from '@pikku/core/errors';
|
|
23
|
+
import type { CorePermissionGroup } from '@pikku/core/function';
|
|
24
|
+
export type PikkuFunctionWorkflow<In = unknown, Out = never> = PikkuFunctionSessionless<In, Out, 'workflow'>;
|
|
25
|
+
type PikkuWorkflowConfigWithSchema<InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined> = {
|
|
26
|
+
title?: string;
|
|
27
|
+
description?: string;
|
|
28
|
+
tags?: string[];
|
|
29
|
+
expose?: boolean;
|
|
30
|
+
internal?: boolean;
|
|
31
|
+
override?: string;
|
|
32
|
+
version?: number;
|
|
33
|
+
remote?: boolean;
|
|
34
|
+
mcp?: boolean;
|
|
35
|
+
readonly?: boolean;
|
|
36
|
+
approvalRequired?: boolean;
|
|
37
|
+
approvalDescription?: InputSchema extends StandardSchemaV1 ? PikkuApprovalDescription<InferSchemaOutput<InputSchema>> : never;
|
|
38
|
+
middleware?: PikkuMiddleware[];
|
|
39
|
+
input?: InputSchema;
|
|
40
|
+
output?: OutputSchema;
|
|
41
|
+
node?: NodeConfig;
|
|
42
|
+
errors?: Array<typeof PikkuError>;
|
|
43
|
+
inline?: boolean;
|
|
44
|
+
func: PikkuFunctionWorkflow<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown>;
|
|
45
|
+
auth?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Scopes the session must hold to run this workflow. All of them are required
|
|
48
|
+
* (AND), and they are checked before `permissions`.
|
|
49
|
+
*/
|
|
50
|
+
scopes?: ScopeId[];
|
|
51
|
+
permissions?: InputSchema extends StandardSchemaV1 ? CorePermissionGroup<PikkuPermission<InferSchemaOutput<InputSchema>>> : undefined;
|
|
52
|
+
};
|
|
53
|
+
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>;
|
|
54
|
+
export declare function pikkuWorkflowFunc<In, Out = unknown>(func: PikkuFunctionWorkflow<In, Out> | PikkuFunctionConfig<In, Out, 'workflow', PikkuFunctionWorkflow<In, Out>>): PikkuFunctionConfig<In, Out, 'workflow'>;
|
|
55
|
+
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>;
|
|
56
|
+
export declare function pikkuWorkflowComplexFunc<In, Out = unknown>(func: PikkuFunctionWorkflow<In, Out> | PikkuFunctionConfig<In, Out, 'workflow', PikkuFunctionWorkflow<In, Out>>): PikkuFunctionConfig<In, Out, 'workflow'>;
|
|
57
|
+
type TypedRef<T> = {
|
|
58
|
+
$ref: string;
|
|
59
|
+
path?: string;
|
|
60
|
+
} & {
|
|
61
|
+
__phantomType?: T;
|
|
62
|
+
};
|
|
63
|
+
type TemplateString = {
|
|
64
|
+
$template: {
|
|
65
|
+
parts: string[];
|
|
66
|
+
expressions: Array<{
|
|
67
|
+
$ref: string;
|
|
68
|
+
path?: string;
|
|
69
|
+
}>;
|
|
70
|
+
};
|
|
71
|
+
} & {
|
|
72
|
+
__brand: 'TemplateString';
|
|
73
|
+
};
|
|
74
|
+
type InputWithRefs<T> = {
|
|
75
|
+
[K in keyof T]?: T[K] | TypedRef<T[K]> | TypedRef<unknown> | TemplateString;
|
|
76
|
+
};
|
|
77
|
+
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>;
|
|
78
|
+
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;
|
|
79
|
+
type RefFunction<FuncMap extends Record<string, string>> = {
|
|
80
|
+
<N extends Extract<keyof FuncMap, string>>(nodeId: N, path: NodeOutputKeys<FuncMap, N>): TypedRef<unknown>;
|
|
81
|
+
<N extends Extract<keyof FuncMap, string>>(nodeId: N): TypedRef<unknown>;
|
|
82
|
+
(nodeId: 'trigger' | '$item', path?: string): TypedRef<unknown>;
|
|
83
|
+
};
|
|
84
|
+
type TemplateFunction = (templateStr: string, refs: TypedRef<unknown>[]) => TemplateString;
|
|
85
|
+
type ItemFunction = (path?: string) => TypedRef<unknown>;
|
|
86
|
+
type ForEachConfig<FuncMap extends Record<string, string>> = Extract<keyof FuncMap, string> | ((ref: RefFunction<FuncMap>) => TypedRef<unknown>);
|
|
87
|
+
type GraphNodeConfigMap<FuncMap extends Record<string, string>> = {
|
|
88
|
+
[K in Extract<keyof FuncMap, string>]?: {
|
|
89
|
+
next?: NextConfig<Extract<keyof FuncMap, string>>;
|
|
90
|
+
/** Run this node once per element of an upstream array. Its result becomes the ordered array of per-item results. */
|
|
91
|
+
forEach?: ForEachConfig<FuncMap>;
|
|
92
|
+
/** How the per-item instances of a forEach node run. Defaults to 'parallel'. */
|
|
93
|
+
mode?: 'parallel' | 'sequential';
|
|
94
|
+
input?: NodeInputType<FuncMap, K> | (() => NodeInputType<FuncMap, K>) | ((ref: RefFunction<FuncMap>, template: TemplateFunction, $item: ItemFunction) => NodeInputType<FuncMap, K>);
|
|
95
|
+
onError?: Extract<keyof FuncMap, string> | Extract<keyof FuncMap, string>[];
|
|
96
|
+
/** Free-text node documentation. Non-semantic — excluded from graphHash. */
|
|
97
|
+
notes?: string;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
type NextConfig<NodeIds extends string> = NodeIds | NodeIds[] | {
|
|
101
|
+
if: string;
|
|
102
|
+
then: NodeIds;
|
|
103
|
+
else?: NodeIds;
|
|
104
|
+
};
|
|
105
|
+
export declare function pikkuWorkflowGraph<const FuncMap extends Record<string, (keyof FlattenedRPCMap & string) | (keyof FlattenedWorkflowMap & string) | (keyof FlattenedAgentMap & string)>>(config: PikkuWorkflowGraphConfig<FuncMap, GraphNodeConfigMap<FuncMap>>): PikkuWorkflowGraphResult;
|
|
106
|
+
//# sourceMappingURL=pikku-workflow-types.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-workflow-types.gen.d.ts","sourceRoot":"","sources":["../../../../.pikku/addon/workflow/pikku-workflow-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAA;AAEjE,OAAO,KAAK,EACV,wBAAwB,EACxB,wBAAwB,EACzB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EACV,iBAAiB,EACjB,mBAAmB,EACpB,MAAM,sBAAsB,CAAA;AAE7B,OAAO,EAAE,0BAA0B,EAAE,CAAA;AACrC,OAAO,KAAK,EAAE,wBAAwB,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAA;AAC5G,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gDAAgD,CAAA;AACrF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAA;AACzE,OAAO,KAAK,EAAE,QAAQ,IAAI,iBAAiB,EAAE,MAAM,mCAAmC,CAAA;AAEtF,MAAM,WAAW,aAAc,SAAQ,iBAAiB;IACtD,EAAE,CAAC,CAAC,SAAS,MAAM,eAAe,EAChC,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,CAAC,EACV,IAAI,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,EACjC,OAAO,CAAC,EAAE,mBAAmB,GAC5B,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAA;IAExC,EAAE,CAAC,CAAC,SAAS,MAAM,oBAAoB,EACrC,QAAQ,EAAE,MAAM,EAChB,YAAY,EAAE,CAAC,EACf,IAAI,EAAE,oBAAoB,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,EACtC,OAAO,CAAC,EAAE,mBAAmB,GAC5B,OAAO,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC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AAC,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,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.107
|
|
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
|
+
export function pikkuWorkflowGraph(config) {
|
|
14
|
+
return corePikkuWorkflowGraph(config);
|
|
15
|
+
}
|
|
16
|
+
//# 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;AAuFrC,MAAM,UAAU,iBAAiB,CAAC,IAAS;IACzC,OAAO,OAAO,IAAI,KAAK,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAA;AACrD,CAAC;AAaD,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,MAAM,UAAU,kBAAkB,CAQhC,MAAsE;IAEtE,OAAO,sBAAsB,CAAC,MAAa,CAAC,CAAA;AAC9C,CAAC"}
|