@pikku/addon-todoist 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 (332) 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 +796 -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 +516 -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 +62 -0
  49. package/dist/.pikku/function/pikku-functions.gen.js.map +1 -0
  50. package/dist/.pikku/function/pikku-functions.gen.ts +62 -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 +798 -0
  87. package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +826 -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 +30 -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 +103 -0
  102. package/dist/.pikku/schemas/register.gen.js.map +1 -0
  103. package/dist/.pikku/schemas/register.gen.ts +199 -0
  104. package/dist/.pikku/schemas/schemas/CloseTaskInput.schema.json +1 -0
  105. package/dist/.pikku/schemas/schemas/CreateCommentInput.schema.json +1 -0
  106. package/dist/.pikku/schemas/schemas/CreateCommentOutput.schema.json +1 -0
  107. package/dist/.pikku/schemas/schemas/CreatePersonalLabelInput.schema.json +1 -0
  108. package/dist/.pikku/schemas/schemas/CreatePersonalLabelOutput.schema.json +1 -0
  109. package/dist/.pikku/schemas/schemas/CreateProjectInput.schema.json +1 -0
  110. package/dist/.pikku/schemas/schemas/CreateProjectOutput.schema.json +1 -0
  111. package/dist/.pikku/schemas/schemas/CreateSectionInput.schema.json +1 -0
  112. package/dist/.pikku/schemas/schemas/CreateSectionOutput.schema.json +1 -0
  113. package/dist/.pikku/schemas/schemas/CreateTaskInput.schema.json +1 -0
  114. package/dist/.pikku/schemas/schemas/CreateTaskOutput.schema.json +1 -0
  115. package/dist/.pikku/schemas/schemas/CredentialSchema_todoist.schema.json +1 -0
  116. package/dist/.pikku/schemas/schemas/DeleteCommentInput.schema.json +1 -0
  117. package/dist/.pikku/schemas/schemas/DeletePersonalLabelInput.schema.json +1 -0
  118. package/dist/.pikku/schemas/schemas/DeleteProjectInput.schema.json +1 -0
  119. package/dist/.pikku/schemas/schemas/DeleteSectionInput.schema.json +1 -0
  120. package/dist/.pikku/schemas/schemas/DeleteTaskInput.schema.json +1 -0
  121. package/dist/.pikku/schemas/schemas/GetActiveTaskInput.schema.json +1 -0
  122. package/dist/.pikku/schemas/schemas/GetActiveTaskOutput.schema.json +1 -0
  123. package/dist/.pikku/schemas/schemas/GetActiveTasksInput.schema.json +1 -0
  124. package/dist/.pikku/schemas/schemas/GetActiveTasksOutput.schema.json +1 -0
  125. package/dist/.pikku/schemas/schemas/GetAllCollaboratorsInput.schema.json +1 -0
  126. package/dist/.pikku/schemas/schemas/GetAllCollaboratorsOutput.schema.json +1 -0
  127. package/dist/.pikku/schemas/schemas/GetAllCommentsInput.schema.json +1 -0
  128. package/dist/.pikku/schemas/schemas/GetAllCommentsOutput.schema.json +1 -0
  129. package/dist/.pikku/schemas/schemas/GetAllPersonalLabelsOutput.schema.json +1 -0
  130. package/dist/.pikku/schemas/schemas/GetAllProjectsOutput.schema.json +1 -0
  131. package/dist/.pikku/schemas/schemas/GetAllSectionsInput.schema.json +1 -0
  132. package/dist/.pikku/schemas/schemas/GetAllSectionsOutput.schema.json +1 -0
  133. package/dist/.pikku/schemas/schemas/GetCommentInput.schema.json +1 -0
  134. package/dist/.pikku/schemas/schemas/GetCommentOutput.schema.json +1 -0
  135. package/dist/.pikku/schemas/schemas/GetPersonalLabelInput.schema.json +1 -0
  136. package/dist/.pikku/schemas/schemas/GetPersonalLabelOutput.schema.json +1 -0
  137. package/dist/.pikku/schemas/schemas/GetProjectInput.schema.json +1 -0
  138. package/dist/.pikku/schemas/schemas/GetProjectOutput.schema.json +1 -0
  139. package/dist/.pikku/schemas/schemas/GetSingleSectionInput.schema.json +1 -0
  140. package/dist/.pikku/schemas/schemas/GetSingleSectionOutput.schema.json +1 -0
  141. package/dist/.pikku/schemas/schemas/ReopenTaskInput.schema.json +1 -0
  142. package/dist/.pikku/schemas/schemas/UpdateCommentInput.schema.json +1 -0
  143. package/dist/.pikku/schemas/schemas/UpdateCommentOutput.schema.json +1 -0
  144. package/dist/.pikku/schemas/schemas/UpdatePersonalLabelInput.schema.json +1 -0
  145. package/dist/.pikku/schemas/schemas/UpdatePersonalLabelOutput.schema.json +1 -0
  146. package/dist/.pikku/schemas/schemas/UpdateProjectInput.schema.json +1 -0
  147. package/dist/.pikku/schemas/schemas/UpdateProjectOutput.schema.json +1 -0
  148. package/dist/.pikku/schemas/schemas/UpdateSectionInput.schema.json +1 -0
  149. package/dist/.pikku/schemas/schemas/UpdateSectionOutput.schema.json +1 -0
  150. package/dist/.pikku/schemas/schemas/UpdateTaskInput.schema.json +1 -0
  151. package/dist/.pikku/schemas/schemas/UpdateTaskOutput.schema.json +1 -0
  152. package/dist/.pikku/schemas/schemas/VariableSchema_TODOIST_BASE_URL.schema.json +1 -0
  153. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +6 -0
  154. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts.map +1 -0
  155. package/dist/.pikku/secrets/pikku-secret-types.gen.js +5 -0
  156. package/dist/.pikku/secrets/pikku-secret-types.gen.js.map +1 -0
  157. package/dist/.pikku/secrets/pikku-secret-types.gen.ts +5 -0
  158. package/dist/.pikku/secrets/pikku-secrets-meta.gen.json +1 -0
  159. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +12 -0
  160. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts.map +1 -0
  161. package/dist/.pikku/secrets/pikku-secrets.gen.js +11 -0
  162. package/dist/.pikku/secrets/pikku-secrets.gen.js.map +1 -0
  163. package/dist/.pikku/secrets/pikku-secrets.gen.ts +21 -0
  164. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +114 -0
  165. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts.map +1 -0
  166. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +34 -0
  167. package/dist/.pikku/trigger/pikku-trigger-types.gen.js.map +1 -0
  168. package/dist/.pikku/trigger/pikku-trigger-types.gen.ts +160 -0
  169. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +6 -0
  170. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts.map +1 -0
  171. package/dist/.pikku/variables/pikku-variable-types.gen.js +5 -0
  172. package/dist/.pikku/variables/pikku-variable-types.gen.js.map +1 -0
  173. package/dist/.pikku/variables/pikku-variable-types.gen.ts +5 -0
  174. package/dist/.pikku/variables/pikku-variables-meta.gen.json +10 -0
  175. package/dist/.pikku/variables/pikku-variables.gen.d.ts +15 -0
  176. package/dist/.pikku/variables/pikku-variables.gen.d.ts.map +1 -0
  177. package/dist/.pikku/variables/pikku-variables.gen.js +13 -0
  178. package/dist/.pikku/variables/pikku-variables.gen.js.map +1 -0
  179. package/dist/.pikku/variables/pikku-variables.gen.ts +23 -0
  180. package/dist/.pikku/workflow/pikku-workflow-map.gen.d.ts +38 -0
  181. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +90 -0
  182. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +1 -0
  183. package/dist/.pikku/workflow/pikku-workflow-types.gen.js +18 -0
  184. package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +1 -0
  185. package/dist/.pikku/workflow/pikku-workflow-types.gen.ts +167 -0
  186. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.d.ts +2 -0
  187. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.d.ts.map +1 -0
  188. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +7 -0
  189. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js.map +1 -0
  190. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.ts +9 -0
  191. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +5 -0
  192. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts.map +1 -0
  193. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +5 -0
  194. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js.map +1 -0
  195. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.ts +3 -0
  196. package/dist/src/functions/closeTask.function.d.ts +12 -0
  197. package/dist/src/functions/closeTask.function.d.ts.map +1 -0
  198. package/dist/src/functions/closeTask.function.js +13 -0
  199. package/dist/src/functions/closeTask.function.js.map +1 -0
  200. package/dist/src/functions/createComment.function.d.ts +73 -0
  201. package/dist/src/functions/createComment.function.d.ts.map +1 -0
  202. package/dist/src/functions/createComment.function.js +30 -0
  203. package/dist/src/functions/createComment.function.js.map +1 -0
  204. package/dist/src/functions/createPersonalLabel.function.d.ts +49 -0
  205. package/dist/src/functions/createPersonalLabel.function.d.ts.map +1 -0
  206. package/dist/src/functions/createPersonalLabel.function.js +24 -0
  207. package/dist/src/functions/createPersonalLabel.function.js.map +1 -0
  208. package/dist/src/functions/createProject.function.d.ts +81 -0
  209. package/dist/src/functions/createProject.function.d.ts.map +1 -0
  210. package/dist/src/functions/createProject.function.js +32 -0
  211. package/dist/src/functions/createProject.function.js.map +1 -0
  212. package/dist/src/functions/createSection.function.d.ts +41 -0
  213. package/dist/src/functions/createSection.function.d.ts.map +1 -0
  214. package/dist/src/functions/createSection.function.js +22 -0
  215. package/dist/src/functions/createSection.function.js.map +1 -0
  216. package/dist/src/functions/createTask.function.d.ts +197 -0
  217. package/dist/src/functions/createTask.function.d.ts.map +1 -0
  218. package/dist/src/functions/createTask.function.js +61 -0
  219. package/dist/src/functions/createTask.function.js.map +1 -0
  220. package/dist/src/functions/deleteComment.function.d.ts +12 -0
  221. package/dist/src/functions/deleteComment.function.d.ts.map +1 -0
  222. package/dist/src/functions/deleteComment.function.js +13 -0
  223. package/dist/src/functions/deleteComment.function.js.map +1 -0
  224. package/dist/src/functions/deletePersonalLabel.function.d.ts +12 -0
  225. package/dist/src/functions/deletePersonalLabel.function.d.ts.map +1 -0
  226. package/dist/src/functions/deletePersonalLabel.function.js +13 -0
  227. package/dist/src/functions/deletePersonalLabel.function.js.map +1 -0
  228. package/dist/src/functions/deleteProject.function.d.ts +12 -0
  229. package/dist/src/functions/deleteProject.function.d.ts.map +1 -0
  230. package/dist/src/functions/deleteProject.function.js +13 -0
  231. package/dist/src/functions/deleteProject.function.js.map +1 -0
  232. package/dist/src/functions/deleteSection.function.d.ts +12 -0
  233. package/dist/src/functions/deleteSection.function.d.ts.map +1 -0
  234. package/dist/src/functions/deleteSection.function.js +13 -0
  235. package/dist/src/functions/deleteSection.function.js.map +1 -0
  236. package/dist/src/functions/deleteTask.function.d.ts +12 -0
  237. package/dist/src/functions/deleteTask.function.d.ts.map +1 -0
  238. package/dist/src/functions/deleteTask.function.js +13 -0
  239. package/dist/src/functions/deleteTask.function.js.map +1 -0
  240. package/dist/src/functions/getActiveTask.function.d.ts +141 -0
  241. package/dist/src/functions/getActiveTask.function.d.ts.map +1 -0
  242. package/dist/src/functions/getActiveTask.function.js +47 -0
  243. package/dist/src/functions/getActiveTask.function.js.map +1 -0
  244. package/dist/src/functions/getActiveTasks.function.d.ts +161 -0
  245. package/dist/src/functions/getActiveTasks.function.d.ts.map +1 -0
  246. package/dist/src/functions/getActiveTasks.function.js +52 -0
  247. package/dist/src/functions/getActiveTasks.function.js.map +1 -0
  248. package/dist/src/functions/getAllCollaborators.function.d.ts +29 -0
  249. package/dist/src/functions/getAllCollaborators.function.d.ts.map +1 -0
  250. package/dist/src/functions/getAllCollaborators.function.js +19 -0
  251. package/dist/src/functions/getAllCollaborators.function.js.map +1 -0
  252. package/dist/src/functions/getAllComments.function.d.ts +45 -0
  253. package/dist/src/functions/getAllComments.function.d.ts.map +1 -0
  254. package/dist/src/functions/getAllComments.function.js +23 -0
  255. package/dist/src/functions/getAllComments.function.js.map +1 -0
  256. package/dist/src/functions/getAllPersonalLabels.function.d.ts +28 -0
  257. package/dist/src/functions/getAllPersonalLabels.function.d.ts.map +1 -0
  258. package/dist/src/functions/getAllPersonalLabels.function.js +17 -0
  259. package/dist/src/functions/getAllPersonalLabels.function.js.map +1 -0
  260. package/dist/src/functions/getAllProjects.function.d.ts +56 -0
  261. package/dist/src/functions/getAllProjects.function.d.ts.map +1 -0
  262. package/dist/src/functions/getAllProjects.function.js +24 -0
  263. package/dist/src/functions/getAllProjects.function.js.map +1 -0
  264. package/dist/src/functions/getAllSections.function.d.ts +33 -0
  265. package/dist/src/functions/getAllSections.function.d.ts.map +1 -0
  266. package/dist/src/functions/getAllSections.function.js +20 -0
  267. package/dist/src/functions/getAllSections.function.js.map +1 -0
  268. package/dist/src/functions/getComment.function.d.ts +41 -0
  269. package/dist/src/functions/getComment.function.d.ts.map +1 -0
  270. package/dist/src/functions/getComment.function.js +22 -0
  271. package/dist/src/functions/getComment.function.js.map +1 -0
  272. package/dist/src/functions/getPersonalLabel.function.d.ts +37 -0
  273. package/dist/src/functions/getPersonalLabel.function.d.ts.map +1 -0
  274. package/dist/src/functions/getPersonalLabel.function.js +21 -0
  275. package/dist/src/functions/getPersonalLabel.function.js.map +1 -0
  276. package/dist/src/functions/getProject.function.d.ts +65 -0
  277. package/dist/src/functions/getProject.function.d.ts.map +1 -0
  278. package/dist/src/functions/getProject.function.js +28 -0
  279. package/dist/src/functions/getProject.function.js.map +1 -0
  280. package/dist/src/functions/getSingleSection.function.d.ts +33 -0
  281. package/dist/src/functions/getSingleSection.function.d.ts.map +1 -0
  282. package/dist/src/functions/getSingleSection.function.js +20 -0
  283. package/dist/src/functions/getSingleSection.function.js.map +1 -0
  284. package/dist/src/functions/reopenTask.function.d.ts +12 -0
  285. package/dist/src/functions/reopenTask.function.d.ts.map +1 -0
  286. package/dist/src/functions/reopenTask.function.js +13 -0
  287. package/dist/src/functions/reopenTask.function.js.map +1 -0
  288. package/dist/src/functions/updateComment.function.d.ts +45 -0
  289. package/dist/src/functions/updateComment.function.d.ts.map +1 -0
  290. package/dist/src/functions/updateComment.function.js +23 -0
  291. package/dist/src/functions/updateComment.function.js.map +1 -0
  292. package/dist/src/functions/updatePersonalLabel.function.d.ts +53 -0
  293. package/dist/src/functions/updatePersonalLabel.function.d.ts.map +1 -0
  294. package/dist/src/functions/updatePersonalLabel.function.js +25 -0
  295. package/dist/src/functions/updatePersonalLabel.function.js.map +1 -0
  296. package/dist/src/functions/updateProject.function.d.ts +81 -0
  297. package/dist/src/functions/updateProject.function.d.ts.map +1 -0
  298. package/dist/src/functions/updateProject.function.js +32 -0
  299. package/dist/src/functions/updateProject.function.js.map +1 -0
  300. package/dist/src/functions/updateSection.function.d.ts +37 -0
  301. package/dist/src/functions/updateSection.function.d.ts.map +1 -0
  302. package/dist/src/functions/updateSection.function.js +21 -0
  303. package/dist/src/functions/updateSection.function.js.map +1 -0
  304. package/dist/src/functions/updateTask.function.d.ts +185 -0
  305. package/dist/src/functions/updateTask.function.d.ts.map +1 -0
  306. package/dist/src/functions/updateTask.function.js +58 -0
  307. package/dist/src/functions/updateTask.function.js.map +1 -0
  308. package/dist/src/index.d.ts +29 -0
  309. package/dist/src/index.d.ts.map +1 -0
  310. package/dist/src/index.js +29 -0
  311. package/dist/src/index.js.map +1 -0
  312. package/dist/src/services.d.ts +2 -0
  313. package/dist/src/services.d.ts.map +1 -0
  314. package/dist/src/services.js +14 -0
  315. package/dist/src/services.js.map +1 -0
  316. package/dist/src/todoist-api.service.d.ts +10 -0
  317. package/dist/src/todoist-api.service.d.ts.map +1 -0
  318. package/dist/src/todoist-api.service.js +297 -0
  319. package/dist/src/todoist-api.service.js.map +1 -0
  320. package/dist/src/todoist.credential.d.ts +5 -0
  321. package/dist/src/todoist.credential.d.ts.map +1 -0
  322. package/dist/src/todoist.credential.js +13 -0
  323. package/dist/src/todoist.credential.js.map +1 -0
  324. package/dist/src/todoist.types.d.ts +7 -0
  325. package/dist/src/todoist.types.d.ts.map +1 -0
  326. package/dist/src/todoist.types.js +8 -0
  327. package/dist/src/todoist.types.js.map +1 -0
  328. package/dist/src/todoist.variable.d.ts +5 -0
  329. package/dist/src/todoist.variable.d.ts.map +1 -0
  330. package/dist/src/todoist.variable.js +11 -0
  331. package/dist/src/todoist.variable.js.map +1 -0
  332. package/package.json +39 -0
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"id":{"description":"Collaborator's user ID","type":"string"},"name":{"description":"Collaborator's name","type":"string"},"email":{"description":"Collaborator's email","type":"string"}},"additionalProperties":false}}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project_id":{"description":"ID of the project used to filter comments. task_id or project_id required","type":"string"},"task_id":{"description":"ID of the task used to filter comments. task_id or project_id required","type":"string"}},"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"id":{"description":"Comment ID.","type":"string"},"task_id":{"description":"Comment's task ID (will be null if the comment belongs to a project)."},"project_id":{"description":"Comment's project ID (will be null if the comment belongs to a task)."},"posted_at":{"description":"Date and time when comment was added, in RFC3339 format in UTC.","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"content":{"description":"Comment content. This value may contain markdown-formatted text and hyperlinks. Details on markdown support can be found in the Text Formatting article in the Help Center.","type":"string"},"attachment":{"description":"Attachment file metadata (will be null if there is no attachment). Format varies depending on the type of attachment, as detailed in the Sync API documentation."}},"additionalProperties":false}}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"id":{"description":"Label ID.","type":"string"},"name":{"description":"Label name.","type":"string"},"color":{"description":"The color of the label icon. Refer to the name column in the Colors guide for more info.","type":"string"},"order":{"description":"Number used by clients to sort list of labels.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"is_favorite":{"description":"Whether the label is a favorite (a true or false value).","type":"boolean"}},"additionalProperties":false}}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"id":{"description":"Project ID.","type":"string"},"name":{"description":"Project name.","type":"string"},"color":{"description":"The color of the project icon. Refer to the name column in the Colors guide for more info.","type":"string"},"parent_id":{"description":"ID of parent project (will be null for top-level projects)."},"order":{"description":"Project position under the same parent (read-only, will be 0 for inbox and team inbox projects).","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"comment_count":{"description":"Number of project comments.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"is_shared":{"description":"Whether the project is shared (read-only, a true or false value).","type":"boolean"},"is_favorite":{"description":"Whether the project is a favorite (a true or false value).","type":"boolean"},"is_inbox_project":{"description":"Whether the project is the user's Inbox (read-only).","type":"boolean"},"is_team_inbox":{"description":"Whether the project is the Team Inbox (read-only).","type":"boolean"},"view_style":{"description":"A string value (either list or board). This determines the way the project is displayed within the Todoist clients.","type":"string"},"url":{"description":"URL to access this project in the Todoist web or mobile applications.","type":"string"}},"additionalProperties":false}}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project_id":{"description":"Project ID.","type":"string"}},"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","items":{"type":"object","properties":{"id":{"description":"Section ID","type":"string"},"project_id":{"description":"ID of the project section belongs to","type":"string"},"order":{"description":"Section position among other sections from the same project","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"name":{"description":"Section name","type":"string"}},"additionalProperties":false}}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"comment_id":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"The ID of the comment to retrieve."}},"required":["comment_id"],"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"description":"Comment ID.","type":"string"},"task_id":{"description":"Comment's task ID (will be null if the comment belongs to a project)."},"project_id":{"description":"Comment's project ID (will be null if the comment belongs to a task)."},"posted_at":{"description":"Date and time when comment was added, in RFC3339 format in UTC.","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"content":{"description":"Comment content. This value may contain markdown-formatted text and hyperlinks. Details on markdown support can be found in the Text Formatting article in the Help Center.","type":"string"},"attachment":{"description":"Attachment file metadata (will be null if there is no attachment). Format varies depending on the type of attachment, as detailed in the Sync API documentation."}},"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"label_id":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"The ID of the label to retrieve."}},"required":["label_id"],"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"description":"Label ID.","type":"string"},"name":{"description":"Label name.","type":"string"},"color":{"description":"The color of the label icon. Refer to the name column in the Colors guide for more info.","type":"string"},"order":{"description":"Number used by clients to sort list of labels.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"is_favorite":{"description":"Whether the label is a favorite (a true or false value).","type":"boolean"}},"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"projectId":{"type":"string","description":"Project ID."}},"required":["projectId"],"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"description":"Project ID.","type":"string"},"name":{"description":"Project name.","type":"string"},"color":{"description":"The color of the project icon. Refer to the name column in the Colors guide for more info.","type":"string"},"parent_id":{"description":"ID of parent project (will be null for top-level projects)."},"order":{"description":"Project position under the same parent (read-only, will be 0 for inbox and team inbox projects).","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"comment_count":{"description":"Number of project comments.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"is_shared":{"description":"Whether the project is shared (read-only, a true or false value).","type":"boolean"},"is_favorite":{"description":"Whether the project is a favorite (a true or false value).","type":"boolean"},"is_inbox_project":{"description":"Whether the project is the user's Inbox (read-only).","type":"boolean"},"is_team_inbox":{"description":"Whether the project is the Team Inbox (read-only).","type":"boolean"},"view_style":{"description":"A string value (either list or board). This determines the way the project is displayed within the Todoist clients.","type":"string"},"url":{"description":"URL to access this project in the Todoist web or mobile applications.","type":"string"}},"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"sectionId":{"type":"string","description":"Section ID."}},"required":["sectionId"],"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"description":"Section ID","type":"string"},"project_id":{"description":"ID of the project section belongs to","type":"string"},"order":{"description":"Section position among other sections from the same project","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"name":{"description":"Section name","type":"string"}},"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"taskId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"The ID of the task to reopen."}},"required":["taskId"],"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"comment_id":{"type":"string","description":"The ID of the comment to update."},"content":{"type":"string","description":"New content for the comment. This value may contain markdown-formatted text and hyperlinks."}},"required":["comment_id","content"],"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"description":"Comment ID.","type":"string"},"task_id":{"description":"Comment's task ID (will be null if the comment belongs to a project)."},"project_id":{"description":"Comment's project ID (will be null if the comment belongs to a task)."},"posted_at":{"description":"Date and time when comment was added, in RFC3339 format in UTC.","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"content":{"description":"Comment content. This value may contain markdown-formatted text and hyperlinks. Details on markdown support can be found in the Text Formatting article in the Help Center.","type":"string"},"attachment":{"description":"Attachment file metadata (will be null if there is no attachment). Format varies depending on the type of attachment, as detailed in the Sync API documentation."}},"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"label_id":{"type":"string","description":"The ID of the label to update."},"name":{"description":"New name of the label.","type":"string"},"order":{"description":"Number that is used by clients to sort the list of labels.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"color":{"description":"The color of the label icon. Refer to the name column in the Colors guide for more info.","type":"string"},"is_favorite":{"description":"Whether the label is a favorite (a true or false value).","type":"boolean"}},"required":["label_id"],"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"description":"Label ID.","type":"string"},"name":{"description":"Label name.","type":"string"},"color":{"description":"The color of the label icon. Refer to the name column in the Colors guide for more info.","type":"string"},"order":{"description":"Number used by clients to sort list of labels.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"is_favorite":{"description":"Whether the label is a favorite (a true or false value).","type":"boolean"}},"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"projectId":{"type":"string","description":"Project ID."},"name":{"description":"Name of the project","type":"string"},"color":{"description":"The color of the project icon. Refer to the name column in the Colors guide for more info. https://developer.todoist.com/guides/#colors","type":"string"},"is_favorite":{"description":"Whether the project is a favorite (a true or false value).","type":"boolean"},"view_style":{"description":"A string value (either list or board, default is list). This determines the way the project is displayed within the Todoist clients.","type":"string"}},"required":["projectId"],"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"description":"Project ID.","type":"string"},"name":{"description":"Project name.","type":"string"},"color":{"description":"The color of the project icon. Refer to the name column in the Colors guide for more info.","type":"string"},"parent_id":{"description":"ID of parent project (will be null for top-level projects)."},"order":{"description":"Project position under the same parent (read-only, will be 0 for inbox and team inbox projects).","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"comment_count":{"description":"Number of project comments.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"is_shared":{"description":"Whether the project is shared (read-only, a true or false value).","type":"boolean"},"is_favorite":{"description":"Whether the project is a favorite (a true or false value).","type":"boolean"},"is_inbox_project":{"description":"Whether the project is the user's Inbox (read-only).","type":"boolean"},"is_team_inbox":{"description":"Whether the project is the Team Inbox (read-only).","type":"boolean"},"view_style":{"description":"A string value (either list or board). This determines the way the project is displayed within the Todoist clients.","type":"string"},"url":{"description":"URL to access this project in the Todoist web or mobile applications.","type":"string"}},"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"sectionId":{"type":"string","description":"Section ID."},"name":{"type":"string","description":"Section name."}},"required":["sectionId","name"],"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"description":"Section ID","type":"string"},"project_id":{"description":"ID of the project section belongs to","type":"string"},"order":{"description":"Section position among other sections from the same project","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"name":{"description":"Section name","type":"string"}},"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"taskId":{"type":"string","description":"The ID of the task to update."},"content":{"description":"Task content. This value may contain markdown-formatted text and hyperlinks.","type":"string"},"description":{"description":"A description for the task. This value may contain markdown-formatted text and hyperlinks.","type":"string"},"labels":{"description":"The task's labels (a list of names that may represent either personal or shared labels).","type":"array","items":{"type":"string"}},"priority":{"description":"Task priority from 1 (normal) to 4 (urgent).","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"due_string":{"description":"Human-defined task due date (ex. \"next Monday,\" \"Tomorrow\"). Value is set using local (not UTC) time.","type":"string"},"due_date":{"description":"Specific date in YYYY-MM-DD format relative to the user's timezone.","type":"string"},"due_datetime":{"description":"Specific date and time in RFC3339 format in UTC.","type":"string"},"due_lang":{"description":"2-letter code specifying the language in case due_string is not written in English.","type":"string"},"assignee_id":{"description":"The responsible user ID or null to unset (for shared tasks).","type":"string"},"duration":{"description":"A positive integer for the task duration, or null to unset. If specified, you must define a duration_unit.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"duration_unit":{"description":"The unit of time for the duration. Must be either 'minute' or 'day'.","type":"string"}},"required":["taskId"],"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"description":"Task ID.","type":"string"},"project_id":{"description":"Task's project ID (read-only).","type":"string"},"section_id":{"description":"ID of section task belongs to (read-only, will be null when the task has no parent section)."},"content":{"description":"Task content. This value may contain markdown-formatted text and hyperlinks. Details on markdown support can be found in the Text Formatting article in the Help Center.","type":"string"},"description":{"description":"A description for the task. This value may contain markdown-formatted text and hyperlinks. Details on markdown support can be found in the Text Formatting article in the Help Center.","type":"string"},"is_completed":{"description":"Flag to mark completed tasks.","type":"boolean"},"labels":{"type":"array","items":{"type":"string"}},"parent_id":{"description":"ID of parent task (read-only, will be null for top-level tasks)."},"order":{"description":"Position under the same parent or project for top-level tasks (read-only).","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"priority":{"description":"Task priority from 1 (normal, default value) to 4 (urgent).","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"due":{"description":"Object representing task due date/time, or null if no date is set.","type":"object","properties":{"dueObject":{"type":"object","properties":{"string":{"type":"string","description":"Human defined date in arbitrary format."},"date":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Date in format YYYY-MM-DD corrected to user's timezone."},"is_recurring":{"type":"boolean","description":"Whether the task has a recurring due date."},"datetime":{"description":"Only returned if exact due time set (i.e. it's not a whole-day task), date and time in RFC3339 format in UTC.","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"timezone":{"description":"Only returned if exact due time set, user's timezone definition either in tzdata-compatible format (\"Europe/Berlin\") or as a string specifying east of UTC offset as \"UTC±HH:MM\" (i.e. \"UTC-01:00\").","type":"string"}},"required":["string","date","is_recurring"],"additionalProperties":false}},"additionalProperties":false},"url":{"description":"URL to access this task in the Todoist web or mobile applications (read-only).","type":"string"},"comment_count":{"description":"Number of task comments (read-only).","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"created_at":{"description":"The date when the task was created (read-only).","type":"string"},"creator_id":{"description":"The ID of the user who created the task (read-only).","type":"string"},"assignee_id":{"description":"The responsible user ID (will be null if the task is unassigned)."},"assigner_id":{"description":"The ID of the user who assigned the task (read-only, will be null if the task is unassigned)."},"duration":{"description":"Object representing a task's duration, including a positive integer for the amount of time and the unit of time (minute or day). The object will be null if the task has no duration.","type":"object","properties":{"durationObject":{"type":"object","properties":{"amount":{"description":"A positive (greater than zero) integer for the amount of duration_unit the task will take, or null to unset. If specified, you must define a duration_unit."},"unit":{"description":"The unit of time that the duration field above represents, or null to unset. Must be either minute or day. If specified, duration must be defined as well."}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","default":"https://api.todoist.com/rest/v2","type":"string","enum":["https://api.todoist.com/rest/v2"]}
@@ -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'
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ import { TypedSecretService as CoreTypedSecretService } from '@pikku/core/services';
5
+ import type { SecretService } from '@pikku/core/services';
6
+ export interface CredentialsMap {
7
+ }
8
+ export type SecretId = keyof CredentialsMap;
9
+ export declare class TypedSecretService extends CoreTypedSecretService<CredentialsMap> {
10
+ constructor(secrets: SecretService);
11
+ }
12
+ //# sourceMappingURL=pikku-secrets.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-secrets.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/secrets/pikku-secrets.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,kBAAkB,IAAI,sBAAsB,EAAuB,MAAM,sBAAsB,CAAA;AACxG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAEzD,MAAM,WAAW,cAAc;CAE9B;AAED,MAAM,MAAM,QAAQ,GAAG,MAAM,cAAc,CAAA;AAM3C,qBAAa,kBAAmB,SAAQ,sBAAsB,CAAC,cAAc,CAAC;gBAChE,OAAO,EAAE,aAAa;CAGnC"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ import { TypedSecretService as CoreTypedSecretService } from '@pikku/core/services';
5
+ const CREDENTIALS_META = {};
6
+ export class TypedSecretService extends CoreTypedSecretService {
7
+ constructor(secrets) {
8
+ super(secrets, CREDENTIALS_META);
9
+ }
10
+ }
11
+ //# sourceMappingURL=pikku-secrets.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-secrets.gen.js","sourceRoot":"","sources":["../../../.pikku/secrets/pikku-secrets.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,kBAAkB,IAAI,sBAAsB,EAAuB,MAAM,sBAAsB,CAAA;AASxG,MAAM,gBAAgB,GAAmC,EAExD,CAAA;AAED,MAAM,OAAO,kBAAmB,SAAQ,sBAAsC;IAC5E,YAAY,OAAsB;QAChC,KAAK,CAAC,OAAO,EAAE,gBAAgB,CAAC,CAAA;IAClC,CAAC;CACF"}
@@ -0,0 +1,21 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
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
+ }
@@ -0,0 +1,114 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ /**
5
+ * Trigger-specific type definitions for tree-shaking optimization
6
+ */
7
+ import { CorePikkuTriggerFunction, CorePikkuTriggerFunctionConfig, CoreTrigger } from '@pikku/core/trigger';
8
+ import type { CoreNodeConfig } from '@pikku/core/node';
9
+ import type { SingletonServices } from '../../types/application-types.d.js';
10
+ import type { StandardSchemaV1 } from '@standard-schema/spec';
11
+ /**
12
+ * A trigger function that sets up a subscription and returns a teardown function.
13
+ * The trigger is fired via wire.trigger.invoke(data).
14
+ *
15
+ * @template TInput - Input type (configuration passed when wired)
16
+ * @template TOutput - Output type produced when trigger fires
17
+ */
18
+ export type PikkuTriggerFunction<TInput = unknown, TOutput = unknown> = CorePikkuTriggerFunction<TInput, TOutput, SingletonServices>;
19
+ /**
20
+ * Configuration object for creating a trigger function with metadata
21
+ */
22
+ export type PikkuTriggerFunctionConfig<TInput = unknown, TOutput = unknown, InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined> = CorePikkuTriggerFunctionConfig<TInput, TOutput, SingletonServices, InputSchema, OutputSchema>;
23
+ /**
24
+ * Helper type to infer the output type from a Standard Schema
25
+ */
26
+ type InferSchemaOutput<T> = T extends StandardSchemaV1<any, infer Output> ? Output : never;
27
+ /**
28
+ * Configuration object for trigger functions with Zod schema validation.
29
+ * Use this when you want to define input/output schemas using Zod.
30
+ * Types are automatically inferred from the schemas.
31
+ */
32
+ export type PikkuTriggerFunctionConfigWithSchema<InputSchema extends StandardSchemaV1, OutputSchema extends StandardSchemaV1 | undefined = undefined> = {
33
+ title?: string;
34
+ description?: string;
35
+ tags?: string[];
36
+ func: PikkuTriggerFunction<InferSchemaOutput<InputSchema>, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown>;
37
+ input: InputSchema;
38
+ output?: OutputSchema;
39
+ node?: CoreNodeConfig;
40
+ };
41
+ /**
42
+ * Type definition for trigger wirings.
43
+ * Declares a trigger name and its target pikku function.
44
+ */
45
+ export type TriggerWiring = CoreTrigger;
46
+ /**
47
+ * A trigger source with the subscription function, using project-specific services.
48
+ *
49
+ * @template TInput - Input type passed to the trigger function
50
+ * @template TOutput - Output type produced when trigger fires
51
+ */
52
+ export type TriggerSource<TInput = unknown, TOutput = unknown> = {
53
+ name: string;
54
+ func: PikkuTriggerFunctionConfig<TInput, TOutput>;
55
+ } & (unknown extends TInput ? {
56
+ input?: TInput;
57
+ } : {
58
+ input: TInput;
59
+ });
60
+ /**
61
+ * Creates a trigger function configuration.
62
+ * Use this to define trigger functions that set up subscriptions.
63
+ *
64
+ * @param triggerOrConfig - Function definition or configuration object
65
+ * @returns The normalized configuration object
66
+ *
67
+ * @example
68
+ * ```typescript
69
+ * export const redisSubscribeTrigger = pikkuTriggerFunc<
70
+ * { channel: string },
71
+ * { message: string }
72
+ * >(async ({ redis }, { channel }, { trigger }) => {
73
+ * const subscriber = redis.duplicate()
74
+ * await subscriber.subscribe(channel, (msg) => {
75
+ * trigger.invoke({ message: msg })
76
+ * })
77
+ * return () => subscriber.unsubscribe()
78
+ * })
79
+ *
80
+ * export const redisSubscribeTrigger = pikkuTriggerFunc({
81
+ * title: 'Redis Subscribe Trigger',
82
+ * description: 'Listens to Redis pub/sub channel',
83
+ * input: z.object({ channel: z.string() }),
84
+ * output: z.object({ message: z.string() }),
85
+ * func: async ({ redis }, { channel }, { trigger }) => {
86
+ * const subscriber = redis.duplicate()
87
+ * await subscriber.subscribe(channel, (msg) => {
88
+ * trigger.invoke({ message: msg })
89
+ * })
90
+ * return () => subscriber.unsubscribe()
91
+ * }
92
+ * })
93
+ * ```
94
+ */
95
+ export declare function pikkuTriggerFunc<InputSchema extends StandardSchemaV1, OutputSchema extends StandardSchemaV1 | undefined = undefined>(config: PikkuTriggerFunctionConfigWithSchema<InputSchema, OutputSchema>): PikkuTriggerFunctionConfig<InferSchemaOutput<InputSchema>, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown, InputSchema, OutputSchema>;
96
+ export declare function pikkuTriggerFunc<TInput, TOutput = unknown>(triggerOrConfig: PikkuTriggerFunction<TInput, TOutput> | PikkuTriggerFunctionConfig<TInput, TOutput>): PikkuTriggerFunctionConfig<TInput, TOutput>;
97
+ /**
98
+ * Registers a trigger with the Pikku framework.
99
+ * Declares a trigger name and its target pikku function.
100
+ * Runs everywhere — inspector extracts at build time.
101
+ *
102
+ * @param trigger - Trigger definition with name and function config
103
+ */
104
+ export declare const wireTrigger: (trigger: TriggerWiring) => void;
105
+ /**
106
+ * Registers a trigger source with the Pikku framework.
107
+ * Provides the subscription function and input data.
108
+ * Only imported in the trigger worker process.
109
+ *
110
+ * @param source - Trigger source with name, func, and input
111
+ */
112
+ export declare const wireTriggerSource: <TInput = unknown, TOutput = unknown>(source: TriggerSource<TInput, TOutput>) => void;
113
+ export {};
114
+ //# sourceMappingURL=pikku-trigger-types.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-trigger-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/trigger/pikku-trigger-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,EAAE,wBAAwB,EAAE,8BAA8B,EAAE,WAAW,EAA8E,MAAM,qBAAqB,CAAA;AACvL,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAA;AAC3E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAI7D;;;;;;GAMG;AACH,MAAM,MAAM,oBAAoB,CAC9B,MAAM,GAAG,OAAO,EAChB,OAAO,GAAG,OAAO,IACf,wBAAwB,CAAC,MAAM,EAAE,OAAO,EAAE,iBAAiB,CAAC,CAAA;AAEhE;;GAEG;AACH,MAAM,MAAM,0BAA0B,CACpC,MAAM,GAAG,OAAO,EAChB,OAAO,GAAG,OAAO,EACjB,WAAW,SAAS,gBAAgB,GAAG,SAAS,GAAG,SAAS,EAC5D,YAAY,SAAS,gBAAgB,GAAG,SAAS,GAAG,SAAS,IAC3D,8BAA8B,CAAC,MAAM,EAAE,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,YAAY,CAAC,CAAA;AAEjG;;GAEG;AACH,KAAK,iBAAiB,CAAC,CAAC,IAAI,CAAC,SAAS,gBAAgB,CAAC,GAAG,EAAE,MAAM,MAAM,CAAC,GAAG,MAAM,GAAG,KAAK,CAAA;AAE1F;;;;GAIG;AACH,MAAM,MAAM,oCAAoC,CAC9C,WAAW,SAAS,gBAAgB,EACpC,YAAY,SAAS,gBAAgB,GAAG,SAAS,GAAG,SAAS,IAC3D;IACF,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;IACf,IAAI,EAAE,oBAAoB,CACxB,iBAAiB,CAAC,WAAW,CAAC,EAC9B,YAAY,SAAS,gBAAgB,GAAG,iBAAiB,CAAC,YAAY,CAAC,GAAG,OAAO,CAClF,CAAA;IACD,KAAK,EAAE,WAAW,CAAA;IAClB,MAAM,CAAC,EAAE,YAAY,CAAA;IACrB,IAAI,CAAC,EAAE,cAAc,CAAA;CACtB,CAAA;AAED;;;GAGG;AACH,MAAM,MAAM,aAAa,GAAG,WAAW,CAAA;AAEvC;;;;;GAKG;AACH,MAAM,MAAM,aAAa,CACvB,MAAM,GAAG,OAAO,EAChB,OAAO,GAAG,OAAO,IACf;IACF,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,0BAA0B,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAClD,GAAG,CAAC,OAAO,SAAS,MAAM,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC,CAAA;AAErE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,wBAAgB,gBAAgB,CAC9B,WAAW,SAAS,gBAAgB,EACpC,YAAY,SAAS,gBAAgB,GAAG,SAAS,GAAG,SAAS,EAE7D,MAAM,EAAE,oCAAoC,CAAC,WAAW,EAAE,YAAY,CAAC,GACtE,0BAA0B,CAAC,iBAAiB,CAAC,WAAW,CAAC,EAAE,YAAY,SAAS,gBAAgB,GAAG,iBAAiB,CAAC,YAAY,CAAC,GAAG,OAAO,EAAE,WAAW,EAAE,YAAY,CAAC,CAAA;AAC3K,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,OAAO,GAAG,OAAO,EACxD,eAAe,EACX,oBAAoB,CAAC,MAAM,EAAE,OAAO,CAAC,GACrC,0BAA0B,CAAC,MAAM,EAAE,OAAO,CAAC,GAC9C,0BAA0B,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AAQ9C;;;;;;GAMG;AACH,eAAO,MAAM,WAAW,GACtB,SAAS,aAAa,SAGvB,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,GAAI,MAAM,GAAG,OAAO,EAAE,OAAO,GAAG,OAAO,EACnE,QAAQ,aAAa,CAAC,MAAM,EAAE,OAAO,CAAC,SAGvC,CAAA"}
@@ -0,0 +1,34 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ /**
5
+ * Trigger-specific type definitions for tree-shaking optimization
6
+ */
7
+ import { wireTrigger as wireTriggerCore, wireTriggerSource as wireTriggerSourceCore } from '@pikku/core/trigger';
8
+ export function pikkuTriggerFunc(triggerOrConfig) {
9
+ if (typeof triggerOrConfig === 'function') {
10
+ return { func: triggerOrConfig };
11
+ }
12
+ return triggerOrConfig;
13
+ }
14
+ /**
15
+ * Registers a trigger with the Pikku framework.
16
+ * Declares a trigger name and its target pikku function.
17
+ * Runs everywhere — inspector extracts at build time.
18
+ *
19
+ * @param trigger - Trigger definition with name and function config
20
+ */
21
+ export const wireTrigger = (trigger) => {
22
+ wireTriggerCore(trigger);
23
+ };
24
+ /**
25
+ * Registers a trigger source with the Pikku framework.
26
+ * Provides the subscription function and input data.
27
+ * Only imported in the trigger worker process.
28
+ *
29
+ * @param source - Trigger source with name, func, and input
30
+ */
31
+ export const wireTriggerSource = (source) => {
32
+ wireTriggerSourceCore(source);
33
+ };
34
+ //# sourceMappingURL=pikku-trigger-types.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-trigger-types.gen.js","sourceRoot":"","sources":["../../../.pikku/trigger/pikku-trigger-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,EAAyE,WAAW,IAAI,eAAe,EAAE,iBAAiB,IAAI,qBAAqB,EAAE,MAAM,qBAAqB,CAAA;AAyHvL,MAAM,UAAU,gBAAgB,CAAC,eAAoB;IACnD,IAAI,OAAO,eAAe,KAAK,UAAU,EAAE,CAAC;QAC1C,OAAO,EAAE,IAAI,EAAE,eAAe,EAAE,CAAA;IAClC,CAAC;IACD,OAAO,eAAe,CAAA;AACxB,CAAC;AAED;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,CACzB,OAAsB,EACtB,EAAE;IACF,eAAe,CAAC,OAAc,CAAC,CAAA;AACjC,CAAC,CAAA;AAED;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAC/B,MAAsC,EACtC,EAAE;IACF,qBAAqB,CAAC,MAAa,CAAC,CAAA;AACtC,CAAC,CAAA"}
@@ -0,0 +1,160 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
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
+ }
@@ -0,0 +1,6 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ export { wireVariable } from '@pikku/core/variable';
5
+ export type { CoreVariable, VariableDefinitionMeta, VariableDefinitionsMeta } from '@pikku/core/variable';
6
+ //# sourceMappingURL=pikku-variable-types.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-variable-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/variables/pikku-variable-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACnD,YAAY,EAAE,YAAY,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ export { wireVariable } from '@pikku/core/variable';
5
+ //# sourceMappingURL=pikku-variable-types.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-variable-types.gen.js","sourceRoot":"","sources":["../../../.pikku/variables/pikku-variable-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ export { wireVariable } from '@pikku/core/variable'
5
+ export type { CoreVariable, VariableDefinitionMeta, VariableDefinitionsMeta } from '@pikku/core/variable'
@@ -0,0 +1,10 @@
1
+ {
2
+ "TODOIST_BASE_URL": {
3
+ "name": "TODOIST_BASE_URL",
4
+ "displayName": "Todoist Base URL",
5
+ "description": "The base URL for the Todoist API.",
6
+ "variableId": "TODOIST_BASE_URL",
7
+ "schema": "VariableSchema_TODOIST_BASE_URL",
8
+ "sourceFile": "/home/runner/work/addons/addons/packages/automation/todoist/src/todoist.variable.ts"
9
+ }
10
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ import { TypedVariablesService as CoreTypedVariablesService } from '@pikku/core/services';
5
+ import type { VariablesService } from '@pikku/core/services';
6
+ import type { z } from 'zod';
7
+ import { todoistBaseUrlSchema } from '../../src/todoist.variable.js';
8
+ export interface VariablesMap {
9
+ 'TODOIST_BASE_URL': z.infer<typeof todoistBaseUrlSchema>;
10
+ }
11
+ export type VariableId = keyof VariablesMap;
12
+ export declare class TypedVariablesService extends CoreTypedVariablesService<VariablesMap> {
13
+ constructor(variables: VariablesService);
14
+ }
15
+ //# sourceMappingURL=pikku-variables.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-variables.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/variables/pikku-variables.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,qBAAqB,IAAI,yBAAyB,EAAqB,MAAM,sBAAsB,CAAA;AAC5G,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAC5D,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAC5B,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAA;AAEpE,MAAM,WAAW,YAAY;IAC3B,kBAAkB,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;CACzD;AAED,MAAM,MAAM,UAAU,GAAG,MAAM,YAAY,CAAA;AAM3C,qBAAa,qBAAsB,SAAQ,yBAAyB,CAAC,YAAY,CAAC;gBACpE,SAAS,EAAE,gBAAgB;CAGxC"}