@azure/arm-locks 1.2.0 → 2.0.0-alpha.20211015.3

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.
Files changed (84) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/{LICENSE.txt → LICENSE} +2 -2
  3. package/README.md +63 -80
  4. package/dist/index.js +1796 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/esm/index.d.ts +534 -0
  9. package/esm/index.d.ts.map +1 -0
  10. package/esm/index.js +13 -0
  11. package/esm/index.js.map +1 -0
  12. package/esm/managementLockClient.d.ts +9 -18
  13. package/esm/managementLockClient.d.ts.map +1 -1
  14. package/esm/managementLockClient.js +12 -28
  15. package/esm/managementLockClient.js.map +1 -1
  16. package/esm/managementLockClientContext.d.ts +10 -16
  17. package/esm/managementLockClientContext.d.ts.map +1 -1
  18. package/esm/managementLockClientContext.js +34 -46
  19. package/esm/managementLockClientContext.js.map +1 -1
  20. package/esm/models/index.d.ts +208 -445
  21. package/esm/models/index.d.ts.map +1 -1
  22. package/esm/models/index.js +9 -2
  23. package/esm/models/index.js.map +1 -1
  24. package/esm/models/mappers.d.ts +7 -9
  25. package/esm/models/mappers.d.ts.map +1 -1
  26. package/esm/models/mappers.js +69 -78
  27. package/esm/models/mappers.js.map +1 -1
  28. package/esm/models/parameters.d.ts +16 -13
  29. package/esm/models/parameters.d.ts.map +1 -1
  30. package/esm/models/parameters.js +78 -54
  31. package/esm/models/parameters.js.map +1 -1
  32. package/esm/operations/authorizationOperations.d.ts +27 -26
  33. package/esm/operations/authorizationOperations.d.ts.map +1 -1
  34. package/esm/operations/authorizationOperations.js +158 -50
  35. package/esm/operations/authorizationOperations.js.map +1 -1
  36. package/esm/operations/index.d.ts.map +1 -1
  37. package/esm/operations/index.js +3 -5
  38. package/esm/operations/index.js.map +1 -1
  39. package/esm/operations/managementLocks.d.ts +203 -393
  40. package/esm/operations/managementLocks.d.ts.map +1 -1
  41. package/esm/operations/managementLocks.js +993 -485
  42. package/esm/operations/managementLocks.js.map +1 -1
  43. package/esm/operationsInterfaces/authorizationOperations.d.ts +18 -0
  44. package/esm/operationsInterfaces/authorizationOperations.d.ts.map +1 -0
  45. package/esm/operationsInterfaces/authorizationOperations.js +9 -0
  46. package/esm/operationsInterfaces/authorizationOperations.js.map +1 -0
  47. package/esm/operationsInterfaces/index.d.ts +3 -0
  48. package/esm/operationsInterfaces/index.d.ts.map +1 -0
  49. package/esm/operationsInterfaces/index.js +10 -0
  50. package/esm/operationsInterfaces/index.js.map +1 -0
  51. package/esm/operationsInterfaces/managementLocks.d.ts +198 -0
  52. package/esm/operationsInterfaces/managementLocks.d.ts.map +1 -0
  53. package/esm/operationsInterfaces/managementLocks.js +9 -0
  54. package/esm/operationsInterfaces/managementLocks.js.map +1 -0
  55. package/package.json +53 -16
  56. package/review/arm-locks.api.md +313 -0
  57. package/rollup.config.js +181 -30
  58. package/src/index.ts +13 -0
  59. package/src/managementLockClient.ts +23 -36
  60. package/src/managementLockClientContext.ts +47 -45
  61. package/src/models/index.ts +256 -470
  62. package/src/models/mappers.ts +72 -82
  63. package/src/models/parameters.ts +97 -55
  64. package/src/operations/authorizationOperations.ts +155 -70
  65. package/src/operations/index.ts +3 -5
  66. package/src/operations/managementLocks.ts +1165 -869
  67. package/src/operationsInterfaces/authorizationOperations.ts +36 -0
  68. package/src/operationsInterfaces/index.ts +10 -0
  69. package/src/operationsInterfaces/managementLocks.ts +332 -0
  70. package/tsconfig.json +3 -2
  71. package/dist/arm-locks.js +0 -1280
  72. package/dist/arm-locks.js.map +0 -1
  73. package/dist/arm-locks.min.js +0 -1
  74. package/dist/arm-locks.min.js.map +0 -1
  75. package/esm/models/authorizationOperationsMappers.d.ts +0 -2
  76. package/esm/models/authorizationOperationsMappers.d.ts.map +0 -1
  77. package/esm/models/authorizationOperationsMappers.js +0 -9
  78. package/esm/models/authorizationOperationsMappers.js.map +0 -1
  79. package/esm/models/managementLocksMappers.d.ts +0 -2
  80. package/esm/models/managementLocksMappers.d.ts.map +0 -1
  81. package/esm/models/managementLocksMappers.js +0 -9
  82. package/esm/models/managementLocksMappers.js.map +0 -1
  83. package/src/models/authorizationOperationsMappers.ts +0 -14
  84. package/src/models/managementLocksMappers.ts +0 -15
@@ -0,0 +1,36 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import "@azure/core-paging";
10
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
11
+ import {
12
+ Operation,
13
+ AuthorizationOperationsListNextOptionalParams,
14
+ AuthorizationOperationsListOptionalParams
15
+ } from "../models";
16
+
17
+ /// <reference lib="esnext.asynciterable" />
18
+ /** Interface representing a AuthorizationOperations. */
19
+ export interface AuthorizationOperations {
20
+ /**
21
+ * Lists all of the available Microsoft.Authorization REST API operations.
22
+ * @param options The options parameters.
23
+ */
24
+ list(
25
+ options?: AuthorizationOperationsListOptionalParams
26
+ ): PagedAsyncIterableIterator<Operation>;
27
+ /**
28
+ * ListNext
29
+ * @param nextLink The nextLink from the previous successful call to the List method.
30
+ * @param options The options parameters.
31
+ */
32
+ listNext(
33
+ nextLink: string,
34
+ options?: AuthorizationOperationsListNextOptionalParams
35
+ ): PagedAsyncIterableIterator<Operation>;
36
+ }
@@ -0,0 +1,10 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ export * from "./authorizationOperations";
10
+ export * from "./managementLocks";
@@ -0,0 +1,332 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import "@azure/core-paging";
10
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
11
+ import {
12
+ ManagementLockObject,
13
+ ManagementLocksListAtResourceGroupLevelNextOptionalParams,
14
+ ManagementLocksListAtResourceGroupLevelOptionalParams,
15
+ ManagementLocksListAtResourceLevelNextOptionalParams,
16
+ ManagementLocksListAtResourceLevelOptionalParams,
17
+ ManagementLocksListAtSubscriptionLevelNextOptionalParams,
18
+ ManagementLocksListAtSubscriptionLevelOptionalParams,
19
+ ManagementLocksListByScopeNextOptionalParams,
20
+ ManagementLocksListByScopeOptionalParams,
21
+ ManagementLocksCreateOrUpdateAtResourceGroupLevelOptionalParams,
22
+ ManagementLocksCreateOrUpdateAtResourceGroupLevelResponse,
23
+ ManagementLocksDeleteAtResourceGroupLevelOptionalParams,
24
+ ManagementLocksGetAtResourceGroupLevelOptionalParams,
25
+ ManagementLocksGetAtResourceGroupLevelResponse,
26
+ ManagementLocksCreateOrUpdateByScopeOptionalParams,
27
+ ManagementLocksCreateOrUpdateByScopeResponse,
28
+ ManagementLocksDeleteByScopeOptionalParams,
29
+ ManagementLocksGetByScopeOptionalParams,
30
+ ManagementLocksGetByScopeResponse,
31
+ ManagementLocksCreateOrUpdateAtResourceLevelOptionalParams,
32
+ ManagementLocksCreateOrUpdateAtResourceLevelResponse,
33
+ ManagementLocksDeleteAtResourceLevelOptionalParams,
34
+ ManagementLocksGetAtResourceLevelOptionalParams,
35
+ ManagementLocksGetAtResourceLevelResponse,
36
+ ManagementLocksCreateOrUpdateAtSubscriptionLevelOptionalParams,
37
+ ManagementLocksCreateOrUpdateAtSubscriptionLevelResponse,
38
+ ManagementLocksDeleteAtSubscriptionLevelOptionalParams,
39
+ ManagementLocksGetAtSubscriptionLevelOptionalParams,
40
+ ManagementLocksGetAtSubscriptionLevelResponse
41
+ } from "../models";
42
+
43
+ /// <reference lib="esnext.asynciterable" />
44
+ /** Interface representing a ManagementLocks. */
45
+ export interface ManagementLocks {
46
+ /**
47
+ * Gets all the management locks for a resource group.
48
+ * @param resourceGroupName The name of the resource group containing the locks to get.
49
+ * @param options The options parameters.
50
+ */
51
+ listAtResourceGroupLevel(
52
+ resourceGroupName: string,
53
+ options?: ManagementLocksListAtResourceGroupLevelOptionalParams
54
+ ): PagedAsyncIterableIterator<ManagementLockObject>;
55
+ /**
56
+ * Gets all the management locks for a resource or any level below resource.
57
+ * @param resourceGroupName The name of the resource group containing the locked resource. The name is
58
+ * case insensitive.
59
+ * @param resourceProviderNamespace The namespace of the resource provider.
60
+ * @param parentResourcePath The parent resource identity.
61
+ * @param resourceType The resource type of the locked resource.
62
+ * @param resourceName The name of the locked resource.
63
+ * @param options The options parameters.
64
+ */
65
+ listAtResourceLevel(
66
+ resourceGroupName: string,
67
+ resourceProviderNamespace: string,
68
+ parentResourcePath: string,
69
+ resourceType: string,
70
+ resourceName: string,
71
+ options?: ManagementLocksListAtResourceLevelOptionalParams
72
+ ): PagedAsyncIterableIterator<ManagementLockObject>;
73
+ /**
74
+ * Gets all the management locks for a subscription.
75
+ * @param options The options parameters.
76
+ */
77
+ listAtSubscriptionLevel(
78
+ options?: ManagementLocksListAtSubscriptionLevelOptionalParams
79
+ ): PagedAsyncIterableIterator<ManagementLockObject>;
80
+ /**
81
+ * Gets all the management locks for a scope.
82
+ * @param scope The scope for the lock. When providing a scope for the assignment, use
83
+ * '/subscriptions/{subscriptionId}' for subscriptions,
84
+ * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and
85
+ * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}'
86
+ * for resources.
87
+ * @param options The options parameters.
88
+ */
89
+ listByScope(
90
+ scope: string,
91
+ options?: ManagementLocksListByScopeOptionalParams
92
+ ): PagedAsyncIterableIterator<ManagementLockObject>;
93
+ /**
94
+ * ListAtResourceGroupLevelNext
95
+ * @param resourceGroupName The name of the resource group containing the locks to get.
96
+ * @param nextLink The nextLink from the previous successful call to the ListAtResourceGroupLevel
97
+ * method.
98
+ * @param options The options parameters.
99
+ */
100
+ listAtResourceGroupLevelNext(
101
+ resourceGroupName: string,
102
+ nextLink: string,
103
+ options?: ManagementLocksListAtResourceGroupLevelNextOptionalParams
104
+ ): PagedAsyncIterableIterator<ManagementLockObject>;
105
+ /**
106
+ * ListAtResourceLevelNext
107
+ * @param resourceGroupName The name of the resource group containing the locked resource. The name is
108
+ * case insensitive.
109
+ * @param resourceProviderNamespace The namespace of the resource provider.
110
+ * @param parentResourcePath The parent resource identity.
111
+ * @param resourceType The resource type of the locked resource.
112
+ * @param resourceName The name of the locked resource.
113
+ * @param nextLink The nextLink from the previous successful call to the ListAtResourceLevel method.
114
+ * @param options The options parameters.
115
+ */
116
+ listAtResourceLevelNext(
117
+ resourceGroupName: string,
118
+ resourceProviderNamespace: string,
119
+ parentResourcePath: string,
120
+ resourceType: string,
121
+ resourceName: string,
122
+ nextLink: string,
123
+ options?: ManagementLocksListAtResourceLevelNextOptionalParams
124
+ ): PagedAsyncIterableIterator<ManagementLockObject>;
125
+ /**
126
+ * ListAtSubscriptionLevelNext
127
+ * @param nextLink The nextLink from the previous successful call to the ListAtSubscriptionLevel
128
+ * method.
129
+ * @param options The options parameters.
130
+ */
131
+ listAtSubscriptionLevelNext(
132
+ nextLink: string,
133
+ options?: ManagementLocksListAtSubscriptionLevelNextOptionalParams
134
+ ): PagedAsyncIterableIterator<ManagementLockObject>;
135
+ /**
136
+ * ListByScopeNext
137
+ * @param scope The scope for the lock. When providing a scope for the assignment, use
138
+ * '/subscriptions/{subscriptionId}' for subscriptions,
139
+ * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and
140
+ * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}'
141
+ * for resources.
142
+ * @param nextLink The nextLink from the previous successful call to the ListByScope method.
143
+ * @param options The options parameters.
144
+ */
145
+ listByScopeNext(
146
+ scope: string,
147
+ nextLink: string,
148
+ options?: ManagementLocksListByScopeNextOptionalParams
149
+ ): PagedAsyncIterableIterator<ManagementLockObject>;
150
+ /**
151
+ * When you apply a lock at a parent scope, all child resources inherit the same lock. To create
152
+ * management locks, you must have access to Microsoft.Authorization/* or
153
+ * Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access
154
+ * Administrator are granted those actions.
155
+ * @param resourceGroupName The name of the resource group to lock.
156
+ * @param lockName The lock name. The lock name can be a maximum of 260 characters. It cannot contain
157
+ * <, > %, &, :, \, ?, /, or any control characters.
158
+ * @param parameters The management lock parameters.
159
+ * @param options The options parameters.
160
+ */
161
+ createOrUpdateAtResourceGroupLevel(
162
+ resourceGroupName: string,
163
+ lockName: string,
164
+ parameters: ManagementLockObject,
165
+ options?: ManagementLocksCreateOrUpdateAtResourceGroupLevelOptionalParams
166
+ ): Promise<ManagementLocksCreateOrUpdateAtResourceGroupLevelResponse>;
167
+ /**
168
+ * To delete management locks, you must have access to Microsoft.Authorization/* or
169
+ * Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access
170
+ * Administrator are granted those actions.
171
+ * @param resourceGroupName The name of the resource group containing the lock.
172
+ * @param lockName The name of lock to delete.
173
+ * @param options The options parameters.
174
+ */
175
+ deleteAtResourceGroupLevel(
176
+ resourceGroupName: string,
177
+ lockName: string,
178
+ options?: ManagementLocksDeleteAtResourceGroupLevelOptionalParams
179
+ ): Promise<void>;
180
+ /**
181
+ * Gets a management lock at the resource group level.
182
+ * @param resourceGroupName The name of the locked resource group.
183
+ * @param lockName The name of the lock to get.
184
+ * @param options The options parameters.
185
+ */
186
+ getAtResourceGroupLevel(
187
+ resourceGroupName: string,
188
+ lockName: string,
189
+ options?: ManagementLocksGetAtResourceGroupLevelOptionalParams
190
+ ): Promise<ManagementLocksGetAtResourceGroupLevelResponse>;
191
+ /**
192
+ * Create or update a management lock by scope.
193
+ * @param scope The scope for the lock. When providing a scope for the assignment, use
194
+ * '/subscriptions/{subscriptionId}' for subscriptions,
195
+ * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and
196
+ * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}'
197
+ * for resources.
198
+ * @param lockName The name of lock.
199
+ * @param parameters Create or update management lock parameters.
200
+ * @param options The options parameters.
201
+ */
202
+ createOrUpdateByScope(
203
+ scope: string,
204
+ lockName: string,
205
+ parameters: ManagementLockObject,
206
+ options?: ManagementLocksCreateOrUpdateByScopeOptionalParams
207
+ ): Promise<ManagementLocksCreateOrUpdateByScopeResponse>;
208
+ /**
209
+ * Delete a management lock by scope.
210
+ * @param scope The scope for the lock.
211
+ * @param lockName The name of lock.
212
+ * @param options The options parameters.
213
+ */
214
+ deleteByScope(
215
+ scope: string,
216
+ lockName: string,
217
+ options?: ManagementLocksDeleteByScopeOptionalParams
218
+ ): Promise<void>;
219
+ /**
220
+ * Get a management lock by scope.
221
+ * @param scope The scope for the lock.
222
+ * @param lockName The name of lock.
223
+ * @param options The options parameters.
224
+ */
225
+ getByScope(
226
+ scope: string,
227
+ lockName: string,
228
+ options?: ManagementLocksGetByScopeOptionalParams
229
+ ): Promise<ManagementLocksGetByScopeResponse>;
230
+ /**
231
+ * When you apply a lock at a parent scope, all child resources inherit the same lock. To create
232
+ * management locks, you must have access to Microsoft.Authorization/* or
233
+ * Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access
234
+ * Administrator are granted those actions.
235
+ * @param resourceGroupName The name of the resource group containing the resource to lock.
236
+ * @param resourceProviderNamespace The resource provider namespace of the resource to lock.
237
+ * @param parentResourcePath The parent resource identity.
238
+ * @param resourceType The resource type of the resource to lock.
239
+ * @param resourceName The name of the resource to lock.
240
+ * @param lockName The name of lock. The lock name can be a maximum of 260 characters. It cannot
241
+ * contain <, > %, &, :, \, ?, /, or any control characters.
242
+ * @param parameters Parameters for creating or updating a management lock.
243
+ * @param options The options parameters.
244
+ */
245
+ createOrUpdateAtResourceLevel(
246
+ resourceGroupName: string,
247
+ resourceProviderNamespace: string,
248
+ parentResourcePath: string,
249
+ resourceType: string,
250
+ resourceName: string,
251
+ lockName: string,
252
+ parameters: ManagementLockObject,
253
+ options?: ManagementLocksCreateOrUpdateAtResourceLevelOptionalParams
254
+ ): Promise<ManagementLocksCreateOrUpdateAtResourceLevelResponse>;
255
+ /**
256
+ * To delete management locks, you must have access to Microsoft.Authorization/* or
257
+ * Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access
258
+ * Administrator are granted those actions.
259
+ * @param resourceGroupName The name of the resource group containing the resource with the lock to
260
+ * delete.
261
+ * @param resourceProviderNamespace The resource provider namespace of the resource with the lock to
262
+ * delete.
263
+ * @param parentResourcePath The parent resource identity.
264
+ * @param resourceType The resource type of the resource with the lock to delete.
265
+ * @param resourceName The name of the resource with the lock to delete.
266
+ * @param lockName The name of the lock to delete.
267
+ * @param options The options parameters.
268
+ */
269
+ deleteAtResourceLevel(
270
+ resourceGroupName: string,
271
+ resourceProviderNamespace: string,
272
+ parentResourcePath: string,
273
+ resourceType: string,
274
+ resourceName: string,
275
+ lockName: string,
276
+ options?: ManagementLocksDeleteAtResourceLevelOptionalParams
277
+ ): Promise<void>;
278
+ /**
279
+ * Get the management lock of a resource or any level below resource.
280
+ * @param resourceGroupName The name of the resource group.
281
+ * @param resourceProviderNamespace The namespace of the resource provider.
282
+ * @param parentResourcePath An extra path parameter needed in some services, like SQL Databases.
283
+ * @param resourceType The type of the resource.
284
+ * @param resourceName The name of the resource.
285
+ * @param lockName The name of lock.
286
+ * @param options The options parameters.
287
+ */
288
+ getAtResourceLevel(
289
+ resourceGroupName: string,
290
+ resourceProviderNamespace: string,
291
+ parentResourcePath: string,
292
+ resourceType: string,
293
+ resourceName: string,
294
+ lockName: string,
295
+ options?: ManagementLocksGetAtResourceLevelOptionalParams
296
+ ): Promise<ManagementLocksGetAtResourceLevelResponse>;
297
+ /**
298
+ * When you apply a lock at a parent scope, all child resources inherit the same lock. To create
299
+ * management locks, you must have access to Microsoft.Authorization/* or
300
+ * Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access
301
+ * Administrator are granted those actions.
302
+ * @param lockName The name of lock. The lock name can be a maximum of 260 characters. It cannot
303
+ * contain <, > %, &, :, \, ?, /, or any control characters.
304
+ * @param parameters The management lock parameters.
305
+ * @param options The options parameters.
306
+ */
307
+ createOrUpdateAtSubscriptionLevel(
308
+ lockName: string,
309
+ parameters: ManagementLockObject,
310
+ options?: ManagementLocksCreateOrUpdateAtSubscriptionLevelOptionalParams
311
+ ): Promise<ManagementLocksCreateOrUpdateAtSubscriptionLevelResponse>;
312
+ /**
313
+ * To delete management locks, you must have access to Microsoft.Authorization/* or
314
+ * Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access
315
+ * Administrator are granted those actions.
316
+ * @param lockName The name of lock to delete.
317
+ * @param options The options parameters.
318
+ */
319
+ deleteAtSubscriptionLevel(
320
+ lockName: string,
321
+ options?: ManagementLocksDeleteAtSubscriptionLevelOptionalParams
322
+ ): Promise<void>;
323
+ /**
324
+ * Gets a management lock at the subscription level.
325
+ * @param lockName The name of the lock to get.
326
+ * @param options The options parameters.
327
+ */
328
+ getAtSubscriptionLevel(
329
+ lockName: string,
330
+ options?: ManagementLocksGetAtSubscriptionLevelOptionalParams
331
+ ): Promise<ManagementLocksGetAtSubscriptionLevelResponse>;
332
+ }
package/tsconfig.json CHANGED
@@ -3,13 +3,14 @@
3
3
  "module": "es6",
4
4
  "moduleResolution": "node",
5
5
  "strict": true,
6
- "target": "es5",
6
+ "target": "es6",
7
7
  "sourceMap": true,
8
8
  "declarationMap": true,
9
9
  "esModuleInterop": true,
10
10
  "allowSyntheticDefaultImports": true,
11
11
  "forceConsistentCasingInFileNames": true,
12
- "lib": ["es6"],
12
+ "preserveConstEnums": true,
13
+ "lib": ["es6", "dom"],
13
14
  "declaration": true,
14
15
  "outDir": "./esm",
15
16
  "importHelpers": true