@solibo/solibo-react 1.33.5 → 1.33.6-2a05eb8-1792603698776-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.
@@ -11,6 +11,7 @@ export declare const useNeighborhoodPost: (params: PostParams) => import("@tanst
11
11
  export declare const useHomepagePostNotificationPreference: (params: PostParams) => import("@tanstack/react-query").UseQueryResult<import("@solibo/solibo-sdk").CommunicationPostNotificationPreference, Error>;
12
12
  export declare const useNeighborhoodPostNotificationPreference: (params: PostParams) => import("@tanstack/react-query").UseQueryResult<import("@solibo/solibo-sdk").CommunicationPostNotificationPreference, Error>;
13
13
  export declare const useHomepagePostComments: (params: PostParams) => import("@tanstack/react-query").UseInfiniteQueryResult<import("@tanstack/query-core").InfiniteData<import("@solibo/solibo-sdk").PagedListCommunicationComment, unknown>, Error>;
14
+ export declare const useHomepagePostReactions: (params: PostParams) => import("@tanstack/react-query").UseInfiniteQueryResult<import("@tanstack/query-core").InfiniteData<import("@solibo/solibo-sdk").PagedListHomepagePostReactor, unknown>, Error>;
14
15
  export declare const useNeighborhoodPostComments: (params: PostParams) => import("@tanstack/react-query").UseInfiniteQueryResult<import("@tanstack/query-core").InfiniteData<import("@solibo/solibo-sdk").PagedListCommunicationComment, unknown>, Error>;
15
16
  export declare const useHomepagePostCommentThread: (params: CommentThreadParams) => import("@tanstack/react-query").UseQueryResult<import("@solibo/solibo-sdk").CommunicationComment, Error>;
16
17
  export declare const useNeighborhoodPostCommentThread: (params: CommentThreadParams) => import("@tanstack/react-query").UseQueryResult<import("@solibo/solibo-sdk").CommunicationComment, Error>;
@@ -1,4 +1,4 @@
1
- import { homepagePostCommentThreadQueryOptions, homepagePostCommentsQueryOptions, homepagePostNotificationPreferenceQueryOptions, neighborhoodCommonFeedPostsQueryOptions, neighborhoodGroupPostsQueryOptions, neighborhoodGroupsQueryOptions, neighborhoodPostCommentThreadQueryOptions, neighborhoodPostCommentsQueryOptions, neighborhoodPostNotificationPreferenceQueryOptions, neighborhoodPostQueryOptions, } from '@solibo/solibo-query';
1
+ import { homepagePostCommentThreadQueryOptions, homepagePostCommentsQueryOptions, homepagePostNotificationPreferenceQueryOptions, homepagePostReactionsQueryOptions, neighborhoodCommonFeedPostsQueryOptions, neighborhoodGroupPostsQueryOptions, neighborhoodGroupsQueryOptions, neighborhoodPostCommentThreadQueryOptions, neighborhoodPostCommentsQueryOptions, neighborhoodPostNotificationPreferenceQueryOptions, neighborhoodPostQueryOptions, } from '@solibo/solibo-query';
2
2
  import { useInfiniteQuery, useQuery } from '@tanstack/react-query';
3
3
  import { useSdk } from '../../../sdkProvider.js';
4
4
  export const useNeighborhoodGroups = (params) => useInfiniteQuery(neighborhoodGroupsQueryOptions(useSdk(), params));
@@ -8,6 +8,7 @@ export const useNeighborhoodPost = (params) => useQuery(neighborhoodPostQueryOpt
8
8
  export const useHomepagePostNotificationPreference = (params) => useQuery(homepagePostNotificationPreferenceQueryOptions(useSdk(), params));
9
9
  export const useNeighborhoodPostNotificationPreference = (params) => useQuery(neighborhoodPostNotificationPreferenceQueryOptions(useSdk(), params));
10
10
  export const useHomepagePostComments = (params) => useInfiniteQuery(homepagePostCommentsQueryOptions(useSdk(), params));
11
+ export const useHomepagePostReactions = (params) => useInfiniteQuery(homepagePostReactionsQueryOptions(useSdk(), params));
11
12
  export const useNeighborhoodPostComments = (params) => useInfiniteQuery(neighborhoodPostCommentsQueryOptions(useSdk(), params));
12
13
  export const useHomepagePostCommentThread = (params) => useQuery(homepagePostCommentThreadQueryOptions(useSdk(), params));
13
14
  export const useNeighborhoodPostCommentThread = (params) => useQuery(neighborhoodPostCommentThreadQueryOptions(useSdk(), params));
@@ -1 +1 @@
1
- {"version":3,"file":"useResidentCommunication.js","sourceRoot":"","sources":["../../../../src/api/queries/residentCommunication/useResidentCommunication.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,qCAAqC,EACrC,gCAAgC,EAChC,8CAA8C,EAC9C,uCAAuC,EACvC,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,CAAC,MAAM,2BAA2B,GAAG,CAAC,MAAkB,EAAE,EAAE,CAC9D,gBAAgB,CAAC,oCAAoC,CAAC,MAAM,EAAE,EAAE,MAAM,CAAC,CAAC,CAAC;AAE7E,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,MAA2B,EAAE,EAAE,CACxE,QAAQ,CAAC,qCAAqC,CAAC,MAAM,EAAE,EAAE,MAAM,CAAC,CAAC,CAAC;AAEtE,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,MAA2B,EAAE,EAAE,CAC5E,QAAQ,CAAC,yCAAyC,CAAC,MAAM,EAAE,EAAE,MAAM,CAAC,CAAC,CAAC","sourcesContent":["import {\n homepagePostCommentThreadQueryOptions,\n homepagePostCommentsQueryOptions,\n homepagePostNotificationPreferenceQueryOptions,\n neighborhoodCommonFeedPostsQueryOptions,\n neighborhoodGroupPostsQueryOptions,\n neighborhoodGroupsQueryOptions,\n neighborhoodPostCommentThreadQueryOptions,\n neighborhoodPostCommentsQueryOptions,\n neighborhoodPostNotificationPreferenceQueryOptions,\n neighborhoodPostQueryOptions,\n} from '@solibo/solibo-query';\nimport { useInfiniteQuery, useQuery } from '@tanstack/react-query';\nimport { useSdk } from '../../../sdkProvider.js';\n\ntype GroupsParams = Parameters<typeof neighborhoodGroupsQueryOptions>[1];\ntype GroupPostsParams = Parameters<\n typeof neighborhoodGroupPostsQueryOptions\n>[1];\ntype CommonFeedParams = Parameters<\n typeof neighborhoodCommonFeedPostsQueryOptions\n>[1];\ntype PostParams = Parameters<typeof neighborhoodPostQueryOptions>[1];\ntype CommentThreadParams = Parameters<\n typeof homepagePostCommentThreadQueryOptions\n>[1];\n\nexport const useNeighborhoodGroups = (params: GroupsParams) =>\n useInfiniteQuery(neighborhoodGroupsQueryOptions(useSdk(), params));\n\nexport const useNeighborhoodGroupPosts = (params: GroupPostsParams) =>\n useInfiniteQuery(neighborhoodGroupPostsQueryOptions(useSdk(), params));\n\nexport const useNeighborhoodCommonFeedPosts = (params: CommonFeedParams) =>\n useInfiniteQuery(neighborhoodCommonFeedPostsQueryOptions(useSdk(), params));\n\nexport const useNeighborhoodPost = (params: PostParams) =>\n useQuery(neighborhoodPostQueryOptions(useSdk(), params));\n\nexport const useHomepagePostNotificationPreference = (params: PostParams) =>\n useQuery(homepagePostNotificationPreferenceQueryOptions(useSdk(), params));\n\nexport const useNeighborhoodPostNotificationPreference = (params: PostParams) =>\n useQuery(\n neighborhoodPostNotificationPreferenceQueryOptions(useSdk(), params)\n );\n\nexport const useHomepagePostComments = (params: PostParams) =>\n useInfiniteQuery(homepagePostCommentsQueryOptions(useSdk(), params));\n\nexport const useNeighborhoodPostComments = (params: PostParams) =>\n useInfiniteQuery(neighborhoodPostCommentsQueryOptions(useSdk(), params));\n\nexport const useHomepagePostCommentThread = (params: CommentThreadParams) =>\n useQuery(homepagePostCommentThreadQueryOptions(useSdk(), params));\n\nexport const useNeighborhoodPostCommentThread = (params: CommentThreadParams) =>\n useQuery(neighborhoodPostCommentThreadQueryOptions(useSdk(), params));\n"]}
1
+ {"version":3,"file":"useResidentCommunication.js","sourceRoot":"","sources":["../../../../src/api/queries/residentCommunication/useResidentCommunication.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,qCAAqC,EACrC,gCAAgC,EAChC,8CAA8C,EAC9C,iCAAiC,EACjC,uCAAuC,EACvC,kCAAkC,EAClC,8BAA8B,EAC9B,yCAAyC,EACzC,oCAAoC,EACpC,kDAAkD,EAClD,4BAA4B,GAC/B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAcjD,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,MAAoB,EAAE,EAAE,CAC1D,gBAAgB,CAAC,8BAA8B,CAAC,MAAM,EAAE,EAAE,MAAM,CAAC,CAAC,CAAC;AAEvE,MAAM,CAAC,MAAM,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,CAAC,CAAC,CAAC;AAEtE,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,MAA2B,EAAE,EAAE,CAC5E,QAAQ,CAAC,yCAAyC,CAAC,MAAM,EAAE,EAAE,MAAM,CAAC,CAAC,CAAC","sourcesContent":["import {\n homepagePostCommentThreadQueryOptions,\n homepagePostCommentsQueryOptions,\n homepagePostNotificationPreferenceQueryOptions,\n homepagePostReactionsQueryOptions,\n neighborhoodCommonFeedPostsQueryOptions,\n neighborhoodGroupPostsQueryOptions,\n neighborhoodGroupsQueryOptions,\n neighborhoodPostCommentThreadQueryOptions,\n neighborhoodPostCommentsQueryOptions,\n neighborhoodPostNotificationPreferenceQueryOptions,\n neighborhoodPostQueryOptions,\n} from '@solibo/solibo-query';\nimport { useInfiniteQuery, useQuery } from '@tanstack/react-query';\nimport { useSdk } from '../../../sdkProvider.js';\n\ntype GroupsParams = Parameters<typeof neighborhoodGroupsQueryOptions>[1];\ntype GroupPostsParams = Parameters<\n typeof neighborhoodGroupPostsQueryOptions\n>[1];\ntype CommonFeedParams = Parameters<\n typeof neighborhoodCommonFeedPostsQueryOptions\n>[1];\ntype PostParams = Parameters<typeof neighborhoodPostQueryOptions>[1];\ntype CommentThreadParams = Parameters<\n typeof homepagePostCommentThreadQueryOptions\n>[1];\n\nexport const useNeighborhoodGroups = (params: GroupsParams) =>\n useInfiniteQuery(neighborhoodGroupsQueryOptions(useSdk(), params));\n\nexport const useNeighborhoodGroupPosts = (params: GroupPostsParams) =>\n useInfiniteQuery(neighborhoodGroupPostsQueryOptions(useSdk(), params));\n\nexport const useNeighborhoodCommonFeedPosts = (params: CommonFeedParams) =>\n useInfiniteQuery(neighborhoodCommonFeedPostsQueryOptions(useSdk(), params));\n\nexport const useNeighborhoodPost = (params: PostParams) =>\n useQuery(neighborhoodPostQueryOptions(useSdk(), params));\n\nexport const useHomepagePostNotificationPreference = (params: PostParams) =>\n useQuery(homepagePostNotificationPreferenceQueryOptions(useSdk(), params));\n\nexport const useNeighborhoodPostNotificationPreference = (params: PostParams) =>\n useQuery(\n neighborhoodPostNotificationPreferenceQueryOptions(useSdk(), params)\n );\n\nexport const useHomepagePostComments = (params: PostParams) =>\n useInfiniteQuery(homepagePostCommentsQueryOptions(useSdk(), params));\n\nexport const useHomepagePostReactions = (params: PostParams) =>\n useInfiniteQuery(homepagePostReactionsQueryOptions(useSdk(), params));\n\nexport const useNeighborhoodPostComments = (params: PostParams) =>\n useInfiniteQuery(neighborhoodPostCommentsQueryOptions(useSdk(), params));\n\nexport const useHomepagePostCommentThread = (params: CommentThreadParams) =>\n useQuery(homepagePostCommentThreadQueryOptions(useSdk(), params));\n\nexport const useNeighborhoodPostCommentThread = (params: CommentThreadParams) =>\n useQuery(neighborhoodPostCommentThreadQueryOptions(useSdk(), params));\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solibo/solibo-react",
3
- "version": "1.33.5",
3
+ "version": "1.33.6-2a05eb8-1792603698776-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": {
@@ -38,8 +38,8 @@
38
38
  "react": "^19.0.0"
39
39
  },
40
40
  "dependencies": {
41
- "@solibo/solibo-query": "1.33.5",
42
- "@solibo/solibo-sdk": "1.33.5"
41
+ "@solibo/solibo-query": "1.33.6-2a05eb8-1792603698776-SNAPSHOT",
42
+ "@solibo/solibo-sdk": "1.33.6-2a05eb8-1792603698776-SNAPSHOT"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@eslint/js": "^10.0.1",