@octostar/platform-types 0.2.0 → 0.2.2

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 (284) hide show
  1. package/dist/docs/enums/SortOrder.html +3 -3
  2. package/dist/docs/enums/WorkspacePermissionValue.html +3 -3
  3. package/dist/docs/hierarchy.html +1 -1
  4. package/dist/docs/index.html +2 -2
  5. package/dist/docs/interfaces/ActionContext.html +4 -4
  6. package/dist/docs/interfaces/Colorful.html +3 -3
  7. package/dist/docs/interfaces/Concept.html +12 -12
  8. package/dist/docs/interfaces/Desktop.html +77 -77
  9. package/dist/docs/interfaces/DesktopActionContext.html +7 -7
  10. package/dist/docs/interfaces/DesktopSettings.html +5 -5
  11. package/dist/docs/interfaces/GetAttachmentOptions.html +5 -5
  12. package/dist/docs/interfaces/IDataTransfer.html +11 -11
  13. package/dist/docs/interfaces/Inheritance.html +5 -5
  14. package/dist/docs/interfaces/Ontology.html +20 -20
  15. package/dist/docs/interfaces/Property.html +5 -5
  16. package/dist/docs/interfaces/QueryObjectFilterClause.html +3 -3
  17. package/dist/docs/interfaces/RecordProvider.html +6 -6
  18. package/dist/docs/interfaces/RefObject.html +3 -3
  19. package/dist/docs/interfaces/Relationship.html +20 -20
  20. package/dist/docs/interfaces/SearchProps.html +4 -4
  21. package/dist/docs/interfaces/SearchXperienceModalProps.html +9 -9
  22. package/dist/docs/interfaces/SearchXperienceProps.html +7 -7
  23. package/dist/docs/interfaces/StylerContext.html +11 -11
  24. package/dist/docs/interfaces/TagAttributes.html +7 -7
  25. package/dist/docs/interfaces/WorkspaceChangeEmitter.html +5 -5
  26. package/dist/docs/interfaces/WorkspaceItemConfig.html +6 -6
  27. package/dist/docs/interfaces/WorkspaceRecordIdentifier.html +5 -5
  28. package/dist/docs/modules.html +2 -2
  29. package/dist/docs/types/ActionHandler.html +2 -2
  30. package/dist/docs/types/AddCommentParams.html +2 -2
  31. package/dist/docs/types/AddListener.html +2 -2
  32. package/dist/docs/types/ApiErrorResult.html +2 -2
  33. package/dist/docs/types/ApiResult.html +2 -2
  34. package/dist/docs/types/ApiSuccessResult.html +2 -2
  35. package/dist/docs/types/App.html +2 -2
  36. package/dist/docs/types/AppRegistry.html +2 -2
  37. package/dist/docs/types/AppServiceCallOptions.html +2 -2
  38. package/dist/docs/types/AppServiceCallProps.html +2 -2
  39. package/dist/docs/types/AsyncFilter.html +2 -2
  40. package/dist/docs/types/AttachmentResponseType.html +2 -2
  41. package/dist/docs/types/AttachmentType.html +2 -2
  42. package/dist/docs/types/Behaviour.html +2 -2
  43. package/dist/docs/types/BinaryOperator.html +2 -2
  44. package/dist/docs/types/Callback.html +2 -2
  45. package/dist/docs/types/CommentWorkspaceItem.html +2 -2
  46. package/dist/docs/types/Comparator.html +2 -2
  47. package/dist/docs/types/ConceptFilter.html +2 -2
  48. package/dist/docs/types/ConceptMap.html +2 -2
  49. package/dist/docs/types/ConceptWithParents.html +2 -2
  50. package/dist/docs/types/ConnectedEntity.html +2 -2
  51. package/dist/docs/types/ContextMenuGroup.html +2 -2
  52. package/dist/docs/types/ContextMenuLabels.html +2 -2
  53. package/dist/docs/types/ContextMenuOptions.html +2 -2
  54. package/dist/docs/types/ContextMenuParams.html +2 -2
  55. package/dist/docs/types/ContextMenuRequest.html +2 -2
  56. package/dist/docs/types/CopyOptions.html +2 -2
  57. package/dist/docs/types/CreateEntityFormProps.html +2 -2
  58. package/dist/docs/types/CreateRelationsDialogProps.html +2 -2
  59. package/dist/docs/types/CustomEventListener.html +2 -2
  60. package/dist/docs/types/CustomTemplate.html +2 -2
  61. package/dist/docs/types/CustomTemplateIframeProps.html +2 -2
  62. package/dist/docs/types/DesktopAction.html +2 -2
  63. package/dist/docs/types/DesktopActionFilter.html +2 -2
  64. package/dist/docs/types/DesktopActionMenuItem.html +2 -2
  65. package/dist/docs/types/DesktopActionMenuItemGroup.html +2 -2
  66. package/dist/docs/types/DesktopActionOptions.html +2 -2
  67. package/dist/docs/types/DesktopOpenParams.html +2 -2
  68. package/dist/docs/types/DesktopStylerContext.html +2 -2
  69. package/dist/docs/types/DraftWorkspaceItem.html +2 -2
  70. package/dist/docs/types/DragEndParams.html +2 -2
  71. package/dist/docs/types/DragStartParams.html +2 -2
  72. package/dist/docs/types/EConnection.html +2 -2
  73. package/dist/docs/types/EdgeSpec.html +2 -2
  74. package/dist/docs/types/EmitEventTransformDefinition.html +2 -2
  75. package/dist/docs/types/Entity.html +2 -2
  76. package/dist/docs/types/EntityEdge.html +2 -2
  77. package/dist/docs/types/EntityOTM.html +2 -2
  78. package/dist/docs/types/EntityPasteContext.html +2 -2
  79. package/dist/docs/types/EventContextType.html +2 -2
  80. package/dist/docs/types/EventEmitterType.html +2 -2
  81. package/dist/docs/types/EventName.html +2 -2
  82. package/dist/docs/types/EventProducer.html +2 -2
  83. package/dist/docs/types/EventPublisher.html +2 -2
  84. package/dist/docs/types/EventSubscriber.html +2 -2
  85. package/dist/docs/types/EventUnsubscriber.html +2 -2
  86. package/dist/docs/types/ExportOptions.html +2 -2
  87. package/dist/docs/types/ExtractEntitiesOptions.html +2 -2
  88. package/dist/docs/types/FileCode.html +2 -2
  89. package/dist/docs/types/FileTreeOptions.html +2 -2
  90. package/dist/docs/types/FilterDefinition.html +2 -2
  91. package/dist/docs/types/FilterDefinitions.html +2 -2
  92. package/dist/docs/types/FilterName.html +2 -2
  93. package/dist/docs/types/FilterReference.html +2 -2
  94. package/dist/docs/types/FocusListItem.html +2 -2
  95. package/dist/docs/types/FolderPasteOptions.html +2 -2
  96. package/dist/docs/types/GraphSpec.html +2 -2
  97. package/dist/docs/types/HttpTransformDefinition.html +2 -2
  98. package/dist/docs/types/Icon.html +2 -2
  99. package/dist/docs/types/IconProps.html +2 -2
  100. package/dist/docs/types/IframeTransformDefinition.html +2 -2
  101. package/dist/docs/types/ImageInfo.html +2 -2
  102. package/dist/docs/types/ImportZipOptions.html +2 -2
  103. package/dist/docs/types/InlineCode.html +2 -2
  104. package/dist/docs/types/JavascriptFileStylerDefinition.html +2 -2
  105. package/dist/docs/types/JavascriptFileTransformDefinition.html +2 -2
  106. package/dist/docs/types/JavascriptFilterDefinition.html +2 -2
  107. package/dist/docs/types/JavascriptInlineStylerDefinition.html +2 -2
  108. package/dist/docs/types/JavascriptInlineTransformDefinition.html +2 -2
  109. package/dist/docs/types/JavascriptType.html +2 -2
  110. package/dist/docs/types/JobManifest.html +2 -2
  111. package/dist/docs/types/KnownCounts.html +2 -2
  112. package/dist/docs/types/ModalTemplateProps.html +2 -2
  113. package/dist/docs/types/NamedEntityGroup.html +2 -2
  114. package/dist/docs/types/NunjucksFileTransformDefinition.html +2 -2
  115. package/dist/docs/types/NunjucksInlineTransformDefinition.html +2 -2
  116. package/dist/docs/types/NunjucksType.html +2 -2
  117. package/dist/docs/types/OS_CONFIRM_MODAL_RESPONSE.html +2 -2
  118. package/dist/docs/types/OntologyTags.html +2 -2
  119. package/dist/docs/types/OsAuditFields.html +2 -2
  120. package/dist/docs/types/OsConfirmProps.html +2 -2
  121. package/dist/docs/types/OsNotification.html +2 -2
  122. package/dist/docs/types/OsProgress.html +2 -2
  123. package/dist/docs/types/OsTag.html +2 -2
  124. package/dist/docs/types/OsWorkspaceEntity.html +2 -2
  125. package/dist/docs/types/OsWorkspacePickerProps.html +2 -2
  126. package/dist/docs/types/PasteContextOptions.html +2 -2
  127. package/dist/docs/types/Permission.html +2 -2
  128. package/dist/docs/types/Point.html +2 -2
  129. package/dist/docs/types/ProvidedFilterDefinition.html +2 -2
  130. package/dist/docs/types/ProvidedTransformDefinition.html +2 -2
  131. package/dist/docs/types/PythonFileStylerDefinition.html +2 -2
  132. package/dist/docs/types/PythonFileTransformDefinition.html +2 -2
  133. package/dist/docs/types/PythonFilterDefinition.html +2 -2
  134. package/dist/docs/types/PythonInlineStylerDefinition.html +2 -2
  135. package/dist/docs/types/PythonInlineTransformDefinition.html +2 -2
  136. package/dist/docs/types/PythonType.html +2 -2
  137. package/dist/docs/types/Query.html +2 -2
  138. package/dist/docs/types/QueryBatchResult.html +2 -2
  139. package/dist/docs/types/QueryErrorResult.html +2 -2
  140. package/dist/docs/types/QueryExecutor.html +2 -2
  141. package/dist/docs/types/QueryResponse.html +2 -2
  142. package/dist/docs/types/QueryResult.html +2 -2
  143. package/dist/docs/types/QuerySuccessResult.html +2 -2
  144. package/dist/docs/types/ReactCssProperties.html +2 -2
  145. package/dist/docs/types/ReactNode.html +2 -2
  146. package/dist/docs/types/ReactRef.html +2 -2
  147. package/dist/docs/types/ReasonedBoolean.html +2 -2
  148. package/dist/docs/types/RefCallback.html +2 -2
  149. package/dist/docs/types/RelationshipCountResult.html +2 -2
  150. package/dist/docs/types/SaveAsModalProps.html +2 -2
  151. package/dist/docs/types/SaveFileOptions.html +2 -2
  152. package/dist/docs/types/SaveOptions.html +2 -2
  153. package/dist/docs/types/SavedTemplate.html +2 -2
  154. package/dist/docs/types/SemanticBindingType.html +2 -2
  155. package/dist/docs/types/SemanticBindings.html +2 -2
  156. package/dist/docs/types/SemanticallyBoundFilterDefinition.html +2 -2
  157. package/dist/docs/types/SendQueryOptions.html +2 -2
  158. package/dist/docs/types/ServiceDefinition.html +2 -2
  159. package/dist/docs/types/ServiceDefinitions.html +2 -2
  160. package/dist/docs/types/ServiceRole.html +2 -2
  161. package/dist/docs/types/ShowOntology.html +2 -2
  162. package/dist/docs/types/ShowTabProps.html +2 -2
  163. package/dist/docs/types/Styler.html +2 -2
  164. package/dist/docs/types/StylerConfig.html +2 -2
  165. package/dist/docs/types/StylerDefinition.html +2 -2
  166. package/dist/docs/types/StylerDefinitions.html +2 -2
  167. package/dist/docs/types/StylerOption.html +2 -2
  168. package/dist/docs/types/StylerProducer.html +2 -2
  169. package/dist/docs/types/Tag.html +2 -2
  170. package/dist/docs/types/TagInfo.html +2 -2
  171. package/dist/docs/types/TagWithRelationship.html +2 -2
  172. package/dist/docs/types/TaskCleanupReason.html +2 -2
  173. package/dist/docs/types/TemplateMetadata.html +2 -2
  174. package/dist/docs/types/TemplateType.html +2 -2
  175. package/dist/docs/types/TemplateVariant.html +2 -2
  176. package/dist/docs/types/TransformAction.html +2 -2
  177. package/dist/docs/types/TransformActionContext.html +2 -2
  178. package/dist/docs/types/TransformDefinition.html +2 -2
  179. package/dist/docs/types/TransformDefinitions.html +2 -2
  180. package/dist/docs/types/Unsubscribe.html +2 -2
  181. package/dist/docs/types/UserProfile.html +2 -2
  182. package/dist/docs/types/Watcher.html +2 -2
  183. package/dist/docs/types/Whoami.html +2 -2
  184. package/dist/docs/types/WithProgressBarOptions.html +2 -2
  185. package/dist/docs/types/Workspace.html +2 -2
  186. package/dist/docs/types/WorkspaceIdentifier.html +2 -2
  187. package/dist/docs/types/WorkspaceItem.html +2 -2
  188. package/dist/docs/types/WorkspaceItemBase.html +2 -2
  189. package/dist/docs/types/WorkspaceItemIdentifier.html +2 -2
  190. package/dist/docs/types/WorkspaceItemModel.html +2 -2
  191. package/dist/docs/types/WorkspaceItemTitleProps.html +2 -2
  192. package/dist/docs/types/WorkspaceItems.html +2 -2
  193. package/dist/docs/types/WorkspacePermission.html +2 -2
  194. package/dist/docs/types/WorkspaceRecord.html +2 -2
  195. package/dist/docs/types/WorkspaceRecordInfo.html +2 -2
  196. package/dist/docs/types/WorkspaceRecordWithRelationships.html +2 -2
  197. package/dist/docs/types/WorkspaceRecords.html +2 -2
  198. package/dist/docs/types/WorkspaceRelationship.html +2 -2
  199. package/dist/docs/types/WorkspaceSettings.html +2 -2
  200. package/dist/docs/types/trigger.html +2 -2
  201. package/dist/docs/types/uuid.html +2 -2
  202. package/dist/docs/variables/OS_CONFIRM_MODAL_CANCEL.html +2 -2
  203. package/dist/docs/variables/OS_CONFIRM_MODAL_NO.html +2 -2
  204. package/dist/docs/variables/OS_CONFIRM_MODAL_YES.html +2 -2
  205. package/lib/action.d.ts +130 -0
  206. package/lib/action.d.ts.map +1 -0
  207. package/lib/action.js +2 -0
  208. package/lib/action.js.map +1 -0
  209. package/lib/api.d.ts +30 -0
  210. package/lib/api.d.ts.map +1 -0
  211. package/lib/api.js +2 -0
  212. package/lib/api.js.map +1 -0
  213. package/lib/app.d.ts +56 -0
  214. package/lib/app.d.ts.map +1 -0
  215. package/lib/app.js +2 -0
  216. package/lib/app.js.map +1 -0
  217. package/lib/behaviour.d.ts +45 -0
  218. package/lib/behaviour.d.ts.map +1 -0
  219. package/lib/behaviour.js +14 -0
  220. package/lib/behaviour.js.map +1 -0
  221. package/lib/callback.d.ts +22 -0
  222. package/lib/callback.d.ts.map +1 -0
  223. package/lib/callback.js +2 -0
  224. package/lib/callback.js.map +1 -0
  225. package/lib/desktop.d.ts +1100 -0
  226. package/lib/desktop.d.ts.map +1 -0
  227. package/lib/desktop.js +16 -0
  228. package/lib/desktop.js.map +1 -0
  229. package/lib/event.d.ts +90 -0
  230. package/lib/event.d.ts.map +1 -0
  231. package/lib/event.js +2 -0
  232. package/lib/event.js.map +1 -0
  233. package/lib/filters.d.ts +49 -0
  234. package/lib/filters.d.ts.map +1 -0
  235. package/lib/filters.js +2 -0
  236. package/lib/filters.js.map +1 -0
  237. package/lib/graph.d.ts +67 -0
  238. package/lib/graph.d.ts.map +1 -0
  239. package/lib/graph.js +2 -0
  240. package/lib/graph.js.map +1 -0
  241. package/lib/index.d.ts +20 -0
  242. package/lib/index.d.ts.map +1 -0
  243. package/lib/index.js.map +1 -0
  244. package/lib/jobManifestTypes.d.ts +283 -0
  245. package/lib/jobManifestTypes.d.ts.map +1 -0
  246. package/lib/jobManifestTypes.js +2 -0
  247. package/lib/jobManifestTypes.js.map +1 -0
  248. package/lib/model.d.ts +647 -0
  249. package/lib/model.d.ts.map +1 -0
  250. package/lib/model.js +11 -0
  251. package/lib/model.js.map +1 -0
  252. package/lib/ontology.d.ts +176 -0
  253. package/lib/ontology.d.ts.map +1 -0
  254. package/lib/ontology.js +2 -0
  255. package/lib/ontology.js.map +1 -0
  256. package/lib/query.d.ts +70 -0
  257. package/lib/query.d.ts.map +1 -0
  258. package/lib/query.js +2 -0
  259. package/lib/query.js.map +1 -0
  260. package/lib/react-types.d.ts +31 -0
  261. package/lib/react-types.d.ts.map +1 -0
  262. package/lib/react-types.js +2 -0
  263. package/lib/react-types.js.map +1 -0
  264. package/lib/search.d.ts +49 -0
  265. package/lib/search.d.ts.map +1 -0
  266. package/lib/search.js +2 -0
  267. package/lib/search.js.map +1 -0
  268. package/lib/styling.d.ts +87 -0
  269. package/lib/styling.d.ts.map +1 -0
  270. package/lib/styling.js +2 -0
  271. package/lib/styling.js.map +1 -0
  272. package/lib/templates.d.ts +107 -0
  273. package/lib/templates.d.ts.map +1 -0
  274. package/lib/templates.js +2 -0
  275. package/lib/templates.js.map +1 -0
  276. package/lib/user.d.ts +15 -0
  277. package/lib/user.d.ts.map +1 -0
  278. package/lib/user.js +2 -0
  279. package/lib/user.js.map +1 -0
  280. package/lib/workspace.d.ts +181 -0
  281. package/lib/workspace.d.ts.map +1 -0
  282. package/lib/workspace.js +12 -0
  283. package/lib/workspace.js.map +1 -0
  284. package/package.json +13 -12
@@ -1,2 +1,2 @@
1
- <!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>OS_CONFIRM_MODAL_YES | @octostar/platform-types - v0.2.0</title><meta name="description" content="Documentation for @octostar/platform-types"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@octostar/platform-types - v0.2.0</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@octostar/platform-types</a></li><li><a href="OS_CONFIRM_MODAL_YES.html">OS_CONFIRM_MODAL_YES</a></li></ul><h1>Variable OS_CONFIRM_MODAL_YES<code class="tsd-tag">Const</code> <code class="tsd-tag">Beta</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">OS_<wbr/>CONFIRM_<wbr/>MODAL_<wbr/>YES</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">true</span><span class="tsd-signature-symbol"> = true</span></div><div class="tsd-comment tsd-typography"><p>Affirmative option for the confirmation modal.</p>
2
- </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Octostarco/octostar-superset/blob/babd67d2a916eafbfa65778b1f403745964f69a7/superset-frontend/packages/octostar-platform-types/src/desktop.ts#L416">desktop.ts:416</a></li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@octostar/platform-types - v0.2.0</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
1
+ <!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>OS_CONFIRM_MODAL_YES | @octostar/platform-types - v0.2.2</title><meta name="description" content="Documentation for @octostar/platform-types"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@octostar/platform-types - v0.2.2</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@octostar/platform-types</a></li><li><a href="OS_CONFIRM_MODAL_YES.html">OS_CONFIRM_MODAL_YES</a></li></ul><h1>Variable OS_CONFIRM_MODAL_YES<code class="tsd-tag">Const</code> <code class="tsd-tag">Beta</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">OS_<wbr/>CONFIRM_<wbr/>MODAL_<wbr/>YES</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">true</span><span class="tsd-signature-symbol"> = true</span></div><div class="tsd-comment tsd-typography"><p>Affirmative option for the confirmation modal.</p>
2
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Octostarco/octostar-superset/blob/4bd87c9273e0930c3f3abc6e15ab32def471ad46/superset-frontend/packages/octostar-platform-types/src/desktop.ts#L416">desktop.ts:416</a></li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@octostar/platform-types - v0.2.2</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
@@ -0,0 +1,130 @@
1
+ import { ItemType } from 'rc-menu/lib/interface';
2
+ import { EdgeSpec, GraphSpec } from './graph';
3
+ import { Entity, WorkspaceItem } from './model';
4
+ import { Workspace } from './workspace';
5
+ /**
6
+ * @beta
7
+ * Interface for managing data transfer during drag and drop operations.
8
+ */
9
+ export interface IDataTransfer {
10
+ /**
11
+ * Clears the data for the specified format or all formats if none is specified.
12
+ * @param format - The format of the data to clear.
13
+ */
14
+ clearData(format?: string): void;
15
+ /**
16
+ * Sets the data for the specified format.
17
+ * @param format - The format of the data.
18
+ * @param data - The data to be set.
19
+ */
20
+ setData(format: string, data: string): void;
21
+ /**
22
+ * Retrieves the data for the specified format.
23
+ * @param format - The format of the data to retrieve.
24
+ * @returns The data for the specified format, or null if not found.
25
+ */
26
+ getData(format: string): string | null;
27
+ /**
28
+ * Sets the image to be used for dragging.
29
+ * @param img - The image element to be used.
30
+ * @param xOffset - The horizontal offset.
31
+ * @param yOffset - The vertical offset.
32
+ */
33
+ setDragImage?(img: Element, xOffset: number, yOffset: number): void;
34
+ /** The drop effect for the drag operation. */
35
+ readonly dropEffect: string;
36
+ /** The effect allowed for the drag operation. */
37
+ readonly effectAllowed: string;
38
+ /** The list of files being transferred. */
39
+ readonly files: FileList;
40
+ /** The types of data being transferred. */
41
+ readonly types: string[];
42
+ /** The items being transferred. */
43
+ readonly items: DataTransferItemList;
44
+ }
45
+ /**
46
+ * @beta
47
+ * Interface representing the context for an action.
48
+ */
49
+ export interface ActionContext {
50
+ concept?: string;
51
+ graph?: GraphSpec & any;
52
+ item?: WorkspaceItem;
53
+ items?: WorkspaceItem[];
54
+ workspace?: Workspace;
55
+ dataTransfer?: IDataTransfer;
56
+ eventTopicPrefix?: string;
57
+ /**
58
+ * Callback function to be executed with the result of the action.
59
+ * @param result - The result object containing records and relationships.
60
+ */
61
+ then?: (result?: {
62
+ records?: Entity[];
63
+ relationships?: EdgeSpec[];
64
+ }) => void;
65
+ }
66
+ /**
67
+ * @beta
68
+ * Type representing the possible triggers for a context menu.
69
+ */
70
+ export type trigger = 'hover' | 'contextMenu' | 'click';
71
+ /**
72
+ * @beta
73
+ * Type representing the groups for a context menu.
74
+ */
75
+ export type ContextMenuGroup = 'add' | 'addto' | 'copy' | 'edit' | 'transform' | 'general' | 'open' | 'danger' | 'tags' | 'relations';
76
+ /**
77
+ * @beta
78
+ * Type representing labels for context menu groups.
79
+ */
80
+ export type ContextMenuLabels = {
81
+ [group in ContextMenuGroup]?: string;
82
+ };
83
+ /**
84
+ * @beta
85
+ * Options for configuring a context menu.
86
+ */
87
+ export type ContextMenuOptions = {
88
+ mode?: 'edit' | 'default';
89
+ groups?: ContextMenuGroup[];
90
+ labels?: ContextMenuLabels;
91
+ extras?: ItemType[];
92
+ excludedKeys?: string[];
93
+ };
94
+ /**
95
+ * @beta
96
+ * Request object for opening or clearing a context menu.
97
+ */
98
+ export type ContextMenuRequest = (ActionContext & {
99
+ x: number;
100
+ y: number;
101
+ openContextMenu?: boolean;
102
+ onCloseEmit?: string;
103
+ menuType?: 'default' | 'tags';
104
+ options?: ContextMenuOptions;
105
+ }) | {
106
+ clearContextMenu: true;
107
+ };
108
+ /**
109
+ * @beta
110
+ * Parameters for a context menu.
111
+ */
112
+ export type ContextMenuParams = ActionContext & {
113
+ children: any;
114
+ trigger?: trigger[];
115
+ onMenuToggle?: (isOpen: boolean) => void;
116
+ options?: ContextMenuOptions;
117
+ };
118
+ /**
119
+ * @beta
120
+ * Type representing an asynchronous filter function.
121
+ */
122
+ export type AsyncFilter = () => Promise<boolean>;
123
+ /**
124
+ * @beta
125
+ * Interface for handling actions with optional close behavior.
126
+ */
127
+ export type ActionHandler = {
128
+ onClose?: AsyncFilter;
129
+ };
130
+ //# sourceMappingURL=action.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action.d.ts","sourceRoot":"","sources":["../src/action.ts"],"names":[],"mappings":"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"}
package/lib/action.js ADDED
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=action.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action.js","sourceRoot":"","sources":["../src/action.ts"],"names":[],"mappings":""}
package/lib/api.d.ts ADDED
@@ -0,0 +1,30 @@
1
+ /**
2
+ * @beta
3
+ * Type representing a successful API result.
4
+ * @template T - The type of the data returned.
5
+ */
6
+ export type ApiSuccessResult<T> = {
7
+ /** The status of the API result, always 'success' for this type. */
8
+ status: 'success';
9
+ /** The data returned by the API. */
10
+ data: T;
11
+ };
12
+ /**
13
+ * @beta
14
+ * Type representing an error API result.
15
+ */
16
+ export type ApiErrorResult = {
17
+ /** The status of the API result, always 'error' for this type. */
18
+ status: 'error';
19
+ /** The error message or data. */
20
+ data: string;
21
+ /** The cause of the error, represented by a number. */
22
+ cause: number;
23
+ };
24
+ /**
25
+ * @beta
26
+ * Type representing a general API result which can be either success or error.
27
+ * @template T - The type of the data returned in case of success.
28
+ */
29
+ export type ApiResult<T> = ApiSuccessResult<T> | ApiErrorResult;
30
+ //# sourceMappingURL=api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../src/api.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,MAAM,gBAAgB,CAAC,CAAC,IAAI;IAChC,oEAAoE;IACpE,MAAM,EAAE,SAAS,CAAC;IAClB,oCAAoC;IACpC,IAAI,EAAE,CAAC,CAAC;CACT,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B,kEAAkE;IAClE,MAAM,EAAE,OAAO,CAAC;IAChB,iCAAiC;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,uDAAuD;IACvD,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,SAAS,CAAC,CAAC,IAAI,gBAAgB,CAAC,CAAC,CAAC,GAAG,cAAc,CAAC"}
package/lib/api.js ADDED
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=api.js.map
package/lib/api.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api.js","sourceRoot":"","sources":["../src/api.ts"],"names":[],"mappings":""}
package/lib/app.d.ts ADDED
@@ -0,0 +1,56 @@
1
+ import { JobManifest } from './jobManifestTypes';
2
+ import { DesktopActionContext } from './desktop';
3
+ import { WorkspaceItem } from './model';
4
+ /**
5
+ * @beta
6
+ * Type representing an application with folder and optional manifest information.
7
+ */
8
+ export type App = {
9
+ /** The folder associated with the application. */
10
+ folder: WorkspaceItem;
11
+ /** Optional manifest entity associated with the application. */
12
+ manifest_entity?: WorkspaceItem;
13
+ /** Optional job manifest associated with the application. */
14
+ manifest?: JobManifest;
15
+ };
16
+ /**
17
+ * @beta
18
+ * Options for an application service call.
19
+ */
20
+ export type AppServiceCallOptions = {};
21
+ /**
22
+ * @beta
23
+ * Properties for making an application service call.
24
+ */
25
+ export type AppServiceCallProps = {
26
+ /** The name of the service to be called. */
27
+ service: string;
28
+ /** Optional options for the service call. */
29
+ options?: AppServiceCallOptions;
30
+ /** Contextual data for the service call. */
31
+ context: {
32
+ [key: string]: any;
33
+ };
34
+ };
35
+ /**
36
+ * @beta
37
+ * Context for a transformation action within the desktop environment.
38
+ */
39
+ export type TransformActionContext = DesktopActionContext & {
40
+ /** The task ID associated with the transformation. */
41
+ taskID: string;
42
+ /** Function to be called when the task is canceled. */
43
+ onTaskCanceled: () => Promise<void>;
44
+ /** Function to be called when the task is completed. */
45
+ onTaskComplete: (result: any) => Promise<void>;
46
+ /** Function to call a transformation with additional context. */
47
+ callTransform: (transform: string, extraContext: any) => Promise<any>;
48
+ };
49
+ /**
50
+ * @beta
51
+ * Type representing a transformation action.
52
+ * @param context - The context for the transformation action.
53
+ * @returns The result of the transformation action.
54
+ */
55
+ export type TransformAction = (context: TransformActionContext) => any;
56
+ //# sourceMappingURL=app.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../src/app.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAExC;;;GAGG;AACH,MAAM,MAAM,GAAG,GAAG;IAChB,kDAAkD;IAClD,MAAM,EAAE,aAAa,CAAC;IACtB,gEAAgE;IAChE,eAAe,CAAC,EAAE,aAAa,CAAC;IAChC,6DAA6D;IAC7D,QAAQ,CAAC,EAAE,WAAW,CAAC;CACxB,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,qBAAqB,GAAG,EAAE,CAAC;AAEvC;;;GAGG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC,4CAA4C;IAC5C,OAAO,EAAE,MAAM,CAAC;IAChB,6CAA6C;IAC7C,OAAO,CAAC,EAAE,qBAAqB,CAAC;IAChC,4CAA4C;IAC5C,OAAO,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;CACjC,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,sBAAsB,GAAG,oBAAoB,GAAG;IAC1D,sDAAsD;IACtD,MAAM,EAAE,MAAM,CAAC;IACf,uDAAuD;IACvD,cAAc,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IACpC,wDAAwD;IACxD,cAAc,EAAE,CAAC,MAAM,EAAE,GAAG,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC/C,iEAAiE;IACjE,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,YAAY,EAAE,GAAG,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;CACvE,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,EAAE,sBAAsB,KAAK,GAAG,CAAC"}
package/lib/app.js ADDED
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=app.js.map
package/lib/app.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.js","sourceRoot":"","sources":["../src/app.ts"],"names":[],"mappings":""}
@@ -0,0 +1,45 @@
1
+ import { GraphSpec } from './graph';
2
+ import { Entity } from './model';
3
+ /**
4
+ * @beta
5
+ * Type representing a set of behaviors with various methods for entity and graph operations.
6
+ */
7
+ export type Behaviour = {
8
+ /**
9
+ * Gets the count of entities.
10
+ * @returns A promise that resolves to the number of entities.
11
+ */
12
+ getEntitiesCount?: () => Promise<number>;
13
+ /**
14
+ * Gets a list of entities.
15
+ * @param limit - Optional limit on the number of entities to retrieve.
16
+ * @returns A promise that resolves to an array of entities.
17
+ */
18
+ getEntities?: (limit?: number) => Promise<Entity[]>;
19
+ /**
20
+ * Gets a single entity.
21
+ * @returns A promise that resolves to an entity.
22
+ */
23
+ getEntity?: () => Promise<Entity>;
24
+ /**
25
+ * Gets the content associated with the behavior.
26
+ * @returns A promise that resolves to the content.
27
+ */
28
+ getContent?: () => Promise<any>;
29
+ /**
30
+ * Gets the graph specification.
31
+ * @returns A promise that resolves to the graph specification or undefined if not available.
32
+ */
33
+ getGraph?: () => Promise<GraphSpec | undefined>;
34
+ /**
35
+ * Opens the associated entity or content with the default action.
36
+ * @returns A promise that resolves when the operation is complete.
37
+ */
38
+ open?: () => Promise<void>;
39
+ /**
40
+ * Edits the associated entity or content with the default edit action.
41
+ * @returns A promise that resolves when the operation is complete.
42
+ */
43
+ edit?: () => Promise<void>;
44
+ };
45
+ //# sourceMappingURL=behaviour.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"behaviour.d.ts","sourceRoot":"","sources":["../src/behaviour.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAEjC;;;GAGG;AACH,MAAM,MAAM,SAAS,GAAG;IACtB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,OAAO,CAAC,MAAM,CAAC,CAAC;IAEzC;;;;OAIG;IACH,WAAW,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;IAEpD;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,OAAO,CAAC,MAAM,CAAC,CAAC;IAElC;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,OAAO,CAAC,GAAG,CAAC,CAAC;IAEhC;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,OAAO,CAAC,SAAS,GAAG,SAAS,CAAC,CAAC;IAEhD;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAE3B;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAC5B,CAAC"}
@@ -0,0 +1,14 @@
1
+ export {};
2
+ /*
3
+ // For consideration.
4
+ export type BehaviourRegistry = {
5
+ registerBehaviour: (
6
+ entity_type: string,
7
+ behaviour: Partial<Behaviour>,
8
+ ) => void;
9
+ withBehavior: (entity: Entity) => Promise<Entity & Behaviour>;
10
+ };
11
+
12
+ export type AppRegistry = BehaviourRegistry & {
13
+ */
14
+ //# sourceMappingURL=behaviour.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"behaviour.js","sourceRoot":"","sources":["../src/behaviour.ts"],"names":[],"mappings":";AAoDA;;;;;;;;;;;IAWI"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * @beta
3
+ * Type representing a callback function.
4
+ * @template T - The type of the parameter for the callback function.
5
+ * @param t - The parameter for the callback function.
6
+ */
7
+ export type Callback<T> = (t: T) => void;
8
+ /**
9
+ * @beta
10
+ * Type representing an unsubscribe function.
11
+ * @returns A promise that resolves when the unsubscribe operation is complete.
12
+ */
13
+ export type Unsubscribe = () => Promise<void>;
14
+ /**
15
+ * @beta
16
+ * Type representing a function to add a listener.
17
+ * @template T - The type of the parameter for the callback function.
18
+ * @param callback - The callback function to be invoked.
19
+ * @returns A promise that resolves to an unsubscribe function.
20
+ */
21
+ export type AddListener<T> = (callback: Callback<T>) => Promise<Unsubscribe>;
22
+ //# sourceMappingURL=callback.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"callback.d.ts","sourceRoot":"","sources":["../src/callback.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,MAAM,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,KAAK,IAAI,CAAC;AAEzC;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;AAE9C;;;;;;GAMG;AACH,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=callback.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"callback.js","sourceRoot":"","sources":["../src/callback.ts"],"names":[],"mappings":""}