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]>
29 lines
814 B
JavaScript
29 lines
814 B
JavaScript
'use strict'
|
|
|
|
const { createJsonExportDualHealMixin } = require('pearcord-json-export-mixin')
|
|
|
|
const digestJsonMixin = createJsonExportDualHealMixin({
|
|
gossipEntries: [
|
|
{
|
|
method: '_shouldGossipHookFailureDigestJson',
|
|
gossipHashPrefix: '',
|
|
keysField: '_hookFailureDigestJsonGossipKeys',
|
|
initMethod: '_initDigestJsonMixinState'
|
|
}
|
|
],
|
|
heals: [
|
|
{
|
|
watermarkField: '_digestJsonHealWatermark',
|
|
shouldGossipMethod: '_shouldGossipHookFailureDigestJson',
|
|
healMethod: '_healHookFailureDigestJsonCursorOnPartition',
|
|
spanKind: 'digest.json',
|
|
healContext: 'heal.export',
|
|
countField: 'guildDigestJsonCount',
|
|
bridgeKind: 'digest.json',
|
|
listExportsMethod: 'listHookFailureDigestJsonExports',
|
|
}
|
|
]
|
|
})
|
|
|
|
module.exports = { digestJsonMixin }
|