@pikku/addon-mautic 0.0.2
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 +12 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +67 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.js +78 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.js.map +1 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.ts +106 -0
- package/dist/.pikku/addon/pikku-package.gen.d.ts +2 -0
- package/dist/.pikku/addon/pikku-package.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/pikku-package.gen.js +10 -0
- package/dist/.pikku/addon/pikku-package.gen.js.map +1 -0
- package/dist/.pikku/addon/pikku-package.gen.ts +11 -0
- package/dist/.pikku/agent/pikku-agent-map.gen.d.ts +4 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +47 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts.map +1 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.js +18 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.js.map +1 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.ts +82 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +112 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.d.ts.map +1 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.js +60 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.js.map +1 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.ts +177 -0
- package/dist/.pikku/console/pikku-node-types.gen.d.ts +7 -0
- package/dist/.pikku/console/pikku-node-types.gen.d.ts.map +1 -0
- package/dist/.pikku/console/pikku-node-types.gen.js +2 -0
- package/dist/.pikku/console/pikku-node-types.gen.js.map +1 -0
- package/dist/.pikku/console/pikku-node-types.gen.ts +8 -0
- package/dist/.pikku/credentials/pikku-credentials-meta.gen.json +10 -0
- package/dist/.pikku/credentials/pikku-credentials.gen.d.ts +15 -0
- package/dist/.pikku/credentials/pikku-credentials.gen.d.ts.map +1 -0
- package/dist/.pikku/credentials/pikku-credentials.gen.js +13 -0
- package/dist/.pikku/credentials/pikku-credentials.gen.js.map +1 -0
- package/dist/.pikku/credentials/pikku-credentials.gen.ts +23 -0
- package/dist/.pikku/function/pikku-function-types.gen.d.ts +490 -0
- package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +1 -0
- package/dist/.pikku/function/pikku-function-types.gen.js +334 -0
- package/dist/.pikku/function/pikku-function-types.gen.js.map +1 -0
- package/dist/.pikku/function/pikku-function-types.gen.ts +754 -0
- package/dist/.pikku/function/pikku-functions-meta-verbose.gen.json +582 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.d.ts +2 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.d.ts.map +1 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.js +7 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.js.map +1 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.json +382 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.ts +7 -0
- package/dist/.pikku/function/pikku-functions.gen.d.ts +2 -0
- package/dist/.pikku/function/pikku-functions.gen.d.ts.map +1 -0
- package/dist/.pikku/function/pikku-functions.gen.js +46 -0
- package/dist/.pikku/function/pikku-functions.gen.js.map +1 -0
- package/dist/.pikku/function/pikku-functions.gen.ts +46 -0
- package/dist/.pikku/http/pikku-http-types.gen.d.ts +120 -0
- package/dist/.pikku/http/pikku-http-types.gen.d.ts.map +1 -0
- package/dist/.pikku/http/pikku-http-types.gen.js +72 -0
- package/dist/.pikku/http/pikku-http-types.gen.js.map +1 -0
- package/dist/.pikku/http/pikku-http-types.gen.ts +147 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +131 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts.map +1 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.js +38 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.js.map +1 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.ts +183 -0
- package/dist/.pikku/pikku-bootstrap.gen.d.ts +9 -0
- package/dist/.pikku/pikku-bootstrap.gen.d.ts.map +1 -0
- package/dist/.pikku/pikku-bootstrap.gen.js +9 -0
- package/dist/.pikku/pikku-bootstrap.gen.js.map +1 -0
- package/dist/.pikku/pikku-bootstrap.gen.ts +8 -0
- package/dist/.pikku/pikku-meta-service.gen.d.ts +8 -0
- package/dist/.pikku/pikku-meta-service.gen.d.ts.map +1 -0
- package/dist/.pikku/pikku-meta-service.gen.js +10 -0
- package/dist/.pikku/pikku-meta-service.gen.js.map +1 -0
- package/dist/.pikku/pikku-meta-service.gen.ts +10 -0
- package/dist/.pikku/pikku-services.gen.d.ts +35 -0
- package/dist/.pikku/pikku-services.gen.d.ts.map +1 -0
- package/dist/.pikku/pikku-services.gen.js +30 -0
- package/dist/.pikku/pikku-services.gen.js.map +1 -0
- package/dist/.pikku/pikku-services.gen.ts +42 -0
- package/dist/.pikku/pikku-types.gen.d.ts +12 -0
- package/dist/.pikku/pikku-types.gen.d.ts.map +1 -0
- package/dist/.pikku/pikku-types.gen.js +17 -0
- package/dist/.pikku/pikku-types.gen.js.map +1 -0
- package/dist/.pikku/pikku-types.gen.ts +21 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +24 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.d.ts.map +1 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.js +17 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.js.map +1 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.ts +27 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +243 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +263 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts +2 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts.map +1 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +7 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js.map +1 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +22 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts +6 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +22 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts.map +1 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +17 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js.map +1 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.ts +25 -0
- package/dist/.pikku/schemas/register.gen.d.ts +2 -0
- package/dist/.pikku/schemas/register.gen.d.ts.map +1 -0
- package/dist/.pikku/schemas/register.gen.js +89 -0
- package/dist/.pikku/schemas/register.gen.js.map +1 -0
- package/dist/.pikku/schemas/register.gen.ts +171 -0
- package/dist/.pikku/schemas/schemas/CampaignContactAddInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CampaignContactAddOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CampaignContactRemoveInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CampaignContactRemoveOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CompanyContactAddInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CompanyContactAddOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CompanyContactRemoveInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CompanyContactRemoveOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CompanyCreateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CompanyCreateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CompanyDeleteInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CompanyDeleteOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CompanyGetAllInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CompanyGetAllOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CompanyGetInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CompanyGetOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CompanyUpdateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CompanyUpdateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactCreateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactCreateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactDeleteInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactDeleteOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactEditContactPointInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactEditContactPointOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactEditDoNotContactListInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactEditDoNotContactListOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactGetAllInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactGetAllOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactGetInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactGetOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactSegmentAddInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactSegmentAddOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactSegmentRemoveInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactSegmentRemoveOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactSendEmailInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactSendEmailOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactUpdateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactUpdateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CredentialSchema_mautic.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/SegmentEmailSendInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/SegmentEmailSendOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/VariableSchema_MAUTIC_BASE_URL.schema.json +1 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +6 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts.map +1 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.js +5 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.js.map +1 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.ts +5 -0
- package/dist/.pikku/secrets/pikku-secrets-meta.gen.json +1 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +12 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts.map +1 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.js +11 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.js.map +1 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.ts +21 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +114 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts.map +1 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.js +34 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.js.map +1 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.ts +160 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +6 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.d.ts.map +1 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.js +5 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.js.map +1 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.ts +5 -0
- package/dist/.pikku/variables/pikku-variables-meta.gen.json +10 -0
- package/dist/.pikku/variables/pikku-variables.gen.d.ts +15 -0
- package/dist/.pikku/variables/pikku-variables.gen.d.ts.map +1 -0
- package/dist/.pikku/variables/pikku-variables.gen.js +13 -0
- package/dist/.pikku/variables/pikku-variables.gen.js.map +1 -0
- package/dist/.pikku/variables/pikku-variables.gen.ts +23 -0
- package/dist/.pikku/workflow/pikku-workflow-map.gen.d.ts +38 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +90 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js +18 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.ts +167 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.d.ts +2 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.d.ts.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +7 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.ts +9 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +5 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +5 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.ts +3 -0
- package/dist/src/functions/campaignContactAdd.function.d.ts +17 -0
- package/dist/src/functions/campaignContactAdd.function.d.ts.map +1 -0
- package/dist/src/functions/campaignContactAdd.function.js +16 -0
- package/dist/src/functions/campaignContactAdd.function.js.map +1 -0
- package/dist/src/functions/campaignContactRemove.function.d.ts +17 -0
- package/dist/src/functions/campaignContactRemove.function.d.ts.map +1 -0
- package/dist/src/functions/campaignContactRemove.function.js +16 -0
- package/dist/src/functions/campaignContactRemove.function.js.map +1 -0
- package/dist/src/functions/companyContactAdd.function.d.ts +17 -0
- package/dist/src/functions/companyContactAdd.function.d.ts.map +1 -0
- package/dist/src/functions/companyContactAdd.function.js +16 -0
- package/dist/src/functions/companyContactAdd.function.js.map +1 -0
- package/dist/src/functions/companyContactRemove.function.d.ts +17 -0
- package/dist/src/functions/companyContactRemove.function.d.ts.map +1 -0
- package/dist/src/functions/companyContactRemove.function.js +16 -0
- package/dist/src/functions/companyContactRemove.function.js.map +1 -0
- package/dist/src/functions/companyCreate.function.d.ts +21 -0
- package/dist/src/functions/companyCreate.function.d.ts.map +1 -0
- package/dist/src/functions/companyCreate.function.js +17 -0
- package/dist/src/functions/companyCreate.function.js.map +1 -0
- package/dist/src/functions/companyDelete.function.d.ts +13 -0
- package/dist/src/functions/companyDelete.function.d.ts.map +1 -0
- package/dist/src/functions/companyDelete.function.js +15 -0
- package/dist/src/functions/companyDelete.function.js.map +1 -0
- package/dist/src/functions/companyGet.function.d.ts +13 -0
- package/dist/src/functions/companyGet.function.d.ts.map +1 -0
- package/dist/src/functions/companyGet.function.js +15 -0
- package/dist/src/functions/companyGet.function.js.map +1 -0
- package/dist/src/functions/companyGetAll.function.d.ts +17 -0
- package/dist/src/functions/companyGetAll.function.d.ts.map +1 -0
- package/dist/src/functions/companyGetAll.function.js +16 -0
- package/dist/src/functions/companyGetAll.function.js.map +1 -0
- package/dist/src/functions/companyUpdate.function.d.ts +21 -0
- package/dist/src/functions/companyUpdate.function.d.ts.map +1 -0
- package/dist/src/functions/companyUpdate.function.js +17 -0
- package/dist/src/functions/companyUpdate.function.js.map +1 -0
- package/dist/src/functions/contactCreate.function.d.ts +25 -0
- package/dist/src/functions/contactCreate.function.d.ts.map +1 -0
- package/dist/src/functions/contactCreate.function.js +18 -0
- package/dist/src/functions/contactCreate.function.js.map +1 -0
- package/dist/src/functions/contactDelete.function.d.ts +13 -0
- package/dist/src/functions/contactDelete.function.d.ts.map +1 -0
- package/dist/src/functions/contactDelete.function.js +15 -0
- package/dist/src/functions/contactDelete.function.js.map +1 -0
- package/dist/src/functions/contactEditContactPoint.function.d.ts +21 -0
- package/dist/src/functions/contactEditContactPoint.function.d.ts.map +1 -0
- package/dist/src/functions/contactEditContactPoint.function.js +17 -0
- package/dist/src/functions/contactEditContactPoint.function.js.map +1 -0
- package/dist/src/functions/contactEditDoNotContactList.function.d.ts +21 -0
- package/dist/src/functions/contactEditDoNotContactList.function.d.ts.map +1 -0
- package/dist/src/functions/contactEditDoNotContactList.function.js +17 -0
- package/dist/src/functions/contactEditDoNotContactList.function.js.map +1 -0
- package/dist/src/functions/contactGet.function.d.ts +13 -0
- package/dist/src/functions/contactGet.function.d.ts.map +1 -0
- package/dist/src/functions/contactGet.function.js +15 -0
- package/dist/src/functions/contactGet.function.js.map +1 -0
- package/dist/src/functions/contactGetAll.function.d.ts +21 -0
- package/dist/src/functions/contactGetAll.function.d.ts.map +1 -0
- package/dist/src/functions/contactGetAll.function.js +17 -0
- package/dist/src/functions/contactGetAll.function.js.map +1 -0
- package/dist/src/functions/contactSegmentAdd.function.d.ts +17 -0
- package/dist/src/functions/contactSegmentAdd.function.d.ts.map +1 -0
- package/dist/src/functions/contactSegmentAdd.function.js +16 -0
- package/dist/src/functions/contactSegmentAdd.function.js.map +1 -0
- package/dist/src/functions/contactSegmentRemove.function.d.ts +17 -0
- package/dist/src/functions/contactSegmentRemove.function.d.ts.map +1 -0
- package/dist/src/functions/contactSegmentRemove.function.js +16 -0
- package/dist/src/functions/contactSegmentRemove.function.js.map +1 -0
- package/dist/src/functions/contactSendEmail.function.d.ts +17 -0
- package/dist/src/functions/contactSendEmail.function.d.ts.map +1 -0
- package/dist/src/functions/contactSendEmail.function.js +16 -0
- package/dist/src/functions/contactSendEmail.function.js.map +1 -0
- package/dist/src/functions/contactUpdate.function.d.ts +25 -0
- package/dist/src/functions/contactUpdate.function.d.ts.map +1 -0
- package/dist/src/functions/contactUpdate.function.js +18 -0
- package/dist/src/functions/contactUpdate.function.js.map +1 -0
- package/dist/src/functions/segmentEmailSend.function.d.ts +13 -0
- package/dist/src/functions/segmentEmailSend.function.d.ts.map +1 -0
- package/dist/src/functions/segmentEmailSend.function.js +15 -0
- package/dist/src/functions/segmentEmailSend.function.js.map +1 -0
- package/dist/src/index.d.ts +21 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +21 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/mautic-api.service.d.ts +10 -0
- package/dist/src/mautic-api.service.d.ts.map +1 -0
- package/dist/src/mautic-api.service.js +225 -0
- package/dist/src/mautic-api.service.js.map +1 -0
- package/dist/src/mautic.credential.d.ts +5 -0
- package/dist/src/mautic.credential.d.ts.map +1 -0
- package/dist/src/mautic.credential.js +13 -0
- package/dist/src/mautic.credential.js.map +1 -0
- package/dist/src/mautic.types.d.ts +7 -0
- package/dist/src/mautic.types.d.ts.map +1 -0
- package/dist/src/mautic.types.js +8 -0
- package/dist/src/mautic.types.js.map +1 -0
- package/dist/src/mautic.variable.d.ts +5 -0
- package/dist/src/mautic.variable.d.ts.map +1 -0
- package/dist/src/mautic.variable.js +11 -0
- package/dist/src/mautic.variable.js.map +1 -0
- package/dist/src/services.d.ts +2 -0
- package/dist/src/services.d.ts.map +1 -0
- package/dist/src/services.js +14 -0
- package/dist/src/services.js.map +1 -0
- package/package.json +39 -0
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* HTTP-specific type definitions for tree-shaking optimization
|
|
6
|
+
*/
|
|
7
|
+
import { wireHTTP as wireHTTPCore, addHTTPMiddleware as addHTTPMiddlewareCore, addHTTPPermission as addHTTPPermissionCore, wireHTTPRoutes as wireHTTPRoutesCore, defineHTTPRoutes as defineHTTPRoutesCore } from '@pikku/core/http';
|
|
8
|
+
/**
|
|
9
|
+
* Registers an HTTP wiring with the Pikku framework.
|
|
10
|
+
*
|
|
11
|
+
* @template In - Input type for the HTTP wiring
|
|
12
|
+
* @template Out - Output type for the HTTP wiring
|
|
13
|
+
* @template Route - String literal type for the HTTP path (e.g., "/users/:id")
|
|
14
|
+
* @param httpWiring - HTTP wiring definition with handler, method, and optional middleware
|
|
15
|
+
*/
|
|
16
|
+
export const wireHTTP = (httpWiring) => {
|
|
17
|
+
wireHTTPCore(httpWiring);
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Registers HTTP middleware either globally or for a specific route pattern.
|
|
21
|
+
*
|
|
22
|
+
* When a string route pattern is provided along with middleware, the middleware
|
|
23
|
+
* is applied only to that route. Otherwise, if an array is provided, it is treated
|
|
24
|
+
* as global middleware (applied to all routes).
|
|
25
|
+
*
|
|
26
|
+
* @param routeOrMiddleware - Either a global middleware array or a route pattern string
|
|
27
|
+
* @param middleware - The middleware array to apply when a route pattern is specified
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* ```typescript
|
|
31
|
+
* // Add global HTTP middleware
|
|
32
|
+
* addHTTPMiddleware([authMiddleware, loggingMiddleware])
|
|
33
|
+
*
|
|
34
|
+
* // Add route-specific middleware
|
|
35
|
+
* addHTTPMiddleware('/api/admin/*', [adminAuthMiddleware])
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
export const addHTTPMiddleware = (routeOrMiddleware, middleware) => {
|
|
39
|
+
addHTTPMiddlewareCore(routeOrMiddleware, middleware);
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Registers HTTP permissions either globally or for a specific route pattern.
|
|
43
|
+
*
|
|
44
|
+
* When a string route pattern is provided along with permissions, the permissions
|
|
45
|
+
* are applied only to that route. Permissions can be passed as an array or as a
|
|
46
|
+
* permission group object.
|
|
47
|
+
*
|
|
48
|
+
* @param pattern - Route pattern string (e.g., '*' for all routes, '/api/*' for specific routes)
|
|
49
|
+
* @param permissions - The permissions to apply for the specified route pattern
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* ```typescript
|
|
53
|
+
* // Add global HTTP permissions
|
|
54
|
+
* addHTTPPermission('*', { global: globalPermission })
|
|
55
|
+
*
|
|
56
|
+
* // Add route-specific permissions
|
|
57
|
+
* addHTTPPermission('/api/admin/*', { admin: adminPermission })
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
export const addHTTPPermission = (pattern, permissions) => {
|
|
61
|
+
addHTTPPermissionCore(pattern, permissions);
|
|
62
|
+
};
|
|
63
|
+
export function defineHTTPRoutes(configOrRoutes) {
|
|
64
|
+
return defineHTTPRoutesCore(configOrRoutes);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Wires multiple HTTP routes from a nested map or array configuration.
|
|
68
|
+
*/
|
|
69
|
+
export const wireHTTPRoutes = (config) => {
|
|
70
|
+
wireHTTPRoutesCore(config);
|
|
71
|
+
};
|
|
72
|
+
//# sourceMappingURL=pikku-http-types.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-http-types.gen.js","sourceRoot":"","sources":["../../../.pikku/http/pikku-http-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,EAA0B,QAAQ,IAAI,YAAY,EAAE,iBAAiB,IAAI,qBAAqB,EAAE,iBAAiB,IAAI,qBAAqB,EAAE,cAAc,IAAI,kBAAkB,EAAE,gBAAgB,IAAI,oBAAoB,EAAE,MAAM,kBAAkB,CAAA;AAc3P;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,CACtB,UAA0E,EAC1E,EAAE;IACF,YAAY,CAAC,UAAiB,CAAC,CAAA;AACjC,CAAC,CAAA;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAC/B,iBAA6C,EAC7C,UAA8B,EAC9B,EAAE;IACF,qBAAqB,CAAC,iBAAwB,EAAE,UAAiB,CAAC,CAAA;AACpE,CAAC,CAAA;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAC/B,OAAe,EACf,WAAwE,EACxE,EAAE;IACF,qBAAqB,CAAC,OAAO,EAAE,WAAkB,CAAC,CAAA;AACpD,CAAC,CAAA;AAoDD,MAAM,UAAU,gBAAgB,CAA8B,cAAgE;IAC5H,OAAO,oBAAoB,CAAC,cAAqB,CAAyC,CAAA;AAC5F,CAAC;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,MAAiC,EAAQ,EAAE;IACxE,kBAAkB,CAAC,MAAa,CAAC,CAAA;AACnC,CAAC,CAAA"}
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* HTTP-specific type definitions for tree-shaking optimization
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import { AssertHTTPWiringParams, wireHTTP as wireHTTPCore, addHTTPMiddleware as addHTTPMiddlewareCore, addHTTPPermission as addHTTPPermissionCore, wireHTTPRoutes as wireHTTPRoutesCore, defineHTTPRoutes as defineHTTPRoutesCore } from '@pikku/core/http'
|
|
9
|
+
import type { PikkuFunction, PikkuFunctionSessionless, PikkuPermission, PikkuMiddleware, PikkuFunctionConfig } from '../function/pikku-function-types.gen.js'
|
|
10
|
+
import type { CoreHTTPFunctionWiring, HTTPMethod, HTTPRouteBaseConfig } from '@pikku/core/http'
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Type definition for HTTP API wirings with type-safe path parameters.
|
|
14
|
+
* Supports both authenticated and unauthenticated functions.
|
|
15
|
+
*
|
|
16
|
+
* @template In - Input type for the HTTP wiring
|
|
17
|
+
* @template Out - Output type for the HTTP wiring
|
|
18
|
+
* @template Route - String literal type for the HTTP path (e.g., "/users/:id")
|
|
19
|
+
*/
|
|
20
|
+
type HTTPWiring<In, Out, Route extends string> = CoreHTTPFunctionWiring<In, Out, Route, PikkuFunction<In, Out, 'rpc' | 'session'>, PikkuFunctionSessionless<In, Out, 'rpc' | 'session'>, PikkuPermission<In>, PikkuMiddleware>
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Registers an HTTP wiring with the Pikku framework.
|
|
24
|
+
*
|
|
25
|
+
* @template In - Input type for the HTTP wiring
|
|
26
|
+
* @template Out - Output type for the HTTP wiring
|
|
27
|
+
* @template Route - String literal type for the HTTP path (e.g., "/users/:id")
|
|
28
|
+
* @param httpWiring - HTTP wiring definition with handler, method, and optional middleware
|
|
29
|
+
*/
|
|
30
|
+
export const wireHTTP = <In, Out, Route extends string>(
|
|
31
|
+
httpWiring: HTTPWiring<In, Out, Route> & AssertHTTPWiringParams<In, Route>
|
|
32
|
+
) => {
|
|
33
|
+
wireHTTPCore(httpWiring as any)
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Registers HTTP middleware either globally or for a specific route pattern.
|
|
38
|
+
*
|
|
39
|
+
* When a string route pattern is provided along with middleware, the middleware
|
|
40
|
+
* is applied only to that route. Otherwise, if an array is provided, it is treated
|
|
41
|
+
* as global middleware (applied to all routes).
|
|
42
|
+
*
|
|
43
|
+
* @param routeOrMiddleware - Either a global middleware array or a route pattern string
|
|
44
|
+
* @param middleware - The middleware array to apply when a route pattern is specified
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* ```typescript
|
|
48
|
+
* // Add global HTTP middleware
|
|
49
|
+
* addHTTPMiddleware([authMiddleware, loggingMiddleware])
|
|
50
|
+
*
|
|
51
|
+
* // Add route-specific middleware
|
|
52
|
+
* addHTTPMiddleware('/api/admin/*', [adminAuthMiddleware])
|
|
53
|
+
* ```
|
|
54
|
+
*/
|
|
55
|
+
export const addHTTPMiddleware = (
|
|
56
|
+
routeOrMiddleware: PikkuMiddleware[] | string,
|
|
57
|
+
middleware?: PikkuMiddleware[]
|
|
58
|
+
) => {
|
|
59
|
+
addHTTPMiddlewareCore(routeOrMiddleware as any, middleware as any)
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Registers HTTP permissions either globally or for a specific route pattern.
|
|
64
|
+
*
|
|
65
|
+
* When a string route pattern is provided along with permissions, the permissions
|
|
66
|
+
* are applied only to that route. Permissions can be passed as an array or as a
|
|
67
|
+
* permission group object.
|
|
68
|
+
*
|
|
69
|
+
* @param pattern - Route pattern string (e.g., '*' for all routes, '/api/*' for specific routes)
|
|
70
|
+
* @param permissions - The permissions to apply for the specified route pattern
|
|
71
|
+
*
|
|
72
|
+
* @example
|
|
73
|
+
* ```typescript
|
|
74
|
+
* // Add global HTTP permissions
|
|
75
|
+
* addHTTPPermission('*', { global: globalPermission })
|
|
76
|
+
*
|
|
77
|
+
* // Add route-specific permissions
|
|
78
|
+
* addHTTPPermission('/api/admin/*', { admin: adminPermission })
|
|
79
|
+
* ```
|
|
80
|
+
*/
|
|
81
|
+
export const addHTTPPermission = <In = unknown>(
|
|
82
|
+
pattern: string,
|
|
83
|
+
permissions: Record<string, PikkuPermission<In>> | PikkuPermission<In>[]
|
|
84
|
+
) => {
|
|
85
|
+
addHTTPPermissionCore(pattern, permissions as any)
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Route configuration for wireHTTPRoutes with proper typing
|
|
90
|
+
*/
|
|
91
|
+
type HTTPRouteConfig = HTTPRouteBaseConfig & {
|
|
92
|
+
method: HTTPMethod
|
|
93
|
+
route: string
|
|
94
|
+
func: PikkuFunctionConfig<any, any, any, any, any, any>
|
|
95
|
+
auth?: boolean
|
|
96
|
+
permissions?: Record<string, PikkuPermission | PikkuPermission[]>
|
|
97
|
+
middleware?: PikkuMiddleware[]
|
|
98
|
+
sse?: boolean
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Typed route map for wireHTTPRoutes
|
|
103
|
+
*/
|
|
104
|
+
type TypedHTTPRouteMap = {
|
|
105
|
+
[key: string]: HTTPRouteConfig | TypedHTTPRouteMap | TypedHTTPRouteContract
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Typed route contract for defineHTTPRoutes
|
|
110
|
+
*/
|
|
111
|
+
type TypedHTTPRouteContract<T extends TypedHTTPRouteMap = TypedHTTPRouteMap> = TypedHTTPRoutesGroupConfig & {
|
|
112
|
+
routes: T
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Group config with typed middleware/permissions
|
|
117
|
+
*/
|
|
118
|
+
type TypedHTTPRoutesGroupConfig = {
|
|
119
|
+
basePath?: string
|
|
120
|
+
tags?: string[]
|
|
121
|
+
auth?: boolean
|
|
122
|
+
middleware?: PikkuMiddleware[]
|
|
123
|
+
permissions?: Record<string, PikkuPermission | PikkuPermission[]>
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Full config for wireHTTPRoutes
|
|
128
|
+
*/
|
|
129
|
+
type TypedWireHTTPRoutesConfig = TypedHTTPRoutesGroupConfig & {
|
|
130
|
+
routes: TypedHTTPRouteMap | HTTPRouteConfig[]
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* Type-safe helper for defining route contracts that can be composed.
|
|
135
|
+
*/
|
|
136
|
+
export function defineHTTPRoutes<T extends TypedHTTPRouteMap>(routes: T): TypedHTTPRouteContract<T>
|
|
137
|
+
export function defineHTTPRoutes<T extends TypedHTTPRouteMap>(config: TypedHTTPRoutesGroupConfig & { routes: T }): TypedHTTPRouteContract<T>
|
|
138
|
+
export function defineHTTPRoutes<T extends TypedHTTPRouteMap>(configOrRoutes: T | (TypedHTTPRoutesGroupConfig & { routes: T })): TypedHTTPRouteContract<T> {
|
|
139
|
+
return defineHTTPRoutesCore(configOrRoutes as any) as unknown as TypedHTTPRouteContract<T>
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Wires multiple HTTP routes from a nested map or array configuration.
|
|
144
|
+
*/
|
|
145
|
+
export const wireHTTPRoutes = (config: TypedWireHTTPRoutesConfig): void => {
|
|
146
|
+
wireHTTPRoutesCore(config as any)
|
|
147
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* MCP-specific type definitions for tree-shaking optimization
|
|
6
|
+
*/
|
|
7
|
+
import { CoreMCPResource, CoreMCPPrompt, MCPResourceResponse, MCPToolResponse, MCPPromptResponse, AssertMCPResourceURIParams } from '@pikku/core/mcp';
|
|
8
|
+
import type { PikkuFunctionConfig, PikkuFunctionSessionless, PikkuMiddleware, PikkuPermission, InferSchemaOutput } from '../function/pikku-function-types.gen.js';
|
|
9
|
+
import type { CorePermissionGroup } from '@pikku/core';
|
|
10
|
+
import type { StandardSchemaV1 } from '@standard-schema/spec';
|
|
11
|
+
/**
|
|
12
|
+
* Type definition for MCP resources that provide data to AI models.
|
|
13
|
+
*
|
|
14
|
+
* @template In - Input type for the resource request
|
|
15
|
+
* @template URI - URI template string type for compile-time parameter validation
|
|
16
|
+
*/
|
|
17
|
+
type MCPResourceWiring<In, URI extends string> = CoreMCPResource<PikkuFunctionConfig<In, MCPResourceResponse, 'rpc' | 'session' | 'mcp'>> & {
|
|
18
|
+
uri: URI;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Type definition for MCP prompts that provide templates to AI models.
|
|
22
|
+
*
|
|
23
|
+
* @template In - Input type for the prompt parameters
|
|
24
|
+
*/
|
|
25
|
+
type MCPPromptWiring<In> = CoreMCPPrompt<PikkuFunctionConfig<In, MCPPromptResponse, 'rpc' | 'session' | 'mcp'>>;
|
|
26
|
+
/**
|
|
27
|
+
* Registers an MCP resource with the Pikku framework.
|
|
28
|
+
* Resources provide data that AI models can access.
|
|
29
|
+
*
|
|
30
|
+
* @template In - Input type for the resource request
|
|
31
|
+
* @template URI - URI template string for compile-time parameter validation
|
|
32
|
+
* @param mcpResource - MCP resource definition with data provider function
|
|
33
|
+
*/
|
|
34
|
+
export declare const wireMCPResource: <In, URI extends string>(mcpResource: MCPResourceWiring<In, URI> & AssertMCPResourceURIParams<In, URI>) => void;
|
|
35
|
+
/**
|
|
36
|
+
* Registers an MCP prompt with the Pikku framework.
|
|
37
|
+
* Prompts provide templates that AI models can use.
|
|
38
|
+
*
|
|
39
|
+
* @template In - Input type for the prompt parameters
|
|
40
|
+
* @param mcpPrompt - MCP prompt definition with template function
|
|
41
|
+
*/
|
|
42
|
+
export declare const wireMCPPrompt: <In>(mcpPrompt: MCPPromptWiring<In>) => void;
|
|
43
|
+
/**
|
|
44
|
+
* Configuration for MCP prompt with Zod schema input validation.
|
|
45
|
+
*/
|
|
46
|
+
type MCPPromptFuncConfigWithSchema<InputSchema extends StandardSchemaV1> = {
|
|
47
|
+
func: PikkuFunctionSessionless<InferSchemaOutput<InputSchema>, MCPPromptResponse, 'mcp' | 'rpc'>;
|
|
48
|
+
name?: string;
|
|
49
|
+
input: InputSchema;
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Creates a function for handling MCP prompt requests.
|
|
53
|
+
* These functions generate prompt templates for AI models.
|
|
54
|
+
*
|
|
55
|
+
* Supports two patterns:
|
|
56
|
+
* 1. Generic types: `pikkuMCPPromptFunc<Input>({ func: ... })`
|
|
57
|
+
* 2. Zod schemas: `pikkuMCPPromptFunc({ input: z.object(...), func: ... })`
|
|
58
|
+
*
|
|
59
|
+
* @template In - Input type for the prompt parameters (inferred from schema if provided)
|
|
60
|
+
* @param func - Function definition, either direct function or configuration object
|
|
61
|
+
* @returns The unwrapped function for internal use
|
|
62
|
+
*/
|
|
63
|
+
export declare function pikkuMCPPromptFunc<InputSchema extends StandardSchemaV1>(config: MCPPromptFuncConfigWithSchema<InputSchema>): PikkuFunctionConfig<InferSchemaOutput<InputSchema>, MCPPromptResponse, 'mcp' | 'rpc'>;
|
|
64
|
+
export declare function pikkuMCPPromptFunc<In>(func: PikkuFunctionSessionless<In, MCPPromptResponse, 'mcp' | 'rpc'> | {
|
|
65
|
+
func: PikkuFunctionSessionless<In, MCPPromptResponse, 'mcp' | 'rpc'>;
|
|
66
|
+
name?: string;
|
|
67
|
+
}): PikkuFunctionConfig<In, MCPPromptResponse, 'mcp' | 'rpc'>;
|
|
68
|
+
/**
|
|
69
|
+
* Configuration for MCP tool with Zod schema input validation.
|
|
70
|
+
*/
|
|
71
|
+
type MCPToolFuncConfigWithSchema<InputSchema extends StandardSchemaV1> = {
|
|
72
|
+
func: PikkuFunctionSessionless<InferSchemaOutput<InputSchema>, MCPToolResponse, 'mcp' | 'rpc'>;
|
|
73
|
+
description?: string;
|
|
74
|
+
tags?: string[];
|
|
75
|
+
title?: string;
|
|
76
|
+
summary?: string;
|
|
77
|
+
name?: string;
|
|
78
|
+
middleware?: PikkuMiddleware[];
|
|
79
|
+
permissions?: CorePermissionGroup<PikkuPermission<InferSchemaOutput<InputSchema>>>;
|
|
80
|
+
input: InputSchema;
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* Creates a function for handling MCP tool invocations.
|
|
84
|
+
* These functions perform actions that AI models can request.
|
|
85
|
+
*
|
|
86
|
+
* Supports two patterns:
|
|
87
|
+
* 1. Generic types: `pikkuMCPToolFunc<Input>({ func: ... })`
|
|
88
|
+
* 2. Zod schemas: `pikkuMCPToolFunc({ input: z.object(...), func: ... })`
|
|
89
|
+
*
|
|
90
|
+
* @template In - Input type for the tool invocation (inferred from schema if provided)
|
|
91
|
+
* @param func - Function definition, either direct function or configuration object
|
|
92
|
+
* @returns The unwrapped function for internal use
|
|
93
|
+
*/
|
|
94
|
+
export declare function pikkuMCPToolFunc<InputSchema extends StandardSchemaV1>(config: MCPToolFuncConfigWithSchema<InputSchema>): PikkuFunctionConfig<InferSchemaOutput<InputSchema>, MCPToolResponse, 'mcp' | 'rpc'>;
|
|
95
|
+
export declare function pikkuMCPToolFunc<In>(func: PikkuFunctionSessionless<In, MCPToolResponse, 'mcp' | 'rpc'> | {
|
|
96
|
+
func: PikkuFunctionSessionless<In, MCPToolResponse, 'mcp' | 'rpc'>;
|
|
97
|
+
description?: string;
|
|
98
|
+
tags?: string[];
|
|
99
|
+
title?: string;
|
|
100
|
+
summary?: string;
|
|
101
|
+
name?: string;
|
|
102
|
+
middleware?: PikkuMiddleware[];
|
|
103
|
+
permissions?: CorePermissionGroup<PikkuPermission<In>>;
|
|
104
|
+
}): PikkuFunctionConfig<In, MCPToolResponse, 'mcp' | 'rpc'>;
|
|
105
|
+
/**
|
|
106
|
+
* Configuration for MCP resource with Zod schema input validation.
|
|
107
|
+
*/
|
|
108
|
+
type MCPResourceFuncConfigWithSchema<InputSchema extends StandardSchemaV1> = {
|
|
109
|
+
func: PikkuFunctionSessionless<InferSchemaOutput<InputSchema>, MCPResourceResponse, 'mcp' | 'rpc'>;
|
|
110
|
+
name?: string;
|
|
111
|
+
input: InputSchema;
|
|
112
|
+
};
|
|
113
|
+
/**
|
|
114
|
+
* Creates a function for handling MCP resource requests.
|
|
115
|
+
* These functions provide data that AI models can access.
|
|
116
|
+
*
|
|
117
|
+
* Supports two patterns:
|
|
118
|
+
* 1. Generic types: `pikkuMCPResourceFunc<Input>({ func: ... })`
|
|
119
|
+
* 2. Zod schemas: `pikkuMCPResourceFunc({ input: z.object(...), func: ... })`
|
|
120
|
+
*
|
|
121
|
+
* @template In - Input type for the resource request (inferred from schema if provided)
|
|
122
|
+
* @param func - Function definition, either direct function or configuration object
|
|
123
|
+
* @returns The unwrapped function for internal use
|
|
124
|
+
*/
|
|
125
|
+
export declare function pikkuMCPResourceFunc<InputSchema extends StandardSchemaV1>(config: MCPResourceFuncConfigWithSchema<InputSchema>): PikkuFunctionConfig<InferSchemaOutput<InputSchema>, MCPResourceResponse, 'mcp' | 'rpc'>;
|
|
126
|
+
export declare function pikkuMCPResourceFunc<In>(func: PikkuFunctionSessionless<In, MCPResourceResponse, 'mcp' | 'rpc'> | {
|
|
127
|
+
func: PikkuFunctionSessionless<In, MCPResourceResponse, 'mcp' | 'rpc'>;
|
|
128
|
+
name?: string;
|
|
129
|
+
}): PikkuFunctionConfig<In, MCPResourceResponse, 'mcp' | 'rpc'>;
|
|
130
|
+
export {};
|
|
131
|
+
//# sourceMappingURL=pikku-mcp-types.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-mcp-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/mcp/pikku-mcp-types.gen.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* MCP-specific type definitions for tree-shaking optimization
|
|
6
|
+
*/
|
|
7
|
+
import { wireMCPResource as wireMCPResourceCore, wireMCPPrompt as wireMCPPromptCore } from '@pikku/core/mcp';
|
|
8
|
+
/**
|
|
9
|
+
* Registers an MCP resource with the Pikku framework.
|
|
10
|
+
* Resources provide data that AI models can access.
|
|
11
|
+
*
|
|
12
|
+
* @template In - Input type for the resource request
|
|
13
|
+
* @template URI - URI template string for compile-time parameter validation
|
|
14
|
+
* @param mcpResource - MCP resource definition with data provider function
|
|
15
|
+
*/
|
|
16
|
+
export const wireMCPResource = (mcpResource) => {
|
|
17
|
+
wireMCPResourceCore(mcpResource);
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Registers an MCP prompt with the Pikku framework.
|
|
21
|
+
* Prompts provide templates that AI models can use.
|
|
22
|
+
*
|
|
23
|
+
* @template In - Input type for the prompt parameters
|
|
24
|
+
* @param mcpPrompt - MCP prompt definition with template function
|
|
25
|
+
*/
|
|
26
|
+
export const wireMCPPrompt = (mcpPrompt) => {
|
|
27
|
+
wireMCPPromptCore(mcpPrompt);
|
|
28
|
+
};
|
|
29
|
+
export function pikkuMCPPromptFunc(func) {
|
|
30
|
+
return typeof func === 'function' ? { func } : func;
|
|
31
|
+
}
|
|
32
|
+
export function pikkuMCPToolFunc(func) {
|
|
33
|
+
return typeof func === 'function' ? { func } : func;
|
|
34
|
+
}
|
|
35
|
+
export function pikkuMCPResourceFunc(func) {
|
|
36
|
+
return typeof func === 'function' ? { func } : func;
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=pikku-mcp-types.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-mcp-types.gen.js","sourceRoot":"","sources":["../../../.pikku/mcp/pikku-mcp-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,EAGL,eAAe,IAAI,mBAAmB,EACtC,aAAa,IAAI,iBAAiB,EAKnC,MAAM,iBAAiB,CAAA;AAqBxB;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAC7B,WAA6E,EAC7E,EAAE;IACF,mBAAmB,CAAC,WAAkB,CAAC,CAAA;AACzC,CAAC,CAAA;AAED;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,CAC3B,SAA8B,EAC9B,EAAE;IACF,iBAAiB,CAAC,SAAgB,CAAC,CAAA;AACrC,CAAC,CAAA;AAkCD,MAAM,UAAU,kBAAkB,CAAC,IAAS;IAC1C,OAAO,OAAO,IAAI,KAAK,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAA;AACrD,CAAC;AA8CD,MAAM,UAAU,gBAAgB,CAAC,IAAS;IACxC,OAAO,OAAO,IAAI,KAAK,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAA;AACrD,CAAC;AAkCD,MAAM,UAAU,oBAAoB,CAAC,IAAS;IAC5C,OAAO,OAAO,IAAI,KAAK,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAA;AACrD,CAAC"}
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* MCP-specific type definitions for tree-shaking optimization
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import {
|
|
9
|
+
CoreMCPResource,
|
|
10
|
+
CoreMCPPrompt,
|
|
11
|
+
wireMCPResource as wireMCPResourceCore,
|
|
12
|
+
wireMCPPrompt as wireMCPPromptCore,
|
|
13
|
+
MCPResourceResponse,
|
|
14
|
+
MCPToolResponse,
|
|
15
|
+
MCPPromptResponse,
|
|
16
|
+
AssertMCPResourceURIParams
|
|
17
|
+
} from '@pikku/core/mcp'
|
|
18
|
+
|
|
19
|
+
import type { PikkuFunctionConfig, PikkuFunctionSessionless, PikkuMiddleware, PikkuPermission, InferSchemaOutput } from '../function/pikku-function-types.gen.js'
|
|
20
|
+
import type { CorePermissionGroup } from '@pikku/core'
|
|
21
|
+
import type { StandardSchemaV1 } from '@standard-schema/spec'
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Type definition for MCP resources that provide data to AI models.
|
|
25
|
+
*
|
|
26
|
+
* @template In - Input type for the resource request
|
|
27
|
+
* @template URI - URI template string type for compile-time parameter validation
|
|
28
|
+
*/
|
|
29
|
+
type MCPResourceWiring<In, URI extends string> = CoreMCPResource<PikkuFunctionConfig<In, MCPResourceResponse, 'rpc' | 'session' | 'mcp'>> & { uri: URI }
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Type definition for MCP prompts that provide templates to AI models.
|
|
33
|
+
*
|
|
34
|
+
* @template In - Input type for the prompt parameters
|
|
35
|
+
*/
|
|
36
|
+
type MCPPromptWiring<In> = CoreMCPPrompt<PikkuFunctionConfig<In, MCPPromptResponse, 'rpc' | 'session' | 'mcp'>>
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Registers an MCP resource with the Pikku framework.
|
|
40
|
+
* Resources provide data that AI models can access.
|
|
41
|
+
*
|
|
42
|
+
* @template In - Input type for the resource request
|
|
43
|
+
* @template URI - URI template string for compile-time parameter validation
|
|
44
|
+
* @param mcpResource - MCP resource definition with data provider function
|
|
45
|
+
*/
|
|
46
|
+
export const wireMCPResource = <In, URI extends string>(
|
|
47
|
+
mcpResource: MCPResourceWiring<In, URI> & AssertMCPResourceURIParams<In, URI>
|
|
48
|
+
) => {
|
|
49
|
+
wireMCPResourceCore(mcpResource as any)
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Registers an MCP prompt with the Pikku framework.
|
|
54
|
+
* Prompts provide templates that AI models can use.
|
|
55
|
+
*
|
|
56
|
+
* @template In - Input type for the prompt parameters
|
|
57
|
+
* @param mcpPrompt - MCP prompt definition with template function
|
|
58
|
+
*/
|
|
59
|
+
export const wireMCPPrompt = <In>(
|
|
60
|
+
mcpPrompt: MCPPromptWiring<In>
|
|
61
|
+
) => {
|
|
62
|
+
wireMCPPromptCore(mcpPrompt as any)
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Configuration for MCP prompt with Zod schema input validation.
|
|
67
|
+
*/
|
|
68
|
+
type MCPPromptFuncConfigWithSchema<InputSchema extends StandardSchemaV1> = {
|
|
69
|
+
func: PikkuFunctionSessionless<InferSchemaOutput<InputSchema>, MCPPromptResponse, 'mcp' | 'rpc'>
|
|
70
|
+
name?: string
|
|
71
|
+
input: InputSchema
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Creates a function for handling MCP prompt requests.
|
|
76
|
+
* These functions generate prompt templates for AI models.
|
|
77
|
+
*
|
|
78
|
+
* Supports two patterns:
|
|
79
|
+
* 1. Generic types: `pikkuMCPPromptFunc<Input>({ func: ... })`
|
|
80
|
+
* 2. Zod schemas: `pikkuMCPPromptFunc({ input: z.object(...), func: ... })`
|
|
81
|
+
*
|
|
82
|
+
* @template In - Input type for the prompt parameters (inferred from schema if provided)
|
|
83
|
+
* @param func - Function definition, either direct function or configuration object
|
|
84
|
+
* @returns The unwrapped function for internal use
|
|
85
|
+
*/
|
|
86
|
+
export function pikkuMCPPromptFunc<InputSchema extends StandardSchemaV1>(
|
|
87
|
+
config: MCPPromptFuncConfigWithSchema<InputSchema>
|
|
88
|
+
): PikkuFunctionConfig<InferSchemaOutput<InputSchema>, MCPPromptResponse, 'mcp' | 'rpc'>
|
|
89
|
+
export function pikkuMCPPromptFunc<In>(
|
|
90
|
+
func:
|
|
91
|
+
| PikkuFunctionSessionless<In, MCPPromptResponse, 'mcp' | 'rpc'>
|
|
92
|
+
| {
|
|
93
|
+
func: PikkuFunctionSessionless<In, MCPPromptResponse, 'mcp' | 'rpc'>
|
|
94
|
+
name?: string
|
|
95
|
+
}
|
|
96
|
+
): PikkuFunctionConfig<In, MCPPromptResponse, 'mcp' | 'rpc'>
|
|
97
|
+
export function pikkuMCPPromptFunc(func: any): any {
|
|
98
|
+
return typeof func === 'function' ? { func } : func
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Configuration for MCP tool with Zod schema input validation.
|
|
103
|
+
*/
|
|
104
|
+
type MCPToolFuncConfigWithSchema<InputSchema extends StandardSchemaV1> = {
|
|
105
|
+
func: PikkuFunctionSessionless<InferSchemaOutput<InputSchema>, MCPToolResponse, 'mcp' | 'rpc'>
|
|
106
|
+
description?: string
|
|
107
|
+
tags?: string[]
|
|
108
|
+
title?: string
|
|
109
|
+
summary?: string
|
|
110
|
+
name?: string
|
|
111
|
+
middleware?: PikkuMiddleware[]
|
|
112
|
+
permissions?: CorePermissionGroup<PikkuPermission<InferSchemaOutput<InputSchema>>>
|
|
113
|
+
input: InputSchema
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Creates a function for handling MCP tool invocations.
|
|
118
|
+
* These functions perform actions that AI models can request.
|
|
119
|
+
*
|
|
120
|
+
* Supports two patterns:
|
|
121
|
+
* 1. Generic types: `pikkuMCPToolFunc<Input>({ func: ... })`
|
|
122
|
+
* 2. Zod schemas: `pikkuMCPToolFunc({ input: z.object(...), func: ... })`
|
|
123
|
+
*
|
|
124
|
+
* @template In - Input type for the tool invocation (inferred from schema if provided)
|
|
125
|
+
* @param func - Function definition, either direct function or configuration object
|
|
126
|
+
* @returns The unwrapped function for internal use
|
|
127
|
+
*/
|
|
128
|
+
export function pikkuMCPToolFunc<InputSchema extends StandardSchemaV1>(
|
|
129
|
+
config: MCPToolFuncConfigWithSchema<InputSchema>
|
|
130
|
+
): PikkuFunctionConfig<InferSchemaOutput<InputSchema>, MCPToolResponse, 'mcp' | 'rpc'>
|
|
131
|
+
export function pikkuMCPToolFunc<In>(
|
|
132
|
+
func:
|
|
133
|
+
| PikkuFunctionSessionless<In, MCPToolResponse, 'mcp' | 'rpc'>
|
|
134
|
+
| {
|
|
135
|
+
func: PikkuFunctionSessionless<In, MCPToolResponse, 'mcp' | 'rpc'>
|
|
136
|
+
description?: string
|
|
137
|
+
tags?: string[]
|
|
138
|
+
title?: string
|
|
139
|
+
summary?: string
|
|
140
|
+
name?: string
|
|
141
|
+
middleware?: PikkuMiddleware[]
|
|
142
|
+
permissions?: CorePermissionGroup<PikkuPermission<In>>
|
|
143
|
+
}
|
|
144
|
+
): PikkuFunctionConfig<In, MCPToolResponse, 'mcp' | 'rpc'>
|
|
145
|
+
export function pikkuMCPToolFunc(func: any): any {
|
|
146
|
+
return typeof func === 'function' ? { func } : func
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Configuration for MCP resource with Zod schema input validation.
|
|
151
|
+
*/
|
|
152
|
+
type MCPResourceFuncConfigWithSchema<InputSchema extends StandardSchemaV1> = {
|
|
153
|
+
func: PikkuFunctionSessionless<InferSchemaOutput<InputSchema>, MCPResourceResponse, 'mcp' | 'rpc'>
|
|
154
|
+
name?: string
|
|
155
|
+
input: InputSchema
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Creates a function for handling MCP resource requests.
|
|
160
|
+
* These functions provide data that AI models can access.
|
|
161
|
+
*
|
|
162
|
+
* Supports two patterns:
|
|
163
|
+
* 1. Generic types: `pikkuMCPResourceFunc<Input>({ func: ... })`
|
|
164
|
+
* 2. Zod schemas: `pikkuMCPResourceFunc({ input: z.object(...), func: ... })`
|
|
165
|
+
*
|
|
166
|
+
* @template In - Input type for the resource request (inferred from schema if provided)
|
|
167
|
+
* @param func - Function definition, either direct function or configuration object
|
|
168
|
+
* @returns The unwrapped function for internal use
|
|
169
|
+
*/
|
|
170
|
+
export function pikkuMCPResourceFunc<InputSchema extends StandardSchemaV1>(
|
|
171
|
+
config: MCPResourceFuncConfigWithSchema<InputSchema>
|
|
172
|
+
): PikkuFunctionConfig<InferSchemaOutput<InputSchema>, MCPResourceResponse, 'mcp' | 'rpc'>
|
|
173
|
+
export function pikkuMCPResourceFunc<In>(
|
|
174
|
+
func:
|
|
175
|
+
| PikkuFunctionSessionless<In, MCPResourceResponse, 'mcp' | 'rpc'>
|
|
176
|
+
| {
|
|
177
|
+
func: PikkuFunctionSessionless<In, MCPResourceResponse, 'mcp' | 'rpc'>
|
|
178
|
+
name?: string
|
|
179
|
+
}
|
|
180
|
+
): PikkuFunctionConfig<In, MCPResourceResponse, 'mcp' | 'rpc'>
|
|
181
|
+
export function pikkuMCPResourceFunc(func: any): any {
|
|
182
|
+
return typeof func === 'function' ? { func } : func
|
|
183
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
import './rpc/pikku-rpc-wirings-meta.internal.gen.js';
|
|
5
|
+
import './function/pikku-functions-meta.gen.js';
|
|
6
|
+
import './addon/pikku-package.gen.js';
|
|
7
|
+
import './schemas/register.gen.js';
|
|
8
|
+
import './function/pikku-functions.gen.js';
|
|
9
|
+
//# sourceMappingURL=pikku-bootstrap.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-bootstrap.gen.d.ts","sourceRoot":"","sources":["../../.pikku/pikku-bootstrap.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,8CAA8C,CAAA;AACrD,OAAO,wCAAwC,CAAA;AAC/C,OAAO,8BAA8B,CAAA;AACrC,OAAO,2BAA2B,CAAA;AAClC,OAAO,mCAAmC,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
import './rpc/pikku-rpc-wirings-meta.internal.gen.js';
|
|
5
|
+
import './function/pikku-functions-meta.gen.js';
|
|
6
|
+
import './addon/pikku-package.gen.js';
|
|
7
|
+
import './schemas/register.gen.js';
|
|
8
|
+
import './function/pikku-functions.gen.js';
|
|
9
|
+
//# sourceMappingURL=pikku-bootstrap.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-bootstrap.gen.js","sourceRoot":"","sources":["../../.pikku/pikku-bootstrap.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,8CAA8C,CAAA;AACrD,OAAO,wCAAwC,CAAA;AAC/C,OAAO,8BAA8B,CAAA;AACrC,OAAO,2BAA2B,CAAA;AAClC,OAAO,mCAAmC,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
import './rpc/pikku-rpc-wirings-meta.internal.gen.js'
|
|
5
|
+
import './function/pikku-functions-meta.gen.js'
|
|
6
|
+
import './addon/pikku-package.gen.js'
|
|
7
|
+
import './schemas/register.gen.js'
|
|
8
|
+
import './function/pikku-functions.gen.js'
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
import { LocalMetaService } from '@pikku/core/services/local-meta';
|
|
5
|
+
export declare class PikkuMetaService extends LocalMetaService {
|
|
6
|
+
constructor();
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=pikku-meta-service.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-meta-service.gen.d.ts","sourceRoot":"","sources":["../../.pikku/pikku-meta-service.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAA;AAElE,qBAAa,gBAAiB,SAAQ,gBAAgB;;CAIrD"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
import { LocalMetaService } from '@pikku/core/services/local-meta';
|
|
5
|
+
export class PikkuMetaService extends LocalMetaService {
|
|
6
|
+
constructor() {
|
|
7
|
+
super('/home/runner/work/addons/addons/packages/crm/mautic/.pikku');
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=pikku-meta-service.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-meta-service.gen.js","sourceRoot":"","sources":["../../.pikku/pikku-meta-service.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAA;AAElE,MAAM,OAAO,gBAAiB,SAAQ,gBAAgB;IACpD;QACE,KAAK,CAAC,4DAA4D,CAAC,CAAA;IACrE,CAAC;CACF"}
|