Hey there, I love that you added the beforeDocumentControls slot to the collections and globals. Exactly what I was longing for.
Now I am trying to use it, but seemingly cannot receive the document on which the admin currently is. This is essential, since I want to do some operation on that document. Looking at the props BeforeDocumentControlsServerProps or even logging them, i only get i18n, payload and the user. But not the documentID.
What's the best way to get the ID of the current document in the edit view for the beforeDocumentControls button?