dwv 0.36.0-beta.5 → 0.36.0-beta.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/dwv.d.ts CHANGED
@@ -436,13 +436,20 @@ export declare class App {
436
436
  * @param {Image} img The associated image.
437
437
  */
438
438
  setImage(dataId: string, img: Image_2): void;
439
+ /**
440
+ * Get the next data id.
441
+ *
442
+ * @returns {string} The data id.
443
+ */
444
+ getNextDataId(): string;
439
445
  /**
440
446
  * Add a new DicomData.
441
447
  *
448
+ * @param {string} dataId The data id.
442
449
  * @param {DicomData} data The new data.
443
- * @returns {string} The data id.
450
+ * @returns {boolean} False if the data cannot be added.
444
451
  */
445
- addData(data: DicomData): string;
452
+ addData(dataId: string, data: DicomData): boolean;
446
453
  /**
447
454
  * Get the meta data.
448
455
  *