turbodombuilder - v0.9.5
    Preparing search index...

    Function addInYMap

    • addInYMap

      Parameters

      • data: object

        The data to append to the Yjs document.

      • parentYMap: YMap

        The YMap to add the data to.

      • Optionalid: string

        Optional ID to use. If not provided, a unique ID is generated.

      Returns Promise<string>

      The ID of the inserted data.

      Adds the provided data in the provided parent in the Yjs document, with a unique ID as its field name.