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 oauthGrantJsonMixin = createJsonExportMeshMixin({
|
|
keysField: '_oauthGrantRegistryJsonGossipKeys',
|
|
watermarkField: '_oauthGrantJsonHealWatermark',
|
|
initMethod: '_initOAuthGrantJsonMixinState',
|
|
shouldGossipMethod: '_shouldGossipOAuthGrantJson',
|
|
healMethod: '_healOAuthGrantJsonExportCursorOnPartition',
|
|
spanKind: 'oauth-grant.json',
|
|
healContext: 'heal.oauth-grant',
|
|
countField: 'guildOAuthGrantJsonCount',
|
|
bridgeKind: 'oauth-grant.json',
|
|
listExportsMethod: 'listOAuthGrantJsonExports',
|
|
})
|
|
|
|
module.exports = { oauthGrantJsonMixin }
|