@vttforge/types / ActiveEffectConfig
Interface: ActiveEffectConfig ​
What every CONFIG.<Document> entry carries.
Extends ​
Properties ​
changeTypes ​
changeTypes:
Record<string,unknown>
Register a package's own change type here, in init.
collection? ​
optionalcollection?:AnyClass
Inherited from ​
compendiumIndexFields? ​
optionalcompendiumIndexFields?:string[]
Inherited from ​
DocumentConfig.compendiumIndexFields
dataModels ​
dataModels:
Record<string,AnyClass>
Inherited from ​
expiryAction ​
expiryAction:
"update"|"delete"|null
expiryEvents ​
expiryEvents:
Record<string,string>
phases ​
phases:
string[]
sheetClasses? ​
optionalsheetClasses?:Record<string,Record<string,unknown>>
Inherited from ​
sidebar? ​
optionalsidebar?:object
applicationClass? ​
optionalapplicationClass?:AnyClass
order? ​
optionalorder?:number
Inherited from ​
typeIcons? ​
optionaltypeIcons?:Record<string,string>
Icon per subtype, shown in the sidebar and on creation dialogs.
Inherited from ​
typeLabels? ​
optionaltypeLabels?:Record<string,string>
Inherited from ​
Accessors ​
documentClass ​
Get Signature ​
get documentClass():
TClass
Reading gives the document statics, so CONFIG.Item.documentClass.create() compiles. Writing takes any class, because a system replacing the class rarely declares those statics on its own subclass.
Returns ​
TClass
Set Signature ​
set documentClass(
value):void
Parameters ​
value ​
Returns ​
void