@comapeo/core-react 6.3.0 → 6.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -221,6 +221,8 @@ export declare function useAttachmentUrl({ projectId, blobId, }: {
|
|
|
221
221
|
* })
|
|
222
222
|
* }
|
|
223
223
|
* ```
|
|
224
|
+
*
|
|
225
|
+
* @deprecated Use `createdBy` field from document read hooks.
|
|
224
226
|
*/
|
|
225
227
|
export declare function useDocumentCreatedBy({ projectId, originalVersionId, }: {
|
|
226
228
|
projectId: string;
|
|
@@ -279,6 +279,8 @@ function useMediaServerOrigin({ projectApi }) {
|
|
|
279
279
|
* })
|
|
280
280
|
* }
|
|
281
281
|
* ```
|
|
282
|
+
*
|
|
283
|
+
* @deprecated Use `createdBy` field from document read hooks.
|
|
282
284
|
*/
|
|
283
285
|
function useDocumentCreatedBy({ projectId, originalVersionId, }) {
|
|
284
286
|
const { data: projectApi } = useSingleProject({ projectId });
|
|
@@ -221,6 +221,8 @@ export declare function useAttachmentUrl({ projectId, blobId, }: {
|
|
|
221
221
|
* })
|
|
222
222
|
* }
|
|
223
223
|
* ```
|
|
224
|
+
*
|
|
225
|
+
* @deprecated Use `createdBy` field from document read hooks.
|
|
224
226
|
*/
|
|
225
227
|
export declare function useDocumentCreatedBy({ projectId, originalVersionId, }: {
|
|
226
228
|
projectId: string;
|
|
@@ -251,6 +251,8 @@ function useMediaServerOrigin({ projectApi }) {
|
|
|
251
251
|
* })
|
|
252
252
|
* }
|
|
253
253
|
* ```
|
|
254
|
+
*
|
|
255
|
+
* @deprecated Use `createdBy` field from document read hooks.
|
|
254
256
|
*/
|
|
255
257
|
export function useDocumentCreatedBy({ projectId, originalVersionId, }) {
|
|
256
258
|
const { data: projectApi } = useSingleProject({ projectId });
|