@octostar/platform-types 0.5.37 → 1.0.0
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/action.d.ts +6 -6
- package/dist/action.d.ts.map +1 -1
- package/dist/ai.d.ts +7 -6
- package/dist/ai.d.ts.map +1 -1
- package/dist/desktop.d.ts +380 -204
- package/dist/desktop.d.ts.map +1 -1
- package/dist/desktop.js.map +1 -1
- package/dist/docs/assets/highlight.css +14 -14
- package/dist/docs/assets/navigation.js +1 -1
- package/dist/docs/assets/search.js +1 -1
- package/dist/docs/enums/ProcessingStatusCode.html +5 -27
- package/dist/docs/enums/SortOrder.html +3 -3
- package/dist/docs/enums/WorkspacePermissionValue.html +3 -3
- package/dist/docs/functions/imageLabelCandidateAggs.html +5 -0
- package/dist/docs/functions/imageLabelCandidateSize.html +3 -0
- package/dist/docs/functions/imageLabelCountAggs.html +2 -0
- package/dist/docs/functions/imageLabelFamilyOfField.html +2 -0
- package/dist/docs/functions/imageLabelMatchClause.html +3 -0
- package/dist/docs/functions/imageLabelSourceIncludes.html +2 -0
- package/dist/docs/functions/isDefaultTemplate.html +3 -0
- package/dist/docs/functions/isDeletedEntity.html +2 -0
- package/dist/docs/functions/isWorkspaceFileItem.html +1 -1
- package/dist/docs/functions/isWorkspaceRoot.html +2 -0
- package/dist/docs/functions/ontologyLabel-1.html +4 -0
- package/dist/docs/functions/readImageLabelCandidates.html +2 -0
- package/dist/docs/functions/readImageLabelCounts.html +2 -0
- package/dist/docs/hierarchy.html +1 -1
- package/dist/docs/index.html +2 -3
- package/dist/docs/interfaces/AIClient.html +4 -4
- package/dist/docs/interfaces/ActionContext.html +4 -5
- package/dist/docs/interfaces/BinaryObjectFilterClause.html +3 -3
- package/dist/docs/interfaces/BrowseEntry.html +7 -0
- package/dist/docs/interfaces/BrowseRequest.html +4 -0
- package/dist/docs/interfaces/BrowseResponse.html +5 -0
- package/dist/docs/interfaces/ChatMessage.html +6 -6
- package/dist/docs/interfaces/Colorful.html +3 -3
- package/dist/docs/interfaces/Concept.html +14 -14
- package/dist/docs/interfaces/DeleteResponse.html +2 -2
- package/dist/docs/interfaces/Desktop.html +199 -122
- package/dist/docs/interfaces/DesktopActionContext.html +7 -8
- package/dist/docs/interfaces/DesktopSettings.html +6 -6
- package/dist/docs/interfaces/DeveloperSettings.html +3 -5
- package/dist/docs/interfaces/DownloadOptions.html +2 -2
- package/dist/docs/interfaces/EntityUiState.html +2 -2
- package/dist/docs/interfaces/FetchOptions.html +4 -4
- package/dist/docs/interfaces/FileListResponse.html +2 -2
- package/dist/docs/interfaces/FilesAPIClient.html +48 -24
- package/dist/docs/interfaces/FragmentRegion.html +6 -0
- package/dist/docs/interfaces/FragmentStatusEntry.html +13 -0
- package/dist/docs/interfaces/GeocodingResult.html +9 -0
- package/dist/docs/interfaces/GetAttachmentOptions.html +5 -5
- package/dist/docs/interfaces/IDataTransfer.html +11 -11
- package/dist/docs/interfaces/ImageLabelCandidateOptions.html +4 -0
- package/dist/docs/interfaces/ImageLabelFamilyFields.html +13 -0
- package/dist/docs/interfaces/ImportDestination.html +3 -0
- package/dist/docs/interfaces/ImportItem.html +3 -0
- package/dist/docs/interfaces/ImportOptions.html +8 -0
- package/dist/docs/interfaces/ImportRequest.html +7 -0
- package/dist/docs/interfaces/IndexSearchHitSource.html +5 -3
- package/dist/docs/interfaces/Inheritance.html +5 -5
- package/dist/docs/interfaces/LiveContext.html +11 -11
- package/dist/docs/interfaces/MountAccess.html +3 -0
- package/dist/docs/interfaces/MountCreate.html +10 -0
- package/dist/docs/interfaces/MountGrantCreate.html +3 -0
- package/dist/docs/interfaces/MountGrantResponse.html +7 -0
- package/dist/docs/interfaces/MountImportCopyResponse.html +4 -0
- package/dist/docs/interfaces/MountImportLinkError.html +4 -0
- package/dist/docs/interfaces/MountImportLinkResponse.html +5 -0
- package/dist/docs/interfaces/MountResponse.html +20 -0
- package/dist/docs/interfaces/MountUpdate.html +13 -0
- package/dist/docs/interfaces/MoveOptions.html +2 -2
- package/dist/docs/interfaces/MoveResponse.html +58 -37
- package/dist/docs/interfaces/Ontology.html +110 -53
- package/dist/docs/interfaces/OntologyLabel.html +6 -0
- package/dist/docs/interfaces/OsAPIClient.html +8 -8
- package/dist/docs/interfaces/PeekSourceOptions.html +4 -0
- package/dist/docs/interfaces/PerUserCredentialInput.html +5 -0
- package/dist/docs/interfaces/PerUserCredentialStatus.html +7 -0
- package/dist/docs/interfaces/ProcessingRecursiveStatus.html +27 -0
- package/dist/docs/interfaces/ProcessingStatus.html +40 -9
- package/dist/docs/interfaces/Property.html +7 -5
- package/dist/docs/interfaces/RecordProvider.html +6 -6
- package/dist/docs/interfaces/RecordsSourceScope.html +8 -0
- package/dist/docs/interfaces/RefObject.html +3 -3
- package/dist/docs/interfaces/Relationship.html +22 -20
- package/dist/docs/interfaces/ReportApi.html +13 -0
- package/dist/docs/interfaces/S3Headers.html +2 -2
- package/dist/docs/interfaces/S3UploadResponse.html +2 -2
- package/dist/docs/interfaces/SavedSetContent.html +2 -2
- package/dist/docs/interfaces/SearchFilter.html +29 -0
- package/dist/docs/interfaces/SearchHit.html +11 -0
- package/dist/docs/interfaces/SearchInnerHit.html +3 -0
- package/dist/docs/interfaces/SearchOptions.html +21 -4
- package/dist/docs/interfaces/SearchProps.html +11 -10
- package/dist/docs/interfaces/SearchQueryResult.html +5 -0
- package/dist/docs/interfaces/SearchXperienceModalProps.html +9 -9
- package/dist/docs/interfaces/SearchXperienceProps.html +7 -7
- package/dist/docs/interfaces/SemanticBindingOptions.html +8 -0
- package/dist/docs/interfaces/SemanticBindingProps.html +8 -6
- package/dist/docs/interfaces/SharedCredentialsInput.html +5 -0
- package/dist/docs/interfaces/SourceExportError.html +4 -0
- package/dist/docs/interfaces/SourceExportRequest.html +8 -0
- package/dist/docs/interfaces/SourceExportResponse.html +7 -0
- package/dist/docs/interfaces/SourcePeekEntry.html +12 -0
- package/dist/docs/interfaces/SourcePeekResponse.html +10 -0
- package/dist/docs/interfaces/StreamJsonOptions.html +5 -5
- package/dist/docs/interfaces/StreamTextOptions.html +5 -5
- package/dist/docs/interfaces/SubscribeOptions.html +4 -0
- package/dist/docs/interfaces/TagAttributes.html +7 -7
- package/dist/docs/interfaces/TestConnectionRequest.html +12 -0
- package/dist/docs/interfaces/TestConnectionResponse.html +4 -0
- package/dist/docs/interfaces/UiStateManager.html +2 -2
- package/dist/docs/interfaces/UnaryObjectFilterClause.html +3 -3
- package/dist/docs/interfaces/UnzipOptions.html +2 -2
- package/dist/docs/interfaces/UploadFromUrlError.html +8 -0
- package/dist/docs/interfaces/UploadFromUrlRequest.html +6 -0
- package/dist/docs/interfaces/UploadFromUrlResponse.html +6 -0
- package/dist/docs/interfaces/UploadOptions.html +2 -2
- package/dist/docs/interfaces/WorkspaceChangeEmitter.html +7 -7
- package/dist/docs/interfaces/WorkspaceItemConfig.html +6 -6
- package/dist/docs/interfaces/WorkspaceRecordIdentifier.html +5 -5
- package/dist/docs/modules.html +106 -38
- 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/AddToReportBlocksInput.html +6 -0
- package/dist/docs/types/AddToReportContentSelection.html +2 -0
- package/dist/docs/types/AddToReportEntityInput.html +5 -0
- package/dist/docs/types/AddToReportInput.html +2 -0
- package/dist/docs/types/AddToReportResult.html +2 -0
- 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 +3 -4
- 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/BinaryOperator.html +2 -2
- package/dist/docs/types/BrowseKind.html +1 -0
- package/dist/docs/types/Callback.html +2 -2
- package/dist/docs/types/ChatApiResponse.html +1 -1
- package/dist/docs/types/ChatModel.html +2 -2
- package/dist/docs/types/CommentWorkspaceItem.html +2 -2
- package/dist/docs/types/CommonOptions.html +1 -1
- 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 +4 -2
- package/dist/docs/types/CreateLinkChartFn.html +1 -1
- package/dist/docs/types/CreateLinkChartParams.html +1 -1
- package/dist/docs/types/CreateRelationsDialogProps.html +2 -2
- package/dist/docs/types/CredType.html +1 -0
- package/dist/docs/types/CredentialMode.html +1 -0
- package/dist/docs/types/CustomEventListener.html +2 -2
- package/dist/docs/types/CustomTemplate.html +9 -3
- package/dist/docs/types/CustomTemplateIframeProps.html +2 -2
- package/dist/docs/types/DataContextType.html +2 -2
- package/dist/docs/types/DefaultLiveContextData.html +1 -1
- package/dist/docs/types/DefaultTemplate.html +11 -0
- package/dist/docs/types/DefaultTemplateProps.html +5 -0
- package/dist/docs/types/DeletedEntity.html +3 -0
- package/dist/docs/types/DesktopAction.html +2 -2
- package/dist/docs/types/DesktopActionFilter.html +2 -2
- package/dist/docs/types/DesktopActionMenuItem.html +6 -2
- package/dist/docs/types/DesktopActionMenuItemGroup.html +2 -2
- package/dist/docs/types/DesktopActionOptions.html +17 -3
- package/dist/docs/types/DesktopOpenParams.html +2 -2
- package/dist/docs/types/DragEndParams.html +2 -2
- package/dist/docs/types/DragStartParams.html +2 -2
- package/dist/docs/types/DropZoneRequestFn.html +1 -1
- package/dist/docs/types/DropZoneRequestResult.html +1 -1
- 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/EntityBase.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/EntityRelationshipCount.html +4 -0
- 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/ExtrasApi.html +1 -1
- package/dist/docs/types/FetchEntityOptions.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/FilterQuery.html +2 -2
- package/dist/docs/types/FilterReference.html +2 -2
- package/dist/docs/types/FilterValue.html +2 -2
- package/dist/docs/types/FocusListItem.html +2 -2
- package/dist/docs/types/FragmentInfo.html +5 -0
- package/dist/docs/types/FragmentLocator.html +5 -0
- package/dist/docs/types/FragmentResolution.html +2 -0
- package/dist/docs/types/GetSystemSettingResponse.html +4 -1
- 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/ImageLabelFamily.html +21 -0
- package/dist/docs/types/ImportConflictPolicy.html +1 -0
- package/dist/docs/types/ImportEntryKind.html +1 -0
- package/dist/docs/types/ImportFoldersOptions.html +2 -2
- package/dist/docs/types/ImportMode.html +1 -0
- package/dist/docs/types/InlineCode.html +2 -2
- package/dist/docs/types/JavascriptFileTransformDefinition.html +2 -2
- package/dist/docs/types/JavascriptFilterDefinition.html +2 -2
- package/dist/docs/types/JavascriptInlineTransformDefinition.html +2 -2
- package/dist/docs/types/JavascriptType.html +3 -3
- package/dist/docs/types/JobManifest.html +4 -4
- package/dist/docs/types/KnownCounts.html +2 -2
- package/dist/docs/types/ListByParentFolder.html +1 -1
- package/dist/docs/types/ListByPath.html +1 -1
- package/dist/docs/types/ListFolderOptions.html +1 -1
- package/dist/docs/types/LiveContextAPISetParams.html +1 -1
- package/dist/docs/types/LiveContextListener.html +1 -1
- package/dist/docs/types/ManifestSecrets.html +1 -1
- package/dist/docs/types/MapSettingKey.html +1 -0
- package/dist/docs/types/MkdirResponse.html +1 -1
- package/dist/docs/types/ModalTemplateProps.html +2 -2
- package/dist/docs/types/MountScheme.html +7 -0
- 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 +3 -3
- package/dist/docs/types/OS_CONFIRM_MODAL_RESPONSE.html +2 -2
- package/dist/docs/types/OntologyTags.html +2 -2
- package/dist/docs/types/OpenNewAIChatOptions.html +17 -0
- package/dist/docs/types/OpenReportSummary.html +6 -0
- 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 +11 -3
- 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/PeekSourceTarget.html +4 -0
- package/dist/docs/types/Permission.html +2 -2
- package/dist/docs/types/Point.html +2 -2
- package/dist/docs/types/PrincipalType.html +1 -0
- package/dist/docs/types/PromptOptions.html +6 -3
- package/dist/docs/types/ProvidedFilterDefinition.html +2 -2
- package/dist/docs/types/ProvidedTransformDefinition.html +2 -2
- package/dist/docs/types/Query.html +2 -2
- package/dist/docs/types/QueryBatchResult.html +2 -2
- package/dist/docs/types/QueryDslQueryContainer.html +6 -0
- package/dist/docs/types/QueryErrorResult.html +2 -2
- package/dist/docs/types/QueryExecutor.html +2 -2
- package/dist/docs/types/QueryFilesystemItemsParams.html +16 -0
- package/dist/docs/types/QueryObjectFilterClause.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/RegisteredActionInfo.html +21 -0
- package/dist/docs/types/RelationshipCountEntry.html +8 -0
- package/dist/docs/types/RelationshipCountResult.html +2 -2
- package/dist/docs/types/RelationshipCountState.html +2 -0
- package/dist/docs/types/RemoteAppApi.html +1 -1
- package/dist/docs/types/RenameTabProps.html +2 -2
- package/dist/docs/types/RenderableTemplate.html +11 -0
- package/dist/docs/types/ReportTiptapNode.html +4 -0
- package/dist/docs/types/RuntimeAppUrlEntity.html +5 -0
- package/dist/docs/types/RuntimeAppUrlWorkspaceItem.html +10 -0
- package/dist/docs/types/SaveAsModalProps.html +2 -2
- package/dist/docs/types/SaveFileOptions.html +2 -2
- package/dist/docs/types/SaveOptions.html +2 -3
- package/dist/docs/types/SavedTemplate.html +3 -4
- package/dist/docs/types/SearchScope.html +9 -0
- package/dist/docs/types/SemanticBinding.html +2 -2
- package/dist/docs/types/SemanticBindingSpec.html +3 -0
- package/dist/docs/types/SemanticBindingType.html +2 -2
- package/dist/docs/types/SemanticBindings.html +3 -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/SetTransformResultFn.html +1 -1
- package/dist/docs/types/SetsOptions.html +7 -16
- package/dist/docs/types/SetsSortBy.html +1 -0
- package/dist/docs/types/ShowOntology.html +2 -2
- package/dist/docs/types/ShowTabProps.html +2 -2
- package/dist/docs/types/SubscribeDragStartFn.html +1 -1
- package/dist/docs/types/SubscribeToContextFn.html +1 -1
- 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 +3 -3
- package/dist/docs/types/TemplateType.html +2 -2
- package/dist/docs/types/TemplateVariant.html +2 -2
- package/dist/docs/types/TestOutcome.html +2 -0
- 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/UnsubscribeFn.html +1 -1
- package/dist/docs/types/UnsubscribeFromContextFn.html +1 -1
- package/dist/docs/types/UnsubscribeFromDragStartFn.html +1 -1
- package/dist/docs/types/UploadFromUrlErrorCode.html +4 -0
- package/dist/docs/types/UserProfile.html +2 -2
- package/dist/docs/types/VirtualEntity.html +2 -2
- package/dist/docs/types/Whoami.html +3 -3
- package/dist/docs/types/WithProgressBarOptions.html +2 -2
- package/dist/docs/types/WorkspaceConfig.html +5 -3
- package/dist/docs/types/WorkspaceFlags.html +2 -2
- package/dist/docs/types/WorkspaceIdentifier.html +2 -2
- package/dist/docs/types/WorkspaceItem.html +21 -2
- package/dist/docs/types/WorkspaceItemBase.html +2 -2
- package/dist/docs/types/WorkspaceItemDocumentFields.html +1 -1
- package/dist/docs/types/WorkspaceItemIdentifier.html +2 -2
- package/dist/docs/types/WorkspaceItemModel.html +4 -12
- package/dist/docs/types/WorkspaceItemTitleProps.html +3 -3
- package/dist/docs/types/WorkspacePermission.html +2 -2
- package/dist/docs/types/WorkspaceRecord.html +2 -2
- package/dist/docs/types/WorkspaceRecordWithRelationships.html +2 -2
- package/dist/docs/types/WorkspaceRelationship.html +3 -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/HEAVY_ANNOTATION_FIELDS.html +17 -0
- package/dist/docs/variables/IMAGE_LABEL_FAMILIES.html +1 -0
- package/dist/docs/variables/IMAGE_LABEL_FIELDS.html +1 -0
- package/dist/docs/variables/IMAGE_LABEL_SOURCE_INCLUDES.html +2 -0
- package/dist/docs/variables/MAP_SETTINGS_KEYS.html +9 -0
- package/dist/docs/variables/ORIGINAL_OS_PARENT_FOLDER.html +1 -1
- 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/docs/variables/VECTOR_SENTINEL_LABELS.html +4 -0
- package/dist/extras.d.ts +0 -1
- package/dist/extras.d.ts.map +1 -1
- package/dist/files.d.ts +141 -1
- package/dist/files.d.ts.map +1 -1
- package/dist/files.js.map +1 -1
- package/dist/fragmentLocator.d.ts +31 -0
- package/dist/fragmentLocator.d.ts.map +1 -0
- package/dist/fragmentLocator.js +2 -0
- package/dist/fragmentLocator.js.map +1 -0
- package/dist/imageLabels.d.ts +84 -0
- package/dist/imageLabels.d.ts.map +1 -0
- package/dist/imageLabels.js +148 -0
- package/dist/imageLabels.js.map +1 -0
- package/dist/index.d.ts +6 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -3
- package/dist/index.js.map +1 -1
- package/dist/indexSearch.d.ts +18 -0
- package/dist/indexSearch.d.ts.map +1 -1
- package/dist/jobManifestTypes.d.ts +5 -25
- package/dist/jobManifestTypes.d.ts.map +1 -1
- package/dist/mapSettings.d.ts +17 -0
- package/dist/mapSettings.d.ts.map +1 -0
- package/dist/mapSettings.js +16 -0
- package/dist/mapSettings.js.map +1 -0
- package/dist/model.d.ts +215 -71
- package/dist/model.d.ts.map +1 -1
- package/dist/model.js +44 -25
- package/dist/model.js.map +1 -1
- package/dist/mounts.d.ts +184 -0
- package/dist/mounts.d.ts.map +1 -0
- package/dist/mounts.js +11 -0
- package/dist/mounts.js.map +1 -0
- package/dist/ontology.d.ts +148 -8
- package/dist/ontology.d.ts.map +1 -1
- package/dist/platform-types.d.ts +1692 -663
- package/dist/report.d.ts +112 -0
- package/dist/report.d.ts.map +1 -0
- package/dist/report.js +2 -0
- package/dist/report.js.map +1 -0
- package/dist/savedSet.d.ts +5 -0
- package/dist/savedSet.d.ts.map +1 -0
- package/dist/savedSet.js +2 -0
- package/dist/savedSet.js.map +1 -0
- package/dist/search.d.ts +140 -3
- package/dist/search.d.ts.map +1 -1
- package/dist/search.js +32 -1
- package/dist/search.js.map +1 -1
- package/dist/semantic.d.ts +24 -5
- package/dist/semantic.d.ts.map +1 -1
- package/dist/templates.d.ts +63 -5
- package/dist/templates.d.ts.map +1 -1
- package/dist/templates.js +8 -1
- package/dist/templates.js.map +1 -1
- package/dist/workspace.d.ts +25 -41
- package/dist/workspace.d.ts.map +1 -1
- package/dist/workspace.js.map +1 -1
- package/package.json +6 -20
- package/dist/behaviour.d.ts +0 -45
- package/dist/behaviour.d.ts.map +0 -1
- package/dist/behaviour.js +0 -14
- package/dist/behaviour.js.map +0 -1
- package/dist/docs/interfaces/ChartDataResponseResult.html +0 -20
- 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/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/StylerContext.html +0 -21
- package/dist/docs/types/Behaviour.html +0 -17
- package/dist/docs/types/DataMask.html +0 -1
- package/dist/docs/types/DesktopStylerContext.html +0 -4
- package/dist/docs/types/DraftWorkspaceItem.html +0 -3
- package/dist/docs/types/Filter.html +0 -1
- package/dist/docs/types/FilterState.html +0 -1
- package/dist/docs/types/FolderPasteOptions.html +0 -5
- package/dist/docs/types/JavascriptFileStylerDefinition.html +0 -2
- package/dist/docs/types/JavascriptInlineStylerDefinition.html +0 -2
- package/dist/docs/types/PasteContextOptions.html +0 -8
- package/dist/docs/types/RecordFetchOptions.html +0 -1
- package/dist/docs/types/SearchFilter.html +0 -2
- package/dist/docs/types/Styler.html +0 -19
- package/dist/docs/types/StylerConfig.html +0 -6
- package/dist/docs/types/StylerDefinition.html +0 -2
- package/dist/docs/types/StylerDefinitions.html +0 -2
- package/dist/docs/types/StylerOption.html +0 -4
- package/dist/docs/types/StylerProducer.html +0 -4
- package/dist/docs/types/Watcher.html +0 -11
- package/dist/docs/types/Workspace.html +0 -8
- package/dist/docs/types/WorkspaceItems.html +0 -2
- package/dist/docs/types/WorkspaceRecordInfo.html +0 -6
- package/dist/docs/types/WorkspaceRecords.html +0 -2
- package/dist/docs/variables/SAVED_SEARCH_MESSAGE_TYPES.html +0 -1
- package/dist/docs/variables/SAVED_SEARCH_PREFIX.html +0 -1
- package/dist/savedSearch.d.ts +0 -128
- package/dist/savedSearch.d.ts.map +0 -1
- package/dist/savedSearch.js +0 -16
- package/dist/savedSearch.js.map +0 -1
- package/dist/styling.d.ts +0 -100
- package/dist/styling.d.ts.map +0 -1
- package/dist/styling.js +0 -2
- package/dist/styling.js.map +0 -1
package/dist/model.d.ts
CHANGED
|
@@ -33,8 +33,28 @@ export declare interface UnaryObjectFilterClause {
|
|
|
33
33
|
* It can be either a binary filter clause or a unary filter clause.
|
|
34
34
|
*/
|
|
35
35
|
export declare type QueryObjectFilterClause = BinaryObjectFilterClause | UnaryObjectFilterClause;
|
|
36
|
-
export default QueryObjectFilterClause;
|
|
37
36
|
export type ConceptName = string;
|
|
37
|
+
/**
|
|
38
|
+
* The display label the ontology schema resolves for a concept, property or relationship.
|
|
39
|
+
* @beta
|
|
40
|
+
*/
|
|
41
|
+
export interface OntologyLabel {
|
|
42
|
+
/**
|
|
43
|
+
* The label in the session language.
|
|
44
|
+
*/
|
|
45
|
+
text: string;
|
|
46
|
+
/**
|
|
47
|
+
* One form per CLDR plural category; sent for concepts only.
|
|
48
|
+
*/
|
|
49
|
+
plural?: Record<string, string>;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Returns the display name of an ontology term: its schema label, or the English default the
|
|
53
|
+
* backend derives from the machine name. The server always sends `label.text`, so the fallback is
|
|
54
|
+
* reached only against a backend predating the label fields or with a fixture-built model.
|
|
55
|
+
* @beta
|
|
56
|
+
*/
|
|
57
|
+
export declare function ontologyLabel(label: OntologyLabel | undefined, machineName: string | undefined): string;
|
|
38
58
|
/**
|
|
39
59
|
* Represents a property of a concept.
|
|
40
60
|
* @beta
|
|
@@ -52,6 +72,10 @@ export interface Property {
|
|
|
52
72
|
* The type of the property.
|
|
53
73
|
*/
|
|
54
74
|
property_type: string;
|
|
75
|
+
/**
|
|
76
|
+
* The display label from the ontology schema.
|
|
77
|
+
*/
|
|
78
|
+
label?: OntologyLabel;
|
|
55
79
|
}
|
|
56
80
|
/**
|
|
57
81
|
* Represents an inheritance relationship between concepts.
|
|
@@ -127,9 +151,9 @@ export interface Concept {
|
|
|
127
151
|
*/
|
|
128
152
|
labelKeys: string[];
|
|
129
153
|
/**
|
|
130
|
-
*
|
|
154
|
+
* The display label from the ontology schema.
|
|
131
155
|
*/
|
|
132
|
-
|
|
156
|
+
label?: OntologyLabel;
|
|
133
157
|
}
|
|
134
158
|
/**
|
|
135
159
|
* Represents a map of concepts.
|
|
@@ -209,6 +233,10 @@ export interface Relationship {
|
|
|
209
233
|
* Name of the relationship.
|
|
210
234
|
*/
|
|
211
235
|
relationship_name: string;
|
|
236
|
+
/**
|
|
237
|
+
* The display label from the ontology schema.
|
|
238
|
+
*/
|
|
239
|
+
label?: OntologyLabel;
|
|
212
240
|
/**
|
|
213
241
|
* Inverse name of the relationship.
|
|
214
242
|
*/
|
|
@@ -242,13 +270,13 @@ export interface Relationship {
|
|
|
242
270
|
*/
|
|
243
271
|
mapping_json: string;
|
|
244
272
|
/**
|
|
245
|
-
* Indicates if the relationship is inverse (1 for true, 0 for false).
|
|
273
|
+
* Indicates if the relationship is inverse (1 for true, 0 for false). Numeric only at the API.
|
|
246
274
|
*/
|
|
247
275
|
is_inverse: number;
|
|
248
276
|
/**
|
|
249
277
|
* Indicates if the relationship is many-to-many (1 for true, 0 for false).
|
|
250
278
|
*/
|
|
251
|
-
is_mtm: number;
|
|
279
|
+
is_mtm: number | boolean;
|
|
252
280
|
/**
|
|
253
281
|
* Transitivity property of the relationship.
|
|
254
282
|
*/
|
|
@@ -339,9 +367,7 @@ export type ConceptFilter = {
|
|
|
339
367
|
/**
|
|
340
368
|
* The filters to apply to the records of the concept.
|
|
341
369
|
*/
|
|
342
|
-
filters:
|
|
343
|
-
formattedLabel?: string;
|
|
344
|
-
})[];
|
|
370
|
+
filters: QueryObjectFilterClause[];
|
|
345
371
|
/**
|
|
346
372
|
* Indicates if the item only should be returned.
|
|
347
373
|
* If true, only the item itself will be returned.
|
|
@@ -363,25 +389,6 @@ export type WorkspaceItemModel = {
|
|
|
363
389
|
* Indicates if the item is in rename mode.
|
|
364
390
|
*/
|
|
365
391
|
rename?: boolean;
|
|
366
|
-
/**
|
|
367
|
-
* A filter applied to concepts.
|
|
368
|
-
*/
|
|
369
|
-
query?: ConceptFilter;
|
|
370
|
-
/**
|
|
371
|
-
* Function to get the count of entities.
|
|
372
|
-
* @returns A promise that resolves to the number of entities.
|
|
373
|
-
*/
|
|
374
|
-
getEntitiesCount?: () => Promise<number>;
|
|
375
|
-
/**
|
|
376
|
-
* Function to get the entities.
|
|
377
|
-
* @param limit - The maximum number of entities to retrieve.
|
|
378
|
-
* @returns A promise that resolves to an array of entities.
|
|
379
|
-
*/
|
|
380
|
-
getEntities?: (limit?: number) => Promise<Entity[]>;
|
|
381
|
-
/**
|
|
382
|
-
* Determines if the count is shown only when the item is closed.
|
|
383
|
-
*/
|
|
384
|
-
showCountOnlyWhenClosed?: boolean;
|
|
385
392
|
/**
|
|
386
393
|
* The initial state of the item.
|
|
387
394
|
*/
|
|
@@ -390,10 +397,6 @@ export type WorkspaceItemModel = {
|
|
|
390
397
|
* Indicates if the item should be highlighted.
|
|
391
398
|
*/
|
|
392
399
|
highlight?: boolean;
|
|
393
|
-
/**
|
|
394
|
-
* Indicates if the item is in draft mode.
|
|
395
|
-
*/
|
|
396
|
-
draft?: boolean;
|
|
397
400
|
/**
|
|
398
401
|
* Indicates if the item is auto open
|
|
399
402
|
*/
|
|
@@ -500,6 +503,27 @@ export type WorkspaceRecord = Entity & WorkspaceItemBase & OsAuditFields & {
|
|
|
500
503
|
export type VirtualEntity = Entity & {
|
|
501
504
|
'#virtual': true;
|
|
502
505
|
};
|
|
506
|
+
/**
|
|
507
|
+
* Represents a deletion notification payload (from the firehose).
|
|
508
|
+
* Identity fields like `os_entity_uid` and `entity_label` may be empty.
|
|
509
|
+
* @beta
|
|
510
|
+
*/
|
|
511
|
+
export type DeletedEntity = Entity & {
|
|
512
|
+
'#deleted': true;
|
|
513
|
+
'#updated': number;
|
|
514
|
+
};
|
|
515
|
+
/**
|
|
516
|
+
* Type guard for {@link DeletedEntity}.
|
|
517
|
+
* @beta
|
|
518
|
+
*/
|
|
519
|
+
export declare function isDeletedEntity(value: unknown): value is DeletedEntity;
|
|
520
|
+
/**
|
|
521
|
+
* True when `entity` is a workspace root.
|
|
522
|
+
* @beta
|
|
523
|
+
*/
|
|
524
|
+
export declare function isWorkspaceRoot(entity?: EntityBase | WorkspaceRecordIdentifier | {
|
|
525
|
+
os_item_type?: string;
|
|
526
|
+
} | null): boolean;
|
|
503
527
|
/**
|
|
504
528
|
* Interface for items that can have a color attribute.
|
|
505
529
|
* @beta
|
|
@@ -587,6 +611,41 @@ export type WorkspaceItem<T = any> = WorkspaceRecord & {
|
|
|
587
611
|
* Whether the item has an attachment file content.
|
|
588
612
|
*/
|
|
589
613
|
os_has_attachment?: boolean;
|
|
614
|
+
/**
|
|
615
|
+
* The source entity uid of the item.
|
|
616
|
+
*/
|
|
617
|
+
source_entity_uid?: string;
|
|
618
|
+
/**
|
|
619
|
+
* The fragment keyframe number of the item.
|
|
620
|
+
*/
|
|
621
|
+
fragment_keyframe_number?: number;
|
|
622
|
+
/**
|
|
623
|
+
* The source entity type of the item.
|
|
624
|
+
*/
|
|
625
|
+
source_entity_type?: string;
|
|
626
|
+
/**
|
|
627
|
+
* The fragment page number of the item.
|
|
628
|
+
*/
|
|
629
|
+
fragment_page_number?: number;
|
|
630
|
+
/**
|
|
631
|
+
* The fragment start: seconds for audio/video collections, a page for
|
|
632
|
+
* `document_*`, a row for `table_*`. Numbers from the pipeline, strings in
|
|
633
|
+
* older indexes — resolve through `resolveFragmentLocator`.
|
|
634
|
+
*/
|
|
635
|
+
fragment_start?: string | number;
|
|
636
|
+
/**
|
|
637
|
+
* The fragment end, in the same unit as `fragment_start`.
|
|
638
|
+
*/
|
|
639
|
+
fragment_end?: string | number;
|
|
640
|
+
/**
|
|
641
|
+
* Content type of the original file a fragment chain starts from, not of
|
|
642
|
+
* the direct parent. Missing on fragments indexed before the API wrote it.
|
|
643
|
+
*/
|
|
644
|
+
parent_os_item_content_type?: string;
|
|
645
|
+
/**
|
|
646
|
+
* The fragment index of the item.
|
|
647
|
+
*/
|
|
648
|
+
fragment_index?: number;
|
|
590
649
|
/**
|
|
591
650
|
* Optional path from the os_parent_folder or os_workspace to the item.
|
|
592
651
|
* Does not include the item name.
|
|
@@ -602,12 +661,26 @@ export type WorkspaceItem<T = any> = WorkspaceRecord & {
|
|
|
602
661
|
* Whether the item is readonly or not.
|
|
603
662
|
*/
|
|
604
663
|
os_readonly?: boolean;
|
|
664
|
+
/**
|
|
665
|
+
* For source-backed files: the `osfs://` URI pointing INTO a parent source
|
|
666
|
+
* (e.g. a zip). When set, the file's bytes live inside another entity
|
|
667
|
+
* rather than directly in S3. Streaming GET on `/files/attachments` knows
|
|
668
|
+
* how to resolve this transparently.
|
|
669
|
+
*/
|
|
670
|
+
os_source_url?: string;
|
|
671
|
+
/**
|
|
672
|
+
* Set by the backend stat path to indicate the file is a peekable source
|
|
673
|
+
* (zip, ufdr, jar, apk, ipa, epub, …). The UI uses this to decide whether
|
|
674
|
+
* to surface "Browse contents" and related affordances rather than
|
|
675
|
+
* re-deriving from content_type + filename extension.
|
|
676
|
+
*/
|
|
677
|
+
is_peekable_source?: boolean;
|
|
605
678
|
};
|
|
606
679
|
/**
|
|
607
680
|
* Represents a relationship between workspace items.
|
|
608
681
|
* @beta
|
|
609
682
|
*/
|
|
610
|
-
export type WorkspaceRelationship = WorkspaceItemBase & OsAuditFields & {
|
|
683
|
+
export type WorkspaceRelationship = WorkspaceItemBase & Entity & OsAuditFields & {
|
|
611
684
|
/**
|
|
612
685
|
* Unique identifier for the source entity in the relationship.
|
|
613
686
|
*/
|
|
@@ -628,22 +701,11 @@ export type WorkspaceRelationship = WorkspaceItemBase & OsAuditFields & {
|
|
|
628
701
|
* Name of the relationship.
|
|
629
702
|
*/
|
|
630
703
|
os_relationship_name: string;
|
|
631
|
-
};
|
|
632
|
-
/**
|
|
633
|
-
* Represents a draft workspace item.
|
|
634
|
-
* @beta
|
|
635
|
-
*/
|
|
636
|
-
export type DraftWorkspaceItem = WorkspaceItem & {
|
|
637
704
|
/**
|
|
638
|
-
*
|
|
705
|
+
* Inverse name of the relationship.
|
|
639
706
|
*/
|
|
640
|
-
|
|
707
|
+
os_relationship_inverse_name?: string;
|
|
641
708
|
};
|
|
642
|
-
/**
|
|
643
|
-
* Represents an array of workspace items.
|
|
644
|
-
* @beta
|
|
645
|
-
*/
|
|
646
|
-
export type WorkspaceItems = WorkspaceItem[];
|
|
647
709
|
/**
|
|
648
710
|
* Interface for providing records.
|
|
649
711
|
* @beta
|
|
@@ -715,38 +777,51 @@ export type ReasonedBoolean = {
|
|
|
715
777
|
reason: string;
|
|
716
778
|
};
|
|
717
779
|
/**
|
|
718
|
-
*
|
|
780
|
+
* Processing status codes returned for indexed / pipeline processing state.
|
|
719
781
|
* @beta
|
|
720
782
|
*/
|
|
721
783
|
export declare enum ProcessingStatusCode {
|
|
722
|
-
/** Queued and awaiting execution */
|
|
723
|
-
QUEUED = "QUEUED",
|
|
724
|
-
/** Currently running */
|
|
725
784
|
RUNNING = "RUNNING",
|
|
726
|
-
/** Stopped manually */
|
|
727
|
-
STOPPED = "STOPPED",
|
|
728
|
-
/** Paused and can be resumed */
|
|
729
|
-
PAUSED = "PAUSED",
|
|
730
|
-
/** Completed successfully */
|
|
731
785
|
COMPLETED = "COMPLETED",
|
|
732
|
-
/** Encountered a failure */
|
|
733
786
|
FAILED = "FAILED",
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
787
|
+
UNKNOWN = "UNKNOWN",
|
|
788
|
+
CANCELED = "CANCELED",
|
|
789
|
+
PARTIALLY_COMPLETED = "PARTIALLY_COMPLETED"
|
|
790
|
+
}
|
|
791
|
+
/**
|
|
792
|
+
* Fragment-tree completion payload persisted by the backend's debounced
|
|
793
|
+
* recursive-rollup job. Returned in-line as
|
|
794
|
+
* {@link ProcessingStatus.detailed_status} for any entity whose subtree
|
|
795
|
+
* has been rolled up at least once. Mirrors
|
|
796
|
+
* `app/api/v1/pipeline/processing_status_models.py::ProcessingRecursiveStatus`.
|
|
797
|
+
* @beta
|
|
798
|
+
*/
|
|
799
|
+
export interface ProcessingRecursiveStatus {
|
|
800
|
+
total_indexed: number;
|
|
801
|
+
total_terminal: number;
|
|
802
|
+
total_running: number;
|
|
803
|
+
total_missing: number;
|
|
804
|
+
total_failed: number;
|
|
805
|
+
known_floor: number;
|
|
806
|
+
remaining_floor: number;
|
|
807
|
+
fully_complete: boolean;
|
|
808
|
+
tree_live: boolean;
|
|
809
|
+
has_missing_branches: boolean;
|
|
810
|
+
partial: boolean;
|
|
811
|
+
/**
|
|
812
|
+
* Sparse rollup-effective status code override.
|
|
813
|
+
* Consumers should compute the effective status as
|
|
814
|
+
* `detailed_status?.status_code ?? status_code`.
|
|
815
|
+
*/
|
|
816
|
+
status_code?: ProcessingStatusCode;
|
|
817
|
+
/**
|
|
818
|
+
* Fragments left by PRIOR pipeline runs that the latest run did not
|
|
819
|
+
* re-create. They remain indexed and searchable in full — this count only
|
|
820
|
+
* flags that they are NOT counted toward this (last-run-scoped) completion
|
|
821
|
+
* rollup. Sparse: present only when > 0. Cleared by a reprocess that
|
|
822
|
+
* re-creates the whole tree, or by an explicit fragment cleanup.
|
|
823
|
+
*/
|
|
824
|
+
orphaned_prior_fragments?: number;
|
|
750
825
|
}
|
|
751
826
|
/**
|
|
752
827
|
* Represents the status of a processing operation.
|
|
@@ -762,5 +837,74 @@ export interface ProcessingStatus extends EntityBase {
|
|
|
762
837
|
* The timeout for the processing operation.
|
|
763
838
|
*/
|
|
764
839
|
timeout: number;
|
|
840
|
+
/**
|
|
841
|
+
* Number of direct child fragments declared by this entity. Used by the
|
|
842
|
+
* recursive rollup to detect declared-but-not-yet-indexed children.
|
|
843
|
+
*/
|
|
844
|
+
n_child_fragments?: number;
|
|
845
|
+
/**
|
|
846
|
+
* UID of the global root this entity belongs to (the originally fragmented
|
|
847
|
+
* entity). `undefined` for global roots themselves.
|
|
848
|
+
*/
|
|
849
|
+
source_entity_uid?: string;
|
|
850
|
+
/**
|
|
851
|
+
* UID of the direct parent in the fragment tree. `undefined` for global
|
|
852
|
+
* roots. Mirrors `document_fields.os_parent_uid`; pair with
|
|
853
|
+
* `source_entity_uid` on every fragment write.
|
|
854
|
+
*/
|
|
855
|
+
os_parent_uid?: string;
|
|
856
|
+
/**
|
|
857
|
+
* UID of the workspace this entity belongs to. Mirrors
|
|
858
|
+
* `document_fields.os_workspace`. Set
|
|
859
|
+
* on every status write (roots and fragments).
|
|
860
|
+
*/
|
|
861
|
+
os_workspace?: string;
|
|
862
|
+
/**
|
|
863
|
+
* Persisted recursive rollup for the root's fragment subtree.
|
|
864
|
+
* Always returned in-line by `/api/v1/pipeline/processing-status/get`
|
|
865
|
+
* when the debounced rollup job has written it; there is no separate
|
|
866
|
+
* "ask for recursive numbers" request flag.
|
|
867
|
+
*/
|
|
868
|
+
detailed_status?: ProcessingRecursiveStatus;
|
|
869
|
+
/**
|
|
870
|
+
* SHA-256 of the canonical serialization of `detailed_status`. Used by the
|
|
871
|
+
* backend scripted update to short-circuit no-op writes.
|
|
872
|
+
*/
|
|
873
|
+
detailed_status_hash?: string;
|
|
874
|
+
/**
|
|
875
|
+
* Per-fragment error entries collected by the recursive rollup.
|
|
876
|
+
* Each entry mirrors the offending fragment's `processing_status`
|
|
877
|
+
* (reason, status_code, timestamp, plus identity fields).
|
|
878
|
+
*/
|
|
879
|
+
fragment_errors?: FragmentStatusEntry[];
|
|
880
|
+
/**
|
|
881
|
+
* Per-fragment warning entries collected by the recursive rollup
|
|
882
|
+
* (e.g. lenient-defragmentation gaps). Combine with `warnings` to
|
|
883
|
+
* get the user-facing total.
|
|
884
|
+
*/
|
|
885
|
+
fragment_warnings?: FragmentStatusEntry[];
|
|
886
|
+
/**
|
|
887
|
+
* Warning entries raised on this entity's own processing (excluding
|
|
888
|
+
* its fragments). Pair with `fragment_warnings` for the total.
|
|
889
|
+
*/
|
|
890
|
+
warnings?: FragmentStatusEntry[];
|
|
891
|
+
}
|
|
892
|
+
/**
|
|
893
|
+
* One entry in {@link ProcessingStatus.fragment_errors} /
|
|
894
|
+
* {@link ProcessingStatus.fragment_warnings} / {@link ProcessingStatus.warnings}.
|
|
895
|
+
*
|
|
896
|
+
* All fields are optional to match the backend `ChildProcessingStatus` contract:
|
|
897
|
+
* the pipeline serializes entries with `exclude_none=True`, so partial entries
|
|
898
|
+
* (e.g. a lenient-merge gap that only knows `entity_id`, or a processor that
|
|
899
|
+
* omits `reason`) are valid wire payloads.
|
|
900
|
+
* @beta
|
|
901
|
+
*/
|
|
902
|
+
export interface FragmentStatusEntry {
|
|
903
|
+
reason?: string;
|
|
904
|
+
status_code?: string;
|
|
905
|
+
timestamp?: string;
|
|
906
|
+
entity_id?: string;
|
|
907
|
+
entity_label?: string;
|
|
908
|
+
entity_type?: string;
|
|
765
909
|
}
|
|
766
910
|
//# sourceMappingURL=model.d.ts.map
|
package/dist/model.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../src/model.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,MAAM,cAAc,GAAG,IAAI,GAAG,IAAI,GAAG,GAAG,GAAG,IAAI,GAAG,GAAG,GAAG,IAAI,GAAG,IAAI,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC;AAElH;;;GAGG;AACH,MAAM,MAAM,UAAU,GAAG,MA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,eAAe,CAAC,EAAE,yBAAyB,CAAC;IAC5C;;;OAGG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,eAAe,CAAC,EAAE,mBAAmB,EAAE,CAAC;IACxC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,mBAAmB,EAAE,CAAC;IAC1C;;;OAGG;IACH,QAAQ,CAAC,EAAE,mBAAmB,EAAE,CAAC;CAClC;AAED;;;;;;;;;GASG;AACH,MAAM,WAAW,mBAAmB;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
|
package/dist/model.js
CHANGED
|
@@ -1,3 +1,25 @@
|
|
|
1
|
+
const capitalize = (word) => word.charAt(0).toUpperCase() + word.slice(1);
|
|
2
|
+
/**
|
|
3
|
+
* Returns the display name of an ontology term: its schema label, or the English default the
|
|
4
|
+
* backend derives from the machine name. The server always sends `label.text`, so the fallback is
|
|
5
|
+
* reached only against a backend predating the label fields or with a fixture-built model.
|
|
6
|
+
* @beta
|
|
7
|
+
*/
|
|
8
|
+
export function ontologyLabel(label, machineName) {
|
|
9
|
+
if (label) {
|
|
10
|
+
return label.text;
|
|
11
|
+
}
|
|
12
|
+
// Render sites pass fields off `Entity` casts that can be unhydrated; an empty name renders empty.
|
|
13
|
+
if (!machineName) {
|
|
14
|
+
return '';
|
|
15
|
+
}
|
|
16
|
+
const unprefixed = machineName.startsWith('os_') ? machineName.slice('os_'.length) : machineName;
|
|
17
|
+
return unprefixed
|
|
18
|
+
.split('_')
|
|
19
|
+
.filter(word => word !== '')
|
|
20
|
+
.map(capitalize)
|
|
21
|
+
.join(' ');
|
|
22
|
+
}
|
|
1
23
|
/**
|
|
2
24
|
* Enum for sort order values.
|
|
3
25
|
* @beta
|
|
@@ -9,38 +31,35 @@ export var SortOrder;
|
|
|
9
31
|
SortOrder[SortOrder["HIDE"] = -1] = "HIDE";
|
|
10
32
|
})(SortOrder || (SortOrder = {}));
|
|
11
33
|
/**
|
|
12
|
-
*
|
|
34
|
+
* Type guard for {@link DeletedEntity}.
|
|
35
|
+
* @beta
|
|
36
|
+
*/
|
|
37
|
+
export function isDeletedEntity(value) {
|
|
38
|
+
return Boolean(value === null || value === void 0 ? void 0 : value['#deleted']);
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* True when `entity` is a workspace root.
|
|
42
|
+
* @beta
|
|
43
|
+
*/
|
|
44
|
+
export function isWorkspaceRoot(entity) {
|
|
45
|
+
if (!entity || !('os_item_type' in entity))
|
|
46
|
+
return false;
|
|
47
|
+
return entity.os_item_type === 'os_workspace';
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Processing status codes returned for indexed / pipeline processing state.
|
|
13
51
|
* @beta
|
|
14
52
|
*/
|
|
15
53
|
export var ProcessingStatusCode;
|
|
16
54
|
(function (ProcessingStatusCode) {
|
|
17
|
-
/** Queued and awaiting execution */
|
|
18
|
-
ProcessingStatusCode["QUEUED"] = "QUEUED";
|
|
19
|
-
/** Currently running */
|
|
20
55
|
ProcessingStatusCode["RUNNING"] = "RUNNING";
|
|
21
|
-
/** Stopped manually */
|
|
22
|
-
ProcessingStatusCode["STOPPED"] = "STOPPED";
|
|
23
|
-
/** Paused and can be resumed */
|
|
24
|
-
ProcessingStatusCode["PAUSED"] = "PAUSED";
|
|
25
|
-
/** Completed successfully */
|
|
26
56
|
ProcessingStatusCode["COMPLETED"] = "COMPLETED";
|
|
27
|
-
/** Encountered a failure */
|
|
28
57
|
ProcessingStatusCode["FAILED"] = "FAILED";
|
|
29
|
-
|
|
30
|
-
ProcessingStatusCode["SCHEDULED"] = "SCHEDULED";
|
|
31
|
-
/** Starting up */
|
|
32
|
-
ProcessingStatusCode["STARTING"] = "STARTING";
|
|
33
|
-
/** Shutting down */
|
|
34
|
-
ProcessingStatusCode["STOPPING"] = "STOPPING";
|
|
35
|
-
/** Disabled and cannot run */
|
|
36
|
-
ProcessingStatusCode["DISABLED"] = "DISABLED";
|
|
37
|
-
/** Invalid configuration */
|
|
38
|
-
ProcessingStatusCode["INVALID"] = "INVALID";
|
|
39
|
-
/** Waiting for an external event */
|
|
40
|
-
ProcessingStatusCode["WAITING"] = "WAITING";
|
|
41
|
-
/** Retrying after failure */
|
|
42
|
-
ProcessingStatusCode["RETRYING"] = "RETRYING";
|
|
43
|
-
/** Status is unknown */
|
|
58
|
+
// Default for a newly-indexed entity the pipeline hasn't picked up yet; in-flight, not terminal.
|
|
44
59
|
ProcessingStatusCode["UNKNOWN"] = "UNKNOWN";
|
|
60
|
+
// User-initiated stop (or reindex supersede) — terminal, deliberately distinct from FAILED so a
|
|
61
|
+
// user action is never rendered as an error.
|
|
62
|
+
ProcessingStatusCode["CANCELED"] = "CANCELED";
|
|
63
|
+
ProcessingStatusCode["PARTIALLY_COMPLETED"] = "PARTIALLY_COMPLETED";
|
|
45
64
|
})(ProcessingStatusCode || (ProcessingStatusCode = {}));
|
|
46
65
|
//# sourceMappingURL=model.js.map
|
package/dist/model.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.js","sourceRoot":"","sources":["../src/model.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"model.js","sourceRoot":"","sources":["../src/model.ts"],"names":[],"mappings":"AAuDA,MAAM,UAAU,GAAG,CAAC,IAAY,EAAU,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AAE1F;;;;;GAKG;AACH,MAAM,UAAU,aAAa,CAAC,KAAgC,EAAE,WAA+B;IAC7F,IAAI,KAAK,EAAE,CAAC;QACV,OAAO,KAAK,CAAC,IA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