Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MichalPaszkiewicz/cqrs-react-router
/ functions
Functions
122 in github.com/MichalPaszkiewicz/cqrs-react-router
⨍
Functions
122
◇
Types & classes
105
↓ 27 callers
Method
getTime
()
src/helpers/clock.ts:33
↓ 26 callers
Method
now
()
src/helpers/clock.ts:173
↓ 18 callers
Method
storeEvent
(event: IAmADomainEvent)
src/services/eventstore.ts:9
↓ 13 callers
Method
getAggregateRoot
(c: {new(id?: string): T; }, callback: (aggregateRoot: T) => void, id?: string)
src/services/domainservice.ts:14
↓ 13 callers
Method
handleCommand
(command: IAmACommand, callback?: (command: IAmACommand) => void)
src/services/applicationservice.ts:124
↓ 12 callers
Method
registerCommandHandler
(commandHandler: {new(id?: string): T})
src/services/applicationservice.ts:242
↓ 11 callers
Method
clear
()
src/services/applicationservice.ts:45
↓ 11 callers
Method
fromTicks
(ticks: number)
src/helpers/clock.ts:73
↓ 9 callers
Method
subscribe
(viewName: string, callback:(view: View) => void)
src/services/applicationservice.ts:278
↓ 8 callers
Method
registerView
(view: {new(): View})
src/services/applicationservice.ts:267
↓ 7 callers
Function
fixDates
(item: any, additionalDateMatchStrings?: string[], customDateMatchStrings?: boolean)
src/helpers/clock.ts:97
↓ 7 callers
Method
reset
()
src/helpers/clock.ts:149
↓ 5 callers
Method
getEventsForID
(id: string, callback: (events: IAmADomainEvent[]) => void)
src/services/eventstore.ts:98
↓ 5 callers
Method
isAt
(date: ClockDate)
src/helpers/clock.ts:41
↓ 4 callers
Method
doThatTestThing
()
tests/services/applicationservice.ts:30
↓ 4 callers
Method
newGuid
()
src/helpers/guid.ts:2
↓ 4 callers
Method
reset
()
src/services/applicationservice.ts:74
↓ 3 callers
Method
applyEvent
(event: IAmADomainEvent)
src/objects/pagenavigationaggregate.ts:7
↓ 3 callers
Method
handle
( command: IAmACommand, domainService: DomainService, callback: (command: IAmAComman
src/interfaces/iamacommandhandler.ts:8
↓ 3 callers
Method
isBefore
(date: ClockDate)
src/helpers/clock.ts:37
↓ 2 callers
Method
addHours
(hours: number)
src/helpers/clock.ts:157
↓ 2 callers
Method
addMinutes
(minutes: number)
src/helpers/clock.ts:161
↓ 2 callers
Method
clearAggregateRoots
()
src/services/domainservice.ts:41
↓ 2 callers
Method
doSomething
()
tests/objects/aggregateroot.ts:47
↓ 2 callers
Method
doStuff
()
tests/services/applicationservice.ts:251
↓ 2 callers
Method
doThatTestThing
()
tests/services/actionreplay.ts:45
↓ 2 callers
Method
fromString
(dateString: string)
src/helpers/clock.ts:78
↓ 2 callers
Method
isAfter
(date: ClockDate)
src/helpers/clock.ts:45
↓ 2 callers
Method
matchesPath
()
src/objects/route.tsx:59
↓ 2 callers
Method
onEventStored
(callback: (event: IAmADomainEvent) => void)
src/services/eventstore.ts:86
↓ 2 callers
Method
registerCommandValidator
(commandValidator: {new(): T})
src/services/applicationservice.ts:250
↓ 2 callers
Method
replayEvents
(finalTime?: ClockDate, millisecondsInterval?: number, hardReplay: boolean = false)
src/services/eventstore.ts:16
↓ 2 callers
Method
unsubscribe
(callback:(view: View) => void)
src/services/applicationservice.ts:292
↓ 2 callers
Method
validate
(command: IAmACommand)
tests/services/applicationservice.ts:329
↓ 1 callers
Method
addDays
(days: number)
src/helpers/clock.ts:153
↓ 1 callers
Method
addMilliseconds
(milliseconds: number)
src/helpers/clock.ts:169
↓ 1 callers
Method
addSeconds
(seconds: number)
src/helpers/clock.ts:165
↓ 1 callers
Method
applyEvent
(event: IAmADomainEvent)
tests/objects/aggregateroot.ts:22
↓ 1 callers
Method
applyEventToAllAggregates
(event: IAmADomainEvent)
src/services/domainservice.ts:35
↓ 1 callers
Method
getAllEvents
()
src/services/eventstore.ts:102
↓ 1 callers
Method
handlePop
()
src/objects/route.tsx:55
↓ 1 callers
Function
historyPush
(path)
src/objects/route.tsx:23
↓ 1 callers
Function
matchPath
(pathHash, options)
src/helpers/helpers.ts:3
↓ 1 callers
Method
navigateToPage
(command: NavigateToPageCommand)
src/objects/pagenavigationaggregate.ts:15
↓ 1 callers
Method
onDomainError
(callback: (error: DomainError) => void)
src/services/applicationservice.ts:104
↓ 1 callers
Method
onEventStored
(callback: (event: IAmADomainEvent) => void)
src/services/applicationservice.ts:120
↓ 1 callers
Function
register
(comp)
src/objects/route.tsx:20
↓ 1 callers
Method
replayEvents
(finalTime?: ClockDate, millisecondsInterval?: number)
src/services/applicationservice.ts:82
↓ 1 callers
Method
replayEventsUpTo
(domainEvent: IAmADomainEvent, millisecondsInterval?: number, inclusive: boolean = true)
src/services/applicationservice.ts:93
↓ 1 callers
Method
short
()
src/helpers/clock.ts:7
↓ 1 callers
Method
storeEvent
(event: IAmADomainEvent)
src/services/applicationservice.ts:310
↓ 1 callers
Method
toString
()
src/objects/statereport.ts:13
↓ 1 callers
Function
unregister
(comp)
src/objects/route.tsx:21
Method
Instance
()
src/helpers/clock.ts:142
Method
Instance
()
src/services/applicationservice.ts:19
Method
addDays
(days)
src/helpers/clock.ts:49
Method
addHours
(hours: number)
src/helpers/clock.ts:53
Method
addMilliSeconds
(milliseconds: number)
src/helpers/clock.ts:65
Method
addMinutes
(minutes: number)
src/helpers/clock.ts:57
Method
addSeconds
(seconds: number)
src/helpers/clock.ts:61
Method
applyAction
(action: IAmADomainEvent)
tests/services/applicationservice.ts:247
Method
applyEvent
()
tests/services/domainservice.ts:6
Method
applyEvent
(action: IAmADomainEvent)
tests/services/applicationservice.ts:26
Method
applyEvent
(action)
tests/services/applicationservice.ts:132
Method
applyEvent
(action: IAmADomainEvent)
tests/services/applicationservice.ts:176
Method
applyEvent
(action: IAmADomainEvent)
tests/services/viewsubscriber.ts:24
Method
applyEvent
(event: IAmADomainEvent)
tests/services/actionreplay.ts:41
Method
applyTestEvent
(action: TestEvent)
tests/objects/aggregateroot.ts:73
Function
attachEventStore
(eventStore: EventStore)
src/objects/aggregateroot.ts:14
Method
clearOnEventStoredEvents
()
src/services/eventstore.ts:94
Function
constructor
(id?: string)
src/objects/aggregateroot.ts:10
Method
constructor
(public destination: string)
src/objects/pagenavigated.ts:9
Method
constructor
(public message: string)
src/objects/domainerror.ts:4
Method
constructor
(props: RouteProps)
src/objects/route.tsx:38
Method
constructor
(props: PageProps)
src/objects/page.tsx:14
Method
constructor
(public destination: string)
src/objects/navigatetopage.ts:8
Method
constructor
(public events: IAmADomainEvent[])
src/objects/statereport.ts:6
Method
constructor
(year: number, month: number, day: number, hour: number = 0, minutes: number = 0, seconds: number = 0, millise
src/helpers/clock.ts:69
Method
constructor
(public StartTime: ClockDate, public EndTime: ClockDate)
src/helpers/clock.ts:86
Method
constructor
(eventStore: EventStore)
src/services/domainservice.ts:10
Method
constructor
(public viewName: string, public callback: (view: View) => void)
src/services/applicationservice.ts:14
Method
constructor
(private _eventStore = new EventStore(), private _domainService: DomainService = new DomainSer
src/services/applicationservice.ts:59
Method
constructor
(public aggregateID: string)
tests/objects/aggregateroot.ts:10
Method
constructor
(public aggregateID: string)
tests/services/actionstore.ts:8
Method
constructor
(public aggregateID: string)
tests/services/applicationservice.ts:20
Method
constructor
()
tests/services/applicationservice.ts:126
Method
constructor
(public aggregateID: string)
tests/services/viewsubscriber.ts:18
Method
constructor
(public aggregateID: string)
tests/services/actionreplay.ts:18
Method
doThatTestThing
()
tests/services/applicationservice.ts:136
Method
doThatTestThing
()
tests/services/viewsubscriber.ts:28
Method
equals
(other: T)
src/interfaces/iamavalueobject.ts:3
Method
eventListener
()
src/objects/route.tsx:42
Method
firstRegistered
()
src/objects/route.tsx:93
Method
getStateReport
()
src/services/applicationservice.ts:306
Method
getView
(name: string)
src/services/applicationservice.ts:296
Function
getViewByName
(name: string, viewCallBack: (view: View) => void)
src/objects/commandvalidator.ts:7
Method
handle
(event: IAmADomainEvent)
src/objects/route.tsx:145
Method
handle
(command: IAmACommand, domainService: DomainService, callback: (command: IAmACommand) => void)
src/objects/pagenavigationcommandhandler.ts:12
Method
handle
(command: TestCommand, domainService: DomainService, callback: (command: IAmACommand) => void)
tests/services/applicationservice.ts:48
Method
handle
(action: IAmADomainEvent)
tests/services/applicationservice.ts:86
next →
1–100 of 122, ranked by callers