@sanity/mutator
Version:
A set of models to make it easier to utilize the powerful real time collaborative features of Sanity
9 lines (7 loc) • 328 B
text/typescript
import {uuid} from '@sanity/uuid'
/**
* Locally unique id's. We use this to generate transaction ids, and they don't have to be
* cryptographically unique, as the worst that can happen is that they get rejected because
* of a collision, and then we should just retry with a new id.
*/
export const luid: typeof uuid = uuid