@bluecopa/react 0.1.8 → 0.1.9
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.
- package/dist/{COOQDZLH-DyebWRvS.js → COOQDZLH-C8sGMrMn.js} +2 -2
- package/dist/{MU7WGUJF-DZMxU8kQ.js → MU7WGUJF-BrahXX_u.js} +2 -2
- package/dist/{VREWMQAW-BhT_9cpE.js → VREWMQAW-BsF5pw8t.js} +1 -1
- package/dist/hooks/useChat.d.ts +15 -0
- package/dist/hooks/useChat.d.ts.map +1 -0
- package/dist/hooks/useCheckSubscriptionStatus.d.ts +12 -0
- package/dist/hooks/useCheckSubscriptionStatus.d.ts.map +1 -0
- package/dist/hooks/useCreateThread.d.ts +10 -0
- package/dist/hooks/useCreateThread.d.ts.map +1 -0
- package/dist/hooks/useDeleteComment.d.ts +10 -0
- package/dist/hooks/useDeleteComment.d.ts.map +1 -0
- package/dist/hooks/useGetCommentsByThreadId.d.ts +11 -0
- package/dist/hooks/useGetCommentsByThreadId.d.ts.map +1 -0
- package/dist/hooks/usePostComment.d.ts +10 -0
- package/dist/hooks/usePostComment.d.ts.map +1 -0
- package/dist/hooks/useRunDefinition.d.ts +14 -0
- package/dist/hooks/useRunDefinition.d.ts.map +1 -0
- package/dist/hooks/useRunPublishedDefinition.d.ts +17 -0
- package/dist/hooks/useRunPublishedDefinition.d.ts.map +1 -0
- package/dist/hooks/useRunSampleDefinition.d.ts +13 -0
- package/dist/hooks/useRunSampleDefinition.d.ts.map +1 -0
- package/dist/hooks/useSubscribeUser.d.ts +10 -0
- package/dist/hooks/useSubscribeUser.d.ts.map +1 -0
- package/dist/hooks/useUnsubscribeUser.d.ts +10 -0
- package/dist/hooks/useUnsubscribeUser.d.ts.map +1 -0
- package/dist/hooks/useUpdateComment.d.ts +10 -0
- package/dist/hooks/useUpdateComment.d.ts.map +1 -0
- package/dist/index-mHmFpmVq.js +14841 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +22 -14
- package/dist/types/index.d.ts +18 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/utils/hookFactory.d.ts +1 -1
- package/dist/utils/hookFactory.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/index-D5og7-RT.js +0 -12350
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c, T as l, P as m, a as u, D as v, Q as i } from "./VREWMQAW-
|
|
2
|
-
import { g as d, c as f, a as e } from "./index-
|
|
1
|
+
import { c, T as l, P as m, a as u, D as v, Q as i } from "./VREWMQAW-BsF5pw8t.js";
|
|
2
|
+
import { g as d, c as f, a as e } from "./index-mHmFpmVq.js";
|
|
3
3
|
var p = (a) => {
|
|
4
4
|
const [r, t] = c({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as s, T as c, P as u, a as i, b as m, C as P, Q as d } from "./VREWMQAW-
|
|
2
|
-
import { g as v, c as C, a as e } from "./index-
|
|
1
|
+
import { c as s, T as c, P as u, a as i, b as m, C as P, Q as d } from "./VREWMQAW-BsF5pw8t.js";
|
|
2
|
+
import { g as v, c as C, a as e } from "./index-mHmFpmVq.js";
|
|
3
3
|
var h = (t) => {
|
|
4
4
|
const [r, o] = s({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var bs = Object.defineProperty;
|
|
2
2
|
var ps = (e, t, n) => t in e ? bs(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var _e = (e, t, n) => ps(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
|
-
import { b as xe, d as z, o as Ft, e as N, c as D, a as m, P as qo, S as B, t as _, i as k, f as V, h as F, j as ws, k as rr, u as $e, l as j, s as Vn, m as Gn, n as ut, p as A, q as xs, r as an, v as Ne, w as $s, x as _t, y as zt, z as Cs, A as Ss, B as xn, F as ks, C as Kr, D as Kt, $ as Ro, E as Es, G as Ds, H as W, I as Br, J as Ms, K as As, L as or, M as Fs, N as Ts, O as Rn, Q as Is, R as Ps, T as oe, U as Ls, V as Os } from "./index-
|
|
4
|
+
import { b as xe, d as z, o as Ft, e as N, c as D, a as m, P as qo, S as B, t as _, i as k, f as V, h as F, j as ws, k as rr, u as $e, l as j, s as Vn, m as Gn, n as ut, p as A, q as xs, r as an, v as Ne, w as $s, x as _t, y as zt, z as Cs, A as Ss, B as xn, F as ks, C as Kr, D as Kt, $ as Ro, E as Es, G as Ds, H as W, I as Br, J as Ms, K as As, L as or, M as Fs, N as Ts, O as Rn, Q as Is, R as Ps, T as oe, U as Ls, V as Os } from "./index-mHmFpmVq.js";
|
|
5
5
|
var _s = (e) => e != null, qs = (e) => e.filter(_s);
|
|
6
6
|
function Rs(e) {
|
|
7
7
|
return (...t) => {
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { useCreateThread } from './useCreateThread';
|
|
2
|
+
import { useGetCommentsByThreadId } from './useGetCommentsByThreadId';
|
|
3
|
+
import { usePostComment } from './usePostComment';
|
|
4
|
+
import { useUpdateComment } from './useUpdateComment';
|
|
5
|
+
import { useDeleteComment } from './useDeleteComment';
|
|
6
|
+
import { useSubscribeUser } from './useSubscribeUser';
|
|
7
|
+
import { useUnsubscribeUser } from './useUnsubscribeUser';
|
|
8
|
+
import { useCheckSubscriptionStatus } from './useCheckSubscriptionStatus';
|
|
9
|
+
/**
|
|
10
|
+
* Main chat hook that provides access to all chat-related functionality
|
|
11
|
+
* This hook re-exports all individual chat hooks for convenience
|
|
12
|
+
*/
|
|
13
|
+
export { useCreateThread, useGetCommentsByThreadId, usePostComment, useUpdateComment, useDeleteComment, useSubscribeUser, useUnsubscribeUser, useCheckSubscriptionStatus, };
|
|
14
|
+
export type { UseCreateThreadOptions, UseGetCommentsByThreadIdOptions, UsePostCommentOptions, UseUpdateCommentOptions, UseDeleteCommentOptions, UseSubscribeUserOptions, UseUnsubscribeUserOptions, UseCheckSubscriptionStatusOptions, } from '../types';
|
|
15
|
+
//# sourceMappingURL=useChat.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useChat.d.ts","sourceRoot":"","sources":["../../src/hooks/useChat.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAGtE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAGtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAE1E;;;GAGG;AACH,OAAO,EAEL,eAAe,EACf,wBAAwB,EAGxB,cAAc,EACd,gBAAgB,EAChB,gBAAgB,EAGhB,gBAAgB,EAChB,kBAAkB,EAClB,0BAA0B,GAC3B,CAAC;AAGF,YAAY,EACV,sBAAsB,EACtB,+BAA+B,EAC/B,qBAAqB,EACrB,uBAAuB,EACvB,uBAAuB,EACvB,uBAAuB,EACvB,yBAAyB,EACzB,iCAAiC,GAClC,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import { copaApi } from '@bluecopa/core';
|
|
3
|
+
import { UseCheckSubscriptionStatusOptions } from '../types';
|
|
4
|
+
/**
|
|
5
|
+
* Custom hook for checking user subscription status using TanStack React Query
|
|
6
|
+
* @param userId - The ID of the user
|
|
7
|
+
* @param threadId - The ID of the thread
|
|
8
|
+
* @param options - Query options including enabled state and cache settings
|
|
9
|
+
* @returns UseQueryResult with subscription status data
|
|
10
|
+
*/
|
|
11
|
+
export declare function useCheckSubscriptionStatus(userId: string | null | undefined, threadId: string | null | undefined, options?: UseCheckSubscriptionStatusOptions): UseQueryResult<copaApi.chat.CheckSubscriptionStatusResponse, Error>;
|
|
12
|
+
//# sourceMappingURL=useCheckSubscriptionStatus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCheckSubscriptionStatus.d.ts","sourceRoot":"","sources":["../../src/hooks/useCheckSubscriptionStatus.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACtE,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAMzC,OAAO,EAAE,iCAAiC,EAAE,MAAM,UAAU,CAAC;AAE7D;;;;;;GAMG;AACH,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACjC,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACnC,OAAO,GAAE,iCAAsC,GAC9C,cAAc,CAAC,OAAO,CAAC,IAAI,CAAC,+BAA+B,EAAE,KAAK,CAAC,CAkBrE"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { UseMutationResult } from '@tanstack/react-query';
|
|
2
|
+
import { copaApi } from '@bluecopa/core';
|
|
3
|
+
import { UseCreateThreadOptions } from '../types';
|
|
4
|
+
/**
|
|
5
|
+
* Custom hook for creating a new comment thread using TanStack React Query
|
|
6
|
+
* @param options - Mutation options including onSuccess and onError callbacks
|
|
7
|
+
* @returns UseMutationResult for creating a thread
|
|
8
|
+
*/
|
|
9
|
+
export declare function useCreateThread(options?: UseCreateThreadOptions): UseMutationResult<copaApi.chat.CreateThreadResponse, Error, copaApi.chat.CreateThreadRequest>;
|
|
10
|
+
//# sourceMappingURL=useCreateThread.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCreateThread.d.ts","sourceRoot":"","sources":["../../src/hooks/useCreateThread.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAElD;;;;GAIG;AACH,wBAAgB,eAAe,CAC7B,OAAO,GAAE,sBAA2B,GACnC,iBAAiB,CAAC,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,KAAK,EAAE,OAAO,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAW/F"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { UseMutationResult } from '@tanstack/react-query';
|
|
2
|
+
import { copaApi } from '@bluecopa/core';
|
|
3
|
+
import { UseDeleteCommentOptions } from '../types';
|
|
4
|
+
/**
|
|
5
|
+
* Custom hook for deleting a comment using TanStack React Query
|
|
6
|
+
* @param options - Mutation options including onSuccess and onError callbacks
|
|
7
|
+
* @returns UseMutationResult for deleting a comment
|
|
8
|
+
*/
|
|
9
|
+
export declare function useDeleteComment(options?: UseDeleteCommentOptions): UseMutationResult<copaApi.chat.DeleteCommentResponse, Error, string>;
|
|
10
|
+
//# sourceMappingURL=useDeleteComment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDeleteComment.d.ts","sourceRoot":"","sources":["../../src/hooks/useDeleteComment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAEnD;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,GAAE,uBAA4B,GACpC,iBAAiB,CAAC,OAAO,CAAC,IAAI,CAAC,qBAAqB,EAAE,KAAK,EAAE,MAAM,CAAC,CAWtE"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import { copaApi } from '@bluecopa/core';
|
|
3
|
+
import { UseGetCommentsByThreadIdOptions } from '../types';
|
|
4
|
+
/**
|
|
5
|
+
* Custom hook for fetching comments by thread ID using TanStack React Query
|
|
6
|
+
* @param threadId - The ID of the thread to get comments for
|
|
7
|
+
* @param options - Query options including enabled state and cache settings
|
|
8
|
+
* @returns UseQueryResult with comments data
|
|
9
|
+
*/
|
|
10
|
+
export declare function useGetCommentsByThreadId(threadId: string | null | undefined, options?: UseGetCommentsByThreadIdOptions): UseQueryResult<copaApi.chat.GetCommentsByThreadIdResponse, Error>;
|
|
11
|
+
//# sourceMappingURL=useGetCommentsByThreadId.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGetCommentsByThreadId.d.ts","sourceRoot":"","sources":["../../src/hooks/useGetCommentsByThreadId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACtE,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAMzC,OAAO,EAAE,+BAA+B,EAAE,MAAM,UAAU,CAAC;AAE3D;;;;;GAKG;AACH,wBAAgB,wBAAwB,CACtC,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACnC,OAAO,GAAE,+BAAoC,GAC5C,cAAc,CAAC,OAAO,CAAC,IAAI,CAAC,6BAA6B,EAAE,KAAK,CAAC,CAkBnE"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { UseMutationResult } from '@tanstack/react-query';
|
|
2
|
+
import { copaApi } from '@bluecopa/core';
|
|
3
|
+
import { UsePostCommentOptions } from '../types';
|
|
4
|
+
/**
|
|
5
|
+
* Custom hook for posting a new comment using TanStack React Query
|
|
6
|
+
* @param options - Mutation options including onSuccess and onError callbacks
|
|
7
|
+
* @returns UseMutationResult for posting a comment
|
|
8
|
+
*/
|
|
9
|
+
export declare function usePostComment(options?: UsePostCommentOptions): UseMutationResult<copaApi.chat.PostCommentResponse, Error, copaApi.chat.PostCommentRequest>;
|
|
10
|
+
//# sourceMappingURL=usePostComment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePostComment.d.ts","sourceRoot":"","sources":["../../src/hooks/usePostComment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEjD;;;;GAIG;AACH,wBAAgB,cAAc,CAC5B,OAAO,GAAE,qBAA0B,GAClC,iBAAiB,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,KAAK,EAAE,OAAO,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAW7F"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { UseMutationResult } from '@tanstack/react-query';
|
|
2
|
+
/**
|
|
3
|
+
* Custom hook for running a definition using TanStack React Query
|
|
4
|
+
* @param options - Mutation options
|
|
5
|
+
* @returns useMutation for running definition
|
|
6
|
+
*/
|
|
7
|
+
export declare function useRunDefinition(options?: {}): UseMutationResult<any, Error, {
|
|
8
|
+
inputs: any;
|
|
9
|
+
definition: any;
|
|
10
|
+
variable: string;
|
|
11
|
+
limit?: number;
|
|
12
|
+
source?: any;
|
|
13
|
+
}>;
|
|
14
|
+
//# sourceMappingURL=useRunDefinition.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useRunDefinition.d.ts","sourceRoot":"","sources":["../../src/hooks/useRunDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAG5E;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,KAAK,GAAG,iBAAiB,CAAC,GAAG,EAAE,KAAK,EAAE;IAAE,MAAM,EAAE,GAAG,CAAC;IAAC,UAAU,EAAE,GAAG,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,GAAG,CAAA;CAAE,CAAC,CAS9J"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { UseMutationResult } from '@tanstack/react-query';
|
|
2
|
+
/**
|
|
3
|
+
* Custom hook for running a published definition using TanStack React Query
|
|
4
|
+
* @param options - Mutation options
|
|
5
|
+
* @returns useMutation for running published definition
|
|
6
|
+
*/
|
|
7
|
+
export declare function useRunPublishedDefinition(options?: {}): UseMutationResult<any, Error, {
|
|
8
|
+
describe: string;
|
|
9
|
+
sheet: {
|
|
10
|
+
id: string;
|
|
11
|
+
lastModifiedDate: string;
|
|
12
|
+
};
|
|
13
|
+
variable: string;
|
|
14
|
+
inputs: object;
|
|
15
|
+
source?: any;
|
|
16
|
+
}>;
|
|
17
|
+
//# sourceMappingURL=useRunPublishedDefinition.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useRunPublishedDefinition.d.ts","sourceRoot":"","sources":["../../src/hooks/useRunPublishedDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAG5E;;;;GAIG;AACH,wBAAgB,yBAAyB,CAAC,OAAO,KAAK,GAAG,iBAAiB,CAAC,GAAG,EAAE,KAAK,EAAE;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,gBAAgB,EAAE,MAAM,CAAA;KAAE,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,GAAG,CAAA;CAAE,CAAC,CAS5M"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { UseMutationResult } from '@tanstack/react-query';
|
|
2
|
+
/**
|
|
3
|
+
* Custom hook for running a sample definition using TanStack React Query
|
|
4
|
+
* @param options - Mutation options
|
|
5
|
+
* @returns useMutation for running sample definition
|
|
6
|
+
*/
|
|
7
|
+
export declare function useRunSampleDefinition(options?: {}): UseMutationResult<any, Error, {
|
|
8
|
+
datasetId: string;
|
|
9
|
+
dataFilter: 'valid_data' | 'invalid_data' | 'all_data';
|
|
10
|
+
duplicateColGroups?: string[];
|
|
11
|
+
datasetType?: string;
|
|
12
|
+
}>;
|
|
13
|
+
//# sourceMappingURL=useRunSampleDefinition.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useRunSampleDefinition.d.ts","sourceRoot":"","sources":["../../src/hooks/useRunSampleDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAG5E;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,OAAO,KAAK,GAAG,iBAAiB,CAAC,GAAG,EAAE,KAAK,EAAE;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,YAAY,GAAG,cAAc,GAAG,UAAU,CAAC;IAAC,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAC;IAAC,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAStN"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { UseMutationResult } from '@tanstack/react-query';
|
|
2
|
+
import { copaApi } from '@bluecopa/core';
|
|
3
|
+
import { UseSubscribeUserOptions } from '../types';
|
|
4
|
+
/**
|
|
5
|
+
* Custom hook for subscribing a user to a thread using TanStack React Query
|
|
6
|
+
* @param options - Mutation options including onSuccess and onError callbacks
|
|
7
|
+
* @returns UseMutationResult for subscribing a user
|
|
8
|
+
*/
|
|
9
|
+
export declare function useSubscribeUser(options?: UseSubscribeUserOptions): UseMutationResult<copaApi.chat.SubscribeUserResponse, Error, copaApi.chat.SubscribeUserRequest>;
|
|
10
|
+
//# sourceMappingURL=useSubscribeUser.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSubscribeUser.d.ts","sourceRoot":"","sources":["../../src/hooks/useSubscribeUser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAEnD;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,GAAE,uBAA4B,GACpC,iBAAiB,CAAC,OAAO,CAAC,IAAI,CAAC,qBAAqB,EAAE,KAAK,EAAE,OAAO,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAWjG"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { UseMutationResult } from '@tanstack/react-query';
|
|
2
|
+
import { copaApi } from '@bluecopa/core';
|
|
3
|
+
import { UseUnsubscribeUserOptions } from '../types';
|
|
4
|
+
/**
|
|
5
|
+
* Custom hook for unsubscribing a user from a thread using TanStack React Query
|
|
6
|
+
* @param options - Mutation options including onSuccess and onError callbacks
|
|
7
|
+
* @returns UseMutationResult for unsubscribing a user
|
|
8
|
+
*/
|
|
9
|
+
export declare function useUnsubscribeUser(options?: UseUnsubscribeUserOptions): UseMutationResult<copaApi.chat.UnsubscribeUserResponse, Error, copaApi.chat.UnsubscribeUserRequest>;
|
|
10
|
+
//# sourceMappingURL=useUnsubscribeUser.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useUnsubscribeUser.d.ts","sourceRoot":"","sources":["../../src/hooks/useUnsubscribeUser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,yBAAyB,EAAE,MAAM,UAAU,CAAC;AAErD;;;;GAIG;AACH,wBAAgB,kBAAkB,CAChC,OAAO,GAAE,yBAA8B,GACtC,iBAAiB,CAAC,OAAO,CAAC,IAAI,CAAC,uBAAuB,EAAE,KAAK,EAAE,OAAO,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAWrG"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { UseMutationResult } from '@tanstack/react-query';
|
|
2
|
+
import { copaApi } from '@bluecopa/core';
|
|
3
|
+
import { UseUpdateCommentOptions } from '../types';
|
|
4
|
+
/**
|
|
5
|
+
* Custom hook for updating an existing comment using TanStack React Query
|
|
6
|
+
* @param options - Mutation options including onSuccess and onError callbacks
|
|
7
|
+
* @returns UseMutationResult for updating a comment
|
|
8
|
+
*/
|
|
9
|
+
export declare function useUpdateComment(options?: UseUpdateCommentOptions): UseMutationResult<copaApi.chat.UpdateCommentResponse, Error, copaApi.chat.UpdateCommentRequest>;
|
|
10
|
+
//# sourceMappingURL=useUpdateComment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useUpdateComment.d.ts","sourceRoot":"","sources":["../../src/hooks/useUpdateComment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAEnD;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,GAAE,uBAA4B,GACpC,iBAAiB,CAAC,OAAO,CAAC,IAAI,CAAC,qBAAqB,EAAE,KAAK,EAAE,OAAO,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAWjG"}
|