@sjcrh/proteinpaint-types 2.99.1-1 → 2.99.1-2

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.
@@ -0,0 +1,89 @@
1
+ import {
2
+ __toESM,
3
+ require_lib
4
+ } from "./chunk-Z6B6IQIY.js";
5
+
6
+ // dist/clearwsisession.ts
7
+ var import_typia = __toESM(require_lib(), 1);
8
+
9
+ // src/routes/clearwsisessions.ts
10
+ var clearWSImagesSessionsPayload = {
11
+ request: {
12
+ typeId: "ClearWSImagesSessionsRequest"
13
+ },
14
+ response: {
15
+ typeId: "ClearWSImagesSessionsResponse"
16
+ }
17
+ // examples: []
18
+ };
19
+
20
+ // dist/clearwsisession.ts
21
+ var validClearWSImagesSessionsRequest = (input) => {
22
+ const errors = [];
23
+ const __is = (input2) => {
24
+ const $io0 = (input3) => Array.isArray(input3.sessions);
25
+ return "object" === typeof input2 && null !== input2 && $io0(input2);
26
+ };
27
+ if (false === __is(input)) {
28
+ const $report = import_typia.createValidate.report(errors);
29
+ ((input2, _path, _exceptionable = true) => {
30
+ const $vo0 = (input3, _path2, _exceptionable2 = true) => [Array.isArray(input3.sessions) || $report(_exceptionable2, {
31
+ path: _path2 + ".sessions",
32
+ expected: "Array<any>",
33
+ value: input3.sessions
34
+ })].every((flag) => flag);
35
+ return ("object" === typeof input2 && null !== input2 || $report(true, {
36
+ path: _path + "",
37
+ expected: "ClearWSImagesSessionsRequest",
38
+ value: input2
39
+ })) && $vo0(input2, _path + "", true) || $report(true, {
40
+ path: _path + "",
41
+ expected: "ClearWSImagesSessionsRequest",
42
+ value: input2
43
+ });
44
+ })(input, "$input", true);
45
+ }
46
+ const success = 0 === errors.length;
47
+ return {
48
+ success,
49
+ errors,
50
+ data: success ? input : void 0
51
+ };
52
+ };
53
+ var validClearWSImagesSessionsResponse = (input) => {
54
+ const errors = [];
55
+ const __is = (input2) => {
56
+ return "object" === typeof input2 && null !== input2 && "string" === typeof input2.message;
57
+ };
58
+ if (false === __is(input)) {
59
+ const $report = import_typia.createValidate.report(errors);
60
+ ((input2, _path, _exceptionable = true) => {
61
+ const $vo0 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.message || $report(_exceptionable2, {
62
+ path: _path2 + ".message",
63
+ expected: "string",
64
+ value: input3.message
65
+ })].every((flag) => flag);
66
+ return ("object" === typeof input2 && null !== input2 || $report(true, {
67
+ path: _path + "",
68
+ expected: "ClearWSImagesSessionsResponse",
69
+ value: input2
70
+ })) && $vo0(input2, _path + "", true) || $report(true, {
71
+ path: _path + "",
72
+ expected: "ClearWSImagesSessionsResponse",
73
+ value: input2
74
+ });
75
+ })(input, "$input", true);
76
+ }
77
+ const success = 0 === errors.length;
78
+ return {
79
+ success,
80
+ errors,
81
+ data: success ? input : void 0
82
+ };
83
+ };
84
+
85
+ export {
86
+ clearWSImagesSessionsPayload,
87
+ validClearWSImagesSessionsRequest,
88
+ validClearWSImagesSessionsResponse
89
+ };
@@ -1,86 +1,9 @@
1
1
  import {
2
- __toESM,
3
- require_lib
4
- } from "./chunk-Z6B6IQIY.js";
5
-
6
- // dist/clearwsisession.ts
7
- var import_typia = __toESM(require_lib(), 1);
8
-
9
- // src/routes/clearwsisessions.ts
10
- var clearWSImagesSessionsPayload = {
11
- request: {
12
- typeId: "ClearWSImagesSessionsRequest"
13
- },
14
- response: {
15
- typeId: "ClearWSImagesSessionsResponse"
16
- }
17
- // examples: []
18
- };
19
-
20
- // dist/clearwsisession.ts
21
- var validClearWSImagesSessionsRequest = (input) => {
22
- const errors = [];
23
- const __is = (input2) => {
24
- const $io0 = (input3) => Array.isArray(input3.sessions);
25
- return "object" === typeof input2 && null !== input2 && $io0(input2);
26
- };
27
- if (false === __is(input)) {
28
- const $report = import_typia.createValidate.report(errors);
29
- ((input2, _path, _exceptionable = true) => {
30
- const $vo0 = (input3, _path2, _exceptionable2 = true) => [Array.isArray(input3.sessions) || $report(_exceptionable2, {
31
- path: _path2 + ".sessions",
32
- expected: "Array<any>",
33
- value: input3.sessions
34
- })].every((flag) => flag);
35
- return ("object" === typeof input2 && null !== input2 || $report(true, {
36
- path: _path + "",
37
- expected: "ClearWSImagesSessionsRequest",
38
- value: input2
39
- })) && $vo0(input2, _path + "", true) || $report(true, {
40
- path: _path + "",
41
- expected: "ClearWSImagesSessionsRequest",
42
- value: input2
43
- });
44
- })(input, "$input", true);
45
- }
46
- const success = 0 === errors.length;
47
- return {
48
- success,
49
- errors,
50
- data: success ? input : void 0
51
- };
52
- };
53
- var validClearWSImagesSessionsResponse = (input) => {
54
- const errors = [];
55
- const __is = (input2) => {
56
- return "object" === typeof input2 && null !== input2 && "string" === typeof input2.message;
57
- };
58
- if (false === __is(input)) {
59
- const $report = import_typia.createValidate.report(errors);
60
- ((input2, _path, _exceptionable = true) => {
61
- const $vo0 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.message || $report(_exceptionable2, {
62
- path: _path2 + ".message",
63
- expected: "string",
64
- value: input3.message
65
- })].every((flag) => flag);
66
- return ("object" === typeof input2 && null !== input2 || $report(true, {
67
- path: _path + "",
68
- expected: "ClearWSImagesSessionsResponse",
69
- value: input2
70
- })) && $vo0(input2, _path + "", true) || $report(true, {
71
- path: _path + "",
72
- expected: "ClearWSImagesSessionsResponse",
73
- value: input2
74
- });
75
- })(input, "$input", true);
76
- }
77
- const success = 0 === errors.length;
78
- return {
79
- success,
80
- errors,
81
- data: success ? input : void 0
82
- };
83
- };
2
+ clearWSImagesSessionsPayload,
3
+ validClearWSImagesSessionsRequest,
4
+ validClearWSImagesSessionsResponse
5
+ } from "./chunk-GT3NJM3E.js";
6
+ import "./chunk-Z6B6IQIY.js";
84
7
  export {
85
8
  clearWSImagesSessionsPayload,
86
9
  validClearWSImagesSessionsRequest,
package/dist/index.js CHANGED
@@ -203,6 +203,11 @@ import {
203
203
  validBurdenRequest,
204
204
  validBurdenResponse
205
205
  } from "./chunk-RLFGMVJZ.js";
206
+ import {
207
+ clearWSImagesSessionsPayload,
208
+ validClearWSImagesSessionsRequest,
209
+ validClearWSImagesSessionsResponse
210
+ } from "./chunk-GT3NJM3E.js";
206
211
  import {
207
212
  CorrelationVolcanoPayload,
208
213
  validCorrelationVolcanoRequest,
@@ -231,6 +236,7 @@ export {
231
236
  brainImagingPayload,
232
237
  brainImagingSamplesPayload,
233
238
  burdenPayload,
239
+ clearWSImagesSessionsPayload,
234
240
  datasetPayload,
235
241
  descrStatsPayload,
236
242
  diffExpPayload,
@@ -278,6 +284,8 @@ export {
278
284
  validBurdenResponse,
279
285
  validCategoriesRequest,
280
286
  validCategoriesResponse,
287
+ validClearWSImagesSessionsRequest,
288
+ validClearWSImagesSessionsResponse,
281
289
  validCorrelationVolcanoRequest,
282
290
  validCorrelationVolcanoResponse,
283
291
  validDERequest,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjcrh/proteinpaint-types",
3
- "version": "2.99.1-1",
3
+ "version": "2.99.1-2",
4
4
  "type": "module",
5
5
  "description": "Shared type definitions between ProteinPaint server and client code",
6
6
  "main": "src/index.ts",