Kind: Function
Source: atloria-monorepo/apps/web/src/hooks/usePublish.ts
usePublish - Hook for publishing and unpublishing documents
Provides a simple interface for changing document publication state. Requires MAINTAINER or ADMIN role.
Signature
tsfunction usePublish(): UsePublishReturn
Returns: UsePublishReturn
Was this page helpful?