Developer Docs
API Reference
Collections
Shared Fields
Functions
Function: createCommonConfig()

web


web / lib/collections/shared-fields / createCommonConfig

Function: createCommonConfig()

createCommonConfig(options): object

Parameters

options

CommonCollectionOptions = {}

Returns

object

timestamps

timestamps: boolean

trash

trash: boolean

versions?

optional versions: object

versions.maxPerDoc

maxPerDoc: number

versions.drafts?

optional drafts: object

versions.drafts.autosave

autosave: boolean