@arque/core
Advanced tools
Comparing version 1.0.0-alpha.36 to 1.0.0-alpha.37
@@ -10,5 +10,2 @@ import { EventStore, SnapshotStore, Event } from '@arque/types'; | ||
version: number; | ||
aggregate?: { | ||
type: string; | ||
}; | ||
}; | ||
@@ -15,0 +12,0 @@ upcaster: (event: Event) => Event; |
@@ -11,3 +11,3 @@ import { Event, EventFilter, EventStore, ProjectionStore } from '@arque/types'; | ||
aggregate?: { | ||
type: string; | ||
type?: string; | ||
}; | ||
@@ -14,0 +14,0 @@ }; |
/// <reference types="node" /> | ||
import { EventUpcaster } from '@arque/types'; | ||
import { Event } from '@arque/types'; | ||
declare type EventUpcaster<TEvent extends Event> = { | ||
filter: { | ||
type: TEvent['type']; | ||
version: number; | ||
aggregate?: { | ||
type?: Event['aggregate']['type']; | ||
}; | ||
}; | ||
upcaster: (event: Event) => TEvent; | ||
}; | ||
declare const _default: <TEvent extends Readonly<{ | ||
@@ -4,0 +14,0 @@ id: Buffer; |
{ | ||
"name": "@arque/core", | ||
"version": "1.0.0-alpha.36", | ||
"version": "1.0.0-alpha.37", | ||
"description": "Core for `arque`", | ||
@@ -30,3 +30,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@arque/types": "^1.0.0-alpha.12", | ||
"@arque/types": "^1.0.0-alpha.13", | ||
"@highoutput/amqp": "^0.11.1", | ||
@@ -85,3 +85,3 @@ "@highoutput/async-group": "^0.3.5", | ||
}, | ||
"gitHead": "91c7c0670aed732da15b922748942f75a0f0f69d" | ||
"gitHead": "71107bf680f9b3fc0fe3c1728afcfd6de6c63e01" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
157619
2179
Updated@arque/types@^1.0.0-alpha.13