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
679 B
JavaScript
19 lines
679 B
JavaScript
'use strict'
|
|
|
|
const { createJsonExportMeshMixin } = require('pearcord-json-export-mixin')
|
|
|
|
const slashRegistryJsonMixin = createJsonExportMeshMixin({
|
|
keysField: '_slashRegistryExportJsonGossipKeys',
|
|
watermarkField: '_slashRegistryJsonHealWatermark',
|
|
initMethod: '_initSlashRegistryJsonMixinState',
|
|
shouldGossipMethod: '_shouldGossipSlashRegistryJson',
|
|
healMethod: '_healSlashRegistryJsonExportCursorOnPartition',
|
|
spanKind: 'slash-registry.json',
|
|
healContext: 'heal.slash-registry',
|
|
countField: 'guildSlashRegistryJsonCount',
|
|
bridgeKind: 'slash-registry.json',
|
|
listExportsMethod: 'listSlashRegistryJsonExports',
|
|
})
|
|
|
|
module.exports = { slashRegistryJsonMixin }
|