feat(guild): gossip signed audit CSV sync on guild mesh (v0.8.81)
Broadcast and ingest RPC AUDIT_EXPORT_CSV_SYNC with platform event audit-export-csv-sync for live signed audit export propagation. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -371,6 +371,9 @@ class PearcordGuild extends EventEmitter {
|
||||
if (method === RPC.HOOK_FAILURE_DIGEST_CSV_SYNC) {
|
||||
this.emit('hook-failure-digest-csv-sync', payload)
|
||||
}
|
||||
if (method === RPC.AUDIT_EXPORT_CSV_SYNC) {
|
||||
this.emit('audit-export-csv-sync', payload)
|
||||
}
|
||||
if (method === RPC.AUDIT_EXPORT_ARCHIVE) {
|
||||
this.emit('audit-export-archive', payload)
|
||||
}
|
||||
@@ -523,6 +526,10 @@ class PearcordGuild extends EventEmitter {
|
||||
this.emit('hook-failure-digest-csv-sync', payload)
|
||||
return
|
||||
}
|
||||
if (method === RPC.AUDIT_EXPORT_CSV_SYNC) {
|
||||
this.emit('audit-export-csv-sync', payload)
|
||||
return
|
||||
}
|
||||
if (method === RPC.AUDIT_EXPORT_ARCHIVE) {
|
||||
this.emit('audit-export-archive', payload)
|
||||
return
|
||||
@@ -714,6 +721,10 @@ class PearcordGuild extends EventEmitter {
|
||||
broadcastGossip(this, RPC.HOOK_FAILURE_DIGEST_CSV_SYNC, payload)
|
||||
}
|
||||
|
||||
gossipAuditExportCsvSync (payload) {
|
||||
broadcastGossip(this, RPC.AUDIT_EXPORT_CSV_SYNC, payload)
|
||||
}
|
||||
|
||||
gossipAuditExportArchive (payload) {
|
||||
broadcastGossip(this, RPC.AUDIT_EXPORT_ARCHIVE, payload)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user