Authentication state for this workspace.
Optionaltoken?: TokenSourceReactive token source from the Studio's auth store. When present, the SDK subscribes for ongoing token sync — the Studio is the single authority for auth and handles token refresh.
Optional because Studios before Aug 2022 may not expose it. When absent, the SDK falls back to localStorage/cookie discovery.
OptionalauthenticatedWhether the Studio has determined the user is authenticated.
When true and the token source emits null, the SDK infers
cookie-based auth is in use and skips the logged-out state.
The dataset name for this workspace.
The Sanity project ID for this workspace.
Minimal duck-typed interface representing a Sanity Studio workspace. The Studio's
Workspacetype satisfies this naturally — no import dependency on thesanitypackage is required.