@octostar/platform-types 0.5.30 → 0.5.34

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 (300) hide show
  1. package/dist/client.d.ts +12 -0
  2. package/dist/client.d.ts.map +1 -1
  3. package/dist/desktop.d.ts +90 -6
  4. package/dist/desktop.d.ts.map +1 -1
  5. package/dist/desktop.js +1 -0
  6. package/dist/desktop.js.map +1 -1
  7. package/dist/docs/assets/navigation.js +1 -1
  8. package/dist/docs/assets/search.js +1 -1
  9. package/dist/docs/enums/ProcessingStatusCode.html +16 -16
  10. package/dist/docs/enums/SortOrder.html +3 -3
  11. package/dist/docs/enums/WorkspacePermissionValue.html +3 -3
  12. package/dist/docs/functions/isWorkspaceFileItem.html +1 -1
  13. package/dist/docs/hierarchy.html +1 -1
  14. package/dist/docs/index.html +2 -2
  15. package/dist/docs/interfaces/AIClient.html +4 -4
  16. package/dist/docs/interfaces/ActionContext.html +4 -4
  17. package/dist/docs/interfaces/BinaryObjectFilterClause.html +3 -3
  18. package/dist/docs/interfaces/ChartDataResponseResult.html +5 -5
  19. package/dist/docs/interfaces/ChatMessage.html +6 -6
  20. package/dist/docs/interfaces/Colorful.html +3 -3
  21. package/dist/docs/interfaces/Concept.html +12 -12
  22. package/dist/docs/interfaces/DeleteResponse.html +2 -2
  23. package/dist/docs/interfaces/Desktop.html +121 -105
  24. package/dist/docs/interfaces/DesktopActionContext.html +7 -7
  25. package/dist/docs/interfaces/DesktopSettings.html +9 -6
  26. package/dist/docs/interfaces/DeveloperSettings.html +6 -0
  27. package/dist/docs/interfaces/DownloadOptions.html +2 -2
  28. package/dist/docs/interfaces/EntityUiState.html +2 -2
  29. package/dist/docs/interfaces/FetchOptions.html +4 -4
  30. package/dist/docs/interfaces/FileListResponse.html +2 -2
  31. package/dist/docs/interfaces/FilesAPIClient.html +12 -12
  32. package/dist/docs/interfaces/GetAttachmentOptions.html +5 -5
  33. package/dist/docs/interfaces/IDataTransfer.html +11 -11
  34. package/dist/docs/interfaces/IndexSearchHitSource.html +3 -3
  35. package/dist/docs/interfaces/Inheritance.html +5 -5
  36. package/dist/docs/interfaces/LiveContext.html +11 -11
  37. package/dist/docs/interfaces/MoveOptions.html +2 -2
  38. package/dist/docs/interfaces/MoveResponse.html +70 -9
  39. package/dist/docs/interfaces/NativeFilterColumn.html +2 -2
  40. package/dist/docs/interfaces/NativeFilterScope.html +2 -2
  41. package/dist/docs/interfaces/NativeFilterTarget.html +2 -2
  42. package/dist/docs/interfaces/Ontology.html +28 -26
  43. package/dist/docs/interfaces/OsAPIClient.html +15 -7
  44. package/dist/docs/interfaces/ProcessingStatus.html +7 -7
  45. package/dist/docs/interfaces/Property.html +5 -5
  46. package/dist/docs/interfaces/RecordData.html +5 -5
  47. package/dist/docs/interfaces/RecordProvider.html +6 -6
  48. package/dist/docs/interfaces/RefObject.html +3 -3
  49. package/dist/docs/interfaces/Relationship.html +20 -20
  50. package/dist/docs/interfaces/S3Headers.html +2 -2
  51. package/dist/docs/interfaces/S3UploadResponse.html +2 -2
  52. package/dist/docs/interfaces/SavedDatasource.html +2 -2
  53. package/dist/docs/interfaces/SavedSearchAPIInterface.html +2 -2
  54. package/dist/docs/interfaces/SavedSearchContent.html +2 -2
  55. package/dist/docs/interfaces/SavedSetContent.html +2 -2
  56. package/dist/docs/interfaces/SearchOptions.html +3 -3
  57. package/dist/docs/interfaces/SearchProps.html +10 -10
  58. package/dist/docs/interfaces/SearchXperienceModalProps.html +9 -9
  59. package/dist/docs/interfaces/SearchXperienceProps.html +7 -7
  60. package/dist/docs/interfaces/SemanticBindingProps.html +5 -5
  61. package/dist/docs/interfaces/StreamJsonOptions.html +5 -5
  62. package/dist/docs/interfaces/StreamTextOptions.html +5 -5
  63. package/dist/docs/interfaces/StylerContext.html +11 -11
  64. package/dist/docs/interfaces/TagAttributes.html +7 -7
  65. package/dist/docs/interfaces/UiStateManager.html +2 -2
  66. package/dist/docs/interfaces/UnaryObjectFilterClause.html +3 -3
  67. package/dist/docs/interfaces/UnzipOptions.html +2 -2
  68. package/dist/docs/interfaces/UploadOptions.html +2 -2
  69. package/dist/docs/interfaces/WorkspaceChangeEmitter.html +5 -5
  70. package/dist/docs/interfaces/WorkspaceItemConfig.html +6 -6
  71. package/dist/docs/interfaces/WorkspaceRecordIdentifier.html +5 -5
  72. package/dist/docs/modules.html +6 -3
  73. package/dist/docs/types/ActionHandler.html +2 -2
  74. package/dist/docs/types/AddCommentParams.html +2 -2
  75. package/dist/docs/types/AddListener.html +2 -2
  76. package/dist/docs/types/ApiErrorResult.html +2 -2
  77. package/dist/docs/types/ApiResult.html +2 -2
  78. package/dist/docs/types/ApiSuccessResult.html +2 -2
  79. package/dist/docs/types/App.html +2 -2
  80. package/dist/docs/types/AppRegistry.html +2 -2
  81. package/dist/docs/types/AppServiceCallOptions.html +2 -2
  82. package/dist/docs/types/AppServiceCallProps.html +2 -2
  83. package/dist/docs/types/AsyncFilter.html +2 -2
  84. package/dist/docs/types/AttachmentResponseType.html +2 -2
  85. package/dist/docs/types/AttachmentType.html +2 -2
  86. package/dist/docs/types/Behaviour.html +2 -2
  87. package/dist/docs/types/BinaryOperator.html +2 -2
  88. package/dist/docs/types/Callback.html +2 -2
  89. package/dist/docs/types/ChatApiResponse.html +1 -1
  90. package/dist/docs/types/ChatModel.html +2 -2
  91. package/dist/docs/types/CommentWorkspaceItem.html +2 -2
  92. package/dist/docs/types/CommonOptions.html +1 -1
  93. package/dist/docs/types/Comparator.html +2 -2
  94. package/dist/docs/types/ConceptFilter.html +2 -2
  95. package/dist/docs/types/ConceptMap.html +2 -2
  96. package/dist/docs/types/ConceptName.html +1 -1
  97. package/dist/docs/types/ConceptWithParents.html +2 -2
  98. package/dist/docs/types/ConnectedEntity.html +2 -2
  99. package/dist/docs/types/ContextMenuGroup.html +2 -2
  100. package/dist/docs/types/ContextMenuLabels.html +2 -2
  101. package/dist/docs/types/ContextMenuOptions.html +2 -2
  102. package/dist/docs/types/ContextMenuParams.html +2 -2
  103. package/dist/docs/types/ContextMenuRequest.html +2 -2
  104. package/dist/docs/types/CopyOptions.html +2 -2
  105. package/dist/docs/types/CreateEntityFormProps.html +2 -2
  106. package/dist/docs/types/CreateLinkChartFn.html +1 -1
  107. package/dist/docs/types/CreateLinkChartParams.html +1 -1
  108. package/dist/docs/types/CreateRelationsDialogProps.html +2 -2
  109. package/dist/docs/types/CustomEventListener.html +2 -2
  110. package/dist/docs/types/CustomTemplate.html +2 -2
  111. package/dist/docs/types/CustomTemplateIframeProps.html +2 -2
  112. package/dist/docs/types/DataContextType.html +2 -2
  113. package/dist/docs/types/DataMask.html +1 -1
  114. package/dist/docs/types/DefaultLiveContextData.html +1 -1
  115. package/dist/docs/types/DesktopAction.html +2 -2
  116. package/dist/docs/types/DesktopActionFilter.html +2 -2
  117. package/dist/docs/types/DesktopActionMenuItem.html +2 -2
  118. package/dist/docs/types/DesktopActionMenuItemGroup.html +2 -2
  119. package/dist/docs/types/DesktopActionOptions.html +2 -2
  120. package/dist/docs/types/DesktopOpenParams.html +2 -2
  121. package/dist/docs/types/DesktopStylerContext.html +2 -2
  122. package/dist/docs/types/DraftWorkspaceItem.html +2 -2
  123. package/dist/docs/types/DragEndParams.html +2 -2
  124. package/dist/docs/types/DragStartParams.html +2 -2
  125. package/dist/docs/types/DropZoneRequestFn.html +1 -1
  126. package/dist/docs/types/DropZoneRequestResult.html +1 -1
  127. package/dist/docs/types/EConnection.html +2 -2
  128. package/dist/docs/types/EdgeSpec.html +2 -2
  129. package/dist/docs/types/EmitEventTransformDefinition.html +2 -2
  130. package/dist/docs/types/Entity.html +2 -2
  131. package/dist/docs/types/EntityBase.html +2 -2
  132. package/dist/docs/types/EntityEdge.html +2 -2
  133. package/dist/docs/types/EntityOTM.html +2 -2
  134. package/dist/docs/types/EntityPasteContext.html +2 -2
  135. package/dist/docs/types/EvalContext.html +1 -1
  136. package/dist/docs/types/EventContextType.html +2 -2
  137. package/dist/docs/types/EventEmitterType.html +2 -2
  138. package/dist/docs/types/EventName.html +2 -2
  139. package/dist/docs/types/EventProducer.html +2 -2
  140. package/dist/docs/types/EventPublisher.html +2 -2
  141. package/dist/docs/types/EventSubscriber.html +2 -2
  142. package/dist/docs/types/EventUnsubscriber.html +2 -2
  143. package/dist/docs/types/ExportOptions.html +2 -2
  144. package/dist/docs/types/ExtractEntitiesOptions.html +2 -2
  145. package/dist/docs/types/ExtrasApi.html +1 -1
  146. package/dist/docs/types/FetchEntityOptions.html +2 -2
  147. package/dist/docs/types/FileCode.html +2 -2
  148. package/dist/docs/types/FileTreeOptions.html +2 -2
  149. package/dist/docs/types/Filter.html +1 -1
  150. package/dist/docs/types/FilterDefinition.html +2 -2
  151. package/dist/docs/types/FilterDefinitions.html +2 -2
  152. package/dist/docs/types/FilterName.html +2 -2
  153. package/dist/docs/types/FilterQuery.html +2 -2
  154. package/dist/docs/types/FilterReference.html +2 -2
  155. package/dist/docs/types/FilterState.html +1 -1
  156. package/dist/docs/types/FilterValue.html +2 -2
  157. package/dist/docs/types/FocusListItem.html +2 -2
  158. package/dist/docs/types/FolderPasteOptions.html +2 -2
  159. package/dist/docs/types/GetSystemSettingResponse.html +1 -1
  160. package/dist/docs/types/GraphDataSpec.html +1 -1
  161. package/dist/docs/types/GraphSpec.html +2 -2
  162. package/dist/docs/types/HttpTransformDefinition.html +2 -2
  163. package/dist/docs/types/Icon.html +2 -2
  164. package/dist/docs/types/IconProps.html +2 -2
  165. package/dist/docs/types/IframeTransformDefinition.html +3 -2
  166. package/dist/docs/types/ImageInfo.html +2 -2
  167. package/dist/docs/types/ImportZipOptions.html +2 -2
  168. package/dist/docs/types/InlineCode.html +2 -2
  169. package/dist/docs/types/JavascriptFileStylerDefinition.html +2 -2
  170. package/dist/docs/types/JavascriptFileTransformDefinition.html +2 -2
  171. package/dist/docs/types/JavascriptFilterDefinition.html +2 -2
  172. package/dist/docs/types/JavascriptInlineStylerDefinition.html +2 -2
  173. package/dist/docs/types/JavascriptInlineTransformDefinition.html +2 -2
  174. package/dist/docs/types/JavascriptType.html +2 -2
  175. package/dist/docs/types/JobManifest.html +2 -2
  176. package/dist/docs/types/KnownCounts.html +2 -2
  177. package/dist/docs/types/ListByParentFolder.html +1 -1
  178. package/dist/docs/types/ListByPath.html +1 -1
  179. package/dist/docs/types/ListFolderOptions.html +1 -1
  180. package/dist/docs/types/LiveContextAPISetParams.html +1 -1
  181. package/dist/docs/types/LiveContextListener.html +1 -1
  182. package/dist/docs/types/ManifestSecrets.html +1 -1
  183. package/dist/docs/types/MkdirResponse.html +1 -1
  184. package/dist/docs/types/ModalTemplateProps.html +2 -2
  185. package/dist/docs/types/NamedEntityGroup.html +2 -2
  186. package/dist/docs/types/NunjucksFileTransformDefinition.html +2 -2
  187. package/dist/docs/types/NunjucksInlineTransformDefinition.html +2 -2
  188. package/dist/docs/types/NunjucksType.html +2 -2
  189. package/dist/docs/types/OS_CONFIRM_MODAL_RESPONSE.html +2 -2
  190. package/dist/docs/types/OntologyTags.html +2 -2
  191. package/dist/docs/types/OsAuditFields.html +2 -2
  192. package/dist/docs/types/OsConfirmProps.html +2 -2
  193. package/dist/docs/types/OsNotification.html +3 -2
  194. package/dist/docs/types/OsProgress.html +2 -2
  195. package/dist/docs/types/OsTag.html +2 -2
  196. package/dist/docs/types/OsWorkspaceEntity.html +2 -2
  197. package/dist/docs/types/OsWorkspacePickerProps.html +2 -2
  198. package/dist/docs/types/PasteContextOptions.html +2 -2
  199. package/dist/docs/types/Permission.html +2 -2
  200. package/dist/docs/types/Point.html +2 -2
  201. package/dist/docs/types/PromptOptions.html +2 -2
  202. package/dist/docs/types/ProvidedFilterDefinition.html +2 -2
  203. package/dist/docs/types/ProvidedTransformDefinition.html +2 -2
  204. package/dist/docs/types/Query.html +2 -2
  205. package/dist/docs/types/QueryBatchResult.html +2 -2
  206. package/dist/docs/types/QueryErrorResult.html +2 -2
  207. package/dist/docs/types/QueryExecutor.html +2 -2
  208. package/dist/docs/types/QueryObjectFilterClause.html +2 -2
  209. package/dist/docs/types/QueryResponse.html +2 -2
  210. package/dist/docs/types/QueryResult.html +2 -2
  211. package/dist/docs/types/QuerySuccessResult.html +2 -2
  212. package/dist/docs/types/ReactCssProperties.html +2 -2
  213. package/dist/docs/types/ReactNode.html +2 -2
  214. package/dist/docs/types/ReactRef.html +2 -2
  215. package/dist/docs/types/ReasonedBoolean.html +2 -2
  216. package/dist/docs/types/RecordFetchOptions.html +1 -1
  217. package/dist/docs/types/RefCallback.html +2 -2
  218. package/dist/docs/types/RelationshipCountResult.html +2 -2
  219. package/dist/docs/types/RemoteAppApi.html +1 -1
  220. package/dist/docs/types/RenameTabProps.html +3 -0
  221. package/dist/docs/types/SaveAsModalProps.html +4 -2
  222. package/dist/docs/types/SaveFileOptions.html +2 -2
  223. package/dist/docs/types/SaveOptions.html +2 -2
  224. package/dist/docs/types/SavedTemplate.html +2 -2
  225. package/dist/docs/types/SearchFilter.html +2 -2
  226. package/dist/docs/types/SemanticBinding.html +2 -2
  227. package/dist/docs/types/SemanticBindingType.html +2 -2
  228. package/dist/docs/types/SemanticBindings.html +2 -2
  229. package/dist/docs/types/SemanticallyBoundApp.html +2 -2
  230. package/dist/docs/types/SemanticallyBoundFilterDefinition.html +2 -2
  231. package/dist/docs/types/SendQueryOptions.html +2 -2
  232. package/dist/docs/types/ServiceDefinition.html +2 -2
  233. package/dist/docs/types/ServiceDefinitions.html +2 -2
  234. package/dist/docs/types/ServiceRole.html +2 -2
  235. package/dist/docs/types/SetTransformResultFn.html +1 -1
  236. package/dist/docs/types/SetsOptions.html +8 -2
  237. package/dist/docs/types/ShowOntology.html +2 -2
  238. package/dist/docs/types/ShowTabProps.html +2 -2
  239. package/dist/docs/types/Styler.html +2 -2
  240. package/dist/docs/types/StylerConfig.html +2 -2
  241. package/dist/docs/types/StylerDefinition.html +2 -2
  242. package/dist/docs/types/StylerDefinitions.html +2 -2
  243. package/dist/docs/types/StylerOption.html +2 -2
  244. package/dist/docs/types/StylerProducer.html +2 -2
  245. package/dist/docs/types/SubscribeDragStartFn.html +1 -1
  246. package/dist/docs/types/SubscribeToContextFn.html +1 -1
  247. package/dist/docs/types/Tag.html +2 -2
  248. package/dist/docs/types/TagInfo.html +2 -2
  249. package/dist/docs/types/TagWithRelationship.html +2 -2
  250. package/dist/docs/types/TaskCleanupReason.html +2 -2
  251. package/dist/docs/types/TemplateMetadata.html +2 -2
  252. package/dist/docs/types/TemplateType.html +2 -2
  253. package/dist/docs/types/TemplateVariant.html +2 -2
  254. package/dist/docs/types/TransformAction.html +2 -2
  255. package/dist/docs/types/TransformActionContext.html +2 -2
  256. package/dist/docs/types/TransformDefinition.html +2 -2
  257. package/dist/docs/types/TransformDefinitions.html +2 -2
  258. package/dist/docs/types/Unsubscribe.html +2 -2
  259. package/dist/docs/types/UnsubscribeFn.html +1 -1
  260. package/dist/docs/types/UnsubscribeFromContextFn.html +1 -1
  261. package/dist/docs/types/UnsubscribeFromDragStartFn.html +1 -1
  262. package/dist/docs/types/UserProfile.html +2 -2
  263. package/dist/docs/types/VirtualEntity.html +2 -2
  264. package/dist/docs/types/Watcher.html +11 -12
  265. package/dist/docs/types/Whoami.html +5 -2
  266. package/dist/docs/types/WithProgressBarOptions.html +2 -2
  267. package/dist/docs/types/Workspace.html +2 -2
  268. package/dist/docs/types/WorkspaceConfig.html +2 -2
  269. package/dist/docs/types/WorkspaceFlags.html +2 -2
  270. package/dist/docs/types/WorkspaceIdentifier.html +2 -2
  271. package/dist/docs/types/WorkspaceItem.html +2 -2
  272. package/dist/docs/types/WorkspaceItemBase.html +2 -2
  273. package/dist/docs/types/WorkspaceItemDocumentFields.html +1 -1
  274. package/dist/docs/types/WorkspaceItemIdentifier.html +2 -2
  275. package/dist/docs/types/WorkspaceItemModel.html +2 -2
  276. package/dist/docs/types/WorkspaceItemTitleProps.html +2 -2
  277. package/dist/docs/types/WorkspaceItems.html +2 -2
  278. package/dist/docs/types/WorkspacePermission.html +2 -2
  279. package/dist/docs/types/WorkspaceRecord.html +2 -2
  280. package/dist/docs/types/WorkspaceRecordInfo.html +2 -2
  281. package/dist/docs/types/WorkspaceRecordWithRelationships.html +2 -2
  282. package/dist/docs/types/WorkspaceRecords.html +2 -2
  283. package/dist/docs/types/WorkspaceRelationship.html +2 -2
  284. package/dist/docs/types/WorkspaceSettings.html +2 -2
  285. package/dist/docs/types/trigger.html +2 -2
  286. package/dist/docs/types/uuid.html +2 -2
  287. package/dist/docs/variables/ORIGINAL_OS_PARENT_FOLDER.html +1 -0
  288. package/dist/docs/variables/OS_CONFIRM_MODAL_CANCEL.html +2 -2
  289. package/dist/docs/variables/OS_CONFIRM_MODAL_NO.html +2 -2
  290. package/dist/docs/variables/OS_CONFIRM_MODAL_YES.html +2 -2
  291. package/dist/docs/variables/SAVED_SEARCH_MESSAGE_TYPES.html +1 -1
  292. package/dist/docs/variables/SAVED_SEARCH_PREFIX.html +1 -1
  293. package/dist/files.d.ts +3 -3
  294. package/dist/files.d.ts.map +1 -1
  295. package/dist/jobManifestTypes.d.ts +2 -0
  296. package/dist/jobManifestTypes.d.ts.map +1 -1
  297. package/dist/ontology.d.ts +8 -4
  298. package/dist/ontology.d.ts.map +1 -1
  299. package/dist/platform-types.d.ts +115 -10
  300. package/package.json +4 -4
@@ -761,6 +761,10 @@ export declare interface Desktop extends DesktopSettings, WorkspaceChangeEmitter
761
761
  * Copies an item.
762
762
  */
763
763
  copy: (source: WorkspaceItem, target: WorkspaceItem, options?: CopyOptions) => Promise<WorkspaceItem[]>;
764
+ /**
765
+ * Lists the workspaces currently open on the desktop.
766
+ */
767
+ listOpenWorkspaces: () => Promise<WorkspaceItem[]>;
764
768
  /**
765
769
  * Lists all workspaces with optional permissions.
766
770
  */
@@ -775,6 +779,10 @@ export declare interface Desktop extends DesktopSettings, WorkspaceChangeEmitter
775
779
  * @returns a promise that resolves to the current ontology
776
780
  */
777
781
  getOntology: () => Promise<Ontology>;
782
+ /**
783
+ * Checks if an entity is a set.
784
+ */
785
+ checkIsSet: (entity: WorkspaceItem) => Promise<boolean>;
778
786
  /**
779
787
  * Fetches an attachment based on the provided workspace identifier and path or ID.
780
788
  *
@@ -861,6 +869,12 @@ export declare interface Desktop extends DesktopSettings, WorkspaceChangeEmitter
861
869
  * Gets the named app if it is on the desktop and in a running state.
862
870
  */
863
871
  getApp: (name: string) => Promise<WorkspaceItem | undefined>;
872
+ /**
873
+ * Gets the context of an app by its octostar channel id.
874
+ * @param octostarChannelId the id assigned to the app by the octostar platform
875
+ * @returns the context if the app is found otherwise undefined
876
+ */
877
+ getAppContext: (octostarChannelId: string) => Promise<Record<string, any>>;
864
878
  /**
865
879
  * Query workspace items by content type directly from the database.
866
880
  * This ensures all items are retrieved, not just those loaded in memory.
@@ -878,6 +892,9 @@ export declare interface Desktop extends DesktopSettings, WorkspaceChangeEmitter
878
892
  * Connects two entities with a relationship in a workspace.
879
893
  */
880
894
  connect: (relationship: Relationship | string, from: Entity, to: Entity, os_workspace?: string) => Promise<WorkspaceItem>;
895
+ moveOrRename: (item: WorkspaceItem & {
896
+ [ORIGINAL_OS_PARENT_FOLDER]?: string;
897
+ }) => Promise<MoveResponse>;
881
898
  /**
882
899
  * Saves an item with optional save options.
883
900
  */
@@ -949,6 +966,10 @@ export declare interface Desktop extends DesktopSettings, WorkspaceChangeEmitter
949
966
  * Shows a tab with given properties.
950
967
  */
951
968
  showTab: (props: ShowTabProps) => Promise<void>;
969
+ /**
970
+ * Renames a tab by its id.
971
+ */
972
+ renameTab: (tabId: string, newName: string) => Promise<void>;
952
973
  /**
953
974
  * Closes a tab with given properties.
954
975
  */
@@ -1002,13 +1023,17 @@ export declare interface Desktop extends DesktopSettings, WorkspaceChangeEmitter
1002
1023
  */
1003
1024
  showSaveAsModal: (props: SaveAsModalProps) => Promise<WorkspaceItem | undefined>;
1004
1025
  /**
1005
- * Gets a paste context with optional options.
1026
+ * @deprecated This method is deprecated and will be removed in a future version. Use {@link createSetsFromItems} or {@link expandSet} instead.
1006
1027
  */
1007
1028
  getPasteContext: (options: PasteContextOptions) => Promise<Entity[]>;
1008
1029
  /**
1009
1030
  * Expands a set with optional options.
1010
1031
  */
1011
1032
  expandSet: (options: SetsOptions) => Promise<WorkspaceItem[]>;
1033
+ /**
1034
+ * Converts items to sets.
1035
+ */
1036
+ createSetsFromItems: (items: WorkspaceItem[]) => Promise<WorkspaceItem[]>;
1012
1037
  /**
1013
1038
  * Gets the open search query for a set with optional options.
1014
1039
  */
@@ -1302,6 +1327,11 @@ export declare interface DesktopSettings {
1302
1327
  * Listener for changes in open workspace IDs list (list gets updated on eg close / open event)
1303
1328
  */
1304
1329
  onOpenWorkspaceIdsChanged: AddListener<string[]>;
1330
+ /**
1331
+ * Gets developer settings for micro-frontends.
1332
+ * Returns settings like API server URL overrides.
1333
+ */
1334
+ getDeveloperSettings: () => Promise<DeveloperSettings>;
1305
1335
  }
1306
1336
 
1307
1337
  /**
@@ -1319,6 +1349,21 @@ export declare type DesktopStylerContext = {
1319
1349
  selected?: GraphSpec;
1320
1350
  };
1321
1351
 
1352
+ /**
1353
+ * Developer settings exposed to micro-frontends.
1354
+ * @beta
1355
+ */
1356
+ export declare interface DeveloperSettings {
1357
+ /**
1358
+ * Override URL for the API server.
1359
+ */
1360
+ octostarAPIServer?: string;
1361
+ /**
1362
+ * Override URL for the search app.
1363
+ */
1364
+ searchAppUrl?: string;
1365
+ }
1366
+
1322
1367
  export declare interface DownloadOptions {
1323
1368
  content_type?: string;
1324
1369
  content_disposition?: 'inline' | 'attachment';
@@ -2053,6 +2098,8 @@ export declare type IframeTransformDefinition = {
2053
2098
  icon: string;
2054
2099
  /** Whether to reuse the tab for the iframe. */
2055
2100
  reuse_tab?: boolean;
2101
+ /** The template string to get the tab name. Supports Nunjucks templates (e.g., "{{ record.entity_label }}"). */
2102
+ tab_name?: string;
2056
2103
  };
2057
2104
 
2058
2105
  /**
@@ -2528,8 +2575,8 @@ export declare interface MoveOptions {
2528
2575
  force?: boolean;
2529
2576
  }
2530
2577
 
2531
- export declare interface MoveResponse extends Entity {
2532
- new_path: string;
2578
+ export declare interface MoveResponse extends WorkspaceItem {
2579
+ new_path?: string;
2533
2580
  }
2534
2581
 
2535
2582
  /**
@@ -2746,10 +2793,14 @@ export declare interface Ontology {
2746
2793
  getLocalEntityEdges: (entities: Entity[]) => Promise<EntityEdge[]>;
2747
2794
  /**
2748
2795
  * Discovers edges on adding nodes.
2749
- * @param entities - The entities for which to discover edges.
2750
- * @returns A promise that resolves to an array of entity edges.
2796
+ * @param newEntities - The new entities being added.
2797
+ * @param oldEntities - The existing entities already in the graph.
2798
+ * @returns A promise that resolves to an object containing entity edges and enriched entities (with labels).
2751
2799
  */
2752
- discoverEdgesOnAddingNodes: (newEntities: Entity[], oldEntities: Entity[]) => Promise<EntityEdge[]>;
2800
+ discoverEdgesOnAddingNodes: (newEntities: Entity[], oldEntities: Entity[]) => Promise<{
2801
+ edges: EntityEdge[];
2802
+ enrichedEntities: Entity[];
2803
+ }>;
2753
2804
  /**
2754
2805
  * Subscribes to changes for a given entity.
2755
2806
  * @param entity - The entity to subscribe to.
@@ -2788,6 +2839,8 @@ export declare type OntologyTags = {
2788
2839
  tag_value: string;
2789
2840
  };
2790
2841
 
2842
+ export declare const ORIGINAL_OS_PARENT_FOLDER = "#original_os_parent_folder";
2843
+
2791
2844
  /**
2792
2845
  * Option to get out of the confirmation modal.
2793
2846
  * @beta
@@ -2841,6 +2894,18 @@ export declare interface OsAPIClient {
2841
2894
  * @returns A promise that resolves when the streaming is complete.
2842
2895
  */
2843
2896
  streamJson<T>(options: StreamJsonOptions<T>): Promise<void>;
2897
+ /**
2898
+ * Gets the configured base URL
2899
+ * @returns A promise that resoves to the api base URL
2900
+ */
2901
+ getBaseUrl(): Promise<string>;
2902
+ /**
2903
+ * Fetch method that matches the standard fetch API.
2904
+ * @param input - The resource to fetch (RequestInfo | URL).
2905
+ * @param init - Optional request initialization options.
2906
+ * @returns A promise that resolves with the Response object.
2907
+ */
2908
+ fetch(input: RequestInfo | URL, init?: RequestInit): Promise<Response>;
2844
2909
  }
2845
2910
 
2846
2911
  /**
@@ -2958,6 +3023,10 @@ export declare type OsNotification = string | {
2958
3023
  * Whether the notification should persist until manually closed.
2959
3024
  */
2960
3025
  persistent?: boolean;
3026
+ /**
3027
+ * Test identifier to be applied as data-testid attribute for E2E testing.
3028
+ */
3029
+ data_test_id?: string;
2961
3030
  };
2962
3031
 
2963
3032
  /**
@@ -3455,6 +3524,17 @@ export declare type RemoteAppApi = {
3455
3524
  setTransformResult: SetTransformResultFn;
3456
3525
  };
3457
3526
 
3527
+ export declare type RenameTabProps = {
3528
+ /**
3529
+ * ID of the tab.
3530
+ */
3531
+ tabId: string;
3532
+ /**
3533
+ * New name for the tab.
3534
+ */
3535
+ newName: string;
3536
+ };
3537
+
3458
3538
  declare type RootOption = {
3459
3539
  path?: never;
3460
3540
  os_parent_folder?: never;
@@ -3491,6 +3571,14 @@ export declare type SaveAsModalProps = {
3491
3571
  * Default path for the item.
3492
3572
  */
3493
3573
  defaultPath?: string;
3574
+ /**
3575
+ * Exclude workspaces from the modal.
3576
+ */
3577
+ excludeWorkspaces?: string[];
3578
+ /**
3579
+ * Omit the filename from the modal.
3580
+ */
3581
+ omitFilename?: boolean;
3494
3582
  };
3495
3583
 
3496
3584
  export declare const SAVED_SEARCH_MESSAGE_TYPES: Readonly<{
@@ -3836,6 +3924,18 @@ export declare type SetsOptions = {
3836
3924
  * OS exact concept filter for the context.
3837
3925
  */
3838
3926
  os_exact_concept_filter?: string[];
3927
+ /**
3928
+ * When limit1 and limit2 are provided,
3929
+ * the user will be prompted to choose the number of records to add
3930
+ * if the count is greater than limit1.
3931
+ */
3932
+ limit1?: number;
3933
+ /**
3934
+ * When limit1 and limit2 are provided,
3935
+ * the user will be prompted to choose the number of records to add
3936
+ * if the count is greater than limit1.
3937
+ */
3938
+ limit2?: number;
3839
3939
  };
3840
3940
 
3841
3941
  export declare type SetTransformResultFn = (args: any[]) => Promise<void>;
@@ -4260,10 +4360,6 @@ export declare type VirtualEntity = Entity & {
4260
4360
  '#virtual': true;
4261
4361
  };
4262
4362
 
4263
- /**
4264
- * Represents a watcher.
4265
- * @beta
4266
- */
4267
4363
  export declare type Watcher = {
4268
4364
  /**
4269
4365
  * Application ID.
@@ -4336,6 +4432,15 @@ export declare type Whoami = {
4336
4432
  * Whether the user is a superuser (having the ADMIN_ALL_WORKSPACES username or role)
4337
4433
  */
4338
4434
  is_superuser: boolean;
4435
+ /**
4436
+ * Seconds until frontend should call whoami again to keep session alive.
4437
+ * Null for legacy tokens without session management.
4438
+ */
4439
+ refresh_in_seconds: number | null;
4440
+ /**
4441
+ * Unix timestamp when session hits hard cap (absolute limit). Null for legacy tokens.
4442
+ */
4443
+ session_expires_at: number | null;
4339
4444
  };
4340
4445
 
4341
4446
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octostar/platform-types",
3
- "version": "0.5.30",
3
+ "version": "0.5.34",
4
4
  "description": "Types for the API exposed by Octostar platform to third parties",
5
5
  "keywords": [
6
6
  "octostar",
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "repository": {
10
10
  "type": "git",
11
- "url": "",
11
+ "url": "https://github.com/Octostarco/octostar-frontend.git",
12
12
  "directory": "packages/octostar-platform-types"
13
13
  },
14
14
  "license": "MIT",
@@ -41,8 +41,8 @@
41
41
  "rimraf": "^5.0.5",
42
42
  "typedoc": "^0.26.5",
43
43
  "typescript": "~5.7.2",
44
- "@repo/eslint-config": "0.0.0",
45
- "@repo/typescript-config": "0.0.0"
44
+ "@repo/typescript-config": "0.0.0",
45
+ "@repo/eslint-config": "0.0.0"
46
46
  },
47
47
  "peerDependencies": {
48
48
  "antd": "^5.27.2",