@solibo/solibo-react 1.11.2 → 1.11.4-ac89159-1788541661913-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.
|
@@ -6,6 +6,8 @@ export declare const useCreateNewsletterWithDocuments: () => import("../../../in
|
|
|
6
6
|
export declare const useUpdateNewsletterWithDocuments: () => import("../../../index.js").MutationResultWithValidation<unknown, Error, import("@solibo/solibo-query").NewsletterUpdateParams, unknown>;
|
|
7
7
|
export declare const useCreateConversationMessageWithDocuments: () => import("../../../index.js").MutationResultWithValidation<unknown, Error, import("@solibo/solibo-query").ConversationMessageParams, unknown>;
|
|
8
8
|
export declare const useCreateNeighborhoodPostWithDocuments: () => import("../../../index.js").MutationResultWithValidation<unknown, Error, import("@solibo/solibo-query").NeighborhoodPostCreateParams, unknown>;
|
|
9
|
+
export declare const useCreateNeighborhoodGroupWithDocuments: () => import("../../../index.js").MutationResultWithValidation<unknown, Error, import("@solibo/solibo-query").NeighborhoodGroupCreateParams, unknown>;
|
|
10
|
+
export declare const useUpdateNeighborhoodGroupWithDocuments: () => import("../../../index.js").MutationResultWithValidation<unknown, Error, import("@solibo/solibo-query").NeighborhoodGroupUpdateParams, unknown>;
|
|
9
11
|
export declare const useUpdateNeighborhoodPostWithDocuments: () => import("../../../index.js").MutationResultWithValidation<unknown, Error, import("@solibo/solibo-query").NeighborhoodPostUpdateParams, unknown>;
|
|
10
12
|
export declare const useCreateHomepagePostCommentWithDocuments: () => import("../../../index.js").MutationResultWithValidation<unknown, Error, import("@solibo/solibo-query").CommunicationCommentCreateParams, unknown>;
|
|
11
13
|
export declare const useUpdateHomepagePostCommentWithDocuments: () => import("../../../index.js").MutationResultWithValidation<unknown, Error, import("@solibo/solibo-query").CommunicationCommentUpdateParams, unknown>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useQueryClient } from '@tanstack/react-query';
|
|
2
|
-
import { createConversationMessageWithDocumentsMutationOptions, createHomepagePostCommentWithDocumentsMutationOptions, createHomepagePostWithDocumentsMutationOptions, createNewsletterWithDocumentsMutationOptions, createNeighborhoodPostCommentWithDocumentsMutationOptions, createNeighborhoodPostWithDocumentsMutationOptions, createPracticalInformationWithDocumentsMutationOptions, updateHomepagePostWithDocumentsMutationOptions, updateNewsletterWithDocumentsMutationOptions, updateHomepagePostCommentWithDocumentsMutationOptions, updateNeighborhoodPostCommentWithDocumentsMutationOptions, updateNeighborhoodPostWithDocumentsMutationOptions, updatePracticalInformationWithDocumentsMutationOptions, } from '@solibo/solibo-query';
|
|
2
|
+
import { createConversationMessageWithDocumentsMutationOptions, createHomepagePostCommentWithDocumentsMutationOptions, createHomepagePostWithDocumentsMutationOptions, createNewsletterWithDocumentsMutationOptions, createNeighborhoodGroupWithDocumentsMutationOptions, createNeighborhoodPostCommentWithDocumentsMutationOptions, createNeighborhoodPostWithDocumentsMutationOptions, createPracticalInformationWithDocumentsMutationOptions, updateHomepagePostWithDocumentsMutationOptions, updateNewsletterWithDocumentsMutationOptions, updateNeighborhoodGroupWithDocumentsMutationOptions, updateHomepagePostCommentWithDocumentsMutationOptions, updateNeighborhoodPostCommentWithDocumentsMutationOptions, updateNeighborhoodPostWithDocumentsMutationOptions, updatePracticalInformationWithDocumentsMutationOptions, } from '@solibo/solibo-query';
|
|
3
3
|
import { useSdk } from '../../../sdkProvider.js';
|
|
4
4
|
import { useMutation } from '../../../utils/useMutation.js';
|
|
5
5
|
export const useCreateHomepagePostWithDocuments = () => {
|
|
@@ -42,6 +42,16 @@ export const useCreateNeighborhoodPostWithDocuments = () => {
|
|
|
42
42
|
const sdk = useSdk();
|
|
43
43
|
return useMutation(createNeighborhoodPostWithDocumentsMutationOptions(sdk, queryClient));
|
|
44
44
|
};
|
|
45
|
+
export const useCreateNeighborhoodGroupWithDocuments = () => {
|
|
46
|
+
const queryClient = useQueryClient();
|
|
47
|
+
const sdk = useSdk();
|
|
48
|
+
return useMutation(createNeighborhoodGroupWithDocumentsMutationOptions(sdk, queryClient));
|
|
49
|
+
};
|
|
50
|
+
export const useUpdateNeighborhoodGroupWithDocuments = () => {
|
|
51
|
+
const queryClient = useQueryClient();
|
|
52
|
+
const sdk = useSdk();
|
|
53
|
+
return useMutation(updateNeighborhoodGroupWithDocumentsMutationOptions(sdk, queryClient));
|
|
54
|
+
};
|
|
45
55
|
export const useUpdateNeighborhoodPostWithDocuments = () => {
|
|
46
56
|
const queryClient = useQueryClient();
|
|
47
57
|
const sdk = useSdk();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useIntegratedDocumentMutations.js","sourceRoot":"","sources":["../../../../src/api/commands/document/useIntegratedDocumentMutations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EACH,qDAAqD,EACrD,qDAAqD,EACrD,8CAA8C,EAC9C,4CAA4C,EAC5C,yDAAyD,EACzD,kDAAkD,EAClD,sDAAsD,EACtD,8CAA8C,EAC9C,4CAA4C,EAC5C,qDAAqD,EACrD,yDAAyD,EACzD,kDAAkD,EAClD,sDAAsD,GACzD,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAE5D,MAAM,CAAC,MAAM,kCAAkC,GAAG,GAAG,EAAE;IACnD,MAAM,WAAW,GAAG,cAAc,EAAE,CAAC;IACrC,MAAM,GAAG,GAAG,MAAM,EAAE,CAAC;IACrB,OAAO,WAAW,CACd,8CAA8C,CAAC,GAAG,EAAE,WAAW,CAAC,CACnE,CAAC;AACN,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,kCAAkC,GAAG,GAAG,EAAE;IACnD,MAAM,WAAW,GAAG,cAAc,EAAE,CAAC;IACrC,MAAM,GAAG,GAAG,MAAM,EAAE,CAAC;IACrB,OAAO,WAAW,CACd,8CAA8C,CAAC,GAAG,EAAE,WAA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,CACrD,GAAG,EACH,WAAW,CACd,CACJ,CAAC;AACN,CAAC,CAAC","sourcesContent":["import { useQueryClient } from '@tanstack/react-query';\nimport {\n createConversationMessageWithDocumentsMutationOptions,\n createHomepagePostCommentWithDocumentsMutationOptions,\n createHomepagePostWithDocumentsMutationOptions,\n createNewsletterWithDocumentsMutationOptions,\n createNeighborhoodPostCommentWithDocumentsMutationOptions,\n createNeighborhoodPostWithDocumentsMutationOptions,\n createPracticalInformationWithDocumentsMutationOptions,\n updateHomepagePostWithDocumentsMutationOptions,\n updateNewsletterWithDocumentsMutationOptions,\n updateHomepagePostCommentWithDocumentsMutationOptions,\n updateNeighborhoodPostCommentWithDocumentsMutationOptions,\n updateNeighborhoodPostWithDocumentsMutationOptions,\n updatePracticalInformationWithDocumentsMutationOptions,\n} from '@solibo/solibo-query';\nimport { useSdk } from '../../../sdkProvider.js';\nimport { useMutation } from '../../../utils/useMutation.js';\n\nexport const useCreateHomepagePostWithDocuments = () => {\n const queryClient = useQueryClient();\n const sdk = useSdk();\n return useMutation(\n createHomepagePostWithDocumentsMutationOptions(sdk, queryClient)\n );\n};\n\nexport const useUpdateHomepagePostWithDocuments = () => {\n const queryClient = useQueryClient();\n const sdk = useSdk();\n return useMutation(\n updateHomepagePostWithDocumentsMutationOptions(sdk, queryClient)\n );\n};\n\nexport const useCreatePracticalInformationWithDocuments = () => {\n const queryClient = useQueryClient();\n const sdk = useSdk();\n return useMutation(\n createPracticalInformationWithDocumentsMutationOptions(sdk, queryClient)\n );\n};\n\nexport const useUpdatePracticalInformationWithDocuments = () => {\n const queryClient = useQueryClient();\n const sdk = useSdk();\n return useMutation(\n updatePracticalInformationWithDocumentsMutationOptions(sdk, queryClient)\n );\n};\n\nexport const useCreateNewsletterWithDocuments = () => {\n const queryClient = useQueryClient();\n const sdk = useSdk();\n return useMutation(\n createNewsletterWithDocumentsMutationOptions(sdk, queryClient)\n );\n};\n\nexport const useUpdateNewsletterWithDocuments = () => {\n const queryClient = useQueryClient();\n const sdk = useSdk();\n return useMutation(\n updateNewsletterWithDocumentsMutationOptions(sdk, queryClient)\n );\n};\n\nexport const useCreateConversationMessageWithDocuments = () => {\n const queryClient = useQueryClient();\n const sdk = useSdk();\n return useMutation(\n createConversationMessageWithDocumentsMutationOptions(sdk, queryClient)\n );\n};\n\nexport const useCreateNeighborhoodPostWithDocuments = () => {\n const queryClient = useQueryClient();\n const sdk = useSdk();\n return useMutation(\n createNeighborhoodPostWithDocumentsMutationOptions(sdk, queryClient)\n );\n};\n\nexport const useUpdateNeighborhoodPostWithDocuments = () => {\n const queryClient = useQueryClient();\n const sdk = useSdk();\n return useMutation(\n updateNeighborhoodPostWithDocumentsMutationOptions(sdk, queryClient)\n );\n};\n\nexport const useCreateHomepagePostCommentWithDocuments = () => {\n const queryClient = useQueryClient();\n const sdk = useSdk();\n return useMutation(\n createHomepagePostCommentWithDocumentsMutationOptions(sdk, queryClient)\n );\n};\n\nexport const useUpdateHomepagePostCommentWithDocuments = () => {\n const queryClient = useQueryClient();\n const sdk = useSdk();\n return useMutation(\n updateHomepagePostCommentWithDocumentsMutationOptions(sdk, queryClient)\n );\n};\n\nexport const useCreateNeighborhoodPostCommentWithDocuments = () => {\n const queryClient = useQueryClient();\n const sdk = useSdk();\n return useMutation(\n createNeighborhoodPostCommentWithDocumentsMutationOptions(\n sdk,\n queryClient\n )\n );\n};\n\nexport const useUpdateNeighborhoodPostCommentWithDocuments = () => {\n const queryClient = useQueryClient();\n const sdk = useSdk();\n return useMutation(\n updateNeighborhoodPostCommentWithDocumentsMutationOptions(\n sdk,\n queryClient\n )\n );\n};\n"]}
|
|
1
|
+
{"version":3,"file":"useIntegratedDocumentMutations.js","sourceRoot":"","sources":["../../../../src/api/commands/document/useIntegratedDocumentMutations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EACH,qDAAqD,EACrD,qDAAqD,EACrD,8CAA8C,EAC9C,4CAA4C,EAC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@tanstack/react-query';\nimport {\n createConversationMessageWithDocumentsMutationOptions,\n createHomepagePostCommentWithDocumentsMutationOptions,\n createHomepagePostWithDocumentsMutationOptions,\n createNewsletterWithDocumentsMutationOptions,\n createNeighborhoodGroupWithDocumentsMutationOptions,\n createNeighborhoodPostCommentWithDocumentsMutationOptions,\n createNeighborhoodPostWithDocumentsMutationOptions,\n createPracticalInformationWithDocumentsMutationOptions,\n updateHomepagePostWithDocumentsMutationOptions,\n updateNewsletterWithDocumentsMutationOptions,\n updateNeighborhoodGroupWithDocumentsMutationOptions,\n updateHomepagePostCommentWithDocumentsMutationOptions,\n updateNeighborhoodPostCommentWithDocumentsMutationOptions,\n updateNeighborhoodPostWithDocumentsMutationOptions,\n updatePracticalInformationWithDocumentsMutationOptions,\n} from '@solibo/solibo-query';\nimport { useSdk } from '../../../sdkProvider.js';\nimport { useMutation } from '../../../utils/useMutation.js';\n\nexport const useCreateHomepagePostWithDocuments = () => {\n const queryClient = useQueryClient();\n const sdk = useSdk();\n return useMutation(\n createHomepagePostWithDocumentsMutationOptions(sdk, queryClient)\n );\n};\n\nexport const useUpdateHomepagePostWithDocuments = () => {\n const queryClient = useQueryClient();\n const sdk = useSdk();\n return useMutation(\n updateHomepagePostWithDocumentsMutationOptions(sdk, queryClient)\n );\n};\n\nexport const useCreatePracticalInformationWithDocuments = () => {\n const queryClient = useQueryClient();\n const sdk = useSdk();\n return useMutation(\n createPracticalInformationWithDocumentsMutationOptions(sdk, queryClient)\n );\n};\n\nexport const useUpdatePracticalInformationWithDocuments = () => {\n const queryClient = useQueryClient();\n const sdk = useSdk();\n return useMutation(\n updatePracticalInformationWithDocumentsMutationOptions(sdk, queryClient)\n );\n};\n\nexport const useCreateNewsletterWithDocuments = () => {\n const queryClient = useQueryClient();\n const sdk = useSdk();\n return useMutation(\n createNewsletterWithDocumentsMutationOptions(sdk, queryClient)\n );\n};\n\nexport const useUpdateNewsletterWithDocuments = () => {\n const queryClient = useQueryClient();\n const sdk = useSdk();\n return useMutation(\n updateNewsletterWithDocumentsMutationOptions(sdk, queryClient)\n );\n};\n\nexport const useCreateConversationMessageWithDocuments = () => {\n const queryClient = useQueryClient();\n const sdk = useSdk();\n return useMutation(\n createConversationMessageWithDocumentsMutationOptions(sdk, queryClient)\n );\n};\n\nexport const useCreateNeighborhoodPostWithDocuments = () => {\n const queryClient = useQueryClient();\n const sdk = useSdk();\n return useMutation(\n createNeighborhoodPostWithDocumentsMutationOptions(sdk, queryClient)\n );\n};\n\nexport const useCreateNeighborhoodGroupWithDocuments = () => {\n const queryClient = useQueryClient();\n const sdk = useSdk();\n return useMutation(\n createNeighborhoodGroupWithDocumentsMutationOptions(sdk, queryClient)\n );\n};\n\nexport const useUpdateNeighborhoodGroupWithDocuments = () => {\n const queryClient = useQueryClient();\n const sdk = useSdk();\n return useMutation(\n updateNeighborhoodGroupWithDocumentsMutationOptions(sdk, queryClient)\n );\n};\n\nexport const useUpdateNeighborhoodPostWithDocuments = () => {\n const queryClient = useQueryClient();\n const sdk = useSdk();\n return useMutation(\n updateNeighborhoodPostWithDocumentsMutationOptions(sdk, queryClient)\n );\n};\n\nexport const useCreateHomepagePostCommentWithDocuments = () => {\n const queryClient = useQueryClient();\n const sdk = useSdk();\n return useMutation(\n createHomepagePostCommentWithDocumentsMutationOptions(sdk, queryClient)\n );\n};\n\nexport const useUpdateHomepagePostCommentWithDocuments = () => {\n const queryClient = useQueryClient();\n const sdk = useSdk();\n return useMutation(\n updateHomepagePostCommentWithDocumentsMutationOptions(sdk, queryClient)\n );\n};\n\nexport const useCreateNeighborhoodPostCommentWithDocuments = () => {\n const queryClient = useQueryClient();\n const sdk = useSdk();\n return useMutation(\n createNeighborhoodPostCommentWithDocumentsMutationOptions(\n sdk,\n queryClient\n )\n );\n};\n\nexport const useUpdateNeighborhoodPostCommentWithDocuments = () => {\n const queryClient = useQueryClient();\n const sdk = useSdk();\n return useMutation(\n updateNeighborhoodPostCommentWithDocumentsMutationOptions(\n sdk,\n queryClient\n )\n );\n};\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solibo/solibo-react",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.4-ac89159-1788541661913-SNAPSHOT",
|
|
4
4
|
"description": "React hooks for Solibo SDK (wraps @solibo/solibo-query)",
|
|
5
5
|
"homepage": "https://sdk.solibo.no",
|
|
6
6
|
"repository": {
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"react": "^19.0.0"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@solibo/solibo-
|
|
37
|
-
"@solibo/solibo-
|
|
36
|
+
"@solibo/solibo-query": "1.11.4-ac89159-1788541661913-SNAPSHOT",
|
|
37
|
+
"@solibo/solibo-sdk": "1.11.4-ac89159-1788541661913-SNAPSHOT"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@eslint/js": "^10.0.1",
|