@select-org/select-post-builder 1.1.37 → 1.1.39

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/index.d.ts CHANGED
@@ -205,6 +205,11 @@ declare interface PostBuilderI18nKeys {
205
205
  addTextOptionKey: string;
206
206
  enterTextOptionKey: string;
207
207
  pressEnterToAddKey: string;
208
+ cancelUploadTitleKey: string;
209
+ cancelUploadDescriptionKey: string;
210
+ stayKey: string;
211
+ continueKey: string;
212
+ uploadsInProgressKey: string;
208
213
  }
209
214
 
210
215
  export declare const PostBuilderProvider: ({ children, apiBaseURL, authToken, toI18N, i18nKeys, logEvent, }: PostBuilderConfig) => JSX_2.Element;
@@ -276,6 +281,17 @@ declare type WithoutModalProps = BaseProps & {
276
281
  export { }
277
282
 
278
283
 
284
+ declare module '@tiptap/core' {
285
+ interface Commands<ReturnType> {
286
+ poll: {
287
+ insertPoll: (attrs: {
288
+ choices: PollChoiceItem[];
289
+ }) => ReturnType;
290
+ };
291
+ }
292
+ }
293
+
294
+
279
295
  declare module '@tiptap/core' {
280
296
  interface Commands<ReturnType> {
281
297
  media: {
@@ -295,17 +311,10 @@ declare module '@tiptap/core' {
295
311
  * Update media upload progress by uid
296
312
  */
297
313
  updateMediaProgress: (uid: string, progress: number) => ReturnType;
298
- };
299
- }
300
- }
301
-
302
-
303
- declare module '@tiptap/core' {
304
- interface Commands<ReturnType> {
305
- poll: {
306
- insertPoll: (attrs: {
307
- choices: PollChoiceItem[];
308
- }) => ReturnType;
314
+ /**
315
+ * Delete all media nodes that are currently uploading
316
+ */
317
+ deleteAllUploadingMedia: () => ReturnType;
309
318
  };
310
319
  }
311
320
  }
@@ -330,6 +339,10 @@ declare module '@tiptap/core' {
330
339
  * Delete link preview node by uid
331
340
  */
332
341
  deleteLinkByUid: (uid: string) => ReturnType;
342
+ /**
343
+ * Re-run unfurl resolution for existing links after content rehydration.
344
+ */
345
+ rehydrateLinkPreviews: () => ReturnType;
333
346
  };
334
347
  }
335
348
  }