fix: add slug to DocumentInfo context (#1389)
This commit is contained in:
@@ -10,6 +10,8 @@ export type ContextType = {
|
||||
collection?: SanitizedCollectionConfig
|
||||
global?: SanitizedGlobalConfig
|
||||
type: 'global' | 'collection'
|
||||
/** Slug of the collection or global */
|
||||
slug?: string
|
||||
id?: string | number
|
||||
preferencesKey?: string
|
||||
versions?: PaginatedDocs<Version>
|
||||
|
||||
Reference in New Issue
Block a user