@volontariapp/database 3.4.1-snap-9d3a27a → 3.4.1-snap-499db41
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/gather/entities/gather-state.entity.d.ts +2 -2
- package/dist/gather/entities/gather-state.entity.d.ts.map +1 -1
- package/dist/gather/entities/gather-state.entity.js +1 -1
- package/dist/gather/entities/gather-state.entity.js.map +1 -1
- package/dist/gather/models/gather-state.model.d.ts +2 -2
- package/dist/gather/models/gather-state.model.d.ts.map +1 -1
- package/dist/gather/models/gather-state.model.js +3 -3
- package/dist/gather/models/gather-state.model.js.map +1 -1
- package/dist/gather/types/{expected-event-state.interface.d.ts → gather-event-state.interface.d.ts} +2 -2
- package/dist/gather/types/gather-event-state.interface.d.ts.map +1 -0
- package/dist/gather/types/gather-event-state.interface.js +2 -0
- package/dist/gather/types/gather-event-state.interface.js.map +1 -0
- package/dist/gather/types/index.d.ts +1 -1
- package/dist/gather/types/index.d.ts.map +1 -1
- package/dist/gather/types/index.js +1 -1
- package/dist/gather/types/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/gather/types/expected-event-state.interface.d.ts.map +0 -1
- package/dist/gather/types/expected-event-state.interface.js +0 -2
- package/dist/gather/types/expected-event-state.interface.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseEntity } from '../../core/base.entity.js';
|
|
2
|
-
import {
|
|
2
|
+
import { GatherEventState } from '../types/gather-event-state.interface.js';
|
|
3
3
|
import type { EventMessagingType, EventRegistry } from '@volontariapp/messaging';
|
|
4
4
|
export declare class GatherStateMetadata<TKey extends EventMessagingType = EventMessagingType> {
|
|
5
5
|
emitterId?: string;
|
|
@@ -9,7 +9,7 @@ export declare class GatherStateMetadata<TKey extends EventMessagingType = Event
|
|
|
9
9
|
export declare class GatherStateEntity<TKey extends EventMessagingType = EventMessagingType> extends BaseEntity {
|
|
10
10
|
correlationId: string;
|
|
11
11
|
triggerEvent: TKey;
|
|
12
|
-
|
|
12
|
+
gatherEventsState: Record<string, GatherEventState>;
|
|
13
13
|
metadata?: GatherStateMetadata<TKey>;
|
|
14
14
|
}
|
|
15
15
|
//# sourceMappingURL=gather-state.entity.d.ts.map
|
|
@@ -1 +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;AACvD,OAAO,EAAE,
|
|
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;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAC5E,OAAO,KAAK,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAEjF,qBAAa,mBAAmB,CAAC,IAAI,SAAS,kBAAkB,GAAG,kBAAkB;IACnF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,aAAa,CAAC,IAAI,CAAC,CAAC;CAC/B;AAED,qBAAa,iBAAiB,CAC5B,IAAI,SAAS,kBAAkB,GAAG,kBAAkB,CACpD,SAAQ,UAAU;IAClB,aAAa,EAAG,MAAM,CAAC;IACvB,YAAY,EAAG,IAAI,CAAC;IACpB,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAM;IACzD,QAAQ,CAAC,EAAE,mBAAmB,CAAC,IAAI,CAAC,CAAC;CACtC"}
|
|
@@ -1 +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;AAIvD,MAAM,OAAO,mBAAmB;IAC9B,SAAS,CAAU;IACnB,OAAO,CAAU;IACjB,OAAO,CAAuB;CAC/B;AAED,MAAM,OAAO,iBAEX,SAAQ,UAAU;IAClB,aAAa,CAAU;IACvB,YAAY,CAAQ;IACpB,
|
|
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;AAIvD,MAAM,OAAO,mBAAmB;IAC9B,SAAS,CAAU;IACnB,OAAO,CAAU;IACjB,OAAO,CAAuB;CAC/B;AAED,MAAM,OAAO,iBAEX,SAAQ,UAAU;IAClB,aAAa,CAAU;IACvB,YAAY,CAAQ;IACpB,iBAAiB,GAAqC,EAAE,CAAC;IACzD,QAAQ,CAA6B;CACtC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { BaseModel } from '../../core/base.model.js';
|
|
2
|
-
import {
|
|
2
|
+
import { GatherEventState } from '../types/gather-event-state.interface.js';
|
|
3
3
|
import { GatherStateMetadata } from '../entities/gather-state.entity.js';
|
|
4
4
|
export declare class GatherStateModel extends BaseModel {
|
|
5
5
|
correlationId: string;
|
|
6
6
|
triggerEvent: string;
|
|
7
|
-
|
|
7
|
+
gatherEventsState: Record<string, GatherEventState>;
|
|
8
8
|
metadata?: GatherStateMetadata;
|
|
9
9
|
}
|
|
10
10
|
//# sourceMappingURL=gather-state.model.d.ts.map
|
|
@@ -1 +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;AACrD,OAAO,EAAE,
|
|
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;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAC5E,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAEzE,qBACa,gBAAiB,SAAQ,SAAS;IAE7C,aAAa,EAAG,MAAM,CAAC;IAGvB,YAAY,EAAG,MAAM,CAAC;IAGtB,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAM;IAGzD,QAAQ,CAAC,EAAE,mBAAmB,CAAC;CAChC"}
|
|
@@ -13,7 +13,7 @@ import { GatherStateMetadata } from '../entities/gather-state.entity.js';
|
|
|
13
13
|
let GatherStateModel = class GatherStateModel extends BaseModel {
|
|
14
14
|
correlationId;
|
|
15
15
|
triggerEvent;
|
|
16
|
-
|
|
16
|
+
gatherEventsState = {};
|
|
17
17
|
metadata;
|
|
18
18
|
};
|
|
19
19
|
__decorate([
|
|
@@ -25,9 +25,9 @@ __decorate([
|
|
|
25
25
|
__metadata("design:type", String)
|
|
26
26
|
], GatherStateModel.prototype, "triggerEvent", void 0);
|
|
27
27
|
__decorate([
|
|
28
|
-
Column({ type: 'jsonb', default: {} }),
|
|
28
|
+
Column({ name: 'gather_events_state', type: 'jsonb', default: {} }),
|
|
29
29
|
__metadata("design:type", Object)
|
|
30
|
-
], GatherStateModel.prototype, "
|
|
30
|
+
], GatherStateModel.prototype, "gatherEventsState", void 0);
|
|
31
31
|
__decorate([
|
|
32
32
|
Column({ type: 'jsonb', nullable: true }),
|
|
33
33
|
__metadata("design:type", GatherStateMetadata)
|
|
@@ -1 +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,aAAa,EAAE,MAAM,SAAS,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAErD,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAGlE,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,SAAS;IAE7C,aAAa,CAAU;IAGvB,YAAY,CAAU;IAGtB,
|
|
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,aAAa,EAAE,MAAM,SAAS,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAErD,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAGlE,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,SAAS;IAE7C,aAAa,CAAU;IAGvB,YAAY,CAAU;IAGtB,iBAAiB,GAAqC,EAAE,CAAC;IAGzD,QAAQ,CAAuB;CAChC,CAAA;AAVC;IADC,aAAa,CAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;uDACjC;AAGvB;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;sDAC1B;AAGtB;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,qBAAqB,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;;2DACX;AAGzD;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BAC/B,mBAAmB;kDAAC;AAXpB,gBAAgB;IAD5B,MAAM,CAAC,cAAc,CAAC;GACV,gBAAgB,CAY5B"}
|
package/dist/gather/types/{expected-event-state.interface.d.ts → gather-event-state.interface.d.ts}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { EventStatus } from './event-status.enum.js';
|
|
2
|
-
export interface
|
|
2
|
+
export interface GatherEventState {
|
|
3
3
|
eventType: string;
|
|
4
4
|
status: EventStatus;
|
|
5
5
|
updatedAt: string;
|
|
6
6
|
errorReason?: string;
|
|
7
7
|
}
|
|
8
|
-
//# sourceMappingURL=
|
|
8
|
+
//# sourceMappingURL=gather-event-state.interface.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gather-event-state.interface.d.ts","sourceRoot":"","sources":["../../../src/gather/types/gather-event-state.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAErD,MAAM,WAAW,gBAAgB;IAC/B,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,WAAW,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gather-event-state.interface.js","sourceRoot":"","sources":["../../../src/gather/types/gather-event-state.interface.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/gather/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/gather/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,mCAAmC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/gather/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/gather/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,mCAAmC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"expected-event-state.interface.d.ts","sourceRoot":"","sources":["../../../src/gather/types/expected-event-state.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAErD,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,WAAW,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"expected-event-state.interface.js","sourceRoot":"","sources":["../../../src/gather/types/expected-event-state.interface.ts"],"names":[],"mappings":""}
|