@effect-aws/client-api-gateway-management-api 1.9.3 → 1.10.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/dist/cjs/ApiGatewayManagementApiService.d.ts +5 -4
- package/dist/cjs/ApiGatewayManagementApiService.d.ts.map +1 -1
- package/dist/cjs/ApiGatewayManagementApiService.js +1 -1
- package/dist/cjs/ApiGatewayManagementApiService.js.map +1 -1
- package/dist/dts/ApiGatewayManagementApiService.d.ts +5 -4
- package/dist/dts/ApiGatewayManagementApiService.d.ts.map +1 -1
- package/dist/esm/ApiGatewayManagementApiService.js +1 -1
- package/dist/esm/ApiGatewayManagementApiService.js.map +1 -1
- package/package.json +2 -2
- package/src/ApiGatewayManagementApiService.ts +5 -4
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { type ApiGatewayManagementApiClient, type ApiGatewayManagementApiClientConfig, type DeleteConnectionCommandInput, type DeleteConnectionCommandOutput, type GetConnectionCommandInput, type GetConnectionCommandOutput, type PostToConnectionCommandInput, type PostToConnectionCommandOutput } from "@aws-sdk/client-apigatewaymanagementapi";
|
|
5
5
|
import type { HttpHandlerOptions, SdkError, ServiceLogger } from "@effect-aws/commons";
|
|
6
|
+
import type { Cause } from "effect";
|
|
6
7
|
import { Effect, Layer } from "effect";
|
|
7
8
|
import * as Instance from "./ApiGatewayManagementApiClientInstance.js";
|
|
8
9
|
import type { ForbiddenError, GoneError, LimitExceededError, PayloadTooLargeError } from "./Errors.js";
|
|
@@ -11,15 +12,15 @@ interface ApiGatewayManagementApiService$ {
|
|
|
11
12
|
/**
|
|
12
13
|
* @see {@link DeleteConnectionCommand}
|
|
13
14
|
*/
|
|
14
|
-
deleteConnection(args: DeleteConnectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteConnectionCommandOutput, SdkError | ForbiddenError | GoneError | LimitExceededError>;
|
|
15
|
+
deleteConnection(args: DeleteConnectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteConnectionCommandOutput, Cause.TimeoutException | SdkError | ForbiddenError | GoneError | LimitExceededError>;
|
|
15
16
|
/**
|
|
16
17
|
* @see {@link GetConnectionCommand}
|
|
17
18
|
*/
|
|
18
|
-
getConnection(args: GetConnectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetConnectionCommandOutput, SdkError | ForbiddenError | GoneError | LimitExceededError>;
|
|
19
|
+
getConnection(args: GetConnectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetConnectionCommandOutput, Cause.TimeoutException | SdkError | ForbiddenError | GoneError | LimitExceededError>;
|
|
19
20
|
/**
|
|
20
21
|
* @see {@link PostToConnectionCommand}
|
|
21
22
|
*/
|
|
22
|
-
postToConnection(args: PostToConnectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<PostToConnectionCommandOutput, SdkError | ForbiddenError | GoneError | LimitExceededError | PayloadTooLargeError>;
|
|
23
|
+
postToConnection(args: PostToConnectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<PostToConnectionCommandOutput, Cause.TimeoutException | SdkError | ForbiddenError | GoneError | LimitExceededError | PayloadTooLargeError>;
|
|
23
24
|
}
|
|
24
25
|
/**
|
|
25
26
|
* @since 1.0.0
|
|
@@ -27,7 +28,7 @@ interface ApiGatewayManagementApiService$ {
|
|
|
27
28
|
*/
|
|
28
29
|
export declare const makeApiGatewayManagementApiService: Effect.Effect<ApiGatewayManagementApiService$, never, Instance.ApiGatewayManagementApiClientInstance>;
|
|
29
30
|
declare const ApiGatewayManagementApiService_base: import("effect/Context").TagClass<ApiGatewayManagementApiService, "@effect-aws/client-api-gateway-management-api/ApiGatewayManagementApiService", ApiGatewayManagementApiService$> & Effect.Tag.Proxy<ApiGatewayManagementApiService, ApiGatewayManagementApiService$> & {
|
|
30
|
-
use: <X>(body: (_: ApiGatewayManagementApiService$) => X) => [X] extends [Effect.Effect<infer A, infer E, infer R>] ? Effect.Effect<A, E, ApiGatewayManagementApiService | R> : [X] extends [PromiseLike<infer A_1>] ? Effect.Effect<A_1,
|
|
31
|
+
use: <X>(body: (_: ApiGatewayManagementApiService$) => X) => [X] extends [Effect.Effect<infer A, infer E, infer R>] ? Effect.Effect<A, E, ApiGatewayManagementApiService | R> : [X] extends [PromiseLike<infer A_1>] ? Effect.Effect<A_1, Cause.UnknownException, ApiGatewayManagementApiService> : Effect.Effect<X, never, ApiGatewayManagementApiService>;
|
|
31
32
|
};
|
|
32
33
|
/**
|
|
33
34
|
* @since 1.0.0
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApiGatewayManagementApiService.d.ts","sourceRoot":"","sources":["../../src/ApiGatewayManagementApiService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,KAAK,6BAA6B,EAClC,KAAK,mCAAmC,EAExC,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAElC,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAE/B,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EACnC,MAAM,yCAAyC,CAAC;AACjD,OAAO,KAAK,EAAE,kBAAkB,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEvF,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AACvC,OAAO,KAAK,QAAQ,MAAM,4CAA4C,CAAC;AAEvE,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AASvG,UAAU,+BAA+B;IACvC,QAAQ,CAAC,CAAC,EAAE,OAAO,MAAM,CAAC;IAE1B;;OAEG;IACH,gBAAgB,CACd,IAAI,EAAE,4BAA4B,EAClC,OAAO,CAAC,EAAE,kBAAkB,GAC3B,MAAM,CAAC,MAAM,CACd,6BAA6B,EAC7B,QAAQ,GAAG,cAAc,GAAG,SAAS,GAAG,kBAAkB,
|
|
1
|
+
{"version":3,"file":"ApiGatewayManagementApiService.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,6BAA6B,EAC7B,KAAK,CAAC,gBAAgB,GAAG,QAAQ,GAAG,cAAc,GAAG,SAAS,GAAG,kBAAkB,GAAG,oBAAoB,CAC3G,CAAC;CACH;AAED;;;GAGG;AACH,eAAO,MAAM,kCAAkC,uGAW7C,CAAC;;;;AAEH;;;GAGG;AACH,qBAAa,8BACX,SAAQ,mCAGL;IAEH,MAAM,CAAC,QAAQ,CAAC,YAAY,4DAE1B;IACF,MAAM,CAAC,QAAQ,CAAC,KAAK,WAAY,+BAA+B,MAAM,+DAIlE;IACJ,MAAM,CAAC,QAAQ,CAAC,SAAS,aACb,CAAC,aAAa,EAAE,mCAAmC,KAAK,6BAA6B,+DAS7F;CACL;AAED;;GAEG;AACH,MAAM,CAAC,OAAO,WAAW,8BAA8B,CAAC;IACtD;;OAEG;IACH,UAAiB,MAAO,SAAQ,IAAI,CAAC,mCAAmC,EAAE,QAAQ,CAAC;QACjF,QAAQ,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,6BAA6B,GAAG,IAAI,CAAC;KACtE;CACF"}
|
|
@@ -44,7 +44,7 @@ const commands = {
|
|
|
44
44
|
*/
|
|
45
45
|
exports.makeApiGatewayManagementApiService = effect_1.Effect.gen(function* () {
|
|
46
46
|
const client = yield* Instance.ApiGatewayManagementApiClientInstance;
|
|
47
|
-
return commons_1.Service.fromClientAndCommands(client, commands, {
|
|
47
|
+
return yield* commons_1.Service.fromClientAndCommands(client, commands, {
|
|
48
48
|
errorTags: Errors_js_1.AllServiceErrors,
|
|
49
49
|
resolveClientConfig: ApiGatewayManagementApiServiceConfig.toApiGatewayManagementApiClientConfig,
|
|
50
50
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApiGatewayManagementApiService.js","sourceRoot":"","sources":["../../src/ApiGatewayManagementApiService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,4FAYiD;AAEjD,iDAA8C;
|
|
1
|
+
{"version":3,"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,EAC/F,EAAE,CACF,cAAK,CAAC,MAAM,CAAC,IAAI,EAAE,0CAAkC,CAAC,CAAC,IAAI,CACzD,cAAK,CAAC,OAAO,CACX,cAAK,CAAC,MAAM,CACV,QAAQ,CAAC,qCAAqC,EAC9C,eAAM,CAAC,GAAG,CAAC,oCAAoC,CAAC,qCAAqC,EAAE,QAAQ,CAAC,CACjG,CACF,CACF,CAAC;;AAxBN,wEAyBC"}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { type ApiGatewayManagementApiClient, type ApiGatewayManagementApiClientConfig, type DeleteConnectionCommandInput, type DeleteConnectionCommandOutput, type GetConnectionCommandInput, type GetConnectionCommandOutput, type PostToConnectionCommandInput, type PostToConnectionCommandOutput } from "@aws-sdk/client-apigatewaymanagementapi";
|
|
5
5
|
import type { HttpHandlerOptions, SdkError, ServiceLogger } from "@effect-aws/commons";
|
|
6
|
+
import type { Cause } from "effect";
|
|
6
7
|
import { Effect, Layer } from "effect";
|
|
7
8
|
import * as Instance from "./ApiGatewayManagementApiClientInstance.js";
|
|
8
9
|
import type { ForbiddenError, GoneError, LimitExceededError, PayloadTooLargeError } from "./Errors.js";
|
|
@@ -11,15 +12,15 @@ interface ApiGatewayManagementApiService$ {
|
|
|
11
12
|
/**
|
|
12
13
|
* @see {@link DeleteConnectionCommand}
|
|
13
14
|
*/
|
|
14
|
-
deleteConnection(args: DeleteConnectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteConnectionCommandOutput, SdkError | ForbiddenError | GoneError | LimitExceededError>;
|
|
15
|
+
deleteConnection(args: DeleteConnectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteConnectionCommandOutput, Cause.TimeoutException | SdkError | ForbiddenError | GoneError | LimitExceededError>;
|
|
15
16
|
/**
|
|
16
17
|
* @see {@link GetConnectionCommand}
|
|
17
18
|
*/
|
|
18
|
-
getConnection(args: GetConnectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetConnectionCommandOutput, SdkError | ForbiddenError | GoneError | LimitExceededError>;
|
|
19
|
+
getConnection(args: GetConnectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetConnectionCommandOutput, Cause.TimeoutException | SdkError | ForbiddenError | GoneError | LimitExceededError>;
|
|
19
20
|
/**
|
|
20
21
|
* @see {@link PostToConnectionCommand}
|
|
21
22
|
*/
|
|
22
|
-
postToConnection(args: PostToConnectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<PostToConnectionCommandOutput, SdkError | ForbiddenError | GoneError | LimitExceededError | PayloadTooLargeError>;
|
|
23
|
+
postToConnection(args: PostToConnectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<PostToConnectionCommandOutput, Cause.TimeoutException | SdkError | ForbiddenError | GoneError | LimitExceededError | PayloadTooLargeError>;
|
|
23
24
|
}
|
|
24
25
|
/**
|
|
25
26
|
* @since 1.0.0
|
|
@@ -27,7 +28,7 @@ interface ApiGatewayManagementApiService$ {
|
|
|
27
28
|
*/
|
|
28
29
|
export declare const makeApiGatewayManagementApiService: Effect.Effect<ApiGatewayManagementApiService$, never, Instance.ApiGatewayManagementApiClientInstance>;
|
|
29
30
|
declare const ApiGatewayManagementApiService_base: import("effect/Context").TagClass<ApiGatewayManagementApiService, "@effect-aws/client-api-gateway-management-api/ApiGatewayManagementApiService", ApiGatewayManagementApiService$> & Effect.Tag.Proxy<ApiGatewayManagementApiService, ApiGatewayManagementApiService$> & {
|
|
30
|
-
use: <X>(body: (_: ApiGatewayManagementApiService$) => X) => [X] extends [Effect.Effect<infer A, infer E, infer R>] ? Effect.Effect<A, E, ApiGatewayManagementApiService | R> : [X] extends [PromiseLike<infer A_1>] ? Effect.Effect<A_1,
|
|
31
|
+
use: <X>(body: (_: ApiGatewayManagementApiService$) => X) => [X] extends [Effect.Effect<infer A, infer E, infer R>] ? Effect.Effect<A, E, ApiGatewayManagementApiService | R> : [X] extends [PromiseLike<infer A_1>] ? Effect.Effect<A_1, Cause.UnknownException, ApiGatewayManagementApiService> : Effect.Effect<X, never, ApiGatewayManagementApiService>;
|
|
31
32
|
};
|
|
32
33
|
/**
|
|
33
34
|
* @since 1.0.0
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApiGatewayManagementApiService.d.ts","sourceRoot":"","sources":["../../src/ApiGatewayManagementApiService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,KAAK,6BAA6B,EAClC,KAAK,mCAAmC,EAExC,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAElC,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAE/B,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EACnC,MAAM,yCAAyC,CAAC;AACjD,OAAO,KAAK,EAAE,kBAAkB,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEvF,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AACvC,OAAO,KAAK,QAAQ,MAAM,4CAA4C,CAAC;AAEvE,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AASvG,UAAU,+BAA+B;IACvC,QAAQ,CAAC,CAAC,EAAE,OAAO,MAAM,CAAC;IAE1B;;OAEG;IACH,gBAAgB,CACd,IAAI,EAAE,4BAA4B,EAClC,OAAO,CAAC,EAAE,kBAAkB,GAC3B,MAAM,CAAC,MAAM,CACd,6BAA6B,EAC7B,QAAQ,GAAG,cAAc,GAAG,SAAS,GAAG,kBAAkB,
|
|
1
|
+
{"version":3,"file":"ApiGatewayManagementApiService.d.ts","sourceRoot":"","sources":["../../src/ApiGatewayManagementApiService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,KAAK,6BAA6B,EAClC,KAAK,mCAAmC,EAExC,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAElC,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAE/B,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,mCAGL;IAEH,MAAM,CAAC,QAAQ,CAAC,YAAY,4DAE1B;IACF,MAAM,CAAC,QAAQ,CAAC,KAAK,WAAY,+BAA+B,MAAM,+DAIlE;IACJ,MAAM,CAAC,QAAQ,CAAC,SAAS,aACb,CAAC,aAAa,EAAE,mCAAmC,KAAK,6BAA6B,+DAS7F;CACL;AAED;;GAEG;AACH,MAAM,CAAC,OAAO,WAAW,8BAA8B,CAAC;IACtD;;OAEG;IACH,UAAiB,MAAO,SAAQ,IAAI,CAAC,mCAAmC,EAAE,QAAQ,CAAC;QACjF,QAAQ,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,6BAA6B,GAAG,IAAI,CAAC;KACtE;CACF"}
|
|
@@ -18,7 +18,7 @@ const commands = {
|
|
|
18
18
|
*/
|
|
19
19
|
export const makeApiGatewayManagementApiService = Effect.gen(function* () {
|
|
20
20
|
const client = yield* Instance.ApiGatewayManagementApiClientInstance;
|
|
21
|
-
return Service.fromClientAndCommands(client, commands, {
|
|
21
|
+
return yield* Service.fromClientAndCommands(client, commands, {
|
|
22
22
|
errorTags: AllServiceErrors,
|
|
23
23
|
resolveClientConfig: ApiGatewayManagementApiServiceConfig.toApiGatewayManagementApiClientConfig,
|
|
24
24
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApiGatewayManagementApiService.js","sourceRoot":"","sources":["../../src/ApiGatewayManagementApiService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAGL,uBAAuB,EAGvB,oBAAoB,EAGpB,uBAAuB,GAGxB,MAAM,yCAAyC,CAAC;AAEjD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"ApiGatewayManagementApiService.js","sourceRoot":"","sources":["../../src/ApiGatewayManagementApiService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAGL,uBAAuB,EAGvB,oBAAoB,EAGpB,uBAAuB,GAGxB,MAAM,yCAAy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U,SAAS,GAAG,CAC1B,QAA+F,EAC/F,EAAE,CACF,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,kCAAkC,CAAC,CAAC,IAAI,CACzD,KAAK,CAAC,OAAO,CACX,KAAK,CAAC,MAAM,CACV,QAAQ,CAAC,qCAAqC,EAC9C,MAAM,CAAC,GAAG,CAAC,oCAAoC,CAAC,qCAAqC,EAAE,QAAQ,CAAC,CACjG,CACF,CACF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect-aws/client-api-gateway-management-api",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.0",
|
|
4
4
|
"description": "Effectful AWS API Gateway Management API client",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"homepage": "https://floydspace.github.io/effect-aws/docs/client-api-gateway-management-api",
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@aws-sdk/client-apigatewaymanagementapi": "^3",
|
|
19
|
-
"@effect-aws/commons": "^0.
|
|
19
|
+
"@effect-aws/commons": "^0.3.0"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"effect": ">=3.0.4 <4.0.0"
|
|
@@ -16,6 +16,7 @@ import {
|
|
|
16
16
|
} from "@aws-sdk/client-apigatewaymanagementapi";
|
|
17
17
|
import type { HttpHandlerOptions, SdkError, ServiceLogger } from "@effect-aws/commons";
|
|
18
18
|
import { Service } from "@effect-aws/commons";
|
|
19
|
+
import type { Cause } from "effect";
|
|
19
20
|
import { Effect, Layer } from "effect";
|
|
20
21
|
import * as Instance from "./ApiGatewayManagementApiClientInstance.js";
|
|
21
22
|
import * as ApiGatewayManagementApiServiceConfig from "./ApiGatewayManagementApiServiceConfig.js";
|
|
@@ -39,7 +40,7 @@ interface ApiGatewayManagementApiService$ {
|
|
|
39
40
|
options?: HttpHandlerOptions,
|
|
40
41
|
): Effect.Effect<
|
|
41
42
|
DeleteConnectionCommandOutput,
|
|
42
|
-
SdkError | ForbiddenError | GoneError | LimitExceededError
|
|
43
|
+
Cause.TimeoutException | SdkError | ForbiddenError | GoneError | LimitExceededError
|
|
43
44
|
>;
|
|
44
45
|
|
|
45
46
|
/**
|
|
@@ -50,7 +51,7 @@ interface ApiGatewayManagementApiService$ {
|
|
|
50
51
|
options?: HttpHandlerOptions,
|
|
51
52
|
): Effect.Effect<
|
|
52
53
|
GetConnectionCommandOutput,
|
|
53
|
-
SdkError | ForbiddenError | GoneError | LimitExceededError
|
|
54
|
+
Cause.TimeoutException | SdkError | ForbiddenError | GoneError | LimitExceededError
|
|
54
55
|
>;
|
|
55
56
|
|
|
56
57
|
/**
|
|
@@ -61,7 +62,7 @@ interface ApiGatewayManagementApiService$ {
|
|
|
61
62
|
options?: HttpHandlerOptions,
|
|
62
63
|
): Effect.Effect<
|
|
63
64
|
PostToConnectionCommandOutput,
|
|
64
|
-
SdkError | ForbiddenError | GoneError | LimitExceededError | PayloadTooLargeError
|
|
65
|
+
Cause.TimeoutException | SdkError | ForbiddenError | GoneError | LimitExceededError | PayloadTooLargeError
|
|
65
66
|
>;
|
|
66
67
|
}
|
|
67
68
|
|
|
@@ -72,7 +73,7 @@ interface ApiGatewayManagementApiService$ {
|
|
|
72
73
|
export const makeApiGatewayManagementApiService = Effect.gen(function*() {
|
|
73
74
|
const client = yield* Instance.ApiGatewayManagementApiClientInstance;
|
|
74
75
|
|
|
75
|
-
return Service.fromClientAndCommands<ApiGatewayManagementApiService$>(
|
|
76
|
+
return yield* Service.fromClientAndCommands<ApiGatewayManagementApiService$>(
|
|
76
77
|
client,
|
|
77
78
|
commands,
|
|
78
79
|
{
|