@spytecgps/nova-orm 1.0.83 → 1.0.84

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spytecgps/nova-orm",
3
- "version": "1.0.83",
3
+ "version": "1.0.84",
4
4
  "description": "ORM with PlanetScale",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -1,5 +0,0 @@
1
- export declare class DeviceTypeEvent {
2
- deviceTypeId: number;
3
- eventKey: string;
4
- value: string;
5
- }
@@ -1,33 +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 DeviceTypeEvent = class DeviceTypeEvent {
12
- deviceTypeId;
13
- eventKey;
14
- value;
15
- };
16
- __decorate([
17
- Column('smallint', { primary: true, name: 'deviceTypeId' }),
18
- __metadata("design:type", Number)
19
- ], DeviceTypeEvent.prototype, "deviceTypeId", void 0);
20
- __decorate([
21
- Column('varchar', { primary: true, name: 'eventKey', length: 50 }),
22
- __metadata("design:type", String)
23
- ], DeviceTypeEvent.prototype, "eventKey", void 0);
24
- __decorate([
25
- Column('varchar', { name: 'value', nullable: true, length: 255 }),
26
- __metadata("design:type", String)
27
- ], DeviceTypeEvent.prototype, "value", void 0);
28
- DeviceTypeEvent = __decorate([
29
- Index('ixDeviceTypeEventEventKey', ['eventKey'], {}),
30
- Entity('deviceTypeEvent', { schema: 'nova' })
31
- ], DeviceTypeEvent);
32
- export { DeviceTypeEvent };
33
- //# sourceMappingURL=deviceTypeEvent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"deviceTypeEvent.js","sourceRoot":"","sources":["../../src/entities/deviceTypeEvent.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAIxC,IAAM,eAAe,GAArB,MAAM,eAAe;IAE1B,YAAY,CAAQ;IAGpB,QAAQ,CAAQ;IAGhB,KAAK,CAAQ;CACd,CAAA;AARC;IAAC,MAAM,CAAC,UAAU,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC;;qDACxC;AAEpB;IAAC,MAAM,CAAC,SAAS,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;;iDACnD;AAEhB;IAAC,MAAM,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;8CACrD;AARF,eAAe;IAF3B,KAAK,CAAC,2BAA2B,EAAE,CAAC,UAAU,CAAC,EAAE,EAAE,CAAC;IACpD,MAAM,CAAC,iBAAiB,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;GACjC,eAAe,CAS3B;SATY,eAAe"}
@@ -1,6 +0,0 @@
1
- export declare class Event {
2
- key: string;
3
- name: string;
4
- description: string | null;
5
- tags: string | null;
6
- }
@@ -1,37 +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 Event = class Event {
12
- key;
13
- name;
14
- description;
15
- tags;
16
- };
17
- __decorate([
18
- Column('varchar', { primary: true, name: 'key', length: 50 }),
19
- __metadata("design:type", String)
20
- ], Event.prototype, "key", void 0);
21
- __decorate([
22
- Column('varchar', { name: 'name', length: 50 }),
23
- __metadata("design:type", String)
24
- ], Event.prototype, "name", void 0);
25
- __decorate([
26
- Column('varchar', { name: 'description', nullable: true, length: 255 }),
27
- __metadata("design:type", String)
28
- ], Event.prototype, "description", void 0);
29
- __decorate([
30
- Column('varchar', { name: 'tags', nullable: true, length: 500 }),
31
- __metadata("design:type", String)
32
- ], Event.prototype, "tags", void 0);
33
- Event = __decorate([
34
- Entity('event', { schema: 'nova' })
35
- ], Event);
36
- export { Event };
37
- //# sourceMappingURL=event.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"event.js","sourceRoot":"","sources":["../../src/entities/event.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;AAGjC,IAAM,KAAK,GAAX,MAAM,KAAK;IAEhB,GAAG,CAAQ;IAGX,IAAI,CAAQ;IAGZ,WAAW,CAAe;IAG1B,IAAI,CAAe;CACpB,CAAA;AAXC;IAAC,MAAM,CAAC,SAAS,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;;kCACnD;AAEX;IAAC,MAAM,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;;mCACpC;AAEZ;IAAC,MAAM,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;0CAC9C;AAE1B;IAAC,MAAM,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;mCAC9C;AAXR,KAAK;IADjB,MAAM,CAAC,OAAO,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;GACvB,KAAK,CAYjB;SAZY,KAAK"}