@studiometa/forge-core 0.2.5 → 0.4.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 (203) hide show
  1. package/README.md +27 -3
  2. package/dist/context.d.ts +2 -5
  3. package/dist/context.d.ts.map +1 -1
  4. package/dist/executors/backups/create.d.ts +2 -3
  5. package/dist/executors/backups/create.d.ts.map +1 -1
  6. package/dist/executors/backups/delete.d.ts.map +1 -1
  7. package/dist/executors/backups/get.d.ts +5 -3
  8. package/dist/executors/backups/get.d.ts.map +1 -1
  9. package/dist/executors/backups/index.d.ts +2 -1
  10. package/dist/executors/backups/index.d.ts.map +1 -1
  11. package/dist/executors/backups/list.d.ts +4 -2
  12. package/dist/executors/backups/list.d.ts.map +1 -1
  13. package/dist/executors/backups/types.d.ts +8 -1
  14. package/dist/executors/backups/types.d.ts.map +1 -1
  15. package/dist/executors/backups/update.d.ts +7 -0
  16. package/dist/executors/backups/update.d.ts.map +1 -0
  17. package/dist/executors/certificates/activate.d.ts +1 -1
  18. package/dist/executors/certificates/activate.d.ts.map +1 -1
  19. package/dist/executors/certificates/create.d.ts +5 -3
  20. package/dist/executors/certificates/create.d.ts.map +1 -1
  21. package/dist/executors/certificates/delete.d.ts +1 -1
  22. package/dist/executors/certificates/delete.d.ts.map +1 -1
  23. package/dist/executors/certificates/get.d.ts +5 -3
  24. package/dist/executors/certificates/get.d.ts.map +1 -1
  25. package/dist/executors/certificates/index.d.ts +1 -2
  26. package/dist/executors/certificates/index.d.ts.map +1 -1
  27. package/dist/executors/certificates/types.d.ts +11 -14
  28. package/dist/executors/certificates/types.d.ts.map +1 -1
  29. package/dist/executors/commands/create.d.ts +1 -2
  30. package/dist/executors/commands/create.d.ts.map +1 -1
  31. package/dist/executors/commands/get.d.ts +4 -2
  32. package/dist/executors/commands/get.d.ts.map +1 -1
  33. package/dist/executors/commands/list.d.ts +4 -2
  34. package/dist/executors/commands/list.d.ts.map +1 -1
  35. package/dist/executors/daemons/create.d.ts +5 -3
  36. package/dist/executors/daemons/create.d.ts.map +1 -1
  37. package/dist/executors/daemons/delete.d.ts.map +1 -1
  38. package/dist/executors/daemons/get.d.ts +4 -2
  39. package/dist/executors/daemons/get.d.ts.map +1 -1
  40. package/dist/executors/daemons/index.d.ts +2 -1
  41. package/dist/executors/daemons/index.d.ts.map +1 -1
  42. package/dist/executors/daemons/list.d.ts +5 -3
  43. package/dist/executors/daemons/list.d.ts.map +1 -1
  44. package/dist/executors/daemons/restart.d.ts.map +1 -1
  45. package/dist/executors/daemons/types.d.ts +8 -1
  46. package/dist/executors/daemons/types.d.ts.map +1 -1
  47. package/dist/executors/daemons/update.d.ts +10 -0
  48. package/dist/executors/daemons/update.d.ts.map +1 -0
  49. package/dist/executors/database-users/create.d.ts +4 -2
  50. package/dist/executors/database-users/create.d.ts.map +1 -1
  51. package/dist/executors/database-users/delete.d.ts.map +1 -1
  52. package/dist/executors/database-users/get.d.ts +4 -2
  53. package/dist/executors/database-users/get.d.ts.map +1 -1
  54. package/dist/executors/database-users/index.d.ts +2 -1
  55. package/dist/executors/database-users/index.d.ts.map +1 -1
  56. package/dist/executors/database-users/list.d.ts +4 -2
  57. package/dist/executors/database-users/list.d.ts.map +1 -1
  58. package/dist/executors/database-users/types.d.ts +8 -1
  59. package/dist/executors/database-users/types.d.ts.map +1 -1
  60. package/dist/executors/database-users/update.d.ts +10 -0
  61. package/dist/executors/database-users/update.d.ts.map +1 -0
  62. package/dist/executors/databases/create.d.ts +4 -2
  63. package/dist/executors/databases/create.d.ts.map +1 -1
  64. package/dist/executors/databases/delete.d.ts.map +1 -1
  65. package/dist/executors/databases/get.d.ts +4 -2
  66. package/dist/executors/databases/get.d.ts.map +1 -1
  67. package/dist/executors/databases/list.d.ts +4 -2
  68. package/dist/executors/databases/list.d.ts.map +1 -1
  69. package/dist/executors/deployments/deploy-and-wait.d.ts +6 -5
  70. package/dist/executors/deployments/deploy-and-wait.d.ts.map +1 -1
  71. package/dist/executors/deployments/deploy.d.ts.map +1 -1
  72. package/dist/executors/deployments/get-log.d.ts.map +1 -1
  73. package/dist/executors/deployments/get-script.d.ts.map +1 -1
  74. package/dist/executors/deployments/index.d.ts +1 -2
  75. package/dist/executors/deployments/index.d.ts.map +1 -1
  76. package/dist/executors/deployments/list.d.ts +4 -2
  77. package/dist/executors/deployments/list.d.ts.map +1 -1
  78. package/dist/executors/deployments/types.d.ts +6 -8
  79. package/dist/executors/deployments/types.d.ts.map +1 -1
  80. package/dist/executors/deployments/update-script.d.ts.map +1 -1
  81. package/dist/executors/env/get.d.ts.map +1 -1
  82. package/dist/executors/env/update.d.ts.map +1 -1
  83. package/dist/executors/firewall-rules/create.d.ts +4 -2
  84. package/dist/executors/firewall-rules/create.d.ts.map +1 -1
  85. package/dist/executors/firewall-rules/delete.d.ts +3 -0
  86. package/dist/executors/firewall-rules/delete.d.ts.map +1 -1
  87. package/dist/executors/firewall-rules/get.d.ts +7 -2
  88. package/dist/executors/firewall-rules/get.d.ts.map +1 -1
  89. package/dist/executors/firewall-rules/list.d.ts +7 -2
  90. package/dist/executors/firewall-rules/list.d.ts.map +1 -1
  91. package/dist/executors/monitors/create.d.ts +7 -2
  92. package/dist/executors/monitors/create.d.ts.map +1 -1
  93. package/dist/executors/monitors/delete.d.ts +3 -0
  94. package/dist/executors/monitors/delete.d.ts.map +1 -1
  95. package/dist/executors/monitors/get.d.ts +7 -2
  96. package/dist/executors/monitors/get.d.ts.map +1 -1
  97. package/dist/executors/monitors/list.d.ts +7 -2
  98. package/dist/executors/monitors/list.d.ts.map +1 -1
  99. package/dist/executors/nginx/get.d.ts.map +1 -1
  100. package/dist/executors/nginx/update.d.ts.map +1 -1
  101. package/dist/executors/nginx-templates/create.d.ts +7 -2
  102. package/dist/executors/nginx-templates/create.d.ts.map +1 -1
  103. package/dist/executors/nginx-templates/delete.d.ts +3 -0
  104. package/dist/executors/nginx-templates/delete.d.ts.map +1 -1
  105. package/dist/executors/nginx-templates/get.d.ts +7 -2
  106. package/dist/executors/nginx-templates/get.d.ts.map +1 -1
  107. package/dist/executors/nginx-templates/list.d.ts +7 -2
  108. package/dist/executors/nginx-templates/list.d.ts.map +1 -1
  109. package/dist/executors/nginx-templates/update.d.ts +7 -2
  110. package/dist/executors/nginx-templates/update.d.ts.map +1 -1
  111. package/dist/executors/recipes/create.d.ts +7 -2
  112. package/dist/executors/recipes/create.d.ts.map +1 -1
  113. package/dist/executors/recipes/delete.d.ts +3 -0
  114. package/dist/executors/recipes/delete.d.ts.map +1 -1
  115. package/dist/executors/recipes/get.d.ts +7 -2
  116. package/dist/executors/recipes/get.d.ts.map +1 -1
  117. package/dist/executors/recipes/index.d.ts +2 -1
  118. package/dist/executors/recipes/index.d.ts.map +1 -1
  119. package/dist/executors/recipes/list.d.ts +7 -2
  120. package/dist/executors/recipes/list.d.ts.map +1 -1
  121. package/dist/executors/recipes/run.d.ts.map +1 -1
  122. package/dist/executors/recipes/types.d.ts +7 -1
  123. package/dist/executors/recipes/types.d.ts.map +1 -1
  124. package/dist/executors/recipes/update.d.ts +10 -0
  125. package/dist/executors/recipes/update.d.ts.map +1 -0
  126. package/dist/executors/redirect-rules/create.d.ts +4 -2
  127. package/dist/executors/redirect-rules/create.d.ts.map +1 -1
  128. package/dist/executors/redirect-rules/delete.d.ts +3 -0
  129. package/dist/executors/redirect-rules/delete.d.ts.map +1 -1
  130. package/dist/executors/redirect-rules/get.d.ts +7 -2
  131. package/dist/executors/redirect-rules/get.d.ts.map +1 -1
  132. package/dist/executors/redirect-rules/list.d.ts +7 -2
  133. package/dist/executors/redirect-rules/list.d.ts.map +1 -1
  134. package/dist/executors/scheduled-jobs/create.d.ts +5 -3
  135. package/dist/executors/scheduled-jobs/create.d.ts.map +1 -1
  136. package/dist/executors/scheduled-jobs/delete.d.ts.map +1 -1
  137. package/dist/executors/scheduled-jobs/get.d.ts +4 -2
  138. package/dist/executors/scheduled-jobs/get.d.ts.map +1 -1
  139. package/dist/executors/scheduled-jobs/list.d.ts +5 -3
  140. package/dist/executors/scheduled-jobs/list.d.ts.map +1 -1
  141. package/dist/executors/scheduled-jobs/types.d.ts +4 -0
  142. package/dist/executors/scheduled-jobs/types.d.ts.map +1 -1
  143. package/dist/executors/security-rules/create.d.ts +7 -2
  144. package/dist/executors/security-rules/create.d.ts.map +1 -1
  145. package/dist/executors/security-rules/delete.d.ts +3 -0
  146. package/dist/executors/security-rules/delete.d.ts.map +1 -1
  147. package/dist/executors/security-rules/get.d.ts +7 -2
  148. package/dist/executors/security-rules/get.d.ts.map +1 -1
  149. package/dist/executors/security-rules/index.d.ts +2 -1
  150. package/dist/executors/security-rules/index.d.ts.map +1 -1
  151. package/dist/executors/security-rules/list.d.ts +7 -2
  152. package/dist/executors/security-rules/list.d.ts.map +1 -1
  153. package/dist/executors/security-rules/types.d.ts +9 -1
  154. package/dist/executors/security-rules/types.d.ts.map +1 -1
  155. package/dist/executors/security-rules/update.d.ts +10 -0
  156. package/dist/executors/security-rules/update.d.ts.map +1 -0
  157. package/dist/executors/servers/create.d.ts +4 -2
  158. package/dist/executors/servers/create.d.ts.map +1 -1
  159. package/dist/executors/servers/delete.d.ts.map +1 -1
  160. package/dist/executors/servers/get.d.ts +4 -2
  161. package/dist/executors/servers/get.d.ts.map +1 -1
  162. package/dist/executors/servers/list.d.ts +4 -2
  163. package/dist/executors/servers/list.d.ts.map +1 -1
  164. package/dist/executors/servers/reboot.d.ts.map +1 -1
  165. package/dist/executors/servers/resolve.d.ts.map +1 -1
  166. package/dist/executors/sites/create.d.ts +4 -2
  167. package/dist/executors/sites/create.d.ts.map +1 -1
  168. package/dist/executors/sites/delete.d.ts.map +1 -1
  169. package/dist/executors/sites/get.d.ts +7 -2
  170. package/dist/executors/sites/get.d.ts.map +1 -1
  171. package/dist/executors/sites/index.d.ts +2 -1
  172. package/dist/executors/sites/index.d.ts.map +1 -1
  173. package/dist/executors/sites/list.d.ts +4 -2
  174. package/dist/executors/sites/list.d.ts.map +1 -1
  175. package/dist/executors/sites/resolve.d.ts +0 -3
  176. package/dist/executors/sites/resolve.d.ts.map +1 -1
  177. package/dist/executors/sites/types.d.ts +12 -1
  178. package/dist/executors/sites/types.d.ts.map +1 -1
  179. package/dist/executors/sites/update.d.ts +10 -0
  180. package/dist/executors/sites/update.d.ts.map +1 -0
  181. package/dist/executors/ssh-keys/create.d.ts +4 -2
  182. package/dist/executors/ssh-keys/create.d.ts.map +1 -1
  183. package/dist/executors/ssh-keys/delete.d.ts +3 -0
  184. package/dist/executors/ssh-keys/delete.d.ts.map +1 -1
  185. package/dist/executors/ssh-keys/get.d.ts +7 -2
  186. package/dist/executors/ssh-keys/get.d.ts.map +1 -1
  187. package/dist/executors/ssh-keys/list.d.ts +7 -2
  188. package/dist/executors/ssh-keys/list.d.ts.map +1 -1
  189. package/dist/executors/user/get.d.ts +4 -2
  190. package/dist/executors/user/get.d.ts.map +1 -1
  191. package/dist/index.d.ts +17 -16
  192. package/dist/index.d.ts.map +1 -1
  193. package/dist/index.js +1063 -125
  194. package/dist/index.js.map +1 -1
  195. package/dist/routes.d.ts +457 -0
  196. package/dist/routes.d.ts.map +1 -0
  197. package/dist/test-helpers.d.ts +21 -0
  198. package/dist/test-helpers.d.ts.map +1 -0
  199. package/package.json +4 -3
  200. package/dist/executors/certificates/list.d.ts +0 -8
  201. package/dist/executors/certificates/list.d.ts.map +0 -1
  202. package/dist/executors/deployments/get-output.d.ts +0 -7
  203. package/dist/executors/deployments/get-output.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/executors/database-users/get.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAwB,iBAAiB,EAAE,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"}
1
+ {"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/executors/database-users/get.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAMpE,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGxE,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,sBAAsB,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC,CAWlE"}
@@ -2,5 +2,6 @@ export { createDatabaseUser } from "./create.ts";
2
2
  export { deleteDatabaseUser } from "./delete.ts";
3
3
  export { getDatabaseUser } from "./get.ts";
4
4
  export { listDatabaseUsers } from "./list.ts";
5
- export type { CreateDatabaseUserOptions, DeleteDatabaseUserOptions, GetDatabaseUserOptions, ListDatabaseUsersOptions, } from "./types.ts";
5
+ export { updateDatabaseUser } from "./update.ts";
6
+ export type { CreateDatabaseUserOptions, DeleteDatabaseUserOptions, GetDatabaseUserOptions, ListDatabaseUsersOptions, UpdateDatabaseUserOptions, } from "./types.ts";
6
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/executors/database-users/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"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/executors/database-users/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,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACjD,YAAY,EACV,yBAAyB,EACzB,yBAAyB,EACzB,sBAAsB,EACtB,wBAAwB,EACxB,yBAAyB,GAC1B,MAAM,YAAY,CAAC"}
@@ -1,8 +1,10 @@
1
- import type { ForgeDatabaseUser } from "@studiometa/forge-api";
1
+ import type { DatabaseUserAttributes } from "@studiometa/forge-api";
2
2
  import type { ExecutorContext, ExecutorResult } from "../../context.ts";
3
3
  import type { ListDatabaseUsersOptions } from "./types.ts";
4
4
  /**
5
5
  * List database users on a server.
6
6
  */
7
- export declare function listDatabaseUsers(options: ListDatabaseUsersOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeDatabaseUser[]>>;
7
+ export declare function listDatabaseUsers(options: ListDatabaseUsersOptions, ctx: ExecutorContext): Promise<ExecutorResult<Array<DatabaseUserAttributes & {
8
+ id: number;
9
+ }>>>;
8
10
  //# sourceMappingURL=list.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/executors/database-users/list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAyB,iBAAiB,EAAE,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"}
1
+ {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/executors/database-users/list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAMpE,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGxE,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,KAAK,CAAC,sBAAsB,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC,CAAC,CAWzE"}
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Option types for database user executors.
3
3
  */
4
- import type { CreateDatabaseUserData } from "@studiometa/forge-api";
4
+ import type { CreateDatabaseUserData, UpdateDatabaseUserData } from "@studiometa/forge-api";
5
5
  /**
6
6
  * Options for listing database users on a server.
7
7
  */
@@ -21,6 +21,13 @@ export interface GetDatabaseUserOptions {
21
21
  export interface CreateDatabaseUserOptions extends CreateDatabaseUserData {
22
22
  server_id: string;
23
23
  }
24
+ /**
25
+ * Options for updating a database user.
26
+ */
27
+ export interface UpdateDatabaseUserOptions extends UpdateDatabaseUserData {
28
+ server_id: string;
29
+ id: string;
30
+ }
24
31
  /**
25
32
  * Options for deleting a database user.
26
33
  */
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/executors/database-users/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"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/executors/database-users/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAE5F;;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,yBAA0B,SAAQ,sBAAsB;IACvE,SAAS,EAAE,MAAM,CAAC;IAClB,EAAE,EAAE,MAAM,CAAC;CACZ;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,SAAS,EAAE,MAAM,CAAC;IAClB,EAAE,EAAE,MAAM,CAAC;CACZ"}
@@ -0,0 +1,10 @@
1
+ import type { DatabaseUserAttributes } from "@studiometa/forge-api";
2
+ import type { ExecutorContext, ExecutorResult } from "../../context.ts";
3
+ import type { UpdateDatabaseUserOptions } from "./types.ts";
4
+ /**
5
+ * Update an existing database user.
6
+ */
7
+ export declare function updateDatabaseUser(options: UpdateDatabaseUserOptions, ctx: ExecutorContext): Promise<ExecutorResult<DatabaseUserAttributes & {
8
+ id: number;
9
+ }>>;
10
+ //# sourceMappingURL=update.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../src/executors/database-users/update.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAMpE,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGxE,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,sBAAsB,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC,CAYlE"}
@@ -1,8 +1,10 @@
1
- import type { ForgeDatabase } from "@studiometa/forge-api";
1
+ import type { DatabaseAttributes } from "@studiometa/forge-api";
2
2
  import type { ExecutorContext, ExecutorResult } from "../../context.ts";
3
3
  import type { CreateDatabaseOptions } from "./types.ts";
4
4
  /**
5
5
  * Create a new database.
6
6
  */
7
- export declare function createDatabase(options: CreateDatabaseOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeDatabase>>;
7
+ export declare function createDatabase(options: CreateDatabaseOptions, ctx: ExecutorContext): Promise<ExecutorResult<DatabaseAttributes & {
8
+ id: number;
9
+ }>>;
8
10
  //# sourceMappingURL=create.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/executors/databases/create.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAoB,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC7E,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,aAAa,CAAC,CAAC,CAQxC"}
1
+ {"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/executors/databases/create.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAMhE,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGxE,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,kBAAkB,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC,CAY9D"}
@@ -1 +1 @@
1
- {"version":3,"file":"delete.d.ts","sourceRoot":"","sources":["../../../src/executors/databases/delete.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,IAAI,CAAC,CAAC,CAM/B"}
1
+ {"version":3,"file":"delete.d.ts","sourceRoot":"","sources":["../../../src/executors/databases/delete.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGxE,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,IAAI,CAAC,CAAC,CAM/B"}
@@ -1,8 +1,10 @@
1
- import type { ForgeDatabase } from "@studiometa/forge-api";
1
+ import type { DatabaseAttributes } from "@studiometa/forge-api";
2
2
  import type { ExecutorContext, ExecutorResult } from "../../context.ts";
3
3
  import type { GetDatabaseOptions } from "./types.ts";
4
4
  /**
5
5
  * Get a single database.
6
6
  */
7
- export declare function getDatabase(options: GetDatabaseOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeDatabase>>;
7
+ export declare function getDatabase(options: GetDatabaseOptions, ctx: ExecutorContext): Promise<ExecutorResult<DatabaseAttributes & {
8
+ id: number;
9
+ }>>;
8
10
  //# sourceMappingURL=get.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/executors/databases/get.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAoB,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC7E,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAExE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAErD;;GAEG;AACH,wBAAsB,WAAW,CAC/B,OAAO,EAAE,kBAAkB,EAC3B,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC,CASxC"}
1
+ {"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/executors/databases/get.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAMhE,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGxE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAErD;;GAEG;AACH,wBAAsB,WAAW,CAC/B,OAAO,EAAE,kBAAkB,EAC3B,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,kBAAkB,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC,CAW9D"}
@@ -1,8 +1,10 @@
1
- import type { ForgeDatabase } from "@studiometa/forge-api";
1
+ import type { DatabaseAttributes } from "@studiometa/forge-api";
2
2
  import type { ExecutorContext, ExecutorResult } from "../../context.ts";
3
3
  import type { ListDatabasesOptions } from "./types.ts";
4
4
  /**
5
5
  * List databases on a server.
6
6
  */
7
- export declare function listDatabases(options: ListDatabasesOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeDatabase[]>>;
7
+ export declare function listDatabases(options: ListDatabasesOptions, ctx: ExecutorContext): Promise<ExecutorResult<Array<DatabaseAttributes & {
8
+ id: number;
9
+ }>>>;
8
10
  //# sourceMappingURL=list.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/executors/databases/list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAqB,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC9E,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAExE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAEvD;;GAEG;AACH,wBAAsB,aAAa,CACjC,OAAO,EAAE,oBAAoB,EAC7B,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,aAAa,EAAE,CAAC,CAAC,CAS1C"}
1
+ {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/executors/databases/list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAMhE,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGxE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAEvD;;GAEG;AACH,wBAAsB,aAAa,CACjC,OAAO,EAAE,oBAAoB,EAC7B,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,KAAK,CAAC,kBAAkB,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC,CAAC,CAWrE"}
@@ -1,13 +1,14 @@
1
1
  import type { ExecutorContext, ExecutorResult } from "../../context.ts";
2
2
  import type { DeploySiteAndWaitOptions, DeployResult } from "./types.ts";
3
3
  /**
4
- * Trigger a deployment and wait for it to complete.
4
+ * Trigger a deployment and wait for it to complete, streaming logs in real time.
5
5
  *
6
6
  * 1. POSTs to the deploy endpoint.
7
- * 2. Polls GET /servers/{id}/sites/{site_id} every `poll_interval_ms` ms.
8
- * 3. When `deployment_status` becomes null the deploy is done.
9
- * 4. Fetches the deployment log.
10
- * 5. Checks the most recent deployment status to determine success/failure.
7
+ * 2. Polls deployment status every `poll_interval_ms` ms.
8
+ * 3. On each poll, fetches the latest deployment log and emits new content via `onLog`.
9
+ * 4. When status becomes null/idle the deploy is done.
10
+ * 5. Fetches the final deployment log to emit any remaining content.
11
+ * 6. Checks the most recent deployment to determine success/failure.
11
12
  */
12
13
  export declare function deploySiteAndWait(options: DeploySiteAndWaitOptions, ctx: ExecutorContext): Promise<ExecutorResult<DeployResult>>;
13
14
  //# sourceMappingURL=deploy-and-wait.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"deploy-and-wait.d.ts","sourceRoot":"","sources":["../../../src/executors/deployments/deploy-and-wait.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAExE,OAAO,KAAK,EAAE,wBAAwB,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAEzE;;;;;;;;GAQG;AACH,wBAAsB,iBAAiB,CACrC,OAAO,EAAE,wBAAwB,EACjC,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC,CA2EvC"}
1
+ {"version":3,"file":"deploy-and-wait.d.ts","sourceRoot":"","sources":["../../../src/executors/deployments/deploy-and-wait.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGxE,OAAO,KAAK,EAAE,wBAAwB,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAEzE;;;;;;;;;GASG;AACH,wBAAsB,iBAAiB,CACrC,OAAO,EAAE,wBAAwB,EACjC,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC,CAwIvC"}
@@ -1 +1 @@
1
- {"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../../src/executors/deployments/deploy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAExE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAEpD;;GAEG;AACH,wBAAsB,UAAU,CAC9B,OAAO,EAAE,iBAAiB,EAC1B,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAM/B"}
1
+ {"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../../src/executors/deployments/deploy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGxE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAEpD;;GAEG;AACH,wBAAsB,UAAU,CAC9B,OAAO,EAAE,iBAAiB,EAC1B,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAW/B"}
@@ -1 +1 @@
1
- {"version":3,"file":"get-log.d.ts","sourceRoot":"","sources":["../../../src/executors/deployments/get-log.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAExE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAE1D;;GAEG;AACH,wBAAsB,gBAAgB,CACpC,OAAO,EAAE,uBAAuB,EAChC,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAKjC"}
1
+ {"version":3,"file":"get-log.d.ts","sourceRoot":"","sources":["../../../src/executors/deployments/get-log.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGxE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAE1D;;GAEG;AACH,wBAAsB,gBAAgB,CACpC,OAAO,EAAE,uBAAuB,EAChC,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAUjC"}
@@ -1 +1 @@
1
- {"version":3,"file":"get-script.d.ts","sourceRoot":"","sources":["../../../src/executors/deployments/get-script.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAExE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,YAAY,CAAC;AAE7D;;GAEG;AACH,wBAAsB,mBAAmB,CACvC,OAAO,EAAE,0BAA0B,EACnC,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAQjC"}
1
+ {"version":3,"file":"get-script.d.ts","sourceRoot":"","sources":["../../../src/executors/deployments/get-script.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGxE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,YAAY,CAAC;AAE7D;;GAEG;AACH,wBAAsB,mBAAmB,CACvC,OAAO,EAAE,0BAA0B,EACnC,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAYjC"}
@@ -1,9 +1,8 @@
1
1
  export { deploySite } from "./deploy.ts";
2
2
  export { deploySiteAndWait } from "./deploy-and-wait.ts";
3
3
  export { getDeploymentLog } from "./get-log.ts";
4
- export { getDeploymentOutput } from "./get-output.ts";
5
4
  export { getDeploymentScript } from "./get-script.ts";
6
5
  export { listDeployments } from "./list.ts";
7
6
  export { updateDeploymentScript } from "./update-script.ts";
8
- export type { DeployResult, DeploySiteAndWaitOptions, DeploySiteOptions, GetDeploymentLogOptions, GetDeploymentOutputOptions, GetDeploymentScriptOptions, ListDeploymentsOptions, UpdateDeploymentScriptOptions, } from "./types.ts";
7
+ export type { DeployResult, DeploySiteAndWaitOptions, DeploySiteOptions, GetDeploymentLogOptions, GetDeploymentScriptOptions, ListDeploymentsOptions, UpdateDeploymentScriptOptions, } from "./types.ts";
9
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/executors/deployments/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAC5D,YAAY,EACV,YAAY,EACZ,wBAAwB,EACxB,iBAAiB,EACjB,uBAAuB,EACvB,0BAA0B,EAC1B,0BAA0B,EAC1B,sBAAsB,EACtB,6BAA6B,GAC9B,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/executors/deployments/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAC5D,YAAY,EACV,YAAY,EACZ,wBAAwB,EACxB,iBAAiB,EACjB,uBAAuB,EACvB,0BAA0B,EAC1B,sBAAsB,EACtB,6BAA6B,GAC9B,MAAM,YAAY,CAAC"}
@@ -1,8 +1,10 @@
1
- import type { ForgeDeployment } from "@studiometa/forge-api";
1
+ import type { DeploymentAttributes } from "@studiometa/forge-api";
2
2
  import type { ExecutorContext, ExecutorResult } from "../../context.ts";
3
3
  import type { ListDeploymentsOptions } from "./types.ts";
4
4
  /**
5
5
  * List all deployments for a site.
6
6
  */
7
- export declare function listDeployments(options: ListDeploymentsOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeDeployment[]>>;
7
+ export declare function listDeployments(options: ListDeploymentsOptions, ctx: ExecutorContext): Promise<ExecutorResult<Array<DeploymentAttributes & {
8
+ id: number;
9
+ }>>>;
8
10
  //# sourceMappingURL=list.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/executors/deployments/list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAuB,MAAM,uBAAuB,CAAC;AAClF,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,eAAe,EAAE,CAAC,CAAC,CAS5C"}
1
+ {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/executors/deployments/list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAMlE,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGxE,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,KAAK,CAAC,oBAAoB,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC,CAAC,CAcvE"}
@@ -15,14 +15,6 @@ export interface DeploySiteOptions {
15
15
  server_id: string;
16
16
  site_id: string;
17
17
  }
18
- /**
19
- * Options for getting deployment output.
20
- */
21
- export interface GetDeploymentOutputOptions {
22
- server_id: string;
23
- site_id: string;
24
- deployment_id: string;
25
- }
26
18
  /**
27
19
  * Options for getting the deployment script.
28
20
  */
@@ -44,6 +36,7 @@ export interface UpdateDeploymentScriptOptions {
44
36
  export interface GetDeploymentLogOptions {
45
37
  server_id: string;
46
38
  site_id: string;
39
+ deployment_id: string;
47
40
  }
48
41
  /**
49
42
  * Options for deploying a site and waiting for completion.
@@ -60,6 +53,11 @@ export interface DeploySiteAndWaitOptions {
60
53
  status: string;
61
54
  elapsed_ms: number;
62
55
  }) => void;
56
+ /**
57
+ * Called with new log content as it appears during deployment.
58
+ * Only new content since the last call is provided (incremental).
59
+ */
60
+ onLog?: (chunk: string) => void;
63
61
  }
64
62
  /**
65
63
  * Result of the deploySiteAndWait executor.
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/executors/deployments/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC5C,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,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,sDAAsD;IACtD,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,wDAAwD;IACxD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,0EAA0E;IAC1E,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;CACvE;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,SAAS,GAAG,QAAQ,CAAC;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,UAAU,EAAE,MAAM,CAAC;CACpB"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/executors/deployments/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC5C,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,sDAAsD;IACtD,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,wDAAwD;IACxD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,0EAA0E;IAC1E,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IACtE;;;OAGG;IACH,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACjC;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,SAAS,GAAG,QAAQ,CAAC;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,UAAU,EAAE,MAAM,CAAC;CACpB"}
@@ -1 +1 @@
1
- {"version":3,"file":"update-script.d.ts","sourceRoot":"","sources":["../../../src/executors/deployments/update-script.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAExE,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,YAAY,CAAC;AAEhE;;GAEG;AACH,wBAAsB,sBAAsB,CAC1C,OAAO,EAAE,6BAA6B,EACtC,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAQ/B"}
1
+ {"version":3,"file":"update-script.d.ts","sourceRoot":"","sources":["../../../src/executors/deployments/update-script.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGxE,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,YAAY,CAAC;AAEhE;;GAEG;AACH,wBAAsB,sBAAsB,CAC1C,OAAO,EAAE,6BAA6B,EACtC,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAW/B"}
@@ -1 +1 @@
1
- {"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/executors/env/get.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAExE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEhD;;GAEG;AACH,wBAAsB,MAAM,CAC1B,OAAO,EAAE,aAAa,EACtB,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAQjC"}
1
+ {"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/executors/env/get.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGxE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEhD;;GAEG;AACH,wBAAsB,MAAM,CAC1B,OAAO,EAAE,aAAa,EACtB,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAYjC"}
@@ -1 +1 @@
1
- {"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../src/executors/env/update.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"}
1
+ {"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../src/executors/env/update.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGxE,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,CAa/B"}
@@ -1,5 +1,7 @@
1
- import type { ForgeFirewallRule } from "@studiometa/forge-api";
2
1
  import type { ExecutorContext, ExecutorResult } from "../../context.ts";
3
2
  import type { CreateFirewallRuleOptions } from "./types.ts";
4
- export declare function createFirewallRule(options: CreateFirewallRuleOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeFirewallRule>>;
3
+ /**
4
+ * Create a firewall rule.
5
+ */
6
+ export declare function createFirewallRule(options: CreateFirewallRuleOptions, ctx: ExecutorContext): Promise<ExecutorResult<void>>;
5
7
  //# sourceMappingURL=create.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/executors/firewall-rules/create.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAwB,iBAAiB,EAAE,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"}
1
+ {"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/executors/firewall-rules/create.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGxE,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,CAK/B"}
@@ -1,4 +1,7 @@
1
1
  import type { ExecutorContext, ExecutorResult } from "../../context.ts";
2
2
  import type { DeleteFirewallRuleOptions } from "./types.ts";
3
+ /**
4
+ * Delete a firewall rule.
5
+ */
3
6
  export declare function deleteFirewallRule(options: DeleteFirewallRuleOptions, ctx: ExecutorContext): Promise<ExecutorResult<void>>;
4
7
  //# sourceMappingURL=delete.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete.d.ts","sourceRoot":"","sources":["../../../src/executors/firewall-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,CAM/B"}
1
+ {"version":3,"file":"delete.d.ts","sourceRoot":"","sources":["../../../src/executors/firewall-rules/delete.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGxE,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"}
@@ -1,5 +1,10 @@
1
- import type { ForgeFirewallRule } from "@studiometa/forge-api";
1
+ import type { FirewallRuleAttributes } from "@studiometa/forge-api";
2
2
  import type { ExecutorContext, ExecutorResult } from "../../context.ts";
3
3
  import type { GetFirewallRuleOptions } from "./types.ts";
4
- export declare function getFirewallRule(options: GetFirewallRuleOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeFirewallRule>>;
4
+ /**
5
+ * Get a single firewall rule.
6
+ */
7
+ export declare function getFirewallRule(options: GetFirewallRuleOptions, ctx: ExecutorContext): Promise<ExecutorResult<FirewallRuleAttributes & {
8
+ id: number;
9
+ }>>;
5
10
  //# sourceMappingURL=get.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/executors/firewall-rules/get.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAwB,iBAAiB,EAAE,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"}
1
+ {"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/executors/firewall-rules/get.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAMpE,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGxE,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,sBAAsB,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC,CAWlE"}
@@ -1,5 +1,10 @@
1
- import type { ForgeFirewallRule } from "@studiometa/forge-api";
1
+ import type { FirewallRuleAttributes } from "@studiometa/forge-api";
2
2
  import type { ExecutorContext, ExecutorResult } from "../../context.ts";
3
3
  import type { ListFirewallRulesOptions } from "./types.ts";
4
- export declare function listFirewallRules(options: ListFirewallRulesOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeFirewallRule[]>>;
4
+ /**
5
+ * List firewall rules on a server.
6
+ */
7
+ export declare function listFirewallRules(options: ListFirewallRulesOptions, ctx: ExecutorContext): Promise<ExecutorResult<Array<FirewallRuleAttributes & {
8
+ id: number;
9
+ }>>>;
5
10
  //# sourceMappingURL=list.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/executors/firewall-rules/list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAyB,iBAAiB,EAAE,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"}
1
+ {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/executors/firewall-rules/list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAMpE,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGxE,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,KAAK,CAAC,sBAAsB,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC,CAAC,CAWzE"}
@@ -1,5 +1,10 @@
1
- import type { ForgeMonitor } from "@studiometa/forge-api";
1
+ import type { MonitorAttributes } from "@studiometa/forge-api";
2
2
  import type { ExecutorContext, ExecutorResult } from "../../context.ts";
3
3
  import type { CreateMonitorOptions } from "./types.ts";
4
- export declare function createMonitor(options: CreateMonitorOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeMonitor>>;
4
+ /**
5
+ * Create a monitor.
6
+ */
7
+ export declare function createMonitor(options: CreateMonitorOptions, ctx: ExecutorContext): Promise<ExecutorResult<MonitorAttributes & {
8
+ id: number;
9
+ }>>;
5
10
  //# sourceMappingURL=create.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/executors/monitors/create.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,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAEvD,wBAAsB,aAAa,CACjC,OAAO,EAAE,oBAAoB,EAC7B,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC,CAQvC"}
1
+ {"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/executors/monitors/create.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAM/D,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGxE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAEvD;;GAEG;AACH,wBAAsB,aAAa,CACjC,OAAO,EAAE,oBAAoB,EAC7B,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,iBAAiB,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC,CAY7D"}
@@ -1,4 +1,7 @@
1
1
  import type { ExecutorContext, ExecutorResult } from "../../context.ts";
2
2
  import type { DeleteMonitorOptions } from "./types.ts";
3
+ /**
4
+ * Delete a monitor.
5
+ */
3
6
  export declare function deleteMonitor(options: DeleteMonitorOptions, ctx: ExecutorContext): Promise<ExecutorResult<void>>;
4
7
  //# sourceMappingURL=delete.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete.d.ts","sourceRoot":"","sources":["../../../src/executors/monitors/delete.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAExE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAEvD,wBAAsB,aAAa,CACjC,OAAO,EAAE,oBAAoB,EAC7B,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAM/B"}
1
+ {"version":3,"file":"delete.d.ts","sourceRoot":"","sources":["../../../src/executors/monitors/delete.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGxE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAEvD;;GAEG;AACH,wBAAsB,aAAa,CACjC,OAAO,EAAE,oBAAoB,EAC7B,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAM/B"}
@@ -1,5 +1,10 @@
1
- import type { ForgeMonitor } from "@studiometa/forge-api";
1
+ import type { MonitorAttributes } from "@studiometa/forge-api";
2
2
  import type { ExecutorContext, ExecutorResult } from "../../context.ts";
3
3
  import type { GetMonitorOptions } from "./types.ts";
4
- export declare function getMonitor(options: GetMonitorOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeMonitor>>;
4
+ /**
5
+ * Get a single monitor.
6
+ */
7
+ export declare function getMonitor(options: GetMonitorOptions, ctx: ExecutorContext): Promise<ExecutorResult<MonitorAttributes & {
8
+ id: number;
9
+ }>>;
5
10
  //# sourceMappingURL=get.d.ts.map
@@ -1 +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"}
1
+ {"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/executors/monitors/get.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAM/D,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGxE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAEpD;;GAEG;AACH,wBAAsB,UAAU,CAC9B,OAAO,EAAE,iBAAiB,EAC1B,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,iBAAiB,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC,CAW7D"}
@@ -1,5 +1,10 @@
1
- import type { ForgeMonitor } from "@studiometa/forge-api";
1
+ import type { MonitorAttributes } from "@studiometa/forge-api";
2
2
  import type { ExecutorContext, ExecutorResult } from "../../context.ts";
3
3
  import type { ListMonitorsOptions } from "./types.ts";
4
- export declare function listMonitors(options: ListMonitorsOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeMonitor[]>>;
4
+ /**
5
+ * List monitors on a server.
6
+ */
7
+ export declare function listMonitors(options: ListMonitorsOptions, ctx: ExecutorContext): Promise<ExecutorResult<Array<MonitorAttributes & {
8
+ id: number;
9
+ }>>>;
5
10
  //# sourceMappingURL=list.d.ts.map
@@ -1 +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"}
1
+ {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/executors/monitors/list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAM/D,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGxE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEtD;;GAEG;AACH,wBAAsB,YAAY,CAChC,OAAO,EAAE,mBAAmB,EAC5B,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,KAAK,CAAC,iBAAiB,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC,CAAC,CAWpE"}
@@ -1 +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"}
1
+ {"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/executors/nginx/get.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGxE,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,CAYjC"}
@@ -1 +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"}
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;AAGxE,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,CAa/B"}
@@ -1,5 +1,10 @@
1
- import type { ForgeNginxTemplate } from "@studiometa/forge-api";
1
+ import type { NginxTemplateAttributes } from "@studiometa/forge-api";
2
2
  import type { ExecutorContext, ExecutorResult } from "../../context.ts";
3
3
  import type { CreateNginxTemplateOptions } from "./types.ts";
4
- export declare function createNginxTemplate(options: CreateNginxTemplateOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeNginxTemplate>>;
4
+ /**
5
+ * Create a Nginx template.
6
+ */
7
+ export declare function createNginxTemplate(options: CreateNginxTemplateOptions, ctx: ExecutorContext): Promise<ExecutorResult<NginxTemplateAttributes & {
8
+ id: number;
9
+ }>>;
5
10
  //# sourceMappingURL=create.d.ts.map
@@ -1 +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"}
1
+ {"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/executors/nginx-templates/create.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAMrE,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGxE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,YAAY,CAAC;AAE7D;;GAEG;AACH,wBAAsB,mBAAmB,CACvC,OAAO,EAAE,0BAA0B,EACnC,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,uBAAuB,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC,CAYnE"}
@@ -1,4 +1,7 @@
1
1
  import type { ExecutorContext, ExecutorResult } from "../../context.ts";
2
2
  import type { DeleteNginxTemplateOptions } from "./types.ts";
3
+ /**
4
+ * Delete a Nginx template.
5
+ */
3
6
  export declare function deleteNginxTemplate(options: DeleteNginxTemplateOptions, ctx: ExecutorContext): Promise<ExecutorResult<void>>;
4
7
  //# sourceMappingURL=delete.d.ts.map
@@ -1 +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"}
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;AAGxE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,YAAY,CAAC;AAE7D;;GAEG;AACH,wBAAsB,mBAAmB,CACvC,OAAO,EAAE,0BAA0B,EACnC,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAS/B"}
@@ -1,5 +1,10 @@
1
- import type { ForgeNginxTemplate } from "@studiometa/forge-api";
1
+ import type { NginxTemplateAttributes } from "@studiometa/forge-api";
2
2
  import type { ExecutorContext, ExecutorResult } from "../../context.ts";
3
3
  import type { GetNginxTemplateOptions } from "./types.ts";
4
- export declare function getNginxTemplate(options: GetNginxTemplateOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeNginxTemplate>>;
4
+ /**
5
+ * Get a single Nginx template.
6
+ */
7
+ export declare function getNginxTemplate(options: GetNginxTemplateOptions, ctx: ExecutorContext): Promise<ExecutorResult<NginxTemplateAttributes & {
8
+ id: number;
9
+ }>>;
5
10
  //# sourceMappingURL=get.d.ts.map
@@ -1 +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"}
1
+ {"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/executors/nginx-templates/get.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAMrE,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGxE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAE1D;;GAEG;AACH,wBAAsB,gBAAgB,CACpC,OAAO,EAAE,uBAAuB,EAChC,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,uBAAuB,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC,CAWnE"}
@@ -1,5 +1,10 @@
1
- import type { ForgeNginxTemplate } from "@studiometa/forge-api";
1
+ import type { NginxTemplateAttributes } from "@studiometa/forge-api";
2
2
  import type { ExecutorContext, ExecutorResult } from "../../context.ts";
3
3
  import type { ListNginxTemplatesOptions } from "./types.ts";
4
- export declare function listNginxTemplates(options: ListNginxTemplatesOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeNginxTemplate[]>>;
4
+ /**
5
+ * List Nginx templates on a server.
6
+ */
7
+ export declare function listNginxTemplates(options: ListNginxTemplatesOptions, ctx: ExecutorContext): Promise<ExecutorResult<Array<NginxTemplateAttributes & {
8
+ id: number;
9
+ }>>>;
5
10
  //# sourceMappingURL=list.d.ts.map
@@ -1 +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"}
1
+ {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/executors/nginx-templates/list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAMrE,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGxE,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,KAAK,CAAC,uBAAuB,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC,CAAC,CAW1E"}
@@ -1,5 +1,10 @@
1
- import type { ForgeNginxTemplate } from "@studiometa/forge-api";
1
+ import type { NginxTemplateAttributes } from "@studiometa/forge-api";
2
2
  import type { ExecutorContext, ExecutorResult } from "../../context.ts";
3
3
  import type { UpdateNginxTemplateOptions } from "./types.ts";
4
- export declare function updateNginxTemplate(options: UpdateNginxTemplateOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeNginxTemplate>>;
4
+ /**
5
+ * Update a Nginx template.
6
+ */
7
+ export declare function updateNginxTemplate(options: UpdateNginxTemplateOptions, ctx: ExecutorContext): Promise<ExecutorResult<NginxTemplateAttributes & {
8
+ id: number;
9
+ }>>;
5
10
  //# sourceMappingURL=update.d.ts.map
@@ -1 +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"}
1
+ {"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../src/executors/nginx-templates/update.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAMrE,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGxE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,YAAY,CAAC;AAE7D;;GAEG;AACH,wBAAsB,mBAAmB,CACvC,OAAO,EAAE,0BAA0B,EACnC,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,uBAAuB,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC,CAYnE"}
@@ -1,5 +1,10 @@
1
- import type { ForgeRecipe } from "@studiometa/forge-api";
1
+ import type { RecipeAttributes } from "@studiometa/forge-api";
2
2
  import type { ExecutorContext, ExecutorResult } from "../../context.ts";
3
3
  import type { CreateRecipeOptions } from "./types.ts";
4
- export declare function createRecipe(options: CreateRecipeOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeRecipe>>;
4
+ /**
5
+ * Create a recipe.
6
+ */
7
+ export declare function createRecipe(options: CreateRecipeOptions, ctx: ExecutorContext): Promise<ExecutorResult<RecipeAttributes & {
8
+ id: number;
9
+ }>>;
5
10
  //# sourceMappingURL=create.d.ts.map
@@ -1 +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"}
1
+ {"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/executors/recipes/create.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAM9D,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGxE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEtD;;GAEG;AACH,wBAAsB,YAAY,CAChC,OAAO,EAAE,mBAAmB,EAC5B,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,gBAAgB,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC,CAW5D"}