@sigmatech/pergamo 0.1.62 → 0.1.63
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/integrations/romeo-session-pool.entity.d.ts +17 -0
- package/dist/entities/integrations/romeo-session-pool.entity.d.ts.map +1 -1
- package/dist/entities/integrations/romeo-session-pool.entity.js +22 -0
- package/dist/entities/integrations/romeo-session-pool.entity.js.map +1 -1
- package/package.json +9 -8
|
@@ -35,6 +35,23 @@ export declare class RomeoSessionPool {
|
|
|
35
35
|
* Last time this pool was used for a query
|
|
36
36
|
*/
|
|
37
37
|
lastUsedAt?: Date;
|
|
38
|
+
/**
|
|
39
|
+
* Dokploy: ID of the application (one Romeo-Go container per pool)
|
|
40
|
+
*/
|
|
41
|
+
dokployApplicationId?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Base URL of the Romeo-Go service for this pool (e.g. http://host:port/api/v1)
|
|
44
|
+
* Set after successful deploy in Dokploy
|
|
45
|
+
*/
|
|
46
|
+
serviceUrl?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Deployment status of the Romeo-Go container in Dokploy
|
|
49
|
+
*/
|
|
50
|
+
deploymentStatus?: 'pending' | 'deploying' | 'running' | 'error' | 'stopped';
|
|
51
|
+
/**
|
|
52
|
+
* Last error from Dokploy or deployment (if deploymentStatus === 'error')
|
|
53
|
+
*/
|
|
54
|
+
deploymentError?: string;
|
|
38
55
|
createdAt: Date;
|
|
39
56
|
updatedAt: Date;
|
|
40
57
|
isActive(): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"romeo-session-pool.entity.d.ts","sourceRoot":"","sources":["../../../src/entities/integrations/romeo-session-pool.entity.ts"],"names":[],"mappings":"AASA;;;;;;GAMG;AACH,qBAGa,gBAAgB;IAE3B,EAAE,EAAG,MAAM,CAAC;IAGZ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;OAGG;IAEH,cAAc,EAAG,MAAM,CAAC;IAExB;;;OAGG;IAEH,WAAW,EAAG,MAAM,CAAC;IAErB;;OAEG;IAEH,YAAY,CAAC,EAAE;QACb,QAAQ,EAAE,OAAO,CAAC;QAClB,YAAY,EAAE,IAAI,CAAC;QACnB,YAAY,EAAE,MAAM,CAAC;QACrB,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,CAAC;IAEF;;OAEG;IAEH,SAAS,EAAG,OAAO,CAAC;IAEpB;;OAEG;IAEH,UAAU,CAAC,EAAE,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"romeo-session-pool.entity.d.ts","sourceRoot":"","sources":["../../../src/entities/integrations/romeo-session-pool.entity.ts"],"names":[],"mappings":"AASA;;;;;;GAMG;AACH,qBAGa,gBAAgB;IAE3B,EAAE,EAAG,MAAM,CAAC;IAGZ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;OAGG;IAEH,cAAc,EAAG,MAAM,CAAC;IAExB;;;OAGG;IAEH,WAAW,EAAG,MAAM,CAAC;IAErB;;OAEG;IAEH,YAAY,CAAC,EAAE;QACb,QAAQ,EAAE,OAAO,CAAC;QAClB,YAAY,EAAE,IAAI,CAAC;QACnB,YAAY,EAAE,MAAM,CAAC;QACrB,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,CAAC;IAEF;;OAEG;IAEH,SAAS,EAAG,OAAO,CAAC;IAEpB;;OAEG;IAEH,UAAU,CAAC,EAAE,IAAI,CAAC;IAElB;;OAEG;IAEH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAE9B;;;OAGG;IAEH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IAQH,gBAAgB,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;IAE7E;;OAEG;IAEH,eAAe,CAAC,EAAE,MAAM,CAAC;IAGzB,SAAS,EAAG,IAAI,CAAC;IAGjB,SAAS,EAAG,IAAI,CAAC;IAIjB,QAAQ,IAAI,OAAO;IAInB,qBAAqB,IAAI,IAAI;CAa9B"}
|
|
@@ -67,6 +67,28 @@ __decorate([
|
|
|
67
67
|
(0, typeorm_1.Column)({ name: 'last_used_at', type: 'timestamp', nullable: true }),
|
|
68
68
|
__metadata("design:type", Date)
|
|
69
69
|
], RomeoSessionPool.prototype, "lastUsedAt", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, typeorm_1.Column)({ name: 'dokploy_application_id', type: 'varchar', length: 255, nullable: true }),
|
|
72
|
+
__metadata("design:type", String)
|
|
73
|
+
], RomeoSessionPool.prototype, "dokployApplicationId", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
(0, typeorm_1.Column)({ name: 'service_url', type: 'varchar', length: 512, nullable: true }),
|
|
76
|
+
__metadata("design:type", String)
|
|
77
|
+
], RomeoSessionPool.prototype, "serviceUrl", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
(0, typeorm_1.Column)({
|
|
80
|
+
name: 'deployment_status',
|
|
81
|
+
type: 'varchar',
|
|
82
|
+
length: 32,
|
|
83
|
+
nullable: true,
|
|
84
|
+
default: 'pending',
|
|
85
|
+
}),
|
|
86
|
+
__metadata("design:type", String)
|
|
87
|
+
], RomeoSessionPool.prototype, "deploymentStatus", void 0);
|
|
88
|
+
__decorate([
|
|
89
|
+
(0, typeorm_1.Column)({ name: 'deployment_error', type: 'text', nullable: true }),
|
|
90
|
+
__metadata("design:type", String)
|
|
91
|
+
], RomeoSessionPool.prototype, "deploymentError", void 0);
|
|
70
92
|
__decorate([
|
|
71
93
|
(0, typeorm_1.CreateDateColumn)({ name: 'created_at' }),
|
|
72
94
|
__metadata("design:type", Date)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"romeo-session-pool.entity.js","sourceRoot":"","sources":["../../../src/entities/integrations/romeo-session-pool.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAOiB;AAEjB;;;;;;GAMG;AAII,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;
|
|
1
|
+
{"version":3,"file":"romeo-session-pool.entity.js","sourceRoot":"","sources":["../../../src/entities/integrations/romeo-session-pool.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAOiB;AAEjB;;;;;;GAMG;AAII,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;IAiF3B,kBAAkB;IAElB,QAAQ;QACN,OAAO,IAAI,CAAC,SAAS,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE,QAAQ,IAAI,KAAK,CAAC,CAAC;IAClE,CAAC;IAED,qBAAqB;QACnB,IAAI,IAAI,CAAC,YAAY,EAAE,CAAC;YACtB,IAAI,CAAC,YAAY,CAAC,YAAY,GAAG,CAAC,IAAI,CAAC,YAAY,CAAC,YAAY,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC;YAC3E,IAAI,CAAC,YAAY,CAAC,YAAY,GAAG,IAAI,IAAI,EAAE,CAAC;QAC9C,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,YAAY,GAAG;gBAClB,QAAQ,EAAE,IAAI;gBACd,YAAY,EAAE,IAAI,IAAI,EAAE;gBACxB,YAAY,EAAE,CAAC;aAChB,CAAC;QACJ,CAAC;QACD,IAAI,CAAC,UAAU,GAAG,IAAI,IAAI,EAAE,CAAC;IAC/B,CAAC;CACF,CAAA;AApGY,4CAAgB;AAE3B;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;4CACnB;AAGZ;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDACxD;AAOlB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,iBAAiB,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;wDACvD;AAOxB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,E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BAC7B,IAAI;mDAAC;2BA/EN,gBAAgB;IAH5B,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,qBAAqB,EAAE,CAAC;IACvC,IAAA,eAAK,EAAC,6BAA6B,EAAE,CAAC,gBAAgB,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IAC1E,IAAA,eAAK,EAAC,+BAA+B,EAAE,CAAC,UAAU,CAAC,CAAC;GACxC,gBAAgB,CAoG5B"}
|
package/package.json
CHANGED
|
@@ -1,12 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sigmatech/pergamo",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.63",
|
|
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
|
+
}
|