Files
domain-driven-hexagon/src/interface-adapters/interfaces/user/create.user.interface.ts
2021-09-11 19:50:41 +02:00

12 lines
357 B
TypeScript

/* Creating interfaces like this may be useful if you have a front end
web/mobile application or other microservices that need to talk to
your API since you can share them as a git submodule, a npm package/
library or in a monorepo.
*/
export interface CreateUser {
email: string;
country: string;
postalCode: string;
street: string;
}