We just adapt to the new way of setting our doc public or not.
We didn't implement the public editable yet.
We updated the way we handle the visibility of a doc in the backend.
Now we use a new api to update the visibility (documents/{id}/link-configuration/) of a doc.
We adapted the frontend to use this new api.
We changed the types to reflect the new api and to keep the same logic.
Purpose
We just adapt to the new way of setting our doc public or not. We didn't implement the public editable yet.
We updated the way we handle the visibility of a doc in the backend. Now we use a new api to update the visibility (
documents/{id}/link-configuration/
) of a doc. We adapted the frontend to use this new api. We changed the types to reflect the new api and to keep the same logic.