gant-core 0.1.48 → 0.1.50

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.
@@ -11,6 +11,7 @@ declare global {
11
11
 
12
12
  module '*.css' {
13
13
  const classes: CSSModuleClasses;
14
+ export default classes;
14
15
  }
15
16
  module '*.scss' {
16
17
  const classes: CSSModuleClasses;
package/lib/index.d.ts CHANGED
@@ -1791,7 +1791,7 @@ type SYSMGMT_CONFIG_TYPE = {
1791
1791
  ediable?: boolean;
1792
1792
  updatePassword?: boolean;
1793
1793
  storageClear?: boolean;
1794
- staffNumberFormat: RegExp;
1794
+ staffNumberFormat?: RegExp;
1795
1795
  };
1796
1796
  workflowConfig?: {
1797
1797
  onStartAutoSelectOwner?: boolean;
@@ -1958,7 +1958,7 @@ interface UserAggregateInfo {
1958
1958
  isSuperAdmin: boolean;
1959
1959
  roles: any[];
1960
1960
  startMenus: any[];
1961
- user: any;
1961
+ user: User;
1962
1962
  }
1963
1963
  interface User {
1964
1964
  extOrganizationIds?: string[];
@@ -1968,6 +1968,14 @@ interface User {
1968
1968
  userLoginName: string;
1969
1969
  userName: string;
1970
1970
  pictureId?: string;
1971
+ gender?: string;
1972
+ userType?: string;
1973
+ organizationId: string;
1974
+ organizationIdDisplayName?: string;
1975
+ position?: string;
1976
+ email?: string;
1977
+ mobil?: string;
1978
+ telephone?: string;
1971
1979
  }
1972
1980
  type Perferences = {
1973
1981
  numberFormat?: string;
package/lib/index.js CHANGED
@@ -704,7 +704,7 @@ class UserStore {
704
704
  const userId = this.currentUser.id;
705
705
  await setUserDataApi({
706
706
  dataType,
707
- dataId: userId,
707
+ dataId: userId + dataType,
708
708
  bigData: JSON.stringify(data),
709
709
  });
710
710
  this.userSetting[key] = data;