Skip to content

Commit

Permalink
common-types: Updated token options interface
Browse files Browse the repository at this point in the history
  • Loading branch information
CSantosM committed Oct 23, 2024
1 parent 62515ee commit 5446b1f
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions types/src/token.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
// export interface OpenViduDecodedToken {
// metadata: string;
// video: VideoGrant;
// }

export interface TokenOptions {
roomName: string;
participantName: string;
canRecord?: boolean;
canChat?: boolean;
canAccess?: boolean;
permissions?: OpenViduPermissions;
}

export interface OpenViduPermissions {
canRecord: boolean;
canChat: boolean;
}

0 comments on commit 5446b1f

Please sign in to comment.