@ubercode/dcmtk 0.6.5 → 0.7.1

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/servers.cjs CHANGED
@@ -2779,6 +2779,9 @@ var DicomReceiverOptionsSchema = zod.z.object({
2779
2779
  acseTimeout: zod.z.number().int().positive().optional(),
2780
2780
  dimseTimeout: zod.z.number().int().positive().optional(),
2781
2781
  maxPdu: zod.z.number().int().min(4096).max(131072).optional(),
2782
+ filenameMode: zod.z.enum(["default", "unique", "short-unique", "system-time"]).optional(),
2783
+ filenameExtension: zod.z.string().min(1).optional(),
2784
+ storageMode: zod.z.enum(["normal", "bit-preserving", "ignore"]).optional(),
2782
2785
  signal: zod.z.instanceof(AbortSignal).optional()
2783
2786
  }).strict().refine((data) => (data.minPoolSize ?? DEFAULT_MIN_POOL_SIZE) <= (data.maxPoolSize ?? DEFAULT_MAX_POOL_SIZE), {
2784
2787
  message: "minPoolSize must be <= maxPoolSize"
@@ -3100,7 +3103,10 @@ var DicomReceiver = class _DicomReceiver extends events.EventEmitter {
3100
3103
  configProfile: this.options.configProfile,
3101
3104
  acseTimeout: this.options.acseTimeout,
3102
3105
  dimseTimeout: this.options.dimseTimeout,
3103
- maxPdu: this.options.maxPdu
3106
+ maxPdu: this.options.maxPdu,
3107
+ filenameMode: this.options.filenameMode,
3108
+ filenameExtension: this.options.filenameExtension,
3109
+ storageMode: this.options.storageMode
3104
3110
  });
3105
3111
  }
3106
3112
  /** Spawns a single Dcmrecv worker with an ephemeral port. */