refactor(platform): organize mixins into category directories
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]>
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
'use strict'
|
||||
|
||||
const { createJsonExportHealDelegateMixin } = require('pearcord-json-export-mixin')
|
||||
|
||||
const permissionJsonMixin = createJsonExportHealDelegateMixin({
|
||||
gossipEntries: [
|
||||
{
|
||||
method: '_shouldGossipRoleOverrideJson',
|
||||
keysField: '_roleOverrideRegistryJsonGossipKeys',
|
||||
initMethod: '_initRoleOverrideJsonMixinState'
|
||||
},
|
||||
{
|
||||
method: '_shouldGossipEffectivePermissionExportJson',
|
||||
gossipHashPrefix: 'effective:',
|
||||
keysField: '_effectivePermissionRegistryJsonGossipKeys',
|
||||
initMethod: '_initEffectivePermissionJsonMixinState'
|
||||
}
|
||||
],
|
||||
delegates: [
|
||||
{
|
||||
legacyHeal: '_healRoleOverrideExportCursorOnPartition',
|
||||
dedicatedHeal: '_healRoleOverrideJsonExportCursorOnPartition'
|
||||
},
|
||||
{
|
||||
legacyHeal: '_healEffectivePermissionExportCursorOnPartition',
|
||||
dedicatedHeal: '_healEffectivePermissionJsonExportCursorOnPartition'
|
||||
}
|
||||
]
|
||||
})
|
||||
|
||||
module.exports = { permissionJsonMixin }
|
||||
Reference in New Issue
Block a user