@solibo/solibo-react 1.58.2 → 1.58.3-110c5b6-1796034895485-SNAPSHOT

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.
@@ -0,0 +1 @@
1
+ export declare const usePrepareImageForCropping: () => import("../../../index.js").MutationResultWithValidation<File, Error, import("@solibo/solibo-query").PrepareImageForCroppingParams, unknown>;
@@ -0,0 +1,7 @@
1
+ import { prepareImageForCroppingMutationOptions } from '@solibo/solibo-query';
2
+ import { useSdk } from '../../../sdkProvider.js';
3
+ import { useMutation } from '../../../utils/useMutation.js';
4
+ export const usePrepareImageForCropping = () => {
5
+ const sdk = useSdk();
6
+ return useMutation(prepareImageForCroppingMutationOptions(sdk));
7
+ };
package/dist/index.d.ts CHANGED
@@ -109,6 +109,7 @@ export * from './api/commands/document/useRenameDocument.js';
109
109
  export * from './api/commands/document/useUpdateDocument.js';
110
110
  export * from './api/commands/document/useTrashMultipleDocuments.js';
111
111
  export * from './api/commands/document/useUploadDocument.js';
112
+ export * from './api/commands/document/usePrepareImageForCropping.js';
112
113
  export * from './api/commands/document/useIntegratedDocumentMutations.js';
113
114
  export * from './api/commands/document/useIntegratedRetry.js';
114
115
  export * from './api/commands/economy/useApproveInvoice.js';
package/dist/index.js CHANGED
@@ -106,6 +106,7 @@ export * from './api/commands/document/useRenameDocument.js';
106
106
  export * from './api/commands/document/useUpdateDocument.js';
107
107
  export * from './api/commands/document/useTrashMultipleDocuments.js';
108
108
  export * from './api/commands/document/useUploadDocument.js';
109
+ export * from './api/commands/document/usePrepareImageForCropping.js';
109
110
  export * from './api/commands/document/useIntegratedDocumentMutations.js';
110
111
  export * from './api/commands/document/useIntegratedRetry.js';
111
112
  export * from './api/commands/economy/useApproveInvoice.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solibo/solibo-react",
3
- "version": "1.58.2",
3
+ "version": "1.58.3-110c5b6-1796034895485-SNAPSHOT",
4
4
  "description": "React hooks for the Solibo Home SDK, built on @solibo/solibo-query. Solibo Home is the platform for owning and managing homes in Norway.",
5
5
  "homepage": "https://sdk.solibo.no",
6
6
  "repository": {
@@ -68,8 +68,8 @@
68
68
  "yjs": "^13.6.0"
69
69
  },
70
70
  "dependencies": {
71
- "@solibo/solibo-query": "1.58.2",
72
- "@solibo/solibo-sdk": "1.58.2"
71
+ "@solibo/solibo-query": "1.58.3-110c5b6-1796034895485-SNAPSHOT",
72
+ "@solibo/solibo-sdk": "1.58.3-110c5b6-1796034895485-SNAPSHOT"
73
73
  },
74
74
  "devDependencies": {
75
75
  "@eslint/js": "^10.0.1",