@valbuild/shared 0.43.1 → 0.45.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.
- package/dist/declarations/src/internal/mimeType/imageMimeType.d.ts +2 -0
- package/dist/declarations/src/internal/richtext/conversion/lexicalToRichTextSource.d.ts +2 -2
- package/dist/declarations/src/internal/richtext/conversion/richTextSourceToLexical.d.ts +1 -0
- package/internal/dist/valbuild-shared-internal.cjs.dev.js +146 -540
- package/internal/dist/valbuild-shared-internal.cjs.prod.js +146 -540
- package/internal/dist/valbuild-shared-internal.esm.js +146 -542
- package/package.json +2 -2
@@ -1,2 +1,4 @@
|
|
1
1
|
export declare function getMimeType(base64Url: string): string | undefined;
|
2
2
|
export declare function mimeTypeToFileExt(mimeType: string): string;
|
3
|
+
export declare function filenameToMimeType(filename: string): string | undefined;
|
4
|
+
export declare function imageTypeToMimeType(imageType: string): string;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { RichTextSource, AnyRichTextOptions } from "@valbuild/core";
|
2
2
|
import { LexicalRootNode } from "./richTextSourceToLexical.js";
|
3
|
-
export declare function lexicalToRichTextSource(node: LexicalRootNode):
|
3
|
+
export declare function lexicalToRichTextSource(node: LexicalRootNode): RichTextSource<AnyRichTextOptions> & {
|
4
4
|
files: Record<string, string>;
|
5
|
-
}
|
5
|
+
};
|
6
6
|
declare const FORMAT_MAPPING: {
|
7
7
|
bold: number;
|
8
8
|
italic: number;
|