Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add frigade #1447

Merged
merged 34 commits into from
Feb 1, 2024
Merged
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
ec5c105
init frigade setup
Emmyn5600 Dec 26, 2023
dc4ff7c
adding userId to frigadesetup
Emmyn5600 Dec 28, 2023
0ab5fe8
fixing conflicts
Emmyn5600 Jan 8, 2024
cb1287c
fixing conflicts
Emmyn5600 Jan 8, 2024
62014da
Add @rollup/rollup-linux-x64-gnu dependency
parzival418 Jan 31, 2024
20221a0
Merge remote-tracking branch 'origin/development' into frigade_setup
parzival418 Jan 31, 2024
c5a7d11
Update package lock
parzival418 Jan 31, 2024
10533b8
Fix linting error
parzival418 Jan 31, 2024
5b07418
Merge branch 'development' into frigade_setup
parzival418 Jan 31, 2024
92c61d8
Fix up index signature ts config stuff
parzival418 Jan 31, 2024
37db94c
Get frigade announcements working
parzival418 Jan 31, 2024
90bd86a
Refactor eventStore class to add new status and methods
parzival418 Jan 31, 2024
e20822f
Fix isBusy() method to handle case when graph is not available
parzival418 Jan 31, 2024
b56ccd3
Initial work on relayign error messages back to plugins
parzival418 Jan 31, 2024
d52975a
Bump magick behave up
parzival418 Feb 1, 2024
5b5808c
Add selected events property component
parzival418 Feb 1, 2024
2ec1d35
Add SelectedEvents component to PropertiesWindow
parzival418 Feb 1, 2024
410936d
Refactor graphEvents.class.ts to include additional query parameters
parzival418 Feb 1, 2024
07dbd35
Add utils module
parzival418 Feb 1, 2024
d3837d0
Add agent to base registry and pass app into event store
parzival418 Feb 1, 2024
373eb3e
Add queryEvents method to EventStore
parzival418 Feb 1, 2024
ec1366b
Await spellcaster initialize in loadSpell
parzival418 Feb 1, 2024
4bdf3dc
Add getEventStateKey utility function
parzival418 Feb 1, 2024
575e729
Fix observer and sender references in BasePlugin
parzival418 Feb 1, 2024
03aefc9
Add EventTypes enum to coreEventTypes.ts
parzival418 Feb 1, 2024
897ee3b
Update event imports in core plugin
parzival418 Feb 1, 2024
510e2cf
New event history node
parzival418 Feb 1, 2024
de52b6f
Register new event history node
parzival418 Feb 1, 2024
8150ed5
Add knex types
parzival418 Feb 1, 2024
1e2be19
Refactor eventStore.ts to use typed event property keys
parzival418 Feb 1, 2024
ccf3617
Refactor query conditions in GraphEventService class
parzival418 Feb 1, 2024
427c69c
Add observer parameter to saveGraphEvent function
parzival418 Feb 1, 2024
65ac75f
Update eventStateProperties in nodeSpec.json and eventHistory.ts
parzival418 Feb 1, 2024
8198f01
Try removing optional dependencies to fix build bug
parzival418 Feb 1, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Await spellcaster initialize in loadSpell
  • Loading branch information
parzival418 committed Feb 1, 2024
commit ec1366b916bcd33dd74eac468cf8ada45d954ae0
3 changes: 2 additions & 1 deletion packages/server/grimoire/src/lib/spellbook.ts
Original file line number Diff line number Diff line change
@@ -313,6 +313,7 @@ export class Spellbook<Agent extends IAgent, Application extends IApplication> {
this.agent.error(`Error handling event ${eventName} for ${spellId}`)
continue
}

spellCaster?.handleEvent(dependency, eventName, payload)
}
}
@@ -444,7 +445,7 @@ export class Spellbook<Agent extends IAgent, Application extends IApplication> {
initialState,
})

spellCaster.initialize(spell)
await spellCaster.initialize(spell)

const spellCasterList = this.spellMap.get(spell.id)
if (spellCasterList) {