@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,167 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
import { WorkflowCancelledException } from '@pikku/core/workflow'
|
|
5
|
+
import { template } from '@pikku/core/workflow'
|
|
6
|
+
import {
|
|
7
|
+
pikkuWorkflowGraph as corePikkuWorkflowGraph,
|
|
8
|
+
type PikkuWorkflowGraphConfig,
|
|
9
|
+
type PikkuWorkflowGraphResult,
|
|
10
|
+
} from '@pikku/core/workflow'
|
|
11
|
+
import type { PikkuWorkflowWire, WorkflowStepOptions } from '@pikku/core/workflow'
|
|
12
|
+
|
|
13
|
+
export { WorkflowCancelledException }
|
|
14
|
+
import type { PikkuFunctionSessionless, PikkuFunctionConfig } from '../function/pikku-function-types.gen.js'
|
|
15
|
+
import type { FlattenedRPCMap } from '../rpc/pikku-rpc-wirings-map.internal.gen.d.js'
|
|
16
|
+
import type { FlattenedWorkflowMap } from './pikku-workflow-map.gen.d.js'
|
|
17
|
+
|
|
18
|
+
export { template }
|
|
19
|
+
|
|
20
|
+
export interface TypedWorkflow extends PikkuWorkflowWire {
|
|
21
|
+
do<K extends keyof FlattenedRPCMap>(
|
|
22
|
+
stepName: string,
|
|
23
|
+
rpcName: K,
|
|
24
|
+
data: FlattenedRPCMap[K]['input'],
|
|
25
|
+
options?: WorkflowStepOptions
|
|
26
|
+
): Promise<FlattenedRPCMap[K]['output']>
|
|
27
|
+
|
|
28
|
+
do<K extends keyof FlattenedWorkflowMap>(
|
|
29
|
+
stepName: string,
|
|
30
|
+
workflowName: K,
|
|
31
|
+
data: FlattenedWorkflowMap[K]['input'],
|
|
32
|
+
options?: WorkflowStepOptions
|
|
33
|
+
): Promise<FlattenedWorkflowMap[K]['output']>
|
|
34
|
+
|
|
35
|
+
do<T>(
|
|
36
|
+
stepName: string,
|
|
37
|
+
fn: () => T | Promise<T>,
|
|
38
|
+
options?: WorkflowStepOptions
|
|
39
|
+
): Promise<T>
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
import type { StandardSchemaV1 } from '@standard-schema/spec'
|
|
43
|
+
import type { InferSchemaOutput, PikkuPermission, PikkuMiddleware, NodeConfig, PikkuApprovalDescription } from '../function/pikku-function-types.gen.js'
|
|
44
|
+
import { PikkuError } from '@pikku/core/errors'
|
|
45
|
+
import type { CorePermissionGroup } from '@pikku/core'
|
|
46
|
+
|
|
47
|
+
export type PikkuFunctionWorkflow<
|
|
48
|
+
In = unknown,
|
|
49
|
+
Out = never
|
|
50
|
+
> = PikkuFunctionSessionless<In, Out, 'workflow'>
|
|
51
|
+
|
|
52
|
+
export type PikkuWorkflowConfigWithSchema<
|
|
53
|
+
InputSchema extends StandardSchemaV1 | undefined = undefined,
|
|
54
|
+
OutputSchema extends StandardSchemaV1 | undefined = undefined
|
|
55
|
+
> = {
|
|
56
|
+
title?: string
|
|
57
|
+
description?: string
|
|
58
|
+
tags?: string[]
|
|
59
|
+
expose?: boolean
|
|
60
|
+
internal?: boolean
|
|
61
|
+
override?: string
|
|
62
|
+
version?: number
|
|
63
|
+
remote?: boolean
|
|
64
|
+
mcp?: boolean
|
|
65
|
+
readonly?: boolean
|
|
66
|
+
approvalRequired?: boolean
|
|
67
|
+
approvalDescription?: InputSchema extends StandardSchemaV1 ? PikkuApprovalDescription<InferSchemaOutput<InputSchema>> : never
|
|
68
|
+
func: PikkuFunctionWorkflow<
|
|
69
|
+
InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown,
|
|
70
|
+
OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown
|
|
71
|
+
>
|
|
72
|
+
auth?: boolean
|
|
73
|
+
permissions?: InputSchema extends StandardSchemaV1 ? CorePermissionGroup<PikkuPermission<InferSchemaOutput<InputSchema>>> : undefined
|
|
74
|
+
middleware?: PikkuMiddleware[]
|
|
75
|
+
input?: InputSchema
|
|
76
|
+
output?: OutputSchema
|
|
77
|
+
node?: NodeConfig
|
|
78
|
+
errors?: Array<typeof PikkuError>
|
|
79
|
+
inline?: boolean
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export function pikkuWorkflowFunc<
|
|
83
|
+
InputSchema extends StandardSchemaV1 | undefined = undefined,
|
|
84
|
+
OutputSchema extends StandardSchemaV1 | undefined = undefined
|
|
85
|
+
>(
|
|
86
|
+
config: PikkuWorkflowConfigWithSchema<InputSchema, OutputSchema>
|
|
87
|
+
): PikkuFunctionConfig<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown, 'workflow', PikkuFunctionWorkflow<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown>, InputSchema, OutputSchema>
|
|
88
|
+
export function pikkuWorkflowFunc<In, Out = unknown>(
|
|
89
|
+
func:
|
|
90
|
+
| PikkuFunctionWorkflow<In, Out>
|
|
91
|
+
| PikkuFunctionConfig<In, Out, 'workflow', PikkuFunctionWorkflow<In, Out>>
|
|
92
|
+
): PikkuFunctionConfig<In, Out, 'workflow'>
|
|
93
|
+
export function pikkuWorkflowFunc(func: any) {
|
|
94
|
+
return typeof func === 'function' ? { func } : func
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export function pikkuWorkflowComplexFunc<
|
|
98
|
+
InputSchema extends StandardSchemaV1 | undefined = undefined,
|
|
99
|
+
OutputSchema extends StandardSchemaV1 | undefined = undefined
|
|
100
|
+
>(
|
|
101
|
+
config: PikkuWorkflowConfigWithSchema<InputSchema, OutputSchema>
|
|
102
|
+
): PikkuFunctionConfig<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown, 'workflow', PikkuFunctionWorkflow<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown>, InputSchema, OutputSchema>
|
|
103
|
+
export function pikkuWorkflowComplexFunc<In, Out = unknown>(
|
|
104
|
+
func:
|
|
105
|
+
| PikkuFunctionWorkflow<In, Out>
|
|
106
|
+
| PikkuFunctionConfig<In, Out, 'workflow', PikkuFunctionWorkflow<In, Out>>
|
|
107
|
+
): PikkuFunctionConfig<In, Out, 'workflow'>
|
|
108
|
+
export function pikkuWorkflowComplexFunc(func: any) {
|
|
109
|
+
return typeof func === 'function' ? { func } : func
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
type TypedRef<T> = { $ref: string; path?: string } & { __phantomType?: T }
|
|
113
|
+
|
|
114
|
+
type TemplateString = {
|
|
115
|
+
$template: {
|
|
116
|
+
parts: string[]
|
|
117
|
+
expressions: Array<{ $ref: string; path?: string }>
|
|
118
|
+
}
|
|
119
|
+
} & { __brand: 'TemplateString' }
|
|
120
|
+
|
|
121
|
+
type InputWithRefs<T> = {
|
|
122
|
+
[K in keyof T]?: T[K] | TypedRef<T[K]> | TypedRef<unknown> | TemplateString
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
type NodeInputType<FuncMap extends Record<string, string>, K extends keyof FuncMap> =
|
|
126
|
+
FuncMap[K] extends keyof FlattenedRPCMap
|
|
127
|
+
? InputWithRefs<FlattenedRPCMap[FuncMap[K]]['input']>
|
|
128
|
+
: Record<string, unknown>
|
|
129
|
+
|
|
130
|
+
type NodeOutputKeys<FuncMap extends Record<string, string>, N extends string> =
|
|
131
|
+
N extends keyof FuncMap
|
|
132
|
+
? FuncMap[N] extends keyof FlattenedRPCMap
|
|
133
|
+
? keyof FlattenedRPCMap[FuncMap[N]]['output'] & string
|
|
134
|
+
: string
|
|
135
|
+
: string
|
|
136
|
+
|
|
137
|
+
type RefFunction<FuncMap extends Record<string, string>> = {
|
|
138
|
+
<N extends Extract<keyof FuncMap, string>>(
|
|
139
|
+
nodeId: N,
|
|
140
|
+
path: NodeOutputKeys<FuncMap, N>
|
|
141
|
+
): TypedRef<unknown>
|
|
142
|
+
(nodeId: 'trigger' | '$item', path?: string): TypedRef<unknown>
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
type TemplateFunction = (templateStr: string, refs: TypedRef<unknown>[]) => TemplateString
|
|
146
|
+
|
|
147
|
+
type GraphNodeConfigMap<FuncMap extends Record<string, string>> = {
|
|
148
|
+
[K in Extract<keyof FuncMap, string>]?: {
|
|
149
|
+
next?: NextConfig<Extract<keyof FuncMap, string>>
|
|
150
|
+
input?:
|
|
151
|
+
| NodeInputType<FuncMap, K>
|
|
152
|
+
| (() => NodeInputType<FuncMap, K>)
|
|
153
|
+
| ((ref: RefFunction<FuncMap>, template: TemplateFunction) => NodeInputType<FuncMap, K>)
|
|
154
|
+
onError?: Extract<keyof FuncMap, string> | Extract<keyof FuncMap, string>[]
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
type NextConfig<NodeIds extends string> = NodeIds | NodeIds[] | { if: string; then: NodeIds; else?: NodeIds }
|
|
159
|
+
|
|
160
|
+
export function pikkuWorkflowGraph<
|
|
161
|
+
const FuncMap extends Record<string, keyof FlattenedRPCMap & string>
|
|
162
|
+
>(
|
|
163
|
+
config: PikkuWorkflowGraphConfig<FuncMap, GraphNodeConfigMap<FuncMap>>
|
|
164
|
+
): PikkuWorkflowGraphResult {
|
|
165
|
+
return corePikkuWorkflowGraph(config as any)
|
|
166
|
+
}
|
|
167
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-workflow-wirings-meta.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/workflow/pikku-workflow-wirings-meta.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
|
+
const workflowsMeta = {};
|
|
6
|
+
pikkuState('@pikku/addon-wekan', 'workflows', 'meta', workflowsMeta);
|
|
7
|
+
//# sourceMappingURL=pikku-workflow-wirings-meta.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-workflow-wirings-meta.gen.js","sourceRoot":"","sources":["../../../.pikku/workflow/pikku-workflow-wirings-meta.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAGjD,MAAM,aAAa,GAA6B,EAAE,CAAA;AAElD,UAAU,CAAC,oBAAoB,EAAE,WAAW,EAAE,MAAM,EAAE,aAAa,CAAC,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
import { pikkuState } from '@pikku/core/internal'
|
|
5
|
+
import type { SerializedWorkflowGraphs } from '@pikku/inspector/workflow-graph'
|
|
6
|
+
|
|
7
|
+
const workflowsMeta: SerializedWorkflowGraphs = {}
|
|
8
|
+
|
|
9
|
+
pikkuState('@pikku/addon-wekan', 'workflows', 'meta', workflowsMeta)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-workflow-wirings.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/workflow/pikku-workflow-wirings.gen.ts"],"names":[],"mappings":";AAAA;;GAEG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-workflow-wirings.gen.js","sourceRoot":"","sources":["../../../.pikku/workflow/pikku-workflow-wirings.gen.ts"],"names":[],"mappings":";AAAA;;GAEG"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const BoardCreateInput: z.ZodObject<{
|
|
3
|
+
title: z.ZodOptional<z.ZodString>;
|
|
4
|
+
owner: z.ZodOptional<z.ZodString>;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
export declare const BoardCreateOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7
|
+
export declare const boardCreate: import("#pikku").PikkuFunctionConfig<{
|
|
8
|
+
title?: string | undefined;
|
|
9
|
+
owner?: string | undefined;
|
|
10
|
+
}, Record<string, unknown>, "rpc" | "session", import("#pikku").PikkuFunctionSessionless<{
|
|
11
|
+
title?: string | undefined;
|
|
12
|
+
owner?: string | undefined;
|
|
13
|
+
}, Record<string, unknown>, "rpc" | "session", import("#pikku").Services> | import("#pikku").PikkuFunction<{
|
|
14
|
+
title?: string | undefined;
|
|
15
|
+
owner?: string | undefined;
|
|
16
|
+
}, Record<string, unknown>, "rpc" | "session", import("#pikku").Services>, undefined, undefined>;
|
|
17
|
+
//# sourceMappingURL=boardCreate.function.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"boardCreate.function.d.ts","sourceRoot":"","sources":["../../../src/functions/boardCreate.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,gBAAgB;;;iBAG3B,CAAA;AAEF,eAAO,MAAM,iBAAiB,wCAAoC,CAAA;AAElE,eAAO,MAAM,WAAW;;;;;;;;;gGAOtB,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { pikkuSessionlessFunc } from '#pikku';
|
|
3
|
+
export const BoardCreateInput = z.object({
|
|
4
|
+
title: z.string().optional(),
|
|
5
|
+
owner: z.string().optional(),
|
|
6
|
+
});
|
|
7
|
+
export const BoardCreateOutput = z.record(z.string(), z.unknown());
|
|
8
|
+
export const boardCreate = pikkuSessionlessFunc({
|
|
9
|
+
description: "Create a board",
|
|
10
|
+
input: BoardCreateInput,
|
|
11
|
+
output: BoardCreateOutput,
|
|
12
|
+
func: async ({ wekan }, data) => {
|
|
13
|
+
return wekan.call("POST", "/boards", data);
|
|
14
|
+
},
|
|
15
|
+
});
|
|
16
|
+
//# sourceMappingURL=boardCreate.function.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"boardCreate.function.js","sourceRoot":"","sources":["../../../src/functions/boardCreate.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAAA;AAE7C,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC7B,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,CAAA;AAElE,MAAM,CAAC,MAAM,WAAW,GAAG,oBAAoB,CAAC;IAC9C,WAAW,EAAE,gBAAgB;IAC7B,KAAK,EAAE,gBAAgB;IACvB,MAAM,EAAE,iBAAiB;IACzB,IAAI,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE;QAC9B,OAAO,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,SAAS,EAAE,IAAI,CAAQ,CAAA;IACnD,CAAC;CACF,CAAC,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const BoardDeleteInput: z.ZodObject<{
|
|
3
|
+
boardId: z.ZodString;
|
|
4
|
+
}, z.core.$strip>;
|
|
5
|
+
export declare const BoardDeleteOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6
|
+
export declare const boardDelete: import("#pikku").PikkuFunctionConfig<{
|
|
7
|
+
boardId: string;
|
|
8
|
+
}, Record<string, unknown>, "rpc" | "session", import("#pikku").PikkuFunctionSessionless<{
|
|
9
|
+
boardId: string;
|
|
10
|
+
}, Record<string, unknown>, "rpc" | "session", import("#pikku").Services> | import("#pikku").PikkuFunction<{
|
|
11
|
+
boardId: string;
|
|
12
|
+
}, Record<string, unknown>, "rpc" | "session", import("#pikku").Services>, undefined, undefined>;
|
|
13
|
+
//# sourceMappingURL=boardDelete.function.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"boardDelete.function.d.ts","sourceRoot":"","sources":["../../../src/functions/boardDelete.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,gBAAgB;;iBAE3B,CAAA;AAEF,eAAO,MAAM,iBAAiB,wCAAoC,CAAA;AAElE,eAAO,MAAM,WAAW;;;;;;gGAOtB,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { pikkuSessionlessFunc } from '#pikku';
|
|
3
|
+
export const BoardDeleteInput = z.object({
|
|
4
|
+
boardId: z.string(),
|
|
5
|
+
});
|
|
6
|
+
export const BoardDeleteOutput = z.record(z.string(), z.unknown());
|
|
7
|
+
export const boardDelete = pikkuSessionlessFunc({
|
|
8
|
+
description: "Delete a board",
|
|
9
|
+
input: BoardDeleteInput,
|
|
10
|
+
output: BoardDeleteOutput,
|
|
11
|
+
func: async ({ wekan }, data) => {
|
|
12
|
+
return wekan.call("DELETE", "/boards/{boardId}", data);
|
|
13
|
+
},
|
|
14
|
+
});
|
|
15
|
+
//# sourceMappingURL=boardDelete.function.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"boardDelete.function.js","sourceRoot":"","sources":["../../../src/functions/boardDelete.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAAA;AAE7C,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,CAAA;AAElE,MAAM,CAAC,MAAM,WAAW,GAAG,oBAAoB,CAAC;IAC9C,WAAW,EAAE,gBAAgB;IAC7B,KAAK,EAAE,gBAAgB;IACvB,MAAM,EAAE,iBAAiB;IACzB,IAAI,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE;QAC9B,OAAO,KAAK,CAAC,IAAI,CAAC,QAAQ,EAAE,mBAAmB,EAAE,IAAI,CAAQ,CAAA;IAC/D,CAAC;CACF,CAAC,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const BoardGetInput: z.ZodObject<{
|
|
3
|
+
boardId: z.ZodString;
|
|
4
|
+
}, z.core.$strip>;
|
|
5
|
+
export declare const BoardGetOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6
|
+
export declare const boardGet: import("#pikku").PikkuFunctionConfig<{
|
|
7
|
+
boardId: string;
|
|
8
|
+
}, Record<string, unknown>, "rpc" | "session", import("#pikku").PikkuFunctionSessionless<{
|
|
9
|
+
boardId: string;
|
|
10
|
+
}, Record<string, unknown>, "rpc" | "session", import("#pikku").Services> | import("#pikku").PikkuFunction<{
|
|
11
|
+
boardId: string;
|
|
12
|
+
}, Record<string, unknown>, "rpc" | "session", import("#pikku").Services>, undefined, undefined>;
|
|
13
|
+
//# sourceMappingURL=boardGet.function.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"boardGet.function.d.ts","sourceRoot":"","sources":["../../../src/functions/boardGet.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,aAAa;;iBAExB,CAAA;AAEF,eAAO,MAAM,cAAc,wCAAoC,CAAA;AAE/D,eAAO,MAAM,QAAQ;;;;;;gGAOnB,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { pikkuSessionlessFunc } from '#pikku';
|
|
3
|
+
export const BoardGetInput = z.object({
|
|
4
|
+
boardId: z.string(),
|
|
5
|
+
});
|
|
6
|
+
export const BoardGetOutput = z.record(z.string(), z.unknown());
|
|
7
|
+
export const boardGet = pikkuSessionlessFunc({
|
|
8
|
+
description: "Get a board",
|
|
9
|
+
input: BoardGetInput,
|
|
10
|
+
output: BoardGetOutput,
|
|
11
|
+
func: async ({ wekan }, data) => {
|
|
12
|
+
return wekan.call("GET", "/boards/{boardId}", data);
|
|
13
|
+
},
|
|
14
|
+
});
|
|
15
|
+
//# sourceMappingURL=boardGet.function.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"boardGet.function.js","sourceRoot":"","sources":["../../../src/functions/boardGet.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAAA;AAE7C,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,CAAA;AAE/D,MAAM,CAAC,MAAM,QAAQ,GAAG,oBAAoB,CAAC;IAC3C,WAAW,EAAE,aAAa;IAC1B,KAAK,EAAE,aAAa;IACpB,MAAM,EAAE,cAAc;IACtB,IAAI,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE;QAC9B,OAAO,KAAK,CAAC,IAAI,CAAC,KAAK,EAAE,mBAAmB,EAAE,IAAI,CAAQ,CAAA;IAC5D,CAAC;CACF,CAAC,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const BoardGetAllInput: z.ZodObject<{
|
|
3
|
+
userId: z.ZodString;
|
|
4
|
+
}, z.core.$strip>;
|
|
5
|
+
export declare const BoardGetAllOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6
|
+
export declare const boardGetAll: import("#pikku").PikkuFunctionConfig<{
|
|
7
|
+
userId: string;
|
|
8
|
+
}, Record<string, unknown>, "rpc" | "session", import("#pikku").PikkuFunctionSessionless<{
|
|
9
|
+
userId: string;
|
|
10
|
+
}, Record<string, unknown>, "rpc" | "session", import("#pikku").Services> | import("#pikku").PikkuFunction<{
|
|
11
|
+
userId: string;
|
|
12
|
+
}, Record<string, unknown>, "rpc" | "session", import("#pikku").Services>, undefined, undefined>;
|
|
13
|
+
//# sourceMappingURL=boardGetAll.function.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"boardGetAll.function.d.ts","sourceRoot":"","sources":["../../../src/functions/boardGetAll.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,gBAAgB;;iBAE3B,CAAA;AAEF,eAAO,MAAM,iBAAiB,wCAAoC,CAAA;AAElE,eAAO,MAAM,WAAW;;;;;;gGAOtB,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { pikkuSessionlessFunc } from '#pikku';
|
|
3
|
+
export const BoardGetAllInput = z.object({
|
|
4
|
+
userId: z.string(),
|
|
5
|
+
});
|
|
6
|
+
export const BoardGetAllOutput = z.record(z.string(), z.unknown());
|
|
7
|
+
export const boardGetAll = pikkuSessionlessFunc({
|
|
8
|
+
description: "Get all boards for a user",
|
|
9
|
+
input: BoardGetAllInput,
|
|
10
|
+
output: BoardGetAllOutput,
|
|
11
|
+
func: async ({ wekan }, data) => {
|
|
12
|
+
return wekan.call("GET", "/users/{userId}/boards", data);
|
|
13
|
+
},
|
|
14
|
+
});
|
|
15
|
+
//# sourceMappingURL=boardGetAll.function.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"boardGetAll.function.js","sourceRoot":"","sources":["../../../src/functions/boardGetAll.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAAA;AAE7C,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;CACnB,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,CAAA;AAElE,MAAM,CAAC,MAAM,WAAW,GAAG,oBAAoB,CAAC;IAC9C,WAAW,EAAE,2BAA2B;IACxC,KAAK,EAAE,gBAAgB;IACvB,MAAM,EAAE,iBAAiB;IACzB,IAAI,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE;QAC9B,OAAO,KAAK,CAAC,IAAI,CAAC,KAAK,EAAE,wBAAwB,EAAE,IAAI,CAAQ,CAAA;IACjE,CAAC;CACF,CAAC,CAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const CardCommentCreateInput: z.ZodObject<{
|
|
3
|
+
boardId: z.ZodString;
|
|
4
|
+
cardId: z.ZodString;
|
|
5
|
+
authorId: z.ZodOptional<z.ZodString>;
|
|
6
|
+
comment: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
export declare const CardCommentCreateOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
|
+
export declare const cardCommentCreate: import("#pikku").PikkuFunctionConfig<{
|
|
10
|
+
boardId: string;
|
|
11
|
+
cardId: string;
|
|
12
|
+
authorId?: string | undefined;
|
|
13
|
+
comment?: string | undefined;
|
|
14
|
+
}, Record<string, unknown>, "rpc" | "session", import("#pikku").PikkuFunctionSessionless<{
|
|
15
|
+
boardId: string;
|
|
16
|
+
cardId: string;
|
|
17
|
+
authorId?: string | undefined;
|
|
18
|
+
comment?: string | undefined;
|
|
19
|
+
}, Record<string, unknown>, "rpc" | "session", import("#pikku").Services> | import("#pikku").PikkuFunction<{
|
|
20
|
+
boardId: string;
|
|
21
|
+
cardId: string;
|
|
22
|
+
authorId?: string | undefined;
|
|
23
|
+
comment?: string | undefined;
|
|
24
|
+
}, Record<string, unknown>, "rpc" | "session", import("#pikku").Services>, undefined, undefined>;
|
|
25
|
+
//# sourceMappingURL=cardCommentCreate.function.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cardCommentCreate.function.d.ts","sourceRoot":"","sources":["../../../src/functions/cardCommentCreate.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,sBAAsB;;;;;iBAKjC,CAAA;AAEF,eAAO,MAAM,uBAAuB,wCAAoC,CAAA;AAExE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;gGAO5B,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { pikkuSessionlessFunc } from '#pikku';
|
|
3
|
+
export const CardCommentCreateInput = z.object({
|
|
4
|
+
boardId: z.string(),
|
|
5
|
+
cardId: z.string(),
|
|
6
|
+
authorId: z.string().optional(),
|
|
7
|
+
comment: z.string().optional(),
|
|
8
|
+
});
|
|
9
|
+
export const CardCommentCreateOutput = z.record(z.string(), z.unknown());
|
|
10
|
+
export const cardCommentCreate = pikkuSessionlessFunc({
|
|
11
|
+
description: "Create a comment on a card",
|
|
12
|
+
input: CardCommentCreateInput,
|
|
13
|
+
output: CardCommentCreateOutput,
|
|
14
|
+
func: async ({ wekan }, data) => {
|
|
15
|
+
return wekan.call("POST", "/boards/{boardId}/cards/{cardId}/comments", data);
|
|
16
|
+
},
|
|
17
|
+
});
|
|
18
|
+
//# sourceMappingURL=cardCommentCreate.function.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cardCommentCreate.function.js","sourceRoot":"","sources":["../../../src/functions/cardCommentCreate.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAAA;AAE7C,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC/B,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,CAAA;AAExE,MAAM,CAAC,MAAM,iBAAiB,GAAG,oBAAoB,CAAC;IACpD,WAAW,EAAE,4BAA4B;IACzC,KAAK,EAAE,sBAAsB;IAC7B,MAAM,EAAE,uBAAuB;IAC/B,IAAI,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE;QAC9B,OAAO,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,2CAA2C,EAAE,IAAI,CAAQ,CAAA;IACrF,CAAC;CACF,CAAC,CAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const CardCommentDeleteInput: z.ZodObject<{
|
|
3
|
+
boardId: z.ZodString;
|
|
4
|
+
cardId: z.ZodString;
|
|
5
|
+
commentId: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
export declare const CardCommentDeleteOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8
|
+
export declare const cardCommentDelete: import("#pikku").PikkuFunctionConfig<{
|
|
9
|
+
boardId: string;
|
|
10
|
+
cardId: string;
|
|
11
|
+
commentId: string;
|
|
12
|
+
}, Record<string, unknown>, "rpc" | "session", import("#pikku").PikkuFunctionSessionless<{
|
|
13
|
+
boardId: string;
|
|
14
|
+
cardId: string;
|
|
15
|
+
commentId: string;
|
|
16
|
+
}, Record<string, unknown>, "rpc" | "session", import("#pikku").Services> | import("#pikku").PikkuFunction<{
|
|
17
|
+
boardId: string;
|
|
18
|
+
cardId: string;
|
|
19
|
+
commentId: string;
|
|
20
|
+
}, Record<string, unknown>, "rpc" | "session", import("#pikku").Services>, undefined, undefined>;
|
|
21
|
+
//# sourceMappingURL=cardCommentDelete.function.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cardCommentDelete.function.d.ts","sourceRoot":"","sources":["../../../src/functions/cardCommentDelete.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,sBAAsB;;;;iBAIjC,CAAA;AAEF,eAAO,MAAM,uBAAuB,wCAAoC,CAAA;AAExE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;gGAO5B,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { pikkuSessionlessFunc } from '#pikku';
|
|
3
|
+
export const CardCommentDeleteInput = z.object({
|
|
4
|
+
boardId: z.string(),
|
|
5
|
+
cardId: z.string(),
|
|
6
|
+
commentId: z.string(),
|
|
7
|
+
});
|
|
8
|
+
export const CardCommentDeleteOutput = z.record(z.string(), z.unknown());
|
|
9
|
+
export const cardCommentDelete = pikkuSessionlessFunc({
|
|
10
|
+
description: "Delete a comment",
|
|
11
|
+
input: CardCommentDeleteInput,
|
|
12
|
+
output: CardCommentDeleteOutput,
|
|
13
|
+
func: async ({ wekan }, data) => {
|
|
14
|
+
return wekan.call("DELETE", "/boards/{boardId}/cards/{cardId}/comments/{commentId}", data);
|
|
15
|
+
},
|
|
16
|
+
});
|
|
17
|
+
//# sourceMappingURL=cardCommentDelete.function.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cardCommentDelete.function.js","sourceRoot":"","sources":["../../../src/functions/cardCommentDelete.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAAA;AAE7C,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;CACtB,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,CAAA;AAExE,MAAM,CAAC,MAAM,iBAAiB,GAAG,oBAAoB,CAAC;IACpD,WAAW,EAAE,kBAAkB;IAC/B,KAAK,EAAE,sBAAsB;IAC7B,MAAM,EAAE,uBAAuB;IAC/B,IAAI,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE;QAC9B,OAAO,KAAK,CAAC,IAAI,CAAC,QAAQ,EAAE,uDAAuD,EAAE,IAAI,CAAQ,CAAA;IACnG,CAAC;CACF,CAAC,CAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const CardCommentGetInput: z.ZodObject<{
|
|
3
|
+
boardId: z.ZodString;
|
|
4
|
+
cardId: z.ZodString;
|
|
5
|
+
commentId: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
export declare const CardCommentGetOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8
|
+
export declare const cardCommentGet: import("#pikku").PikkuFunctionConfig<{
|
|
9
|
+
boardId: string;
|
|
10
|
+
cardId: string;
|
|
11
|
+
commentId: string;
|
|
12
|
+
}, Record<string, unknown>, "rpc" | "session", import("#pikku").PikkuFunctionSessionless<{
|
|
13
|
+
boardId: string;
|
|
14
|
+
cardId: string;
|
|
15
|
+
commentId: string;
|
|
16
|
+
}, Record<string, unknown>, "rpc" | "session", import("#pikku").Services> | import("#pikku").PikkuFunction<{
|
|
17
|
+
boardId: string;
|
|
18
|
+
cardId: string;
|
|
19
|
+
commentId: string;
|
|
20
|
+
}, Record<string, unknown>, "rpc" | "session", import("#pikku").Services>, undefined, undefined>;
|
|
21
|
+
//# sourceMappingURL=cardCommentGet.function.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cardCommentGet.function.d.ts","sourceRoot":"","sources":["../../../src/functions/cardCommentGet.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,mBAAmB;;;;iBAI9B,CAAA;AAEF,eAAO,MAAM,oBAAoB,wCAAoC,CAAA;AAErE,eAAO,MAAM,cAAc;;;;;;;;;;;;gGAOzB,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { pikkuSessionlessFunc } from '#pikku';
|
|
3
|
+
export const CardCommentGetInput = z.object({
|
|
4
|
+
boardId: z.string(),
|
|
5
|
+
cardId: z.string(),
|
|
6
|
+
commentId: z.string(),
|
|
7
|
+
});
|
|
8
|
+
export const CardCommentGetOutput = z.record(z.string(), z.unknown());
|
|
9
|
+
export const cardCommentGet = pikkuSessionlessFunc({
|
|
10
|
+
description: "Get a comment",
|
|
11
|
+
input: CardCommentGetInput,
|
|
12
|
+
output: CardCommentGetOutput,
|
|
13
|
+
func: async ({ wekan }, data) => {
|
|
14
|
+
return wekan.call("GET", "/boards/{boardId}/cards/{cardId}/comments/{commentId}", data);
|
|
15
|
+
},
|
|
16
|
+
});
|
|
17
|
+
//# sourceMappingURL=cardCommentGet.function.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cardCommentGet.function.js","sourceRoot":"","sources":["../../../src/functions/cardCommentGet.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAAA;AAE7C,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;CACtB,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,CAAA;AAErE,MAAM,CAAC,MAAM,cAAc,GAAG,oBAAoB,CAAC;IACjD,WAAW,EAAE,eAAe;IAC5B,KAAK,EAAE,mBAAmB;IAC1B,MAAM,EAAE,oBAAoB;IAC5B,IAAI,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE;QAC9B,OAAO,KAAK,CAAC,IAAI,CAAC,KAAK,EAAE,uDAAuD,EAAE,IAAI,CAAQ,CAAA;IAChG,CAAC;CACF,CAAC,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const CardCommentGetAllInput: z.ZodObject<{
|
|
3
|
+
boardId: z.ZodString;
|
|
4
|
+
cardId: z.ZodString;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
export declare const CardCommentGetAllOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7
|
+
export declare const cardCommentGetAll: import("#pikku").PikkuFunctionConfig<{
|
|
8
|
+
boardId: string;
|
|
9
|
+
cardId: string;
|
|
10
|
+
}, Record<string, unknown>, "rpc" | "session", import("#pikku").PikkuFunctionSessionless<{
|
|
11
|
+
boardId: string;
|
|
12
|
+
cardId: string;
|
|
13
|
+
}, Record<string, unknown>, "rpc" | "session", import("#pikku").Services> | import("#pikku").PikkuFunction<{
|
|
14
|
+
boardId: string;
|
|
15
|
+
cardId: string;
|
|
16
|
+
}, Record<string, unknown>, "rpc" | "session", import("#pikku").Services>, undefined, undefined>;
|
|
17
|
+
//# sourceMappingURL=cardCommentGetAll.function.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cardCommentGetAll.function.d.ts","sourceRoot":"","sources":["../../../src/functions/cardCommentGetAll.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,sBAAsB;;;iBAGjC,CAAA;AAEF,eAAO,MAAM,uBAAuB,wCAAoC,CAAA;AAExE,eAAO,MAAM,iBAAiB;;;;;;;;;gGAO5B,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { pikkuSessionlessFunc } from '#pikku';
|
|
3
|
+
export const CardCommentGetAllInput = z.object({
|
|
4
|
+
boardId: z.string(),
|
|
5
|
+
cardId: z.string(),
|
|
6
|
+
});
|
|
7
|
+
export const CardCommentGetAllOutput = z.record(z.string(), z.unknown());
|
|
8
|
+
export const cardCommentGetAll = pikkuSessionlessFunc({
|
|
9
|
+
description: "Get all comments on a card",
|
|
10
|
+
input: CardCommentGetAllInput,
|
|
11
|
+
output: CardCommentGetAllOutput,
|
|
12
|
+
func: async ({ wekan }, data) => {
|
|
13
|
+
return wekan.call("GET", "/boards/{boardId}/cards/{cardId}/comments", data);
|
|
14
|
+
},
|
|
15
|
+
});
|
|
16
|
+
//# sourceMappingURL=cardCommentGetAll.function.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cardCommentGetAll.function.js","sourceRoot":"","sources":["../../../src/functions/cardCommentGetAll.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAAA;AAE7C,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;CACnB,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,CAAA;AAExE,MAAM,CAAC,MAAM,iBAAiB,GAAG,oBAAoB,CAAC;IACpD,WAAW,EAAE,4BAA4B;IACzC,KAAK,EAAE,sBAAsB;IAC7B,MAAM,EAAE,uBAAuB;IAC/B,IAAI,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE;QAC9B,OAAO,KAAK,CAAC,IAAI,CAAC,KAAK,EAAE,2CAA2C,EAAE,IAAI,CAAQ,CAAA;IACpF,CAAC;CACF,CAAC,CAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const CardCreateInput: z.ZodObject<{
|
|
3
|
+
boardId: z.ZodString;
|
|
4
|
+
listId: z.ZodString;
|
|
5
|
+
title: z.ZodOptional<z.ZodString>;
|
|
6
|
+
swimlaneId: z.ZodOptional<z.ZodString>;
|
|
7
|
+
authorId: z.ZodOptional<z.ZodString>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
export declare const CardCreateOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
10
|
+
export declare const cardCreate: import("#pikku").PikkuFunctionConfig<{
|
|
11
|
+
boardId: string;
|
|
12
|
+
listId: string;
|
|
13
|
+
title?: string | undefined;
|
|
14
|
+
swimlaneId?: string | undefined;
|
|
15
|
+
authorId?: string | undefined;
|
|
16
|
+
}, Record<string, unknown>, "rpc" | "session", import("#pikku").PikkuFunctionSessionless<{
|
|
17
|
+
boardId: string;
|
|
18
|
+
listId: string;
|
|
19
|
+
title?: string | undefined;
|
|
20
|
+
swimlaneId?: string | undefined;
|
|
21
|
+
authorId?: string | undefined;
|
|
22
|
+
}, Record<string, unknown>, "rpc" | "session", import("#pikku").Services> | import("#pikku").PikkuFunction<{
|
|
23
|
+
boardId: string;
|
|
24
|
+
listId: string;
|
|
25
|
+
title?: string | undefined;
|
|
26
|
+
swimlaneId?: string | undefined;
|
|
27
|
+
authorId?: string | undefined;
|
|
28
|
+
}, Record<string, unknown>, "rpc" | "session", import("#pikku").Services>, undefined, undefined>;
|
|
29
|
+
//# sourceMappingURL=cardCreate.function.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cardCreate.function.d.ts","sourceRoot":"","sources":["../../../src/functions/cardCreate.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,eAAe;;;;;;iBAM1B,CAAA;AAEF,eAAO,MAAM,gBAAgB,wCAAoC,CAAA;AAEjE,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;gGAOrB,CAAA"}
|