@spytecgps/nova-orm 0.0.5 → 0.0.7
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/index.js +2 -5
- package/dist/index.js.LICENSE.txt +41 -0
- package/dist/utils/uuidHelpers.d.ts +0 -1
- package/package.json +3 -3
- package/dist/entities/alert.js +0 -118
- package/dist/entities/alertType.js +0 -65
- package/dist/entities/assetCategory.js +0 -29
- package/dist/entities/billing.js +0 -81
- package/dist/entities/billingCustomerBraintree.js +0 -53
- package/dist/entities/billingDeviceHistory.js +0 -52
- package/dist/entities/billingStatusHistoryBraintree.js +0 -55
- package/dist/entities/billingSubscriptionBraintree.js +0 -169
- package/dist/entities/blacklist.js +0 -44
- package/dist/entities/blacklistType.js +0 -28
- package/dist/entities/cellTower.js +0 -56
- package/dist/entities/client.js +0 -96
- package/dist/entities/clientConfiguration.js +0 -42
- package/dist/entities/clientDeviceSetting.js +0 -76
- package/dist/entities/clientType.js +0 -32
- package/dist/entities/country.js +0 -76
- package/dist/entities/dataSourceType.js +0 -28
- package/dist/entities/deactivation.js +0 -63
- package/dist/entities/deactivationReason.js +0 -36
- package/dist/entities/device.js +0 -123
- package/dist/entities/deviceBehavior.js +0 -105
- package/dist/entities/deviceHistory.js +0 -44
- package/dist/entities/deviceModelListener.js +0 -40
- package/dist/entities/deviceReplacement.js +0 -49
- package/dist/entities/deviceType.js +0 -100
- package/dist/entities/deviceTypeEvent.js +0 -29
- package/dist/entities/deviceTypeFeature.js +0 -29
- package/dist/entities/deviceTypeFirmware.js +0 -57
- package/dist/entities/entityTag.js +0 -42
- package/dist/entities/entityType.js +0 -28
- package/dist/entities/event.js +0 -32
- package/dist/entities/feature.js +0 -32
- package/dist/entities/firmwareUpgradeTask.js +0 -53
- package/dist/entities/geofence.js +0 -86
- package/dist/entities/geofenceEvent.js +0 -87
- package/dist/entities/imeiIccidCarrier.js +0 -78
- package/dist/entities/imeiIccidHistory.js +0 -38
- package/dist/entities/index.js +0 -68
- package/dist/entities/industry.js +0 -40
- package/dist/entities/mobileNetwork.js +0 -44
- package/dist/entities/notificationRecipient.js +0 -70
- package/dist/entities/organization.js +0 -40
- package/dist/entities/plan.js +0 -72
- package/dist/entities/position.js +0 -84
- package/dist/entities/securityRole.js +0 -36
- package/dist/entities/serviceProvider.js +0 -36
- package/dist/entities/serviceProviderProduct.js +0 -54
- package/dist/entities/serviceProviderProductNetwork.js +0 -28
- package/dist/entities/serviceProviderProductType.js +0 -28
- package/dist/entities/sim.js +0 -78
- package/dist/entities/trip.js +0 -103
- package/dist/entities/tripCompletionStatus.js +0 -32
- package/dist/entities/tripPosition.js +0 -24
- package/dist/entities/user.js +0 -116
- package/dist/entities/userActivation.js +0 -45
- package/dist/entities/userActivationDevice.js +0 -105
- package/dist/entities/userActivationEvent.js +0 -52
- package/dist/entities/userActivationMetric.js +0 -167
- package/dist/entities/userAlertConfiguration.js +0 -68
- package/dist/entities/userAppFeedback.js +0 -45
- package/dist/entities/userAppIncident.js +0 -131
- package/dist/entities/userConfiguration.js +0 -87
- package/dist/entities/userDataDeletionRequest.js +0 -48
- package/dist/entities/userDeviceBehaviorTask.js +0 -61
- package/dist/entities/userInvitation.js +0 -75
- package/dist/entities/userRatingRequest.js +0 -63
- package/dist/entities/userRegistrationAttempt.js +0 -145
- package/dist/entities/userSecurityRole.js +0 -30
- package/dist/novaDataSource.js +0 -59
- package/dist/repositories/baseRepository.js +0 -5
- package/dist/repositories/devicesRepository.js +0 -122
- package/dist/repositories/index.js +0 -3
- package/dist/repositories/securityRepository.js +0 -99
- package/dist/types/enums.js +0 -11
- package/dist/utils/uuidHelpers.js +0 -6
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
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;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
-
};
|
|
10
|
-
import { Column, Entity, Index } from 'typeorm';
|
|
11
|
-
let BillingSubscriptionBraintree = class BillingSubscriptionBraintree {
|
|
12
|
-
};
|
|
13
|
-
__decorate([
|
|
14
|
-
Column('varchar', { primary: true, name: 'subscriptionId', length: 50 }),
|
|
15
|
-
__metadata("design:type", String)
|
|
16
|
-
], BillingSubscriptionBraintree.prototype, "subscriptionId", void 0);
|
|
17
|
-
__decorate([
|
|
18
|
-
Column('varchar', { name: 'customerId', nullable: true, length: 50 }),
|
|
19
|
-
__metadata("design:type", String)
|
|
20
|
-
], BillingSubscriptionBraintree.prototype, "customerId", void 0);
|
|
21
|
-
__decorate([
|
|
22
|
-
Column('varchar', { name: 'planId', nullable: true, length: 50 }),
|
|
23
|
-
__metadata("design:type", String)
|
|
24
|
-
], BillingSubscriptionBraintree.prototype, "planId", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
Column('datetime', { name: 'createdAt', nullable: true }),
|
|
27
|
-
__metadata("design:type", Date)
|
|
28
|
-
], BillingSubscriptionBraintree.prototype, "createdAt", void 0);
|
|
29
|
-
__decorate([
|
|
30
|
-
Column('datetime', { name: 'updatedAt', nullable: true }),
|
|
31
|
-
__metadata("design:type", Date)
|
|
32
|
-
], BillingSubscriptionBraintree.prototype, "updatedAt", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
Column('date', { name: 'subscriptionStart', nullable: true }),
|
|
35
|
-
__metadata("design:type", String)
|
|
36
|
-
], BillingSubscriptionBraintree.prototype, "subscriptionStart", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
Column('date', { name: 'subscriptionEnd', nullable: true }),
|
|
39
|
-
__metadata("design:type", String)
|
|
40
|
-
], BillingSubscriptionBraintree.prototype, "subscriptionEnd", void 0);
|
|
41
|
-
__decorate([
|
|
42
|
-
Column('date', { name: 'nextBillingDate', nullable: true }),
|
|
43
|
-
__metadata("design:type", String)
|
|
44
|
-
], BillingSubscriptionBraintree.prototype, "nextBillingDate", void 0);
|
|
45
|
-
__decorate([
|
|
46
|
-
Column('decimal', {
|
|
47
|
-
name: 'subscriptionValue',
|
|
48
|
-
nullable: true,
|
|
49
|
-
precision: 19,
|
|
50
|
-
scale: 4,
|
|
51
|
-
}),
|
|
52
|
-
__metadata("design:type", String)
|
|
53
|
-
], BillingSubscriptionBraintree.prototype, "subscriptionValue", void 0);
|
|
54
|
-
__decorate([
|
|
55
|
-
Column('varchar', { name: 'status', nullable: true, length: 10 }),
|
|
56
|
-
__metadata("design:type", String)
|
|
57
|
-
], BillingSubscriptionBraintree.prototype, "status", void 0);
|
|
58
|
-
__decorate([
|
|
59
|
-
Column('tinyint', { name: 'subscriptionPeriodMonths', nullable: true }),
|
|
60
|
-
__metadata("design:type", Number)
|
|
61
|
-
], BillingSubscriptionBraintree.prototype, "subscriptionPeriodMonths", void 0);
|
|
62
|
-
__decorate([
|
|
63
|
-
Column('varchar', {
|
|
64
|
-
name: 'paymentInstrumentType',
|
|
65
|
-
nullable: true,
|
|
66
|
-
length: 20,
|
|
67
|
-
}),
|
|
68
|
-
__metadata("design:type", String)
|
|
69
|
-
], BillingSubscriptionBraintree.prototype, "paymentInstrumentType", void 0);
|
|
70
|
-
__decorate([
|
|
71
|
-
Column('json', { name: 'paymentInstrumentDetails', nullable: true }),
|
|
72
|
-
__metadata("design:type", Object)
|
|
73
|
-
], BillingSubscriptionBraintree.prototype, "paymentInstrumentDetails", void 0);
|
|
74
|
-
__decorate([
|
|
75
|
-
Column('tinyint', {
|
|
76
|
-
name: 'isPaused',
|
|
77
|
-
nullable: true,
|
|
78
|
-
width: 1,
|
|
79
|
-
default: () => "'0'",
|
|
80
|
-
}),
|
|
81
|
-
__metadata("design:type", Boolean)
|
|
82
|
-
], BillingSubscriptionBraintree.prototype, "isPaused", void 0);
|
|
83
|
-
__decorate([
|
|
84
|
-
Column('json', { name: 'discountDetails', nullable: true }),
|
|
85
|
-
__metadata("design:type", Object)
|
|
86
|
-
], BillingSubscriptionBraintree.prototype, "discountDetails", void 0);
|
|
87
|
-
__decorate([
|
|
88
|
-
Column('json', { name: 'addons', nullable: true }),
|
|
89
|
-
__metadata("design:type", Object)
|
|
90
|
-
], BillingSubscriptionBraintree.prototype, "addons", void 0);
|
|
91
|
-
__decorate([
|
|
92
|
-
Column('decimal', {
|
|
93
|
-
name: 'balance',
|
|
94
|
-
nullable: true,
|
|
95
|
-
precision: 19,
|
|
96
|
-
scale: 4,
|
|
97
|
-
}),
|
|
98
|
-
__metadata("design:type", String)
|
|
99
|
-
], BillingSubscriptionBraintree.prototype, "balance", void 0);
|
|
100
|
-
__decorate([
|
|
101
|
-
Column('tinyint', { name: 'currentBillingCycle', nullable: true }),
|
|
102
|
-
__metadata("design:type", Number)
|
|
103
|
-
], BillingSubscriptionBraintree.prototype, "currentBillingCycle", void 0);
|
|
104
|
-
__decorate([
|
|
105
|
-
Column('tinyint', { name: 'daysPastDue', nullable: true }),
|
|
106
|
-
__metadata("design:type", Number)
|
|
107
|
-
], BillingSubscriptionBraintree.prototype, "daysPastDue", void 0);
|
|
108
|
-
__decorate([
|
|
109
|
-
Column('varchar', { name: 'description', nullable: true, length: 255 }),
|
|
110
|
-
__metadata("design:type", String)
|
|
111
|
-
], BillingSubscriptionBraintree.prototype, "description", void 0);
|
|
112
|
-
__decorate([
|
|
113
|
-
Column('json', { name: 'descriptor', nullable: true }),
|
|
114
|
-
__metadata("design:type", Object)
|
|
115
|
-
], BillingSubscriptionBraintree.prototype, "descriptor", void 0);
|
|
116
|
-
__decorate([
|
|
117
|
-
Column('tinyint', { name: 'failureCount', nullable: true }),
|
|
118
|
-
__metadata("design:type", Number)
|
|
119
|
-
], BillingSubscriptionBraintree.prototype, "failureCount", void 0);
|
|
120
|
-
__decorate([
|
|
121
|
-
Column('date', { name: 'firstBillingDate', nullable: true }),
|
|
122
|
-
__metadata("design:type", String)
|
|
123
|
-
], BillingSubscriptionBraintree.prototype, "firstBillingDate", void 0);
|
|
124
|
-
__decorate([
|
|
125
|
-
Column('varchar', { name: 'merchantAccountId', nullable: true, length: 50 }),
|
|
126
|
-
__metadata("design:type", String)
|
|
127
|
-
], BillingSubscriptionBraintree.prototype, "merchantAccountId", void 0);
|
|
128
|
-
__decorate([
|
|
129
|
-
Column('decimal', {
|
|
130
|
-
name: 'nextBillingPeriodAmount',
|
|
131
|
-
nullable: true,
|
|
132
|
-
precision: 19,
|
|
133
|
-
scale: 4,
|
|
134
|
-
}),
|
|
135
|
-
__metadata("design:type", String)
|
|
136
|
-
], BillingSubscriptionBraintree.prototype, "nextBillingPeriodAmount", void 0);
|
|
137
|
-
__decorate([
|
|
138
|
-
Column('tinyint', { name: 'numberOfBillingCycles', nullable: true }),
|
|
139
|
-
__metadata("design:type", Number)
|
|
140
|
-
], BillingSubscriptionBraintree.prototype, "numberOfBillingCycles", void 0);
|
|
141
|
-
__decorate([
|
|
142
|
-
Column('date', { name: 'paidThroughDate', nullable: true }),
|
|
143
|
-
__metadata("design:type", String)
|
|
144
|
-
], BillingSubscriptionBraintree.prototype, "paidThroughDate", void 0);
|
|
145
|
-
__decorate([
|
|
146
|
-
Column('varchar', { name: 'paymentMethodToken', nullable: true, length: 50 }),
|
|
147
|
-
__metadata("design:type", String)
|
|
148
|
-
], BillingSubscriptionBraintree.prototype, "paymentMethodToken", void 0);
|
|
149
|
-
__decorate([
|
|
150
|
-
Column('json', { name: 'statusHistory', nullable: true }),
|
|
151
|
-
__metadata("design:type", Object)
|
|
152
|
-
], BillingSubscriptionBraintree.prototype, "statusHistory", void 0);
|
|
153
|
-
__decorate([
|
|
154
|
-
Column('tinyint', { name: 'trialDuration', nullable: true }),
|
|
155
|
-
__metadata("design:type", Number)
|
|
156
|
-
], BillingSubscriptionBraintree.prototype, "trialDuration", void 0);
|
|
157
|
-
__decorate([
|
|
158
|
-
Column('varchar', { name: 'trialDurationUnit', nullable: true, length: 10 }),
|
|
159
|
-
__metadata("design:type", String)
|
|
160
|
-
], BillingSubscriptionBraintree.prototype, "trialDurationUnit", void 0);
|
|
161
|
-
__decorate([
|
|
162
|
-
Column('tinyint', { name: 'trialPeriod', nullable: true, width: 1 }),
|
|
163
|
-
__metadata("design:type", Boolean)
|
|
164
|
-
], BillingSubscriptionBraintree.prototype, "trialPeriod", void 0);
|
|
165
|
-
BillingSubscriptionBraintree = __decorate([
|
|
166
|
-
Index('ixBillingSubscriptionBraintreeCustomerId', ['customerId'], {}),
|
|
167
|
-
Entity('billingSubscriptionBraintree', { schema: 'nova' })
|
|
168
|
-
], BillingSubscriptionBraintree);
|
|
169
|
-
export { BillingSubscriptionBraintree };
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
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;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
-
};
|
|
10
|
-
import { Column, Entity } from 'typeorm';
|
|
11
|
-
let Blacklist = class Blacklist {
|
|
12
|
-
};
|
|
13
|
-
__decorate([
|
|
14
|
-
Column('tinyint', { primary: true, name: 'blacklistTypeId' }),
|
|
15
|
-
__metadata("design:type", Number)
|
|
16
|
-
], Blacklist.prototype, "blacklistTypeId", void 0);
|
|
17
|
-
__decorate([
|
|
18
|
-
Column('varchar', { primary: true, name: 'value', length: 255 }),
|
|
19
|
-
__metadata("design:type", String)
|
|
20
|
-
], Blacklist.prototype, "value", void 0);
|
|
21
|
-
__decorate([
|
|
22
|
-
Column('varchar', { name: 'notes', nullable: true, length: 1000 }),
|
|
23
|
-
__metadata("design:type", String)
|
|
24
|
-
], Blacklist.prototype, "notes", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
Column('datetime', { name: 'createdAt', nullable: true }),
|
|
27
|
-
__metadata("design:type", Date)
|
|
28
|
-
], Blacklist.prototype, "createdAt", void 0);
|
|
29
|
-
__decorate([
|
|
30
|
-
Column('varchar', { name: 'createdBy', length: 255 }),
|
|
31
|
-
__metadata("design:type", String)
|
|
32
|
-
], Blacklist.prototype, "createdBy", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
Column('datetime', { name: 'modifiedAt', nullable: true }),
|
|
35
|
-
__metadata("design:type", Date)
|
|
36
|
-
], Blacklist.prototype, "modifiedAt", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
Column('varchar', { name: 'modifiedBy', length: 255 }),
|
|
39
|
-
__metadata("design:type", String)
|
|
40
|
-
], Blacklist.prototype, "modifiedBy", void 0);
|
|
41
|
-
Blacklist = __decorate([
|
|
42
|
-
Entity('blacklist', { schema: 'nova' })
|
|
43
|
-
], Blacklist);
|
|
44
|
-
export { Blacklist };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
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;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
-
};
|
|
10
|
-
import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm';
|
|
11
|
-
let BlacklistType = class BlacklistType {
|
|
12
|
-
};
|
|
13
|
-
__decorate([
|
|
14
|
-
PrimaryGeneratedColumn({ type: 'tinyint', name: 'id' }),
|
|
15
|
-
__metadata("design:type", Number)
|
|
16
|
-
], BlacklistType.prototype, "id", void 0);
|
|
17
|
-
__decorate([
|
|
18
|
-
Column('varchar', { name: 'name', length: 50 }),
|
|
19
|
-
__metadata("design:type", String)
|
|
20
|
-
], BlacklistType.prototype, "name", void 0);
|
|
21
|
-
__decorate([
|
|
22
|
-
Column('varchar', { name: 'description', nullable: true, length: 1000 }),
|
|
23
|
-
__metadata("design:type", String)
|
|
24
|
-
], BlacklistType.prototype, "description", void 0);
|
|
25
|
-
BlacklistType = __decorate([
|
|
26
|
-
Entity('blacklistType', { schema: 'nova' })
|
|
27
|
-
], BlacklistType);
|
|
28
|
-
export { BlacklistType };
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
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;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
-
};
|
|
10
|
-
import { Column, Entity } from 'typeorm';
|
|
11
|
-
let CellTower = class CellTower {
|
|
12
|
-
};
|
|
13
|
-
__decorate([
|
|
14
|
-
Column('int', { primary: true, name: 'id' }),
|
|
15
|
-
__metadata("design:type", Number)
|
|
16
|
-
], CellTower.prototype, "id", void 0);
|
|
17
|
-
__decorate([
|
|
18
|
-
Column('tinyint', { name: 'mcc', nullable: true }),
|
|
19
|
-
__metadata("design:type", Number)
|
|
20
|
-
], CellTower.prototype, "mcc", void 0);
|
|
21
|
-
__decorate([
|
|
22
|
-
Column('tinyint', { name: 'mnc', nullable: true }),
|
|
23
|
-
__metadata("design:type", Number)
|
|
24
|
-
], CellTower.prototype, "mnc", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
Column('mediumint', { name: 'lac', nullable: true }),
|
|
27
|
-
__metadata("design:type", Number)
|
|
28
|
-
], CellTower.prototype, "lac", void 0);
|
|
29
|
-
__decorate([
|
|
30
|
-
Column('varchar', { name: 'radio', nullable: true, length: 5 }),
|
|
31
|
-
__metadata("design:type", String)
|
|
32
|
-
], CellTower.prototype, "radio", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
Column('float', { name: 'lon', nullable: true }),
|
|
35
|
-
__metadata("design:type", Number)
|
|
36
|
-
], CellTower.prototype, "lon", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
Column('float', { name: 'lat', nullable: true }),
|
|
39
|
-
__metadata("design:type", Number)
|
|
40
|
-
], CellTower.prototype, "lat", void 0);
|
|
41
|
-
__decorate([
|
|
42
|
-
Column('mediumint', { name: 'range', nullable: true }),
|
|
43
|
-
__metadata("design:type", Number)
|
|
44
|
-
], CellTower.prototype, "range", void 0);
|
|
45
|
-
__decorate([
|
|
46
|
-
Column('datetime', { name: 'createdAt', nullable: true }),
|
|
47
|
-
__metadata("design:type", Date)
|
|
48
|
-
], CellTower.prototype, "createdAt", void 0);
|
|
49
|
-
__decorate([
|
|
50
|
-
Column('datetime', { name: 'updatedAt', nullable: true }),
|
|
51
|
-
__metadata("design:type", Date)
|
|
52
|
-
], CellTower.prototype, "updatedAt", void 0);
|
|
53
|
-
CellTower = __decorate([
|
|
54
|
-
Entity('cellTower', { schema: 'nova' })
|
|
55
|
-
], CellTower);
|
|
56
|
-
export { CellTower };
|
package/dist/entities/client.js
DELETED
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
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;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
-
};
|
|
10
|
-
import { Column, Entity, Index, PrimaryGeneratedColumn } from 'typeorm';
|
|
11
|
-
let Client = class Client {
|
|
12
|
-
};
|
|
13
|
-
__decorate([
|
|
14
|
-
PrimaryGeneratedColumn({ type: 'int', name: 'id' }),
|
|
15
|
-
__metadata("design:type", Number)
|
|
16
|
-
], Client.prototype, "id", void 0);
|
|
17
|
-
__decorate([
|
|
18
|
-
Column('varchar', { name: 'name', nullable: true, length: 255 }),
|
|
19
|
-
__metadata("design:type", String)
|
|
20
|
-
], Client.prototype, "name", void 0);
|
|
21
|
-
__decorate([
|
|
22
|
-
Column('datetime', { name: 'createdAt', nullable: true }),
|
|
23
|
-
__metadata("design:type", Date)
|
|
24
|
-
], Client.prototype, "createdAt", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
Column('datetime', { name: 'modifiedAt', nullable: true }),
|
|
27
|
-
__metadata("design:type", Date)
|
|
28
|
-
], Client.prototype, "modifiedAt", void 0);
|
|
29
|
-
__decorate([
|
|
30
|
-
Column('binary', { name: 'uuid', nullable: true, length: 16 }),
|
|
31
|
-
__metadata("design:type", Buffer)
|
|
32
|
-
], Client.prototype, "uuid", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
Column('varchar', { name: 'email', nullable: true, length: 255 }),
|
|
35
|
-
__metadata("design:type", String)
|
|
36
|
-
], Client.prototype, "email", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
Column('smallint', { name: 'modifiedBy', nullable: true }),
|
|
39
|
-
__metadata("design:type", Number)
|
|
40
|
-
], Client.prototype, "modifiedBy", void 0);
|
|
41
|
-
__decorate([
|
|
42
|
-
Column('smallint', { name: 'createdBy', nullable: true }),
|
|
43
|
-
__metadata("design:type", Number)
|
|
44
|
-
], Client.prototype, "createdBy", void 0);
|
|
45
|
-
__decorate([
|
|
46
|
-
Column('tinyint', { name: 'dataSourceTypeId', nullable: true }),
|
|
47
|
-
__metadata("design:type", Number)
|
|
48
|
-
], Client.prototype, "dataSourceTypeId", void 0);
|
|
49
|
-
__decorate([
|
|
50
|
-
Column('varchar', { name: 'sievaUserName', nullable: true, length: 100 }),
|
|
51
|
-
__metadata("design:type", String)
|
|
52
|
-
], Client.prototype, "sievaUserName", void 0);
|
|
53
|
-
__decorate([
|
|
54
|
-
Column('int', { name: 'sievaBatchId', nullable: true }),
|
|
55
|
-
__metadata("design:type", Number)
|
|
56
|
-
], Client.prototype, "sievaBatchId", void 0);
|
|
57
|
-
__decorate([
|
|
58
|
-
Column('tinyint', { name: 'clientTypeId', default: () => "'1'" }),
|
|
59
|
-
__metadata("design:type", Number)
|
|
60
|
-
], Client.prototype, "clientTypeId", void 0);
|
|
61
|
-
__decorate([
|
|
62
|
-
Column('varchar', { name: 'salesforceId', nullable: true, length: 50 }),
|
|
63
|
-
__metadata("design:type", String)
|
|
64
|
-
], Client.prototype, "salesforceId", void 0);
|
|
65
|
-
__decorate([
|
|
66
|
-
Column('varchar', { name: 'accumaticaId', nullable: true, length: 50 }),
|
|
67
|
-
__metadata("design:type", String)
|
|
68
|
-
], Client.prototype, "accumaticaId", void 0);
|
|
69
|
-
__decorate([
|
|
70
|
-
Column('datetime', { name: 'expirationDate', nullable: true }),
|
|
71
|
-
__metadata("design:type", Date)
|
|
72
|
-
], Client.prototype, "expirationDate", void 0);
|
|
73
|
-
__decorate([
|
|
74
|
-
Column('varchar', { name: 'useType', nullable: true, length: 25 }),
|
|
75
|
-
__metadata("design:type", String)
|
|
76
|
-
], Client.prototype, "useType", void 0);
|
|
77
|
-
__decorate([
|
|
78
|
-
Column('varchar', { name: 'btCustomerId', nullable: true, length: 50 }),
|
|
79
|
-
__metadata("design:type", String)
|
|
80
|
-
], Client.prototype, "btCustomerId", void 0);
|
|
81
|
-
__decorate([
|
|
82
|
-
Column('varchar', { name: 'activationCampaign', nullable: true, length: 50 }),
|
|
83
|
-
__metadata("design:type", String)
|
|
84
|
-
], Client.prototype, "activationCampaign", void 0);
|
|
85
|
-
__decorate([
|
|
86
|
-
Column('int', { name: 'organizationId', nullable: true }),
|
|
87
|
-
__metadata("design:type", Number)
|
|
88
|
-
], Client.prototype, "organizationId", void 0);
|
|
89
|
-
Client = __decorate([
|
|
90
|
-
Index('ixClientClientTypeId', ['clientTypeId'], {}),
|
|
91
|
-
Index('ixClientCreatedAt', ['createdAt'], {}),
|
|
92
|
-
Index('ixClientEmail', ['email'], {}),
|
|
93
|
-
Index('ixClientEmailLower', { synchronize: false }),
|
|
94
|
-
Entity('client', { schema: 'nova' })
|
|
95
|
-
], Client);
|
|
96
|
-
export { Client };
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
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;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
-
};
|
|
10
|
-
import { Column, Entity } from 'typeorm';
|
|
11
|
-
let ClientConfiguration = class ClientConfiguration {
|
|
12
|
-
};
|
|
13
|
-
__decorate([
|
|
14
|
-
Column('int', { primary: true, name: 'clientId' }),
|
|
15
|
-
__metadata("design:type", Number)
|
|
16
|
-
], ClientConfiguration.prototype, "clientId", void 0);
|
|
17
|
-
__decorate([
|
|
18
|
-
Column('double', {
|
|
19
|
-
name: 'movementTripThreshold',
|
|
20
|
-
nullable: true,
|
|
21
|
-
}),
|
|
22
|
-
__metadata("design:type", Number)
|
|
23
|
-
], ClientConfiguration.prototype, "movementTripThreshold", void 0);
|
|
24
|
-
__decorate([
|
|
25
|
-
Column('double', {
|
|
26
|
-
name: 'stopTripThreshold',
|
|
27
|
-
nullable: true,
|
|
28
|
-
}),
|
|
29
|
-
__metadata("design:type", Number)
|
|
30
|
-
], ClientConfiguration.prototype, "stopTripThreshold", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
Column('tinyint', { name: 'mapUpdateMode', nullable: true }),
|
|
33
|
-
__metadata("design:type", Number)
|
|
34
|
-
], ClientConfiguration.prototype, "mapUpdateMode", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
Column('smallint', { name: 'maxUsersAllowed', default: () => "'10'" }),
|
|
37
|
-
__metadata("design:type", Number)
|
|
38
|
-
], ClientConfiguration.prototype, "maxUsersAllowed", void 0);
|
|
39
|
-
ClientConfiguration = __decorate([
|
|
40
|
-
Entity('clientConfiguration', { schema: 'nova' })
|
|
41
|
-
], ClientConfiguration);
|
|
42
|
-
export { ClientConfiguration };
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
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;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
-
};
|
|
10
|
-
import { Column, Entity, Index, PrimaryGeneratedColumn } from 'typeorm';
|
|
11
|
-
let ClientDeviceSetting = class ClientDeviceSetting {
|
|
12
|
-
};
|
|
13
|
-
__decorate([
|
|
14
|
-
PrimaryGeneratedColumn({ type: 'int', name: 'id' }),
|
|
15
|
-
__metadata("design:type", Number)
|
|
16
|
-
], ClientDeviceSetting.prototype, "id", void 0);
|
|
17
|
-
__decorate([
|
|
18
|
-
Column('int', { name: 'clientId' }),
|
|
19
|
-
__metadata("design:type", Number)
|
|
20
|
-
], ClientDeviceSetting.prototype, "clientId", void 0);
|
|
21
|
-
__decorate([
|
|
22
|
-
Column('int', { name: 'deviceId' }),
|
|
23
|
-
__metadata("design:type", Number)
|
|
24
|
-
], ClientDeviceSetting.prototype, "deviceId", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
Column('varchar', { name: 'imei', length: 15 }),
|
|
27
|
-
__metadata("design:type", String)
|
|
28
|
-
], ClientDeviceSetting.prototype, "imei", void 0);
|
|
29
|
-
__decorate([
|
|
30
|
-
Column('smallint', { name: 'movingPingFrequency', nullable: true }),
|
|
31
|
-
__metadata("design:type", Number)
|
|
32
|
-
], ClientDeviceSetting.prototype, "movingPingFrequency", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
Column('smallint', { name: 'stoppedPingFrequency', nullable: true }),
|
|
35
|
-
__metadata("design:type", Number)
|
|
36
|
-
], ClientDeviceSetting.prototype, "stoppedPingFrequency", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
Column('varchar', { name: 'fixedStatus', nullable: true, length: 3 }),
|
|
39
|
-
__metadata("design:type", String)
|
|
40
|
-
], ClientDeviceSetting.prototype, "fixedStatus", void 0);
|
|
41
|
-
__decorate([
|
|
42
|
-
Column('tinyint', { name: 'generateTrips', width: 1, default: () => "'1'" }),
|
|
43
|
-
__metadata("design:type", Boolean)
|
|
44
|
-
], ClientDeviceSetting.prototype, "generateTrips", void 0);
|
|
45
|
-
__decorate([
|
|
46
|
-
Column('smallint', { name: 'stopThresholdMinutes', nullable: true }),
|
|
47
|
-
__metadata("design:type", Number)
|
|
48
|
-
], ClientDeviceSetting.prototype, "stopThresholdMinutes", void 0);
|
|
49
|
-
__decorate([
|
|
50
|
-
Column('smallint', { name: 'offlineThresholdMinutes', nullable: true }),
|
|
51
|
-
__metadata("design:type", Number)
|
|
52
|
-
], ClientDeviceSetting.prototype, "offlineThresholdMinutes", void 0);
|
|
53
|
-
__decorate([
|
|
54
|
-
Column('float', {
|
|
55
|
-
name: 'movementThresholdSpeed',
|
|
56
|
-
nullable: true,
|
|
57
|
-
}),
|
|
58
|
-
__metadata("design:type", Number)
|
|
59
|
-
], ClientDeviceSetting.prototype, "movementThresholdSpeed", void 0);
|
|
60
|
-
__decorate([
|
|
61
|
-
Column('tinyint', {
|
|
62
|
-
name: 'externalBatteryInformation',
|
|
63
|
-
nullable: true,
|
|
64
|
-
width: 1,
|
|
65
|
-
default: () => "'0'",
|
|
66
|
-
}),
|
|
67
|
-
__metadata("design:type", Boolean)
|
|
68
|
-
], ClientDeviceSetting.prototype, "externalBatteryInformation", void 0);
|
|
69
|
-
ClientDeviceSetting = __decorate([
|
|
70
|
-
Index('ixuUserDeviceSettingClientIdImei', ['clientId', 'imei'], {
|
|
71
|
-
unique: true,
|
|
72
|
-
}),
|
|
73
|
-
Index('ixClientDeviceSettingImei', ['imei'], {}),
|
|
74
|
-
Entity('clientDeviceSetting', { schema: 'nova' })
|
|
75
|
-
], ClientDeviceSetting);
|
|
76
|
-
export { ClientDeviceSetting };
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
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;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
-
};
|
|
10
|
-
import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm';
|
|
11
|
-
let ClientType = class ClientType {
|
|
12
|
-
};
|
|
13
|
-
__decorate([
|
|
14
|
-
PrimaryGeneratedColumn({ type: 'tinyint', name: 'id' }),
|
|
15
|
-
__metadata("design:type", Number)
|
|
16
|
-
], ClientType.prototype, "id", void 0);
|
|
17
|
-
__decorate([
|
|
18
|
-
Column('varchar', { name: 'name', length: 50 }),
|
|
19
|
-
__metadata("design:type", String)
|
|
20
|
-
], ClientType.prototype, "name", void 0);
|
|
21
|
-
__decorate([
|
|
22
|
-
Column('varchar', { name: 'description', length: 255 }),
|
|
23
|
-
__metadata("design:type", String)
|
|
24
|
-
], ClientType.prototype, "description", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
Column('varchar', { name: 'status', length: 10, default: () => "'active'" }),
|
|
27
|
-
__metadata("design:type", String)
|
|
28
|
-
], ClientType.prototype, "status", void 0);
|
|
29
|
-
ClientType = __decorate([
|
|
30
|
-
Entity('clientType', { schema: 'nova' })
|
|
31
|
-
], ClientType);
|
|
32
|
-
export { ClientType };
|
package/dist/entities/country.js
DELETED
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
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;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
-
};
|
|
10
|
-
import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm';
|
|
11
|
-
let Country = class Country {
|
|
12
|
-
};
|
|
13
|
-
__decorate([
|
|
14
|
-
PrimaryGeneratedColumn({ type: 'smallint', name: 'id' }),
|
|
15
|
-
__metadata("design:type", Number)
|
|
16
|
-
], Country.prototype, "id", void 0);
|
|
17
|
-
__decorate([
|
|
18
|
-
Column('varchar', { name: 'name', nullable: true, length: 50 }),
|
|
19
|
-
__metadata("design:type", String)
|
|
20
|
-
], Country.prototype, "name", void 0);
|
|
21
|
-
__decorate([
|
|
22
|
-
Column('varchar', { name: 'currencies', nullable: true, length: 255 }),
|
|
23
|
-
__metadata("design:type", String)
|
|
24
|
-
], Country.prototype, "currencies", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
Column('varchar', { name: 'capital', nullable: true, length: 50 }),
|
|
27
|
-
__metadata("design:type", String)
|
|
28
|
-
], Country.prototype, "capital", void 0);
|
|
29
|
-
__decorate([
|
|
30
|
-
Column('varchar', { name: 'region', nullable: true, length: 50 }),
|
|
31
|
-
__metadata("design:type", String)
|
|
32
|
-
], Country.prototype, "region", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
Column('varchar', { name: 'subregion', nullable: true, length: 50 }),
|
|
35
|
-
__metadata("design:type", String)
|
|
36
|
-
], Country.prototype, "subregion", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
Column('varchar', { name: 'languages', nullable: true, length: 255 }),
|
|
39
|
-
__metadata("design:type", String)
|
|
40
|
-
], Country.prototype, "languages", void 0);
|
|
41
|
-
__decorate([
|
|
42
|
-
Column('double', { name: 'lat', nullable: true }),
|
|
43
|
-
__metadata("design:type", Number)
|
|
44
|
-
], Country.prototype, "lat", void 0);
|
|
45
|
-
__decorate([
|
|
46
|
-
Column('double', { name: 'lon', nullable: true }),
|
|
47
|
-
__metadata("design:type", Number)
|
|
48
|
-
], Country.prototype, "lon", void 0);
|
|
49
|
-
__decorate([
|
|
50
|
-
Column('varchar', { name: 'borders', nullable: true, length: 255 }),
|
|
51
|
-
__metadata("design:type", String)
|
|
52
|
-
], Country.prototype, "borders", void 0);
|
|
53
|
-
__decorate([
|
|
54
|
-
Column('int', { name: 'area', nullable: true }),
|
|
55
|
-
__metadata("design:type", Number)
|
|
56
|
-
], Country.prototype, "area", void 0);
|
|
57
|
-
__decorate([
|
|
58
|
-
Column('varchar', {
|
|
59
|
-
name: 'internationalDirectDialing',
|
|
60
|
-
nullable: true,
|
|
61
|
-
length: 10,
|
|
62
|
-
}),
|
|
63
|
-
__metadata("design:type", String)
|
|
64
|
-
], Country.prototype, "internationalDirectDialing", void 0);
|
|
65
|
-
__decorate([
|
|
66
|
-
Column('varchar', { name: 'alpha2Code', nullable: true, length: 2 }),
|
|
67
|
-
__metadata("design:type", String)
|
|
68
|
-
], Country.prototype, "alpha2Code", void 0);
|
|
69
|
-
__decorate([
|
|
70
|
-
Column('varchar', { name: 'alpha3Code', nullable: true, length: 3 }),
|
|
71
|
-
__metadata("design:type", String)
|
|
72
|
-
], Country.prototype, "alpha3Code", void 0);
|
|
73
|
-
Country = __decorate([
|
|
74
|
-
Entity('country', { schema: 'nova' })
|
|
75
|
-
], Country);
|
|
76
|
-
export { Country };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
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;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
-
};
|
|
10
|
-
import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm';
|
|
11
|
-
let DataSourceType = class DataSourceType {
|
|
12
|
-
};
|
|
13
|
-
__decorate([
|
|
14
|
-
PrimaryGeneratedColumn({ type: 'tinyint', name: 'id' }),
|
|
15
|
-
__metadata("design:type", Number)
|
|
16
|
-
], DataSourceType.prototype, "id", void 0);
|
|
17
|
-
__decorate([
|
|
18
|
-
Column('varchar', { name: 'name', length: 50 }),
|
|
19
|
-
__metadata("design:type", String)
|
|
20
|
-
], DataSourceType.prototype, "name", void 0);
|
|
21
|
-
__decorate([
|
|
22
|
-
Column('varchar', { name: 'description', nullable: true, length: 255 }),
|
|
23
|
-
__metadata("design:type", String)
|
|
24
|
-
], DataSourceType.prototype, "description", void 0);
|
|
25
|
-
DataSourceType = __decorate([
|
|
26
|
-
Entity('dataSourceType', { schema: 'nova' })
|
|
27
|
-
], DataSourceType);
|
|
28
|
-
export { DataSourceType };
|