@pikku/addon-meta-conversions 0.1.5 → 0.1.7
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 +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 +10 -20
- 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 +10 -20
- 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/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 +57 -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 +56 -44
- package/dist/.pikku/addon/function/pikku-functions-meta-verbose.gen.json +2 -1
- package/dist/.pikku/addon/function/pikku-functions-meta.gen.js +1 -1
- package/dist/.pikku/addon/function/pikku-functions-meta.gen.json +1 -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 +42 -26
- 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 +43 -26
- 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 +1 -1
- package/dist/.pikku/addon/pikku-package.gen.ts +1 -1
- package/dist/.pikku/addon/pikku-services.gen.d.ts +9 -1
- package/dist/.pikku/addon/pikku-services.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/pikku-services.gen.js +8 -0
- package/dist/.pikku/addon/pikku-services.gen.js.map +1 -1
- package/dist/.pikku/addon/pikku-services.gen.ts +9 -1
- package/dist/.pikku/addon/rpc/pikku-rpc-wirings-map.gen.d.ts +2 -3
- package/dist/.pikku/addon/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +2 -3
- package/dist/.pikku/addon/rpc/pikku-rpc-wirings-map.remote.gen.d.ts +2 -3
- 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 -26
- 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 +5 -1
- package/dist/.pikku/addon/variables/pikku-variables.gen.js.map +1 -1
- package/dist/.pikku/addon/variables/pikku-variables.gen.ts +9 -1
- 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/mvcetam5.all.jsonl +3 -0
- package/dist/src/functions/events/send.function.d.ts +21 -21
- package/dist/src/functions/events/send.function.d.ts.map +1 -1
- package/dist/src/meta-conversions-api.service.d.ts.map +1 -1
- package/package.json +13 -10
- 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
|
@@ -67,6 +67,98 @@
|
|
|
67
67
|
"files": []
|
|
68
68
|
}
|
|
69
69
|
},
|
|
70
|
+
"#pikku/addon/analytics": {
|
|
71
|
+
"AnalyticsClientContext": {
|
|
72
|
+
"imports": 0,
|
|
73
|
+
"seenIn": [],
|
|
74
|
+
"files": []
|
|
75
|
+
},
|
|
76
|
+
"AnalyticsEventBase": {
|
|
77
|
+
"imports": 0,
|
|
78
|
+
"seenIn": [],
|
|
79
|
+
"files": []
|
|
80
|
+
},
|
|
81
|
+
"AnalyticsEventDefinitions": {
|
|
82
|
+
"imports": 0,
|
|
83
|
+
"seenIn": [],
|
|
84
|
+
"files": []
|
|
85
|
+
},
|
|
86
|
+
"AnalyticsEventPropsSchema": {
|
|
87
|
+
"imports": 0,
|
|
88
|
+
"seenIn": [],
|
|
89
|
+
"files": []
|
|
90
|
+
},
|
|
91
|
+
"AnalyticsIdentity": {
|
|
92
|
+
"imports": 0,
|
|
93
|
+
"seenIn": [],
|
|
94
|
+
"files": []
|
|
95
|
+
},
|
|
96
|
+
"AnalyticsIdentityResolver": {
|
|
97
|
+
"imports": 0,
|
|
98
|
+
"seenIn": [],
|
|
99
|
+
"files": []
|
|
100
|
+
},
|
|
101
|
+
"AnalyticsLog": {
|
|
102
|
+
"imports": 0,
|
|
103
|
+
"seenIn": [],
|
|
104
|
+
"files": []
|
|
105
|
+
},
|
|
106
|
+
"AnalyticsRecord": {
|
|
107
|
+
"imports": 0,
|
|
108
|
+
"seenIn": [],
|
|
109
|
+
"files": []
|
|
110
|
+
},
|
|
111
|
+
"AnalyticsService": {
|
|
112
|
+
"imports": 0,
|
|
113
|
+
"seenIn": [],
|
|
114
|
+
"files": []
|
|
115
|
+
},
|
|
116
|
+
"AnalyticsSink": {
|
|
117
|
+
"imports": 0,
|
|
118
|
+
"seenIn": [],
|
|
119
|
+
"files": []
|
|
120
|
+
},
|
|
121
|
+
"anonymousAnalyticsIdentity": {
|
|
122
|
+
"imports": 0,
|
|
123
|
+
"seenIn": [],
|
|
124
|
+
"files": []
|
|
125
|
+
},
|
|
126
|
+
"composeAnalyticsIdentity": {
|
|
127
|
+
"imports": 0,
|
|
128
|
+
"seenIn": [],
|
|
129
|
+
"files": []
|
|
130
|
+
},
|
|
131
|
+
"cookieAnalyticsIdentity": {
|
|
132
|
+
"imports": 0,
|
|
133
|
+
"seenIn": [],
|
|
134
|
+
"files": []
|
|
135
|
+
},
|
|
136
|
+
"defineAnalyticsEvents": {
|
|
137
|
+
"imports": 0,
|
|
138
|
+
"seenIn": [],
|
|
139
|
+
"files": []
|
|
140
|
+
},
|
|
141
|
+
"fanOutAnalytics": {
|
|
142
|
+
"imports": 0,
|
|
143
|
+
"seenIn": [],
|
|
144
|
+
"files": []
|
|
145
|
+
},
|
|
146
|
+
"LoggerAnalyticsService": {
|
|
147
|
+
"imports": 0,
|
|
148
|
+
"seenIn": [],
|
|
149
|
+
"files": []
|
|
150
|
+
},
|
|
151
|
+
"mintCookie": {
|
|
152
|
+
"imports": 0,
|
|
153
|
+
"seenIn": [],
|
|
154
|
+
"files": []
|
|
155
|
+
},
|
|
156
|
+
"randomDigits": {
|
|
157
|
+
"imports": 0,
|
|
158
|
+
"seenIn": [],
|
|
159
|
+
"files": []
|
|
160
|
+
}
|
|
161
|
+
},
|
|
70
162
|
"#pikku/addon/auth": {
|
|
71
163
|
"addGlobalPermission": {
|
|
72
164
|
"imports": 0,
|
|
@@ -121,6 +213,23 @@
|
|
|
121
213
|
"files": []
|
|
122
214
|
}
|
|
123
215
|
},
|
|
216
|
+
"#pikku/addon/cli": {
|
|
217
|
+
"defineCLICommands": {
|
|
218
|
+
"imports": 0,
|
|
219
|
+
"seenIn": [],
|
|
220
|
+
"files": []
|
|
221
|
+
},
|
|
222
|
+
"pikkuCLICommand": {
|
|
223
|
+
"imports": 0,
|
|
224
|
+
"seenIn": [],
|
|
225
|
+
"files": []
|
|
226
|
+
},
|
|
227
|
+
"pikkuCLIRender": {
|
|
228
|
+
"imports": 0,
|
|
229
|
+
"seenIn": [],
|
|
230
|
+
"files": []
|
|
231
|
+
}
|
|
232
|
+
},
|
|
124
233
|
"#pikku/addon/error": {
|
|
125
234
|
"addError": {
|
|
126
235
|
"imports": 0,
|
|
@@ -152,6 +261,11 @@
|
|
|
152
261
|
"seenIn": [],
|
|
153
262
|
"files": []
|
|
154
263
|
},
|
|
264
|
+
"CredentialRejectedError": {
|
|
265
|
+
"imports": 0,
|
|
266
|
+
"seenIn": [],
|
|
267
|
+
"files": []
|
|
268
|
+
},
|
|
155
269
|
"ErrorDetails": {
|
|
156
270
|
"imports": 0,
|
|
157
271
|
"seenIn": [],
|
|
@@ -162,6 +276,11 @@
|
|
|
162
276
|
"seenIn": [],
|
|
163
277
|
"files": []
|
|
164
278
|
},
|
|
279
|
+
"FeatureUnavailableError": {
|
|
280
|
+
"imports": 0,
|
|
281
|
+
"seenIn": [],
|
|
282
|
+
"files": []
|
|
283
|
+
},
|
|
165
284
|
"ForbiddenError": {
|
|
166
285
|
"imports": 0,
|
|
167
286
|
"seenIn": [],
|
|
@@ -468,11 +587,6 @@
|
|
|
468
587
|
"imports": 0,
|
|
469
588
|
"seenIn": [],
|
|
470
589
|
"files": []
|
|
471
|
-
},
|
|
472
|
-
"WiredSingletonServices": {
|
|
473
|
-
"imports": 0,
|
|
474
|
-
"seenIn": [],
|
|
475
|
-
"files": []
|
|
476
590
|
}
|
|
477
591
|
},
|
|
478
592
|
"#pikku/addon/http": {
|
|
@@ -520,6 +634,21 @@
|
|
|
520
634
|
"seenIn": [],
|
|
521
635
|
"files": []
|
|
522
636
|
},
|
|
637
|
+
"authAPIKey": {
|
|
638
|
+
"imports": 0,
|
|
639
|
+
"seenIn": [],
|
|
640
|
+
"files": []
|
|
641
|
+
},
|
|
642
|
+
"authBearer": {
|
|
643
|
+
"imports": 0,
|
|
644
|
+
"seenIn": [],
|
|
645
|
+
"files": []
|
|
646
|
+
},
|
|
647
|
+
"authCookie": {
|
|
648
|
+
"imports": 0,
|
|
649
|
+
"seenIn": [],
|
|
650
|
+
"files": []
|
|
651
|
+
},
|
|
523
652
|
"cors": {
|
|
524
653
|
"imports": 0,
|
|
525
654
|
"seenIn": [],
|
|
@@ -564,6 +693,11 @@
|
|
|
564
693
|
"imports": 0,
|
|
565
694
|
"seenIn": [],
|
|
566
695
|
"files": []
|
|
696
|
+
},
|
|
697
|
+
"requireOrigin": {
|
|
698
|
+
"imports": 0,
|
|
699
|
+
"seenIn": [],
|
|
700
|
+
"files": []
|
|
567
701
|
}
|
|
568
702
|
},
|
|
569
703
|
"#pikku/addon/scenarios": {
|
|
@@ -572,11 +706,6 @@
|
|
|
572
706
|
"seenIn": [],
|
|
573
707
|
"files": []
|
|
574
708
|
},
|
|
575
|
-
"createScenarioRunner": {
|
|
576
|
-
"imports": 0,
|
|
577
|
-
"seenIn": [],
|
|
578
|
-
"files": []
|
|
579
|
-
},
|
|
580
709
|
"pikkuAddonScenarioStep": {
|
|
581
710
|
"imports": 0,
|
|
582
711
|
"seenIn": [],
|
|
@@ -672,23 +801,28 @@
|
|
|
672
801
|
"seenIn": [],
|
|
673
802
|
"files": []
|
|
674
803
|
},
|
|
675
|
-
"
|
|
804
|
+
"TypedScenario": {
|
|
676
805
|
"imports": 0,
|
|
677
806
|
"seenIn": [],
|
|
678
807
|
"files": []
|
|
679
808
|
},
|
|
680
|
-
"
|
|
809
|
+
"TypedScenarioSteps": {
|
|
681
810
|
"imports": 0,
|
|
682
811
|
"seenIn": [],
|
|
683
812
|
"files": []
|
|
684
813
|
},
|
|
685
|
-
"
|
|
814
|
+
"TypedVirtualUsers": {
|
|
686
815
|
"imports": 0,
|
|
687
816
|
"seenIn": [],
|
|
688
817
|
"files": []
|
|
689
818
|
}
|
|
690
819
|
},
|
|
691
820
|
"#pikku/addon/scopes": {
|
|
821
|
+
"defineFeatureFlags": {
|
|
822
|
+
"imports": 0,
|
|
823
|
+
"seenIn": [],
|
|
824
|
+
"files": []
|
|
825
|
+
},
|
|
692
826
|
"defineScope": {
|
|
693
827
|
"imports": 0,
|
|
694
828
|
"seenIn": [],
|
|
@@ -698,6 +832,11 @@
|
|
|
698
832
|
"imports": 0,
|
|
699
833
|
"seenIn": [],
|
|
700
834
|
"files": []
|
|
835
|
+
},
|
|
836
|
+
"FeatureFlagName": {
|
|
837
|
+
"imports": 0,
|
|
838
|
+
"seenIn": [],
|
|
839
|
+
"files": []
|
|
701
840
|
}
|
|
702
841
|
},
|
|
703
842
|
"#pikku/addon/secrets": {
|
|
@@ -764,6 +903,23 @@
|
|
|
764
903
|
"imports": 0,
|
|
765
904
|
"seenIn": [],
|
|
766
905
|
"files": []
|
|
906
|
+
},
|
|
907
|
+
"pikkuWebhookReceive": {
|
|
908
|
+
"imports": 0,
|
|
909
|
+
"seenIn": [],
|
|
910
|
+
"files": []
|
|
911
|
+
},
|
|
912
|
+
"wireTriggerWebhookSource": {
|
|
913
|
+
"imports": 0,
|
|
914
|
+
"seenIn": [],
|
|
915
|
+
"files": []
|
|
916
|
+
}
|
|
917
|
+
},
|
|
918
|
+
"#pikku/addon/utils": {
|
|
919
|
+
"parseJson": {
|
|
920
|
+
"imports": 0,
|
|
921
|
+
"seenIn": [],
|
|
922
|
+
"files": []
|
|
767
923
|
}
|
|
768
924
|
},
|
|
769
925
|
"#pikku/addon/variables": {
|
|
@@ -852,6 +1008,98 @@
|
|
|
852
1008
|
"files": []
|
|
853
1009
|
}
|
|
854
1010
|
},
|
|
1011
|
+
"#pikku/analytics": {
|
|
1012
|
+
"AnalyticsClientContext": {
|
|
1013
|
+
"imports": 0,
|
|
1014
|
+
"seenIn": [],
|
|
1015
|
+
"files": []
|
|
1016
|
+
},
|
|
1017
|
+
"AnalyticsEventBase": {
|
|
1018
|
+
"imports": 0,
|
|
1019
|
+
"seenIn": [],
|
|
1020
|
+
"files": []
|
|
1021
|
+
},
|
|
1022
|
+
"AnalyticsEventDefinitions": {
|
|
1023
|
+
"imports": 0,
|
|
1024
|
+
"seenIn": [],
|
|
1025
|
+
"files": []
|
|
1026
|
+
},
|
|
1027
|
+
"AnalyticsEventPropsSchema": {
|
|
1028
|
+
"imports": 0,
|
|
1029
|
+
"seenIn": [],
|
|
1030
|
+
"files": []
|
|
1031
|
+
},
|
|
1032
|
+
"AnalyticsIdentity": {
|
|
1033
|
+
"imports": 0,
|
|
1034
|
+
"seenIn": [],
|
|
1035
|
+
"files": []
|
|
1036
|
+
},
|
|
1037
|
+
"AnalyticsIdentityResolver": {
|
|
1038
|
+
"imports": 0,
|
|
1039
|
+
"seenIn": [],
|
|
1040
|
+
"files": []
|
|
1041
|
+
},
|
|
1042
|
+
"AnalyticsLog": {
|
|
1043
|
+
"imports": 0,
|
|
1044
|
+
"seenIn": [],
|
|
1045
|
+
"files": []
|
|
1046
|
+
},
|
|
1047
|
+
"AnalyticsRecord": {
|
|
1048
|
+
"imports": 0,
|
|
1049
|
+
"seenIn": [],
|
|
1050
|
+
"files": []
|
|
1051
|
+
},
|
|
1052
|
+
"AnalyticsService": {
|
|
1053
|
+
"imports": 0,
|
|
1054
|
+
"seenIn": [],
|
|
1055
|
+
"files": []
|
|
1056
|
+
},
|
|
1057
|
+
"AnalyticsSink": {
|
|
1058
|
+
"imports": 0,
|
|
1059
|
+
"seenIn": [],
|
|
1060
|
+
"files": []
|
|
1061
|
+
},
|
|
1062
|
+
"anonymousAnalyticsIdentity": {
|
|
1063
|
+
"imports": 0,
|
|
1064
|
+
"seenIn": [],
|
|
1065
|
+
"files": []
|
|
1066
|
+
},
|
|
1067
|
+
"composeAnalyticsIdentity": {
|
|
1068
|
+
"imports": 0,
|
|
1069
|
+
"seenIn": [],
|
|
1070
|
+
"files": []
|
|
1071
|
+
},
|
|
1072
|
+
"cookieAnalyticsIdentity": {
|
|
1073
|
+
"imports": 0,
|
|
1074
|
+
"seenIn": [],
|
|
1075
|
+
"files": []
|
|
1076
|
+
},
|
|
1077
|
+
"defineAnalyticsEvents": {
|
|
1078
|
+
"imports": 0,
|
|
1079
|
+
"seenIn": [],
|
|
1080
|
+
"files": []
|
|
1081
|
+
},
|
|
1082
|
+
"fanOutAnalytics": {
|
|
1083
|
+
"imports": 0,
|
|
1084
|
+
"seenIn": [],
|
|
1085
|
+
"files": []
|
|
1086
|
+
},
|
|
1087
|
+
"LoggerAnalyticsService": {
|
|
1088
|
+
"imports": 0,
|
|
1089
|
+
"seenIn": [],
|
|
1090
|
+
"files": []
|
|
1091
|
+
},
|
|
1092
|
+
"mintCookie": {
|
|
1093
|
+
"imports": 0,
|
|
1094
|
+
"seenIn": [],
|
|
1095
|
+
"files": []
|
|
1096
|
+
},
|
|
1097
|
+
"randomDigits": {
|
|
1098
|
+
"imports": 0,
|
|
1099
|
+
"seenIn": [],
|
|
1100
|
+
"files": []
|
|
1101
|
+
}
|
|
1102
|
+
},
|
|
855
1103
|
"#pikku/auth": {
|
|
856
1104
|
"addGlobalPermission": {
|
|
857
1105
|
"imports": 0,
|
|
@@ -969,6 +1217,11 @@
|
|
|
969
1217
|
"seenIn": [],
|
|
970
1218
|
"files": []
|
|
971
1219
|
},
|
|
1220
|
+
"CredentialRejectedError": {
|
|
1221
|
+
"imports": 0,
|
|
1222
|
+
"seenIn": [],
|
|
1223
|
+
"files": []
|
|
1224
|
+
},
|
|
972
1225
|
"ErrorDetails": {
|
|
973
1226
|
"imports": 0,
|
|
974
1227
|
"seenIn": [],
|
|
@@ -979,6 +1232,11 @@
|
|
|
979
1232
|
"seenIn": [],
|
|
980
1233
|
"files": []
|
|
981
1234
|
},
|
|
1235
|
+
"FeatureUnavailableError": {
|
|
1236
|
+
"imports": 0,
|
|
1237
|
+
"seenIn": [],
|
|
1238
|
+
"files": []
|
|
1239
|
+
},
|
|
982
1240
|
"ForbiddenError": {
|
|
983
1241
|
"imports": 0,
|
|
984
1242
|
"seenIn": [],
|
|
@@ -1285,11 +1543,6 @@
|
|
|
1285
1543
|
"imports": 0,
|
|
1286
1544
|
"seenIn": [],
|
|
1287
1545
|
"files": []
|
|
1288
|
-
},
|
|
1289
|
-
"WiredSingletonServices": {
|
|
1290
|
-
"imports": 0,
|
|
1291
|
-
"seenIn": [],
|
|
1292
|
-
"files": []
|
|
1293
1546
|
}
|
|
1294
1547
|
},
|
|
1295
1548
|
"#pikku/gateway": {
|
|
@@ -1399,6 +1652,21 @@
|
|
|
1399
1652
|
"seenIn": [],
|
|
1400
1653
|
"files": []
|
|
1401
1654
|
},
|
|
1655
|
+
"authAPIKey": {
|
|
1656
|
+
"imports": 0,
|
|
1657
|
+
"seenIn": [],
|
|
1658
|
+
"files": []
|
|
1659
|
+
},
|
|
1660
|
+
"authBearer": {
|
|
1661
|
+
"imports": 0,
|
|
1662
|
+
"seenIn": [],
|
|
1663
|
+
"files": []
|
|
1664
|
+
},
|
|
1665
|
+
"authCookie": {
|
|
1666
|
+
"imports": 0,
|
|
1667
|
+
"seenIn": [],
|
|
1668
|
+
"files": []
|
|
1669
|
+
},
|
|
1402
1670
|
"cors": {
|
|
1403
1671
|
"imports": 0,
|
|
1404
1672
|
"seenIn": [],
|
|
@@ -1443,6 +1711,11 @@
|
|
|
1443
1711
|
"imports": 0,
|
|
1444
1712
|
"seenIn": [],
|
|
1445
1713
|
"files": []
|
|
1714
|
+
},
|
|
1715
|
+
"requireOrigin": {
|
|
1716
|
+
"imports": 0,
|
|
1717
|
+
"seenIn": [],
|
|
1718
|
+
"files": []
|
|
1446
1719
|
}
|
|
1447
1720
|
},
|
|
1448
1721
|
"#pikku/queue": {
|
|
@@ -1458,11 +1731,6 @@
|
|
|
1458
1731
|
"seenIn": [],
|
|
1459
1732
|
"files": []
|
|
1460
1733
|
},
|
|
1461
|
-
"createScenarioRunner": {
|
|
1462
|
-
"imports": 0,
|
|
1463
|
-
"seenIn": [],
|
|
1464
|
-
"files": []
|
|
1465
|
-
},
|
|
1466
1734
|
"pikkuAddonScenarioStep": {
|
|
1467
1735
|
"imports": 0,
|
|
1468
1736
|
"seenIn": [],
|
|
@@ -1558,17 +1826,17 @@
|
|
|
1558
1826
|
"seenIn": [],
|
|
1559
1827
|
"files": []
|
|
1560
1828
|
},
|
|
1561
|
-
"
|
|
1829
|
+
"TypedScenario": {
|
|
1562
1830
|
"imports": 0,
|
|
1563
1831
|
"seenIn": [],
|
|
1564
1832
|
"files": []
|
|
1565
1833
|
},
|
|
1566
|
-
"
|
|
1834
|
+
"TypedScenarioSteps": {
|
|
1567
1835
|
"imports": 0,
|
|
1568
1836
|
"seenIn": [],
|
|
1569
1837
|
"files": []
|
|
1570
1838
|
},
|
|
1571
|
-
"
|
|
1839
|
+
"TypedVirtualUsers": {
|
|
1572
1840
|
"imports": 0,
|
|
1573
1841
|
"seenIn": [],
|
|
1574
1842
|
"files": []
|
|
@@ -1582,6 +1850,11 @@
|
|
|
1582
1850
|
}
|
|
1583
1851
|
},
|
|
1584
1852
|
"#pikku/scopes": {
|
|
1853
|
+
"defineFeatureFlags": {
|
|
1854
|
+
"imports": 0,
|
|
1855
|
+
"seenIn": [],
|
|
1856
|
+
"files": []
|
|
1857
|
+
},
|
|
1585
1858
|
"defineScope": {
|
|
1586
1859
|
"imports": 0,
|
|
1587
1860
|
"seenIn": [],
|
|
@@ -1591,6 +1864,11 @@
|
|
|
1591
1864
|
"imports": 0,
|
|
1592
1865
|
"seenIn": [],
|
|
1593
1866
|
"files": []
|
|
1867
|
+
},
|
|
1868
|
+
"FeatureFlagName": {
|
|
1869
|
+
"imports": 0,
|
|
1870
|
+
"seenIn": [],
|
|
1871
|
+
"files": []
|
|
1594
1872
|
}
|
|
1595
1873
|
},
|
|
1596
1874
|
"#pikku/secrets": {
|
|
@@ -1621,6 +1899,11 @@
|
|
|
1621
1899
|
"seenIn": [],
|
|
1622
1900
|
"files": []
|
|
1623
1901
|
},
|
|
1902
|
+
"pikkuServerLifecycle": {
|
|
1903
|
+
"imports": 0,
|
|
1904
|
+
"seenIn": [],
|
|
1905
|
+
"files": []
|
|
1906
|
+
},
|
|
1624
1907
|
"pikkuServices": {
|
|
1625
1908
|
"imports": 0,
|
|
1626
1909
|
"seenIn": [],
|
|
@@ -1638,6 +1921,11 @@
|
|
|
1638
1921
|
"seenIn": [],
|
|
1639
1922
|
"files": []
|
|
1640
1923
|
},
|
|
1924
|
+
"pikkuWebhookReceive": {
|
|
1925
|
+
"imports": 0,
|
|
1926
|
+
"seenIn": [],
|
|
1927
|
+
"files": []
|
|
1928
|
+
},
|
|
1641
1929
|
"wireTrigger": {
|
|
1642
1930
|
"imports": 0,
|
|
1643
1931
|
"seenIn": [],
|
|
@@ -1647,6 +1935,18 @@
|
|
|
1647
1935
|
"imports": 0,
|
|
1648
1936
|
"seenIn": [],
|
|
1649
1937
|
"files": []
|
|
1938
|
+
},
|
|
1939
|
+
"wireTriggerWebhookSource": {
|
|
1940
|
+
"imports": 0,
|
|
1941
|
+
"seenIn": [],
|
|
1942
|
+
"files": []
|
|
1943
|
+
}
|
|
1944
|
+
},
|
|
1945
|
+
"#pikku/utils": {
|
|
1946
|
+
"parseJson": {
|
|
1947
|
+
"imports": 0,
|
|
1948
|
+
"seenIn": [],
|
|
1949
|
+
"files": []
|
|
1650
1950
|
}
|
|
1651
1951
|
},
|
|
1652
1952
|
"#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,"file":"pikku-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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"}
|