@thisisagile/easy
Version:
Straightforward library for building domain-driven microservice architectures
1 lines • 317 B
Source Map (JSON)
{"version":3,"sources":["../src/types/Id.ts"],"sourcesContent":["import { toUuid } from './Uuid';\n\nexport type Id = string | number;\nexport type Key = Id;\nexport type Code = Id;\nexport type HasId = { id: Id };\n\nexport const toId = (): Id => toUuid();\n"],"mappings":";;;;;AAOO,IAAM,OAAO,MAAU,OAAO;","names":[]}