@select-org/select-post-builder 1.1.0 → 1.1.1
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 +24 -24
- package/dist/post-builder.cjs.js +1537 -1545
- package/dist/post-builder.js +1537 -1545
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -186,30 +186,6 @@ declare type WithoutModalProps = BaseProps & {
|
|
|
186
186
|
export { }
|
|
187
187
|
|
|
188
188
|
|
|
189
|
-
declare module '@tiptap/core' {
|
|
190
|
-
interface Commands<ReturnType> {
|
|
191
|
-
media: {
|
|
192
|
-
/**
|
|
193
|
-
* Insert a media node (image, video, or audio)
|
|
194
|
-
*/
|
|
195
|
-
insertMedia: (options: MediaAttrs) => ReturnType;
|
|
196
|
-
/**
|
|
197
|
-
* Update media node attributes by uid
|
|
198
|
-
*/
|
|
199
|
-
updateMediaByUid: (uid: string, attrs: Partial<MediaAttrs>) => ReturnType;
|
|
200
|
-
/**
|
|
201
|
-
* Delete media node by uid
|
|
202
|
-
*/
|
|
203
|
-
deleteMediaByUid: (uid: string) => ReturnType;
|
|
204
|
-
/**
|
|
205
|
-
* Update media upload progress by uid
|
|
206
|
-
*/
|
|
207
|
-
updateMediaProgress: (uid: string, progress: number) => ReturnType;
|
|
208
|
-
};
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
|
|
213
189
|
declare module '@tiptap/core' {
|
|
214
190
|
interface Commands<ReturnType> {
|
|
215
191
|
poll: {
|
|
@@ -245,6 +221,30 @@ declare module '@tiptap/core' {
|
|
|
245
221
|
}
|
|
246
222
|
|
|
247
223
|
|
|
224
|
+
declare module '@tiptap/core' {
|
|
225
|
+
interface Commands<ReturnType> {
|
|
226
|
+
media: {
|
|
227
|
+
/**
|
|
228
|
+
* Insert a media node (image, video, or audio)
|
|
229
|
+
*/
|
|
230
|
+
insertMedia: (options: MediaAttrs) => ReturnType;
|
|
231
|
+
/**
|
|
232
|
+
* Update media node attributes by uid
|
|
233
|
+
*/
|
|
234
|
+
updateMediaByUid: (uid: string, attrs: Partial<MediaAttrs>) => ReturnType;
|
|
235
|
+
/**
|
|
236
|
+
* Delete media node by uid
|
|
237
|
+
*/
|
|
238
|
+
deleteMediaByUid: (uid: string) => ReturnType;
|
|
239
|
+
/**
|
|
240
|
+
* Update media upload progress by uid
|
|
241
|
+
*/
|
|
242
|
+
updateMediaProgress: (uid: string, progress: number) => ReturnType;
|
|
243
|
+
};
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
|
|
248
248
|
declare module '@tiptap/core' {
|
|
249
249
|
interface Commands<ReturnType> {
|
|
250
250
|
iframe: {
|