@anzusystems/common-admin 0.0.10 → 0.0.12

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.
@@ -1219,6 +1219,15 @@ export declare const AnzuSystemsCommonAdmin: {
1219
1219
  export declare interface AnzuUser extends AnzuUserAndTimeTrackingAware {
1220
1220
  id: IntegerId;
1221
1221
  email: string;
1222
+ person: {
1223
+ firstName: string;
1224
+ lastName: string;
1225
+ fullName: string;
1226
+ };
1227
+ avatar: {
1228
+ color: string;
1229
+ text: string;
1230
+ };
1222
1231
  enabled: boolean;
1223
1232
  roles: string[];
1224
1233
  permissionGroups: IntegerId[];
@@ -1497,6 +1506,8 @@ export declare const isBoolean: (value: unknown) => value is boolean;
1497
1506
 
1498
1507
  export declare const isCreatedByAware: (value: object) => value is CreatedByAware;
1499
1508
 
1509
+ export declare const isDefined: <T>(value: T | undefined) => value is T;
1510
+
1500
1511
  export declare const isDocId: (value: unknown) => value is string;
1501
1512
 
1502
1513
  export declare const isEmpty: (value: unknown) => boolean;
@@ -8064,6 +8064,15 @@ function as(t = "", n = "user") {
8064
8064
  createdAt: cn(),
8065
8065
  createdBy: 0,
8066
8066
  email: "",
8067
+ avatar: {
8068
+ color: "",
8069
+ text: ""
8070
+ },
8071
+ person: {
8072
+ firstName: "",
8073
+ fullName: "",
8074
+ lastName: ""
8075
+ },
8067
8076
  enabled: !1,
8068
8077
  modifiedAt: cn(),
8069
8078
  modifiedBy: 0,
@@ -8447,6 +8456,7 @@ export {
8447
8456
  Re as isArray,
8448
8457
  ha as isBoolean,
8449
8458
  go as isCreatedByAware,
8459
+ pa as isDefined,
8450
8460
  Dl as isDocId,
8451
8461
  Or as isEmpty,
8452
8462
  Tr as isEmptyArray,