@mocanvas/store · type
type StoreValidators<R extends UnknownRecord> = {
[TypeName in R["typeName"]]: StoreValidator<Extract<R, {
typeName: TypeName;
}>>;
}A validator per record type, as StoreSchema collects them from the record types.
Mentioned here
mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.