@assistant-ui/react 0.7.46 → 0.7.47

Sign up to get free protection for your applications and to get access to all the features.
Files changed (209) hide show
  1. package/dist/api/AssistantRuntime.d.ts +1 -0
  2. package/dist/api/AssistantRuntime.d.ts.map +1 -1
  3. package/dist/api/AssistantRuntime.js +5 -0
  4. package/dist/api/AssistantRuntime.js.map +1 -1
  5. package/dist/api/AssistantRuntime.mjs +5 -0
  6. package/dist/api/AssistantRuntime.mjs.map +1 -1
  7. package/dist/api/AttachmentRuntime.d.ts +1 -0
  8. package/dist/api/AttachmentRuntime.d.ts.map +1 -1
  9. package/dist/api/AttachmentRuntime.js +5 -0
  10. package/dist/api/AttachmentRuntime.js.map +1 -1
  11. package/dist/api/AttachmentRuntime.mjs +5 -0
  12. package/dist/api/AttachmentRuntime.mjs.map +1 -1
  13. package/dist/api/ComposerRuntime.d.ts +2 -0
  14. package/dist/api/ComposerRuntime.d.ts.map +1 -1
  15. package/dist/api/ComposerRuntime.js +19 -0
  16. package/dist/api/ComposerRuntime.js.map +1 -1
  17. package/dist/api/ComposerRuntime.mjs +19 -0
  18. package/dist/api/ComposerRuntime.mjs.map +1 -1
  19. package/dist/api/ContentPartRuntime.d.ts +1 -0
  20. package/dist/api/ContentPartRuntime.d.ts.map +1 -1
  21. package/dist/api/ContentPartRuntime.js +5 -0
  22. package/dist/api/ContentPartRuntime.js.map +1 -1
  23. package/dist/api/ContentPartRuntime.mjs +5 -0
  24. package/dist/api/ContentPartRuntime.mjs.map +1 -1
  25. package/dist/api/MessageRuntime.d.ts +1 -0
  26. package/dist/api/MessageRuntime.d.ts.map +1 -1
  27. package/dist/api/MessageRuntime.js +13 -0
  28. package/dist/api/MessageRuntime.js.map +1 -1
  29. package/dist/api/MessageRuntime.mjs +13 -0
  30. package/dist/api/MessageRuntime.mjs.map +1 -1
  31. package/dist/api/ThreadListItemRuntime.d.ts +1 -0
  32. package/dist/api/ThreadListItemRuntime.d.ts.map +1 -1
  33. package/dist/api/ThreadListItemRuntime.js +11 -0
  34. package/dist/api/ThreadListItemRuntime.js.map +1 -1
  35. package/dist/api/ThreadListItemRuntime.mjs +11 -0
  36. package/dist/api/ThreadListItemRuntime.mjs.map +1 -1
  37. package/dist/api/ThreadListRuntime.d.ts +1 -0
  38. package/dist/api/ThreadListRuntime.d.ts.map +1 -1
  39. package/dist/api/ThreadListRuntime.js +10 -0
  40. package/dist/api/ThreadListRuntime.js.map +1 -1
  41. package/dist/api/ThreadListRuntime.mjs +10 -0
  42. package/dist/api/ThreadListRuntime.mjs.map +1 -1
  43. package/dist/api/ThreadRuntime.d.ts +1 -1
  44. package/dist/api/ThreadRuntime.d.ts.map +1 -1
  45. package/dist/api/ThreadRuntime.js +14 -3
  46. package/dist/api/ThreadRuntime.js.map +1 -1
  47. package/dist/api/ThreadRuntime.mjs +14 -3
  48. package/dist/api/ThreadRuntime.mjs.map +1 -1
  49. package/dist/context/providers/AssistantRuntimeProvider.d.ts.map +1 -1
  50. package/dist/context/providers/AssistantRuntimeProvider.js +5 -14
  51. package/dist/context/providers/AssistantRuntimeProvider.js.map +1 -1
  52. package/dist/context/providers/AssistantRuntimeProvider.mjs +5 -14
  53. package/dist/context/providers/AssistantRuntimeProvider.mjs.map +1 -1
  54. package/dist/context/providers/AttachmentRuntimeProvider.d.ts.map +1 -1
  55. package/dist/context/providers/AttachmentRuntimeProvider.js +5 -16
  56. package/dist/context/providers/AttachmentRuntimeProvider.js.map +1 -1
  57. package/dist/context/providers/AttachmentRuntimeProvider.mjs +6 -21
  58. package/dist/context/providers/AttachmentRuntimeProvider.mjs.map +1 -1
  59. package/dist/context/providers/ContentPartRuntimeProvider.d.ts +0 -1
  60. package/dist/context/providers/ContentPartRuntimeProvider.d.ts.map +1 -1
  61. package/dist/context/providers/ContentPartRuntimeProvider.js +5 -15
  62. package/dist/context/providers/ContentPartRuntimeProvider.js.map +1 -1
  63. package/dist/context/providers/ContentPartRuntimeProvider.mjs +4 -13
  64. package/dist/context/providers/ContentPartRuntimeProvider.mjs.map +1 -1
  65. package/dist/context/providers/MessageRuntimeProvider.d.ts.map +1 -1
  66. package/dist/context/providers/MessageRuntimeProvider.js +3 -22
  67. package/dist/context/providers/MessageRuntimeProvider.js.map +1 -1
  68. package/dist/context/providers/MessageRuntimeProvider.mjs +3 -22
  69. package/dist/context/providers/MessageRuntimeProvider.mjs.map +1 -1
  70. package/dist/context/providers/TextContentPartProvider.d.ts.map +1 -1
  71. package/dist/context/providers/TextContentPartProvider.js +13 -12
  72. package/dist/context/providers/TextContentPartProvider.js.map +1 -1
  73. package/dist/context/providers/TextContentPartProvider.mjs +13 -12
  74. package/dist/context/providers/TextContentPartProvider.mjs.map +1 -1
  75. package/dist/context/providers/ThreadListItemRuntimeProvider.d.ts +0 -1
  76. package/dist/context/providers/ThreadListItemRuntimeProvider.d.ts.map +1 -1
  77. package/dist/context/providers/ThreadListItemRuntimeProvider.js +5 -15
  78. package/dist/context/providers/ThreadListItemRuntimeProvider.js.map +1 -1
  79. package/dist/context/providers/ThreadListItemRuntimeProvider.mjs +4 -13
  80. package/dist/context/providers/ThreadListItemRuntimeProvider.mjs.map +1 -1
  81. package/dist/context/providers/ThreadRuntimeProvider.d.ts.map +1 -1
  82. package/dist/context/providers/ThreadRuntimeProvider.js +5 -24
  83. package/dist/context/providers/ThreadRuntimeProvider.js.map +1 -1
  84. package/dist/context/providers/ThreadRuntimeProvider.mjs +6 -25
  85. package/dist/context/providers/ThreadRuntimeProvider.mjs.map +1 -1
  86. package/dist/context/react/AssistantContext.d.ts +26 -17
  87. package/dist/context/react/AssistantContext.d.ts.map +1 -1
  88. package/dist/context/react/AssistantContext.js +3 -4
  89. package/dist/context/react/AssistantContext.js.map +1 -1
  90. package/dist/context/react/AssistantContext.mjs +3 -4
  91. package/dist/context/react/AssistantContext.mjs.map +1 -1
  92. package/dist/context/react/AttachmentContext.d.ts +558 -30
  93. package/dist/context/react/AttachmentContext.d.ts.map +1 -1
  94. package/dist/context/react/AttachmentContext.js +32 -52
  95. package/dist/context/react/AttachmentContext.js.map +1 -1
  96. package/dist/context/react/AttachmentContext.mjs +33 -52
  97. package/dist/context/react/AttachmentContext.mjs.map +1 -1
  98. package/dist/context/react/ComposerContext.d.ts +28 -19
  99. package/dist/context/react/ComposerContext.d.ts.map +1 -1
  100. package/dist/context/react/ComposerContext.js +2 -19
  101. package/dist/context/react/ComposerContext.js.map +1 -1
  102. package/dist/context/react/ComposerContext.mjs +4 -20
  103. package/dist/context/react/ComposerContext.mjs.map +1 -1
  104. package/dist/context/react/ContentPartContext.d.ts +22 -16
  105. package/dist/context/react/ContentPartContext.d.ts.map +1 -1
  106. package/dist/context/react/ContentPartContext.js +2 -7
  107. package/dist/context/react/ContentPartContext.js.map +1 -1
  108. package/dist/context/react/ContentPartContext.mjs +2 -6
  109. package/dist/context/react/ContentPartContext.mjs.map +1 -1
  110. package/dist/context/react/MessageContext.d.ts +49 -29
  111. package/dist/context/react/MessageContext.d.ts.map +1 -1
  112. package/dist/context/react/MessageContext.js +5 -9
  113. package/dist/context/react/MessageContext.js.map +1 -1
  114. package/dist/context/react/MessageContext.mjs +5 -8
  115. package/dist/context/react/MessageContext.mjs.map +1 -1
  116. package/dist/context/react/ThreadContext.d.ts +44 -24
  117. package/dist/context/react/ThreadContext.d.ts.map +1 -1
  118. package/dist/context/react/ThreadContext.js +5 -9
  119. package/dist/context/react/ThreadContext.js.map +1 -1
  120. package/dist/context/react/ThreadContext.mjs +5 -8
  121. package/dist/context/react/ThreadContext.mjs.map +1 -1
  122. package/dist/context/react/ThreadListItemContext.d.ts +22 -16
  123. package/dist/context/react/ThreadListItemContext.d.ts.map +1 -1
  124. package/dist/context/react/ThreadListItemContext.js +3 -6
  125. package/dist/context/react/ThreadListItemContext.js.map +1 -1
  126. package/dist/context/react/ThreadListItemContext.mjs +3 -5
  127. package/dist/context/react/ThreadListItemContext.mjs.map +1 -1
  128. package/dist/context/react/index.d.ts +1 -0
  129. package/dist/context/react/index.d.ts.map +1 -1
  130. package/dist/context/react/index.js +3 -0
  131. package/dist/context/react/index.js.map +1 -1
  132. package/dist/context/react/index.mjs +2 -0
  133. package/dist/context/react/index.mjs.map +1 -1
  134. package/dist/context/react/utils/createContextHook.d.ts +3 -8
  135. package/dist/context/react/utils/createContextHook.d.ts.map +1 -1
  136. package/dist/context/react/utils/createContextHook.js.map +1 -1
  137. package/dist/context/react/utils/createContextHook.mjs.map +1 -1
  138. package/dist/context/react/utils/createStateHookForRuntime.d.ts +31 -0
  139. package/dist/context/react/utils/createStateHookForRuntime.d.ts.map +1 -0
  140. package/dist/context/react/utils/createStateHookForRuntime.js +47 -0
  141. package/dist/context/react/utils/createStateHookForRuntime.js.map +1 -0
  142. package/dist/context/react/utils/createStateHookForRuntime.mjs +24 -0
  143. package/dist/context/react/utils/createStateHookForRuntime.mjs.map +1 -0
  144. package/dist/context/react/utils/ensureBinding.d.ts +2 -0
  145. package/dist/context/react/utils/ensureBinding.d.ts.map +1 -0
  146. package/dist/context/react/utils/ensureBinding.js +36 -0
  147. package/dist/context/react/utils/ensureBinding.js.map +1 -0
  148. package/dist/context/react/utils/ensureBinding.mjs +11 -0
  149. package/dist/context/react/utils/ensureBinding.mjs.map +1 -0
  150. package/dist/context/react/utils/useRuntimeState.d.ts +10 -0
  151. package/dist/context/react/utils/useRuntimeState.d.ts.map +1 -0
  152. package/dist/context/react/utils/useRuntimeState.js +48 -0
  153. package/dist/context/react/utils/useRuntimeState.js.map +1 -0
  154. package/dist/context/react/utils/useRuntimeState.mjs +22 -0
  155. package/dist/context/react/utils/useRuntimeState.mjs.map +1 -0
  156. package/dist/runtimes/adapters/attachment/AttachmentAdapter.d.ts +1 -1
  157. package/dist/runtimes/adapters/attachment/AttachmentAdapter.d.ts.map +1 -1
  158. package/dist/runtimes/adapters/attachment/AttachmentAdapter.js.map +1 -1
  159. package/dist/runtimes/adapters/attachment/CompositeAttachmentAdapter.d.ts +1 -1
  160. package/dist/runtimes/adapters/attachment/CompositeAttachmentAdapter.d.ts.map +1 -1
  161. package/dist/runtimes/adapters/attachment/CompositeAttachmentAdapter.js +1 -1
  162. package/dist/runtimes/adapters/attachment/CompositeAttachmentAdapter.js.map +1 -1
  163. package/dist/runtimes/adapters/attachment/CompositeAttachmentAdapter.mjs +1 -1
  164. package/dist/runtimes/adapters/attachment/CompositeAttachmentAdapter.mjs.map +1 -1
  165. package/dist/runtimes/adapters/thread-history/ThreadHistoryAdapter.d.ts.map +1 -1
  166. package/dist/runtimes/adapters/thread-history/ThreadHistoryAdapter.js.map +1 -1
  167. package/dist/runtimes/composer/BaseComposerRuntimeCore.d.ts.map +1 -1
  168. package/dist/runtimes/composer/BaseComposerRuntimeCore.js +22 -2
  169. package/dist/runtimes/composer/BaseComposerRuntimeCore.js.map +1 -1
  170. package/dist/runtimes/composer/BaseComposerRuntimeCore.mjs +22 -2
  171. package/dist/runtimes/composer/BaseComposerRuntimeCore.mjs.map +1 -1
  172. package/dist/runtimes/local/useLocalRuntime.d.ts.map +1 -1
  173. package/dist/runtimes/local/useLocalRuntime.js +4 -0
  174. package/dist/runtimes/local/useLocalRuntime.js.map +1 -1
  175. package/dist/runtimes/local/useLocalRuntime.mjs +4 -0
  176. package/dist/runtimes/local/useLocalRuntime.mjs.map +1 -1
  177. package/package.json +3 -3
  178. package/src/api/AssistantRuntime.ts +7 -0
  179. package/src/api/AttachmentRuntime.ts +6 -0
  180. package/src/api/ComposerRuntime.ts +21 -0
  181. package/src/api/ContentPartRuntime.ts +6 -0
  182. package/src/api/MessageRuntime.ts +15 -0
  183. package/src/api/ThreadListItemRuntime.ts +12 -0
  184. package/src/api/ThreadListRuntime.ts +11 -0
  185. package/src/api/ThreadRuntime.ts +15 -4
  186. package/src/context/providers/AssistantRuntimeProvider.tsx +5 -17
  187. package/src/context/providers/AttachmentRuntimeProvider.tsx +6 -24
  188. package/src/context/providers/ContentPartRuntimeProvider.tsx +4 -14
  189. package/src/context/providers/MessageRuntimeProvider.tsx +5 -31
  190. package/src/context/providers/TextContentPartProvider.tsx +26 -22
  191. package/src/context/providers/ThreadListItemRuntimeProvider.tsx +3 -14
  192. package/src/context/providers/ThreadRuntimeProvider.tsx +7 -33
  193. package/src/context/react/AssistantContext.ts +7 -7
  194. package/src/context/react/AttachmentContext.ts +45 -136
  195. package/src/context/react/ComposerContext.ts +6 -29
  196. package/src/context/react/ContentPartContext.ts +3 -8
  197. package/src/context/react/MessageContext.ts +10 -13
  198. package/src/context/react/ThreadContext.ts +9 -12
  199. package/src/context/react/ThreadListItemContext.ts +4 -7
  200. package/src/context/react/index.ts +2 -0
  201. package/src/context/react/utils/createContextHook.ts +1 -3
  202. package/src/context/react/utils/createStateHookForRuntime.ts +80 -0
  203. package/src/context/react/utils/ensureBinding.ts +45 -0
  204. package/src/context/react/utils/useRuntimeState.ts +43 -0
  205. package/src/runtimes/adapters/attachment/AttachmentAdapter.ts +3 -1
  206. package/src/runtimes/adapters/attachment/CompositeAttachmentAdapter.ts +1 -1
  207. package/src/runtimes/adapters/thread-history/ThreadHistoryAdapter.ts +1 -0
  208. package/src/runtimes/composer/BaseComposerRuntimeCore.tsx +24 -2
  209. package/src/runtimes/local/useLocalRuntime.tsx +5 -0
@@ -1,18 +1,10 @@
1
1
  import { ReadonlyStore } from "../ReadonlyStore";
2
- import { AttachmentRuntime, AttachmentState } from "../../api/AttachmentRuntime";
2
+ import { AttachmentRuntime } from "../../api/AttachmentRuntime";
3
3
  import { UseBoundStore } from "zustand";
4
4
  export type AttachmentContextValue = {
5
- source: "thread-composer" | "edit-composer" | "message";
6
- useAttachment: UseBoundStore<ReadonlyStore<AttachmentState>>;
7
5
  useAttachmentRuntime: UseBoundStore<ReadonlyStore<AttachmentRuntime>>;
8
6
  };
9
7
  export declare const AttachmentContext: import("react").Context<AttachmentContextValue | null>;
10
- export declare function useAttachmentContext(options?: {
11
- optional?: false | undefined;
12
- }): AttachmentContextValue;
13
- export declare function useAttachmentContext(options?: {
14
- optional?: boolean | undefined;
15
- }): AttachmentContextValue | null;
16
8
  export declare function useAttachmentRuntime(options?: {
17
9
  optional?: false | undefined;
18
10
  }): AttachmentRuntime;
@@ -21,32 +13,72 @@ export declare function useAttachmentRuntime(options?: {
21
13
  }): AttachmentRuntime | null;
22
14
  export declare function useThreadComposerAttachmentRuntime(options?: {
23
15
  optional?: false | undefined;
24
- }): AttachmentRuntime;
16
+ }): AttachmentRuntime<"thread-composer">;
25
17
  export declare function useThreadComposerAttachmentRuntime(options?: {
26
18
  optional?: boolean | undefined;
27
- }): AttachmentRuntime | null;
19
+ }): AttachmentRuntime<"thread-composer"> | null;
28
20
  export declare function useEditComposerAttachmentRuntime(options?: {
29
21
  optional?: false | undefined;
30
- }): AttachmentRuntime;
22
+ }): AttachmentRuntime<"edit-composer">;
31
23
  export declare function useEditComposerAttachmentRuntime(options?: {
32
24
  optional?: boolean | undefined;
33
- }): AttachmentRuntime | null;
25
+ }): AttachmentRuntime<"edit-composer"> | null;
34
26
  export declare function useMessageAttachmentRuntime(options?: {
35
27
  optional?: false | undefined;
36
- }): AttachmentRuntime;
28
+ }): AttachmentRuntime<"message">;
37
29
  export declare function useMessageAttachmentRuntime(options?: {
38
30
  optional?: boolean | undefined;
39
- }): AttachmentRuntime | null;
31
+ }): AttachmentRuntime<"message"> | null;
40
32
  export declare const useAttachment: {
41
- (): AttachmentState;
42
- <TSelected>(selector: (state: AttachmentState) => TSelected): TSelected;
33
+ (): import("../..").AttachmentState & {
34
+ source: "message" | "edit-composer" | "thread-composer";
35
+ };
36
+ <TSelected>(selector: (state: import("../..").AttachmentState & {
37
+ source: "message" | "edit-composer" | "thread-composer";
38
+ }) => TSelected): TSelected;
39
+ <TSelected>(selector: ((state: import("../..").AttachmentState & {
40
+ source: "message" | "edit-composer" | "thread-composer";
41
+ }) => TSelected) | undefined): (import("../..").AttachmentState & {
42
+ source: "message" | "edit-composer" | "thread-composer";
43
+ }) | TSelected;
44
+ (options: {
45
+ optional?: false | undefined;
46
+ }): import("../..").AttachmentState & {
47
+ source: "message" | "edit-composer" | "thread-composer";
48
+ };
43
49
  (options: {
44
- optional: true;
45
- }): AttachmentState | null;
50
+ optional?: boolean | undefined;
51
+ }): (import("../..").AttachmentState & {
52
+ source: "message" | "edit-composer" | "thread-composer";
53
+ }) | null;
54
+ <TSelected>(options: {
55
+ optional?: false | undefined;
56
+ selector: (state: import("../..").AttachmentState & {
57
+ source: "message" | "edit-composer" | "thread-composer";
58
+ }) => TSelected;
59
+ }): TSelected;
46
60
  <TSelected>(options: {
47
- optional: true;
48
- selector?: (state: AttachmentState) => TSelected;
61
+ optional?: false | undefined;
62
+ selector: ((state: import("../..").AttachmentState & {
63
+ source: "message" | "edit-composer" | "thread-composer";
64
+ }) => TSelected) | undefined;
65
+ }): (import("../..").AttachmentState & {
66
+ source: "message" | "edit-composer" | "thread-composer";
67
+ }) | TSelected;
68
+ <TSelected>(options: {
69
+ optional?: boolean | undefined;
70
+ selector: (state: import("../..").AttachmentState & {
71
+ source: "message" | "edit-composer" | "thread-composer";
72
+ }) => TSelected;
49
73
  }): TSelected | null;
74
+ <TSelected>(options: {
75
+ optional?: boolean | undefined;
76
+ selector: ((state: import("../..").AttachmentState & {
77
+ source: "message" | "edit-composer" | "thread-composer";
78
+ }) => TSelected) | undefined;
79
+ }): (import("../..").AttachmentState & {
80
+ source: "message" | "edit-composer" | "thread-composer";
81
+ }) | TSelected | null;
50
82
  };
51
83
  export declare const useThreadComposerAttachment: {
52
84
  (): {
@@ -79,8 +111,54 @@ export declare const useThreadComposerAttachment: {
79
111
  } & {
80
112
  source: "thread-composer";
81
113
  }) => TSelected): TSelected;
114
+ <TSelected>(selector: ((state: {
115
+ id: string;
116
+ type: "image" | "document" | "file";
117
+ name: string;
118
+ contentType: string;
119
+ file?: File;
120
+ content?: import("../..").CoreUserContentPart[];
121
+ } & {
122
+ status: import("../../types/AttachmentTypes").PendingAttachmentStatus;
123
+ file: File;
124
+ } & {
125
+ readonly source: "thread-composer";
126
+ } & {
127
+ source: "thread-composer";
128
+ }) => TSelected) | undefined): ({
129
+ id: string;
130
+ type: "image" | "document" | "file";
131
+ name: string;
132
+ contentType: string;
133
+ file?: File;
134
+ content?: import("../..").CoreUserContentPart[];
135
+ } & {
136
+ status: import("../../types/AttachmentTypes").PendingAttachmentStatus;
137
+ file: File;
138
+ } & {
139
+ readonly source: "thread-composer";
140
+ } & {
141
+ source: "thread-composer";
142
+ }) | TSelected;
143
+ (options: {
144
+ optional?: false | undefined;
145
+ }): {
146
+ id: string;
147
+ type: "image" | "document" | "file";
148
+ name: string;
149
+ contentType: string;
150
+ file?: File;
151
+ content?: import("../..").CoreUserContentPart[];
152
+ } & {
153
+ status: import("../../types/AttachmentTypes").PendingAttachmentStatus;
154
+ file: File;
155
+ } & {
156
+ readonly source: "thread-composer";
157
+ } & {
158
+ source: "thread-composer";
159
+ };
82
160
  (options: {
83
- optional: true;
161
+ optional?: boolean | undefined;
84
162
  }): ({
85
163
  id: string;
86
164
  type: "image" | "document" | "file";
@@ -97,8 +175,58 @@ export declare const useThreadComposerAttachment: {
97
175
  source: "thread-composer";
98
176
  }) | null;
99
177
  <TSelected>(options: {
100
- optional: true;
101
- selector?: (state: {
178
+ optional?: false | undefined;
179
+ selector: (state: {
180
+ id: string;
181
+ type: "image" | "document" | "file";
182
+ name: string;
183
+ contentType: string;
184
+ file?: File;
185
+ content?: import("../..").CoreUserContentPart[];
186
+ } & {
187
+ status: import("../../types/AttachmentTypes").PendingAttachmentStatus;
188
+ file: File;
189
+ } & {
190
+ readonly source: "thread-composer";
191
+ } & {
192
+ source: "thread-composer";
193
+ }) => TSelected;
194
+ }): TSelected;
195
+ <TSelected>(options: {
196
+ optional?: false | undefined;
197
+ selector: ((state: {
198
+ id: string;
199
+ type: "image" | "document" | "file";
200
+ name: string;
201
+ contentType: string;
202
+ file?: File;
203
+ content?: import("../..").CoreUserContentPart[];
204
+ } & {
205
+ status: import("../../types/AttachmentTypes").PendingAttachmentStatus;
206
+ file: File;
207
+ } & {
208
+ readonly source: "thread-composer";
209
+ } & {
210
+ source: "thread-composer";
211
+ }) => TSelected) | undefined;
212
+ }): ({
213
+ id: string;
214
+ type: "image" | "document" | "file";
215
+ name: string;
216
+ contentType: string;
217
+ file?: File;
218
+ content?: import("../..").CoreUserContentPart[];
219
+ } & {
220
+ status: import("../../types/AttachmentTypes").PendingAttachmentStatus;
221
+ file: File;
222
+ } & {
223
+ readonly source: "thread-composer";
224
+ } & {
225
+ source: "thread-composer";
226
+ }) | TSelected;
227
+ <TSelected>(options: {
228
+ optional?: boolean | undefined;
229
+ selector: (state: {
102
230
  id: string;
103
231
  type: "image" | "document" | "file";
104
232
  name: string;
@@ -114,6 +242,38 @@ export declare const useThreadComposerAttachment: {
114
242
  source: "thread-composer";
115
243
  }) => TSelected;
116
244
  }): TSelected | null;
245
+ <TSelected>(options: {
246
+ optional?: boolean | undefined;
247
+ selector: ((state: {
248
+ id: string;
249
+ type: "image" | "document" | "file";
250
+ name: string;
251
+ contentType: string;
252
+ file?: File;
253
+ content?: import("../..").CoreUserContentPart[];
254
+ } & {
255
+ status: import("../../types/AttachmentTypes").PendingAttachmentStatus;
256
+ file: File;
257
+ } & {
258
+ readonly source: "thread-composer";
259
+ } & {
260
+ source: "thread-composer";
261
+ }) => TSelected) | undefined;
262
+ }): ({
263
+ id: string;
264
+ type: "image" | "document" | "file";
265
+ name: string;
266
+ contentType: string;
267
+ file?: File;
268
+ content?: import("../..").CoreUserContentPart[];
269
+ } & {
270
+ status: import("../../types/AttachmentTypes").PendingAttachmentStatus;
271
+ file: File;
272
+ } & {
273
+ readonly source: "thread-composer";
274
+ } & {
275
+ source: "thread-composer";
276
+ }) | TSelected | null;
117
277
  };
118
278
  export declare const useEditComposerAttachment: {
119
279
  (): ({
@@ -174,8 +334,96 @@ export declare const useEditComposerAttachment: {
174
334
  } & {
175
335
  source: "edit-composer";
176
336
  })) => TSelected): TSelected;
337
+ <TSelected>(selector: ((state: ({
338
+ id: string;
339
+ type: "image" | "document" | "file";
340
+ name: string;
341
+ contentType: string;
342
+ file?: File;
343
+ content?: import("../..").CoreUserContentPart[];
344
+ } & {
345
+ status: import("../../types/AttachmentTypes").PendingAttachmentStatus;
346
+ file: File;
347
+ } & {
348
+ readonly source: "edit-composer";
349
+ } & {
350
+ source: "edit-composer";
351
+ }) | ({
352
+ id: string;
353
+ type: "image" | "document" | "file";
354
+ name: string;
355
+ contentType: string;
356
+ file?: File;
357
+ content?: import("../..").CoreUserContentPart[];
358
+ } & {
359
+ status: import("../../types/AttachmentTypes").CompleteAttachmentStatus;
360
+ content: import("../..").CoreUserContentPart[];
361
+ } & {
362
+ readonly source: "edit-composer";
363
+ } & {
364
+ source: "edit-composer";
365
+ })) => TSelected) | undefined): ({
366
+ id: string;
367
+ type: "image" | "document" | "file";
368
+ name: string;
369
+ contentType: string;
370
+ file?: File;
371
+ content?: import("../..").CoreUserContentPart[];
372
+ } & {
373
+ status: import("../../types/AttachmentTypes").PendingAttachmentStatus;
374
+ file: File;
375
+ } & {
376
+ readonly source: "edit-composer";
377
+ } & {
378
+ source: "edit-composer";
379
+ }) | ({
380
+ id: string;
381
+ type: "image" | "document" | "file";
382
+ name: string;
383
+ contentType: string;
384
+ file?: File;
385
+ content?: import("../..").CoreUserContentPart[];
386
+ } & {
387
+ status: import("../../types/AttachmentTypes").CompleteAttachmentStatus;
388
+ content: import("../..").CoreUserContentPart[];
389
+ } & {
390
+ readonly source: "edit-composer";
391
+ } & {
392
+ source: "edit-composer";
393
+ }) | TSelected;
394
+ (options: {
395
+ optional?: false | undefined;
396
+ }): ({
397
+ id: string;
398
+ type: "image" | "document" | "file";
399
+ name: string;
400
+ contentType: string;
401
+ file?: File;
402
+ content?: import("../..").CoreUserContentPart[];
403
+ } & {
404
+ status: import("../../types/AttachmentTypes").PendingAttachmentStatus;
405
+ file: File;
406
+ } & {
407
+ readonly source: "edit-composer";
408
+ } & {
409
+ source: "edit-composer";
410
+ }) | ({
411
+ id: string;
412
+ type: "image" | "document" | "file";
413
+ name: string;
414
+ contentType: string;
415
+ file?: File;
416
+ content?: import("../..").CoreUserContentPart[];
417
+ } & {
418
+ status: import("../../types/AttachmentTypes").CompleteAttachmentStatus;
419
+ content: import("../..").CoreUserContentPart[];
420
+ } & {
421
+ readonly source: "edit-composer";
422
+ } & {
423
+ source: "edit-composer";
424
+ });
177
425
  (options: {
178
- optional: true;
426
+ optional?: boolean | undefined;
179
427
  }): ({
180
428
  id: string;
181
429
  type: "image" | "document" | "file";
@@ -206,8 +454,100 @@ export declare const useEditComposerAttachment: {
206
454
  source: "edit-composer";
207
455
  }) | null;
208
456
  <TSelected>(options: {
209
- optional: true;
210
- selector?: (state: ({
457
+ optional?: false | undefined;
458
+ selector: (state: ({
459
+ id: string;
460
+ type: "image" | "document" | "file";
461
+ name: string;
462
+ contentType: string;
463
+ file?: File;
464
+ content?: import("../..").CoreUserContentPart[];
465
+ } & {
466
+ status: import("../../types/AttachmentTypes").PendingAttachmentStatus;
467
+ file: File;
468
+ } & {
469
+ readonly source: "edit-composer";
470
+ } & {
471
+ source: "edit-composer";
472
+ }) | ({
473
+ id: string;
474
+ type: "image" | "document" | "file";
475
+ name: string;
476
+ contentType: string;
477
+ file?: File;
478
+ content?: import("../..").CoreUserContentPart[];
479
+ } & {
480
+ status: import("../../types/AttachmentTypes").CompleteAttachmentStatus;
481
+ content: import("../..").CoreUserContentPart[];
482
+ } & {
483
+ readonly source: "edit-composer";
484
+ } & {
485
+ source: "edit-composer";
486
+ })) => TSelected;
487
+ }): TSelected;
488
+ <TSelected>(options: {
489
+ optional?: false | undefined;
490
+ selector: ((state: ({
491
+ id: string;
492
+ type: "image" | "document" | "file";
493
+ name: string;
494
+ contentType: string;
495
+ file?: File;
496
+ content?: import("../..").CoreUserContentPart[];
497
+ } & {
498
+ status: import("../../types/AttachmentTypes").PendingAttachmentStatus;
499
+ file: File;
500
+ } & {
501
+ readonly source: "edit-composer";
502
+ } & {
503
+ source: "edit-composer";
504
+ }) | ({
505
+ id: string;
506
+ type: "image" | "document" | "file";
507
+ name: string;
508
+ contentType: string;
509
+ file?: File;
510
+ content?: import("../..").CoreUserContentPart[];
511
+ } & {
512
+ status: import("../../types/AttachmentTypes").CompleteAttachmentStatus;
513
+ content: import("../..").CoreUserContentPart[];
514
+ } & {
515
+ readonly source: "edit-composer";
516
+ } & {
517
+ source: "edit-composer";
518
+ })) => TSelected) | undefined;
519
+ }): ({
520
+ id: string;
521
+ type: "image" | "document" | "file";
522
+ name: string;
523
+ contentType: string;
524
+ file?: File;
525
+ content?: import("../..").CoreUserContentPart[];
526
+ } & {
527
+ status: import("../../types/AttachmentTypes").PendingAttachmentStatus;
528
+ file: File;
529
+ } & {
530
+ readonly source: "edit-composer";
531
+ } & {
532
+ source: "edit-composer";
533
+ }) | ({
534
+ id: string;
535
+ type: "image" | "document" | "file";
536
+ name: string;
537
+ contentType: string;
538
+ file?: File;
539
+ content?: import("../..").CoreUserContentPart[];
540
+ } & {
541
+ status: import("../../types/AttachmentTypes").CompleteAttachmentStatus;
542
+ content: import("../..").CoreUserContentPart[];
543
+ } & {
544
+ readonly source: "edit-composer";
545
+ } & {
546
+ source: "edit-composer";
547
+ }) | TSelected;
548
+ <TSelected>(options: {
549
+ optional?: boolean | undefined;
550
+ selector: (state: ({
211
551
  id: string;
212
552
  type: "image" | "document" | "file";
213
553
  name: string;
@@ -237,6 +577,66 @@ export declare const useEditComposerAttachment: {
237
577
  source: "edit-composer";
238
578
  })) => TSelected;
239
579
  }): TSelected | null;
580
+ <TSelected>(options: {
581
+ optional?: boolean | undefined;
582
+ selector: ((state: ({
583
+ id: string;
584
+ type: "image" | "document" | "file";
585
+ name: string;
586
+ contentType: string;
587
+ file?: File;
588
+ content?: import("../..").CoreUserContentPart[];
589
+ } & {
590
+ status: import("../../types/AttachmentTypes").PendingAttachmentStatus;
591
+ file: File;
592
+ } & {
593
+ readonly source: "edit-composer";
594
+ } & {
595
+ source: "edit-composer";
596
+ }) | ({
597
+ id: string;
598
+ type: "image" | "document" | "file";
599
+ name: string;
600
+ contentType: string;
601
+ file?: File;
602
+ content?: import("../..").CoreUserContentPart[];
603
+ } & {
604
+ status: import("../../types/AttachmentTypes").CompleteAttachmentStatus;
605
+ content: import("../..").CoreUserContentPart[];
606
+ } & {
607
+ readonly source: "edit-composer";
608
+ } & {
609
+ source: "edit-composer";
610
+ })) => TSelected) | undefined;
611
+ }): ({
612
+ id: string;
613
+ type: "image" | "document" | "file";
614
+ name: string;
615
+ contentType: string;
616
+ file?: File;
617
+ content?: import("../..").CoreUserContentPart[];
618
+ } & {
619
+ status: import("../../types/AttachmentTypes").PendingAttachmentStatus;
620
+ file: File;
621
+ } & {
622
+ readonly source: "edit-composer";
623
+ } & {
624
+ source: "edit-composer";
625
+ }) | ({
626
+ id: string;
627
+ type: "image" | "document" | "file";
628
+ name: string;
629
+ contentType: string;
630
+ file?: File;
631
+ content?: import("../..").CoreUserContentPart[];
632
+ } & {
633
+ status: import("../../types/AttachmentTypes").CompleteAttachmentStatus;
634
+ content: import("../..").CoreUserContentPart[];
635
+ } & {
636
+ readonly source: "edit-composer";
637
+ } & {
638
+ source: "edit-composer";
639
+ }) | TSelected | null;
240
640
  };
241
641
  export declare const useMessageAttachment: {
242
642
  (): {
@@ -269,8 +669,54 @@ export declare const useMessageAttachment: {
269
669
  } & {
270
670
  source: "message";
271
671
  }) => TSelected): TSelected;
672
+ <TSelected>(selector: ((state: {
673
+ id: string;
674
+ type: "image" | "document" | "file";
675
+ name: string;
676
+ contentType: string;
677
+ file?: File;
678
+ content?: import("../..").CoreUserContentPart[];
679
+ } & {
680
+ status: import("../../types/AttachmentTypes").CompleteAttachmentStatus;
681
+ content: import("../..").CoreUserContentPart[];
682
+ } & {
683
+ readonly source: "message";
684
+ } & {
685
+ source: "message";
686
+ }) => TSelected) | undefined): ({
687
+ id: string;
688
+ type: "image" | "document" | "file";
689
+ name: string;
690
+ contentType: string;
691
+ file?: File;
692
+ content?: import("../..").CoreUserContentPart[];
693
+ } & {
694
+ status: import("../../types/AttachmentTypes").CompleteAttachmentStatus;
695
+ content: import("../..").CoreUserContentPart[];
696
+ } & {
697
+ readonly source: "message";
698
+ } & {
699
+ source: "message";
700
+ }) | TSelected;
272
701
  (options: {
273
- optional: true;
702
+ optional?: false | undefined;
703
+ }): {
704
+ id: string;
705
+ type: "image" | "document" | "file";
706
+ name: string;
707
+ contentType: string;
708
+ file?: File;
709
+ content?: import("../..").CoreUserContentPart[];
710
+ } & {
711
+ status: import("../../types/AttachmentTypes").CompleteAttachmentStatus;
712
+ content: import("../..").CoreUserContentPart[];
713
+ } & {
714
+ readonly source: "message";
715
+ } & {
716
+ source: "message";
717
+ };
718
+ (options: {
719
+ optional?: boolean | undefined;
274
720
  }): ({
275
721
  id: string;
276
722
  type: "image" | "document" | "file";
@@ -287,8 +733,58 @@ export declare const useMessageAttachment: {
287
733
  source: "message";
288
734
  }) | null;
289
735
  <TSelected>(options: {
290
- optional: true;
291
- selector?: (state: {
736
+ optional?: false | undefined;
737
+ selector: (state: {
738
+ id: string;
739
+ type: "image" | "document" | "file";
740
+ name: string;
741
+ contentType: string;
742
+ file?: File;
743
+ content?: import("../..").CoreUserContentPart[];
744
+ } & {
745
+ status: import("../../types/AttachmentTypes").CompleteAttachmentStatus;
746
+ content: import("../..").CoreUserContentPart[];
747
+ } & {
748
+ readonly source: "message";
749
+ } & {
750
+ source: "message";
751
+ }) => TSelected;
752
+ }): TSelected;
753
+ <TSelected>(options: {
754
+ optional?: false | undefined;
755
+ selector: ((state: {
756
+ id: string;
757
+ type: "image" | "document" | "file";
758
+ name: string;
759
+ contentType: string;
760
+ file?: File;
761
+ content?: import("../..").CoreUserContentPart[];
762
+ } & {
763
+ status: import("../../types/AttachmentTypes").CompleteAttachmentStatus;
764
+ content: import("../..").CoreUserContentPart[];
765
+ } & {
766
+ readonly source: "message";
767
+ } & {
768
+ source: "message";
769
+ }) => TSelected) | undefined;
770
+ }): ({
771
+ id: string;
772
+ type: "image" | "document" | "file";
773
+ name: string;
774
+ contentType: string;
775
+ file?: File;
776
+ content?: import("../..").CoreUserContentPart[];
777
+ } & {
778
+ status: import("../../types/AttachmentTypes").CompleteAttachmentStatus;
779
+ content: import("../..").CoreUserContentPart[];
780
+ } & {
781
+ readonly source: "message";
782
+ } & {
783
+ source: "message";
784
+ }) | TSelected;
785
+ <TSelected>(options: {
786
+ optional?: boolean | undefined;
787
+ selector: (state: {
292
788
  id: string;
293
789
  type: "image" | "document" | "file";
294
790
  name: string;
@@ -304,5 +800,37 @@ export declare const useMessageAttachment: {
304
800
  source: "message";
305
801
  }) => TSelected;
306
802
  }): TSelected | null;
803
+ <TSelected>(options: {
804
+ optional?: boolean | undefined;
805
+ selector: ((state: {
806
+ id: string;
807
+ type: "image" | "document" | "file";
808
+ name: string;
809
+ contentType: string;
810
+ file?: File;
811
+ content?: import("../..").CoreUserContentPart[];
812
+ } & {
813
+ status: import("../../types/AttachmentTypes").CompleteAttachmentStatus;
814
+ content: import("../..").CoreUserContentPart[];
815
+ } & {
816
+ readonly source: "message";
817
+ } & {
818
+ source: "message";
819
+ }) => TSelected) | undefined;
820
+ }): ({
821
+ id: string;
822
+ type: "image" | "document" | "file";
823
+ name: string;
824
+ contentType: string;
825
+ file?: File;
826
+ content?: import("../..").CoreUserContentPart[];
827
+ } & {
828
+ status: import("../../types/AttachmentTypes").CompleteAttachmentStatus;
829
+ content: import("../..").CoreUserContentPart[];
830
+ } & {
831
+ readonly source: "message";
832
+ } & {
833
+ source: "message";
834
+ }) | TSelected | null;
307
835
  };
308
836
  //# sourceMappingURL=AttachmentContext.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AttachmentContext.d.ts","sourceRoot":"","sources":["../../../src/context/react/AttachmentContext.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,OAAO,EACL,iBAAiB,EACjB,eAAe,EAChB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAExC,MAAM,MAAM,sBAAsB,GAAG;IACnC,MAAM,EAA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