@scx-js/scx-app-x 0.0.2 → 0.0.3

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/index.js CHANGED
@@ -2,3 +2,9 @@ export * from "./scx_fss/FSSHelper.js";
2
2
  export * from "./scx_fss/FSSObject.js";
3
3
  export * from "./scx_fss/JoinImageURLOptions.js";
4
4
  export * from "./scx_fss/ScxFSS.js";
5
+ export * from "./scx_crud/BatchDeleteResult.js";
6
+ export * from "./scx_crud/CheckUniqueResult.js";
7
+ export * from "./scx_crud/CRUDListParam.js";
8
+ export * from "./scx_crud/CRUDUpdateParam.js";
9
+ export * from "./scx_crud/ListResult.js";
10
+ export * from "./scx_crud/ScxCrud.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scx-js/scx-app-x",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "SCX App X",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -0,0 +1,12 @@
1
+ class BatchDeleteResult {
2
+
3
+ /**
4
+ * @type {Number}
5
+ */
6
+ deletedCount;
7
+
8
+ }
9
+
10
+ export {
11
+ BatchDeleteResult,
12
+ };
@@ -0,0 +1,16 @@
1
+ class CRUDListParam {
2
+
3
+ /**
4
+ * @type {Query}
5
+ */
6
+ query;
7
+
8
+ fieldFilter;
9
+
10
+ extParams;
11
+
12
+ }
13
+
14
+ export {
15
+ CRUDListParam,
16
+ };
@@ -0,0 +1,16 @@
1
+ class CRUDUpdateParam {
2
+
3
+ /**
4
+ * @type {Object}
5
+ */
6
+ updateModel;
7
+
8
+ /**
9
+ * @type {String[]}
10
+ */
11
+ needUpdateFieldNames;
12
+ }
13
+
14
+ export {
15
+ CRUDUpdateParam,
16
+ };
@@ -0,0 +1,11 @@
1
+ class CheckUniqueResult {
2
+
3
+ /**
4
+ * @type {Boolean}
5
+ */
6
+ isUnique;
7
+ }
8
+
9
+ export {
10
+ CheckUniqueResult,
11
+ };
@@ -0,0 +1,17 @@
1
+ class ListResult {
2
+
3
+ /**
4
+ * @type {Object[]}
5
+ */
6
+ items;
7
+
8
+ /**
9
+ * @type {Number}
10
+ */
11
+ total;
12
+
13
+ }
14
+
15
+ export {
16
+ ListResult,
17
+ };
@@ -2,64 +2,6 @@ import {QUERY_SERIALIZER} from "@scx-js/scx-data/query/serializer/QuerySerialize
2
2
  import {FIELD_FILTER_SERIALIZER} from "@scx-js/scx-data/field_filter/serializer/FieldFilterSerializer.js";
3
3
 
4
4
 
5
- class CRUDListParam {
6
-
7
- /**
8
- * @type {Query}
9
- */
10
- query;
11
-
12
- fieldFilter;
13
-
14
- extParams;
15
-
16
- }
17
-
18
- class CRUDUpdateParam {
19
-
20
- /**
21
- * @type {Object}
22
- */
23
- updateModel;
24
-
25
- /**
26
- * @type {String[]}
27
- */
28
- needUpdateFieldNames;
29
-
30
- }
31
-
32
- class ListResult {
33
-
34
- /**
35
- * @type {Object[]}
36
- */
37
- items;
38
-
39
- /**
40
- * @type {Number}
41
- */
42
- total;
43
-
44
- }
45
-
46
- class BatchDeleteResult {
47
-
48
- /**
49
- * @type {Number}
50
- */
51
- deletedCount;
52
-
53
- }
54
-
55
- class CheckUniqueResult {
56
-
57
- /**
58
- * @type {Boolean}
59
- */
60
- isUnique;
61
- }
62
-
63
5
  class ScxCrud {
64
6
 
65
7
  /**
@@ -170,10 +112,5 @@ function serializeCRUDListParam(crudListParam) {
170
112
 
171
113
  export {
172
114
  ScxCrud,
173
- CRUDListParam,
174
- CRUDUpdateParam,
175
- ListResult,
176
- BatchDeleteResult,
177
- CheckUniqueResult,
178
115
  serializeCRUDListParam,
179
116
  };