briyah 2.0.1 → 2.0.3
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/LICENSE +216 -0
- package/README.md +19 -10
- package/data/common/config/markup +1 -1
- package/data/common/config/model_prices.json +46369 -46361
- package/data/common/config/rpg_models.json +60 -0
- package/data/common/prompts/narrator/create_chapter.prompt +12 -1
- package/data/common/prompts/pdf_converter/convert_pdf_page.prompt +8 -1
- package/data/common/prompts/perceive.prompt +287 -291
- package/data/packs/dnd5e/agents/player.json +11 -11
- package/data/packs/dnd5e/artifacts/background-acolyte.md +66 -0
- package/data/packs/dnd5e/artifacts/character_creator-basics.md +31 -13
- package/data/packs/dnd5e/artifacts/class-barbarian.md +4 -1
- package/data/packs/dnd5e/artifacts/class-bard.md +2 -1
- package/data/packs/dnd5e/artifacts/class-cleric.md +2 -1
- package/data/packs/dnd5e/artifacts/class-druid.md +3 -1
- package/data/packs/dnd5e/artifacts/class-fighter.md +3 -1
- package/data/packs/dnd5e/artifacts/class-monk.md +2 -1
- package/data/packs/dnd5e/artifacts/class-paladin.md +2 -1
- package/data/packs/dnd5e/artifacts/class-ranger.md +3 -1
- package/data/packs/dnd5e/artifacts/class-rogue.md +3 -1
- package/data/packs/dnd5e/artifacts/class-sorcerer.md +2 -1
- package/data/packs/dnd5e/artifacts/class-warlock.md +3 -1
- package/data/packs/dnd5e/artifacts/class-wizard.md +2 -1
- package/data/packs/dnd5e/artifacts/manifest.json +6 -0
- package/data/packs/dnd5e/pack.json +1 -1
- package/data/packs/dnd5e/prompts/battle_master/perceive.prompt +491 -378
- package/data/packs/dnd5e/prompts/campaign_designer/perceive.prompt +24 -7
- package/data/packs/dnd5e/prompts/character_creator/defaults_config.json +21 -31
- package/data/packs/dnd5e/prompts/character_creator/perceive.prompt +236 -99
- package/data/packs/dnd5e/prompts/dnd_player/defaults_config.json +5 -5
- package/data/packs/dnd5e/prompts/dnd_player/perceive.prompt +28 -10
- package/data/packs/dnd5e/prompts/dnd_room_moderator/defaults_config.json +9 -9
- package/data/packs/dnd5e/prompts/dnd_room_moderator/moderate.prompt +13 -10
- package/data/packs/dnd5e/prompts/dungeon_master/defaults_config.json +32 -30
- package/data/packs/dnd5e/prompts/dungeon_master/perceive.prompt +794 -764
- package/data/packs/dnd5e/rooms/campaign.json +15 -0
- package/dist-sdk/server/src/ai/LLM/anthropic.service.d.ts +3 -0
- package/dist-sdk/server/src/ai/LLM/anthropic.service.js +40 -11
- package/dist-sdk/server/src/ai/LLM/base-ai.service.d.ts +1 -0
- package/dist-sdk/server/src/ai/LLM/base-ai.service.js +16 -0
- package/dist-sdk/server/src/ai/LLM/deepseek.service.js +5 -3
- package/dist-sdk/server/src/ai/agent-store.service.js +1 -1
- package/dist-sdk/server/src/ai/artifact.service.d.ts +2 -0
- package/dist-sdk/server/src/ai/artifact.service.js +6 -0
- package/dist-sdk/server/src/ai/pack-artifacts.d.ts +2 -0
- package/dist-sdk/server/src/ai/pack-artifacts.js +65 -8
- package/dist-sdk/server/src/app/user-service-factory.js +6 -1
- package/dist-sdk/server/src/app/user-service-manager.js +1 -1
- package/dist-sdk/server/src/app.controller.d.ts +9 -1
- package/dist-sdk/server/src/app.controller.js +123 -12
- package/dist-sdk/server/src/app.service.d.ts +24 -2
- package/dist-sdk/server/src/app.service.js +123 -109
- package/dist-sdk/server/src/auth/auth.controller.js +4 -0
- package/dist-sdk/server/src/auth/auth.service.d.ts +2 -1
- package/dist-sdk/server/src/auth/dto/phone-login.dto.d.ts +2 -1
- package/dist-sdk/server/src/documents/pdf-conversion.d.ts +43 -0
- package/dist-sdk/server/src/documents/pdf-conversion.js +175 -0
- package/dist-sdk/server/src/room/nickname.d.ts +1 -0
- package/dist-sdk/server/src/room/nickname.js +15 -0
- package/dist-sdk/server/src/room/room-store.service.d.ts +1 -0
- package/dist-sdk/server/src/room/room-store.service.js +9 -1
- package/dist-sdk/server/src/room/room.d.ts +43 -3
- package/dist-sdk/server/src/room/room.js +317 -35
- package/dist-sdk/server/src/rpg/rpg-models.d.ts +9 -0
- package/dist-sdk/server/src/rpg/rpg-models.js +128 -0
- package/dist-sdk/server/src/rpg/rpg-roster.d.ts +8 -0
- package/dist-sdk/server/src/rpg/rpg-roster.js +34 -0
- package/dist-sdk/server/src/rpg/rpg.service.d.ts +29 -0
- package/dist-sdk/server/src/rpg/rpg.service.js +199 -0
- package/dist-sdk/server/src/sdk/index.d.ts +4 -2
- package/dist-sdk/server/src/sdk/index.js +6 -1
- package/dist-sdk/server/src/story/story.service.d.ts +2 -1
- package/dist-sdk/server/src/story/story.service.js +42 -4
- package/dist-sdk/server/src/tools/core/index.d.ts +3 -0
- package/dist-sdk/server/src/tools/core/index.js +9 -0
- package/dist-sdk/server/src/tools/core/rename.tool.d.ts +2 -0
- package/dist-sdk/server/src/tools/core/rename.tool.js +61 -0
- package/dist-sdk/server/src/tools/native-tool.types.d.ts +15 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/data/backgrounds.d.ts +0 -21
- package/dist-sdk/server/src/tools/packs/dnd5e/data/backgrounds.js +1 -56
- package/dist-sdk/server/src/tools/packs/dnd5e/data/cantrips.d.ts +10 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/data/cantrips.js +67 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/data/gear.d.ts +5 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/data/gear.js +7 -1
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/bestiary.js +4 -3
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/cantrips.d.ts +6 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/cantrips.js +92 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/character.d.ts +32 -5
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/character.js +177 -28
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/coerce.d.ts +1 -13
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/coerce.js +15 -145
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/dice.d.ts +7 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/dice.js +11 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/encounter.d.ts +5 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/encounter.js +45 -2
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/foes.js +3 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/guides.d.ts +21 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/guides.js +45 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/races.js +6 -4
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/sheet.d.ts +17 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/sheet.js +56 -4
- package/dist-sdk/server/src/tools/packs/dnd5e/index.js +3 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/tools/check.tool.js +117 -15
- package/dist-sdk/server/src/tools/packs/dnd5e/tools/class.tool.d.ts +2 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/tools/class.tool.js +96 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/tools/dice.tools.js +40 -3
- package/dist-sdk/server/src/tools/packs/dnd5e/tools/encounter.tool.js +36 -27
- package/dist-sdk/server/src/tools/packs/dnd5e/tools/monster.tool.js +7 -4
- package/dist-sdk/server/src/tools/packs/dnd5e/tools/shared.d.ts +15 -1
- package/dist-sdk/server/src/tools/packs/dnd5e/tools/shared.js +73 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/tools/sheet.tools.js +49 -13
- package/dist-sdk/server/src/tools/packs/dnd5e/tools/state.tools.js +68 -2
- package/dist-sdk/server/src/tools/packs/dnd5e/tools/world.tools.d.ts +1 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/tools/world.tools.js +119 -14
- package/dist-sdk/server/src/tools/packs/index.d.ts +2 -0
- package/dist-sdk/server/src/tools/packs/index.js +16 -5
- package/dist-sdk/server/src/tools/shared/coerce.d.ts +13 -0
- package/dist-sdk/server/src/tools/shared/coerce.js +147 -0
- package/dist-sdk/server/src/tools/tool-execution.service.d.ts +3 -2
- package/dist-sdk/server/src/tools/tool-execution.service.js +4 -1
- package/dist-sdk/shared/types/app.types.d.ts +63 -0
- package/dist-sdk/shared/types/app.types.js +2 -1
- package/docs/assets/hierarchy.js +1 -1
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/Agent.html +73 -73
- package/docs/classes/Briyah.html +16 -16
- package/docs/classes/BriyahConfigService.html +7 -7
- package/docs/classes/NativeToolRegistry.html +10 -10
- package/docs/classes/PackInstantiationService.html +7 -7
- package/docs/classes/PackService.html +13 -13
- package/docs/classes/Room.html +216 -95
- package/docs/classes/RoomMessage.html +22 -22
- package/docs/enums/MessageAction.html +18 -18
- package/docs/functions/availableToolPacks.html +5 -5
- package/docs/functions/buildMarkdown.html +54 -0
- package/docs/functions/dnd5eTools.html +4 -4
- package/docs/functions/installToolPacks.html +8 -5
- package/docs/functions/pageMarker.html +45 -0
- package/docs/functions/registerToolPacks.html +4 -4
- package/docs/functions/splitMarkdownIntoPages.html +51 -0
- package/docs/functions/stripWrappingFence.html +52 -0
- package/docs/hierarchy.html +13 -9
- package/docs/index.html +11 -8
- package/docs/interfaces/AgentCreationOptions.html +12 -12
- package/docs/interfaces/AgentInfo.html +30 -30
- package/docs/interfaces/AgentMessagesResponse.html +8 -8
- package/docs/interfaces/AppService.html +276 -198
- package/docs/interfaces/Artifact.html +9 -9
- package/docs/interfaces/ArtifactMetadata.html +13 -13
- package/docs/interfaces/ArtifactWriteOptions.html +7 -7
- package/docs/interfaces/AttachDocumentResponse.html +6 -6
- package/docs/interfaces/BriyahConfigOptions.html +12 -12
- package/docs/interfaces/ChapterInfo.html +6 -6
- package/docs/interfaces/Character.html +10 -10
- package/docs/interfaces/ConversionAgent.html +78 -0
- package/docs/interfaces/CreateAgentResponse.html +5 -5
- package/docs/interfaces/CreateRoomResponse.html +6 -6
- package/docs/interfaces/CreateStoryResponse.html +5 -5
- package/docs/interfaces/FileList.html +5 -5
- package/docs/interfaces/FileMetadata.html +10 -10
- package/docs/interfaces/IConfigService.html +5 -5
- package/docs/interfaces/InstantiateModels.html +6 -6
- package/docs/interfaces/InstantiateRoomResult.html +7 -7
- package/docs/interfaces/LoadedPack.html +16 -16
- package/docs/interfaces/LoggingOptions.html +9 -9
- package/docs/interfaces/Message.html +9 -9
- package/docs/interfaces/ModelChoice.html +7 -7
- package/docs/interfaces/ModelInfo.html +8 -8
- package/docs/interfaces/NativeToolDefinition.html +10 -10
- package/docs/interfaces/PackAgentTemplate.html +9 -9
- package/docs/interfaces/PackRoomTemplate.html +11 -11
- package/docs/interfaces/PackView.html +20 -20
- package/docs/interfaces/PdfConversionOptions.html +102 -0
- package/docs/interfaces/PdfConversionResult.html +97 -0
- package/docs/interfaces/PdfMarkdownOptions.html +198 -0
- package/docs/interfaces/PdfMarkdownResult.html +106 -0
- package/docs/interfaces/PdfPageMarkdown.html +94 -0
- package/docs/interfaces/PreparedPromptResponse.html +6 -6
- package/docs/interfaces/ProcessTextResponse.html +10 -10
- package/docs/interfaces/PromptFile.html +7 -7
- package/docs/interfaces/PromptFileContent.html +8 -8
- package/docs/interfaces/PromptFilesResponse.html +5 -5
- package/docs/interfaces/PromptFolder.html +8 -8
- package/docs/interfaces/PromptFolderDefaults.html +19 -19
- package/docs/interfaces/PromptFolderDefaultsResponse.html +7 -7
- package/docs/interfaces/PromptFoldersResponse.html +5 -5
- package/docs/interfaces/RoomDetails.html +19 -19
- package/docs/interfaces/RoomErrorUpdate.html +8 -8
- package/docs/interfaces/RoomInfo.html +10 -10
- package/docs/interfaces/RoomMessageUpdate.html +13 -13
- package/docs/interfaces/RoomMessagesResponse.html +6 -6
- package/docs/interfaces/SendMessageResult.html +6 -6
- package/docs/interfaces/StoryErrorEvent.html +8 -8
- package/docs/interfaces/StoryIdea.html +8 -8
- package/docs/interfaces/StoryInfo.html +28 -28
- package/docs/interfaces/StoryIntroduceCharacterEvent.html +7 -7
- package/docs/interfaces/StoryProgressChapterEvent.html +6 -6
- package/docs/interfaces/StoryState.html +12 -12
- package/docs/interfaces/StoryStateEvent.html +7 -7
- package/docs/interfaces/ToolArtifact.html +9 -9
- package/docs/interfaces/ToolCaller.html +7 -7
- package/docs/interfaces/ToolDefinition.html +9 -9
- package/docs/interfaces/ToolHelpers.html +17 -8
- package/docs/interfaces/ToolPackDocuments.html +100 -0
- package/docs/interfaces/ToolParameter.html +8 -8
- package/docs/interfaces/ToolRoomAccess.html +49 -16
- package/docs/interfaces/ToolSummary.html +8 -8
- package/docs/interfaces/ToolsResponse.html +7 -7
- package/docs/interfaces/Transaction.html +13 -13
- package/docs/interfaces/TransactionHistoryResponse.html +6 -6
- package/docs/modules.html +8 -8
- package/docs/types/PackOrigin.html +4 -4
- package/docs/types/PromptScope.html +4 -4
- package/docs/types/RoomTurnMode.html +4 -4
- package/docs/types/RoomUpdate.html +4 -4
- package/docs/types/RosterOverrides.html +4 -4
- package/docs/types/ToolContext.html +4 -4
- package/docs/types/ToolRunResult.html +4 -4
- package/package.json +32 -3
- package/src/tools/packs/dnd5e/README.md +147 -66
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/backgrounds.d.ts +0 -20
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/backgrounds.js +0 -112
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>PackView | Briyah SDK - v2.0.
|
|
2
|
-
<div class="tsd-toolbar-contents container"><a href="../index.html" class="title">Briyah SDK - v2.0.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>PackView | Briyah SDK - v2.0.3</title><meta name="description" content="Documentation for Briyah SDK"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar">
|
|
2
|
+
<div class="tsd-toolbar-contents container"><a href="../index.html" class="title">Briyah SDK - v2.0.3</a>
|
|
3
3
|
<div id="tsd-toolbar-links"><a href="https://github.com/your-org/briyah">GitHub</a><a href="https://www.npmjs.com/package/briyah">npm</a></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/>
|
|
4
4
|
<ul role="listbox" id="tsd-search-results"></ul>
|
|
5
5
|
<div id="tsd-search-status" aria-live="polite" aria-atomic="true">
|
|
@@ -14,14 +14,14 @@
|
|
|
14
14
|
<div class="tsd-comment tsd-typography"><p>A pack and this user's relationship to it.</p>
|
|
15
15
|
</div></section>
|
|
16
16
|
<div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">PackView</span> <span class="tsd-signature-symbol">{</span><br/> <a class="tsd-kind-property" href="#agents">agents</a><span class="tsd-signature-symbol">:</span> <a href="PackAgentTemplate.html" class="tsd-signature-type tsd-kind-interface">PackAgentTemplate</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#description">description</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#dir">dir</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#documentcount">documentCount</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#enabled">enabled</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#missingpacks">missingPacks</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#missingtools">missingTools</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#name">name</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#origin">origin</a><span class="tsd-signature-symbol">:</span> <a href="../types/PackOrigin.html" class="tsd-signature-type tsd-kind-type-alias">PackOrigin</a><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#promptfolders">promptFolders</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#requirespacks">requiresPacks</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#requirestools">requiresTools</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#rooms">rooms</a><span class="tsd-signature-symbol">:</span> <a href="PackRoomTemplate.html" class="tsd-signature-type tsd-kind-interface">PackRoomTemplate</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#title">title</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#version">version</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></div>
|
|
17
|
-
<section class="tsd-panel tsd-hierarchy" data-refl="
|
|
17
|
+
<section class="tsd-panel tsd-hierarchy" data-refl="1198">
|
|
18
18
|
<h4>Hierarchy (<a href="../hierarchy.html#PackView">View Summary</a>)</h4>
|
|
19
19
|
<ul class="tsd-hierarchy">
|
|
20
20
|
<li class="tsd-hierarchy-item"><a href="LoadedPack.html" class="tsd-signature-type tsd-kind-interface">LoadedPack</a>
|
|
21
21
|
<ul class="tsd-hierarchy">
|
|
22
22
|
<li class="tsd-hierarchy-item"><span class="tsd-hierarchy-target">PackView</span></li></ul></li></ul></section><aside class="tsd-sources">
|
|
23
23
|
<ul>
|
|
24
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
24
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/packs/pack.service.ts#L40">server/src/packs/pack.service.ts:40</a></li></ul></aside>
|
|
25
25
|
<section class="tsd-panel-group tsd-index-group">
|
|
26
26
|
<section class="tsd-panel tsd-index-panel">
|
|
27
27
|
<details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
@@ -53,13 +53,13 @@
|
|
|
53
53
|
<div class="tsd-signature"><span class="tsd-kind-property">agents</span><span class="tsd-signature-symbol">:</span> <a href="PackAgentTemplate.html" class="tsd-signature-type tsd-kind-interface">PackAgentTemplate</a><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources">
|
|
54
54
|
<p>Inherited from <a href="LoadedPack.html">LoadedPack</a>.<a href="LoadedPack.html#agents">agents</a></p>
|
|
55
55
|
<ul>
|
|
56
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
56
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/packs/pack-manifest.ts#L141">server/src/packs/pack-manifest.ts:141</a></li></ul></aside></section>
|
|
57
57
|
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
58
58
|
<h3 class="tsd-anchor-link" id="description"><code class="tsd-tag">Optional</code><span>description</span><a href="#description" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
59
59
|
<div class="tsd-signature"><span class="tsd-kind-property">description</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
|
60
60
|
<p>Inherited from <a href="LoadedPack.html">LoadedPack</a>.<a href="LoadedPack.html#description">description</a></p>
|
|
61
61
|
<ul>
|
|
62
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
62
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/packs/pack-manifest.ts#L134">server/src/packs/pack-manifest.ts:134</a></li></ul></aside></section>
|
|
63
63
|
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
64
64
|
<h3 class="tsd-anchor-link" id="dir"><span>dir</span><a href="#dir" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
65
65
|
<div class="tsd-signature"><span class="tsd-kind-property">dir</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
@@ -67,39 +67,39 @@
|
|
|
67
67
|
</div><aside class="tsd-sources">
|
|
68
68
|
<p>Inherited from <a href="LoadedPack.html">LoadedPack</a>.<a href="LoadedPack.html#dir">dir</a></p>
|
|
69
69
|
<ul>
|
|
70
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
70
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/packs/pack-manifest.ts#L137">server/src/packs/pack-manifest.ts:137</a></li></ul></aside></section>
|
|
71
71
|
<section class="tsd-panel tsd-member">
|
|
72
72
|
<h3 class="tsd-anchor-link" id="documentcount"><span>document<wbr/>Count</span><a href="#documentcount" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
73
73
|
<div class="tsd-signature"><span class="tsd-kind-property">documentCount</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
|
74
74
|
<div class="tsd-comment tsd-typography"><p>Documents its <code>artifacts/manifest.json</code> ships.</p>
|
|
75
75
|
</div><aside class="tsd-sources">
|
|
76
76
|
<ul>
|
|
77
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
77
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/packs/pack.service.ts#L47">server/src/packs/pack.service.ts:47</a></li></ul></aside></section>
|
|
78
78
|
<section class="tsd-panel tsd-member">
|
|
79
79
|
<h3 class="tsd-anchor-link" id="enabled"><span>enabled</span><a href="#enabled" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
80
80
|
<div class="tsd-signature"><span class="tsd-kind-property">enabled</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources">
|
|
81
81
|
<ul>
|
|
82
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
82
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/packs/pack.service.ts#L41">server/src/packs/pack.service.ts:41</a></li></ul></aside></section>
|
|
83
83
|
<section class="tsd-panel tsd-member">
|
|
84
84
|
<h3 class="tsd-anchor-link" id="missingpacks"><span>missing<wbr/>Packs</span><a href="#missingpacks" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
85
85
|
<div class="tsd-signature"><span class="tsd-kind-property">missingPacks</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div>
|
|
86
86
|
<div class="tsd-comment tsd-typography"><p>Packs it names in <code>requiresPacks</code> that this user does not have enabled.</p>
|
|
87
87
|
</div><aside class="tsd-sources">
|
|
88
88
|
<ul>
|
|
89
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
89
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/packs/pack.service.ts#L45">server/src/packs/pack.service.ts:45</a></li></ul></aside></section>
|
|
90
90
|
<section class="tsd-panel tsd-member">
|
|
91
91
|
<h3 class="tsd-anchor-link" id="missingtools"><span>missing<wbr/>Tools</span><a href="#missingtools" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
92
92
|
<div class="tsd-signature"><span class="tsd-kind-property">missingTools</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div>
|
|
93
93
|
<div class="tsd-comment tsd-typography"><p>Tool names the pack wants that the process has not registered.</p>
|
|
94
94
|
</div><aside class="tsd-sources">
|
|
95
95
|
<ul>
|
|
96
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
96
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/packs/pack.service.ts#L43">server/src/packs/pack.service.ts:43</a></li></ul></aside></section>
|
|
97
97
|
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
98
98
|
<h3 class="tsd-anchor-link" id="name"><span>name</span><a href="#name" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
99
99
|
<div class="tsd-signature"><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
|
100
100
|
<p>Inherited from <a href="LoadedPack.html">LoadedPack</a>.<a href="LoadedPack.html#name">name</a></p>
|
|
101
101
|
<ul>
|
|
102
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
102
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/packs/pack-manifest.ts#L132">server/src/packs/pack-manifest.ts:132</a></li></ul></aside></section>
|
|
103
103
|
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
104
104
|
<h3 class="tsd-anchor-link" id="origin"><span>origin</span><a href="#origin" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
105
105
|
<div class="tsd-signature"><span class="tsd-kind-property">origin</span><span class="tsd-signature-symbol">:</span> <a href="../types/PackOrigin.html" class="tsd-signature-type tsd-kind-type-alias">PackOrigin</a></div>
|
|
@@ -107,19 +107,19 @@
|
|
|
107
107
|
</div><aside class="tsd-sources">
|
|
108
108
|
<p>Inherited from <a href="LoadedPack.html">LoadedPack</a>.<a href="LoadedPack.html#origin">origin</a></p>
|
|
109
109
|
<ul>
|
|
110
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
110
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/packs/pack-manifest.ts#L139">server/src/packs/pack-manifest.ts:139</a></li></ul></aside></section>
|
|
111
111
|
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
112
112
|
<h3 class="tsd-anchor-link" id="promptfolders"><span>prompt<wbr/>Folders</span><a href="#promptfolders" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
113
113
|
<div class="tsd-signature"><span class="tsd-kind-property">promptFolders</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources">
|
|
114
114
|
<p>Inherited from <a href="LoadedPack.html">LoadedPack</a>.<a href="LoadedPack.html#promptfolders">promptFolders</a></p>
|
|
115
115
|
<ul>
|
|
116
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
116
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/packs/pack-manifest.ts#L140">server/src/packs/pack-manifest.ts:140</a></li></ul></aside></section>
|
|
117
117
|
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
118
118
|
<h3 class="tsd-anchor-link" id="requirespacks"><span>requires<wbr/>Packs</span><a href="#requirespacks" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
119
119
|
<div class="tsd-signature"><span class="tsd-kind-property">requiresPacks</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources">
|
|
120
120
|
<p>Inherited from <a href="LoadedPack.html">LoadedPack</a>.<a href="LoadedPack.html#requirespacks">requiresPacks</a></p>
|
|
121
121
|
<ul>
|
|
122
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
122
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/packs/pack-manifest.ts#L145">server/src/packs/pack-manifest.ts:145</a></li></ul></aside></section>
|
|
123
123
|
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
124
124
|
<h3 class="tsd-anchor-link" id="requirestools"><span>requires<wbr/>Tools</span><a href="#requirestools" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
125
125
|
<div class="tsd-signature"><span class="tsd-kind-property">requiresTools</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div>
|
|
@@ -127,25 +127,25 @@
|
|
|
127
127
|
</div><aside class="tsd-sources">
|
|
128
128
|
<p>Inherited from <a href="LoadedPack.html">LoadedPack</a>.<a href="LoadedPack.html#requirestools">requiresTools</a></p>
|
|
129
129
|
<ul>
|
|
130
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
130
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/packs/pack-manifest.ts#L144">server/src/packs/pack-manifest.ts:144</a></li></ul></aside></section>
|
|
131
131
|
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
132
132
|
<h3 class="tsd-anchor-link" id="rooms"><span>rooms</span><a href="#rooms" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
133
133
|
<div class="tsd-signature"><span class="tsd-kind-property">rooms</span><span class="tsd-signature-symbol">:</span> <a href="PackRoomTemplate.html" class="tsd-signature-type tsd-kind-interface">PackRoomTemplate</a><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources">
|
|
134
134
|
<p>Inherited from <a href="LoadedPack.html">LoadedPack</a>.<a href="LoadedPack.html#rooms">rooms</a></p>
|
|
135
135
|
<ul>
|
|
136
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
136
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/packs/pack-manifest.ts#L142">server/src/packs/pack-manifest.ts:142</a></li></ul></aside></section>
|
|
137
137
|
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
138
138
|
<h3 class="tsd-anchor-link" id="title"><span>title</span><a href="#title" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
139
139
|
<div class="tsd-signature"><span class="tsd-kind-property">title</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
|
140
140
|
<p>Inherited from <a href="LoadedPack.html">LoadedPack</a>.<a href="LoadedPack.html#title">title</a></p>
|
|
141
141
|
<ul>
|
|
142
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
142
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/packs/pack-manifest.ts#L133">server/src/packs/pack-manifest.ts:133</a></li></ul></aside></section>
|
|
143
143
|
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
144
144
|
<h3 class="tsd-anchor-link" id="version"><code class="tsd-tag">Optional</code><span>version</span><a href="#version" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
145
145
|
<div class="tsd-signature"><span class="tsd-kind-property">version</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
|
146
146
|
<p>Inherited from <a href="LoadedPack.html">LoadedPack</a>.<a href="LoadedPack.html#version">version</a></p>
|
|
147
147
|
<ul>
|
|
148
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
148
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/packs/pack-manifest.ts#L135">server/src/packs/pack-manifest.ts:135</a></li></ul></aside></section></section></details></div>
|
|
149
149
|
<div class="col-sidebar">
|
|
150
150
|
<div class="page-menu">
|
|
151
151
|
<div class="tsd-navigation settings">
|
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
<div><a href="#agents" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>agents</span></a><a href="#description" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>description</span></a><a href="#dir" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>dir</span></a><a href="#documentcount"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>document<wbr/>Count</span></a><a href="#enabled"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>enabled</span></a><a href="#missingpacks"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>missing<wbr/>Packs</span></a><a href="#missingtools"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>missing<wbr/>Tools</span></a><a href="#name" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>name</span></a><a href="#origin" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>origin</span></a><a href="#promptfolders" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>prompt<wbr/>Folders</span></a><a href="#requirespacks" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>requires<wbr/>Packs</span></a><a href="#requirestools" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>requires<wbr/>Tools</span></a><a href="#rooms" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>rooms</span></a><a href="#title" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>title</span></a><a href="#version" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>version</span></a></div></details></div></details></div>
|
|
166
166
|
<div class="site-menu">
|
|
167
167
|
<nav id="tsd-sidebar-links" class="tsd-navigation"><a href="https://github.com/your-org/briyah" class="tsd-nav-link">GitHub</a><a href="https://www.npmjs.com/package/briyah" class="tsd-nav-link">npm</a></nav>
|
|
168
|
-
<nav class="tsd-navigation"><a href="../modules.html">Briyah SDK - v2.0.
|
|
168
|
+
<nav class="tsd-navigation"><a href="../modules.html">Briyah SDK - v2.0.3</a>
|
|
169
169
|
<ul class="tsd-small-nested-navigation" id="tsd-nav-container">
|
|
170
170
|
<li>Loading...</li></ul></nav></div></div></div><footer>
|
|
171
171
|
<p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer>
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>PdfConversionOptions | Briyah SDK - v2.0.3</title><meta name="description" content="Documentation for Briyah SDK"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar">
|
|
2
|
+
<div class="tsd-toolbar-contents container"><a href="../index.html" class="title">Briyah SDK - v2.0.3</a>
|
|
3
|
+
<div id="tsd-toolbar-links"><a href="https://github.com/your-org/briyah">GitHub</a><a href="https://www.npmjs.com/package/briyah">npm</a></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/>
|
|
4
|
+
<ul role="listbox" id="tsd-search-results"></ul>
|
|
5
|
+
<div id="tsd-search-status" aria-live="polite" aria-atomic="true">
|
|
6
|
+
<div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header>
|
|
7
|
+
<div class="container container-main">
|
|
8
|
+
<div class="col-content">
|
|
9
|
+
<div class="tsd-page-title">
|
|
10
|
+
<ul class="tsd-breadcrumb" aria-label="Breadcrumb">
|
|
11
|
+
<li><a href="" aria-current="page">PdfConversionOptions</a></li></ul>
|
|
12
|
+
<h1>Interface PdfConversionOptions</h1></div>
|
|
13
|
+
<section class="tsd-panel tsd-comment">
|
|
14
|
+
<div class="tsd-comment tsd-typography"><p>How a conversion should be run. Every field has an environment-backed default.</p>
|
|
15
|
+
</div></section>
|
|
16
|
+
<div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">PdfConversionOptions</span> <span class="tsd-signature-symbol">{</span><br/> <a class="tsd-kind-property" href="#attempts">attempts</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#concurrency">concurrency</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#onprogress">onProgress</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">message</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#pagetimeoutms">pageTimeoutMs</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#retrybackoffms">retryBackoffMs</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></div>
|
|
17
|
+
<section class="tsd-panel tsd-hierarchy" data-refl="739">
|
|
18
|
+
<h4>Hierarchy (<a href="../hierarchy.html#PdfConversionOptions">View Summary</a>)</h4>
|
|
19
|
+
<ul class="tsd-hierarchy">
|
|
20
|
+
<li class="tsd-hierarchy-item"><span class="tsd-hierarchy-target">PdfConversionOptions</span>
|
|
21
|
+
<ul class="tsd-hierarchy">
|
|
22
|
+
<li class="tsd-hierarchy-item"><a href="PdfMarkdownOptions.html" class="tsd-signature-type tsd-kind-interface">PdfMarkdownOptions</a></li></ul></li></ul></section><aside class="tsd-sources">
|
|
23
|
+
<ul>
|
|
24
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/documents/pdf-conversion.ts#L62">server/src/documents/pdf-conversion.ts:62</a></li></ul></aside>
|
|
25
|
+
<section class="tsd-panel-group tsd-index-group">
|
|
26
|
+
<section class="tsd-panel tsd-index-panel">
|
|
27
|
+
<details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
28
|
+
<h5 class="tsd-index-heading uppercase">Index</h5></summary>
|
|
29
|
+
<div class="tsd-accordion-details">
|
|
30
|
+
<section class="tsd-index-section">
|
|
31
|
+
<h3 class="tsd-index-heading tsd-anchor-link" id="properties">Properties<a href="#properties" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
32
|
+
<div class="tsd-index-list"><a href="#attempts" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>attempts?</span></a>
|
|
33
|
+
<a href="#concurrency" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>concurrency?</span></a>
|
|
34
|
+
<a href="#onprogress" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>on<wbr/>Progress?</span></a>
|
|
35
|
+
<a href="#pagetimeoutms" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>page<wbr/>Timeout<wbr/>Ms?</span></a>
|
|
36
|
+
<a href="#retrybackoffms" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>retry<wbr/>Backoff<wbr/>Ms?</span></a>
|
|
37
|
+
</div></section></div></details></section></section>
|
|
38
|
+
<details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
39
|
+
<h2 class="tsd-anchor-link" id="properties-1">Properties<a href="#properties-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h2></summary>
|
|
40
|
+
<section>
|
|
41
|
+
<section class="tsd-panel tsd-member">
|
|
42
|
+
<h3 class="tsd-anchor-link" id="attempts"><code class="tsd-tag">Optional</code><span>attempts</span><a href="#attempts" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
43
|
+
<div class="tsd-signature"><span class="tsd-kind-property">attempts</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div>
|
|
44
|
+
<div class="tsd-comment tsd-typography"><p>Attempts per page before giving up. Defaults to <code>PDF_CONVERT_PAGE_ATTEMPTS</code> or 3.</p>
|
|
45
|
+
</div><aside class="tsd-sources">
|
|
46
|
+
<ul>
|
|
47
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/documents/pdf-conversion.ts#L72">server/src/documents/pdf-conversion.ts:72</a></li></ul></aside></section>
|
|
48
|
+
<section class="tsd-panel tsd-member">
|
|
49
|
+
<h3 class="tsd-anchor-link" id="concurrency"><code class="tsd-tag">Optional</code><span>concurrency</span><a href="#concurrency" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
50
|
+
<div class="tsd-signature"><span class="tsd-kind-property">concurrency</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div>
|
|
51
|
+
<div class="tsd-comment tsd-typography"><p>How many pages may be converted at once.</p>
|
|
52
|
+
<p>The reason this exists: converting every page concurrently is what a 146-page
|
|
53
|
+
document did before there was a cap, and the provider rate-limited most of
|
|
54
|
+
them. Defaults to <code>PDF_CONVERT_CONCURRENCY</code> or 20.</p>
|
|
55
|
+
</div><aside class="tsd-sources">
|
|
56
|
+
<ul>
|
|
57
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/documents/pdf-conversion.ts#L70">server/src/documents/pdf-conversion.ts:70</a></li></ul></aside></section>
|
|
58
|
+
<section class="tsd-panel tsd-member">
|
|
59
|
+
<h3 class="tsd-anchor-link" id="onprogress"><code class="tsd-tag">Optional</code><span>on<wbr/>Progress</span><a href="#onprogress" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
60
|
+
<div class="tsd-signature"><span class="tsd-kind-property">onProgress</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">message</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span></div>
|
|
61
|
+
<div class="tsd-comment tsd-typography"><p>Called as pages complete, for a caller with somewhere to show it.</p>
|
|
62
|
+
</div><aside class="tsd-sources">
|
|
63
|
+
<ul>
|
|
64
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/documents/pdf-conversion.ts#L78">server/src/documents/pdf-conversion.ts:78</a></li></ul></aside></section>
|
|
65
|
+
<section class="tsd-panel tsd-member">
|
|
66
|
+
<h3 class="tsd-anchor-link" id="pagetimeoutms"><code class="tsd-tag">Optional</code><span>page<wbr/>Timeout<wbr/>Ms</span><a href="#pagetimeoutms" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
67
|
+
<div class="tsd-signature"><span class="tsd-kind-property">pageTimeoutMs</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div>
|
|
68
|
+
<div class="tsd-comment tsd-typography"><p>Per-attempt timeout. Defaults to <code>PDF_CONVERT_PAGE_TIMEOUT_MS</code> or 2 minutes.</p>
|
|
69
|
+
</div><aside class="tsd-sources">
|
|
70
|
+
<ul>
|
|
71
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/documents/pdf-conversion.ts#L74">server/src/documents/pdf-conversion.ts:74</a></li></ul></aside></section>
|
|
72
|
+
<section class="tsd-panel tsd-member">
|
|
73
|
+
<h3 class="tsd-anchor-link" id="retrybackoffms"><code class="tsd-tag">Optional</code><span>retry<wbr/>Backoff<wbr/>Ms</span><a href="#retrybackoffms" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
74
|
+
<div class="tsd-signature"><span class="tsd-kind-property">retryBackoffMs</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div>
|
|
75
|
+
<div class="tsd-comment tsd-typography"><p>Base delay for the exponential backoff between attempts. Defaults to 1000ms.</p>
|
|
76
|
+
</div><aside class="tsd-sources">
|
|
77
|
+
<ul>
|
|
78
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/documents/pdf-conversion.ts#L76">server/src/documents/pdf-conversion.ts:76</a></li></ul></aside></section></section></details></div>
|
|
79
|
+
<div class="col-sidebar">
|
|
80
|
+
<div class="page-menu">
|
|
81
|
+
<div class="tsd-navigation settings">
|
|
82
|
+
<details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
83
|
+
<h3>Settings</h3></summary>
|
|
84
|
+
<div class="tsd-accordion-details">
|
|
85
|
+
<div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span>
|
|
86
|
+
<ul id="tsd-filter-options">
|
|
87
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
|
88
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
|
89
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div>
|
|
90
|
+
<div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
|
91
|
+
<details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
92
|
+
<h3>On This Page</h3></summary>
|
|
93
|
+
<div class="tsd-accordion-details">
|
|
94
|
+
<details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary>
|
|
95
|
+
<div><a href="#attempts"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>attempts</span></a><a href="#concurrency"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>concurrency</span></a><a href="#onprogress"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>on<wbr/>Progress</span></a><a href="#pagetimeoutms"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>page<wbr/>Timeout<wbr/>Ms</span></a><a href="#retrybackoffms"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>retry<wbr/>Backoff<wbr/>Ms</span></a></div></details></div></details></div>
|
|
96
|
+
<div class="site-menu">
|
|
97
|
+
<nav id="tsd-sidebar-links" class="tsd-navigation"><a href="https://github.com/your-org/briyah" class="tsd-nav-link">GitHub</a><a href="https://www.npmjs.com/package/briyah" class="tsd-nav-link">npm</a></nav>
|
|
98
|
+
<nav class="tsd-navigation"><a href="../modules.html">Briyah SDK - v2.0.3</a>
|
|
99
|
+
<ul class="tsd-small-nested-navigation" id="tsd-nav-container">
|
|
100
|
+
<li>Loading...</li></ul></nav></div></div></div><footer>
|
|
101
|
+
<p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer>
|
|
102
|
+
<div class="overlay"></div></body></html>
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>PdfConversionResult | Briyah SDK - v2.0.3</title><meta name="description" content="Documentation for Briyah SDK"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar">
|
|
2
|
+
<div class="tsd-toolbar-contents container"><a href="../index.html" class="title">Briyah SDK - v2.0.3</a>
|
|
3
|
+
<div id="tsd-toolbar-links"><a href="https://github.com/your-org/briyah">GitHub</a><a href="https://www.npmjs.com/package/briyah">npm</a></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/>
|
|
4
|
+
<ul role="listbox" id="tsd-search-results"></ul>
|
|
5
|
+
<div id="tsd-search-status" aria-live="polite" aria-atomic="true">
|
|
6
|
+
<div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header>
|
|
7
|
+
<div class="container container-main">
|
|
8
|
+
<div class="col-content">
|
|
9
|
+
<div class="tsd-page-title">
|
|
10
|
+
<ul class="tsd-breadcrumb" aria-label="Breadcrumb">
|
|
11
|
+
<li><a href="" aria-current="page">PdfConversionResult</a></li></ul>
|
|
12
|
+
<h1>Interface PdfConversionResult</h1></div>
|
|
13
|
+
<section class="tsd-panel tsd-comment">
|
|
14
|
+
<div class="tsd-comment tsd-typography"><p>A finished conversion.</p>
|
|
15
|
+
</div></section>
|
|
16
|
+
<div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">PdfConversionResult</span> <span class="tsd-signature-symbol">{</span><br/> <a class="tsd-kind-property" href="#agents">agents</a><span class="tsd-signature-symbol">:</span> <a href="ConversionAgent.html" class="tsd-signature-type tsd-kind-interface">ConversionAgent</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#failedpages">failedPages</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#markdown">markdown</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#pagecount">pageCount</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#pages">pages</a><span class="tsd-signature-symbol">:</span> <a href="PdfPageMarkdown.html" class="tsd-signature-type tsd-kind-interface">PdfPageMarkdown</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#totalcost">totalCost</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></div><aside class="tsd-sources">
|
|
17
|
+
<ul>
|
|
18
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/documents/pdf-conversion.ts#L82">server/src/documents/pdf-conversion.ts:82</a></li></ul></aside>
|
|
19
|
+
<section class="tsd-panel-group tsd-index-group">
|
|
20
|
+
<section class="tsd-panel tsd-index-panel">
|
|
21
|
+
<details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
22
|
+
<h5 class="tsd-index-heading uppercase">Index</h5></summary>
|
|
23
|
+
<div class="tsd-accordion-details">
|
|
24
|
+
<section class="tsd-index-section">
|
|
25
|
+
<h3 class="tsd-index-heading tsd-anchor-link" id="properties">Properties<a href="#properties" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
26
|
+
<div class="tsd-index-list"><a href="#agents" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>agents</span></a>
|
|
27
|
+
<a href="#failedpages" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>failed<wbr/>Pages</span></a>
|
|
28
|
+
<a href="#markdown" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>markdown</span></a>
|
|
29
|
+
<a href="#pagecount" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>page<wbr/>Count</span></a>
|
|
30
|
+
<a href="#pages" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>pages</span></a>
|
|
31
|
+
<a href="#totalcost" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>total<wbr/>Cost</span></a>
|
|
32
|
+
</div></section></div></details></section></section>
|
|
33
|
+
<details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
34
|
+
<h2 class="tsd-anchor-link" id="properties-1">Properties<a href="#properties-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h2></summary>
|
|
35
|
+
<section>
|
|
36
|
+
<section class="tsd-panel tsd-member">
|
|
37
|
+
<h3 class="tsd-anchor-link" id="agents"><span>agents</span><a href="#agents" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
38
|
+
<div class="tsd-signature"><span class="tsd-kind-property">agents</span><span class="tsd-signature-symbol">:</span> <a href="ConversionAgent.html" class="tsd-signature-type tsd-kind-interface">ConversionAgent</a><span class="tsd-signature-symbol">[]</span></div>
|
|
39
|
+
<div class="tsd-comment tsd-typography"><p>Every agent created, so a caller can finish them or bill them.</p>
|
|
40
|
+
</div><aside class="tsd-sources">
|
|
41
|
+
<ul>
|
|
42
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/documents/pdf-conversion.ts#L92">server/src/documents/pdf-conversion.ts:92</a></li></ul></aside></section>
|
|
43
|
+
<section class="tsd-panel tsd-member">
|
|
44
|
+
<h3 class="tsd-anchor-link" id="failedpages"><span>failed<wbr/>Pages</span><a href="#failedpages" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
45
|
+
<div class="tsd-signature"><span class="tsd-kind-property">failedPages</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></div>
|
|
46
|
+
<div class="tsd-comment tsd-typography"><p>The pages that exhausted their attempts, in order. Empty on a clean run.</p>
|
|
47
|
+
</div><aside class="tsd-sources">
|
|
48
|
+
<ul>
|
|
49
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/documents/pdf-conversion.ts#L87">server/src/documents/pdf-conversion.ts:87</a></li></ul></aside></section>
|
|
50
|
+
<section class="tsd-panel tsd-member">
|
|
51
|
+
<h3 class="tsd-anchor-link" id="markdown"><span>markdown</span><a href="#markdown" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
52
|
+
<div class="tsd-signature"><span class="tsd-kind-property">markdown</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
53
|
+
<div class="tsd-comment tsd-typography"><p>Every page concatenated, with <code><!-- Page N --></code> markers and a header.</p>
|
|
54
|
+
</div><aside class="tsd-sources">
|
|
55
|
+
<ul>
|
|
56
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/documents/pdf-conversion.ts#L85">server/src/documents/pdf-conversion.ts:85</a></li></ul></aside></section>
|
|
57
|
+
<section class="tsd-panel tsd-member">
|
|
58
|
+
<h3 class="tsd-anchor-link" id="pagecount"><span>page<wbr/>Count</span><a href="#pagecount" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
59
|
+
<div class="tsd-signature"><span class="tsd-kind-property">pageCount</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
|
|
60
|
+
<ul>
|
|
61
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/documents/pdf-conversion.ts#L88">server/src/documents/pdf-conversion.ts:88</a></li></ul></aside></section>
|
|
62
|
+
<section class="tsd-panel tsd-member">
|
|
63
|
+
<h3 class="tsd-anchor-link" id="pages"><span>pages</span><a href="#pages" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
64
|
+
<div class="tsd-signature"><span class="tsd-kind-property">pages</span><span class="tsd-signature-symbol">:</span> <a href="PdfPageMarkdown.html" class="tsd-signature-type tsd-kind-interface">PdfPageMarkdown</a><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources">
|
|
65
|
+
<ul>
|
|
66
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/documents/pdf-conversion.ts#L83">server/src/documents/pdf-conversion.ts:83</a></li></ul></aside></section>
|
|
67
|
+
<section class="tsd-panel tsd-member">
|
|
68
|
+
<h3 class="tsd-anchor-link" id="totalcost"><span>total<wbr/>Cost</span><a href="#totalcost" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
69
|
+
<div class="tsd-signature"><span class="tsd-kind-property">totalCost</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
|
70
|
+
<div class="tsd-comment tsd-typography"><p>Summed across every page's agent.</p>
|
|
71
|
+
</div><aside class="tsd-sources">
|
|
72
|
+
<ul>
|
|
73
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/documents/pdf-conversion.ts#L90">server/src/documents/pdf-conversion.ts:90</a></li></ul></aside></section></section></details></div>
|
|
74
|
+
<div class="col-sidebar">
|
|
75
|
+
<div class="page-menu">
|
|
76
|
+
<div class="tsd-navigation settings">
|
|
77
|
+
<details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
78
|
+
<h3>Settings</h3></summary>
|
|
79
|
+
<div class="tsd-accordion-details">
|
|
80
|
+
<div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span>
|
|
81
|
+
<ul id="tsd-filter-options">
|
|
82
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
|
83
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
|
84
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div>
|
|
85
|
+
<div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
|
86
|
+
<details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
87
|
+
<h3>On This Page</h3></summary>
|
|
88
|
+
<div class="tsd-accordion-details">
|
|
89
|
+
<details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary>
|
|
90
|
+
<div><a href="#agents"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>agents</span></a><a href="#failedpages"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>failed<wbr/>Pages</span></a><a href="#markdown"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>markdown</span></a><a href="#pagecount"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>page<wbr/>Count</span></a><a href="#pages"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>pages</span></a><a href="#totalcost"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>total<wbr/>Cost</span></a></div></details></div></details></div>
|
|
91
|
+
<div class="site-menu">
|
|
92
|
+
<nav id="tsd-sidebar-links" class="tsd-navigation"><a href="https://github.com/your-org/briyah" class="tsd-nav-link">GitHub</a><a href="https://www.npmjs.com/package/briyah" class="tsd-nav-link">npm</a></nav>
|
|
93
|
+
<nav class="tsd-navigation"><a href="../modules.html">Briyah SDK - v2.0.3</a>
|
|
94
|
+
<ul class="tsd-small-nested-navigation" id="tsd-nav-container">
|
|
95
|
+
<li>Loading...</li></ul></nav></div></div></div><footer>
|
|
96
|
+
<p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer>
|
|
97
|
+
<div class="overlay"></div></body></html>
|