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
645 B
JavaScript
19 lines
645 B
JavaScript
'use strict'
|
|
|
|
const { createJsonExportMeshMixin } = require('pearcord-json-export-mixin')
|
|
|
|
const readStateJsonMixin = createJsonExportMeshMixin({
|
|
keysField: '_readStateRegistryJsonGossipKeys',
|
|
watermarkField: '_readStateJsonHealWatermark',
|
|
initMethod: '_initReadStateJsonMixinState',
|
|
shouldGossipMethod: '_shouldGossipReadStateExportJson',
|
|
healMethod: '_healReadStateJsonExportCursorOnPartition',
|
|
spanKind: 'read-state.json',
|
|
healContext: 'heal.read-state',
|
|
countField: 'guildReadStateJsonCount',
|
|
bridgeKind: 'read-state.json',
|
|
listExportsMethod: 'listReadStateExportJsonExports',
|
|
})
|
|
|
|
module.exports = { readStateJsonMixin }
|