@fnndsc/salsa 3.2.4

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 (111) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +164 -0
  3. package/dist/compute/index.d.ts +17 -0
  4. package/dist/compute/index.js +33 -0
  5. package/dist/compute/index.js.map +1 -0
  6. package/dist/connect/index.d.ts +25 -0
  7. package/dist/connect/index.js +27 -0
  8. package/dist/connect/index.js.map +1 -0
  9. package/dist/context/index.d.ts +38 -0
  10. package/dist/context/index.js +58 -0
  11. package/dist/context/index.js.map +1 -0
  12. package/dist/feeds/index.d.ts +60 -0
  13. package/dist/feeds/index.js +101 -0
  14. package/dist/feeds/index.js.map +1 -0
  15. package/dist/files/index.d.ts +179 -0
  16. package/dist/files/index.js +562 -0
  17. package/dist/files/index.js.map +1 -0
  18. package/dist/files/pacs_content.d.ts +29 -0
  19. package/dist/files/pacs_content.js +121 -0
  20. package/dist/files/pacs_content.js.map +1 -0
  21. package/dist/files/pipeline_content.d.ts +22 -0
  22. package/dist/files/pipeline_content.js +31 -0
  23. package/dist/files/pipeline_content.js.map +1 -0
  24. package/dist/files/regular_content.d.ts +33 -0
  25. package/dist/files/regular_content.js +177 -0
  26. package/dist/files/regular_content.js.map +1 -0
  27. package/dist/groups/index.d.ts +21 -0
  28. package/dist/groups/index.js +37 -0
  29. package/dist/groups/index.js.map +1 -0
  30. package/dist/index.d.ts +21 -0
  31. package/dist/index.js +42 -0
  32. package/dist/index.js.map +1 -0
  33. package/dist/jobs/index.d.ts +6 -0
  34. package/dist/jobs/index.js +17 -0
  35. package/dist/jobs/index.js.map +1 -0
  36. package/dist/jobs/jobOps.d.ts +108 -0
  37. package/dist/jobs/jobOps.js +307 -0
  38. package/dist/jobs/jobOps.js.map +1 -0
  39. package/dist/pacs/index.d.ts +64 -0
  40. package/dist/pacs/index.js +91 -0
  41. package/dist/pacs/index.js.map +1 -0
  42. package/dist/pacs/resultDecode.d.ts +13 -0
  43. package/dist/pacs/resultDecode.js +19 -0
  44. package/dist/pacs/resultDecode.js.map +1 -0
  45. package/dist/pipelines/index.d.ts +58 -0
  46. package/dist/pipelines/index.js +194 -0
  47. package/dist/pipelines/index.js.map +1 -0
  48. package/dist/plugininstances/index.d.ts +15 -0
  49. package/dist/plugininstances/index.js +27 -0
  50. package/dist/plugininstances/index.js.map +1 -0
  51. package/dist/pluginmetas/index.d.ts +21 -0
  52. package/dist/pluginmetas/index.js +37 -0
  53. package/dist/pluginmetas/index.js.map +1 -0
  54. package/dist/plugins/index.d.ts +118 -0
  55. package/dist/plugins/index.js +247 -0
  56. package/dist/plugins/index.js.map +1 -0
  57. package/dist/plugins/internal/plugin_executeContinueFeed.d.ts +17 -0
  58. package/dist/plugins/internal/plugin_executeContinueFeed.js +65 -0
  59. package/dist/plugins/internal/plugin_executeContinueFeed.js.map +1 -0
  60. package/dist/plugins/internal/plugin_executeNewFeed.d.ts +32 -0
  61. package/dist/plugins/internal/plugin_executeNewFeed.js +97 -0
  62. package/dist/plugins/internal/plugin_executeNewFeed.js.map +1 -0
  63. package/dist/plugins/peer_search.d.ts +65 -0
  64. package/dist/plugins/peer_search.js +94 -0
  65. package/dist/plugins/peer_search.js.map +1 -0
  66. package/dist/plugins/plugin_executeInPlace.d.ts +69 -0
  67. package/dist/plugins/plugin_executeInPlace.js +66 -0
  68. package/dist/plugins/plugin_executeInPlace.js.map +1 -0
  69. package/dist/plugins/plugin_register.d.ts +64 -0
  70. package/dist/plugins/plugin_register.js +121 -0
  71. package/dist/plugins/plugin_register.js.map +1 -0
  72. package/dist/plugins/store_import.d.ts +64 -0
  73. package/dist/plugins/store_import.js +196 -0
  74. package/dist/plugins/store_import.js.map +1 -0
  75. package/dist/store/index.d.ts +15 -0
  76. package/dist/store/index.js +37 -0
  77. package/dist/store/index.js.map +1 -0
  78. package/dist/tags/index.d.ts +21 -0
  79. package/dist/tags/index.js +37 -0
  80. package/dist/tags/index.js.map +1 -0
  81. package/dist/vfs/dispatcher.d.ts +83 -0
  82. package/dist/vfs/dispatcher.js +192 -0
  83. package/dist/vfs/dispatcher.js.map +1 -0
  84. package/dist/vfs/index.d.ts +9 -0
  85. package/dist/vfs/index.js +26 -0
  86. package/dist/vfs/index.js.map +1 -0
  87. package/dist/vfs/provider.d.ts +80 -0
  88. package/dist/vfs/provider.js +11 -0
  89. package/dist/vfs/provider.js.map +1 -0
  90. package/dist/vfs/providers/etc.d.ts +44 -0
  91. package/dist/vfs/providers/etc.js +119 -0
  92. package/dist/vfs/providers/etc.js.map +1 -0
  93. package/dist/vfs/providers/native.d.ts +34 -0
  94. package/dist/vfs/providers/native.js +168 -0
  95. package/dist/vfs/providers/native.js.map +1 -0
  96. package/dist/vfs/providers/pacs.d.ts +56 -0
  97. package/dist/vfs/providers/pacs.js +413 -0
  98. package/dist/vfs/providers/pacs.js.map +1 -0
  99. package/dist/vfs/providers/pacsHelpers.d.ts +27 -0
  100. package/dist/vfs/providers/pacsHelpers.js +108 -0
  101. package/dist/vfs/providers/pacsHelpers.js.map +1 -0
  102. package/dist/vfs/providers/pacs_content.d.ts +27 -0
  103. package/dist/vfs/providers/pacs_content.js +137 -0
  104. package/dist/vfs/providers/pacs_content.js.map +1 -0
  105. package/dist/vfs/providers/proc.d.ts +62 -0
  106. package/dist/vfs/providers/proc.js +478 -0
  107. package/dist/vfs/providers/proc.js.map +1 -0
  108. package/dist/workflows/index.d.ts +21 -0
  109. package/dist/workflows/index.js +37 -0
  110. package/dist/workflows/index.js.map +1 -0
  111. package/package.json +57 -0
@@ -0,0 +1,121 @@
1
+ "use strict";
2
+ /**
3
+ * @file Content retrieval for PACS-backed files (text and binary).
4
+ *
5
+ * @module
6
+ */
7
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
8
+ if (k2 === undefined) k2 = k;
9
+ var desc = Object.getOwnPropertyDescriptor(m, k);
10
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
11
+ desc = { enumerable: true, get: function() { return m[k]; } };
12
+ }
13
+ Object.defineProperty(o, k2, desc);
14
+ }) : (function(o, m, k, k2) {
15
+ if (k2 === undefined) k2 = k;
16
+ o[k2] = m[k];
17
+ }));
18
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
19
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
20
+ }) : function(o, v) {
21
+ o["default"] = v;
22
+ });
23
+ var __importStar = (this && this.__importStar) || (function () {
24
+ var ownKeys = function(o) {
25
+ ownKeys = Object.getOwnPropertyNames || function (o) {
26
+ var ar = [];
27
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
28
+ return ar;
29
+ };
30
+ return ownKeys(o);
31
+ };
32
+ return function (mod) {
33
+ if (mod && mod.__esModule) return mod;
34
+ var result = {};
35
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
36
+ __setModuleDefault(result, mod);
37
+ return result;
38
+ };
39
+ })();
40
+ Object.defineProperty(exports, "__esModule", { value: true });
41
+ exports.fileContent_getPACS = fileContent_getPACS;
42
+ exports.fileContent_getPACSBinary = fileContent_getPACSBinary;
43
+ const path = __importStar(require("path"));
44
+ const cumin_1 = require("@fnndsc/cumin");
45
+ const index_1 = require("./index");
46
+ /**
47
+ * Fetches the content of a PACS file (DICOM).
48
+ *
49
+ * Path structure: /SERVICES/PACS/<service>/<patient>/<study>/<series>/<file>.dcm
50
+ * Example: /SERVICES/PACS/PACSDCM/7654321-EVANS-19861111/.../0168-1.3...dcm
51
+ *
52
+ * PACS files appear in directory listings but must be downloaded through
53
+ * the PACSFile API instead of the regular file download endpoint.
54
+ *
55
+ * @param filePath - The full path to the PACS file.
56
+ * @returns A Result containing the file content as a string, or an error.
57
+ */
58
+ async function fileContent_getPACS(filePath) {
59
+ const dir = path.posix.dirname(filePath);
60
+ const name = path.posix.basename(filePath);
61
+ const group = await (0, index_1.files_getGroup)('files', dir);
62
+ if (!group) {
63
+ return (0, cumin_1.Err)();
64
+ }
65
+ const results = await group.asset.resources_getAll();
66
+ if (!results || !results.tableData) {
67
+ cumin_1.errorStack.stack_push("error", `No files found in PACS directory: ${dir}`);
68
+ return (0, cumin_1.Err)();
69
+ }
70
+ const file = results.tableData.find((f) => {
71
+ const fname = f.fname || '';
72
+ const basename = path.posix.basename(fname);
73
+ return basename === name || basename === `? ${name}`;
74
+ });
75
+ if (!file) {
76
+ cumin_1.errorStack.stack_push("error", `PACS file not found: ${name} in ${dir}`);
77
+ return (0, cumin_1.Err)();
78
+ }
79
+ if (typeof file.id !== 'number') {
80
+ cumin_1.errorStack.stack_push("error", `PACS file has no valid ID: ${name}`);
81
+ return (0, cumin_1.Err)();
82
+ }
83
+ return await (0, cumin_1.pacsFile_getText)(file.id);
84
+ }
85
+ /**
86
+ * Fetches the binary content of a PACS file (DICOM).
87
+ *
88
+ * Same as fileContent_getPACS but returns raw Buffer instead of string.
89
+ * Use this for binary files like DICOM (.dcm) that should not be converted to UTF-8.
90
+ *
91
+ * @param filePath - The full path to the PACS file.
92
+ * @returns A Result containing the file content as a Buffer, or an error.
93
+ */
94
+ async function fileContent_getPACSBinary(filePath) {
95
+ const dir = path.posix.dirname(filePath);
96
+ const name = path.posix.basename(filePath);
97
+ const group = await (0, index_1.files_getGroup)('files', dir);
98
+ if (!group) {
99
+ return (0, cumin_1.Err)();
100
+ }
101
+ const results = await group.asset.resources_getAll();
102
+ if (!results || !results.tableData) {
103
+ cumin_1.errorStack.stack_push("error", `No files found in PACS directory: ${dir}`);
104
+ return (0, cumin_1.Err)();
105
+ }
106
+ const file = results.tableData.find((f) => {
107
+ const fname = f.fname || '';
108
+ const basename = path.posix.basename(fname);
109
+ return basename === name || basename === `? ${name}`;
110
+ });
111
+ if (!file) {
112
+ cumin_1.errorStack.stack_push("error", `PACS file not found: ${name} in ${dir}`);
113
+ return (0, cumin_1.Err)();
114
+ }
115
+ if (typeof file.id !== 'number') {
116
+ cumin_1.errorStack.stack_push("error", `PACS file has no valid ID: ${name}`);
117
+ return (0, cumin_1.Err)();
118
+ }
119
+ return await (0, cumin_1.pacsFile_getBlob)(file.id);
120
+ }
121
+ //# sourceMappingURL=pacs_content.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pacs_content.js","sourceRoot":"","sources":["../../src/files/pacs_content.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4BH,kDAgCC;AAWD,8DAgCC;AArGD,2CAA6B;AAC7B,yCASuB;AAEvB,mCAAyC;AAEzC;;;;;;;;;;;GAWG;AACI,KAAK,UAAU,mBAAmB,CAAC,QAAgB;IACxD,MAAM,GAAG,GAAW,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;IACjD,MAAM,IAAI,GAAW,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;IAEnD,MAAM,KAAK,GAAqD,MAAM,IAAA,sBAAc,EAAC,OAAO,EAAE,GAAG,CAAC,CAAC;IACnG,IAAI,CAAC,KAAK,EAAE,CAAC;QACV,OAAO,IAAA,WAAG,GAAE,CAAC;IAChB,CAAC;IAED,MAAM,OAAO,GAAgC,MAAM,KAAK,CAAC,KAAK,CAAC,gBAAgB,EAAE,CAAC;IAClF,IAAI,CAAC,OAAO,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,CAAC;QAClC,kBAAU,CAAC,UAAU,CAAC,OAAO,EAAE,qCAAqC,GAAG,EAAE,CAAC,CAAC;QAC3E,OAAO,IAAA,WAAG,GAAE,CAAC;IAChB,CAAC;IAED,MAAM,IAAI,GAAgD,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAqB,EAAE,EAAE;QACvG,MAAM,KAAK,GAAW,CAAC,CAAC,KAAK,IAAI,EAAE,CAAC;QACpC,MAAM,QAAQ,GAAG,IAAI,CAAC,KAAK,C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IAAI,GAAgD,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAqB,EAAE,EAAE;QACvG,MAAM,KAAK,GAAW,CAAC,CAAC,KAAK,IAAI,EAAE,CAAC;QACpC,MAAM,QAAQ,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QAC5C,OAAO,QAAQ,KAAK,IAAI,IAAI,QAAQ,KAAK,KAAK,IAAI,EAAE,CAAC;IACzD,CAAC,CAAC,CAAC;IAEH,IAAI,CAAC,IAAI,EAAE,CAAC;QACR,kBAAU,CAAC,UAAU,CAAC,OAAO,EAAE,wBAAwB,IAAI,OAAO,GAAG,EAAE,CAAC,CAAC;QACzE,OAAO,IAAA,WAAG,GAAE,CAAC;IACjB,CAAC;IAED,IAAI,OAAO,IAAI,CAAC,EAAE,KAAK,QAAQ,EAAE,CAAC;QAC9B,kBAAU,CAAC,UAAU,CAAC,OAAO,EAAE,8BAA8B,IAAI,EAAE,CAAC,CAAC;QACrE,OAAO,IAAA,WAAG,GAAE,CAAC;IACjB,CAAC;IAED,OAAO,MAAM,IAAA,wBAAgB,EAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACzC,CAAC"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * @file Content retrieval for pipeline-source files (text and binary).
3
+ *
4
+ * @module
5
+ */
6
+ import { Result } from "@fnndsc/cumin";
7
+ /**
8
+ * Fetches the content of a pipeline source file.
9
+ *
10
+ * @param filePath - The full path to the pipeline file, e.g., /PIPELINES/<owner>/<filename>.
11
+ * @returns A Result containing the file content as a string, or an error.
12
+ */
13
+ export declare function fileContent_getPipeline(filePath: string): Promise<Result<string>>;
14
+ /**
15
+ * Fetches the binary content of a pipeline source file.
16
+ *
17
+ * Same as fileContent_getPipeline but returns raw Buffer instead of string.
18
+ *
19
+ * @param filePath - The full path to the pipeline file, e.g., /PIPELINES/<owner>/<filename>.
20
+ * @returns A Result containing the file content as a Buffer, or an error.
21
+ */
22
+ export declare function fileContent_getPipelineBinary(filePath: string): Promise<Result<Buffer>>;
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ /**
3
+ * @file Content retrieval for pipeline-source files (text and binary).
4
+ *
5
+ * @module
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.fileContent_getPipeline = fileContent_getPipeline;
9
+ exports.fileContent_getPipelineBinary = fileContent_getPipelineBinary;
10
+ const cumin_1 = require("@fnndsc/cumin");
11
+ /**
12
+ * Fetches the content of a pipeline source file.
13
+ *
14
+ * @param filePath - The full path to the pipeline file, e.g., /PIPELINES/<owner>/<filename>.
15
+ * @returns A Result containing the file content as a string, or an error.
16
+ */
17
+ async function fileContent_getPipeline(filePath) {
18
+ return await (0, cumin_1.pipelineFile_getTextByPath)(filePath);
19
+ }
20
+ /**
21
+ * Fetches the binary content of a pipeline source file.
22
+ *
23
+ * Same as fileContent_getPipeline but returns raw Buffer instead of string.
24
+ *
25
+ * @param filePath - The full path to the pipeline file, e.g., /PIPELINES/<owner>/<filename>.
26
+ * @returns A Result containing the file content as a Buffer, or an error.
27
+ */
28
+ async function fileContent_getPipelineBinary(filePath) {
29
+ return await (0, cumin_1.pipelineFile_getByPath)(filePath);
30
+ }
31
+ //# sourceMappingURL=pipeline_content.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipeline_content.js","sourceRoot":"","sources":["../../src/files/pipeline_content.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;AAeH,0DAEC;AAUD,sEAEC;AA3BD,yCAKuB;AAEvB;;;;;GAKG;AACI,KAAK,UAAU,uBAAuB,CAAC,QAAgB;IAC5D,OAAO,MAAM,IAAA,kCAA0B,EAAC,QAAQ,CAAC,CAAC;AACpD,CAAC;AAED;;;;;;;GAOG;AACI,KAAK,UAAU,6BAA6B,CAAC,QAAgB;IAClE,OAAO,MAAM,IAAA,8BAAsB,EAAC,QAAQ,CAAC,CAAC;AAChD,CAAC"}
@@ -0,0 +1,33 @@
1
+ /**
2
+ * @file Content retrieval for regular uploaded files (text, binary, stream).
3
+ *
4
+ * @module
5
+ */
6
+ import { Result } from "@fnndsc/cumin";
7
+ /**
8
+ * Fetches the binary content of a regular ChRIS file as a stream/blob.
9
+ *
10
+ * @param filePath - The full path to the file.
11
+ * @returns A Result containing the stream/blob and optional size metadata.
12
+ */
13
+ export declare function fileContent_getRegularStream(filePath: string): Promise<Result<{
14
+ stream: unknown;
15
+ size?: number;
16
+ filename?: string;
17
+ }>>;
18
+ /**
19
+ * Fetches the content of a regular ChRIS file.
20
+ *
21
+ * @param filePath - The full path to the file.
22
+ * @returns A Result containing the file content as a string, or an error.
23
+ */
24
+ export declare function fileContent_getRegular(filePath: string): Promise<Result<string>>;
25
+ /**
26
+ * Fetches the binary content of a regular ChRIS file.
27
+ *
28
+ * Same as fileContent_getRegular but returns raw Buffer instead of string.
29
+ *
30
+ * @param filePath - The full path to the file.
31
+ * @returns A Result containing the file content as a Buffer, or an error.
32
+ */
33
+ export declare function fileContent_getRegularBinary(filePath: string): Promise<Result<Buffer>>;
@@ -0,0 +1,177 @@
1
+ "use strict";
2
+ /**
3
+ * @file Content retrieval for regular uploaded files (text, binary, stream).
4
+ *
5
+ * @module
6
+ */
7
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
8
+ if (k2 === undefined) k2 = k;
9
+ var desc = Object.getOwnPropertyDescriptor(m, k);
10
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
11
+ desc = { enumerable: true, get: function() { return m[k]; } };
12
+ }
13
+ Object.defineProperty(o, k2, desc);
14
+ }) : (function(o, m, k, k2) {
15
+ if (k2 === undefined) k2 = k;
16
+ o[k2] = m[k];
17
+ }));
18
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
19
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
20
+ }) : function(o, v) {
21
+ o["default"] = v;
22
+ });
23
+ var __importStar = (this && this.__importStar) || (function () {
24
+ var ownKeys = function(o) {
25
+ ownKeys = Object.getOwnPropertyNames || function (o) {
26
+ var ar = [];
27
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
28
+ return ar;
29
+ };
30
+ return ownKeys(o);
31
+ };
32
+ return function (mod) {
33
+ if (mod && mod.__esModule) return mod;
34
+ var result = {};
35
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
36
+ __setModuleDefault(result, mod);
37
+ return result;
38
+ };
39
+ })();
40
+ Object.defineProperty(exports, "__esModule", { value: true });
41
+ exports.fileContent_getRegularStream = fileContent_getRegularStream;
42
+ exports.fileContent_getRegular = fileContent_getRegular;
43
+ exports.fileContent_getRegularBinary = fileContent_getRegularBinary;
44
+ const path = __importStar(require("path"));
45
+ const cumin_1 = require("@fnndsc/cumin");
46
+ const index_1 = require("./index");
47
+ /**
48
+ * Views content of a file in ChRIS by its ID.
49
+ * This is a helper function, not directly exported to avoid circular deps.
50
+ *
51
+ * @param fileId - The ID of the file to view.
52
+ * @returns A Promise resolving to a Result containing the file content as a Buffer, or Err on failure.
53
+ */
54
+ async function files_view(fileId) {
55
+ const buffer = await cumin_1.chrisIO.file_download(fileId);
56
+ if (buffer === null) {
57
+ // chrisIO.file_download should have already pushed an error
58
+ return (0, cumin_1.Err)();
59
+ }
60
+ return (0, cumin_1.Ok)(buffer);
61
+ }
62
+ /**
63
+ * Fetches the binary content of a regular ChRIS file as a stream/blob.
64
+ *
65
+ * @param filePath - The full path to the file.
66
+ * @returns A Result containing the stream/blob and optional size metadata.
67
+ */
68
+ async function fileContent_getRegularStream(filePath) {
69
+ const dir = path.posix.dirname(filePath);
70
+ const name = path.posix.basename(filePath);
71
+ const group = await (0, index_1.files_getGroup)("files", dir);
72
+ if (!group) {
73
+ return (0, cumin_1.Err)();
74
+ }
75
+ const results = await group.asset.resources_getAll();
76
+ if (!results || !results.tableData) {
77
+ cumin_1.errorStack.stack_push("error", `No files found in directory: ${dir}`);
78
+ return (0, cumin_1.Err)();
79
+ }
80
+ const file = results.tableData.find((f) => {
81
+ const fname = f.fname || "";
82
+ const basename = path.posix.basename(fname);
83
+ return basename === name || basename === `? ${name}`;
84
+ });
85
+ if (!file) {
86
+ cumin_1.errorStack.stack_push("error", `File not found: ${name} in ${dir}`);
87
+ return (0, cumin_1.Err)();
88
+ }
89
+ if (typeof file.id !== "number") {
90
+ cumin_1.errorStack.stack_push("error", `File has no valid ID: ${name}`);
91
+ return (0, cumin_1.Err)();
92
+ }
93
+ const streamResult = await cumin_1.chrisIO.file_downloadStream(file.id);
94
+ if (!streamResult.ok) {
95
+ return (0, cumin_1.Err)();
96
+ }
97
+ return (0, cumin_1.Ok)(streamResult.value);
98
+ }
99
+ /**
100
+ * Fetches the content of a regular ChRIS file.
101
+ *
102
+ * @param filePath - The full path to the file.
103
+ * @returns A Result containing the file content as a string, or an error.
104
+ */
105
+ async function fileContent_getRegular(filePath) {
106
+ const dir = path.posix.dirname(filePath);
107
+ const name = path.posix.basename(filePath);
108
+ const group = await (0, index_1.files_getGroup)('files', dir);
109
+ if (!group) {
110
+ return (0, cumin_1.Err)();
111
+ }
112
+ const results = await group.asset.resources_getAll();
113
+ if (!results || !results.tableData) {
114
+ cumin_1.errorStack.stack_push("error", `No files found in directory: ${dir}`);
115
+ return (0, cumin_1.Err)();
116
+ }
117
+ const file = results.tableData.find((f) => {
118
+ const fname = f.fname || '';
119
+ const basename = path.posix.basename(fname);
120
+ return basename === name || basename === `? ${name}`;
121
+ });
122
+ if (!file) {
123
+ cumin_1.errorStack.stack_push("error", `File not found: ${name} in ${dir}`);
124
+ return (0, cumin_1.Err)();
125
+ }
126
+ if (typeof file.id !== 'number') {
127
+ cumin_1.errorStack.stack_push("error", `File has no valid ID: ${name}`);
128
+ return (0, cumin_1.Err)();
129
+ }
130
+ const filesViewResult = await files_view(file.id);
131
+ if (!filesViewResult.ok) {
132
+ // The error is already pushed by files_view or chrisIO.file_download
133
+ return (0, cumin_1.Err)();
134
+ }
135
+ return (0, cumin_1.Ok)(filesViewResult.value.toString('utf-8'));
136
+ }
137
+ /**
138
+ * Fetches the binary content of a regular ChRIS file.
139
+ *
140
+ * Same as fileContent_getRegular but returns raw Buffer instead of string.
141
+ *
142
+ * @param filePath - The full path to the file.
143
+ * @returns A Result containing the file content as a Buffer, or an error.
144
+ */
145
+ async function fileContent_getRegularBinary(filePath) {
146
+ const dir = path.posix.dirname(filePath);
147
+ const name = path.posix.basename(filePath);
148
+ const group = await (0, index_1.files_getGroup)('files', dir);
149
+ if (!group) {
150
+ return (0, cumin_1.Err)();
151
+ }
152
+ const results = await group.asset.resources_getAll();
153
+ if (!results || !results.tableData) {
154
+ cumin_1.errorStack.stack_push("error", `No files found in directory: ${dir}`);
155
+ return (0, cumin_1.Err)();
156
+ }
157
+ const file = results.tableData.find((f) => {
158
+ const fname = f.fname || '';
159
+ const basename = path.posix.basename(fname);
160
+ return basename === name || basename === `? ${name}`;
161
+ });
162
+ if (!file) {
163
+ cumin_1.errorStack.stack_push("error", `File not found: ${name} in ${dir}`);
164
+ return (0, cumin_1.Err)();
165
+ }
166
+ if (typeof file.id !== 'number') {
167
+ cumin_1.errorStack.stack_push("error", `File has no valid ID: ${name}`);
168
+ return (0, cumin_1.Err)();
169
+ }
170
+ const filesViewResult = await files_view(file.id);
171
+ if (!filesViewResult.ok) {
172
+ // The error is already pushed by files_view or chrisIO.file_download
173
+ return (0, cumin_1.Err)();
174
+ }
175
+ return (0, cumin_1.Ok)(filesViewResult.value);
176
+ }
177
+ //# sourceMappingURL=regular_content.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"regular_content.js","sourceRoot":"","sources":["../../src/files/regular_content.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqCH,oEA2CC;AAQD,wDAsCC;AAUD,oEAsCC;AA5KD,2CAA6B;AAC7B,yCAQuB;AAEvB,mCAAy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tB,qEAAqE;QACrE,OAAO,IAAA,WAAG,GAAE,CAAC;IACjB,CAAC;IAED,OAAO,IAAA,UAAE,EAAC,eAAe,CAAC,KAAK,CAAC,CAAC;AACnC,CAAC"}
@@ -0,0 +1,21 @@
1
+ /**
2
+ * @file Group resource operations.
3
+ * @module
4
+ */
5
+ import { FilteredResourceData, ListOptions } from '@fnndsc/cumin';
6
+ /**
7
+ * Lists groups (single page).
8
+ *
9
+ * @param options - Search and pagination options.
10
+ */
11
+ export declare function groups_list(options: ListOptions): Promise<FilteredResourceData | null>;
12
+ /**
13
+ * Lists all groups across all pages.
14
+ *
15
+ * @param options - Search options (limit/offset managed internally).
16
+ */
17
+ export declare function groups_listAll(options?: Partial<ListOptions>): Promise<FilteredResourceData | null>;
18
+ /**
19
+ * Returns available field names for groups.
20
+ */
21
+ export declare function groupFields_get(): Promise<string[] | null>;
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ /**
3
+ * @file Group resource operations.
4
+ * @module
5
+ */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.groups_list = groups_list;
8
+ exports.groups_listAll = groups_listAll;
9
+ exports.groupFields_get = groupFields_get;
10
+ const cumin_1 = require("@fnndsc/cumin");
11
+ /**
12
+ * Lists groups (single page).
13
+ *
14
+ * @param options - Search and pagination options.
15
+ */
16
+ async function groups_list(options) {
17
+ const group = new cumin_1.ChRISGroupGroup();
18
+ return await group.asset.resources_listAndFilterByOptions(options);
19
+ }
20
+ /**
21
+ * Lists all groups across all pages.
22
+ *
23
+ * @param options - Search options (limit/offset managed internally).
24
+ */
25
+ async function groups_listAll(options = {}) {
26
+ const group = new cumin_1.ChRISGroupGroup();
27
+ return await group.asset.resources_getAll(options);
28
+ }
29
+ /**
30
+ * Returns available field names for groups.
31
+ */
32
+ async function groupFields_get() {
33
+ const group = new cumin_1.ChRISGroupGroup();
34
+ const result = await group.asset.resourceFields_get();
35
+ return result ? result.fields : null;
36
+ }
37
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/groups/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;AASH,kCAGC;AAOD,wCAGC;AAKD,0CAIC;AA7BD,yCAAmF;AAEnF;;;;GAIG;AACI,KAAK,UAAU,WAAW,CAAC,OAAoB;IACpD,MAAM,KAAK,GAAoB,IAAI,uBAAe,EAAE,CAAC;IACrD,OAAO,MAAM,KAAK,CAAC,KAAK,CAAC,gCAAgC,CAAC,OAAO,CAAC,CAAC;AACrE,CAAC;AAED;;;;GAIG;AACI,KAAK,UAAU,cAAc,CAAC,UAAgC,EAAE;IACrE,MAAM,KAAK,GAAoB,IAAI,uBAAe,EAAE,CAAC;IACrD,OAAO,MAAM,KAAK,CAAC,KAAK,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;AACrD,CAAC;AAED;;GAEG;AACI,KAAK,UAAU,eAAe;IACnC,MAAM,KAAK,GAAoB,IAAI,uBAAe,EAAE,CAAC;IACrD,MAAM,MAAM,GAAG,MAAM,KAAK,CAAC,KAAK,CAAC,kBAAkB,EAAE,CAAC;IACtD,OAAO,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC;AACvC,CAAC"}
@@ -0,0 +1,21 @@
1
+ /**
2
+ * @file Main entry point for the Salsa library.
3
+ * @module
4
+ */
5
+ export * from './feeds/index.js';
6
+ export * from './plugins/index.js';
7
+ export * from './files/index.js';
8
+ export * from './connect/index.js';
9
+ export * from './context/index.js';
10
+ export * from './store/index.js';
11
+ export * from './pipelines/index.js';
12
+ export * from './pacs/index.js';
13
+ export * from './vfs/index.js';
14
+ export * from './tags/index.js';
15
+ export * from './groups/index.js';
16
+ export * from './pluginmetas/index.js';
17
+ export * from './plugininstances/index.js';
18
+ export * from './workflows/index.js';
19
+ export * from './compute/index.js';
20
+ export * from './jobs/index.js';
21
+ export { procCache_refresh, procTopology_warmup, procFeed_ensureLoaded } from './vfs/providers/proc.js';
package/dist/index.js ADDED
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ /**
3
+ * @file Main entry point for the Salsa library.
4
+ * @module
5
+ */
6
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
7
+ if (k2 === undefined) k2 = k;
8
+ var desc = Object.getOwnPropertyDescriptor(m, k);
9
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
10
+ desc = { enumerable: true, get: function() { return m[k]; } };
11
+ }
12
+ Object.defineProperty(o, k2, desc);
13
+ }) : (function(o, m, k, k2) {
14
+ if (k2 === undefined) k2 = k;
15
+ o[k2] = m[k];
16
+ }));
17
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
18
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
19
+ };
20
+ Object.defineProperty(exports, "__esModule", { value: true });
21
+ exports.procFeed_ensureLoaded = exports.procTopology_warmup = exports.procCache_refresh = void 0;
22
+ __exportStar(require("./feeds/index.js"), exports);
23
+ __exportStar(require("./plugins/index.js"), exports);
24
+ __exportStar(require("./files/index.js"), exports);
25
+ __exportStar(require("./connect/index.js"), exports);
26
+ __exportStar(require("./context/index.js"), exports);
27
+ __exportStar(require("./store/index.js"), exports);
28
+ __exportStar(require("./pipelines/index.js"), exports);
29
+ __exportStar(require("./pacs/index.js"), exports);
30
+ __exportStar(require("./vfs/index.js"), exports);
31
+ __exportStar(require("./tags/index.js"), exports);
32
+ __exportStar(require("./groups/index.js"), exports);
33
+ __exportStar(require("./pluginmetas/index.js"), exports);
34
+ __exportStar(require("./plugininstances/index.js"), exports);
35
+ __exportStar(require("./workflows/index.js"), exports);
36
+ __exportStar(require("./compute/index.js"), exports);
37
+ __exportStar(require("./jobs/index.js"), exports);
38
+ var proc_js_1 = require("./vfs/providers/proc.js");
39
+ Object.defineProperty(exports, "procCache_refresh", { enumerable: true, get: function () { return proc_js_1.procCache_refresh; } });
40
+ Object.defineProperty(exports, "procTopology_warmup", { enumerable: true, get: function () { return proc_js_1.procTopology_warmup; } });
41
+ Object.defineProperty(exports, "procFeed_ensureLoaded", { enumerable: true, get: function () { return proc_js_1.procFeed_ensureLoaded; } });
42
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;AAEH,mDAAiC;AACjC,qDAAmC;AACnC,mDAAiC;AACjC,qDAAmC;AACnC,qDAAmC;AACnC,mDAAiC;AACjC,uDAAqC;AACrC,kDAAgC;AAChC,iDAA+B;AAC/B,kDAAgC;AAChC,oDAAkC;AAClC,yDAAuC;AACvC,6DAA2C;AAC3C,uDAAqC;AACrC,qDAAmC;AACnC,kDAAgC;AAChC,mDAAwG;AAA/F,4GAAA,iBAAiB,OAAA;AAAE,8GAAA,mBAAmB,OAAA;AAAE,gHAAA,qBAAqB,OAAA"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @file Barrel re-exports for salsa job operations.
3
+ *
4
+ * @module
5
+ */
6
+ export { job_cancel, job_delete, job_statusFetch, job_logFetch, job_feedID_get, jobs_find, jobs_statusBatch } from './jobOps.js';
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ /**
3
+ * @file Barrel re-exports for salsa job operations.
4
+ *
5
+ * @module
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.jobs_statusBatch = exports.jobs_find = exports.job_feedID_get = exports.job_logFetch = exports.job_statusFetch = exports.job_delete = exports.job_cancel = void 0;
9
+ var jobOps_js_1 = require("./jobOps.js");
10
+ Object.defineProperty(exports, "job_cancel", { enumerable: true, get: function () { return jobOps_js_1.job_cancel; } });
11
+ Object.defineProperty(exports, "job_delete", { enumerable: true, get: function () { return jobOps_js_1.job_delete; } });
12
+ Object.defineProperty(exports, "job_statusFetch", { enumerable: true, get: function () { return jobOps_js_1.job_statusFetch; } });
13
+ Object.defineProperty(exports, "job_logFetch", { enumerable: true, get: function () { return jobOps_js_1.job_logFetch; } });
14
+ Object.defineProperty(exports, "job_feedID_get", { enumerable: true, get: function () { return jobOps_js_1.job_feedID_get; } });
15
+ Object.defineProperty(exports, "jobs_find", { enumerable: true, get: function () { return jobOps_js_1.jobs_find; } });
16
+ Object.defineProperty(exports, "jobs_statusBatch", { enumerable: true, get: function () { return jobOps_js_1.jobs_statusBatch; } });
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/jobs/index.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,yCAAiI;AAAxH,uGAAA,UAAU,OAAA;AAAE,uGAAA,UAAU,OAAA;AAAE,4GAAA,eAAe,OAAA;AAAE,yGAAA,YAAY,OAAA;AAAE,2GAAA,cAAc,OAAA;AAAE,sGAAA,SAAS,OAAA;AAAE,6GAAA,gBAAgB,OAAA"}