@octostar/platform-types 0.5.3 → 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 -103
- 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 +7 -11
- 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 +23 -466
- package/lib/action.d.ts +0 -1
- package/lib/action.d.ts.map +1 -1
- package/lib/desktop.d.ts +4 -52
- 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 -18
- 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
|
|
@@ -731,19 +623,11 @@ export declare interface Desktop extends DesktopSettings, WorkspaceChangeEmitter
|
|
|
731
623
|
/**
|
|
732
624
|
* Gets a workspace by identifier.
|
|
733
625
|
*/
|
|
734
|
-
getWorkspace: (ws: WorkspaceIdentifier
|
|
626
|
+
getWorkspace: (ws: WorkspaceIdentifier) => Promise<Workspace | undefined>;
|
|
735
627
|
/**
|
|
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,11 +675,7 @@ export declare interface Desktop extends DesktopSettings, WorkspaceChangeEmitter
|
|
|
791
675
|
/**
|
|
792
676
|
* Creates a workspace by name.
|
|
793
677
|
*/
|
|
794
|
-
createWorkspace: (name: string
|
|
795
|
-
/**
|
|
796
|
-
* Creates a private workspace for user by name.
|
|
797
|
-
*/
|
|
798
|
-
createPrivateWorkspace: (name: string, config?: WorkspaceConfig) => Promise<Workspace>;
|
|
678
|
+
createWorkspace: (name: string) => Promise<WorkspaceItem>;
|
|
799
679
|
/**
|
|
800
680
|
* Connects two entities with a relationship in a workspace.
|
|
801
681
|
*/
|
|
@@ -820,10 +700,6 @@ export declare interface Desktop extends DesktopSettings, WorkspaceChangeEmitter
|
|
|
820
700
|
* Exports an item or items with optional export options.
|
|
821
701
|
*/
|
|
822
702
|
export: (item: WorkspaceItem | WorkspaceItem[], options?: ExportOptions) => Promise<void>;
|
|
823
|
-
/**
|
|
824
|
-
* Fetches an entity from the index, or from the ontology if not found in the index.
|
|
825
|
-
*/
|
|
826
|
-
fetchEntity: (entity: EntityBase, options?: FetchEntityOptions) => Promise<Entity>;
|
|
827
703
|
/**
|
|
828
704
|
* Extracts entities from some text which may be json or a list of urls.
|
|
829
705
|
*/
|
|
@@ -852,13 +728,6 @@ export declare interface Desktop extends DesktopSettings, WorkspaceChangeEmitter
|
|
|
852
728
|
* Deletes local concept records in a workspace by base concept.
|
|
853
729
|
*/
|
|
854
730
|
delete_local_concept_records: (workspace_id: string, base_concept: string) => Promise<void>;
|
|
855
|
-
/**
|
|
856
|
-
* Searches the index using the query string
|
|
857
|
-
* @param query OpenSearch qeuery string.
|
|
858
|
-
* @param options query options
|
|
859
|
-
* @returns a promise resolving to the found entities.
|
|
860
|
-
*/
|
|
861
|
-
search: (query: string, options?: SearchOptions) => Promise<Entity[]>;
|
|
862
731
|
/**
|
|
863
732
|
* Searches experience with optional search options.
|
|
864
733
|
*/
|
|
@@ -1152,14 +1021,6 @@ export declare type DesktopActionOptions = {
|
|
|
1152
1021
|
* Whether to raise the tab to the front.
|
|
1153
1022
|
*/
|
|
1154
1023
|
raiseOnly?: boolean;
|
|
1155
|
-
/**
|
|
1156
|
-
* Open tab in a new tabset
|
|
1157
|
-
*/
|
|
1158
|
-
newTabset?: boolean;
|
|
1159
|
-
/**
|
|
1160
|
-
* Wait for the tab to open
|
|
1161
|
-
*/
|
|
1162
|
-
awaitShowTab?: boolean;
|
|
1163
1024
|
};
|
|
1164
1025
|
|
|
1165
1026
|
/**
|
|
@@ -1264,13 +1125,6 @@ export declare type DragStartParams = {
|
|
|
1264
1125
|
dragEndTopic: string;
|
|
1265
1126
|
};
|
|
1266
1127
|
|
|
1267
|
-
export declare type DropZoneRequestFn = (args: any[]) => Promise<DropZoneRequestResult>;
|
|
1268
|
-
|
|
1269
|
-
export declare type DropZoneRequestResult = {
|
|
1270
|
-
to: any;
|
|
1271
|
-
data: any;
|
|
1272
|
-
};
|
|
1273
|
-
|
|
1274
1128
|
/**
|
|
1275
1129
|
* @beta
|
|
1276
1130
|
* Type representing a connection between two entities with a relationship.
|
|
@@ -1314,18 +1168,7 @@ export declare type EmitEventTransformDefinition = {
|
|
|
1314
1168
|
* Represents an entity with basic attributes.
|
|
1315
1169
|
* @beta
|
|
1316
1170
|
*/
|
|
1317
|
-
export declare type Entity =
|
|
1318
|
-
/**
|
|
1319
|
-
* The label of the entity.
|
|
1320
|
-
*/
|
|
1321
|
-
entity_label: string;
|
|
1322
|
-
};
|
|
1323
|
-
|
|
1324
|
-
/**
|
|
1325
|
-
* Represents an entity without a label.
|
|
1326
|
-
* @beta
|
|
1327
|
-
*/
|
|
1328
|
-
export declare type EntityBase = {
|
|
1171
|
+
export declare type Entity = {
|
|
1329
1172
|
/**
|
|
1330
1173
|
* The ID of the entity.
|
|
1331
1174
|
*/
|
|
@@ -1334,6 +1177,10 @@ export declare type EntityBase = {
|
|
|
1334
1177
|
* The type of the entity.
|
|
1335
1178
|
*/
|
|
1336
1179
|
entity_type: string;
|
|
1180
|
+
/**
|
|
1181
|
+
* The label of the entity.
|
|
1182
|
+
*/
|
|
1183
|
+
entity_label: string;
|
|
1337
1184
|
};
|
|
1338
1185
|
|
|
1339
1186
|
/**
|
|
@@ -1499,27 +1346,6 @@ export declare type ExtractEntitiesOptions = {
|
|
|
1499
1346
|
hydrate?: boolean;
|
|
1500
1347
|
};
|
|
1501
1348
|
|
|
1502
|
-
export declare type ExtrasApi = {
|
|
1503
|
-
createLinkChart: CreateLinkChartFn;
|
|
1504
|
-
};
|
|
1505
|
-
|
|
1506
|
-
/**
|
|
1507
|
-
* Options for fetching an entity.
|
|
1508
|
-
* @beta
|
|
1509
|
-
*/
|
|
1510
|
-
export declare type FetchEntityOptions = {};
|
|
1511
|
-
|
|
1512
|
-
/**
|
|
1513
|
-
* @beta
|
|
1514
|
-
* Options for fetching data from an API.
|
|
1515
|
-
*/
|
|
1516
|
-
export declare interface FetchOptions extends RequestInit {
|
|
1517
|
-
/**
|
|
1518
|
-
* The API endpoint to hit, starting with a slash.
|
|
1519
|
-
*/
|
|
1520
|
-
endpoint: string;
|
|
1521
|
-
}
|
|
1522
|
-
|
|
1523
1349
|
/**
|
|
1524
1350
|
* @beta
|
|
1525
1351
|
* File containing the code. Not yet supported.
|
|
@@ -1556,30 +1382,6 @@ export declare type FileTreeOptions = {
|
|
|
1556
1382
|
structure?: boolean;
|
|
1557
1383
|
};
|
|
1558
1384
|
|
|
1559
|
-
export declare type Filter = {
|
|
1560
|
-
cascadeParentIds: string[];
|
|
1561
|
-
defaultDataMask: DataMask;
|
|
1562
|
-
id: string;
|
|
1563
|
-
name: string;
|
|
1564
|
-
scope: NativeFilterScope;
|
|
1565
|
-
filterType: string;
|
|
1566
|
-
targets: [Partial<NativeFilterTarget>];
|
|
1567
|
-
controlValues: {
|
|
1568
|
-
[key: string]: any;
|
|
1569
|
-
};
|
|
1570
|
-
sortMetric?: string | null;
|
|
1571
|
-
adhoc_filters?: Record<any, any>[];
|
|
1572
|
-
granularity_sqla?: string;
|
|
1573
|
-
granularity?: string;
|
|
1574
|
-
time_grain_sqla?: string;
|
|
1575
|
-
time_range?: string;
|
|
1576
|
-
requiredFirst?: boolean;
|
|
1577
|
-
tabsInScope?: string[];
|
|
1578
|
-
chartsInScope?: number[];
|
|
1579
|
-
type: 'NATIVE_FILTER';
|
|
1580
|
-
description: string;
|
|
1581
|
-
};
|
|
1582
|
-
|
|
1583
1385
|
/**
|
|
1584
1386
|
* @beta
|
|
1585
1387
|
* Type representing a filter definition, which can be one of several specific filter types.
|
|
@@ -1608,11 +1410,6 @@ export declare type FilterReference = string | {
|
|
|
1608
1410
|
['require_all']: FilterReference[];
|
|
1609
1411
|
};
|
|
1610
1412
|
|
|
1611
|
-
export declare type FilterState = {
|
|
1612
|
-
value?: any;
|
|
1613
|
-
[key: string]: any;
|
|
1614
|
-
};
|
|
1615
|
-
|
|
1616
1413
|
/**
|
|
1617
1414
|
* Represents an item in a focus list.
|
|
1618
1415
|
* @beta
|
|
@@ -1643,13 +1440,6 @@ export declare type FolderPasteOptions = {
|
|
|
1643
1440
|
recursive?: boolean;
|
|
1644
1441
|
};
|
|
1645
1442
|
|
|
1646
|
-
declare enum GenericDataType {
|
|
1647
|
-
NUMERIC = 0,
|
|
1648
|
-
STRING = 1,
|
|
1649
|
-
TEMPORAL = 2,
|
|
1650
|
-
BOOLEAN = 3
|
|
1651
|
-
}
|
|
1652
|
-
|
|
1653
1443
|
/**
|
|
1654
1444
|
* Options for getting attachments.
|
|
1655
1445
|
* @beta
|
|
@@ -1954,7 +1744,6 @@ export declare type JobManifest = {
|
|
|
1954
1744
|
stylers?: StylerDefinitions;
|
|
1955
1745
|
/** Optional collection of services for the job. */
|
|
1956
1746
|
services?: ServiceDefinitions;
|
|
1957
|
-
secrets?: ManifestSecrets;
|
|
1958
1747
|
};
|
|
1959
1748
|
|
|
1960
1749
|
/**
|
|
@@ -1965,14 +1754,6 @@ export declare type KnownCounts = {
|
|
|
1965
1754
|
[relationship_name: string]: number;
|
|
1966
1755
|
};
|
|
1967
1756
|
|
|
1968
|
-
export declare type ManifestSecrets = {
|
|
1969
|
-
[key: string]: {
|
|
1970
|
-
description: string;
|
|
1971
|
-
default?: string;
|
|
1972
|
-
required?: boolean;
|
|
1973
|
-
};
|
|
1974
|
-
};
|
|
1975
|
-
|
|
1976
1757
|
/**
|
|
1977
1758
|
* @beta
|
|
1978
1759
|
* Type representing the properties for a modal template, extending CustomTemplateIframeProps.
|
|
@@ -2018,21 +1799,6 @@ export declare type NamedEntityGroup = {
|
|
|
2018
1799
|
type: 'group';
|
|
2019
1800
|
};
|
|
2020
1801
|
|
|
2021
|
-
export declare interface NativeFilterColumn {
|
|
2022
|
-
name: string;
|
|
2023
|
-
displayName?: string;
|
|
2024
|
-
}
|
|
2025
|
-
|
|
2026
|
-
export declare interface NativeFilterScope {
|
|
2027
|
-
rootPath: string[];
|
|
2028
|
-
excluded: number[];
|
|
2029
|
-
}
|
|
2030
|
-
|
|
2031
|
-
export declare interface NativeFilterTarget {
|
|
2032
|
-
datasetId: number;
|
|
2033
|
-
column: NativeFilterColumn;
|
|
2034
|
-
}
|
|
2035
|
-
|
|
2036
1802
|
/**
|
|
2037
1803
|
* @beta
|
|
2038
1804
|
* Type representing a Nunjucks file transform definition. Not yet supported.
|
|
@@ -2096,13 +1862,6 @@ export declare interface Ontology {
|
|
|
2096
1862
|
* @returns A promise that resolves to an array of connected entities.
|
|
2097
1863
|
*/
|
|
2098
1864
|
getConnectedEntities: <T extends Entity>(entity: Entity, relationship: Relationship | string, forceRefresh?: boolean) => Promise<T[]>;
|
|
2099
|
-
/**
|
|
2100
|
-
* Gets connections by type for a given entity and concept.
|
|
2101
|
-
* @param entity - The entity for which to get connections.
|
|
2102
|
-
* @param concept - The concept for which to get connections.
|
|
2103
|
-
* @returns A promise that resolves to an array of connections.
|
|
2104
|
-
*/
|
|
2105
|
-
getConnectionsByType: <T extends Entity>(entity: Entity, concept: string) => Promise<EConnection[]>;
|
|
2106
1865
|
/**
|
|
2107
1866
|
* Gets the concept names.
|
|
2108
1867
|
* @returns A promise that resolves to an array concept names.
|
|
@@ -2234,37 +1993,6 @@ export declare type OS_CONFIRM_MODAL_RESPONSE = typeof OS_CONFIRM_MODAL_YES | ty
|
|
|
2234
1993
|
*/
|
|
2235
1994
|
export declare const OS_CONFIRM_MODAL_YES = true;
|
|
2236
1995
|
|
|
2237
|
-
/**
|
|
2238
|
-
* @beta
|
|
2239
|
-
* Interface representing a client for interacting with the OctoStar API.
|
|
2240
|
-
*/
|
|
2241
|
-
export declare interface OsAPIClient {
|
|
2242
|
-
/**
|
|
2243
|
-
* Fetch data from the API.
|
|
2244
|
-
* @param options - Configuration options for the fetch request.
|
|
2245
|
-
* @returns A promise that resolves with the fetched data of type T.
|
|
2246
|
-
*/
|
|
2247
|
-
fetchData<T>(options: FetchOptions): Promise<T>;
|
|
2248
|
-
/**
|
|
2249
|
-
* Stream data from the API.
|
|
2250
|
-
* @param options - Configuration options for the stream request.
|
|
2251
|
-
* @returns A promise that resolves when the streaming is complete.
|
|
2252
|
-
*/
|
|
2253
|
-
streamData(options: StreamOptions): Promise<void>;
|
|
2254
|
-
/**
|
|
2255
|
-
* Streams text data from the API.
|
|
2256
|
-
* @param options - Configuration options for the stream request.
|
|
2257
|
-
* @returns A promise that resolves when the streaming is complete.
|
|
2258
|
-
*/
|
|
2259
|
-
streamText(options: StreamTextOptions): Promise<void>;
|
|
2260
|
-
/**
|
|
2261
|
-
* Streams JSON line data from the API.
|
|
2262
|
-
* @param options - Configuration options for the stream request.
|
|
2263
|
-
* @returns A promise that resolves when the streaming is complete.
|
|
2264
|
-
*/
|
|
2265
|
-
streamJson<T>(options: StreamJsonOptions<T>): Promise<void>;
|
|
2266
|
-
}
|
|
2267
|
-
|
|
2268
1996
|
/**
|
|
2269
1997
|
* Represents audit fields for OS (Operational Support) records.
|
|
2270
1998
|
* @beta
|
|
@@ -2539,14 +2267,6 @@ export declare enum ProcessingStatusCode {
|
|
|
2539
2267
|
UNKNOWN = "UNKNOWN"
|
|
2540
2268
|
}
|
|
2541
2269
|
|
|
2542
|
-
/**
|
|
2543
|
-
* The options for the prompt.
|
|
2544
|
-
*/
|
|
2545
|
-
export declare type PromptOptions = {
|
|
2546
|
-
model?: string;
|
|
2547
|
-
apiKey?: string;
|
|
2548
|
-
};
|
|
2549
|
-
|
|
2550
2270
|
/**
|
|
2551
2271
|
* Represents a property of a concept.
|
|
2552
2272
|
* @beta
|
|
@@ -2671,10 +2391,13 @@ export declare type QueryExecutor = {
|
|
|
2671
2391
|
|
|
2672
2392
|
/**
|
|
2673
2393
|
* @beta
|
|
2674
|
-
*
|
|
2675
|
-
* It can be either a binary filter clause or a unary filter clause.
|
|
2394
|
+
* Interface for a filter clause in a query object.
|
|
2676
2395
|
*/
|
|
2677
|
-
export declare
|
|
2396
|
+
export declare interface QueryObjectFilterClause {
|
|
2397
|
+
col: string;
|
|
2398
|
+
op: BinaryOperator;
|
|
2399
|
+
val: Comparator;
|
|
2400
|
+
}
|
|
2678
2401
|
|
|
2679
2402
|
/**
|
|
2680
2403
|
* @beta
|
|
@@ -2688,11 +2411,6 @@ export declare type QueryResponse = any[];
|
|
|
2688
2411
|
*/
|
|
2689
2412
|
export declare type QueryResult = ApiResult<any[]>;
|
|
2690
2413
|
|
|
2691
|
-
declare type QueryResult_2 = {
|
|
2692
|
-
language: string;
|
|
2693
|
-
query: string;
|
|
2694
|
-
};
|
|
2695
|
-
|
|
2696
2414
|
/**
|
|
2697
2415
|
* @beta
|
|
2698
2416
|
* Type representing a successful query result.
|
|
@@ -2734,17 +2452,6 @@ export declare type ReasonedBoolean = {
|
|
|
2734
2452
|
reason: string;
|
|
2735
2453
|
};
|
|
2736
2454
|
|
|
2737
|
-
export declare interface RecordData extends ChartDataResponseResult {
|
|
2738
|
-
data: Record<string, any>[];
|
|
2739
|
-
}
|
|
2740
|
-
|
|
2741
|
-
export declare type RecordFetchOptions = {
|
|
2742
|
-
all_columns: string[];
|
|
2743
|
-
order_by_cols: string[];
|
|
2744
|
-
row_limit: number;
|
|
2745
|
-
server_page_length: number;
|
|
2746
|
-
};
|
|
2747
|
-
|
|
2748
2455
|
/**
|
|
2749
2456
|
* Interface for providing records.
|
|
2750
2457
|
* @beta
|
|
@@ -2880,15 +2587,6 @@ export declare type RelationshipCountResult = {
|
|
|
2880
2587
|
expired?: boolean;
|
|
2881
2588
|
};
|
|
2882
2589
|
|
|
2883
|
-
export declare type RemoteAppApi = {
|
|
2884
|
-
subscribeToContext: SubscribeToContextFn;
|
|
2885
|
-
unsubscribeFromContext: UnsubscribeFromContextFn;
|
|
2886
|
-
subscribeToDragStart: SubscribeDragStartFn;
|
|
2887
|
-
unsubscribeFromDragStart: UnsubscribeFromDragStartFn;
|
|
2888
|
-
dropZoneRequest: DropZoneRequestFn;
|
|
2889
|
-
setTransformResult: SetTransformResultFn;
|
|
2890
|
-
};
|
|
2891
|
-
|
|
2892
2590
|
/**
|
|
2893
2591
|
* Properties for saving as modal.
|
|
2894
2592
|
* @beta
|
|
@@ -2904,49 +2602,6 @@ export declare type SaveAsModalProps = {
|
|
|
2904
2602
|
app?: WorkspaceItem;
|
|
2905
2603
|
};
|
|
2906
2604
|
|
|
2907
|
-
export declare const SAVED_SEARCH_MESSAGE_TYPES: Readonly<{
|
|
2908
|
-
getRecordsCount: "octostar:savedSearch:getRecordsCount";
|
|
2909
|
-
getRecordsCountQuery: "octostar:savedSearch:getRecordsCountQuery";
|
|
2910
|
-
getRecords: "octostar:savedSearch:getRecords";
|
|
2911
|
-
getRecordsQuery: "octostar:savedSearch:getRecordsQuery";
|
|
2912
|
-
getSavedSearchPasteContext: "octostar:savedSearch:getSavedSearchPasteContext";
|
|
2913
|
-
}>;
|
|
2914
|
-
|
|
2915
|
-
export declare const SAVED_SEARCH_PREFIX = "octostar:savedSearch:";
|
|
2916
|
-
|
|
2917
|
-
export declare interface SavedDatasource {
|
|
2918
|
-
uid: string;
|
|
2919
|
-
id: number;
|
|
2920
|
-
name?: string;
|
|
2921
|
-
table_name: string;
|
|
2922
|
-
type: string;
|
|
2923
|
-
main_dttm_col: string;
|
|
2924
|
-
}
|
|
2925
|
-
|
|
2926
|
-
export declare interface SavedSearchAPIInterface {
|
|
2927
|
-
getRecordsCount(savedSearchIdn: WorkspaceItemIdentifier<SavedSearchContent>): Promise<BigNumber | number | null>;
|
|
2928
|
-
getRecordsCountQuery(savedSearchIdn: WorkspaceItemIdentifier<SavedSearchContent>): Promise<number | null>;
|
|
2929
|
-
getRecords(savedSearchIdn: WorkspaceItemIdentifier<SavedSearchContent>, options?: Partial<RecordFetchOptions>): Promise<RecordData | null>;
|
|
2930
|
-
getRecordsQuery(savedSearchIdn: WorkspaceItemIdentifier<SavedSearchContent>, options?: RecordFetchOptions): Promise<QueryResult_2 | null>;
|
|
2931
|
-
getSavedSearchPasteContext(savedSearchIdn: WorkspaceItemIdentifier<SavedSearchContent>): Promise<EntityPasteContext>;
|
|
2932
|
-
}
|
|
2933
|
-
|
|
2934
|
-
export declare interface SavedSearchContent {
|
|
2935
|
-
concept: string;
|
|
2936
|
-
dataset: true;
|
|
2937
|
-
filters: Filter[];
|
|
2938
|
-
crossFilters: DataMask[];
|
|
2939
|
-
datasourcesInScope: {
|
|
2940
|
-
[uid: string]: SavedDatasource;
|
|
2941
|
-
};
|
|
2942
|
-
initialCount?: number;
|
|
2943
|
-
}
|
|
2944
|
-
|
|
2945
|
-
export declare interface SavedSetContent {
|
|
2946
|
-
lastFiredQuery: string;
|
|
2947
|
-
uiState: Record<string, any>;
|
|
2948
|
-
}
|
|
2949
|
-
|
|
2950
2605
|
/**
|
|
2951
2606
|
* @beta
|
|
2952
2607
|
* Type representing a saved template, extending CustomTemplate.
|
|
@@ -2999,17 +2654,6 @@ export declare type SearchFilter = {
|
|
|
2999
2654
|
imageUrl?: string;
|
|
3000
2655
|
};
|
|
3001
2656
|
|
|
3002
|
-
/**
|
|
3003
|
-
* @beta
|
|
3004
|
-
* Interface representing the options given to search
|
|
3005
|
-
*/
|
|
3006
|
-
export declare interface SearchOptions {
|
|
3007
|
-
/**
|
|
3008
|
-
* The maximum number of entities returned.
|
|
3009
|
-
*/
|
|
3010
|
-
limit?: number;
|
|
3011
|
-
}
|
|
3012
|
-
|
|
3013
2657
|
/**
|
|
3014
2658
|
* @beta
|
|
3015
2659
|
* Interface representing the properties for the Search component.
|
|
@@ -3031,14 +2675,6 @@ export declare interface SearchProps {
|
|
|
3031
2675
|
* the default image to use for the search.
|
|
3032
2676
|
*/
|
|
3033
2677
|
image?: WorkspaceItem;
|
|
3034
|
-
/**
|
|
3035
|
-
* disable ask AI
|
|
3036
|
-
*/
|
|
3037
|
-
disableAskAI?: boolean;
|
|
3038
|
-
/**
|
|
3039
|
-
* disable save search
|
|
3040
|
-
*/
|
|
3041
|
-
disableSaveSearch?: boolean;
|
|
3042
2678
|
}
|
|
3043
2679
|
|
|
3044
2680
|
/**
|
|
@@ -3197,8 +2833,6 @@ export declare type ServiceDefinitions = {
|
|
|
3197
2833
|
*/
|
|
3198
2834
|
export declare type ServiceRole = 'context_menu' | 'record_view' | 'set_view';
|
|
3199
2835
|
|
|
3200
|
-
export declare type SetTransformResultFn = (args: any[]) => Promise<void>;
|
|
3201
|
-
|
|
3202
2836
|
/**
|
|
3203
2837
|
* @beta
|
|
3204
2838
|
* Type representing the details of an ontology to be shown.
|
|
@@ -3253,71 +2887,25 @@ export declare enum SortOrder {
|
|
|
3253
2887
|
HIDE = -1
|
|
3254
2888
|
}
|
|
3255
2889
|
|
|
3256
|
-
/**
|
|
3257
|
-
* @beta
|
|
3258
|
-
* Options for streaming JSON line data from an API.
|
|
3259
|
-
*/
|
|
3260
|
-
export declare interface StreamJsonOptions<T> extends FetchOptions {
|
|
3261
|
-
/**
|
|
3262
|
-
* The asynchronous function to process each JSON object.
|
|
3263
|
-
*/
|
|
3264
|
-
jsonHandler: (value: T) => Promise<void>;
|
|
3265
|
-
}
|
|
3266
|
-
|
|
3267
|
-
/**
|
|
3268
|
-
* @beta
|
|
3269
|
-
* Options for streaming data from an API.
|
|
3270
|
-
*/
|
|
3271
|
-
export declare interface StreamOptions extends FetchOptions {
|
|
3272
|
-
/**
|
|
3273
|
-
* The asynchronous function to process each chunk of data.
|
|
3274
|
-
*/
|
|
3275
|
-
handler: (chunk: Uint8Array) => Promise<void>;
|
|
3276
|
-
}
|
|
3277
|
-
|
|
3278
|
-
/**
|
|
3279
|
-
* @beta
|
|
3280
|
-
* Options for streaming text data from an API.
|
|
3281
|
-
*/
|
|
3282
|
-
export declare interface StreamTextOptions extends FetchOptions {
|
|
3283
|
-
/**
|
|
3284
|
-
* The asynchronous function to process each line of text.
|
|
3285
|
-
*/
|
|
3286
|
-
handler: (line: string) => Promise<void>;
|
|
3287
|
-
}
|
|
3288
|
-
|
|
3289
2890
|
/**
|
|
3290
2891
|
* @beta
|
|
3291
2892
|
* Type representing a styler with methods for getting G6 node and edge styles.
|
|
3292
|
-
* See ColorByType.ts for an example
|
|
3293
2893
|
*/
|
|
3294
2894
|
export declare type Styler = {
|
|
3295
2895
|
/**
|
|
3296
|
-
*
|
|
3297
|
-
*
|
|
3298
|
-
*
|
|
3299
|
-
*
|
|
3300
|
-
* Use them just as a reference:
|
|
3301
|
-
* - @param originStyle for eg original node radius (if its a circural node), so you want to eg multiply it by amount of connections.
|
|
3302
|
-
* - @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.
|
|
3303
|
-
* @param entity - The entity for which to get the node style.
|
|
3304
|
-
* @param originStyle - The original style (the one passed to node during it's initialization). See '@antv/graphin' -> NodeStyle
|
|
3305
|
-
* @param currentStyle - The current style. See '@antv/graphin' -> NodeStyle
|
|
3306
|
-
* @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.
|
|
3307
2900
|
*/
|
|
3308
|
-
getG6NodeStyle?: (
|
|
2901
|
+
getG6NodeStyle?: (e: Entity, curr: TODO) => Promise<TODO>;
|
|
3309
2902
|
/**
|
|
3310
|
-
*
|
|
3311
|
-
*
|
|
3312
|
-
*
|
|
3313
|
-
*
|
|
3314
|
-
* Use them just as a reference, eg edge width to multiply.
|
|
3315
|
-
* @param edge - The edge specification for which to get the edge style.
|
|
3316
|
-
* @param originStyle - The original style (the one passed to edge during it's initialization). See '@antv/graphin' -> EdgeStyle
|
|
3317
|
-
* @param currentStyle - The current style. See '@antv/graphin' -> EdgeStyle
|
|
3318
|
-
* @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.
|
|
3319
2907
|
*/
|
|
3320
|
-
getG6EdgeStyle?: (
|
|
2908
|
+
getG6EdgeStyle?: (e: EdgeSpec, curr: TODO) => Promise<TODO>;
|
|
3321
2909
|
};
|
|
3322
2910
|
|
|
3323
2911
|
/**
|
|
@@ -3397,10 +2985,6 @@ export declare type StylerOption = {
|
|
|
3397
2985
|
*/
|
|
3398
2986
|
export declare type StylerProducer = (context: StylerContext) => Promise<Styler>;
|
|
3399
2987
|
|
|
3400
|
-
export declare type SubscribeDragStartFn = (id: string, callback: Callback<unknown>) => void;
|
|
3401
|
-
|
|
3402
|
-
export declare type SubscribeToContextFn = (id: string, callback: Callback<unknown>) => void;
|
|
3403
|
-
|
|
3404
2988
|
/**
|
|
3405
2989
|
* Represents a tag with a name and value.
|
|
3406
2990
|
* @beta
|
|
@@ -3564,16 +3148,6 @@ export declare type TransformDefinitions = {
|
|
|
3564
3148
|
*/
|
|
3565
3149
|
export declare type trigger = 'hover' | 'contextMenu' | 'click';
|
|
3566
3150
|
|
|
3567
|
-
/**
|
|
3568
|
-
* @beta
|
|
3569
|
-
* Represents a filter clause with unary operations in a query object.
|
|
3570
|
-
* It supports operations for checking null or not-null conditions.
|
|
3571
|
-
*/
|
|
3572
|
-
export declare interface UnaryObjectFilterClause {
|
|
3573
|
-
col: string;
|
|
3574
|
-
op: 'IS NULL' | 'IS NOT NULL';
|
|
3575
|
-
}
|
|
3576
|
-
|
|
3577
3151
|
/**
|
|
3578
3152
|
* @beta
|
|
3579
3153
|
* Type representing an unsubscribe function.
|
|
@@ -3581,12 +3155,6 @@ export declare interface UnaryObjectFilterClause {
|
|
|
3581
3155
|
*/
|
|
3582
3156
|
export declare type Unsubscribe = () => Promise<void>;
|
|
3583
3157
|
|
|
3584
|
-
export declare type UnsubscribeFn = (id: string) => void;
|
|
3585
|
-
|
|
3586
|
-
export declare type UnsubscribeFromContextFn = UnsubscribeFn;
|
|
3587
|
-
|
|
3588
|
-
export declare type UnsubscribeFromDragStartFn = UnsubscribeFn;
|
|
3589
|
-
|
|
3590
3158
|
/**
|
|
3591
3159
|
* @beta
|
|
3592
3160
|
* Type representing a user profile.
|
|
@@ -3756,13 +3324,6 @@ export declare interface WorkspaceChangeEmitter {
|
|
|
3756
3324
|
onOpenWorkspacesChanged: AddListener<Workspace[]>;
|
|
3757
3325
|
}
|
|
3758
3326
|
|
|
3759
|
-
export declare type WorkspaceConfig = Partial<{
|
|
3760
|
-
description: string;
|
|
3761
|
-
os_icon: string;
|
|
3762
|
-
color: string;
|
|
3763
|
-
id?: string;
|
|
3764
|
-
}>;
|
|
3765
|
-
|
|
3766
3327
|
/**
|
|
3767
3328
|
*
|
|
3768
3329
|
* @beta
|
|
@@ -3962,10 +3523,6 @@ export declare type WorkspaceItemTitleProps = DesktopActionContext & {
|
|
|
3962
3523
|
* Selected items in left sidebar
|
|
3963
3524
|
*/
|
|
3964
3525
|
selectedItems: WorkspaceItem[];
|
|
3965
|
-
/**
|
|
3966
|
-
* If the component it is being used inside a Markdown component
|
|
3967
|
-
*/
|
|
3968
|
-
markdown?: boolean;
|
|
3969
3526
|
};
|
|
3970
3527
|
|
|
3971
3528
|
/**
|