@sigmatech/pergamo 0.1.65 → 0.1.66
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/document-fingerprint.entity.d.ts +162 -0
- package/dist/entities/document-fingerprint.entity.d.ts.map +1 -0
- package/dist/entities/document-fingerprint.entity.js +111 -0
- package/dist/entities/document-fingerprint.entity.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 +1 -0
- package/dist/entities/index.js.map +1 -1
- package/package.json +9 -8
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DocumentFingerprint Entity
|
|
3
|
+
*
|
|
4
|
+
* Stores cryptographic fingerprints for generated PDF documents.
|
|
5
|
+
* Used for tracking document generation and identifying leaks.
|
|
6
|
+
*
|
|
7
|
+
* @module entities/document-fingerprint
|
|
8
|
+
*/
|
|
9
|
+
import { User } from "./user.entity";
|
|
10
|
+
/**
|
|
11
|
+
* Fingerprint payload structure (stored as JSON)
|
|
12
|
+
*/
|
|
13
|
+
export interface FingerprintPayload {
|
|
14
|
+
documentId: string;
|
|
15
|
+
userId: string;
|
|
16
|
+
timestamp: string;
|
|
17
|
+
sessionId: string;
|
|
18
|
+
signature: string;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Structural layer data (stored as JSON)
|
|
22
|
+
*/
|
|
23
|
+
export interface StructuralLayerData {
|
|
24
|
+
metadata: {
|
|
25
|
+
creator: string;
|
|
26
|
+
producer: string;
|
|
27
|
+
keywords: string;
|
|
28
|
+
subject: string;
|
|
29
|
+
};
|
|
30
|
+
objectOrder: number[];
|
|
31
|
+
fragment: {
|
|
32
|
+
fragmentId: number;
|
|
33
|
+
totalFragments: number;
|
|
34
|
+
data: string;
|
|
35
|
+
checksum: string;
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Typographic layer data (stored as JSON)
|
|
40
|
+
*/
|
|
41
|
+
export interface TypographicLayerData {
|
|
42
|
+
variations: Array<{
|
|
43
|
+
page: number;
|
|
44
|
+
elementIndex: number;
|
|
45
|
+
type: "letter-spacing" | "word-spacing" | "kerning";
|
|
46
|
+
value: number;
|
|
47
|
+
bit: 0 | 1;
|
|
48
|
+
}>;
|
|
49
|
+
fragment: {
|
|
50
|
+
fragmentId: number;
|
|
51
|
+
totalFragments: number;
|
|
52
|
+
data: string;
|
|
53
|
+
checksum: string;
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Visual layer data (stored as JSON)
|
|
58
|
+
*/
|
|
59
|
+
export interface VisualLayerData {
|
|
60
|
+
steganography: Array<{
|
|
61
|
+
page: number;
|
|
62
|
+
elementId: string;
|
|
63
|
+
position: {
|
|
64
|
+
x: number;
|
|
65
|
+
y: number;
|
|
66
|
+
width: number;
|
|
67
|
+
height: number;
|
|
68
|
+
};
|
|
69
|
+
bitsEmbedded: number;
|
|
70
|
+
startPixel: {
|
|
71
|
+
x: number;
|
|
72
|
+
y: number;
|
|
73
|
+
};
|
|
74
|
+
}>;
|
|
75
|
+
fragment: {
|
|
76
|
+
fragmentId: number;
|
|
77
|
+
totalFragments: number;
|
|
78
|
+
data: string;
|
|
79
|
+
checksum: string;
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
export declare class DocumentFingerprint {
|
|
83
|
+
id: string;
|
|
84
|
+
/**
|
|
85
|
+
* Unique document identifier
|
|
86
|
+
*/
|
|
87
|
+
documentId: string;
|
|
88
|
+
/**
|
|
89
|
+
* User ID who generated the document (Keycloak UUID)
|
|
90
|
+
*/
|
|
91
|
+
userId: string;
|
|
92
|
+
/**
|
|
93
|
+
* User relationship (for eager loading user details)
|
|
94
|
+
*/
|
|
95
|
+
user?: User;
|
|
96
|
+
/**
|
|
97
|
+
* User email at time of generation
|
|
98
|
+
*/
|
|
99
|
+
userEmail: string;
|
|
100
|
+
/**
|
|
101
|
+
* User full name at time of generation
|
|
102
|
+
*/
|
|
103
|
+
userName: string;
|
|
104
|
+
/**
|
|
105
|
+
* Document generation timestamp
|
|
106
|
+
*/
|
|
107
|
+
timestamp: Date;
|
|
108
|
+
/**
|
|
109
|
+
* Session identifier
|
|
110
|
+
*/
|
|
111
|
+
sessionId: string;
|
|
112
|
+
/**
|
|
113
|
+
* Complete fingerprint payload (JSON)
|
|
114
|
+
*/
|
|
115
|
+
payload: FingerprintPayload;
|
|
116
|
+
/**
|
|
117
|
+
* Structural layer data (JSON)
|
|
118
|
+
*/
|
|
119
|
+
structural: StructuralLayerData;
|
|
120
|
+
/**
|
|
121
|
+
* Typographic layer data (JSON)
|
|
122
|
+
*/
|
|
123
|
+
typographic: TypographicLayerData;
|
|
124
|
+
/**
|
|
125
|
+
* Visual layer data (JSON)
|
|
126
|
+
*/
|
|
127
|
+
visual: VisualLayerData;
|
|
128
|
+
/**
|
|
129
|
+
* HMAC-SHA256 signature
|
|
130
|
+
*/
|
|
131
|
+
signature: string;
|
|
132
|
+
/**
|
|
133
|
+
* IP address of the requester
|
|
134
|
+
*/
|
|
135
|
+
ipAddress?: string;
|
|
136
|
+
/**
|
|
137
|
+
* User agent string
|
|
138
|
+
*/
|
|
139
|
+
userAgent?: string;
|
|
140
|
+
/**
|
|
141
|
+
* Additional metadata (JSON)
|
|
142
|
+
* - personId: ID of the person in the profile
|
|
143
|
+
* - cedula: Person's cedula
|
|
144
|
+
* - generatedAt: ISO timestamp
|
|
145
|
+
* - expedienteId: File ID
|
|
146
|
+
* - totalPages: Number of pages
|
|
147
|
+
*/
|
|
148
|
+
metadata?: Record<string, any>;
|
|
149
|
+
/**
|
|
150
|
+
* Person ID (Onfalo ID) from metadata for indexing
|
|
151
|
+
*/
|
|
152
|
+
personId?: string;
|
|
153
|
+
/**
|
|
154
|
+
* Record creation timestamp
|
|
155
|
+
*/
|
|
156
|
+
createdAt: Date;
|
|
157
|
+
/**
|
|
158
|
+
* Record last update timestamp
|
|
159
|
+
*/
|
|
160
|
+
updatedAt: Date;
|
|
161
|
+
}
|
|
162
|
+
//# sourceMappingURL=document-fingerprint.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document-fingerprint.entity.d.ts","sourceRoot":"","sources":["../../src/entities/document-fingerprint.entity.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAYH,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAErC;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE;QACR,OAAO,EAAE,MAAM,CAAC;QAChB,QAAQ,EAAE,MAAM,CAAC;QACjB,QAAQ,EAAE,MAAM,CAAC;QACjB,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,QAAQ,EAAE;QACR,UAAU,EAAE,MAAM,CAAC;QACnB,cAAc,EAAE,MAAM,CAAC;QACvB,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;CACH;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,UAAU,EAAE,KAAK,CAAC;QAChB,IAAI,EAAE,MAAM,CAAC;QACb,YAAY,EAAE,MAAM,CAAC;QACrB,IAAI,EAAE,gBAAgB,GAAG,cAAc,GAAG,SAAS,CAAC;QACpD,KAAK,EAAE,MAAM,CAAC;QACd,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC;KACZ,CAAC,CAAC;IACH,QAAQ,EAAE;QACR,UAAU,EAAE,MAAM,CAAC;QACnB,cAAc,EAAE,MAAM,CAAC;QACvB,IAAI,EAAE,MAAM,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EG;IAEH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IAEH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;;;;OAOG;IAEH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAE/B;;OAEG;IAEH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IAEH,SAAS,EAAG,IAAI,CAAC;IAEjB;;OAEG;IAEH,SAAS,EAAG,IAAI,CAAC;CAClB"}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* DocumentFingerprint Entity
|
|
4
|
+
*
|
|
5
|
+
* Stores cryptographic fingerprints for generated PDF documents.
|
|
6
|
+
* Used for tracking document generation and identifying leaks.
|
|
7
|
+
*
|
|
8
|
+
* @module entities/document-fingerprint
|
|
9
|
+
*/
|
|
10
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
11
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
13
|
+
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;
|
|
14
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15
|
+
};
|
|
16
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
17
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
18
|
+
};
|
|
19
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
+
exports.DocumentFingerprint = void 0;
|
|
21
|
+
const typeorm_1 = require("typeorm");
|
|
22
|
+
const user_entity_1 = require("./user.entity");
|
|
23
|
+
let DocumentFingerprint = class DocumentFingerprint {
|
|
24
|
+
};
|
|
25
|
+
exports.DocumentFingerprint = DocumentFingerprint;
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], DocumentFingerprint.prototype, "id", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 255, unique: true }),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], DocumentFingerprint.prototype, "documentId", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, typeorm_1.Column)({ type: "uuid" }),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], DocumentFingerprint.prototype, "userId", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, { eager: false, nullable: true }),
|
|
40
|
+
(0, typeorm_1.JoinColumn)({ name: "userId" }),
|
|
41
|
+
__metadata("design:type", user_entity_1.User)
|
|
42
|
+
], DocumentFingerprint.prototype, "user", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 255 }),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], DocumentFingerprint.prototype, "userEmail", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 255 }),
|
|
49
|
+
__metadata("design:type", String)
|
|
50
|
+
], DocumentFingerprint.prototype, "userName", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, typeorm_1.Column)({ type: "timestamp with time zone" }),
|
|
53
|
+
__metadata("design:type", Date)
|
|
54
|
+
], DocumentFingerprint.prototype, "timestamp", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 255 }),
|
|
57
|
+
__metadata("design:type", String)
|
|
58
|
+
], DocumentFingerprint.prototype, "sessionId", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, typeorm_1.Column)({ type: "jsonb" }),
|
|
61
|
+
__metadata("design:type", Object)
|
|
62
|
+
], DocumentFingerprint.prototype, "payload", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, typeorm_1.Column)({ type: "jsonb" }),
|
|
65
|
+
__metadata("design:type", Object)
|
|
66
|
+
], DocumentFingerprint.prototype, "structural", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
(0, typeorm_1.Column)({ type: "jsonb" }),
|
|
69
|
+
__metadata("design:type", Object)
|
|
70
|
+
], DocumentFingerprint.prototype, "typographic", void 0);
|
|
71
|
+
__decorate([
|
|
72
|
+
(0, typeorm_1.Column)({ type: "jsonb" }),
|
|
73
|
+
__metadata("design:type", Object)
|
|
74
|
+
], DocumentFingerprint.prototype, "visual", void 0);
|
|
75
|
+
__decorate([
|
|
76
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 512 }),
|
|
77
|
+
__metadata("design:type", String)
|
|
78
|
+
], DocumentFingerprint.prototype, "signature", void 0);
|
|
79
|
+
__decorate([
|
|
80
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 45, nullable: true }),
|
|
81
|
+
__metadata("design:type", String)
|
|
82
|
+
], DocumentFingerprint.prototype, "ipAddress", void 0);
|
|
83
|
+
__decorate([
|
|
84
|
+
(0, typeorm_1.Column)({ type: "text", nullable: true }),
|
|
85
|
+
__metadata("design:type", String)
|
|
86
|
+
], DocumentFingerprint.prototype, "userAgent", void 0);
|
|
87
|
+
__decorate([
|
|
88
|
+
(0, typeorm_1.Column)({ type: "jsonb", nullable: true }),
|
|
89
|
+
__metadata("design:type", Object)
|
|
90
|
+
], DocumentFingerprint.prototype, "metadata", void 0);
|
|
91
|
+
__decorate([
|
|
92
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
|
|
93
|
+
__metadata("design:type", String)
|
|
94
|
+
], DocumentFingerprint.prototype, "personId", void 0);
|
|
95
|
+
__decorate([
|
|
96
|
+
(0, typeorm_1.CreateDateColumn)({ type: "timestamp with time zone" }),
|
|
97
|
+
__metadata("design:type", Date)
|
|
98
|
+
], DocumentFingerprint.prototype, "createdAt", void 0);
|
|
99
|
+
__decorate([
|
|
100
|
+
(0, typeorm_1.UpdateDateColumn)({ type: "timestamp with time zone" }),
|
|
101
|
+
__metadata("design:type", Date)
|
|
102
|
+
], DocumentFingerprint.prototype, "updatedAt", void 0);
|
|
103
|
+
exports.DocumentFingerprint = DocumentFingerprint = __decorate([
|
|
104
|
+
(0, typeorm_1.Entity)("document_fingerprints"),
|
|
105
|
+
(0, typeorm_1.Index)("idx_document_id", ["documentId"]),
|
|
106
|
+
(0, typeorm_1.Index)("idx_user_id", ["userId"]),
|
|
107
|
+
(0, typeorm_1.Index)("idx_signature", ["signature"]),
|
|
108
|
+
(0, typeorm_1.Index)("idx_timestamp", ["timestamp"]),
|
|
109
|
+
(0, typeorm_1.Index)("idx_person_id", ["personId"])
|
|
110
|
+
], DocumentFingerprint);
|
|
111
|
+
//# sourceMappingURL=document-fingerprint.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document-fingerprint.entity.js","sourceRoot":"","sources":["../../src/entities/document-fingerprint.entity.ts"],"names":[],"mappings":";AAAA;;;;;;;GAOG;;;;;;;;;;;;AAEH,qCASiB;AACjB,+CAAqC;AA4E9B,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;CAqH/B,CAAA;AArHY,kDAAmB;AAE9B;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;+CACnB;AAMZ;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;uDACnC;AAMpB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;mDACT;AAOhB;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,EAAE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AI,EAAE,CAAC;;qDACX;AAM/B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDACvC;AAMlB;IADC,IAAA,0BAAgB,EAAC,EAAE,IAAI,EAAE,0BAA0B,EAAE,CAAC;8BAC3C,IAAI;sDAAC;AAMjB;IADC,IAAA,0BAAgB,EAAC,EAAE,IAAI,EAAE,0BAA0B,EAAE,CAAC;8BAC3C,IAAI;sDAAC;8BApHN,mBAAmB;IAN/B,IAAA,gBAAM,EAAC,uBAAuB,CAAC;IAC/B,IAAA,eAAK,EAAC,iBAAiB,EAAE,CAAC,YAAY,CAAC,CAAC;IACxC,IAAA,eAAK,EAAC,aAAa,EAAE,CAAC,QAAQ,CAAC,CAAC;IAChC,IAAA,eAAK,EAAC,eAAe,EAAE,CAAC,WAAW,CAAC,CAAC;IACrC,IAAA,eAAK,EAAC,eAAe,EAAE,CAAC,WAAW,CAAC,CAAC;IACrC,IAAA,eAAK,EAAC,eAAe,EAAE,CAAC,UAAU,CAAC,CAAC;GACxB,mBAAmB,CAqH/B"}
|
package/dist/entities/index.d.ts
CHANGED
|
@@ -40,6 +40,7 @@ export * from "./telefonia/m_digitel_2025.entity";
|
|
|
40
40
|
export * from "./telefonia/m_movilnet_api_latest.entity";
|
|
41
41
|
export * from "./document/document.entity";
|
|
42
42
|
export * from "./document/document-entity-link.entity";
|
|
43
|
+
export * from "./document-fingerprint.entity";
|
|
43
44
|
export * from "./case/case.entity";
|
|
44
45
|
export * from "./case/case-asset.entity";
|
|
45
46
|
export * from "./case/case-role.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,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6B,CAAC;AAG5C,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAG3C,cAAc,qCAAqC,CAAC;AAGpD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,uCAAuC,CAAC;AACtD,cAAc,mCAAmC,CAAC;AAGlD,cAAc,yCAAyC,CAAC;AAGxD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,+CAA+C,CAAC;AAG9D,cAAc,oCAAoC,CAAC;AACnD,cAAc,2CAA2C,CAAC;AAG1D,cAAc,0CAA0C,CAAC;AACzD,cAAc,uCAAuC,CAAC;AACtD,cAAc,wCAAwC,CAAC;AAGvD,cAAc,eAAe,CAAC;AAG9B,cAAc,QAAQ,CAAC;AAGvB,cAAc,qBAAqB,CAAC;AAGpC,cAAc,oBAAoB,CAAC;AAGnC,cAAc,mDAAmD,CAAC;AAClE,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wBAAwB,CAAC;AAGvC,cAAc,4BAA4B,CAAC;AAG3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iCAAiC,CAAC;AAChD,cAAc,mCAAmC,CAAC;AAGlD,cAAc,YAAY,CAAC;AAG3B,cAAc,SAAS,CAAC;AAGxB,cAAc,gBAAgB,CAAC;AAG/B,cAAc,SAAS,CAAC"}
|
package/dist/entities/index.js
CHANGED
|
@@ -64,6 +64,7 @@ __exportStar(require("./telefonia/m_movilnet_api_latest.entity"), exports);
|
|
|
64
64
|
// Document module
|
|
65
65
|
__exportStar(require("./document/document.entity"), exports);
|
|
66
66
|
__exportStar(require("./document/document-entity-link.entity"), exports);
|
|
67
|
+
__exportStar(require("./document-fingerprint.entity"), exports);
|
|
67
68
|
// Case module
|
|
68
69
|
__exportStar(require("./case/case.entity"), exports);
|
|
69
70
|
__exportStar(require("./case/case-asset.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;AACzD,4DAA0C;AAC1C,6DAA2C;AAE3C,iBAAiB;AACjB,4CAA0B;AAE1B,uBAAuB;AACvB,kDAAgC;AAEhC,wDAAwD;AACxD,6DAA2C;AAC3C,mEAAiD;AACjD,mEAAiD;AAEjD,mBAAmB;AACnB,+DAA6C;AAC7C,yEAAuD;AACvD,yDAAuC;AACvC,sEAAoD;AACpD,uEAAqD;AACrD,oEAAkD;AAClD,oEAAkD;AAClD,2EAAyD;AAEzD,kBAAkB;AAClB,6DAA2C;AAC3C,yEAAuD;
|
|
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;AACzD,4DAA0C;AAC1C,6DAA2C;AAE3C,iBAAiB;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/D,iDAA+B;AAE/B,eAAe;AACf,0CAAwB"}
|
package/package.json
CHANGED
|
@@ -1,12 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sigmatech/pergamo",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.66",
|
|
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
|
+
}
|