@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/{index-D_ew9kha.d.cts → index-AYvUunlI.d.cts} +6 -0
- package/dist/{index-DHsEm87K.d.ts → index-C20fLU5U.d.ts} +6 -0
- package/dist/index.cjs +68 -26
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +34 -2
- package/dist/index.d.ts +34 -2
- package/dist/index.js +68 -26
- package/dist/index.js.map +1 -1
- package/dist/servers.cjs +7 -1
- package/dist/servers.cjs.map +1 -1
- package/dist/servers.d.cts +1 -1
- package/dist/servers.d.ts +1 -1
- package/dist/servers.js +7 -1
- package/dist/servers.js.map +1 -1
- package/dist/tools.cjs +1 -5
- package/dist/tools.cjs.map +1 -1
- package/dist/tools.d.cts +2 -2
- package/dist/tools.d.ts +2 -2
- package/dist/tools.js +1 -5
- package/dist/tools.js.map +1 -1
- package/package.json +1 -1
package/dist/tools.d.cts
CHANGED
|
@@ -1467,13 +1467,13 @@ interface StorescuOptions extends ToolBaseOptions {
|
|
|
1467
1467
|
readonly dimseTimeout?: number | undefined;
|
|
1468
1468
|
/** Disable hostname lookup for incoming associations. Maps to `-nh`. */
|
|
1469
1469
|
readonly noHostnameLookup?: boolean | undefined;
|
|
1470
|
-
/** Disable UID validity checking. Maps to `--no-uid-checks`. */
|
|
1471
|
-
readonly noUidChecks?: boolean | undefined;
|
|
1472
1470
|
}
|
|
1473
1471
|
/** Result of a successful C-STORE send. */
|
|
1474
1472
|
interface StorescuResult {
|
|
1475
1473
|
/** Whether the store completed successfully. */
|
|
1476
1474
|
readonly success: boolean;
|
|
1475
|
+
/** Raw stdout output for diagnostic info. */
|
|
1476
|
+
readonly stdout: string;
|
|
1477
1477
|
/** Raw stderr output for diagnostic info. */
|
|
1478
1478
|
readonly stderr: string;
|
|
1479
1479
|
}
|
package/dist/tools.d.ts
CHANGED
|
@@ -1467,13 +1467,13 @@ interface StorescuOptions extends ToolBaseOptions {
|
|
|
1467
1467
|
readonly dimseTimeout?: number | undefined;
|
|
1468
1468
|
/** Disable hostname lookup for incoming associations. Maps to `-nh`. */
|
|
1469
1469
|
readonly noHostnameLookup?: boolean | undefined;
|
|
1470
|
-
/** Disable UID validity checking. Maps to `--no-uid-checks`. */
|
|
1471
|
-
readonly noUidChecks?: boolean | undefined;
|
|
1472
1470
|
}
|
|
1473
1471
|
/** Result of a successful C-STORE send. */
|
|
1474
1472
|
interface StorescuResult {
|
|
1475
1473
|
/** Whether the store completed successfully. */
|
|
1476
1474
|
readonly success: boolean;
|
|
1475
|
+
/** Raw stdout output for diagnostic info. */
|
|
1476
|
+
readonly stdout: string;
|
|
1477
1477
|
/** Raw stderr output for diagnostic info. */
|
|
1478
1478
|
readonly stderr: string;
|
|
1479
1479
|
}
|
package/dist/tools.js
CHANGED
|
@@ -2324,7 +2324,6 @@ var StorescuOptionsSchema = z.object({
|
|
|
2324
2324
|
acseTimeout: z.number().int().positive().optional(),
|
|
2325
2325
|
dimseTimeout: z.number().int().positive().optional(),
|
|
2326
2326
|
noHostnameLookup: z.boolean().optional(),
|
|
2327
|
-
noUidChecks: z.boolean().optional(),
|
|
2328
2327
|
proposedTransferSyntax: z.enum([
|
|
2329
2328
|
"uncompressed",
|
|
2330
2329
|
"littleEndian",
|
|
@@ -2366,9 +2365,6 @@ function pushNetworkArgs3(args, options) {
|
|
|
2366
2365
|
function buildArgs34(options) {
|
|
2367
2366
|
const args = [];
|
|
2368
2367
|
pushNetworkArgs3(args, options);
|
|
2369
|
-
if (options.noUidChecks === true) {
|
|
2370
|
-
args.push("--no-uid-checks");
|
|
2371
|
-
}
|
|
2372
2368
|
if (options.callingAETitle !== void 0) {
|
|
2373
2369
|
args.push("-aet", options.callingAETitle);
|
|
2374
2370
|
}
|
|
@@ -2409,7 +2405,7 @@ async function storescu(options) {
|
|
|
2409
2405
|
if (result.value.exitCode !== 0) {
|
|
2410
2406
|
return err(createToolError("storescu", args, result.value.exitCode, result.value.stderr));
|
|
2411
2407
|
}
|
|
2412
|
-
return ok({ success: true, stderr: result.value.stderr });
|
|
2408
|
+
return ok({ success: true, stdout: result.value.stdout, stderr: result.value.stderr });
|
|
2413
2409
|
}
|
|
2414
2410
|
var QueryModel = {
|
|
2415
2411
|
WORKLIST: "worklist",
|