@select-org/select-post-builder 1.0.4 → 1.0.5

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
@@ -184,17 +184,6 @@ declare type WithoutModalProps = BaseProps & {
184
184
  export { }
185
185
 
186
186
 
187
- declare module '@tiptap/core' {
188
- interface Commands<ReturnType> {
189
- poll: {
190
- insertPoll: (attrs: {
191
- choices: PollChoiceItem[];
192
- }) => ReturnType;
193
- };
194
- }
195
- }
196
-
197
-
198
187
  declare module '@tiptap/core' {
199
188
  interface Commands<ReturnType> {
200
189
  media: {
@@ -219,6 +208,17 @@ declare module '@tiptap/core' {
219
208
  }
220
209
 
221
210
 
211
+ declare module '@tiptap/core' {
212
+ interface Commands<ReturnType> {
213
+ poll: {
214
+ insertPoll: (attrs: {
215
+ choices: PollChoiceItem[];
216
+ }) => ReturnType;
217
+ };
218
+ }
219
+ }
220
+
221
+
222
222
  declare module '@tiptap/core' {
223
223
  interface Commands<ReturnType> {
224
224
  customLink: {
@@ -245,14 +245,13 @@ declare module '@tiptap/core' {
245
245
 
246
246
  declare module '@tiptap/core' {
247
247
  interface Commands<ReturnType> {
248
- iframe: {
249
- /**
250
- * Insert an iframe node into the document
251
- */
252
- setIframe: (options: {
253
- src: string;
254
- width?: string;
255
- height?: string;
248
+ smartMediaUpload: {
249
+ insertMediaWithUpload: (params: {
250
+ source: File | Blob | string;
251
+ type: MediaNodeTypes;
252
+ mediaType?: MediaItemType;
253
+ caption?: string;
254
+ searchFrom?: ImageSearchFrom;
256
255
  }) => ReturnType;
257
256
  };
258
257
  }
@@ -261,13 +260,14 @@ declare module '@tiptap/core' {
261
260
 
262
261
  declare module '@tiptap/core' {
263
262
  interface Commands<ReturnType> {
264
- smartMediaUpload: {
265
- insertMediaWithUpload: (params: {
266
- source: File | Blob | string;
267
- type: MediaNodeTypes;
268
- mediaType?: MediaItemType;
269
- caption?: string;
270
- searchFrom?: ImageSearchFrom;
263
+ iframe: {
264
+ /**
265
+ * Insert an iframe node into the document
266
+ */
267
+ setIframe: (options: {
268
+ src: string;
269
+ width?: string;
270
+ height?: string;
271
271
  }) => ReturnType;
272
272
  };
273
273
  }