Files
pearcord-platform/mixins/json-export/vanity-url-json-mixin.js
T
Raven ScottandCursor a5dba86570 refactor(platform): organize mixins into category directories
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]>
2026-06-03 17:42:26 -04:00

19 lines
645 B
JavaScript

'use strict'
const { createJsonExportMeshMixin } = require('pearcord-json-export-mixin')
const vanityUrlJsonMixin = createJsonExportMeshMixin({
keysField: '_vanityUrlRegistryJsonGossipKeys',
watermarkField: '_vanityUrlJsonHealWatermark',
initMethod: '_initVanityUrlJsonMixinState',
shouldGossipMethod: '_shouldGossipVanityUrlExportJson',
healMethod: '_healVanityUrlJsonExportCursorOnPartition',
spanKind: 'vanity-url.json',
healContext: 'heal.vanity-url',
countField: 'guildVanityUrlJsonCount',
bridgeKind: 'vanity-url.json',
listExportsMethod: 'listVanityUrlExportJsonExports',
})
module.exports = { vanityUrlJsonMixin }