Foundry Virtual Tabletop - API Documentation - Version 14
    Preparing search index...

    Interface _DocumentConstructionContext

    interface _DocumentConstructionContext {
        creation?: boolean;
        modifiedTime?: number;
        pack?: string | null;
        parent?: any;
        parentCollection?: string | null;
        user?: any;
    }
    Index

    Properties

    creation?: boolean

    In a ServerDocument context, is this document being created?

    modifiedTime?: number

    In a ServerDocument context, the timestamp of creation

    pack?: string | null

    The compendium collection ID which contains this Document, if any

    parent?: any

    The parent Document of this one, if this one is embedded

    parentCollection?: string | null

    The name of the parent Document's collection that would contain this one

    user?: any

    In a ServerDocument context, the User performing the construction