Skip to content

Commit 6158b1d

Browse files
style: auto-fix prettier formatting
1 parent 5e2bb0f commit 6158b1d

2 files changed

Lines changed: 13 additions & 15 deletions

File tree

examples/pdf-server/README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -316,17 +316,17 @@ src/
316316

317317
Supported annotation types (synced with PDF.js):
318318

319-
| Type | Properties | PDF Subtype |
320-
| --------------- | ------------------------------------------- | ------------ |
321-
| `highlight` | `rects`, `color?`, `content?` | `/Highlight` |
322-
| `underline` | `rects`, `color?` | `/Underline` |
323-
| `strikethrough` | `rects`, `color?` | `/StrikeOut` |
324-
| `note` | `x`, `y`, `content`, `color?` | `/Text` |
325-
| `rectangle` | `x`, `y`, `width`, `height`, `color?`, etc. | `/Square` |
326-
| `circle` | `x`, `y`, `width`, `height`, `color?`, etc. | `/Circle` |
327-
| `line` | `x1`, `y1`, `x2`, `y2`, `color?` | `/Line` |
328-
| `freetext` | `x`, `y`, `content`, `fontSize?`, `color?` | `/FreeText` |
329-
| `stamp` | `x`, `y`, `label`, `color?`, `rotation?` | `/Stamp` |
319+
| Type | Properties | PDF Subtype |
320+
| --------------- | ------------------------------------------------------------------ | ------------ |
321+
| `highlight` | `rects`, `color?`, `content?` | `/Highlight` |
322+
| `underline` | `rects`, `color?` | `/Underline` |
323+
| `strikethrough` | `rects`, `color?` | `/StrikeOut` |
324+
| `note` | `x`, `y`, `content`, `color?` | `/Text` |
325+
| `rectangle` | `x`, `y`, `width`, `height`, `color?`, etc. | `/Square` |
326+
| `circle` | `x`, `y`, `width`, `height`, `color?`, etc. | `/Circle` |
327+
| `line` | `x1`, `y1`, `x2`, `y2`, `color?` | `/Line` |
328+
| `freetext` | `x`, `y`, `content`, `fontSize?`, `color?` | `/FreeText` |
329+
| `stamp` | `x`, `y`, `label`, `color?`, `rotation?` | `/Stamp` |
330330
| `image` | `x`, `y`, `width`, `height`, `imageData?`/`imageUrl?`, `rotation?` | `/Stamp` |
331331

332332
## Dependencies

examples/pdf-server/server.test.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -811,10 +811,8 @@ describe("interact tool", () => {
811811
setTimeout(() => reject(new Error("poll timeout")), timeoutMs),
812812
),
813813
]);
814-
return (
815-
(result as { structuredContent?: { commands?: unknown[] } })
816-
.structuredContent?.commands ?? []
817-
) as Array<Record<string, unknown>>;
814+
return ((result as { structuredContent?: { commands?: unknown[] } })
815+
.structuredContent?.commands ?? []) as Array<Record<string, unknown>>;
818816
}
819817

820818
function firstText(r: Awaited<ReturnType<Client["callTool"]>>): string {

0 commit comments

Comments
 (0)