@pikku/addon-mindee 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/.pikku/addon/agent/index.d.ts +1 -1
- package/dist/.pikku/addon/agent/index.js +1 -1
- package/dist/.pikku/addon/agent/index.ts +1 -1
- package/dist/.pikku/addon/agent/pikku-agent-map.gen.d.ts +1 -1
- package/dist/.pikku/addon/agent/pikku-agent-types.gen.d.ts +47 -6
- package/dist/.pikku/addon/agent/pikku-agent-types.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/agent/pikku-agent-types.gen.js +41 -0
- package/dist/.pikku/addon/agent/pikku-agent-types.gen.js.map +1 -1
- package/dist/.pikku/addon/agent/pikku-agent-types.gen.ts +42 -1
- package/dist/.pikku/addon/agent/pikku-model-aliases.gen.js +1 -1
- package/dist/.pikku/addon/agent/pikku-model-aliases.gen.ts +1 -1
- package/dist/.pikku/addon/agent/pikku-scorer-names.gen.d.ts +1 -1
- package/dist/.pikku/addon/analytics/index.d.ts +8 -0
- package/dist/.pikku/addon/analytics/index.d.ts.map +1 -0
- package/dist/.pikku/addon/analytics/index.js +8 -0
- package/dist/.pikku/addon/analytics/index.js.map +1 -0
- package/dist/.pikku/addon/analytics/index.ts +8 -0
- package/dist/.pikku/addon/analytics/pikku-analytics-types.gen.d.ts +6 -0
- package/dist/.pikku/addon/analytics/pikku-analytics-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/analytics/pikku-analytics-types.gen.js +5 -0
- package/dist/.pikku/addon/analytics/pikku-analytics-types.gen.js.map +1 -0
- package/dist/.pikku/addon/analytics/pikku-analytics-types.gen.ts +25 -0
- package/dist/.pikku/addon/auth/index.d.ts +1 -1
- package/dist/.pikku/addon/auth/index.js +1 -1
- package/dist/.pikku/addon/auth/index.ts +1 -1
- package/dist/.pikku/addon/auth/pikku-auth-types.gen.d.ts +2 -19
- package/dist/.pikku/addon/auth/pikku-auth-types.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/auth/pikku-auth-types.gen.js +2 -19
- package/dist/.pikku/addon/auth/pikku-auth-types.gen.js.map +1 -1
- package/dist/.pikku/addon/auth/pikku-auth-types.gen.ts +2 -19
- package/dist/.pikku/addon/channel/index.d.ts +1 -1
- package/dist/.pikku/addon/channel/index.js +1 -1
- package/dist/.pikku/addon/channel/index.ts +1 -1
- package/dist/.pikku/addon/channel/pikku-channel-types.gen.d.ts +10 -20
- package/dist/.pikku/addon/channel/pikku-channel-types.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/channel/pikku-channel-types.gen.js +7 -1
- package/dist/.pikku/addon/channel/pikku-channel-types.gen.js.map +1 -1
- package/dist/.pikku/addon/channel/pikku-channel-types.gen.ts +8 -18
- package/dist/.pikku/addon/cli/index.d.ts +8 -0
- package/dist/.pikku/addon/cli/index.d.ts.map +1 -0
- package/dist/.pikku/addon/cli/index.js +8 -0
- package/dist/.pikku/addon/cli/index.js.map +1 -0
- package/dist/.pikku/addon/cli/index.ts +8 -0
- package/dist/.pikku/addon/cli/pikku-cli-types.gen.d.ts +62 -0
- package/dist/.pikku/addon/cli/pikku-cli-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/cli/pikku-cli-types.gen.js +49 -0
- package/dist/.pikku/addon/cli/pikku-cli-types.gen.js.map +1 -0
- package/dist/.pikku/addon/cli/pikku-cli-types.gen.ts +88 -0
- package/dist/.pikku/addon/console/pikku-addon-meta.gen.json +5 -1
- package/dist/.pikku/addon/credentials/index.d.ts +1 -1
- package/dist/.pikku/addon/credentials/index.js +1 -1
- package/dist/.pikku/addon/credentials/index.ts +1 -1
- package/dist/.pikku/addon/credentials/pikku-credentials.gen.d.ts +1 -1
- package/dist/.pikku/addon/credentials/pikku-credentials.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/credentials/pikku-credentials.gen.js +1 -1
- package/dist/.pikku/addon/credentials/pikku-credentials.gen.ts +1 -1
- package/dist/.pikku/addon/db/pikku-db-meta.gen.json +1 -0
- package/dist/.pikku/addon/error/index.d.ts +1 -1
- package/dist/.pikku/addon/error/index.js +1 -1
- package/dist/.pikku/addon/error/index.ts +1 -1
- package/dist/.pikku/addon/error/pikku-error-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/error/pikku-error-types.gen.js +1 -1
- package/dist/.pikku/addon/error/pikku-error-types.gen.ts +1 -1
- package/dist/.pikku/addon/function/index.d.ts +1 -1
- package/dist/.pikku/addon/function/index.js +1 -1
- package/dist/.pikku/addon/function/index.ts +1 -1
- package/dist/.pikku/addon/function/pikku-function-types.gen.d.ts +47 -47
- package/dist/.pikku/addon/function/pikku-function-types.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/function/pikku-function-types.gen.js +21 -9
- package/dist/.pikku/addon/function/pikku-function-types.gen.js.map +1 -1
- package/dist/.pikku/addon/function/pikku-function-types.gen.ts +46 -44
- package/dist/.pikku/addon/function/pikku-functions-meta-verbose.gen.json +4 -2
- package/dist/.pikku/addon/function/pikku-functions-meta.gen.js +1 -1
- package/dist/.pikku/addon/function/pikku-functions-meta.gen.json +2 -0
- package/dist/.pikku/addon/function/pikku-functions-meta.gen.ts +1 -1
- package/dist/.pikku/addon/function/pikku-functions.gen.js +1 -1
- package/dist/.pikku/addon/function/pikku-functions.gen.ts +1 -1
- package/dist/.pikku/addon/http/index.d.ts +1 -1
- package/dist/.pikku/addon/http/index.js +1 -1
- package/dist/.pikku/addon/http/index.ts +1 -1
- package/dist/.pikku/addon/http/pikku-http-types.gen.d.ts +3 -1
- package/dist/.pikku/addon/http/pikku-http-types.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/http/pikku-http-types.gen.js +1 -1
- package/dist/.pikku/addon/http/pikku-http-types.gen.js.map +1 -1
- package/dist/.pikku/addon/http/pikku-http-types.gen.ts +3 -1
- package/dist/.pikku/addon/mcp/index.d.ts +1 -1
- package/dist/.pikku/addon/mcp/index.js +1 -1
- package/dist/.pikku/addon/mcp/index.ts +1 -1
- package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.d.ts +7 -1
- package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.js +1 -1
- package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.js.map +1 -1
- package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.ts +7 -1
- package/dist/.pikku/addon/middleware/index.d.ts +1 -1
- package/dist/.pikku/addon/middleware/index.js +1 -1
- package/dist/.pikku/addon/middleware/index.ts +1 -1
- package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.d.ts +33 -24
- package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.js +29 -24
- package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.js.map +1 -1
- package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.ts +33 -24
- package/dist/.pikku/addon/pikku-bootstrap-scenarios.gen.d.ts +1 -1
- package/dist/.pikku/addon/pikku-bootstrap-scenarios.gen.js +1 -1
- package/dist/.pikku/addon/pikku-bootstrap-scenarios.gen.ts +1 -1
- package/dist/.pikku/addon/pikku-bootstrap.gen.d.ts +1 -1
- package/dist/.pikku/addon/pikku-bootstrap.gen.js +1 -1
- package/dist/.pikku/addon/pikku-bootstrap.gen.ts +1 -1
- package/dist/.pikku/addon/pikku-local-services.gen.d.ts +29 -0
- package/dist/.pikku/addon/pikku-local-services.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/pikku-local-services.gen.js +42 -0
- package/dist/.pikku/addon/pikku-local-services.gen.js.map +1 -0
- package/dist/.pikku/addon/pikku-local-services.gen.ts +85 -0
- package/dist/.pikku/addon/pikku-package.gen.js +2 -1
- package/dist/.pikku/addon/pikku-package.gen.js.map +1 -1
- package/dist/.pikku/addon/pikku-package.gen.ts +3 -1
- package/dist/.pikku/addon/pikku-services.gen.d.ts +12 -3
- package/dist/.pikku/addon/pikku-services.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/pikku-services.gen.js +11 -1
- package/dist/.pikku/addon/pikku-services.gen.js.map +1 -1
- package/dist/.pikku/addon/pikku-services.gen.ts +14 -3
- package/dist/.pikku/addon/rpc/pikku-rpc-wirings-map.gen.d.ts +2 -2
- package/dist/.pikku/addon/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +2 -2
- package/dist/.pikku/addon/rpc/pikku-rpc-wirings-map.remote.gen.d.ts +2 -2
- package/dist/.pikku/addon/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
- package/dist/.pikku/addon/rpc/pikku-rpc-wirings-meta.internal.gen.ts +1 -1
- package/dist/.pikku/addon/scenarios/index.d.ts +1 -1
- package/dist/.pikku/addon/scenarios/index.js +1 -1
- package/dist/.pikku/addon/scenarios/index.ts +1 -1
- package/dist/.pikku/addon/scenarios/pikku-scenario-functions-meta.gen.js +1 -1
- package/dist/.pikku/addon/scenarios/pikku-scenario-functions-meta.gen.ts +1 -1
- package/dist/.pikku/addon/scenarios/pikku-scenario-functions.gen.d.ts +1 -1
- package/dist/.pikku/addon/scenarios/pikku-scenario-functions.gen.ts +1 -1
- package/dist/.pikku/addon/scenarios/pikku-scenario-types.gen.d.ts +53 -35
- package/dist/.pikku/addon/scenarios/pikku-scenario-types.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/scenarios/pikku-scenario-types.gen.js +7 -3
- package/dist/.pikku/addon/scenarios/pikku-scenario-types.gen.js.map +1 -1
- package/dist/.pikku/addon/scenarios/pikku-scenario-types.gen.ts +57 -40
- package/dist/.pikku/addon/scenarios/pikku-scenario-wirings-meta.gen.js +1 -1
- package/dist/.pikku/addon/scenarios/pikku-scenario-wirings-meta.gen.ts +1 -1
- package/dist/.pikku/addon/scenarios/pikku-scenario-wirings.gen.d.ts +1 -1
- package/dist/.pikku/addon/scenarios/pikku-scenario-wirings.gen.ts +1 -1
- package/dist/.pikku/addon/scenarios/pikku-virtual-users.gen.d.ts +33 -0
- package/dist/.pikku/addon/scenarios/pikku-virtual-users.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/scenarios/pikku-virtual-users.gen.js +29 -0
- package/dist/.pikku/addon/scenarios/pikku-virtual-users.gen.js.map +1 -0
- package/dist/.pikku/addon/scenarios/pikku-virtual-users.gen.ts +52 -0
- package/dist/.pikku/addon/scenarios/schemas/register.gen.d.ts +1 -1
- package/dist/.pikku/addon/scenarios/schemas/register.gen.js +1 -1
- package/dist/.pikku/addon/scenarios/schemas/register.gen.ts +1 -1
- package/dist/.pikku/addon/schemas/register.gen.js +1 -1
- package/dist/.pikku/addon/schemas/register.gen.ts +1 -1
- package/dist/.pikku/addon/scopes/index.d.ts +2 -1
- package/dist/.pikku/addon/scopes/index.d.ts.map +1 -1
- package/dist/.pikku/addon/scopes/index.js +2 -1
- package/dist/.pikku/addon/scopes/index.js.map +1 -1
- package/dist/.pikku/addon/scopes/index.ts +2 -1
- package/dist/.pikku/addon/scopes/pikku-flags-manifest.gen.d.ts +41 -0
- package/dist/.pikku/addon/scopes/pikku-flags-manifest.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/scopes/pikku-flags-manifest.gen.js +35 -0
- package/dist/.pikku/addon/scopes/pikku-flags-manifest.gen.js.map +1 -0
- package/dist/.pikku/addon/scopes/pikku-flags-manifest.gen.ts +52 -0
- package/dist/.pikku/addon/scopes/pikku-flags.gen.d.ts +9 -0
- package/dist/.pikku/addon/scopes/pikku-flags.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/scopes/pikku-flags.gen.js +2 -0
- package/dist/.pikku/addon/scopes/pikku-flags.gen.js.map +1 -0
- package/dist/.pikku/addon/scopes/pikku-flags.gen.ts +8 -0
- package/dist/.pikku/addon/scopes/pikku-roles.gen.d.ts +1 -1
- package/dist/.pikku/addon/scopes/pikku-roles.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/scopes/pikku-roles.gen.ts +1 -1
- package/dist/.pikku/addon/scopes/pikku-scope-types.gen.d.ts +2 -1
- package/dist/.pikku/addon/scopes/pikku-scope-types.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/scopes/pikku-scope-types.gen.js +2 -1
- package/dist/.pikku/addon/scopes/pikku-scope-types.gen.js.map +1 -1
- package/dist/.pikku/addon/scopes/pikku-scope-types.gen.ts +2 -1
- package/dist/.pikku/addon/scopes/pikku-scopes.gen.d.ts +1 -1
- package/dist/.pikku/addon/scopes/pikku-scopes.gen.ts +1 -1
- package/dist/.pikku/addon/scopes/pikku-virtual-users-meta.gen.json +1 -0
- package/dist/.pikku/addon/scopes/pikku-virtual-users.gen.d.ts +27 -0
- package/dist/.pikku/addon/scopes/pikku-virtual-users.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/scopes/pikku-virtual-users.gen.js +16 -0
- package/dist/.pikku/addon/scopes/pikku-virtual-users.gen.js.map +1 -0
- package/dist/.pikku/addon/scopes/pikku-virtual-users.gen.ts +39 -0
- package/dist/.pikku/addon/secrets/index.d.ts +1 -1
- package/dist/.pikku/addon/secrets/index.js +1 -1
- package/dist/.pikku/addon/secrets/index.ts +1 -1
- package/dist/.pikku/addon/secrets/pikku-secret-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/secrets/pikku-secret-types.gen.js +1 -1
- package/dist/.pikku/addon/secrets/pikku-secret-types.gen.ts +1 -1
- package/dist/.pikku/addon/secrets/pikku-secrets.gen.d.ts +9 -1
- package/dist/.pikku/addon/secrets/pikku-secrets.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/secrets/pikku-secrets.gen.js +5 -1
- package/dist/.pikku/addon/secrets/pikku-secrets.gen.js.map +1 -1
- package/dist/.pikku/addon/secrets/pikku-secrets.gen.ts +9 -1
- package/dist/.pikku/addon/services/pikku-meta-service.gen.d.ts +1 -1
- package/dist/.pikku/addon/services/pikku-meta-service.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/services/pikku-meta-service.gen.js +1 -1
- package/dist/.pikku/addon/services/pikku-meta-service.gen.ts +1 -1
- package/dist/.pikku/addon/setup/index.d.ts +1 -1
- package/dist/.pikku/addon/setup/index.js +1 -1
- package/dist/.pikku/addon/setup/index.ts +1 -1
- package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.d.ts +4 -4
- package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.js +1 -1
- package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.ts +1 -1
- package/dist/.pikku/addon/setup/pikku-setup-types.gen.d.ts +8 -20
- package/dist/.pikku/addon/setup/pikku-setup-types.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/setup/pikku-setup-types.gen.js +11 -19
- package/dist/.pikku/addon/setup/pikku-setup-types.gen.js.map +1 -1
- package/dist/.pikku/addon/setup/pikku-setup-types.gen.ts +19 -19
- package/dist/.pikku/addon/surface-usage.gen.json +326 -16
- package/dist/.pikku/addon/trigger/index.d.ts +1 -1
- package/dist/.pikku/addon/trigger/index.js +1 -1
- package/dist/.pikku/addon/trigger/index.ts +1 -1
- package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.d.ts +64 -1
- package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.js +17 -1
- package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.js.map +1 -1
- package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.ts +58 -1
- package/dist/.pikku/addon/utils/index.d.ts +8 -0
- package/dist/.pikku/addon/utils/index.d.ts.map +1 -0
- package/dist/.pikku/addon/utils/index.js +8 -0
- package/dist/.pikku/addon/utils/index.js.map +1 -0
- package/dist/.pikku/addon/utils/index.ts +8 -0
- package/dist/.pikku/addon/utils/pikku-utils-types.gen.d.ts +5 -0
- package/dist/.pikku/addon/utils/pikku-utils-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/utils/pikku-utils-types.gen.js +5 -0
- package/dist/.pikku/addon/utils/pikku-utils-types.gen.js.map +1 -0
- package/dist/.pikku/addon/utils/pikku-utils-types.gen.ts +4 -0
- package/dist/.pikku/addon/variables/index.d.ts +1 -1
- package/dist/.pikku/addon/variables/index.js +1 -1
- package/dist/.pikku/addon/variables/index.ts +1 -1
- package/dist/.pikku/addon/variables/pikku-variable-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/variables/pikku-variable-types.gen.js +1 -1
- package/dist/.pikku/addon/variables/pikku-variable-types.gen.ts +1 -1
- package/dist/.pikku/addon/variables/pikku-variables.gen.d.ts +9 -1
- package/dist/.pikku/addon/variables/pikku-variables.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/variables/pikku-variables.gen.js +7 -2
- package/dist/.pikku/addon/variables/pikku-variables.gen.js.map +1 -1
- package/dist/.pikku/addon/variables/pikku-variables.gen.ts +10 -2
- package/dist/.pikku/addon/webhooks/pikku-outgoing-webhooks-meta.gen.json +1 -0
- package/dist/.pikku/addon/webhooks/pikku-outgoing-webhooks.gen.d.ts +12 -0
- package/dist/.pikku/addon/webhooks/pikku-outgoing-webhooks.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/webhooks/pikku-outgoing-webhooks.gen.js +3 -0
- package/dist/.pikku/addon/webhooks/pikku-outgoing-webhooks.gen.js.map +1 -0
- package/dist/.pikku/addon/webhooks/pikku-outgoing-webhooks.gen.ts +15 -0
- package/dist/.pikku/addon/workflow/index.d.ts +1 -1
- package/dist/.pikku/addon/workflow/index.js +1 -1
- package/dist/.pikku/addon/workflow/index.ts +1 -1
- package/dist/.pikku/addon/workflow/pikku-scenario-step-map.gen.d.ts +1 -1
- package/dist/.pikku/addon/workflow/pikku-workflow-map.gen.d.ts +1 -1
- package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.d.ts +30 -6
- package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.js +8 -1
- package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.js.map +1 -1
- package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.ts +33 -2
- package/dist/.pikku/addon/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
- package/dist/.pikku/addon/workflow/pikku-workflow-wirings-meta.gen.ts +1 -1
- package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.d.ts +1 -1
- package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.js +1 -1
- package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.ts +1 -1
- package/dist/.pikku/addon/workflow/virtual-users.gen.json +1 -0
- package/dist/.pikku/runs/mvcet6gb.all.jsonl +3 -0
- package/dist/.pikku/runs/mvcf0qu1.all.jsonl +3 -0
- package/dist/src/functions/invoicePredict.function.d.ts +3 -3
- package/dist/src/functions/invoicePredict.function.d.ts.map +1 -1
- package/dist/src/functions/receiptPredict.function.d.ts +3 -3
- package/dist/src/functions/receiptPredict.function.d.ts.map +1 -1
- package/dist/src/mindee-api.service.d.ts.map +1 -1
- package/dist/src/mindee-api.service.js.map +1 -1
- package/package.json +6 -6
- package/dist/.pikku/addon/scenarios/pikku-personas.gen.d.ts +0 -18
- package/dist/.pikku/addon/scenarios/pikku-personas.gen.d.ts.map +0 -1
- package/dist/.pikku/addon/scenarios/pikku-personas.gen.js +0 -18
- package/dist/.pikku/addon/scenarios/pikku-personas.gen.js.map +0 -1
- package/dist/.pikku/addon/scenarios/pikku-personas.gen.ts +0 -36
- package/dist/.pikku/addon/scopes/pikku-personas.gen.d.ts +0 -29
- package/dist/.pikku/addon/scopes/pikku-personas.gen.d.ts.map +0 -1
- package/dist/.pikku/addon/scopes/pikku-personas.gen.js +0 -18
- package/dist/.pikku/addon/scopes/pikku-personas.gen.js.map +0 -1
- package/dist/.pikku/addon/scopes/pikku-personas.gen.ts +0 -41
- /package/dist/.pikku/addon/{scopes/pikku-personas-meta.gen.json → analytics/pikku-analytics-meta.gen.json} +0 -0
- /package/dist/.pikku/addon/{workflow/personas.gen.json → scopes/pikku-flags-meta.gen.json} +0 -0
|
@@ -77,6 +77,98 @@
|
|
|
77
77
|
"files": []
|
|
78
78
|
}
|
|
79
79
|
},
|
|
80
|
+
"#pikku/addon/analytics": {
|
|
81
|
+
"AnalyticsClientContext": {
|
|
82
|
+
"imports": 0,
|
|
83
|
+
"seenIn": [],
|
|
84
|
+
"files": []
|
|
85
|
+
},
|
|
86
|
+
"AnalyticsEventBase": {
|
|
87
|
+
"imports": 0,
|
|
88
|
+
"seenIn": [],
|
|
89
|
+
"files": []
|
|
90
|
+
},
|
|
91
|
+
"AnalyticsEventDefinitions": {
|
|
92
|
+
"imports": 0,
|
|
93
|
+
"seenIn": [],
|
|
94
|
+
"files": []
|
|
95
|
+
},
|
|
96
|
+
"AnalyticsEventPropsSchema": {
|
|
97
|
+
"imports": 0,
|
|
98
|
+
"seenIn": [],
|
|
99
|
+
"files": []
|
|
100
|
+
},
|
|
101
|
+
"AnalyticsIdentity": {
|
|
102
|
+
"imports": 0,
|
|
103
|
+
"seenIn": [],
|
|
104
|
+
"files": []
|
|
105
|
+
},
|
|
106
|
+
"AnalyticsIdentityResolver": {
|
|
107
|
+
"imports": 0,
|
|
108
|
+
"seenIn": [],
|
|
109
|
+
"files": []
|
|
110
|
+
},
|
|
111
|
+
"AnalyticsLog": {
|
|
112
|
+
"imports": 0,
|
|
113
|
+
"seenIn": [],
|
|
114
|
+
"files": []
|
|
115
|
+
},
|
|
116
|
+
"AnalyticsRecord": {
|
|
117
|
+
"imports": 0,
|
|
118
|
+
"seenIn": [],
|
|
119
|
+
"files": []
|
|
120
|
+
},
|
|
121
|
+
"AnalyticsService": {
|
|
122
|
+
"imports": 0,
|
|
123
|
+
"seenIn": [],
|
|
124
|
+
"files": []
|
|
125
|
+
},
|
|
126
|
+
"AnalyticsSink": {
|
|
127
|
+
"imports": 0,
|
|
128
|
+
"seenIn": [],
|
|
129
|
+
"files": []
|
|
130
|
+
},
|
|
131
|
+
"anonymousAnalyticsIdentity": {
|
|
132
|
+
"imports": 0,
|
|
133
|
+
"seenIn": [],
|
|
134
|
+
"files": []
|
|
135
|
+
},
|
|
136
|
+
"composeAnalyticsIdentity": {
|
|
137
|
+
"imports": 0,
|
|
138
|
+
"seenIn": [],
|
|
139
|
+
"files": []
|
|
140
|
+
},
|
|
141
|
+
"cookieAnalyticsIdentity": {
|
|
142
|
+
"imports": 0,
|
|
143
|
+
"seenIn": [],
|
|
144
|
+
"files": []
|
|
145
|
+
},
|
|
146
|
+
"defineAnalyticsEvents": {
|
|
147
|
+
"imports": 0,
|
|
148
|
+
"seenIn": [],
|
|
149
|
+
"files": []
|
|
150
|
+
},
|
|
151
|
+
"fanOutAnalytics": {
|
|
152
|
+
"imports": 0,
|
|
153
|
+
"seenIn": [],
|
|
154
|
+
"files": []
|
|
155
|
+
},
|
|
156
|
+
"LoggerAnalyticsService": {
|
|
157
|
+
"imports": 0,
|
|
158
|
+
"seenIn": [],
|
|
159
|
+
"files": []
|
|
160
|
+
},
|
|
161
|
+
"mintCookie": {
|
|
162
|
+
"imports": 0,
|
|
163
|
+
"seenIn": [],
|
|
164
|
+
"files": []
|
|
165
|
+
},
|
|
166
|
+
"randomDigits": {
|
|
167
|
+
"imports": 0,
|
|
168
|
+
"seenIn": [],
|
|
169
|
+
"files": []
|
|
170
|
+
}
|
|
171
|
+
},
|
|
80
172
|
"#pikku/addon/auth": {
|
|
81
173
|
"addGlobalPermission": {
|
|
82
174
|
"imports": 0,
|
|
@@ -131,6 +223,23 @@
|
|
|
131
223
|
"files": []
|
|
132
224
|
}
|
|
133
225
|
},
|
|
226
|
+
"#pikku/addon/cli": {
|
|
227
|
+
"defineCLICommands": {
|
|
228
|
+
"imports": 0,
|
|
229
|
+
"seenIn": [],
|
|
230
|
+
"files": []
|
|
231
|
+
},
|
|
232
|
+
"pikkuCLICommand": {
|
|
233
|
+
"imports": 0,
|
|
234
|
+
"seenIn": [],
|
|
235
|
+
"files": []
|
|
236
|
+
},
|
|
237
|
+
"pikkuCLIRender": {
|
|
238
|
+
"imports": 0,
|
|
239
|
+
"seenIn": [],
|
|
240
|
+
"files": []
|
|
241
|
+
}
|
|
242
|
+
},
|
|
134
243
|
"#pikku/addon/error": {
|
|
135
244
|
"addError": {
|
|
136
245
|
"imports": 0,
|
|
@@ -162,6 +271,11 @@
|
|
|
162
271
|
"seenIn": [],
|
|
163
272
|
"files": []
|
|
164
273
|
},
|
|
274
|
+
"CredentialRejectedError": {
|
|
275
|
+
"imports": 0,
|
|
276
|
+
"seenIn": [],
|
|
277
|
+
"files": []
|
|
278
|
+
},
|
|
165
279
|
"ErrorDetails": {
|
|
166
280
|
"imports": 0,
|
|
167
281
|
"seenIn": [],
|
|
@@ -172,6 +286,11 @@
|
|
|
172
286
|
"seenIn": [],
|
|
173
287
|
"files": []
|
|
174
288
|
},
|
|
289
|
+
"FeatureUnavailableError": {
|
|
290
|
+
"imports": 0,
|
|
291
|
+
"seenIn": [],
|
|
292
|
+
"files": []
|
|
293
|
+
},
|
|
175
294
|
"ForbiddenError": {
|
|
176
295
|
"imports": 0,
|
|
177
296
|
"seenIn": [],
|
|
@@ -525,6 +644,21 @@
|
|
|
525
644
|
"seenIn": [],
|
|
526
645
|
"files": []
|
|
527
646
|
},
|
|
647
|
+
"authAPIKey": {
|
|
648
|
+
"imports": 0,
|
|
649
|
+
"seenIn": [],
|
|
650
|
+
"files": []
|
|
651
|
+
},
|
|
652
|
+
"authBearer": {
|
|
653
|
+
"imports": 0,
|
|
654
|
+
"seenIn": [],
|
|
655
|
+
"files": []
|
|
656
|
+
},
|
|
657
|
+
"authCookie": {
|
|
658
|
+
"imports": 0,
|
|
659
|
+
"seenIn": [],
|
|
660
|
+
"files": []
|
|
661
|
+
},
|
|
528
662
|
"cors": {
|
|
529
663
|
"imports": 0,
|
|
530
664
|
"seenIn": [],
|
|
@@ -569,6 +703,11 @@
|
|
|
569
703
|
"imports": 0,
|
|
570
704
|
"seenIn": [],
|
|
571
705
|
"files": []
|
|
706
|
+
},
|
|
707
|
+
"requireOrigin": {
|
|
708
|
+
"imports": 0,
|
|
709
|
+
"seenIn": [],
|
|
710
|
+
"files": []
|
|
572
711
|
}
|
|
573
712
|
},
|
|
574
713
|
"#pikku/addon/scenarios": {
|
|
@@ -577,11 +716,6 @@
|
|
|
577
716
|
"seenIn": [],
|
|
578
717
|
"files": []
|
|
579
718
|
},
|
|
580
|
-
"createScenarioRunner": {
|
|
581
|
-
"imports": 0,
|
|
582
|
-
"seenIn": [],
|
|
583
|
-
"files": []
|
|
584
|
-
},
|
|
585
719
|
"pikkuAddonScenarioStep": {
|
|
586
720
|
"imports": 0,
|
|
587
721
|
"seenIn": [],
|
|
@@ -677,23 +811,28 @@
|
|
|
677
811
|
"seenIn": [],
|
|
678
812
|
"files": []
|
|
679
813
|
},
|
|
680
|
-
"
|
|
814
|
+
"TypedScenario": {
|
|
681
815
|
"imports": 0,
|
|
682
816
|
"seenIn": [],
|
|
683
817
|
"files": []
|
|
684
818
|
},
|
|
685
|
-
"
|
|
819
|
+
"TypedScenarioSteps": {
|
|
686
820
|
"imports": 0,
|
|
687
821
|
"seenIn": [],
|
|
688
822
|
"files": []
|
|
689
823
|
},
|
|
690
|
-
"
|
|
824
|
+
"TypedVirtualUsers": {
|
|
691
825
|
"imports": 0,
|
|
692
826
|
"seenIn": [],
|
|
693
827
|
"files": []
|
|
694
828
|
}
|
|
695
829
|
},
|
|
696
830
|
"#pikku/addon/scopes": {
|
|
831
|
+
"defineFeatureFlags": {
|
|
832
|
+
"imports": 0,
|
|
833
|
+
"seenIn": [],
|
|
834
|
+
"files": []
|
|
835
|
+
},
|
|
697
836
|
"defineScope": {
|
|
698
837
|
"imports": 0,
|
|
699
838
|
"seenIn": [],
|
|
@@ -703,6 +842,11 @@
|
|
|
703
842
|
"imports": 0,
|
|
704
843
|
"seenIn": [],
|
|
705
844
|
"files": []
|
|
845
|
+
},
|
|
846
|
+
"FeatureFlagName": {
|
|
847
|
+
"imports": 0,
|
|
848
|
+
"seenIn": [],
|
|
849
|
+
"files": []
|
|
706
850
|
}
|
|
707
851
|
},
|
|
708
852
|
"#pikku/addon/secrets": {
|
|
@@ -769,6 +913,23 @@
|
|
|
769
913
|
"imports": 0,
|
|
770
914
|
"seenIn": [],
|
|
771
915
|
"files": []
|
|
916
|
+
},
|
|
917
|
+
"pikkuWebhookReceive": {
|
|
918
|
+
"imports": 0,
|
|
919
|
+
"seenIn": [],
|
|
920
|
+
"files": []
|
|
921
|
+
},
|
|
922
|
+
"wireTriggerWebhookSource": {
|
|
923
|
+
"imports": 0,
|
|
924
|
+
"seenIn": [],
|
|
925
|
+
"files": []
|
|
926
|
+
}
|
|
927
|
+
},
|
|
928
|
+
"#pikku/addon/utils": {
|
|
929
|
+
"parseJson": {
|
|
930
|
+
"imports": 0,
|
|
931
|
+
"seenIn": [],
|
|
932
|
+
"files": []
|
|
772
933
|
}
|
|
773
934
|
},
|
|
774
935
|
"#pikku/addon/variables": {
|
|
@@ -857,6 +1018,98 @@
|
|
|
857
1018
|
"files": []
|
|
858
1019
|
}
|
|
859
1020
|
},
|
|
1021
|
+
"#pikku/analytics": {
|
|
1022
|
+
"AnalyticsClientContext": {
|
|
1023
|
+
"imports": 0,
|
|
1024
|
+
"seenIn": [],
|
|
1025
|
+
"files": []
|
|
1026
|
+
},
|
|
1027
|
+
"AnalyticsEventBase": {
|
|
1028
|
+
"imports": 0,
|
|
1029
|
+
"seenIn": [],
|
|
1030
|
+
"files": []
|
|
1031
|
+
},
|
|
1032
|
+
"AnalyticsEventDefinitions": {
|
|
1033
|
+
"imports": 0,
|
|
1034
|
+
"seenIn": [],
|
|
1035
|
+
"files": []
|
|
1036
|
+
},
|
|
1037
|
+
"AnalyticsEventPropsSchema": {
|
|
1038
|
+
"imports": 0,
|
|
1039
|
+
"seenIn": [],
|
|
1040
|
+
"files": []
|
|
1041
|
+
},
|
|
1042
|
+
"AnalyticsIdentity": {
|
|
1043
|
+
"imports": 0,
|
|
1044
|
+
"seenIn": [],
|
|
1045
|
+
"files": []
|
|
1046
|
+
},
|
|
1047
|
+
"AnalyticsIdentityResolver": {
|
|
1048
|
+
"imports": 0,
|
|
1049
|
+
"seenIn": [],
|
|
1050
|
+
"files": []
|
|
1051
|
+
},
|
|
1052
|
+
"AnalyticsLog": {
|
|
1053
|
+
"imports": 0,
|
|
1054
|
+
"seenIn": [],
|
|
1055
|
+
"files": []
|
|
1056
|
+
},
|
|
1057
|
+
"AnalyticsRecord": {
|
|
1058
|
+
"imports": 0,
|
|
1059
|
+
"seenIn": [],
|
|
1060
|
+
"files": []
|
|
1061
|
+
},
|
|
1062
|
+
"AnalyticsService": {
|
|
1063
|
+
"imports": 0,
|
|
1064
|
+
"seenIn": [],
|
|
1065
|
+
"files": []
|
|
1066
|
+
},
|
|
1067
|
+
"AnalyticsSink": {
|
|
1068
|
+
"imports": 0,
|
|
1069
|
+
"seenIn": [],
|
|
1070
|
+
"files": []
|
|
1071
|
+
},
|
|
1072
|
+
"anonymousAnalyticsIdentity": {
|
|
1073
|
+
"imports": 0,
|
|
1074
|
+
"seenIn": [],
|
|
1075
|
+
"files": []
|
|
1076
|
+
},
|
|
1077
|
+
"composeAnalyticsIdentity": {
|
|
1078
|
+
"imports": 0,
|
|
1079
|
+
"seenIn": [],
|
|
1080
|
+
"files": []
|
|
1081
|
+
},
|
|
1082
|
+
"cookieAnalyticsIdentity": {
|
|
1083
|
+
"imports": 0,
|
|
1084
|
+
"seenIn": [],
|
|
1085
|
+
"files": []
|
|
1086
|
+
},
|
|
1087
|
+
"defineAnalyticsEvents": {
|
|
1088
|
+
"imports": 0,
|
|
1089
|
+
"seenIn": [],
|
|
1090
|
+
"files": []
|
|
1091
|
+
},
|
|
1092
|
+
"fanOutAnalytics": {
|
|
1093
|
+
"imports": 0,
|
|
1094
|
+
"seenIn": [],
|
|
1095
|
+
"files": []
|
|
1096
|
+
},
|
|
1097
|
+
"LoggerAnalyticsService": {
|
|
1098
|
+
"imports": 0,
|
|
1099
|
+
"seenIn": [],
|
|
1100
|
+
"files": []
|
|
1101
|
+
},
|
|
1102
|
+
"mintCookie": {
|
|
1103
|
+
"imports": 0,
|
|
1104
|
+
"seenIn": [],
|
|
1105
|
+
"files": []
|
|
1106
|
+
},
|
|
1107
|
+
"randomDigits": {
|
|
1108
|
+
"imports": 0,
|
|
1109
|
+
"seenIn": [],
|
|
1110
|
+
"files": []
|
|
1111
|
+
}
|
|
1112
|
+
},
|
|
860
1113
|
"#pikku/auth": {
|
|
861
1114
|
"addGlobalPermission": {
|
|
862
1115
|
"imports": 0,
|
|
@@ -974,6 +1227,11 @@
|
|
|
974
1227
|
"seenIn": [],
|
|
975
1228
|
"files": []
|
|
976
1229
|
},
|
|
1230
|
+
"CredentialRejectedError": {
|
|
1231
|
+
"imports": 0,
|
|
1232
|
+
"seenIn": [],
|
|
1233
|
+
"files": []
|
|
1234
|
+
},
|
|
977
1235
|
"ErrorDetails": {
|
|
978
1236
|
"imports": 0,
|
|
979
1237
|
"seenIn": [],
|
|
@@ -984,6 +1242,11 @@
|
|
|
984
1242
|
"seenIn": [],
|
|
985
1243
|
"files": []
|
|
986
1244
|
},
|
|
1245
|
+
"FeatureUnavailableError": {
|
|
1246
|
+
"imports": 0,
|
|
1247
|
+
"seenIn": [],
|
|
1248
|
+
"files": []
|
|
1249
|
+
},
|
|
987
1250
|
"ForbiddenError": {
|
|
988
1251
|
"imports": 0,
|
|
989
1252
|
"seenIn": [],
|
|
@@ -1399,6 +1662,21 @@
|
|
|
1399
1662
|
"seenIn": [],
|
|
1400
1663
|
"files": []
|
|
1401
1664
|
},
|
|
1665
|
+
"authAPIKey": {
|
|
1666
|
+
"imports": 0,
|
|
1667
|
+
"seenIn": [],
|
|
1668
|
+
"files": []
|
|
1669
|
+
},
|
|
1670
|
+
"authBearer": {
|
|
1671
|
+
"imports": 0,
|
|
1672
|
+
"seenIn": [],
|
|
1673
|
+
"files": []
|
|
1674
|
+
},
|
|
1675
|
+
"authCookie": {
|
|
1676
|
+
"imports": 0,
|
|
1677
|
+
"seenIn": [],
|
|
1678
|
+
"files": []
|
|
1679
|
+
},
|
|
1402
1680
|
"cors": {
|
|
1403
1681
|
"imports": 0,
|
|
1404
1682
|
"seenIn": [],
|
|
@@ -1443,6 +1721,11 @@
|
|
|
1443
1721
|
"imports": 0,
|
|
1444
1722
|
"seenIn": [],
|
|
1445
1723
|
"files": []
|
|
1724
|
+
},
|
|
1725
|
+
"requireOrigin": {
|
|
1726
|
+
"imports": 0,
|
|
1727
|
+
"seenIn": [],
|
|
1728
|
+
"files": []
|
|
1446
1729
|
}
|
|
1447
1730
|
},
|
|
1448
1731
|
"#pikku/queue": {
|
|
@@ -1458,11 +1741,6 @@
|
|
|
1458
1741
|
"seenIn": [],
|
|
1459
1742
|
"files": []
|
|
1460
1743
|
},
|
|
1461
|
-
"createScenarioRunner": {
|
|
1462
|
-
"imports": 0,
|
|
1463
|
-
"seenIn": [],
|
|
1464
|
-
"files": []
|
|
1465
|
-
},
|
|
1466
1744
|
"pikkuAddonScenarioStep": {
|
|
1467
1745
|
"imports": 0,
|
|
1468
1746
|
"seenIn": [],
|
|
@@ -1558,17 +1836,17 @@
|
|
|
1558
1836
|
"seenIn": [],
|
|
1559
1837
|
"files": []
|
|
1560
1838
|
},
|
|
1561
|
-
"
|
|
1839
|
+
"TypedScenario": {
|
|
1562
1840
|
"imports": 0,
|
|
1563
1841
|
"seenIn": [],
|
|
1564
1842
|
"files": []
|
|
1565
1843
|
},
|
|
1566
|
-
"
|
|
1844
|
+
"TypedScenarioSteps": {
|
|
1567
1845
|
"imports": 0,
|
|
1568
1846
|
"seenIn": [],
|
|
1569
1847
|
"files": []
|
|
1570
1848
|
},
|
|
1571
|
-
"
|
|
1849
|
+
"TypedVirtualUsers": {
|
|
1572
1850
|
"imports": 0,
|
|
1573
1851
|
"seenIn": [],
|
|
1574
1852
|
"files": []
|
|
@@ -1582,6 +1860,11 @@
|
|
|
1582
1860
|
}
|
|
1583
1861
|
},
|
|
1584
1862
|
"#pikku/scopes": {
|
|
1863
|
+
"defineFeatureFlags": {
|
|
1864
|
+
"imports": 0,
|
|
1865
|
+
"seenIn": [],
|
|
1866
|
+
"files": []
|
|
1867
|
+
},
|
|
1585
1868
|
"defineScope": {
|
|
1586
1869
|
"imports": 0,
|
|
1587
1870
|
"seenIn": [],
|
|
@@ -1591,6 +1874,11 @@
|
|
|
1591
1874
|
"imports": 0,
|
|
1592
1875
|
"seenIn": [],
|
|
1593
1876
|
"files": []
|
|
1877
|
+
},
|
|
1878
|
+
"FeatureFlagName": {
|
|
1879
|
+
"imports": 0,
|
|
1880
|
+
"seenIn": [],
|
|
1881
|
+
"files": []
|
|
1594
1882
|
}
|
|
1595
1883
|
},
|
|
1596
1884
|
"#pikku/secrets": {
|
|
@@ -1621,6 +1909,11 @@
|
|
|
1621
1909
|
"seenIn": [],
|
|
1622
1910
|
"files": []
|
|
1623
1911
|
},
|
|
1912
|
+
"pikkuServerLifecycle": {
|
|
1913
|
+
"imports": 0,
|
|
1914
|
+
"seenIn": [],
|
|
1915
|
+
"files": []
|
|
1916
|
+
},
|
|
1624
1917
|
"pikkuServices": {
|
|
1625
1918
|
"imports": 0,
|
|
1626
1919
|
"seenIn": [],
|
|
@@ -1638,6 +1931,11 @@
|
|
|
1638
1931
|
"seenIn": [],
|
|
1639
1932
|
"files": []
|
|
1640
1933
|
},
|
|
1934
|
+
"pikkuWebhookReceive": {
|
|
1935
|
+
"imports": 0,
|
|
1936
|
+
"seenIn": [],
|
|
1937
|
+
"files": []
|
|
1938
|
+
},
|
|
1641
1939
|
"wireTrigger": {
|
|
1642
1940
|
"imports": 0,
|
|
1643
1941
|
"seenIn": [],
|
|
@@ -1647,6 +1945,18 @@
|
|
|
1647
1945
|
"imports": 0,
|
|
1648
1946
|
"seenIn": [],
|
|
1649
1947
|
"files": []
|
|
1948
|
+
},
|
|
1949
|
+
"wireTriggerWebhookSource": {
|
|
1950
|
+
"imports": 0,
|
|
1951
|
+
"seenIn": [],
|
|
1952
|
+
"files": []
|
|
1953
|
+
}
|
|
1954
|
+
},
|
|
1955
|
+
"#pikku/utils": {
|
|
1956
|
+
"parseJson": {
|
|
1957
|
+
"imports": 0,
|
|
1958
|
+
"seenIn": [],
|
|
1959
|
+
"files": []
|
|
1650
1960
|
}
|
|
1651
1961
|
},
|
|
1652
1962
|
"#pikku/variables": {
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.190
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* Trigger-specific type definitions for tree-shaking optimization
|
|
6
6
|
*/
|
|
7
|
+
import type { PikkuHTTP } from '@pikku/core/http';
|
|
8
|
+
import type { CoreTriggerWebhookSource, WebhookVerify, WebhookRequest, WebhookReceiveResult, WebhookLifecycleInput, WebhookCheckResult, WebhookSetupResult, WebhookTeardownInput, WebhookTeardownResult } from '@pikku/core/trigger';
|
|
7
9
|
import { CorePikkuTriggerFunction, CorePikkuTriggerFunctionConfig } from '@pikku/core/trigger';
|
|
8
10
|
import type { CoreNodeConfig } from '@pikku/core/node';
|
|
9
11
|
import type { SingletonServices } from '../../../types/application-types.d.js';
|
|
@@ -42,6 +44,28 @@ type PikkuTriggerFunctionConfigWithSchema<InputSchema extends StandardSchemaV1,
|
|
|
42
44
|
* Type definition for trigger wirings.
|
|
43
45
|
* Declares a trigger name and its target pikku function.
|
|
44
46
|
*/
|
|
47
|
+
/** A webhook source is only reached over HTTP, so its request and response are always there. */
|
|
48
|
+
type WebhookHTTP = Required<Pick<PikkuHTTP, 'request' | 'response'>>;
|
|
49
|
+
/**
|
|
50
|
+
* One step of a webhook source: inline, a pikku function, or `ref('addon:fn')`.
|
|
51
|
+
*/
|
|
52
|
+
type WebhookSourceStep<In, Out> = {
|
|
53
|
+
func: (services: any, data: In, wire: any) => Promise<Out | void>;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* A webhook source, using project-specific services.
|
|
57
|
+
*/
|
|
58
|
+
type TriggerWebhookSource<Events extends Record<string, StandardSchemaV1>> = Omit<CoreTriggerWebhookSource<Events>, 'verify' | 'receive' | 'check' | 'setup' | 'teardown'> & {
|
|
59
|
+
verify?: WebhookVerify<any>;
|
|
60
|
+
receive?: {
|
|
61
|
+
func: (services: any, data: WebhookRequest, wire: {
|
|
62
|
+
http: WebhookHTTP;
|
|
63
|
+
}) => Promise<WebhookReceiveResult | void>;
|
|
64
|
+
};
|
|
65
|
+
check?: WebhookSourceStep<WebhookLifecycleInput, WebhookCheckResult>;
|
|
66
|
+
setup?: WebhookSourceStep<WebhookLifecycleInput, WebhookSetupResult>;
|
|
67
|
+
teardown?: WebhookSourceStep<WebhookTeardownInput, WebhookTeardownResult>;
|
|
68
|
+
};
|
|
45
69
|
/**
|
|
46
70
|
* Creates a trigger function configuration.
|
|
47
71
|
* Use this to define trigger functions that set up subscriptions.
|
|
@@ -79,5 +103,44 @@ type PikkuTriggerFunctionConfigWithSchema<InputSchema extends StandardSchemaV1,
|
|
|
79
103
|
*/
|
|
80
104
|
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>;
|
|
81
105
|
export declare function pikkuTriggerFunc<TInput, TOutput = unknown>(triggerOrConfig: PikkuTriggerFunction<TInput, TOutput> | PikkuTriggerFunctionConfig<TInput, TOutput>): PikkuTriggerFunctionConfig<TInput, TOutput>;
|
|
106
|
+
/**
|
|
107
|
+
* A webhook source's `receive`: reads the request into events, or answers a
|
|
108
|
+
* handshake through `http.response`. It is public (`auth: false`) and only its source's route runs it,
|
|
109
|
+
* so it is never callable as an RPC. Signatures are the source's `verify`.
|
|
110
|
+
*
|
|
111
|
+
* @example snippet: pikkuWebhookReceive
|
|
112
|
+
*/
|
|
113
|
+
export declare const pikkuWebhookReceive: (config: {
|
|
114
|
+
/** A short name for the function in the console. */
|
|
115
|
+
title?: string;
|
|
116
|
+
/** What this receive reads, shown wherever the function is listed. */
|
|
117
|
+
description?: string;
|
|
118
|
+
/** Groups the function with others in the console and in `pikku info`. */
|
|
119
|
+
tags?: string[];
|
|
120
|
+
/** Turns the raw request into `{ events }`. A handshake returns nothing and answers through `http.response`. */
|
|
121
|
+
func: (services: Omit<SingletonServices, 'secrets'>, request: WebhookRequest, wire: {
|
|
122
|
+
http: WebhookHTTP;
|
|
123
|
+
}) => Promise<WebhookReceiveResult | void>;
|
|
124
|
+
}) => {
|
|
125
|
+
/** A short name for the function in the console. */
|
|
126
|
+
title?: string;
|
|
127
|
+
/** What this receive reads, shown wherever the function is listed. */
|
|
128
|
+
description?: string;
|
|
129
|
+
/** Groups the function with others in the console and in `pikku info`. */
|
|
130
|
+
tags?: string[];
|
|
131
|
+
/** Turns the raw request into `{ events }`. A handshake returns nothing and answers through `http.response`. */
|
|
132
|
+
func: (services: Omit<SingletonServices, 'secrets'>, request: WebhookRequest, wire: {
|
|
133
|
+
http: WebhookHTTP;
|
|
134
|
+
}) => Promise<WebhookReceiveResult | void>;
|
|
135
|
+
auth: false;
|
|
136
|
+
};
|
|
137
|
+
/**
|
|
138
|
+
* Declares a webhook source this addon ships. An app that wires the addon
|
|
139
|
+
* mounts its route and can register it with the provider, but the source
|
|
140
|
+
* stays off until someone turns it on. Declaration only: nothing runs here.
|
|
141
|
+
*
|
|
142
|
+
* @param source - Webhook source with name, events and its steps
|
|
143
|
+
*/
|
|
144
|
+
export declare const wireTriggerWebhookSource: <Events extends Record<string, StandardSchemaV1> = Record<string, StandardSchemaV1>>(_source: TriggerWebhookSource<Events>) => void;
|
|
82
145
|
export {};
|
|
83
146
|
//# sourceMappingURL=pikku-trigger-types.gen.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"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B,CAAC,WAEzE,oBAAoB,CAAC,MAAM,CAAC,SAChC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.190
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* Trigger-specific type definitions for tree-shaking optimization
|
|
@@ -10,4 +10,20 @@ export function pikkuTriggerFunc(triggerOrConfig) {
|
|
|
10
10
|
}
|
|
11
11
|
return triggerOrConfig;
|
|
12
12
|
}
|
|
13
|
+
/**
|
|
14
|
+
* A webhook source's `receive`: reads the request into events, or answers a
|
|
15
|
+
* handshake through `http.response`. It is public (`auth: false`) and only its source's route runs it,
|
|
16
|
+
* so it is never callable as an RPC. Signatures are the source's `verify`.
|
|
17
|
+
*
|
|
18
|
+
* @example snippet: pikkuWebhookReceive
|
|
19
|
+
*/
|
|
20
|
+
export const pikkuWebhookReceive = (config) => ({ ...config, auth: false });
|
|
21
|
+
/**
|
|
22
|
+
* Declares a webhook source this addon ships. An app that wires the addon
|
|
23
|
+
* mounts its route and can register it with the provider, but the source
|
|
24
|
+
* stays off until someone turns it on. Declaration only: nothing runs here.
|
|
25
|
+
*
|
|
26
|
+
* @param source - Webhook source with name, events and its steps
|
|
27
|
+
*/
|
|
28
|
+
export const wireTriggerWebhookSource = (_source) => { };
|
|
13
29
|
//# sourceMappingURL=pikku-trigger-types.gen.js.map
|
|
@@ -1 +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;
|
|
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;AA0IH,MAAM,UAAU,gBAAgB,CAAC,eAAoB;IACnD,IAAI,OAAO,eAAe,KAAK,UAAU,EAAE,CAAC;QAC1C,OAAO,EAAE,IAAI,EAAE,eAAe,EAAE,CAAA;IAClC,CAAC;IACD,OAAO,eAAe,CAAA;AACxB,CAAC;AAED;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,MASnC,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,MAAM,EAAE,IAAI,EAAE,KAAc,EAAE,CAAC,CAAA;AAG3C;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAGtC,OAAqC,EACrC,EAAE,GAAE,CAAC,CAAA"}
|