@spytecgps/nova-orm 1.0.114 → 1.0.115
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/clientConfiguration.d.ts +2 -0
- package/dist/entities/clientConfiguration.js +13 -2
- package/dist/entities/clientConfiguration.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/repositories/clients/createClientConfiguration.js +2 -0
- package/dist/repositories/clients/createClientConfiguration.js.map +1 -1
- package/dist/repositories/clients/getClientConfiguration.js +14 -6
- package/dist/repositories/clients/getClientConfiguration.js.map +1 -1
- package/dist/repositories/clients/index.d.ts +4 -0
- package/dist/repositories/clients/index.js +4 -0
- package/dist/repositories/clients/index.js.map +1 -1
- package/dist/repositories/clients/updateClientConfiguration.js +7 -10
- package/dist/repositories/clients/updateClientConfiguration.js.map +1 -1
- package/dist/types/clients.d.ts +9 -1
- package/dist/types/clients.js +13 -0
- package/dist/types/clients.js.map +1 -1
- package/package.json +1 -1
|
@@ -7,13 +7,15 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import { Column, Entity } from 'typeorm';
|
|
10
|
+
import { Column, Entity, Index } from 'typeorm';
|
|
11
11
|
let ClientConfiguration = class ClientConfiguration {
|
|
12
12
|
clientId;
|
|
13
13
|
movementTripThreshold;
|
|
14
14
|
stopTripThreshold;
|
|
15
15
|
mapUpdateMode;
|
|
16
16
|
maxUsersAllowed;
|
|
17
|
+
ssoDomain;
|
|
18
|
+
ssoMetadata;
|
|
17
19
|
};
|
|
18
20
|
__decorate([
|
|
19
21
|
Column('int', { primary: true, name: 'clientId' }),
|
|
@@ -41,8 +43,17 @@ __decorate([
|
|
|
41
43
|
Column('smallint', { name: 'maxUsersAllowed', default: () => "'10'" }),
|
|
42
44
|
__metadata("design:type", Number)
|
|
43
45
|
], ClientConfiguration.prototype, "maxUsersAllowed", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
Column('varchar', { name: 'ssoDomain', nullable: true, length: 250 }),
|
|
48
|
+
__metadata("design:type", String)
|
|
49
|
+
], ClientConfiguration.prototype, "ssoDomain", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
Column('json', { name: 'ssoMetadata', nullable: true }),
|
|
52
|
+
__metadata("design:type", Object)
|
|
53
|
+
], ClientConfiguration.prototype, "ssoMetadata", void 0);
|
|
44
54
|
ClientConfiguration = __decorate([
|
|
45
|
-
Entity('clientConfiguration', { schema: 'nova' })
|
|
55
|
+
Entity('clientConfiguration', { schema: 'nova' }),
|
|
56
|
+
Index('ssoDomain', ['ssoDomain'], { unique: true })
|
|
46
57
|
], ClientConfiguration);
|
|
47
58
|
export { ClientConfiguration };
|
|
48
59
|
//# sourceMappingURL=clientConfiguration.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clientConfiguration.js","sourceRoot":"","sources":["../../src/entities/clientConfiguration.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"clientConfiguration.js","sourceRoot":"","sources":["../../src/entities/clientConfiguration.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAIxC,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;IAE9B,QAAQ,CAAQ;IAMhB,qBAAqB,CAAe;IAMpC,iBAAiB,CAAe;IAGhC,aAAa,CAAe;IAG5B,eAAe,CAAQ;IAGvB,SAAS,CAAe;IAGxB,WAAW,CAA4B;CACxC,CAAA;AA1BC;IAAC,MAAM,CAAC,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,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