windmill-client 0.3.5 → 0.3.7

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 (153) hide show
  1. package/dist/index.d.ts +1 -0
  2. package/dist/index.js +3 -1
  3. package/package.json +9 -2
  4. package/build.sh +0 -8
  5. package/client.ts +0 -364
  6. package/publish.sh +0 -5
  7. package/src/client.ts +0 -364
  8. package/src/core/ApiError.ts +0 -25
  9. package/src/core/ApiRequestOptions.ts +0 -17
  10. package/src/core/ApiResult.ts +0 -11
  11. package/src/core/CancelablePromise.ts +0 -131
  12. package/src/core/OpenAPI.ts +0 -32
  13. package/src/core/request.ts +0 -322
  14. package/src/index.ts +0 -148
  15. package/src/models/AccountId.ts +0 -6
  16. package/src/models/ActionKind.ts +0 -14
  17. package/src/models/After.ts +0 -9
  18. package/src/models/AppWithLastVersion.ts +0 -32
  19. package/src/models/AppWithLastVersionWDraft.ts +0 -12
  20. package/src/models/ArgsFilter.ts +0 -9
  21. package/src/models/AuditLog.ts +0 -43
  22. package/src/models/Before.ts +0 -9
  23. package/src/models/BranchAll.ts +0 -17
  24. package/src/models/BranchOne.ts +0 -17
  25. package/src/models/ClientName.ts +0 -6
  26. package/src/models/CompletedJob.ts +0 -73
  27. package/src/models/ContextualVariable.ts +0 -11
  28. package/src/models/CreateInput.ts +0 -10
  29. package/src/models/CreateResource.ts +0 -12
  30. package/src/models/CreateVariable.ts +0 -14
  31. package/src/models/CreateWorkspace.ts +0 -11
  32. package/src/models/CreatedBy.ts +0 -9
  33. package/src/models/EditResource.ts +0 -11
  34. package/src/models/EditResourceType.ts +0 -10
  35. package/src/models/EditSchedule.ts +0 -14
  36. package/src/models/EditVariable.ts +0 -12
  37. package/src/models/EditWorkspaceUser.ts +0 -11
  38. package/src/models/Flow.ts +0 -10
  39. package/src/models/FlowMetadata.ts +0 -17
  40. package/src/models/FlowModule.ts +0 -33
  41. package/src/models/FlowModuleValue.ts +0 -17
  42. package/src/models/FlowPreview.ts +0 -14
  43. package/src/models/FlowStatus.ts +0 -19
  44. package/src/models/FlowStatusModule.ts +0 -44
  45. package/src/models/FlowValue.ts +0 -13
  46. package/src/models/Folder.ts +0 -11
  47. package/src/models/ForloopFlow.ts +0 -16
  48. package/src/models/GlobalUserInfo.ts +0 -24
  49. package/src/models/Graphql.ts +0 -9
  50. package/src/models/Group.ts +0 -12
  51. package/src/models/Http.ts +0 -9
  52. package/src/models/Identity.ts +0 -10
  53. package/src/models/IncludeHeader.ts +0 -11
  54. package/src/models/Input.ts +0 -14
  55. package/src/models/InputId.ts +0 -6
  56. package/src/models/InputTransform.ts +0 -10
  57. package/src/models/JavascriptTransform.ts +0 -10
  58. package/src/models/Job.ts +0 -22
  59. package/src/models/JobId.ts +0 -6
  60. package/src/models/JobKinds.ts +0 -9
  61. package/src/models/ListableApp.ts +0 -28
  62. package/src/models/ListableRawApp.ts +0 -15
  63. package/src/models/ListableResource.ts +0 -20
  64. package/src/models/ListableVariable.ts +0 -20
  65. package/src/models/Login.ts +0 -10
  66. package/src/models/MainArgSignature.ts +0 -43
  67. package/src/models/Name.ts +0 -6
  68. package/src/models/NewJobId.ts +0 -9
  69. package/src/models/NewSchedule.ts +0 -18
  70. package/src/models/NewScript.ts +0 -44
  71. package/src/models/NewScriptWithDraft.ts +0 -12
  72. package/src/models/NewToken.ts +0 -11
  73. package/src/models/NewTokenImpersonate.ts +0 -11
  74. package/src/models/NewUser.ts +0 -11
  75. package/src/models/OpenFlow.ts +0 -14
  76. package/src/models/OpenFlowWPath.ts +0 -11
  77. package/src/models/Operation.ts +0 -9
  78. package/src/models/OrderDesc.ts +0 -9
  79. package/src/models/Page.ts +0 -9
  80. package/src/models/ParentJob.ts +0 -9
  81. package/src/models/Path.ts +0 -6
  82. package/src/models/PathFlow.ts +0 -13
  83. package/src/models/PathId.ts +0 -6
  84. package/src/models/PathScript.ts +0 -14
  85. package/src/models/Payload.ts +0 -11
  86. package/src/models/PerPage.ts +0 -9
  87. package/src/models/Policy.ts +0 -23
  88. package/src/models/Preview.ts +0 -37
  89. package/src/models/QueueLimit.ts +0 -10
  90. package/src/models/QueuedJob.ts +0 -71
  91. package/src/models/RawScript.ts +0 -31
  92. package/src/models/Resource.ts +0 -15
  93. package/src/models/ResourceName.ts +0 -9
  94. package/src/models/ResourceType.ts +0 -12
  95. package/src/models/ResultFilter.ts +0 -9
  96. package/src/models/Retry.ts +0 -17
  97. package/src/models/RunnableId.ts +0 -6
  98. package/src/models/RunnableType.ts +0 -10
  99. package/src/models/RunnableTypeQuery.ts +0 -8
  100. package/src/models/Running.ts +0 -9
  101. package/src/models/Schedule.ts +0 -23
  102. package/src/models/SchedulePath.ts +0 -9
  103. package/src/models/ScheduleWJobs.ts +0 -15
  104. package/src/models/Script.ts +0 -58
  105. package/src/models/ScriptArgs.ts +0 -6
  106. package/src/models/ScriptExactHash.ts +0 -9
  107. package/src/models/ScriptExactPath.ts +0 -9
  108. package/src/models/ScriptHash.ts +0 -6
  109. package/src/models/ScriptPath.ts +0 -6
  110. package/src/models/ScriptStartPath.ts +0 -9
  111. package/src/models/SlackToken.ts +0 -14
  112. package/src/models/StartedAfter.ts +0 -9
  113. package/src/models/StartedBefore.ts +0 -9
  114. package/src/models/StaticTransform.ts +0 -10
  115. package/src/models/Success.ts +0 -9
  116. package/src/models/Suspended.ts +0 -9
  117. package/src/models/Tag.ts +0 -9
  118. package/src/models/Token.ts +0 -6
  119. package/src/models/TokenResponse.ts +0 -12
  120. package/src/models/TruncatedToken.ts +0 -14
  121. package/src/models/UpdateInput.ts +0 -11
  122. package/src/models/Usage.ts +0 -9
  123. package/src/models/User.ts +0 -21
  124. package/src/models/UserWorkspaceList.ts +0 -14
  125. package/src/models/Username.ts +0 -9
  126. package/src/models/VersionId.ts +0 -6
  127. package/src/models/WorkerPing.ts +0 -14
  128. package/src/models/Workspace.ts +0 -12
  129. package/src/models/WorkspaceId.ts +0 -6
  130. package/src/models/WorkspaceInvite.ts +0 -12
  131. package/src/services/AdminService.ts +0 -91
  132. package/src/services/AppService.ts +0 -385
  133. package/src/services/AuditService.ts +0 -104
  134. package/src/services/CaptureService.ts +0 -80
  135. package/src/services/DraftService.ts +0 -63
  136. package/src/services/FavoriteService.ts +0 -63
  137. package/src/services/FlowService.ts +0 -369
  138. package/src/services/FolderService.ts +0 -270
  139. package/src/services/GranularAclService.ts +0 -105
  140. package/src/services/GroupService.ts +0 -239
  141. package/src/services/InputService.ts +0 -176
  142. package/src/services/JobService.ts +0 -1471
  143. package/src/services/OauthService.ts +0 -198
  144. package/src/services/RawAppService.ts +0 -210
  145. package/src/services/ResourceService.ts +0 -401
  146. package/src/services/ScheduleService.ts +0 -258
  147. package/src/services/ScriptService.ts +0 -517
  148. package/src/services/SettingsService.ts +0 -59
  149. package/src/services/UserService.ts +0 -614
  150. package/src/services/VariableService.ts +0 -221
  151. package/src/services/WorkerService.ts +0 -53
  152. package/src/services/WorkspaceService.ts +0 -494
  153. package/tsconfig.json +0 -110
@@ -1,494 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- import type { CreateWorkspace } from '../models/CreateWorkspace';
6
- import type { UserWorkspaceList } from '../models/UserWorkspaceList';
7
- import type { Workspace } from '../models/Workspace';
8
- import type { WorkspaceInvite } from '../models/WorkspaceInvite';
9
-
10
- import type { CancelablePromise } from '../core/CancelablePromise';
11
- import { OpenAPI } from '../core/OpenAPI';
12
- import { request as __request } from '../core/request';
13
-
14
- export class WorkspaceService {
15
-
16
- /**
17
- * list all workspaces visible to me
18
- * @returns Workspace all workspaces
19
- * @throws ApiError
20
- */
21
- public static listWorkspaces(): CancelablePromise<Array<Workspace>> {
22
- return __request(OpenAPI, {
23
- method: 'GET',
24
- url: '/workspaces/list',
25
- });
26
- }
27
-
28
- /**
29
- * is domain allowed for auto invi
30
- * @returns boolean domain allowed or not
31
- * @throws ApiError
32
- */
33
- public static isDomainAllowed(): CancelablePromise<boolean> {
34
- return __request(OpenAPI, {
35
- method: 'GET',
36
- url: '/workspaces/allowed_domain_auto_invite',
37
- });
38
- }
39
-
40
- /**
41
- * list all workspaces visible to me with user info
42
- * @returns UserWorkspaceList workspace with associated username
43
- * @throws ApiError
44
- */
45
- public static listUserWorkspaces(): CancelablePromise<UserWorkspaceList> {
46
- return __request(OpenAPI, {
47
- method: 'GET',
48
- url: '/workspaces/users',
49
- });
50
- }
51
-
52
- /**
53
- * list all workspaces as super admin (require to be super admin)
54
- * @returns Workspace workspaces
55
- * @throws ApiError
56
- */
57
- public static listWorkspacesAsSuperAdmin({
58
- page,
59
- perPage,
60
- }: {
61
- /**
62
- * which page to return (start at 1, default 1)
63
- */
64
- page?: number,
65
- /**
66
- * number of items to return for a given page (default 30, max 100)
67
- */
68
- perPage?: number,
69
- }): CancelablePromise<Array<Workspace>> {
70
- return __request(OpenAPI, {
71
- method: 'GET',
72
- url: '/workspaces/list_as_superadmin',
73
- query: {
74
- 'page': page,
75
- 'per_page': perPage,
76
- },
77
- });
78
- }
79
-
80
- /**
81
- * create workspace
82
- * @returns string token created
83
- * @throws ApiError
84
- */
85
- public static createWorkspace({
86
- requestBody,
87
- }: {
88
- /**
89
- * new token
90
- */
91
- requestBody: CreateWorkspace,
92
- }): CancelablePromise<string> {
93
- return __request(OpenAPI, {
94
- method: 'POST',
95
- url: '/workspaces/create',
96
- body: requestBody,
97
- mediaType: 'application/json',
98
- });
99
- }
100
-
101
- /**
102
- * exists workspace
103
- * @returns boolean status
104
- * @throws ApiError
105
- */
106
- public static existsWorkspace({
107
- requestBody,
108
- }: {
109
- /**
110
- * id of workspace
111
- */
112
- requestBody: {
113
- id: string;
114
- },
115
- }): CancelablePromise<boolean> {
116
- return __request(OpenAPI, {
117
- method: 'POST',
118
- url: '/workspaces/exists',
119
- body: requestBody,
120
- mediaType: 'application/json',
121
- });
122
- }
123
-
124
- /**
125
- * exists username
126
- * @returns boolean status
127
- * @throws ApiError
128
- */
129
- public static existsUsername({
130
- requestBody,
131
- }: {
132
- requestBody: {
133
- id: string;
134
- username: string;
135
- },
136
- }): CancelablePromise<boolean> {
137
- return __request(OpenAPI, {
138
- method: 'POST',
139
- url: '/workspaces/exists_username',
140
- body: requestBody,
141
- mediaType: 'application/json',
142
- });
143
- }
144
-
145
- /**
146
- * invite user to workspace
147
- * @returns string status
148
- * @throws ApiError
149
- */
150
- public static inviteUser({
151
- workspace,
152
- requestBody,
153
- }: {
154
- workspace: string,
155
- /**
156
- * WorkspaceInvite
157
- */
158
- requestBody: {
159
- email: string;
160
- is_admin: boolean;
161
- operator: boolean;
162
- },
163
- }): CancelablePromise<string> {
164
- return __request(OpenAPI, {
165
- method: 'POST',
166
- url: '/w/{workspace}/workspaces/invite_user',
167
- path: {
168
- 'workspace': workspace,
169
- },
170
- body: requestBody,
171
- mediaType: 'application/json',
172
- });
173
- }
174
-
175
- /**
176
- * add user to workspace
177
- * @returns string status
178
- * @throws ApiError
179
- */
180
- public static addUser({
181
- workspace,
182
- requestBody,
183
- }: {
184
- workspace: string,
185
- /**
186
- * WorkspaceInvite
187
- */
188
- requestBody: {
189
- email: string;
190
- is_admin: boolean;
191
- username: string;
192
- operator: boolean;
193
- },
194
- }): CancelablePromise<string> {
195
- return __request(OpenAPI, {
196
- method: 'POST',
197
- url: '/w/{workspace}/workspaces/add_user',
198
- path: {
199
- 'workspace': workspace,
200
- },
201
- body: requestBody,
202
- mediaType: 'application/json',
203
- });
204
- }
205
-
206
- /**
207
- * delete user invite
208
- * @returns string status
209
- * @throws ApiError
210
- */
211
- public static deleteInvite({
212
- workspace,
213
- requestBody,
214
- }: {
215
- workspace: string,
216
- /**
217
- * WorkspaceInvite
218
- */
219
- requestBody: {
220
- email: string;
221
- is_admin: boolean;
222
- operator: boolean;
223
- },
224
- }): CancelablePromise<string> {
225
- return __request(OpenAPI, {
226
- method: 'POST',
227
- url: '/w/{workspace}/workspaces/delete_invite',
228
- path: {
229
- 'workspace': workspace,
230
- },
231
- body: requestBody,
232
- mediaType: 'application/json',
233
- });
234
- }
235
-
236
- /**
237
- * archive workspace
238
- * @returns string status
239
- * @throws ApiError
240
- */
241
- public static archiveWorkspace({
242
- workspace,
243
- }: {
244
- workspace: string,
245
- }): CancelablePromise<string> {
246
- return __request(OpenAPI, {
247
- method: 'POST',
248
- url: '/w/{workspace}/workspaces/archive',
249
- path: {
250
- 'workspace': workspace,
251
- },
252
- });
253
- }
254
-
255
- /**
256
- * unarchive workspace
257
- * @returns string status
258
- * @throws ApiError
259
- */
260
- public static unarchiveWorkspace({
261
- workspace,
262
- }: {
263
- workspace: string,
264
- }): CancelablePromise<string> {
265
- return __request(OpenAPI, {
266
- method: 'POST',
267
- url: '/workspaces/unarchive/{workspace}',
268
- path: {
269
- 'workspace': workspace,
270
- },
271
- });
272
- }
273
-
274
- /**
275
- * delete workspace (require super admin)
276
- * @returns string status
277
- * @throws ApiError
278
- */
279
- public static deleteWorkspace({
280
- workspace,
281
- }: {
282
- workspace: string,
283
- }): CancelablePromise<string> {
284
- return __request(OpenAPI, {
285
- method: 'DELETE',
286
- url: '/workspaces/delete/{workspace}',
287
- path: {
288
- 'workspace': workspace,
289
- },
290
- });
291
- }
292
-
293
- /**
294
- * list pending invites for a workspace
295
- * @returns WorkspaceInvite user
296
- * @throws ApiError
297
- */
298
- public static listPendingInvites({
299
- workspace,
300
- }: {
301
- workspace: string,
302
- }): CancelablePromise<Array<WorkspaceInvite>> {
303
- return __request(OpenAPI, {
304
- method: 'GET',
305
- url: '/w/{workspace}/workspaces/list_pending_invites',
306
- path: {
307
- 'workspace': workspace,
308
- },
309
- });
310
- }
311
-
312
- /**
313
- * get settings
314
- * @returns any status
315
- * @throws ApiError
316
- */
317
- public static getSettings({
318
- workspace,
319
- }: {
320
- workspace: string,
321
- }): CancelablePromise<{
322
- workspace_id?: string;
323
- slack_name?: string;
324
- slack_team_id?: string;
325
- slack_command_script?: string;
326
- auto_invite_domain?: string;
327
- auto_invite_operator?: boolean;
328
- plan?: string;
329
- customer_id?: string;
330
- webhook?: string;
331
- deploy_to?: string;
332
- }> {
333
- return __request(OpenAPI, {
334
- method: 'GET',
335
- url: '/w/{workspace}/workspaces/get_settings',
336
- path: {
337
- 'workspace': workspace,
338
- },
339
- });
340
- }
341
-
342
- /**
343
- * get deploy to
344
- * @returns any status
345
- * @throws ApiError
346
- */
347
- public static getDeployTo({
348
- workspace,
349
- }: {
350
- workspace: string,
351
- }): CancelablePromise<{
352
- deploy_to?: string;
353
- }> {
354
- return __request(OpenAPI, {
355
- method: 'GET',
356
- url: '/w/{workspace}/workspaces/get_deploy_to',
357
- path: {
358
- 'workspace': workspace,
359
- },
360
- });
361
- }
362
-
363
- /**
364
- * get premium info
365
- * @returns any status
366
- * @throws ApiError
367
- */
368
- public static getPremiumInfo({
369
- workspace,
370
- }: {
371
- workspace: string,
372
- }): CancelablePromise<{
373
- premium: boolean;
374
- usage?: number;
375
- }> {
376
- return __request(OpenAPI, {
377
- method: 'GET',
378
- url: '/w/{workspace}/workspaces/premium_info',
379
- path: {
380
- 'workspace': workspace,
381
- },
382
- });
383
- }
384
-
385
- /**
386
- * edit slack command
387
- * @returns string status
388
- * @throws ApiError
389
- */
390
- public static editSlackCommand({
391
- workspace,
392
- requestBody,
393
- }: {
394
- workspace: string,
395
- /**
396
- * WorkspaceInvite
397
- */
398
- requestBody: {
399
- slack_command_script?: string;
400
- },
401
- }): CancelablePromise<string> {
402
- return __request(OpenAPI, {
403
- method: 'POST',
404
- url: '/w/{workspace}/workspaces/edit_slack_command',
405
- path: {
406
- 'workspace': workspace,
407
- },
408
- body: requestBody,
409
- mediaType: 'application/json',
410
- });
411
- }
412
-
413
- /**
414
- * edit deploy to
415
- * @returns string status
416
- * @throws ApiError
417
- */
418
- public static editDeployTo({
419
- workspace,
420
- requestBody,
421
- }: {
422
- workspace: string,
423
- requestBody: {
424
- deploy_to?: string;
425
- },
426
- }): CancelablePromise<string> {
427
- return __request(OpenAPI, {
428
- method: 'POST',
429
- url: '/w/{workspace}/workspaces/edit_deploy_to',
430
- path: {
431
- 'workspace': workspace,
432
- },
433
- body: requestBody,
434
- mediaType: 'application/json',
435
- });
436
- }
437
-
438
- /**
439
- * edit auto invite
440
- * @returns string status
441
- * @throws ApiError
442
- */
443
- public static editAutoInvite({
444
- workspace,
445
- requestBody,
446
- }: {
447
- workspace: string,
448
- /**
449
- * WorkspaceInvite
450
- */
451
- requestBody: {
452
- operator?: boolean;
453
- },
454
- }): CancelablePromise<string> {
455
- return __request(OpenAPI, {
456
- method: 'POST',
457
- url: '/w/{workspace}/workspaces/edit_auto_invite',
458
- path: {
459
- 'workspace': workspace,
460
- },
461
- body: requestBody,
462
- mediaType: 'application/json',
463
- });
464
- }
465
-
466
- /**
467
- * edit webhook
468
- * @returns string status
469
- * @throws ApiError
470
- */
471
- public static editWebhook({
472
- workspace,
473
- requestBody,
474
- }: {
475
- workspace: string,
476
- /**
477
- * WorkspaceWebhook
478
- */
479
- requestBody: {
480
- webhook?: string;
481
- },
482
- }): CancelablePromise<string> {
483
- return __request(OpenAPI, {
484
- method: 'POST',
485
- url: '/w/{workspace}/workspaces/edit_webhook',
486
- path: {
487
- 'workspace': workspace,
488
- },
489
- body: requestBody,
490
- mediaType: 'application/json',
491
- });
492
- }
493
-
494
- }
package/tsconfig.json DELETED
@@ -1,110 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- /* Visit https://aka.ms/tsconfig to read more about this file */
4
- "declaration": true,
5
- "outDir": "dist",
6
- /* Projects */
7
- // "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */
8
- // "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */
9
- // "tsBuildInfoFile": "./.tsbuildinfo", /* Specify the path to .tsbuildinfo incremental compilation file. */
10
- // "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */
11
- // "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */
12
- // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
13
-
14
- /* Language and Environment */
15
- "target": "es2018" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
16
- // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
17
- // "jsx": "preserve", /* Specify what JSX code is generated. */
18
- // "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */
19
- // "emitDecoratorMetadata": true, /* Emit design-type metadata for decorated declarations in source files. */
20
- // "jsxFactory": "", /* Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'. */
21
- // "jsxFragmentFactory": "", /* Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'. */
22
- // "jsxImportSource": "", /* Specify module specifier used to import the JSX factory functions when using 'jsx: react-jsx*'. */
23
- // "reactNamespace": "", /* Specify the object invoked for 'createElement'. This only applies when targeting 'react' JSX emit. */
24
- // "noLib": true, /* Disable including any library files, including the default lib.d.ts. */
25
- // "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */
26
- // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */
27
-
28
- /* Modules */
29
- "module": "commonjs" /* Specify what module code is generated. */,
30
- // "rootDir": "./", /* Specify the root folder within your source files. */
31
- // "moduleResolution": "node10", /* Specify how TypeScript looks up a file from a given module specifier. */
32
- // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
33
- // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
34
- // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
35
- // "typeRoots": [], /* Specify multiple folders that act like './node_modules/@types'. */
36
- // "types": [], /* Specify type package names to be included without being referenced in a source file. */
37
- // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
38
- // "moduleSuffixes": [], /* List of file name suffixes to search when resolving a module. */
39
- // "allowImportingTsExtensions": true, /* Allow imports to include TypeScript file extensions. Requires '--moduleResolution bundler' and either '--noEmit' or '--emitDeclarationOnly' to be set. */
40
- // "resolvePackageJsonExports": true, /* Use the package.json 'exports' field when resolving package imports. */
41
- // "resolvePackageJsonImports": true, /* Use the package.json 'imports' field when resolving imports. */
42
- // "customConditions": [], /* Conditions to set in addition to the resolver-specific defaults when resolving imports. */
43
- // "resolveJsonModule": true, /* Enable importing .json files. */
44
- // "allowArbitraryExtensions": true, /* Enable importing files with any extension, provided a declaration file is present. */
45
- // "noResolve": true, /* Disallow 'import's, 'require's or '<reference>'s from expanding the number of files TypeScript should add to a project. */
46
-
47
- /* JavaScript Support */
48
- // "allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */
49
- // "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */
50
- // "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */
51
-
52
- /* Emit */
53
- // "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
54
- // "declarationMap": true, /* Create sourcemaps for d.ts files. */
55
- // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */
56
- // "sourceMap": true, /* Create source map files for emitted JavaScript files. */
57
- // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */
58
- // "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */
59
- // "outDir": "./", /* Specify an output folder for all emitted files. */
60
- // "removeComments": true, /* Disable emitting comments. */
61
- // "noEmit": true, /* Disable emitting files from a compilation. */
62
- // "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */
63
- // "importsNotUsedAsValues": "remove", /* Specify emit/checking behavior for imports that are only used for types. */
64
- // "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */
65
- // "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */
66
- // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
67
- // "inlineSources": true, /* Include source code in the sourcemaps inside the emitted JavaScript. */
68
- // "emitBOM": true, /* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files. */
69
- // "newLine": "crlf", /* Set the newline character for emitting files. */
70
- // "stripInternal": true, /* Disable emitting declarations that have '@internal' in their JSDoc comments. */
71
- // "noEmitHelpers": true, /* Disable generating custom helper functions like '__extends' in compiled output. */
72
- // "noEmitOnError": true, /* Disable emitting files if any type checking errors are reported. */
73
- // "preserveConstEnums": true, /* Disable erasing 'const enum' declarations in generated code. */
74
- // "declarationDir": "./", /* Specify the output directory for generated declaration files. */
75
- // "preserveValueImports": true, /* Preserve unused imported values in the JavaScript output that would otherwise be removed. */
76
-
77
- /* Interop Constraints */
78
- // "isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */
79
- // "verbatimModuleSyntax": true, /* Do not transform or elide any imports or exports not marked as type-only, ensuring they are written in the output file's format based on the 'module' setting. */
80
- // "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */
81
- "esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */,
82
- // "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */
83
- "forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */,
84
-
85
- /* Type Checking */
86
- "strict": true /* Enable all strict type-checking options. */,
87
- // "noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */
88
- // "strictNullChecks": true, /* When type checking, take into account 'null' and 'undefined'. */
89
- // "strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */
90
- // "strictBindCallApply": true, /* Check that the arguments for 'bind', 'call', and 'apply' methods match the original function. */
91
- // "strictPropertyInitialization": true, /* Check for class properties that are declared but not set in the constructor. */
92
- // "noImplicitThis": true, /* Enable error reporting when 'this' is given the type 'any'. */
93
- // "useUnknownInCatchVariables": true, /* Default catch clause variables as 'unknown' instead of 'any'. */
94
- // "alwaysStrict": true, /* Ensure 'use strict' is always emitted. */
95
- // "noUnusedLocals": true, /* Enable error reporting when local variables aren't read. */
96
- // "noUnusedParameters": true, /* Raise an error when a function parameter isn't read. */
97
- // "exactOptionalPropertyTypes": true, /* Interpret optional property types as written, rather than adding 'undefined'. */
98
- // "noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */
99
- // "noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */
100
- // "noUncheckedIndexedAccess": true, /* Add 'undefined' to a type when accessed using an index. */
101
- // "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier. */
102
- // "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type. */
103
- // "allowUnusedLabels": true, /* Disable error reporting for unused labels. */
104
- // "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */
105
-
106
- /* Completeness */
107
- // "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
108
- "skipLibCheck": true /* Skip type checking all .d.ts files. */
109
- }
110
- }