@seed-hypermedia/client 0.0.9 → 0.0.11

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.
@@ -1,4 +1,4 @@
1
- import { HMBlockChildrenType } from './hm-types';
1
+ import type { HMBlockChildrenType } from './hm-types';
2
2
  export type EditorBlock = EditorParagraphBlock | EditorHeadingBlock | EditorCodeBlock | EditorImageBlock | EditorVideoBlock | EditorFileBlock | EditorButtonBlock | EditorEmbedBlock | EditorWebEmbedBlock | EditorMathBlock | EditorNostrBlock | EditorQueryBlock | EditorUnknownBlock;
3
3
  export type HMInlineContent = EditorText | EditorInlineEmbed | EditorLink;
4
4
  export interface EditorBaseBlock {
@@ -1,5 +1,5 @@
1
- import { EditorBlock } from './editor-types';
2
- import { HMBlock, HMBlockNode } from './hm-types';
1
+ import type { EditorBlock } from './editor-types';
2
+ import { type HMBlock, type HMBlockNode } from './hm-types';
3
3
  /** Convert a single BlockNote EditorBlock into an HMBlock. */
4
4
  export declare function editorBlockToHMBlock(editorBlock: EditorBlock): HMBlock;
5
5
  /**
package/dist/grobid.d.ts CHANGED
@@ -19,4 +19,4 @@ export declare function isGrobidAvailable(grobidUrl?: string, timeoutMs?: number
19
19
  /**
20
20
  * Send a PDF to GROBID's processFulltextDocument endpoint and return TEI XML.
21
21
  */
22
- export declare function processFulltextDocument(pdfBuffer: ArrayBuffer | Buffer, options?: GrobidOptions): Promise<string>;
22
+ export declare function processFulltextDocument(pdfBuffer: ArrayBuffer | Uint8Array, options?: GrobidOptions): Promise<string>;
@@ -1,5 +1,5 @@
1
- import { EditorBlock } from './editor-types';
2
- import { HMBlock, HMBlockChildrenType, HMBlockNode } from './hm-types';
1
+ import type { EditorBlock } from './editor-types';
2
+ import { type HMBlock, type HMBlockChildrenType, type HMBlockNode } from './hm-types';
3
3
  import type { SpanAnnotation } from './unicode';
4
4
  type ServerToEditorRecursiveOpts = {
5
5
  level?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seed-hypermedia/client",
3
- "version": "0.0.9",
3
+ "version": "0.0.11",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/seed-hypermedia/seed",