@pikku/addon-ftp 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.
Files changed (203) hide show
  1. package/README.md +12 -0
  2. package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +67 -0
  3. package/dist/.pikku/addon/pikku-addon-types.gen.d.ts.map +1 -0
  4. package/dist/.pikku/addon/pikku-addon-types.gen.js +78 -0
  5. package/dist/.pikku/addon/pikku-addon-types.gen.js.map +1 -0
  6. package/dist/.pikku/addon/pikku-addon-types.gen.ts +106 -0
  7. package/dist/.pikku/addon/pikku-package.gen.d.ts +2 -0
  8. package/dist/.pikku/addon/pikku-package.gen.d.ts.map +1 -0
  9. package/dist/.pikku/addon/pikku-package.gen.js +10 -0
  10. package/dist/.pikku/addon/pikku-package.gen.js.map +1 -0
  11. package/dist/.pikku/addon/pikku-package.gen.ts +11 -0
  12. package/dist/.pikku/agent/pikku-agent-map.gen.d.ts +4 -0
  13. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +47 -0
  14. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts.map +1 -0
  15. package/dist/.pikku/agent/pikku-agent-types.gen.js +18 -0
  16. package/dist/.pikku/agent/pikku-agent-types.gen.js.map +1 -0
  17. package/dist/.pikku/agent/pikku-agent-types.gen.ts +82 -0
  18. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +112 -0
  19. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts.map +1 -0
  20. package/dist/.pikku/channel/pikku-channel-types.gen.js +60 -0
  21. package/dist/.pikku/channel/pikku-channel-types.gen.js.map +1 -0
  22. package/dist/.pikku/channel/pikku-channel-types.gen.ts +177 -0
  23. package/dist/.pikku/console/pikku-node-types.gen.d.ts +7 -0
  24. package/dist/.pikku/console/pikku-node-types.gen.d.ts.map +1 -0
  25. package/dist/.pikku/console/pikku-node-types.gen.js +2 -0
  26. package/dist/.pikku/console/pikku-node-types.gen.js.map +1 -0
  27. package/dist/.pikku/console/pikku-node-types.gen.ts +8 -0
  28. package/dist/.pikku/credentials/pikku-credentials-meta.gen.json +10 -0
  29. package/dist/.pikku/credentials/pikku-credentials.gen.d.ts +15 -0
  30. package/dist/.pikku/credentials/pikku-credentials.gen.d.ts.map +1 -0
  31. package/dist/.pikku/credentials/pikku-credentials.gen.js +13 -0
  32. package/dist/.pikku/credentials/pikku-credentials.gen.js.map +1 -0
  33. package/dist/.pikku/credentials/pikku-credentials.gen.ts +23 -0
  34. package/dist/.pikku/function/pikku-function-types.gen.d.ts +490 -0
  35. package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +1 -0
  36. package/dist/.pikku/function/pikku-function-types.gen.js +334 -0
  37. package/dist/.pikku/function/pikku-function-types.gen.js.map +1 -0
  38. package/dist/.pikku/function/pikku-function-types.gen.ts +754 -0
  39. package/dist/.pikku/function/pikku-functions-meta-verbose.gen.json +147 -0
  40. package/dist/.pikku/function/pikku-functions-meta.gen.d.ts +2 -0
  41. package/dist/.pikku/function/pikku-functions-meta.gen.d.ts.map +1 -0
  42. package/dist/.pikku/function/pikku-functions-meta.gen.js +7 -0
  43. package/dist/.pikku/function/pikku-functions-meta.gen.js.map +1 -0
  44. package/dist/.pikku/function/pikku-functions-meta.gen.json +97 -0
  45. package/dist/.pikku/function/pikku-functions-meta.gen.ts +7 -0
  46. package/dist/.pikku/function/pikku-functions.gen.d.ts +2 -0
  47. package/dist/.pikku/function/pikku-functions.gen.d.ts.map +1 -0
  48. package/dist/.pikku/function/pikku-functions.gen.js +16 -0
  49. package/dist/.pikku/function/pikku-functions.gen.js.map +1 -0
  50. package/dist/.pikku/function/pikku-functions.gen.ts +16 -0
  51. package/dist/.pikku/http/pikku-http-types.gen.d.ts +120 -0
  52. package/dist/.pikku/http/pikku-http-types.gen.d.ts.map +1 -0
  53. package/dist/.pikku/http/pikku-http-types.gen.js +72 -0
  54. package/dist/.pikku/http/pikku-http-types.gen.js.map +1 -0
  55. package/dist/.pikku/http/pikku-http-types.gen.ts +147 -0
  56. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +131 -0
  57. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts.map +1 -0
  58. package/dist/.pikku/mcp/pikku-mcp-types.gen.js +38 -0
  59. package/dist/.pikku/mcp/pikku-mcp-types.gen.js.map +1 -0
  60. package/dist/.pikku/mcp/pikku-mcp-types.gen.ts +183 -0
  61. package/dist/.pikku/pikku-bootstrap.gen.d.ts +9 -0
  62. package/dist/.pikku/pikku-bootstrap.gen.d.ts.map +1 -0
  63. package/dist/.pikku/pikku-bootstrap.gen.js +9 -0
  64. package/dist/.pikku/pikku-bootstrap.gen.js.map +1 -0
  65. package/dist/.pikku/pikku-bootstrap.gen.ts +8 -0
  66. package/dist/.pikku/pikku-meta-service.gen.d.ts +8 -0
  67. package/dist/.pikku/pikku-meta-service.gen.d.ts.map +1 -0
  68. package/dist/.pikku/pikku-meta-service.gen.js +10 -0
  69. package/dist/.pikku/pikku-meta-service.gen.js.map +1 -0
  70. package/dist/.pikku/pikku-meta-service.gen.ts +10 -0
  71. package/dist/.pikku/pikku-services.gen.d.ts +35 -0
  72. package/dist/.pikku/pikku-services.gen.d.ts.map +1 -0
  73. package/dist/.pikku/pikku-services.gen.js +30 -0
  74. package/dist/.pikku/pikku-services.gen.js.map +1 -0
  75. package/dist/.pikku/pikku-services.gen.ts +42 -0
  76. package/dist/.pikku/pikku-types.gen.d.ts +12 -0
  77. package/dist/.pikku/pikku-types.gen.d.ts.map +1 -0
  78. package/dist/.pikku/pikku-types.gen.js +17 -0
  79. package/dist/.pikku/pikku-types.gen.js.map +1 -0
  80. package/dist/.pikku/pikku-types.gen.ts +21 -0
  81. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +24 -0
  82. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts.map +1 -0
  83. package/dist/.pikku/queue/pikku-queue-types.gen.js +17 -0
  84. package/dist/.pikku/queue/pikku-queue-types.gen.js.map +1 -0
  85. package/dist/.pikku/queue/pikku-queue-types.gen.ts +27 -0
  86. package/dist/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +154 -0
  87. package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +159 -0
  88. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts +2 -0
  89. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts.map +1 -0
  90. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +7 -0
  91. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js.map +1 -0
  92. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +7 -0
  93. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts +6 -0
  94. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +22 -0
  95. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts.map +1 -0
  96. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +17 -0
  97. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js.map +1 -0
  98. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.ts +25 -0
  99. package/dist/.pikku/schemas/register.gen.d.ts +2 -0
  100. package/dist/.pikku/schemas/register.gen.d.ts.map +1 -0
  101. package/dist/.pikku/schemas/register.gen.js +29 -0
  102. package/dist/.pikku/schemas/register.gen.js.map +1 -0
  103. package/dist/.pikku/schemas/register.gen.ts +51 -0
  104. package/dist/.pikku/schemas/schemas/CredentialSchema_ftp.schema.json +1 -0
  105. package/dist/.pikku/schemas/schemas/FileDeleteInput.schema.json +1 -0
  106. package/dist/.pikku/schemas/schemas/FileDeleteOutput.schema.json +1 -0
  107. package/dist/.pikku/schemas/schemas/FileDownloadInput.schema.json +1 -0
  108. package/dist/.pikku/schemas/schemas/FileDownloadOutput.schema.json +1 -0
  109. package/dist/.pikku/schemas/schemas/FileListInput.schema.json +1 -0
  110. package/dist/.pikku/schemas/schemas/FileListOutput.schema.json +1 -0
  111. package/dist/.pikku/schemas/schemas/FileRenameInput.schema.json +1 -0
  112. package/dist/.pikku/schemas/schemas/FileRenameOutput.schema.json +1 -0
  113. package/dist/.pikku/schemas/schemas/FileUploadInput.schema.json +1 -0
  114. package/dist/.pikku/schemas/schemas/FileUploadOutput.schema.json +1 -0
  115. package/dist/.pikku/schemas/schemas/VariableSchema_FTP_BASE_URL.schema.json +1 -0
  116. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +6 -0
  117. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts.map +1 -0
  118. package/dist/.pikku/secrets/pikku-secret-types.gen.js +5 -0
  119. package/dist/.pikku/secrets/pikku-secret-types.gen.js.map +1 -0
  120. package/dist/.pikku/secrets/pikku-secret-types.gen.ts +5 -0
  121. package/dist/.pikku/secrets/pikku-secrets-meta.gen.json +1 -0
  122. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +12 -0
  123. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts.map +1 -0
  124. package/dist/.pikku/secrets/pikku-secrets.gen.js +11 -0
  125. package/dist/.pikku/secrets/pikku-secrets.gen.js.map +1 -0
  126. package/dist/.pikku/secrets/pikku-secrets.gen.ts +21 -0
  127. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +114 -0
  128. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts.map +1 -0
  129. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +34 -0
  130. package/dist/.pikku/trigger/pikku-trigger-types.gen.js.map +1 -0
  131. package/dist/.pikku/trigger/pikku-trigger-types.gen.ts +160 -0
  132. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +6 -0
  133. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts.map +1 -0
  134. package/dist/.pikku/variables/pikku-variable-types.gen.js +5 -0
  135. package/dist/.pikku/variables/pikku-variable-types.gen.js.map +1 -0
  136. package/dist/.pikku/variables/pikku-variable-types.gen.ts +5 -0
  137. package/dist/.pikku/variables/pikku-variables-meta.gen.json +10 -0
  138. package/dist/.pikku/variables/pikku-variables.gen.d.ts +15 -0
  139. package/dist/.pikku/variables/pikku-variables.gen.d.ts.map +1 -0
  140. package/dist/.pikku/variables/pikku-variables.gen.js +13 -0
  141. package/dist/.pikku/variables/pikku-variables.gen.js.map +1 -0
  142. package/dist/.pikku/variables/pikku-variables.gen.ts +23 -0
  143. package/dist/.pikku/workflow/pikku-workflow-map.gen.d.ts +38 -0
  144. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +90 -0
  145. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +1 -0
  146. package/dist/.pikku/workflow/pikku-workflow-types.gen.js +18 -0
  147. package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +1 -0
  148. package/dist/.pikku/workflow/pikku-workflow-types.gen.ts +167 -0
  149. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.d.ts +2 -0
  150. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.d.ts.map +1 -0
  151. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +7 -0
  152. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js.map +1 -0
  153. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.ts +9 -0
  154. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +5 -0
  155. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts.map +1 -0
  156. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +5 -0
  157. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js.map +1 -0
  158. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.ts +3 -0
  159. package/dist/src/ftp-api.service.d.ts +10 -0
  160. package/dist/src/ftp-api.service.d.ts.map +1 -0
  161. package/dist/src/ftp-api.service.js +100 -0
  162. package/dist/src/ftp-api.service.js.map +1 -0
  163. package/dist/src/ftp.credential.d.ts +5 -0
  164. package/dist/src/ftp.credential.d.ts.map +1 -0
  165. package/dist/src/ftp.credential.js +13 -0
  166. package/dist/src/ftp.credential.js.map +1 -0
  167. package/dist/src/ftp.types.d.ts +7 -0
  168. package/dist/src/ftp.types.d.ts.map +1 -0
  169. package/dist/src/ftp.types.js +8 -0
  170. package/dist/src/ftp.types.js.map +1 -0
  171. package/dist/src/ftp.variable.d.ts +5 -0
  172. package/dist/src/ftp.variable.d.ts.map +1 -0
  173. package/dist/src/ftp.variable.js +11 -0
  174. package/dist/src/ftp.variable.js.map +1 -0
  175. package/dist/src/functions/fileDelete.function.d.ts +29 -0
  176. package/dist/src/functions/fileDelete.function.d.ts.map +1 -0
  177. package/dist/src/functions/fileDelete.function.js +19 -0
  178. package/dist/src/functions/fileDelete.function.js.map +1 -0
  179. package/dist/src/functions/fileDownload.function.d.ts +29 -0
  180. package/dist/src/functions/fileDownload.function.d.ts.map +1 -0
  181. package/dist/src/functions/fileDownload.function.js +19 -0
  182. package/dist/src/functions/fileDownload.function.js.map +1 -0
  183. package/dist/src/functions/fileList.function.d.ts +45 -0
  184. package/dist/src/functions/fileList.function.d.ts.map +1 -0
  185. package/dist/src/functions/fileList.function.js +23 -0
  186. package/dist/src/functions/fileList.function.js.map +1 -0
  187. package/dist/src/functions/fileRename.function.d.ts +29 -0
  188. package/dist/src/functions/fileRename.function.d.ts.map +1 -0
  189. package/dist/src/functions/fileRename.function.js +19 -0
  190. package/dist/src/functions/fileRename.function.js.map +1 -0
  191. package/dist/src/functions/fileUpload.function.d.ts +25 -0
  192. package/dist/src/functions/fileUpload.function.d.ts.map +1 -0
  193. package/dist/src/functions/fileUpload.function.js +18 -0
  194. package/dist/src/functions/fileUpload.function.js.map +1 -0
  195. package/dist/src/index.d.ts +6 -0
  196. package/dist/src/index.d.ts.map +1 -0
  197. package/dist/src/index.js +6 -0
  198. package/dist/src/index.js.map +1 -0
  199. package/dist/src/services.d.ts +2 -0
  200. package/dist/src/services.d.ts.map +1 -0
  201. package/dist/src/services.js +14 -0
  202. package/dist/src/services.js.map +1 -0
  203. package/package.json +39 -0
@@ -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,154 @@
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_ftp = {
13
+ /** FTP API key */
14
+ apiKey: string;
15
+ }
16
+ export type FileDeleteInput = {
17
+ /** Full path of the file or folder to delete */
18
+ path: string;
19
+ /** Whether the target is a folder */
20
+ folder?: boolean | undefined;
21
+ /** Whether to remove all contents of the target directory */
22
+ recursive?: boolean | undefined;
23
+ }
24
+ export type FileDeleteOutput = {
25
+ success?: boolean | undefined;
26
+ }
27
+ export type FileDownloadInput = {
28
+ /** Full path of the file to download */
29
+ path: string;
30
+ /** Output binary field name */
31
+ binaryPropertyName?: string | undefined;
32
+ }
33
+ export type FileDownloadOutput = {
34
+ path?: string | undefined;
35
+ fileName?: string | undefined;
36
+ }
37
+ export type FileListInput = {
38
+ /** Path of directory to list contents of */
39
+ path: string;
40
+ /** Whether to list directories recursively */
41
+ recursive?: boolean | undefined;
42
+ }
43
+ export type FileListOutput = {
44
+ items?: {
45
+ name?: string | undefined;
46
+ type?: string | undefined;
47
+ path?: string | undefined;
48
+ size?: number | undefined;
49
+ }[] | undefined;
50
+ }
51
+ export type FileRenameInput = {
52
+ /** Current full path */
53
+ oldPath: string;
54
+ /** Destination full path */
55
+ newPath: string;
56
+ /** Whether to create destination directories */
57
+ createDirectories?: boolean | undefined;
58
+ }
59
+ export type FileRenameOutput = {
60
+ success?: boolean | undefined;
61
+ }
62
+ export type FileUploadInput = {
63
+ /** Full path where the file will be uploaded */
64
+ path: string;
65
+ /** Text content of the file to upload */
66
+ fileContent?: string | undefined;
67
+ }
68
+ export type FileUploadOutput = {
69
+ success?: boolean | undefined;
70
+ }
71
+ export type VariableSchema_FTP_BASE_URL = "https://ftp.local"
72
+
73
+ interface RPCHandler<I, O> {
74
+ input: I;
75
+ output: O;
76
+ }
77
+
78
+ export type RPCMap = {
79
+ };
80
+
81
+
82
+
83
+ // No addon packages, use RPCMap directly
84
+ export type FlattenedRPCMap = RPCMap
85
+
86
+ type IsAny<T> = 0 extends (1 & T) ? true : false
87
+ type IsVoidishInput<T> = IsAny<T> extends true
88
+ ? false
89
+ : [T] extends [void | null | undefined]
90
+ ? true
91
+ : false
92
+
93
+
94
+ export type RPCInvoke = <Name extends keyof FlattenedRPCMap>(
95
+ ...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
96
+ ? [name: Name]
97
+ : [name: Name, data: FlattenedRPCMap[Name]['input']]
98
+ ) => Promise<FlattenedRPCMap[Name]['output']>
99
+
100
+ export type RPCRemote = <Name extends keyof FlattenedRPCMap>(
101
+ ...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
102
+ ? [name: Name]
103
+ : [name: Name, data: FlattenedRPCMap[Name]['input']]
104
+ ) => Promise<FlattenedRPCMap[Name]['output']>
105
+
106
+ import type { FlattenedWorkflowMap } from '../workflow/pikku-workflow-map.gen.d.js'
107
+
108
+ import type { AgentMap } from '../agent/pikku-agent-map.gen.d.js'
109
+
110
+
111
+ type FlattenedAgentMap = AgentMap
112
+
113
+
114
+ import type { PikkuRPC } from '@pikku/core/rpc'
115
+
116
+ interface AIAgentInput {
117
+ message: string
118
+ threadId: string
119
+ resourceId: string
120
+ }
121
+
122
+ export type TypedStartWorkflow = <Name extends keyof FlattenedWorkflowMap>(
123
+ name: Name,
124
+ input: FlattenedWorkflowMap[Name]['input'],
125
+ options?: { startNode?: string }
126
+ ) => Promise<{ runId: string }>
127
+
128
+ export type TypedRunWorkflow = <Name extends keyof FlattenedWorkflowMap>(
129
+ name: Name,
130
+ input: FlattenedWorkflowMap[Name]['input']
131
+ ) => Promise<FlattenedWorkflowMap[Name]['output']>
132
+
133
+ export type TypedWorkflowStatus = (
134
+ workflowName: string,
135
+ runId: string
136
+ ) => Promise<{ id: string; status: 'running' | 'suspended' | 'completed' | 'failed' | 'cancelled'; output?: unknown; error?: { message?: string } }>
137
+
138
+ type TypedAgentRun = [keyof FlattenedAgentMap] extends [never]
139
+ ? (name: string, input: AIAgentInput) => Promise<any>
140
+ : <Name extends keyof FlattenedAgentMap>(
141
+ name: Name,
142
+ input: AIAgentInput
143
+ ) => Promise<{ runId: string; result: FlattenedAgentMap[Name]['output']; usage: { inputTokens: number; outputTokens: number } }>
144
+
145
+ type TypedAgentStream = [keyof FlattenedAgentMap] extends [never]
146
+ ? (name: string, input: AIAgentInput, options?: { requiresToolApproval?: 'all' | 'explicit' | false }) => Promise<void>
147
+ : <Name extends keyof FlattenedAgentMap>(
148
+ name: Name,
149
+ input: AIAgentInput,
150
+ options?: { requiresToolApproval?: 'all' | 'explicit' | false }
151
+ ) => Promise<void>
152
+
153
+ export type TypedPikkuRPC = PikkuRPC<RPCInvoke, RPCRemote, TypedStartWorkflow, TypedAgentRun, TypedAgentStream>
154
+
@@ -0,0 +1,159 @@
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_ftp = {
13
+ /** FTP API key */
14
+ apiKey: string;
15
+ }
16
+ export type FileDeleteInput = {
17
+ /** Full path of the file or folder to delete */
18
+ path: string;
19
+ /** Whether the target is a folder */
20
+ folder?: boolean | undefined;
21
+ /** Whether to remove all contents of the target directory */
22
+ recursive?: boolean | undefined;
23
+ }
24
+ export type FileDeleteOutput = {
25
+ success?: boolean | undefined;
26
+ }
27
+ export type FileDownloadInput = {
28
+ /** Full path of the file to download */
29
+ path: string;
30
+ /** Output binary field name */
31
+ binaryPropertyName?: string | undefined;
32
+ }
33
+ export type FileDownloadOutput = {
34
+ path?: string | undefined;
35
+ fileName?: string | undefined;
36
+ }
37
+ export type FileListInput = {
38
+ /** Path of directory to list contents of */
39
+ path: string;
40
+ /** Whether to list directories recursively */
41
+ recursive?: boolean | undefined;
42
+ }
43
+ export type FileListOutput = {
44
+ items?: {
45
+ name?: string | undefined;
46
+ type?: string | undefined;
47
+ path?: string | undefined;
48
+ size?: number | undefined;
49
+ }[] | undefined;
50
+ }
51
+ export type FileRenameInput = {
52
+ /** Current full path */
53
+ oldPath: string;
54
+ /** Destination full path */
55
+ newPath: string;
56
+ /** Whether to create destination directories */
57
+ createDirectories?: boolean | undefined;
58
+ }
59
+ export type FileRenameOutput = {
60
+ success?: boolean | undefined;
61
+ }
62
+ export type FileUploadInput = {
63
+ /** Full path where the file will be uploaded */
64
+ path: string;
65
+ /** Text content of the file to upload */
66
+ fileContent?: string | undefined;
67
+ }
68
+ export type FileUploadOutput = {
69
+ success?: boolean | undefined;
70
+ }
71
+ export type VariableSchema_FTP_BASE_URL = "https://ftp.local"
72
+
73
+ interface RPCHandler<I, O> {
74
+ input: I;
75
+ output: O;
76
+ }
77
+
78
+ export type RPCMap = {
79
+ readonly 'fileList': RPCHandler<FileListInput, FileListOutput>,
80
+ readonly 'fileDownload': RPCHandler<FileDownloadInput, FileDownloadOutput>,
81
+ readonly 'fileUpload': RPCHandler<FileUploadInput, FileUploadOutput>,
82
+ readonly 'fileDelete': RPCHandler<FileDeleteInput, FileDeleteOutput>,
83
+ readonly 'fileRename': RPCHandler<FileRenameInput, FileRenameOutput>,
84
+ };
85
+
86
+
87
+
88
+ // No addon packages, use RPCMap directly
89
+ export type FlattenedRPCMap = RPCMap
90
+
91
+ type IsAny<T> = 0 extends (1 & T) ? true : false
92
+ type IsVoidishInput<T> = IsAny<T> extends true
93
+ ? false
94
+ : [T] extends [void | null | undefined]
95
+ ? true
96
+ : false
97
+
98
+
99
+ export type RPCInvoke = <Name extends keyof FlattenedRPCMap>(
100
+ ...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
101
+ ? [name: Name]
102
+ : [name: Name, data: FlattenedRPCMap[Name]['input']]
103
+ ) => Promise<FlattenedRPCMap[Name]['output']>
104
+
105
+ export type RPCRemote = <Name extends keyof FlattenedRPCMap>(
106
+ ...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
107
+ ? [name: Name]
108
+ : [name: Name, data: FlattenedRPCMap[Name]['input']]
109
+ ) => Promise<FlattenedRPCMap[Name]['output']>
110
+
111
+ import type { FlattenedWorkflowMap } from '../workflow/pikku-workflow-map.gen.d.js'
112
+
113
+ import type { AgentMap } from '../agent/pikku-agent-map.gen.d.js'
114
+
115
+
116
+ type FlattenedAgentMap = AgentMap
117
+
118
+
119
+ import type { PikkuRPC } from '@pikku/core/rpc'
120
+
121
+ interface AIAgentInput {
122
+ message: string
123
+ threadId: string
124
+ resourceId: string
125
+ }
126
+
127
+ export type TypedStartWorkflow = <Name extends keyof FlattenedWorkflowMap>(
128
+ name: Name,
129
+ input: FlattenedWorkflowMap[Name]['input'],
130
+ options?: { startNode?: string }
131
+ ) => Promise<{ runId: string }>
132
+
133
+ export type TypedRunWorkflow = <Name extends keyof FlattenedWorkflowMap>(
134
+ name: Name,
135
+ input: FlattenedWorkflowMap[Name]['input']
136
+ ) => Promise<FlattenedWorkflowMap[Name]['output']>
137
+
138
+ export type TypedWorkflowStatus = (
139
+ workflowName: string,
140
+ runId: string
141
+ ) => Promise<{ id: string; status: 'running' | 'suspended' | 'completed' | 'failed' | 'cancelled'; output?: unknown; error?: { message?: string } }>
142
+
143
+ type TypedAgentRun = [keyof FlattenedAgentMap] extends [never]
144
+ ? (name: string, input: AIAgentInput) => Promise<any>
145
+ : <Name extends keyof FlattenedAgentMap>(
146
+ name: Name,
147
+ input: AIAgentInput
148
+ ) => Promise<{ runId: string; result: FlattenedAgentMap[Name]['output']; usage: { inputTokens: number; outputTokens: number } }>
149
+
150
+ type TypedAgentStream = [keyof FlattenedAgentMap] extends [never]
151
+ ? (name: string, input: AIAgentInput, options?: { requiresToolApproval?: 'all' | 'explicit' | false }) => Promise<void>
152
+ : <Name extends keyof FlattenedAgentMap>(
153
+ name: Name,
154
+ input: AIAgentInput,
155
+ options?: { requiresToolApproval?: 'all' | 'explicit' | false }
156
+ ) => Promise<void>
157
+
158
+ export type TypedPikkuRPC = PikkuRPC<RPCInvoke, RPCRemote, TypedStartWorkflow, TypedAgentRun, TypedAgentStream>
159
+
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=pikku-rpc-wirings-meta.internal.gen.d.ts.map
@@ -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-ftp', '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,kBAAkB,EAAE,KAAK,EAAE,MAAM,EAAE,QAAkC,CAAC,CAAA"}
@@ -0,0 +1,7 @@
1
+ {
2
+ "fileList": "fileList",
3
+ "fileDownload": "fileDownload",
4
+ "fileUpload": "fileUpload",
5
+ "fileDelete": "fileDelete",
6
+ "fileRename": "fileRename"
7
+ }
@@ -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-ftp', 'rpc', 'meta', metaData as Record<string, string>)
@@ -0,0 +1,22 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ /**
5
+ * Scheduler-specific type definitions for tree-shaking optimization
6
+ */
7
+ import { CoreScheduledTask } from '@pikku/core/scheduler';
8
+ import type { PikkuFunctionConfig, PikkuMiddleware } from '../function/pikku-function-types.gen.js';
9
+ /**
10
+ * Type definition for scheduled tasks that run at specified intervals.
11
+ * These are sessionless functions that execute based on cron expressions.
12
+ */
13
+ type SchedulerWiring = CoreScheduledTask<PikkuFunctionConfig<void, void, 'session' | 'rpc'>, PikkuMiddleware>;
14
+ /**
15
+ * Registers a scheduled task with the Pikku framework.
16
+ * Tasks run based on cron expressions and are sessionless.
17
+ *
18
+ * @param task - Scheduled task definition with cron expression and handler
19
+ */
20
+ export declare const wireScheduler: (task: SchedulerWiring) => void;
21
+ export {};
22
+ //# sourceMappingURL=pikku-scheduler-types.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-scheduler-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/scheduler/pikku-scheduler-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,EAAE,iBAAiB,EAAsC,MAAM,uBAAuB,CAAA;AAC7F,OAAO,KAAK,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAA;AAEnG;;;GAGG;AACH,KAAK,eAAe,GAAG,iBAAiB,CAAC,mBAAmB,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,GAAG,KAAK,CAAC,EAAE,eAAe,CAAC,CAAA;AAE7G;;;;;GAKG;AACH,eAAO,MAAM,aAAa,GAAI,MAAM,eAAe,SAElD,CAAA"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ /**
5
+ * Scheduler-specific type definitions for tree-shaking optimization
6
+ */
7
+ import { wireScheduler as wireSchedulerCore } from '@pikku/core/scheduler';
8
+ /**
9
+ * Registers a scheduled task with the Pikku framework.
10
+ * Tasks run based on cron expressions and are sessionless.
11
+ *
12
+ * @param task - Scheduled task definition with cron expression and handler
13
+ */
14
+ export const wireScheduler = (task) => {
15
+ wireSchedulerCore(task);
16
+ };
17
+ //# sourceMappingURL=pikku-scheduler-types.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-scheduler-types.gen.js","sourceRoot":"","sources":["../../../.pikku/scheduler/pikku-scheduler-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,EAAqB,aAAa,IAAI,iBAAiB,EAAE,MAAM,uBAAuB,CAAA;AAS7F;;;;;GAKG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,IAAqB,EAAE,EAAE;IACrD,iBAAiB,CAAC,IAAW,CAAC,CAAA;AAChC,CAAC,CAAA"}
@@ -0,0 +1,25 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ /**
5
+ * Scheduler-specific type definitions for tree-shaking optimization
6
+ */
7
+
8
+ import { CoreScheduledTask, wireScheduler as wireSchedulerCore } from '@pikku/core/scheduler'
9
+ import type { PikkuFunctionConfig, PikkuMiddleware } from '../function/pikku-function-types.gen.js'
10
+
11
+ /**
12
+ * Type definition for scheduled tasks that run at specified intervals.
13
+ * These are sessionless functions that execute based on cron expressions.
14
+ */
15
+ type SchedulerWiring = CoreScheduledTask<PikkuFunctionConfig<void, void, 'session' | 'rpc'>, PikkuMiddleware>
16
+
17
+ /**
18
+ * Registers a scheduled task with the Pikku framework.
19
+ * Tasks run based on cron expressions and are sessionless.
20
+ *
21
+ * @param task - Scheduled task definition with cron expression and handler
22
+ */
23
+ export const wireScheduler = (task: SchedulerWiring) => {
24
+ wireSchedulerCore(task as any)
25
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=register.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"register.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/schemas/register.gen.ts"],"names":[],"mappings":""}
@@ -0,0 +1,29 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ import { addSchema } from '@pikku/core/schema';
5
+ import * as FileListInput from './schemas/FileListInput.schema.json' with { type: 'json' };
6
+ addSchema('FileListInput', FileListInput, '@pikku/addon-ftp');
7
+ import * as FileListOutput from './schemas/FileListOutput.schema.json' with { type: 'json' };
8
+ addSchema('FileListOutput', FileListOutput, '@pikku/addon-ftp');
9
+ import * as FileDownloadInput from './schemas/FileDownloadInput.schema.json' with { type: 'json' };
10
+ addSchema('FileDownloadInput', FileDownloadInput, '@pikku/addon-ftp');
11
+ import * as FileDownloadOutput from './schemas/FileDownloadOutput.schema.json' with { type: 'json' };
12
+ addSchema('FileDownloadOutput', FileDownloadOutput, '@pikku/addon-ftp');
13
+ import * as FileUploadInput from './schemas/FileUploadInput.schema.json' with { type: 'json' };
14
+ addSchema('FileUploadInput', FileUploadInput, '@pikku/addon-ftp');
15
+ import * as FileUploadOutput from './schemas/FileUploadOutput.schema.json' with { type: 'json' };
16
+ addSchema('FileUploadOutput', FileUploadOutput, '@pikku/addon-ftp');
17
+ import * as FileDeleteInput from './schemas/FileDeleteInput.schema.json' with { type: 'json' };
18
+ addSchema('FileDeleteInput', FileDeleteInput, '@pikku/addon-ftp');
19
+ import * as FileDeleteOutput from './schemas/FileDeleteOutput.schema.json' with { type: 'json' };
20
+ addSchema('FileDeleteOutput', FileDeleteOutput, '@pikku/addon-ftp');
21
+ import * as FileRenameInput from './schemas/FileRenameInput.schema.json' with { type: 'json' };
22
+ addSchema('FileRenameInput', FileRenameInput, '@pikku/addon-ftp');
23
+ import * as FileRenameOutput from './schemas/FileRenameOutput.schema.json' with { type: 'json' };
24
+ addSchema('FileRenameOutput', FileRenameOutput, '@pikku/addon-ftp');
25
+ import * as CredentialSchema_ftp from './schemas/CredentialSchema_ftp.schema.json' with { type: 'json' };
26
+ addSchema('CredentialSchema_ftp', CredentialSchema_ftp, '@pikku/addon-ftp');
27
+ import * as VariableSchema_FTP_BASE_URL from './schemas/VariableSchema_FTP_BASE_URL.schema.json' with { type: 'json' };
28
+ addSchema('VariableSchema_FTP_BASE_URL', VariableSchema_FTP_BASE_URL, '@pikku/addon-ftp');
29
+ //# sourceMappingURL=register.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"register.gen.js","sourceRoot":"","sources":["../../../.pikku/schemas/register.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAE9C,OAAO,KAAK,aAAa,MAAM,qCAAqC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAC1F,SAAS,CAAC,eAAe,EAAE,aAAa,EAAE,kBAAkB,CAAC,CAAA;AAG7D,OAAO,KAAK,cAAc,MAAM,sCAAsC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAC5F,SAAS,CAAC,gBAAgB,EAAE,cAAc,EAAE,kBAAkB,CAAC,CAAA;AAG/D,OAAO,KAAK,iBAAiB,MAAM,yCAAyC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAClG,SAAS,CAAC,mBAAmB,EAAE,iBAAiB,EAAE,kBAAkB,CAAC,CAAA;AAGrE,OAAO,KAAK,kBAAkB,MAAM,0CAA0C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACpG,SAAS,CAAC,oBAAoB,EAAE,kBAAkB,EAAE,kBAAkB,CAAC,CAAA;AAGvE,OAAO,KAAK,eAAe,MAAM,uCAAuC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAC9F,SAAS,CAAC,iBAAiB,EAAE,eAAe,EAAE,kBAAkB,CAAC,CAAA;AAGjE,OAAO,KAAK,gBAAgB,MAAM,wCAAwC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAChG,SAAS,CAAC,kBAAkB,EAAE,gBAAgB,EAAE,kBAAkB,CAAC,CAAA;AAGnE,OAAO,KAAK,eAAe,MAAM,uCAAuC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAC9F,SAAS,CAAC,iBAAiB,EAAE,eAAe,EAAE,kBAAkB,CAAC,CAAA;AAGjE,OAAO,KAAK,gBAAgB,MAAM,wCAAwC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAChG,SAAS,CAAC,kBAAkB,EAAE,gBAAgB,EAAE,kBAAkB,CAAC,CAAA;AAGnE,OAAO,KAAK,eAAe,MAAM,uCAAuC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAC9F,SAAS,CAAC,iBAAiB,EAAE,eAAe,EAAE,kBAAkB,CAAC,CAAA;AAGjE,OAAO,KAAK,gBAAgB,MAAM,wCAAwC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAChG,SAAS,CAAC,kBAAkB,EAAE,gBAAgB,EAAE,kBAAkB,CAAC,CAAA;AAGnE,OAAO,KAAK,oBAAoB,MAAM,4CAA4C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACxG,SAAS,CAAC,sBAAsB,EAAE,oBAAoB,EAAE,kBAAkB,CAAC,CAAA;AAG3E,OAAO,KAAK,2BAA2B,MAAM,mDAAmD,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACtH,SAAS,CAAC,6BAA6B,EAAE,2BAA2B,EAAE,kBAAkB,CAAC,CAAA"}
@@ -0,0 +1,51 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ import { addSchema } from '@pikku/core/schema'
5
+
6
+ import * as FileListInput from './schemas/FileListInput.schema.json' with { type: 'json' }
7
+ addSchema('FileListInput', FileListInput, '@pikku/addon-ftp')
8
+
9
+
10
+ import * as FileListOutput from './schemas/FileListOutput.schema.json' with { type: 'json' }
11
+ addSchema('FileListOutput', FileListOutput, '@pikku/addon-ftp')
12
+
13
+
14
+ import * as FileDownloadInput from './schemas/FileDownloadInput.schema.json' with { type: 'json' }
15
+ addSchema('FileDownloadInput', FileDownloadInput, '@pikku/addon-ftp')
16
+
17
+
18
+ import * as FileDownloadOutput from './schemas/FileDownloadOutput.schema.json' with { type: 'json' }
19
+ addSchema('FileDownloadOutput', FileDownloadOutput, '@pikku/addon-ftp')
20
+
21
+
22
+ import * as FileUploadInput from './schemas/FileUploadInput.schema.json' with { type: 'json' }
23
+ addSchema('FileUploadInput', FileUploadInput, '@pikku/addon-ftp')
24
+
25
+
26
+ import * as FileUploadOutput from './schemas/FileUploadOutput.schema.json' with { type: 'json' }
27
+ addSchema('FileUploadOutput', FileUploadOutput, '@pikku/addon-ftp')
28
+
29
+
30
+ import * as FileDeleteInput from './schemas/FileDeleteInput.schema.json' with { type: 'json' }
31
+ addSchema('FileDeleteInput', FileDeleteInput, '@pikku/addon-ftp')
32
+
33
+
34
+ import * as FileDeleteOutput from './schemas/FileDeleteOutput.schema.json' with { type: 'json' }
35
+ addSchema('FileDeleteOutput', FileDeleteOutput, '@pikku/addon-ftp')
36
+
37
+
38
+ import * as FileRenameInput from './schemas/FileRenameInput.schema.json' with { type: 'json' }
39
+ addSchema('FileRenameInput', FileRenameInput, '@pikku/addon-ftp')
40
+
41
+
42
+ import * as FileRenameOutput from './schemas/FileRenameOutput.schema.json' with { type: 'json' }
43
+ addSchema('FileRenameOutput', FileRenameOutput, '@pikku/addon-ftp')
44
+
45
+
46
+ import * as CredentialSchema_ftp from './schemas/CredentialSchema_ftp.schema.json' with { type: 'json' }
47
+ addSchema('CredentialSchema_ftp', CredentialSchema_ftp, '@pikku/addon-ftp')
48
+
49
+
50
+ import * as VariableSchema_FTP_BASE_URL from './schemas/VariableSchema_FTP_BASE_URL.schema.json' with { type: 'json' }
51
+ addSchema('VariableSchema_FTP_BASE_URL', VariableSchema_FTP_BASE_URL, '@pikku/addon-ftp')
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"apiKey":{"type":"string","description":"FTP API key"}},"required":["apiKey"],"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"path":{"type":"string","description":"Full path of the file or folder to delete"},"folder":{"description":"Whether the target is a folder","type":"boolean"},"recursive":{"description":"Whether to remove all contents of the target directory","type":"boolean"}},"required":["path"],"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"success":{"type":"boolean"}},"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"path":{"type":"string","description":"Full path of the file to download"},"binaryPropertyName":{"description":"Output binary field name","type":"string"}},"required":["path"],"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"path":{"type":"string"},"fileName":{"type":"string"}},"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"path":{"type":"string","description":"Path of directory to list contents of"},"recursive":{"description":"Whether to list directories recursively","type":"boolean"}},"required":["path"],"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string"},"path":{"type":"string"},"size":{"type":"number"}},"additionalProperties":false}}},"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"oldPath":{"type":"string","description":"Current full path"},"newPath":{"type":"string","description":"Destination full path"},"createDirectories":{"description":"Whether to create destination directories","type":"boolean"}},"required":["oldPath","newPath"],"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"success":{"type":"boolean"}},"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"path":{"type":"string","description":"Full path where the file will be uploaded"},"fileContent":{"description":"Text content of the file to upload","type":"string"}},"required":["path"],"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"success":{"type":"boolean"}},"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","default":"https://ftp.local","type":"string","enum":["https://ftp.local"]}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ export { wireSecret } from '@pikku/core/secret';
5
+ export type { CoreSecret, SecretDefinitionMeta, SecretDefinitionsMeta } from '@pikku/core/secret';
6
+ //# sourceMappingURL=pikku-secret-types.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-secret-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/secrets/pikku-secret-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAC/C,YAAY,EAAE,UAAU,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ export { wireSecret } from '@pikku/core/secret';
5
+ //# sourceMappingURL=pikku-secret-types.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-secret-types.gen.js","sourceRoot":"","sources":["../../../.pikku/secrets/pikku-secret-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ export { wireSecret } from '@pikku/core/secret'
5
+ export type { CoreSecret, SecretDefinitionMeta, SecretDefinitionsMeta } from '@pikku/core/secret'