The read surface createSceneData needs from a scene — Foundry's document flag accessor. Declared structurally so the logic layer never depends on a Foundry value import.

interface SceneFlagStore {
    getFlag(scope: string, key: string): unknown;
}

Methods

Methods

  • Reads a document flag.

    Parameters

    • scope: string

      The flag scope (package id).

    • key: string

      The flag key within that scope.

    Returns unknown

    The stored value, or undefined when unset.