UNPKG

sanity

Version:

Sanity is a real-time content infrastructure with a scalable, hosted backend featuring a Graph Oriented Query Language (GROQ), asset pipelines and fast edge caches

7 lines (5 loc) 262 B
import {type SortOrder} from './types' export const PARTIAL_PAGE_LIMIT = 100 export const FULL_LIST_LIMIT = 2000 export const DEFAULT_ORDERING: SortOrder = {by: [{field: '_updatedAt', direction: 'desc'}]} export const EMPTY_RECORD: Record<string, unknown> = {}