easywork-common-lib 1.0.780 → 1.0.781
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,
|
|
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"}
|