@octostar/platform-types 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (240) hide show
  1. package/dist/docs/assets/navigation.js +1 -1
  2. package/dist/docs/assets/search.js +1 -1
  3. package/dist/docs/enums/SortOrder.html +3 -3
  4. package/dist/docs/enums/WorkspacePermissionValue.html +3 -3
  5. package/dist/docs/hierarchy.html +1 -1
  6. package/dist/docs/index.html +2 -2
  7. package/dist/docs/interfaces/ActionContext.html +4 -4
  8. package/dist/docs/interfaces/Colorful.html +3 -3
  9. package/dist/docs/interfaces/Concept.html +12 -12
  10. package/dist/docs/interfaces/Desktop.html +82 -80
  11. package/dist/docs/interfaces/DesktopActionContext.html +7 -7
  12. package/dist/docs/interfaces/DesktopSettings.html +5 -5
  13. package/dist/docs/interfaces/GetAttachmentOptions.html +5 -5
  14. package/dist/docs/interfaces/IDataTransfer.html +11 -11
  15. package/dist/docs/interfaces/Inheritance.html +5 -5
  16. package/dist/docs/interfaces/Ontology.html +20 -20
  17. package/dist/docs/interfaces/Property.html +5 -5
  18. package/dist/docs/interfaces/QueryObjectFilterClause.html +3 -3
  19. package/dist/docs/interfaces/RecordProvider.html +6 -6
  20. package/dist/docs/interfaces/RefObject.html +3 -3
  21. package/dist/docs/interfaces/Relationship.html +20 -20
  22. package/dist/docs/interfaces/SearchProps.html +4 -4
  23. package/dist/docs/interfaces/SearchXperienceModalProps.html +9 -9
  24. package/dist/docs/interfaces/SearchXperienceProps.html +7 -7
  25. package/dist/docs/interfaces/SemanticBindingProps.html +9 -0
  26. package/dist/docs/interfaces/StylerContext.html +11 -11
  27. package/dist/docs/interfaces/TagAttributes.html +7 -7
  28. package/dist/docs/interfaces/WorkspaceChangeEmitter.html +5 -5
  29. package/dist/docs/interfaces/WorkspaceItemConfig.html +6 -6
  30. package/dist/docs/interfaces/WorkspaceRecordIdentifier.html +5 -5
  31. package/dist/docs/modules.html +9 -2
  32. package/dist/docs/types/ActionHandler.html +2 -2
  33. package/dist/docs/types/AddCommentParams.html +2 -2
  34. package/dist/docs/types/AddListener.html +2 -2
  35. package/dist/docs/types/ApiErrorResult.html +2 -2
  36. package/dist/docs/types/ApiResult.html +2 -2
  37. package/dist/docs/types/ApiSuccessResult.html +2 -2
  38. package/dist/docs/types/App.html +2 -2
  39. package/dist/docs/types/AppRegistry.html +2 -2
  40. package/dist/docs/types/AppServiceCallOptions.html +2 -2
  41. package/dist/docs/types/AppServiceCallProps.html +2 -2
  42. package/dist/docs/types/AsyncFilter.html +2 -2
  43. package/dist/docs/types/AttachmentResponseType.html +2 -2
  44. package/dist/docs/types/AttachmentType.html +2 -2
  45. package/dist/docs/types/Behaviour.html +2 -2
  46. package/dist/docs/types/BinaryOperator.html +2 -2
  47. package/dist/docs/types/Callback.html +2 -2
  48. package/dist/docs/types/CommentWorkspaceItem.html +2 -2
  49. package/dist/docs/types/Comparator.html +2 -2
  50. package/dist/docs/types/ConceptFilter.html +3 -3
  51. package/dist/docs/types/ConceptMap.html +2 -2
  52. package/dist/docs/types/ConceptName.html +1 -0
  53. package/dist/docs/types/ConceptWithParents.html +2 -2
  54. package/dist/docs/types/ConnectedEntity.html +2 -2
  55. package/dist/docs/types/ContextMenuGroup.html +2 -2
  56. package/dist/docs/types/ContextMenuLabels.html +2 -2
  57. package/dist/docs/types/ContextMenuOptions.html +2 -2
  58. package/dist/docs/types/ContextMenuParams.html +2 -2
  59. package/dist/docs/types/ContextMenuRequest.html +2 -2
  60. package/dist/docs/types/CopyOptions.html +2 -2
  61. package/dist/docs/types/CreateEntityFormProps.html +2 -2
  62. package/dist/docs/types/CreateRelationsDialogProps.html +2 -2
  63. package/dist/docs/types/CustomEventListener.html +2 -2
  64. package/dist/docs/types/CustomTemplate.html +2 -2
  65. package/dist/docs/types/CustomTemplateIframeProps.html +2 -2
  66. package/dist/docs/types/DataContextType.html +12 -0
  67. package/dist/docs/types/DesktopAction.html +2 -2
  68. package/dist/docs/types/DesktopActionFilter.html +2 -2
  69. package/dist/docs/types/DesktopActionMenuItem.html +2 -2
  70. package/dist/docs/types/DesktopActionMenuItemGroup.html +2 -2
  71. package/dist/docs/types/DesktopActionOptions.html +3 -2
  72. package/dist/docs/types/DesktopOpenParams.html +2 -2
  73. package/dist/docs/types/DesktopStylerContext.html +2 -2
  74. package/dist/docs/types/DraftWorkspaceItem.html +2 -2
  75. package/dist/docs/types/DragEndParams.html +2 -2
  76. package/dist/docs/types/DragStartParams.html +2 -2
  77. package/dist/docs/types/EConnection.html +2 -2
  78. package/dist/docs/types/EdgeSpec.html +2 -2
  79. package/dist/docs/types/EmitEventTransformDefinition.html +2 -2
  80. package/dist/docs/types/Entity.html +2 -2
  81. package/dist/docs/types/EntityEdge.html +2 -2
  82. package/dist/docs/types/EntityOTM.html +2 -2
  83. package/dist/docs/types/EntityPasteContext.html +2 -2
  84. package/dist/docs/types/EventContextType.html +2 -2
  85. package/dist/docs/types/EventEmitterType.html +2 -2
  86. package/dist/docs/types/EventName.html +2 -2
  87. package/dist/docs/types/EventProducer.html +2 -2
  88. package/dist/docs/types/EventPublisher.html +2 -2
  89. package/dist/docs/types/EventSubscriber.html +2 -2
  90. package/dist/docs/types/EventUnsubscriber.html +2 -2
  91. package/dist/docs/types/ExportOptions.html +2 -2
  92. package/dist/docs/types/ExtractEntitiesOptions.html +2 -2
  93. package/dist/docs/types/FileCode.html +2 -2
  94. package/dist/docs/types/FileTreeOptions.html +2 -2
  95. package/dist/docs/types/FilterDefinition.html +2 -2
  96. package/dist/docs/types/FilterDefinitions.html +2 -2
  97. package/dist/docs/types/FilterName.html +2 -2
  98. package/dist/docs/types/FilterReference.html +2 -2
  99. package/dist/docs/types/FocusListItem.html +2 -2
  100. package/dist/docs/types/FolderPasteOptions.html +2 -2
  101. package/dist/docs/types/GraphDataSpec.html +1 -0
  102. package/dist/docs/types/GraphSpec.html +2 -2
  103. package/dist/docs/types/HttpTransformDefinition.html +2 -2
  104. package/dist/docs/types/Icon.html +2 -2
  105. package/dist/docs/types/IconProps.html +2 -2
  106. package/dist/docs/types/IframeTransformDefinition.html +2 -2
  107. package/dist/docs/types/ImageInfo.html +2 -2
  108. package/dist/docs/types/ImportZipOptions.html +2 -2
  109. package/dist/docs/types/InlineCode.html +2 -2
  110. package/dist/docs/types/JavascriptFileStylerDefinition.html +2 -2
  111. package/dist/docs/types/JavascriptFileTransformDefinition.html +2 -2
  112. package/dist/docs/types/JavascriptFilterDefinition.html +2 -2
  113. package/dist/docs/types/JavascriptInlineStylerDefinition.html +2 -2
  114. package/dist/docs/types/JavascriptInlineTransformDefinition.html +2 -2
  115. package/dist/docs/types/JavascriptType.html +2 -2
  116. package/dist/docs/types/JobManifest.html +2 -2
  117. package/dist/docs/types/KnownCounts.html +2 -2
  118. package/dist/docs/types/ModalTemplateProps.html +2 -2
  119. package/dist/docs/types/NamedEntityGroup.html +2 -2
  120. package/dist/docs/types/NunjucksFileTransformDefinition.html +2 -2
  121. package/dist/docs/types/NunjucksInlineTransformDefinition.html +2 -2
  122. package/dist/docs/types/NunjucksType.html +2 -2
  123. package/dist/docs/types/OS_CONFIRM_MODAL_RESPONSE.html +2 -2
  124. package/dist/docs/types/OntologyTags.html +2 -2
  125. package/dist/docs/types/OsAuditFields.html +2 -2
  126. package/dist/docs/types/OsConfirmProps.html +2 -2
  127. package/dist/docs/types/OsNotification.html +2 -2
  128. package/dist/docs/types/OsProgress.html +2 -2
  129. package/dist/docs/types/OsTag.html +2 -2
  130. package/dist/docs/types/OsWorkspaceEntity.html +2 -2
  131. package/dist/docs/types/OsWorkspacePickerProps.html +2 -2
  132. package/dist/docs/types/PasteContextOptions.html +2 -2
  133. package/dist/docs/types/Permission.html +4 -3
  134. package/dist/docs/types/Point.html +2 -2
  135. package/dist/docs/types/ProvidedFilterDefinition.html +2 -2
  136. package/dist/docs/types/ProvidedTransformDefinition.html +2 -2
  137. package/dist/docs/types/PythonFileStylerDefinition.html +2 -2
  138. package/dist/docs/types/PythonFileTransformDefinition.html +2 -2
  139. package/dist/docs/types/PythonFilterDefinition.html +2 -2
  140. package/dist/docs/types/PythonInlineStylerDefinition.html +2 -2
  141. package/dist/docs/types/PythonInlineTransformDefinition.html +2 -2
  142. package/dist/docs/types/PythonType.html +2 -2
  143. package/dist/docs/types/Query.html +2 -2
  144. package/dist/docs/types/QueryBatchResult.html +2 -2
  145. package/dist/docs/types/QueryErrorResult.html +2 -2
  146. package/dist/docs/types/QueryExecutor.html +2 -2
  147. package/dist/docs/types/QueryResponse.html +2 -2
  148. package/dist/docs/types/QueryResult.html +2 -2
  149. package/dist/docs/types/QuerySuccessResult.html +2 -2
  150. package/dist/docs/types/ReactCssProperties.html +2 -2
  151. package/dist/docs/types/ReactNode.html +2 -2
  152. package/dist/docs/types/ReactRef.html +2 -2
  153. package/dist/docs/types/ReasonedBoolean.html +2 -2
  154. package/dist/docs/types/RefCallback.html +2 -2
  155. package/dist/docs/types/RelationshipCountResult.html +2 -2
  156. package/dist/docs/types/SaveAsModalProps.html +2 -2
  157. package/dist/docs/types/SaveFileOptions.html +2 -2
  158. package/dist/docs/types/SaveOptions.html +2 -2
  159. package/dist/docs/types/SavedTemplate.html +2 -2
  160. package/dist/docs/types/SemanticBinding.html +5 -0
  161. package/dist/docs/types/SemanticBindingType.html +2 -2
  162. package/dist/docs/types/SemanticBindings.html +2 -2
  163. package/dist/docs/types/SemanticallyBoundApp.html +3 -0
  164. package/dist/docs/types/SemanticallyBoundFilterDefinition.html +2 -2
  165. package/dist/docs/types/SendQueryOptions.html +2 -2
  166. package/dist/docs/types/ServiceDefinition.html +2 -2
  167. package/dist/docs/types/ServiceDefinitions.html +2 -2
  168. package/dist/docs/types/ServiceRole.html +2 -2
  169. package/dist/docs/types/ShowOntology.html +2 -2
  170. package/dist/docs/types/ShowTabProps.html +2 -2
  171. package/dist/docs/types/Styler.html +2 -2
  172. package/dist/docs/types/StylerConfig.html +2 -2
  173. package/dist/docs/types/StylerDefinition.html +2 -2
  174. package/dist/docs/types/StylerDefinitions.html +2 -2
  175. package/dist/docs/types/StylerOption.html +2 -2
  176. package/dist/docs/types/StylerProducer.html +2 -2
  177. package/dist/docs/types/Tag.html +2 -2
  178. package/dist/docs/types/TagInfo.html +2 -2
  179. package/dist/docs/types/TagWithRelationship.html +2 -2
  180. package/dist/docs/types/TaskCleanupReason.html +2 -2
  181. package/dist/docs/types/TemplateMetadata.html +4 -3
  182. package/dist/docs/types/TemplateType.html +2 -2
  183. package/dist/docs/types/TemplateVariant.html +2 -2
  184. package/dist/docs/types/TransformAction.html +2 -2
  185. package/dist/docs/types/TransformActionContext.html +2 -2
  186. package/dist/docs/types/TransformDefinition.html +2 -2
  187. package/dist/docs/types/TransformDefinitions.html +2 -2
  188. package/dist/docs/types/Unsubscribe.html +2 -2
  189. package/dist/docs/types/UserProfile.html +2 -2
  190. package/dist/docs/types/Watcher.html +2 -2
  191. package/dist/docs/types/Whoami.html +3 -2
  192. package/dist/docs/types/WithProgressBarOptions.html +2 -2
  193. package/dist/docs/types/Workspace.html +3 -3
  194. package/dist/docs/types/WorkspaceFlags.html +2 -0
  195. package/dist/docs/types/WorkspaceIdentifier.html +2 -2
  196. package/dist/docs/types/WorkspaceItem.html +2 -2
  197. package/dist/docs/types/WorkspaceItemBase.html +2 -2
  198. package/dist/docs/types/WorkspaceItemIdentifier.html +2 -2
  199. package/dist/docs/types/WorkspaceItemModel.html +7 -4
  200. package/dist/docs/types/WorkspaceItemTitleProps.html +2 -2
  201. package/dist/docs/types/WorkspaceItems.html +2 -2
  202. package/dist/docs/types/WorkspacePermission.html +2 -2
  203. package/dist/docs/types/WorkspaceRecord.html +2 -2
  204. package/dist/docs/types/WorkspaceRecordInfo.html +2 -2
  205. package/dist/docs/types/WorkspaceRecordWithRelationships.html +2 -2
  206. package/dist/docs/types/WorkspaceRecords.html +2 -2
  207. package/dist/docs/types/WorkspaceRelationship.html +2 -2
  208. package/dist/docs/types/WorkspaceSettings.html +2 -2
  209. package/dist/docs/types/trigger.html +2 -2
  210. package/dist/docs/types/uuid.html +2 -2
  211. package/dist/docs/variables/OS_CONFIRM_MODAL_CANCEL.html +2 -2
  212. package/dist/docs/variables/OS_CONFIRM_MODAL_NO.html +2 -2
  213. package/dist/docs/variables/OS_CONFIRM_MODAL_YES.html +2 -2
  214. package/dist/platform-types.d.ts +127 -8
  215. package/lib/app.d.ts +9 -0
  216. package/lib/app.d.ts.map +1 -1
  217. package/lib/desktop.d.ts +12 -0
  218. package/lib/desktop.d.ts.map +1 -1
  219. package/lib/desktop.js.map +1 -1
  220. package/lib/graph.d.ts +40 -0
  221. package/lib/graph.d.ts.map +1 -1
  222. package/lib/index.d.ts +1 -0
  223. package/lib/index.d.ts.map +1 -1
  224. package/lib/index.js +1 -0
  225. package/lib/index.js.map +1 -1
  226. package/lib/jobManifestTypes.d.ts +1 -12
  227. package/lib/jobManifestTypes.d.ts.map +1 -1
  228. package/lib/model.d.ts +19 -6
  229. package/lib/model.d.ts.map +1 -1
  230. package/lib/model.js.map +1 -1
  231. package/lib/semantic.d.ts +40 -0
  232. package/lib/semantic.d.ts.map +1 -0
  233. package/lib/semantic.js +2 -0
  234. package/lib/semantic.js.map +1 -0
  235. package/lib/templates.d.ts +3 -0
  236. package/lib/templates.d.ts.map +1 -1
  237. package/lib/workspace.d.ts +12 -0
  238. package/lib/workspace.d.ts.map +1 -1
  239. package/lib/workspace.js.map +1 -1
  240. package/package.json +2 -2
package/lib/model.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"model.js","sourceRoot":"","sources":["../src/model.ts"],"names":[],"mappings":"AA0RA;;;GAGG;AACH,MAAM,CAAN,IAAY,SAIX;AAJD,WAAY,SAAS;IACnB,oDAAc,CAAA;IACd,4CAAU,CAAA;IACV,0CAAS,CAAA;AACX,CAAC,EAJW,SAAS,KAAT,SAAS,QAIpB"}
1
+ {"version":3,"file":"model.js","sourceRoot":"","sources":["../src/model.ts"],"names":[],"mappings":"AA2RA;;;GAGG;AACH,MAAM,CAAN,IAAY,SAIX;AAJD,WAAY,SAAS;IACnB,oDAAc,CAAA;IACd,4CAAU,CAAA;IACV,0CAAS,CAAA;AACX,CAAC,EAJW,SAAS,KAAT,SAAS,QAIpB"}
@@ -0,0 +1,40 @@
1
+ import { ConceptName } from './model';
2
+ /**
3
+ * @beta
4
+ * Type representing the properties for a template binding.
5
+ */
6
+ export interface SemanticBindingProps {
7
+ /** The concept to which the binding applies */
8
+ concept: string;
9
+ /** The priority for the template, lower value means higher priority */
10
+ priority?: number;
11
+ /** Whether the result should be shown in large mode by default */
12
+ maximized?: boolean;
13
+ /** Other properties */
14
+ [key: string]: any;
15
+ }
16
+ /**
17
+ * @beta
18
+ * Type representing a semantic binding type.
19
+ */
20
+ export type SemanticBindingType = 'record_viewer' | string;
21
+ /**
22
+ * @beta
23
+ * Type representing a template binding.
24
+ */
25
+ export type SemanticBinding = {
26
+ /** The concept to which the binding applies */
27
+ concept: ConceptName;
28
+ /** the role for which the binding applies */
29
+ role?: SemanticBindingType;
30
+ /** The actual binding properties */
31
+ props?: SemanticBindingProps;
32
+ };
33
+ /**
34
+ * @beta
35
+ * Type representing multiple semantic bindings.
36
+ */
37
+ export type SemanticBindings = {
38
+ [k in SemanticBindingType]: (ConceptName | SemanticBinding)[];
39
+ };
40
+ //# sourceMappingURL=semantic.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"semantic.d.ts","sourceRoot":"","sources":["../src/semantic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC;;;GAGG;AACH,MAAM,WAAW,oBAAoB;IACnC,+CAA+C;IAC/C,OAAO,EAAE,MAAM,CAAC;IAChB,uEAAuE;IACvE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,kEAAkE;IAClE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,uBAAuB;IACvB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED;;;GAGG;AACH,MAAM,MAAM,mBAAmB,GAAG,eAAe,GAAG,MAAM,CAAC;AAE3D;;;GAGG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,+CAA+C;IAC/C,OAAO,EAAE,WAAW,CAAC;IACrB,6CAA6C;IAC7C,IAAI,CAAC,EAAE,mBAAmB,CAAC;IAC3B,oCAAoC;IACpC,KAAK,CAAC,EAAE,oBAAoB,CAAC;CAC9B,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG;KAC5B,CAAC,IAAI,mBAAmB,GAAG,CAAC,WAAW,GAAG,eAAe,CAAC,EAAE;CAC9D,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=semantic.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"semantic.js","sourceRoot":"","sources":["../src/semantic.ts"],"names":[],"mappings":""}
@@ -1,5 +1,6 @@
1
1
  import { ModalProps } from 'antd';
2
2
  import { ReactCssProperties } from './react-types';
3
+ import { SemanticBinding } from './semantic';
3
4
  /**
4
5
  * @beta
5
6
  * Type representing the possible template types.
@@ -37,6 +38,8 @@ export type TemplateMetadata = {
37
38
  rendersMultipleRecords?: boolean;
38
39
  /** Whether the template is an app. */
39
40
  isApp?: boolean;
41
+ /** details for semantic bindings. These can be app-specific */
42
+ bindings?: SemanticBinding[];
40
43
  };
41
44
  /**
42
45
  * @beta
@@ -1 +1 @@
1
- {"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../src/templates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAEnD;;;GAGG;AACH,MAAM,MAAM,YAAY,GAAG,UAAU,GAAG,YAAY,CAAC;AAErD;;;GAGG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC;AAErC;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,gCAAgC;IAChC,IAAI,EAAE,M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AU,CAAC;IACxB,iCAAiC;IACjC,WAAW,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,cAAc,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACxC,oDAAoD;IACpD,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,gDAAgD;IAChD,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,6CAA6C;IAC7C,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC"}
@@ -37,6 +37,8 @@ export type Permission = WorkspaceItem & {
37
37
  os_permission: number;
38
38
  /** The role associated with the permission. */
39
39
  os_role?: string;
40
+ /** The flags associated with the permission */
41
+ os_flags?: number;
40
42
  };
41
43
  /**
42
44
  * @beta
@@ -58,6 +60,15 @@ export type WorkspacePermission = {
58
60
  /** The label for the permission. */
59
61
  label: string;
60
62
  };
63
+ /**
64
+ *
65
+ * @beta
66
+ * Type representing a workspace flags.
67
+ */
68
+ export type WorkspaceFlags = {
69
+ autoOpen?: boolean;
70
+ isHidden?: boolean;
71
+ };
61
72
  /**
62
73
  * @beta
63
74
  * Type representing information about records in a workspace.
@@ -96,6 +107,7 @@ export type Workspace = {
96
107
  permission?: WorkspacePermission;
97
108
  /** Whether the workspace is active. */
98
109
  isActive?: boolean;
110
+ os_flags?: number;
99
111
  };
100
112
  /**
101
113
  * @beta
@@ -1 +1 @@
1
- {"version":3,"file":"workspace.d.ts","sourceRoot":"","sources":["../src/workspace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAChE,OAAO,EACL,MAAM,EACN,KAAK,EACL,aAAa,EACb,cAAc,EACd,qBAAqB,EACtB,MAAM,SAAS,CAAC;AAEjB;;;GAGG;AACH,MAAM,MAAM,OAAO,GAAG;IACpB,sBAAsB;IACtB,GAAG,EAAE,MAAM,CAAC;IACZ,6CAA6C;IAC7C,YAAY,EAAE,MAAM,CAAC;I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,GAAG;IACnC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,OAAO,EAAE,GAAG,CAAC;IACb,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,WAAW,CAAC,EAAE,wBAAwB,CAAC;IACvC,gBAAgB,CAAC,EAAE;QACjB,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,EAAE,MAAM,CAAC;KACf,EAAE,CAAC;CACL,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"workspace.js","sourceRoot":"","sources":["../src/workspace.ts"],"names":[],"mappings":"AAkDA;;;GAGG;AACH,MAAM,CAAN,IAAY,wBAKX;AALD,WAAY,wBAAwB;IAClC,uEAAQ,CAAA;IACR,uEAAQ,CAAA;IACR,yEAAS,CAAA;IACT,yEAAS,CAAA;AACX,CAAC,EALW,wBAAwB,KAAxB,wBAAwB,QAKnC"}
1
+ {"version":3,"file":"workspace.js","sourceRoot":"","sources":["../src/workspace.ts"],"names":[],"mappings":"AAoDA;;;GAGG;AACH,MAAM,CAAN,IAAY,wBAKX;AALD,WAAY,wBAAwB;IAClC,uEAAQ,CAAA;IACR,uEAAQ,CAAA;IACR,yEAAS,CAAA;IACT,yEAAS,CAAA;AACX,CAAC,EALW,wBAAwB,KAAxB,wBAAwB,QAKnC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octostar/platform-types",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Types for the API exposed by Octostar platform to third parties",
5
5
  "keywords": [
6
6
  "octostar",
@@ -53,5 +53,5 @@
53
53
  "publishConfig": {
54
54
  "access": "public"
55
55
  },
56
- "gitHead": "4bd87c9273e0930c3f3abc6e15ab32def471ad46"
56
+ "gitHead": "722fe76364305d2b75a87ca2fb6d6fb4d58b1677"
57
57
  }