Readonly
scope
scope: {
app: {
actions?: ("write" | "read" | "listChannels")[];
analytics?: boolean;
channels?: ({
id?: string;
name?: string;
} & {
actions: ("create" | "write" | "delete" | "updateMetadata" | "read")[];
members: ({
id?: ...;
name?: ...;
} & {
actions: ...;
publication?: ...;
subscription?: ...;
} & {
[k: ...]: ...;
})[];
sfuBots?: objectInputType<(...), (...), (...)>[];
} & {
[k: string]: unknown;
})[];
id: string;
turn?: boolean;
} & {
[k: string]: unknown;
};
} | {
analytics?: {
enabled?: boolean;
};
appId: string;
rooms: ({
id?: string;
name?: string;
} & {
member?: {
id?: string;
name?: string;
} & {
methods: ((...) | (...) | (...))[];
} & {
[k: string]: unknown;
};
methods: ("create" | "updateMetadata" | "close")[];
sfu?: {
enabled?: boolean;
maxSubscribersLimit?: number;
};
} & {
[k: string]: unknown;
})[];
turn?: {
enabled?: boolean;
};
} & {
[k: string]: unknown;
}
Type declaration
app: {
actions?: ("write" | "read" | "listChannels")[];
analytics?: boolean;
channels?: ({
id?: string;
name?: string;
} & {
actions: ("create" | "write" | "delete" | "updateMetadata" | "read")[];
members: ({
id?: ...;
name?: ...;
} & {
actions: ...;
publication?: ...;
subscription?: ...;
} & {
[k: ...]: ...;
})[];
sfuBots?: objectInputType<(...), (...), (...)>[];
} & {
[k: string]: unknown;
})[];
id: string;
turn?: boolean;
} & {
[k: string]: unknown;
}
seconds