@studiometa/forge-core 0.3.0 → 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.
- package/README.md +27 -3
- package/dist/context.d.ts +2 -5
- package/dist/context.d.ts.map +1 -1
- package/dist/executors/backups/create.d.ts +2 -3
- package/dist/executors/backups/create.d.ts.map +1 -1
- package/dist/executors/backups/delete.d.ts.map +1 -1
- package/dist/executors/backups/get.d.ts +5 -3
- package/dist/executors/backups/get.d.ts.map +1 -1
- package/dist/executors/backups/index.d.ts +2 -1
- package/dist/executors/backups/index.d.ts.map +1 -1
- package/dist/executors/backups/list.d.ts +4 -2
- package/dist/executors/backups/list.d.ts.map +1 -1
- package/dist/executors/backups/types.d.ts +8 -1
- package/dist/executors/backups/types.d.ts.map +1 -1
- package/dist/executors/backups/update.d.ts +7 -0
- package/dist/executors/backups/update.d.ts.map +1 -0
- package/dist/executors/certificates/activate.d.ts +1 -1
- package/dist/executors/certificates/activate.d.ts.map +1 -1
- package/dist/executors/certificates/create.d.ts +5 -3
- package/dist/executors/certificates/create.d.ts.map +1 -1
- package/dist/executors/certificates/delete.d.ts +1 -1
- package/dist/executors/certificates/delete.d.ts.map +1 -1
- package/dist/executors/certificates/get.d.ts +5 -3
- package/dist/executors/certificates/get.d.ts.map +1 -1
- package/dist/executors/certificates/index.d.ts +1 -2
- package/dist/executors/certificates/index.d.ts.map +1 -1
- package/dist/executors/certificates/types.d.ts +11 -14
- package/dist/executors/certificates/types.d.ts.map +1 -1
- package/dist/executors/commands/create.d.ts +1 -2
- package/dist/executors/commands/create.d.ts.map +1 -1
- package/dist/executors/commands/get.d.ts +4 -2
- package/dist/executors/commands/get.d.ts.map +1 -1
- package/dist/executors/commands/list.d.ts +4 -2
- package/dist/executors/commands/list.d.ts.map +1 -1
- package/dist/executors/daemons/create.d.ts +5 -3
- package/dist/executors/daemons/create.d.ts.map +1 -1
- package/dist/executors/daemons/delete.d.ts.map +1 -1
- package/dist/executors/daemons/get.d.ts +4 -2
- package/dist/executors/daemons/get.d.ts.map +1 -1
- package/dist/executors/daemons/index.d.ts +2 -1
- package/dist/executors/daemons/index.d.ts.map +1 -1
- package/dist/executors/daemons/list.d.ts +5 -3
- package/dist/executors/daemons/list.d.ts.map +1 -1
- package/dist/executors/daemons/restart.d.ts.map +1 -1
- package/dist/executors/daemons/types.d.ts +8 -1
- package/dist/executors/daemons/types.d.ts.map +1 -1
- package/dist/executors/daemons/update.d.ts +10 -0
- package/dist/executors/daemons/update.d.ts.map +1 -0
- package/dist/executors/database-users/create.d.ts +4 -2
- package/dist/executors/database-users/create.d.ts.map +1 -1
- package/dist/executors/database-users/delete.d.ts.map +1 -1
- package/dist/executors/database-users/get.d.ts +4 -2
- package/dist/executors/database-users/get.d.ts.map +1 -1
- package/dist/executors/database-users/index.d.ts +2 -1
- package/dist/executors/database-users/index.d.ts.map +1 -1
- package/dist/executors/database-users/list.d.ts +4 -2
- package/dist/executors/database-users/list.d.ts.map +1 -1
- package/dist/executors/database-users/types.d.ts +8 -1
- package/dist/executors/database-users/types.d.ts.map +1 -1
- package/dist/executors/database-users/update.d.ts +10 -0
- package/dist/executors/database-users/update.d.ts.map +1 -0
- package/dist/executors/databases/create.d.ts +4 -2
- package/dist/executors/databases/create.d.ts.map +1 -1
- package/dist/executors/databases/delete.d.ts.map +1 -1
- package/dist/executors/databases/get.d.ts +4 -2
- package/dist/executors/databases/get.d.ts.map +1 -1
- package/dist/executors/databases/list.d.ts +4 -2
- package/dist/executors/databases/list.d.ts.map +1 -1
- package/dist/executors/deployments/deploy-and-wait.d.ts +6 -5
- package/dist/executors/deployments/deploy-and-wait.d.ts.map +1 -1
- package/dist/executors/deployments/deploy.d.ts.map +1 -1
- package/dist/executors/deployments/get-log.d.ts.map +1 -1
- package/dist/executors/deployments/get-script.d.ts.map +1 -1
- package/dist/executors/deployments/index.d.ts +1 -2
- package/dist/executors/deployments/index.d.ts.map +1 -1
- package/dist/executors/deployments/list.d.ts +4 -2
- package/dist/executors/deployments/list.d.ts.map +1 -1
- package/dist/executors/deployments/types.d.ts +6 -8
- package/dist/executors/deployments/types.d.ts.map +1 -1
- package/dist/executors/deployments/update-script.d.ts.map +1 -1
- package/dist/executors/env/get.d.ts.map +1 -1
- package/dist/executors/env/update.d.ts.map +1 -1
- package/dist/executors/firewall-rules/create.d.ts +4 -2
- package/dist/executors/firewall-rules/create.d.ts.map +1 -1
- package/dist/executors/firewall-rules/delete.d.ts +3 -0
- package/dist/executors/firewall-rules/delete.d.ts.map +1 -1
- package/dist/executors/firewall-rules/get.d.ts +7 -2
- package/dist/executors/firewall-rules/get.d.ts.map +1 -1
- package/dist/executors/firewall-rules/list.d.ts +7 -2
- package/dist/executors/firewall-rules/list.d.ts.map +1 -1
- package/dist/executors/monitors/create.d.ts +7 -2
- package/dist/executors/monitors/create.d.ts.map +1 -1
- package/dist/executors/monitors/delete.d.ts +3 -0
- package/dist/executors/monitors/delete.d.ts.map +1 -1
- package/dist/executors/monitors/get.d.ts +7 -2
- package/dist/executors/monitors/get.d.ts.map +1 -1
- package/dist/executors/monitors/list.d.ts +7 -2
- package/dist/executors/monitors/list.d.ts.map +1 -1
- package/dist/executors/nginx/get.d.ts.map +1 -1
- package/dist/executors/nginx/update.d.ts.map +1 -1
- package/dist/executors/nginx-templates/create.d.ts +7 -2
- package/dist/executors/nginx-templates/create.d.ts.map +1 -1
- package/dist/executors/nginx-templates/delete.d.ts +3 -0
- package/dist/executors/nginx-templates/delete.d.ts.map +1 -1
- package/dist/executors/nginx-templates/get.d.ts +7 -2
- package/dist/executors/nginx-templates/get.d.ts.map +1 -1
- package/dist/executors/nginx-templates/list.d.ts +7 -2
- package/dist/executors/nginx-templates/list.d.ts.map +1 -1
- package/dist/executors/nginx-templates/update.d.ts +7 -2
- package/dist/executors/nginx-templates/update.d.ts.map +1 -1
- package/dist/executors/recipes/create.d.ts +7 -2
- package/dist/executors/recipes/create.d.ts.map +1 -1
- package/dist/executors/recipes/delete.d.ts +3 -0
- package/dist/executors/recipes/delete.d.ts.map +1 -1
- package/dist/executors/recipes/get.d.ts +7 -2
- package/dist/executors/recipes/get.d.ts.map +1 -1
- package/dist/executors/recipes/index.d.ts +2 -1
- package/dist/executors/recipes/index.d.ts.map +1 -1
- package/dist/executors/recipes/list.d.ts +7 -2
- package/dist/executors/recipes/list.d.ts.map +1 -1
- package/dist/executors/recipes/run.d.ts.map +1 -1
- package/dist/executors/recipes/types.d.ts +7 -1
- package/dist/executors/recipes/types.d.ts.map +1 -1
- package/dist/executors/recipes/update.d.ts +10 -0
- package/dist/executors/recipes/update.d.ts.map +1 -0
- package/dist/executors/redirect-rules/create.d.ts +4 -2
- package/dist/executors/redirect-rules/create.d.ts.map +1 -1
- package/dist/executors/redirect-rules/delete.d.ts +3 -0
- package/dist/executors/redirect-rules/delete.d.ts.map +1 -1
- package/dist/executors/redirect-rules/get.d.ts +7 -2
- package/dist/executors/redirect-rules/get.d.ts.map +1 -1
- package/dist/executors/redirect-rules/list.d.ts +7 -2
- package/dist/executors/redirect-rules/list.d.ts.map +1 -1
- package/dist/executors/scheduled-jobs/create.d.ts +5 -3
- package/dist/executors/scheduled-jobs/create.d.ts.map +1 -1
- package/dist/executors/scheduled-jobs/delete.d.ts.map +1 -1
- package/dist/executors/scheduled-jobs/get.d.ts +4 -2
- package/dist/executors/scheduled-jobs/get.d.ts.map +1 -1
- package/dist/executors/scheduled-jobs/list.d.ts +5 -3
- package/dist/executors/scheduled-jobs/list.d.ts.map +1 -1
- package/dist/executors/scheduled-jobs/types.d.ts +4 -0
- package/dist/executors/scheduled-jobs/types.d.ts.map +1 -1
- package/dist/executors/security-rules/create.d.ts +7 -2
- package/dist/executors/security-rules/create.d.ts.map +1 -1
- package/dist/executors/security-rules/delete.d.ts +3 -0
- package/dist/executors/security-rules/delete.d.ts.map +1 -1
- package/dist/executors/security-rules/get.d.ts +7 -2
- package/dist/executors/security-rules/get.d.ts.map +1 -1
- package/dist/executors/security-rules/index.d.ts +2 -1
- package/dist/executors/security-rules/index.d.ts.map +1 -1
- package/dist/executors/security-rules/list.d.ts +7 -2
- package/dist/executors/security-rules/list.d.ts.map +1 -1
- package/dist/executors/security-rules/types.d.ts +9 -1
- package/dist/executors/security-rules/types.d.ts.map +1 -1
- package/dist/executors/security-rules/update.d.ts +10 -0
- package/dist/executors/security-rules/update.d.ts.map +1 -0
- package/dist/executors/servers/create.d.ts +4 -2
- package/dist/executors/servers/create.d.ts.map +1 -1
- package/dist/executors/servers/delete.d.ts.map +1 -1
- package/dist/executors/servers/get.d.ts +4 -2
- package/dist/executors/servers/get.d.ts.map +1 -1
- package/dist/executors/servers/list.d.ts +4 -2
- package/dist/executors/servers/list.d.ts.map +1 -1
- package/dist/executors/servers/reboot.d.ts.map +1 -1
- package/dist/executors/servers/resolve.d.ts.map +1 -1
- package/dist/executors/sites/create.d.ts +4 -2
- package/dist/executors/sites/create.d.ts.map +1 -1
- package/dist/executors/sites/delete.d.ts.map +1 -1
- package/dist/executors/sites/get.d.ts +7 -2
- package/dist/executors/sites/get.d.ts.map +1 -1
- package/dist/executors/sites/index.d.ts +2 -1
- package/dist/executors/sites/index.d.ts.map +1 -1
- package/dist/executors/sites/list.d.ts +4 -2
- package/dist/executors/sites/list.d.ts.map +1 -1
- package/dist/executors/sites/resolve.d.ts +0 -3
- package/dist/executors/sites/resolve.d.ts.map +1 -1
- package/dist/executors/sites/types.d.ts +12 -1
- package/dist/executors/sites/types.d.ts.map +1 -1
- package/dist/executors/sites/update.d.ts +10 -0
- package/dist/executors/sites/update.d.ts.map +1 -0
- package/dist/executors/ssh-keys/create.d.ts +4 -2
- package/dist/executors/ssh-keys/create.d.ts.map +1 -1
- package/dist/executors/ssh-keys/delete.d.ts +3 -0
- package/dist/executors/ssh-keys/delete.d.ts.map +1 -1
- package/dist/executors/ssh-keys/get.d.ts +7 -2
- package/dist/executors/ssh-keys/get.d.ts.map +1 -1
- package/dist/executors/ssh-keys/list.d.ts +7 -2
- package/dist/executors/ssh-keys/list.d.ts.map +1 -1
- package/dist/executors/user/get.d.ts +4 -2
- package/dist/executors/user/get.d.ts.map +1 -1
- package/dist/index.d.ts +17 -16
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1063 -125
- package/dist/index.js.map +1 -1
- package/dist/routes.d.ts +457 -0
- package/dist/routes.d.ts.map +1 -0
- package/dist/test-helpers.d.ts +21 -0
- package/dist/test-helpers.d.ts.map +1 -0
- package/package.json +4 -3
- package/dist/executors/certificates/list.d.ts +0 -8
- package/dist/executors/certificates/list.d.ts.map +0 -1
- package/dist/executors/deployments/get-output.d.ts +0 -7
- 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,
|
|
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
|
|
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,
|
|
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 {
|
|
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<
|
|
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,
|
|
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;
|
|
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 {
|
|
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<
|
|
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,
|
|
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;
|
|
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 {
|
|
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<
|
|
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,
|
|
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 {
|
|
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<
|
|
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,
|
|
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
|
|
8
|
-
* 3.
|
|
9
|
-
* 4.
|
|
10
|
-
* 5.
|
|
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":"
|
|
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;
|
|
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":"
|
|
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":"
|
|
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,
|
|
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,
|
|
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 {
|
|
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<
|
|
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,
|
|
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;
|
|
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;
|
|
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":"
|
|
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;
|
|
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
|
-
|
|
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,
|
|
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;
|
|
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 {
|
|
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
|
-
|
|
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,
|
|
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 {
|
|
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
|
-
|
|
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,
|
|
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 {
|
|
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
|
-
|
|
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,
|
|
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;
|
|
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 {
|
|
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
|
-
|
|
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,
|
|
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 {
|
|
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
|
-
|
|
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,
|
|
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":"
|
|
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;
|
|
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 {
|
|
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
|
-
|
|
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,
|
|
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;
|
|
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 {
|
|
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
|
-
|
|
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,
|
|
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 {
|
|
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
|
-
|
|
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,
|
|
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 {
|
|
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
|
-
|
|
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,
|
|
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 {
|
|
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
|
-
|
|
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,
|
|
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"}
|