@octostar/platform-types 0.5.36 → 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 (467) 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 +384 -234
  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 +200 -125
  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 -39
  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 +1680 -678
  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/ImportZipOptions.html +0 -6
  442. package/dist/docs/types/JavascriptFileStylerDefinition.html +0 -2
  443. package/dist/docs/types/JavascriptInlineStylerDefinition.html +0 -2
  444. package/dist/docs/types/PasteContextOptions.html +0 -8
  445. package/dist/docs/types/RecordFetchOptions.html +0 -1
  446. package/dist/docs/types/SearchFilter.html +0 -2
  447. package/dist/docs/types/Styler.html +0 -19
  448. package/dist/docs/types/StylerConfig.html +0 -6
  449. package/dist/docs/types/StylerDefinition.html +0 -2
  450. package/dist/docs/types/StylerDefinitions.html +0 -2
  451. package/dist/docs/types/StylerOption.html +0 -4
  452. package/dist/docs/types/StylerProducer.html +0 -4
  453. package/dist/docs/types/Watcher.html +0 -11
  454. package/dist/docs/types/Workspace.html +0 -8
  455. package/dist/docs/types/WorkspaceItems.html +0 -2
  456. package/dist/docs/types/WorkspaceRecordInfo.html +0 -6
  457. package/dist/docs/types/WorkspaceRecords.html +0 -2
  458. package/dist/docs/variables/SAVED_SEARCH_MESSAGE_TYPES.html +0 -1
  459. package/dist/docs/variables/SAVED_SEARCH_PREFIX.html +0 -1
  460. package/dist/savedSearch.d.ts +0 -128
  461. package/dist/savedSearch.d.ts.map +0 -1
  462. package/dist/savedSearch.js +0 -16
  463. package/dist/savedSearch.js.map +0 -1
  464. package/dist/styling.d.ts +0 -100
  465. package/dist/styling.d.ts.map +0 -1
  466. package/dist/styling.js +0 -2
  467. package/dist/styling.js.map +0 -1
package/dist/desktop.d.ts CHANGED
@@ -1,15 +1,13 @@
1
1
  import type { TabNode } from 'flexlayout-react';
2
2
  import type { ButtonProps } from 'antd';
3
3
  import type { AddListener, Unsubscribe } from './callback';
4
- import type { WorkspaceItem, Entity, WorkspaceItemModel, WorkspaceRecordIdentifier, OsWorkspaceEntity, Relationship, OsTag, TagAttributes, ConceptFilter, FocusListItem, Concept, EntityBase } from './model';
5
- import type { TagWithRelationship, Workspace, WorkspaceChangeEmitter, WorkspaceIdentifier, WorkspacePermission, WorkspacePermissionValue, WorkspaceRecordWithRelationships } from './workspace';
4
+ import type { WorkspaceItem, Entity, WorkspaceItemModel, WorkspaceRecordIdentifier, OsWorkspaceEntity, Relationship, OsTag, TagAttributes, FocusListItem, Concept, EntityBase } from './model';
5
+ import type { RuntimeAppUrlWorkspaceItem, TagWithRelationship, WorkspaceChangeEmitter, WorkspaceIdentifier, WorkspacePermission, WorkspacePermissionValue, WorkspaceRecordWithRelationships } from './workspace';
6
6
  import type { EventEmitterType } from './event';
7
7
  import type { ActionContext, ContextMenuGroup, ContextMenuOptions, ContextMenuRequest } from './action';
8
- import type { ModalTemplateProps, SavedTemplate } from './templates';
8
+ import type { ModalTemplateProps, RenderableTemplate, SavedTemplate } from './templates';
9
9
  import type { App, AppServiceCallProps } from './app';
10
- import type { SearchOptions, SearchProps, SearchXperienceProps } from './search';
11
- import type { Styler, StylerConfig, StylerOption } from './styling';
12
- import type { GraphSpec } from './graph';
10
+ import type { SearchOptions, SearchProps, SearchQueryResult, SearchXperienceProps } from './search';
13
11
  import type { UserProfile } from './user';
14
12
  import type { ReactCssProperties, ReactRef, ReactNode } from './react-types';
15
13
  import type { Ontology } from './ontology';
@@ -46,48 +44,6 @@ export type IconProps = {
46
44
  */
47
45
  iconRef?: ReactRef<HTMLSpanElement>;
48
46
  };
49
- export type Watcher = {
50
- /**
51
- * Application ID.
52
- */
53
- app_id: string;
54
- /**
55
- * Application name.
56
- */
57
- app_name: string;
58
- /**
59
- * Watcher name.
60
- */
61
- watcher_name: string;
62
- /**
63
- * Constants for the watcher.
64
- */
65
- const: [key: string, value: any][];
66
- /**
67
- * Description of the watcher.
68
- */
69
- description: string;
70
- /**
71
- * File associated with the watcher.
72
- */
73
- file: string;
74
- /**
75
- * Interval for the watcher.
76
- */
77
- interval: string;
78
- /**
79
- * Name of the watcher.
80
- */
81
- name: string;
82
- /**
83
- * Parameters for the watcher.
84
- */
85
- params: [key: string, value: any][];
86
- /**
87
- * Semantically bound items.
88
- */
89
- semantically_bound: string[];
90
- };
91
47
  /**
92
48
  * Options for saving a file.
93
49
  * @beta
@@ -103,10 +59,6 @@ export type SaveFileOptions = {
103
59
  * @beta
104
60
  */
105
61
  export type SaveOptions = SaveFileOptions & {
106
- /**
107
- * Whether to save as a draft.
108
- */
109
- draft?: boolean;
110
62
  /**
111
63
  * Whether to save as a new file.
112
64
  */
@@ -147,10 +99,6 @@ export interface DeveloperSettings {
147
99
  * Override URL for the API server.
148
100
  */
149
101
  octostarAPIServer?: string;
150
- /**
151
- * Override URL for the search app.
152
- */
153
- searchAppUrl?: string;
154
102
  }
155
103
  /**
156
104
  * Interface for desktop settings.
@@ -224,6 +172,23 @@ export type DesktopActionOptions = {
224
172
  * Open tab in a new tabset
225
173
  */
226
174
  newTabset?: boolean;
175
+ /**
176
+ * Open the tab in a new tabset docked on one side of this tabset, e.g. a view beside the tab it follows.
177
+ * Falls back to the default placement when the tabset no longer exists.
178
+ */
179
+ dockBeside?: {
180
+ tabsetId: string;
181
+ side: 'left' | 'right';
182
+ };
183
+ /**
184
+ * When `tabId` matches an existing tab, swap the tab's
185
+ * `component`/`config`/`name` in place instead of just focusing it.
186
+ * No delete + re-add, so the tab node stays alive at its current
187
+ * position and flexlayout re-runs the factory with the new entity —
188
+ * flicker-free content swap inside a single persistent tab.
189
+ * Ignored when the tab doesn't exist (falls through to normal open).
190
+ */
191
+ replaceContent?: boolean;
227
192
  /**
228
193
  * Wait for the tab to open
229
194
  */
@@ -232,6 +197,38 @@ export type DesktopActionOptions = {
232
197
  * Custom name of the tab.
233
198
  */
234
199
  tabName?: string;
200
+ /**
201
+ * When the open is requested from a global surface with NO active workspace (Home,
202
+ * Workspaces, …), host the record in the workspace it belongs to — opening that
203
+ * workspace — instead of the last-active / personal workspace. Set by
204
+ * entity deep links (`#entity/...`) so a pasted link lands the record in its
205
+ * own workspace. Ignored when a workspace is already active (the active workspace hosts
206
+ * it) or when the record carries no concrete workspace (draft / personal).
207
+ */
208
+ hostInOwnWorkspace?: boolean;
209
+ };
210
+ /**
211
+ * Options for {@link Desktop.openNewAIChat}.
212
+ * @beta
213
+ */
214
+ export type OpenNewAIChatOptions = {
215
+ /**
216
+ * How the prompt seeds the new chat:
217
+ * - `'send'` (default): the prompt is auto-sent as the chat's first message
218
+ * on first mount.
219
+ * - `'draft'`: the prompt only prefills the chat input, leaving the user to
220
+ * review and hit send.
221
+ */
222
+ mode?: 'send' | 'draft';
223
+ /**
224
+ * Where the new chat opens:
225
+ * - `'tab'` (default): as a workbench tab, via the AI Chat app.
226
+ * - `'sidebar'`: in the host's AI panel (making it visible and
227
+ * switching it to AI Chats). Requires the v3 app to be present — a host
228
+ * without an AI panel ignores it. The chat is seeded identically either
229
+ * way (same one-shot `os_item_content` prompt/context fields).
230
+ */
231
+ target?: 'tab' | 'sidebar';
235
232
  };
236
233
  /**
237
234
  * Context for desktop actions.
@@ -303,6 +300,10 @@ export type DesktopActionMenuItem = {
303
300
  * Key for the menu item.
304
301
  */
305
302
  key: string;
303
+ /**
304
+ * Test id for the rendered menu item. Defaults to `menuitem-<key>`.
305
+ */
306
+ testId?: string;
306
307
  /**
307
308
  * Icon for the menu item.
308
309
  */
@@ -335,6 +336,12 @@ export type DesktopActionMenuItem = {
335
336
  * Filter for accepting the menu item.
336
337
  */
337
338
  accepts: DesktopActionFilter;
339
+ /**
340
+ * Render the item greyed-out and non-clickable. Use for an action that is
341
+ * deliberately shown-but-inert in some state (so the user learns it exists and
342
+ * why it's unavailable) rather than hidden.
343
+ */
344
+ disabled?: boolean;
338
345
  /**
339
346
  * Function to invoke the action.
340
347
  */
@@ -356,6 +363,40 @@ export type DesktopActionMenuItem = {
356
363
  */
357
364
  aiDescription?: string;
358
365
  };
366
+ /**
367
+ * Serializable descriptor of a host-registered context-menu action — the
368
+ * subset of {@link DesktopActionMenuItem} that survives a structured-clone
369
+ * round-trip across the event-emitter bridge. Returned by
370
+ * {@link Desktop.getRegisteredActions} so micro-frontends can render their
371
+ * own group submenus ("Open with…", "Add to…", …) without taking a
372
+ * dependency on the host's registry.
373
+ *
374
+ * The `invoke` callback lives only in the host — call
375
+ * {@link Desktop.invokeRegisteredAction} with `key` to fire it.
376
+ * @beta
377
+ */
378
+ export type RegisteredActionInfo = {
379
+ /** Stable identifier of the underlying registered action. Pass back
380
+ * to {@link Desktop.invokeRegisteredAction} to invoke. */
381
+ key: string;
382
+ /** Display label as registered. Always coerced to a string here
383
+ * (React-node labels are not serialisable across the bridge). */
384
+ label: string;
385
+ /** Icon hint — either a font-icon name or the full {@link IconProps}. */
386
+ icon?: Icon;
387
+ /** Group the action was registered under. Callers narrow by passing a
388
+ * specific group list to {@link Desktop.getRegisteredActions}. */
389
+ group: ContextMenuGroup;
390
+ /** Lower order = first in the rendered list. */
391
+ order?: number;
392
+ /** Builtin opener key when the action declares one (mirrors the host's
393
+ * `DesktopActionOptions.with` matching). Optional. */
394
+ with?: string;
395
+ /** App-service identifier when the action was registered by an app. */
396
+ service?: string;
397
+ /** AI description from the app manifest, when present. */
398
+ aiDescription?: string;
399
+ };
359
400
  /**
360
401
  * Type for notifications.
361
402
  * @beta
@@ -459,6 +500,26 @@ export type OsProgress = {
459
500
  * Persist until complete for the progress item.
460
501
  */
461
502
  persistUntilComplete?: boolean;
503
+ /**
504
+ * Milliseconds after which a finished row clears. 0 removes it outright
505
+ * (its outcome is narrated elsewhere). Unset falls back to the
506
+ * persistUntilComplete behavior.
507
+ */
508
+ clearAfterMs?: number;
509
+ /**
510
+ * Why a job stopped before finishing, where `status` alone cannot tell: an
511
+ * upload batch reports `exception` whether it was cancelled, failed, or
512
+ * stopped by its failure breaker.
513
+ */
514
+ outcome?: 'cancelled' | 'failed' | 'stopped';
515
+ /**
516
+ * How many of a batch's items failed so far, where the label only says it in prose.
517
+ */
518
+ failedCount?: number;
519
+ /**
520
+ * How many of a batch's items have finished so far, where the label only says it in prose.
521
+ */
522
+ doneCount?: number;
462
523
  };
463
524
  /**
464
525
  * Affirmative option for the confirmation modal.
@@ -535,6 +596,11 @@ export type CreateEntityFormProps = {
535
596
  * Concept related to the form.
536
597
  */
537
598
  concept?: string;
599
+ /**
600
+ * Root concept for the concept selector tree. When set, the concept selector
601
+ * only shows this concept and its subtypes. Defaults to 'os_workspace_item'.
602
+ */
603
+ conceptTreeRoot?: string;
538
604
  };
539
605
  /**
540
606
  * Properties for creating relations dialog.
@@ -683,20 +749,6 @@ export type WithProgressBarOptions = {
683
749
  */
684
750
  persistUntilComplete?: boolean;
685
751
  };
686
- /**
687
- * Context for desktop styler.
688
- * @beta
689
- */
690
- export type DesktopStylerContext = {
691
- /**
692
- * Graph specification.
693
- */
694
- graph: GraphSpec;
695
- /**
696
- * Selected graph specification.
697
- */
698
- selected?: GraphSpec;
699
- };
700
752
  /**
701
753
  * Options for exporting items.
702
754
  * @beta
@@ -707,28 +759,6 @@ export type ExportOptions = {
707
759
  */
708
760
  filename?: string;
709
761
  };
710
- /**
711
- * Options for importing ZIP files.
712
- * @beta
713
- */
714
- export type ImportZipOptions = {
715
- /**
716
- * Whether to overwrite existing items.
717
- */
718
- overwrite?: boolean;
719
- /**
720
- * Target location for the import.
721
- */
722
- target?: string;
723
- /**
724
- * Whether to include content in the import.
725
- */
726
- include_content?: boolean;
727
- /**
728
- * Whether to include dashboards in the import.
729
- */
730
- include_dashboards?: boolean | 'if_missing';
731
- };
732
762
  /**
733
763
  * Options for importing folders/files from a ZIP file.
734
764
  * @beta
@@ -747,85 +777,37 @@ export type ImportFoldersOptions = {
747
777
  */
748
778
  include_content?: boolean;
749
779
  };
780
+ export type SetsSortBy = {
781
+ field: string;
782
+ direction: 'asc' | 'desc';
783
+ };
750
784
  export type SetsOptions = {
751
- /**
752
- * Workspace items for the context.
753
- */
754
785
  workspace_items?: WorkspaceItem[];
755
- /**
756
- * Limit for the context.
757
- */
758
786
  limit?: number;
759
- /**
760
- * Offset for the context.
761
- */
762
787
  offset?: number;
788
+ datasource?: 'timbr' | 'opensearch';
763
789
  /**
764
- * Datasource for the context.
765
- */
766
- datasource?: string;
767
- /**
768
- * Recursive for the context.
769
- */
770
- recursive?: boolean;
771
- /**
772
- * Include count for the context.
790
+ * Controls recursion depth for hierarchical expansion.
791
+ * true = flatten mode (bulk query, all descendants at once).
792
+ * false = direct children only.
793
+ * number(N) = incremental expansion up to N levels deep.
773
794
  */
795
+ recursive?: boolean | number;
774
796
  include_count?: boolean;
775
- /**
776
- * Include root for the context.
777
- */
778
797
  include_root?: boolean;
779
- /**
780
- * Include all fields for the context.
781
- */
782
798
  include_all_fields?: boolean;
783
- /**
784
- * OS exact concept filter for the context.
785
- */
786
- os_exact_concept_filter?: string[];
787
- /**
788
- * When limit1 and limit2 are provided,
789
- * the user will be prompted to choose the number of records to add
790
- * if the count is greater than limit1.
791
- */
792
- limit1?: number;
793
- /**
794
- * When limit1 and limit2 are provided,
795
- * the user will be prompted to choose the number of records to add
796
- * if the count is greater than limit1.
797
- */
798
- limit2?: number;
799
- };
800
- /**
801
- * Options for pasting context.
802
- * @beta
803
- */
804
- export type PasteContextOptions = {
805
- /**
806
- * First limit for the context.
807
- */
799
+ include_types?: string[];
800
+ exclude_types?: string[];
801
+ expand_types?: string[];
802
+ no_expand_types?: string[];
803
+ /** UI-only prompt threshold. */
808
804
  limit1?: number;
809
- /**
810
- * Second limit for the context.
811
- */
805
+ /** UI-only prompt threshold. */
812
806
  limit2?: number;
813
- /**
814
- * Record for the context.
815
- */
816
- record?: Entity;
817
- /**
818
- * Records for the context.
819
- */
820
- records?: Entity[];
821
- /**
822
- * Query for the context.
823
- */
824
- query?: ConceptFilter;
825
- /**
826
- * Whether to return a SavedSet entity when a folder is dropped.
827
- */
828
- preferSavedSet?: boolean;
807
+ workspace_sidebar_set?: boolean;
808
+ expand_abstract_sets_recursively?: boolean;
809
+ deduplicate?: boolean;
810
+ sort_by?: SetsSortBy[];
829
811
  };
830
812
  /**
831
813
  * Parameters for drag start.
@@ -873,22 +855,34 @@ export type DragEndParams = {
873
855
  */
874
856
  export type FetchEntityOptions = {};
875
857
  /**
876
- * Options for pasting folders.
858
+ * Metadata fields extracted from a fragment entity.
877
859
  * @beta
878
860
  */
879
- export type FolderPasteOptions = {
880
- /**
881
- * Whether to include folders in the paste.
882
- */
883
- folders?: boolean;
884
- /**
885
- * Whether to include files in the paste.
886
- */
887
- files?: boolean;
888
- /**
889
- * Whether to paste recursively.
890
- */
891
- recursive?: boolean;
861
+ export type FragmentInfo = {
862
+ fragment_page_number?: number;
863
+ /** Seconds for audio/video collections, a page for `document_*`, a row for `table_*`; the pipeline writes numbers, older indexes strings. */
864
+ fragment_start?: string | number;
865
+ fragment_end?: string | number;
866
+ fragment_index?: number;
867
+ fragment_count?: number;
868
+ fragment_collection_type?: string;
869
+ /** `[x1, y1, x2, y2]` in the parent image's pixels, as an array of numeric strings or comma-joined. */
870
+ fragment_image_bbox?: string | string[];
871
+ fragment_x_offset?: number;
872
+ fragment_y_offset?: number;
873
+ fragment_z_offset?: number;
874
+ fragment_keyframe_number?: number;
875
+ fragment_path_expression?: string;
876
+ /** Content type of the original file the fragment chain starts from, not of the direct parent. */
877
+ parent_os_item_content_type?: string;
878
+ };
879
+ /**
880
+ * Result of resolving a fragment entity to its source entity.
881
+ * @beta
882
+ */
883
+ export type FragmentResolution = {
884
+ entity: Entity;
885
+ fragment: FragmentInfo | undefined;
892
886
  };
893
887
  /**
894
888
  * Options for file tree.
@@ -916,6 +910,34 @@ export type FileTreeOptions = {
916
910
  */
917
911
  structure?: boolean;
918
912
  };
913
+ /**
914
+ * Filtered listing of `os_wsfs_object` rows via ontology (not from hydrated workspace.items).
915
+ * Supply at least one of `contentTypes`, `nameLikeLower`, `labelLikeLower` or `itemTypes`; with
916
+ * none it returns `[]`.
917
+ */
918
+ export type QueryFilesystemItemsParams = {
919
+ workspaceIds: string[];
920
+ /** OR: os_item_content_type equals one of these */
921
+ contentTypes?: string[];
922
+ /** OR: lower(os_item_name) LIKE pattern (SQL LIKE, e.g. '%.odoc') */
923
+ nameLikeLower?: string[];
924
+ /** OR: lower(entity_label) LIKE pattern, for the name a row displays when it has a label */
925
+ labelLikeLower?: string[];
926
+ /** AND: os_item_type is one of these (`['os_file']` leaves folders out); enough on its own.
927
+ * Applied before `limit`, so excluded rows don't use up the cap. */
928
+ itemTypes?: string[];
929
+ /**
930
+ * Cap the rows returned, most-recently-updated first (the listing is always
931
+ * `ORDER BY os_last_updated_at DESC`).
932
+ *
933
+ * Unbounded by default because the pickers want the whole set. Pass it for any
934
+ * high-cardinality listing — the query selects every concept field and the
935
+ * workspace list is a fan-out, so an uncapped Files or Records section would
936
+ * pull every matching row of every workspace into memory. A caller that caps
937
+ * is showing a subset and should say so in its UI.
938
+ */
939
+ limit?: number;
940
+ };
919
941
  /**
920
942
  * Represents information about the current user.
921
943
  * @beta
@@ -937,6 +959,7 @@ export type Whoami = {
937
959
  * Username of the user.
938
960
  */
939
961
  username: string;
962
+ roles?: string[];
940
963
  /**
941
964
  * Roles of the user.
942
965
  */
@@ -990,9 +1013,14 @@ export type WorkspaceConfig = Partial<{
990
1013
  */
991
1014
  color: string;
992
1015
  /**
993
- * ID of the workspace.
1016
+ * ID of the workspace. The server accepts only the caller's own personal
1017
+ * workspace id; omit it and the server mints the id.
994
1018
  */
995
1019
  entity_id?: string;
1020
+ /**
1021
+ * Ontology concept to create. Defaults to 'os_workspace'.
1022
+ */
1023
+ entity_type?: string;
996
1024
  /**
997
1025
  * Whether to create the workspace quietly, without opening it.
998
1026
  */
@@ -1018,8 +1046,38 @@ export type GetSystemSettingResponse<T extends string | boolean = string | boole
1018
1046
  security: boolean;
1019
1047
  type: string;
1020
1048
  value: T;
1049
+ /**
1050
+ * Set when `value` is the caller's default because the setting could not be
1051
+ * fetched. `DesktopAPI.getSystemSetting` swallows the error, so callers that
1052
+ * must tell "unset" from "unreadable" check this instead.
1053
+ */
1054
+ unavailable?: boolean;
1021
1055
  };
1056
+ /**
1057
+ * Result from a geocoding query.
1058
+ */
1059
+ export interface GeocodingResult {
1060
+ latitude: number;
1061
+ longitude: number;
1062
+ address: string;
1063
+ name: string;
1064
+ country: string;
1065
+ city: string;
1066
+ type: string;
1067
+ }
1022
1068
  export declare const ORIGINAL_OS_PARENT_FOLDER = "#original_os_parent_folder";
1069
+ /**
1070
+ * Which per-source bucket of a workspace's records to act on.
1071
+ *
1072
+ * `source_name` is the exact import origin; `null` targets the records that
1073
+ * carry none (the "(No source)" bucket). Absent is not a value here — an
1074
+ * unscoped bulk delete is a different call.
1075
+ */
1076
+ export interface RecordsSourceScope {
1077
+ source_name: string | null;
1078
+ /** Narrow to one concept hierarchy inside the bucket, e.g. `Person`. */
1079
+ concept?: string;
1080
+ }
1023
1081
  /**
1024
1082
  * Interface for desktop actions.
1025
1083
  * @beta
@@ -1070,9 +1128,9 @@ export interface Desktop extends DesktopSettings, WorkspaceChangeEmitter {
1070
1128
  listAllWorkspaces: (permissions?: WorkspacePermissionValue) => Promise<WorkspaceItem[]>;
1071
1129
  /**
1072
1130
  * This might not be enough, add a listener to {@link WorkspaceChangeEmitter.onOpenWorkspacesChanged} to keep getting updated.
1073
- * In react components, prefer useDesktopWorkspaces hook.
1131
+ * In react components, prefer the `useOpenWorkspaces` hook for ids and `getEntity` for per-workspace data.
1074
1132
  */
1075
- getOpenWorkspaces: () => Promise<Workspace[]>;
1133
+ getOpenWorkspaces: () => Promise<WorkspaceItem[]>;
1076
1134
  /**
1077
1135
  * Gets the OntologyAPI.
1078
1136
  * @returns a promise that resolves to the current ontology
@@ -1090,22 +1148,12 @@ export interface Desktop extends DesktopSettings, WorkspaceChangeEmitter {
1090
1148
  * @returns A promise that resolves to the attachment of type T.
1091
1149
  */
1092
1150
  getAttachment: <T extends AttachmentType>(entity: Entity, options?: GetAttachmentOptions<T>) => Promise<T>;
1093
- /**
1094
- * @beta
1095
- * Gets options for stylers.
1096
- */
1097
- getStylerOptions: () => Promise<StylerOption[]>;
1098
- /**
1099
- * @beta
1100
- * Gets a styler by name and context.
1101
- */
1102
- getStyler: (name: string, context: DesktopStylerContext) => Promise<Styler>;
1103
1151
  /**
1104
1152
  * Gets a workspace by identifier.
1105
1153
  */
1106
1154
  getWorkspace: (ws: WorkspaceIdentifier, options?: {
1107
1155
  shouldRetry?: boolean;
1108
- }) => Promise<Workspace | undefined>;
1156
+ }) => Promise<WorkspaceItem | undefined>;
1109
1157
  /**
1110
1158
  * Gets items in a workspace by name.
1111
1159
  */
@@ -1159,15 +1207,36 @@ export interface Desktop extends DesktopSettings, WorkspaceChangeEmitter {
1159
1207
  /**
1160
1208
  * Gets templates by layout or filter
1161
1209
  */
1162
- getTemplates: (layout?: string | ((template: SavedTemplate) => boolean)) => Promise<SavedTemplate[]>;
1210
+ getTemplates: (layout?: string | ((template: SavedTemplate) => boolean)) => Promise<RenderableTemplate[]>;
1163
1211
  /**
1164
1212
  * Gets a template by name or entity or filter with an optional default template.
1165
1213
  */
1166
- getTemplate: (name: string | Entity | ((template: SavedTemplate) => boolean), defaultTemplate?: string) => Promise<SavedTemplate>;
1214
+ getTemplate: (name: string | Entity | ((template: SavedTemplate) => boolean), defaultTemplate?: string) => Promise<RenderableTemplate>;
1167
1215
  /**
1168
1216
  * Gets the named app if it is on the desktop and in a running state.
1217
+ *
1218
+ * MIGRATION (app authors): the app's iframe URL is no longer on
1219
+ * `os_item_content.app_url` — that field is gone. The resolved URL is now
1220
+ * exposed on the runtime-only `#appUrl` field of the returned item (see
1221
+ * {@link RuntimeAppUrlWorkspaceItem}). It is hydrated from the K8s apps API
1222
+ * and is NOT persisted, so don't read it off a stored/restored item.
1223
+ */
1224
+ getApp: (name: string) => Promise<RuntimeAppUrlWorkspaceItem | undefined>;
1225
+ /**
1226
+ * Resolve app folders by name within the given workspaces. Match is on
1227
+ * `os_item_name`, case-insensitive. Use this instead of hardcoding app
1228
+ * `entity_id`s on a home page or launcher — those ids are regenerated per
1229
+ * environment, whereas the app name is stable across them.
1230
+ *
1231
+ * Returns one {@link App} per requested name that exists, in the order the
1232
+ * names were given (unknown names are skipped). Each App carries its `folder`
1233
+ * (open it via `desktop.open(app.folder)`) and, when found, its
1234
+ * `manifest_entity` for loading the app's icon/description.
1235
+ *
1236
+ * @param names - App folder names to look up.
1237
+ * @param workspace_ids - Workspaces to search; defaults to the currently open workspaces.
1169
1238
  */
1170
- getApp: (name: string) => Promise<WorkspaceItem | undefined>;
1239
+ getApps: (names: string[], workspace_ids?: string[]) => Promise<App[]>;
1171
1240
  /**
1172
1241
  * Gets the context of an app by its octostar channel id.
1173
1242
  * @param octostarChannelId the id assigned to the app by the octostar platform
@@ -1175,12 +1244,10 @@ export interface Desktop extends DesktopSettings, WorkspaceChangeEmitter {
1175
1244
  */
1176
1245
  getAppContext: (octostarChannelId: string) => Promise<Record<string, any>>;
1177
1246
  /**
1178
- * Query workspace items by content type directly from the database.
1179
- * This ensures all items are retrieved, not just those loaded in memory.
1247
+ * Workspace items matching `os_item_content_type`.
1248
+ * Hydrated-in-memory types use Redux; others are loaded via an ontology query on the filesystem concept.
1180
1249
  *
1181
- * @param os_item_content_type - The content type to filter by
1182
- * @param workspace_ids - Optional list of workspace IDs to filter by. If not provided, searches across all open workspaces
1183
- * @returns Promise resolving to array of workspace items matching the content type
1250
+ * @param workspace_ids - Optional workspace filter; if omitted, uses currently open workspaces for ontology fallback.
1184
1251
  */
1185
1252
  getItemsByContentType: (os_item_content_type: string, workspace_ids?: string[]) => Promise<WorkspaceItem[]>;
1186
1253
  /**
@@ -1202,14 +1269,6 @@ export interface Desktop extends DesktopSettings, WorkspaceChangeEmitter {
1202
1269
  * Saves a file to an item with optional save options.
1203
1270
  */
1204
1271
  saveFile: (item: WorkspaceItem, file: File | string, options?: SaveOptions) => Promise<WorkspaceItem>;
1205
- /**
1206
- * Imports items.
1207
- */
1208
- import: (items: any[]) => Promise<void>;
1209
- /**
1210
- * Imports a ZIP file with optional import options.
1211
- */
1212
- importZip: (file: File, options?: ImportZipOptions) => Promise<void>;
1213
1272
  /**
1214
1273
  * Imports folders/files from a ZIP file using the v1 API.
1215
1274
  * Use this for importing folders and files (not workspaces).
@@ -1229,6 +1288,11 @@ export interface Desktop extends DesktopSettings, WorkspaceChangeEmitter {
1229
1288
  * Fetches an entity from the index, or from the ontology if not found in the index.
1230
1289
  */
1231
1290
  fetchEntity: (entity: EntityBase, options?: FetchEntityOptions) => Promise<Entity>;
1291
+ /**
1292
+ * Resolves a fragment to the root file its `source_entity_uid` names.
1293
+ * Returns null if the source cannot be found.
1294
+ */
1295
+ fetchFragmentSource: (fragment: Entity) => Promise<(Entity & Partial<WorkspaceItem>) | null>;
1232
1296
  /**
1233
1297
  * Extracts entities from some text which may be json or a list of urls.
1234
1298
  */
@@ -1237,14 +1301,87 @@ export interface Desktop extends DesktopSettings, WorkspaceChangeEmitter {
1237
1301
  * Gets a file tree for a workspace or folder with optional file tree options.
1238
1302
  */
1239
1303
  getFilesTree: (workspace_or_folder: WorkspaceItem, options?: FileTreeOptions) => Promise<WorkspaceItem[]>;
1304
+ /**
1305
+ * Query workspace filesystem entities by content type / name patterns (ontology SQL).
1306
+ */
1307
+ queryFilesystemItemsInWorkspaces: (params: QueryFilesystemItemsParams) => Promise<WorkspaceItem[]>;
1240
1308
  /**
1241
1309
  * Show the search modal and return the selected results.
1242
1310
  */
1243
1311
  getSearchResults: (params: undefined | string | SearchProps, enableSelection?: boolean) => Promise<Entity[] | undefined>;
1312
+ /**
1313
+ * Show the search modal in query-return mode.
1314
+ * The user refines the search and clicks "Return current search (N) results".
1315
+ * Resolves with the underlying Elasticsearch query and total result count.
1316
+ */
1317
+ getSearchQuery: (params: undefined | string | SearchProps) => Promise<SearchQueryResult | undefined>;
1244
1318
  /**
1245
1319
  * Opens records with default action or as specified in the optional desktop action options.
1246
1320
  */
1247
1321
  open: (records: Entity | Entity[], options?: DesktopActionOptions) => Promise<void>;
1322
+ /**
1323
+ * Opens a fresh AI Chat seeded with a prompt and, optionally, context
1324
+ * entities — the supported way to launch AI Chat from another application.
1325
+ *
1326
+ * Encapsulates building the chat workspace item (content type
1327
+ * `application/vnd.octostar.chat+json`) in the active workspace and opening
1328
+ * it with the AI Chat app, so callers don't hand-roll that flow. Every call
1329
+ * mints a fresh chat, so the prompt always seeds; seeding is one-shot per
1330
+ * chat, so a browser refresh won't re-send it.
1331
+ *
1332
+ * By default the prompt is auto-sent as the chat's first message (no skill
1333
+ * armed). Pass `{ mode: 'draft' }` to only prefill the chat input and let
1334
+ * the user hit send. Omitting `initialPrompt` (or passing an empty string)
1335
+ * opens the chat unseeded and does not auto-send — useful to just start a
1336
+ * chat over some context entities.
1337
+ *
1338
+ * By default the chat opens as a workbench tab. Pass `{ target: 'sidebar' }`
1339
+ * to open it in the host's AI panel instead (making the panel
1340
+ * visible and switching it to AI Chats); this requires the v3 app.
1341
+ *
1342
+ * @example
1343
+ * ```ts
1344
+ * await desktop.openNewAIChat('Summarize this document', [document]);
1345
+ * await desktop.openNewAIChat('Draft to review', [entity], { mode: 'draft' });
1346
+ * await desktop.openNewAIChat(undefined, [entity]); // unseeded chat over context
1347
+ * await desktop.openNewAIChat('About this record', [entity], { mode: 'draft', target: 'sidebar' });
1348
+ * ```
1349
+ *
1350
+ * @param initialPrompt - The prompt to seed the new chat with; omit to open unseeded.
1351
+ * @param contextEntities - Entities to seed the chat's context.
1352
+ * @param options - Seeding behavior; see {@link OpenNewAIChatOptions}.
1353
+ */
1354
+ openNewAIChat: (initialPrompt?: string, contextEntities?: Entity[], options?: OpenNewAIChatOptions) => Promise<void>;
1355
+ /**
1356
+ * Enumerates the host-registered context-menu actions whose group is in
1357
+ * `groups` AND which accept the given record(s) — i.e. the same set the
1358
+ * host would put under those group sub-menus of the right-click context
1359
+ * menu, returned as plain data so a micro-frontend can render its own
1360
+ * menu instead of triggering the host popup. Pass a single record or
1361
+ * an array; for arrays the host applies the same `accepts({ items })`
1362
+ * filter the context-menu builder uses.
1363
+ *
1364
+ * Typical groupings:
1365
+ * - `['open', 'edit']` — "Open with…" submenu (openers / editors).
1366
+ * - `['addto']` — "Add to…" submenu (link chart, map, set, …).
1367
+ * - `['transform']` — "Transform" submenu (slower; consider lazy).
1368
+ *
1369
+ * The returned items are not executable directly — invoke them with
1370
+ * {@link invokeRegisteredAction} using the `key`. Keys are stable
1371
+ * across registrations of the same action.
1372
+ */
1373
+ getRegisteredActions: (items: WorkspaceItem | WorkspaceItem[], groups: ContextMenuGroup[]) => Promise<RegisteredActionInfo[]>;
1374
+ /**
1375
+ * Invokes a previously-enumerated action (from
1376
+ * {@link getRegisteredActions}) by its `key`, with the records the user
1377
+ * wants to act on. The host resolves the registered action and runs its
1378
+ * `invoke` callback with the same context shape the right-click flow
1379
+ * would have built.
1380
+ *
1381
+ * Rejects when no registered action matches the key OR when the
1382
+ * action's `accepts(...)` filter refuses the given items.
1383
+ */
1384
+ invokeRegisteredAction: (key: string, items: WorkspaceItem | WorkspaceItem[], options?: DesktopActionOptions) => Promise<void>;
1248
1385
  /**
1249
1386
  * Deletes an item or items recursively.
1250
1387
  */
@@ -1257,6 +1394,12 @@ export interface Desktop extends DesktopSettings, WorkspaceChangeEmitter {
1257
1394
  * Deletes local concept records in a workspace by base concept.
1258
1395
  */
1259
1396
  delete_local_concept_records: (workspace_id: string, base_concept: string) => Promise<void>;
1397
+ /**
1398
+ * Deletes the records of ONE import source in a workspace (the per-source
1399
+ * buckets the Content Browser shows under Records). Rejects with a 404 on an
1400
+ * API that predates the endpoint, rather than deleting anything wider.
1401
+ */
1402
+ delete_workspace_records_by_source: (workspace_id: string, scope: RecordsSourceScope) => Promise<void>;
1260
1403
  /**
1261
1404
  * Searches the index using the query string
1262
1405
  * @param query OpenSearch qeuery string.
@@ -1275,7 +1418,7 @@ export interface Desktop extends DesktopSettings, WorkspaceChangeEmitter {
1275
1418
  /**
1276
1419
  * Renames a tab by its id.
1277
1420
  */
1278
- renameTab: (tabId: string, newName: string) => Promise<void>;
1421
+ renameTab: (props: RenameTabProps) => Promise<void>;
1279
1422
  /**
1280
1423
  * Closes a tab with given properties.
1281
1424
  */
@@ -1304,10 +1447,17 @@ export interface Desktop extends DesktopSettings, WorkspaceChangeEmitter {
1304
1447
  * Gets a system setting.
1305
1448
  */
1306
1449
  getSystemSetting: <T extends string | boolean>(key: string, defaultValue: T, show_protected?: boolean) => Promise<GetSystemSettingResponse<T>>;
1450
+ /**
1451
+ * Forward geocodes a query string into geographic coordinates.
1452
+ * @param query - Free-text location query (address, place name, etc.)
1453
+ * @param limit - Maximum number of results to return (default: 5)
1454
+ * @returns Array of geocoding results
1455
+ */
1456
+ geocode: (query: string, limit?: number) => Promise<GeocodingResult[]>;
1307
1457
  /**
1308
1458
  * Wraps a promise with a progress bar.
1309
1459
  */
1310
- withProgressBar: <T>(promise: Promise<T>, options?: WithProgressBarOptions) => Promise<T>;
1460
+ withProgressBar: <T>(promise: Promise<T>, options?: WithProgressBarOptions) => Promise<T | undefined>;
1311
1461
  /**
1312
1462
  * Shows a confirmation modal.
1313
1463
  */
@@ -1316,6 +1466,13 @@ export interface Desktop extends DesktopSettings, WorkspaceChangeEmitter {
1316
1466
  * Shows a file upload dialog.
1317
1467
  */
1318
1468
  showFileUpload: (folder: WorkspaceItem) => Promise<WorkspaceItem[]>;
1469
+ /**
1470
+ * Shows the "Add to Files" dialog scoped to a workspace: the user picks a
1471
+ * target folder via a tree selector (defaulting to the workspace root),
1472
+ * then uploads files into it. Fire-and-forget — the dialog handles the
1473
+ * upload itself.
1474
+ */
1475
+ showUploadToFolder: (workspace: WorkspaceItem) => Promise<void>;
1319
1476
  /**
1320
1477
  * Shows a form for creating an entity.
1321
1478
  */
@@ -1328,10 +1485,6 @@ export interface Desktop extends DesktopSettings, WorkspaceChangeEmitter {
1328
1485
  * Shows a modal for saving as.
1329
1486
  */
1330
1487
  showSaveAsModal: (props: SaveAsModalProps) => Promise<WorkspaceItem | undefined>;
1331
- /**
1332
- * @deprecated This method is deprecated and will be removed in a future version. Use {@link createSetsFromItems} or {@link expandSet} instead.
1333
- */
1334
- getPasteContext: (options: PasteContextOptions) => Promise<Entity[]>;
1335
1488
  /**
1336
1489
  * Expands a set with optional options.
1337
1490
  */
@@ -1356,14 +1509,6 @@ export interface Desktop extends DesktopSettings, WorkspaceChangeEmitter {
1356
1509
  * Adds a comment to an entity.
1357
1510
  */
1358
1511
  addComment: (about: Entity, comment: AddCommentParams) => Promise<Entity>;
1359
- /**
1360
- * Adds a watch intent to an entity.
1361
- */
1362
- addWatchIntent: (entity: Entity, watcher: Watcher) => Promise<Entity>;
1363
- /**
1364
- * Removes a watch intent by workspace and intent ID.
1365
- */
1366
- removeWatchIntent: (os_workspace: string, intent_id: string) => Promise<void>;
1367
1512
  /**
1368
1513
  * Gets workspace permissions by IDs.
1369
1514
  */
@@ -1377,13 +1522,17 @@ export interface Desktop extends DesktopSettings, WorkspaceChangeEmitter {
1377
1522
  */
1378
1523
  deployApp: (app: WorkspaceItem | App, initialSecrets?: Record<string, string>) => Promise<WorkspaceItem>;
1379
1524
  /**
1380
- * Undeploys an application.
1525
+ * Undeploys an application. `appId` is the k8s app id; without it the id is looked up from the apps API.
1381
1526
  */
1382
- undeployApp: (app: WorkspaceItem | App) => Promise<WorkspaceItem>;
1527
+ undeployApp: (app: WorkspaceItem | App, appId?: string) => Promise<WorkspaceItem>;
1383
1528
  /**
1384
1529
  * Gets information about the current user.
1385
1530
  */
1386
1531
  whoami: () => Promise<Whoami>;
1532
+ /**
1533
+ * Pings the desktop to check connectivity. Used for remote dev mode connection verification.
1534
+ */
1535
+ ping: () => Promise<void>;
1387
1536
  /**
1388
1537
  * Gets the focus list.
1389
1538
  */
@@ -1397,13 +1546,25 @@ export interface Desktop extends DesktopSettings, WorkspaceChangeEmitter {
1397
1546
  */
1398
1547
  removeFromFocusList: (entities: Entity[], type?: 'single' | 'group', tabName?: string) => Promise<FocusListItem[]>;
1399
1548
  /**
1400
- * Gets the image URL for an entity.
1549
+ * Gets the image URL for an entity: its own bytes when it is an image file,
1550
+ * else its attached image, else its concept icon. With `maxWidth`, image
1551
+ * bytes come as a downscaled server thumbnail (snapped to 512 or 2048 px)
1552
+ * instead of the original.
1401
1553
  */
1402
- getImageUrl: (entity: EntityBase) => Promise<string>;
1554
+ getImageUrl: (entity: EntityBase, options?: {
1555
+ maxWidth?: number;
1556
+ }) => Promise<string>;
1403
1557
  /**
1404
1558
  * Gets images for an entity.
1405
1559
  */
1406
1560
  getImages: (entity: Entity) => Promise<Entity[]>;
1561
+ /**
1562
+ * Gets batch images for an entity.
1563
+ */
1564
+ getBatchImages: (entities: Entity[]) => Promise<{
1565
+ entity: Entity;
1566
+ images: Entity[];
1567
+ }[]>;
1407
1568
  /**
1408
1569
  * Gets icon code for an entity, concept, or string.
1409
1570
  */
@@ -1427,10 +1588,6 @@ export interface Desktop extends DesktopSettings, WorkspaceChangeEmitter {
1427
1588
  * Get config files
1428
1589
  */
1429
1590
  getConfigFiles: (name: string) => Promise<WorkspaceItem[]>;
1430
- /**
1431
- * "Cache" for workspaces, avoiding to return a modal error, if this workspace was fetched before
1432
- */
1433
- workspaceStore: Record<string, Workspace>;
1434
1591
  getWhitelabelingInfo: () => Promise<{
1435
1592
  OCTOSTAR_MAIN_LOGO: string;
1436
1593
  OCTOSTAR_FAVICON: string;
@@ -1453,11 +1610,6 @@ export type AppRegistry = {
1453
1610
  * Registers an action.
1454
1611
  */
1455
1612
  registerAction: (action: DesktopActionMenuItem) => void;
1456
- /**
1457
- * @beta
1458
- * Registers a styler.
1459
- */
1460
- registerStyler: (styler: StylerConfig) => () => void;
1461
1613
  };
1462
1614
  /**
1463
1615
  * Properties for workspace item title.
@@ -1471,9 +1623,7 @@ export type WorkspaceItemTitleProps = DesktopActionContext & {
1471
1623
  /**
1472
1624
  * Menu options with extra action items.
1473
1625
  */
1474
- menuOptions?: ContextMenuOptions & {
1475
- extraActionItems?: DesktopActionMenuItem[];
1476
- };
1626
+ menuOptions?: ContextMenuOptions;
1477
1627
  /**
1478
1628
  * Whether the item is expanded.
1479
1629
  */