easywork-common-lib 1.0.780 → 1.0.782

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.
@@ -1,5 +1,4 @@
1
1
  import { EntityBase } from '../common/database/base.entity';
2
- import { User } from './user.entity';
3
2
  export declare class GoogleOAuthCredentials extends EntityBase {
4
3
  email: string;
5
4
  accessToken: string;
@@ -7,5 +6,4 @@ export declare class GoogleOAuthCredentials extends EntityBase {
7
6
  tokenExpiry: Date;
8
7
  clientId: string;
9
8
  clientSecret: string;
10
- owner: User;
11
9
  }
@@ -12,7 +12,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.GoogleOAuthCredentials = void 0;
13
13
  const typeorm_1 = require("typeorm");
14
14
  const base_entity_1 = require("../common/database/base.entity");
15
- const user_entity_1 = require("./user.entity");
16
15
  let GoogleOAuthCredentials = class GoogleOAuthCredentials extends base_entity_1.EntityBase {
17
16
  email;
18
17
  accessToken;
@@ -20,7 +19,6 @@ let GoogleOAuthCredentials = class GoogleOAuthCredentials extends base_entity_1.
20
19
  tokenExpiry;
21
20
  clientId;
22
21
  clientSecret;
23
- owner;
24
22
  };
25
23
  exports.GoogleOAuthCredentials = GoogleOAuthCredentials;
26
24
  __decorate([
@@ -47,15 +45,6 @@ __decorate([
47
45
  (0, typeorm_1.Column)({ type: 'text' }),
48
46
  __metadata("design:type", String)
49
47
  ], GoogleOAuthCredentials.prototype, "clientSecret", void 0);
50
- __decorate([
51
- (0, typeorm_1.ManyToOne)(() => user_entity_1.User, {
52
- onDelete: 'SET NULL',
53
- onUpdate: 'CASCADE',
54
- nullable: false,
55
- }),
56
- (0, typeorm_1.JoinColumn)(),
57
- __metadata("design:type", user_entity_1.User)
58
- ], GoogleOAuthCredentials.prototype, "owner", void 0);
59
48
  exports.GoogleOAuthCredentials = GoogleOAuthCredentials = __decorate([
60
49
  (0, typeorm_1.Entity)()
61
50
  ], GoogleOAuthCredentials);
@@ -1 +1 @@
1
- {"version":3,"file":"google-oauth-credentials.entity.js","sourceRoot":"","sources":["../../src/entities/google-oauth-credentials.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgE;AAChE,gEAA4D;AAC5D,+CAAqC;AAG9B,IAAM,sBAAsB,GAA5B,MAAM,sBAAuB,SAAQ,wBAAU;IAEpD,KAAK,CAAS;IAGd,WAAW,CAAS;IAGpB,YAAY,CAAS;IAGrB,WAAW,CAAO;IAGlB,QAAQ,CAAS;IAGjB,YAAY,CAAS;IAQrB,KAAK,CAAO;CACb,CAAA;AA1BY,wDAAsB;AAEjC;IADC,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;qDACX;AAGd;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;2DACL;AAGpB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;4DACJ;AAGrB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;8BACjB,IAAI;2DAAC;AAGlB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;wDACR;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;4DACJ;AAQrB;IANC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE;QACrB,QAAQ,EAAE,UAAU;QACpB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,IAAA,oBAAU,GAAE;8BACN,kBAAI;qDAAC;iCAzBD,sBAAsB;IADlC,IAAA,gBAAM,GAAE;GACI,sBAAsB,CA0BlC"}
1
+ {"version":3,"file":"google-oauth-credentials.entity.js","sourceRoot":"","sources":["../../src/entities/google-oauth-credentials.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAyC;AACzC,gEAA4D;AAIrD,IAAM,sBAAsB,GAA5B,MAAM,sBAAuB,SAAQ,wBAAU;IAEpD,KAAK,CAAS;IAGd,WAAW,CAAS;IAGpB,YAAY,CAAS;IAGrB,WAAW,CAAO;IAGlB,QAAQ,CAAS;IAGjB,YAAY,CAAS;CAStB,CAAA;AA1BY,wDAAsB;AAEjC;IADC,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;qDACX;AAGd;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;2DACL;AAGpB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;4DACJ;AAGrB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;8BACjB,IAAI;2DAAC;AAGlB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;wDACR;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;4DACJ;iCAjBV,sBAAsB;IADlC,IAAA,gBAAM,GAAE;GACI,sBAAsB,CA0BlC"}
@@ -1,33 +1,34 @@
1
- export * from "./protocol.entity";
2
- export * from "./otp-log.entity";
3
- export * from "./refresh-token.entity";
4
- export * from "./permission.entity";
5
- export * from "./phone.entity";
6
- export * from "./email.entity";
7
- export * from "./app_config/app-config.entity";
8
- export * from "./imap-config.entity";
9
- export * from "./tag.entity";
10
- export * from "./tools";
11
- export * from "./drive";
12
- export * from "./sales";
13
- export * from "./helpers";
14
- export * from "./notifications";
15
- export * from "./capacitation";
16
- export * from "./easyapp/filter-view.entity";
17
- export * from "./thirdparty/oauth.entity";
18
- export * from "./thirdparty/service.entity";
19
- export * from "./thirdparty/email.entity";
20
- export * from "./thirdparty/email-config.entity";
21
- export * from "./thirdparty/user-email-relation.entity";
22
- export * from "./currency.entity";
23
- export * from "./user.entity";
24
- export * from "./group.entity";
25
- export * from "./menu-permissions.entity";
26
- export * from "./profile.entity";
27
- export * from "./role.entity";
28
- export * from "./tools/calendar/event-list-calendars.entity";
29
- export * from "./meeting-comment.entity";
30
- export * from "./meeting.entity";
31
- export * from "./user-invitations.entity";
32
- export * from "./login-history.entity";
33
- export * from "./policy";
1
+ export * from './protocol.entity';
2
+ export * from './otp-log.entity';
3
+ export * from './refresh-token.entity';
4
+ export * from './permission.entity';
5
+ export * from './phone.entity';
6
+ export * from './email.entity';
7
+ export * from './app_config/app-config.entity';
8
+ export * from './imap-config.entity';
9
+ export * from './tag.entity';
10
+ export * from './tools';
11
+ export * from './drive';
12
+ export * from './sales';
13
+ export * from './helpers';
14
+ export * from './notifications';
15
+ export * from './capacitation';
16
+ export * from './easyapp/filter-view.entity';
17
+ export * from './thirdparty/oauth.entity';
18
+ export * from './thirdparty/service.entity';
19
+ export * from './thirdparty/email.entity';
20
+ export * from './thirdparty/email-config.entity';
21
+ export * from './thirdparty/user-email-relation.entity';
22
+ export * from './currency.entity';
23
+ export * from './user.entity';
24
+ export * from './group.entity';
25
+ export * from './menu-permissions.entity';
26
+ export * from './profile.entity';
27
+ export * from './role.entity';
28
+ export * from './tools/calendar/event-list-calendars.entity';
29
+ export * from './meeting-comment.entity';
30
+ export * from './meeting.entity';
31
+ export * from './user-invitations.entity';
32
+ export * from './login-history.entity';
33
+ export * from './policy';
34
+ export * from './google-oauth-credentials.entity';
@@ -47,4 +47,5 @@ __exportStar(require("./meeting.entity"), exports);
47
47
  __exportStar(require("./user-invitations.entity"), exports);
48
48
  __exportStar(require("./login-history.entity"), exports);
49
49
  __exportStar(require("./policy"), exports);
50
+ __exportStar(require("./google-oauth-credentials.entity"), exports);
50
51
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,mDAAiC;AACjC,yDAAuC;AACvC,sDAAoC;AACpC,iDAA+B;AAC/B,iDAA+B;AAC/B,iEAA+C;AAC/C,uDAAqC;AACrC,+CAA6B;AAC7B,0CAAwB;AACxB,0CAAwB;AACxB,0CAAwB;AACxB,4CAA0B;AAC1B,kDAAgC;AAChC,iDAA+B;AAC/B,+DAA6C;AAC7C,4DAA0C;AAC1C,8DAA4C;AAC5C,4DAA0C;AAC1C,mEAAiD;AACjD,0EAAwD;AACxD,oDAAkC;AAClC,gDAA8B;AAC9B,iDAA+B;AAC/B,4DAA0C;AAC1C,mDAAiC;AACjC,gDAA8B;AAC9B,+EAA6D;AAC7D,2DAAyC;AACzC,mDAAiC;AACjC,4DAA0C;AAC1C,yDAAuC;AACvC,2CAAyB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,mDAAiC;AACjC,yDAAuC;AACvC,sDAAoC;AACpC,iDAA+B;AAC/B,iDAA+B;AAC/B,iEAA+C;AAC/C,uDAAqC;AACrC,+CAA6B;AAC7B,0CAAwB;AACxB,0CAAwB;AACxB,0CAAwB;AACxB,4CAA0B;AAC1B,kDAAgC;AAChC,iDAA+B;AAC/B,+DAA6C;AAC7C,4DAA0C;AAC1C,8DAA4C;AAC5C,4DAA0C;AAC1C,mEAAiD;AACjD,0EAAwD;AACxD,oDAAkC;AAClC,gDAA8B;AAC9B,iDAA+B;AAC/B,4DAA0C;AAC1C,mDAAiC;AACjC,gDAA8B;AAC9B,+EAA6D;AAC7D,2DAAyC;AACzC,mDAAiC;AACjC,4DAA0C;AAC1C,yDAAuC;AACvC,2CAAyB;AACzB,oEAAkD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easywork-common-lib",
3
- "version": "1.0.780",
3
+ "version": "1.0.782",
4
4
  "description": "Librería común de Easywork",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {