easywork-common-lib 1.0.782 → 1.0.784

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.
@@ -0,0 +1,21 @@
1
+ import { EntityBase } from '../common/database/base.entity';
2
+ export interface IGoogleCalendarConfigItem {
3
+ kind: string;
4
+ etag: string;
5
+ id: string;
6
+ summary: string;
7
+ description: string;
8
+ timeZone: string;
9
+ colorId: string;
10
+ backgroundColor: string;
11
+ foregroundColor: string;
12
+ accessRole: string;
13
+ defaultReminders: any[];
14
+ conferenceProperties: {
15
+ allowedConferenceSolutionTypes: string[];
16
+ };
17
+ }
18
+ export declare class GoogleCalendarConfig extends EntityBase {
19
+ email: string;
20
+ calendars: IGoogleCalendarConfigItem[];
21
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.GoogleCalendarConfig = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const base_entity_1 = require("../common/database/base.entity");
15
+ let GoogleCalendarConfig = class GoogleCalendarConfig extends base_entity_1.EntityBase {
16
+ email;
17
+ calendars;
18
+ };
19
+ exports.GoogleCalendarConfig = GoogleCalendarConfig;
20
+ __decorate([
21
+ (0, typeorm_1.Column)({ unique: true }),
22
+ __metadata("design:type", String)
23
+ ], GoogleCalendarConfig.prototype, "email", void 0);
24
+ __decorate([
25
+ (0, typeorm_1.Column)({ type: 'jsonb', nullable: false, default: [] }),
26
+ __metadata("design:type", Array)
27
+ ], GoogleCalendarConfig.prototype, "calendars", void 0);
28
+ exports.GoogleCalendarConfig = GoogleCalendarConfig = __decorate([
29
+ (0, typeorm_1.Entity)()
30
+ ], GoogleCalendarConfig);
31
+ //# sourceMappingURL=google-calendar-config.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"google-calendar-config.entity.js","sourceRoot":"","sources":["../../src/entities/google-calendar-config.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAyC;AACzC,gEAA4D;AAoBrD,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,wBAAU;IAElD,KAAK,CAAS;IAGd,SAAS,CAA8B;CACxC,CAAA;AANY,oDAAoB;AAE/B;IADC,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;mDACX;AAGd;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;;uDACjB;+BAL5B,oBAAoB;IADhC,IAAA,gBAAM,GAAE;GACI,oBAAoB,CAMhC"}
@@ -32,3 +32,4 @@ export * from './user-invitations.entity';
32
32
  export * from './login-history.entity';
33
33
  export * from './policy';
34
34
  export * from './google-oauth-credentials.entity';
35
+ export * from './google-calendar-config.entity';
@@ -48,4 +48,5 @@ __exportStar(require("./user-invitations.entity"), exports);
48
48
  __exportStar(require("./login-history.entity"), exports);
49
49
  __exportStar(require("./policy"), exports);
50
50
  __exportStar(require("./google-oauth-credentials.entity"), exports);
51
+ __exportStar(require("./google-calendar-config.entity"), exports);
51
52
  //# 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;AACzB,oEAAkD"}
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;AAClD,kEAAgD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easywork-common-lib",
3
- "version": "1.0.782",
3
+ "version": "1.0.784",
4
4
  "description": "Librería común de Easywork",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {