@kissflow/lowcode-client-sdk 1.0.27 → 1.0.28

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/dist/index.d.ts CHANGED
@@ -121,7 +121,13 @@ declare module "types/external" {
121
121
  _id: string;
122
122
  Name: string;
123
123
  Email: string;
124
+ /** @deprecated Use AppRoles instead. */
124
125
  Role: string;
126
+ AppRoles: rolesObject[];
127
+ };
128
+ export type rolesObject = {
129
+ _id: string;
130
+ Name: string;
125
131
  };
126
132
  export type accountObject = {
127
133
  _id: string;
package/dist/lowcode.d.ts CHANGED
@@ -156,7 +156,13 @@ declare module "types/external" {
156
156
  _id: string;
157
157
  Name: string;
158
158
  Email: string;
159
+ /** @deprecated Use AppRoles instead. */
159
160
  Role: string;
161
+ AppRoles: rolesObject[];
162
+ };
163
+ export type rolesObject = {
164
+ _id: string;
165
+ Name: string;
160
166
  };
161
167
  export type accountObject = {
162
168
  _id: string;
@@ -103,35 +103,42 @@ declare class kf {
103
103
  static api(url: string, args?: FetchOptions): Promise<any>;
104
104
  }
105
105
  declare type userObject = {
106
- _id: string;
107
- Name: string;
108
- Email: string;
109
- Role: string;
106
+ _id: string;
107
+ Name: string;
108
+ Email: string;
109
+ /** @deprecated Use AppRoles instead. */
110
+ Role: string;
111
+ AppRoles: rolesObject[];
112
+ };
113
+
114
+ declare type rolesObject = {
115
+ _id: string;
116
+ Name: string;
110
117
  };
111
118
 
112
119
  declare type accountObject = {
113
- _id: string;
120
+ _id: string;
114
121
  };
115
122
 
116
123
  declare type environmentObject = {
117
- isMobile: boolean
118
- }
124
+ isMobile: boolean;
125
+ };
119
126
 
120
127
  declare type BoardItem = {
121
- _id: string;
122
- }
128
+ _id: string;
129
+ };
123
130
 
124
131
  declare type DataformItem = {
125
- _id: string;
126
- }
132
+ _id: string;
133
+ };
127
134
 
128
135
  declare type ProcessItem = {
129
- _id: string;
130
- _activity_instance_id: string;
131
- }
136
+ _id: string;
137
+ _activity_instance_id: string;
138
+ };
132
139
 
133
140
  declare type FetchOptions = {
134
- method?: string,
135
- body?: string | object;
136
- headers?: object;
137
- }
141
+ method?: string;
142
+ body?: string | object;
143
+ headers?: object;
144
+ };
package/dist/nocode.d.ts CHANGED
@@ -165,7 +165,13 @@ declare module "types/external" {
165
165
  _id: string;
166
166
  Name: string;
167
167
  Email: string;
168
+ /** @deprecated Use AppRoles instead. */
168
169
  Role: string;
170
+ AppRoles: rolesObject[];
171
+ };
172
+ export type rolesObject = {
173
+ _id: string;
174
+ Name: string;
169
175
  };
170
176
  export type accountObject = {
171
177
  _id: string;
@@ -49,35 +49,42 @@ declare class kf {
49
49
  static api(url: string, args?: FetchOptions): Promise<any>;
50
50
  }
51
51
  declare type userObject = {
52
- _id: string;
53
- Name: string;
54
- Email: string;
55
- Role: string;
52
+ _id: string;
53
+ Name: string;
54
+ Email: string;
55
+ /** @deprecated Use AppRoles instead. */
56
+ Role: string;
57
+ AppRoles: rolesObject[];
58
+ };
59
+
60
+ declare type rolesObject = {
61
+ _id: string;
62
+ Name: string;
56
63
  };
57
64
 
58
65
  declare type accountObject = {
59
- _id: string;
66
+ _id: string;
60
67
  };
61
68
 
62
69
  declare type environmentObject = {
63
- isMobile: boolean
64
- }
70
+ isMobile: boolean;
71
+ };
65
72
 
66
73
  declare type BoardItem = {
67
- _id: string;
68
- }
74
+ _id: string;
75
+ };
69
76
 
70
77
  declare type DataformItem = {
71
- _id: string;
72
- }
78
+ _id: string;
79
+ };
73
80
 
74
81
  declare type ProcessItem = {
75
- _id: string;
76
- _activity_instance_id: string;
77
- }
82
+ _id: string;
83
+ _activity_instance_id: string;
84
+ };
78
85
 
79
86
  declare type FetchOptions = {
80
- method?: string,
81
- body?: string | object;
82
- headers?: object;
83
- }
87
+ method?: string;
88
+ body?: string | object;
89
+ headers?: object;
90
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kissflow/lowcode-client-sdk",
3
- "version": "1.0.27",
3
+ "version": "1.0.28",
4
4
  "description": "JavaScript SDK for developing over the Kissflow lowcode platform",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [