Amp-Thread-ID: https://ampcode.com/threads/T-019bc4e0-fcb1-77be-b0b5-0d498f0c7197 Co-authored-by: Amp <amp@ampcode.com>
7 lines
260 B
TypeScript
7 lines
260 B
TypeScript
import { getPairingAdapter } from "../channels/plugins/pairing.js";
|
|
import type { PairingChannel } from "./pairing-store.js";
|
|
|
|
export function resolvePairingIdLabel(channel: PairingChannel): string {
|
|
return getPairingAdapter(channel)?.idLabel ?? "userId";
|
|
}
|