Add sharedScope, localScope, searchScope, and integrationScope usage in index.js with preamble block extraction and body-only codemod. Keep id, now, and guildTopic as local bindings to avoid shadowing collisions. Add platform-index-integration-imports.js. No behavior changes. Co-authored-by: Cursor <[email protected]>
21 lines
935 B
JavaScript
21 lines
935 B
JavaScript
'use strict'
|
|
|
|
/** Integration worker + digest relay bindings for PearcordPlatform index (Phase 733). */
|
|
const worker = require('pearcord-integration-worker')
|
|
const relay = require('pearcord-digest-relay-plugin')
|
|
|
|
module.exports = {
|
|
listWorkerTemplates: worker.listWorkerTemplates,
|
|
buildWorkerLaunchScript: worker.buildWorkerLaunchScript,
|
|
buildWorkerInstallPlan: worker.buildWorkerInstallPlan,
|
|
getWorkerTemplate: worker.getWorkerTemplate,
|
|
WorkerReleaseHintStore: worker.WorkerReleaseHintStore,
|
|
validateWorkerReleaseVersion: worker.validateWorkerReleaseVersion,
|
|
WORKER_CHANNEL_TAGS: worker.WORKER_CHANNEL_TAGS,
|
|
normalizeWorkerChannelTag: worker.normalizeWorkerChannelTag,
|
|
applyRelayPluginToHandoff: relay.applyRelayPluginToHandoff,
|
|
verifyDigestRelayHandoff: relay.verifyDigestRelayHandoff,
|
|
listBuiltinDigestRelayPlugins: relay.listBuiltinDigestRelayPlugins,
|
|
dryRunWebhookRelayPost: relay.dryRunWebhookRelayPost
|
|
}
|