@cloudbase/cals 1.2.15 → 1.2.17-alpha.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.
@@ -283,6 +283,20 @@ declare namespace __w__ {
283
283
  */
284
284
  name?: string;
285
285
  }[];
286
+ /**
287
+ * 用户登录类型
288
+ *
289
+ * @privateForWeDa
290
+ * {"group": "sysVar", "displayType": "string", "displayName": "用户登录类型"}
291
+ */
292
+ userType?: string;
293
+ /**
294
+ * 用户描述
295
+ *
296
+ * @privateForWeDa
297
+ * {"group": "sysVar", "displayType": "string", "displayName": "用户描述"}
298
+ */
299
+ userDesc?: string;
286
300
  }
287
301
 
288
302
  /**
@@ -295,7 +309,7 @@ function getUserInfo(): CurrentUserInfo;
295
309
  * 登录用户信息
296
310
  *
297
311
  * @privateForWeDa
298
- * {"group": "sysVar", "displayType": "object", "displayName": "登录用户信息", "schema": {"type":"object","properties":{"userId":{"type":"string","title":"用户 ID"},"phone":{"type":"string","title":"手机"},"type":{"type":"number","title":"用户类型"},"relatedRoles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","title":"角色 ID"},"envId":{"type":"string","title":"环境 ID"},"name":{"type":"string","title":"角色名称"},"roleIdentity":{"type":"string","title":"角色标识"}}},"title":"用户关联角色"},"openId":{"type":"string","title":"微信 openId"},"name":{"type":"string","title":"用户名称"},"nickName":{"type":"string","title":"用户昵称"},"avatarUrl":{"type":"string","title":"用户头像"},"email":{"type":"string","title":"邮箱"},"mainOrg":{"type":"object","properties":{"id":{"type":"string","title":"主岗部门 ID"},"name":{"type":"string","title":"主岗部门名称"}},"title":"主岗部门"},"orgs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","title":"兼岗部门 ID"},"name":{"type":"string","title":"兼岗部门名称"}}},"title":"兼岗部门"}}}, "doc": "https://docs.cloudbase.net/lowcode/framework/app/app#authgetuserinfoauthcurrentuser"}
312
+ * {"group": "sysVar", "displayType": "object", "displayName": "登录用户信息", "schema": {"type":"object","properties":{"userId":{"type":"string","title":"用户 ID"},"phone":{"type":"string","title":"手机"},"type":{"type":"number","title":"用户类型"},"relatedRoles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","title":"角色 ID"},"envId":{"type":"string","title":"环境 ID"},"name":{"type":"string","title":"角色名称"},"roleIdentity":{"type":"string","title":"角色标识"}}},"title":"用户关联角色"},"openId":{"type":"string","title":"微信 openId"},"name":{"type":"string","title":"用户名称"},"nickName":{"type":"string","title":"用户昵称"},"avatarUrl":{"type":"string","title":"用户头像"},"email":{"type":"string","title":"邮箱"},"mainOrg":{"type":"object","properties":{"id":{"type":"string","title":"主岗部门 ID"},"name":{"type":"string","title":"主岗部门名称"}},"title":"主岗部门"},"orgs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","title":"兼岗部门 ID"},"name":{"type":"string","title":"兼岗部门名称"}}},"title":"兼岗部门"},"userType":{"type":"string","title":"用户登录类型"},"userDesc":{"type":"string","title":"用户描述"}}}, "doc": "https://docs.cloudbase.net/lowcode/framework/app/app#authgetuserinfoauthcurrentuser"}
299
313
  */
300
314
  const currentUser: CurrentUserInfo;
301
315
 
@@ -539,6 +553,8 @@ function ai(): Promise<AI>;
539
553
  success?: (res: any) => void;
540
554
  fail?: (res: any) => void;
541
555
  complete?: (res: any) => void;
556
+
557
+ [key: string]: any;
542
558
  }
543
559
 
544
560
  interface navigateBackOptions {
@@ -824,7 +840,7 @@ const isEditorMode: boolean;
824
840
  * @privateForWeDa
825
841
  * {"group": "sysVar", "displayType": "string", "displayName": "应用运行终端"}
826
842
  */
827
- const platforms: ('WEB' | 'MOBILEWEB' | 'PCWEB' | 'MP')[];
843
+ const platforms: ('WEB' | 'MOBILEWEB' | 'PCWEB' | 'MP' | 'MOBILE')[];
828
844
 
829
845
  }
830
846