[fabric/core] Move some types from domain to core

This commit is contained in:
Pablo Baleztena 2024-10-20 11:31:22 -03:00
parent 53a7b31bdc
commit 2cd252511a
7 changed files with 3 additions and 17 deletions

View File

@ -1,6 +1,9 @@
export * from "./email.ts";
export * from "./enum.ts";
export * from "./fn.ts";
export * from "./keyof.ts";
export * from "./maybe-promise.ts";
export * from "./optional.ts";
export * from "./record.ts";
export * from "./semver.ts";
export * from "./uuid.ts";

View File

@ -1 +0,0 @@
export type Base64String = string;

View File

@ -1,11 +0,0 @@
import type { UUID } from "./uuid.ts";
/**
* An entity is a domain object that is defined by its identity.
*
* Entities have a unique identity (`id`), which distinguishes
* them from other entities.
*/
export interface Entity {
id: UUID;
}

View File

@ -1,5 +0,0 @@
export * from "./base-64.ts";
export * from "./email.ts";
export * from "./entity.ts";
export * from "./semver.ts";
export * from "./uuid.ts";