diff --git a/app/src/api/user-routes.ts b/app/src/api/user-routes.ts new file mode 100644 index 0000000..139597f --- /dev/null +++ b/app/src/api/user-routes.ts @@ -0,0 +1,2 @@ + + diff --git a/app/src/domain/repository.ts b/app/src/domain/repository.ts new file mode 100644 index 0000000..61fdf82 --- /dev/null +++ b/app/src/domain/repository.ts @@ -0,0 +1,7 @@ +export interface Repository { + get(id: any): Promise; + save(model: T): Promise; + update(model: T): Promise; + delete(model: T): Promise; +} +