@sanity/migrate
Version:
Tooling for running data migrations on Sanity.io projects
9 lines (5 loc) • 335 B
text/typescript
// copied over from type-fest to avoid build issue
export type JsonObject = {[Key in string]: JsonValue} & {[Key in string]?: JsonValue | undefined}
export type JsonArray = JsonValue[] | readonly JsonValue[]
export type JsonPrimitive = boolean | number | string | null
export type JsonValue = JsonArray | JsonObject | JsonPrimitive