@tomei/sso 0.46.3 → 0.46.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -85,7 +85,7 @@ class UserSystemAccess extends general_1.ObjectBase {
85
85
  include: [
86
86
  {
87
87
  model: system_entity_1.default,
88
- attributes: ['SystemName', 'SystemCode'],
88
+ attributes: ['Name', 'SystemCode'],
89
89
  },
90
90
  {
91
91
  model: user_entity_1.default,
@@ -106,9 +106,9 @@ class UserSystemAccess extends general_1.ObjectBase {
106
106
  SystemName: userSystemAccess.System.Name,
107
107
  SystemCode: userSystemAccess.System.SystemCode,
108
108
  Status: userSystemAccess.Status,
109
- CreatedBy: userSystemAccess.CreatedByUser.FullName,
109
+ CreatedBy: userSystemAccess.CreatedBy.FullName,
110
110
  CreatedAt: userSystemAccess.CreatedAt,
111
- UpdatedBy: userSystemAccess.UpdatedByUser.FullName,
111
+ UpdatedBy: userSystemAccess.UpdatedBy.FullName,
112
112
  UpdatedAt: userSystemAccess.UpdatedAt,
113
113
  };
114
114
  }),
@@ -1 +1 @@
1
- {"version":3,"file":"user-system-access.js","sourceRoot":"","sources":["../../../../src/components/user-system-access/user-system-access.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAAwD;AACxD,mFAA6E;AAI7E,0CAAkD;AAClD,8DAAqD;AACrD,0DAAiD;AAEjD,MAAa,gBAAiB,SAAQ,oBAAU;IAc9C,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,YAAY,CAAC;IAC3B,CAAC;IAED,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,YAAY,CAAC;IAC3B,CAAC;IAID,YAAoB,oBAAwC;QAC1D,KAAK,EAAE,CAAC;QAhCV,eAAU,GAAG,kBAAkB,CAAC;QAChC,cAAS,GAAG,sBAAsB,CAAC;QAgCjC,IAAI,oBAAoB,EAAE;Y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a,CAAC,QAAQ;4BAClD,SAAS,EAAE,gBAAgB,CAAC,SAAS;4BACrC,SAAS,EAAE,gBAAgB,CAAC,aAAa,CAAC,QAAQ;4BAClD,SAAS,EAAE,gBAAgB,CAAC,SAAS;yBACtC,CAAC;oBACJ,CAAC,CAAC;oBACF,UAAU,EAAE;wBACV,WAAW,EAAE,UAAU,CAAC,IAAI;wBAC5B,QAAQ,EAAE,UAAU,CAAC,KAAK;wBAC1B,YAAY,EAAE,kBAAkB,CAAC,KAAK;qBACvC;iBACF,CAAC;aACH;YAAC,OAAO,KAAK,EAAE;gBACd,MAAM,KAAK,CAAC;aACb;QACH,CAAC;KAAA;;AA1KH,4CA2KC;AA7IgB,4BAAW,GAAG,IAAI,0DAA0B,EAAE,CAAC"}
1
+ {"version":3,"file":"user-system-access.js","sourceRoot":"","sources":["../../../../src/components/user-system-access/user-system-access.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAAwD;AACxD,mFAA6E;AAI7E,0CAAkD;AAClD,8DAAqD;AACrD,0DAAiD;AAEjD,MAAa,gBAAiB,SAAQ,oBAAU;IAc9C,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,YAAY,CAAC;IAC3B,CAAC;IAED,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,YAAY,CAAC;IAC3B,CAAC;IAID,YAAoB,oBAAwC;QAC1D,KAAK,EAAE,CAAC;QAhCV,eAAU,GAAG,kBAAkB,CAAC;QAChC,cAAS,GAAG,sBAAsB,CAAC;QAgCjC,IAAI,oBAAoB,EAAE;YACxB,IAAI,CAAC,kBAAkB,GAAG,oBAAoB,CAAC,kBAAkB,CAAC;YAClE,IAAI,CAAC,MAAM,GAAG,oBAAoB,CAAC,MAAM,CAAC;YAC1C,IAAI,CAAC,UAAU,GAAG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AS;yBACtC,CAAC;oBACJ,CAAC,CAAC;oBACF,UAAU,EAAE;wBACV,WAAW,EAAE,UAAU,CAAC,IAAI;wBAC5B,QAAQ,EAAE,UAAU,CAAC,KAAK;wBAC1B,YAAY,EAAE,kBAAkB,CAAC,KAAK;qBACvC;iBACF,CAAC;aACH;YAAC,OAAO,KAAK,EAAE;gBACd,MAAM,KAAK,CAAC;aACb;QACH,CAAC;KAAA;;AA1KH,4CA2KC;AA7IgB,4BAAW,GAAG,IAAI,0DAA0B,EAAE,CAAC"}
@@ -12,6 +12,6 @@ export default class UserSystemAccessModel extends Model {
12
12
  UpdatedAt: Date;
13
13
  User: User;
14
14
  System: SystemModel;
15
- CreatedByUser: User;
16
- UpdatedByUser: User;
15
+ CreatedBy: User;
16
+ UpdatedBy: User;
17
17
  }
@@ -85,14 +85,14 @@ __decorate([
85
85
  as: 'CreatedBy',
86
86
  }),
87
87
  __metadata("design:type", user_entity_1.default)
88
- ], UserSystemAccessModel.prototype, "CreatedByUser", void 0);
88
+ ], UserSystemAccessModel.prototype, "CreatedBy", void 0);
89
89
  __decorate([
90
90
  (0, sequelize_typescript_1.BelongsTo)(() => user_entity_1.default, {
91
91
  foreignKey: 'UpdatedById',
92
92
  as: 'UpdatedBy',
93
93
  }),
94
94
  __metadata("design:type", user_entity_1.default)
95
- ], UserSystemAccessModel.prototype, "UpdatedByUser", void 0);
95
+ ], UserSystemAccessModel.prototype, "UpdatedBy", void 0);
96
96
  UserSystemAccessModel = __decorate([
97
97
  (0, sequelize_typescript_1.Table)({
98
98
  tableName: 'sso_UserSystemAccess',
@@ -1 +1 @@
1
- {"version":3,"file":"user-system-access.entity.js","sourceRoot":"","sources":["../../../src/models/user-system-access.entity.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAS8B;AAC9B,+CAAiC;AACjC,mDAA0C;AAQ3B,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,4BAAK;CAmEvD,CAAA;AAlEC;IAAC,IAAA,6B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;AAEpB;IAAC,IAAA,gCAAS,EAAC,GAAG,EAAE,CAAC,qBAAI,EAAE;QACrB,UAAU,EAAE,aAAa;QACzB,EAAE,EAAE,WAAW;KAChB,CAAC;8BACa,qBAAI;4DAAC;AAEpB;IAAC,IAAA,gCAAS,EAAC,GAAG,EAAE,CAAC,qBAAI,EAAE;QACrB,UAAU,EAAE,aAAa;QACzB,EAAE,EAAE,WAAW;KAChB,CAAC;8BACa,qBAAI;4DAAC;AAlED,qBAAqB;IANzC,IAAA,4BAAK,EAAC;QACL,SAAS,EAAE,sBAAsB;QACjC,UAAU,EAAE,IAAI;QAChB,SAAS,EAAE,WAAW;QACtB,SAAS,EAAE,WAAW;KACvB,CAAC;GACmB,qBAAqB,CAmEzC;kBAnEoB,qBAAqB"}
1
+ {"version":3,"file":"user-system-access.entity.js","sourceRoot":"","sources":["../../../src/models/user-system-access.entity.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAS8B;AAC9B,+CAAiC;AACjC,mDAA0C;AAQ3B,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,4BAAK;CAmEvD,CAAA;AAlEC;IAAC,IAAA,6BAAM,EAAC;QACN,UAAU,EAAE,IAAI;QAChB,IAAI,EAAE,+BAAQ,CAAC,OAAO;QACtB,SAAS,EAAE,KAAK;QAChB,aAAa,EAAE,IAAI;KACpB,CAAC;;iEACyB;AAE3B;IAAC,IAAA,iCAAU,EAAC,GAAG,EAAE,CAAC,qBAAI,CAAC;IACtB,IAAA,6BAAM,EAAC;QACN,IAAI,EAAE,+BAAQ,CAAC,OAAO;QACtB,KAAK,EAAE,QAAQ;KAChB,CAAC;;qDACa;AAEf;IAAC,IAAA,iCAAU,EAAC,GAAG,EAAE,CAAC,uBAAW,CAAC;IAC7B,IAAA,6BAAM,EAAC;QACN,IAAI,EAAE,+BAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;QACzB,SAAS,EAAE,KAAK;KACjB,CAAC;;yDACiB;AAEnB;IAAC,I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