easywork-common-lib 1.0.542 → 1.0.546
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.
- package/dist/entities/capacitation/capacitation-module.entity.d.ts +1 -1
- package/dist/entities/capacitation/capacitation-module.entity.js +1 -1
- package/dist/entities/capacitation/capacitation-module.entity.js.map +1 -1
- package/dist/entities/thirdparty/oauth.entity.d.ts +2 -0
- package/dist/entities/thirdparty/oauth.entity.js +6 -0
- package/dist/entities/thirdparty/oauth.entity.js.map +1 -1
- package/dist/entities/tools/calendar/event-list-calendars.entity.d.ts +6 -0
- package/dist/entities/tools/calendar/event-list-calendars.entity.js +29 -0
- package/dist/entities/tools/calendar/event-list-calendars.entity.js.map +1 -0
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EntityBase } from '../../common/database/base.entity';
|
|
2
2
|
import { User } from '../user.entity';
|
|
3
|
-
import { Group } from '
|
|
3
|
+
import { Group } from '../group.entity';
|
|
4
4
|
export declare class CapacitationModule extends EntityBase {
|
|
5
5
|
name: string;
|
|
6
6
|
description?: string;
|
|
@@ -14,7 +14,7 @@ const typeorm_1 = require("typeorm");
|
|
|
14
14
|
const swagger_1 = require("@nestjs/swagger");
|
|
15
15
|
const base_entity_1 = require("../../common/database/base.entity");
|
|
16
16
|
const user_entity_1 = require("../user.entity");
|
|
17
|
-
const group_entity_1 = require("
|
|
17
|
+
const group_entity_1 = require("../group.entity");
|
|
18
18
|
let CapacitationModule = class CapacitationModule extends base_entity_1.EntityBase {
|
|
19
19
|
name;
|
|
20
20
|
description;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capacitation-module.entity.js","sourceRoot":"","sources":["../../../src/entities/capacitation/capacitation-module.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgE;AAChE,6CAA8C;AAE9C,mEAA+D;AAC/D,gDAAsC;AACtC,
|
|
1
|
+
{"version":3,"file":"capacitation-module.entity.js","sourceRoot":"","sources":["../../../src/entities/capacitation/capacitation-module.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgE;AAChE,6CAA8C;AAE9C,mEAA+D;AAC/D,gDAAsC;AACtC,kDAAwC;AAGjC,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,wBAAU;IAOhD,IAAI,CAAS;IAQb,WAAW,CAAU;IAIrB,QAAQ,CAAS;IAIjB,OAAO,CAAQ;IAGf,eAAe,CAAU;IAoBzB,UAAU,CAAW;IASrB,WAAW,CAAQ;CACpB,CAAA;AAxDY,gDAAkB;AAO7B;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,aAAa;QAC1B,QAAQ,EAAE,IAAI;KACf,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;gDAC5B;AAQb;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,oBAAoB;QACjC,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACpB;AAIrB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,8BAA8B,EAAE,CAAC;IAC1E,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;oDACrB;AAIjB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,WAAW,EAAE,wCAAwC,EAAE,CAAC;IAClF,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;8BACf,IAAI;mDAAC;AAGf;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;2DACF;AAoBzB;IATC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,GAAG,EAAE,CAAC,oBAAK;QACjB,WAAW,EAAE,+BAA+B;KAC7C,CAAC;IACD,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,oBAAK,EAAE;QACtB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;IACD,IAAA,oBAAU,GAAE;;sDACQ;AASrB;IAPC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAI,EAAE,WAAW,EAAE,2DAA2D,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC5H,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE;QACrB,QAAQ,EAAE,UAAU;QACpB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,IAAI;KACf,CAAC;IACD,IAAA,oBAAU,GAAE;8BACC,kBAAI;uDAAC;6BAvDR,kBAAkB;IAD9B,IAAA,gBAAM,GAAE;GACI,kBAAkB,CAwD9B"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EntityBase } from "../../common/database/base.entity";
|
|
2
2
|
import { EmailThirdparty } from "./email.entity";
|
|
3
3
|
import { ServiceThirdparty } from "./service.entity";
|
|
4
|
+
import { EventListCalendars } from "../tools/calendar/event-list-calendars.entity";
|
|
4
5
|
export declare class Oauth extends EntityBase {
|
|
5
6
|
refresh_token: string;
|
|
6
7
|
access_token: string;
|
|
@@ -16,4 +17,5 @@ export declare class Oauth extends EntityBase {
|
|
|
16
17
|
labelIdRules: object;
|
|
17
18
|
emails: EmailThirdparty[];
|
|
18
19
|
service: ServiceThirdparty;
|
|
20
|
+
calendarsList: EventListCalendars;
|
|
19
21
|
}
|
|
@@ -14,6 +14,7 @@ const base_entity_1 = require("../../common/database/base.entity");
|
|
|
14
14
|
const typeorm_1 = require("typeorm");
|
|
15
15
|
const email_entity_1 = require("./email.entity");
|
|
16
16
|
const service_entity_1 = require("./service.entity");
|
|
17
|
+
const event_list_calendars_entity_1 = require("../tools/calendar/event-list-calendars.entity");
|
|
17
18
|
let Oauth = class Oauth extends base_entity_1.EntityBase {
|
|
18
19
|
refresh_token;
|
|
19
20
|
access_token;
|
|
@@ -29,6 +30,7 @@ let Oauth = class Oauth extends base_entity_1.EntityBase {
|
|
|
29
30
|
labelIdRules;
|
|
30
31
|
emails;
|
|
31
32
|
service;
|
|
33
|
+
calendarsList;
|
|
32
34
|
};
|
|
33
35
|
exports.Oauth = Oauth;
|
|
34
36
|
__decorate([
|
|
@@ -87,6 +89,10 @@ __decorate([
|
|
|
87
89
|
(0, typeorm_1.ManyToOne)(() => service_entity_1.ServiceThirdparty, (service) => service.id),
|
|
88
90
|
__metadata("design:type", service_entity_1.ServiceThirdparty)
|
|
89
91
|
], Oauth.prototype, "service", void 0);
|
|
92
|
+
__decorate([
|
|
93
|
+
(0, typeorm_1.OneToOne)(() => event_list_calendars_entity_1.EventListCalendars, (list) => list.id),
|
|
94
|
+
__metadata("design:type", event_list_calendars_entity_1.EventListCalendars)
|
|
95
|
+
], Oauth.prototype, "calendarsList", void 0);
|
|
90
96
|
exports.Oauth = Oauth = __decorate([
|
|
91
97
|
(0, typeorm_1.Entity)()
|
|
92
98
|
], Oauth);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oauth.entity.js","sourceRoot":"","sources":["../../../src/entities/thirdparty/oauth.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,mEAA+D;AAC/D,
|
|
1
|
+
{"version":3,"file":"oauth.entity.js","sourceRoot":"","sources":["../../../src/entities/thirdparty/oauth.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,mEAA+D;AAC/D,qCAAyE;AACzE,iDAAgD;AAChD,qDAAqD;AACrD,+FAAkF;AAG3E,IAAM,KAAK,GAAX,MAAM,KAAM,SAAQ,wBAAU;IAEnC,aAAa,CAAS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EAAE,CAAC;;qCAC1B;AAG1B;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kCAAiB,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;8BACnD,kCAAiB;sCAAC;AAG3B;IADC,IAAA,kBAAQ,EAAC,GAAG,EAAE,CAAC,gDAAkB,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC;8BACvC,gDAAkB;4CAAC;gBA5CvB,KAAK;IADjB,IAAA,gBAAM,GAAE;GACI,KAAK,CA6CjB"}
|
|
@@ -0,0 +1,29 @@
|
|
|
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.EventListCalendars = void 0;
|
|
13
|
+
const base_entity_1 = require("../../../common/database/base.entity");
|
|
14
|
+
const oauth_entity_1 = require("../../thirdparty/oauth.entity");
|
|
15
|
+
const typeorm_1 = require("typeorm");
|
|
16
|
+
class EventListCalendars extends base_entity_1.EntityBase {
|
|
17
|
+
calendars;
|
|
18
|
+
oAuth;
|
|
19
|
+
}
|
|
20
|
+
exports.EventListCalendars = EventListCalendars;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, typeorm_1.Column)({ type: "jsonb" }),
|
|
23
|
+
__metadata("design:type", Array)
|
|
24
|
+
], EventListCalendars.prototype, "calendars", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.OneToOne)(() => oauth_entity_1.Oauth, (oauth) => oauth.id),
|
|
27
|
+
__metadata("design:type", oauth_entity_1.Oauth)
|
|
28
|
+
], EventListCalendars.prototype, "oAuth", void 0);
|
|
29
|
+
//# sourceMappingURL=event-list-calendars.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event-list-calendars.entity.js","sourceRoot":"","sources":["../../../../src/entities/tools/calendar/event-list-calendars.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,sEAAkE;AAClE,gEAAsD;AACtD,qCAA2C;AAE3C,MAAa,kBAAmB,SAAQ,wBAAU;IAEhD,SAAS,CAAW;IAGpB,KAAK,CAAQ;CACd;AAND,gDAMC;AAJC;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;;qDACN;AAGpB;IADC,IAAA,kBAAQ,EAAC,GAAG,EAAE,CAAC,oBAAK,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC;8BACpC,oBAAK;iDAAC"}
|