refactor: trim google meet transport exports

This commit is contained in:
Peter Steinberger
2026-05-01 16:31:12 +01:00
parent 91fbbccc10
commit 6eae36282b
5 changed files with 9 additions and 9 deletions

View File

@@ -13,7 +13,7 @@ export const noopLogger = {
debug: vi.fn(),
};
export type GoogleMeetTestNodeListResult = {
type GoogleMeetTestNodeListResult = {
nodes: Array<{
nodeId: string;
displayName?: string;

View File

@@ -35,7 +35,7 @@ export function isSameMeetUrlForReuse(a: string | undefined, b: string | undefin
return Boolean(normalizedA && normalizedB && normalizedA === normalizedB);
}
export type GoogleMeetNodeInfo = {
type GoogleMeetNodeInfo = {
caps?: string[];
commands?: string[];
connected?: boolean;

View File

@@ -25,7 +25,7 @@ type BrowserCreateStepResult = {
retryAfterMs?: number;
};
export type GoogleMeetBrowserCreateResult = {
type GoogleMeetBrowserCreateResult = {
meetingUri: string;
nodeId: string;
targetId?: string;
@@ -35,7 +35,7 @@ export type GoogleMeetBrowserCreateResult = {
source: "browser";
};
export type GoogleMeetBrowserManualAction = {
type GoogleMeetBrowserManualAction = {
source: "browser";
error: string;
manualActionRequired: true;
@@ -50,7 +50,7 @@ export type GoogleMeetBrowserManualAction = {
};
};
export class GoogleMeetBrowserManualActionError extends Error {
class GoogleMeetBrowserManualActionError extends Error {
readonly payload: GoogleMeetBrowserManualAction;
constructor(payload: Omit<GoogleMeetBrowserManualAction, "source" | "error">) {

View File

@@ -14,7 +14,7 @@ export function normalizeDialInNumber(value: unknown): string | undefined {
return compact;
}
export function normalizeDtmfSequence(value: unknown): string | undefined {
function normalizeDtmfSequence(value: unknown): string | undefined {
const normalized = normalizeOptionalString(value);
if (!normalized) {
return undefined;

View File

@@ -1,6 +1,6 @@
import type { GoogleMeetMode, GoogleMeetTransport } from "../config.js";
export type GoogleMeetSessionState = "active" | "ended";
type GoogleMeetSessionState = "active" | "ended";
export type GoogleMeetJoinRequest = {
url: string;
@@ -12,14 +12,14 @@ export type GoogleMeetJoinRequest = {
dtmfSequence?: string;
};
export type GoogleMeetManualActionReason =
type GoogleMeetManualActionReason =
| "google-login-required"
| "meet-admission-required"
| "meet-permission-required"
| "meet-audio-choice-required"
| "browser-control-unavailable";
export type GoogleMeetSpeechBlockedReason =
type GoogleMeetSpeechBlockedReason =
| GoogleMeetManualActionReason
| "not-in-call"
| "browser-unverified"