Move 136 prototype mixins under mixins/domain, json-export, and runtime/* so the package root stays navigable. Manifest assign order is unchanged; apply-platform-mixins and runtime registry paths updated. Co-authored-by: Cursor <[email protected]>
32 lines
925 B
JavaScript
32 lines
925 B
JavaScript
'use strict'
|
|
|
|
const { createJsonExportHealDelegateMixin } = require('pearcord-json-export-mixin')
|
|
|
|
const slashJsonMixin = createJsonExportHealDelegateMixin({
|
|
gossipEntries: [
|
|
{
|
|
method: '_shouldGossipSlashRegistryJson',
|
|
keysField: '_slashRegistryExportJsonGossipKeys',
|
|
initMethod: '_initSlashRegistryJsonMixinState'
|
|
},
|
|
{
|
|
method: '_shouldGossipSlashInvokeAuditExportJson',
|
|
gossipHashPrefix: 'invoke:',
|
|
keysField: '_slashInvokeAuditRegistryJsonGossipKeys',
|
|
initMethod: '_initSlashInvokeAuditJsonMixinState'
|
|
}
|
|
],
|
|
delegates: [
|
|
{
|
|
legacyHeal: '_healSlashRegistryExportCursorOnPartition',
|
|
dedicatedHeal: '_healSlashRegistryJsonExportCursorOnPartition'
|
|
},
|
|
{
|
|
legacyHeal: '_healSlashInvokeAuditExportCursorOnPartition',
|
|
dedicatedHeal: '_healSlashInvokeAuditJsonExportCursorOnPartition'
|
|
}
|
|
]
|
|
})
|
|
|
|
module.exports = { slashJsonMixin }
|