fix: remove debug logging
This commit is contained in:
@@ -6,7 +6,6 @@ import { Database } from "@/storage/db"
|
|||||||
import { eq } from "drizzle-orm"
|
import { eq } from "drizzle-orm"
|
||||||
|
|
||||||
export function initProjectors() {
|
export function initProjectors() {
|
||||||
console.log("initProjectors")
|
|
||||||
SyncEvent.init({
|
SyncEvent.init({
|
||||||
projectors: sessionProjectors,
|
projectors: sessionProjectors,
|
||||||
convertEvent: (type, data) => {
|
convertEvent: (type, data) => {
|
||||||
|
|||||||
@@ -233,7 +233,6 @@ export function init(input: { projectors: Array<[Definition, ProjectorFunc]>; co
|
|||||||
// replaying. Replaying does not go through the bus, and it
|
// replaying. Replaying does not go through the bus, and it
|
||||||
// simplifies the bus to only use unversioned latest events
|
// simplifies the bus to only use unversioned latest events
|
||||||
for (let [type, version] of versions.entries()) {
|
for (let [type, version] of versions.entries()) {
|
||||||
console.log(type)
|
|
||||||
let def = registry.get(versionedType(type, version))!
|
let def = registry.get(versionedType(type, version))!
|
||||||
BusEvent.define(def.type, def.properties)
|
BusEvent.define(def.type, def.properties)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user