Files
domain-driven-hexagon/src/interface-adapters/interfaces/user/create.user.interface.ts
2022-04-19 18:39:03 +02:00

11 lines
405 B
TypeScript

/* Creating interfaces like this may be useful if you need to share types with
a front end web/mobile application, microservices, or other TypeScript APIs.
You can share interfaces as a git submodule, a npm package, a library or in a monorepo, etc.
*/
export interface CreateUser {
readonly email: string;
readonly country: string;
readonly postalCode: string;
readonly street: string;
}