@pikku/addon-nextcloud 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 +495 -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 +325 -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 +40 -0
- package/dist/.pikku/function/pikku-functions.gen.js.map +1 -0
- package/dist/.pikku/function/pikku-functions.gen.ts +40 -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 +217 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +234 -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 +19 -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 +77 -0
- package/dist/.pikku/schemas/register.gen.js.map +1 -0
- package/dist/.pikku/schemas/register.gen.ts +147 -0
- package/dist/.pikku/schemas/schemas/CredentialSchema_nextcloud.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FileCopyInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FileCopyOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FileDeleteInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FileDeleteOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FileDownloadInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FileDownloadOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FileMoveInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FileMoveOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FileShareInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FileShareOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FileUploadInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FileUploadOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FolderCopyInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FolderCopyOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FolderCreateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FolderCreateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FolderDeleteInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FolderDeleteOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FolderListInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FolderListOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FolderMoveInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FolderMoveOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FolderShareInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FolderShareOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/UserCreateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/UserCreateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/UserDeleteInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/UserDeleteOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/UserGetAllInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/UserGetAllOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/UserGetInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/UserGetOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/UserUpdateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/UserUpdateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/VariableSchema_NEXTCLOUD_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/fileCopy.function.d.ts +17 -0
- package/dist/src/functions/fileCopy.function.d.ts.map +1 -0
- package/dist/src/functions/fileCopy.function.js +16 -0
- package/dist/src/functions/fileCopy.function.js.map +1 -0
- package/dist/src/functions/fileDelete.function.d.ts +13 -0
- package/dist/src/functions/fileDelete.function.d.ts.map +1 -0
- package/dist/src/functions/fileDelete.function.js +15 -0
- package/dist/src/functions/fileDelete.function.js.map +1 -0
- package/dist/src/functions/fileDownload.function.d.ts +17 -0
- package/dist/src/functions/fileDownload.function.d.ts.map +1 -0
- package/dist/src/functions/fileDownload.function.js +16 -0
- package/dist/src/functions/fileDownload.function.js.map +1 -0
- package/dist/src/functions/fileMove.function.d.ts +17 -0
- package/dist/src/functions/fileMove.function.d.ts.map +1 -0
- package/dist/src/functions/fileMove.function.js +16 -0
- package/dist/src/functions/fileMove.function.js.map +1 -0
- package/dist/src/functions/fileShare.function.d.ts +21 -0
- package/dist/src/functions/fileShare.function.d.ts.map +1 -0
- package/dist/src/functions/fileShare.function.js +17 -0
- package/dist/src/functions/fileShare.function.js.map +1 -0
- package/dist/src/functions/fileUpload.function.d.ts +17 -0
- package/dist/src/functions/fileUpload.function.d.ts.map +1 -0
- package/dist/src/functions/fileUpload.function.js +16 -0
- package/dist/src/functions/fileUpload.function.js.map +1 -0
- package/dist/src/functions/folderCopy.function.d.ts +17 -0
- package/dist/src/functions/folderCopy.function.d.ts.map +1 -0
- package/dist/src/functions/folderCopy.function.js +16 -0
- package/dist/src/functions/folderCopy.function.js.map +1 -0
- package/dist/src/functions/folderCreate.function.d.ts +13 -0
- package/dist/src/functions/folderCreate.function.d.ts.map +1 -0
- package/dist/src/functions/folderCreate.function.js +15 -0
- package/dist/src/functions/folderCreate.function.js.map +1 -0
- package/dist/src/functions/folderDelete.function.d.ts +13 -0
- package/dist/src/functions/folderDelete.function.d.ts.map +1 -0
- package/dist/src/functions/folderDelete.function.js +15 -0
- package/dist/src/functions/folderDelete.function.js.map +1 -0
- package/dist/src/functions/folderList.function.d.ts +13 -0
- package/dist/src/functions/folderList.function.d.ts.map +1 -0
- package/dist/src/functions/folderList.function.js +15 -0
- package/dist/src/functions/folderList.function.js.map +1 -0
- package/dist/src/functions/folderMove.function.d.ts +17 -0
- package/dist/src/functions/folderMove.function.d.ts.map +1 -0
- package/dist/src/functions/folderMove.function.js +16 -0
- package/dist/src/functions/folderMove.function.js.map +1 -0
- package/dist/src/functions/folderShare.function.d.ts +21 -0
- package/dist/src/functions/folderShare.function.d.ts.map +1 -0
- package/dist/src/functions/folderShare.function.js +17 -0
- package/dist/src/functions/folderShare.function.js.map +1 -0
- package/dist/src/functions/userCreate.function.d.ts +21 -0
- package/dist/src/functions/userCreate.function.d.ts.map +1 -0
- package/dist/src/functions/userCreate.function.js +17 -0
- package/dist/src/functions/userCreate.function.js.map +1 -0
- package/dist/src/functions/userDelete.function.d.ts +13 -0
- package/dist/src/functions/userDelete.function.d.ts.map +1 -0
- package/dist/src/functions/userDelete.function.js +15 -0
- package/dist/src/functions/userDelete.function.js.map +1 -0
- package/dist/src/functions/userGet.function.d.ts +13 -0
- package/dist/src/functions/userGet.function.d.ts.map +1 -0
- package/dist/src/functions/userGet.function.js +15 -0
- package/dist/src/functions/userGet.function.js.map +1 -0
- package/dist/src/functions/userGetAll.function.d.ts +21 -0
- package/dist/src/functions/userGetAll.function.d.ts.map +1 -0
- package/dist/src/functions/userGetAll.function.js +17 -0
- package/dist/src/functions/userGetAll.function.js.map +1 -0
- package/dist/src/functions/userUpdate.function.d.ts +21 -0
- package/dist/src/functions/userUpdate.function.d.ts.map +1 -0
- package/dist/src/functions/userUpdate.function.js +17 -0
- package/dist/src/functions/userUpdate.function.js.map +1 -0
- package/dist/src/index.d.ts +18 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +18 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/nextcloud-api.service.d.ts +10 -0
- package/dist/src/nextcloud-api.service.d.ts.map +1 -0
- package/dist/src/nextcloud-api.service.js +170 -0
- package/dist/src/nextcloud-api.service.js.map +1 -0
- package/dist/src/nextcloud.credential.d.ts +5 -0
- package/dist/src/nextcloud.credential.d.ts.map +1 -0
- package/dist/src/nextcloud.credential.js +13 -0
- package/dist/src/nextcloud.credential.js.map +1 -0
- package/dist/src/nextcloud.types.d.ts +7 -0
- package/dist/src/nextcloud.types.d.ts.map +1 -0
- package/dist/src/nextcloud.types.js +8 -0
- package/dist/src/nextcloud.types.js.map +1 -0
- package/dist/src/nextcloud.variable.d.ts +5 -0
- package/dist/src/nextcloud.variable.d.ts.map +1 -0
- package/dist/src/nextcloud.variable.js +11 -0
- package/dist/src/nextcloud.variable.js.map +1 -0
- package/dist/src/services.d.ts +2 -0
- package/dist/src/services.d.ts.map +1 -0
- package/dist/src/services.js +14 -0
- package/dist/src/services.js.map +1 -0
- package/package.json +39 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-services.gen.js","sourceRoot":"","sources":["../../.pikku/pikku-services.gen.ts"],"names":[],"mappings":"AAMA,0EAA0E;AAC1E,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,iBAAiB,EAAE,KAAK;IACxB,eAAe,EAAE,KAAK;IACtB,YAAY,EAAE,KAAK;IACnB,WAAW,EAAE,KAAK;IAClB,OAAO,EAAE,KAAK;IACd,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,IAAI;IACd,SAAS,EAAE,KAAK;IAChB,mBAAmB,EAAE,KAAK;IAC1B,mBAAmB,EAAE,KAAK;IAC1B,cAAc,EAAE,KAAK;IACrB,UAAU,EAAE,KAAK;IACjB,KAAK,EAAE,KAAK;IACZ,QAAQ,EAAE,IAAI;IACd,aAAa,EAAE,KAAK;IACpB,WAAW,EAAE,KAAK;IAClB,cAAc,EAAE,KAAK;IACrB,kBAAkB,EAAE,KAAK;IACzB,QAAQ,EAAE,IAAI;IACd,SAAS,EAAE,IAAI;IACf,cAAc,EAAE,KAAK;IACrB,WAAW,EAAE,IAAI;IACjB,oBAAoB,EAAE,KAAK;IAC3B,iBAAiB,EAAE,KAAK;CAChB,CAAA;AAEV,qEAAqE;AACrE,MAAM,CAAC,MAAM,oBAAoB,GAAG,EAC1B,CAAA"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
import type { SingletonServices } from '../types/application-types.d.js'
|
|
5
|
+
import type { Services } from '../types/application-types.d.js'
|
|
6
|
+
|
|
7
|
+
// Singleton services map: true if required, false if available but unused
|
|
8
|
+
export const requiredSingletonServices = {
|
|
9
|
+
'agentRunService': false,
|
|
10
|
+
'aiAgentRunner': false,
|
|
11
|
+
'aiRunState': false,
|
|
12
|
+
'aiStorage': false,
|
|
13
|
+
'audit': false,
|
|
14
|
+
'auditLog': false,
|
|
15
|
+
'config': true,
|
|
16
|
+
'content': false,
|
|
17
|
+
'credentialService': false,
|
|
18
|
+
'deploymentService': false,
|
|
19
|
+
'emailService': false,
|
|
20
|
+
'eventHub': false,
|
|
21
|
+
'jwt': false,
|
|
22
|
+
'logger': true,
|
|
23
|
+
'metaService': false,
|
|
24
|
+
'nextcloud': false,
|
|
25
|
+
'queueService': false,
|
|
26
|
+
'schedulerService': false,
|
|
27
|
+
'schema': true,
|
|
28
|
+
'secrets': true,
|
|
29
|
+
'sessionStore': false,
|
|
30
|
+
'variables': true,
|
|
31
|
+
'workflowRunService': false,
|
|
32
|
+
'workflowService': false,
|
|
33
|
+
} as const
|
|
34
|
+
|
|
35
|
+
// Wire services map: true if required, false if available but unused
|
|
36
|
+
export const requiredWireServices = {
|
|
37
|
+
} as const
|
|
38
|
+
|
|
39
|
+
// Type exports
|
|
40
|
+
export type RequiredSingletonServices = Required<Pick<SingletonServices, 'config' | 'logger' | 'schema' | 'secrets' | 'variables'>> & Partial<Omit<SingletonServices, 'config' | 'logger' | 'schema' | 'secrets' | 'variables'>>
|
|
41
|
+
|
|
42
|
+
export type RequiredWireServices = Partial<Services>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Main type export hub - re-exports all wiring-specific types
|
|
6
|
+
*/
|
|
7
|
+
export * from './function/pikku-function-types.gen.js';
|
|
8
|
+
export * from './trigger/pikku-trigger-types.gen.js';
|
|
9
|
+
export * from './console/pikku-node-types.gen.js';
|
|
10
|
+
export * from './secrets/pikku-secret-types.gen.js';
|
|
11
|
+
export * from './addon/pikku-addon-types.gen.js';
|
|
12
|
+
//# sourceMappingURL=pikku-types.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-types.gen.d.ts","sourceRoot":"","sources":["../../.pikku/pikku-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAGH,cAAc,wCAAwC,CAAA;AAGtD,cAAc,sCAAsC,CAAA;AAGpD,cAAc,mCAAmC,CAAA;AAGjD,cAAc,qCAAqC,CAAA;AAGnD,cAAc,kCAAkC,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Main type export hub - re-exports all wiring-specific types
|
|
6
|
+
*/
|
|
7
|
+
// Core function, middleware, and permission types
|
|
8
|
+
export * from './function/pikku-function-types.gen.js';
|
|
9
|
+
// Trigger wiring types
|
|
10
|
+
export * from './trigger/pikku-trigger-types.gen.js';
|
|
11
|
+
// Node wiring types
|
|
12
|
+
export * from './console/pikku-node-types.gen.js';
|
|
13
|
+
// Secret definition types
|
|
14
|
+
export * from './secrets/pikku-secret-types.gen.js';
|
|
15
|
+
// Addon types
|
|
16
|
+
export * from './addon/pikku-addon-types.gen.js';
|
|
17
|
+
//# sourceMappingURL=pikku-types.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-types.gen.js","sourceRoot":"","sources":["../../.pikku/pikku-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,kDAAkD;AAClD,cAAc,wCAAwC,CAAA;AAEtD,uBAAuB;AACvB,cAAc,sCAAsC,CAAA;AAEpD,oBAAoB;AACpB,cAAc,mCAAmC,CAAA;AAEjD,0BAA0B;AAC1B,cAAc,qCAAqC,CAAA;AAEnD,cAAc;AACd,cAAc,kCAAkC,CAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Main type export hub - re-exports all wiring-specific types
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
// Core function, middleware, and permission types
|
|
9
|
+
export * from './function/pikku-function-types.gen.js'
|
|
10
|
+
|
|
11
|
+
// Trigger wiring types
|
|
12
|
+
export * from './trigger/pikku-trigger-types.gen.js'
|
|
13
|
+
|
|
14
|
+
// Node wiring types
|
|
15
|
+
export * from './console/pikku-node-types.gen.js'
|
|
16
|
+
|
|
17
|
+
// Secret definition types
|
|
18
|
+
export * from './secrets/pikku-secret-types.gen.js'
|
|
19
|
+
|
|
20
|
+
// Addon types
|
|
21
|
+
export * from './addon/pikku-addon-types.gen.js'
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Queue-specific type definitions for tree-shaking optimization
|
|
6
|
+
*/
|
|
7
|
+
import { CoreQueueWorker } from '@pikku/core/queue';
|
|
8
|
+
import type { PikkuFunctionConfig } from '../function/pikku-function-types.gen.js';
|
|
9
|
+
/**
|
|
10
|
+
* Type definition for queue workers that process background jobs.
|
|
11
|
+
*
|
|
12
|
+
* @template In - Input type for the queue job
|
|
13
|
+
* @template Out - Output type for the queue job
|
|
14
|
+
*/
|
|
15
|
+
type QueueWiring<In, Out> = CoreQueueWorker<PikkuFunctionConfig<In, Out, 'session' | 'rpc'>>;
|
|
16
|
+
/**
|
|
17
|
+
* Registers a queue worker with the Pikku framework.
|
|
18
|
+
* Workers process background jobs from queues.
|
|
19
|
+
*
|
|
20
|
+
* @param queueWorker - Queue worker definition with job handler
|
|
21
|
+
*/
|
|
22
|
+
export declare const wireQueueWorker: (queueWorker: QueueWiring<any, any>) => void;
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=pikku-queue-types.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-queue-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/queue/pikku-queue-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,EAAE,eAAe,EAA0C,MAAM,mBAAmB,CAAA;AAC3F,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAA;AAElF;;;;;GAKG;AACH,KAAK,WAAW,CAAC,EAAE,EAAE,GAAG,IAAI,eAAe,CAAC,mBAAmB,CAAC,EAAE,EAAE,GAAG,EAAE,SAAS,GAAG,KAAK,CAAC,CAAC,CAAA;AAE5F;;;;;GAKG;AACH,eAAO,MAAM,eAAe,GAAI,aAAa,WAAW,CAAC,GAAG,EAAE,GAAG,CAAC,SAEjE,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Queue-specific type definitions for tree-shaking optimization
|
|
6
|
+
*/
|
|
7
|
+
import { wireQueueWorker as wireQueueWorkerCore } from '@pikku/core/queue';
|
|
8
|
+
/**
|
|
9
|
+
* Registers a queue worker with the Pikku framework.
|
|
10
|
+
* Workers process background jobs from queues.
|
|
11
|
+
*
|
|
12
|
+
* @param queueWorker - Queue worker definition with job handler
|
|
13
|
+
*/
|
|
14
|
+
export const wireQueueWorker = (queueWorker) => {
|
|
15
|
+
wireQueueWorkerCore(queueWorker);
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=pikku-queue-types.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-queue-types.gen.js","sourceRoot":"","sources":["../../../.pikku/queue/pikku-queue-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,EAAmB,eAAe,IAAI,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAW3F;;;;;GAKG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,WAAkC,EAAE,EAAE;IACpE,mBAAmB,CAAC,WAAkB,CAAC,CAAA;AACzC,CAAC,CAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Queue-specific type definitions for tree-shaking optimization
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import { CoreQueueWorker, wireQueueWorker as wireQueueWorkerCore } from '@pikku/core/queue'
|
|
9
|
+
import type { PikkuFunctionConfig } from '../function/pikku-function-types.gen.js'
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Type definition for queue workers that process background jobs.
|
|
13
|
+
*
|
|
14
|
+
* @template In - Input type for the queue job
|
|
15
|
+
* @template Out - Output type for the queue job
|
|
16
|
+
*/
|
|
17
|
+
type QueueWiring<In, Out> = CoreQueueWorker<PikkuFunctionConfig<In, Out, 'session' | 'rpc'>>
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Registers a queue worker with the Pikku framework.
|
|
21
|
+
* Workers process background jobs from queues.
|
|
22
|
+
*
|
|
23
|
+
* @param queueWorker - Queue worker definition with job handler
|
|
24
|
+
*/
|
|
25
|
+
export const wireQueueWorker = (queueWorker: QueueWiring<any, any>) => {
|
|
26
|
+
wireQueueWorkerCore(queueWorker as any)
|
|
27
|
+
}
|
|
@@ -0,0 +1,217 @@
|
|
|
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 CredentialSchema_nextcloud = {
|
|
13
|
+
/** Nextcloud API key */
|
|
14
|
+
apiKey: string;
|
|
15
|
+
}
|
|
16
|
+
export type FileCopyInput = {
|
|
17
|
+
path?: string | undefined;
|
|
18
|
+
toPath?: string | undefined;
|
|
19
|
+
}
|
|
20
|
+
export type FileCopyOutput = {
|
|
21
|
+
[key: string]: unknown;
|
|
22
|
+
}
|
|
23
|
+
export type FileDeleteInput = {
|
|
24
|
+
path?: string | undefined;
|
|
25
|
+
}
|
|
26
|
+
export type FileDeleteOutput = {
|
|
27
|
+
[key: string]: unknown;
|
|
28
|
+
}
|
|
29
|
+
export type FileDownloadInput = {
|
|
30
|
+
path?: string | undefined;
|
|
31
|
+
binaryPropertyName?: string | undefined;
|
|
32
|
+
}
|
|
33
|
+
export type FileDownloadOutput = {
|
|
34
|
+
[key: string]: unknown;
|
|
35
|
+
}
|
|
36
|
+
export type FileMoveInput = {
|
|
37
|
+
path?: string | undefined;
|
|
38
|
+
toPath?: string | undefined;
|
|
39
|
+
}
|
|
40
|
+
export type FileMoveOutput = {
|
|
41
|
+
[key: string]: unknown;
|
|
42
|
+
}
|
|
43
|
+
export type FileShareInput = {
|
|
44
|
+
path?: string | undefined;
|
|
45
|
+
shareType?: number | undefined;
|
|
46
|
+
shareWith?: string | undefined;
|
|
47
|
+
}
|
|
48
|
+
export type FileShareOutput = {
|
|
49
|
+
[key: string]: unknown;
|
|
50
|
+
}
|
|
51
|
+
export type FileUploadInput = {
|
|
52
|
+
path?: string | undefined;
|
|
53
|
+
fileContent?: string | undefined;
|
|
54
|
+
}
|
|
55
|
+
export type FileUploadOutput = {
|
|
56
|
+
[key: string]: unknown;
|
|
57
|
+
}
|
|
58
|
+
export type FolderCopyInput = {
|
|
59
|
+
path?: string | undefined;
|
|
60
|
+
toPath?: string | undefined;
|
|
61
|
+
}
|
|
62
|
+
export type FolderCopyOutput = {
|
|
63
|
+
[key: string]: unknown;
|
|
64
|
+
}
|
|
65
|
+
export type FolderCreateInput = {
|
|
66
|
+
path?: string | undefined;
|
|
67
|
+
}
|
|
68
|
+
export type FolderCreateOutput = {
|
|
69
|
+
[key: string]: unknown;
|
|
70
|
+
}
|
|
71
|
+
export type FolderDeleteInput = {
|
|
72
|
+
path?: string | undefined;
|
|
73
|
+
}
|
|
74
|
+
export type FolderDeleteOutput = {
|
|
75
|
+
[key: string]: unknown;
|
|
76
|
+
}
|
|
77
|
+
export type FolderListInput = {
|
|
78
|
+
path?: string | undefined;
|
|
79
|
+
}
|
|
80
|
+
export type FolderListOutput = {
|
|
81
|
+
[key: string]: unknown;
|
|
82
|
+
}
|
|
83
|
+
export type FolderMoveInput = {
|
|
84
|
+
path?: string | undefined;
|
|
85
|
+
toPath?: string | undefined;
|
|
86
|
+
}
|
|
87
|
+
export type FolderMoveOutput = {
|
|
88
|
+
[key: string]: unknown;
|
|
89
|
+
}
|
|
90
|
+
export type FolderShareInput = {
|
|
91
|
+
path?: string | undefined;
|
|
92
|
+
shareType?: number | undefined;
|
|
93
|
+
shareWith?: string | undefined;
|
|
94
|
+
}
|
|
95
|
+
export type FolderShareOutput = {
|
|
96
|
+
[key: string]: unknown;
|
|
97
|
+
}
|
|
98
|
+
export type UserCreateInput = {
|
|
99
|
+
userid?: string | undefined;
|
|
100
|
+
email?: string | undefined;
|
|
101
|
+
displayName?: string | undefined;
|
|
102
|
+
}
|
|
103
|
+
export type UserCreateOutput = {
|
|
104
|
+
[key: string]: unknown;
|
|
105
|
+
}
|
|
106
|
+
export type UserDeleteInput = {
|
|
107
|
+
userid: string;
|
|
108
|
+
}
|
|
109
|
+
export type UserDeleteOutput = {
|
|
110
|
+
[key: string]: unknown;
|
|
111
|
+
}
|
|
112
|
+
export type UserGetAllInput = {
|
|
113
|
+
search?: string | undefined;
|
|
114
|
+
limit?: number | undefined;
|
|
115
|
+
offset?: number | undefined;
|
|
116
|
+
}
|
|
117
|
+
export type UserGetAllOutput = {
|
|
118
|
+
[key: string]: unknown;
|
|
119
|
+
}
|
|
120
|
+
export type UserGetInput = {
|
|
121
|
+
userid: string;
|
|
122
|
+
}
|
|
123
|
+
export type UserGetOutput = {
|
|
124
|
+
[key: string]: unknown;
|
|
125
|
+
}
|
|
126
|
+
export type UserUpdateInput = {
|
|
127
|
+
userid: string;
|
|
128
|
+
key?: string | undefined;
|
|
129
|
+
value?: string | undefined;
|
|
130
|
+
}
|
|
131
|
+
export type UserUpdateOutput = {
|
|
132
|
+
[key: string]: unknown;
|
|
133
|
+
}
|
|
134
|
+
export type VariableSchema_NEXTCLOUD_BASE_URL = "https://nextcloud.example.com"
|
|
135
|
+
|
|
136
|
+
interface RPCHandler<I, O> {
|
|
137
|
+
input: I;
|
|
138
|
+
output: O;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
export type RPCMap = {
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
// No addon packages, use RPCMap directly
|
|
147
|
+
export type FlattenedRPCMap = RPCMap
|
|
148
|
+
|
|
149
|
+
type IsAny<T> = 0 extends (1 & T) ? true : false
|
|
150
|
+
type IsVoidishInput<T> = IsAny<T> extends true
|
|
151
|
+
? false
|
|
152
|
+
: [T] extends [void | null | undefined]
|
|
153
|
+
? true
|
|
154
|
+
: false
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
export type RPCInvoke = <Name extends keyof FlattenedRPCMap>(
|
|
158
|
+
...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
|
|
159
|
+
? [name: Name]
|
|
160
|
+
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
161
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
162
|
+
|
|
163
|
+
export type RPCRemote = <Name extends keyof FlattenedRPCMap>(
|
|
164
|
+
...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
|
|
165
|
+
? [name: Name]
|
|
166
|
+
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
167
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
168
|
+
|
|
169
|
+
import type { FlattenedWorkflowMap } from '../workflow/pikku-workflow-map.gen.d.js'
|
|
170
|
+
|
|
171
|
+
import type { AgentMap } from '../agent/pikku-agent-map.gen.d.js'
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
type FlattenedAgentMap = AgentMap
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
import type { PikkuRPC } from '@pikku/core/rpc'
|
|
178
|
+
|
|
179
|
+
interface AIAgentInput {
|
|
180
|
+
message: string
|
|
181
|
+
threadId: string
|
|
182
|
+
resourceId: string
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
export type TypedStartWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
186
|
+
name: Name,
|
|
187
|
+
input: FlattenedWorkflowMap[Name]['input'],
|
|
188
|
+
options?: { startNode?: string }
|
|
189
|
+
) => Promise<{ runId: string }>
|
|
190
|
+
|
|
191
|
+
export type TypedRunWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
192
|
+
name: Name,
|
|
193
|
+
input: FlattenedWorkflowMap[Name]['input']
|
|
194
|
+
) => Promise<FlattenedWorkflowMap[Name]['output']>
|
|
195
|
+
|
|
196
|
+
export type TypedWorkflowStatus = (
|
|
197
|
+
workflowName: string,
|
|
198
|
+
runId: string
|
|
199
|
+
) => Promise<{ id: string; status: 'running' | 'suspended' | 'completed' | 'failed' | 'cancelled'; output?: unknown; error?: { message?: string } }>
|
|
200
|
+
|
|
201
|
+
type TypedAgentRun = [keyof FlattenedAgentMap] extends [never]
|
|
202
|
+
? (name: string, input: AIAgentInput) => Promise<any>
|
|
203
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
204
|
+
name: Name,
|
|
205
|
+
input: AIAgentInput
|
|
206
|
+
) => Promise<{ runId: string; result: FlattenedAgentMap[Name]['output']; usage: { inputTokens: number; outputTokens: number } }>
|
|
207
|
+
|
|
208
|
+
type TypedAgentStream = [keyof FlattenedAgentMap] extends [never]
|
|
209
|
+
? (name: string, input: AIAgentInput, options?: { requiresToolApproval?: 'all' | 'explicit' | false }) => Promise<void>
|
|
210
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
211
|
+
name: Name,
|
|
212
|
+
input: AIAgentInput,
|
|
213
|
+
options?: { requiresToolApproval?: 'all' | 'explicit' | false }
|
|
214
|
+
) => Promise<void>
|
|
215
|
+
|
|
216
|
+
export type TypedPikkuRPC = PikkuRPC<RPCInvoke, RPCRemote, TypedStartWorkflow, TypedAgentRun, TypedAgentStream>
|
|
217
|
+
|
|
@@ -0,0 +1,234 @@
|
|
|
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 CredentialSchema_nextcloud = {
|
|
13
|
+
/** Nextcloud API key */
|
|
14
|
+
apiKey: string;
|
|
15
|
+
}
|
|
16
|
+
export type FileCopyInput = {
|
|
17
|
+
path?: string | undefined;
|
|
18
|
+
toPath?: string | undefined;
|
|
19
|
+
}
|
|
20
|
+
export type FileCopyOutput = {
|
|
21
|
+
[key: string]: unknown;
|
|
22
|
+
}
|
|
23
|
+
export type FileDeleteInput = {
|
|
24
|
+
path?: string | undefined;
|
|
25
|
+
}
|
|
26
|
+
export type FileDeleteOutput = {
|
|
27
|
+
[key: string]: unknown;
|
|
28
|
+
}
|
|
29
|
+
export type FileDownloadInput = {
|
|
30
|
+
path?: string | undefined;
|
|
31
|
+
binaryPropertyName?: string | undefined;
|
|
32
|
+
}
|
|
33
|
+
export type FileDownloadOutput = {
|
|
34
|
+
[key: string]: unknown;
|
|
35
|
+
}
|
|
36
|
+
export type FileMoveInput = {
|
|
37
|
+
path?: string | undefined;
|
|
38
|
+
toPath?: string | undefined;
|
|
39
|
+
}
|
|
40
|
+
export type FileMoveOutput = {
|
|
41
|
+
[key: string]: unknown;
|
|
42
|
+
}
|
|
43
|
+
export type FileShareInput = {
|
|
44
|
+
path?: string | undefined;
|
|
45
|
+
shareType?: number | undefined;
|
|
46
|
+
shareWith?: string | undefined;
|
|
47
|
+
}
|
|
48
|
+
export type FileShareOutput = {
|
|
49
|
+
[key: string]: unknown;
|
|
50
|
+
}
|
|
51
|
+
export type FileUploadInput = {
|
|
52
|
+
path?: string | undefined;
|
|
53
|
+
fileContent?: string | undefined;
|
|
54
|
+
}
|
|
55
|
+
export type FileUploadOutput = {
|
|
56
|
+
[key: string]: unknown;
|
|
57
|
+
}
|
|
58
|
+
export type FolderCopyInput = {
|
|
59
|
+
path?: string | undefined;
|
|
60
|
+
toPath?: string | undefined;
|
|
61
|
+
}
|
|
62
|
+
export type FolderCopyOutput = {
|
|
63
|
+
[key: string]: unknown;
|
|
64
|
+
}
|
|
65
|
+
export type FolderCreateInput = {
|
|
66
|
+
path?: string | undefined;
|
|
67
|
+
}
|
|
68
|
+
export type FolderCreateOutput = {
|
|
69
|
+
[key: string]: unknown;
|
|
70
|
+
}
|
|
71
|
+
export type FolderDeleteInput = {
|
|
72
|
+
path?: string | undefined;
|
|
73
|
+
}
|
|
74
|
+
export type FolderDeleteOutput = {
|
|
75
|
+
[key: string]: unknown;
|
|
76
|
+
}
|
|
77
|
+
export type FolderListInput = {
|
|
78
|
+
path?: string | undefined;
|
|
79
|
+
}
|
|
80
|
+
export type FolderListOutput = {
|
|
81
|
+
[key: string]: unknown;
|
|
82
|
+
}
|
|
83
|
+
export type FolderMoveInput = {
|
|
84
|
+
path?: string | undefined;
|
|
85
|
+
toPath?: string | undefined;
|
|
86
|
+
}
|
|
87
|
+
export type FolderMoveOutput = {
|
|
88
|
+
[key: string]: unknown;
|
|
89
|
+
}
|
|
90
|
+
export type FolderShareInput = {
|
|
91
|
+
path?: string | undefined;
|
|
92
|
+
shareType?: number | undefined;
|
|
93
|
+
shareWith?: string | undefined;
|
|
94
|
+
}
|
|
95
|
+
export type FolderShareOutput = {
|
|
96
|
+
[key: string]: unknown;
|
|
97
|
+
}
|
|
98
|
+
export type UserCreateInput = {
|
|
99
|
+
userid?: string | undefined;
|
|
100
|
+
email?: string | undefined;
|
|
101
|
+
displayName?: string | undefined;
|
|
102
|
+
}
|
|
103
|
+
export type UserCreateOutput = {
|
|
104
|
+
[key: string]: unknown;
|
|
105
|
+
}
|
|
106
|
+
export type UserDeleteInput = {
|
|
107
|
+
userid: string;
|
|
108
|
+
}
|
|
109
|
+
export type UserDeleteOutput = {
|
|
110
|
+
[key: string]: unknown;
|
|
111
|
+
}
|
|
112
|
+
export type UserGetAllInput = {
|
|
113
|
+
search?: string | undefined;
|
|
114
|
+
limit?: number | undefined;
|
|
115
|
+
offset?: number | undefined;
|
|
116
|
+
}
|
|
117
|
+
export type UserGetAllOutput = {
|
|
118
|
+
[key: string]: unknown;
|
|
119
|
+
}
|
|
120
|
+
export type UserGetInput = {
|
|
121
|
+
userid: string;
|
|
122
|
+
}
|
|
123
|
+
export type UserGetOutput = {
|
|
124
|
+
[key: string]: unknown;
|
|
125
|
+
}
|
|
126
|
+
export type UserUpdateInput = {
|
|
127
|
+
userid: string;
|
|
128
|
+
key?: string | undefined;
|
|
129
|
+
value?: string | undefined;
|
|
130
|
+
}
|
|
131
|
+
export type UserUpdateOutput = {
|
|
132
|
+
[key: string]: unknown;
|
|
133
|
+
}
|
|
134
|
+
export type VariableSchema_NEXTCLOUD_BASE_URL = "https://nextcloud.example.com"
|
|
135
|
+
|
|
136
|
+
interface RPCHandler<I, O> {
|
|
137
|
+
input: I;
|
|
138
|
+
output: O;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
export type RPCMap = {
|
|
142
|
+
readonly 'fileCopy': RPCHandler<FileCopyInput, FileCopyOutput>,
|
|
143
|
+
readonly 'fileDelete': RPCHandler<FileDeleteInput, FileDeleteOutput>,
|
|
144
|
+
readonly 'fileDownload': RPCHandler<FileDownloadInput, FileDownloadOutput>,
|
|
145
|
+
readonly 'fileMove': RPCHandler<FileMoveInput, FileMoveOutput>,
|
|
146
|
+
readonly 'fileShare': RPCHandler<FileShareInput, FileShareOutput>,
|
|
147
|
+
readonly 'fileUpload': RPCHandler<FileUploadInput, FileUploadOutput>,
|
|
148
|
+
readonly 'folderCopy': RPCHandler<FolderCopyInput, FolderCopyOutput>,
|
|
149
|
+
readonly 'folderCreate': RPCHandler<FolderCreateInput, FolderCreateOutput>,
|
|
150
|
+
readonly 'folderDelete': RPCHandler<FolderDeleteInput, FolderDeleteOutput>,
|
|
151
|
+
readonly 'folderList': RPCHandler<FolderListInput, FolderListOutput>,
|
|
152
|
+
readonly 'folderMove': RPCHandler<FolderMoveInput, FolderMoveOutput>,
|
|
153
|
+
readonly 'folderShare': RPCHandler<FolderShareInput, FolderShareOutput>,
|
|
154
|
+
readonly 'userGetAll': RPCHandler<UserGetAllInput, UserGetAllOutput>,
|
|
155
|
+
readonly 'userCreate': RPCHandler<UserCreateInput, UserCreateOutput>,
|
|
156
|
+
readonly 'userGet': RPCHandler<UserGetInput, UserGetOutput>,
|
|
157
|
+
readonly 'userUpdate': RPCHandler<UserUpdateInput, UserUpdateOutput>,
|
|
158
|
+
readonly 'userDelete': RPCHandler<UserDeleteInput, UserDeleteOutput>,
|
|
159
|
+
};
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
// No addon packages, use RPCMap directly
|
|
164
|
+
export type FlattenedRPCMap = RPCMap
|
|
165
|
+
|
|
166
|
+
type IsAny<T> = 0 extends (1 & T) ? true : false
|
|
167
|
+
type IsVoidishInput<T> = IsAny<T> extends true
|
|
168
|
+
? false
|
|
169
|
+
: [T] extends [void | null | undefined]
|
|
170
|
+
? true
|
|
171
|
+
: false
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
export type RPCInvoke = <Name extends keyof FlattenedRPCMap>(
|
|
175
|
+
...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
|
|
176
|
+
? [name: Name]
|
|
177
|
+
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
178
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
179
|
+
|
|
180
|
+
export type RPCRemote = <Name extends keyof FlattenedRPCMap>(
|
|
181
|
+
...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
|
|
182
|
+
? [name: Name]
|
|
183
|
+
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
184
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
185
|
+
|
|
186
|
+
import type { FlattenedWorkflowMap } from '../workflow/pikku-workflow-map.gen.d.js'
|
|
187
|
+
|
|
188
|
+
import type { AgentMap } from '../agent/pikku-agent-map.gen.d.js'
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
type FlattenedAgentMap = AgentMap
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
import type { PikkuRPC } from '@pikku/core/rpc'
|
|
195
|
+
|
|
196
|
+
interface AIAgentInput {
|
|
197
|
+
message: string
|
|
198
|
+
threadId: string
|
|
199
|
+
resourceId: string
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
export type TypedStartWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
203
|
+
name: Name,
|
|
204
|
+
input: FlattenedWorkflowMap[Name]['input'],
|
|
205
|
+
options?: { startNode?: string }
|
|
206
|
+
) => Promise<{ runId: string }>
|
|
207
|
+
|
|
208
|
+
export type TypedRunWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
209
|
+
name: Name,
|
|
210
|
+
input: FlattenedWorkflowMap[Name]['input']
|
|
211
|
+
) => Promise<FlattenedWorkflowMap[Name]['output']>
|
|
212
|
+
|
|
213
|
+
export type TypedWorkflowStatus = (
|
|
214
|
+
workflowName: string,
|
|
215
|
+
runId: string
|
|
216
|
+
) => Promise<{ id: string; status: 'running' | 'suspended' | 'completed' | 'failed' | 'cancelled'; output?: unknown; error?: { message?: string } }>
|
|
217
|
+
|
|
218
|
+
type TypedAgentRun = [keyof FlattenedAgentMap] extends [never]
|
|
219
|
+
? (name: string, input: AIAgentInput) => Promise<any>
|
|
220
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
221
|
+
name: Name,
|
|
222
|
+
input: AIAgentInput
|
|
223
|
+
) => Promise<{ runId: string; result: FlattenedAgentMap[Name]['output']; usage: { inputTokens: number; outputTokens: number } }>
|
|
224
|
+
|
|
225
|
+
type TypedAgentStream = [keyof FlattenedAgentMap] extends [never]
|
|
226
|
+
? (name: string, input: AIAgentInput, options?: { requiresToolApproval?: 'all' | 'explicit' | false }) => Promise<void>
|
|
227
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
228
|
+
name: Name,
|
|
229
|
+
input: AIAgentInput,
|
|
230
|
+
options?: { requiresToolApproval?: 'all' | 'explicit' | false }
|
|
231
|
+
) => Promise<void>
|
|
232
|
+
|
|
233
|
+
export type TypedPikkuRPC = PikkuRPC<RPCInvoke, RPCRemote, TypedStartWorkflow, TypedAgentRun, TypedAgentStream>
|
|
234
|
+
|
|
@@ -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-nextcloud', '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,wBAAwB,EAAE,KAAK,EAAE,MAAM,EAAE,QAAkC,CAAC,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"fileCopy": "fileCopy",
|
|
3
|
+
"fileDelete": "fileDelete",
|
|
4
|
+
"fileDownload": "fileDownload",
|
|
5
|
+
"fileMove": "fileMove",
|
|
6
|
+
"fileShare": "fileShare",
|
|
7
|
+
"fileUpload": "fileUpload",
|
|
8
|
+
"folderCopy": "folderCopy",
|
|
9
|
+
"folderCreate": "folderCreate",
|
|
10
|
+
"folderDelete": "folderDelete",
|
|
11
|
+
"folderList": "folderList",
|
|
12
|
+
"folderMove": "folderMove",
|
|
13
|
+
"folderShare": "folderShare",
|
|
14
|
+
"userGetAll": "userGetAll",
|
|
15
|
+
"userCreate": "userCreate",
|
|
16
|
+
"userGet": "userGet",
|
|
17
|
+
"userUpdate": "userUpdate",
|
|
18
|
+
"userDelete": "userDelete"
|
|
19
|
+
}
|
|
@@ -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-nextcloud', 'rpc', 'meta', metaData as Record<string, string>)
|