@henryx/pagely 0.1.1 → 0.2.0

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.
@@ -10,6 +10,9 @@ export declare const DEFAULT_ATTACHMENT_ACCEPT = "*/*";
10
10
  export interface FileUploadResult {
11
11
  href: string;
12
12
  label: string;
13
+ attachmentId?: string | number;
14
+ mimeType?: string;
15
+ kind?: 'image' | 'file';
13
16
  }
14
17
  export type FileUploadHandler = (file: File) => Promise<FileUploadResult | null>;
15
18
  export declare function defaultAttachmentUpload(file: File): Promise<FileUploadResult | null>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@henryx/pagely",
3
- "version": "0.1.1",
3
+ "version": "0.2.0",
4
4
  "type": "module",
5
5
  "description": "A block-style rich text editor built with Vue 3 and TipTap",
6
6
  "keywords": [
@@ -30,6 +30,9 @@
30
30
  "files": [
31
31
  "dist"
32
32
  ],
33
+ "publishConfig": {
34
+ "registry": "https://registry.npmjs.org/"
35
+ },
33
36
  "sideEffects": [
34
37
  "**/*.css"
35
38
  ],