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
667 B
JavaScript
19 lines
667 B
JavaScript
'use strict'
|
|
|
|
const { createJsonExportMeshMixin } = require('pearcord-json-export-mixin')
|
|
|
|
const discoveryJsonMixin = createJsonExportMeshMixin({
|
|
keysField: '_discoveryRegistryJsonGossipKeys',
|
|
watermarkField: '_discoveryJsonHealWatermark',
|
|
initMethod: '_initDiscoveryJsonMixinState',
|
|
shouldGossipMethod: '_shouldGossipDiscoveryListingExportJson',
|
|
healMethod: '_healDiscoveryListingExportCursorOnPartition',
|
|
spanKind: 'discovery.json',
|
|
healContext: 'heal.discovery-listing',
|
|
countField: 'guildDiscoveryJsonCount',
|
|
bridgeKind: 'discovery.json',
|
|
listExportsMethod: 'listDiscoveryListingExportJsonExports',
|
|
})
|
|
|
|
module.exports = { discoveryJsonMixin }
|