@sigmatech/pergamo 0.1.50 → 0.1.51
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/accreditation/accreditation.entity.d.ts +32 -0
- package/dist/entities/accreditation/accreditation.entity.d.ts.map +1 -0
- package/dist/entities/accreditation/accreditation.entity.js +98 -0
- package/dist/entities/accreditation/accreditation.entity.js.map +1 -0
- package/dist/entities/accreditation/fingerprint.entity.d.ts +56 -0
- package/dist/entities/accreditation/fingerprint.entity.d.ts.map +1 -0
- package/dist/entities/accreditation/fingerprint.entity.js +106 -0
- package/dist/entities/accreditation/fingerprint.entity.js.map +1 -0
- package/dist/entities/accreditation/index.d.ts +3 -0
- package/dist/entities/accreditation/index.d.ts.map +1 -0
- package/dist/entities/accreditation/index.js +19 -0
- package/dist/entities/accreditation/index.js.map +1 -0
- package/dist/entities/index.d.ts +1 -0
- package/dist/entities/index.d.ts.map +1 -1
- package/dist/entities/index.js +2 -0
- package/dist/entities/index.js.map +1 -1
- package/package.json +9 -8
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { EntityBase } from '../base/_base';
|
|
2
|
+
import { Person } from '../person/person.entity';
|
|
3
|
+
import { Fingerprint } from './fingerprint.entity';
|
|
4
|
+
export declare enum AccreditationStatus {
|
|
5
|
+
PENDING = "PENDING",// Pendiente de captura de huella
|
|
6
|
+
ACTIVE = "ACTIVE",// Activa con huella capturada
|
|
7
|
+
REVOKED = "REVOKED",// Revocada
|
|
8
|
+
EXPIRED = "EXPIRED"
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Accreditation Entity
|
|
12
|
+
*
|
|
13
|
+
* Represents a biometric accreditation for an event.
|
|
14
|
+
* Each accreditation is linked to a person and can have multiple fingerprints.
|
|
15
|
+
*
|
|
16
|
+
* @extends EntityBase - Tenant-specific entity with audit fields
|
|
17
|
+
*/
|
|
18
|
+
export declare class Accreditation extends EntityBase {
|
|
19
|
+
person: Person;
|
|
20
|
+
eventName: string;
|
|
21
|
+
eventDate: Date;
|
|
22
|
+
eventLocation?: string;
|
|
23
|
+
eventDescription?: string;
|
|
24
|
+
status: AccreditationStatus;
|
|
25
|
+
statusReason?: string;
|
|
26
|
+
photoUrl?: string;
|
|
27
|
+
badgeNumber?: string;
|
|
28
|
+
validUntil?: Date;
|
|
29
|
+
notes?: string;
|
|
30
|
+
fingerprints?: Fingerprint[];
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=accreditation.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accreditation.entity.d.ts","sourceRoot":"","sources":["../../../src/entities/accreditation/accreditation.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAUnD,oBAAY,mBAAmB;IAC7B,OAAO,YAAY,CAAE,iCAAiC;IACtD,MAAM,WAAW,CAAE,8BAA8B;IACjD,OAAO,YAAY,CAAE,WAAW;IAChC,OAAO,YAAY;CACpB;AAED;;;;;;;GAOG;AACH,qBAKa,aAAc,SAAQ,UAAU;IAI3C,MAAM,EAAG,MAAM,CAAC;IAIhB,SAAS,EAAG,MAAM,CAAC;IAGnB,SAAS,EAAG,IAAI,CAAC;IAGjB,aAAa,CAAC,EAAE,MAAM,CAAC;IAGvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAQ1B,MAAM,EAAG,mBAAmB,CAAC;IAG7B,YAAY,CAAC,EAAE,MAAM,CAAC;IAItB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAIlB,WAAW,CAAC,EAAE,MAAM,CAAC;IAIrB,UAAU,CAAC,EAAE,IAAI,CAAC;IAIlB,KAAK,CAAC,EAAE,MAAM,CAAC;IAOf,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;CAC9B"}
|
|
@@ -0,0 +1,98 @@
|
|
|
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.Accreditation = exports.AccreditationStatus = void 0;
|
|
13
|
+
const _base_1 = require("../base/_base");
|
|
14
|
+
const person_entity_1 = require("../person/person.entity");
|
|
15
|
+
const fingerprint_entity_1 = require("./fingerprint.entity");
|
|
16
|
+
const typeorm_1 = require("typeorm");
|
|
17
|
+
var AccreditationStatus;
|
|
18
|
+
(function (AccreditationStatus) {
|
|
19
|
+
AccreditationStatus["PENDING"] = "PENDING";
|
|
20
|
+
AccreditationStatus["ACTIVE"] = "ACTIVE";
|
|
21
|
+
AccreditationStatus["REVOKED"] = "REVOKED";
|
|
22
|
+
AccreditationStatus["EXPIRED"] = "EXPIRED";
|
|
23
|
+
})(AccreditationStatus || (exports.AccreditationStatus = AccreditationStatus = {}));
|
|
24
|
+
/**
|
|
25
|
+
* Accreditation Entity
|
|
26
|
+
*
|
|
27
|
+
* Represents a biometric accreditation for an event.
|
|
28
|
+
* Each accreditation is linked to a person and can have multiple fingerprints.
|
|
29
|
+
*
|
|
30
|
+
* @extends EntityBase - Tenant-specific entity with audit fields
|
|
31
|
+
*/
|
|
32
|
+
let Accreditation = class Accreditation extends _base_1.EntityBase {
|
|
33
|
+
};
|
|
34
|
+
exports.Accreditation = Accreditation;
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, typeorm_1.ManyToOne)(() => person_entity_1.Person, { nullable: false, eager: true }),
|
|
37
|
+
(0, typeorm_1.JoinColumn)({ name: 'person_id' }),
|
|
38
|
+
__metadata("design:type", person_entity_1.Person)
|
|
39
|
+
], Accreditation.prototype, "person", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, typeorm_1.Column)({ name: 'event_name', length: 255 }),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], Accreditation.prototype, "eventName", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, typeorm_1.Column)({ name: 'event_date', type: 'date' }),
|
|
46
|
+
__metadata("design:type", Date)
|
|
47
|
+
], Accreditation.prototype, "eventDate", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, typeorm_1.Column)({ name: 'event_location', length: 255, nullable: true }),
|
|
50
|
+
__metadata("design:type", String)
|
|
51
|
+
], Accreditation.prototype, "eventLocation", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, typeorm_1.Column)({ name: 'event_description', type: 'text', nullable: true }),
|
|
54
|
+
__metadata("design:type", String)
|
|
55
|
+
], Accreditation.prototype, "eventDescription", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, typeorm_1.Column)({
|
|
58
|
+
type: 'enum',
|
|
59
|
+
enum: AccreditationStatus,
|
|
60
|
+
default: AccreditationStatus.PENDING,
|
|
61
|
+
}),
|
|
62
|
+
__metadata("design:type", String)
|
|
63
|
+
], Accreditation.prototype, "status", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, typeorm_1.Column)({ name: 'status_reason', type: 'text', nullable: true }),
|
|
66
|
+
__metadata("design:type", String)
|
|
67
|
+
], Accreditation.prototype, "statusReason", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, typeorm_1.Column)({ name: 'photo_url', length: 500, nullable: true }),
|
|
70
|
+
__metadata("design:type", String)
|
|
71
|
+
], Accreditation.prototype, "photoUrl", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, typeorm_1.Column)({ name: 'badge_number', length: 50, nullable: true, unique: true }),
|
|
74
|
+
__metadata("design:type", String)
|
|
75
|
+
], Accreditation.prototype, "badgeNumber", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
(0, typeorm_1.Column)({ name: 'valid_until', type: 'date', nullable: true }),
|
|
78
|
+
__metadata("design:type", Date)
|
|
79
|
+
], Accreditation.prototype, "validUntil", void 0);
|
|
80
|
+
__decorate([
|
|
81
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
82
|
+
__metadata("design:type", String)
|
|
83
|
+
], Accreditation.prototype, "notes", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
(0, typeorm_1.OneToMany)(() => fingerprint_entity_1.Fingerprint, (fp) => fp.accreditation, {
|
|
86
|
+
cascade: true,
|
|
87
|
+
eager: true,
|
|
88
|
+
}),
|
|
89
|
+
__metadata("design:type", Array)
|
|
90
|
+
], Accreditation.prototype, "fingerprints", void 0);
|
|
91
|
+
exports.Accreditation = Accreditation = __decorate([
|
|
92
|
+
(0, typeorm_1.Entity)('accreditation'),
|
|
93
|
+
(0, typeorm_1.Index)('accreditation_person_idx', ['person']),
|
|
94
|
+
(0, typeorm_1.Index)('accreditation_event_idx', ['eventName', 'eventDate']),
|
|
95
|
+
(0, typeorm_1.Index)('accreditation_status_idx', ['status']),
|
|
96
|
+
(0, typeorm_1.Index)('accreditation_badge_number_idx', ['badgeNumber'], { unique: true })
|
|
97
|
+
], Accreditation);
|
|
98
|
+
//# sourceMappingURL=accreditation.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accreditation.entity.js","sourceRoot":"","sources":["../../../src/entities/accreditation/accreditation.entity.ts"],"names":[],"m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|
|
3
|
+
export declare enum FingerPosition {
|
|
4
|
+
RIGHT_THUMB = "RIGHT_THUMB",
|
|
5
|
+
RIGHT_INDEX = "RIGHT_INDEX",
|
|
6
|
+
RIGHT_MIDDLE = "RIGHT_MIDDLE",
|
|
7
|
+
RIGHT_RING = "RIGHT_RING",
|
|
8
|
+
RIGHT_LITTLE = "RIGHT_LITTLE",
|
|
9
|
+
LEFT_THUMB = "LEFT_THUMB",
|
|
10
|
+
LEFT_INDEX = "LEFT_INDEX",
|
|
11
|
+
LEFT_MIDDLE = "LEFT_MIDDLE",
|
|
12
|
+
LEFT_RING = "LEFT_RING",
|
|
13
|
+
LEFT_LITTLE = "LEFT_LITTLE"
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Quality Metrics Interface
|
|
17
|
+
*
|
|
18
|
+
* Stores quality metrics from the biometric capture device.
|
|
19
|
+
* Includes image quality indicators and template information.
|
|
20
|
+
*/
|
|
21
|
+
export interface QualityMetrics {
|
|
22
|
+
mean_intensity: number;
|
|
23
|
+
std_deviation: number;
|
|
24
|
+
contrast: number;
|
|
25
|
+
sharpness: number;
|
|
26
|
+
information_content: number;
|
|
27
|
+
quality_score: number;
|
|
28
|
+
is_acceptable: boolean;
|
|
29
|
+
minutiae_count_ansi: number;
|
|
30
|
+
minutiae_count_iso: number;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Fingerprint Entity
|
|
34
|
+
*
|
|
35
|
+
* Stores biometric fingerprint data for an accreditation.
|
|
36
|
+
* Includes both ANSI-378-2004 and ISO-19794-2-2005 templates,
|
|
37
|
+
* optional RAW image for audit, and quality metrics.
|
|
38
|
+
*
|
|
39
|
+
* @extends EntityBase - Tenant-specific entity with audit fields
|
|
40
|
+
*/
|
|
41
|
+
export declare class Fingerprint extends EntityBase {
|
|
42
|
+
accreditation: Accreditation;
|
|
43
|
+
fingerPosition: FingerPosition;
|
|
44
|
+
templateAnsi: Buffer;
|
|
45
|
+
templateIso: Buffer;
|
|
46
|
+
rawImage?: Buffer;
|
|
47
|
+
width: number;
|
|
48
|
+
height: number;
|
|
49
|
+
dpi: number;
|
|
50
|
+
qualityMetrics: QualityMetrics;
|
|
51
|
+
captureTimestamp: Date;
|
|
52
|
+
deviceSerial?: string;
|
|
53
|
+
deviceModel?: string;
|
|
54
|
+
deviceVendor?: string;
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=fingerprint.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fingerprint.entity.d.ts","sourceRoot":"","sources":["../../../src/entities/accreditation/fingerprint.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AASvD,oBAAY,cAAc;IACxB,WAAW,gBAAgB;IAC3B,WAAW,gBAAgB;IAC3B,YAAY,iBAAiB;IAC7B,UAAU,eAAe;IACzB,YAAY,iBAAiB;IAC7B,UAAU,eAAe;IACzB,UAAU,eAAe;IACzB,WAAW,gBAAgB;IAC3B,SAAS,cAAc;IACvB,WAAW,gBAAgB;CAC5B;AAED;;;;;GAKG;AACH,MAAM,WAAW,cAAc;IAC7B,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,OAAO,CAAC;IACvB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AAED;;;;;;;;GAQG;AACH,qBAEa,WAAY,SAAQ,UAAU;IAOzC,aAAa,EAAG,aAAa,CAAC;IAS9B,cAAc,EAAG,cAAc,CAAC;IAIhC,YAAY,EAAG,MAAM,CAAC;IAGtB,WAAW,EAAG,MAAM,CAAC;IAIrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAIlB,KAAK,EAAG,MAAM,CAAC;IAGf,MAAM,EAAG,MAAM,CAAC;IAGhB,GAAG,EAAG,MAAM,CAAC;IAIb,cAAc,EAAG,cAAc,CAAC;IAIhC,gBAAgB,EAAG,IAAI,CAAC;IAIxB,YAAY,CAAC,EAAE,MAAM,CAAC;IAGtB,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB"}
|
|
@@ -0,0 +1,106 @@
|
|
|
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.Fingerprint = exports.FingerPosition = void 0;
|
|
13
|
+
const _base_1 = require("../base/_base");
|
|
14
|
+
const accreditation_entity_1 = require("./accreditation.entity");
|
|
15
|
+
const typeorm_1 = require("typeorm");
|
|
16
|
+
var FingerPosition;
|
|
17
|
+
(function (FingerPosition) {
|
|
18
|
+
FingerPosition["RIGHT_THUMB"] = "RIGHT_THUMB";
|
|
19
|
+
FingerPosition["RIGHT_INDEX"] = "RIGHT_INDEX";
|
|
20
|
+
FingerPosition["RIGHT_MIDDLE"] = "RIGHT_MIDDLE";
|
|
21
|
+
FingerPosition["RIGHT_RING"] = "RIGHT_RING";
|
|
22
|
+
FingerPosition["RIGHT_LITTLE"] = "RIGHT_LITTLE";
|
|
23
|
+
FingerPosition["LEFT_THUMB"] = "LEFT_THUMB";
|
|
24
|
+
FingerPosition["LEFT_INDEX"] = "LEFT_INDEX";
|
|
25
|
+
FingerPosition["LEFT_MIDDLE"] = "LEFT_MIDDLE";
|
|
26
|
+
FingerPosition["LEFT_RING"] = "LEFT_RING";
|
|
27
|
+
FingerPosition["LEFT_LITTLE"] = "LEFT_LITTLE";
|
|
28
|
+
})(FingerPosition || (exports.FingerPosition = FingerPosition = {}));
|
|
29
|
+
/**
|
|
30
|
+
* Fingerprint Entity
|
|
31
|
+
*
|
|
32
|
+
* Stores biometric fingerprint data for an accreditation.
|
|
33
|
+
* Includes both ANSI-378-2004 and ISO-19794-2-2005 templates,
|
|
34
|
+
* optional RAW image for audit, and quality metrics.
|
|
35
|
+
*
|
|
36
|
+
* @extends EntityBase - Tenant-specific entity with audit fields
|
|
37
|
+
*/
|
|
38
|
+
let Fingerprint = class Fingerprint extends _base_1.EntityBase {
|
|
39
|
+
};
|
|
40
|
+
exports.Fingerprint = Fingerprint;
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.ManyToOne)(() => accreditation_entity_1.Accreditation, (acc) => acc.fingerprints, {
|
|
43
|
+
onDelete: 'CASCADE',
|
|
44
|
+
nullable: false,
|
|
45
|
+
}),
|
|
46
|
+
(0, typeorm_1.JoinColumn)({ name: 'accreditation_id' }),
|
|
47
|
+
__metadata("design:type", accreditation_entity_1.Accreditation)
|
|
48
|
+
], Fingerprint.prototype, "accreditation", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.Column)({
|
|
51
|
+
name: 'finger_position',
|
|
52
|
+
type: 'enum',
|
|
53
|
+
enum: FingerPosition,
|
|
54
|
+
default: FingerPosition.RIGHT_INDEX,
|
|
55
|
+
}),
|
|
56
|
+
__metadata("design:type", String)
|
|
57
|
+
], Fingerprint.prototype, "fingerPosition", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, typeorm_1.Column)({ name: 'template_ansi', type: 'bytea' }),
|
|
60
|
+
__metadata("design:type", Buffer)
|
|
61
|
+
], Fingerprint.prototype, "templateAnsi", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
(0, typeorm_1.Column)({ name: 'template_iso', type: 'bytea' }),
|
|
64
|
+
__metadata("design:type", Buffer)
|
|
65
|
+
], Fingerprint.prototype, "templateIso", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, typeorm_1.Column)({ name: 'raw_image', type: 'bytea', nullable: true }),
|
|
68
|
+
__metadata("design:type", Buffer)
|
|
69
|
+
], Fingerprint.prototype, "rawImage", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, typeorm_1.Column)({ type: 'int', default: 320 }),
|
|
72
|
+
__metadata("design:type", Number)
|
|
73
|
+
], Fingerprint.prototype, "width", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
(0, typeorm_1.Column)({ type: 'int', default: 480 }),
|
|
76
|
+
__metadata("design:type", Number)
|
|
77
|
+
], Fingerprint.prototype, "height", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
(0, typeorm_1.Column)({ type: 'int', default: 500 }),
|
|
80
|
+
__metadata("design:type", Number)
|
|
81
|
+
], Fingerprint.prototype, "dpi", void 0);
|
|
82
|
+
__decorate([
|
|
83
|
+
(0, typeorm_1.Column)({ name: 'quality_metrics', type: 'jsonb' }),
|
|
84
|
+
__metadata("design:type", Object)
|
|
85
|
+
], Fingerprint.prototype, "qualityMetrics", void 0);
|
|
86
|
+
__decorate([
|
|
87
|
+
(0, typeorm_1.Column)({ name: 'capture_timestamp', type: 'timestamp' }),
|
|
88
|
+
__metadata("design:type", Date)
|
|
89
|
+
], Fingerprint.prototype, "captureTimestamp", void 0);
|
|
90
|
+
__decorate([
|
|
91
|
+
(0, typeorm_1.Column)({ name: 'device_serial', length: 100, nullable: true }),
|
|
92
|
+
__metadata("design:type", String)
|
|
93
|
+
], Fingerprint.prototype, "deviceSerial", void 0);
|
|
94
|
+
__decorate([
|
|
95
|
+
(0, typeorm_1.Column)({ name: 'device_model', length: 100, nullable: true }),
|
|
96
|
+
__metadata("design:type", String)
|
|
97
|
+
], Fingerprint.prototype, "deviceModel", void 0);
|
|
98
|
+
__decorate([
|
|
99
|
+
(0, typeorm_1.Column)({ name: 'device_vendor', length: 100, nullable: true }),
|
|
100
|
+
__metadata("design:type", String)
|
|
101
|
+
], Fingerprint.prototype, "deviceVendor", void 0);
|
|
102
|
+
exports.Fingerprint = Fingerprint = __decorate([
|
|
103
|
+
(0, typeorm_1.Entity)('fingerprint'),
|
|
104
|
+
(0, typeorm_1.Index)('fingerprint_accreditation_idx', ['accreditation'])
|
|
105
|
+
], Fingerprint);
|
|
106
|
+
//# sourceMappingURL=fingerprint.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fingerprint.entity.js","sourceRoot":"","sources":["../../../src/entities/accreditation/fingerprint.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,iEAAuD;AACvD,qCAMiB;AAEjB,IAAY,cAWX;AAXD,WAAY,cAAc;IACxB,6CAA2B,CAAA;IAC3B,6CAA2B,CAAA;IAC3B,+CAA6B,CAAA;IAC7B,2CAAyB,CAAA;IACzB,+CAA6B,CAAA;IAC7B,2CAAyB,CAAA;IACzB,2CAAyB,CAAA;IACzB,6CAA2B,CAAA;IAC3B,yCAAuB,CAAA;IACvB,6CAA2B,CAAA;AAC7B,CAAC,EAXW,cAAc,8BAAd,cAAc,QAWzB;AAoBD;;;;;;;;GAQG;AAGI,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,kBAAU;CAwD1C,CAAA;AAxDY,kCAAW;AAOtB;IALC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,oCAAa,EAAE,CA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AC;AAIxB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,eAAe,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACzC;AAGtB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,cAAc,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gDACzC;AAGrB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,eAAe,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACzC;sBAvDX,WAAW;IAFvB,IAAA,gBAAM,EAAC,aAAa,CAAC;IACrB,IAAA,eAAK,EAAC,+BAA+B,EAAE,CAAC,eAAe,CAAC,CAAC;GAC7C,WAAW,CAwDvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/entities/accreditation/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./accreditation.entity"), exports);
|
|
18
|
+
__exportStar(require("./fingerprint.entity"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/entities/accreditation/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC;AACvC,uDAAqC"}
|
package/dist/entities/index.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ export * from "./person/characterization-annex.entity";
|
|
|
24
24
|
export * from "./person/characterization-family.entity";
|
|
25
25
|
export * from "./person/characterization-linkage.entity";
|
|
26
26
|
export * from "./vehicle";
|
|
27
|
+
export * from "./accreditation";
|
|
27
28
|
export * from "./telefonia/telefonia.entity";
|
|
28
29
|
export * from "./telefonia/historial-ubicacion.entity";
|
|
29
30
|
export * from "./telefonia/bts.entity";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/entities/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AAGpC,cAAc,6CAA6C,CAAC;AAC5D,cAAc,kDAAkD,CAAC;AAGjE,cAAc,wBAAwB,CAAC;AACvC,cAAc,uCAAuC,CAAC;AACtD,cAAc,kCAAkC,CAAC;AACjD,cAAc,oCAAoC,CAAC;AACnD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uCAAuC,CAAC;AACtD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,sCAAsC,CAAC;AACrD,cAAc,mCAAmC,CAAC;AAClD,cAAc,oCAAoC,CAAC;AACnD,cAAc,oCAAoC,CAAC;AACnD,cAAc,qCAAqC,CAAC;AACpD,cAAc,yCAAyC,CAAC;AACxD,cA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ANGED
|
@@ -44,6 +44,8 @@ __exportStar(require("./person/characterization-family.entity"), exports);
|
|
|
44
44
|
__exportStar(require("./person/characterization-linkage.entity"), exports);
|
|
45
45
|
// Vehicle module
|
|
46
46
|
__exportStar(require("./vehicle"), exports);
|
|
47
|
+
// Accreditation module
|
|
48
|
+
__exportStar(require("./accreditation"), exports);
|
|
47
49
|
// Telefonia module
|
|
48
50
|
__exportStar(require("./telefonia/telefonia.entity"), exports);
|
|
49
51
|
__exportStar(require("./telefonia/historial-ubicacion.entity"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/entities/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;AAEH,gBAAgB;AAChB,+CAA6B;AAC7B,sDAAoC;AAEpC,sBAAsB;AACtB,8EAA4D;AAC5D,mFAAiE;AAEjE,gBAAgB;AAChB,yDAAuC;AACvC,wEAAsD;AACtD,mEAAiD;AACjD,qEAAmD;AACnD,6DAA2C;AAC3C,wEAAsD;AACtD,+DAA6C;AAC7C,wDAAsC;AACtC,uEAAqD;AACrD,oEAAkD;AAClD,qEAAmD;AACnD,qEAAmD;AACnD,sEAAoD;AACpD,0EAAwD;AACxD,yEAAuD;AACvD,0EAAwD;AACxD,2EAAyD;AAEzD,iBAAiB;AACjB,4CAA0B;AAE1B,mBAAmB;AACnB,+DAA6C;AAC7C,yEAAuD;AACvD,yDAAuC;AACvC,sEAAoD;AACpD,uEAAqD;AACrD,oEAAkD;AAClD,oEAAkD;AAClD,2EAAyD;AAEzD,kBAAkB;AAClB,6DAA2C;AAC3C,yEAAuD;AAEvD,cAAc;AACd,qDAAmC;AACnC,2DAAyC;AACzC,0DAAwC;AACxC,4DAA0C;AAE1C,eAAe;AACf,uDAAqC;AAErC,cAAc;AACd,yDAAuC;AACvC,yDAAuC;AAEvC,cAAc;AACd,4DAA0C;AAC1C,6DAA2C;AAC3C,iEAA+C;AAC/C,oEAAkD;AAClD,4DAA0C;AAE1C,sBAAsB;AACtB,8EAA4D;AAC5D,gFAA8D;AAC9D,8DAA4C;AAE5C,uBAAuB;AACvB,yDAAuC;AACvC,6DAA2C;AAE3C,kBAAkB;AAClB,sEAAoD;AAEpD,sBAAsB;AACtB,iEAA+C;AAC/C,wEAAsD;AACtD,oEAAkD;AAElD,qBAAqB;AACrB,0EAAwD;AAExD,uBAAuB;AACvB,6EAA2D;AAC3D,gFAA8D;AAE9D,mBAAmB;AACnB,qEAAmD;AACnD,4EAA0D;AAE1D,sBAAsB;AACtB,2EAAyD;AACzD,wEAAsD;AACtD,yEAAuD;AAEvD,cAAc;AACd,gDAA8B;AAE9B,cAAc;AACd,yCAAuB;AAEvB,aAAa;AACb,sDAAoC;AAEpC,YAAY;AACZ,qDAAmC;AAEnC,yBAAyB;AACzB,oFAAkE;AAClE,gEAA8C;AAC9C,yDAAuC;AAEvC,aAAa;AACb,6DAA2C;AAE3C,aAAa;AACb,2DAAyC;AACzC,+DAA6C;AAC7C,kEAAgD;AAChD,oEAAkD;AAElD,kBAAkB;AAClB,6CAA2B;AAE3B,eAAe;AACf,0CAAwB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/entities/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;AAEH,gBAAgB;AAChB,+CAA6B;AAC7B,sDAAoC;AAEpC,sBAAsB;AACtB,8EAA4D;AAC5D,mFAAiE;AAEjE,gBAAgB;AAChB,yDAAuC;AACvC,wEAAsD;AACtD,mEAAiD;AACjD,qEAAmD;AACnD,6DAA2C;AAC3C,wEAAsD;AACtD,+DAA6C;AAC7C,wDAAsC;AACtC,uEAAqD;AACrD,oEAAkD;AAClD,qEAAmD;AACnD,qEAAmD;AACnD,sEAAoD;AACpD,0EAAwD;AACxD,yEAAuD;AACvD,0EAAwD;AACxD,2EAAyD;AAEzD,iBAAiB;AACjB,4CAA0B;AAE1B,uBAAuB;AACvB,kDAAgC;AAE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|
4
4
|
"description": "Shared TypeORM entities and utilities for Dataven intelligence system - Named after the ancient library of Pergamon",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist"
|
|
9
9
|
],
|
|
10
|
+
"scripts": {
|
|
11
|
+
"build": "rm -rf dist && tsc -p tsconfig.build.json",
|
|
12
|
+
"build:watch": "tsc -p tsconfig.build.json --watch",
|
|
13
|
+
"prepublishOnly": "pnpm build",
|
|
14
|
+
"publish:local": "pnpm build && npm pack",
|
|
15
|
+
"publish:npm": "npm version patch && pnpm build && npm publish --access public"
|
|
16
|
+
},
|
|
10
17
|
"keywords": [
|
|
11
18
|
"typeorm",
|
|
12
19
|
"entities",
|
|
@@ -32,11 +39,5 @@
|
|
|
32
39
|
"reflect-metadata": "^0.2.2",
|
|
33
40
|
"typeorm": "^0.3.27",
|
|
34
41
|
"typescript": "^5.9.3"
|
|
35
|
-
},
|
|
36
|
-
"scripts": {
|
|
37
|
-
"build": "rm -rf dist && tsc -p tsconfig.build.json",
|
|
38
|
-
"build:watch": "tsc -p tsconfig.build.json --watch",
|
|
39
|
-
"publish:local": "pnpm build && npm pack",
|
|
40
|
-
"publish:npm": "npm version patch && pnpm build && npm publish --access public"
|
|
41
42
|
}
|
|
42
|
-
}
|
|
43
|
+
}
|