@bets-pf/shared-typeorm-models 1.1.5 → 1.1.6
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/typeorm-entities/algorithm/algorithm.orm-entity.d.ts +3 -2
- package/dist/typeorm-entities/algorithm/algorithm.orm-entity.d.ts.map +1 -1
- package/dist/typeorm-entities/algorithm/algorithm.orm-entity.js +7 -3
- package/dist/typeorm-entities/algorithm/algorithm.orm-entity.js.map +1 -1
- package/dist/typeorm-entities/telegram-report/telegram-report-signals.orm-entity.d.ts +1 -1
- package/dist/typeorm-entities/telegram-report/telegram-report-signals.orm-entity.d.ts.map +1 -1
- package/dist/typeorm-entities/telegram-report/telegram-report-signals.orm-entity.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { AlgorithmAdditionalFilters, AlgorithmCondition, AlgorithmResultOptions } from './types/algorithm.types';
|
|
2
|
-
import { TelegramReportSignalsOrmEntity } from '../telegram-report
|
|
2
|
+
import { TelegramReportSignalsOrmEntity } from '../telegram-report';
|
|
3
3
|
export declare class AlgorithmOrmEntity {
|
|
4
4
|
id: string;
|
|
5
5
|
name: string;
|
|
6
6
|
code: string;
|
|
7
|
+
ownerId: string;
|
|
7
8
|
conditions: AlgorithmCondition[];
|
|
8
9
|
resultOptions: AlgorithmResultOptions;
|
|
9
10
|
chatIds: string[];
|
|
@@ -12,6 +13,6 @@ export declare class AlgorithmOrmEntity {
|
|
|
12
13
|
additionalFilters: AlgorithmAdditionalFilters | null;
|
|
13
14
|
createdAt: string;
|
|
14
15
|
updatedAt: string;
|
|
15
|
-
report
|
|
16
|
+
report?: TelegramReportSignalsOrmEntity;
|
|
16
17
|
}
|
|
17
18
|
//# sourceMappingURL=algorithm.orm-entity.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"algorithm.orm-entity.d.ts","sourceRoot":"","sources":["../../../src/typeorm-entities/algorithm/algorithm.orm-entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAA;AAChH,OAAO,EAAE,8BAA8B,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"algorithm.orm-entity.d.ts","sourceRoot":"","sources":["../../../src/typeorm-entities/algorithm/algorithm.orm-entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAA;AAChH,OAAO,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAA;AAEnE,qBACa,kBAAkB;IAE7B,EAAE,EAAE,MAAM,CAAA;IAGV,IAAI,EAAE,MAAM,CAAA;IAGZ,IAAI,EAAE,MAAM,CAAA;IAGZ,OAAO,EAAE,MAAM,CAAA;IAGf,UAAU,EAAE,kBAAkB,EAAE,CAAA;IAGhC,aAAa,EAAE,sBAAsB,CAAA;IAOrC,OAAO,EAAE,MAAM,EAAE,CAAA;IAGjB,QAAQ,EAAE,OAAO,CAAA;IAGjB,UAAU,EAAE,OAAO,CAAA;IAGnB,iBAAiB,EAAE,0BAA0B,GAAG,IAAI,CAAA;IAGpD,SAAS,EAAE,MAAM,CAAA;IAGjB,SAAS,EAAE,MAAM,CAAA;IAIjB,MAAM,CAAC,EAAE,8BAA8B,CAAA;CACxC"}
|
|
@@ -11,7 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.AlgorithmOrmEntity = void 0;
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
|
-
const
|
|
14
|
+
const telegram_report_1 = require("../telegram-report");
|
|
15
15
|
let AlgorithmOrmEntity = class AlgorithmOrmEntity {
|
|
16
16
|
};
|
|
17
17
|
exports.AlgorithmOrmEntity = AlgorithmOrmEntity;
|
|
@@ -27,6 +27,10 @@ __decorate([
|
|
|
27
27
|
(0, typeorm_1.Column)(),
|
|
28
28
|
__metadata("design:type", String)
|
|
29
29
|
], AlgorithmOrmEntity.prototype, "code", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, typeorm_1.Column)({ type: 'uuid', name: 'owner_id' }),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], AlgorithmOrmEntity.prototype, "ownerId", void 0);
|
|
30
34
|
__decorate([
|
|
31
35
|
(0, typeorm_1.Column)({ type: 'jsonb', default: '[]' }),
|
|
32
36
|
__metadata("design:type", Array)
|
|
@@ -64,9 +68,9 @@ __decorate([
|
|
|
64
68
|
__metadata("design:type", String)
|
|
65
69
|
], AlgorithmOrmEntity.prototype, "updatedAt", void 0);
|
|
66
70
|
__decorate([
|
|
67
|
-
(0, typeorm_1.OneToOne)(() =>
|
|
71
|
+
(0, typeorm_1.OneToOne)(() => telegram_report_1.TelegramReportSignalsOrmEntity, { createForeignKeyConstraints: false }),
|
|
68
72
|
(0, typeorm_1.JoinColumn)({ name: 'id', referencedColumnName: 'algorithmId' }),
|
|
69
|
-
__metadata("design:type",
|
|
73
|
+
__metadata("design:type", telegram_report_1.TelegramReportSignalsOrmEntity)
|
|
70
74
|
], AlgorithmOrmEntity.prototype, "report", void 0);
|
|
71
75
|
exports.AlgorithmOrmEntity = AlgorithmOrmEntity = __decorate([
|
|
72
76
|
(0, typeorm_1.Entity)('algorithms')
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"algorithm.orm-entity.js","sourceRoot":"","sources":["../../../src/typeorm-entities/algorithm/algorithm.orm-entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAsF;AAEtF,
|
|
1
|
+
{"version":3,"file":"algorithm.orm-entity.js","sourceRoot":"","sources":["../../../src/typeorm-entities/algorithm/algorithm.orm-entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAsF;AAEtF,wDAAmE;AAG5D,IAAM,kBAAkB,GAAxB,MAAM,kBAAk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BAAU,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,oBAAoB,EAAE,aAAa,EAAE,CAAC;8BACvD,gDAA8B;kDAAA;6BA3C5B,kBAAkB;IAD9B,IAAA,gBAAM,EAAC,YAAY,CAAC;GACR,kBAAkB,CA4C9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"telegram-report-signals.orm-entity.d.ts","sourceRoot":"","sources":["../../../src/typeorm-entities/telegram-report/telegram-report-signals.orm-entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAA;AAGjD,qBACa,8BAA8B;IAEzC,EAAE,EAAE,MAAM,CAAA;IAIV,WAAW,EAAE,MAAM,CAAA;IAGnB,WAAW,EAAE,MAAM,CAAA;IAInB,SAAS,EAAE,kBAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"telegram-report-signals.orm-entity.d.ts","sourceRoot":"","sources":["../../../src/typeorm-entities/telegram-report/telegram-report-signals.orm-entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAA;AAGjD,qBACa,8BAA8B;IAEzC,EAAE,EAAE,MAAM,CAAA;IAIV,WAAW,EAAE,MAAM,CAAA;IAGnB,WAAW,EAAE,MAAM,CAAA;IAInB,SAAS,CAAC,EAAE,kBAAkB,CAAA;CAC/B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"telegram-report-signals.orm-entity.js","sourceRoot":"","sources":["../../../src/typeorm-entities/telegram-report/telegram-report-signals.orm-entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA6F;AAC7F,4CAAiD;AAI1C,IAAM,8BAA8B,GAApC,MAAM,8BAA8B;CAc1C,CAAA;AAdY,wEAA8B;AAEzC;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;0DACrB;AAIV;IAFC,IAAA,eAAK,GAAE;IACP,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC;;mEACd;AAGnB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC;;mEACd;AAInB;IAFC,IAAA,kBAAQ,EAAC,GAAG,EAAE,CAAC,8BAAkB,EAAE,EAAE,2BAA2B,EAAE,KAAK,EAAE,CAAC;IAC1E,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,cAAc,EAAE,oBAAoB,EAAE,IAAI,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"telegram-report-signals.orm-entity.js","sourceRoot":"","sources":["../../../src/typeorm-entities/telegram-report/telegram-report-signals.orm-entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA6F;AAC7F,4CAAiD;AAI1C,IAAM,8BAA8B,GAApC,MAAM,8BAA8B;CAc1C,CAAA;AAdY,wEAA8B;AAEzC;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;0DACrB;AAIV;IAFC,IAAA,eAAK,GAAE;IACP,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC;;mEACd;AAGnB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC;;mEACd;AAInB;IAFC,IAAA,kBAAQ,EAAC,GAAG,EAAE,CAAC,8BAAkB,EAAE,EAAE,2BAA2B,EAAE,KAAK,EAAE,CAAC;IAC1E,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,cAAc,EAAE,oBAAoB,EAAE,IAAI,EAAE,CAAC;8BACrD,8BAAkB;iEAAA;yCAbnB,8BAA8B;IAD1C,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,iBAAiB,EAAE,CAAC;GACvB,8BAA8B,CAc1C"}
|