@pikku/addon-graph 0.12.0 → 0.12.3

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 (229) hide show
  1. package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +1 -1
  2. package/dist/.pikku/addon/pikku-addon-types.gen.js +1 -1
  3. package/dist/.pikku/addon/pikku-package.gen.js +1 -1
  4. package/dist/.pikku/agent/pikku-agent-map.gen.d.ts +1 -1
  5. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +1 -1
  6. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +1 -1
  7. package/dist/.pikku/channel/pikku-channel-types.gen.js +1 -1
  8. package/dist/.pikku/cli/pikku-cli-types.gen.d.ts +1 -1
  9. package/dist/.pikku/cli/pikku-cli-types.gen.js +1 -1
  10. package/dist/.pikku/console/pikku-node-types.gen.d.ts +1 -1
  11. package/dist/.pikku/function/pikku-function-types.gen.d.ts +43 -69
  12. package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +1 -1
  13. package/dist/.pikku/function/pikku-function-types.gen.js +33 -40
  14. package/dist/.pikku/function/pikku-function-types.gen.js.map +1 -1
  15. package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
  16. package/dist/.pikku/function/pikku-functions-meta.gen.json +476 -449
  17. package/dist/.pikku/function/pikku-functions.gen.js +1 -1
  18. package/dist/.pikku/http/pikku-http-types.gen.d.ts +1 -1
  19. package/dist/.pikku/http/pikku-http-types.gen.js +1 -1
  20. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +1 -1
  21. package/dist/.pikku/mcp/pikku-mcp-types.gen.js +1 -1
  22. package/dist/.pikku/pikku-bootstrap.gen.d.ts +1 -1
  23. package/dist/.pikku/pikku-bootstrap.gen.js +1 -1
  24. package/dist/.pikku/pikku-meta-service.gen.d.ts +1 -1
  25. package/dist/.pikku/pikku-meta-service.gen.js +1 -1
  26. package/dist/.pikku/pikku-services.gen.d.ts +3 -1
  27. package/dist/.pikku/pikku-services.gen.d.ts.map +1 -1
  28. package/dist/.pikku/pikku-services.gen.js +2 -0
  29. package/dist/.pikku/pikku-services.gen.js.map +1 -1
  30. package/dist/.pikku/pikku-types.gen.d.ts +1 -1
  31. package/dist/.pikku/pikku-types.gen.js +1 -1
  32. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +1 -1
  33. package/dist/.pikku/queue/pikku-queue-types.gen.js +1 -1
  34. package/dist/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +11 -3
  35. package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +12 -4
  36. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
  37. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +26 -26
  38. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +1 -1
  39. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +1 -1
  40. package/dist/.pikku/schemas/register.gen.js +3 -1
  41. package/dist/.pikku/schemas/register.gen.js.map +1 -1
  42. package/dist/.pikku/schemas/schemas/AggregateInput.schema.json +1 -1
  43. package/dist/.pikku/schemas/schemas/AggregateOutput.schema.json +1 -1
  44. package/dist/.pikku/schemas/schemas/ChunkInput.schema.json +1 -1
  45. package/dist/.pikku/schemas/schemas/ChunkOutput.schema.json +1 -1
  46. package/dist/.pikku/schemas/schemas/CoalesceInput.schema.json +1 -1
  47. package/dist/.pikku/schemas/schemas/CoalesceOutput.schema.json +1 -1
  48. package/dist/.pikku/schemas/schemas/CryptoInput.schema.json +1 -1
  49. package/dist/.pikku/schemas/schemas/CryptoOutput.schema.json +1 -1
  50. package/dist/.pikku/schemas/schemas/DateTimeInput.schema.json +1 -1
  51. package/dist/.pikku/schemas/schemas/DateTimeOutput.schema.json +1 -1
  52. package/dist/.pikku/schemas/schemas/EditFieldsInput.schema.json +1 -1
  53. package/dist/.pikku/schemas/schemas/EditFieldsOutput.schema.json +1 -1
  54. package/dist/.pikku/schemas/schemas/FindInput.schema.json +1 -1
  55. package/dist/.pikku/schemas/schemas/FindOutput.schema.json +1 -1
  56. package/dist/.pikku/schemas/schemas/GroupByInput.schema.json +1 -1
  57. package/dist/.pikku/schemas/schemas/GroupByOutput.schema.json +1 -1
  58. package/dist/.pikku/schemas/schemas/JwtDecodeInput.schema.json +1 -1
  59. package/dist/.pikku/schemas/schemas/JwtDecodeOutput.schema.json +1 -1
  60. package/dist/.pikku/schemas/schemas/JwtSignInput.schema.json +1 -1
  61. package/dist/.pikku/schemas/schemas/JwtSignOutput.schema.json +1 -1
  62. package/dist/.pikku/schemas/schemas/LimitInput.schema.json +1 -1
  63. package/dist/.pikku/schemas/schemas/LimitOutput.schema.json +1 -1
  64. package/dist/.pikku/schemas/schemas/MathInput.schema.json +1 -1
  65. package/dist/.pikku/schemas/schemas/MathOutput.schema.json +1 -1
  66. package/dist/.pikku/schemas/schemas/MergeInput.schema.json +1 -1
  67. package/dist/.pikku/schemas/schemas/MergeOutput.schema.json +1 -1
  68. package/dist/.pikku/schemas/schemas/OmitInput.schema.json +1 -1
  69. package/dist/.pikku/schemas/schemas/OmitOutput.schema.json +1 -1
  70. package/dist/.pikku/schemas/schemas/PickInput.schema.json +1 -1
  71. package/dist/.pikku/schemas/schemas/PickOutput.schema.json +1 -1
  72. package/dist/.pikku/schemas/schemas/RemoveDuplicatesInput.schema.json +1 -1
  73. package/dist/.pikku/schemas/schemas/RemoveDuplicatesOutput.schema.json +1 -1
  74. package/dist/.pikku/schemas/schemas/RenameKeysInput.schema.json +1 -1
  75. package/dist/.pikku/schemas/schemas/RenameKeysOutput.schema.json +1 -1
  76. package/dist/.pikku/schemas/schemas/ReverseInput.schema.json +1 -1
  77. package/dist/.pikku/schemas/schemas/ReverseOutput.schema.json +1 -1
  78. package/dist/.pikku/schemas/schemas/SleepInput.schema.json +1 -1
  79. package/dist/.pikku/schemas/schemas/SleepOutput.schema.json +1 -0
  80. package/dist/.pikku/schemas/schemas/SortInput.schema.json +1 -1
  81. package/dist/.pikku/schemas/schemas/SortOutput.schema.json +1 -1
  82. package/dist/.pikku/schemas/schemas/SplitOutInput.schema.json +1 -1
  83. package/dist/.pikku/schemas/schemas/SplitOutOutput.schema.json +1 -1
  84. package/dist/.pikku/schemas/schemas/StringTransformInput.schema.json +1 -1
  85. package/dist/.pikku/schemas/schemas/StringTransformOutput.schema.json +1 -1
  86. package/dist/.pikku/schemas/schemas/SummarizeInput.schema.json +1 -1
  87. package/dist/.pikku/schemas/schemas/SummarizeOutput.schema.json +1 -1
  88. package/dist/.pikku/schemas/schemas/TypeConvertInput.schema.json +1 -1
  89. package/dist/.pikku/schemas/schemas/TypeConvertOutput.schema.json +1 -1
  90. package/dist/.pikku/schemas/schemas/UniqueInput.schema.json +1 -1
  91. package/dist/.pikku/schemas/schemas/UniqueOutput.schema.json +1 -1
  92. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +1 -1
  93. package/dist/.pikku/secrets/pikku-secret-types.gen.js +1 -1
  94. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +1 -1
  95. package/dist/.pikku/secrets/pikku-secrets.gen.js +1 -1
  96. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +1 -1
  97. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
  98. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +1 -1
  99. package/dist/.pikku/variables/pikku-variable-types.gen.js +1 -1
  100. package/dist/.pikku/variables/pikku-variables.gen.d.ts +1 -1
  101. package/dist/.pikku/variables/pikku-variables.gen.js +1 -1
  102. package/dist/.pikku/workflow/pikku-workflow-map.gen.d.ts +1 -1
  103. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +1 -1
  104. package/dist/.pikku/workflow/pikku-workflow-types.gen.js +1 -1
  105. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
  106. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +1 -1
  107. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
  108. package/dist/src/functions/data/sleep.function.d.ts +1 -0
  109. package/dist/src/functions/data/sleep.function.d.ts.map +1 -1
  110. package/dist/src/functions/data/sleep.function.js +2 -1
  111. package/dist/src/functions/data/sleep.function.js.map +1 -1
  112. package/package.json +14 -15
  113. package/.pikku/addon/pikku-addon-types.gen.ts +0 -105
  114. package/.pikku/addon/pikku-package.gen.ts +0 -11
  115. package/.pikku/agent/pikku-agent-map.gen.d.ts +0 -4
  116. package/.pikku/agent/pikku-agent-types.gen.ts +0 -82
  117. package/.pikku/channel/pikku-channel-types.gen.ts +0 -177
  118. package/.pikku/cli/pikku-cli-types.gen.ts +0 -105
  119. package/.pikku/console/pikku-addon-meta.gen.json +0 -281
  120. package/.pikku/console/pikku-node-types.gen.ts +0 -8
  121. package/.pikku/function/pikku-function-types.gen.ts +0 -684
  122. package/.pikku/function/pikku-functions-meta-verbose.gen.json +0 -660
  123. package/.pikku/function/pikku-functions-meta.gen.json +0 -450
  124. package/.pikku/function/pikku-functions-meta.gen.ts +0 -7
  125. package/.pikku/function/pikku-functions.gen.ts +0 -56
  126. package/.pikku/http/pikku-http-types.gen.ts +0 -147
  127. package/.pikku/mcp/pikku-mcp-types.gen.ts +0 -183
  128. package/.pikku/pikku-bootstrap.gen.ts +0 -8
  129. package/.pikku/pikku-meta-service.gen.ts +0 -10
  130. package/.pikku/pikku-services.gen.ts +0 -39
  131. package/.pikku/pikku-types.gen.ts +0 -21
  132. package/.pikku/queue/pikku-queue-types.gen.ts +0 -27
  133. package/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +0 -488
  134. package/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +0 -513
  135. package/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +0 -27
  136. package/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts +0 -6
  137. package/.pikku/scheduler/pikku-scheduler-types.gen.ts +0 -25
  138. package/.pikku/schemas/register.gen.ts +0 -199
  139. package/.pikku/schemas/schemas/AggregateInput.schema.json +0 -1
  140. package/.pikku/schemas/schemas/AggregateOutput.schema.json +0 -1
  141. package/.pikku/schemas/schemas/ChunkInput.schema.json +0 -1
  142. package/.pikku/schemas/schemas/ChunkOutput.schema.json +0 -1
  143. package/.pikku/schemas/schemas/CoalesceInput.schema.json +0 -1
  144. package/.pikku/schemas/schemas/CoalesceOutput.schema.json +0 -1
  145. package/.pikku/schemas/schemas/CryptoInput.schema.json +0 -1
  146. package/.pikku/schemas/schemas/CryptoOutput.schema.json +0 -1
  147. package/.pikku/schemas/schemas/DateTimeInput.schema.json +0 -1
  148. package/.pikku/schemas/schemas/DateTimeOutput.schema.json +0 -1
  149. package/.pikku/schemas/schemas/EditFieldsInput.schema.json +0 -1
  150. package/.pikku/schemas/schemas/EditFieldsOutput.schema.json +0 -1
  151. package/.pikku/schemas/schemas/FindInput.schema.json +0 -1
  152. package/.pikku/schemas/schemas/FindOutput.schema.json +0 -1
  153. package/.pikku/schemas/schemas/GroupByInput.schema.json +0 -1
  154. package/.pikku/schemas/schemas/GroupByOutput.schema.json +0 -1
  155. package/.pikku/schemas/schemas/JwtDecodeInput.schema.json +0 -1
  156. package/.pikku/schemas/schemas/JwtDecodeOutput.schema.json +0 -1
  157. package/.pikku/schemas/schemas/JwtSignInput.schema.json +0 -1
  158. package/.pikku/schemas/schemas/JwtSignOutput.schema.json +0 -1
  159. package/.pikku/schemas/schemas/LimitInput.schema.json +0 -1
  160. package/.pikku/schemas/schemas/LimitOutput.schema.json +0 -1
  161. package/.pikku/schemas/schemas/MathInput.schema.json +0 -1
  162. package/.pikku/schemas/schemas/MathOutput.schema.json +0 -1
  163. package/.pikku/schemas/schemas/MergeInput.schema.json +0 -1
  164. package/.pikku/schemas/schemas/MergeOutput.schema.json +0 -1
  165. package/.pikku/schemas/schemas/OmitInput.schema.json +0 -1
  166. package/.pikku/schemas/schemas/OmitOutput.schema.json +0 -1
  167. package/.pikku/schemas/schemas/PickInput.schema.json +0 -1
  168. package/.pikku/schemas/schemas/PickOutput.schema.json +0 -1
  169. package/.pikku/schemas/schemas/RemoveDuplicatesInput.schema.json +0 -1
  170. package/.pikku/schemas/schemas/RemoveDuplicatesOutput.schema.json +0 -1
  171. package/.pikku/schemas/schemas/RenameKeysInput.schema.json +0 -1
  172. package/.pikku/schemas/schemas/RenameKeysOutput.schema.json +0 -1
  173. package/.pikku/schemas/schemas/ReverseInput.schema.json +0 -1
  174. package/.pikku/schemas/schemas/ReverseOutput.schema.json +0 -1
  175. package/.pikku/schemas/schemas/SleepInput.schema.json +0 -1
  176. package/.pikku/schemas/schemas/SortInput.schema.json +0 -1
  177. package/.pikku/schemas/schemas/SortOutput.schema.json +0 -1
  178. package/.pikku/schemas/schemas/SplitOutInput.schema.json +0 -1
  179. package/.pikku/schemas/schemas/SplitOutOutput.schema.json +0 -1
  180. package/.pikku/schemas/schemas/StringTransformInput.schema.json +0 -1
  181. package/.pikku/schemas/schemas/StringTransformOutput.schema.json +0 -1
  182. package/.pikku/schemas/schemas/SummarizeInput.schema.json +0 -1
  183. package/.pikku/schemas/schemas/SummarizeOutput.schema.json +0 -1
  184. package/.pikku/schemas/schemas/TypeConvertInput.schema.json +0 -1
  185. package/.pikku/schemas/schemas/TypeConvertOutput.schema.json +0 -1
  186. package/.pikku/schemas/schemas/UniqueInput.schema.json +0 -1
  187. package/.pikku/schemas/schemas/UniqueOutput.schema.json +0 -1
  188. package/.pikku/secrets/pikku-secret-types.gen.ts +0 -5
  189. package/.pikku/secrets/pikku-secrets-meta.gen.json +0 -1
  190. package/.pikku/secrets/pikku-secrets.gen.ts +0 -21
  191. package/.pikku/trigger/pikku-trigger-types.gen.ts +0 -160
  192. package/.pikku/variables/pikku-variable-types.gen.ts +0 -5
  193. package/.pikku/variables/pikku-variables-meta.gen.json +0 -1
  194. package/.pikku/variables/pikku-variables.gen.ts +0 -21
  195. package/.pikku/workflow/pikku-workflow-map.gen.d.ts +0 -38
  196. package/.pikku/workflow/pikku-workflow-types.gen.ts +0 -167
  197. package/.pikku/workflow/pikku-workflow-wirings-meta.gen.ts +0 -9
  198. package/.pikku/workflow/pikku-workflow-wirings.gen.ts +0 -3
  199. package/dist/.pikku/addon/pikku-addon-types.gen.ts +0 -105
  200. package/dist/.pikku/addon/pikku-package.gen.ts +0 -11
  201. package/dist/.pikku/agent/pikku-agent-types.gen.ts +0 -82
  202. package/dist/.pikku/channel/pikku-channel-types.gen.ts +0 -177
  203. package/dist/.pikku/cli/pikku-cli-types.gen.ts +0 -105
  204. package/dist/.pikku/console/pikku-addon-meta.gen.json +0 -281
  205. package/dist/.pikku/console/pikku-node-types.gen.ts +0 -8
  206. package/dist/.pikku/function/pikku-function-types.gen.ts +0 -684
  207. package/dist/.pikku/function/pikku-functions-meta-verbose.gen.json +0 -660
  208. package/dist/.pikku/function/pikku-functions-meta.gen.ts +0 -7
  209. package/dist/.pikku/function/pikku-functions.gen.ts +0 -56
  210. package/dist/.pikku/http/pikku-http-types.gen.ts +0 -147
  211. package/dist/.pikku/mcp/pikku-mcp-types.gen.ts +0 -183
  212. package/dist/.pikku/pikku-bootstrap.gen.ts +0 -8
  213. package/dist/.pikku/pikku-meta-service.gen.ts +0 -10
  214. package/dist/.pikku/pikku-services.gen.ts +0 -39
  215. package/dist/.pikku/pikku-types.gen.ts +0 -21
  216. package/dist/.pikku/queue/pikku-queue-types.gen.ts +0 -27
  217. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts +0 -6
  218. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.ts +0 -25
  219. package/dist/.pikku/schemas/register.gen.ts +0 -199
  220. package/dist/.pikku/secrets/pikku-secret-types.gen.ts +0 -5
  221. package/dist/.pikku/secrets/pikku-secrets-meta.gen.json +0 -1
  222. package/dist/.pikku/secrets/pikku-secrets.gen.ts +0 -21
  223. package/dist/.pikku/trigger/pikku-trigger-types.gen.ts +0 -160
  224. package/dist/.pikku/variables/pikku-variable-types.gen.ts +0 -5
  225. package/dist/.pikku/variables/pikku-variables-meta.gen.json +0 -1
  226. package/dist/.pikku/variables/pikku-variables.gen.ts +0 -21
  227. package/dist/.pikku/workflow/pikku-workflow-types.gen.ts +0 -167
  228. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.ts +0 -9
  229. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.ts +0 -3
@@ -1,199 +0,0 @@
1
- /**
2
- * This file was generated by @pikku/cli@0.12.19
3
- */
4
- import { addSchema } from '@pikku/core/schema'
5
-
6
- import * as AggregateInput from './schemas/AggregateInput.schema.json' with { type: 'json' }
7
- addSchema('AggregateInput', AggregateInput, '@pikku/addon-graph')
8
-
9
-
10
- import * as AggregateOutput from './schemas/AggregateOutput.schema.json' with { type: 'json' }
11
- addSchema('AggregateOutput', AggregateOutput, '@pikku/addon-graph')
12
-
13
-
14
- import * as ChunkInput from './schemas/ChunkInput.schema.json' with { type: 'json' }
15
- addSchema('ChunkInput', ChunkInput, '@pikku/addon-graph')
16
-
17
-
18
- import * as ChunkOutput from './schemas/ChunkOutput.schema.json' with { type: 'json' }
19
- addSchema('ChunkOutput', ChunkOutput, '@pikku/addon-graph')
20
-
21
-
22
- import * as FindInput from './schemas/FindInput.schema.json' with { type: 'json' }
23
- addSchema('FindInput', FindInput, '@pikku/addon-graph')
24
-
25
-
26
- import * as FindOutput from './schemas/FindOutput.schema.json' with { type: 'json' }
27
- addSchema('FindOutput', FindOutput, '@pikku/addon-graph')
28
-
29
-
30
- import * as GroupByInput from './schemas/GroupByInput.schema.json' with { type: 'json' }
31
- addSchema('GroupByInput', GroupByInput, '@pikku/addon-graph')
32
-
33
-
34
- import * as GroupByOutput from './schemas/GroupByOutput.schema.json' with { type: 'json' }
35
- addSchema('GroupByOutput', GroupByOutput, '@pikku/addon-graph')
36
-
37
-
38
- import * as LimitInput from './schemas/LimitInput.schema.json' with { type: 'json' }
39
- addSchema('LimitInput', LimitInput, '@pikku/addon-graph')
40
-
41
-
42
- import * as LimitOutput from './schemas/LimitOutput.schema.json' with { type: 'json' }
43
- addSchema('LimitOutput', LimitOutput, '@pikku/addon-graph')
44
-
45
-
46
- import * as RemoveDuplicatesInput from './schemas/RemoveDuplicatesInput.schema.json' with { type: 'json' }
47
- addSchema('RemoveDuplicatesInput', RemoveDuplicatesInput, '@pikku/addon-graph')
48
-
49
-
50
- import * as RemoveDuplicatesOutput from './schemas/RemoveDuplicatesOutput.schema.json' with { type: 'json' }
51
- addSchema('RemoveDuplicatesOutput', RemoveDuplicatesOutput, '@pikku/addon-graph')
52
-
53
-
54
- import * as ReverseInput from './schemas/ReverseInput.schema.json' with { type: 'json' }
55
- addSchema('ReverseInput', ReverseInput, '@pikku/addon-graph')
56
-
57
-
58
- import * as ReverseOutput from './schemas/ReverseOutput.schema.json' with { type: 'json' }
59
- addSchema('ReverseOutput', ReverseOutput, '@pikku/addon-graph')
60
-
61
-
62
- import * as SortInput from './schemas/SortInput.schema.json' with { type: 'json' }
63
- addSchema('SortInput', SortInput, '@pikku/addon-graph')
64
-
65
-
66
- import * as SortOutput from './schemas/SortOutput.schema.json' with { type: 'json' }
67
- addSchema('SortOutput', SortOutput, '@pikku/addon-graph')
68
-
69
-
70
- import * as SplitOutInput from './schemas/SplitOutInput.schema.json' with { type: 'json' }
71
- addSchema('SplitOutInput', SplitOutInput, '@pikku/addon-graph')
72
-
73
-
74
- import * as SplitOutOutput from './schemas/SplitOutOutput.schema.json' with { type: 'json' }
75
- addSchema('SplitOutOutput', SplitOutOutput, '@pikku/addon-graph')
76
-
77
-
78
- import * as SummarizeInput from './schemas/SummarizeInput.schema.json' with { type: 'json' }
79
- addSchema('SummarizeInput', SummarizeInput, '@pikku/addon-graph')
80
-
81
-
82
- import * as SummarizeOutput from './schemas/SummarizeOutput.schema.json' with { type: 'json' }
83
- addSchema('SummarizeOutput', SummarizeOutput, '@pikku/addon-graph')
84
-
85
-
86
- import * as UniqueInput from './schemas/UniqueInput.schema.json' with { type: 'json' }
87
- addSchema('UniqueInput', UniqueInput, '@pikku/addon-graph')
88
-
89
-
90
- import * as UniqueOutput from './schemas/UniqueOutput.schema.json' with { type: 'json' }
91
- addSchema('UniqueOutput', UniqueOutput, '@pikku/addon-graph')
92
-
93
-
94
- import * as CoalesceInput from './schemas/CoalesceInput.schema.json' with { type: 'json' }
95
- addSchema('CoalesceInput', CoalesceInput, '@pikku/addon-graph')
96
-
97
-
98
- import * as CoalesceOutput from './schemas/CoalesceOutput.schema.json' with { type: 'json' }
99
- addSchema('CoalesceOutput', CoalesceOutput, '@pikku/addon-graph')
100
-
101
-
102
- import * as CryptoInput from './schemas/CryptoInput.schema.json' with { type: 'json' }
103
- addSchema('CryptoInput', CryptoInput, '@pikku/addon-graph')
104
-
105
-
106
- import * as CryptoOutput from './schemas/CryptoOutput.schema.json' with { type: 'json' }
107
- addSchema('CryptoOutput', CryptoOutput, '@pikku/addon-graph')
108
-
109
-
110
- import * as DateTimeInput from './schemas/DateTimeInput.schema.json' with { type: 'json' }
111
- addSchema('DateTimeInput', DateTimeInput, '@pikku/addon-graph')
112
-
113
-
114
- import * as DateTimeOutput from './schemas/DateTimeOutput.schema.json' with { type: 'json' }
115
- addSchema('DateTimeOutput', DateTimeOutput, '@pikku/addon-graph')
116
-
117
-
118
- import * as JwtSignInput from './schemas/JwtSignInput.schema.json' with { type: 'json' }
119
- addSchema('JwtSignInput', JwtSignInput, '@pikku/addon-graph')
120
-
121
-
122
- import * as JwtSignOutput from './schemas/JwtSignOutput.schema.json' with { type: 'json' }
123
- addSchema('JwtSignOutput', JwtSignOutput, '@pikku/addon-graph')
124
-
125
-
126
- import * as JwtDecodeInput from './schemas/JwtDecodeInput.schema.json' with { type: 'json' }
127
- addSchema('JwtDecodeInput', JwtDecodeInput, '@pikku/addon-graph')
128
-
129
-
130
- import * as JwtDecodeOutput from './schemas/JwtDecodeOutput.schema.json' with { type: 'json' }
131
- addSchema('JwtDecodeOutput', JwtDecodeOutput, '@pikku/addon-graph')
132
-
133
-
134
- import * as MathInput from './schemas/MathInput.schema.json' with { type: 'json' }
135
- addSchema('MathInput', MathInput, '@pikku/addon-graph')
136
-
137
-
138
- import * as MathOutput from './schemas/MathOutput.schema.json' with { type: 'json' }
139
- addSchema('MathOutput', MathOutput, '@pikku/addon-graph')
140
-
141
-
142
- import * as SleepInput from './schemas/SleepInput.schema.json' with { type: 'json' }
143
- addSchema('SleepInput', SleepInput, '@pikku/addon-graph')
144
-
145
-
146
- import * as StringTransformInput from './schemas/StringTransformInput.schema.json' with { type: 'json' }
147
- addSchema('StringTransformInput', StringTransformInput, '@pikku/addon-graph')
148
-
149
-
150
- import * as StringTransformOutput from './schemas/StringTransformOutput.schema.json' with { type: 'json' }
151
- addSchema('StringTransformOutput', StringTransformOutput, '@pikku/addon-graph')
152
-
153
-
154
- import * as TypeConvertInput from './schemas/TypeConvertInput.schema.json' with { type: 'json' }
155
- addSchema('TypeConvertInput', TypeConvertInput, '@pikku/addon-graph')
156
-
157
-
158
- import * as TypeConvertOutput from './schemas/TypeConvertOutput.schema.json' with { type: 'json' }
159
- addSchema('TypeConvertOutput', TypeConvertOutput, '@pikku/addon-graph')
160
-
161
-
162
- import * as EditFieldsInput from './schemas/EditFieldsInput.schema.json' with { type: 'json' }
163
- addSchema('EditFieldsInput', EditFieldsInput, '@pikku/addon-graph')
164
-
165
-
166
- import * as EditFieldsOutput from './schemas/EditFieldsOutput.schema.json' with { type: 'json' }
167
- addSchema('EditFieldsOutput', EditFieldsOutput, '@pikku/addon-graph')
168
-
169
-
170
- import * as MergeInput from './schemas/MergeInput.schema.json' with { type: 'json' }
171
- addSchema('MergeInput', MergeInput, '@pikku/addon-graph')
172
-
173
-
174
- import * as MergeOutput from './schemas/MergeOutput.schema.json' with { type: 'json' }
175
- addSchema('MergeOutput', MergeOutput, '@pikku/addon-graph')
176
-
177
-
178
- import * as OmitInput from './schemas/OmitInput.schema.json' with { type: 'json' }
179
- addSchema('OmitInput', OmitInput, '@pikku/addon-graph')
180
-
181
-
182
- import * as OmitOutput from './schemas/OmitOutput.schema.json' with { type: 'json' }
183
- addSchema('OmitOutput', OmitOutput, '@pikku/addon-graph')
184
-
185
-
186
- import * as PickInput from './schemas/PickInput.schema.json' with { type: 'json' }
187
- addSchema('PickInput', PickInput, '@pikku/addon-graph')
188
-
189
-
190
- import * as PickOutput from './schemas/PickOutput.schema.json' with { type: 'json' }
191
- addSchema('PickOutput', PickOutput, '@pikku/addon-graph')
192
-
193
-
194
- import * as RenameKeysInput from './schemas/RenameKeysInput.schema.json' with { type: 'json' }
195
- addSchema('RenameKeysInput', RenameKeysInput, '@pikku/addon-graph')
196
-
197
-
198
- import * as RenameKeysOutput from './schemas/RenameKeysOutput.schema.json' with { type: 'json' }
199
- addSchema('RenameKeysOutput', RenameKeysOutput, '@pikku/addon-graph')
@@ -1,5 +0,0 @@
1
- /**
2
- * This file was generated by @pikku/cli@0.12.19
3
- */
4
- export { wireSecret } from '@pikku/core/secret'
5
- export type { CoreSecret, SecretDefinitionMeta, SecretDefinitionsMeta } from '@pikku/core/secret'
@@ -1,21 +0,0 @@
1
- /**
2
- * This file was generated by @pikku/cli@0.12.19
3
- */
4
- import { TypedSecretService as CoreTypedSecretService, type CredentialMeta } from '@pikku/core/services'
5
- import type { SecretService } from '@pikku/core/services'
6
-
7
- export interface CredentialsMap {
8
-
9
- }
10
-
11
- export type SecretId = keyof CredentialsMap
12
-
13
- const CREDENTIALS_META: Record<string, CredentialMeta> = {
14
-
15
- }
16
-
17
- export class TypedSecretService extends CoreTypedSecretService<CredentialsMap> {
18
- constructor(secrets: SecretService) {
19
- super(secrets, CREDENTIALS_META)
20
- }
21
- }
@@ -1,160 +0,0 @@
1
- /**
2
- * This file was generated by @pikku/cli@0.12.19
3
- */
4
- /**
5
- * Trigger-specific type definitions for tree-shaking optimization
6
- */
7
-
8
- import { CorePikkuTriggerFunction, CorePikkuTriggerFunctionConfig, CoreTrigger, wireTrigger as wireTriggerCore, wireTriggerSource as wireTriggerSourceCore } from '@pikku/core/trigger'
9
- import type { CoreNodeConfig } from '@pikku/core/node'
10
- import type { SingletonServices } from '../../types/application-types.d.js'
11
- import type { StandardSchemaV1 } from '@standard-schema/spec'
12
-
13
-
14
-
15
- /**
16
- * A trigger function that sets up a subscription and returns a teardown function.
17
- * The trigger is fired via wire.trigger.invoke(data).
18
- *
19
- * @template TInput - Input type (configuration passed when wired)
20
- * @template TOutput - Output type produced when trigger fires
21
- */
22
- export type PikkuTriggerFunction<
23
- TInput = unknown,
24
- TOutput = unknown
25
- > = CorePikkuTriggerFunction<TInput, TOutput, SingletonServices>
26
-
27
- /**
28
- * Configuration object for creating a trigger function with metadata
29
- */
30
- export type PikkuTriggerFunctionConfig<
31
- TInput = unknown,
32
- TOutput = unknown,
33
- InputSchema extends StandardSchemaV1 | undefined = undefined,
34
- OutputSchema extends StandardSchemaV1 | undefined = undefined
35
- > = CorePikkuTriggerFunctionConfig<TInput, TOutput, SingletonServices, InputSchema, OutputSchema>
36
-
37
- /**
38
- * Helper type to infer the output type from a Standard Schema
39
- */
40
- type InferSchemaOutput<T> = T extends StandardSchemaV1<any, infer Output> ? Output : never
41
-
42
- /**
43
- * Configuration object for trigger functions with Zod schema validation.
44
- * Use this when you want to define input/output schemas using Zod.
45
- * Types are automatically inferred from the schemas.
46
- */
47
- export type PikkuTriggerFunctionConfigWithSchema<
48
- InputSchema extends StandardSchemaV1,
49
- OutputSchema extends StandardSchemaV1 | undefined = undefined
50
- > = {
51
- title?: string
52
- description?: string
53
- tags?: string[]
54
- func: PikkuTriggerFunction<
55
- InferSchemaOutput<InputSchema>,
56
- OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown
57
- >
58
- input: InputSchema
59
- output?: OutputSchema
60
- node?: CoreNodeConfig
61
- }
62
-
63
- /**
64
- * Type definition for trigger wirings.
65
- * Declares a trigger name and its target pikku function.
66
- */
67
- export type TriggerWiring = CoreTrigger
68
-
69
- /**
70
- * A trigger source with the subscription function, using project-specific services.
71
- *
72
- * @template TInput - Input type passed to the trigger function
73
- * @template TOutput - Output type produced when trigger fires
74
- */
75
- export type TriggerSource<
76
- TInput = unknown,
77
- TOutput = unknown
78
- > = {
79
- name: string
80
- func: PikkuTriggerFunctionConfig<TInput, TOutput>
81
- } & (unknown extends TInput ? { input?: TInput } : { input: TInput })
82
-
83
- /**
84
- * Creates a trigger function configuration.
85
- * Use this to define trigger functions that set up subscriptions.
86
- *
87
- * @param triggerOrConfig - Function definition or configuration object
88
- * @returns The normalized configuration object
89
- *
90
- * @example
91
- * ```typescript
92
- * export const redisSubscribeTrigger = pikkuTriggerFunc<
93
- * { channel: string },
94
- * { message: string }
95
- * >(async ({ redis }, { channel }, { trigger }) => {
96
- * const subscriber = redis.duplicate()
97
- * await subscriber.subscribe(channel, (msg) => {
98
- * trigger.invoke({ message: msg })
99
- * })
100
- * return () => subscriber.unsubscribe()
101
- * })
102
- *
103
- * export const redisSubscribeTrigger = pikkuTriggerFunc({
104
- * title: 'Redis Subscribe Trigger',
105
- * description: 'Listens to Redis pub/sub channel',
106
- * input: z.object({ channel: z.string() }),
107
- * output: z.object({ message: z.string() }),
108
- * func: async ({ redis }, { channel }, { trigger }) => {
109
- * const subscriber = redis.duplicate()
110
- * await subscriber.subscribe(channel, (msg) => {
111
- * trigger.invoke({ message: msg })
112
- * })
113
- * return () => subscriber.unsubscribe()
114
- * }
115
- * })
116
- * ```
117
- */
118
- export function pikkuTriggerFunc<
119
- InputSchema extends StandardSchemaV1,
120
- OutputSchema extends StandardSchemaV1 | undefined = undefined
121
- >(
122
- config: PikkuTriggerFunctionConfigWithSchema<InputSchema, OutputSchema>
123
- ): PikkuTriggerFunctionConfig<InferSchemaOutput<InputSchema>, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown, InputSchema, OutputSchema>
124
- export function pikkuTriggerFunc<TInput, TOutput = unknown>(
125
- triggerOrConfig:
126
- | PikkuTriggerFunction<TInput, TOutput>
127
- | PikkuTriggerFunctionConfig<TInput, TOutput>
128
- ): PikkuTriggerFunctionConfig<TInput, TOutput>
129
- export function pikkuTriggerFunc(triggerOrConfig: any) {
130
- if (typeof triggerOrConfig === 'function') {
131
- return { func: triggerOrConfig }
132
- }
133
- return triggerOrConfig
134
- }
135
-
136
- /**
137
- * Registers a trigger with the Pikku framework.
138
- * Declares a trigger name and its target pikku function.
139
- * Runs everywhere — inspector extracts at build time.
140
- *
141
- * @param trigger - Trigger definition with name and function config
142
- */
143
- export const wireTrigger = (
144
- trigger: TriggerWiring
145
- ) => {
146
- wireTriggerCore(trigger as any)
147
- }
148
-
149
- /**
150
- * Registers a trigger source with the Pikku framework.
151
- * Provides the subscription function and input data.
152
- * Only imported in the trigger worker process.
153
- *
154
- * @param source - Trigger source with name, func, and input
155
- */
156
- export const wireTriggerSource = <TInput = unknown, TOutput = unknown>(
157
- source: TriggerSource<TInput, TOutput>
158
- ) => {
159
- wireTriggerSourceCore(source as any)
160
- }
@@ -1,5 +0,0 @@
1
- /**
2
- * This file was generated by @pikku/cli@0.12.19
3
- */
4
- export { wireVariable } from '@pikku/core/variable'
5
- export type { CoreVariable, VariableDefinitionMeta, VariableDefinitionsMeta } from '@pikku/core/variable'
@@ -1,21 +0,0 @@
1
- /**
2
- * This file was generated by @pikku/cli@0.12.19
3
- */
4
- import { TypedVariablesService as CoreTypedVariablesService, type VariableMeta } from '@pikku/core/services'
5
- import type { VariablesService } from '@pikku/core/services'
6
-
7
- export interface VariablesMap {
8
-
9
- }
10
-
11
- export type VariableId = keyof VariablesMap
12
-
13
- const VARIABLES_META: Record<string, VariableMeta> = {
14
-
15
- }
16
-
17
- export class TypedVariablesService extends CoreTypedVariablesService<VariablesMap> {
18
- constructor(variables: VariablesService) {
19
- super(variables, VARIABLES_META)
20
- }
21
- }
@@ -1,167 +0,0 @@
1
- /**
2
- * This file was generated by @pikku/cli@0.12.19
3
- */
4
- import { WorkflowCancelledException } from '@pikku/core/workflow'
5
- import { template } from '@pikku/core/workflow'
6
- import {
7
- pikkuWorkflowGraph as corePikkuWorkflowGraph,
8
- type PikkuWorkflowGraphConfig,
9
- type PikkuWorkflowGraphResult,
10
- } from '@pikku/core/workflow'
11
- import type { PikkuWorkflowWire, WorkflowStepOptions } from '@pikku/core/workflow'
12
-
13
- export { WorkflowCancelledException }
14
- import type { PikkuFunctionSessionless, PikkuFunctionConfig } from '../function/pikku-function-types.gen.js'
15
- import type { FlattenedRPCMap } from '../rpc/pikku-rpc-wirings-map.internal.gen.d.js'
16
- import type { FlattenedWorkflowMap } from './pikku-workflow-map.gen.d.js'
17
-
18
- export { template }
19
-
20
- export interface TypedWorkflow extends PikkuWorkflowWire {
21
- do<K extends keyof FlattenedRPCMap>(
22
- stepName: string,
23
- rpcName: K,
24
- data: FlattenedRPCMap[K]['input'],
25
- options?: WorkflowStepOptions
26
- ): Promise<FlattenedRPCMap[K]['output']>
27
-
28
- do<K extends keyof FlattenedWorkflowMap>(
29
- stepName: string,
30
- workflowName: K,
31
- data: FlattenedWorkflowMap[K]['input'],
32
- options?: WorkflowStepOptions
33
- ): Promise<FlattenedWorkflowMap[K]['output']>
34
-
35
- do<T>(
36
- stepName: string,
37
- fn: () => T | Promise<T>,
38
- options?: WorkflowStepOptions
39
- ): Promise<T>
40
- }
41
-
42
- import type { StandardSchemaV1 } from '@standard-schema/spec'
43
- import type { InferSchemaOutput, PikkuPermission, PikkuMiddleware, NodeConfig, PikkuApprovalDescription } from '../function/pikku-function-types.gen.js'
44
- import { PikkuError } from '@pikku/core/errors'
45
- import type { CorePermissionGroup } from '@pikku/core'
46
-
47
- export type PikkuFunctionWorkflow<
48
- In = unknown,
49
- Out = never
50
- > = PikkuFunctionSessionless<In, Out, 'workflow'>
51
-
52
- export type PikkuWorkflowConfigWithSchema<
53
- InputSchema extends StandardSchemaV1 | undefined = undefined,
54
- OutputSchema extends StandardSchemaV1 | undefined = undefined
55
- > = {
56
- title?: string
57
- description?: string
58
- tags?: string[]
59
- expose?: boolean
60
- internal?: boolean
61
- override?: string
62
- version?: number
63
- remote?: boolean
64
- mcp?: boolean
65
- readonly?: boolean
66
- approvalRequired?: boolean
67
- approvalDescription?: InputSchema extends StandardSchemaV1 ? PikkuApprovalDescription<InferSchemaOutput<InputSchema>> : never
68
- func: PikkuFunctionWorkflow<
69
- InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown,
70
- OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown
71
- >
72
- auth?: boolean
73
- permissions?: InputSchema extends StandardSchemaV1 ? CorePermissionGroup<PikkuPermission<InferSchemaOutput<InputSchema>>> : undefined
74
- middleware?: PikkuMiddleware[]
75
- input?: InputSchema
76
- output?: OutputSchema
77
- node?: NodeConfig
78
- errors?: Array<typeof PikkuError>
79
- inline?: boolean
80
- }
81
-
82
- export function pikkuWorkflowFunc<
83
- InputSchema extends StandardSchemaV1 | undefined = undefined,
84
- OutputSchema extends StandardSchemaV1 | undefined = undefined
85
- >(
86
- config: PikkuWorkflowConfigWithSchema<InputSchema, OutputSchema>
87
- ): PikkuFunctionConfig<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown, 'workflow', PikkuFunctionWorkflow<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown>, InputSchema, OutputSchema>
88
- export function pikkuWorkflowFunc<In, Out = unknown>(
89
- func:
90
- | PikkuFunctionWorkflow<In, Out>
91
- | PikkuFunctionConfig<In, Out, 'workflow', PikkuFunctionWorkflow<In, Out>>
92
- ): PikkuFunctionConfig<In, Out, 'workflow'>
93
- export function pikkuWorkflowFunc(func: any) {
94
- return typeof func === 'function' ? { func } : func
95
- }
96
-
97
- export function pikkuWorkflowComplexFunc<
98
- InputSchema extends StandardSchemaV1 | undefined = undefined,
99
- OutputSchema extends StandardSchemaV1 | undefined = undefined
100
- >(
101
- config: PikkuWorkflowConfigWithSchema<InputSchema, OutputSchema>
102
- ): PikkuFunctionConfig<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown, 'workflow', PikkuFunctionWorkflow<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown>, InputSchema, OutputSchema>
103
- export function pikkuWorkflowComplexFunc<In, Out = unknown>(
104
- func:
105
- | PikkuFunctionWorkflow<In, Out>
106
- | PikkuFunctionConfig<In, Out, 'workflow', PikkuFunctionWorkflow<In, Out>>
107
- ): PikkuFunctionConfig<In, Out, 'workflow'>
108
- export function pikkuWorkflowComplexFunc(func: any) {
109
- return typeof func === 'function' ? { func } : func
110
- }
111
-
112
- type TypedRef<T> = { $ref: string; path?: string } & { __phantomType?: T }
113
-
114
- type TemplateString = {
115
- $template: {
116
- parts: string[]
117
- expressions: Array<{ $ref: string; path?: string }>
118
- }
119
- } & { __brand: 'TemplateString' }
120
-
121
- type InputWithRefs<T> = {
122
- [K in keyof T]?: T[K] | TypedRef<T[K]> | TypedRef<unknown> | TemplateString
123
- }
124
-
125
- type NodeInputType<FuncMap extends Record<string, string>, K extends keyof FuncMap> =
126
- FuncMap[K] extends keyof FlattenedRPCMap
127
- ? InputWithRefs<FlattenedRPCMap[FuncMap[K]]['input']>
128
- : Record<string, unknown>
129
-
130
- type NodeOutputKeys<FuncMap extends Record<string, string>, N extends string> =
131
- N extends keyof FuncMap
132
- ? FuncMap[N] extends keyof FlattenedRPCMap
133
- ? keyof FlattenedRPCMap[FuncMap[N]]['output'] & string
134
- : string
135
- : string
136
-
137
- type RefFunction<FuncMap extends Record<string, string>> = {
138
- <N extends Extract<keyof FuncMap, string>>(
139
- nodeId: N,
140
- path: NodeOutputKeys<FuncMap, N>
141
- ): TypedRef<unknown>
142
- (nodeId: 'trigger' | '$item', path?: string): TypedRef<unknown>
143
- }
144
-
145
- type TemplateFunction = (templateStr: string, refs: TypedRef<unknown>[]) => TemplateString
146
-
147
- type GraphNodeConfigMap<FuncMap extends Record<string, string>> = {
148
- [K in Extract<keyof FuncMap, string>]?: {
149
- next?: NextConfig<Extract<keyof FuncMap, string>>
150
- input?:
151
- | NodeInputType<FuncMap, K>
152
- | (() => NodeInputType<FuncMap, K>)
153
- | ((ref: RefFunction<FuncMap>, template: TemplateFunction) => NodeInputType<FuncMap, K>)
154
- onError?: Extract<keyof FuncMap, string> | Extract<keyof FuncMap, string>[]
155
- }
156
- }
157
-
158
- type NextConfig<NodeIds extends string> = NodeIds | NodeIds[] | { if: string; then: NodeIds; else?: NodeIds }
159
-
160
- export function pikkuWorkflowGraph<
161
- const FuncMap extends Record<string, keyof FlattenedRPCMap & string>
162
- >(
163
- config: PikkuWorkflowGraphConfig<FuncMap, GraphNodeConfigMap<FuncMap>>
164
- ): PikkuWorkflowGraphResult {
165
- return corePikkuWorkflowGraph(config as any)
166
- }
167
-
@@ -1,9 +0,0 @@
1
- /**
2
- * This file was generated by @pikku/cli@0.12.19
3
- */
4
- import { pikkuState } from '@pikku/core/internal'
5
- import type { SerializedWorkflowGraphs } from '@pikku/inspector/workflow-graph'
6
-
7
- const workflowsMeta: SerializedWorkflowGraphs = {}
8
-
9
- pikkuState('@pikku/addon-graph', 'workflows', 'meta', workflowsMeta)
@@ -1,3 +0,0 @@
1
- /**
2
- * This file was generated by @pikku/cli@0.12.19
3
- */