fix(permission): close auto review gaps
This commit is contained in:
1 parent
1912573bde
commit
64fa60d3d4
44 files changed
+592
-391
No files matched your search
@@ -22,13 +22,14 @@ export class SessionControlController {
|
||||
/** @param ctx - Host context carrying live Agent, projection, and jobs services. */
|
||||
constructor(private readonly ctx: Context) {
|
||||
ctx.on('session/event', (session, event) => { this.onSessionEvent(session, event) })
|
||||
ctx.sessionProjections.onChanged((session, key, value, seq) => {
|
||||
ctx.sessionProjections.onChanged((session, key, value, seq, publication) => {
|
||||
this.broadcast({
|
||||
type: 'projection',
|
||||
sessionId: session.id,
|
||||
key,
|
||||
value: value as JsonValue,
|
||||
seq,
|
||||
...publication === 'republish' ? { republish: true as const } : {},
|
||||
})
|
||||
})
|
||||
ctx.inject(['jobs'], (jobsCtx) => {
|
||||
|
||||
Reference in new issue
Block a user