@checkly/pulumi 2.3.0-alpha.1745306459 → 2.3.0-alpha.1754037456
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/dashboard.d.ts +107 -23
- package/dashboard.js +17 -0
- package/dashboard.js.map +1 -1
- package/heartbeatCheck.d.ts +0 -2
- package/heartbeatCheck.js +0 -2
- package/heartbeatCheck.js.map +1 -1
- package/heartbeatMonitor.d.ts +129 -0
- package/heartbeatMonitor.js +91 -0
- package/heartbeatMonitor.js.map +1 -0
- package/index.d.ts +9 -0
- package/index.js +16 -1
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/tcpCheck.d.ts +0 -2
- package/tcpCheck.js +0 -2
- package/tcpCheck.js.map +1 -1
- package/tcpMonitor.d.ts +342 -0
- package/tcpMonitor.js +169 -0
- package/tcpMonitor.js.map +1 -0
- package/types/input.d.ts +307 -0
- package/types/output.d.ts +307 -0
- package/urlMonitor.d.ts +292 -0
- package/urlMonitor.js +120 -0
- package/urlMonitor.js.map +1 -0
package/dashboard.d.ts
CHANGED
|
@@ -37,9 +37,13 @@ export declare class Dashboard extends pulumi.CustomResource {
|
|
|
37
37
|
*/
|
|
38
38
|
static isInstance(obj: any): obj is Dashboard;
|
|
39
39
|
/**
|
|
40
|
-
* Determines how many checks to show per page.
|
|
40
|
+
* Determines how many checks to show per page. Possible values are between 1 and 20. (Default `15`).
|
|
41
41
|
*/
|
|
42
42
|
readonly checksPerPage: pulumi.Output<number | undefined>;
|
|
43
|
+
/**
|
|
44
|
+
* Custom CSS to be applied to the dashboard.
|
|
45
|
+
*/
|
|
46
|
+
readonly customCss: pulumi.Output<string | undefined>;
|
|
43
47
|
/**
|
|
44
48
|
* A custom user domain, e.g. 'status.example.com'. See the docs on updating your DNS and SSL usage.
|
|
45
49
|
*/
|
|
@@ -52,6 +56,14 @@ export declare class Dashboard extends pulumi.CustomResource {
|
|
|
52
56
|
* HTML \n\n description for the dashboard.
|
|
53
57
|
*/
|
|
54
58
|
readonly description: pulumi.Output<string | undefined>;
|
|
59
|
+
/**
|
|
60
|
+
* Enable incident support for the dashboard. (Default `false`).
|
|
61
|
+
*/
|
|
62
|
+
readonly enableIncidents: pulumi.Output<boolean | undefined>;
|
|
63
|
+
/**
|
|
64
|
+
* Expand or collapse checks on the dashboard. (Default `false`).
|
|
65
|
+
*/
|
|
66
|
+
readonly expandChecks: pulumi.Output<boolean | undefined>;
|
|
55
67
|
/**
|
|
56
68
|
* A URL pointing to an image file to use as browser favicon.
|
|
57
69
|
*/
|
|
@@ -59,9 +71,9 @@ export declare class Dashboard extends pulumi.CustomResource {
|
|
|
59
71
|
/**
|
|
60
72
|
* A piece of text displayed at the top of your dashboard.
|
|
61
73
|
*/
|
|
62
|
-
readonly header: pulumi.Output<string
|
|
74
|
+
readonly header: pulumi.Output<string>;
|
|
63
75
|
/**
|
|
64
|
-
* Show or hide the tags on the dashboard.
|
|
76
|
+
* Show or hide the tags on the dashboard. (Default `false`).
|
|
65
77
|
*/
|
|
66
78
|
readonly hideTags: pulumi.Output<boolean | undefined>;
|
|
67
79
|
/**
|
|
@@ -81,27 +93,43 @@ export declare class Dashboard extends pulumi.CustomResource {
|
|
|
81
93
|
*/
|
|
82
94
|
readonly logo: pulumi.Output<string | undefined>;
|
|
83
95
|
/**
|
|
84
|
-
* Determines if pagination is on or off.
|
|
96
|
+
* Determines if pagination is on or off. (Default `true`).
|
|
85
97
|
*/
|
|
86
98
|
readonly paginate: pulumi.Output<boolean | undefined>;
|
|
87
99
|
/**
|
|
88
|
-
* How often to trigger pagination in seconds. Possible values `30`, `60` and `300`.
|
|
100
|
+
* How often to trigger pagination in seconds. Possible values `30`, `60` and `300`. (Default `60`).
|
|
89
101
|
*/
|
|
90
102
|
readonly paginationRate: pulumi.Output<number | undefined>;
|
|
91
103
|
/**
|
|
92
|
-
* How often to refresh the dashboard in seconds. Possible values `60`, '300' and `600`.
|
|
104
|
+
* How often to refresh the dashboard in seconds. Possible values `60`, '300' and `600`. (Default `60`).
|
|
93
105
|
*/
|
|
94
106
|
readonly refreshRate: pulumi.Output<number | undefined>;
|
|
107
|
+
/**
|
|
108
|
+
* Show or hide check run links on the dashboard. (Default `false`).
|
|
109
|
+
*/
|
|
110
|
+
readonly showCheckRunLinks: pulumi.Output<boolean | undefined>;
|
|
111
|
+
/**
|
|
112
|
+
* Show or hide header and description on the dashboard. (Default `true`).
|
|
113
|
+
*/
|
|
114
|
+
readonly showHeader: pulumi.Output<boolean | undefined>;
|
|
115
|
+
/**
|
|
116
|
+
* Show or hide the P95 stats on the dashboard. (Default `true`).
|
|
117
|
+
*/
|
|
118
|
+
readonly showP95: pulumi.Output<boolean | undefined>;
|
|
119
|
+
/**
|
|
120
|
+
* Show or hide the P99 stats on the dashboard. (Default `true`).
|
|
121
|
+
*/
|
|
122
|
+
readonly showP99: pulumi.Output<boolean | undefined>;
|
|
95
123
|
/**
|
|
96
124
|
* A list of one or more tags that filter which checks to display on the dashboard.
|
|
97
125
|
*/
|
|
98
126
|
readonly tags: pulumi.Output<string[] | undefined>;
|
|
99
127
|
/**
|
|
100
|
-
* Set when to use AND operator for fetching dashboard tags.
|
|
128
|
+
* Set when to use AND operator for fetching dashboard tags. (Default `false`).
|
|
101
129
|
*/
|
|
102
130
|
readonly useTagsAndOperator: pulumi.Output<boolean | undefined>;
|
|
103
131
|
/**
|
|
104
|
-
* Determines whether to use the full screen or focus in the center. Possible values `FULL` and `960PX`.
|
|
132
|
+
* Determines whether to use the full screen or focus in the center. Possible values are `FULL` and `960PX`. (Default `FULL`).
|
|
105
133
|
*/
|
|
106
134
|
readonly width: pulumi.Output<string | undefined>;
|
|
107
135
|
/**
|
|
@@ -118,9 +146,13 @@ export declare class Dashboard extends pulumi.CustomResource {
|
|
|
118
146
|
*/
|
|
119
147
|
export interface DashboardState {
|
|
120
148
|
/**
|
|
121
|
-
* Determines how many checks to show per page.
|
|
149
|
+
* Determines how many checks to show per page. Possible values are between 1 and 20. (Default `15`).
|
|
122
150
|
*/
|
|
123
151
|
checksPerPage?: pulumi.Input<number>;
|
|
152
|
+
/**
|
|
153
|
+
* Custom CSS to be applied to the dashboard.
|
|
154
|
+
*/
|
|
155
|
+
customCss?: pulumi.Input<string>;
|
|
124
156
|
/**
|
|
125
157
|
* A custom user domain, e.g. 'status.example.com'. See the docs on updating your DNS and SSL usage.
|
|
126
158
|
*/
|
|
@@ -133,6 +165,14 @@ export interface DashboardState {
|
|
|
133
165
|
* HTML \n\n description for the dashboard.
|
|
134
166
|
*/
|
|
135
167
|
description?: pulumi.Input<string>;
|
|
168
|
+
/**
|
|
169
|
+
* Enable incident support for the dashboard. (Default `false`).
|
|
170
|
+
*/
|
|
171
|
+
enableIncidents?: pulumi.Input<boolean>;
|
|
172
|
+
/**
|
|
173
|
+
* Expand or collapse checks on the dashboard. (Default `false`).
|
|
174
|
+
*/
|
|
175
|
+
expandChecks?: pulumi.Input<boolean>;
|
|
136
176
|
/**
|
|
137
177
|
* A URL pointing to an image file to use as browser favicon.
|
|
138
178
|
*/
|
|
@@ -142,7 +182,7 @@ export interface DashboardState {
|
|
|
142
182
|
*/
|
|
143
183
|
header?: pulumi.Input<string>;
|
|
144
184
|
/**
|
|
145
|
-
* Show or hide the tags on the dashboard.
|
|
185
|
+
* Show or hide the tags on the dashboard. (Default `false`).
|
|
146
186
|
*/
|
|
147
187
|
hideTags?: pulumi.Input<boolean>;
|
|
148
188
|
/**
|
|
@@ -162,27 +202,43 @@ export interface DashboardState {
|
|
|
162
202
|
*/
|
|
163
203
|
logo?: pulumi.Input<string>;
|
|
164
204
|
/**
|
|
165
|
-
* Determines if pagination is on or off.
|
|
205
|
+
* Determines if pagination is on or off. (Default `true`).
|
|
166
206
|
*/
|
|
167
207
|
paginate?: pulumi.Input<boolean>;
|
|
168
208
|
/**
|
|
169
|
-
* How often to trigger pagination in seconds. Possible values `30`, `60` and `300`.
|
|
209
|
+
* How often to trigger pagination in seconds. Possible values `30`, `60` and `300`. (Default `60`).
|
|
170
210
|
*/
|
|
171
211
|
paginationRate?: pulumi.Input<number>;
|
|
172
212
|
/**
|
|
173
|
-
* How often to refresh the dashboard in seconds. Possible values `60`, '300' and `600`.
|
|
213
|
+
* How often to refresh the dashboard in seconds. Possible values `60`, '300' and `600`. (Default `60`).
|
|
174
214
|
*/
|
|
175
215
|
refreshRate?: pulumi.Input<number>;
|
|
216
|
+
/**
|
|
217
|
+
* Show or hide check run links on the dashboard. (Default `false`).
|
|
218
|
+
*/
|
|
219
|
+
showCheckRunLinks?: pulumi.Input<boolean>;
|
|
220
|
+
/**
|
|
221
|
+
* Show or hide header and description on the dashboard. (Default `true`).
|
|
222
|
+
*/
|
|
223
|
+
showHeader?: pulumi.Input<boolean>;
|
|
224
|
+
/**
|
|
225
|
+
* Show or hide the P95 stats on the dashboard. (Default `true`).
|
|
226
|
+
*/
|
|
227
|
+
showP95?: pulumi.Input<boolean>;
|
|
228
|
+
/**
|
|
229
|
+
* Show or hide the P99 stats on the dashboard. (Default `true`).
|
|
230
|
+
*/
|
|
231
|
+
showP99?: pulumi.Input<boolean>;
|
|
176
232
|
/**
|
|
177
233
|
* A list of one or more tags that filter which checks to display on the dashboard.
|
|
178
234
|
*/
|
|
179
235
|
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
180
236
|
/**
|
|
181
|
-
* Set when to use AND operator for fetching dashboard tags.
|
|
237
|
+
* Set when to use AND operator for fetching dashboard tags. (Default `false`).
|
|
182
238
|
*/
|
|
183
239
|
useTagsAndOperator?: pulumi.Input<boolean>;
|
|
184
240
|
/**
|
|
185
|
-
* Determines whether to use the full screen or focus in the center. Possible values `FULL` and `960PX`.
|
|
241
|
+
* Determines whether to use the full screen or focus in the center. Possible values are `FULL` and `960PX`. (Default `FULL`).
|
|
186
242
|
*/
|
|
187
243
|
width?: pulumi.Input<string>;
|
|
188
244
|
}
|
|
@@ -191,9 +247,13 @@ export interface DashboardState {
|
|
|
191
247
|
*/
|
|
192
248
|
export interface DashboardArgs {
|
|
193
249
|
/**
|
|
194
|
-
* Determines how many checks to show per page.
|
|
250
|
+
* Determines how many checks to show per page. Possible values are between 1 and 20. (Default `15`).
|
|
195
251
|
*/
|
|
196
252
|
checksPerPage?: pulumi.Input<number>;
|
|
253
|
+
/**
|
|
254
|
+
* Custom CSS to be applied to the dashboard.
|
|
255
|
+
*/
|
|
256
|
+
customCss?: pulumi.Input<string>;
|
|
197
257
|
/**
|
|
198
258
|
* A custom user domain, e.g. 'status.example.com'. See the docs on updating your DNS and SSL usage.
|
|
199
259
|
*/
|
|
@@ -206,6 +266,14 @@ export interface DashboardArgs {
|
|
|
206
266
|
* HTML \n\n description for the dashboard.
|
|
207
267
|
*/
|
|
208
268
|
description?: pulumi.Input<string>;
|
|
269
|
+
/**
|
|
270
|
+
* Enable incident support for the dashboard. (Default `false`).
|
|
271
|
+
*/
|
|
272
|
+
enableIncidents?: pulumi.Input<boolean>;
|
|
273
|
+
/**
|
|
274
|
+
* Expand or collapse checks on the dashboard. (Default `false`).
|
|
275
|
+
*/
|
|
276
|
+
expandChecks?: pulumi.Input<boolean>;
|
|
209
277
|
/**
|
|
210
278
|
* A URL pointing to an image file to use as browser favicon.
|
|
211
279
|
*/
|
|
@@ -213,9 +281,9 @@ export interface DashboardArgs {
|
|
|
213
281
|
/**
|
|
214
282
|
* A piece of text displayed at the top of your dashboard.
|
|
215
283
|
*/
|
|
216
|
-
header
|
|
284
|
+
header: pulumi.Input<string>;
|
|
217
285
|
/**
|
|
218
|
-
* Show or hide the tags on the dashboard.
|
|
286
|
+
* Show or hide the tags on the dashboard. (Default `false`).
|
|
219
287
|
*/
|
|
220
288
|
hideTags?: pulumi.Input<boolean>;
|
|
221
289
|
/**
|
|
@@ -231,27 +299,43 @@ export interface DashboardArgs {
|
|
|
231
299
|
*/
|
|
232
300
|
logo?: pulumi.Input<string>;
|
|
233
301
|
/**
|
|
234
|
-
* Determines if pagination is on or off.
|
|
302
|
+
* Determines if pagination is on or off. (Default `true`).
|
|
235
303
|
*/
|
|
236
304
|
paginate?: pulumi.Input<boolean>;
|
|
237
305
|
/**
|
|
238
|
-
* How often to trigger pagination in seconds. Possible values `30`, `60` and `300`.
|
|
306
|
+
* How often to trigger pagination in seconds. Possible values `30`, `60` and `300`. (Default `60`).
|
|
239
307
|
*/
|
|
240
308
|
paginationRate?: pulumi.Input<number>;
|
|
241
309
|
/**
|
|
242
|
-
* How often to refresh the dashboard in seconds. Possible values `60`, '300' and `600`.
|
|
310
|
+
* How often to refresh the dashboard in seconds. Possible values `60`, '300' and `600`. (Default `60`).
|
|
243
311
|
*/
|
|
244
312
|
refreshRate?: pulumi.Input<number>;
|
|
313
|
+
/**
|
|
314
|
+
* Show or hide check run links on the dashboard. (Default `false`).
|
|
315
|
+
*/
|
|
316
|
+
showCheckRunLinks?: pulumi.Input<boolean>;
|
|
317
|
+
/**
|
|
318
|
+
* Show or hide header and description on the dashboard. (Default `true`).
|
|
319
|
+
*/
|
|
320
|
+
showHeader?: pulumi.Input<boolean>;
|
|
321
|
+
/**
|
|
322
|
+
* Show or hide the P95 stats on the dashboard. (Default `true`).
|
|
323
|
+
*/
|
|
324
|
+
showP95?: pulumi.Input<boolean>;
|
|
325
|
+
/**
|
|
326
|
+
* Show or hide the P99 stats on the dashboard. (Default `true`).
|
|
327
|
+
*/
|
|
328
|
+
showP99?: pulumi.Input<boolean>;
|
|
245
329
|
/**
|
|
246
330
|
* A list of one or more tags that filter which checks to display on the dashboard.
|
|
247
331
|
*/
|
|
248
332
|
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
249
333
|
/**
|
|
250
|
-
* Set when to use AND operator for fetching dashboard tags.
|
|
334
|
+
* Set when to use AND operator for fetching dashboard tags. (Default `false`).
|
|
251
335
|
*/
|
|
252
336
|
useTagsAndOperator?: pulumi.Input<boolean>;
|
|
253
337
|
/**
|
|
254
|
-
* Determines whether to use the full screen or focus in the center. Possible values `FULL` and `960PX`.
|
|
338
|
+
* Determines whether to use the full screen or focus in the center. Possible values are `FULL` and `960PX`. (Default `FULL`).
|
|
255
339
|
*/
|
|
256
340
|
width?: pulumi.Input<string>;
|
|
257
341
|
}
|
package/dashboard.js
CHANGED
|
@@ -55,9 +55,12 @@ class Dashboard extends pulumi.CustomResource {
|
|
|
55
55
|
if (opts.id) {
|
|
56
56
|
const state = argsOrState;
|
|
57
57
|
resourceInputs["checksPerPage"] = state ? state.checksPerPage : undefined;
|
|
58
|
+
resourceInputs["customCss"] = state ? state.customCss : undefined;
|
|
58
59
|
resourceInputs["customDomain"] = state ? state.customDomain : undefined;
|
|
59
60
|
resourceInputs["customUrl"] = state ? state.customUrl : undefined;
|
|
60
61
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
62
|
+
resourceInputs["enableIncidents"] = state ? state.enableIncidents : undefined;
|
|
63
|
+
resourceInputs["expandChecks"] = state ? state.expandChecks : undefined;
|
|
61
64
|
resourceInputs["favicon"] = state ? state.favicon : undefined;
|
|
62
65
|
resourceInputs["header"] = state ? state.header : undefined;
|
|
63
66
|
resourceInputs["hideTags"] = state ? state.hideTags : undefined;
|
|
@@ -68,6 +71,10 @@ class Dashboard extends pulumi.CustomResource {
|
|
|
68
71
|
resourceInputs["paginate"] = state ? state.paginate : undefined;
|
|
69
72
|
resourceInputs["paginationRate"] = state ? state.paginationRate : undefined;
|
|
70
73
|
resourceInputs["refreshRate"] = state ? state.refreshRate : undefined;
|
|
74
|
+
resourceInputs["showCheckRunLinks"] = state ? state.showCheckRunLinks : undefined;
|
|
75
|
+
resourceInputs["showHeader"] = state ? state.showHeader : undefined;
|
|
76
|
+
resourceInputs["showP95"] = state ? state.showP95 : undefined;
|
|
77
|
+
resourceInputs["showP99"] = state ? state.showP99 : undefined;
|
|
71
78
|
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
72
79
|
resourceInputs["useTagsAndOperator"] = state ? state.useTagsAndOperator : undefined;
|
|
73
80
|
resourceInputs["width"] = state ? state.width : undefined;
|
|
@@ -77,10 +84,16 @@ class Dashboard extends pulumi.CustomResource {
|
|
|
77
84
|
if ((!args || args.customUrl === undefined) && !opts.urn) {
|
|
78
85
|
throw new Error("Missing required property 'customUrl'");
|
|
79
86
|
}
|
|
87
|
+
if ((!args || args.header === undefined) && !opts.urn) {
|
|
88
|
+
throw new Error("Missing required property 'header'");
|
|
89
|
+
}
|
|
80
90
|
resourceInputs["checksPerPage"] = args ? args.checksPerPage : undefined;
|
|
91
|
+
resourceInputs["customCss"] = args ? args.customCss : undefined;
|
|
81
92
|
resourceInputs["customDomain"] = args ? args.customDomain : undefined;
|
|
82
93
|
resourceInputs["customUrl"] = args ? args.customUrl : undefined;
|
|
83
94
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
95
|
+
resourceInputs["enableIncidents"] = args ? args.enableIncidents : undefined;
|
|
96
|
+
resourceInputs["expandChecks"] = args ? args.expandChecks : undefined;
|
|
84
97
|
resourceInputs["favicon"] = args ? args.favicon : undefined;
|
|
85
98
|
resourceInputs["header"] = args ? args.header : undefined;
|
|
86
99
|
resourceInputs["hideTags"] = args ? args.hideTags : undefined;
|
|
@@ -90,6 +103,10 @@ class Dashboard extends pulumi.CustomResource {
|
|
|
90
103
|
resourceInputs["paginate"] = args ? args.paginate : undefined;
|
|
91
104
|
resourceInputs["paginationRate"] = args ? args.paginationRate : undefined;
|
|
92
105
|
resourceInputs["refreshRate"] = args ? args.refreshRate : undefined;
|
|
106
|
+
resourceInputs["showCheckRunLinks"] = args ? args.showCheckRunLinks : undefined;
|
|
107
|
+
resourceInputs["showHeader"] = args ? args.showHeader : undefined;
|
|
108
|
+
resourceInputs["showP95"] = args ? args.showP95 : undefined;
|
|
109
|
+
resourceInputs["showP99"] = args ? args.showP99 : undefined;
|
|
93
110
|
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
94
111
|
resourceInputs["useTagsAndOperator"] = args ? args.useTagsAndOperator : undefined;
|
|
95
112
|
resourceInputs["width"] = args ? args.width : undefined;
|
package/dashboard.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard.js","sourceRoot":"","sources":["../dashboard.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;
|
|
1
|
+
{"version":3,"file":"dashboard.js","sourceRoot":"","sources":["../dashboard.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,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D,CAAC;;AAvML,8BAwMC;AA1LG,gBAAgB;AACO,sBAAY,GAAG,mCAAmC,CAAC"}
|
package/heartbeatCheck.d.ts
CHANGED
|
@@ -2,8 +2,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
-
* Heartbeats allows you to monitor your cron jobs and set up alerting, so you get a notification when things break or slow down.
|
|
6
|
-
*
|
|
7
5
|
* ## Example Usage
|
|
8
6
|
*
|
|
9
7
|
* ```typescript
|
package/heartbeatCheck.js
CHANGED
|
@@ -6,8 +6,6 @@ exports.HeartbeatCheck = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Heartbeats allows you to monitor your cron jobs and set up alerting, so you get a notification when things break or slow down.
|
|
10
|
-
*
|
|
11
9
|
* ## Example Usage
|
|
12
10
|
*
|
|
13
11
|
* ```typescript
|
package/heartbeatCheck.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"heartbeatCheck.js","sourceRoot":"","sources":["../heartbeatCheck.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"heartbeatCheck.js","sourceRoot":"","sources":["../heartbeatCheck.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,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C,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,wBAAwB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7F;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AA5FL,wCA6FC;AA/EG,gBAAgB;AACO,2BAAY,GAAG,6CAA6C,CAAC"}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Heartbeats allows you to monitor your cron jobs and set up alerting, so you get a notification when things break or slow down.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as checkly from "@checkly/pulumi";
|
|
12
|
+
*
|
|
13
|
+
* const example_heartbeat_monitor = new checkly.HeartbeatMonitor("example-heartbeat-monitor", {
|
|
14
|
+
* name: "Example heartbeat monitor",
|
|
15
|
+
* activated: true,
|
|
16
|
+
* heartbeat: {
|
|
17
|
+
* period: 7,
|
|
18
|
+
* periodUnit: "days",
|
|
19
|
+
* grace: 1,
|
|
20
|
+
* graceUnit: "days",
|
|
21
|
+
* },
|
|
22
|
+
* useGlobalAlertSettings: true,
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export declare class HeartbeatMonitor extends pulumi.CustomResource {
|
|
27
|
+
/**
|
|
28
|
+
* Get an existing HeartbeatMonitor resource's state with the given name, ID, and optional extra
|
|
29
|
+
* properties used to qualify the lookup.
|
|
30
|
+
*
|
|
31
|
+
* @param name The _unique_ name of the resulting resource.
|
|
32
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
33
|
+
* @param state Any extra arguments used during the lookup.
|
|
34
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
35
|
+
*/
|
|
36
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: HeartbeatMonitorState, opts?: pulumi.CustomResourceOptions): HeartbeatMonitor;
|
|
37
|
+
/**
|
|
38
|
+
* Returns true if the given object is an instance of HeartbeatMonitor. This is designed to work even
|
|
39
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
40
|
+
*/
|
|
41
|
+
static isInstance(obj: any): obj is HeartbeatMonitor;
|
|
42
|
+
/**
|
|
43
|
+
* Determines if the check is running or not. Possible values `true`, and `false`.
|
|
44
|
+
*/
|
|
45
|
+
readonly activated: pulumi.Output<boolean>;
|
|
46
|
+
readonly alertChannelSubscriptions: pulumi.Output<outputs.HeartbeatMonitorAlertChannelSubscription[] | undefined>;
|
|
47
|
+
readonly alertSettings: pulumi.Output<outputs.HeartbeatMonitorAlertSettings>;
|
|
48
|
+
readonly heartbeat: pulumi.Output<outputs.HeartbeatMonitorHeartbeat>;
|
|
49
|
+
/**
|
|
50
|
+
* Determines if any notifications will be sent out when a check fails/degrades/recovers.
|
|
51
|
+
*/
|
|
52
|
+
readonly muted: pulumi.Output<boolean | undefined>;
|
|
53
|
+
/**
|
|
54
|
+
* The name of the check.
|
|
55
|
+
*/
|
|
56
|
+
readonly name: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* A list of tags for organizing and filtering checks.
|
|
59
|
+
*/
|
|
60
|
+
readonly tags: pulumi.Output<string[] | undefined>;
|
|
61
|
+
/**
|
|
62
|
+
* When true, the account level alert settings will be used, not the alert setting defined on this check.
|
|
63
|
+
*/
|
|
64
|
+
readonly useGlobalAlertSettings: pulumi.Output<boolean | undefined>;
|
|
65
|
+
/**
|
|
66
|
+
* Create a HeartbeatMonitor resource with the given unique name, arguments, and options.
|
|
67
|
+
*
|
|
68
|
+
* @param name The _unique_ name of the resource.
|
|
69
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
70
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
71
|
+
*/
|
|
72
|
+
constructor(name: string, args: HeartbeatMonitorArgs, opts?: pulumi.CustomResourceOptions);
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Input properties used for looking up and filtering HeartbeatMonitor resources.
|
|
76
|
+
*/
|
|
77
|
+
export interface HeartbeatMonitorState {
|
|
78
|
+
/**
|
|
79
|
+
* Determines if the check is running or not. Possible values `true`, and `false`.
|
|
80
|
+
*/
|
|
81
|
+
activated?: pulumi.Input<boolean>;
|
|
82
|
+
alertChannelSubscriptions?: pulumi.Input<pulumi.Input<inputs.HeartbeatMonitorAlertChannelSubscription>[]>;
|
|
83
|
+
alertSettings?: pulumi.Input<inputs.HeartbeatMonitorAlertSettings>;
|
|
84
|
+
heartbeat?: pulumi.Input<inputs.HeartbeatMonitorHeartbeat>;
|
|
85
|
+
/**
|
|
86
|
+
* Determines if any notifications will be sent out when a check fails/degrades/recovers.
|
|
87
|
+
*/
|
|
88
|
+
muted?: pulumi.Input<boolean>;
|
|
89
|
+
/**
|
|
90
|
+
* The name of the check.
|
|
91
|
+
*/
|
|
92
|
+
name?: pulumi.Input<string>;
|
|
93
|
+
/**
|
|
94
|
+
* A list of tags for organizing and filtering checks.
|
|
95
|
+
*/
|
|
96
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
97
|
+
/**
|
|
98
|
+
* When true, the account level alert settings will be used, not the alert setting defined on this check.
|
|
99
|
+
*/
|
|
100
|
+
useGlobalAlertSettings?: pulumi.Input<boolean>;
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* The set of arguments for constructing a HeartbeatMonitor resource.
|
|
104
|
+
*/
|
|
105
|
+
export interface HeartbeatMonitorArgs {
|
|
106
|
+
/**
|
|
107
|
+
* Determines if the check is running or not. Possible values `true`, and `false`.
|
|
108
|
+
*/
|
|
109
|
+
activated: pulumi.Input<boolean>;
|
|
110
|
+
alertChannelSubscriptions?: pulumi.Input<pulumi.Input<inputs.HeartbeatMonitorAlertChannelSubscription>[]>;
|
|
111
|
+
alertSettings?: pulumi.Input<inputs.HeartbeatMonitorAlertSettings>;
|
|
112
|
+
heartbeat: pulumi.Input<inputs.HeartbeatMonitorHeartbeat>;
|
|
113
|
+
/**
|
|
114
|
+
* Determines if any notifications will be sent out when a check fails/degrades/recovers.
|
|
115
|
+
*/
|
|
116
|
+
muted?: pulumi.Input<boolean>;
|
|
117
|
+
/**
|
|
118
|
+
* The name of the check.
|
|
119
|
+
*/
|
|
120
|
+
name?: pulumi.Input<string>;
|
|
121
|
+
/**
|
|
122
|
+
* A list of tags for organizing and filtering checks.
|
|
123
|
+
*/
|
|
124
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
125
|
+
/**
|
|
126
|
+
* When true, the account level alert settings will be used, not the alert setting defined on this check.
|
|
127
|
+
*/
|
|
128
|
+
useGlobalAlertSettings?: pulumi.Input<boolean>;
|
|
129
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.HeartbeatMonitor = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Heartbeats allows you to monitor your cron jobs and set up alerting, so you get a notification when things break or slow down.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as checkly from "@checkly/pulumi";
|
|
16
|
+
*
|
|
17
|
+
* const example_heartbeat_monitor = new checkly.HeartbeatMonitor("example-heartbeat-monitor", {
|
|
18
|
+
* name: "Example heartbeat monitor",
|
|
19
|
+
* activated: true,
|
|
20
|
+
* heartbeat: {
|
|
21
|
+
* period: 7,
|
|
22
|
+
* periodUnit: "days",
|
|
23
|
+
* grace: 1,
|
|
24
|
+
* graceUnit: "days",
|
|
25
|
+
* },
|
|
26
|
+
* useGlobalAlertSettings: true,
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
class HeartbeatMonitor extends pulumi.CustomResource {
|
|
31
|
+
/**
|
|
32
|
+
* Get an existing HeartbeatMonitor resource's state with the given name, ID, and optional extra
|
|
33
|
+
* properties used to qualify the lookup.
|
|
34
|
+
*
|
|
35
|
+
* @param name The _unique_ name of the resulting resource.
|
|
36
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
37
|
+
* @param state Any extra arguments used during the lookup.
|
|
38
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
39
|
+
*/
|
|
40
|
+
static get(name, id, state, opts) {
|
|
41
|
+
return new HeartbeatMonitor(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Returns true if the given object is an instance of HeartbeatMonitor. This is designed to work even
|
|
45
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
46
|
+
*/
|
|
47
|
+
static isInstance(obj) {
|
|
48
|
+
if (obj === undefined || obj === null) {
|
|
49
|
+
return false;
|
|
50
|
+
}
|
|
51
|
+
return obj['__pulumiType'] === HeartbeatMonitor.__pulumiType;
|
|
52
|
+
}
|
|
53
|
+
constructor(name, argsOrState, opts) {
|
|
54
|
+
let resourceInputs = {};
|
|
55
|
+
opts = opts || {};
|
|
56
|
+
if (opts.id) {
|
|
57
|
+
const state = argsOrState;
|
|
58
|
+
resourceInputs["activated"] = state ? state.activated : undefined;
|
|
59
|
+
resourceInputs["alertChannelSubscriptions"] = state ? state.alertChannelSubscriptions : undefined;
|
|
60
|
+
resourceInputs["alertSettings"] = state ? state.alertSettings : undefined;
|
|
61
|
+
resourceInputs["heartbeat"] = state ? state.heartbeat : undefined;
|
|
62
|
+
resourceInputs["muted"] = state ? state.muted : undefined;
|
|
63
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
64
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
65
|
+
resourceInputs["useGlobalAlertSettings"] = state ? state.useGlobalAlertSettings : undefined;
|
|
66
|
+
}
|
|
67
|
+
else {
|
|
68
|
+
const args = argsOrState;
|
|
69
|
+
if ((!args || args.activated === undefined) && !opts.urn) {
|
|
70
|
+
throw new Error("Missing required property 'activated'");
|
|
71
|
+
}
|
|
72
|
+
if ((!args || args.heartbeat === undefined) && !opts.urn) {
|
|
73
|
+
throw new Error("Missing required property 'heartbeat'");
|
|
74
|
+
}
|
|
75
|
+
resourceInputs["activated"] = args ? args.activated : undefined;
|
|
76
|
+
resourceInputs["alertChannelSubscriptions"] = args ? args.alertChannelSubscriptions : undefined;
|
|
77
|
+
resourceInputs["alertSettings"] = args ? args.alertSettings : undefined;
|
|
78
|
+
resourceInputs["heartbeat"] = args ? args.heartbeat : undefined;
|
|
79
|
+
resourceInputs["muted"] = args ? args.muted : undefined;
|
|
80
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
81
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
82
|
+
resourceInputs["useGlobalAlertSettings"] = args ? args.useGlobalAlertSettings : undefined;
|
|
83
|
+
}
|
|
84
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
85
|
+
super(HeartbeatMonitor.__pulumiType, name, resourceInputs, opts);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
exports.HeartbeatMonitor = HeartbeatMonitor;
|
|
89
|
+
/** @internal */
|
|
90
|
+
HeartbeatMonitor.__pulumiType = 'checkly:index/heartbeatMonitor:HeartbeatMonitor';
|
|
91
|
+
//# sourceMappingURL=heartbeatMonitor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"heartbeatMonitor.js","sourceRoot":"","sources":["../heartbeatMonitor.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IAkCD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,2BAA2B,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClG,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CA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e,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,wBAAwB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7F;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AA5FL,4CA6FC;AA/EG,gBAAgB;AACO,6BAAY,GAAG,iDAAiD,CAAC"}
|
package/index.d.ts
CHANGED
|
@@ -22,6 +22,9 @@ export declare const getStaticIpsOutput: typeof import("./getStaticIps").getStat
|
|
|
22
22
|
export { HeartbeatCheckArgs, HeartbeatCheckState } from "./heartbeatCheck";
|
|
23
23
|
export type HeartbeatCheck = import("./heartbeatCheck").HeartbeatCheck;
|
|
24
24
|
export declare const HeartbeatCheck: typeof import("./heartbeatCheck").HeartbeatCheck;
|
|
25
|
+
export { HeartbeatMonitorArgs, HeartbeatMonitorState } from "./heartbeatMonitor";
|
|
26
|
+
export type HeartbeatMonitor = import("./heartbeatMonitor").HeartbeatMonitor;
|
|
27
|
+
export declare const HeartbeatMonitor: typeof import("./heartbeatMonitor").HeartbeatMonitor;
|
|
25
28
|
export { MaintenanceWindowArgs, MaintenanceWindowState } from "./maintenanceWindow";
|
|
26
29
|
export type MaintenanceWindow = import("./maintenanceWindow").MaintenanceWindow;
|
|
27
30
|
export declare const MaintenanceWindow: typeof import("./maintenanceWindow").MaintenanceWindow;
|
|
@@ -43,12 +46,18 @@ export declare const StatusPageService: typeof import("./statusPageService").Sta
|
|
|
43
46
|
export { TcpCheckArgs, TcpCheckState } from "./tcpCheck";
|
|
44
47
|
export type TcpCheck = import("./tcpCheck").TcpCheck;
|
|
45
48
|
export declare const TcpCheck: typeof import("./tcpCheck").TcpCheck;
|
|
49
|
+
export { TcpMonitorArgs, TcpMonitorState } from "./tcpMonitor";
|
|
50
|
+
export type TcpMonitor = import("./tcpMonitor").TcpMonitor;
|
|
51
|
+
export declare const TcpMonitor: typeof import("./tcpMonitor").TcpMonitor;
|
|
46
52
|
export { TriggerCheckArgs, TriggerCheckState } from "./triggerCheck";
|
|
47
53
|
export type TriggerCheck = import("./triggerCheck").TriggerCheck;
|
|
48
54
|
export declare const TriggerCheck: typeof import("./triggerCheck").TriggerCheck;
|
|
49
55
|
export { TriggerCheckGroupArgs, TriggerCheckGroupState } from "./triggerCheckGroup";
|
|
50
56
|
export type TriggerCheckGroup = import("./triggerCheckGroup").TriggerCheckGroup;
|
|
51
57
|
export declare const TriggerCheckGroup: typeof import("./triggerCheckGroup").TriggerCheckGroup;
|
|
58
|
+
export { UrlMonitorArgs, UrlMonitorState } from "./urlMonitor";
|
|
59
|
+
export type UrlMonitor = import("./urlMonitor").UrlMonitor;
|
|
60
|
+
export declare const UrlMonitor: typeof import("./urlMonitor").UrlMonitor;
|
|
52
61
|
import * as config from "./config";
|
|
53
62
|
import * as types from "./types";
|
|
54
63
|
export { config, types, };
|