@pikku/addon-wekan 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 +698 -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 +458 -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 +54 -0
- package/dist/.pikku/function/pikku-functions.gen.js.map +1 -0
- package/dist/.pikku/function/pikku-functions.gen.ts +54 -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 +287 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +311 -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 +26 -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 +105 -0
- package/dist/.pikku/schemas/register.gen.js.map +1 -0
- package/dist/.pikku/schemas/register.gen.ts +203 -0
- package/dist/.pikku/schemas/schemas/BoardCreateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/BoardCreateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/BoardDeleteInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/BoardDeleteOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/BoardGetAllInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/BoardGetAllOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/BoardGetInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/BoardGetOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CardCommentCreateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CardCommentCreateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CardCommentDeleteInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CardCommentDeleteOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CardCommentGetAllInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CardCommentGetAllOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CardCommentGetInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CardCommentGetOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CardCreateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CardCreateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CardDeleteInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CardDeleteOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CardGetAllInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CardGetAllOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CardGetInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CardGetOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CardUpdateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CardUpdateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ChecklistCreateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ChecklistCreateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ChecklistDeleteInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ChecklistDeleteOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ChecklistGetAllInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ChecklistGetAllOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ChecklistGetInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ChecklistGetOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ChecklistItemDeleteInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ChecklistItemDeleteOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ChecklistItemGetInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ChecklistItemGetOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ChecklistItemUpdateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ChecklistItemUpdateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CredentialSchema_wekan.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ListCreateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ListCreateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ListDeleteInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ListDeleteOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ListGetAllInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ListGetAllOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ListGetInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ListGetOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/VariableSchema_WEKAN_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/boardCreate.function.d.ts +17 -0
- package/dist/src/functions/boardCreate.function.d.ts.map +1 -0
- package/dist/src/functions/boardCreate.function.js +16 -0
- package/dist/src/functions/boardCreate.function.js.map +1 -0
- package/dist/src/functions/boardDelete.function.d.ts +13 -0
- package/dist/src/functions/boardDelete.function.d.ts.map +1 -0
- package/dist/src/functions/boardDelete.function.js +15 -0
- package/dist/src/functions/boardDelete.function.js.map +1 -0
- package/dist/src/functions/boardGet.function.d.ts +13 -0
- package/dist/src/functions/boardGet.function.d.ts.map +1 -0
- package/dist/src/functions/boardGet.function.js +15 -0
- package/dist/src/functions/boardGet.function.js.map +1 -0
- package/dist/src/functions/boardGetAll.function.d.ts +13 -0
- package/dist/src/functions/boardGetAll.function.d.ts.map +1 -0
- package/dist/src/functions/boardGetAll.function.js +15 -0
- package/dist/src/functions/boardGetAll.function.js.map +1 -0
- package/dist/src/functions/cardCommentCreate.function.d.ts +25 -0
- package/dist/src/functions/cardCommentCreate.function.d.ts.map +1 -0
- package/dist/src/functions/cardCommentCreate.function.js +18 -0
- package/dist/src/functions/cardCommentCreate.function.js.map +1 -0
- package/dist/src/functions/cardCommentDelete.function.d.ts +21 -0
- package/dist/src/functions/cardCommentDelete.function.d.ts.map +1 -0
- package/dist/src/functions/cardCommentDelete.function.js +17 -0
- package/dist/src/functions/cardCommentDelete.function.js.map +1 -0
- package/dist/src/functions/cardCommentGet.function.d.ts +21 -0
- package/dist/src/functions/cardCommentGet.function.d.ts.map +1 -0
- package/dist/src/functions/cardCommentGet.function.js +17 -0
- package/dist/src/functions/cardCommentGet.function.js.map +1 -0
- package/dist/src/functions/cardCommentGetAll.function.d.ts +17 -0
- package/dist/src/functions/cardCommentGetAll.function.d.ts.map +1 -0
- package/dist/src/functions/cardCommentGetAll.function.js +16 -0
- package/dist/src/functions/cardCommentGetAll.function.js.map +1 -0
- package/dist/src/functions/cardCreate.function.d.ts +29 -0
- package/dist/src/functions/cardCreate.function.d.ts.map +1 -0
- package/dist/src/functions/cardCreate.function.js +19 -0
- package/dist/src/functions/cardCreate.function.js.map +1 -0
- package/dist/src/functions/cardDelete.function.d.ts +21 -0
- package/dist/src/functions/cardDelete.function.d.ts.map +1 -0
- package/dist/src/functions/cardDelete.function.js +17 -0
- package/dist/src/functions/cardDelete.function.js.map +1 -0
- package/dist/src/functions/cardGet.function.d.ts +21 -0
- package/dist/src/functions/cardGet.function.d.ts.map +1 -0
- package/dist/src/functions/cardGet.function.js +17 -0
- package/dist/src/functions/cardGet.function.js.map +1 -0
- package/dist/src/functions/cardGetAll.function.d.ts +17 -0
- package/dist/src/functions/cardGetAll.function.d.ts.map +1 -0
- package/dist/src/functions/cardGetAll.function.js +16 -0
- package/dist/src/functions/cardGetAll.function.js.map +1 -0
- package/dist/src/functions/cardUpdate.function.d.ts +29 -0
- package/dist/src/functions/cardUpdate.function.d.ts.map +1 -0
- package/dist/src/functions/cardUpdate.function.js +19 -0
- package/dist/src/functions/cardUpdate.function.js.map +1 -0
- package/dist/src/functions/checklistCreate.function.d.ts +25 -0
- package/dist/src/functions/checklistCreate.function.d.ts.map +1 -0
- package/dist/src/functions/checklistCreate.function.js +18 -0
- package/dist/src/functions/checklistCreate.function.js.map +1 -0
- package/dist/src/functions/checklistDelete.function.d.ts +21 -0
- package/dist/src/functions/checklistDelete.function.d.ts.map +1 -0
- package/dist/src/functions/checklistDelete.function.js +17 -0
- package/dist/src/functions/checklistDelete.function.js.map +1 -0
- package/dist/src/functions/checklistGet.function.d.ts +21 -0
- package/dist/src/functions/checklistGet.function.d.ts.map +1 -0
- package/dist/src/functions/checklistGet.function.js +17 -0
- package/dist/src/functions/checklistGet.function.js.map +1 -0
- package/dist/src/functions/checklistGetAll.function.d.ts +17 -0
- package/dist/src/functions/checklistGetAll.function.d.ts.map +1 -0
- package/dist/src/functions/checklistGetAll.function.js +16 -0
- package/dist/src/functions/checklistGetAll.function.js.map +1 -0
- package/dist/src/functions/checklistItemDelete.function.d.ts +25 -0
- package/dist/src/functions/checklistItemDelete.function.d.ts.map +1 -0
- package/dist/src/functions/checklistItemDelete.function.js +18 -0
- package/dist/src/functions/checklistItemDelete.function.js.map +1 -0
- package/dist/src/functions/checklistItemGet.function.d.ts +25 -0
- package/dist/src/functions/checklistItemGet.function.d.ts.map +1 -0
- package/dist/src/functions/checklistItemGet.function.js +18 -0
- package/dist/src/functions/checklistItemGet.function.js.map +1 -0
- package/dist/src/functions/checklistItemUpdate.function.d.ts +33 -0
- package/dist/src/functions/checklistItemUpdate.function.d.ts.map +1 -0
- package/dist/src/functions/checklistItemUpdate.function.js +20 -0
- package/dist/src/functions/checklistItemUpdate.function.js.map +1 -0
- package/dist/src/functions/listCreate.function.d.ts +17 -0
- package/dist/src/functions/listCreate.function.d.ts.map +1 -0
- package/dist/src/functions/listCreate.function.js +16 -0
- package/dist/src/functions/listCreate.function.js.map +1 -0
- package/dist/src/functions/listDelete.function.d.ts +17 -0
- package/dist/src/functions/listDelete.function.d.ts.map +1 -0
- package/dist/src/functions/listDelete.function.js +16 -0
- package/dist/src/functions/listDelete.function.js.map +1 -0
- package/dist/src/functions/listGet.function.d.ts +17 -0
- package/dist/src/functions/listGet.function.d.ts.map +1 -0
- package/dist/src/functions/listGet.function.js +16 -0
- package/dist/src/functions/listGet.function.js.map +1 -0
- package/dist/src/functions/listGetAll.function.d.ts +13 -0
- package/dist/src/functions/listGetAll.function.d.ts.map +1 -0
- package/dist/src/functions/listGetAll.function.js +15 -0
- package/dist/src/functions/listGetAll.function.js.map +1 -0
- package/dist/src/index.d.ts +25 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +25 -0
- package/dist/src/index.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/dist/src/wekan-api.service.d.ts +10 -0
- package/dist/src/wekan-api.service.d.ts.map +1 -0
- package/dist/src/wekan-api.service.js +272 -0
- package/dist/src/wekan-api.service.js.map +1 -0
- package/dist/src/wekan.credential.d.ts +5 -0
- package/dist/src/wekan.credential.d.ts.map +1 -0
- package/dist/src/wekan.credential.js +13 -0
- package/dist/src/wekan.credential.js.map +1 -0
- package/dist/src/wekan.types.d.ts +7 -0
- package/dist/src/wekan.types.d.ts.map +1 -0
- package/dist/src/wekan.types.js +8 -0
- package/dist/src/wekan.types.js.map +1 -0
- package/dist/src/wekan.variable.d.ts +5 -0
- package/dist/src/wekan.variable.d.ts.map +1 -0
- package/dist/src/wekan.variable.js +11 -0
- package/dist/src/wekan.variable.js.map +1 -0
- package/package.json +39 -0
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* This provides the structure needed for typescript to be aware of RPCs and their return types
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
export type BoardCreateInput = {
|
|
13
|
+
title?: string | undefined;
|
|
14
|
+
owner?: string | undefined;
|
|
15
|
+
}
|
|
16
|
+
export type BoardCreateOutput = {
|
|
17
|
+
[key: string]: unknown;
|
|
18
|
+
}
|
|
19
|
+
export type BoardDeleteInput = {
|
|
20
|
+
boardId: string;
|
|
21
|
+
}
|
|
22
|
+
export type BoardDeleteOutput = {
|
|
23
|
+
[key: string]: unknown;
|
|
24
|
+
}
|
|
25
|
+
export type BoardGetAllInput = {
|
|
26
|
+
userId: string;
|
|
27
|
+
}
|
|
28
|
+
export type BoardGetAllOutput = {
|
|
29
|
+
[key: string]: unknown;
|
|
30
|
+
}
|
|
31
|
+
export type BoardGetInput = {
|
|
32
|
+
boardId: string;
|
|
33
|
+
}
|
|
34
|
+
export type BoardGetOutput = {
|
|
35
|
+
[key: string]: unknown;
|
|
36
|
+
}
|
|
37
|
+
export type CardCommentCreateInput = {
|
|
38
|
+
boardId: string;
|
|
39
|
+
cardId: string;
|
|
40
|
+
authorId?: string | undefined;
|
|
41
|
+
comment?: string | undefined;
|
|
42
|
+
}
|
|
43
|
+
export type CardCommentCreateOutput = {
|
|
44
|
+
[key: string]: unknown;
|
|
45
|
+
}
|
|
46
|
+
export type CardCommentDeleteInput = {
|
|
47
|
+
boardId: string;
|
|
48
|
+
cardId: string;
|
|
49
|
+
commentId: string;
|
|
50
|
+
}
|
|
51
|
+
export type CardCommentDeleteOutput = {
|
|
52
|
+
[key: string]: unknown;
|
|
53
|
+
}
|
|
54
|
+
export type CardCommentGetAllInput = {
|
|
55
|
+
boardId: string;
|
|
56
|
+
cardId: string;
|
|
57
|
+
}
|
|
58
|
+
export type CardCommentGetAllOutput = {
|
|
59
|
+
[key: string]: unknown;
|
|
60
|
+
}
|
|
61
|
+
export type CardCommentGetInput = {
|
|
62
|
+
boardId: string;
|
|
63
|
+
cardId: string;
|
|
64
|
+
commentId: string;
|
|
65
|
+
}
|
|
66
|
+
export type CardCommentGetOutput = {
|
|
67
|
+
[key: string]: unknown;
|
|
68
|
+
}
|
|
69
|
+
export type CardCreateInput = {
|
|
70
|
+
boardId: string;
|
|
71
|
+
listId: string;
|
|
72
|
+
title?: string | undefined;
|
|
73
|
+
swimlaneId?: string | undefined;
|
|
74
|
+
authorId?: string | undefined;
|
|
75
|
+
}
|
|
76
|
+
export type CardCreateOutput = {
|
|
77
|
+
[key: string]: unknown;
|
|
78
|
+
}
|
|
79
|
+
export type CardDeleteInput = {
|
|
80
|
+
boardId: string;
|
|
81
|
+
listId: string;
|
|
82
|
+
cardId: string;
|
|
83
|
+
}
|
|
84
|
+
export type CardDeleteOutput = {
|
|
85
|
+
[key: string]: unknown;
|
|
86
|
+
}
|
|
87
|
+
export type CardGetAllInput = {
|
|
88
|
+
boardId: string;
|
|
89
|
+
listId: string;
|
|
90
|
+
}
|
|
91
|
+
export type CardGetAllOutput = {
|
|
92
|
+
[key: string]: unknown;
|
|
93
|
+
}
|
|
94
|
+
export type CardGetInput = {
|
|
95
|
+
boardId: string;
|
|
96
|
+
listId: string;
|
|
97
|
+
cardId: string;
|
|
98
|
+
}
|
|
99
|
+
export type CardGetOutput = {
|
|
100
|
+
[key: string]: unknown;
|
|
101
|
+
}
|
|
102
|
+
export type CardUpdateInput = {
|
|
103
|
+
boardId: string;
|
|
104
|
+
listId: string;
|
|
105
|
+
cardId: string;
|
|
106
|
+
title?: string | undefined;
|
|
107
|
+
description?: string | undefined;
|
|
108
|
+
}
|
|
109
|
+
export type CardUpdateOutput = {
|
|
110
|
+
[key: string]: unknown;
|
|
111
|
+
}
|
|
112
|
+
export type ChecklistCreateInput = {
|
|
113
|
+
boardId: string;
|
|
114
|
+
cardId: string;
|
|
115
|
+
title?: string | undefined;
|
|
116
|
+
items?: string[] | undefined;
|
|
117
|
+
}
|
|
118
|
+
export type ChecklistCreateOutput = {
|
|
119
|
+
[key: string]: unknown;
|
|
120
|
+
}
|
|
121
|
+
export type ChecklistDeleteInput = {
|
|
122
|
+
boardId: string;
|
|
123
|
+
cardId: string;
|
|
124
|
+
checklistId: string;
|
|
125
|
+
}
|
|
126
|
+
export type ChecklistDeleteOutput = {
|
|
127
|
+
[key: string]: unknown;
|
|
128
|
+
}
|
|
129
|
+
export type ChecklistGetAllInput = {
|
|
130
|
+
boardId: string;
|
|
131
|
+
cardId: string;
|
|
132
|
+
}
|
|
133
|
+
export type ChecklistGetAllOutput = {
|
|
134
|
+
[key: string]: unknown;
|
|
135
|
+
}
|
|
136
|
+
export type ChecklistGetInput = {
|
|
137
|
+
boardId: string;
|
|
138
|
+
cardId: string;
|
|
139
|
+
checklistId: string;
|
|
140
|
+
}
|
|
141
|
+
export type ChecklistGetOutput = {
|
|
142
|
+
[key: string]: unknown;
|
|
143
|
+
}
|
|
144
|
+
export type ChecklistItemDeleteInput = {
|
|
145
|
+
boardId: string;
|
|
146
|
+
cardId: string;
|
|
147
|
+
checklistId: string;
|
|
148
|
+
itemId: string;
|
|
149
|
+
}
|
|
150
|
+
export type ChecklistItemDeleteOutput = {
|
|
151
|
+
[key: string]: unknown;
|
|
152
|
+
}
|
|
153
|
+
export type ChecklistItemGetInput = {
|
|
154
|
+
boardId: string;
|
|
155
|
+
cardId: string;
|
|
156
|
+
checklistId: string;
|
|
157
|
+
itemId: string;
|
|
158
|
+
}
|
|
159
|
+
export type ChecklistItemGetOutput = {
|
|
160
|
+
[key: string]: unknown;
|
|
161
|
+
}
|
|
162
|
+
export type ChecklistItemUpdateInput = {
|
|
163
|
+
boardId: string;
|
|
164
|
+
cardId: string;
|
|
165
|
+
checklistId: string;
|
|
166
|
+
itemId: string;
|
|
167
|
+
title?: string | undefined;
|
|
168
|
+
isFinished?: boolean | undefined;
|
|
169
|
+
}
|
|
170
|
+
export type ChecklistItemUpdateOutput = {
|
|
171
|
+
[key: string]: unknown;
|
|
172
|
+
}
|
|
173
|
+
export type CredentialSchema_wekan = {
|
|
174
|
+
/** Wekan API key */
|
|
175
|
+
apiKey: string;
|
|
176
|
+
}
|
|
177
|
+
export type ListCreateInput = {
|
|
178
|
+
boardId: string;
|
|
179
|
+
title?: string | undefined;
|
|
180
|
+
}
|
|
181
|
+
export type ListCreateOutput = {
|
|
182
|
+
[key: string]: unknown;
|
|
183
|
+
}
|
|
184
|
+
export type ListDeleteInput = {
|
|
185
|
+
boardId: string;
|
|
186
|
+
listId: string;
|
|
187
|
+
}
|
|
188
|
+
export type ListDeleteOutput = {
|
|
189
|
+
[key: string]: unknown;
|
|
190
|
+
}
|
|
191
|
+
export type ListGetAllInput = {
|
|
192
|
+
boardId: string;
|
|
193
|
+
}
|
|
194
|
+
export type ListGetAllOutput = {
|
|
195
|
+
[key: string]: unknown;
|
|
196
|
+
}
|
|
197
|
+
export type ListGetInput = {
|
|
198
|
+
boardId: string;
|
|
199
|
+
listId: string;
|
|
200
|
+
}
|
|
201
|
+
export type ListGetOutput = {
|
|
202
|
+
[key: string]: unknown;
|
|
203
|
+
}
|
|
204
|
+
export type VariableSchema_WEKAN_BASE_URL = "https://wekan.example.com/api"
|
|
205
|
+
|
|
206
|
+
interface RPCHandler<I, O> {
|
|
207
|
+
input: I;
|
|
208
|
+
output: O;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
export type RPCMap = {
|
|
212
|
+
};
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
// No addon packages, use RPCMap directly
|
|
217
|
+
export type FlattenedRPCMap = RPCMap
|
|
218
|
+
|
|
219
|
+
type IsAny<T> = 0 extends (1 & T) ? true : false
|
|
220
|
+
type IsVoidishInput<T> = IsAny<T> extends true
|
|
221
|
+
? false
|
|
222
|
+
: [T] extends [void | null | undefined]
|
|
223
|
+
? true
|
|
224
|
+
: false
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
export type RPCInvoke = <Name extends keyof FlattenedRPCMap>(
|
|
228
|
+
...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
|
|
229
|
+
? [name: Name]
|
|
230
|
+
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
231
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
232
|
+
|
|
233
|
+
export type RPCRemote = <Name extends keyof FlattenedRPCMap>(
|
|
234
|
+
...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
|
|
235
|
+
? [name: Name]
|
|
236
|
+
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
237
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
238
|
+
|
|
239
|
+
import type { FlattenedWorkflowMap } from '../workflow/pikku-workflow-map.gen.d.js'
|
|
240
|
+
|
|
241
|
+
import type { AgentMap } from '../agent/pikku-agent-map.gen.d.js'
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
type FlattenedAgentMap = AgentMap
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
import type { PikkuRPC } from '@pikku/core/rpc'
|
|
248
|
+
|
|
249
|
+
interface AIAgentInput {
|
|
250
|
+
message: string
|
|
251
|
+
threadId: string
|
|
252
|
+
resourceId: string
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
export type TypedStartWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
256
|
+
name: Name,
|
|
257
|
+
input: FlattenedWorkflowMap[Name]['input'],
|
|
258
|
+
options?: { startNode?: string }
|
|
259
|
+
) => Promise<{ runId: string }>
|
|
260
|
+
|
|
261
|
+
export type TypedRunWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
262
|
+
name: Name,
|
|
263
|
+
input: FlattenedWorkflowMap[Name]['input']
|
|
264
|
+
) => Promise<FlattenedWorkflowMap[Name]['output']>
|
|
265
|
+
|
|
266
|
+
export type TypedWorkflowStatus = (
|
|
267
|
+
workflowName: string,
|
|
268
|
+
runId: string
|
|
269
|
+
) => Promise<{ id: string; status: 'running' | 'suspended' | 'completed' | 'failed' | 'cancelled'; output?: unknown; error?: { message?: string } }>
|
|
270
|
+
|
|
271
|
+
type TypedAgentRun = [keyof FlattenedAgentMap] extends [never]
|
|
272
|
+
? (name: string, input: AIAgentInput) => Promise<any>
|
|
273
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
274
|
+
name: Name,
|
|
275
|
+
input: AIAgentInput
|
|
276
|
+
) => Promise<{ runId: string; result: FlattenedAgentMap[Name]['output']; usage: { inputTokens: number; outputTokens: number } }>
|
|
277
|
+
|
|
278
|
+
type TypedAgentStream = [keyof FlattenedAgentMap] extends [never]
|
|
279
|
+
? (name: string, input: AIAgentInput, options?: { requiresToolApproval?: 'all' | 'explicit' | false }) => Promise<void>
|
|
280
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
281
|
+
name: Name,
|
|
282
|
+
input: AIAgentInput,
|
|
283
|
+
options?: { requiresToolApproval?: 'all' | 'explicit' | false }
|
|
284
|
+
) => Promise<void>
|
|
285
|
+
|
|
286
|
+
export type TypedPikkuRPC = PikkuRPC<RPCInvoke, RPCRemote, TypedStartWorkflow, TypedAgentRun, TypedAgentStream>
|
|
287
|
+
|
|
@@ -0,0 +1,311 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* This provides the structure needed for typescript to be aware of RPCs and their return types
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
export type BoardCreateInput = {
|
|
13
|
+
title?: string | undefined;
|
|
14
|
+
owner?: string | undefined;
|
|
15
|
+
}
|
|
16
|
+
export type BoardCreateOutput = {
|
|
17
|
+
[key: string]: unknown;
|
|
18
|
+
}
|
|
19
|
+
export type BoardDeleteInput = {
|
|
20
|
+
boardId: string;
|
|
21
|
+
}
|
|
22
|
+
export type BoardDeleteOutput = {
|
|
23
|
+
[key: string]: unknown;
|
|
24
|
+
}
|
|
25
|
+
export type BoardGetAllInput = {
|
|
26
|
+
userId: string;
|
|
27
|
+
}
|
|
28
|
+
export type BoardGetAllOutput = {
|
|
29
|
+
[key: string]: unknown;
|
|
30
|
+
}
|
|
31
|
+
export type BoardGetInput = {
|
|
32
|
+
boardId: string;
|
|
33
|
+
}
|
|
34
|
+
export type BoardGetOutput = {
|
|
35
|
+
[key: string]: unknown;
|
|
36
|
+
}
|
|
37
|
+
export type CardCommentCreateInput = {
|
|
38
|
+
boardId: string;
|
|
39
|
+
cardId: string;
|
|
40
|
+
authorId?: string | undefined;
|
|
41
|
+
comment?: string | undefined;
|
|
42
|
+
}
|
|
43
|
+
export type CardCommentCreateOutput = {
|
|
44
|
+
[key: string]: unknown;
|
|
45
|
+
}
|
|
46
|
+
export type CardCommentDeleteInput = {
|
|
47
|
+
boardId: string;
|
|
48
|
+
cardId: string;
|
|
49
|
+
commentId: string;
|
|
50
|
+
}
|
|
51
|
+
export type CardCommentDeleteOutput = {
|
|
52
|
+
[key: string]: unknown;
|
|
53
|
+
}
|
|
54
|
+
export type CardCommentGetAllInput = {
|
|
55
|
+
boardId: string;
|
|
56
|
+
cardId: string;
|
|
57
|
+
}
|
|
58
|
+
export type CardCommentGetAllOutput = {
|
|
59
|
+
[key: string]: unknown;
|
|
60
|
+
}
|
|
61
|
+
export type CardCommentGetInput = {
|
|
62
|
+
boardId: string;
|
|
63
|
+
cardId: string;
|
|
64
|
+
commentId: string;
|
|
65
|
+
}
|
|
66
|
+
export type CardCommentGetOutput = {
|
|
67
|
+
[key: string]: unknown;
|
|
68
|
+
}
|
|
69
|
+
export type CardCreateInput = {
|
|
70
|
+
boardId: string;
|
|
71
|
+
listId: string;
|
|
72
|
+
title?: string | undefined;
|
|
73
|
+
swimlaneId?: string | undefined;
|
|
74
|
+
authorId?: string | undefined;
|
|
75
|
+
}
|
|
76
|
+
export type CardCreateOutput = {
|
|
77
|
+
[key: string]: unknown;
|
|
78
|
+
}
|
|
79
|
+
export type CardDeleteInput = {
|
|
80
|
+
boardId: string;
|
|
81
|
+
listId: string;
|
|
82
|
+
cardId: string;
|
|
83
|
+
}
|
|
84
|
+
export type CardDeleteOutput = {
|
|
85
|
+
[key: string]: unknown;
|
|
86
|
+
}
|
|
87
|
+
export type CardGetAllInput = {
|
|
88
|
+
boardId: string;
|
|
89
|
+
listId: string;
|
|
90
|
+
}
|
|
91
|
+
export type CardGetAllOutput = {
|
|
92
|
+
[key: string]: unknown;
|
|
93
|
+
}
|
|
94
|
+
export type CardGetInput = {
|
|
95
|
+
boardId: string;
|
|
96
|
+
listId: string;
|
|
97
|
+
cardId: string;
|
|
98
|
+
}
|
|
99
|
+
export type CardGetOutput = {
|
|
100
|
+
[key: string]: unknown;
|
|
101
|
+
}
|
|
102
|
+
export type CardUpdateInput = {
|
|
103
|
+
boardId: string;
|
|
104
|
+
listId: string;
|
|
105
|
+
cardId: string;
|
|
106
|
+
title?: string | undefined;
|
|
107
|
+
description?: string | undefined;
|
|
108
|
+
}
|
|
109
|
+
export type CardUpdateOutput = {
|
|
110
|
+
[key: string]: unknown;
|
|
111
|
+
}
|
|
112
|
+
export type ChecklistCreateInput = {
|
|
113
|
+
boardId: string;
|
|
114
|
+
cardId: string;
|
|
115
|
+
title?: string | undefined;
|
|
116
|
+
items?: string[] | undefined;
|
|
117
|
+
}
|
|
118
|
+
export type ChecklistCreateOutput = {
|
|
119
|
+
[key: string]: unknown;
|
|
120
|
+
}
|
|
121
|
+
export type ChecklistDeleteInput = {
|
|
122
|
+
boardId: string;
|
|
123
|
+
cardId: string;
|
|
124
|
+
checklistId: string;
|
|
125
|
+
}
|
|
126
|
+
export type ChecklistDeleteOutput = {
|
|
127
|
+
[key: string]: unknown;
|
|
128
|
+
}
|
|
129
|
+
export type ChecklistGetAllInput = {
|
|
130
|
+
boardId: string;
|
|
131
|
+
cardId: string;
|
|
132
|
+
}
|
|
133
|
+
export type ChecklistGetAllOutput = {
|
|
134
|
+
[key: string]: unknown;
|
|
135
|
+
}
|
|
136
|
+
export type ChecklistGetInput = {
|
|
137
|
+
boardId: string;
|
|
138
|
+
cardId: string;
|
|
139
|
+
checklistId: string;
|
|
140
|
+
}
|
|
141
|
+
export type ChecklistGetOutput = {
|
|
142
|
+
[key: string]: unknown;
|
|
143
|
+
}
|
|
144
|
+
export type ChecklistItemDeleteInput = {
|
|
145
|
+
boardId: string;
|
|
146
|
+
cardId: string;
|
|
147
|
+
checklistId: string;
|
|
148
|
+
itemId: string;
|
|
149
|
+
}
|
|
150
|
+
export type ChecklistItemDeleteOutput = {
|
|
151
|
+
[key: string]: unknown;
|
|
152
|
+
}
|
|
153
|
+
export type ChecklistItemGetInput = {
|
|
154
|
+
boardId: string;
|
|
155
|
+
cardId: string;
|
|
156
|
+
checklistId: string;
|
|
157
|
+
itemId: string;
|
|
158
|
+
}
|
|
159
|
+
export type ChecklistItemGetOutput = {
|
|
160
|
+
[key: string]: unknown;
|
|
161
|
+
}
|
|
162
|
+
export type ChecklistItemUpdateInput = {
|
|
163
|
+
boardId: string;
|
|
164
|
+
cardId: string;
|
|
165
|
+
checklistId: string;
|
|
166
|
+
itemId: string;
|
|
167
|
+
title?: string | undefined;
|
|
168
|
+
isFinished?: boolean | undefined;
|
|
169
|
+
}
|
|
170
|
+
export type ChecklistItemUpdateOutput = {
|
|
171
|
+
[key: string]: unknown;
|
|
172
|
+
}
|
|
173
|
+
export type CredentialSchema_wekan = {
|
|
174
|
+
/** Wekan API key */
|
|
175
|
+
apiKey: string;
|
|
176
|
+
}
|
|
177
|
+
export type ListCreateInput = {
|
|
178
|
+
boardId: string;
|
|
179
|
+
title?: string | undefined;
|
|
180
|
+
}
|
|
181
|
+
export type ListCreateOutput = {
|
|
182
|
+
[key: string]: unknown;
|
|
183
|
+
}
|
|
184
|
+
export type ListDeleteInput = {
|
|
185
|
+
boardId: string;
|
|
186
|
+
listId: string;
|
|
187
|
+
}
|
|
188
|
+
export type ListDeleteOutput = {
|
|
189
|
+
[key: string]: unknown;
|
|
190
|
+
}
|
|
191
|
+
export type ListGetAllInput = {
|
|
192
|
+
boardId: string;
|
|
193
|
+
}
|
|
194
|
+
export type ListGetAllOutput = {
|
|
195
|
+
[key: string]: unknown;
|
|
196
|
+
}
|
|
197
|
+
export type ListGetInput = {
|
|
198
|
+
boardId: string;
|
|
199
|
+
listId: string;
|
|
200
|
+
}
|
|
201
|
+
export type ListGetOutput = {
|
|
202
|
+
[key: string]: unknown;
|
|
203
|
+
}
|
|
204
|
+
export type VariableSchema_WEKAN_BASE_URL = "https://wekan.example.com/api"
|
|
205
|
+
|
|
206
|
+
interface RPCHandler<I, O> {
|
|
207
|
+
input: I;
|
|
208
|
+
output: O;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
export type RPCMap = {
|
|
212
|
+
readonly 'boardCreate': RPCHandler<BoardCreateInput, BoardCreateOutput>,
|
|
213
|
+
readonly 'boardGet': RPCHandler<BoardGetInput, BoardGetOutput>,
|
|
214
|
+
readonly 'boardDelete': RPCHandler<BoardDeleteInput, BoardDeleteOutput>,
|
|
215
|
+
readonly 'boardGetAll': RPCHandler<BoardGetAllInput, BoardGetAllOutput>,
|
|
216
|
+
readonly 'listGetAll': RPCHandler<ListGetAllInput, ListGetAllOutput>,
|
|
217
|
+
readonly 'listCreate': RPCHandler<ListCreateInput, ListCreateOutput>,
|
|
218
|
+
readonly 'listGet': RPCHandler<ListGetInput, ListGetOutput>,
|
|
219
|
+
readonly 'listDelete': RPCHandler<ListDeleteInput, ListDeleteOutput>,
|
|
220
|
+
readonly 'cardGetAll': RPCHandler<CardGetAllInput, CardGetAllOutput>,
|
|
221
|
+
readonly 'cardCreate': RPCHandler<CardCreateInput, CardCreateOutput>,
|
|
222
|
+
readonly 'cardGet': RPCHandler<CardGetInput, CardGetOutput>,
|
|
223
|
+
readonly 'cardUpdate': RPCHandler<CardUpdateInput, CardUpdateOutput>,
|
|
224
|
+
readonly 'cardDelete': RPCHandler<CardDeleteInput, CardDeleteOutput>,
|
|
225
|
+
readonly 'cardCommentGetAll': RPCHandler<CardCommentGetAllInput, CardCommentGetAllOutput>,
|
|
226
|
+
readonly 'cardCommentCreate': RPCHandler<CardCommentCreateInput, CardCommentCreateOutput>,
|
|
227
|
+
readonly 'cardCommentGet': RPCHandler<CardCommentGetInput, CardCommentGetOutput>,
|
|
228
|
+
readonly 'cardCommentDelete': RPCHandler<CardCommentDeleteInput, CardCommentDeleteOutput>,
|
|
229
|
+
readonly 'checklistGetAll': RPCHandler<ChecklistGetAllInput, ChecklistGetAllOutput>,
|
|
230
|
+
readonly 'checklistCreate': RPCHandler<ChecklistCreateInput, ChecklistCreateOutput>,
|
|
231
|
+
readonly 'checklistGet': RPCHandler<ChecklistGetInput, ChecklistGetOutput>,
|
|
232
|
+
readonly 'checklistDelete': RPCHandler<ChecklistDeleteInput, ChecklistDeleteOutput>,
|
|
233
|
+
readonly 'checklistItemGet': RPCHandler<ChecklistItemGetInput, ChecklistItemGetOutput>,
|
|
234
|
+
readonly 'checklistItemUpdate': RPCHandler<ChecklistItemUpdateInput, ChecklistItemUpdateOutput>,
|
|
235
|
+
readonly 'checklistItemDelete': RPCHandler<ChecklistItemDeleteInput, ChecklistItemDeleteOutput>,
|
|
236
|
+
};
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
// No addon packages, use RPCMap directly
|
|
241
|
+
export type FlattenedRPCMap = RPCMap
|
|
242
|
+
|
|
243
|
+
type IsAny<T> = 0 extends (1 & T) ? true : false
|
|
244
|
+
type IsVoidishInput<T> = IsAny<T> extends true
|
|
245
|
+
? false
|
|
246
|
+
: [T] extends [void | null | undefined]
|
|
247
|
+
? true
|
|
248
|
+
: false
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
export type RPCInvoke = <Name extends keyof FlattenedRPCMap>(
|
|
252
|
+
...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
|
|
253
|
+
? [name: Name]
|
|
254
|
+
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
255
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
256
|
+
|
|
257
|
+
export type RPCRemote = <Name extends keyof FlattenedRPCMap>(
|
|
258
|
+
...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
|
|
259
|
+
? [name: Name]
|
|
260
|
+
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
261
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
262
|
+
|
|
263
|
+
import type { FlattenedWorkflowMap } from '../workflow/pikku-workflow-map.gen.d.js'
|
|
264
|
+
|
|
265
|
+
import type { AgentMap } from '../agent/pikku-agent-map.gen.d.js'
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
type FlattenedAgentMap = AgentMap
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
import type { PikkuRPC } from '@pikku/core/rpc'
|
|
272
|
+
|
|
273
|
+
interface AIAgentInput {
|
|
274
|
+
message: string
|
|
275
|
+
threadId: string
|
|
276
|
+
resourceId: string
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
export type TypedStartWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
280
|
+
name: Name,
|
|
281
|
+
input: FlattenedWorkflowMap[Name]['input'],
|
|
282
|
+
options?: { startNode?: string }
|
|
283
|
+
) => Promise<{ runId: string }>
|
|
284
|
+
|
|
285
|
+
export type TypedRunWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
286
|
+
name: Name,
|
|
287
|
+
input: FlattenedWorkflowMap[Name]['input']
|
|
288
|
+
) => Promise<FlattenedWorkflowMap[Name]['output']>
|
|
289
|
+
|
|
290
|
+
export type TypedWorkflowStatus = (
|
|
291
|
+
workflowName: string,
|
|
292
|
+
runId: string
|
|
293
|
+
) => Promise<{ id: string; status: 'running' | 'suspended' | 'completed' | 'failed' | 'cancelled'; output?: unknown; error?: { message?: string } }>
|
|
294
|
+
|
|
295
|
+
type TypedAgentRun = [keyof FlattenedAgentMap] extends [never]
|
|
296
|
+
? (name: string, input: AIAgentInput) => Promise<any>
|
|
297
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
298
|
+
name: Name,
|
|
299
|
+
input: AIAgentInput
|
|
300
|
+
) => Promise<{ runId: string; result: FlattenedAgentMap[Name]['output']; usage: { inputTokens: number; outputTokens: number } }>
|
|
301
|
+
|
|
302
|
+
type TypedAgentStream = [keyof FlattenedAgentMap] extends [never]
|
|
303
|
+
? (name: string, input: AIAgentInput, options?: { requiresToolApproval?: 'all' | 'explicit' | false }) => Promise<void>
|
|
304
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
305
|
+
name: Name,
|
|
306
|
+
input: AIAgentInput,
|
|
307
|
+
options?: { requiresToolApproval?: 'all' | 'explicit' | false }
|
|
308
|
+
) => Promise<void>
|
|
309
|
+
|
|
310
|
+
export type TypedPikkuRPC = PikkuRPC<RPCInvoke, RPCRemote, TypedStartWorkflow, TypedAgentRun, TypedAgentStream>
|
|
311
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-rpc-wirings-meta.internal.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
import { pikkuState } from '@pikku/core/internal';
|
|
5
|
+
import metaData from './pikku-rpc-wirings-meta.internal.gen.json' with { type: 'json' };
|
|
6
|
+
pikkuState('@pikku/addon-wekan', 'rpc', 'meta', metaData);
|
|
7
|
+
//# sourceMappingURL=pikku-rpc-wirings-meta.internal.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-rpc-wirings-meta.internal.gen.js","sourceRoot":"","sources":["../../../.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,QAAQ,MAAM,4CAA4C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACvF,UAAU,CAAC,oBAAoB,EAAE,KAAK,EAAE,MAAM,EAAE,QAAkC,CAAC,CAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"boardCreate": "boardCreate",
|
|
3
|
+
"boardGet": "boardGet",
|
|
4
|
+
"boardDelete": "boardDelete",
|
|
5
|
+
"boardGetAll": "boardGetAll",
|
|
6
|
+
"listGetAll": "listGetAll",
|
|
7
|
+
"listCreate": "listCreate",
|
|
8
|
+
"listGet": "listGet",
|
|
9
|
+
"listDelete": "listDelete",
|
|
10
|
+
"cardGetAll": "cardGetAll",
|
|
11
|
+
"cardCreate": "cardCreate",
|
|
12
|
+
"cardGet": "cardGet",
|
|
13
|
+
"cardUpdate": "cardUpdate",
|
|
14
|
+
"cardDelete": "cardDelete",
|
|
15
|
+
"cardCommentGetAll": "cardCommentGetAll",
|
|
16
|
+
"cardCommentCreate": "cardCommentCreate",
|
|
17
|
+
"cardCommentGet": "cardCommentGet",
|
|
18
|
+
"cardCommentDelete": "cardCommentDelete",
|
|
19
|
+
"checklistGetAll": "checklistGetAll",
|
|
20
|
+
"checklistCreate": "checklistCreate",
|
|
21
|
+
"checklistGet": "checklistGet",
|
|
22
|
+
"checklistDelete": "checklistDelete",
|
|
23
|
+
"checklistItemGet": "checklistItemGet",
|
|
24
|
+
"checklistItemUpdate": "checklistItemUpdate",
|
|
25
|
+
"checklistItemDelete": "checklistItemDelete"
|
|
26
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
import { pikkuState } from '@pikku/core/internal'
|
|
5
|
+
import metaData from './pikku-rpc-wirings-meta.internal.gen.json' with { type: 'json' }
|
|
6
|
+
pikkuState('@pikku/addon-wekan', 'rpc', 'meta', metaData as Record<string, string>)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Scheduler-specific type definitions for tree-shaking optimization
|
|
6
|
+
*/
|
|
7
|
+
import { CoreScheduledTask } from '@pikku/core/scheduler';
|
|
8
|
+
import type { PikkuFunctionConfig, PikkuMiddleware } from '../function/pikku-function-types.gen.js';
|
|
9
|
+
/**
|
|
10
|
+
* Type definition for scheduled tasks that run at specified intervals.
|
|
11
|
+
* These are sessionless functions that execute based on cron expressions.
|
|
12
|
+
*/
|
|
13
|
+
type SchedulerWiring = CoreScheduledTask<PikkuFunctionConfig<void, void, 'session' | 'rpc'>, PikkuMiddleware>;
|
|
14
|
+
/**
|
|
15
|
+
* Registers a scheduled task with the Pikku framework.
|
|
16
|
+
* Tasks run based on cron expressions and are sessionless.
|
|
17
|
+
*
|
|
18
|
+
* @param task - Scheduled task definition with cron expression and handler
|
|
19
|
+
*/
|
|
20
|
+
export declare const wireScheduler: (task: SchedulerWiring) => void;
|
|
21
|
+
export {};
|
|
22
|
+
//# sourceMappingURL=pikku-scheduler-types.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-scheduler-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/scheduler/pikku-scheduler-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,EAAE,iBAAiB,EAAsC,MAAM,uBAAuB,CAAA;AAC7F,OAAO,KAAK,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAA;AAEnG;;;GAGG;AACH,KAAK,eAAe,GAAG,iBAAiB,CAAC,mBAAmB,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,GAAG,KAAK,CAAC,EAAE,eAAe,CAAC,CAAA;AAE7G;;;;;GAKG;AACH,eAAO,MAAM,aAAa,GAAI,MAAM,eAAe,SAElD,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Scheduler-specific type definitions for tree-shaking optimization
|
|
6
|
+
*/
|
|
7
|
+
import { wireScheduler as wireSchedulerCore } from '@pikku/core/scheduler';
|
|
8
|
+
/**
|
|
9
|
+
* Registers a scheduled task with the Pikku framework.
|
|
10
|
+
* Tasks run based on cron expressions and are sessionless.
|
|
11
|
+
*
|
|
12
|
+
* @param task - Scheduled task definition with cron expression and handler
|
|
13
|
+
*/
|
|
14
|
+
export const wireScheduler = (task) => {
|
|
15
|
+
wireSchedulerCore(task);
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=pikku-scheduler-types.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-scheduler-types.gen.js","sourceRoot":"","sources":["../../../.pikku/scheduler/pikku-scheduler-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,EAAqB,aAAa,IAAI,iBAAiB,EAAE,MAAM,uBAAuB,CAAA;AAS7F;;;;;GAKG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,IAAqB,EAAE,EAAE;IACrD,iBAAiB,CAAC,IAAW,CAAC,CAAA;AAChC,CAAC,CAAA"}
|