larvitar 2.0.5 → 2.0.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 (77) hide show
  1. package/README.md +2 -2
  2. package/dist/imaging/imageRendering.d.ts +1 -71
  3. package/dist/imaging/imageStore.d.ts +5 -0
  4. package/dist/imaging/loaders/commonLoader.d.ts +4 -4
  5. package/dist/imaging/loaders/nrrdLoader.d.ts +1 -51
  6. package/dist/larvitar.js +13 -1
  7. package/dist/larvitar.js.map +1 -1
  8. package/imaging/tools/types.d.ts +19 -19
  9. package/imaging/types.d.ts +110 -2
  10. package/package.json +7 -2
  11. package/.github/workflows/build-docs.yml +0 -59
  12. package/.github/workflows/codeql-analysis.yml +0 -71
  13. package/.github/workflows/deploy.yml +0 -37
  14. package/.vscode/settings.json +0 -4
  15. package/CODE_OF_CONDUCT.md +0 -76
  16. package/MIGRATION.md +0 -25
  17. package/bundler/webpack.common.js +0 -27
  18. package/bundler/webpack.dev.js +0 -23
  19. package/bundler/webpack.prod.js +0 -19
  20. package/decs.d.ts +0 -12
  21. package/dist/imaging/MetaDataReadable.d.ts +0 -41
  22. package/dist/imaging/MetaDataTypes.d.ts +0 -3489
  23. package/imaging/dataDictionary.json +0 -21866
  24. package/imaging/imageAnonymization.ts +0 -135
  25. package/imaging/imageColormaps.ts +0 -217
  26. package/imaging/imageContours.ts +0 -196
  27. package/imaging/imageIo.ts +0 -251
  28. package/imaging/imageLayers.ts +0 -121
  29. package/imaging/imageLoading.ts +0 -299
  30. package/imaging/imageParsing.ts +0 -444
  31. package/imaging/imagePresets.ts +0 -156
  32. package/imaging/imageRendering.ts +0 -1091
  33. package/imaging/imageReslice.ts +0 -87
  34. package/imaging/imageStore.ts +0 -487
  35. package/imaging/imageTags.ts +0 -609
  36. package/imaging/imageTools.js +0 -708
  37. package/imaging/imageUtils.ts +0 -1079
  38. package/imaging/loaders/commonLoader.ts +0 -275
  39. package/imaging/loaders/dicomLoader.ts +0 -66
  40. package/imaging/loaders/fileLoader.ts +0 -71
  41. package/imaging/loaders/multiframeLoader.ts +0 -435
  42. package/imaging/loaders/nrrdLoader.ts +0 -630
  43. package/imaging/loaders/resliceLoader.ts +0 -205
  44. package/imaging/monitors/memory.ts +0 -151
  45. package/imaging/monitors/performance.ts +0 -34
  46. package/imaging/parsers/ecg.ts +0 -54
  47. package/imaging/parsers/nrrd.js +0 -485
  48. package/imaging/tools/custom/4dSliceScrollTool.js +0 -146
  49. package/imaging/tools/custom/BorderMagnifyTool.js +0 -99
  50. package/imaging/tools/custom/contourTool.js +0 -1884
  51. package/imaging/tools/custom/diameterTool.js +0 -141
  52. package/imaging/tools/custom/editMaskTool.js +0 -141
  53. package/imaging/tools/custom/ellipticalRoiOverlayTool.js +0 -534
  54. package/imaging/tools/custom/polygonSegmentationMixin.js +0 -245
  55. package/imaging/tools/custom/polylineScissorsTool.js +0 -59
  56. package/imaging/tools/custom/rectangleRoiOverlayTool.js +0 -564
  57. package/imaging/tools/custom/seedTool.js +0 -342
  58. package/imaging/tools/custom/setLabelMap3D.ts +0 -242
  59. package/imaging/tools/custom/thresholdsBrushTool.js +0 -161
  60. package/imaging/tools/default.ts +0 -594
  61. package/imaging/tools/interaction.ts +0 -266
  62. package/imaging/tools/io.ts +0 -229
  63. package/imaging/tools/main.ts +0 -427
  64. package/imaging/tools/segmentation.ts +0 -532
  65. package/imaging/tools/segmentations.md +0 -38
  66. package/imaging/tools/state.ts +0 -74
  67. package/imaging/tools/strategies/eraseFreehand.js +0 -76
  68. package/imaging/tools/strategies/fillFreehand.js +0 -79
  69. package/imaging/tools/strategies/index.js +0 -2
  70. package/imaging/waveforms/ecg.ts +0 -191
  71. package/index.ts +0 -431
  72. package/jsdoc.json +0 -52
  73. package/rollup.config.js +0 -51
  74. package/template/.gitkeep +0 -0
  75. package/tsconfig.json +0 -102
  76. /package/imaging/{MetaDataReadable.ts → MetaDataReadable.d.ts} +0 -0
  77. /package/imaging/{MetaDataTypes.ts → MetaDataTypes.d.ts} +0 -0
package/index.ts DELETED
@@ -1,431 +0,0 @@
1
- import pkg from "./package.json";
2
- const VERSION: string = pkg.version;
3
- console.groupCollapsed(
4
- `%cLARVITAR %cv${VERSION}`,
5
- "color: #404888; background: #209A71; font-weight: 900;",
6
- "color: #BED730; background: #209A71; font-weight: 900;"
7
- );
8
-
9
- import cornerstone from "cornerstone-core";
10
- import cornerstoneTools from "cornerstone-tools";
11
- import { parseDicom } from "dicom-parser";
12
-
13
- import { default as cornerstoneDICOMImageLoader } from "cornerstone-wado-image-loader";
14
- const segModule = cornerstoneTools.getModule("segmentation");
15
-
16
- import {
17
- checkAndClearMemory,
18
- checkMemoryAllocation,
19
- getUsedMemory,
20
- getAvailableMemory
21
- } from "./imaging/monitors/memory";
22
-
23
- import {
24
- getPerformanceMonitor,
25
- activatePerformanceMonitor,
26
- deactivatePerformanceMonitor
27
- } from "./imaging/monitors/performance";
28
-
29
- import store from "./imaging/imageStore";
30
- console.log(store);
31
- console.groupEnd();
32
-
33
- import { parseContours } from "./imaging/imageContours";
34
-
35
- import { parseECG } from "./imaging/parsers/ecg";
36
-
37
- import {
38
- renderECG,
39
- syncECGFrame,
40
- updateECGFrame
41
- } from "./imaging/waveforms/ecg";
42
-
43
- import {
44
- getImagePresets,
45
- setImagePreset,
46
- setImageCustomPreset
47
- } from "./imaging/imagePresets";
48
-
49
- import {
50
- getNormalOrientation,
51
- getMinPixelValue,
52
- getMaxPixelValue,
53
- getPixelRepresentation,
54
- getTypedArrayFromDataType,
55
- getSortedStack,
56
- randomId,
57
- getMeanValue,
58
- getReslicedMetadata,
59
- getReslicedPixeldata,
60
- getDistanceBetweenSlices,
61
- getImageMetadata
62
- } from "./imaging/imageUtils";
63
-
64
- import {
65
- buildHeader,
66
- getCachedPixelData,
67
- buildData,
68
- buildDataAsync,
69
- importNRRDImage
70
- } from "./imaging/imageIo";
71
-
72
- import { anonymize } from "./imaging/imageAnonymization";
73
-
74
- import {
75
- buildLayer,
76
- updateLayer,
77
- getActiveLayer,
78
- setActiveLayer
79
- } from "./imaging/imageLayers";
80
-
81
- import {
82
- initializeImageLoader,
83
- initializeWebImageLoader,
84
- initializeFileImageLoader,
85
- registerNRRDImageLoader,
86
- registerResliceLoader,
87
- registerMultiFrameImageLoader,
88
- updateLoadedStack
89
- } from "./imaging/imageLoading";
90
-
91
- import {
92
- readFile,
93
- readFiles,
94
- parseDataSet,
95
- clearImageParsing
96
- } from "./imaging/imageParsing";
97
-
98
- import {
99
- clearImageCache,
100
- loadAndCacheImages,
101
- renderFileImage,
102
- renderDICOMPDF,
103
- renderWebImage,
104
- disableViewport,
105
- unloadViewport,
106
- resizeViewport,
107
- renderImage,
108
- updateImage,
109
- resetViewports,
110
- updateViewportData,
111
- storeViewportData,
112
- invertImage,
113
- flipImageHorizontal,
114
- flipImageVertical,
115
- rotateImageLeft,
116
- rotateImageRight
117
- } from "./imaging/imageRendering";
118
-
119
- import { resliceSeries } from "./imaging/imageReslice";
120
-
121
- import {
122
- addDiameterTool,
123
- addContoursTool,
124
- addMaskEditingTool,
125
- getCurrentMaskData,
126
- addStackStateToElement,
127
- addSeedsTool,
128
- clearMeasurements,
129
- getToolState,
130
- clearToolStateByName,
131
- updateDiameterTool,
132
- addToolStateSingleSlice,
133
- clearCornerstoneElements,
134
- syncToolStack,
135
- updateStackToolState,
136
- setSegmentationConfig
137
- } from "./imaging/imageTools";
138
-
139
- import {
140
- csToolsCreateStack,
141
- csToolsUpdateImageIds,
142
- csToolsUpdateImageIndex,
143
- initializeCSTools,
144
- setToolsStyle,
145
- addDefaultTools,
146
- addTool,
147
- setToolActive,
148
- setToolDisabled,
149
- setToolEnabled,
150
- setToolPassive,
151
- exportAnnotations
152
- } from "./imaging/tools/main";
153
-
154
- import {
155
- DEFAULT_TOOLS,
156
- dvTools,
157
- getDefaultToolsByType,
158
- setDefaultToolsProps,
159
- registerExternalTool
160
- } from "./imaging/tools/default";
161
-
162
- import {
163
- initSegmentationModule,
164
- addSegmentationMask,
165
- clearSegmentationState,
166
- deleteMask,
167
- setActiveLabelmap,
168
- setActiveSegment,
169
- enableBrushTool,
170
- disableBrushTool,
171
- undoLastStroke,
172
- redoLastStroke,
173
- setBrushProps,
174
- toggleContourMode,
175
- toggleVisibility,
176
- hexToRgb,
177
- rgbToHex,
178
- getActiveLabelmapBuffer
179
- } from "./imaging/tools/segmentation";
180
-
181
- import {
182
- updateLarvitarManager,
183
- populateLarvitarManager,
184
- getLarvitarManager,
185
- getLarvitarImageTracker,
186
- resetLarvitarManager,
187
- removeSeriesFromLarvitarManager,
188
- getSeriesDataFromLarvitarManager,
189
- getImageFrame,
190
- getSopInstanceUIDFromLarvitarManager
191
- } from "./imaging/loaders/commonLoader";
192
-
193
- import {
194
- buildNrrdImage,
195
- getNrrdImageId,
196
- loadNrrdImage,
197
- getImageIdFromSlice,
198
- getSliceNumberFromImageId,
199
- getNrrdSerieDimensions
200
- } from "./imaging/loaders/nrrdLoader";
201
-
202
- import {
203
- getDicomImageId,
204
- cacheImage,
205
- cacheImages
206
- } from "./imaging/loaders/dicomLoader";
207
-
208
- import { loadReslicedImage } from "./imaging/loaders/resliceLoader";
209
-
210
- import {
211
- loadMultiFrameImage,
212
- buildMultiFrameImage,
213
- getMultiFrameImageId,
214
- clearMultiFrameCache
215
- } from "./imaging/loaders/multiframeLoader";
216
-
217
- import {
218
- fileManager,
219
- resetFileLoader,
220
- resetFileManager,
221
- populateFileManager,
222
- getFileImageId
223
- } from "./imaging/loaders/fileLoader";
224
-
225
- import {
226
- getColormapsList,
227
- applyColorMap,
228
- addColorMap,
229
- fillPixelData,
230
- HSVToRGB
231
- } from "./imaging/imageColormaps";
232
-
233
- import { saveAnnotations, loadAnnotations } from "./imaging/tools/io";
234
-
235
- import {
236
- addMouseKeyHandlers,
237
- removeMouseKeyHandlers,
238
- toggleMouseToolsListeners
239
- } from "./imaging/tools/interaction";
240
-
241
- export {
242
- VERSION,
243
- // global cornerstone variables
244
- cornerstone,
245
- cornerstoneTools,
246
- parseDicom,
247
- segModule,
248
- cornerstoneDICOMImageLoader,
249
- // memory module
250
- checkAndClearMemory,
251
- checkMemoryAllocation,
252
- getUsedMemory,
253
- getAvailableMemory,
254
- // performance module
255
- getPerformanceMonitor,
256
- activatePerformanceMonitor,
257
- deactivatePerformanceMonitor,
258
- // larvitarStore
259
- store,
260
- // parsers
261
- parseECG,
262
- syncECGFrame,
263
- updateECGFrame,
264
- // waveforms
265
- renderECG,
266
- // imagePresets
267
- getImagePresets,
268
- setImagePreset,
269
- setImageCustomPreset,
270
- // imageUtils
271
- getNormalOrientation,
272
- getMinPixelValue,
273
- getMaxPixelValue,
274
- getPixelRepresentation,
275
- getTypedArrayFromDataType,
276
- getSortedStack,
277
- randomId,
278
- getMeanValue,
279
- getReslicedMetadata,
280
- getReslicedPixeldata,
281
- getDistanceBetweenSlices,
282
- getImageMetadata,
283
- // imageIo
284
- buildHeader,
285
- getCachedPixelData,
286
- buildData,
287
- buildDataAsync,
288
- importNRRDImage,
289
- // imageAnonymization
290
- anonymize,
291
- // imageLayers
292
- buildLayer,
293
- updateLayer,
294
- getActiveLayer,
295
- setActiveLayer,
296
- // imageLoading
297
- initializeImageLoader,
298
- initializeWebImageLoader,
299
- initializeFileImageLoader,
300
- registerNRRDImageLoader,
301
- registerResliceLoader,
302
- registerMultiFrameImageLoader,
303
- updateLoadedStack,
304
- // imageParsing
305
- readFile,
306
- readFiles,
307
- parseDataSet,
308
- clearImageParsing,
309
- // imageRendering
310
- clearImageCache,
311
- loadAndCacheImages,
312
- renderFileImage,
313
- renderDICOMPDF,
314
- renderWebImage,
315
- disableViewport,
316
- unloadViewport,
317
- resizeViewport,
318
- renderImage,
319
- updateImage,
320
- resetViewports,
321
- updateViewportData,
322
- toggleMouseToolsListeners,
323
- storeViewportData,
324
- invertImage,
325
- flipImageHorizontal,
326
- flipImageVertical,
327
- rotateImageLeft,
328
- rotateImageRight,
329
- // imageReslice
330
- resliceSeries,
331
- // imageColormaps
332
- getColormapsList,
333
- applyColorMap,
334
- addColorMap,
335
- fillPixelData,
336
- HSVToRGB,
337
- // imageContours
338
- parseContours,
339
- // loaders/commonLoader
340
- updateLarvitarManager,
341
- populateLarvitarManager,
342
- getLarvitarManager,
343
- getLarvitarImageTracker,
344
- resetLarvitarManager,
345
- removeSeriesFromLarvitarManager,
346
- getSeriesDataFromLarvitarManager,
347
- getImageFrame,
348
- getSopInstanceUIDFromLarvitarManager,
349
- // loaders/nrrdLoader
350
- buildNrrdImage,
351
- getNrrdImageId,
352
- loadNrrdImage,
353
- getImageIdFromSlice,
354
- getSliceNumberFromImageId,
355
- getNrrdSerieDimensions,
356
- // loaders/resliceLoader
357
- loadReslicedImage,
358
- // loaders/dicomLoader
359
- getDicomImageId,
360
- cacheImage,
361
- cacheImages,
362
- // loaders/multiframeLoader
363
- loadMultiFrameImage,
364
- buildMultiFrameImage,
365
- getMultiFrameImageId,
366
- clearMultiFrameCache,
367
- // loaders/fileLoader
368
- fileManager,
369
- resetFileLoader,
370
- resetFileManager,
371
- populateFileManager,
372
- getFileImageId,
373
- // imageTools
374
- addDiameterTool,
375
- addContoursTool,
376
- addMaskEditingTool,
377
- getCurrentMaskData,
378
- addStackStateToElement,
379
- addSeedsTool,
380
- clearMeasurements,
381
- getToolState,
382
- clearToolStateByName,
383
- updateDiameterTool,
384
- addToolStateSingleSlice,
385
- clearCornerstoneElements,
386
- syncToolStack,
387
- updateStackToolState,
388
- setSegmentationConfig,
389
- // tools/main
390
- csToolsCreateStack,
391
- csToolsUpdateImageIds,
392
- csToolsUpdateImageIndex,
393
- initializeCSTools,
394
- setToolsStyle,
395
- addDefaultTools,
396
- addTool,
397
- setToolActive,
398
- setToolDisabled,
399
- setToolEnabled,
400
- setToolPassive,
401
- exportAnnotations,
402
- // tools/default
403
- DEFAULT_TOOLS,
404
- dvTools,
405
- getDefaultToolsByType,
406
- setDefaultToolsProps,
407
- registerExternalTool,
408
- // tools/io
409
- saveAnnotations,
410
- loadAnnotations,
411
- // tools/interaction
412
- addMouseKeyHandlers,
413
- removeMouseKeyHandlers,
414
- // tools/segmentation
415
- initSegmentationModule,
416
- addSegmentationMask,
417
- setActiveLabelmap,
418
- setActiveSegment,
419
- undoLastStroke,
420
- redoLastStroke,
421
- setBrushProps,
422
- hexToRgb,
423
- rgbToHex,
424
- clearSegmentationState,
425
- deleteMask,
426
- enableBrushTool,
427
- disableBrushTool,
428
- toggleContourMode,
429
- toggleVisibility,
430
- getActiveLabelmapBuffer
431
- };
package/jsdoc.json DELETED
@@ -1,52 +0,0 @@
1
- {
2
- "tags": {
3
- "allowUnknownTags": true
4
- },
5
- "source": {
6
- "include": ["dist/", "./README.md"]
7
- },
8
- "plugins": ["plugins/markdown"],
9
- "opts": {
10
- "encoding": "utf8",
11
- "template": "./template/docdash",
12
- "destination": "./docs/documentation/",
13
- "recurse": true,
14
- "verbose": true
15
- },
16
- "markdown": {
17
- "parser": "gfm",
18
- "hardwrap": true,
19
- "idInHeadings": true
20
- },
21
- "templates": {
22
- "cleverLinks": false,
23
- "monospaceLinks": false,
24
- "default": {
25
- "outputSourceFiles": true,
26
- "includeDate": false,
27
- "useLongnameInNav": true
28
- }
29
- },
30
- "docdash": {
31
- "static": true,
32
- "sort": true,
33
- "meta": {
34
- "title": "Larvitar",
35
- "description": "Dicom Image Toolkit for CornestoneJS",
36
- "keyword": "imaging, dataviz, medical, cornerstone"
37
- },
38
- "search": true,
39
- "collapse": true,
40
- "typedefs": true,
41
- "removeQuotes": "none",
42
- "scripts": [],
43
- "menu": {
44
- "Github repo": {
45
- "href": "https://github.com/dvisionlab/Larvitar",
46
- "target": "_blank",
47
- "class": "menu-item",
48
- "id": "repository"
49
- }
50
- }
51
- }
52
- }
package/rollup.config.js DELETED
@@ -1,51 +0,0 @@
1
- import resolve from "@rollup/plugin-node-resolve";
2
- import json from "@rollup/plugin-json";
3
- import commonjs from "@rollup/plugin-commonjs";
4
- import pkg from "./package.json";
5
-
6
- export default [
7
- // browser-friendly UMD build
8
- {
9
- input: "index.js",
10
- output: {
11
- name: "larvitar",
12
- file: pkg.browser,
13
- format: "umd",
14
- globals: {
15
- fs: "fs",
16
- path: "path"
17
- }
18
- },
19
- plugins: [
20
- resolve(),
21
- {
22
- jsnext: true,
23
- main: true,
24
- browser: true,
25
- extensions: [".js", ".json"]
26
- // preferBuiltins: true
27
- }, // so Rollup can find node_modules
28
- commonjs({
29
- // requireReturnsDefault: "auto",
30
- // esmExternals: true
31
- }), // so Rollup can convert node_modules to an ES module,
32
- json()
33
- ]
34
- }
35
-
36
- // CommonJS (for Node) and ES module (for bundlers) build.
37
- // (We could have three entries in the configuration array
38
- // instead of two, but it's quicker to generate multiple
39
- // builds from a single configuration where possible, using
40
- // an array for the `output` option, where we can specify
41
- // `file` and `format` for each target)
42
- // {
43
- // input: "index.js",
44
- // // external: ["cornerstone-core"],
45
- // output: [
46
- // { file: pkg.common, format: "cjs" },
47
- // { file: pkg.module, format: "es" }
48
- // ],
49
- // plugins: [resolve(), commonjs(), json()]
50
- // }
51
- ];
package/template/.gitkeep DELETED
File without changes
package/tsconfig.json DELETED
@@ -1,102 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- /* Visit https://aka.ms/tsconfig.json to read more about this file */
4
-
5
- /* Projects */
6
- // "incremental": true, /* Enable incremental compilation */
7
- // "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */
8
- // "tsBuildInfoFile": "./", /* Specify the folder for .tsbuildinfo incremental compilation files. */
9
- // "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects */
10
- // "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */
11
- // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
12
-
13
- /* Language and Environment */
14
- "target": "es2016" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
15
- // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
16
- // "jsx": "preserve", /* Specify what JSX code is generated. */
17
- // "experimentalDecorators": true, /* Enable experimental support for TC39 stage 2 draft decorators. */
18
- // "emitDecoratorMetadata": true, /* Emit design-type metadata for decorated declarations in source files. */
19
- // "jsxFactory": "", /* Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h' */
20
- // "jsxFragmentFactory": "", /* Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'. */
21
- // "jsxImportSource": "", /* Specify module specifier used to import the JSX factory functions when using `jsx: react-jsx*`.` */
22
- // "reactNamespace": "", /* Specify the object invoked for `createElement`. This only applies when targeting `react` JSX emit. */
23
- // "noLib": true, /* Disable including any library files, including the default lib.d.ts. */
24
- // "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */
25
-
26
- /* Modules */
27
- "module": "commonjs" /* Specify what module code is generated. */,
28
- // "rootDir": "./", /* Specify the root folder within your source files. */
29
- // "moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */
30
- // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
31
- // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
32
- // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
33
- // "typeRoots": [], /* Specify multiple folders that act like `./node_modules/@types`. */
34
- // "types": [], /* Specify type package names to be included without being referenced in a source file. */
35
- "allowUmdGlobalAccess": true /* Allow accessing UMD globals from modules. */,
36
- "resolveJsonModule": true /* Enable importing .json files */,
37
- // "noResolve": true, /* Disallow `import`s, `require`s or `<reference>`s from expanding the number of files TypeScript should add to a project. */
38
-
39
- /* JavaScript Support */
40
- "allowJs": true /* Allow JavaScript files to be a part of your program. Use the `checkJS` option to get errors from these files. */,
41
- // "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */
42
- // "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from `node_modules`. Only applicable with `allowJs`. */
43
-
44
- /* Emit */
45
- "declaration": true /* Generate .d.ts files from TypeScript and JavaScript files in your project. */,
46
- // "declarationMap": true, /* Create sourcemaps for d.ts files. */
47
- // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */
48
- // "sourceMap": true, /* Create source map files for emitted JavaScript files. */
49
- // "outFile": "larvitar.ts" /* 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. */,
50
- "outDir": "./dist" /* Specify an output folder for all emitted files. */,
51
- // "removeComments": true, /* Disable emitting comments. */
52
- // "noEmit": true, /* Disable emitting files from a compilation. */
53
- // "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */
54
- // "importsNotUsedAsValues": "remove", /* Specify emit/checking behavior for imports that are only used for types */
55
- // "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */
56
- // "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */
57
- // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
58
- // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */
59
- // "inlineSources": true, /* Include source code in the sourcemaps inside the emitted JavaScript. */
60
- // "emitBOM": true, /* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files. */
61
- // "newLine": "crlf", /* Set the newline character for emitting files. */
62
- // "stripInternal": true, /* Disable emitting declarations that have `@internal` in their JSDoc comments. */
63
- // "noEmitHelpers": true, /* Disable generating custom helper functions like `__extends` in compiled output. */
64
- // "noEmitOnError": true, /* Disable emitting files if any type checking errors are reported. */
65
- // "preserveConstEnums": true, /* Disable erasing `const enum` declarations in generated code. */
66
- // "declarationDir": "./", /* Specify the output directory for generated declaration files. */
67
- // "preserveValueImports": true, /* Preserve unused imported values in the JavaScript output that would otherwise be removed. */
68
-
69
- /* Interop Constraints */
70
- // "isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */
71
- // "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */
72
- "esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables `allowSyntheticDefaultImports` for type compatibility. */,
73
- // "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */
74
- "forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */,
75
-
76
- /* Type Checking */
77
- "strict": true /* Enable all strict type-checking options. */,
78
- // "noImplicitAny": false /* Enable error reporting for expressions and declarations with an implied `any` type.. */,
79
- // "strictNullChecks": true, /* When type checking, take into account `null` and `undefined`. */
80
- // "strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */
81
- // "strictBindCallApply": true, /* Check that the arguments for `bind`, `call`, and `apply` methods match the original function. */
82
- // "strictPropertyInitialization": true, /* Check for class properties that are declared but not set in the constructor. */
83
- // "noImplicitThis": true, /* Enable error reporting when `this` is given the type `any`. */
84
- // "useUnknownInCatchVariables": true, /* Type catch clause variables as 'unknown' instead of 'any'. */
85
- // "alwaysStrict": true, /* Ensure 'use strict' is always emitted. */
86
- // "noUnusedLocals": true, /* Enable error reporting when a local variables aren't read. */
87
- // "noUnusedParameters": true, /* Raise an error when a function parameter isn't read */
88
- // "exactOptionalPropertyTypes": true, /* Interpret optional property types as written, rather than adding 'undefined'. */
89
- // "noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */
90
- // "noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */
91
- // "noUncheckedIndexedAccess": true, /* Include 'undefined' in index signature results */
92
- // "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier. */
93
- // "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type */
94
- // "allowUnusedLabels": true, /* Disable error reporting for unused labels. */
95
- // "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */
96
-
97
- /* Completeness */
98
- // "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
99
- "skipLibCheck": true /* Skip type checking all .d.ts files. */
100
- },
101
- "include": ["./imaging/", "./decs.d.ts"]
102
- }