@octostar/platform-types 0.5.37 → 1.0.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.
Files changed (466) hide show
  1. package/dist/action.d.ts +6 -6
  2. package/dist/action.d.ts.map +1 -1
  3. package/dist/ai.d.ts +7 -6
  4. package/dist/ai.d.ts.map +1 -1
  5. package/dist/desktop.d.ts +380 -204
  6. package/dist/desktop.d.ts.map +1 -1
  7. package/dist/desktop.js.map +1 -1
  8. package/dist/docs/assets/highlight.css +14 -14
  9. package/dist/docs/assets/navigation.js +1 -1
  10. package/dist/docs/assets/search.js +1 -1
  11. package/dist/docs/enums/ProcessingStatusCode.html +5 -27
  12. package/dist/docs/enums/SortOrder.html +3 -3
  13. package/dist/docs/enums/WorkspacePermissionValue.html +3 -3
  14. package/dist/docs/functions/imageLabelCandidateAggs.html +5 -0
  15. package/dist/docs/functions/imageLabelCandidateSize.html +3 -0
  16. package/dist/docs/functions/imageLabelCountAggs.html +2 -0
  17. package/dist/docs/functions/imageLabelFamilyOfField.html +2 -0
  18. package/dist/docs/functions/imageLabelMatchClause.html +3 -0
  19. package/dist/docs/functions/imageLabelSourceIncludes.html +2 -0
  20. package/dist/docs/functions/isDefaultTemplate.html +3 -0
  21. package/dist/docs/functions/isDeletedEntity.html +2 -0
  22. package/dist/docs/functions/isWorkspaceFileItem.html +1 -1
  23. package/dist/docs/functions/isWorkspaceRoot.html +2 -0
  24. package/dist/docs/functions/ontologyLabel-1.html +4 -0
  25. package/dist/docs/functions/readImageLabelCandidates.html +2 -0
  26. package/dist/docs/functions/readImageLabelCounts.html +2 -0
  27. package/dist/docs/hierarchy.html +1 -1
  28. package/dist/docs/index.html +2 -3
  29. package/dist/docs/interfaces/AIClient.html +4 -4
  30. package/dist/docs/interfaces/ActionContext.html +4 -5
  31. package/dist/docs/interfaces/BinaryObjectFilterClause.html +3 -3
  32. package/dist/docs/interfaces/BrowseEntry.html +7 -0
  33. package/dist/docs/interfaces/BrowseRequest.html +4 -0
  34. package/dist/docs/interfaces/BrowseResponse.html +5 -0
  35. package/dist/docs/interfaces/ChatMessage.html +6 -6
  36. package/dist/docs/interfaces/Colorful.html +3 -3
  37. package/dist/docs/interfaces/Concept.html +14 -14
  38. package/dist/docs/interfaces/DeleteResponse.html +2 -2
  39. package/dist/docs/interfaces/Desktop.html +199 -122
  40. package/dist/docs/interfaces/DesktopActionContext.html +7 -8
  41. package/dist/docs/interfaces/DesktopSettings.html +6 -6
  42. package/dist/docs/interfaces/DeveloperSettings.html +3 -5
  43. package/dist/docs/interfaces/DownloadOptions.html +2 -2
  44. package/dist/docs/interfaces/EntityUiState.html +2 -2
  45. package/dist/docs/interfaces/FetchOptions.html +4 -4
  46. package/dist/docs/interfaces/FileListResponse.html +2 -2
  47. package/dist/docs/interfaces/FilesAPIClient.html +48 -24
  48. package/dist/docs/interfaces/FragmentRegion.html +6 -0
  49. package/dist/docs/interfaces/FragmentStatusEntry.html +13 -0
  50. package/dist/docs/interfaces/GeocodingResult.html +9 -0
  51. package/dist/docs/interfaces/GetAttachmentOptions.html +5 -5
  52. package/dist/docs/interfaces/IDataTransfer.html +11 -11
  53. package/dist/docs/interfaces/ImageLabelCandidateOptions.html +4 -0
  54. package/dist/docs/interfaces/ImageLabelFamilyFields.html +13 -0
  55. package/dist/docs/interfaces/ImportDestination.html +3 -0
  56. package/dist/docs/interfaces/ImportItem.html +3 -0
  57. package/dist/docs/interfaces/ImportOptions.html +8 -0
  58. package/dist/docs/interfaces/ImportRequest.html +7 -0
  59. package/dist/docs/interfaces/IndexSearchHitSource.html +5 -3
  60. package/dist/docs/interfaces/Inheritance.html +5 -5
  61. package/dist/docs/interfaces/LiveContext.html +11 -11
  62. package/dist/docs/interfaces/MountAccess.html +3 -0
  63. package/dist/docs/interfaces/MountCreate.html +10 -0
  64. package/dist/docs/interfaces/MountGrantCreate.html +3 -0
  65. package/dist/docs/interfaces/MountGrantResponse.html +7 -0
  66. package/dist/docs/interfaces/MountImportCopyResponse.html +4 -0
  67. package/dist/docs/interfaces/MountImportLinkError.html +4 -0
  68. package/dist/docs/interfaces/MountImportLinkResponse.html +5 -0
  69. package/dist/docs/interfaces/MountResponse.html +20 -0
  70. package/dist/docs/interfaces/MountUpdate.html +13 -0
  71. package/dist/docs/interfaces/MoveOptions.html +2 -2
  72. package/dist/docs/interfaces/MoveResponse.html +58 -37
  73. package/dist/docs/interfaces/Ontology.html +110 -53
  74. package/dist/docs/interfaces/OntologyLabel.html +6 -0
  75. package/dist/docs/interfaces/OsAPIClient.html +8 -8
  76. package/dist/docs/interfaces/PeekSourceOptions.html +4 -0
  77. package/dist/docs/interfaces/PerUserCredentialInput.html +5 -0
  78. package/dist/docs/interfaces/PerUserCredentialStatus.html +7 -0
  79. package/dist/docs/interfaces/ProcessingRecursiveStatus.html +27 -0
  80. package/dist/docs/interfaces/ProcessingStatus.html +40 -9
  81. package/dist/docs/interfaces/Property.html +7 -5
  82. package/dist/docs/interfaces/RecordProvider.html +6 -6
  83. package/dist/docs/interfaces/RecordsSourceScope.html +8 -0
  84. package/dist/docs/interfaces/RefObject.html +3 -3
  85. package/dist/docs/interfaces/Relationship.html +22 -20
  86. package/dist/docs/interfaces/ReportApi.html +13 -0
  87. package/dist/docs/interfaces/S3Headers.html +2 -2
  88. package/dist/docs/interfaces/S3UploadResponse.html +2 -2
  89. package/dist/docs/interfaces/SavedSetContent.html +2 -2
  90. package/dist/docs/interfaces/SearchFilter.html +29 -0
  91. package/dist/docs/interfaces/SearchHit.html +11 -0
  92. package/dist/docs/interfaces/SearchInnerHit.html +3 -0
  93. package/dist/docs/interfaces/SearchOptions.html +21 -4
  94. package/dist/docs/interfaces/SearchProps.html +11 -10
  95. package/dist/docs/interfaces/SearchQueryResult.html +5 -0
  96. package/dist/docs/interfaces/SearchXperienceModalProps.html +9 -9
  97. package/dist/docs/interfaces/SearchXperienceProps.html +7 -7
  98. package/dist/docs/interfaces/SemanticBindingOptions.html +8 -0
  99. package/dist/docs/interfaces/SemanticBindingProps.html +8 -6
  100. package/dist/docs/interfaces/SharedCredentialsInput.html +5 -0
  101. package/dist/docs/interfaces/SourceExportError.html +4 -0
  102. package/dist/docs/interfaces/SourceExportRequest.html +8 -0
  103. package/dist/docs/interfaces/SourceExportResponse.html +7 -0
  104. package/dist/docs/interfaces/SourcePeekEntry.html +12 -0
  105. package/dist/docs/interfaces/SourcePeekResponse.html +10 -0
  106. package/dist/docs/interfaces/StreamJsonOptions.html +5 -5
  107. package/dist/docs/interfaces/StreamTextOptions.html +5 -5
  108. package/dist/docs/interfaces/SubscribeOptions.html +4 -0
  109. package/dist/docs/interfaces/TagAttributes.html +7 -7
  110. package/dist/docs/interfaces/TestConnectionRequest.html +12 -0
  111. package/dist/docs/interfaces/TestConnectionResponse.html +4 -0
  112. package/dist/docs/interfaces/UiStateManager.html +2 -2
  113. package/dist/docs/interfaces/UnaryObjectFilterClause.html +3 -3
  114. package/dist/docs/interfaces/UnzipOptions.html +2 -2
  115. package/dist/docs/interfaces/UploadFromUrlError.html +8 -0
  116. package/dist/docs/interfaces/UploadFromUrlRequest.html +6 -0
  117. package/dist/docs/interfaces/UploadFromUrlResponse.html +6 -0
  118. package/dist/docs/interfaces/UploadOptions.html +2 -2
  119. package/dist/docs/interfaces/WorkspaceChangeEmitter.html +7 -7
  120. package/dist/docs/interfaces/WorkspaceItemConfig.html +6 -6
  121. package/dist/docs/interfaces/WorkspaceRecordIdentifier.html +5 -5
  122. package/dist/docs/modules.html +106 -38
  123. package/dist/docs/types/ActionHandler.html +2 -2
  124. package/dist/docs/types/AddCommentParams.html +2 -2
  125. package/dist/docs/types/AddListener.html +2 -2
  126. package/dist/docs/types/AddToReportBlocksInput.html +6 -0
  127. package/dist/docs/types/AddToReportContentSelection.html +2 -0
  128. package/dist/docs/types/AddToReportEntityInput.html +5 -0
  129. package/dist/docs/types/AddToReportInput.html +2 -0
  130. package/dist/docs/types/AddToReportResult.html +2 -0
  131. package/dist/docs/types/ApiErrorResult.html +2 -2
  132. package/dist/docs/types/ApiResult.html +2 -2
  133. package/dist/docs/types/ApiSuccessResult.html +2 -2
  134. package/dist/docs/types/App.html +2 -2
  135. package/dist/docs/types/AppRegistry.html +3 -4
  136. package/dist/docs/types/AppServiceCallOptions.html +2 -2
  137. package/dist/docs/types/AppServiceCallProps.html +2 -2
  138. package/dist/docs/types/AsyncFilter.html +2 -2
  139. package/dist/docs/types/AttachmentResponseType.html +2 -2
  140. package/dist/docs/types/AttachmentType.html +2 -2
  141. package/dist/docs/types/BinaryOperator.html +2 -2
  142. package/dist/docs/types/BrowseKind.html +1 -0
  143. package/dist/docs/types/Callback.html +2 -2
  144. package/dist/docs/types/ChatApiResponse.html +1 -1
  145. package/dist/docs/types/ChatModel.html +2 -2
  146. package/dist/docs/types/CommentWorkspaceItem.html +2 -2
  147. package/dist/docs/types/CommonOptions.html +1 -1
  148. package/dist/docs/types/Comparator.html +2 -2
  149. package/dist/docs/types/ConceptFilter.html +3 -3
  150. package/dist/docs/types/ConceptMap.html +2 -2
  151. package/dist/docs/types/ConceptName.html +1 -1
  152. package/dist/docs/types/ConceptWithParents.html +2 -2
  153. package/dist/docs/types/ConnectedEntity.html +2 -2
  154. package/dist/docs/types/ContextMenuGroup.html +2 -2
  155. package/dist/docs/types/ContextMenuLabels.html +2 -2
  156. package/dist/docs/types/ContextMenuOptions.html +2 -2
  157. package/dist/docs/types/ContextMenuParams.html +2 -2
  158. package/dist/docs/types/ContextMenuRequest.html +2 -2
  159. package/dist/docs/types/CopyOptions.html +2 -2
  160. package/dist/docs/types/CreateEntityFormProps.html +4 -2
  161. package/dist/docs/types/CreateLinkChartFn.html +1 -1
  162. package/dist/docs/types/CreateLinkChartParams.html +1 -1
  163. package/dist/docs/types/CreateRelationsDialogProps.html +2 -2
  164. package/dist/docs/types/CredType.html +1 -0
  165. package/dist/docs/types/CredentialMode.html +1 -0
  166. package/dist/docs/types/CustomEventListener.html +2 -2
  167. package/dist/docs/types/CustomTemplate.html +9 -3
  168. package/dist/docs/types/CustomTemplateIframeProps.html +2 -2
  169. package/dist/docs/types/DataContextType.html +2 -2
  170. package/dist/docs/types/DefaultLiveContextData.html +1 -1
  171. package/dist/docs/types/DefaultTemplate.html +11 -0
  172. package/dist/docs/types/DefaultTemplateProps.html +5 -0
  173. package/dist/docs/types/DeletedEntity.html +3 -0
  174. package/dist/docs/types/DesktopAction.html +2 -2
  175. package/dist/docs/types/DesktopActionFilter.html +2 -2
  176. package/dist/docs/types/DesktopActionMenuItem.html +6 -2
  177. package/dist/docs/types/DesktopActionMenuItemGroup.html +2 -2
  178. package/dist/docs/types/DesktopActionOptions.html +17 -3
  179. package/dist/docs/types/DesktopOpenParams.html +2 -2
  180. package/dist/docs/types/DragEndParams.html +2 -2
  181. package/dist/docs/types/DragStartParams.html +2 -2
  182. package/dist/docs/types/DropZoneRequestFn.html +1 -1
  183. package/dist/docs/types/DropZoneRequestResult.html +1 -1
  184. package/dist/docs/types/EConnection.html +2 -2
  185. package/dist/docs/types/EdgeSpec.html +2 -2
  186. package/dist/docs/types/EmitEventTransformDefinition.html +2 -2
  187. package/dist/docs/types/Entity.html +2 -2
  188. package/dist/docs/types/EntityBase.html +2 -2
  189. package/dist/docs/types/EntityEdge.html +2 -2
  190. package/dist/docs/types/EntityOTM.html +2 -2
  191. package/dist/docs/types/EntityPasteContext.html +2 -2
  192. package/dist/docs/types/EntityRelationshipCount.html +4 -0
  193. package/dist/docs/types/EvalContext.html +1 -1
  194. package/dist/docs/types/EventContextType.html +2 -2
  195. package/dist/docs/types/EventEmitterType.html +2 -2
  196. package/dist/docs/types/EventName.html +2 -2
  197. package/dist/docs/types/EventProducer.html +2 -2
  198. package/dist/docs/types/EventPublisher.html +2 -2
  199. package/dist/docs/types/EventSubscriber.html +2 -2
  200. package/dist/docs/types/EventUnsubscriber.html +2 -2
  201. package/dist/docs/types/ExportOptions.html +2 -2
  202. package/dist/docs/types/ExtractEntitiesOptions.html +2 -2
  203. package/dist/docs/types/ExtrasApi.html +1 -1
  204. package/dist/docs/types/FetchEntityOptions.html +2 -2
  205. package/dist/docs/types/FileCode.html +2 -2
  206. package/dist/docs/types/FileTreeOptions.html +2 -2
  207. package/dist/docs/types/FilterDefinition.html +2 -2
  208. package/dist/docs/types/FilterDefinitions.html +2 -2
  209. package/dist/docs/types/FilterName.html +2 -2
  210. package/dist/docs/types/FilterQuery.html +2 -2
  211. package/dist/docs/types/FilterReference.html +2 -2
  212. package/dist/docs/types/FilterValue.html +2 -2
  213. package/dist/docs/types/FocusListItem.html +2 -2
  214. package/dist/docs/types/FragmentInfo.html +5 -0
  215. package/dist/docs/types/FragmentLocator.html +5 -0
  216. package/dist/docs/types/FragmentResolution.html +2 -0
  217. package/dist/docs/types/GetSystemSettingResponse.html +4 -1
  218. package/dist/docs/types/GraphDataSpec.html +1 -1
  219. package/dist/docs/types/GraphSpec.html +2 -2
  220. package/dist/docs/types/HttpTransformDefinition.html +2 -2
  221. package/dist/docs/types/Icon.html +2 -2
  222. package/dist/docs/types/IconProps.html +2 -2
  223. package/dist/docs/types/IframeTransformDefinition.html +2 -2
  224. package/dist/docs/types/ImageInfo.html +2 -2
  225. package/dist/docs/types/ImageLabelFamily.html +21 -0
  226. package/dist/docs/types/ImportConflictPolicy.html +1 -0
  227. package/dist/docs/types/ImportEntryKind.html +1 -0
  228. package/dist/docs/types/ImportFoldersOptions.html +2 -2
  229. package/dist/docs/types/ImportMode.html +1 -0
  230. package/dist/docs/types/InlineCode.html +2 -2
  231. package/dist/docs/types/JavascriptFileTransformDefinition.html +2 -2
  232. package/dist/docs/types/JavascriptFilterDefinition.html +2 -2
  233. package/dist/docs/types/JavascriptInlineTransformDefinition.html +2 -2
  234. package/dist/docs/types/JavascriptType.html +3 -3
  235. package/dist/docs/types/JobManifest.html +4 -4
  236. package/dist/docs/types/KnownCounts.html +2 -2
  237. package/dist/docs/types/ListByParentFolder.html +1 -1
  238. package/dist/docs/types/ListByPath.html +1 -1
  239. package/dist/docs/types/ListFolderOptions.html +1 -1
  240. package/dist/docs/types/LiveContextAPISetParams.html +1 -1
  241. package/dist/docs/types/LiveContextListener.html +1 -1
  242. package/dist/docs/types/ManifestSecrets.html +1 -1
  243. package/dist/docs/types/MapSettingKey.html +1 -0
  244. package/dist/docs/types/MkdirResponse.html +1 -1
  245. package/dist/docs/types/ModalTemplateProps.html +2 -2
  246. package/dist/docs/types/MountScheme.html +7 -0
  247. package/dist/docs/types/NamedEntityGroup.html +2 -2
  248. package/dist/docs/types/NunjucksFileTransformDefinition.html +2 -2
  249. package/dist/docs/types/NunjucksInlineTransformDefinition.html +2 -2
  250. package/dist/docs/types/NunjucksType.html +3 -3
  251. package/dist/docs/types/OS_CONFIRM_MODAL_RESPONSE.html +2 -2
  252. package/dist/docs/types/OntologyTags.html +2 -2
  253. package/dist/docs/types/OpenNewAIChatOptions.html +17 -0
  254. package/dist/docs/types/OpenReportSummary.html +6 -0
  255. package/dist/docs/types/OsAuditFields.html +2 -2
  256. package/dist/docs/types/OsConfirmProps.html +2 -2
  257. package/dist/docs/types/OsNotification.html +2 -2
  258. package/dist/docs/types/OsProgress.html +11 -3
  259. package/dist/docs/types/OsTag.html +2 -2
  260. package/dist/docs/types/OsWorkspaceEntity.html +2 -2
  261. package/dist/docs/types/OsWorkspacePickerProps.html +2 -2
  262. package/dist/docs/types/PeekSourceTarget.html +4 -0
  263. package/dist/docs/types/Permission.html +2 -2
  264. package/dist/docs/types/Point.html +2 -2
  265. package/dist/docs/types/PrincipalType.html +1 -0
  266. package/dist/docs/types/PromptOptions.html +6 -3
  267. package/dist/docs/types/ProvidedFilterDefinition.html +2 -2
  268. package/dist/docs/types/ProvidedTransformDefinition.html +2 -2
  269. package/dist/docs/types/Query.html +2 -2
  270. package/dist/docs/types/QueryBatchResult.html +2 -2
  271. package/dist/docs/types/QueryDslQueryContainer.html +6 -0
  272. package/dist/docs/types/QueryErrorResult.html +2 -2
  273. package/dist/docs/types/QueryExecutor.html +2 -2
  274. package/dist/docs/types/QueryFilesystemItemsParams.html +16 -0
  275. package/dist/docs/types/QueryObjectFilterClause.html +2 -2
  276. package/dist/docs/types/QueryResponse.html +2 -2
  277. package/dist/docs/types/QueryResult.html +2 -2
  278. package/dist/docs/types/QuerySuccessResult.html +2 -2
  279. package/dist/docs/types/ReactCssProperties.html +2 -2
  280. package/dist/docs/types/ReactNode.html +2 -2
  281. package/dist/docs/types/ReactRef.html +2 -2
  282. package/dist/docs/types/ReasonedBoolean.html +2 -2
  283. package/dist/docs/types/RefCallback.html +2 -2
  284. package/dist/docs/types/RegisteredActionInfo.html +21 -0
  285. package/dist/docs/types/RelationshipCountEntry.html +8 -0
  286. package/dist/docs/types/RelationshipCountResult.html +2 -2
  287. package/dist/docs/types/RelationshipCountState.html +2 -0
  288. package/dist/docs/types/RemoteAppApi.html +1 -1
  289. package/dist/docs/types/RenameTabProps.html +2 -2
  290. package/dist/docs/types/RenderableTemplate.html +11 -0
  291. package/dist/docs/types/ReportTiptapNode.html +4 -0
  292. package/dist/docs/types/RuntimeAppUrlEntity.html +5 -0
  293. package/dist/docs/types/RuntimeAppUrlWorkspaceItem.html +10 -0
  294. package/dist/docs/types/SaveAsModalProps.html +2 -2
  295. package/dist/docs/types/SaveFileOptions.html +2 -2
  296. package/dist/docs/types/SaveOptions.html +2 -3
  297. package/dist/docs/types/SavedTemplate.html +3 -4
  298. package/dist/docs/types/SearchScope.html +9 -0
  299. package/dist/docs/types/SemanticBinding.html +2 -2
  300. package/dist/docs/types/SemanticBindingSpec.html +3 -0
  301. package/dist/docs/types/SemanticBindingType.html +2 -2
  302. package/dist/docs/types/SemanticBindings.html +3 -2
  303. package/dist/docs/types/SemanticallyBoundApp.html +2 -2
  304. package/dist/docs/types/SemanticallyBoundFilterDefinition.html +2 -2
  305. package/dist/docs/types/SendQueryOptions.html +2 -2
  306. package/dist/docs/types/ServiceDefinition.html +2 -2
  307. package/dist/docs/types/ServiceDefinitions.html +2 -2
  308. package/dist/docs/types/ServiceRole.html +2 -2
  309. package/dist/docs/types/SetTransformResultFn.html +1 -1
  310. package/dist/docs/types/SetsOptions.html +7 -16
  311. package/dist/docs/types/SetsSortBy.html +1 -0
  312. package/dist/docs/types/ShowOntology.html +2 -2
  313. package/dist/docs/types/ShowTabProps.html +2 -2
  314. package/dist/docs/types/SubscribeDragStartFn.html +1 -1
  315. package/dist/docs/types/SubscribeToContextFn.html +1 -1
  316. package/dist/docs/types/Tag.html +2 -2
  317. package/dist/docs/types/TagInfo.html +2 -2
  318. package/dist/docs/types/TagWithRelationship.html +2 -2
  319. package/dist/docs/types/TaskCleanupReason.html +2 -2
  320. package/dist/docs/types/TemplateMetadata.html +3 -3
  321. package/dist/docs/types/TemplateType.html +2 -2
  322. package/dist/docs/types/TemplateVariant.html +2 -2
  323. package/dist/docs/types/TestOutcome.html +2 -0
  324. package/dist/docs/types/TransformAction.html +2 -2
  325. package/dist/docs/types/TransformActionContext.html +2 -2
  326. package/dist/docs/types/TransformDefinition.html +2 -2
  327. package/dist/docs/types/TransformDefinitions.html +2 -2
  328. package/dist/docs/types/Unsubscribe.html +2 -2
  329. package/dist/docs/types/UnsubscribeFn.html +1 -1
  330. package/dist/docs/types/UnsubscribeFromContextFn.html +1 -1
  331. package/dist/docs/types/UnsubscribeFromDragStartFn.html +1 -1
  332. package/dist/docs/types/UploadFromUrlErrorCode.html +4 -0
  333. package/dist/docs/types/UserProfile.html +2 -2
  334. package/dist/docs/types/VirtualEntity.html +2 -2
  335. package/dist/docs/types/Whoami.html +3 -3
  336. package/dist/docs/types/WithProgressBarOptions.html +2 -2
  337. package/dist/docs/types/WorkspaceConfig.html +5 -3
  338. package/dist/docs/types/WorkspaceFlags.html +2 -2
  339. package/dist/docs/types/WorkspaceIdentifier.html +2 -2
  340. package/dist/docs/types/WorkspaceItem.html +21 -2
  341. package/dist/docs/types/WorkspaceItemBase.html +2 -2
  342. package/dist/docs/types/WorkspaceItemDocumentFields.html +1 -1
  343. package/dist/docs/types/WorkspaceItemIdentifier.html +2 -2
  344. package/dist/docs/types/WorkspaceItemModel.html +4 -12
  345. package/dist/docs/types/WorkspaceItemTitleProps.html +3 -3
  346. package/dist/docs/types/WorkspacePermission.html +2 -2
  347. package/dist/docs/types/WorkspaceRecord.html +2 -2
  348. package/dist/docs/types/WorkspaceRecordWithRelationships.html +2 -2
  349. package/dist/docs/types/WorkspaceRelationship.html +3 -2
  350. package/dist/docs/types/WorkspaceSettings.html +2 -2
  351. package/dist/docs/types/trigger.html +2 -2
  352. package/dist/docs/types/uuid.html +2 -2
  353. package/dist/docs/variables/HEAVY_ANNOTATION_FIELDS.html +17 -0
  354. package/dist/docs/variables/IMAGE_LABEL_FAMILIES.html +1 -0
  355. package/dist/docs/variables/IMAGE_LABEL_FIELDS.html +1 -0
  356. package/dist/docs/variables/IMAGE_LABEL_SOURCE_INCLUDES.html +2 -0
  357. package/dist/docs/variables/MAP_SETTINGS_KEYS.html +9 -0
  358. package/dist/docs/variables/ORIGINAL_OS_PARENT_FOLDER.html +1 -1
  359. package/dist/docs/variables/OS_CONFIRM_MODAL_CANCEL.html +2 -2
  360. package/dist/docs/variables/OS_CONFIRM_MODAL_NO.html +2 -2
  361. package/dist/docs/variables/OS_CONFIRM_MODAL_YES.html +2 -2
  362. package/dist/docs/variables/VECTOR_SENTINEL_LABELS.html +4 -0
  363. package/dist/extras.d.ts +0 -1
  364. package/dist/extras.d.ts.map +1 -1
  365. package/dist/files.d.ts +141 -1
  366. package/dist/files.d.ts.map +1 -1
  367. package/dist/files.js.map +1 -1
  368. package/dist/fragmentLocator.d.ts +31 -0
  369. package/dist/fragmentLocator.d.ts.map +1 -0
  370. package/dist/fragmentLocator.js +2 -0
  371. package/dist/fragmentLocator.js.map +1 -0
  372. package/dist/imageLabels.d.ts +84 -0
  373. package/dist/imageLabels.d.ts.map +1 -0
  374. package/dist/imageLabels.js +148 -0
  375. package/dist/imageLabels.js.map +1 -0
  376. package/dist/index.d.ts +6 -3
  377. package/dist/index.d.ts.map +1 -1
  378. package/dist/index.js +6 -3
  379. package/dist/index.js.map +1 -1
  380. package/dist/indexSearch.d.ts +18 -0
  381. package/dist/indexSearch.d.ts.map +1 -1
  382. package/dist/jobManifestTypes.d.ts +5 -25
  383. package/dist/jobManifestTypes.d.ts.map +1 -1
  384. package/dist/mapSettings.d.ts +17 -0
  385. package/dist/mapSettings.d.ts.map +1 -0
  386. package/dist/mapSettings.js +16 -0
  387. package/dist/mapSettings.js.map +1 -0
  388. package/dist/model.d.ts +215 -71
  389. package/dist/model.d.ts.map +1 -1
  390. package/dist/model.js +44 -25
  391. package/dist/model.js.map +1 -1
  392. package/dist/mounts.d.ts +184 -0
  393. package/dist/mounts.d.ts.map +1 -0
  394. package/dist/mounts.js +11 -0
  395. package/dist/mounts.js.map +1 -0
  396. package/dist/ontology.d.ts +148 -8
  397. package/dist/ontology.d.ts.map +1 -1
  398. package/dist/platform-types.d.ts +1692 -663
  399. package/dist/report.d.ts +112 -0
  400. package/dist/report.d.ts.map +1 -0
  401. package/dist/report.js +2 -0
  402. package/dist/report.js.map +1 -0
  403. package/dist/savedSet.d.ts +5 -0
  404. package/dist/savedSet.d.ts.map +1 -0
  405. package/dist/savedSet.js +2 -0
  406. package/dist/savedSet.js.map +1 -0
  407. package/dist/search.d.ts +140 -3
  408. package/dist/search.d.ts.map +1 -1
  409. package/dist/search.js +32 -1
  410. package/dist/search.js.map +1 -1
  411. package/dist/semantic.d.ts +24 -5
  412. package/dist/semantic.d.ts.map +1 -1
  413. package/dist/templates.d.ts +63 -5
  414. package/dist/templates.d.ts.map +1 -1
  415. package/dist/templates.js +8 -1
  416. package/dist/templates.js.map +1 -1
  417. package/dist/workspace.d.ts +25 -41
  418. package/dist/workspace.d.ts.map +1 -1
  419. package/dist/workspace.js.map +1 -1
  420. package/package.json +6 -20
  421. package/dist/behaviour.d.ts +0 -45
  422. package/dist/behaviour.d.ts.map +0 -1
  423. package/dist/behaviour.js +0 -14
  424. package/dist/behaviour.js.map +0 -1
  425. package/dist/docs/interfaces/ChartDataResponseResult.html +0 -20
  426. package/dist/docs/interfaces/NativeFilterColumn.html +0 -3
  427. package/dist/docs/interfaces/NativeFilterScope.html +0 -3
  428. package/dist/docs/interfaces/NativeFilterTarget.html +0 -3
  429. package/dist/docs/interfaces/RecordData.html +0 -20
  430. package/dist/docs/interfaces/SavedDatasource.html +0 -7
  431. package/dist/docs/interfaces/SavedSearchAPIInterface.html +0 -6
  432. package/dist/docs/interfaces/SavedSearchContent.html +0 -7
  433. package/dist/docs/interfaces/StylerContext.html +0 -21
  434. package/dist/docs/types/Behaviour.html +0 -17
  435. package/dist/docs/types/DataMask.html +0 -1
  436. package/dist/docs/types/DesktopStylerContext.html +0 -4
  437. package/dist/docs/types/DraftWorkspaceItem.html +0 -3
  438. package/dist/docs/types/Filter.html +0 -1
  439. package/dist/docs/types/FilterState.html +0 -1
  440. package/dist/docs/types/FolderPasteOptions.html +0 -5
  441. package/dist/docs/types/JavascriptFileStylerDefinition.html +0 -2
  442. package/dist/docs/types/JavascriptInlineStylerDefinition.html +0 -2
  443. package/dist/docs/types/PasteContextOptions.html +0 -8
  444. package/dist/docs/types/RecordFetchOptions.html +0 -1
  445. package/dist/docs/types/SearchFilter.html +0 -2
  446. package/dist/docs/types/Styler.html +0 -19
  447. package/dist/docs/types/StylerConfig.html +0 -6
  448. package/dist/docs/types/StylerDefinition.html +0 -2
  449. package/dist/docs/types/StylerDefinitions.html +0 -2
  450. package/dist/docs/types/StylerOption.html +0 -4
  451. package/dist/docs/types/StylerProducer.html +0 -4
  452. package/dist/docs/types/Watcher.html +0 -11
  453. package/dist/docs/types/Workspace.html +0 -8
  454. package/dist/docs/types/WorkspaceItems.html +0 -2
  455. package/dist/docs/types/WorkspaceRecordInfo.html +0 -6
  456. package/dist/docs/types/WorkspaceRecords.html +0 -2
  457. package/dist/docs/variables/SAVED_SEARCH_MESSAGE_TYPES.html +0 -1
  458. package/dist/docs/variables/SAVED_SEARCH_PREFIX.html +0 -1
  459. package/dist/savedSearch.d.ts +0 -128
  460. package/dist/savedSearch.d.ts.map +0 -1
  461. package/dist/savedSearch.js +0 -16
  462. package/dist/savedSearch.js.map +0 -1
  463. package/dist/styling.d.ts +0 -100
  464. package/dist/styling.d.ts.map +0 -1
  465. package/dist/styling.js +0 -2
  466. package/dist/styling.js.map +0 -1
@@ -0,0 +1,184 @@
1
+ /**
2
+ * Mounts API DTOs (`/api/v2/mounts`, octostar-api #774 + #785).
3
+ *
4
+ * The request/response shapes for the Mounts admin + per-user-credential API.
5
+ * These live in the published SDK surface so any app (the admin UI, a future
6
+ * data explorer, …) consumes one shared vocabulary rather than redeclaring it.
7
+ * App-internal concerns — the typed fetch client, its error class, friendly-copy
8
+ * mapping — stay in the consuming app (`apps/octostar/src/lib/mountsApi.ts`).
9
+ */
10
+ export type MountScheme = 'smb';
11
+ export type CredentialMode = 'shared' | 'per_user' | 'either';
12
+ export type CredType = 'password';
13
+ export interface SharedCredentialsInput {
14
+ cred_type?: CredType;
15
+ username: string;
16
+ password: string;
17
+ domain?: string | null;
18
+ }
19
+ export interface MountCreate {
20
+ name: string;
21
+ description?: string | null;
22
+ scheme: MountScheme;
23
+ host: string;
24
+ port?: number | null;
25
+ share?: string | null;
26
+ base_path?: string;
27
+ credential_mode: CredentialMode;
28
+ shared_credentials?: SharedCredentialsInput;
29
+ }
30
+ /**
31
+ * PATCH body. Every field is optional, but `name`, `enabled`, `base_path` and
32
+ * `credential_mode` may NOT be sent as explicit `null` (omit to leave
33
+ * unchanged) — the backend returns 422 for an explicit null. `scheme`/`host`
34
+ * are immutable and are not part of this body.
35
+ */
36
+ export interface MountUpdate {
37
+ name?: string;
38
+ description?: string | null;
39
+ enabled?: boolean;
40
+ port?: number | null;
41
+ share?: string | null;
42
+ base_path?: string;
43
+ credential_mode?: CredentialMode;
44
+ shared_credentials?: SharedCredentialsInput;
45
+ }
46
+ export interface MountAccess {
47
+ is_admin: boolean;
48
+ has_use_grant: boolean;
49
+ }
50
+ export interface MountResponse {
51
+ id: string;
52
+ name: string;
53
+ description: string | null;
54
+ scheme: MountScheme;
55
+ enabled: boolean;
56
+ host: string;
57
+ port: number | null;
58
+ share: string | null;
59
+ base_path: string;
60
+ credential_mode: CredentialMode;
61
+ cred_type: CredType;
62
+ shared_credentials_set: boolean;
63
+ credentials_required: boolean;
64
+ last_validation_outcome: string | null;
65
+ last_validated_at: string | null;
66
+ created_by: string;
67
+ created_at: string;
68
+ last_updated_at: string;
69
+ my_access: MountAccess | null;
70
+ }
71
+ export type PrincipalType = 'user' | 'role';
72
+ export interface MountGrantCreate {
73
+ principal_type: PrincipalType;
74
+ principal_id: string;
75
+ }
76
+ export interface MountGrantResponse {
77
+ id: string;
78
+ mount_id: string;
79
+ principal_type: PrincipalType;
80
+ principal_id: string;
81
+ granted_by: string;
82
+ created_at: string;
83
+ }
84
+ /** Write-only credential blob a user PUTs for their own per-user access. */
85
+ export interface PerUserCredentialInput {
86
+ username: string;
87
+ password: string;
88
+ domain?: string | null;
89
+ }
90
+ /** Metadata-only status of a user's saved per-user credential — never the secret. */
91
+ export interface PerUserCredentialStatus {
92
+ set: boolean;
93
+ cred_type: CredType | null;
94
+ created_at: string | null;
95
+ last_updated_at: string | null;
96
+ last_used_at: string | null;
97
+ }
98
+ /** Closed set of test-connection outcomes from the SMB handler. */
99
+ export type TestOutcome = 'ok' | 'auth_failed' | 'network_error' | 'permission_denied' | 'not_found';
100
+ /**
101
+ * Test-connection body. All fields optional: an empty body tests the SAVED
102
+ * mount config. The override fields let an admin dry-run UNSAVED form edits
103
+ * before persisting them (octostar-api #785) — their shapes mirror the
104
+ * corresponding {@link MountCreate} / {@link MountUpdate} fields.
105
+ */
106
+ export interface TestConnectionRequest {
107
+ credentials_override?: PerUserCredentialInput;
108
+ host?: string;
109
+ port?: number | null;
110
+ share?: string;
111
+ base_path?: string;
112
+ scheme?: MountScheme;
113
+ credential_mode?: CredentialMode;
114
+ }
115
+ export interface TestConnectionResponse {
116
+ outcome: TestOutcome;
117
+ latency_ms?: number | null;
118
+ details?: string | null;
119
+ }
120
+ export type BrowseKind = 'file' | 'directory' | 'any';
121
+ export interface BrowseRequest {
122
+ path?: string;
123
+ kind?: BrowseKind;
124
+ limit?: number;
125
+ }
126
+ export interface BrowseEntry {
127
+ id: string;
128
+ name: string;
129
+ kind: 'file' | 'directory';
130
+ size?: number | null;
131
+ modified_at?: string | null;
132
+ content_type_hint?: string | null;
133
+ }
134
+ export interface BrowseResponse {
135
+ path: string;
136
+ entries: BrowseEntry[];
137
+ truncated: boolean;
138
+ next_cursor?: string | null;
139
+ }
140
+ export type ImportMode = 'copy' | 'link';
141
+ export type ImportEntryKind = 'file' | 'directory';
142
+ export type ImportConflictPolicy = 'rename' | 'skip' | 'overwrite';
143
+ export interface ImportItem {
144
+ path: string;
145
+ kind: ImportEntryKind;
146
+ }
147
+ export interface ImportOptions {
148
+ /** `copy` streams bytes into S3 (durable); `link` references the mount live. */
149
+ mode?: ImportMode;
150
+ recursive?: boolean;
151
+ max_total_bytes?: number | null;
152
+ max_files?: number | null;
153
+ on_conflict?: ImportConflictPolicy;
154
+ preserve_modified_at?: boolean;
155
+ }
156
+ export interface ImportDestination {
157
+ /** Parent folder entity UUID; null = workspace root. */
158
+ os_parent_folder?: string | null;
159
+ }
160
+ export interface ImportRequest {
161
+ os_workspace: string;
162
+ destination?: ImportDestination;
163
+ items: ImportItem[];
164
+ options?: ImportOptions;
165
+ /** Idempotency key (copy mode). A retry with the same id returns the existing task. */
166
+ tracking_id?: string | null;
167
+ }
168
+ /** One per-entry failure from a `link` import that did not abort the batch. */
169
+ export interface MountImportLinkError {
170
+ path: string;
171
+ reason: string;
172
+ }
173
+ /** Synchronous result of a `mode="link"` import (HTTP 200). */
174
+ export interface MountImportLinkResponse {
175
+ created_folder_ids: string[];
176
+ created_file_ids: string[];
177
+ errors: MountImportLinkError[];
178
+ }
179
+ /** Async result of a `mode="copy"` import (HTTP 202) — poll the task by tracking_id. */
180
+ export interface MountImportCopyResponse {
181
+ tracking_id: string;
182
+ status_url: string;
183
+ }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,oBAAoB;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,+DAA+D;AAC/D,MAAM,WAAW,uBAAuB;IACtC,kBAAkB,EAAE,MAAM,EAAE,CAAC;IAC7B,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAC3B,MAAM,EAAE,oBAAoB,EAAE,CAAC;CAChC;AAED,wFAAwF;AACxF,MAAM,WAAW,uBAAuB;IACtC,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;CACpB"}
package/dist/mounts.js ADDED
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Mounts API DTOs (`/api/v2/mounts`, octostar-api #774 + #785).
3
+ *
4
+ * The request/response shapes for the Mounts admin + per-user-credential API.
5
+ * These live in the published SDK surface so any app (the admin UI, a future
6
+ * data explorer, …) consumes one shared vocabulary rather than redeclaring it.
7
+ * App-internal concerns — the typed fetch client, its error class, friendly-copy
8
+ * mapping — stay in the consuming app (`apps/octostar/src/lib/mountsApi.ts`).
9
+ */
10
+ export {};
11
+ //# sourceMappingURL=mounts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mounts.js","sourceRoot":"","sources":["../src/mounts.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG"}
@@ -1,6 +1,6 @@
1
1
  import type { Callback, Unsubscribe } from './callback';
2
2
  import type { EConnection, EntityEdge } from './graph';
3
- import type { Concept, Entity, Inheritance, Relationship, WorkspaceItem, WorkspaceRelationship } from './model';
3
+ import type { Concept, Entity, EntityBase, Inheritance, Relationship, WorkspaceItem, WorkspaceRelationship } from './model';
4
4
  import type { QueryResponse, SendQueryOptions } from './query';
5
5
  /**
6
6
  * @beta
@@ -12,6 +12,47 @@ export type RelationshipCountResult = {
12
12
  /** Whether the count is expired. */
13
13
  expired?: boolean;
14
14
  };
15
+ /**
16
+ * @beta
17
+ * Type representing how complete a relationship count is.
18
+ */
19
+ export type RelationshipCountState = 'ok' | 'partial' | 'unknown';
20
+ /**
21
+ * @beta
22
+ * Type representing a relationship count together with its completeness.
23
+ */
24
+ export type RelationshipCountEntry = {
25
+ /** The count, `null` if and only if `state` is `'unknown'`. */
26
+ value: number | null;
27
+ /** How complete the count is. */
28
+ state: RelationshipCountState;
29
+ /** How the count was derived. */
30
+ precision?: string;
31
+ /** The part of the count contributed by workspace-local relationships. */
32
+ workspace_value?: number;
33
+ /** The guaranteed lower bound of the count. */
34
+ at_least: number;
35
+ /** Stored records behind `value`; `null` when `value` is, absent from servers that predate it. */
36
+ record_count?: number | null;
37
+ };
38
+ /**
39
+ * @beta
40
+ * Type pairing one of an entity's relationships with its count.
41
+ */
42
+ export type EntityRelationshipCount = {
43
+ /** The relationship the count belongs to. */
44
+ relationship: Relationship;
45
+ /** The count of the relationship. */
46
+ count: RelationshipCountEntry;
47
+ };
48
+ /**
49
+ * @beta
50
+ * Options for {@link Ontology.subscribe}.
51
+ */
52
+ export interface SubscribeOptions {
53
+ /** Skip notices that are not content changes: processing status, the `#active` flag and entity reads. */
54
+ contentOnly?: boolean;
55
+ }
15
56
  /**
16
57
  * @beta
17
58
  * Interface representing ontology operations.
@@ -30,11 +71,77 @@ export interface Ontology {
30
71
  getAvailableOntologies: () => Promise<string[]>;
31
72
  /**
32
73
  * Gets workspace relationship records for a given entity and relationship.
74
+ *
75
+ * When `pagination` is omitted the call uses the batched LRU and returns
76
+ * all rows (subject to `CONNECTIONS_QUERY_CAP_PER_ENTITY`). When provided,
77
+ * the call bypasses the cache and issues a single-entity targeted SQL with
78
+ * `ORDER BY os_entity_uid LIMIT/OFFSET` — used for progressive expansion
79
+ * on hyper-connected entities.
80
+ *
33
81
  * @param entity - The entity for which to get relationship records.
34
82
  * @param rel - The relationship or relationship name.
83
+ * @param pagination - Optional `{ limit, offset }`. When set, bypasses cache.
35
84
  * @returns A promise that resolves to an array of workspace relationships.
36
85
  */
37
- getWorkspaceRelationshipRecords: (entity: Entity, rel: string | Relationship) => Promise<WorkspaceRelationship[]>;
86
+ getWorkspaceRelationshipRecords: (entity: Entity, rel: string | Relationship, pagination?: {
87
+ limit: number;
88
+ offset: number;
89
+ }) => Promise<WorkspaceRelationship[]>;
90
+ /**
91
+ * Paginated counterpart to {@link Ontology.getConnectedEntities}. Pulls one
92
+ * page using local-first → bigData spillover and returns `total` so the
93
+ * caller can drive a "Load more" affordance without a separate count call.
94
+ *
95
+ * @param entity - The entity for which to get connected entities.
96
+ * @param rel - The relationship or relationship name.
97
+ * @param pagination - `{ limit, offset }` for the page.
98
+ * @returns A promise resolving to `{ entities, total, hasMore }`.
99
+ */
100
+ getConnectedEntitiesPage: (entity: Entity, rel: string | Relationship, pagination: {
101
+ limit: number;
102
+ offset: number;
103
+ }) => Promise<{
104
+ entities: Entity[];
105
+ total: number;
106
+ hasMore: boolean;
107
+ }>;
108
+ /**
109
+ * @beta
110
+ * Edge-stream counterpart to {@link Ontology.getConnectedEntitiesPage}. Pages
111
+ * over a single `projection=edge` stream whose rows carry their target entity,
112
+ * so no per-entity fetch follows.
113
+ *
114
+ * @param entity - The entity for which to get connected entities.
115
+ * @param rel - The relationship or relationship name.
116
+ * @param pagination - `{ limit, offset }` for the page.
117
+ * @param knownTotal - Count the caller already holds, reported back as `total`.
118
+ * @returns A promise resolving to `{ entities, total, hasMore }`.
119
+ */
120
+ getConnectedEntitiesPageFromEdgeQuery: (entity: Entity, rel: string | Relationship, pagination: {
121
+ limit: number;
122
+ offset: number;
123
+ }, knownTotal: number) => Promise<{
124
+ entities: Entity[];
125
+ total: number;
126
+ hasMore: boolean;
127
+ }>;
128
+ /**
129
+ * @beta
130
+ * Batched edge-endpoint counterpart to {@link Ontology.getConnectedEntities},
131
+ * scoped to the Positions-map full-relationship sweep. Fetches every name in
132
+ * `relationshipNames` for `entity` in one batched request, grouping results
133
+ * by relationship name, instead of one request per relationship.
134
+ *
135
+ * Keyed by the names actually fetched: a name that is unknown or hidden by
136
+ * the relationship mapping is absent, so read it as `result[name] ?? []`.
137
+ *
138
+ * @param entity - The entity for which to get connected entities.
139
+ * @param relationshipNames - The relationship names to fetch, in one batch.
140
+ * @returns A promise resolving to an object keyed by relationship name. Plain
141
+ * object rather than a `Map` so it survives the post-robot bridge that serves
142
+ * embedded apps.
143
+ */
144
+ getConnectedEntitiesForRelationships: (entity: Entity, relationshipNames: string[]) => Promise<Record<string, Entity[]>>;
38
145
  /**
39
146
  * Clears the relationship cache for a given entity and relationship.
40
147
  * @param entity - The entity for which to clear the cache.
@@ -48,16 +155,29 @@ export interface Ontology {
48
155
  * @param entity - The entity for which to get connected entities.
49
156
  * @param relationship - The relationship or relationship name.
50
157
  * @param forceRefresh - Whether to force a refresh of the data.
158
+ * @param inverse - Whether to resolve the relationship in the inverse direction.
51
159
  * @returns A promise that resolves to an array of connected entities.
52
160
  */
53
- getConnectedEntities: <T extends Entity>(entity: Entity, relationship: Relationship | string, forceRefresh?: boolean) => Promise<T[]>;
161
+ getConnectedEntities: <T extends Entity>(entity: Entity, relationship: Relationship | string, forceRefresh?: boolean, inverse?: boolean) => Promise<T[]>;
54
162
  /**
55
163
  * Gets connections by type for a given entity and concept.
164
+ *
165
+ * The underlying SQL is capped at `CONNECTIONS_QUERY_CAP` rows to prevent
166
+ * the backend from materialising hyper-connected entities' relationships
167
+ * (which would OOM the FastAPI pod). When the cap is hit, `truncated` is
168
+ * `true` and `connections` contains the first `CONNECTIONS_QUERY_CAP`
169
+ * entries; consumers should surface a "showing first N" notice and
170
+ * direct users to filter via Search.
171
+ *
56
172
  * @param entity - The entity for which to get connections.
57
173
  * @param concept - The concept for which to get connections.
58
- * @returns A promise that resolves to an array of connections.
174
+ * @param handler - Optional callback invoked with the (possibly truncated) connection list.
175
+ * @returns A promise that resolves to the connections and whether the result was truncated.
59
176
  */
60
- getConnectionsByType: <T extends Entity>(entity: Entity, concept: string, handler?: (connections: EConnection[]) => Promise<void>) => Promise<EConnection[]>;
177
+ getConnectionsByType: (entity: Entity, concept: string, handler?: (connections: EConnection[]) => Promise<void>) => Promise<{
178
+ connections: EConnection[];
179
+ truncated: boolean;
180
+ }>;
61
181
  /**
62
182
  * Gets the concept names.
63
183
  * @returns A promise that resolves to an array concept names.
@@ -105,6 +225,19 @@ export interface Ontology {
105
225
  * @returns A promise that resolves to either the actual entity data OR the input entity if not found.
106
226
  */
107
227
  getEntity: <T extends Entity>(e: Entity, refresh?: boolean, skipSideEffects?: boolean) => Promise<T>;
228
+ /**
229
+ * Resolves an entity to its stored ontology record, or `undefined` if it
230
+ * does not exist in the database.
231
+ *
232
+ * Unlike {@link getEntity} — which echoes its input back unchanged on a
233
+ * miss — this distinguishes "found" from "not found" by tagging the probe
234
+ * with a `'#original'` flag that only survives the round trip when the
235
+ * entity was not persisted.
236
+ *
237
+ * @param entity - The entity to resolve (only `entity_type` / `entity_id` are required).
238
+ * @returns The stored entity, or `undefined` if it was not found.
239
+ */
240
+ findEntity: <T extends Entity = Entity>(entity: EntityBase) => Promise<T | undefined>;
108
241
  /**
109
242
  * Gets the name of the ontology.
110
243
  * @returns A promise that resolves to the name of the ontology.
@@ -118,6 +251,13 @@ export interface Ontology {
118
251
  * @returns A promise that resolves to the relationship count result.
119
252
  */
120
253
  getRelationshipCount: (entity: Entity, rel: Relationship | string, forceRefresh?: boolean) => Promise<RelationshipCountResult>;
254
+ /**
255
+ * Gets the counts of every relationship of a given entity in a single request.
256
+ * @param entity - The entity for which to get the relationship counts.
257
+ * @param forceRefresh - Whether to force a refresh of the data.
258
+ * @returns A promise that resolves to one count per relationship of the entity.
259
+ */
260
+ getEntityRelationshipCounts: (entity: Entity, forceRefresh?: boolean) => Promise<EntityRelationshipCount[]>;
121
261
  /**
122
262
  * Gets the concept for a given entity.
123
263
  * @param entity - The entity for which to get the concept.
@@ -147,10 +287,9 @@ export interface Ontology {
147
287
  * Sends a query with a typed response.
148
288
  * @param query - The query string.
149
289
  * @param options - Optional options for sending the query.
150
- * @param force_refresh - Whether to force a refresh of the data.
151
290
  * @returns A promise that resolves to an array of results.
152
291
  */
153
- sendQueryT: <T>(query: string, options?: SendQueryOptions, force_refresh?: boolean) => Promise<T[]>;
292
+ sendQueryT: <T>(query: string, options?: SendQueryOptions) => Promise<T[]>;
154
293
  /**
155
294
  * Gets the system inheritance.
156
295
  * @returns A promise that resolves to an array of inheritances.
@@ -177,9 +316,10 @@ export interface Ontology {
177
316
  * @param entity - The entity to subscribe to.
178
317
  * @param callback - The callback to invoke on changes.
179
318
  * @param skipInitialCallback - Whether to skip the initial callback.
319
+ * @param options - Which notices to receive; by default every notice for the entity.
180
320
  * @returns A promise that resolves to an unsubscribe function.
181
321
  */
182
- subscribe: <T>(entity: Entity, callback: Callback<T>, skipInitialCallback?: boolean) => Promise<Unsubscribe>;
322
+ subscribe: <T>(entity: Entity, callback: Callback<T>, skipInitialCallback?: boolean, options?: SubscribeOptions) => Promise<Unsubscribe>;
183
323
  /**
184
324
  * Generates a consistent UUID.
185
325
  * @param name - The name for which to generate the UUID.
@@ -1 +1 @@
1
- {"version":3,"file":"ontology.d.ts","sourceRoot":"","sources":["../src/ontology.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AACxD,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACvD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,YAAY,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAChH,OAAO,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE/D;;;GAGG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC,sCAAsC;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,oCAAoC;IACpC,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF;;;GAGG;AACH,MAAM,WAAW,QAAQ;IACvB;;;;OAIG;IACH,aAAa,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK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