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";
|
|
}
|