@szjy/workflow 0.1.18 → 0.1.19

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,7 +8,7 @@ declare const _default: import("vue").DefineComponent<{
8
8
  };
9
9
  getUserValue: {
10
10
  type: PropType<(element: Element) => UserJSON>;
11
- default: (element: Element) => any;
11
+ default: (element: Element) => Partial<UserJSON>;
12
12
  };
13
13
  updateUserValue: {
14
14
  type: PropType<(element: Element, newUser: UserJSON) => void>;
@@ -25,7 +25,7 @@ declare const _default: import("vue").DefineComponent<{
25
25
  };
26
26
  getUserValue: {
27
27
  type: PropType<(element: Element) => UserJSON>;
28
- default: (element: Element) => any;
28
+ default: (element: Element) => Partial<UserJSON>;
29
29
  };
30
30
  updateUserValue: {
31
31
  type: PropType<(element: Element, newUser: UserJSON) => void>;
@@ -12,5 +12,6 @@ export declare const DEFAULT_USER_JSON: {
12
12
  userId: string;
13
13
  };
14
14
  export declare const addUserItem: (element: Element, userJson: Partial<UserJSON>) => void;
15
- export declare const getUserValue: (element: Element) => any;
15
+ export declare const fixUserRelated: (userJson: Partial<UserJSON>) => void;
16
+ export declare const getUserValue: (element: Element) => Partial<UserJSON>;
16
17
  export declare const updateUserValue: (element: Element, userJson: UserJSON) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@szjy/workflow",
3
- "version": "0.1.18",
3
+ "version": "0.1.19",
4
4
  "main": "dist/index.umd.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
@@ -36,6 +36,7 @@
36
36
  "devDependencies": {
37
37
  "@vitejs/plugin-vue": "^5.0.4",
38
38
  "@vitejs/plugin-vue-jsx": "^3.1.0",
39
+ "code-inspector-plugin": "^0.15.2",
39
40
  "commit-and-tag-version": "^12.2.0",
40
41
  "fast-glob": "^3.3.2",
41
42
  "less": "^4.2.0",