@volontariapp/database 3.3.18 → 3.4.0-snap-08cd30a
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/CHANGELOG.md +6 -0
- package/dist/gather/entities/gather-state.entity.d.ts +8 -0
- package/dist/gather/entities/gather-state.entity.d.ts.map +1 -0
- package/dist/gather/entities/gather-state.entity.js +8 -0
- package/dist/gather/entities/gather-state.entity.js.map +1 -0
- package/dist/gather/index.d.ts +3 -0
- package/dist/gather/index.d.ts.map +1 -0
- package/dist/gather/index.js +7 -0
- package/dist/gather/index.js.map +1 -0
- package/dist/gather/models/gather-state.model.d.ts +8 -0
- package/dist/gather/models/gather-state.model.d.ts.map +1 -0
- package/dist/gather/models/gather-state.model.js +39 -0
- package/dist/gather/models/gather-state.model.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BaseEntity } from '../../core/base.entity.js';
|
|
2
|
+
export declare class GatherStateEntity extends BaseEntity {
|
|
3
|
+
correlationId: string;
|
|
4
|
+
triggerEvent: string;
|
|
5
|
+
expectedEvents: string[];
|
|
6
|
+
receivedEvents: string[];
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=gather-state.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gather-state.entity.d.ts","sourceRoot":"","sources":["../../../src/gather/entities/gather-state.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAEvD,qBAAa,iBAAkB,SAAQ,UAAU;IAC/C,aAAa,EAAG,MAAM,CAAC;IACvB,YAAY,EAAG,MAAM,CAAC;IACtB,cAAc,EAAG,MAAM,EAAE,CAAC;IAC1B,cAAc,EAAE,MAAM,EAAE,CAAM;CAC/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gather-state.entity.js","sourceRoot":"","sources":["../../../src/gather/entities/gather-state.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAEvD,MAAM,OAAO,iBAAkB,SAAQ,UAAU;IAC/C,aAAa,CAAU;IACvB,YAAY,CAAU;IACtB,cAAc,CAAY;IAC1B,cAAc,GAAa,EAAE,CAAC;CAC/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/gather/index.ts"],"names":[],"mappings":"AAMA,cAAc,gCAAgC,CAAC;AAC/C,cAAc,mCAAmC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { databaseMapper } from '../core/mapper.service.js';
|
|
2
|
+
import { GatherStateEntity } from './entities/gather-state.entity.js';
|
|
3
|
+
import { GatherStateModel } from './models/gather-state.model.js';
|
|
4
|
+
databaseMapper.registerBidirectional(GatherStateModel, GatherStateEntity);
|
|
5
|
+
export * from './models/gather-state.model.js';
|
|
6
|
+
export * from './entities/gather-state.entity.js';
|
|
7
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/gather/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAElE,cAAc,CAAC,qBAAqB,CAAC,gBAAgB,EAAE,iBAAiB,CAAC,CAAC;AAE1E,cAAc,gCAAgC,CAAC;AAC/C,cAAc,mCAAmC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BaseModel } from '../../core/base.model.js';
|
|
2
|
+
export declare class GatherStateModel extends BaseModel {
|
|
3
|
+
correlationId: string;
|
|
4
|
+
triggerEvent: string;
|
|
5
|
+
expectedEvents: string[];
|
|
6
|
+
receivedEvents: string[];
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=gather-state.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gather-state.model.d.ts","sourceRoot":"","sources":["../../../src/gather/models/gather-state.model.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAErD,qBACa,gBAAiB,SAAQ,SAAS;IAG7C,aAAa,EAAG,MAAM,CAAC;IAGvB,YAAY,EAAG,MAAM,CAAC;IAGtB,cAAc,EAAG,MAAM,EAAE,CAAC;IAG1B,cAAc,EAAE,MAAM,EAAE,CAAM;CAC/B"}
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
import { BaseModel } from '../../core/base.model.js';
|
|
12
|
+
let GatherStateModel = class GatherStateModel extends BaseModel {
|
|
13
|
+
correlationId;
|
|
14
|
+
triggerEvent;
|
|
15
|
+
expectedEvents;
|
|
16
|
+
receivedEvents = [];
|
|
17
|
+
};
|
|
18
|
+
__decorate([
|
|
19
|
+
Index('idx_gather_state_correlation_id'),
|
|
20
|
+
Column({ name: 'correlation_id', type: 'uuid' }),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], GatherStateModel.prototype, "correlationId", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
Column({ name: 'trigger_event', type: 'text' }),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], GatherStateModel.prototype, "triggerEvent", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
Column({ name: 'expected_events', type: 'text', array: true }),
|
|
29
|
+
__metadata("design:type", Array)
|
|
30
|
+
], GatherStateModel.prototype, "expectedEvents", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
Column({ name: 'received_events', type: 'text', array: true, default: [] }),
|
|
33
|
+
__metadata("design:type", Array)
|
|
34
|
+
], GatherStateModel.prototype, "receivedEvents", void 0);
|
|
35
|
+
GatherStateModel = __decorate([
|
|
36
|
+
Entity('gather_state')
|
|
37
|
+
], GatherStateModel);
|
|
38
|
+
export { GatherStateModel };
|
|
39
|
+
//# sourceMappingURL=gather-state.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gather-state.model.js","sourceRoot":"","sources":["../../../src/gather/models/gather-state.model.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAG9C,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,SAAS;IAG7C,aAAa,CAAU;IAGvB,YAAY,CAAU;IAGtB,cAAc,CAAY;IAG1B,cAAc,GAAa,EAAE,CAAC;CAC/B,CAAA;AAVC;IAFC,KAAK,CAAC,iCAAiC,CAAC;IACxC,MAAM,CAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;uDAC1B;AAGvB;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;sDAC1B;AAGtB;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,iBAAiB,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;;wDACrC;AAG1B;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,iBAAiB,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;;wDAC9C;AAZnB,gBAAgB;IAD5B,MAAM,CAAC,cAAc,CAAC;GACV,gBAAgB,CAa5B"}
|
package/dist/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export * from './core/base.model.js';
|
|
|
5
5
|
export * from './core/base.entity.js';
|
|
6
6
|
export * from './outbox/index.js';
|
|
7
7
|
export * from './workers/index.js';
|
|
8
|
+
export * from './gather/index.js';
|
|
8
9
|
export type { Repository, ObjectLiteral, FindOptionsWhere } from 'typeorm';
|
|
9
10
|
export { ILike, Like, In } from 'typeorm';
|
|
10
11
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAC;AAE1B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AAEtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAC;AAE1B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AAEtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAElC,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAC3E,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE,MAAM,SAAS,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -5,5 +5,6 @@ export * from './core/base.model.js';
|
|
|
5
5
|
export * from './core/base.entity.js';
|
|
6
6
|
export * from './outbox/index.js';
|
|
7
7
|
export * from './workers/index.js';
|
|
8
|
+
export * from './gather/index.js';
|
|
8
9
|
export { ILike, Like, In } from 'typeorm';
|
|
9
10
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAC;AAE1B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AAEtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAC;AAE1B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AAEtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAGlC,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE,MAAM,SAAS,CAAC"}
|