From 10bd81274722823f875ba31eaf5fc670bfb22ceb Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Fri, 12 Aug 2022 11:36:39 +0200 Subject: Split schemas into files in util --- util/src/schemas/VanityUrlSchema.ts | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 util/src/schemas/VanityUrlSchema.ts (limited to 'util/src/schemas/VanityUrlSchema.ts') diff --git a/util/src/schemas/VanityUrlSchema.ts b/util/src/schemas/VanityUrlSchema.ts new file mode 100644 index 00000000..de32695a --- /dev/null +++ b/util/src/schemas/VanityUrlSchema.ts @@ -0,0 +1,8 @@ + +export interface VanityUrlSchema { + /** + * @minLength 1 + * @maxLength 20 + */ + code?: string; +} -- cgit 1.5.1