easywork-common-lib 1.0.862 → 1.0.863
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/tools/calendar/calendar-item.entity.d.ts +9 -0
- package/dist/entities/tools/calendar/calendar-item.entity.js +43 -0
- package/dist/entities/tools/calendar/calendar-item.entity.js.map +1 -0
- package/dist/entities/tools/calendar/calendar-list.entity.d.ts +0 -1
- package/dist/entities/tools/calendar/calendar-list.entity.js +0 -5
- package/dist/entities/tools/calendar/calendar-list.entity.js.map +1 -1
- package/dist/entities/tools/calendar/index.d.ts +1 -0
- package/dist/entities/tools/calendar/index.js +1 -0
- package/dist/entities/tools/calendar/index.js.map +1 -1
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BaseEntityOnlyEssential } from '../../../common/database/base.entity';
|
|
2
|
+
import { Oauth } from '../../thirdparty/oauth.entity';
|
|
3
|
+
import { User } from '../../user.entity';
|
|
4
|
+
export declare class CalendarItem extends BaseEntityOnlyEssential {
|
|
5
|
+
name?: string;
|
|
6
|
+
email: string;
|
|
7
|
+
oauth: Oauth;
|
|
8
|
+
user: User;
|
|
9
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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.CalendarItem = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const base_entity_1 = require("../../../common/database/base.entity");
|
|
15
|
+
const oauth_entity_1 = require("../../thirdparty/oauth.entity");
|
|
16
|
+
const user_entity_1 = require("../../user.entity");
|
|
17
|
+
let CalendarItem = class CalendarItem extends base_entity_1.BaseEntityOnlyEssential {
|
|
18
|
+
name;
|
|
19
|
+
email;
|
|
20
|
+
oauth;
|
|
21
|
+
user;
|
|
22
|
+
};
|
|
23
|
+
exports.CalendarItem = CalendarItem;
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], CalendarItem.prototype, "name", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.Column)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], CalendarItem.prototype, "email", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.ManyToOne)(() => oauth_entity_1.Oauth, { nullable: false, onDelete: 'CASCADE' }),
|
|
34
|
+
__metadata("design:type", oauth_entity_1.Oauth)
|
|
35
|
+
], CalendarItem.prototype, "oauth", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, { nullable: false, onDelete: 'CASCADE' }),
|
|
38
|
+
__metadata("design:type", user_entity_1.User)
|
|
39
|
+
], CalendarItem.prototype, "user", void 0);
|
|
40
|
+
exports.CalendarItem = CalendarItem = __decorate([
|
|
41
|
+
(0, typeorm_1.Entity)()
|
|
42
|
+
], CalendarItem);
|
|
43
|
+
//# sourceMappingURL=calendar-item.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calendar-item.entity.js","sourceRoot":"","sources":["../../../../src/entities/tools/calendar/calendar-item.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAoD;AAEpD,sEAA+E;AAC/E,gEAAsD;AACtD,mDAAyC;AAGlC,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,qCAAuB;IAEvD,IAAI,CAAU;IAGd,KAAK,CAAS;IAGd,KAAK,CAAQ;IAGb,IAAI,CAAO;CACZ,CAAA;AAZY,oCAAY;AAEvB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0CACb;AAGd;IADC,IAAA,gBAAM,GAAE;;2CACK;AAGd;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,oBAAK,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BAC1D,oBAAK;2CAAC;AAGb;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BAC1D,kBAAI;0CAAC;uBAXA,YAAY;IADxB,IAAA,gBAAM,GAAE;GACI,YAAY,CAYxB"}
|
|
@@ -22,7 +22,6 @@ var CalendarProvider;
|
|
|
22
22
|
})(CalendarProvider || (exports.CalendarProvider = CalendarProvider = {}));
|
|
23
23
|
let CalendarList = class CalendarList extends base_entity_1.BaseEntityOnlyEssential {
|
|
24
24
|
calendarId;
|
|
25
|
-
email;
|
|
26
25
|
name;
|
|
27
26
|
description;
|
|
28
27
|
isPrimary;
|
|
@@ -44,10 +43,6 @@ __decorate([
|
|
|
44
43
|
(0, typeorm_1.Column)({ type: 'varchar', unique: true }),
|
|
45
44
|
__metadata("design:type", String)
|
|
46
45
|
], CalendarList.prototype, "calendarId", void 0);
|
|
47
|
-
__decorate([
|
|
48
|
-
(0, typeorm_1.Column)(),
|
|
49
|
-
__metadata("design:type", String)
|
|
50
|
-
], CalendarList.prototype, "email", void 0);
|
|
51
46
|
__decorate([
|
|
52
47
|
(0, typeorm_1.Column)(),
|
|
53
48
|
__metadata("design:type", String)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar-list.entity.js","sourceRoot":"","sources":["../../../../src/entities/tools/calendar/calendar-list.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAoD;AAEpD,sEAA+E;AAC/E,gEAAsD;AACtD,mDAAyC;AAEzC,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,qCAAiB,CAAA;IACjB,qCAAiB,CAAA;IACjB,2CAAuB,CAAA;AACzB,CAAC,EAJW,gBAAgB,gCAAhB,gBAAgB,QAI3B;AAGM,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,qCAAuB;IAEvD,UAAU,CAAS;IAGnB,
|
|
1
|
+
{"version":3,"file":"calendar-list.entity.js","sourceRoot":"","sources":["../../../../src/entities/tools/calendar/calendar-list.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAoD;AAEpD,sEAA+E;AAC/E,gEAAsD;AACtD,mDAAyC;AAEzC,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,qCAAiB,CAAA;IACjB,qCAAiB,CAAA;IACjB,2CAAuB,CAAA;AACzB,CAAC,EAJW,gBAAgB,gCAAhB,gBAAgB,QAI3B;AAGM,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,qCAAuB;IAEvD,UAAU,CAAS;IAGnB,IAAI,CAAS;IAGb,WAAW,CAAU;IAGrB,SAAS,CAAU;IAGnB,QAAQ,CAAS;IAGjB,UAAU,CAAU;IAGpB,KAAK,CAAU;IAGf,QAAQ,CAAU;IAGlB,gBAAgB,CAAyC;IAGzD,oBAAoB,CAAgD;IAGpE,oBAAoB,CAAyD;IAI7E,SAAS,CAAU;IAGnB,UAAU,CAAU;IAGpB,QAAQ,CAAmB;IAG3B,KAAK,CAAQ;I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AE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BAC1D,oBAAK;2CAAC;AAGb;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BAC1D,kBAAI;0CAAC;uBAhDA,YAAY;IADxB,IAAA,gBAAM,GAAE;GACI,YAAY,CAiDxB"}
|
|
@@ -3,4 +3,5 @@ export * from './calendar-user-access.entity';
|
|
|
3
3
|
export * from './calendar-event-invitations.entity';
|
|
4
4
|
export * from './calendar-general-config.entity';
|
|
5
5
|
export * from './calendar-list.entity';
|
|
6
|
+
export * from './calendar-item.entity';
|
|
6
7
|
export * from './calendar-reminder.entity';
|
|
@@ -19,5 +19,6 @@ __exportStar(require("./calendar-user-access.entity"), exports);
|
|
|
19
19
|
__exportStar(require("./calendar-event-invitations.entity"), exports);
|
|
20
20
|
__exportStar(require("./calendar-general-config.entity"), exports);
|
|
21
21
|
__exportStar(require("./calendar-list.entity"), exports);
|
|
22
|
+
__exportStar(require("./calendar-item.entity"), exports);
|
|
22
23
|
__exportStar(require("./calendar-reminder.entity"), exports);
|
|
23
24
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/entities/tools/calendar/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,gEAA8C;AAC9C,sEAAoD;AACpD,mEAAiD;AACjD,yDAAuC;AACvC,6DAA2C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/entities/tools/calendar/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,gEAA8C;AAC9C,sEAAoD;AACpD,mEAAiD;AACjD,yDAAuC;AACvC,yDAAuC;AACvC,6DAA2C"}
|