@types/rascal 10.0.5 → 10.0.6
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.
- rascal/README.md +1 -1
- rascal/index.d.ts +82 -53
- rascal/package.json +3 -3
rascal/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for rascal (https://guidesmiths.github.io
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rascal.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Tue, 14 Jun 2022 19:31:37 GMT
|
|
12
12
|
* Dependencies: [@types/amqplib](https://npmjs.com/package/@types/amqplib), [@types/node](https://npmjs.com/package/@types/node)
|
|
13
13
|
* Global values: none
|
|
14
14
|
|
rascal/index.d.ts
CHANGED
|
@@ -21,12 +21,14 @@ export interface BindingConfig {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
export interface QueueConfig {
|
|
24
|
+
name?: string | undefined;
|
|
24
25
|
assert?: boolean | undefined;
|
|
25
26
|
check?: boolean | undefined;
|
|
26
27
|
options?: Options.AssertQueue | undefined;
|
|
27
28
|
}
|
|
28
29
|
|
|
29
30
|
export interface ExchangeConfig {
|
|
31
|
+
name?: string | undefined;
|
|
30
32
|
assert?: boolean | undefined;
|
|
31
33
|
check?: boolean | undefined;
|
|
32
34
|
type?: 'direct' | 'fanout' | 'headers' | 'topic' | undefined;
|
|
@@ -46,20 +48,24 @@ export interface ConnectionAttributes {
|
|
|
46
48
|
query?: string | undefined;
|
|
47
49
|
url?: string | undefined;
|
|
48
50
|
loggableUrl?: string | undefined;
|
|
49
|
-
options?:
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
51
|
+
options?:
|
|
52
|
+
| {
|
|
53
|
+
heartbeat?: number | undefined;
|
|
54
|
+
timeout?: number | undefined;
|
|
55
|
+
channelMax?: number | undefined;
|
|
56
|
+
connection_timeout?: number | undefined;
|
|
57
|
+
[key: string]: any;
|
|
58
|
+
}
|
|
59
|
+
| undefined;
|
|
60
|
+
socketOptions?:
|
|
61
|
+
| {
|
|
62
|
+
timeout?: number | undefined;
|
|
63
|
+
clientProperties?: {
|
|
64
|
+
connection_name?: string | undefined;
|
|
65
|
+
[key: string]: string | undefined;
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
| undefined;
|
|
63
69
|
}
|
|
64
70
|
|
|
65
71
|
export interface RetryConfig {
|
|
@@ -88,10 +94,12 @@ export interface VhostConfig {
|
|
|
88
94
|
check?: boolean | undefined;
|
|
89
95
|
assert?: boolean | undefined;
|
|
90
96
|
namespace?: string | boolean | undefined;
|
|
91
|
-
publicationChannelPools?:
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
97
|
+
publicationChannelPools?:
|
|
98
|
+
| {
|
|
99
|
+
regularPool?: ChannelPoolConfig | undefined;
|
|
100
|
+
confirmPool?: ChannelPoolConfig | undefined;
|
|
101
|
+
}
|
|
102
|
+
| undefined;
|
|
95
103
|
connection?: ConnectionConfig | undefined;
|
|
96
104
|
connections?: ConnectionConfig[] | undefined;
|
|
97
105
|
connectionStrategy?: 'random' | 'fixed' | undefined;
|
|
@@ -99,23 +107,30 @@ export interface VhostConfig {
|
|
|
99
107
|
| {
|
|
100
108
|
[key: string]: ExchangeConfig;
|
|
101
109
|
}
|
|
102
|
-
| string
|
|
110
|
+
| Array<string | ExchangeConfig>
|
|
111
|
+
| undefined;
|
|
103
112
|
queues?:
|
|
104
113
|
| {
|
|
105
114
|
[key: string]: QueueConfig;
|
|
106
115
|
}
|
|
107
|
-
| string
|
|
116
|
+
| Array<string | QueueConfig>
|
|
117
|
+
| undefined;
|
|
108
118
|
bindings?:
|
|
109
119
|
| {
|
|
110
120
|
[key: string]: BindingConfig;
|
|
111
121
|
}
|
|
112
|
-
| string
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
122
|
+
| Array<string | BindingConfig>
|
|
123
|
+
| undefined;
|
|
124
|
+
publications?:
|
|
125
|
+
| {
|
|
126
|
+
[key: string]: PublicationConfig;
|
|
127
|
+
}
|
|
128
|
+
| undefined;
|
|
129
|
+
subscriptions?:
|
|
130
|
+
| {
|
|
131
|
+
[key: string]: SubscriptionConfig;
|
|
132
|
+
}
|
|
133
|
+
| undefined;
|
|
119
134
|
}
|
|
120
135
|
|
|
121
136
|
export interface PublicationConfig {
|
|
@@ -137,12 +152,14 @@ export interface Encryption {
|
|
|
137
152
|
}
|
|
138
153
|
|
|
139
154
|
export interface Redelivery {
|
|
140
|
-
counters?:
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
155
|
+
counters?:
|
|
156
|
+
| {
|
|
157
|
+
[key: string]: {
|
|
158
|
+
type: 'stub' | 'inMemory' | 'inMemoryCluster';
|
|
159
|
+
size?: number | undefined;
|
|
160
|
+
};
|
|
161
|
+
}
|
|
162
|
+
| undefined;
|
|
146
163
|
}
|
|
147
164
|
|
|
148
165
|
export interface Recovery {
|
|
@@ -169,31 +186,43 @@ export interface SubscriptionConfig {
|
|
|
169
186
|
deferCloseChannel?: number | undefined;
|
|
170
187
|
encryption?: string | undefined;
|
|
171
188
|
autoCreated?: boolean | undefined;
|
|
172
|
-
redeliveries?:
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
189
|
+
redeliveries?:
|
|
190
|
+
| {
|
|
191
|
+
counter: string;
|
|
192
|
+
limit: number;
|
|
193
|
+
timeout?: number | undefined;
|
|
194
|
+
}
|
|
195
|
+
| undefined;
|
|
177
196
|
}
|
|
178
197
|
|
|
179
198
|
interface BrokerConfig {
|
|
180
|
-
vhosts?:
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
199
|
+
vhosts?:
|
|
200
|
+
| {
|
|
201
|
+
[key: string]: VhostConfig;
|
|
202
|
+
}
|
|
203
|
+
| undefined;
|
|
204
|
+
publications?:
|
|
205
|
+
| {
|
|
206
|
+
[key: string]: PublicationConfig;
|
|
207
|
+
}
|
|
208
|
+
| undefined;
|
|
209
|
+
subscriptions?:
|
|
210
|
+
| {
|
|
211
|
+
[key: string]: SubscriptionConfig;
|
|
212
|
+
}
|
|
213
|
+
| undefined;
|
|
189
214
|
redeliveries?: Redelivery | undefined;
|
|
190
|
-
recovery?:
|
|
191
|
-
|
|
192
|
-
|
|
215
|
+
recovery?:
|
|
216
|
+
| {
|
|
217
|
+
[key: string]: Recovery | Recovery[];
|
|
218
|
+
}
|
|
219
|
+
| undefined;
|
|
193
220
|
defaults?: VhostConfig | undefined;
|
|
194
|
-
encryption?:
|
|
195
|
-
|
|
196
|
-
|
|
221
|
+
encryption?:
|
|
222
|
+
| {
|
|
223
|
+
[key: string]: Encryption;
|
|
224
|
+
}
|
|
225
|
+
| undefined;
|
|
197
226
|
}
|
|
198
227
|
|
|
199
228
|
declare const defaultConfig: {
|
rascal/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/rascal",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.6",
|
|
4
4
|
"description": "TypeScript definitions for rascal",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rascal",
|
|
6
6
|
"license": "MIT",
|
|
@@ -33,6 +33,6 @@
|
|
|
33
33
|
"@types/amqplib": "*",
|
|
34
34
|
"@types/node": "*"
|
|
35
35
|
},
|
|
36
|
-
"typesPublisherContentHash": "
|
|
37
|
-
"typeScriptVersion": "
|
|
36
|
+
"typesPublisherContentHash": "39cff115e825f7e3bf21408fdd2f53e0170f5c752d9d18a3d1ecd84f370db5cc",
|
|
37
|
+
"typeScriptVersion": "4.0"
|
|
38
38
|
}
|