Skip to content

Commit

Permalink
chore(types) add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainPetit1 committed Nov 5, 2024
1 parent bbc2e0c commit eaf8315
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,16 @@ interface VideoAssets {
*/
mp4?: string;
}

/**
* The origin of the last update on the video's `language` attribute.
*/
enum LanguageOrigin {
/**
* the language was set by the api
*/
api = 'api',
/**
* the language was done automatically by the API.
*/
auto = 'auto',
}

0 comments on commit eaf8315

Please sign in to comment.