Could support for CUIDs and NanoIds be added?
Can be used in the same way as uuid:
import { cuid, CUID, NanoId, nanoId, PrimaryKey } from '@deepkit/type';
class User {
cuid: CUID & PrimaryKey = cuid();
// Or the following
// nanoId: NanoID & PrimaryKey = nanoId();
}
This would be nice to have to shorten ids.
Could support for CUIDs and NanoIds be added?
Can be used in the same way as uuid:
This would be nice to have to shorten ids.