From 290578967d0eee7e79ab4fba9c0d3f22846e63d5 Mon Sep 17 00:00:00 2001 From: tdurieux Date: Wed, 11 Aug 2021 18:36:18 +0200 Subject: [PATCH] change order of repository status --- src/types.ts | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/types.ts b/src/types.ts index fe1c2f9..2c2e554 100644 --- a/src/types.ts +++ b/src/types.ts @@ -16,7 +16,7 @@ export interface SourceBase { url?: string; /** - * Retrieve the fie content + * Retrieve the fie content * @param file the file of the content to retrieve */ getFileContent(file: AnonymizedFile): Promise; @@ -66,12 +66,13 @@ export interface Branch { } export type RepositoryStatus = - | "ready" + | "queue" | "preparing" - | "expired" - | "removed" | "download" - | "queue"; + | "ready" + | "expired" + | "removed"; + export type SourceStatus = "available" | "unavailable"; export interface Tree {