@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 @@
|
|
|
1
|
+
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/executors/database-users/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;;GAEG;AACH,wBAAsB,kBAAkB,CACtC,OAAO,EAAE,yBAAyB,EAClC,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,iBAAiB,CAAC,CAAC,CAW5C"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ExecutorContext, ExecutorResult } from "../../context.ts";
|
|
2
|
+
import type { DeleteDatabaseUserOptions } from "./types.ts";
|
|
3
|
+
/**
|
|
4
|
+
* Delete a database user.
|
|
5
|
+
*/
|
|
6
|
+
export declare function deleteDatabaseUser(options: DeleteDatabaseUserOptions, 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/database-users/delete.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAExE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAE5D;;GAEG;AACH,wBAAsB,kBAAkB,CACtC,OAAO,EAAE,yBAAyB,EAClC,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAM/B"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ForgeDatabaseUser } from "@studiometa/forge-api";
|
|
2
|
+
import type { ExecutorContext, ExecutorResult } from "../../context.ts";
|
|
3
|
+
import type { GetDatabaseUserOptions } from "./types.ts";
|
|
4
|
+
/**
|
|
5
|
+
* Get a single database user.
|
|
6
|
+
*/
|
|
7
|
+
export declare function getDatabaseUser(options: GetDatabaseUserOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeDatabaseUser>>;
|
|
8
|
+
//# sourceMappingURL=get.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { createDatabaseUser } from "./create.ts";
|
|
2
|
+
export { deleteDatabaseUser } from "./delete.ts";
|
|
3
|
+
export { getDatabaseUser } from "./get.ts";
|
|
4
|
+
export { listDatabaseUsers } from "./list.ts";
|
|
5
|
+
export type { CreateDatabaseUserOptions, DeleteDatabaseUserOptions, GetDatabaseUserOptions, ListDatabaseUsersOptions, } from "./types.ts";
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ForgeDatabaseUser } from "@studiometa/forge-api";
|
|
2
|
+
import type { ExecutorContext, ExecutorResult } from "../../context.ts";
|
|
3
|
+
import type { ListDatabaseUsersOptions } from "./types.ts";
|
|
4
|
+
/**
|
|
5
|
+
* List database users on a server.
|
|
6
|
+
*/
|
|
7
|
+
export declare function listDatabaseUsers(options: ListDatabaseUsersOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeDatabaseUser[]>>;
|
|
8
|
+
//# sourceMappingURL=list.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Option types for database user executors.
|
|
3
|
+
*/
|
|
4
|
+
import type { CreateDatabaseUserData } from "@studiometa/forge-api";
|
|
5
|
+
/**
|
|
6
|
+
* Options for listing database users on a server.
|
|
7
|
+
*/
|
|
8
|
+
export interface ListDatabaseUsersOptions {
|
|
9
|
+
server_id: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Options for getting a single database user.
|
|
13
|
+
*/
|
|
14
|
+
export interface GetDatabaseUserOptions {
|
|
15
|
+
server_id: string;
|
|
16
|
+
id: string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Options for creating a database user.
|
|
20
|
+
*/
|
|
21
|
+
export interface CreateDatabaseUserOptions extends CreateDatabaseUserData {
|
|
22
|
+
server_id: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Options for deleting a database user.
|
|
26
|
+
*/
|
|
27
|
+
export interface DeleteDatabaseUserOptions {
|
|
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/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"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ForgeDatabase } from "@studiometa/forge-api";
|
|
2
|
+
import type { ExecutorContext, ExecutorResult } from "../../context.ts";
|
|
3
|
+
import type { CreateDatabaseOptions } from "./types.ts";
|
|
4
|
+
/**
|
|
5
|
+
* Create a new database.
|
|
6
|
+
*/
|
|
7
|
+
export declare function createDatabase(options: CreateDatabaseOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeDatabase>>;
|
|
8
|
+
//# sourceMappingURL=create.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ExecutorContext, ExecutorResult } from "../../context.ts";
|
|
2
|
+
import type { DeleteDatabaseOptions } from "./types.ts";
|
|
3
|
+
/**
|
|
4
|
+
* Delete a database.
|
|
5
|
+
*/
|
|
6
|
+
export declare function deleteDatabase(options: DeleteDatabaseOptions, 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/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"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ForgeDatabase } from "@studiometa/forge-api";
|
|
2
|
+
import type { ExecutorContext, ExecutorResult } from "../../context.ts";
|
|
3
|
+
import type { GetDatabaseOptions } from "./types.ts";
|
|
4
|
+
/**
|
|
5
|
+
* Get a single database.
|
|
6
|
+
*/
|
|
7
|
+
export declare function getDatabase(options: GetDatabaseOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeDatabase>>;
|
|
8
|
+
//# sourceMappingURL=get.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { createDatabase } from "./create.ts";
|
|
2
|
+
export { deleteDatabase } from "./delete.ts";
|
|
3
|
+
export { getDatabase } from "./get.ts";
|
|
4
|
+
export { listDatabases } from "./list.ts";
|
|
5
|
+
export type { CreateDatabaseOptions, DeleteDatabaseOptions, GetDatabaseOptions, ListDatabasesOptions, } from "./types.ts";
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/executors/databases/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC1C,YAAY,EACV,qBAAqB,EACrB,qBAAqB,EACrB,kBAAkB,EAClB,oBAAoB,GACrB,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ForgeDatabase } from "@studiometa/forge-api";
|
|
2
|
+
import type { ExecutorContext, ExecutorResult } from "../../context.ts";
|
|
3
|
+
import type { ListDatabasesOptions } from "./types.ts";
|
|
4
|
+
/**
|
|
5
|
+
* List databases on a server.
|
|
6
|
+
*/
|
|
7
|
+
export declare function listDatabases(options: ListDatabasesOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeDatabase[]>>;
|
|
8
|
+
//# sourceMappingURL=list.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Option types for database executors.
|
|
3
|
+
*/
|
|
4
|
+
import type { CreateDatabaseData } from "@studiometa/forge-api";
|
|
5
|
+
/**
|
|
6
|
+
* Options for listing databases on a server.
|
|
7
|
+
*/
|
|
8
|
+
export interface ListDatabasesOptions {
|
|
9
|
+
server_id: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Options for getting a single database.
|
|
13
|
+
*/
|
|
14
|
+
export interface GetDatabaseOptions {
|
|
15
|
+
server_id: string;
|
|
16
|
+
id: string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Options for creating a database.
|
|
20
|
+
*/
|
|
21
|
+
export interface CreateDatabaseOptions extends CreateDatabaseData {
|
|
22
|
+
server_id: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Options for deleting a database.
|
|
26
|
+
*/
|
|
27
|
+
export interface DeleteDatabaseOptions {
|
|
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/databases/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAEhE;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,EAAE,EAAE,MAAM,CAAC;CACZ;AAED;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB;IAC/D,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,SAAS,EAAE,MAAM,CAAC;IAClB,EAAE,EAAE,MAAM,CAAC;CACZ"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ExecutorContext, ExecutorResult } from "../../context.ts";
|
|
2
|
+
import type { DeploySiteOptions } from "./types.ts";
|
|
3
|
+
/**
|
|
4
|
+
* Trigger a deployment for a site.
|
|
5
|
+
*/
|
|
6
|
+
export declare function deploySite(options: DeploySiteOptions, ctx: ExecutorContext): Promise<ExecutorResult<void>>;
|
|
7
|
+
//# sourceMappingURL=deploy.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ExecutorContext, ExecutorResult } from "../../context.ts";
|
|
2
|
+
import type { GetDeploymentOutputOptions } from "./types.ts";
|
|
3
|
+
/**
|
|
4
|
+
* Get the output of a deployment.
|
|
5
|
+
*/
|
|
6
|
+
export declare function getDeploymentOutput(options: GetDeploymentOutputOptions, ctx: ExecutorContext): Promise<ExecutorResult<string>>;
|
|
7
|
+
//# sourceMappingURL=get-output.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-output.d.ts","sourceRoot":"","sources":["../../../src/executors/deployments/get-output.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"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ExecutorContext, ExecutorResult } from "../../context.ts";
|
|
2
|
+
import type { GetDeploymentScriptOptions } from "./types.ts";
|
|
3
|
+
/**
|
|
4
|
+
* Get the deployment script for a site.
|
|
5
|
+
*/
|
|
6
|
+
export declare function getDeploymentScript(options: GetDeploymentScriptOptions, ctx: ExecutorContext): Promise<ExecutorResult<string>>;
|
|
7
|
+
//# sourceMappingURL=get-script.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { deploySite } from "./deploy.ts";
|
|
2
|
+
export { getDeploymentOutput } from "./get-output.ts";
|
|
3
|
+
export { getDeploymentScript } from "./get-script.ts";
|
|
4
|
+
export { listDeployments } from "./list.ts";
|
|
5
|
+
export { updateDeploymentScript } from "./update-script.ts";
|
|
6
|
+
export type { DeploySiteOptions, GetDeploymentOutputOptions, GetDeploymentScriptOptions, ListDeploymentsOptions, UpdateDeploymentScriptOptions, } from "./types.ts";
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +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,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,iBAAiB,EACjB,0BAA0B,EAC1B,0BAA0B,EAC1B,sBAAsB,EACtB,6BAA6B,GAC9B,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ForgeDeployment } from "@studiometa/forge-api";
|
|
2
|
+
import type { ExecutorContext, ExecutorResult } from "../../context.ts";
|
|
3
|
+
import type { ListDeploymentsOptions } from "./types.ts";
|
|
4
|
+
/**
|
|
5
|
+
* List all deployments for a site.
|
|
6
|
+
*/
|
|
7
|
+
export declare function listDeployments(options: ListDeploymentsOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeDeployment[]>>;
|
|
8
|
+
//# sourceMappingURL=list.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Option types for deployment executors.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Options for listing deployments for a site.
|
|
6
|
+
*/
|
|
7
|
+
export interface ListDeploymentsOptions {
|
|
8
|
+
server_id: string;
|
|
9
|
+
site_id: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Options for triggering a deployment.
|
|
13
|
+
*/
|
|
14
|
+
export interface DeploySiteOptions {
|
|
15
|
+
server_id: string;
|
|
16
|
+
site_id: string;
|
|
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
|
+
/**
|
|
27
|
+
* Options for getting the deployment script.
|
|
28
|
+
*/
|
|
29
|
+
export interface GetDeploymentScriptOptions {
|
|
30
|
+
server_id: string;
|
|
31
|
+
site_id: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Options for updating the deployment script.
|
|
35
|
+
*/
|
|
36
|
+
export interface UpdateDeploymentScriptOptions {
|
|
37
|
+
server_id: string;
|
|
38
|
+
site_id: string;
|
|
39
|
+
content: string;
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ExecutorContext, ExecutorResult } from "../../context.ts";
|
|
2
|
+
import type { UpdateDeploymentScriptOptions } from "./types.ts";
|
|
3
|
+
/**
|
|
4
|
+
* Update the deployment script for a site.
|
|
5
|
+
*/
|
|
6
|
+
export declare function updateDeploymentScript(options: UpdateDeploymentScriptOptions, ctx: ExecutorContext): Promise<ExecutorResult<void>>;
|
|
7
|
+
//# sourceMappingURL=update-script.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ExecutorContext, ExecutorResult } from "../../context.ts";
|
|
2
|
+
import type { GetEnvOptions } from "./types.ts";
|
|
3
|
+
/**
|
|
4
|
+
* Get environment variables for a site.
|
|
5
|
+
*/
|
|
6
|
+
export declare function getEnv(options: GetEnvOptions, ctx: ExecutorContext): Promise<ExecutorResult<string>>;
|
|
7
|
+
//# sourceMappingURL=get.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/executors/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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/executors/env/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Option types for environment variable executors.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Options for getting environment variables for a site.
|
|
6
|
+
*/
|
|
7
|
+
export interface GetEnvOptions {
|
|
8
|
+
server_id: string;
|
|
9
|
+
site_id: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Options for updating environment variables for a site.
|
|
13
|
+
*/
|
|
14
|
+
export interface UpdateEnvOptions {
|
|
15
|
+
server_id: string;
|
|
16
|
+
site_id: string;
|
|
17
|
+
content: string;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/executors/env/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ExecutorContext, ExecutorResult } from "../../context.ts";
|
|
2
|
+
import type { UpdateEnvOptions } from "./types.ts";
|
|
3
|
+
/**
|
|
4
|
+
* Update environment variables for a site.
|
|
5
|
+
*/
|
|
6
|
+
export declare function updateEnv(options: UpdateEnvOptions, ctx: ExecutorContext): Promise<ExecutorResult<void>>;
|
|
7
|
+
//# sourceMappingURL=update.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../src/executors/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"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { ForgeFirewallRule } from "@studiometa/forge-api";
|
|
2
|
+
import type { ExecutorContext, ExecutorResult } from "../../context.ts";
|
|
3
|
+
import type { CreateFirewallRuleOptions } from "./types.ts";
|
|
4
|
+
export declare function createFirewallRule(options: CreateFirewallRuleOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeFirewallRule>>;
|
|
5
|
+
//# sourceMappingURL=create.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ExecutorContext, ExecutorResult } from "../../context.ts";
|
|
2
|
+
import type { DeleteFirewallRuleOptions } from "./types.ts";
|
|
3
|
+
export declare function deleteFirewallRule(options: DeleteFirewallRuleOptions, 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/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"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { ForgeFirewallRule } from "@studiometa/forge-api";
|
|
2
|
+
import type { ExecutorContext, ExecutorResult } from "../../context.ts";
|
|
3
|
+
import type { GetFirewallRuleOptions } from "./types.ts";
|
|
4
|
+
export declare function getFirewallRule(options: GetFirewallRuleOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeFirewallRule>>;
|
|
5
|
+
//# sourceMappingURL=get.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { createFirewallRule } from "./create.ts";
|
|
2
|
+
export { deleteFirewallRule } from "./delete.ts";
|
|
3
|
+
export { getFirewallRule } from "./get.ts";
|
|
4
|
+
export { listFirewallRules } from "./list.ts";
|
|
5
|
+
export type { CreateFirewallRuleOptions, DeleteFirewallRuleOptions, GetFirewallRuleOptions, ListFirewallRulesOptions, } from "./types.ts";
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/executors/firewall-rules/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC9C,YAAY,EACV,yBAAyB,EACzB,yBAAyB,EACzB,sBAAsB,EACtB,wBAAwB,GACzB,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { ForgeFirewallRule } from "@studiometa/forge-api";
|
|
2
|
+
import type { ExecutorContext, ExecutorResult } from "../../context.ts";
|
|
3
|
+
import type { ListFirewallRulesOptions } from "./types.ts";
|
|
4
|
+
export declare function listFirewallRules(options: ListFirewallRulesOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeFirewallRule[]>>;
|
|
5
|
+
//# sourceMappingURL=list.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Option types for firewall rule executors.
|
|
3
|
+
*/
|
|
4
|
+
import type { CreateFirewallRuleData } from "@studiometa/forge-api";
|
|
5
|
+
/**
|
|
6
|
+
* Options for listing firewall rules on a server.
|
|
7
|
+
*/
|
|
8
|
+
export interface ListFirewallRulesOptions {
|
|
9
|
+
server_id: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Options for getting a single firewall rule.
|
|
13
|
+
*/
|
|
14
|
+
export interface GetFirewallRuleOptions {
|
|
15
|
+
server_id: string;
|
|
16
|
+
id: string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Options for creating a firewall rule.
|
|
20
|
+
*/
|
|
21
|
+
export interface CreateFirewallRuleOptions extends CreateFirewallRuleData {
|
|
22
|
+
server_id: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Options for deleting a firewall rule.
|
|
26
|
+
*/
|
|
27
|
+
export interface DeleteFirewallRuleOptions {
|
|
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/firewall-rules/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAEpE;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,SAAS,EAAE,MAAM,CAAC;IAClB,EAAE,EAAE,MAAM,CAAC;CACZ;AAED;;GAEG;AACH,MAAM,WAAW,yBAA0B,SAAQ,sBAAsB;IACvE,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,SAAS,EAAE,MAAM,CAAC;IAClB,EAAE,EAAE,MAAM,CAAC;CACZ"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { ForgeMonitor } from "@studiometa/forge-api";
|
|
2
|
+
import type { ExecutorContext, ExecutorResult } from "../../context.ts";
|
|
3
|
+
import type { CreateMonitorOptions } from "./types.ts";
|
|
4
|
+
export declare function createMonitor(options: CreateMonitorOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeMonitor>>;
|
|
5
|
+
//# sourceMappingURL=create.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ExecutorContext, ExecutorResult } from "../../context.ts";
|
|
2
|
+
import type { DeleteMonitorOptions } from "./types.ts";
|
|
3
|
+
export declare function deleteMonitor(options: DeleteMonitorOptions, 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/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"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { ForgeMonitor } from "@studiometa/forge-api";
|
|
2
|
+
import type { ExecutorContext, ExecutorResult } from "../../context.ts";
|
|
3
|
+
import type { GetMonitorOptions } from "./types.ts";
|
|
4
|
+
export declare function getMonitor(options: GetMonitorOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeMonitor>>;
|
|
5
|
+
//# sourceMappingURL=get.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/executors/monitors/get.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAmB,MAAM,uBAAuB,CAAC;AAC3E,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAExE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAEpD,wBAAsB,UAAU,CAC9B,OAAO,EAAE,iBAAiB,EAC1B,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC,CASvC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { createMonitor } from "./create.ts";
|
|
2
|
+
export { deleteMonitor } from "./delete.ts";
|
|
3
|
+
export { getMonitor } from "./get.ts";
|
|
4
|
+
export { listMonitors } from "./list.ts";
|
|
5
|
+
export type { CreateMonitorOptions, DeleteMonitorOptions, GetMonitorOptions, ListMonitorsOptions, } from "./types.ts";
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/executors/monitors/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACzC,YAAY,EACV,oBAAoB,EACpB,oBAAoB,EACpB,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { ForgeMonitor } from "@studiometa/forge-api";
|
|
2
|
+
import type { ExecutorContext, ExecutorResult } from "../../context.ts";
|
|
3
|
+
import type { ListMonitorsOptions } from "./types.ts";
|
|
4
|
+
export declare function listMonitors(options: ListMonitorsOptions, ctx: ExecutorContext): Promise<ExecutorResult<ForgeMonitor[]>>;
|
|
5
|
+
//# sourceMappingURL=list.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/executors/monitors/list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAoB,MAAM,uBAAuB,CAAC;AAC5E,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAExE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEtD,wBAAsB,YAAY,CAChC,OAAO,EAAE,mBAAmB,EAC5B,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,YAAY,EAAE,CAAC,CAAC,CAMzC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Option types for monitor executors.
|
|
3
|
+
*/
|
|
4
|
+
import type { CreateMonitorData } from "@studiometa/forge-api";
|
|
5
|
+
/**
|
|
6
|
+
* Options for listing monitors on a server.
|
|
7
|
+
*/
|
|
8
|
+
export interface ListMonitorsOptions {
|
|
9
|
+
server_id: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Options for getting a single monitor.
|
|
13
|
+
*/
|
|
14
|
+
export interface GetMonitorOptions {
|
|
15
|
+
server_id: string;
|
|
16
|
+
id: string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Options for creating a monitor.
|
|
20
|
+
*/
|
|
21
|
+
export interface CreateMonitorOptions extends CreateMonitorData {
|
|
22
|
+
server_id: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Options for deleting a monitor.
|
|
26
|
+
*/
|
|
27
|
+
export interface DeleteMonitorOptions {
|
|
28
|
+
server_id: string;
|
|
29
|
+
id: string;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/executors/monitors/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,SAAS,EAAE,MAAM,CAAC;IAClB,EAAE,EAAE,MAAM,CAAC;CACZ;AAED;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,iBAAiB;IAC7D,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,MAAM,CAAC;IAClB,EAAE,EAAE,MAAM,CAAC;CACZ"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ExecutorContext, ExecutorResult } from "../../context.ts";
|
|
2
|
+
import type { GetNginxConfigOptions } from "./types.ts";
|
|
3
|
+
/**
|
|
4
|
+
* Get Nginx configuration for a site.
|
|
5
|
+
*/
|
|
6
|
+
export declare function getNginxConfig(options: GetNginxConfigOptions, ctx: ExecutorContext): Promise<ExecutorResult<string>>;
|
|
7
|
+
//# sourceMappingURL=get.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/executors/nginx/get.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAExE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAExD;;GAEG;AACH,wBAAsB,cAAc,CAClC,OAAO,EAAE,qBAAqB,EAC9B,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAQjC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/executors/nginx/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAChD,YAAY,EAAE,qBAAqB,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAC"}
|