From eaf8315ced35b8bc20caf64db127b499a21ba5c0 Mon Sep 17 00:00:00 2001 From: Romain Petit Date: Tue, 5 Nov 2024 10:46:37 +0100 Subject: [PATCH] chore(types) add comments --- src/types.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/types.ts b/src/types.ts index 9be94f1..d59d011 100644 --- a/src/types.ts +++ b/src/types.ts @@ -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', }