Add no-text and livekit tag support to rooms

This commit is contained in:
Jon Staab
2026-03-05 14:34:07 -08:00
parent 7f257a3fff
commit fa7b6bb526
13 changed files with 33 additions and 14 deletions
+12
View File
@@ -1555,12 +1555,24 @@ export const nthEq =
(xs: any[], ...args: unknown[]) =>
xs[i] === v
/** Returns a function that checks if nth element is in value */
export const nthIn =
(i: number, v: any[]) =>
(xs: any[], ...args: unknown[]) =>
v.includes(xs[i])
/** Returns a function that checks if nth element does not equal value */
export const nthNe =
(i: number, v: any) =>
(xs: any[], ...args: unknown[]) =>
xs[i] !== v
/** Returns a function that checks if nth element is not in value */
export const nthNotIn =
(i: number, v: any[]) =>
(xs: any[], ...args: unknown[]) =>
!v.includes(xs[i])
/** Returns a function that checks if key/value pairs of x match all pairs in spec */
export const spec =
(values: Obj | Array<any>) =>