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]>
19 lines
765 B
JavaScript
19 lines
765 B
JavaScript
'use strict'
|
|
|
|
const { createJsonExportMeshMixin } = require('pearcord-json-export-mixin')
|
|
|
|
const effectivePermissionJsonMixin = createJsonExportMeshMixin({
|
|
keysField: '_effectivePermissionRegistryJsonGossipKeys',
|
|
watermarkField: '_effectivePermissionJsonHealWatermark',
|
|
initMethod: '_initEffectivePermissionJsonMixinState',
|
|
shouldGossipMethod: '_shouldGossipEffectivePermissionExportJson',
|
|
healMethod: '_healEffectivePermissionJsonExportCursorOnPartition',
|
|
spanKind: 'effective-permission.json',
|
|
healContext: 'heal.effective-permission',
|
|
countField: 'guildEffectivePermissionJsonCount',
|
|
bridgeKind: 'effective-permission.json',
|
|
listExportsMethod: 'listEffectivePermissionExportJsonExports',
|
|
})
|
|
|
|
module.exports = { effectivePermissionJsonMixin }
|