From 06a37baf1d02148c95a4a17c6045b83e354fff2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dafydd=20Ll=C5=B7r=20Pearson?= Date: Wed, 24 Jul 2024 14:40:53 +0100 Subject: [PATCH] chore: Standardise temporary schema name 'app' --- schemas/{discriminated.json => app.json} | 0 scripts/build-schema.sh | 2 +- types/schemas/{discriminated => app}/ApplicationData.ts | 0 types/schemas/{discriminated => app}/User.ts | 0 types/schemas/{discriminated => app}/index.ts | 0 5 files changed, 1 insertion(+), 1 deletion(-) rename schemas/{discriminated.json => app.json} (100%) rename types/schemas/{discriminated => app}/ApplicationData.ts (100%) rename types/schemas/{discriminated => app}/User.ts (100%) rename types/schemas/{discriminated => app}/index.ts (100%) diff --git a/schemas/discriminated.json b/schemas/app.json similarity index 100% rename from schemas/discriminated.json rename to schemas/app.json diff --git a/scripts/build-schema.sh b/scripts/build-schema.sh index 36a36320..2eb42443 100755 --- a/scripts/build-schema.sh +++ b/scripts/build-schema.sh @@ -7,7 +7,7 @@ version="${VERSION:-@next}" echo "Version set to $version" -dirs=("application" "discriminated") +dirs=("application" "app") types=("Application" "App") for i in "${!dirs[@]}"; do diff --git a/types/schemas/discriminated/ApplicationData.ts b/types/schemas/app/ApplicationData.ts similarity index 100% rename from types/schemas/discriminated/ApplicationData.ts rename to types/schemas/app/ApplicationData.ts diff --git a/types/schemas/discriminated/User.ts b/types/schemas/app/User.ts similarity index 100% rename from types/schemas/discriminated/User.ts rename to types/schemas/app/User.ts diff --git a/types/schemas/discriminated/index.ts b/types/schemas/app/index.ts similarity index 100% rename from types/schemas/discriminated/index.ts rename to types/schemas/app/index.ts