@pikku/addon-microsoft-one-drive 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 +11 -0
- package/dist/.pikku/addon/pikku-package.gen.js.map +1 -0
- package/dist/.pikku/addon/pikku-package.gen.ts +13 -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-addon-meta.gen.json +14 -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 +20 -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 +466 -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 +306 -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 +38 -0
- package/dist/.pikku/function/pikku-functions.gen.js.map +1 -0
- package/dist/.pikku/function/pikku-functions.gen.ts +38 -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 +36 -0
- package/dist/.pikku/pikku-services.gen.d.ts.map +1 -0
- package/dist/.pikku/pikku-services.gen.js +32 -0
- package/dist/.pikku/pikku-services.gen.js.map +1 -0
- package/dist/.pikku/pikku-services.gen.ts +45 -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 +223 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +239 -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 +18 -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 +75 -0
- package/dist/.pikku/schemas/register.gen.js.map +1 -0
- package/dist/.pikku/schemas/register.gen.ts +143 -0
- package/dist/.pikku/schemas/schemas/CredentialSchema_microsoftOneDrive.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/FileGetInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FileGetOutput.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/FileRenameInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FileRenameOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FileSearchInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FileSearchOutput.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/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/FolderGetChildrenInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FolderGetChildrenOutput.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/FolderRenameInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FolderRenameOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FolderSearchInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FolderSearchOutput.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/SecretSchema_microsoftOneDriveOAuthApp.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/VariableSchema_MICROSOFT_ONE_DRIVE_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 +10 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +15 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts.map +1 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.js +13 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.js.map +1 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.ts +23 -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 +41 -0
- package/dist/src/functions/fileCopy.function.d.ts.map +1 -0
- package/dist/src/functions/fileCopy.function.js +22 -0
- package/dist/src/functions/fileCopy.function.js.map +1 -0
- package/dist/src/functions/fileDelete.function.d.ts +21 -0
- package/dist/src/functions/fileDelete.function.d.ts.map +1 -0
- package/dist/src/functions/fileDelete.function.js +17 -0
- package/dist/src/functions/fileDelete.function.js.map +1 -0
- package/dist/src/functions/fileDownload.function.d.ts +13 -0
- package/dist/src/functions/fileDownload.function.d.ts.map +1 -0
- package/dist/src/functions/fileDownload.function.js +15 -0
- package/dist/src/functions/fileDownload.function.js.map +1 -0
- package/dist/src/functions/fileGet.function.d.ts +13 -0
- package/dist/src/functions/fileGet.function.d.ts.map +1 -0
- package/dist/src/functions/fileGet.function.js +15 -0
- package/dist/src/functions/fileGet.function.js.map +1 -0
- package/dist/src/functions/fileMove.function.d.ts +33 -0
- package/dist/src/functions/fileMove.function.d.ts.map +1 -0
- package/dist/src/functions/fileMove.function.js +20 -0
- package/dist/src/functions/fileMove.function.js.map +1 -0
- package/dist/src/functions/fileRename.function.d.ts +17 -0
- package/dist/src/functions/fileRename.function.d.ts.map +1 -0
- package/dist/src/functions/fileRename.function.js +16 -0
- package/dist/src/functions/fileRename.function.js.map +1 -0
- package/dist/src/functions/fileSearch.function.d.ts +13 -0
- package/dist/src/functions/fileSearch.function.d.ts.map +1 -0
- package/dist/src/functions/fileSearch.function.js +15 -0
- package/dist/src/functions/fileSearch.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 +21 -0
- package/dist/src/functions/fileUpload.function.d.ts.map +1 -0
- package/dist/src/functions/fileUpload.function.js +17 -0
- package/dist/src/functions/fileUpload.function.js.map +1 -0
- package/dist/src/functions/folderCreate.function.d.ts +17 -0
- package/dist/src/functions/folderCreate.function.d.ts.map +1 -0
- package/dist/src/functions/folderCreate.function.js +16 -0
- package/dist/src/functions/folderCreate.function.js.map +1 -0
- package/dist/src/functions/folderDelete.function.d.ts +21 -0
- package/dist/src/functions/folderDelete.function.d.ts.map +1 -0
- package/dist/src/functions/folderDelete.function.js +17 -0
- package/dist/src/functions/folderDelete.function.js.map +1 -0
- package/dist/src/functions/folderGetChildren.function.d.ts +13 -0
- package/dist/src/functions/folderGetChildren.function.d.ts.map +1 -0
- package/dist/src/functions/folderGetChildren.function.js +15 -0
- package/dist/src/functions/folderGetChildren.function.js.map +1 -0
- package/dist/src/functions/folderMove.function.d.ts +33 -0
- package/dist/src/functions/folderMove.function.d.ts.map +1 -0
- package/dist/src/functions/folderMove.function.js +20 -0
- package/dist/src/functions/folderMove.function.js.map +1 -0
- package/dist/src/functions/folderRename.function.d.ts +17 -0
- package/dist/src/functions/folderRename.function.d.ts.map +1 -0
- package/dist/src/functions/folderRename.function.js +16 -0
- package/dist/src/functions/folderRename.function.js.map +1 -0
- package/dist/src/functions/folderSearch.function.d.ts +13 -0
- package/dist/src/functions/folderSearch.function.d.ts.map +1 -0
- package/dist/src/functions/folderSearch.function.js +15 -0
- package/dist/src/functions/folderSearch.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/index.d.ts +17 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +17 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/microsoft-one-drive-api.service.d.ts +15 -0
- package/dist/src/microsoft-one-drive-api.service.d.ts.map +1 -0
- package/dist/src/microsoft-one-drive-api.service.js +193 -0
- package/dist/src/microsoft-one-drive-api.service.js.map +1 -0
- package/dist/src/microsoft-one-drive.credential.d.ts +10 -0
- package/dist/src/microsoft-one-drive.credential.d.ts.map +1 -0
- package/dist/src/microsoft-one-drive.credential.js +33 -0
- package/dist/src/microsoft-one-drive.credential.js.map +1 -0
- package/dist/src/microsoft-one-drive.types.d.ts +7 -0
- package/dist/src/microsoft-one-drive.types.d.ts.map +1 -0
- package/dist/src/microsoft-one-drive.types.js +8 -0
- package/dist/src/microsoft-one-drive.types.js.map +1 -0
- package/dist/src/microsoft-one-drive.variable.d.ts +5 -0
- package/dist/src/microsoft-one-drive.variable.d.ts.map +1 -0
- package/dist/src/microsoft-one-drive.variable.js +11 -0
- package/dist/src/microsoft-one-drive.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 +7 -0
- package/dist/src/services.js.map +1 -0
- package/package.json +39 -0
|
@@ -0,0 +1,306 @@
|
|
|
1
|
+
{
|
|
2
|
+
"fileCopy": {
|
|
3
|
+
"pikkuFuncId": "fileCopy",
|
|
4
|
+
"functionType": "user",
|
|
5
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
6
|
+
"sessionless": true,
|
|
7
|
+
"name": "fileCopy",
|
|
8
|
+
"inputSchemaName": "FileCopyInput",
|
|
9
|
+
"outputSchemaName": "FileCopyOutput",
|
|
10
|
+
"inputs": [
|
|
11
|
+
"FileCopyInput"
|
|
12
|
+
],
|
|
13
|
+
"outputs": [
|
|
14
|
+
"FileCopyOutput"
|
|
15
|
+
],
|
|
16
|
+
"implementationHash": "0a2b9dec271c640b",
|
|
17
|
+
"contractHash": "0e5a095aab5a9eb4",
|
|
18
|
+
"inputHash": "e526100c",
|
|
19
|
+
"outputHash": "46f657cb"
|
|
20
|
+
},
|
|
21
|
+
"fileGet": {
|
|
22
|
+
"pikkuFuncId": "fileGet",
|
|
23
|
+
"functionType": "user",
|
|
24
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
25
|
+
"sessionless": true,
|
|
26
|
+
"name": "fileGet",
|
|
27
|
+
"inputSchemaName": "FileGetInput",
|
|
28
|
+
"outputSchemaName": "FileGetOutput",
|
|
29
|
+
"inputs": [
|
|
30
|
+
"FileGetInput"
|
|
31
|
+
],
|
|
32
|
+
"outputs": [
|
|
33
|
+
"FileGetOutput"
|
|
34
|
+
],
|
|
35
|
+
"implementationHash": "bfec4b40b6a7b56f",
|
|
36
|
+
"contractHash": "ba89e563035c6d5b",
|
|
37
|
+
"inputHash": "b9a661fc",
|
|
38
|
+
"outputHash": "1b607422"
|
|
39
|
+
},
|
|
40
|
+
"fileRename": {
|
|
41
|
+
"pikkuFuncId": "fileRename",
|
|
42
|
+
"functionType": "user",
|
|
43
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
44
|
+
"sessionless": true,
|
|
45
|
+
"name": "fileRename",
|
|
46
|
+
"inputSchemaName": "FileRenameInput",
|
|
47
|
+
"outputSchemaName": "FileRenameOutput",
|
|
48
|
+
"inputs": [
|
|
49
|
+
"FileRenameInput"
|
|
50
|
+
],
|
|
51
|
+
"outputs": [
|
|
52
|
+
"FileRenameOutput"
|
|
53
|
+
],
|
|
54
|
+
"implementationHash": "4b76ec365c09a975",
|
|
55
|
+
"contractHash": "64141f5385a845c9",
|
|
56
|
+
"inputHash": "4e608b50",
|
|
57
|
+
"outputHash": "eacb9efe"
|
|
58
|
+
},
|
|
59
|
+
"fileDelete": {
|
|
60
|
+
"pikkuFuncId": "fileDelete",
|
|
61
|
+
"functionType": "user",
|
|
62
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
63
|
+
"sessionless": true,
|
|
64
|
+
"name": "fileDelete",
|
|
65
|
+
"inputSchemaName": "FileDeleteInput",
|
|
66
|
+
"outputSchemaName": "FileDeleteOutput",
|
|
67
|
+
"inputs": [
|
|
68
|
+
"FileDeleteInput"
|
|
69
|
+
],
|
|
70
|
+
"outputs": [
|
|
71
|
+
"FileDeleteOutput"
|
|
72
|
+
],
|
|
73
|
+
"implementationHash": "bf8ec80b8d0d9e1b",
|
|
74
|
+
"contractHash": "ad45a7919c5db2ca",
|
|
75
|
+
"inputHash": "06081078",
|
|
76
|
+
"outputHash": "6a7b0fc5"
|
|
77
|
+
},
|
|
78
|
+
"fileMove": {
|
|
79
|
+
"pikkuFuncId": "fileMove",
|
|
80
|
+
"functionType": "user",
|
|
81
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
82
|
+
"sessionless": true,
|
|
83
|
+
"name": "fileMove",
|
|
84
|
+
"inputSchemaName": "FileMoveInput",
|
|
85
|
+
"outputSchemaName": "FileMoveOutput",
|
|
86
|
+
"inputs": [
|
|
87
|
+
"FileMoveInput"
|
|
88
|
+
],
|
|
89
|
+
"outputs": [
|
|
90
|
+
"FileMoveOutput"
|
|
91
|
+
],
|
|
92
|
+
"implementationHash": "aee6c7573dc55b8f",
|
|
93
|
+
"contractHash": "4d6c9d2bc0a13e2d",
|
|
94
|
+
"inputHash": "612d1ef7",
|
|
95
|
+
"outputHash": "f7b71720"
|
|
96
|
+
},
|
|
97
|
+
"fileDownload": {
|
|
98
|
+
"pikkuFuncId": "fileDownload",
|
|
99
|
+
"functionType": "user",
|
|
100
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
101
|
+
"sessionless": true,
|
|
102
|
+
"name": "fileDownload",
|
|
103
|
+
"inputSchemaName": "FileDownloadInput",
|
|
104
|
+
"outputSchemaName": "FileDownloadOutput",
|
|
105
|
+
"inputs": [
|
|
106
|
+
"FileDownloadInput"
|
|
107
|
+
],
|
|
108
|
+
"outputs": [
|
|
109
|
+
"FileDownloadOutput"
|
|
110
|
+
],
|
|
111
|
+
"implementationHash": "ca98af8ac3c0eb1d",
|
|
112
|
+
"contractHash": "74ac4dff0cd67830",
|
|
113
|
+
"inputHash": "95b64e15",
|
|
114
|
+
"outputHash": "ccde4bdc"
|
|
115
|
+
},
|
|
116
|
+
"fileShare": {
|
|
117
|
+
"pikkuFuncId": "fileShare",
|
|
118
|
+
"functionType": "user",
|
|
119
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
120
|
+
"sessionless": true,
|
|
121
|
+
"name": "fileShare",
|
|
122
|
+
"inputSchemaName": "FileShareInput",
|
|
123
|
+
"outputSchemaName": "FileShareOutput",
|
|
124
|
+
"inputs": [
|
|
125
|
+
"FileShareInput"
|
|
126
|
+
],
|
|
127
|
+
"outputs": [
|
|
128
|
+
"FileShareOutput"
|
|
129
|
+
],
|
|
130
|
+
"implementationHash": "b8d819657b94c6f9",
|
|
131
|
+
"contractHash": "0acb979b7427f047",
|
|
132
|
+
"inputHash": "33e7ad4e",
|
|
133
|
+
"outputHash": "5325c5d5"
|
|
134
|
+
},
|
|
135
|
+
"fileUpload": {
|
|
136
|
+
"pikkuFuncId": "fileUpload",
|
|
137
|
+
"functionType": "user",
|
|
138
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
139
|
+
"sessionless": true,
|
|
140
|
+
"name": "fileUpload",
|
|
141
|
+
"inputSchemaName": "FileUploadInput",
|
|
142
|
+
"outputSchemaName": "FileUploadOutput",
|
|
143
|
+
"inputs": [
|
|
144
|
+
"FileUploadInput"
|
|
145
|
+
],
|
|
146
|
+
"outputs": [
|
|
147
|
+
"FileUploadOutput"
|
|
148
|
+
],
|
|
149
|
+
"implementationHash": "0b40ecbe124b865c",
|
|
150
|
+
"contractHash": "5e3ac905a9cea240",
|
|
151
|
+
"inputHash": "4c4365a8",
|
|
152
|
+
"outputHash": "04d6e56e"
|
|
153
|
+
},
|
|
154
|
+
"fileSearch": {
|
|
155
|
+
"pikkuFuncId": "fileSearch",
|
|
156
|
+
"functionType": "user",
|
|
157
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
158
|
+
"sessionless": true,
|
|
159
|
+
"name": "fileSearch",
|
|
160
|
+
"inputSchemaName": "FileSearchInput",
|
|
161
|
+
"outputSchemaName": "FileSearchOutput",
|
|
162
|
+
"inputs": [
|
|
163
|
+
"FileSearchInput"
|
|
164
|
+
],
|
|
165
|
+
"outputs": [
|
|
166
|
+
"FileSearchOutput"
|
|
167
|
+
],
|
|
168
|
+
"implementationHash": "ce82bf2f21d0cae0",
|
|
169
|
+
"contractHash": "ab5c5cf1aca73805",
|
|
170
|
+
"inputHash": "c799cbd3",
|
|
171
|
+
"outputHash": "0d8ec7f2"
|
|
172
|
+
},
|
|
173
|
+
"folderCreate": {
|
|
174
|
+
"pikkuFuncId": "folderCreate",
|
|
175
|
+
"functionType": "user",
|
|
176
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
177
|
+
"sessionless": true,
|
|
178
|
+
"name": "folderCreate",
|
|
179
|
+
"inputSchemaName": "FolderCreateInput",
|
|
180
|
+
"outputSchemaName": "FolderCreateOutput",
|
|
181
|
+
"inputs": [
|
|
182
|
+
"FolderCreateInput"
|
|
183
|
+
],
|
|
184
|
+
"outputs": [
|
|
185
|
+
"FolderCreateOutput"
|
|
186
|
+
],
|
|
187
|
+
"implementationHash": "ae369738c2954d78",
|
|
188
|
+
"contractHash": "9e98ba36dfba688e",
|
|
189
|
+
"inputHash": "7babc52b",
|
|
190
|
+
"outputHash": "0615ed88"
|
|
191
|
+
},
|
|
192
|
+
"folderRename": {
|
|
193
|
+
"pikkuFuncId": "folderRename",
|
|
194
|
+
"functionType": "user",
|
|
195
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
196
|
+
"sessionless": true,
|
|
197
|
+
"name": "folderRename",
|
|
198
|
+
"inputSchemaName": "FolderRenameInput",
|
|
199
|
+
"outputSchemaName": "FolderRenameOutput",
|
|
200
|
+
"inputs": [
|
|
201
|
+
"FolderRenameInput"
|
|
202
|
+
],
|
|
203
|
+
"outputs": [
|
|
204
|
+
"FolderRenameOutput"
|
|
205
|
+
],
|
|
206
|
+
"implementationHash": "26531189a3f0000a",
|
|
207
|
+
"contractHash": "5629a83318f86f5f",
|
|
208
|
+
"inputHash": "331621f4",
|
|
209
|
+
"outputHash": "e5a8988d"
|
|
210
|
+
},
|
|
211
|
+
"folderDelete": {
|
|
212
|
+
"pikkuFuncId": "folderDelete",
|
|
213
|
+
"functionType": "user",
|
|
214
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
215
|
+
"sessionless": true,
|
|
216
|
+
"name": "folderDelete",
|
|
217
|
+
"inputSchemaName": "FolderDeleteInput",
|
|
218
|
+
"outputSchemaName": "FolderDeleteOutput",
|
|
219
|
+
"inputs": [
|
|
220
|
+
"FolderDeleteInput"
|
|
221
|
+
],
|
|
222
|
+
"outputs": [
|
|
223
|
+
"FolderDeleteOutput"
|
|
224
|
+
],
|
|
225
|
+
"implementationHash": "131c9c6dee8918ed",
|
|
226
|
+
"contractHash": "d91a0f9ea8e1ea13",
|
|
227
|
+
"inputHash": "ed88464d",
|
|
228
|
+
"outputHash": "73617dab"
|
|
229
|
+
},
|
|
230
|
+
"folderMove": {
|
|
231
|
+
"pikkuFuncId": "folderMove",
|
|
232
|
+
"functionType": "user",
|
|
233
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
234
|
+
"sessionless": true,
|
|
235
|
+
"name": "folderMove",
|
|
236
|
+
"inputSchemaName": "FolderMoveInput",
|
|
237
|
+
"outputSchemaName": "FolderMoveOutput",
|
|
238
|
+
"inputs": [
|
|
239
|
+
"FolderMoveInput"
|
|
240
|
+
],
|
|
241
|
+
"outputs": [
|
|
242
|
+
"FolderMoveOutput"
|
|
243
|
+
],
|
|
244
|
+
"implementationHash": "a0226abea59c147c",
|
|
245
|
+
"contractHash": "cc88a3a58d06f901",
|
|
246
|
+
"inputHash": "2b0e8acd",
|
|
247
|
+
"outputHash": "4e640af7"
|
|
248
|
+
},
|
|
249
|
+
"folderGetChildren": {
|
|
250
|
+
"pikkuFuncId": "folderGetChildren",
|
|
251
|
+
"functionType": "user",
|
|
252
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
253
|
+
"sessionless": true,
|
|
254
|
+
"name": "folderGetChildren",
|
|
255
|
+
"inputSchemaName": "FolderGetChildrenInput",
|
|
256
|
+
"outputSchemaName": "FolderGetChildrenOutput",
|
|
257
|
+
"inputs": [
|
|
258
|
+
"FolderGetChildrenInput"
|
|
259
|
+
],
|
|
260
|
+
"outputs": [
|
|
261
|
+
"FolderGetChildrenOutput"
|
|
262
|
+
],
|
|
263
|
+
"implementationHash": "3015ae01334e9b23",
|
|
264
|
+
"contractHash": "14ad1f3b477f73e8",
|
|
265
|
+
"inputHash": "b2b651af",
|
|
266
|
+
"outputHash": "9c832cdc"
|
|
267
|
+
},
|
|
268
|
+
"folderShare": {
|
|
269
|
+
"pikkuFuncId": "folderShare",
|
|
270
|
+
"functionType": "user",
|
|
271
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
272
|
+
"sessionless": true,
|
|
273
|
+
"name": "folderShare",
|
|
274
|
+
"inputSchemaName": "FolderShareInput",
|
|
275
|
+
"outputSchemaName": "FolderShareOutput",
|
|
276
|
+
"inputs": [
|
|
277
|
+
"FolderShareInput"
|
|
278
|
+
],
|
|
279
|
+
"outputs": [
|
|
280
|
+
"FolderShareOutput"
|
|
281
|
+
],
|
|
282
|
+
"implementationHash": "7303afb1f0042d8a",
|
|
283
|
+
"contractHash": "8a7b71fec236ff65",
|
|
284
|
+
"inputHash": "319efbc5",
|
|
285
|
+
"outputHash": "874af150"
|
|
286
|
+
},
|
|
287
|
+
"folderSearch": {
|
|
288
|
+
"pikkuFuncId": "folderSearch",
|
|
289
|
+
"functionType": "user",
|
|
290
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
291
|
+
"sessionless": true,
|
|
292
|
+
"name": "folderSearch",
|
|
293
|
+
"inputSchemaName": "FolderSearchInput",
|
|
294
|
+
"outputSchemaName": "FolderSearchOutput",
|
|
295
|
+
"inputs": [
|
|
296
|
+
"FolderSearchInput"
|
|
297
|
+
],
|
|
298
|
+
"outputs": [
|
|
299
|
+
"FolderSearchOutput"
|
|
300
|
+
],
|
|
301
|
+
"implementationHash": "2362caf8891fcd53",
|
|
302
|
+
"contractHash": "7c39969d8472ebb7",
|
|
303
|
+
"inputHash": "e4c42c8c",
|
|
304
|
+
"outputHash": "12ca237f"
|
|
305
|
+
}
|
|
306
|
+
}
|
|
@@ -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 type { FunctionsMeta } from '@pikku/core'
|
|
6
|
+
import metaData from './pikku-functions-meta.gen.json' with { type: 'json' }
|
|
7
|
+
pikkuState('@pikku/addon-microsoft-one-drive', 'function', 'meta', metaData as FunctionsMeta)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-functions.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/function/pikku-functions.gen.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/* Import and register functions used by RPCs */
|
|
5
|
+
import { addFunction } from '@pikku/core/function';
|
|
6
|
+
import { fileCopy } from '../../src/functions/fileCopy.function.js';
|
|
7
|
+
import { fileDelete } from '../../src/functions/fileDelete.function.js';
|
|
8
|
+
import { fileDownload } from '../../src/functions/fileDownload.function.js';
|
|
9
|
+
import { fileGet } from '../../src/functions/fileGet.function.js';
|
|
10
|
+
import { fileMove } from '../../src/functions/fileMove.function.js';
|
|
11
|
+
import { fileRename } from '../../src/functions/fileRename.function.js';
|
|
12
|
+
import { fileSearch } from '../../src/functions/fileSearch.function.js';
|
|
13
|
+
import { fileShare } from '../../src/functions/fileShare.function.js';
|
|
14
|
+
import { fileUpload } from '../../src/functions/fileUpload.function.js';
|
|
15
|
+
import { folderCreate } from '../../src/functions/folderCreate.function.js';
|
|
16
|
+
import { folderDelete } from '../../src/functions/folderDelete.function.js';
|
|
17
|
+
import { folderGetChildren } from '../../src/functions/folderGetChildren.function.js';
|
|
18
|
+
import { folderMove } from '../../src/functions/folderMove.function.js';
|
|
19
|
+
import { folderRename } from '../../src/functions/folderRename.function.js';
|
|
20
|
+
import { folderSearch } from '../../src/functions/folderSearch.function.js';
|
|
21
|
+
import { folderShare } from '../../src/functions/folderShare.function.js';
|
|
22
|
+
addFunction('fileCopy', fileCopy, '@pikku/addon-microsoft-one-drive');
|
|
23
|
+
addFunction('fileDelete', fileDelete, '@pikku/addon-microsoft-one-drive');
|
|
24
|
+
addFunction('fileDownload', fileDownload, '@pikku/addon-microsoft-one-drive');
|
|
25
|
+
addFunction('fileGet', fileGet, '@pikku/addon-microsoft-one-drive');
|
|
26
|
+
addFunction('fileMove', fileMove, '@pikku/addon-microsoft-one-drive');
|
|
27
|
+
addFunction('fileRename', fileRename, '@pikku/addon-microsoft-one-drive');
|
|
28
|
+
addFunction('fileSearch', fileSearch, '@pikku/addon-microsoft-one-drive');
|
|
29
|
+
addFunction('fileShare', fileShare, '@pikku/addon-microsoft-one-drive');
|
|
30
|
+
addFunction('fileUpload', fileUpload, '@pikku/addon-microsoft-one-drive');
|
|
31
|
+
addFunction('folderCreate', folderCreate, '@pikku/addon-microsoft-one-drive');
|
|
32
|
+
addFunction('folderDelete', folderDelete, '@pikku/addon-microsoft-one-drive');
|
|
33
|
+
addFunction('folderGetChildren', folderGetChildren, '@pikku/addon-microsoft-one-drive');
|
|
34
|
+
addFunction('folderMove', folderMove, '@pikku/addon-microsoft-one-drive');
|
|
35
|
+
addFunction('folderRename', folderRename, '@pikku/addon-microsoft-one-drive');
|
|
36
|
+
addFunction('folderSearch', folderSearch, '@pikku/addon-microsoft-one-drive');
|
|
37
|
+
addFunction('folderShare', folderShare, '@pikku/addon-microsoft-one-drive');
|
|
38
|
+
//# sourceMappingURL=pikku-functions.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-functions.gen.js","sourceRoot":"","sources":["../../../.pikku/function/pikku-functions.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,gDAAgD;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,0CAA0C,CAAA;AACnE,OAAO,EAAE,UAAU,EAAE,MAAM,4CAA4C,CAAA;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,8CAA8C,CAAA;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,yCAAyC,CAAA;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,0CAA0C,CAAA;AACnE,OAAO,EAAE,UAAU,EAAE,MAAM,4CAA4C,CAAA;AACvE,OAAO,EAAE,UAAU,EAAE,MAAM,4CAA4C,CAAA;AACvE,OAAO,EAAE,SAAS,EAAE,MAAM,2CAA2C,CAAA;AACrE,OAAO,EAAE,UAAU,EAAE,MAAM,4CAA4C,CAAA;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,8CAA8C,CAAA;AAC3E,OAAO,EAAE,YAAY,EAAE,MAAM,8CAA8C,CAAA;AAC3E,OAAO,EAAE,iBAAiB,EAAE,MAAM,mDAAmD,CAAA;AACrF,OAAO,EAAE,UAAU,EAAE,MAAM,4CAA4C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
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/* Import and register functions used by RPCs */
|
|
5
|
+
import { addFunction } from '@pikku/core/function'
|
|
6
|
+
import { fileCopy } from '../../src/functions/fileCopy.function.js'
|
|
7
|
+
import { fileDelete } from '../../src/functions/fileDelete.function.js'
|
|
8
|
+
import { fileDownload } from '../../src/functions/fileDownload.function.js'
|
|
9
|
+
import { fileGet } from '../../src/functions/fileGet.function.js'
|
|
10
|
+
import { fileMove } from '../../src/functions/fileMove.function.js'
|
|
11
|
+
import { fileRename } from '../../src/functions/fileRename.function.js'
|
|
12
|
+
import { fileSearch } from '../../src/functions/fileSearch.function.js'
|
|
13
|
+
import { fileShare } from '../../src/functions/fileShare.function.js'
|
|
14
|
+
import { fileUpload } from '../../src/functions/fileUpload.function.js'
|
|
15
|
+
import { folderCreate } from '../../src/functions/folderCreate.function.js'
|
|
16
|
+
import { folderDelete } from '../../src/functions/folderDelete.function.js'
|
|
17
|
+
import { folderGetChildren } from '../../src/functions/folderGetChildren.function.js'
|
|
18
|
+
import { folderMove } from '../../src/functions/folderMove.function.js'
|
|
19
|
+
import { folderRename } from '../../src/functions/folderRename.function.js'
|
|
20
|
+
import { folderSearch } from '../../src/functions/folderSearch.function.js'
|
|
21
|
+
import { folderShare } from '../../src/functions/folderShare.function.js'
|
|
22
|
+
|
|
23
|
+
addFunction('fileCopy', fileCopy, '@pikku/addon-microsoft-one-drive')
|
|
24
|
+
addFunction('fileDelete', fileDelete, '@pikku/addon-microsoft-one-drive')
|
|
25
|
+
addFunction('fileDownload', fileDownload, '@pikku/addon-microsoft-one-drive')
|
|
26
|
+
addFunction('fileGet', fileGet, '@pikku/addon-microsoft-one-drive')
|
|
27
|
+
addFunction('fileMove', fileMove, '@pikku/addon-microsoft-one-drive')
|
|
28
|
+
addFunction('fileRename', fileRename, '@pikku/addon-microsoft-one-drive')
|
|
29
|
+
addFunction('fileSearch', fileSearch, '@pikku/addon-microsoft-one-drive')
|
|
30
|
+
addFunction('fileShare', fileShare, '@pikku/addon-microsoft-one-drive')
|
|
31
|
+
addFunction('fileUpload', fileUpload, '@pikku/addon-microsoft-one-drive')
|
|
32
|
+
addFunction('folderCreate', folderCreate, '@pikku/addon-microsoft-one-drive')
|
|
33
|
+
addFunction('folderDelete', folderDelete, '@pikku/addon-microsoft-one-drive')
|
|
34
|
+
addFunction('folderGetChildren', folderGetChildren, '@pikku/addon-microsoft-one-drive')
|
|
35
|
+
addFunction('folderMove', folderMove, '@pikku/addon-microsoft-one-drive')
|
|
36
|
+
addFunction('folderRename', folderRename, '@pikku/addon-microsoft-one-drive')
|
|
37
|
+
addFunction('folderSearch', folderSearch, '@pikku/addon-microsoft-one-drive')
|
|
38
|
+
addFunction('folderShare', folderShare, '@pikku/addon-microsoft-one-drive')
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* HTTP-specific type definitions for tree-shaking optimization
|
|
6
|
+
*/
|
|
7
|
+
import { AssertHTTPWiringParams } from '@pikku/core/http';
|
|
8
|
+
import type { PikkuFunction, PikkuFunctionSessionless, PikkuPermission, PikkuMiddleware, PikkuFunctionConfig } from '../function/pikku-function-types.gen.js';
|
|
9
|
+
import type { CoreHTTPFunctionWiring, HTTPMethod, HTTPRouteBaseConfig } from '@pikku/core/http';
|
|
10
|
+
/**
|
|
11
|
+
* Type definition for HTTP API wirings with type-safe path parameters.
|
|
12
|
+
* Supports both authenticated and unauthenticated functions.
|
|
13
|
+
*
|
|
14
|
+
* @template In - Input type for the HTTP wiring
|
|
15
|
+
* @template Out - Output type for the HTTP wiring
|
|
16
|
+
* @template Route - String literal type for the HTTP path (e.g., "/users/:id")
|
|
17
|
+
*/
|
|
18
|
+
type HTTPWiring<In, Out, Route extends string> = CoreHTTPFunctionWiring<In, Out, Route, PikkuFunction<In, Out, 'rpc' | 'session'>, PikkuFunctionSessionless<In, Out, 'rpc' | 'session'>, PikkuPermission<In>, PikkuMiddleware>;
|
|
19
|
+
/**
|
|
20
|
+
* Registers an HTTP wiring with the Pikku framework.
|
|
21
|
+
*
|
|
22
|
+
* @template In - Input type for the HTTP wiring
|
|
23
|
+
* @template Out - Output type for the HTTP wiring
|
|
24
|
+
* @template Route - String literal type for the HTTP path (e.g., "/users/:id")
|
|
25
|
+
* @param httpWiring - HTTP wiring definition with handler, method, and optional middleware
|
|
26
|
+
*/
|
|
27
|
+
export declare const wireHTTP: <In, Out, Route extends string>(httpWiring: HTTPWiring<In, Out, Route> & AssertHTTPWiringParams<In, Route>) => void;
|
|
28
|
+
/**
|
|
29
|
+
* Registers HTTP middleware either globally or for a specific route pattern.
|
|
30
|
+
*
|
|
31
|
+
* When a string route pattern is provided along with middleware, the middleware
|
|
32
|
+
* is applied only to that route. Otherwise, if an array is provided, it is treated
|
|
33
|
+
* as global middleware (applied to all routes).
|
|
34
|
+
*
|
|
35
|
+
* @param routeOrMiddleware - Either a global middleware array or a route pattern string
|
|
36
|
+
* @param middleware - The middleware array to apply when a route pattern is specified
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* ```typescript
|
|
40
|
+
* // Add global HTTP middleware
|
|
41
|
+
* addHTTPMiddleware([authMiddleware, loggingMiddleware])
|
|
42
|
+
*
|
|
43
|
+
* // Add route-specific middleware
|
|
44
|
+
* addHTTPMiddleware('/api/admin/*', [adminAuthMiddleware])
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
export declare const addHTTPMiddleware: (routeOrMiddleware: PikkuMiddleware[] | string, middleware?: PikkuMiddleware[]) => void;
|
|
48
|
+
/**
|
|
49
|
+
* Registers HTTP permissions either globally or for a specific route pattern.
|
|
50
|
+
*
|
|
51
|
+
* When a string route pattern is provided along with permissions, the permissions
|
|
52
|
+
* are applied only to that route. Permissions can be passed as an array or as a
|
|
53
|
+
* permission group object.
|
|
54
|
+
*
|
|
55
|
+
* @param pattern - Route pattern string (e.g., '*' for all routes, '/api/*' for specific routes)
|
|
56
|
+
* @param permissions - The permissions to apply for the specified route pattern
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* ```typescript
|
|
60
|
+
* // Add global HTTP permissions
|
|
61
|
+
* addHTTPPermission('*', { global: globalPermission })
|
|
62
|
+
*
|
|
63
|
+
* // Add route-specific permissions
|
|
64
|
+
* addHTTPPermission('/api/admin/*', { admin: adminPermission })
|
|
65
|
+
* ```
|
|
66
|
+
*/
|
|
67
|
+
export declare const addHTTPPermission: <In = unknown>(pattern: string, permissions: Record<string, PikkuPermission<In>> | PikkuPermission<In>[]) => void;
|
|
68
|
+
/**
|
|
69
|
+
* Route configuration for wireHTTPRoutes with proper typing
|
|
70
|
+
*/
|
|
71
|
+
type HTTPRouteConfig = HTTPRouteBaseConfig & {
|
|
72
|
+
method: HTTPMethod;
|
|
73
|
+
route: string;
|
|
74
|
+
func: PikkuFunctionConfig<any, any, any, any, any, any>;
|
|
75
|
+
auth?: boolean;
|
|
76
|
+
permissions?: Record<string, PikkuPermission | PikkuPermission[]>;
|
|
77
|
+
middleware?: PikkuMiddleware[];
|
|
78
|
+
sse?: boolean;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* Typed route map for wireHTTPRoutes
|
|
82
|
+
*/
|
|
83
|
+
type TypedHTTPRouteMap = {
|
|
84
|
+
[key: string]: HTTPRouteConfig | TypedHTTPRouteMap | TypedHTTPRouteContract;
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
* Typed route contract for defineHTTPRoutes
|
|
88
|
+
*/
|
|
89
|
+
type TypedHTTPRouteContract<T extends TypedHTTPRouteMap = TypedHTTPRouteMap> = TypedHTTPRoutesGroupConfig & {
|
|
90
|
+
routes: T;
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* Group config with typed middleware/permissions
|
|
94
|
+
*/
|
|
95
|
+
type TypedHTTPRoutesGroupConfig = {
|
|
96
|
+
basePath?: string;
|
|
97
|
+
tags?: string[];
|
|
98
|
+
auth?: boolean;
|
|
99
|
+
middleware?: PikkuMiddleware[];
|
|
100
|
+
permissions?: Record<string, PikkuPermission | PikkuPermission[]>;
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
* Full config for wireHTTPRoutes
|
|
104
|
+
*/
|
|
105
|
+
type TypedWireHTTPRoutesConfig = TypedHTTPRoutesGroupConfig & {
|
|
106
|
+
routes: TypedHTTPRouteMap | HTTPRouteConfig[];
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
* Type-safe helper for defining route contracts that can be composed.
|
|
110
|
+
*/
|
|
111
|
+
export declare function defineHTTPRoutes<T extends TypedHTTPRouteMap>(routes: T): TypedHTTPRouteContract<T>;
|
|
112
|
+
export declare function defineHTTPRoutes<T extends TypedHTTPRouteMap>(config: TypedHTTPRoutesGroupConfig & {
|
|
113
|
+
routes: T;
|
|
114
|
+
}): TypedHTTPRouteContract<T>;
|
|
115
|
+
/**
|
|
116
|
+
* Wires multiple HTTP routes from a nested map or array configuration.
|
|
117
|
+
*/
|
|
118
|
+
export declare const wireHTTPRoutes: (config: TypedWireHTTPRoutesConfig) => void;
|
|
119
|
+
export {};
|
|
120
|
+
//# sourceMappingURL=pikku-http-types.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-http-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/http/pikku-http-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,EAAE,sBAAsB,EAAoM,MAAM,kBAAkB,CAAA;AAC3P,OAAO,KAAK,EAAE,aAAa,EAAE,wBAAwB,EAAE,eAAe,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAA;AAC7J,OAAO,KAAK,EAAE,sBAAsB,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAA;AAE/F;;;;;;;GAOG;AACH,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optimization
|
|
6
|
+
*/
|
|
7
|
+
import { wireHTTP as wireHTTPCore, addHTTPMiddleware as addHTTPMiddlewareCore, addHTTPPermission as addHTTPPermissionCore, wireHTTPRoutes as wireHTTPRoutesCore, defineHTTPRoutes as defineHTTPRoutesCore } from '@pikku/core/http';
|
|
8
|
+
/**
|
|
9
|
+
* Registers an HTTP wiring with the Pikku framework.
|
|
10
|
+
*
|
|
11
|
+
* @template In - Input type for the HTTP wiring
|
|
12
|
+
* @template Out - Output type for the HTTP wiring
|
|
13
|
+
* @template Route - String literal type for the HTTP path (e.g., "/users/:id")
|
|
14
|
+
* @param httpWiring - HTTP wiring definition with handler, method, and optional middleware
|
|
15
|
+
*/
|
|
16
|
+
export const wireHTTP = (httpWiring) => {
|
|
17
|
+
wireHTTPCore(httpWiring);
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Registers HTTP middleware either globally or for a specific route pattern.
|
|
21
|
+
*
|
|
22
|
+
* When a string route pattern is provided along with middleware, the middleware
|
|
23
|
+
* is applied only to that route. Otherwise, if an array is provided, it is treated
|
|
24
|
+
* as global middleware (applied to all routes).
|
|
25
|
+
*
|
|
26
|
+
* @param routeOrMiddleware - Either a global middleware array or a route pattern string
|
|
27
|
+
* @param middleware - The middleware array to apply when a route pattern is specified
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* ```typescript
|
|
31
|
+
* // Add global HTTP middleware
|
|
32
|
+
* addHTTPMiddleware([authMiddleware, loggingMiddleware])
|
|
33
|
+
*
|
|
34
|
+
* // Add route-specific middleware
|
|
35
|
+
* addHTTPMiddleware('/api/admin/*', [adminAuthMiddleware])
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
export const addHTTPMiddleware = (routeOrMiddleware, middleware) => {
|
|
39
|
+
addHTTPMiddlewareCore(routeOrMiddleware, middleware);
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Registers HTTP permissions either globally or for a specific route pattern.
|
|
43
|
+
*
|
|
44
|
+
* When a string route pattern is provided along with permissions, the permissions
|
|
45
|
+
* are applied only to that route. Permissions can be passed as an array or as a
|
|
46
|
+
* permission group object.
|
|
47
|
+
*
|
|
48
|
+
* @param pattern - Route pattern string (e.g., '*' for all routes, '/api/*' for specific routes)
|
|
49
|
+
* @param permissions - The permissions to apply for the specified route pattern
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* ```typescript
|
|
53
|
+
* // Add global HTTP permissions
|
|
54
|
+
* addHTTPPermission('*', { global: globalPermission })
|
|
55
|
+
*
|
|
56
|
+
* // Add route-specific permissions
|
|
57
|
+
* addHTTPPermission('/api/admin/*', { admin: adminPermission })
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
export const addHTTPPermission = (pattern, permissions) => {
|
|
61
|
+
addHTTPPermissionCore(pattern, permissions);
|
|
62
|
+
};
|
|
63
|
+
export function defineHTTPRoutes(configOrRoutes) {
|
|
64
|
+
return defineHTTPRoutesCore(configOrRoutes);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Wires multiple HTTP routes from a nested map or array configuration.
|
|
68
|
+
*/
|
|
69
|
+
export const wireHTTPRoutes = (config) => {
|
|
70
|
+
wireHTTPRoutesCore(config);
|
|
71
|
+
};
|
|
72
|
+
//# sourceMappingURL=pikku-http-types.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-http-types.gen.js","sourceRoot":"","sources":["../../../.pikku/http/pikku-http-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,EAA0B,QAAQ,IAAI,YAAY,EAAE,iBAAiB,IAAI,qBAAqB,EAAE,iBAAiB,IAAI,qBAAqB,EAAE,cAAc,IAAI,kBAAkB,EAAE,gBAAgB,IAAI,oBAAoB,EAAE,MAAM,kBAAkB,CAAA;AAc3P;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,CACtB,UAA0E,EAC1E,EAAE;IACF,YAAY,CAAC,UAAiB,CAAC,CAAA;AACjC,CAAC,CAAA;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAC/B,iBAA6C,EAC7C,UAA8B,EAC9B,EAAE;IACF,qBAAqB,CAAC,iBAAwB,EAAE,UAAiB,CAAC,CAAA;AACpE,CAAC,CAAA;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAC/B,OAAe,EACf,WAAwE,EACxE,EAAE;IACF,qBAAqB,CAAC,OAAO,EAAE,WAAkB,CAAC,CAAA;AACpD,CAAC,CAAA;AAoDD,MAAM,UAAU,gBAAgB,CAA8B,cAAgE;IAC5H,OAAO,oBAAoB,CAAC,cAAqB,CAAyC,CAAA;AAC5F,CAAC;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,MAAiC,EAAQ,EAAE;IACxE,kBAAkB,CAAC,MAAa,CAAC,CAAA;AACnC,CAAC,CAAA"}
|