@octostar/platform-types 0.5.2 → 0.5.4
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/assets/style.css +0 -0
- package/dist/docs/enums/ProcessingStatusCode.html +16 -16
- 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 +90 -101
- 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 +33 -38
- package/dist/docs/interfaces/ProcessingStatus.html +7 -7
- package/dist/docs/interfaces/Property.html +5 -5
- package/dist/docs/interfaces/{BinaryObjectFilterClause.html → QueryObjectFilterClause.html} +5 -6
- 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 +6 -6
- package/dist/docs/interfaces/SearchXperienceModalProps.html +9 -9
- package/dist/docs/interfaces/SearchXperienceProps.html +7 -7
- package/dist/docs/interfaces/SemanticBindingProps.html +5 -5
- 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 +4 -47
- 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 -1
- 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 +2 -2
- 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 +2 -4
- 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 +5 -3
- 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/EvalContext.html +1 -1
- 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 -1
- 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 +3 -3
- 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 +2 -2
- 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/SearchFilter.html +2 -2
- package/dist/docs/types/SemanticBinding.html +2 -2
- package/dist/docs/types/SemanticBindingType.html +2 -2
- package/dist/docs/types/SemanticBindings.html +2 -2
- package/dist/docs/types/SemanticallyBoundApp.html +2 -2
- 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 +10 -19
- 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 +2 -2
- 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 +2 -2
- package/dist/docs/types/WithProgressBarOptions.html +2 -2
- package/dist/docs/types/Workspace.html +2 -2
- package/dist/docs/types/WorkspaceFlags.html +2 -2
- 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 +2 -2
- package/dist/docs/types/WorkspaceItemTitleProps.html +2 -3
- 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 +22 -452
- package/lib/action.d.ts +0 -1
- package/lib/action.d.ts.map +1 -1
- package/lib/desktop.d.ts +3 -46
- package/lib/desktop.d.ts.map +1 -1
- package/lib/desktop.js.map +1 -1
- package/lib/index.d.ts +0 -5
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +0 -5
- package/lib/index.js.map +1 -1
- package/lib/jobManifestTypes.d.ts +0 -8
- package/lib/jobManifestTypes.d.ts.map +1 -1
- package/lib/model.d.ts +4 -26
- package/lib/model.d.ts.map +1 -1
- package/lib/model.js.map +1 -1
- package/lib/ontology.d.ts +0 -8
- package/lib/ontology.d.ts.map +1 -1
- package/lib/search.d.ts +0 -10
- package/lib/search.d.ts.map +1 -1
- package/lib/styling.d.ts +10 -23
- package/lib/styling.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/docs/interfaces/AIClient.html +0 -6
- package/dist/docs/interfaces/ChartDataResponseResult.html +0 -20
- package/dist/docs/interfaces/ChatMessage.html +0 -15
- package/dist/docs/interfaces/FetchOptions.html +0 -4
- package/dist/docs/interfaces/NativeFilterColumn.html +0 -3
- package/dist/docs/interfaces/NativeFilterScope.html +0 -3
- package/dist/docs/interfaces/NativeFilterTarget.html +0 -3
- package/dist/docs/interfaces/OsAPIClient.html +0 -18
- package/dist/docs/interfaces/RecordData.html +0 -20
- package/dist/docs/interfaces/SavedDatasource.html +0 -7
- package/dist/docs/interfaces/SavedSearchAPIInterface.html +0 -6
- package/dist/docs/interfaces/SavedSearchContent.html +0 -7
- package/dist/docs/interfaces/SavedSetContent.html +0 -3
- package/dist/docs/interfaces/SearchOptions.html +0 -4
- package/dist/docs/interfaces/StreamJsonOptions.html +0 -6
- package/dist/docs/interfaces/StreamOptions.html +0 -6
- package/dist/docs/interfaces/StreamTextOptions.html +0 -6
- package/dist/docs/interfaces/UnaryObjectFilterClause.html +0 -5
- package/dist/docs/types/ChatModel.html +0 -2
- package/dist/docs/types/CreateLinkChartFn.html +0 -1
- package/dist/docs/types/CreateLinkChartParams.html +0 -1
- package/dist/docs/types/DataMask.html +0 -1
- package/dist/docs/types/DropZoneRequestFn.html +0 -1
- package/dist/docs/types/DropZoneRequestResult.html +0 -1
- package/dist/docs/types/EntityBase.html +0 -4
- package/dist/docs/types/ExtrasApi.html +0 -1
- package/dist/docs/types/FetchEntityOptions.html +0 -2
- package/dist/docs/types/Filter.html +0 -1
- package/dist/docs/types/FilterState.html +0 -1
- package/dist/docs/types/ManifestSecrets.html +0 -1
- package/dist/docs/types/PromptOptions.html +0 -2
- package/dist/docs/types/QueryObjectFilterClause.html +0 -3
- package/dist/docs/types/RecordFetchOptions.html +0 -1
- package/dist/docs/types/RemoteAppApi.html +0 -1
- package/dist/docs/types/SetTransformResultFn.html +0 -1
- package/dist/docs/types/SubscribeDragStartFn.html +0 -1
- package/dist/docs/types/SubscribeToContextFn.html +0 -1
- package/dist/docs/types/UnsubscribeFn.html +0 -1
- package/dist/docs/types/UnsubscribeFromContextFn.html +0 -1
- package/dist/docs/types/UnsubscribeFromDragStartFn.html +0 -1
- package/dist/docs/types/WorkspaceConfig.html +0 -1
- package/dist/docs/variables/SAVED_SEARCH_MESSAGE_TYPES.html +0 -1
- package/dist/docs/variables/SAVED_SEARCH_PREFIX.html +0 -1
- package/lib/ai.d.ts +0 -54
- package/lib/ai.d.ts.map +0 -1
- package/lib/ai.js +0 -2
- package/lib/ai.js.map +0 -1
- package/lib/client.d.ts +0 -71
- package/lib/client.d.ts.map +0 -1
- package/lib/client.js +0 -2
- package/lib/client.js.map +0 -1
- package/lib/extras.d.ts +0 -15
- package/lib/extras.d.ts.map +0 -1
- package/lib/extras.js +0 -2
- package/lib/extras.js.map +0 -1
- package/lib/remoteApp.d.ts +0 -21
- package/lib/remoteApp.d.ts.map +0 -1
- package/lib/remoteApp.js +0 -2
- package/lib/remoteApp.js.map +0 -1
- package/lib/savedSearch.d.ts +0 -132
- package/lib/savedSearch.d.ts.map +0 -1
- package/lib/savedSearch.js +0 -16
- package/lib/savedSearch.js.map +0 -1
package/dist/platform-types.d.ts
CHANGED
|
@@ -70,20 +70,6 @@ export declare type AddCommentParams = {
|
|
|
70
70
|
*/
|
|
71
71
|
export declare type AddListener<T> = (callback: Callback<T>) => Promise<Unsubscribe>;
|
|
72
72
|
|
|
73
|
-
/**
|
|
74
|
-
* The interface for the AI client.
|
|
75
|
-
*/
|
|
76
|
-
export declare interface AIClient {
|
|
77
|
-
/**
|
|
78
|
-
* Get the chat models.
|
|
79
|
-
*/
|
|
80
|
-
getChatModels(): Promise<ChatModel[]>;
|
|
81
|
-
/**
|
|
82
|
-
* Prompt the AI.
|
|
83
|
-
*/
|
|
84
|
-
prompt(prompt: string, options?: PromptOptions): Promise<string>;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
73
|
/**
|
|
88
74
|
* @beta
|
|
89
75
|
* Type representing an error API result.
|
|
@@ -236,19 +222,6 @@ export declare type Behaviour = {
|
|
|
236
222
|
edit?: () => Promise<void>;
|
|
237
223
|
};
|
|
238
224
|
|
|
239
|
-
declare type BigNumber = any;
|
|
240
|
-
|
|
241
|
-
/**
|
|
242
|
-
* @beta
|
|
243
|
-
* Represents a filter clause with binary operations in a query object.
|
|
244
|
-
* It supports operations involving a column, a binary operator, and a comparator value.
|
|
245
|
-
*/
|
|
246
|
-
export declare interface BinaryObjectFilterClause {
|
|
247
|
-
col: string;
|
|
248
|
-
op: BinaryOperator;
|
|
249
|
-
val: Comparator;
|
|
250
|
-
}
|
|
251
|
-
|
|
252
225
|
/**
|
|
253
226
|
* @beta
|
|
254
227
|
* Type representing a binary operator.
|
|
@@ -263,69 +236,6 @@ export declare type BinaryOperator = '==' | '!=' | '>' | '>=' | '<' | '<=' | 'in
|
|
|
263
236
|
*/
|
|
264
237
|
export declare type Callback<T> = (t: T) => void;
|
|
265
238
|
|
|
266
|
-
export declare interface ChartDataResponseResult {
|
|
267
|
-
all_columns?: string[];
|
|
268
|
-
annotation_data: Record<string, any> | null;
|
|
269
|
-
cache_key: string | null;
|
|
270
|
-
cache_timeout: number | null;
|
|
271
|
-
cached_dttm: string | null;
|
|
272
|
-
/**
|
|
273
|
-
* Array of data records as dictionary
|
|
274
|
-
*/
|
|
275
|
-
data: Record<any, any>[];
|
|
276
|
-
/**
|
|
277
|
-
* Name of each column, for retaining the order of the output columns.
|
|
278
|
-
*/
|
|
279
|
-
colnames: string[];
|
|
280
|
-
/**
|
|
281
|
-
* Generic data types, based on the final output pandas dataframe.
|
|
282
|
-
*/
|
|
283
|
-
coltypes: GenericDataType[];
|
|
284
|
-
error: string | null;
|
|
285
|
-
is_cached: boolean;
|
|
286
|
-
query: string;
|
|
287
|
-
rowcount: number;
|
|
288
|
-
stacktrace: string | null;
|
|
289
|
-
status: 'stopped' | 'failed' | 'pending' | 'running' | 'scheduled' | 'success' | 'timed_out';
|
|
290
|
-
from_dttm: number | null;
|
|
291
|
-
to_dttm: number | null;
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
export declare interface ChatMessage {
|
|
295
|
-
/**
|
|
296
|
-
* The id of the message. This is used to identify the message in the conversation.
|
|
297
|
-
* It is generated by the chat agent, and is used to update the message in the conversation.
|
|
298
|
-
* (It is repeated in each update, but this is ok because it is used to identify the message in the conversation.)
|
|
299
|
-
*/
|
|
300
|
-
id: string;
|
|
301
|
-
/**
|
|
302
|
-
* The role of the message.
|
|
303
|
-
*/
|
|
304
|
-
role: 'user' | 'assistant' | 'system';
|
|
305
|
-
/**
|
|
306
|
-
* The content of the message.
|
|
307
|
-
* For `update` and `complete` messages, this is the partial or final response.
|
|
308
|
-
* For `add_entities` and `remove_entities` messages, this is the json encoded list of entities.
|
|
309
|
-
*/
|
|
310
|
-
content: string;
|
|
311
|
-
/**
|
|
312
|
-
* The type of the message.
|
|
313
|
-
*/
|
|
314
|
-
type?: 'update' | 'complete' | 'add_entities' | 'remove_entities';
|
|
315
|
-
/**
|
|
316
|
-
* The timestamp of the message in ISO 8601 format.
|
|
317
|
-
*/
|
|
318
|
-
timestamp?: string;
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
/**
|
|
322
|
-
* The type for the chat model.
|
|
323
|
-
*/
|
|
324
|
-
export declare type ChatModel = {
|
|
325
|
-
model_name: string;
|
|
326
|
-
description: string;
|
|
327
|
-
};
|
|
328
|
-
|
|
329
239
|
/**
|
|
330
240
|
* Interface for items that can have a color attribute.
|
|
331
241
|
* @beta
|
|
@@ -486,7 +396,6 @@ export declare type ContextMenuParams = ActionContext & {
|
|
|
486
396
|
trigger?: trigger[];
|
|
487
397
|
onMenuToggle?: (isOpen: boolean) => void;
|
|
488
398
|
options?: ContextMenuOptions;
|
|
489
|
-
markdown?: boolean;
|
|
490
399
|
};
|
|
491
400
|
|
|
492
401
|
/**
|
|
@@ -538,17 +447,6 @@ export declare type CreateEntityFormProps = {
|
|
|
538
447
|
concept?: string;
|
|
539
448
|
};
|
|
540
449
|
|
|
541
|
-
export declare type CreateLinkChartFn = (params: CreateLinkChartParams) => Promise<WorkspaceItem | undefined>;
|
|
542
|
-
|
|
543
|
-
export declare type CreateLinkChartParams = {
|
|
544
|
-
path?: string;
|
|
545
|
-
name: string;
|
|
546
|
-
nodes?: Entity[];
|
|
547
|
-
edges?: EdgeSpec[];
|
|
548
|
-
draft?: boolean;
|
|
549
|
-
os_workspace?: string;
|
|
550
|
-
};
|
|
551
|
-
|
|
552
450
|
/**
|
|
553
451
|
* Properties for creating relations dialog.
|
|
554
452
|
* @beta
|
|
@@ -661,12 +559,6 @@ export declare type DataContextType = {
|
|
|
661
559
|
removeFromGraph: (graph: GraphDataSpec) => void;
|
|
662
560
|
};
|
|
663
561
|
|
|
664
|
-
export declare type DataMask = {
|
|
665
|
-
extraFormData?: Record<string, any>;
|
|
666
|
-
filterState?: FilterState;
|
|
667
|
-
ownState?: Record<string, any>;
|
|
668
|
-
};
|
|
669
|
-
|
|
670
562
|
/**
|
|
671
563
|
* Interface for desktop actions.
|
|
672
564
|
* @beta
|
|
@@ -736,14 +628,6 @@ export declare interface Desktop extends DesktopSettings, WorkspaceChangeEmitter
|
|
|
736
628
|
* Gets items in a workspace by name.
|
|
737
629
|
*/
|
|
738
630
|
getWorkspaceItems(os_item_name: string): Promise<WorkspaceItem[]>;
|
|
739
|
-
/**
|
|
740
|
-
* Gets the OsAPIClient.
|
|
741
|
-
*/
|
|
742
|
-
getOsAPIClient(): Promise<OsAPIClient>;
|
|
743
|
-
/**
|
|
744
|
-
* Gets the AI client.
|
|
745
|
-
*/
|
|
746
|
-
getAIClient(): Promise<AIClient>;
|
|
747
631
|
/**
|
|
748
632
|
* Applies a tag to an entity.
|
|
749
633
|
*/
|
|
@@ -791,7 +675,7 @@ export declare interface Desktop extends DesktopSettings, WorkspaceChangeEmitter
|
|
|
791
675
|
/**
|
|
792
676
|
* Creates a workspace by name.
|
|
793
677
|
*/
|
|
794
|
-
createWorkspace: (name: string
|
|
678
|
+
createWorkspace: (name: string) => Promise<WorkspaceItem>;
|
|
795
679
|
/**
|
|
796
680
|
* Connects two entities with a relationship in a workspace.
|
|
797
681
|
*/
|
|
@@ -816,10 +700,6 @@ export declare interface Desktop extends DesktopSettings, WorkspaceChangeEmitter
|
|
|
816
700
|
* Exports an item or items with optional export options.
|
|
817
701
|
*/
|
|
818
702
|
export: (item: WorkspaceItem | WorkspaceItem[], options?: ExportOptions) => Promise<void>;
|
|
819
|
-
/**
|
|
820
|
-
* Fetches an entity from the index, or from the ontology if not found in the index.
|
|
821
|
-
*/
|
|
822
|
-
fetchEntity: (entity: EntityBase, options?: FetchEntityOptions) => Promise<Entity>;
|
|
823
703
|
/**
|
|
824
704
|
* Extracts entities from some text which may be json or a list of urls.
|
|
825
705
|
*/
|
|
@@ -848,13 +728,6 @@ export declare interface Desktop extends DesktopSettings, WorkspaceChangeEmitter
|
|
|
848
728
|
* Deletes local concept records in a workspace by base concept.
|
|
849
729
|
*/
|
|
850
730
|
delete_local_concept_records: (workspace_id: string, base_concept: string) => Promise<void>;
|
|
851
|
-
/**
|
|
852
|
-
* Searches the index using the query string
|
|
853
|
-
* @param query OpenSearch qeuery string.
|
|
854
|
-
* @param options query options
|
|
855
|
-
* @returns a promise resolving to the found entities.
|
|
856
|
-
*/
|
|
857
|
-
search: (query: string, options?: SearchOptions) => Promise<Entity[]>;
|
|
858
731
|
/**
|
|
859
732
|
* Searches experience with optional search options.
|
|
860
733
|
*/
|
|
@@ -1148,14 +1021,6 @@ export declare type DesktopActionOptions = {
|
|
|
1148
1021
|
* Whether to raise the tab to the front.
|
|
1149
1022
|
*/
|
|
1150
1023
|
raiseOnly?: boolean;
|
|
1151
|
-
/**
|
|
1152
|
-
* Open tab in a new tabset
|
|
1153
|
-
*/
|
|
1154
|
-
newTabset?: boolean;
|
|
1155
|
-
/**
|
|
1156
|
-
* Wait for the tab to open
|
|
1157
|
-
*/
|
|
1158
|
-
awaitShowTab?: boolean;
|
|
1159
1024
|
};
|
|
1160
1025
|
|
|
1161
1026
|
/**
|
|
@@ -1260,13 +1125,6 @@ export declare type DragStartParams = {
|
|
|
1260
1125
|
dragEndTopic: string;
|
|
1261
1126
|
};
|
|
1262
1127
|
|
|
1263
|
-
export declare type DropZoneRequestFn = (args: any[]) => Promise<DropZoneRequestResult>;
|
|
1264
|
-
|
|
1265
|
-
export declare type DropZoneRequestResult = {
|
|
1266
|
-
to: any;
|
|
1267
|
-
data: any;
|
|
1268
|
-
};
|
|
1269
|
-
|
|
1270
1128
|
/**
|
|
1271
1129
|
* @beta
|
|
1272
1130
|
* Type representing a connection between two entities with a relationship.
|
|
@@ -1310,18 +1168,7 @@ export declare type EmitEventTransformDefinition = {
|
|
|
1310
1168
|
* Represents an entity with basic attributes.
|
|
1311
1169
|
* @beta
|
|
1312
1170
|
*/
|
|
1313
|
-
export declare type Entity =
|
|
1314
|
-
/**
|
|
1315
|
-
* The label of the entity.
|
|
1316
|
-
*/
|
|
1317
|
-
entity_label: string;
|
|
1318
|
-
};
|
|
1319
|
-
|
|
1320
|
-
/**
|
|
1321
|
-
* Represents an entity without a label.
|
|
1322
|
-
* @beta
|
|
1323
|
-
*/
|
|
1324
|
-
export declare type EntityBase = {
|
|
1171
|
+
export declare type Entity = {
|
|
1325
1172
|
/**
|
|
1326
1173
|
* The ID of the entity.
|
|
1327
1174
|
*/
|
|
@@ -1330,6 +1177,10 @@ export declare type EntityBase = {
|
|
|
1330
1177
|
* The type of the entity.
|
|
1331
1178
|
*/
|
|
1332
1179
|
entity_type: string;
|
|
1180
|
+
/**
|
|
1181
|
+
* The label of the entity.
|
|
1182
|
+
*/
|
|
1183
|
+
entity_label: string;
|
|
1333
1184
|
};
|
|
1334
1185
|
|
|
1335
1186
|
/**
|
|
@@ -1495,27 +1346,6 @@ export declare type ExtractEntitiesOptions = {
|
|
|
1495
1346
|
hydrate?: boolean;
|
|
1496
1347
|
};
|
|
1497
1348
|
|
|
1498
|
-
export declare type ExtrasApi = {
|
|
1499
|
-
createLinkChart: CreateLinkChartFn;
|
|
1500
|
-
};
|
|
1501
|
-
|
|
1502
|
-
/**
|
|
1503
|
-
* Options for fetching an entity.
|
|
1504
|
-
* @beta
|
|
1505
|
-
*/
|
|
1506
|
-
export declare type FetchEntityOptions = {};
|
|
1507
|
-
|
|
1508
|
-
/**
|
|
1509
|
-
* @beta
|
|
1510
|
-
* Options for fetching data from an API.
|
|
1511
|
-
*/
|
|
1512
|
-
export declare interface FetchOptions extends RequestInit {
|
|
1513
|
-
/**
|
|
1514
|
-
* The API endpoint to hit, starting with a slash.
|
|
1515
|
-
*/
|
|
1516
|
-
endpoint: string;
|
|
1517
|
-
}
|
|
1518
|
-
|
|
1519
1349
|
/**
|
|
1520
1350
|
* @beta
|
|
1521
1351
|
* File containing the code. Not yet supported.
|
|
@@ -1552,30 +1382,6 @@ export declare type FileTreeOptions = {
|
|
|
1552
1382
|
structure?: boolean;
|
|
1553
1383
|
};
|
|
1554
1384
|
|
|
1555
|
-
export declare type Filter = {
|
|
1556
|
-
cascadeParentIds: string[];
|
|
1557
|
-
defaultDataMask: DataMask;
|
|
1558
|
-
id: string;
|
|
1559
|
-
name: string;
|
|
1560
|
-
scope: NativeFilterScope;
|
|
1561
|
-
filterType: string;
|
|
1562
|
-
targets: [Partial<NativeFilterTarget>];
|
|
1563
|
-
controlValues: {
|
|
1564
|
-
[key: string]: any;
|
|
1565
|
-
};
|
|
1566
|
-
sortMetric?: string | null;
|
|
1567
|
-
adhoc_filters?: Record<any, any>[];
|
|
1568
|
-
granularity_sqla?: string;
|
|
1569
|
-
granularity?: string;
|
|
1570
|
-
time_grain_sqla?: string;
|
|
1571
|
-
time_range?: string;
|
|
1572
|
-
requiredFirst?: boolean;
|
|
1573
|
-
tabsInScope?: string[];
|
|
1574
|
-
chartsInScope?: number[];
|
|
1575
|
-
type: 'NATIVE_FILTER';
|
|
1576
|
-
description: string;
|
|
1577
|
-
};
|
|
1578
|
-
|
|
1579
1385
|
/**
|
|
1580
1386
|
* @beta
|
|
1581
1387
|
* Type representing a filter definition, which can be one of several specific filter types.
|
|
@@ -1604,11 +1410,6 @@ export declare type FilterReference = string | {
|
|
|
1604
1410
|
['require_all']: FilterReference[];
|
|
1605
1411
|
};
|
|
1606
1412
|
|
|
1607
|
-
export declare type FilterState = {
|
|
1608
|
-
value?: any;
|
|
1609
|
-
[key: string]: any;
|
|
1610
|
-
};
|
|
1611
|
-
|
|
1612
1413
|
/**
|
|
1613
1414
|
* Represents an item in a focus list.
|
|
1614
1415
|
* @beta
|
|
@@ -1639,13 +1440,6 @@ export declare type FolderPasteOptions = {
|
|
|
1639
1440
|
recursive?: boolean;
|
|
1640
1441
|
};
|
|
1641
1442
|
|
|
1642
|
-
declare enum GenericDataType {
|
|
1643
|
-
NUMERIC = 0,
|
|
1644
|
-
STRING = 1,
|
|
1645
|
-
TEMPORAL = 2,
|
|
1646
|
-
BOOLEAN = 3
|
|
1647
|
-
}
|
|
1648
|
-
|
|
1649
1443
|
/**
|
|
1650
1444
|
* Options for getting attachments.
|
|
1651
1445
|
* @beta
|
|
@@ -1950,7 +1744,6 @@ export declare type JobManifest = {
|
|
|
1950
1744
|
stylers?: StylerDefinitions;
|
|
1951
1745
|
/** Optional collection of services for the job. */
|
|
1952
1746
|
services?: ServiceDefinitions;
|
|
1953
|
-
secrets?: ManifestSecrets;
|
|
1954
1747
|
};
|
|
1955
1748
|
|
|
1956
1749
|
/**
|
|
@@ -1961,14 +1754,6 @@ export declare type KnownCounts = {
|
|
|
1961
1754
|
[relationship_name: string]: number;
|
|
1962
1755
|
};
|
|
1963
1756
|
|
|
1964
|
-
export declare type ManifestSecrets = {
|
|
1965
|
-
[key: string]: {
|
|
1966
|
-
description: string;
|
|
1967
|
-
default?: string;
|
|
1968
|
-
required?: boolean;
|
|
1969
|
-
};
|
|
1970
|
-
};
|
|
1971
|
-
|
|
1972
1757
|
/**
|
|
1973
1758
|
* @beta
|
|
1974
1759
|
* Type representing the properties for a modal template, extending CustomTemplateIframeProps.
|
|
@@ -2014,21 +1799,6 @@ export declare type NamedEntityGroup = {
|
|
|
2014
1799
|
type: 'group';
|
|
2015
1800
|
};
|
|
2016
1801
|
|
|
2017
|
-
export declare interface NativeFilterColumn {
|
|
2018
|
-
name: string;
|
|
2019
|
-
displayName?: string;
|
|
2020
|
-
}
|
|
2021
|
-
|
|
2022
|
-
export declare interface NativeFilterScope {
|
|
2023
|
-
rootPath: string[];
|
|
2024
|
-
excluded: number[];
|
|
2025
|
-
}
|
|
2026
|
-
|
|
2027
|
-
export declare interface NativeFilterTarget {
|
|
2028
|
-
datasetId: number;
|
|
2029
|
-
column: NativeFilterColumn;
|
|
2030
|
-
}
|
|
2031
|
-
|
|
2032
1802
|
/**
|
|
2033
1803
|
* @beta
|
|
2034
1804
|
* Type representing a Nunjucks file transform definition. Not yet supported.
|
|
@@ -2092,13 +1862,6 @@ export declare interface Ontology {
|
|
|
2092
1862
|
* @returns A promise that resolves to an array of connected entities.
|
|
2093
1863
|
*/
|
|
2094
1864
|
getConnectedEntities: <T extends Entity>(entity: Entity, relationship: Relationship | string, forceRefresh?: boolean) => Promise<T[]>;
|
|
2095
|
-
/**
|
|
2096
|
-
* Gets connections by type for a given entity and concept.
|
|
2097
|
-
* @param entity - The entity for which to get connections.
|
|
2098
|
-
* @param concept - The concept for which to get connections.
|
|
2099
|
-
* @returns A promise that resolves to an array of connections.
|
|
2100
|
-
*/
|
|
2101
|
-
getConnectionsByType: <T extends Entity>(entity: Entity, concept: string) => Promise<EConnection[]>;
|
|
2102
1865
|
/**
|
|
2103
1866
|
* Gets the concept names.
|
|
2104
1867
|
* @returns A promise that resolves to an array concept names.
|
|
@@ -2230,37 +1993,6 @@ export declare type OS_CONFIRM_MODAL_RESPONSE = typeof OS_CONFIRM_MODAL_YES | ty
|
|
|
2230
1993
|
*/
|
|
2231
1994
|
export declare const OS_CONFIRM_MODAL_YES = true;
|
|
2232
1995
|
|
|
2233
|
-
/**
|
|
2234
|
-
* @beta
|
|
2235
|
-
* Interface representing a client for interacting with the OctoStar API.
|
|
2236
|
-
*/
|
|
2237
|
-
export declare interface OsAPIClient {
|
|
2238
|
-
/**
|
|
2239
|
-
* Fetch data from the API.
|
|
2240
|
-
* @param options - Configuration options for the fetch request.
|
|
2241
|
-
* @returns A promise that resolves with the fetched data of type T.
|
|
2242
|
-
*/
|
|
2243
|
-
fetchData<T>(options: FetchOptions): Promise<T>;
|
|
2244
|
-
/**
|
|
2245
|
-
* Stream data from the API.
|
|
2246
|
-
* @param options - Configuration options for the stream request.
|
|
2247
|
-
* @returns A promise that resolves when the streaming is complete.
|
|
2248
|
-
*/
|
|
2249
|
-
streamData(options: StreamOptions): Promise<void>;
|
|
2250
|
-
/**
|
|
2251
|
-
* Streams text data from the API.
|
|
2252
|
-
* @param options - Configuration options for the stream request.
|
|
2253
|
-
* @returns A promise that resolves when the streaming is complete.
|
|
2254
|
-
*/
|
|
2255
|
-
streamText(options: StreamTextOptions): Promise<void>;
|
|
2256
|
-
/**
|
|
2257
|
-
* Streams JSON line data from the API.
|
|
2258
|
-
* @param options - Configuration options for the stream request.
|
|
2259
|
-
* @returns A promise that resolves when the streaming is complete.
|
|
2260
|
-
*/
|
|
2261
|
-
streamJson<T>(options: StreamJsonOptions<T>): Promise<void>;
|
|
2262
|
-
}
|
|
2263
|
-
|
|
2264
1996
|
/**
|
|
2265
1997
|
* Represents audit fields for OS (Operational Support) records.
|
|
2266
1998
|
* @beta
|
|
@@ -2535,14 +2267,6 @@ export declare enum ProcessingStatusCode {
|
|
|
2535
2267
|
UNKNOWN = "UNKNOWN"
|
|
2536
2268
|
}
|
|
2537
2269
|
|
|
2538
|
-
/**
|
|
2539
|
-
* The options for the prompt.
|
|
2540
|
-
*/
|
|
2541
|
-
export declare type PromptOptions = {
|
|
2542
|
-
model?: string;
|
|
2543
|
-
apiKey?: string;
|
|
2544
|
-
};
|
|
2545
|
-
|
|
2546
2270
|
/**
|
|
2547
2271
|
* Represents a property of a concept.
|
|
2548
2272
|
* @beta
|
|
@@ -2667,10 +2391,13 @@ export declare type QueryExecutor = {
|
|
|
2667
2391
|
|
|
2668
2392
|
/**
|
|
2669
2393
|
* @beta
|
|
2670
|
-
*
|
|
2671
|
-
* It can be either a binary filter clause or a unary filter clause.
|
|
2394
|
+
* Interface for a filter clause in a query object.
|
|
2672
2395
|
*/
|
|
2673
|
-
export declare
|
|
2396
|
+
export declare interface QueryObjectFilterClause {
|
|
2397
|
+
col: string;
|
|
2398
|
+
op: BinaryOperator;
|
|
2399
|
+
val: Comparator;
|
|
2400
|
+
}
|
|
2674
2401
|
|
|
2675
2402
|
/**
|
|
2676
2403
|
* @beta
|
|
@@ -2684,11 +2411,6 @@ export declare type QueryResponse = any[];
|
|
|
2684
2411
|
*/
|
|
2685
2412
|
export declare type QueryResult = ApiResult<any[]>;
|
|
2686
2413
|
|
|
2687
|
-
declare type QueryResult_2 = {
|
|
2688
|
-
language: string;
|
|
2689
|
-
query: string;
|
|
2690
|
-
};
|
|
2691
|
-
|
|
2692
2414
|
/**
|
|
2693
2415
|
* @beta
|
|
2694
2416
|
* Type representing a successful query result.
|
|
@@ -2730,17 +2452,6 @@ export declare type ReasonedBoolean = {
|
|
|
2730
2452
|
reason: string;
|
|
2731
2453
|
};
|
|
2732
2454
|
|
|
2733
|
-
export declare interface RecordData extends ChartDataResponseResult {
|
|
2734
|
-
data: Record<string, any>[];
|
|
2735
|
-
}
|
|
2736
|
-
|
|
2737
|
-
export declare type RecordFetchOptions = {
|
|
2738
|
-
all_columns: string[];
|
|
2739
|
-
order_by_cols: string[];
|
|
2740
|
-
row_limit: number;
|
|
2741
|
-
server_page_length: number;
|
|
2742
|
-
};
|
|
2743
|
-
|
|
2744
2455
|
/**
|
|
2745
2456
|
* Interface for providing records.
|
|
2746
2457
|
* @beta
|
|
@@ -2876,15 +2587,6 @@ export declare type RelationshipCountResult = {
|
|
|
2876
2587
|
expired?: boolean;
|
|
2877
2588
|
};
|
|
2878
2589
|
|
|
2879
|
-
export declare type RemoteAppApi = {
|
|
2880
|
-
subscribeToContext: SubscribeToContextFn;
|
|
2881
|
-
unsubscribeFromContext: UnsubscribeFromContextFn;
|
|
2882
|
-
subscribeToDragStart: SubscribeDragStartFn;
|
|
2883
|
-
unsubscribeFromDragStart: UnsubscribeFromDragStartFn;
|
|
2884
|
-
dropZoneRequest: DropZoneRequestFn;
|
|
2885
|
-
setTransformResult: SetTransformResultFn;
|
|
2886
|
-
};
|
|
2887
|
-
|
|
2888
2590
|
/**
|
|
2889
2591
|
* Properties for saving as modal.
|
|
2890
2592
|
* @beta
|
|
@@ -2900,49 +2602,6 @@ export declare type SaveAsModalProps = {
|
|
|
2900
2602
|
app?: WorkspaceItem;
|
|
2901
2603
|
};
|
|
2902
2604
|
|
|
2903
|
-
export declare const SAVED_SEARCH_MESSAGE_TYPES: Readonly<{
|
|
2904
|
-
getRecordsCount: "octostar:savedSearch:getRecordsCount";
|
|
2905
|
-
getRecordsCountQuery: "octostar:savedSearch:getRecordsCountQuery";
|
|
2906
|
-
getRecords: "octostar:savedSearch:getRecords";
|
|
2907
|
-
getRecordsQuery: "octostar:savedSearch:getRecordsQuery";
|
|
2908
|
-
getSavedSearchPasteContext: "octostar:savedSearch:getSavedSearchPasteContext";
|
|
2909
|
-
}>;
|
|
2910
|
-
|
|
2911
|
-
export declare const SAVED_SEARCH_PREFIX = "octostar:savedSearch:";
|
|
2912
|
-
|
|
2913
|
-
export declare interface SavedDatasource {
|
|
2914
|
-
uid: string;
|
|
2915
|
-
id: number;
|
|
2916
|
-
name?: string;
|
|
2917
|
-
table_name: string;
|
|
2918
|
-
type: string;
|
|
2919
|
-
main_dttm_col: string;
|
|
2920
|
-
}
|
|
2921
|
-
|
|
2922
|
-
export declare interface SavedSearchAPIInterface {
|
|
2923
|
-
getRecordsCount(savedSearchIdn: WorkspaceItemIdentifier<SavedSearchContent>): Promise<BigNumber | number | null>;
|
|
2924
|
-
getRecordsCountQuery(savedSearchIdn: WorkspaceItemIdentifier<SavedSearchContent>): Promise<number | null>;
|
|
2925
|
-
getRecords(savedSearchIdn: WorkspaceItemIdentifier<SavedSearchContent>, options?: Partial<RecordFetchOptions>): Promise<RecordData | null>;
|
|
2926
|
-
getRecordsQuery(savedSearchIdn: WorkspaceItemIdentifier<SavedSearchContent>, options?: RecordFetchOptions): Promise<QueryResult_2 | null>;
|
|
2927
|
-
getSavedSearchPasteContext(savedSearchIdn: WorkspaceItemIdentifier<SavedSearchContent>): Promise<EntityPasteContext>;
|
|
2928
|
-
}
|
|
2929
|
-
|
|
2930
|
-
export declare interface SavedSearchContent {
|
|
2931
|
-
concept: string;
|
|
2932
|
-
dataset: true;
|
|
2933
|
-
filters: Filter[];
|
|
2934
|
-
crossFilters: DataMask[];
|
|
2935
|
-
datasourcesInScope: {
|
|
2936
|
-
[uid: string]: SavedDatasource;
|
|
2937
|
-
};
|
|
2938
|
-
initialCount?: number;
|
|
2939
|
-
}
|
|
2940
|
-
|
|
2941
|
-
export declare interface SavedSetContent {
|
|
2942
|
-
lastFiredQuery: string;
|
|
2943
|
-
uiState: Record<string, any>;
|
|
2944
|
-
}
|
|
2945
|
-
|
|
2946
2605
|
/**
|
|
2947
2606
|
* @beta
|
|
2948
2607
|
* Type representing a saved template, extending CustomTemplate.
|
|
@@ -2995,17 +2654,6 @@ export declare type SearchFilter = {
|
|
|
2995
2654
|
imageUrl?: string;
|
|
2996
2655
|
};
|
|
2997
2656
|
|
|
2998
|
-
/**
|
|
2999
|
-
* @beta
|
|
3000
|
-
* Interface representing the options given to search
|
|
3001
|
-
*/
|
|
3002
|
-
export declare interface SearchOptions {
|
|
3003
|
-
/**
|
|
3004
|
-
* The maximum number of entities returned.
|
|
3005
|
-
*/
|
|
3006
|
-
limit?: number;
|
|
3007
|
-
}
|
|
3008
|
-
|
|
3009
2657
|
/**
|
|
3010
2658
|
* @beta
|
|
3011
2659
|
* Interface representing the properties for the Search component.
|
|
@@ -3185,8 +2833,6 @@ export declare type ServiceDefinitions = {
|
|
|
3185
2833
|
*/
|
|
3186
2834
|
export declare type ServiceRole = 'context_menu' | 'record_view' | 'set_view';
|
|
3187
2835
|
|
|
3188
|
-
export declare type SetTransformResultFn = (args: any[]) => Promise<void>;
|
|
3189
|
-
|
|
3190
2836
|
/**
|
|
3191
2837
|
* @beta
|
|
3192
2838
|
* Type representing the details of an ontology to be shown.
|
|
@@ -3241,71 +2887,25 @@ export declare enum SortOrder {
|
|
|
3241
2887
|
HIDE = -1
|
|
3242
2888
|
}
|
|
3243
2889
|
|
|
3244
|
-
/**
|
|
3245
|
-
* @beta
|
|
3246
|
-
* Options for streaming JSON line data from an API.
|
|
3247
|
-
*/
|
|
3248
|
-
export declare interface StreamJsonOptions<T> extends FetchOptions {
|
|
3249
|
-
/**
|
|
3250
|
-
* The asynchronous function to process each JSON object.
|
|
3251
|
-
*/
|
|
3252
|
-
jsonHandler: (value: T) => Promise<void>;
|
|
3253
|
-
}
|
|
3254
|
-
|
|
3255
|
-
/**
|
|
3256
|
-
* @beta
|
|
3257
|
-
* Options for streaming data from an API.
|
|
3258
|
-
*/
|
|
3259
|
-
export declare interface StreamOptions extends FetchOptions {
|
|
3260
|
-
/**
|
|
3261
|
-
* The asynchronous function to process each chunk of data.
|
|
3262
|
-
*/
|
|
3263
|
-
handler: (chunk: Uint8Array) => Promise<void>;
|
|
3264
|
-
}
|
|
3265
|
-
|
|
3266
|
-
/**
|
|
3267
|
-
* @beta
|
|
3268
|
-
* Options for streaming text data from an API.
|
|
3269
|
-
*/
|
|
3270
|
-
export declare interface StreamTextOptions extends FetchOptions {
|
|
3271
|
-
/**
|
|
3272
|
-
* The asynchronous function to process each line of text.
|
|
3273
|
-
*/
|
|
3274
|
-
handler: (line: string) => Promise<void>;
|
|
3275
|
-
}
|
|
3276
|
-
|
|
3277
2890
|
/**
|
|
3278
2891
|
* @beta
|
|
3279
2892
|
* Type representing a styler with methods for getting G6 node and edge styles.
|
|
3280
|
-
* See ColorByType.ts for an example
|
|
3281
2893
|
*/
|
|
3282
2894
|
export declare type Styler = {
|
|
3283
2895
|
/**
|
|
3284
|
-
*
|
|
3285
|
-
*
|
|
3286
|
-
*
|
|
3287
|
-
*
|
|
3288
|
-
* Use them just as a reference:
|
|
3289
|
-
* - @param originStyle for eg original node radius (if its a circural node), so you want to eg multiply it by amount of connections.
|
|
3290
|
-
* - @param currentStyle for eg current node radius (if its a circural node), so you want to eg apply a holor like a heatmap by amount of connections.
|
|
3291
|
-
* @param entity - The entity for which to get the node style.
|
|
3292
|
-
* @param originStyle - The original style (the one passed to node during it's initialization). See '@antv/graphin' -> NodeStyle
|
|
3293
|
-
* @param currentStyle - The current style. See '@antv/graphin' -> NodeStyle
|
|
3294
|
-
* @returns A promise that resolves to the style patch. See '@antv/graphin' -> NodeStyle
|
|
2896
|
+
* Gets the style for a G6 node.
|
|
2897
|
+
* @param e - The entity for which to get the node style.
|
|
2898
|
+
* @param curr - The current style.
|
|
2899
|
+
* @returns A promise that resolves to the new style.
|
|
3295
2900
|
*/
|
|
3296
|
-
getG6NodeStyle?: (
|
|
2901
|
+
getG6NodeStyle?: (e: Entity, curr: TODO) => Promise<TODO>;
|
|
3297
2902
|
/**
|
|
3298
|
-
*
|
|
3299
|
-
*
|
|
3300
|
-
*
|
|
3301
|
-
*
|
|
3302
|
-
* Use them just as a reference, eg edge width to multiply.
|
|
3303
|
-
* @param edge - The edge specification for which to get the edge style.
|
|
3304
|
-
* @param originStyle - The original style (the one passed to edge during it's initialization). See '@antv/graphin' -> EdgeStyle
|
|
3305
|
-
* @param currentStyle - The current style. See '@antv/graphin' -> EdgeStyle
|
|
3306
|
-
* @returns A promise that resolves to the style patch. See '@antv/graphin' -> EdgeStyle
|
|
2903
|
+
* Gets the style for a G6 edge.
|
|
2904
|
+
* @param e - The edge specification for which to get the edge style.
|
|
2905
|
+
* @param curr - The current style.
|
|
2906
|
+
* @returns A promise that resolves to the new style.
|
|
3307
2907
|
*/
|
|
3308
|
-
getG6EdgeStyle?: (
|
|
2908
|
+
getG6EdgeStyle?: (e: EdgeSpec, curr: TODO) => Promise<TODO>;
|
|
3309
2909
|
};
|
|
3310
2910
|
|
|
3311
2911
|
/**
|
|
@@ -3385,10 +2985,6 @@ export declare type StylerOption = {
|
|
|
3385
2985
|
*/
|
|
3386
2986
|
export declare type StylerProducer = (context: StylerContext) => Promise<Styler>;
|
|
3387
2987
|
|
|
3388
|
-
export declare type SubscribeDragStartFn = (id: string, callback: Callback<unknown>) => void;
|
|
3389
|
-
|
|
3390
|
-
export declare type SubscribeToContextFn = (id: string, callback: Callback<unknown>) => void;
|
|
3391
|
-
|
|
3392
2988
|
/**
|
|
3393
2989
|
* Represents a tag with a name and value.
|
|
3394
2990
|
* @beta
|
|
@@ -3552,16 +3148,6 @@ export declare type TransformDefinitions = {
|
|
|
3552
3148
|
*/
|
|
3553
3149
|
export declare type trigger = 'hover' | 'contextMenu' | 'click';
|
|
3554
3150
|
|
|
3555
|
-
/**
|
|
3556
|
-
* @beta
|
|
3557
|
-
* Represents a filter clause with unary operations in a query object.
|
|
3558
|
-
* It supports operations for checking null or not-null conditions.
|
|
3559
|
-
*/
|
|
3560
|
-
export declare interface UnaryObjectFilterClause {
|
|
3561
|
-
col: string;
|
|
3562
|
-
op: 'IS NULL' | 'IS NOT NULL';
|
|
3563
|
-
}
|
|
3564
|
-
|
|
3565
3151
|
/**
|
|
3566
3152
|
* @beta
|
|
3567
3153
|
* Type representing an unsubscribe function.
|
|
@@ -3569,12 +3155,6 @@ export declare interface UnaryObjectFilterClause {
|
|
|
3569
3155
|
*/
|
|
3570
3156
|
export declare type Unsubscribe = () => Promise<void>;
|
|
3571
3157
|
|
|
3572
|
-
export declare type UnsubscribeFn = (id: string) => void;
|
|
3573
|
-
|
|
3574
|
-
export declare type UnsubscribeFromContextFn = UnsubscribeFn;
|
|
3575
|
-
|
|
3576
|
-
export declare type UnsubscribeFromDragStartFn = UnsubscribeFn;
|
|
3577
|
-
|
|
3578
3158
|
/**
|
|
3579
3159
|
* @beta
|
|
3580
3160
|
* Type representing a user profile.
|
|
@@ -3744,12 +3324,6 @@ export declare interface WorkspaceChangeEmitter {
|
|
|
3744
3324
|
onOpenWorkspacesChanged: AddListener<Workspace[]>;
|
|
3745
3325
|
}
|
|
3746
3326
|
|
|
3747
|
-
export declare type WorkspaceConfig = Partial<{
|
|
3748
|
-
description: string;
|
|
3749
|
-
os_icon: string;
|
|
3750
|
-
color: string;
|
|
3751
|
-
}>;
|
|
3752
|
-
|
|
3753
3327
|
/**
|
|
3754
3328
|
*
|
|
3755
3329
|
* @beta
|
|
@@ -3949,10 +3523,6 @@ export declare type WorkspaceItemTitleProps = DesktopActionContext & {
|
|
|
3949
3523
|
* Selected items in left sidebar
|
|
3950
3524
|
*/
|
|
3951
3525
|
selectedItems: WorkspaceItem[];
|
|
3952
|
-
/**
|
|
3953
|
-
* If the component it is being used inside a Markdown component
|
|
3954
|
-
*/
|
|
3955
|
-
markdown?: boolean;
|
|
3956
3526
|
};
|
|
3957
3527
|
|
|
3958
3528
|
/**
|