# Internal: persist CRDT state (notes-sync only)

Stores the Yjs binary and projects the JSON doc through the standard
save path (rev bump, snapshot throttling, wiki-link edges, search
text). The sync server is authoritative during co-editing — no
optimistic rev check.


Canonical: https://easerix.com/docs/developers/api/notes/system/internalPutSyncState

{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

export default function Layout(props) {
  const { APIPage, OpenAPIPage } = props.components ?? {};
  // "APIPage" is the old name from v10, this allows both for backward compatibility
  const Comp = OpenAPIPage ?? APIPage;
  return (
    <>
      {props.children}
      <Comp document="notes" operations={[{"path":"/internal/pages/{id}/sync","method":"put"}]} />
    </>
  );
}
