@volontariapp/database 3.6.0 → 3.7.0-snap-c646e5b
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
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.7.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Add optional `traceparent` to `GatherStateMetadata` (jsonb `gather_state.metadata`, no migration), so a gather completion event can replay the trace context of the trigger event.
|
|
8
|
+
|
|
3
9
|
## 3.6.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { BaseEntity } from '../../core/base.entity.js';
|
|
2
|
-
import { GatherEventState } from '../types/gather-event-state.interface.js';
|
|
2
|
+
import type { 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;
|
|
6
6
|
traceId?: string;
|
|
7
|
+
traceparent?: string;
|
|
7
8
|
payload?: EventRegistry[TKey];
|
|
8
9
|
}
|
|
9
10
|
export declare class GatherStateEntity<TKey extends EventMessagingType = EventMessagingType> extends BaseEntity {
|
|
@@ -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,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;
|
|
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,KAAK,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AACjF,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;IAEjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,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;
|
|
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;IAEjB,WAAW,CAAU;IACrB,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"}
|