@sjcrh/proteinpaint-types 2.146.4-1 → 2.147.2-0

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 (43) hide show
  1. package/dist/aiProjectSelectedWSImages.js +1 -1
  2. package/dist/aiProjectTrainModel.js +11 -0
  3. package/dist/brainImaging.js +1 -1
  4. package/dist/{chunk-75OHIZMS.js → chunk-225Q2ZUA.js} +2 -6
  5. package/dist/{chunk-NBV7HYBA.js → chunk-3SKFYOKV.js} +407 -515
  6. package/dist/{chunk-G5KSPYQG.js → chunk-4SJC57Y6.js} +403 -511
  7. package/dist/{chunk-C246BWQE.js → chunk-5MGSKBUU.js} +268 -92
  8. package/dist/{chunk-4VEXL32Q.js → chunk-75GS5ZG5.js} +381 -489
  9. package/dist/{chunk-2BHWLFKE.js → chunk-ETMCI34A.js} +2 -6
  10. package/dist/{chunk-74B7B2CV.js → chunk-KQNLROUN.js} +258 -82
  11. package/dist/{chunk-7ICZFAGK.js → chunk-KSVIBMFQ.js} +1049 -797
  12. package/dist/{chunk-5KADNZH2.js → chunk-RA7IEGS4.js} +408 -516
  13. package/dist/{chunk-4DNCZQOB.js → chunk-TTUU5XQC.js} +258 -82
  14. package/dist/chunk-UYJA4UM7.js +97 -0
  15. package/dist/{chunk-GCAZSDCW.js → chunk-WL7ZVGZS.js} +403 -511
  16. package/dist/correlationVolcano.js +1 -1
  17. package/dist/index.js +48 -40
  18. package/dist/samplewsimages.js +1 -1
  19. package/dist/termdb.boxplot.js +1 -1
  20. package/dist/termdb.categories.js +1 -1
  21. package/dist/termdb.cluster.js +1 -1
  22. package/dist/termdb.descrstats.js +1 -1
  23. package/dist/termdb.percentile.js +1 -1
  24. package/dist/termdb.termsbyids.js +1 -1
  25. package/dist/termdb.topTermsByType.js +1 -1
  26. package/package.json +1 -1
  27. package/src/dataset.ts +15 -12
  28. package/src/index.ts +2 -0
  29. package/src/routes/aiProjectSelectedWSImages.ts +0 -1
  30. package/src/routes/aiProjectTrainModel.ts +20 -0
  31. package/src/routes/brainImaging.ts +3 -3
  32. package/src/terms/categorical.ts +9 -90
  33. package/src/terms/date.ts +1 -1
  34. package/src/terms/geneExpression.ts +3 -1
  35. package/src/terms/metaboliteIntensity.ts +4 -2
  36. package/src/terms/numeric.ts +5 -1
  37. package/src/terms/q.ts +5 -1
  38. package/src/terms/qualitative.ts +73 -0
  39. package/src/terms/singleCellCellType.ts +6 -10
  40. package/src/terms/snp.ts +9 -13
  41. package/src/terms/ssGSEA.ts +5 -1
  42. package/src/terms/term.ts +2 -2
  43. package/src/terms/tw.ts +3 -4
@@ -0,0 +1,97 @@
1
+ import {
2
+ __toESM,
3
+ require_lib
4
+ } from "./chunk-YNHC5SXO.js";
5
+
6
+ // dist/aiProjectTrainModel.ts
7
+ var import_typia = __toESM(require_lib(), 1);
8
+
9
+ // src/routes/aiProjectTrainModel.ts
10
+ var aiProjectTrainModelPayload = {
11
+ request: {
12
+ typeId: "AIProjectTrainModelRequest"
13
+ },
14
+ response: {
15
+ typeId: "AIProjectTrainModelResponse"
16
+ }
17
+ };
18
+
19
+ // dist/aiProjectTrainModel.ts
20
+ var validAIProjectTrainModelRequest = (input) => {
21
+ const errors = [];
22
+ const __is = (input2) => {
23
+ const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && (void 0 === input3.projectId || "string" === typeof input3.projectId);
24
+ return "object" === typeof input2 && null !== input2 && $io0(input2);
25
+ };
26
+ if (false === __is(input)) {
27
+ const $report = import_typia.createValidate.report(errors);
28
+ ((input2, _path, _exceptionable = true) => {
29
+ const $vo0 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.genome || $report(_exceptionable2, {
30
+ path: _path2 + ".genome",
31
+ expected: "string",
32
+ value: input3.genome
33
+ }), "string" === typeof input3.dslabel || $report(_exceptionable2, {
34
+ path: _path2 + ".dslabel",
35
+ expected: "string",
36
+ value: input3.dslabel
37
+ }), void 0 === input3.projectId || "string" === typeof input3.projectId || $report(_exceptionable2, {
38
+ path: _path2 + ".projectId",
39
+ expected: "(string | undefined)",
40
+ value: input3.projectId
41
+ })].every((flag) => flag);
42
+ return ("object" === typeof input2 && null !== input2 || $report(true, {
43
+ path: _path + "",
44
+ expected: "AIProjectTrainModelRequest",
45
+ value: input2
46
+ })) && $vo0(input2, _path + "", true) || $report(true, {
47
+ path: _path + "",
48
+ expected: "AIProjectTrainModelRequest",
49
+ value: input2
50
+ });
51
+ })(input, "$input", true);
52
+ }
53
+ const success = 0 === errors.length;
54
+ return {
55
+ success,
56
+ errors,
57
+ data: success ? input : void 0
58
+ };
59
+ };
60
+ var validAIProjectTrainModelResponse = (input) => {
61
+ const errors = [];
62
+ const __is = (input2) => {
63
+ const $io0 = (input3) => "ok" === input3.status || "error" === input3.status;
64
+ return "object" === typeof input2 && null !== input2 && $io0(input2);
65
+ };
66
+ if (false === __is(input)) {
67
+ const $report = import_typia.createValidate.report(errors);
68
+ ((input2, _path, _exceptionable = true) => {
69
+ const $vo0 = (input3, _path2, _exceptionable2 = true) => ["ok" === input3.status || "error" === input3.status || $report(_exceptionable2, {
70
+ path: _path2 + ".status",
71
+ expected: '("error" | "ok")',
72
+ value: input3.status
73
+ })].every((flag) => flag);
74
+ return ("object" === typeof input2 && null !== input2 || $report(true, {
75
+ path: _path + "",
76
+ expected: "AIProjectTrainModelResponse",
77
+ value: input2
78
+ })) && $vo0(input2, _path + "", true) || $report(true, {
79
+ path: _path + "",
80
+ expected: "AIProjectTrainModelResponse",
81
+ value: input2
82
+ });
83
+ })(input, "$input", true);
84
+ }
85
+ const success = 0 === errors.length;
86
+ return {
87
+ success,
88
+ errors,
89
+ data: success ? input : void 0
90
+ };
91
+ };
92
+
93
+ export {
94
+ aiProjectTrainModelPayload,
95
+ validAIProjectTrainModelRequest,
96
+ validAIProjectTrainModelResponse
97
+ };