feat: add localized review mock files (#18)

This commit is contained in:
RustamRu
2024-11-16 22:43:28 +03:00
parent 862f2ef5f5
commit 425a47b33c
6 changed files with 89 additions and 43 deletions

4
src/models/i18n.ts Normal file
View File

@@ -0,0 +1,4 @@
export const enum LANGUAGES {
en = 'en',
ru = 'ru'
}

View File

@@ -1 +1,3 @@
export * as Order from './order';
export * from './i18n';
export * as Order from './order';
export * as Review from './review';

9
src/models/review.ts Normal file
View File

@@ -0,0 +1,9 @@
export type Id = string;
export type View = {
id: Id;
firstname: string;
lastname: string;
picture: URL['href'];
text: string;
};