[fabric/core] Move some types from domain to core
This commit is contained in:
parent
53a7b31bdc
commit
2cd252511a
@ -1,6 +1,9 @@
|
|||||||
|
export * from "./email.ts";
|
||||||
export * from "./enum.ts";
|
export * from "./enum.ts";
|
||||||
export * from "./fn.ts";
|
export * from "./fn.ts";
|
||||||
export * from "./keyof.ts";
|
export * from "./keyof.ts";
|
||||||
export * from "./maybe-promise.ts";
|
export * from "./maybe-promise.ts";
|
||||||
export * from "./optional.ts";
|
export * from "./optional.ts";
|
||||||
export * from "./record.ts";
|
export * from "./record.ts";
|
||||||
|
export * from "./semver.ts";
|
||||||
|
export * from "./uuid.ts";
|
||||||
|
|||||||
@ -1 +0,0 @@
|
|||||||
export type Base64String = string;
|
|
||||||
@ -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;
|
|
||||||
}
|
|
||||||
@ -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";
|
|
||||||
Loading…
Reference in New Issue
Block a user