From 1fe205165da1844c1424834f85cd59d9c28a00ee Mon Sep 17 00:00:00 2001 From: NCanggoro Date: Tue, 3 Oct 2023 14:39:08 +0700 Subject: [PATCH] add Location info domain --- src/domains/LocationInfo.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/domains/LocationInfo.ts diff --git a/src/domains/LocationInfo.ts b/src/domains/LocationInfo.ts new file mode 100644 index 0000000..f82d456 --- /dev/null +++ b/src/domains/LocationInfo.ts @@ -0,0 +1,13 @@ +import { NullValueRes } from '../types/common'; + +export type LocationInfo = { + id: Number, + name: string, + thumbnail: NullValueRes<'String', string>, + regency_name: String, + province_name: String, + critic_score: Number, + critic_count: Number, + user_score: Number, + user_count: Number +}