Documentation
    Preparing search index...

    Library Class

    Index

    Constructors

    Properties

    icon: string
    id?: number
    layout: any
    name: string

    Accessors

    Methods

    • Swaps a {type: "library"} reference for its real content, so it renders as if it had been part of the page all along.

      Parameters

      • segment: any
      • req: any
      • visitedIds: Set<number> = ...

        library ids seen so far on this branch, so a library that contains itself renders blank instead of looping forever

      Returns Promise<void>

    • Saves edits made inside a shared component back to its library row. Last write wins - no live push or conflict detection.

      Parameters

      • libraryUpdates: { layout: any; library_id: number }[]

      Returns Promise<void>