@studiometa/forge-core 0.0.1 → 0.1.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.
- package/README.md +121 -0
- package/dist/constants.d.ts +13 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/context.d.ts +30 -0
- package/dist/context.d.ts.map +1 -0
- package/dist/executors/backups/create.d.ts +8 -0
- package/dist/executors/backups/create.d.ts.map +1 -0
- package/dist/executors/backups/delete.d.ts +7 -0
- package/dist/executors/backups/delete.d.ts.map +1 -0
- package/dist/executors/backups/get.d.ts +8 -0
- package/dist/executors/backups/get.d.ts.map +1 -0
- package/dist/executors/backups/index.d.ts +6 -0
- package/dist/executors/backups/index.d.ts.map +1 -0
- package/dist/executors/backups/list.d.ts +8 -0
- package/dist/executors/backups/list.d.ts.map +1 -0
- package/dist/executors/backups/types.d.ts +31 -0
- package/dist/executors/backups/types.d.ts.map +1 -0
- package/dist/executors/certificates/activate.d.ts +7 -0
- package/dist/executors/certificates/activate.d.ts.map +1 -0
- package/dist/executors/certificates/create.d.ts +8 -0
- package/dist/executors/certificates/create.d.ts.map +1 -0
- package/dist/executors/certificates/delete.d.ts +7 -0
- package/dist/executors/certificates/delete.d.ts.map +1 -0
- package/dist/executors/certificates/get.d.ts +8 -0
- package/dist/executors/certificates/get.d.ts.map +1 -0
- package/dist/executors/certificates/index.d.ts +7 -0
- package/dist/executors/certificates/index.d.ts.map +1 -0
- package/dist/executors/certificates/list.d.ts +8 -0
- package/dist/executors/certificates/list.d.ts.map +1 -0
- package/dist/executors/certificates/types.d.ts +43 -0
- package/dist/executors/certificates/types.d.ts.map +1 -0
- package/dist/executors/commands/create.d.ts +8 -0
- package/dist/executors/commands/create.d.ts.map +1 -0
- package/dist/executors/commands/get.d.ts +8 -0
- package/dist/executors/commands/get.d.ts.map +1 -0
- package/dist/executors/commands/index.d.ts +5 -0
- package/dist/executors/commands/index.d.ts.map +1 -0
- package/dist/executors/commands/list.d.ts +8 -0
- package/dist/executors/commands/list.d.ts.map +1 -0
- package/dist/executors/commands/types.d.ts +27 -0
- package/dist/executors/commands/types.d.ts.map +1 -0
- package/dist/executors/daemons/create.d.ts +8 -0
- package/dist/executors/daemons/create.d.ts.map +1 -0
- package/dist/executors/daemons/delete.d.ts +7 -0
- package/dist/executors/daemons/delete.d.ts.map +1 -0
- package/dist/executors/daemons/get.d.ts +8 -0
- package/dist/executors/daemons/get.d.ts.map +1 -0
- package/dist/executors/daemons/index.d.ts +7 -0
- package/dist/executors/daemons/index.d.ts.map +1 -0
- package/dist/executors/daemons/list.d.ts +8 -0
- package/dist/executors/daemons/list.d.ts.map +1 -0
- package/dist/executors/daemons/restart.d.ts +7 -0
- package/dist/executors/daemons/restart.d.ts.map +1 -0
- package/dist/executors/daemons/types.d.ts +38 -0
- package/dist/executors/daemons/types.d.ts.map +1 -0
- package/dist/executors/database-users/create.d.ts +8 -0
- package/dist/executors/database-users/create.d.ts.map +1 -0
- package/dist/executors/database-users/delete.d.ts +7 -0
- package/dist/executors/database-users/delete.d.ts.map +1 -0
- package/dist/executors/database-users/get.d.ts +8 -0
- package/dist/executors/database-users/get.d.ts.map +1 -0
- package/dist/executors/database-users/index.d.ts +6 -0
- package/dist/executors/database-users/index.d.ts.map +1 -0
- package/dist/executors/database-users/list.d.ts +8 -0
- package/dist/executors/database-users/list.d.ts.map +1 -0
- package/dist/executors/database-users/types.d.ts +31 -0
- package/dist/executors/database-users/types.d.ts.map +1 -0
- package/dist/executors/databases/create.d.ts +8 -0
- package/dist/executors/databases/create.d.ts.map +1 -0
- package/dist/executors/databases/delete.d.ts +7 -0
- package/dist/executors/databases/delete.d.ts.map +1 -0
- package/dist/executors/databases/get.d.ts +8 -0
- package/dist/executors/databases/get.d.ts.map +1 -0
- package/dist/executors/databases/index.d.ts +6 -0
- package/dist/executors/databases/index.d.ts.map +1 -0
- package/dist/executors/databases/list.d.ts +8 -0
- package/dist/executors/databases/list.d.ts.map +1 -0
- package/dist/executors/databases/types.d.ts +31 -0
- package/dist/executors/databases/types.d.ts.map +1 -0
- package/dist/executors/deployments/deploy.d.ts +7 -0
- package/dist/executors/deployments/deploy.d.ts.map +1 -0
- package/dist/executors/deployments/get-output.d.ts +7 -0
- package/dist/executors/deployments/get-output.d.ts.map +1 -0
- package/dist/executors/deployments/get-script.d.ts +7 -0
- package/dist/executors/deployments/get-script.d.ts.map +1 -0
- package/dist/executors/deployments/index.d.ts +7 -0
- package/dist/executors/deployments/index.d.ts.map +1 -0
- package/dist/executors/deployments/list.d.ts +8 -0
- package/dist/executors/deployments/list.d.ts.map +1 -0
- package/dist/executors/deployments/types.d.ts +41 -0
- package/dist/executors/deployments/types.d.ts.map +1 -0
- package/dist/executors/deployments/update-script.d.ts +7 -0
- package/dist/executors/deployments/update-script.d.ts.map +1 -0
- package/dist/executors/env/get.d.ts +7 -0
- package/dist/executors/env/get.d.ts.map +1 -0
- package/dist/executors/env/index.d.ts +4 -0
- package/dist/executors/env/index.d.ts.map +1 -0
- package/dist/executors/env/types.d.ts +19 -0
- package/dist/executors/env/types.d.ts.map +1 -0
- package/dist/executors/env/update.d.ts +7 -0
- package/dist/executors/env/update.d.ts.map +1 -0
- package/dist/executors/firewall-rules/create.d.ts +5 -0
- package/dist/executors/firewall-rules/create.d.ts.map +1 -0
- package/dist/executors/firewall-rules/delete.d.ts +4 -0
- package/dist/executors/firewall-rules/delete.d.ts.map +1 -0
- package/dist/executors/firewall-rules/get.d.ts +5 -0
- package/dist/executors/firewall-rules/get.d.ts.map +1 -0
- package/dist/executors/firewall-rules/index.d.ts +6 -0
- package/dist/executors/firewall-rules/index.d.ts.map +1 -0
- package/dist/executors/firewall-rules/list.d.ts +5 -0
- package/dist/executors/firewall-rules/list.d.ts.map +1 -0
- package/dist/executors/firewall-rules/types.d.ts +31 -0
- package/dist/executors/firewall-rules/types.d.ts.map +1 -0
- package/dist/executors/monitors/create.d.ts +5 -0
- package/dist/executors/monitors/create.d.ts.map +1 -0
- package/dist/executors/monitors/delete.d.ts +4 -0
- package/dist/executors/monitors/delete.d.ts.map +1 -0
- package/dist/executors/monitors/get.d.ts +5 -0
- package/dist/executors/monitors/get.d.ts.map +1 -0
- package/dist/executors/monitors/index.d.ts +6 -0
- package/dist/executors/monitors/index.d.ts.map +1 -0
- package/dist/executors/monitors/list.d.ts +5 -0
- package/dist/executors/monitors/list.d.ts.map +1 -0
- package/dist/executors/monitors/types.d.ts +31 -0
- package/dist/executors/monitors/types.d.ts.map +1 -0
- package/dist/executors/nginx/get.d.ts +7 -0
- package/dist/executors/nginx/get.d.ts.map +1 -0
- package/dist/executors/nginx/index.d.ts +4 -0
- package/dist/executors/nginx/index.d.ts.map +1 -0
- package/dist/executors/nginx/types.d.ts +19 -0
- package/dist/executors/nginx/types.d.ts.map +1 -0
- package/dist/executors/nginx/update.d.ts +7 -0
- package/dist/executors/nginx/update.d.ts.map +1 -0
- package/dist/executors/nginx-templates/create.d.ts +5 -0
- package/dist/executors/nginx-templates/create.d.ts.map +1 -0
- package/dist/executors/nginx-templates/delete.d.ts +4 -0
- package/dist/executors/nginx-templates/delete.d.ts.map +1 -0
- package/dist/executors/nginx-templates/get.d.ts +5 -0
- package/dist/executors/nginx-templates/get.d.ts.map +1 -0
- package/dist/executors/nginx-templates/index.d.ts +7 -0
- package/dist/executors/nginx-templates/index.d.ts.map +1 -0
- package/dist/executors/nginx-templates/list.d.ts +5 -0
- package/dist/executors/nginx-templates/list.d.ts.map +1 -0
- package/dist/executors/nginx-templates/types.d.ts +40 -0
- package/dist/executors/nginx-templates/types.d.ts.map +1 -0
- package/dist/executors/nginx-templates/update.d.ts +5 -0
- package/dist/executors/nginx-templates/update.d.ts.map +1 -0
- package/dist/executors/recipes/create.d.ts +5 -0
- package/dist/executors/recipes/create.d.ts.map +1 -0
- package/dist/executors/recipes/delete.d.ts +4 -0
- package/dist/executors/recipes/delete.d.ts.map +1 -0
- package/dist/executors/recipes/get.d.ts +5 -0
- package/dist/executors/recipes/get.d.ts.map +1 -0
- package/dist/executors/recipes/index.d.ts +7 -0
- package/dist/executors/recipes/index.d.ts.map +1 -0
- package/dist/executors/recipes/list.d.ts +5 -0
- package/dist/executors/recipes/list.d.ts.map +1 -0
- package/dist/executors/recipes/run.d.ts +7 -0
- package/dist/executors/recipes/run.d.ts.map +1 -0
- package/dist/executors/recipes/types.d.ts +34 -0
- package/dist/executors/recipes/types.d.ts.map +1 -0
- package/dist/executors/redirect-rules/create.d.ts +5 -0
- package/dist/executors/redirect-rules/create.d.ts.map +1 -0
- package/dist/executors/redirect-rules/delete.d.ts +4 -0
- package/dist/executors/redirect-rules/delete.d.ts.map +1 -0
- package/dist/executors/redirect-rules/get.d.ts +5 -0
- package/dist/executors/redirect-rules/get.d.ts.map +1 -0
- package/dist/executors/redirect-rules/index.d.ts +6 -0
- package/dist/executors/redirect-rules/index.d.ts.map +1 -0
- package/dist/executors/redirect-rules/list.d.ts +5 -0
- package/dist/executors/redirect-rules/list.d.ts.map +1 -0
- package/dist/executors/redirect-rules/types.d.ts +35 -0
- package/dist/executors/redirect-rules/types.d.ts.map +1 -0
- package/dist/executors/scheduled-jobs/create.d.ts +8 -0
- package/dist/executors/scheduled-jobs/create.d.ts.map +1 -0
- package/dist/executors/scheduled-jobs/delete.d.ts +7 -0
- package/dist/executors/scheduled-jobs/delete.d.ts.map +1 -0
- package/dist/executors/scheduled-jobs/get.d.ts +8 -0
- package/dist/executors/scheduled-jobs/get.d.ts.map +1 -0
- package/dist/executors/scheduled-jobs/index.d.ts +6 -0
- package/dist/executors/scheduled-jobs/index.d.ts.map +1 -0
- package/dist/executors/scheduled-jobs/list.d.ts +8 -0
- package/dist/executors/scheduled-jobs/list.d.ts.map +1 -0
- package/dist/executors/scheduled-jobs/types.d.ts +31 -0
- package/dist/executors/scheduled-jobs/types.d.ts.map +1 -0
- package/dist/executors/security-rules/create.d.ts +5 -0
- package/dist/executors/security-rules/create.d.ts.map +1 -0
- package/dist/executors/security-rules/delete.d.ts +4 -0
- package/dist/executors/security-rules/delete.d.ts.map +1 -0
- package/dist/executors/security-rules/get.d.ts +5 -0
- package/dist/executors/security-rules/get.d.ts.map +1 -0
- package/dist/executors/security-rules/index.d.ts +6 -0
- package/dist/executors/security-rules/index.d.ts.map +1 -0
- package/dist/executors/security-rules/list.d.ts +5 -0
- package/dist/executors/security-rules/list.d.ts.map +1 -0
- package/dist/executors/security-rules/types.d.ts +35 -0
- package/dist/executors/security-rules/types.d.ts.map +1 -0
- package/dist/executors/servers/create.d.ts +8 -0
- package/dist/executors/servers/create.d.ts.map +1 -0
- package/dist/executors/servers/delete.d.ts +7 -0
- package/dist/executors/servers/delete.d.ts.map +1 -0
- package/dist/executors/servers/get.d.ts +8 -0
- package/dist/executors/servers/get.d.ts.map +1 -0
- package/dist/executors/servers/index.d.ts +7 -0
- package/dist/executors/servers/index.d.ts.map +1 -0
- package/dist/executors/servers/list.d.ts +8 -0
- package/dist/executors/servers/list.d.ts.map +1 -0
- package/dist/executors/servers/reboot.d.ts +7 -0
- package/dist/executors/servers/reboot.d.ts.map +1 -0
- package/dist/executors/servers/types.d.ts +33 -0
- package/dist/executors/servers/types.d.ts.map +1 -0
- package/dist/executors/sites/create.d.ts +8 -0
- package/dist/executors/sites/create.d.ts.map +1 -0
- package/dist/executors/sites/delete.d.ts +7 -0
- package/dist/executors/sites/delete.d.ts.map +1 -0
- package/dist/executors/sites/get.d.ts +8 -0
- package/dist/executors/sites/get.d.ts.map +1 -0
- package/dist/executors/sites/index.d.ts +6 -0
- package/dist/executors/sites/index.d.ts.map +1 -0
- package/dist/executors/sites/list.d.ts +8 -0
- package/dist/executors/sites/list.d.ts.map +1 -0
- package/dist/executors/sites/types.d.ts +31 -0
- package/dist/executors/sites/types.d.ts.map +1 -0
- package/dist/executors/ssh-keys/create.d.ts +5 -0
- package/dist/executors/ssh-keys/create.d.ts.map +1 -0
- package/dist/executors/ssh-keys/delete.d.ts +4 -0
- package/dist/executors/ssh-keys/delete.d.ts.map +1 -0
- package/dist/executors/ssh-keys/get.d.ts +5 -0
- package/dist/executors/ssh-keys/get.d.ts.map +1 -0
- package/dist/executors/ssh-keys/index.d.ts +6 -0
- package/dist/executors/ssh-keys/index.d.ts.map +1 -0
- package/dist/executors/ssh-keys/list.d.ts +5 -0
- package/dist/executors/ssh-keys/list.d.ts.map +1 -0
- package/dist/executors/ssh-keys/types.d.ts +31 -0
- package/dist/executors/ssh-keys/types.d.ts.map +1 -0
- package/dist/executors/types.d.ts +18 -0
- package/dist/executors/types.d.ts.map +1 -0
- package/dist/executors/user/get.d.ts +8 -0
- package/dist/executors/user/get.d.ts.map +1 -0
- package/dist/executors/user/index.d.ts +3 -0
- package/dist/executors/user/index.d.ts.map +1 -0
- package/dist/executors/user/types.d.ts +9 -0
- package/dist/executors/user/types.d.ts.map +1 -0
- package/dist/index.d.ts +46 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +480 -0
- package/dist/index.js.map +1 -0
- package/package.json +33 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { createServer } from "./create.ts";
|
|
2
|
+
export { deleteServer } from "./delete.ts";
|
|
3
|
+
export { getServer } from "./get.ts";
|
|
4
|
+
export { listServers } from "./list.ts";
|
|
5
|
+
export { rebootServer } from "./reboot.ts";
|
|
6
|
+
export type { CreateServerOptions, DeleteServerOptions, GetServerOptions, ListServersOptions, RebootServerOptions, } from "./types.ts";
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/executors/servers/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,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,YAAY,EACV,mBAAmB,EACnB,mBAAmB,EACnB,gBAAgB,EAChB,kBAAkB,EAClB,mBAAmB,GACpB,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ForgeServer } from "@studiometa/forge-api";
|
|
2
|
+
import type { ExecutorContext, ExecutorResult } from "../../context.ts";
|
|
3
|
+
import type { ListServersOptions } from "./types.ts";
|
|
4
|
+
/**
|
|
5
|
+
* List all servers.
|
|
6
|
+
*/
|
|
7
|
+
export declare function listServers(_options: ListServersOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeServer[]>>;
|
|
8
|
+
//# sourceMappingURL=list.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/executors/servers/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;;GAEG;AACH,wBAAsB,WAAW,CAC/B,QAAQ,EAAE,kBAAkB,EAC5B,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,WAAW,EAAE,CAAC,CAAC,CAOxC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ExecutorContext, ExecutorResult } from "../../context.ts";
|
|
2
|
+
import type { RebootServerOptions } from "./types.ts";
|
|
3
|
+
/**
|
|
4
|
+
* Reboot a server.
|
|
5
|
+
*/
|
|
6
|
+
export declare function rebootServer(options: RebootServerOptions, ctx: ExecutorContext): Promise<ExecutorResult<void>>;
|
|
7
|
+
//# sourceMappingURL=reboot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reboot.d.ts","sourceRoot":"","sources":["../../../src/executors/servers/reboot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAExE,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,IAAI,CAAC,CAAC,CAM/B"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Option types for server executors.
|
|
3
|
+
*/
|
|
4
|
+
import type { CreateServerData } from "@studiometa/forge-api";
|
|
5
|
+
/**
|
|
6
|
+
* Options for listing servers.
|
|
7
|
+
*/
|
|
8
|
+
export interface ListServersOptions {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Options for getting a single server.
|
|
12
|
+
*/
|
|
13
|
+
export interface GetServerOptions {
|
|
14
|
+
server_id: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Options for creating a server.
|
|
18
|
+
*/
|
|
19
|
+
export interface CreateServerOptions extends CreateServerData {
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Options for deleting a server.
|
|
23
|
+
*/
|
|
24
|
+
export interface DeleteServerOptions {
|
|
25
|
+
server_id: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Options for rebooting a server.
|
|
29
|
+
*/
|
|
30
|
+
export interface RebootServerOptions {
|
|
31
|
+
server_id: string;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/executors/servers/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,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,gBAAgB;CAAG;AAEhE;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,SAAS,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ForgeSite } from "@studiometa/forge-api";
|
|
2
|
+
import type { ExecutorContext, ExecutorResult } from "../../context.ts";
|
|
3
|
+
import type { CreateSiteOptions } from "./types.ts";
|
|
4
|
+
/**
|
|
5
|
+
* Create a new site on a server.
|
|
6
|
+
*/
|
|
7
|
+
export declare function createSite(options: CreateSiteOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeSite>>;
|
|
8
|
+
//# sourceMappingURL=create.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/executors/sites/create.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAgB,MAAM,uBAAuB,CAAC;AACrE,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,SAAS,CAAC,CAAC,CAQpC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ExecutorContext, ExecutorResult } from "../../context.ts";
|
|
2
|
+
import type { DeleteSiteOptions } from "./types.ts";
|
|
3
|
+
/**
|
|
4
|
+
* Delete a site.
|
|
5
|
+
*/
|
|
6
|
+
export declare function deleteSite(options: DeleteSiteOptions, 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/sites/delete.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"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ForgeSite } from "@studiometa/forge-api";
|
|
2
|
+
import type { ExecutorContext, ExecutorResult } from "../../context.ts";
|
|
3
|
+
import type { GetSiteOptions } from "./types.ts";
|
|
4
|
+
/**
|
|
5
|
+
* Get a specific site by ID.
|
|
6
|
+
*/
|
|
7
|
+
export declare function getSite(options: GetSiteOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeSite>>;
|
|
8
|
+
//# sourceMappingURL=get.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/executors/sites/get.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAgB,MAAM,uBAAuB,CAAC;AACrE,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAExE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAEjD;;GAEG;AACH,wBAAsB,OAAO,CAC3B,OAAO,EAAE,cAAc,EACvB,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC,CASpC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { createSite } from "./create.ts";
|
|
2
|
+
export { deleteSite } from "./delete.ts";
|
|
3
|
+
export { getSite } from "./get.ts";
|
|
4
|
+
export { listSites } from "./list.ts";
|
|
5
|
+
export type { CreateSiteOptions, DeleteSiteOptions, GetSiteOptions, ListSitesOptions, } from "./types.ts";
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/executors/sites/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,YAAY,EACV,iBAAiB,EACjB,iBAAiB,EACjB,cAAc,EACd,gBAAgB,GACjB,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ForgeSite } from "@studiometa/forge-api";
|
|
2
|
+
import type { ExecutorContext, ExecutorResult } from "../../context.ts";
|
|
3
|
+
import type { ListSitesOptions } from "./types.ts";
|
|
4
|
+
/**
|
|
5
|
+
* List all sites on a server.
|
|
6
|
+
*/
|
|
7
|
+
export declare function listSites(options: ListSitesOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeSite[]>>;
|
|
8
|
+
//# sourceMappingURL=list.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/executors/sites/list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAiB,MAAM,uBAAuB,CAAC;AACtE,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,SAAS,EAAE,CAAC,CAAC,CAOtC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Option types for site executors.
|
|
3
|
+
*/
|
|
4
|
+
import type { CreateSiteData } from "@studiometa/forge-api";
|
|
5
|
+
/**
|
|
6
|
+
* Options for listing sites on a server.
|
|
7
|
+
*/
|
|
8
|
+
export interface ListSitesOptions {
|
|
9
|
+
server_id: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Options for getting a single site.
|
|
13
|
+
*/
|
|
14
|
+
export interface GetSiteOptions {
|
|
15
|
+
server_id: string;
|
|
16
|
+
site_id: string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Options for creating a site on a server.
|
|
20
|
+
*/
|
|
21
|
+
export interface CreateSiteOptions extends CreateSiteData {
|
|
22
|
+
server_id: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Options for deleting a site.
|
|
26
|
+
*/
|
|
27
|
+
export interface DeleteSiteOptions {
|
|
28
|
+
server_id: string;
|
|
29
|
+
site_id: string;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/executors/sites/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE5D;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAkB,SAAQ,cAAc;IACvD,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { ForgeSshKey } from "@studiometa/forge-api";
|
|
2
|
+
import type { ExecutorContext, ExecutorResult } from "../../context.ts";
|
|
3
|
+
import type { CreateSshKeyOptions } from "./types.ts";
|
|
4
|
+
export declare function createSshKey(options: CreateSshKeyOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeSshKey>>;
|
|
5
|
+
//# sourceMappingURL=create.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/executors/ssh-keys/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,CAQtC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ExecutorContext, ExecutorResult } from "../../context.ts";
|
|
2
|
+
import type { DeleteSshKeyOptions } from "./types.ts";
|
|
3
|
+
export declare function deleteSshKey(options: DeleteSshKeyOptions, 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/ssh-keys/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 { ForgeSshKey } from "@studiometa/forge-api";
|
|
2
|
+
import type { ExecutorContext, ExecutorResult } from "../../context.ts";
|
|
3
|
+
import type { GetSshKeyOptions } from "./types.ts";
|
|
4
|
+
export declare function getSshKey(options: GetSshKeyOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeSshKey>>;
|
|
5
|
+
//# sourceMappingURL=get.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/executors/ssh-keys/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,CAStC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { createSshKey } from "./create.ts";
|
|
2
|
+
export { deleteSshKey } from "./delete.ts";
|
|
3
|
+
export { getSshKey } from "./get.ts";
|
|
4
|
+
export { listSshKeys } from "./list.ts";
|
|
5
|
+
export type { CreateSshKeyOptions, DeleteSshKeyOptions, GetSshKeyOptions, ListSshKeysOptions, } from "./types.ts";
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/executors/ssh-keys/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,YAAY,EACV,mBAAmB,EACnB,mBAAmB,EACnB,gBAAgB,EAChB,kBAAkB,GACnB,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { ForgeSshKey } from "@studiometa/forge-api";
|
|
2
|
+
import type { ExecutorContext, ExecutorResult } from "../../context.ts";
|
|
3
|
+
import type { ListSshKeysOptions } from "./types.ts";
|
|
4
|
+
export declare function listSshKeys(options: ListSshKeysOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeSshKey[]>>;
|
|
5
|
+
//# sourceMappingURL=list.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/executors/ssh-keys/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,OAAO,EAAE,kBAAkB,EAC3B,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,WAAW,EAAE,CAAC,CAAC,CAMxC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Option types for SSH key executors.
|
|
3
|
+
*/
|
|
4
|
+
import type { CreateSshKeyData } from "@studiometa/forge-api";
|
|
5
|
+
/**
|
|
6
|
+
* Options for listing SSH keys on a server.
|
|
7
|
+
*/
|
|
8
|
+
export interface ListSshKeysOptions {
|
|
9
|
+
server_id: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Options for getting a single SSH key.
|
|
13
|
+
*/
|
|
14
|
+
export interface GetSshKeyOptions {
|
|
15
|
+
server_id: string;
|
|
16
|
+
id: string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Options for creating an SSH key.
|
|
20
|
+
*/
|
|
21
|
+
export interface CreateSshKeyOptions extends CreateSshKeyData {
|
|
22
|
+
server_id: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Options for deleting an SSH key.
|
|
26
|
+
*/
|
|
27
|
+
export interface DeleteSshKeyOptions {
|
|
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/ssh-keys/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAE9D;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,SAAS,EAAE,MAAM,CAAC;IAClB,EAAE,EAAE,MAAM,CAAC;CACZ;AAED;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,gBAAgB;IAC3D,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,EAAE,EAAE,MAAM,CAAC;CACZ"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared executor types.
|
|
3
|
+
*
|
|
4
|
+
* Executors are pure business logic functions:
|
|
5
|
+
* (options, context) → ExecutorResult<T>
|
|
6
|
+
*
|
|
7
|
+
* They never do I/O side effects (no console.log, no spinners, no process.exit).
|
|
8
|
+
* Adapters (CLI, MCP) handle all I/O concerns.
|
|
9
|
+
*/
|
|
10
|
+
import type { ExecutorContext, ExecutorResult } from "../context.ts";
|
|
11
|
+
/**
|
|
12
|
+
* Generic executor function signature.
|
|
13
|
+
*
|
|
14
|
+
* @template TOptions - The shape of the options object
|
|
15
|
+
* @template TData - The shape of the data payload
|
|
16
|
+
*/
|
|
17
|
+
export type Executor<TOptions, TData> = (options: TOptions, context: ExecutorContext) => Promise<ExecutorResult<TData>>;
|
|
18
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/executors/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAErE;;;;;GAKG;AACH,MAAM,MAAM,QAAQ,CAAC,QAAQ,EAAE,KAAK,IAAI,CACtC,OAAO,EAAE,QAAQ,EACjB,OAAO,EAAE,eAAe,KACrB,OAAO,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ForgeUser } from "@studiometa/forge-api";
|
|
2
|
+
import type { ExecutorContext, ExecutorResult } from "../../context.ts";
|
|
3
|
+
import type { GetUserOptions } from "./types.ts";
|
|
4
|
+
/**
|
|
5
|
+
* Get the currently authenticated user.
|
|
6
|
+
*/
|
|
7
|
+
export declare function getUser(_options: GetUserOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeUser>>;
|
|
8
|
+
//# sourceMappingURL=get.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/executors/user/get.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAgB,MAAM,uBAAuB,CAAC;AACrE,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAExE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAEjD;;GAEG;AACH,wBAAsB,OAAO,CAC3B,QAAQ,EAAE,cAAc,EACxB,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC,CAOpC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/executors/user/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AACnC,YAAY,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/executors/user/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;GAEG;AACH,MAAM,WAAW,cAAc;CAE9B"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
export { ACTIONS, RESOURCES } from "./constants.ts";
|
|
2
|
+
export type { Action, Resource } from "./constants.ts";
|
|
3
|
+
export { createTestExecutorContext } from "./context.ts";
|
|
4
|
+
export type { ExecutorContext, ExecutorResult } from "./context.ts";
|
|
5
|
+
export type { Executor } from "./executors/types.ts";
|
|
6
|
+
export { createServer, deleteServer, getServer, listServers, rebootServer, } from "./executors/servers/index.ts";
|
|
7
|
+
export type { CreateServerOptions, DeleteServerOptions, GetServerOptions, ListServersOptions, RebootServerOptions, } from "./executors/servers/index.ts";
|
|
8
|
+
export { createSite, deleteSite, getSite, listSites } from "./executors/sites/index.ts";
|
|
9
|
+
export type { CreateSiteOptions, DeleteSiteOptions, GetSiteOptions, ListSitesOptions, } from "./executors/sites/index.ts";
|
|
10
|
+
export { deploySite, getDeploymentOutput, getDeploymentScript, listDeployments, updateDeploymentScript, } from "./executors/deployments/index.ts";
|
|
11
|
+
export type { DeploySiteOptions, GetDeploymentOutputOptions, GetDeploymentScriptOptions, ListDeploymentsOptions, UpdateDeploymentScriptOptions, } from "./executors/deployments/index.ts";
|
|
12
|
+
export { activateCertificate, createCertificate, deleteCertificate, getCertificate, listCertificates, } from "./executors/certificates/index.ts";
|
|
13
|
+
export type { ActivateCertificateOptions, CreateCertificateOptions, DeleteCertificateOptions, GetCertificateOptions, ListCertificatesOptions, } from "./executors/certificates/index.ts";
|
|
14
|
+
export { createDatabase, deleteDatabase, getDatabase, listDatabases, } from "./executors/databases/index.ts";
|
|
15
|
+
export type { CreateDatabaseOptions, DeleteDatabaseOptions, GetDatabaseOptions, ListDatabasesOptions, } from "./executors/databases/index.ts";
|
|
16
|
+
export { createDatabaseUser, deleteDatabaseUser, getDatabaseUser, listDatabaseUsers, } from "./executors/database-users/index.ts";
|
|
17
|
+
export type { CreateDatabaseUserOptions, DeleteDatabaseUserOptions, GetDatabaseUserOptions, ListDatabaseUsersOptions, } from "./executors/database-users/index.ts";
|
|
18
|
+
export { createDaemon, deleteDaemon, getDaemon, listDaemons, restartDaemon, } from "./executors/daemons/index.ts";
|
|
19
|
+
export type { CreateDaemonOptions, DeleteDaemonOptions, GetDaemonOptions, ListDaemonsOptions, RestartDaemonOptions, } from "./executors/daemons/index.ts";
|
|
20
|
+
export { createFirewallRule, deleteFirewallRule, getFirewallRule, listFirewallRules, } from "./executors/firewall-rules/index.ts";
|
|
21
|
+
export type { CreateFirewallRuleOptions, DeleteFirewallRuleOptions, GetFirewallRuleOptions, ListFirewallRulesOptions, } from "./executors/firewall-rules/index.ts";
|
|
22
|
+
export { createSshKey, deleteSshKey, getSshKey, listSshKeys } from "./executors/ssh-keys/index.ts";
|
|
23
|
+
export type { CreateSshKeyOptions, DeleteSshKeyOptions, GetSshKeyOptions, ListSshKeysOptions, } from "./executors/ssh-keys/index.ts";
|
|
24
|
+
export { createSecurityRule, deleteSecurityRule, getSecurityRule, listSecurityRules, } from "./executors/security-rules/index.ts";
|
|
25
|
+
export type { CreateSecurityRuleOptions, DeleteSecurityRuleOptions, GetSecurityRuleOptions, ListSecurityRulesOptions, } from "./executors/security-rules/index.ts";
|
|
26
|
+
export { createRedirectRule, deleteRedirectRule, getRedirectRule, listRedirectRules, } from "./executors/redirect-rules/index.ts";
|
|
27
|
+
export type { CreateRedirectRuleOptions, DeleteRedirectRuleOptions, GetRedirectRuleOptions, ListRedirectRulesOptions, } from "./executors/redirect-rules/index.ts";
|
|
28
|
+
export { createMonitor, deleteMonitor, getMonitor, listMonitors, } from "./executors/monitors/index.ts";
|
|
29
|
+
export type { CreateMonitorOptions, DeleteMonitorOptions, GetMonitorOptions, ListMonitorsOptions, } from "./executors/monitors/index.ts";
|
|
30
|
+
export { createNginxTemplate, deleteNginxTemplate, getNginxTemplate, listNginxTemplates, updateNginxTemplate, } from "./executors/nginx-templates/index.ts";
|
|
31
|
+
export type { CreateNginxTemplateOptions, DeleteNginxTemplateOptions, GetNginxTemplateOptions, ListNginxTemplatesOptions, UpdateNginxTemplateOptions, } from "./executors/nginx-templates/index.ts";
|
|
32
|
+
export { getEnv, updateEnv } from "./executors/env/index.ts";
|
|
33
|
+
export type { GetEnvOptions, UpdateEnvOptions } from "./executors/env/index.ts";
|
|
34
|
+
export { getNginxConfig, updateNginxConfig } from "./executors/nginx/index.ts";
|
|
35
|
+
export type { GetNginxConfigOptions, UpdateNginxConfigOptions } from "./executors/nginx/index.ts";
|
|
36
|
+
export { createRecipe, deleteRecipe, getRecipe, listRecipes, runRecipe, } from "./executors/recipes/index.ts";
|
|
37
|
+
export type { CreateRecipeOptions, DeleteRecipeOptions, GetRecipeOptions, ListRecipesOptions, RunRecipeOptions, } from "./executors/recipes/index.ts";
|
|
38
|
+
export { createBackupConfig, deleteBackupConfig, getBackupConfig, listBackupConfigs, } from "./executors/backups/index.ts";
|
|
39
|
+
export type { CreateBackupConfigOptions, DeleteBackupConfigOptions, GetBackupConfigOptions, ListBackupConfigsOptions, } from "./executors/backups/index.ts";
|
|
40
|
+
export { createCommand, getCommand, listCommands } from "./executors/commands/index.ts";
|
|
41
|
+
export type { CreateCommandOptions, GetCommandOptions, ListCommandsOptions, } from "./executors/commands/index.ts";
|
|
42
|
+
export { createScheduledJob, deleteScheduledJob, getScheduledJob, listScheduledJobs, } from "./executors/scheduled-jobs/index.ts";
|
|
43
|
+
export type { CreateScheduledJobOptions, DeleteScheduledJobOptions, GetScheduledJobOptions, ListScheduledJobsOptions, } from "./executors/scheduled-jobs/index.ts";
|
|
44
|
+
export { getUser } from "./executors/user/index.ts";
|
|
45
|
+
export type { GetUserOptions } from "./executors/user/index.ts";
|
|
46
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AACpD,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACvD,OAAO,EAAE,yBAAyB,EAAE,MAAM,cAAc,CAAC;AACzD,YAAY,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACpE,YAAY,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAGrD,OAAO,EACL,YAAY,EACZ,YAAY,EACZ,SAAS,EACT,WAAW,EACX,YAAY,GACb,MAAM,8BAA8B,CAAC;AACtC,YAAY,EACV,mBAAmB,EACnB,mBAAmB,EACnB,gBAAgB,EAChB,kBAAkB,EAClB,mBAAmB,GACpB,MAAM,8BAA8B,CAAC;AAGtC,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACxF,YAAY,EACV,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