feat: add localized review mock files (#18)
This commit is contained in:
4
src/models/i18n.ts
Normal file
4
src/models/i18n.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export const enum LANGUAGES {
|
||||
en = 'en',
|
||||
ru = 'ru'
|
||||
}
|
||||
@@ -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
9
src/models/review.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
export type Id = string;
|
||||
|
||||
export type View = {
|
||||
id: Id;
|
||||
firstname: string;
|
||||
lastname: string;
|
||||
picture: URL['href'];
|
||||
text: string;
|
||||
};
|
||||
Reference in New Issue
Block a user