@octostar/platform-types 0.2.1 → 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.
- package/dist/docs/assets/navigation.js +1 -1
- package/dist/docs/assets/search.js +1 -1
- package/dist/docs/enums/SortOrder.html +3 -3
- package/dist/docs/enums/WorkspacePermissionValue.html +3 -3
- package/dist/docs/hierarchy.html +1 -1
- package/dist/docs/index.html +2 -2
- package/dist/docs/interfaces/ActionContext.html +4 -4
- package/dist/docs/interfaces/Colorful.html +3 -3
- package/dist/docs/interfaces/Concept.html +12 -12
- package/dist/docs/interfaces/Desktop.html +82 -80
- package/dist/docs/interfaces/DesktopActionContext.html +7 -7
- package/dist/docs/interfaces/DesktopSettings.html +5 -5
- package/dist/docs/interfaces/GetAttachmentOptions.html +5 -5
- package/dist/docs/interfaces/IDataTransfer.html +11 -11
- package/dist/docs/interfaces/Inheritance.html +5 -5
- package/dist/docs/interfaces/Ontology.html +20 -20
- package/dist/docs/interfaces/Property.html +5 -5
- package/dist/docs/interfaces/QueryObjectFilterClause.html +3 -3
- package/dist/docs/interfaces/RecordProvider.html +6 -6
- package/dist/docs/interfaces/RefObject.html +3 -3
- package/dist/docs/interfaces/Relationship.html +20 -20
- package/dist/docs/interfaces/SearchProps.html +4 -4
- package/dist/docs/interfaces/SearchXperienceModalProps.html +9 -9
- package/dist/docs/interfaces/SearchXperienceProps.html +7 -7
- package/dist/docs/interfaces/SemanticBindingProps.html +9 -0
- package/dist/docs/interfaces/StylerContext.html +11 -11
- package/dist/docs/interfaces/TagAttributes.html +7 -7
- package/dist/docs/interfaces/WorkspaceChangeEmitter.html +5 -5
- package/dist/docs/interfaces/WorkspaceItemConfig.html +6 -6
- package/dist/docs/interfaces/WorkspaceRecordIdentifier.html +5 -5
- package/dist/docs/modules.html +9 -2
- package/dist/docs/types/ActionHandler.html +2 -2
- package/dist/docs/types/AddCommentParams.html +2 -2
- package/dist/docs/types/AddListener.html +2 -2
- package/dist/docs/types/ApiErrorResult.html +2 -2
- package/dist/docs/types/ApiResult.html +2 -2
- package/dist/docs/types/ApiSuccessResult.html +2 -2
- package/dist/docs/types/App.html +2 -2
- package/dist/docs/types/AppRegistry.html +2 -2
- package/dist/docs/types/AppServiceCallOptions.html +2 -2
- package/dist/docs/types/AppServiceCallProps.html +2 -2
- package/dist/docs/types/AsyncFilter.html +2 -2
- package/dist/docs/types/AttachmentResponseType.html +2 -2
- package/dist/docs/types/AttachmentType.html +2 -2
- package/dist/docs/types/Behaviour.html +2 -2
- package/dist/docs/types/BinaryOperator.html +2 -2
- package/dist/docs/types/Callback.html +2 -2
- package/dist/docs/types/CommentWorkspaceItem.html +2 -2
- package/dist/docs/types/Comparator.html +2 -2
- package/dist/docs/types/ConceptFilter.html +3 -3
- package/dist/docs/types/ConceptMap.html +2 -2
- package/dist/docs/types/ConceptName.html +1 -0
- package/dist/docs/types/ConceptWithParents.html +2 -2
- package/dist/docs/types/ConnectedEntity.html +2 -2
- package/dist/docs/types/ContextMenuGroup.html +2 -2
- package/dist/docs/types/ContextMenuLabels.html +2 -2
- package/dist/docs/types/ContextMenuOptions.html +2 -2
- package/dist/docs/types/ContextMenuParams.html +2 -2
- package/dist/docs/types/ContextMenuRequest.html +2 -2
- package/dist/docs/types/CopyOptions.html +2 -2
- package/dist/docs/types/CreateEntityFormProps.html +2 -2
- package/dist/docs/types/CreateRelationsDialogProps.html +2 -2
- package/dist/docs/types/CustomEventListener.html +2 -2
- package/dist/docs/types/CustomTemplate.html +2 -2
- package/dist/docs/types/CustomTemplateIframeProps.html +2 -2
- package/dist/docs/types/DataContextType.html +12 -0
- package/dist/docs/types/DesktopAction.html +2 -2
- package/dist/docs/types/DesktopActionFilter.html +2 -2
- package/dist/docs/types/DesktopActionMenuItem.html +2 -2
- package/dist/docs/types/DesktopActionMenuItemGroup.html +2 -2
- package/dist/docs/types/DesktopActionOptions.html +3 -2
- package/dist/docs/types/DesktopOpenParams.html +2 -2
- package/dist/docs/types/DesktopStylerContext.html +2 -2
- package/dist/docs/types/DraftWorkspaceItem.html +2 -2
- package/dist/docs/types/DragEndParams.html +2 -2
- package/dist/docs/types/DragStartParams.html +2 -2
- package/dist/docs/types/EConnection.html +2 -2
- package/dist/docs/types/EdgeSpec.html +2 -2
- package/dist/docs/types/EmitEventTransformDefinition.html +2 -2
- package/dist/docs/types/Entity.html +2 -2
- package/dist/docs/types/EntityEdge.html +2 -2
- package/dist/docs/types/EntityOTM.html +2 -2
- package/dist/docs/types/EntityPasteContext.html +2 -2
- package/dist/docs/types/EventContextType.html +2 -2
- package/dist/docs/types/EventEmitterType.html +2 -2
- package/dist/docs/types/EventName.html +2 -2
- package/dist/docs/types/EventProducer.html +2 -2
- package/dist/docs/types/EventPublisher.html +2 -2
- package/dist/docs/types/EventSubscriber.html +2 -2
- package/dist/docs/types/EventUnsubscriber.html +2 -2
- package/dist/docs/types/ExportOptions.html +2 -2
- package/dist/docs/types/ExtractEntitiesOptions.html +2 -2
- package/dist/docs/types/FileCode.html +2 -2
- package/dist/docs/types/FileTreeOptions.html +2 -2
- package/dist/docs/types/FilterDefinition.html +2 -2
- package/dist/docs/types/FilterDefinitions.html +2 -2
- package/dist/docs/types/FilterName.html +2 -2
- package/dist/docs/types/FilterReference.html +2 -2
- package/dist/docs/types/FocusListItem.html +2 -2
- package/dist/docs/types/FolderPasteOptions.html +2 -2
- package/dist/docs/types/GraphDataSpec.html +1 -0
- package/dist/docs/types/GraphSpec.html +2 -2
- package/dist/docs/types/HttpTransformDefinition.html +2 -2
- package/dist/docs/types/Icon.html +2 -2
- package/dist/docs/types/IconProps.html +2 -2
- package/dist/docs/types/IframeTransformDefinition.html +2 -2
- package/dist/docs/types/ImageInfo.html +2 -2
- package/dist/docs/types/ImportZipOptions.html +2 -2
- package/dist/docs/types/InlineCode.html +2 -2
- package/dist/docs/types/JavascriptFileStylerDefinition.html +2 -2
- package/dist/docs/types/JavascriptFileTransformDefinition.html +2 -2
- package/dist/docs/types/JavascriptFilterDefinition.html +2 -2
- package/dist/docs/types/JavascriptInlineStylerDefinition.html +2 -2
- package/dist/docs/types/JavascriptInlineTransformDefinition.html +2 -2
- package/dist/docs/types/JavascriptType.html +2 -2
- package/dist/docs/types/JobManifest.html +2 -2
- package/dist/docs/types/KnownCounts.html +2 -2
- package/dist/docs/types/ModalTemplateProps.html +2 -2
- package/dist/docs/types/NamedEntityGroup.html +2 -2
- package/dist/docs/types/NunjucksFileTransformDefinition.html +2 -2
- package/dist/docs/types/NunjucksInlineTransformDefinition.html +2 -2
- package/dist/docs/types/NunjucksType.html +2 -2
- package/dist/docs/types/OS_CONFIRM_MODAL_RESPONSE.html +2 -2
- package/dist/docs/types/OntologyTags.html +2 -2
- package/dist/docs/types/OsAuditFields.html +2 -2
- package/dist/docs/types/OsConfirmProps.html +2 -2
- package/dist/docs/types/OsNotification.html +2 -2
- package/dist/docs/types/OsProgress.html +2 -2
- package/dist/docs/types/OsTag.html +2 -2
- package/dist/docs/types/OsWorkspaceEntity.html +2 -2
- package/dist/docs/types/OsWorkspacePickerProps.html +2 -2
- package/dist/docs/types/PasteContextOptions.html +2 -2
- package/dist/docs/types/Permission.html +4 -3
- package/dist/docs/types/Point.html +2 -2
- package/dist/docs/types/ProvidedFilterDefinition.html +2 -2
- package/dist/docs/types/ProvidedTransformDefinition.html +2 -2
- package/dist/docs/types/PythonFileStylerDefinition.html +2 -2
- package/dist/docs/types/PythonFileTransformDefinition.html +2 -2
- package/dist/docs/types/PythonFilterDefinition.html +2 -2
- package/dist/docs/types/PythonInlineStylerDefinition.html +2 -2
- package/dist/docs/types/PythonInlineTransformDefinition.html +2 -2
- package/dist/docs/types/PythonType.html +2 -2
- package/dist/docs/types/Query.html +2 -2
- package/dist/docs/types/QueryBatchResult.html +2 -2
- package/dist/docs/types/QueryErrorResult.html +2 -2
- package/dist/docs/types/QueryExecutor.html +2 -2
- package/dist/docs/types/QueryResponse.html +2 -2
- package/dist/docs/types/QueryResult.html +2 -2
- package/dist/docs/types/QuerySuccessResult.html +2 -2
- package/dist/docs/types/ReactCssProperties.html +2 -2
- package/dist/docs/types/ReactNode.html +2 -2
- package/dist/docs/types/ReactRef.html +2 -2
- package/dist/docs/types/ReasonedBoolean.html +2 -2
- package/dist/docs/types/RefCallback.html +2 -2
- package/dist/docs/types/RelationshipCountResult.html +2 -2
- package/dist/docs/types/SaveAsModalProps.html +2 -2
- package/dist/docs/types/SaveFileOptions.html +2 -2
- package/dist/docs/types/SaveOptions.html +2 -2
- package/dist/docs/types/SavedTemplate.html +2 -2
- package/dist/docs/types/SemanticBinding.html +5 -0
- package/dist/docs/types/SemanticBindingType.html +2 -2
- package/dist/docs/types/SemanticBindings.html +2 -2
- package/dist/docs/types/SemanticallyBoundApp.html +3 -0
- package/dist/docs/types/SemanticallyBoundFilterDefinition.html +2 -2
- package/dist/docs/types/SendQueryOptions.html +2 -2
- package/dist/docs/types/ServiceDefinition.html +2 -2
- package/dist/docs/types/ServiceDefinitions.html +2 -2
- package/dist/docs/types/ServiceRole.html +2 -2
- package/dist/docs/types/ShowOntology.html +2 -2
- package/dist/docs/types/ShowTabProps.html +2 -2
- package/dist/docs/types/Styler.html +2 -2
- package/dist/docs/types/StylerConfig.html +2 -2
- package/dist/docs/types/StylerDefinition.html +2 -2
- package/dist/docs/types/StylerDefinitions.html +2 -2
- package/dist/docs/types/StylerOption.html +2 -2
- package/dist/docs/types/StylerProducer.html +2 -2
- package/dist/docs/types/Tag.html +2 -2
- package/dist/docs/types/TagInfo.html +2 -2
- package/dist/docs/types/TagWithRelationship.html +2 -2
- package/dist/docs/types/TaskCleanupReason.html +2 -2
- package/dist/docs/types/TemplateMetadata.html +4 -3
- package/dist/docs/types/TemplateType.html +2 -2
- package/dist/docs/types/TemplateVariant.html +2 -2
- package/dist/docs/types/TransformAction.html +2 -2
- package/dist/docs/types/TransformActionContext.html +2 -2
- package/dist/docs/types/TransformDefinition.html +2 -2
- package/dist/docs/types/TransformDefinitions.html +2 -2
- package/dist/docs/types/Unsubscribe.html +2 -2
- package/dist/docs/types/UserProfile.html +2 -2
- package/dist/docs/types/Watcher.html +2 -2
- package/dist/docs/types/Whoami.html +3 -2
- package/dist/docs/types/WithProgressBarOptions.html +2 -2
- package/dist/docs/types/Workspace.html +3 -3
- package/dist/docs/types/WorkspaceFlags.html +2 -0
- package/dist/docs/types/WorkspaceIdentifier.html +2 -2
- package/dist/docs/types/WorkspaceItem.html +2 -2
- package/dist/docs/types/WorkspaceItemBase.html +2 -2
- package/dist/docs/types/WorkspaceItemIdentifier.html +2 -2
- package/dist/docs/types/WorkspaceItemModel.html +7 -4
- package/dist/docs/types/WorkspaceItemTitleProps.html +2 -2
- package/dist/docs/types/WorkspaceItems.html +2 -2
- package/dist/docs/types/WorkspacePermission.html +2 -2
- package/dist/docs/types/WorkspaceRecord.html +2 -2
- package/dist/docs/types/WorkspaceRecordInfo.html +2 -2
- package/dist/docs/types/WorkspaceRecordWithRelationships.html +2 -2
- package/dist/docs/types/WorkspaceRecords.html +2 -2
- package/dist/docs/types/WorkspaceRelationship.html +2 -2
- package/dist/docs/types/WorkspaceSettings.html +2 -2
- package/dist/docs/types/trigger.html +2 -2
- package/dist/docs/types/uuid.html +2 -2
- package/dist/docs/variables/OS_CONFIRM_MODAL_CANCEL.html +2 -2
- package/dist/docs/variables/OS_CONFIRM_MODAL_NO.html +2 -2
- package/dist/docs/variables/OS_CONFIRM_MODAL_YES.html +2 -2
- package/dist/platform-types.d.ts +127 -8
- package/lib/action.d.ts +130 -0
- package/lib/action.d.ts.map +1 -0
- package/lib/action.js +2 -0
- package/lib/action.js.map +1 -0
- package/lib/api.d.ts +30 -0
- package/lib/api.d.ts.map +1 -0
- package/lib/api.js +2 -0
- package/lib/api.js.map +1 -0
- package/lib/app.d.ts +65 -0
- package/lib/app.d.ts.map +1 -0
- package/lib/app.js +2 -0
- package/lib/app.js.map +1 -0
- package/lib/behaviour.d.ts +45 -0
- package/lib/behaviour.d.ts.map +1 -0
- package/lib/behaviour.js +14 -0
- package/lib/behaviour.js.map +1 -0
- package/lib/callback.d.ts +22 -0
- package/lib/callback.d.ts.map +1 -0
- package/lib/callback.js +2 -0
- package/lib/callback.js.map +1 -0
- package/lib/desktop.d.ts +1112 -0
- package/lib/desktop.d.ts.map +1 -0
- package/lib/desktop.js +16 -0
- package/lib/desktop.js.map +1 -0
- package/lib/event.d.ts +90 -0
- package/lib/event.d.ts.map +1 -0
- package/lib/event.js +2 -0
- package/lib/event.js.map +1 -0
- package/lib/filters.d.ts +49 -0
- package/lib/filters.d.ts.map +1 -0
- package/lib/filters.js +2 -0
- package/lib/filters.js.map +1 -0
- package/lib/graph.d.ts +107 -0
- package/lib/graph.d.ts.map +1 -0
- package/lib/graph.js +2 -0
- package/lib/graph.js.map +1 -0
- package/lib/index.d.ts +21 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -0
- package/lib/jobManifestTypes.d.ts +272 -0
- package/lib/jobManifestTypes.d.ts.map +1 -0
- package/lib/jobManifestTypes.js +2 -0
- package/lib/jobManifestTypes.js.map +1 -0
- package/lib/model.d.ts +660 -0
- package/lib/model.d.ts.map +1 -0
- package/lib/model.js +11 -0
- package/lib/model.js.map +1 -0
- package/lib/ontology.d.ts +176 -0
- package/lib/ontology.d.ts.map +1 -0
- package/lib/ontology.js +2 -0
- package/lib/ontology.js.map +1 -0
- package/lib/query.d.ts +70 -0
- package/lib/query.d.ts.map +1 -0
- package/lib/query.js +2 -0
- package/lib/query.js.map +1 -0
- package/lib/react-types.d.ts +31 -0
- package/lib/react-types.d.ts.map +1 -0
- package/lib/react-types.js +2 -0
- package/lib/react-types.js.map +1 -0
- package/lib/search.d.ts +49 -0
- package/lib/search.d.ts.map +1 -0
- package/lib/search.js +2 -0
- package/lib/search.js.map +1 -0
- package/lib/semantic.d.ts +40 -0
- package/lib/semantic.d.ts.map +1 -0
- package/lib/semantic.js +2 -0
- package/lib/semantic.js.map +1 -0
- package/lib/styling.d.ts +87 -0
- package/lib/styling.d.ts.map +1 -0
- package/lib/styling.js +2 -0
- package/lib/styling.js.map +1 -0
- package/lib/templates.d.ts +110 -0
- package/lib/templates.d.ts.map +1 -0
- package/lib/templates.js +2 -0
- package/lib/templates.js.map +1 -0
- package/lib/user.d.ts +15 -0
- package/lib/user.d.ts.map +1 -0
- package/lib/user.js +2 -0
- package/lib/user.js.map +1 -0
- package/lib/workspace.d.ts +193 -0
- package/lib/workspace.d.ts.map +1 -0
- package/lib/workspace.js +12 -0
- package/lib/workspace.js.map +1 -0
- package/package.json +13 -12
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jobManifestTypes.js","sourceRoot":"","sources":["../src/jobManifestTypes.ts"],"names":[],"mappings":""}
|
package/lib/model.d.ts
ADDED
|
@@ -0,0 +1,660 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @beta
|
|
3
|
+
* Type representing a binary operator.
|
|
4
|
+
*/
|
|
5
|
+
export type BinaryOperator = '==' | '!=' | '>' | '>=' | '<' | '<=' | 'in' | 'not in' | 'regex' | 'like' | 'ilike';
|
|
6
|
+
/**
|
|
7
|
+
* @beta
|
|
8
|
+
* Type representing a comparator for a filter clause in a query object.
|
|
9
|
+
*/
|
|
10
|
+
export type Comparator = string | number | (string | number)[] | null;
|
|
11
|
+
/**
|
|
12
|
+
* @beta
|
|
13
|
+
* Interface for a filter clause in a query object.
|
|
14
|
+
*/
|
|
15
|
+
export interface QueryObjectFilterClause {
|
|
16
|
+
col: string;
|
|
17
|
+
op: BinaryOperator;
|
|
18
|
+
val: Comparator;
|
|
19
|
+
}
|
|
20
|
+
export default QueryObjectFilterClause;
|
|
21
|
+
export type ConceptName = string;
|
|
22
|
+
/**
|
|
23
|
+
* Represents a property of a concept.
|
|
24
|
+
* @beta
|
|
25
|
+
*/
|
|
26
|
+
export interface Property {
|
|
27
|
+
/**
|
|
28
|
+
* The concept to which the property belongs.
|
|
29
|
+
*/
|
|
30
|
+
concept: ConceptName;
|
|
31
|
+
/**
|
|
32
|
+
* The name of the property.
|
|
33
|
+
*/
|
|
34
|
+
property_name: string;
|
|
35
|
+
/**
|
|
36
|
+
* The type of the property.
|
|
37
|
+
*/
|
|
38
|
+
property_type: string;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Represents an inheritance relationship between concepts.
|
|
42
|
+
* @beta
|
|
43
|
+
*/
|
|
44
|
+
export interface Inheritance {
|
|
45
|
+
/**
|
|
46
|
+
* The base concept in the inheritance.
|
|
47
|
+
*/
|
|
48
|
+
base_concept: ConceptName;
|
|
49
|
+
/**
|
|
50
|
+
* The derived concept in the inheritance.
|
|
51
|
+
*/
|
|
52
|
+
derived_concept: ConceptName;
|
|
53
|
+
/**
|
|
54
|
+
* The name will be displayed on ui
|
|
55
|
+
*/
|
|
56
|
+
display_name: string;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Represents a tag with a name and value.
|
|
60
|
+
* @beta
|
|
61
|
+
*/
|
|
62
|
+
export type Tag = {
|
|
63
|
+
/**
|
|
64
|
+
* The name of the tag.
|
|
65
|
+
*/
|
|
66
|
+
tag_name: string;
|
|
67
|
+
/**
|
|
68
|
+
* The value of the tag.
|
|
69
|
+
*/
|
|
70
|
+
tag_value: string;
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* Represents a concept with various properties and relationships.
|
|
74
|
+
* @beta
|
|
75
|
+
*/
|
|
76
|
+
export interface Concept {
|
|
77
|
+
/**
|
|
78
|
+
* The name of the concept.
|
|
79
|
+
*/
|
|
80
|
+
concept_name: string;
|
|
81
|
+
/**
|
|
82
|
+
* The parent concepts.
|
|
83
|
+
*/
|
|
84
|
+
parents: string[];
|
|
85
|
+
/**
|
|
86
|
+
* The properties of the concept.
|
|
87
|
+
*/
|
|
88
|
+
properties: Property[] | undefined;
|
|
89
|
+
/**
|
|
90
|
+
* All properties of the concept.
|
|
91
|
+
*/
|
|
92
|
+
allProperties: Property[] | undefined;
|
|
93
|
+
/**
|
|
94
|
+
* The relationships of the concept.
|
|
95
|
+
*/
|
|
96
|
+
relationships: Relationship[];
|
|
97
|
+
/**
|
|
98
|
+
* The columns associated with the concept.
|
|
99
|
+
*/
|
|
100
|
+
columns: string[];
|
|
101
|
+
/**
|
|
102
|
+
* The archetype of the concept.
|
|
103
|
+
*/
|
|
104
|
+
archetype: string;
|
|
105
|
+
/**
|
|
106
|
+
* The tags associated with the concept.
|
|
107
|
+
*/
|
|
108
|
+
tags: Tag[];
|
|
109
|
+
/**
|
|
110
|
+
* The label keys for the concept.
|
|
111
|
+
*/
|
|
112
|
+
labelKeys: string[];
|
|
113
|
+
/**
|
|
114
|
+
* All label keys for the concept.
|
|
115
|
+
*/
|
|
116
|
+
allLabelKeys: string[];
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Represents a map of concepts.
|
|
120
|
+
* @beta
|
|
121
|
+
*/
|
|
122
|
+
export type ConceptMap = Map<string, Concept>;
|
|
123
|
+
/**
|
|
124
|
+
* Represents an entity with basic attributes.
|
|
125
|
+
* @beta
|
|
126
|
+
*/
|
|
127
|
+
export type Entity = {
|
|
128
|
+
/**
|
|
129
|
+
* The ID of the entity.
|
|
130
|
+
*/
|
|
131
|
+
entity_id: string;
|
|
132
|
+
/**
|
|
133
|
+
* The type of the entity.
|
|
134
|
+
*/
|
|
135
|
+
entity_type: string;
|
|
136
|
+
/**
|
|
137
|
+
* The label of the entity.
|
|
138
|
+
*/
|
|
139
|
+
entity_label: string;
|
|
140
|
+
};
|
|
141
|
+
/**
|
|
142
|
+
* Represents an entity with additional attributes for one-to-many relationships.
|
|
143
|
+
* @beta
|
|
144
|
+
*/
|
|
145
|
+
export declare type EntityOTM = Entity & {
|
|
146
|
+
/**
|
|
147
|
+
* The UID of the source entity.
|
|
148
|
+
*/
|
|
149
|
+
source_entity_uid: string;
|
|
150
|
+
/**
|
|
151
|
+
* The type of the source entity.
|
|
152
|
+
*/
|
|
153
|
+
source_entity_type: string;
|
|
154
|
+
};
|
|
155
|
+
/**
|
|
156
|
+
* Represents a connected entity with a concept name.
|
|
157
|
+
* @beta
|
|
158
|
+
*/
|
|
159
|
+
export type ConnectedEntity = Entity & {
|
|
160
|
+
/**
|
|
161
|
+
* The name of the concept.
|
|
162
|
+
*/
|
|
163
|
+
concept_name: string;
|
|
164
|
+
};
|
|
165
|
+
/**
|
|
166
|
+
* Represents a relationship between concepts.
|
|
167
|
+
* @beta
|
|
168
|
+
*/
|
|
169
|
+
export interface Relationship {
|
|
170
|
+
/**
|
|
171
|
+
* Unique identifier for the relationship.
|
|
172
|
+
*/
|
|
173
|
+
key: string;
|
|
174
|
+
/**
|
|
175
|
+
* Source concept in the relationship.
|
|
176
|
+
*/
|
|
177
|
+
concept: ConceptName;
|
|
178
|
+
/**
|
|
179
|
+
* Target concept in the relationship.
|
|
180
|
+
*/
|
|
181
|
+
target_concept: ConceptName;
|
|
182
|
+
/**
|
|
183
|
+
* Name of the relationship.
|
|
184
|
+
*/
|
|
185
|
+
relationship_name: string;
|
|
186
|
+
/**
|
|
187
|
+
* Inverse name of the relationship.
|
|
188
|
+
*/
|
|
189
|
+
inverse_name: string;
|
|
190
|
+
/**
|
|
191
|
+
* Properties of the source concept.
|
|
192
|
+
*/
|
|
193
|
+
source_properties: string;
|
|
194
|
+
/**
|
|
195
|
+
* Properties of the target concept.
|
|
196
|
+
*/
|
|
197
|
+
target_properties: string;
|
|
198
|
+
/**
|
|
199
|
+
* Name of the mapping.
|
|
200
|
+
*/
|
|
201
|
+
mapping_name: string;
|
|
202
|
+
/**
|
|
203
|
+
* Additional properties associated with the relationship.
|
|
204
|
+
*/
|
|
205
|
+
additional_properties: string;
|
|
206
|
+
/**
|
|
207
|
+
* Query used for mapping the relationship.
|
|
208
|
+
*/
|
|
209
|
+
mapping_query: string;
|
|
210
|
+
/**
|
|
211
|
+
* Tables involved in the relationship.
|
|
212
|
+
*/
|
|
213
|
+
tables: string;
|
|
214
|
+
/**
|
|
215
|
+
* JSON representation of the mapping.
|
|
216
|
+
*/
|
|
217
|
+
mapping_json: string;
|
|
218
|
+
/**
|
|
219
|
+
* Indicates if the relationship is inverse (1 for true, 0 for false).
|
|
220
|
+
*/
|
|
221
|
+
is_inverse: number;
|
|
222
|
+
/**
|
|
223
|
+
* Indicates if the relationship is many-to-many (1 for true, 0 for false).
|
|
224
|
+
*/
|
|
225
|
+
is_mtm: number;
|
|
226
|
+
/**
|
|
227
|
+
* Transitivity property of the relationship.
|
|
228
|
+
*/
|
|
229
|
+
transitivity: number;
|
|
230
|
+
/**
|
|
231
|
+
* Identifier for the data source.
|
|
232
|
+
*/
|
|
233
|
+
datasource_id: string;
|
|
234
|
+
/**
|
|
235
|
+
* Sort order for the relationship.
|
|
236
|
+
*/
|
|
237
|
+
sort_order: number;
|
|
238
|
+
/**
|
|
239
|
+
* Description of the relationship (optional).
|
|
240
|
+
*/
|
|
241
|
+
description?: string;
|
|
242
|
+
}
|
|
243
|
+
/**
|
|
244
|
+
* Enum for sort order values.
|
|
245
|
+
* @beta
|
|
246
|
+
*/
|
|
247
|
+
export declare enum SortOrder {
|
|
248
|
+
PREFERRED = 21,
|
|
249
|
+
OTHER = 10,
|
|
250
|
+
HIDE = -1
|
|
251
|
+
}
|
|
252
|
+
/**
|
|
253
|
+
* Represents a workspace record identifier.
|
|
254
|
+
* @beta
|
|
255
|
+
*/
|
|
256
|
+
export interface WorkspaceRecordIdentifier {
|
|
257
|
+
/**
|
|
258
|
+
* The concept to which the record belongs.
|
|
259
|
+
*/
|
|
260
|
+
entity_type: string;
|
|
261
|
+
/**
|
|
262
|
+
* The ID of the workspace record.
|
|
263
|
+
*/
|
|
264
|
+
os_entity_uid: string;
|
|
265
|
+
/**
|
|
266
|
+
* The id of the workspace in which the record is stored.
|
|
267
|
+
*/
|
|
268
|
+
os_workspace: string;
|
|
269
|
+
}
|
|
270
|
+
/**
|
|
271
|
+
* Represents a workspace entity.
|
|
272
|
+
* @beta
|
|
273
|
+
*/
|
|
274
|
+
export type OsWorkspaceEntity = Entity & WorkspaceRecordIdentifier;
|
|
275
|
+
/**
|
|
276
|
+
* Represents a concept with parent concepts.
|
|
277
|
+
* @beta
|
|
278
|
+
*/
|
|
279
|
+
export type ConceptWithParents = Concept & {
|
|
280
|
+
parents: string[];
|
|
281
|
+
};
|
|
282
|
+
/**
|
|
283
|
+
* Represents the configuration for a workspace item.
|
|
284
|
+
* @beta
|
|
285
|
+
*/
|
|
286
|
+
export interface WorkspaceItemConfig {
|
|
287
|
+
/**
|
|
288
|
+
* The id the workspace item.
|
|
289
|
+
*/
|
|
290
|
+
entity_id: string;
|
|
291
|
+
/**
|
|
292
|
+
* The concept to which the workspace item belongs.
|
|
293
|
+
*/
|
|
294
|
+
entity_type: string;
|
|
295
|
+
/**
|
|
296
|
+
* The id of the workspace in which the workspace item is stored.
|
|
297
|
+
*/
|
|
298
|
+
workspace_id: string;
|
|
299
|
+
/**
|
|
300
|
+
* Epoch time of the last update of the workspace item.
|
|
301
|
+
*/
|
|
302
|
+
last_updated: number;
|
|
303
|
+
}
|
|
304
|
+
/**
|
|
305
|
+
* Represents a filter applied to a concept.
|
|
306
|
+
* @beta
|
|
307
|
+
*/
|
|
308
|
+
export type ConceptFilter = {
|
|
309
|
+
/**
|
|
310
|
+
* The name of the concept.
|
|
311
|
+
*/
|
|
312
|
+
concept: ConceptName;
|
|
313
|
+
/**
|
|
314
|
+
* The filters to apply to the records of the concept.
|
|
315
|
+
*/
|
|
316
|
+
filters: QueryObjectFilterClause[];
|
|
317
|
+
};
|
|
318
|
+
/**
|
|
319
|
+
* Represents the model for a workspace item.
|
|
320
|
+
* @beta
|
|
321
|
+
*/
|
|
322
|
+
export type WorkspaceItemModel = {
|
|
323
|
+
/**
|
|
324
|
+
* Ephemeral UI state in lieu of using complex redux logic.
|
|
325
|
+
* It is not saved in persistence and can be mutated by components.
|
|
326
|
+
*/
|
|
327
|
+
__uiState?: {
|
|
328
|
+
/**
|
|
329
|
+
* Indicates if the item is in rename mode.
|
|
330
|
+
*/
|
|
331
|
+
rename?: boolean;
|
|
332
|
+
/**
|
|
333
|
+
* A filter applied to concepts.
|
|
334
|
+
*/
|
|
335
|
+
query?: ConceptFilter;
|
|
336
|
+
/**
|
|
337
|
+
* Function to get the count of entities.
|
|
338
|
+
* @returns A promise that resolves to the number of entities.
|
|
339
|
+
*/
|
|
340
|
+
getEntitiesCount?: () => Promise<number>;
|
|
341
|
+
/**
|
|
342
|
+
* Function to get the entities.
|
|
343
|
+
* @param limit - The maximum number of entities to retrieve.
|
|
344
|
+
* @returns A promise that resolves to an array of entities.
|
|
345
|
+
*/
|
|
346
|
+
getEntities?: (limit?: number) => Promise<Entity[]>;
|
|
347
|
+
/**
|
|
348
|
+
* Determines if the count is shown only when the item is closed.
|
|
349
|
+
*/
|
|
350
|
+
showCountOnlyWhenClosed?: boolean;
|
|
351
|
+
/**
|
|
352
|
+
* The initial state of the item.
|
|
353
|
+
*/
|
|
354
|
+
initialState?: any;
|
|
355
|
+
/**
|
|
356
|
+
* Indicates if the item should be highlighted.
|
|
357
|
+
*/
|
|
358
|
+
highlight?: boolean;
|
|
359
|
+
/**
|
|
360
|
+
* Indicates if the item is in draft mode.
|
|
361
|
+
*/
|
|
362
|
+
draft?: boolean;
|
|
363
|
+
/**
|
|
364
|
+
* Indicates if the item is auto open
|
|
365
|
+
*/
|
|
366
|
+
autoOpen?: boolean;
|
|
367
|
+
/**
|
|
368
|
+
* Indicates if the item is hidden
|
|
369
|
+
*/
|
|
370
|
+
isHidden?: boolean;
|
|
371
|
+
/**
|
|
372
|
+
* Indicates if the item is closable
|
|
373
|
+
*/
|
|
374
|
+
isClosable?: boolean;
|
|
375
|
+
};
|
|
376
|
+
/**
|
|
377
|
+
* Name of the workspace item.
|
|
378
|
+
*/
|
|
379
|
+
os_item_name: string;
|
|
380
|
+
/**
|
|
381
|
+
* Type of the workspace item.
|
|
382
|
+
*/
|
|
383
|
+
os_item_type: string;
|
|
384
|
+
};
|
|
385
|
+
/**
|
|
386
|
+
* Represents the base attributes for a workspace item.
|
|
387
|
+
* @beta
|
|
388
|
+
*/
|
|
389
|
+
export type WorkspaceItemBase = WorkspaceItemModel & {
|
|
390
|
+
/**
|
|
391
|
+
* The ID of the workspace item.
|
|
392
|
+
*/
|
|
393
|
+
os_entity_uid: string;
|
|
394
|
+
/**
|
|
395
|
+
* The ID of the workspace in which the item is stored.
|
|
396
|
+
*/
|
|
397
|
+
os_workspace: string;
|
|
398
|
+
};
|
|
399
|
+
/**
|
|
400
|
+
* Represents audit fields for OS (Operational Support) records.
|
|
401
|
+
* @beta
|
|
402
|
+
*/
|
|
403
|
+
export type OsAuditFields = {
|
|
404
|
+
/**
|
|
405
|
+
* User who created the record.
|
|
406
|
+
*/
|
|
407
|
+
os_created_by?: string;
|
|
408
|
+
/**
|
|
409
|
+
* Timestamp when the record was created.
|
|
410
|
+
*/
|
|
411
|
+
os_created_at?: string;
|
|
412
|
+
/**
|
|
413
|
+
* User who deleted the record.
|
|
414
|
+
*/
|
|
415
|
+
os_deleted_by?: string;
|
|
416
|
+
/**
|
|
417
|
+
* Timestamp when the record was deleted.
|
|
418
|
+
*/
|
|
419
|
+
os_deleted_at?: string;
|
|
420
|
+
/**
|
|
421
|
+
* User who hid the record.
|
|
422
|
+
*/
|
|
423
|
+
os_hidden_by?: string;
|
|
424
|
+
/**
|
|
425
|
+
* Timestamp when the record was hidden.
|
|
426
|
+
*/
|
|
427
|
+
os_hidden_at?: string;
|
|
428
|
+
/**
|
|
429
|
+
* User who last updated the record.
|
|
430
|
+
*/
|
|
431
|
+
os_last_updated_by?: string;
|
|
432
|
+
/**
|
|
433
|
+
* Timestamp when the record was last updated.
|
|
434
|
+
*/
|
|
435
|
+
os_last_updated_at?: string;
|
|
436
|
+
};
|
|
437
|
+
/**
|
|
438
|
+
* Represents a comment workspace item with various attributes.
|
|
439
|
+
* @beta
|
|
440
|
+
*/
|
|
441
|
+
export type CommentWorkspaceItem = WorkspaceItemBase & OsAuditFields & Entity & {
|
|
442
|
+
/**
|
|
443
|
+
* The content of the comment.
|
|
444
|
+
*/
|
|
445
|
+
contents: string;
|
|
446
|
+
/**
|
|
447
|
+
* The short text of the comment.
|
|
448
|
+
*/
|
|
449
|
+
slug?: string;
|
|
450
|
+
/**
|
|
451
|
+
* The id of the comment thread.
|
|
452
|
+
*/
|
|
453
|
+
os_parent_uid?: string;
|
|
454
|
+
};
|
|
455
|
+
/**
|
|
456
|
+
* Represents a workspace record with additional attributes.
|
|
457
|
+
* @beta
|
|
458
|
+
*/
|
|
459
|
+
export type WorkspaceRecord = Entity & WorkspaceItemBase & OsAuditFields & {
|
|
460
|
+
os_icon?: string;
|
|
461
|
+
};
|
|
462
|
+
/**
|
|
463
|
+
* Interface for items that can have a color attribute.
|
|
464
|
+
* @beta
|
|
465
|
+
*/
|
|
466
|
+
export interface Colorful {
|
|
467
|
+
/**
|
|
468
|
+
* The color of the item.
|
|
469
|
+
*/
|
|
470
|
+
color?: string;
|
|
471
|
+
}
|
|
472
|
+
/**
|
|
473
|
+
* Represents tag attributes with optional color and group.
|
|
474
|
+
* @beta
|
|
475
|
+
*/
|
|
476
|
+
export interface TagAttributes extends Colorful {
|
|
477
|
+
/**
|
|
478
|
+
* The group to which the tag belongs.
|
|
479
|
+
*/
|
|
480
|
+
group?: string;
|
|
481
|
+
/**
|
|
482
|
+
* The order of the tag in the group.
|
|
483
|
+
* Lower values are displayed first.
|
|
484
|
+
*/
|
|
485
|
+
order?: number;
|
|
486
|
+
/**
|
|
487
|
+
* The id of the workspace in which the tag is stored.
|
|
488
|
+
*/
|
|
489
|
+
os_workspace: string;
|
|
490
|
+
/**
|
|
491
|
+
* The name of the tag.
|
|
492
|
+
*/
|
|
493
|
+
os_item_name: string;
|
|
494
|
+
}
|
|
495
|
+
/**
|
|
496
|
+
* Represents a tag in the workspace.
|
|
497
|
+
* @beta
|
|
498
|
+
*/
|
|
499
|
+
export type OsTag = WorkspaceRecord & TagAttributes;
|
|
500
|
+
/**
|
|
501
|
+
* Represents information about an image.
|
|
502
|
+
* @beta
|
|
503
|
+
*/
|
|
504
|
+
export type ImageInfo = {
|
|
505
|
+
/**
|
|
506
|
+
* The blurhash of the image.
|
|
507
|
+
*/
|
|
508
|
+
blurhash?: string;
|
|
509
|
+
/**
|
|
510
|
+
* The natural width of the image.
|
|
511
|
+
*/
|
|
512
|
+
width: number;
|
|
513
|
+
/**
|
|
514
|
+
* The natural height of the image.
|
|
515
|
+
*/
|
|
516
|
+
height: number;
|
|
517
|
+
};
|
|
518
|
+
/**
|
|
519
|
+
* Represents a workspace item with optional content.
|
|
520
|
+
* @beta
|
|
521
|
+
*/
|
|
522
|
+
export type WorkspaceItem<T = any> = WorkspaceRecord & {
|
|
523
|
+
/**
|
|
524
|
+
* The type-specific content of the workspace item.
|
|
525
|
+
*/
|
|
526
|
+
os_item_content?: T & {
|
|
527
|
+
image?: ImageInfo;
|
|
528
|
+
};
|
|
529
|
+
/**
|
|
530
|
+
* The type of the content.
|
|
531
|
+
*/
|
|
532
|
+
os_item_content_type?: string;
|
|
533
|
+
/**
|
|
534
|
+
* The id of the folder in which the item is stored.
|
|
535
|
+
*/
|
|
536
|
+
os_parent_folder?: string;
|
|
537
|
+
/**
|
|
538
|
+
* Whether the item has an attachment file content.
|
|
539
|
+
*/
|
|
540
|
+
os_has_attachment?: boolean;
|
|
541
|
+
/**
|
|
542
|
+
* Optional path from the os_parent_folder or os_workspace to the item.
|
|
543
|
+
* Does not include the item name.
|
|
544
|
+
* Used only when saving by POST to the /entity API.
|
|
545
|
+
* eg. 'folder1/folder2'
|
|
546
|
+
*/
|
|
547
|
+
'#os_path'?: string;
|
|
548
|
+
};
|
|
549
|
+
/**
|
|
550
|
+
* Represents a relationship between workspace items.
|
|
551
|
+
* @beta
|
|
552
|
+
*/
|
|
553
|
+
export type WorkspaceRelationship = WorkspaceItemBase & OsAuditFields & {
|
|
554
|
+
/**
|
|
555
|
+
* Unique identifier for the source entity in the relationship.
|
|
556
|
+
*/
|
|
557
|
+
os_entity_uid_from: string;
|
|
558
|
+
/**
|
|
559
|
+
* Unique identifier for the target entity in the relationship.
|
|
560
|
+
*/
|
|
561
|
+
os_entity_uid_to: string;
|
|
562
|
+
/**
|
|
563
|
+
* Type of the source entity in the relationship.
|
|
564
|
+
*/
|
|
565
|
+
os_entity_type_from: string;
|
|
566
|
+
/**
|
|
567
|
+
* Type of the target entity in the relationship.
|
|
568
|
+
*/
|
|
569
|
+
os_entity_type_to: string;
|
|
570
|
+
/**
|
|
571
|
+
* Name of the relationship.
|
|
572
|
+
*/
|
|
573
|
+
os_relationship_name: string;
|
|
574
|
+
};
|
|
575
|
+
/**
|
|
576
|
+
* Represents a draft workspace item.
|
|
577
|
+
* @beta
|
|
578
|
+
*/
|
|
579
|
+
export type DraftWorkspaceItem = WorkspaceItem & {
|
|
580
|
+
/**
|
|
581
|
+
* Indicates if the item is a draft. The attribute is not saved in persistence.
|
|
582
|
+
*/
|
|
583
|
+
os_draft_item: true;
|
|
584
|
+
};
|
|
585
|
+
/**
|
|
586
|
+
* Represents an array of workspace items.
|
|
587
|
+
* @beta
|
|
588
|
+
*/
|
|
589
|
+
export type WorkspaceItems = WorkspaceItem[];
|
|
590
|
+
/**
|
|
591
|
+
* Interface for providing records.
|
|
592
|
+
* @beta
|
|
593
|
+
*/
|
|
594
|
+
export interface RecordProvider {
|
|
595
|
+
/**
|
|
596
|
+
* Retrieves the total count of records.
|
|
597
|
+
* @returns A promise that resolves to the number of records.
|
|
598
|
+
*/
|
|
599
|
+
getCount: () => Promise<number>;
|
|
600
|
+
/**
|
|
601
|
+
* Retrieves a specific record by its index.
|
|
602
|
+
* @param i - The index of the record to retrieve.
|
|
603
|
+
* @returns A promise that resolves to the requested record.
|
|
604
|
+
*/
|
|
605
|
+
getRecord: (i: number) => Promise<Entity>;
|
|
606
|
+
/**
|
|
607
|
+
* Optional method to handle deletion of a record.
|
|
608
|
+
* @param entity - The entity to delete.
|
|
609
|
+
* @returns A promise that resolves when the deletion is complete.
|
|
610
|
+
*/
|
|
611
|
+
onDelete?: (entity: Entity) => Promise<void>;
|
|
612
|
+
/**
|
|
613
|
+
* Retrieves a message related to the records.
|
|
614
|
+
* @returns A promise that resolves to the message, or undefined if no message is available.
|
|
615
|
+
*/
|
|
616
|
+
getMessage(): Promise<string | undefined>;
|
|
617
|
+
}
|
|
618
|
+
/**
|
|
619
|
+
* Represents a named group (set?) entities.
|
|
620
|
+
* @beta
|
|
621
|
+
*/
|
|
622
|
+
export type NamedEntityGroup = {
|
|
623
|
+
/**
|
|
624
|
+
* The label for the entity group.
|
|
625
|
+
*/
|
|
626
|
+
entity_label: string;
|
|
627
|
+
/**
|
|
628
|
+
* The query to provide the entites
|
|
629
|
+
*/
|
|
630
|
+
query: ConceptFilter;
|
|
631
|
+
/**
|
|
632
|
+
* The count of entities in the group.
|
|
633
|
+
*/
|
|
634
|
+
count: number;
|
|
635
|
+
/**
|
|
636
|
+
* The type of the entity group, always set to 'group'.
|
|
637
|
+
*/
|
|
638
|
+
type: 'group';
|
|
639
|
+
};
|
|
640
|
+
/**
|
|
641
|
+
* Represents an item in a focus list.
|
|
642
|
+
* @beta
|
|
643
|
+
*/
|
|
644
|
+
export type FocusListItem = {
|
|
645
|
+
entity: Entity;
|
|
646
|
+
count: number;
|
|
647
|
+
tabName?: string;
|
|
648
|
+
type?: 'single';
|
|
649
|
+
} | NamedEntityGroup;
|
|
650
|
+
/**
|
|
651
|
+
* Represents a boolean value with an optional reason.
|
|
652
|
+
* @beta
|
|
653
|
+
*/
|
|
654
|
+
export type ReasonedBoolean = {
|
|
655
|
+
value: true;
|
|
656
|
+
} | {
|
|
657
|
+
value: false;
|
|
658
|
+
reason: string;
|
|
659
|
+
};
|
|
660
|
+
//# sourceMappingURL=model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../src/model.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,MAAM,cAAc,GACtB,IAAI,GACJ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OAEG;IACH,KAAK,EAAE,aAAa,CAAC;IAErB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,IAAI,EAAE,OAAO,CAAC;CACf,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,aAAa,GACrB;IACE,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,QAAQ,CAAC;CACjB,GACD,gBAAgB,CAAC;AAErB;;;GAGG;AACH,MAAM,MAAM,eAAe,GACvB;IAAE,KAAK,EAAE,IAAI,CAAA;CAAE,GACf;IAAE,KAAK,EAAE,KAAK,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC"}
|
package/lib/model.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Enum for sort order values.
|
|
3
|
+
* @beta
|
|
4
|
+
*/
|
|
5
|
+
export var SortOrder;
|
|
6
|
+
(function (SortOrder) {
|
|
7
|
+
SortOrder[SortOrder["PREFERRED"] = 21] = "PREFERRED";
|
|
8
|
+
SortOrder[SortOrder["OTHER"] = 10] = "OTHER";
|
|
9
|
+
SortOrder[SortOrder["HIDE"] = -1] = "HIDE";
|
|
10
|
+
})(SortOrder || (SortOrder = {}));
|
|
11
|
+
//# sourceMappingURL=model.js.map
|
package/lib/model.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
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"}
|