@studiometa/forge-core 0.0.1 → 0.2.0

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 (254) hide show
  1. package/README.md +151 -0
  2. package/dist/constants.d.ts +13 -0
  3. package/dist/constants.d.ts.map +1 -0
  4. package/dist/context.d.ts +30 -0
  5. package/dist/context.d.ts.map +1 -0
  6. package/dist/executors/backups/create.d.ts +8 -0
  7. package/dist/executors/backups/create.d.ts.map +1 -0
  8. package/dist/executors/backups/delete.d.ts +7 -0
  9. package/dist/executors/backups/delete.d.ts.map +1 -0
  10. package/dist/executors/backups/get.d.ts +8 -0
  11. package/dist/executors/backups/get.d.ts.map +1 -0
  12. package/dist/executors/backups/index.d.ts +6 -0
  13. package/dist/executors/backups/index.d.ts.map +1 -0
  14. package/dist/executors/backups/list.d.ts +8 -0
  15. package/dist/executors/backups/list.d.ts.map +1 -0
  16. package/dist/executors/backups/types.d.ts +31 -0
  17. package/dist/executors/backups/types.d.ts.map +1 -0
  18. package/dist/executors/certificates/activate.d.ts +7 -0
  19. package/dist/executors/certificates/activate.d.ts.map +1 -0
  20. package/dist/executors/certificates/create.d.ts +8 -0
  21. package/dist/executors/certificates/create.d.ts.map +1 -0
  22. package/dist/executors/certificates/delete.d.ts +7 -0
  23. package/dist/executors/certificates/delete.d.ts.map +1 -0
  24. package/dist/executors/certificates/get.d.ts +8 -0
  25. package/dist/executors/certificates/get.d.ts.map +1 -0
  26. package/dist/executors/certificates/index.d.ts +7 -0
  27. package/dist/executors/certificates/index.d.ts.map +1 -0
  28. package/dist/executors/certificates/list.d.ts +8 -0
  29. package/dist/executors/certificates/list.d.ts.map +1 -0
  30. package/dist/executors/certificates/types.d.ts +43 -0
  31. package/dist/executors/certificates/types.d.ts.map +1 -0
  32. package/dist/executors/commands/create.d.ts +8 -0
  33. package/dist/executors/commands/create.d.ts.map +1 -0
  34. package/dist/executors/commands/get.d.ts +8 -0
  35. package/dist/executors/commands/get.d.ts.map +1 -0
  36. package/dist/executors/commands/index.d.ts +5 -0
  37. package/dist/executors/commands/index.d.ts.map +1 -0
  38. package/dist/executors/commands/list.d.ts +8 -0
  39. package/dist/executors/commands/list.d.ts.map +1 -0
  40. package/dist/executors/commands/types.d.ts +27 -0
  41. package/dist/executors/commands/types.d.ts.map +1 -0
  42. package/dist/executors/daemons/create.d.ts +8 -0
  43. package/dist/executors/daemons/create.d.ts.map +1 -0
  44. package/dist/executors/daemons/delete.d.ts +7 -0
  45. package/dist/executors/daemons/delete.d.ts.map +1 -0
  46. package/dist/executors/daemons/get.d.ts +8 -0
  47. package/dist/executors/daemons/get.d.ts.map +1 -0
  48. package/dist/executors/daemons/index.d.ts +7 -0
  49. package/dist/executors/daemons/index.d.ts.map +1 -0
  50. package/dist/executors/daemons/list.d.ts +8 -0
  51. package/dist/executors/daemons/list.d.ts.map +1 -0
  52. package/dist/executors/daemons/restart.d.ts +7 -0
  53. package/dist/executors/daemons/restart.d.ts.map +1 -0
  54. package/dist/executors/daemons/types.d.ts +38 -0
  55. package/dist/executors/daemons/types.d.ts.map +1 -0
  56. package/dist/executors/database-users/create.d.ts +8 -0
  57. package/dist/executors/database-users/create.d.ts.map +1 -0
  58. package/dist/executors/database-users/delete.d.ts +7 -0
  59. package/dist/executors/database-users/delete.d.ts.map +1 -0
  60. package/dist/executors/database-users/get.d.ts +8 -0
  61. package/dist/executors/database-users/get.d.ts.map +1 -0
  62. package/dist/executors/database-users/index.d.ts +6 -0
  63. package/dist/executors/database-users/index.d.ts.map +1 -0
  64. package/dist/executors/database-users/list.d.ts +8 -0
  65. package/dist/executors/database-users/list.d.ts.map +1 -0
  66. package/dist/executors/database-users/types.d.ts +31 -0
  67. package/dist/executors/database-users/types.d.ts.map +1 -0
  68. package/dist/executors/databases/create.d.ts +8 -0
  69. package/dist/executors/databases/create.d.ts.map +1 -0
  70. package/dist/executors/databases/delete.d.ts +7 -0
  71. package/dist/executors/databases/delete.d.ts.map +1 -0
  72. package/dist/executors/databases/get.d.ts +8 -0
  73. package/dist/executors/databases/get.d.ts.map +1 -0
  74. package/dist/executors/databases/index.d.ts +6 -0
  75. package/dist/executors/databases/index.d.ts.map +1 -0
  76. package/dist/executors/databases/list.d.ts +8 -0
  77. package/dist/executors/databases/list.d.ts.map +1 -0
  78. package/dist/executors/databases/types.d.ts +31 -0
  79. package/dist/executors/databases/types.d.ts.map +1 -0
  80. package/dist/executors/deployments/deploy-and-wait.d.ts +13 -0
  81. package/dist/executors/deployments/deploy-and-wait.d.ts.map +1 -0
  82. package/dist/executors/deployments/deploy.d.ts +7 -0
  83. package/dist/executors/deployments/deploy.d.ts.map +1 -0
  84. package/dist/executors/deployments/get-log.d.ts +7 -0
  85. package/dist/executors/deployments/get-log.d.ts.map +1 -0
  86. package/dist/executors/deployments/get-output.d.ts +7 -0
  87. package/dist/executors/deployments/get-output.d.ts.map +1 -0
  88. package/dist/executors/deployments/get-script.d.ts +7 -0
  89. package/dist/executors/deployments/get-script.d.ts.map +1 -0
  90. package/dist/executors/deployments/index.d.ts +9 -0
  91. package/dist/executors/deployments/index.d.ts.map +1 -0
  92. package/dist/executors/deployments/list.d.ts +8 -0
  93. package/dist/executors/deployments/list.d.ts.map +1 -0
  94. package/dist/executors/deployments/types.d.ts +72 -0
  95. package/dist/executors/deployments/types.d.ts.map +1 -0
  96. package/dist/executors/deployments/update-script.d.ts +7 -0
  97. package/dist/executors/deployments/update-script.d.ts.map +1 -0
  98. package/dist/executors/env/get.d.ts +7 -0
  99. package/dist/executors/env/get.d.ts.map +1 -0
  100. package/dist/executors/env/index.d.ts +4 -0
  101. package/dist/executors/env/index.d.ts.map +1 -0
  102. package/dist/executors/env/types.d.ts +19 -0
  103. package/dist/executors/env/types.d.ts.map +1 -0
  104. package/dist/executors/env/update.d.ts +7 -0
  105. package/dist/executors/env/update.d.ts.map +1 -0
  106. package/dist/executors/firewall-rules/create.d.ts +5 -0
  107. package/dist/executors/firewall-rules/create.d.ts.map +1 -0
  108. package/dist/executors/firewall-rules/delete.d.ts +4 -0
  109. package/dist/executors/firewall-rules/delete.d.ts.map +1 -0
  110. package/dist/executors/firewall-rules/get.d.ts +5 -0
  111. package/dist/executors/firewall-rules/get.d.ts.map +1 -0
  112. package/dist/executors/firewall-rules/index.d.ts +6 -0
  113. package/dist/executors/firewall-rules/index.d.ts.map +1 -0
  114. package/dist/executors/firewall-rules/list.d.ts +5 -0
  115. package/dist/executors/firewall-rules/list.d.ts.map +1 -0
  116. package/dist/executors/firewall-rules/types.d.ts +31 -0
  117. package/dist/executors/firewall-rules/types.d.ts.map +1 -0
  118. package/dist/executors/monitors/create.d.ts +5 -0
  119. package/dist/executors/monitors/create.d.ts.map +1 -0
  120. package/dist/executors/monitors/delete.d.ts +4 -0
  121. package/dist/executors/monitors/delete.d.ts.map +1 -0
  122. package/dist/executors/monitors/get.d.ts +5 -0
  123. package/dist/executors/monitors/get.d.ts.map +1 -0
  124. package/dist/executors/monitors/index.d.ts +6 -0
  125. package/dist/executors/monitors/index.d.ts.map +1 -0
  126. package/dist/executors/monitors/list.d.ts +5 -0
  127. package/dist/executors/monitors/list.d.ts.map +1 -0
  128. package/dist/executors/monitors/types.d.ts +31 -0
  129. package/dist/executors/monitors/types.d.ts.map +1 -0
  130. package/dist/executors/nginx/get.d.ts +7 -0
  131. package/dist/executors/nginx/get.d.ts.map +1 -0
  132. package/dist/executors/nginx/index.d.ts +4 -0
  133. package/dist/executors/nginx/index.d.ts.map +1 -0
  134. package/dist/executors/nginx/types.d.ts +19 -0
  135. package/dist/executors/nginx/types.d.ts.map +1 -0
  136. package/dist/executors/nginx/update.d.ts +7 -0
  137. package/dist/executors/nginx/update.d.ts.map +1 -0
  138. package/dist/executors/nginx-templates/create.d.ts +5 -0
  139. package/dist/executors/nginx-templates/create.d.ts.map +1 -0
  140. package/dist/executors/nginx-templates/delete.d.ts +4 -0
  141. package/dist/executors/nginx-templates/delete.d.ts.map +1 -0
  142. package/dist/executors/nginx-templates/get.d.ts +5 -0
  143. package/dist/executors/nginx-templates/get.d.ts.map +1 -0
  144. package/dist/executors/nginx-templates/index.d.ts +7 -0
  145. package/dist/executors/nginx-templates/index.d.ts.map +1 -0
  146. package/dist/executors/nginx-templates/list.d.ts +5 -0
  147. package/dist/executors/nginx-templates/list.d.ts.map +1 -0
  148. package/dist/executors/nginx-templates/types.d.ts +40 -0
  149. package/dist/executors/nginx-templates/types.d.ts.map +1 -0
  150. package/dist/executors/nginx-templates/update.d.ts +5 -0
  151. package/dist/executors/nginx-templates/update.d.ts.map +1 -0
  152. package/dist/executors/recipes/create.d.ts +5 -0
  153. package/dist/executors/recipes/create.d.ts.map +1 -0
  154. package/dist/executors/recipes/delete.d.ts +4 -0
  155. package/dist/executors/recipes/delete.d.ts.map +1 -0
  156. package/dist/executors/recipes/get.d.ts +5 -0
  157. package/dist/executors/recipes/get.d.ts.map +1 -0
  158. package/dist/executors/recipes/index.d.ts +7 -0
  159. package/dist/executors/recipes/index.d.ts.map +1 -0
  160. package/dist/executors/recipes/list.d.ts +5 -0
  161. package/dist/executors/recipes/list.d.ts.map +1 -0
  162. package/dist/executors/recipes/run.d.ts +7 -0
  163. package/dist/executors/recipes/run.d.ts.map +1 -0
  164. package/dist/executors/recipes/types.d.ts +34 -0
  165. package/dist/executors/recipes/types.d.ts.map +1 -0
  166. package/dist/executors/redirect-rules/create.d.ts +5 -0
  167. package/dist/executors/redirect-rules/create.d.ts.map +1 -0
  168. package/dist/executors/redirect-rules/delete.d.ts +4 -0
  169. package/dist/executors/redirect-rules/delete.d.ts.map +1 -0
  170. package/dist/executors/redirect-rules/get.d.ts +5 -0
  171. package/dist/executors/redirect-rules/get.d.ts.map +1 -0
  172. package/dist/executors/redirect-rules/index.d.ts +6 -0
  173. package/dist/executors/redirect-rules/index.d.ts.map +1 -0
  174. package/dist/executors/redirect-rules/list.d.ts +5 -0
  175. package/dist/executors/redirect-rules/list.d.ts.map +1 -0
  176. package/dist/executors/redirect-rules/types.d.ts +35 -0
  177. package/dist/executors/redirect-rules/types.d.ts.map +1 -0
  178. package/dist/executors/scheduled-jobs/create.d.ts +8 -0
  179. package/dist/executors/scheduled-jobs/create.d.ts.map +1 -0
  180. package/dist/executors/scheduled-jobs/delete.d.ts +7 -0
  181. package/dist/executors/scheduled-jobs/delete.d.ts.map +1 -0
  182. package/dist/executors/scheduled-jobs/get.d.ts +8 -0
  183. package/dist/executors/scheduled-jobs/get.d.ts.map +1 -0
  184. package/dist/executors/scheduled-jobs/index.d.ts +6 -0
  185. package/dist/executors/scheduled-jobs/index.d.ts.map +1 -0
  186. package/dist/executors/scheduled-jobs/list.d.ts +8 -0
  187. package/dist/executors/scheduled-jobs/list.d.ts.map +1 -0
  188. package/dist/executors/scheduled-jobs/types.d.ts +31 -0
  189. package/dist/executors/scheduled-jobs/types.d.ts.map +1 -0
  190. package/dist/executors/security-rules/create.d.ts +5 -0
  191. package/dist/executors/security-rules/create.d.ts.map +1 -0
  192. package/dist/executors/security-rules/delete.d.ts +4 -0
  193. package/dist/executors/security-rules/delete.d.ts.map +1 -0
  194. package/dist/executors/security-rules/get.d.ts +5 -0
  195. package/dist/executors/security-rules/get.d.ts.map +1 -0
  196. package/dist/executors/security-rules/index.d.ts +6 -0
  197. package/dist/executors/security-rules/index.d.ts.map +1 -0
  198. package/dist/executors/security-rules/list.d.ts +5 -0
  199. package/dist/executors/security-rules/list.d.ts.map +1 -0
  200. package/dist/executors/security-rules/types.d.ts +35 -0
  201. package/dist/executors/security-rules/types.d.ts.map +1 -0
  202. package/dist/executors/servers/create.d.ts +8 -0
  203. package/dist/executors/servers/create.d.ts.map +1 -0
  204. package/dist/executors/servers/delete.d.ts +7 -0
  205. package/dist/executors/servers/delete.d.ts.map +1 -0
  206. package/dist/executors/servers/get.d.ts +8 -0
  207. package/dist/executors/servers/get.d.ts.map +1 -0
  208. package/dist/executors/servers/index.d.ts +7 -0
  209. package/dist/executors/servers/index.d.ts.map +1 -0
  210. package/dist/executors/servers/list.d.ts +8 -0
  211. package/dist/executors/servers/list.d.ts.map +1 -0
  212. package/dist/executors/servers/reboot.d.ts +7 -0
  213. package/dist/executors/servers/reboot.d.ts.map +1 -0
  214. package/dist/executors/servers/types.d.ts +33 -0
  215. package/dist/executors/servers/types.d.ts.map +1 -0
  216. package/dist/executors/sites/create.d.ts +8 -0
  217. package/dist/executors/sites/create.d.ts.map +1 -0
  218. package/dist/executors/sites/delete.d.ts +7 -0
  219. package/dist/executors/sites/delete.d.ts.map +1 -0
  220. package/dist/executors/sites/get.d.ts +8 -0
  221. package/dist/executors/sites/get.d.ts.map +1 -0
  222. package/dist/executors/sites/index.d.ts +6 -0
  223. package/dist/executors/sites/index.d.ts.map +1 -0
  224. package/dist/executors/sites/list.d.ts +8 -0
  225. package/dist/executors/sites/list.d.ts.map +1 -0
  226. package/dist/executors/sites/types.d.ts +31 -0
  227. package/dist/executors/sites/types.d.ts.map +1 -0
  228. package/dist/executors/ssh-keys/create.d.ts +5 -0
  229. package/dist/executors/ssh-keys/create.d.ts.map +1 -0
  230. package/dist/executors/ssh-keys/delete.d.ts +4 -0
  231. package/dist/executors/ssh-keys/delete.d.ts.map +1 -0
  232. package/dist/executors/ssh-keys/get.d.ts +5 -0
  233. package/dist/executors/ssh-keys/get.d.ts.map +1 -0
  234. package/dist/executors/ssh-keys/index.d.ts +6 -0
  235. package/dist/executors/ssh-keys/index.d.ts.map +1 -0
  236. package/dist/executors/ssh-keys/list.d.ts +5 -0
  237. package/dist/executors/ssh-keys/list.d.ts.map +1 -0
  238. package/dist/executors/ssh-keys/types.d.ts +31 -0
  239. package/dist/executors/ssh-keys/types.d.ts.map +1 -0
  240. package/dist/executors/types.d.ts +18 -0
  241. package/dist/executors/types.d.ts.map +1 -0
  242. package/dist/executors/user/get.d.ts +8 -0
  243. package/dist/executors/user/get.d.ts.map +1 -0
  244. package/dist/executors/user/index.d.ts +3 -0
  245. package/dist/executors/user/index.d.ts.map +1 -0
  246. package/dist/executors/user/types.d.ts +9 -0
  247. package/dist/executors/user/types.d.ts.map +1 -0
  248. package/dist/index.d.ts +48 -0
  249. package/dist/index.d.ts.map +1 -0
  250. package/dist/index.js +1125 -0
  251. package/dist/index.js.map +1 -0
  252. package/dist/logger.d.ts +32 -0
  253. package/dist/logger.d.ts.map +1 -0
  254. package/package.json +34 -1
@@ -0,0 +1,5 @@
1
+ import type { ForgeMonitor } from "@studiometa/forge-api";
2
+ import type { ExecutorContext, ExecutorResult } from "../../context.ts";
3
+ import type { GetMonitorOptions } from "./types.ts";
4
+ export declare function getMonitor(options: GetMonitorOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeMonitor>>;
5
+ //# sourceMappingURL=get.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/executors/monitors/get.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAmB,MAAM,uBAAuB,CAAC;AAC3E,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAExE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAEpD,wBAAsB,UAAU,CAC9B,OAAO,EAAE,iBAAiB,EAC1B,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC,CASvC"}
@@ -0,0 +1,6 @@
1
+ export { createMonitor } from "./create.ts";
2
+ export { deleteMonitor } from "./delete.ts";
3
+ export { getMonitor } from "./get.ts";
4
+ export { listMonitors } from "./list.ts";
5
+ export type { CreateMonitorOptions, DeleteMonitorOptions, GetMonitorOptions, ListMonitorsOptions, } from "./types.ts";
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/executors/monitors/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACzC,YAAY,EACV,oBAAoB,EACpB,oBAAoB,EACpB,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,YAAY,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { ForgeMonitor } from "@studiometa/forge-api";
2
+ import type { ExecutorContext, ExecutorResult } from "../../context.ts";
3
+ import type { ListMonitorsOptions } from "./types.ts";
4
+ export declare function listMonitors(options: ListMonitorsOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeMonitor[]>>;
5
+ //# sourceMappingURL=list.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/executors/monitors/list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAoB,MAAM,uBAAuB,CAAC;AAC5E,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAExE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEtD,wBAAsB,YAAY,CAChC,OAAO,EAAE,mBAAmB,EAC5B,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,YAAY,EAAE,CAAC,CAAC,CAMzC"}
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Option types for monitor executors.
3
+ */
4
+ import type { CreateMonitorData } from "@studiometa/forge-api";
5
+ /**
6
+ * Options for listing monitors on a server.
7
+ */
8
+ export interface ListMonitorsOptions {
9
+ server_id: string;
10
+ }
11
+ /**
12
+ * Options for getting a single monitor.
13
+ */
14
+ export interface GetMonitorOptions {
15
+ server_id: string;
16
+ id: string;
17
+ }
18
+ /**
19
+ * Options for creating a monitor.
20
+ */
21
+ export interface CreateMonitorOptions extends CreateMonitorData {
22
+ server_id: string;
23
+ }
24
+ /**
25
+ * Options for deleting a monitor.
26
+ */
27
+ export interface DeleteMonitorOptions {
28
+ server_id: string;
29
+ id: string;
30
+ }
31
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/executors/monitors/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,SAAS,EAAE,MAAM,CAAC;IAClB,EAAE,EAAE,MAAM,CAAC;CACZ;AAED;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,iBAAiB;IAC7D,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,MAAM,CAAC;IAClB,EAAE,EAAE,MAAM,CAAC;CACZ"}
@@ -0,0 +1,7 @@
1
+ import type { ExecutorContext, ExecutorResult } from "../../context.ts";
2
+ import type { GetNginxConfigOptions } from "./types.ts";
3
+ /**
4
+ * Get Nginx configuration for a site.
5
+ */
6
+ export declare function getNginxConfig(options: GetNginxConfigOptions, ctx: ExecutorContext): Promise<ExecutorResult<string>>;
7
+ //# sourceMappingURL=get.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/executors/nginx/get.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAExE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAExD;;GAEG;AACH,wBAAsB,cAAc,CAClC,OAAO,EAAE,qBAAqB,EAC9B,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAQjC"}
@@ -0,0 +1,4 @@
1
+ export { getNginxConfig } from "./get.ts";
2
+ export { updateNginxConfig } from "./update.ts";
3
+ export type { GetNginxConfigOptions, UpdateNginxConfigOptions } from "./types.ts";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/executors/nginx/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAChD,YAAY,EAAE,qBAAqB,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAC"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Option types for Nginx configuration executors.
3
+ */
4
+ /**
5
+ * Options for getting the Nginx configuration for a site.
6
+ */
7
+ export interface GetNginxConfigOptions {
8
+ server_id: string;
9
+ site_id: string;
10
+ }
11
+ /**
12
+ * Options for updating the Nginx configuration for a site.
13
+ */
14
+ export interface UpdateNginxConfigOptions {
15
+ server_id: string;
16
+ site_id: string;
17
+ content: string;
18
+ }
19
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/executors/nginx/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACjB"}
@@ -0,0 +1,7 @@
1
+ import type { ExecutorContext, ExecutorResult } from "../../context.ts";
2
+ import type { UpdateNginxConfigOptions } from "./types.ts";
3
+ /**
4
+ * Update Nginx configuration for a site.
5
+ */
6
+ export declare function updateNginxConfig(options: UpdateNginxConfigOptions, ctx: ExecutorContext): Promise<ExecutorResult<void>>;
7
+ //# sourceMappingURL=update.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../src/executors/nginx/update.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAExE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAC;AAE3D;;GAEG;AACH,wBAAsB,iBAAiB,CACrC,OAAO,EAAE,wBAAwB,EACjC,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAQ/B"}
@@ -0,0 +1,5 @@
1
+ import type { ForgeNginxTemplate } from "@studiometa/forge-api";
2
+ import type { ExecutorContext, ExecutorResult } from "../../context.ts";
3
+ import type { CreateNginxTemplateOptions } from "./types.ts";
4
+ export declare function createNginxTemplate(options: CreateNginxTemplateOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeNginxTemplate>>;
5
+ //# sourceMappingURL=create.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/executors/nginx-templates/create.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAyB,MAAM,uBAAuB,CAAC;AACvF,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAExE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,YAAY,CAAC;AAE7D,wBAAsB,mBAAmB,CACvC,OAAO,EAAE,0BAA0B,EACnC,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,kBAAkB,CAAC,CAAC,CAW7C"}
@@ -0,0 +1,4 @@
1
+ import type { ExecutorContext, ExecutorResult } from "../../context.ts";
2
+ import type { DeleteNginxTemplateOptions } from "./types.ts";
3
+ export declare function deleteNginxTemplate(options: DeleteNginxTemplateOptions, ctx: ExecutorContext): Promise<ExecutorResult<void>>;
4
+ //# sourceMappingURL=delete.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete.d.ts","sourceRoot":"","sources":["../../../src/executors/nginx-templates/delete.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAExE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,YAAY,CAAC;AAE7D,wBAAsB,mBAAmB,CACvC,OAAO,EAAE,0BAA0B,EACnC,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAM/B"}
@@ -0,0 +1,5 @@
1
+ import type { ForgeNginxTemplate } from "@studiometa/forge-api";
2
+ import type { ExecutorContext, ExecutorResult } from "../../context.ts";
3
+ import type { GetNginxTemplateOptions } from "./types.ts";
4
+ export declare function getNginxTemplate(options: GetNginxTemplateOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeNginxTemplate>>;
5
+ //# sourceMappingURL=get.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/executors/nginx-templates/get.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAyB,MAAM,uBAAuB,CAAC;AACvF,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAExE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAE1D,wBAAsB,gBAAgB,CACpC,OAAO,EAAE,uBAAuB,EAChC,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,kBAAkB,CAAC,CAAC,CAS7C"}
@@ -0,0 +1,7 @@
1
+ export { createNginxTemplate } from "./create.ts";
2
+ export { deleteNginxTemplate } from "./delete.ts";
3
+ export { getNginxTemplate } from "./get.ts";
4
+ export { listNginxTemplates } from "./list.ts";
5
+ export { updateNginxTemplate } from "./update.ts";
6
+ export type { CreateNginxTemplateOptions, DeleteNginxTemplateOptions, GetNginxTemplateOptions, ListNginxTemplatesOptions, UpdateNginxTemplateOptions, } from "./types.ts";
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/executors/nginx-templates/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,YAAY,EACV,0BAA0B,EAC1B,0BAA0B,EAC1B,uBAAuB,EACvB,yBAAyB,EACzB,0BAA0B,GAC3B,MAAM,YAAY,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { ForgeNginxTemplate } from "@studiometa/forge-api";
2
+ import type { ExecutorContext, ExecutorResult } from "../../context.ts";
3
+ import type { ListNginxTemplatesOptions } from "./types.ts";
4
+ export declare function listNginxTemplates(options: ListNginxTemplatesOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeNginxTemplate[]>>;
5
+ //# sourceMappingURL=list.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/executors/nginx-templates/list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAA0B,MAAM,uBAAuB,CAAC;AACxF,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAExE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAE5D,wBAAsB,kBAAkB,CACtC,OAAO,EAAE,yBAAyB,EAClC,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,kBAAkB,EAAE,CAAC,CAAC,CAQ/C"}
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Option types for Nginx template executors.
3
+ */
4
+ import type { CreateNginxTemplateData } from "@studiometa/forge-api";
5
+ /**
6
+ * Options for listing Nginx templates on a server.
7
+ */
8
+ export interface ListNginxTemplatesOptions {
9
+ server_id: string;
10
+ }
11
+ /**
12
+ * Options for getting a single Nginx template.
13
+ */
14
+ export interface GetNginxTemplateOptions {
15
+ server_id: string;
16
+ id: string;
17
+ }
18
+ /**
19
+ * Options for creating a Nginx template.
20
+ */
21
+ export interface CreateNginxTemplateOptions extends CreateNginxTemplateData {
22
+ server_id: string;
23
+ }
24
+ /**
25
+ * Options for updating a Nginx template.
26
+ */
27
+ export interface UpdateNginxTemplateOptions {
28
+ server_id: string;
29
+ id: string;
30
+ name?: string;
31
+ content?: string;
32
+ }
33
+ /**
34
+ * Options for deleting a Nginx template.
35
+ */
36
+ export interface DeleteNginxTemplateOptions {
37
+ server_id: string;
38
+ id: string;
39
+ }
40
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/executors/nginx-templates/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAErE;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,SAAS,EAAE,MAAM,CAAC;IAClB,EAAE,EAAE,MAAM,CAAC;CACZ;AAED;;GAEG;AACH,MAAM,WAAW,0BAA2B,SAAQ,uBAAuB;IACzE,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,SAAS,EAAE,MAAM,CAAC;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,SAAS,EAAE,MAAM,CAAC;IAClB,EAAE,EAAE,MAAM,CAAC;CACZ"}
@@ -0,0 +1,5 @@
1
+ import type { ForgeNginxTemplate } from "@studiometa/forge-api";
2
+ import type { ExecutorContext, ExecutorResult } from "../../context.ts";
3
+ import type { UpdateNginxTemplateOptions } from "./types.ts";
4
+ export declare function updateNginxTemplate(options: UpdateNginxTemplateOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeNginxTemplate>>;
5
+ //# sourceMappingURL=update.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../src/executors/nginx-templates/update.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAyB,MAAM,uBAAuB,CAAC;AACvF,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAExE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,YAAY,CAAC;AAE7D,wBAAsB,mBAAmB,CACvC,OAAO,EAAE,0BAA0B,EACnC,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,kBAAkB,CAAC,CAAC,CAW7C"}
@@ -0,0 +1,5 @@
1
+ import type { ForgeRecipe } from "@studiometa/forge-api";
2
+ import type { ExecutorContext, ExecutorResult } from "../../context.ts";
3
+ import type { CreateRecipeOptions } from "./types.ts";
4
+ export declare function createRecipe(options: CreateRecipeOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeRecipe>>;
5
+ //# sourceMappingURL=create.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/executors/recipes/create.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAkB,MAAM,uBAAuB,CAAC;AACzE,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAExE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEtD,wBAAsB,YAAY,CAChC,OAAO,EAAE,mBAAmB,EAC5B,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC,CAOtC"}
@@ -0,0 +1,4 @@
1
+ import type { ExecutorContext, ExecutorResult } from "../../context.ts";
2
+ import type { DeleteRecipeOptions } from "./types.ts";
3
+ export declare function deleteRecipe(options: DeleteRecipeOptions, ctx: ExecutorContext): Promise<ExecutorResult<void>>;
4
+ //# sourceMappingURL=delete.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete.d.ts","sourceRoot":"","sources":["../../../src/executors/recipes/delete.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAExE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEtD,wBAAsB,YAAY,CAChC,OAAO,EAAE,mBAAmB,EAC5B,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAM/B"}
@@ -0,0 +1,5 @@
1
+ import type { ForgeRecipe } from "@studiometa/forge-api";
2
+ import type { ExecutorContext, ExecutorResult } from "../../context.ts";
3
+ import type { GetRecipeOptions } from "./types.ts";
4
+ export declare function getRecipe(options: GetRecipeOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeRecipe>>;
5
+ //# sourceMappingURL=get.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/executors/recipes/get.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAkB,MAAM,uBAAuB,CAAC;AACzE,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAExE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAEnD,wBAAsB,SAAS,CAC7B,OAAO,EAAE,gBAAgB,EACzB,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC,CAOtC"}
@@ -0,0 +1,7 @@
1
+ export { createRecipe } from "./create.ts";
2
+ export { deleteRecipe } from "./delete.ts";
3
+ export { getRecipe } from "./get.ts";
4
+ export { listRecipes } from "./list.ts";
5
+ export { runRecipe } from "./run.ts";
6
+ export type { CreateRecipeOptions, DeleteRecipeOptions, GetRecipeOptions, ListRecipesOptions, RunRecipeOptions, } from "./types.ts";
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/executors/recipes/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AACrC,YAAY,EACV,mBAAmB,EACnB,mBAAmB,EACnB,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,YAAY,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { ForgeRecipe } from "@studiometa/forge-api";
2
+ import type { ExecutorContext, ExecutorResult } from "../../context.ts";
3
+ import type { ListRecipesOptions } from "./types.ts";
4
+ export declare function listRecipes(_options: ListRecipesOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeRecipe[]>>;
5
+ //# sourceMappingURL=list.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/executors/recipes/list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAmB,MAAM,uBAAuB,CAAC;AAC1E,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAExE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAErD,wBAAsB,WAAW,CAC/B,QAAQ,EAAE,kBAAkB,EAC5B,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,WAAW,EAAE,CAAC,CAAC,CAMxC"}
@@ -0,0 +1,7 @@
1
+ import type { ExecutorContext, ExecutorResult } from "../../context.ts";
2
+ import type { RunRecipeOptions } from "./types.ts";
3
+ /**
4
+ * Run a recipe on specified servers.
5
+ */
6
+ export declare function runRecipe(options: RunRecipeOptions, ctx: ExecutorContext): Promise<ExecutorResult<void>>;
7
+ //# sourceMappingURL=run.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../../src/executors/recipes/run.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAExE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAEnD;;GAEG;AACH,wBAAsB,SAAS,CAC7B,OAAO,EAAE,gBAAgB,EACzB,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAQ/B"}
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Option types for recipe executors.
3
+ */
4
+ import type { CreateRecipeData } from "@studiometa/forge-api";
5
+ /**
6
+ * Options for listing recipes.
7
+ */
8
+ export interface ListRecipesOptions {
9
+ }
10
+ /**
11
+ * Options for getting a single recipe.
12
+ */
13
+ export interface GetRecipeOptions {
14
+ id: string;
15
+ }
16
+ /**
17
+ * Options for creating a recipe.
18
+ */
19
+ export interface CreateRecipeOptions extends CreateRecipeData {
20
+ }
21
+ /**
22
+ * Options for deleting a recipe.
23
+ */
24
+ export interface DeleteRecipeOptions {
25
+ id: string;
26
+ }
27
+ /**
28
+ * Options for running a recipe on servers.
29
+ */
30
+ export interface RunRecipeOptions {
31
+ id: string;
32
+ servers: number[];
33
+ }
34
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/executors/recipes/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAE9D;;GAEG;AACH,MAAM,WAAW,kBAAkB;CAElC;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;CACZ;AAED;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,gBAAgB;CAAG;AAEhE;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAC;CACZ;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB"}
@@ -0,0 +1,5 @@
1
+ import type { ForgeRedirectRule } from "@studiometa/forge-api";
2
+ import type { ExecutorContext, ExecutorResult } from "../../context.ts";
3
+ import type { CreateRedirectRuleOptions } from "./types.ts";
4
+ export declare function createRedirectRule(options: CreateRedirectRuleOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeRedirectRule>>;
5
+ //# sourceMappingURL=create.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/executors/redirect-rules/create.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAwB,MAAM,uBAAuB,CAAC;AACrF,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAExE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAE5D,wBAAsB,kBAAkB,CACtC,OAAO,EAAE,yBAAyB,EAClC,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,iBAAiB,CAAC,CAAC,CAW5C"}
@@ -0,0 +1,4 @@
1
+ import type { ExecutorContext, ExecutorResult } from "../../context.ts";
2
+ import type { DeleteRedirectRuleOptions } from "./types.ts";
3
+ export declare function deleteRedirectRule(options: DeleteRedirectRuleOptions, ctx: ExecutorContext): Promise<ExecutorResult<void>>;
4
+ //# sourceMappingURL=delete.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete.d.ts","sourceRoot":"","sources":["../../../src/executors/redirect-rules/delete.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAExE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAE5D,wBAAsB,kBAAkB,CACtC,OAAO,EAAE,yBAAyB,EAClC,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAQ/B"}
@@ -0,0 +1,5 @@
1
+ import type { ForgeRedirectRule } from "@studiometa/forge-api";
2
+ import type { ExecutorContext, ExecutorResult } from "../../context.ts";
3
+ import type { GetRedirectRuleOptions } from "./types.ts";
4
+ export declare function getRedirectRule(options: GetRedirectRuleOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeRedirectRule>>;
5
+ //# sourceMappingURL=get.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/executors/redirect-rules/get.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAwB,MAAM,uBAAuB,CAAC;AACrF,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAExE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC;AAEzD,wBAAsB,eAAe,CACnC,OAAO,EAAE,sBAAsB,EAC/B,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,iBAAiB,CAAC,CAAC,CAS5C"}
@@ -0,0 +1,6 @@
1
+ export { createRedirectRule } from "./create.ts";
2
+ export { deleteRedirectRule } from "./delete.ts";
3
+ export { getRedirectRule } from "./get.ts";
4
+ export { listRedirectRules } from "./list.ts";
5
+ export type { CreateRedirectRuleOptions, DeleteRedirectRuleOptions, GetRedirectRuleOptions, ListRedirectRulesOptions, } from "./types.ts";
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/executors/redirect-rules/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC9C,YAAY,EACV,yBAAyB,EACzB,yBAAyB,EACzB,sBAAsB,EACtB,wBAAwB,GACzB,MAAM,YAAY,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { ForgeRedirectRule } from "@studiometa/forge-api";
2
+ import type { ExecutorContext, ExecutorResult } from "../../context.ts";
3
+ import type { ListRedirectRulesOptions } from "./types.ts";
4
+ export declare function listRedirectRules(options: ListRedirectRulesOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeRedirectRule[]>>;
5
+ //# sourceMappingURL=list.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/executors/redirect-rules/list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAyB,MAAM,uBAAuB,CAAC;AACtF,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAExE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAC;AAE3D,wBAAsB,iBAAiB,CACrC,OAAO,EAAE,wBAAwB,EACjC,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,iBAAiB,EAAE,CAAC,CAAC,CAQ9C"}
@@ -0,0 +1,35 @@
1
+ /**
2
+ * Option types for redirect rule executors.
3
+ */
4
+ import type { CreateRedirectRuleData } from "@studiometa/forge-api";
5
+ /**
6
+ * Options for listing redirect rules for a site.
7
+ */
8
+ export interface ListRedirectRulesOptions {
9
+ server_id: string;
10
+ site_id: string;
11
+ }
12
+ /**
13
+ * Options for getting a single redirect rule.
14
+ */
15
+ export interface GetRedirectRuleOptions {
16
+ server_id: string;
17
+ site_id: string;
18
+ id: string;
19
+ }
20
+ /**
21
+ * Options for creating a redirect rule.
22
+ */
23
+ export interface CreateRedirectRuleOptions extends CreateRedirectRuleData {
24
+ server_id: string;
25
+ site_id: string;
26
+ }
27
+ /**
28
+ * Options for deleting a redirect rule.
29
+ */
30
+ export interface DeleteRedirectRuleOptions {
31
+ server_id: string;
32
+ site_id: string;
33
+ id: string;
34
+ }
35
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/executors/redirect-rules/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAEpE;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,EAAE,EAAE,MAAM,CAAC;CACZ;AAED;;GAEG;AACH,MAAM,WAAW,yBAA0B,SAAQ,sBAAsB;IACvE,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,EAAE,EAAE,MAAM,CAAC;CACZ"}
@@ -0,0 +1,8 @@
1
+ import type { ForgeScheduledJob } from "@studiometa/forge-api";
2
+ import type { ExecutorContext, ExecutorResult } from "../../context.ts";
3
+ import type { CreateScheduledJobOptions } from "./types.ts";
4
+ /**
5
+ * Create a new scheduled job (cron).
6
+ */
7
+ export declare function createScheduledJob(options: CreateScheduledJobOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeScheduledJob>>;
8
+ //# sourceMappingURL=create.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/executors/scheduled-jobs/create.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAwB,MAAM,uBAAuB,CAAC;AACrF,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAExE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAE5D;;GAEG;AACH,wBAAsB,kBAAkB,CACtC,OAAO,EAAE,yBAAyB,EAClC,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,iBAAiB,CAAC,CAAC,CAQ5C"}
@@ -0,0 +1,7 @@
1
+ import type { ExecutorContext, ExecutorResult } from "../../context.ts";
2
+ import type { DeleteScheduledJobOptions } from "./types.ts";
3
+ /**
4
+ * Delete a scheduled job.
5
+ */
6
+ export declare function deleteScheduledJob(options: DeleteScheduledJobOptions, ctx: ExecutorContext): Promise<ExecutorResult<void>>;
7
+ //# sourceMappingURL=delete.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete.d.ts","sourceRoot":"","sources":["../../../src/executors/scheduled-jobs/delete.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAExE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAE5D;;GAEG;AACH,wBAAsB,kBAAkB,CACtC,OAAO,EAAE,yBAAyB,EAClC,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAM/B"}
@@ -0,0 +1,8 @@
1
+ import type { ForgeScheduledJob } from "@studiometa/forge-api";
2
+ import type { ExecutorContext, ExecutorResult } from "../../context.ts";
3
+ import type { GetScheduledJobOptions } from "./types.ts";
4
+ /**
5
+ * Get a specific scheduled job.
6
+ */
7
+ export declare function getScheduledJob(options: GetScheduledJobOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeScheduledJob>>;
8
+ //# sourceMappingURL=get.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/executors/scheduled-jobs/get.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAwB,MAAM,uBAAuB,CAAC;AACrF,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAExE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC;AAEzD;;GAEG;AACH,wBAAsB,eAAe,CACnC,OAAO,EAAE,sBAAsB,EAC/B,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,iBAAiB,CAAC,CAAC,CAS5C"}
@@ -0,0 +1,6 @@
1
+ export { createScheduledJob } from "./create.ts";
2
+ export { deleteScheduledJob } from "./delete.ts";
3
+ export { getScheduledJob } from "./get.ts";
4
+ export { listScheduledJobs } from "./list.ts";
5
+ export type { CreateScheduledJobOptions, DeleteScheduledJobOptions, GetScheduledJobOptions, ListScheduledJobsOptions, } from "./types.ts";
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/executors/scheduled-jobs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC9C,YAAY,EACV,yBAAyB,EACzB,yBAAyB,EACzB,sBAAsB,EACtB,wBAAwB,GACzB,MAAM,YAAY,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { ForgeScheduledJob } from "@studiometa/forge-api";
2
+ import type { ExecutorContext, ExecutorResult } from "../../context.ts";
3
+ import type { ListScheduledJobsOptions } from "./types.ts";
4
+ /**
5
+ * List scheduled jobs (cron) on a server.
6
+ */
7
+ export declare function listScheduledJobs(options: ListScheduledJobsOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeScheduledJob[]>>;
8
+ //# sourceMappingURL=list.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/executors/scheduled-jobs/list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAyB,MAAM,uBAAuB,CAAC;AACtF,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAExE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAC;AAE3D;;GAEG;AACH,wBAAsB,iBAAiB,CACrC,OAAO,EAAE,wBAAwB,EACjC,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,iBAAiB,EAAE,CAAC,CAAC,CAS9C"}
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Option types for scheduled job executors.
3
+ */
4
+ import type { CreateScheduledJobData } from "@studiometa/forge-api";
5
+ /**
6
+ * Options for listing scheduled jobs on a server.
7
+ */
8
+ export interface ListScheduledJobsOptions {
9
+ server_id: string;
10
+ }
11
+ /**
12
+ * Options for getting a single scheduled job.
13
+ */
14
+ export interface GetScheduledJobOptions {
15
+ server_id: string;
16
+ id: string;
17
+ }
18
+ /**
19
+ * Options for creating a scheduled job.
20
+ */
21
+ export interface CreateScheduledJobOptions extends CreateScheduledJobData {
22
+ server_id: string;
23
+ }
24
+ /**
25
+ * Options for deleting a scheduled job.
26
+ */
27
+ export interface DeleteScheduledJobOptions {
28
+ server_id: string;
29
+ id: string;
30
+ }
31
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/executors/scheduled-jobs/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAEpE;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,SAAS,EAAE,MAAM,CAAC;IAClB,EAAE,EAAE,MAAM,CAAC;CACZ;AAED;;GAEG;AACH,MAAM,WAAW,yBAA0B,SAAQ,sBAAsB;IACvE,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,SAAS,EAAE,MAAM,CAAC;IAClB,EAAE,EAAE,MAAM,CAAC;CACZ"}
@@ -0,0 +1,5 @@
1
+ import type { ForgeSecurityRule } from "@studiometa/forge-api";
2
+ import type { ExecutorContext, ExecutorResult } from "../../context.ts";
3
+ import type { CreateSecurityRuleOptions } from "./types.ts";
4
+ export declare function createSecurityRule(options: CreateSecurityRuleOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeSecurityRule>>;
5
+ //# sourceMappingURL=create.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/executors/security-rules/create.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAwB,MAAM,uBAAuB,CAAC;AACrF,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAExE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAE5D,wBAAsB,kBAAkB,CACtC,OAAO,EAAE,yBAAyB,EAClC,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,iBAAiB,CAAC,CAAC,CAW5C"}
@@ -0,0 +1,4 @@
1
+ import type { ExecutorContext, ExecutorResult } from "../../context.ts";
2
+ import type { DeleteSecurityRuleOptions } from "./types.ts";
3
+ export declare function deleteSecurityRule(options: DeleteSecurityRuleOptions, ctx: ExecutorContext): Promise<ExecutorResult<void>>;
4
+ //# sourceMappingURL=delete.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete.d.ts","sourceRoot":"","sources":["../../../src/executors/security-rules/delete.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAExE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAE5D,wBAAsB,kBAAkB,CACtC,OAAO,EAAE,yBAAyB,EAClC,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAQ/B"}
@@ -0,0 +1,5 @@
1
+ import type { ForgeSecurityRule } from "@studiometa/forge-api";
2
+ import type { ExecutorContext, ExecutorResult } from "../../context.ts";
3
+ import type { GetSecurityRuleOptions } from "./types.ts";
4
+ export declare function getSecurityRule(options: GetSecurityRuleOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeSecurityRule>>;
5
+ //# sourceMappingURL=get.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/executors/security-rules/get.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAwB,MAAM,uBAAuB,CAAC;AACrF,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAExE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC;AAEzD,wBAAsB,eAAe,CACnC,OAAO,EAAE,sBAAsB,EAC/B,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,iBAAiB,CAAC,CAAC,CAS5C"}
@@ -0,0 +1,6 @@
1
+ export { createSecurityRule } from "./create.ts";
2
+ export { deleteSecurityRule } from "./delete.ts";
3
+ export { getSecurityRule } from "./get.ts";
4
+ export { listSecurityRules } from "./list.ts";
5
+ export type { CreateSecurityRuleOptions, DeleteSecurityRuleOptions, GetSecurityRuleOptions, ListSecurityRulesOptions, } from "./types.ts";
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/executors/security-rules/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC9C,YAAY,EACV,yBAAyB,EACzB,yBAAyB,EACzB,sBAAsB,EACtB,wBAAwB,GACzB,MAAM,YAAY,CAAC"}