mindoodb-app-sdk 0.0.71 → 0.0.73
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/README.md +99 -1
- package/dist/{chunk-GTNDGA7P.js → chunk-FKTNDDWB.js} +728 -40
- package/dist/index.d.ts +3 -55
- package/dist/index.js +57 -1
- package/dist/testing/index.d.ts +129 -2
- package/dist/testing/index.js +425 -17
- package/dist/{types-Dff-SyIx.d.ts → types-CbH_R16h.d.ts} +599 -5
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,62 +1,10 @@
|
|
|
1
|
-
import { M as MindooDBAppAttachmentPreviewMode, a as MindooDBAppDragBindSourceOptions, b as MindooDBAppDragStartInput, c as MindooDBAppDragStartResult, d as MindooDBAppDragPreview, e as MindooDBAppBridge, f as MindooDBAppAgentToolErrorCode, g as MindooDBAppAgentTool, h as MindooDBAppHostShortcutBinding, i as MindooDBAppHostShortcutAction, j as MindooDBAppHostingMode, k as MindooDBAppDefinition, l as MindooDBAppDatabase, m as MindooDBAppDocument, n as MindooDBAppRichTextSpan, o as MindooDBAppRichTextSnapshot, p as MindooDBAppCreateDocumentInput } from './types-
|
|
2
|
-
export { q as MINDOODB_APP_ACCEPTS_MAX, r as MINDOODB_APP_AGENT_CAPABILITIES_MAX, s as MINDOODB_APP_AGENT_CAPABILITY_TITLE_MAX, t as MINDOODB_APP_AGENT_CAPABILITY_TOOLS_MAX, u as MINDOODB_APP_AGENT_EXAMPLE_MAX, v as MINDOODB_APP_AGENT_GUIDE_MAX_BYTES, w as MINDOODB_APP_AGENT_LIMIT_MAX, x as MINDOODB_APP_AGENT_LIST_MAX, y as MINDOODB_APP_AGENT_SUMMARY_MAX, z as MINDOODB_APP_AGENT_TOOL_NAME_PATTERN, A as MINDOODB_APP_COMPONENTS_MAX, B as MINDOODB_APP_COMPONENT_CONTRACT_PATTERN, C as MINDOODB_APP_DEFINITION_FILE_NAME, D as MINDOODB_APP_DEFINITION_FORMAT, E as MINDOODB_APP_DEFINITION_PERMISSIONS, F as MINDOODB_APP_DEFINITION_REGISTRATION_PERMISSIONS, G as MINDOODB_APP_DEFINITION_VERSION, H as MINDOODB_APP_LISTING_DESCRIPTION_MAX, I as MINDOODB_APP_LISTING_MAX_SCREENSHOTS, J as MINDOODB_APP_LISTING_SUMMARY_MAX, K as MINDOODB_APP_SEAL_SIGNING_DOMAIN, L as MINDOODB_APP_WELL_KNOWN_DRAG_TYPES, N as MindooDBAppAcceptSpec, O as MindooDBAppAccessDecision, P as MindooDBAppAccessTier, Q as MindooDBAppAgentApi, R as MindooDBAppAgentCapability, S as MindooDBAppAgentProfile, T as MindooDBAppAgentRegistration, U as MindooDBAppAgentToolAnnotations, V as MindooDBAppAgentToolDescriptor, W as MindooDBAppAgentToolScope, X as MindooDBAppAttachmentApi, Y as MindooDBAppAttachmentChunk, Z as MindooDBAppAttachmentInfo, _ as MindooDBAppAttachmentPreviewOptions, $ as MindooDBAppAttachmentPreviewSession, a0 as MindooDBAppAutomergeChangesPatch, a1 as MindooDBAppAutomergeChangesSince, a2 as MindooDBAppAutomergeGetOptions, a3 as MindooDBAppAutomergePatchResult, a4 as MindooDBAppAutomergeSnapshot, a5 as MindooDBAppBridgeAgentInvokeMessage, a6 as MindooDBAppBridgeAgentResultMessage, a7 as MindooDBAppBridgeBeforeCloseAck, a8 as MindooDBAppBridgeBeforeCloseMessage, a9 as MindooDBAppBridgeConnectMessage, aa as MindooDBAppBridgeConnectOptions, ab as MindooDBAppBridgeConnectedMessage, ac as MindooDBAppBridgeDragDropMessage, ad as MindooDBAppBridgeDragLeaveMessage, ae as MindooDBAppBridgeDragOverMessage, af as MindooDBAppBridgeEmbedEventMessage, ag as MindooDBAppBridgeEmbeddingRequestMessage, ah as MindooDBAppBridgeErrorPayload, ai as MindooDBAppBridgeHandshakeErrorMessage, aj as MindooDBAppBridgeHostFocusChangedMessage, ak as MindooDBAppBridgeIncomingContentMessage, al as MindooDBAppBridgeLocaleChangedMessage, am as MindooDBAppBridgePortMessage, an as MindooDBAppBridgeQueryResultMessage, ao as MindooDBAppBridgeReminderOpenedMessage, ap as MindooDBAppBridgeRpcError, aq as MindooDBAppBridgeRpcMessage, ar as MindooDBAppBridgeRpcRequest, as as MindooDBAppBridgeRpcSuccess, at as MindooDBAppBridgeShortcutInvokedMessage, au as MindooDBAppBridgeShortcutsChangedMessage, av as MindooDBAppBridgeStreamAbortRequest, aw as MindooDBAppBridgeStreamAck, ax as MindooDBAppBridgeStreamCloseRequest, ay as MindooDBAppBridgeStreamError, az as MindooDBAppBridgeStreamMessage, aA as MindooDBAppBridgeStreamOpenResult, aB as MindooDBAppBridgeStreamReadRequest, aC as MindooDBAppBridgeStreamWriteRequest, aD as MindooDBAppBridgeThemeChangedMessage, aE as MindooDBAppBridgeUiPreferencesChangedMessage, aF as MindooDBAppBridgeViewChangedMessage, aG as MindooDBAppBridgeViewportChangedMessage, aH as MindooDBAppBridgeWorkspaceFocusRequestedMessage, aI as MindooDBAppBrowserFeatures, aJ as MindooDBAppCapability, aK as MindooDBAppComponentCategory, aL as MindooDBAppComponentChildren, aM as MindooDBAppComponentContract, aN as MindooDBAppComponentFieldValue, aO as MindooDBAppComponentInfo, aP as MindooDBAppComponentIntent, aQ as MindooDBAppComponentQuery, aR as MindooDBAppComponentReference, aS as MindooDBAppComponentSpec, aT as MindooDBAppComponentsApi, aU as MindooDBAppConfiguredViewCategorizationStyle, aV as MindooDBAppConfiguredViewColumn, aW as MindooDBAppConfiguredViewColumnRole, aX as MindooDBAppConfiguredViewExpressionMode, aY as MindooDBAppConfiguredViewFieldExpression, aZ as MindooDBAppConfiguredViewFilterDefinition, a_ as MindooDBAppConfiguredViewFilterMode, a$ as MindooDBAppConfiguredViewFilterRule, b0 as MindooDBAppConfiguredViewFormulaExpression, b1 as MindooDBAppConfiguredViewFormulaFilterDefinition, b2 as MindooDBAppConfiguredViewPreviewMode, b3 as MindooDBAppConfiguredViewRuleFilterDefinition, b4 as MindooDBAppConfiguredViewRuleMatchMode, b5 as MindooDBAppConfiguredViewRuleOperator, b6 as MindooDBAppConfiguredViewValueExpression, b7 as MindooDBAppCreateKeyInfo, b8 as MindooDBAppCreateViewInput, b9 as MindooDBAppCreateViewNavigatorInput, ba as MindooDBAppDatabaseInfo, bb as MindooDBAppDefinitionDatabase, bc as MindooDBAppDefinitionListing, bd as MindooDBAppDefinitionPermission, be as MindooDBAppDefinitionRegistrationPermission, bf as MindooDBAppDefinitionScreenshot, bg as MindooDBAppDefinitionValidation, bh as MindooDBAppDirectoryApi, bi as MindooDBAppDirectoryEntry, bj as MindooDBAppDocumentApi, bk as MindooDBAppDocumentHeadCursorResult, bl as MindooDBAppDocumentHistoryEntry, bm as MindooDBAppDocumentListQuery, bn as MindooDBAppDocumentListResult, bo as MindooDBAppDocumentQuery, bp as MindooDBAppDocumentRevisionId, bq as MindooDBAppDocumentScanPreset, br as MindooDBAppDocumentSummary, bs as MindooDBAppDragApi, bt as MindooDBAppDragCancelReason, bu as MindooDBAppDragDropEvent, bv as MindooDBAppDragEffect, bw as MindooDBAppDragHoverResult, bx as MindooDBAppDragOffer, by as MindooDBAppDragOverEvent, bz as MindooDBAppDragPointer, bA as MindooDBAppDragProfile, bB as MindooDBAppEmbed, bC as MindooDBAppEmbedAccessComponent, bD as MindooDBAppEmbedAccessInput, bE as MindooDBAppEmbedAccessPair, bF as MindooDBAppEmbedAccessResult, bG as MindooDBAppEmbedAgentTools, bH as MindooDBAppEmbedAgentToolsEvent, bI as MindooDBAppEmbedCloseReason, bJ as MindooDBAppEmbedClosedEvent, bK as MindooDBAppEmbedContext, bL as MindooDBAppEmbedDirtyEvent, bM as MindooDBAppEmbedOpenInput, bN as MindooDBAppEmbedRect, bO as MindooDBAppEmbeddingApi, bP as MindooDBAppEmbeddingLookupOptions, bQ as MindooDBAppEmbeddingLookupResult, bR as MindooDBAppEmbedsApi, bS as MindooDBAppEntryAttachmentRef, bT as MindooDBAppEntryProvenance, bU as MindooDBAppExtractDocumentTextInput, bV as MindooDBAppExtractDocumentTextResult, bW as MindooDBAppExtractTextFormat, bX as MindooDBAppExtractionSetup, bY as MindooDBAppFulltextSetup, bZ as MindooDBAppHistoricalDocument, b_ as MindooDBAppHistoryQuery, b$ as MindooDBAppHostTheme, c0 as MindooDBAppIdentityApi, c1 as MindooDBAppInaccessibleDocument, c2 as MindooDBAppInaccessibleDocumentListQuery, c3 as MindooDBAppInaccessibleDocumentListResult, c4 as MindooDBAppIncomingContent, c5 as MindooDBAppIncomingContentHandler, c6 as MindooDBAppIncomingContentInfo, c7 as MindooDBAppIncomingItem, c8 as MindooDBAppIncomingItemInfo, c9 as MindooDBAppIncomingResult, ca as MindooDBAppIncomingSource, cb as MindooDBAppJsonCounterIncrementPatch, cc as MindooDBAppJsonListDeletePatch, cd as MindooDBAppJsonListInsertPatch, ce as MindooDBAppJsonPatch, cf as MindooDBAppJsonSetPatch, cg as MindooDBAppJsonTextMarkPatch, ch as MindooDBAppJsonTextSplicePatch, ci as MindooDBAppJsonTextUnmarkPatch, cj as MindooDBAppJsonUnsetPatch, ck as MindooDBAppLaunchContext, cl as MindooDBAppListUsersOptions, cm as MindooDBAppListUsersPage, cn as MindooDBAppLiveQuerySubscription, co as MindooDBAppLocaleMap, cp as MindooDBAppLocalizedText, cq as MindooDBAppMenuAnchor, cr as MindooDBAppMenuApi, cs as MindooDBAppMenuCommandItem, ct as MindooDBAppMenuDismissReason, cu as MindooDBAppMenuDismissedResult, cv as MindooDBAppMenuItem, cw as MindooDBAppMenuKind, cx as MindooDBAppMenuPlacement, cy as MindooDBAppMenuPointAnchor, cz as MindooDBAppMenuRect, cA as MindooDBAppMenuRectAnchor, cB as MindooDBAppMenuSelectionResult, cC as MindooDBAppMenuSeparatorItem, cD as MindooDBAppNotificationSeverity, cE as MindooDBAppNotifyInput, cF as MindooDBAppNotifyResult, cG as MindooDBAppPdfApi, cH as MindooDBAppPdfSignInput, cI as MindooDBAppPdfSignResult, cJ as MindooDBAppPdfSignaturePosition, cK as MindooDBAppPdfSigner, cL as MindooDBAppProposeAppInput, cM as MindooDBAppProposeAppResult, cN as MindooDBAppQueryCoverage, cO as MindooDBAppQueryInclude, cP as MindooDBAppQueryIncludeCardinality, cQ as MindooDBAppQueryIncludeSlots, cR as MindooDBAppQueryResult, cS as MindooDBAppQueryRow, cT as MindooDBAppQuerySortKey, cU as MindooDBAppQueryTextClause, cV as MindooDBAppReadableAttachmentStream, cW as MindooDBAppRecipientOptions, cX as MindooDBAppReminder, cY as MindooDBAppReminderOpened, cZ as MindooDBAppReminderOpenedHandler, c_ as MindooDBAppReminderRequest, c$ as MindooDBAppReminderScheduleResult, d0 as MindooDBAppRemindersApi, d1 as MindooDBAppResolvedViewDefinition, d2 as MindooDBAppResolvedViewSource, d3 as MindooDBAppRevisionPhase, d4 as MindooDBAppRevisionVerification, d5 as MindooDBAppRichTextBlockSpan, d6 as MindooDBAppRichTextGetOptions, d7 as MindooDBAppRichTextImmutableString, d8 as MindooDBAppRichTextMarkRange, d9 as MindooDBAppRichTextMaterializeValue, da as MindooDBAppRichTextPatch, db as MindooDBAppRichTextScalar, dc as MindooDBAppRichTextSpliceStep, dd as MindooDBAppRichTextStep, de as MindooDBAppRichTextStepPatch, df as MindooDBAppRichTextTextSpan, dg as MindooDBAppRuntime, dh as MindooDBAppScanAttachmentOptions, di as MindooDBAppScanAttachmentResult, dj as MindooDBAppScopedDocId, dk as MindooDBAppScopedDocumentSummary, dl as MindooDBAppSealIntent, dm as MindooDBAppSealedChannelOpenInput, dn as MindooDBAppSealedChannelOpenResult, dp as MindooDBAppSealedChannelRequestInput, dq as MindooDBAppSession, dr as MindooDBAppShowMenuInput, ds as MindooDBAppShowMenuResult, dt as MindooDBAppSignPreview, du as MindooDBAppSignPreviewScope, dv as MindooDBAppSignStatementInput, dw as MindooDBAppSignStatementResult, dx as MindooDBAppStorageApi, dy as MindooDBAppSummarySetup, dz as MindooDBAppTextCursorOptions, dA as MindooDBAppTextCursorPosition, dB as MindooDBAppTextCursorPositionsResult, dC as MindooDBAppTextCursorsResult, dD as MindooDBAppTextEdit, dE as MindooDBAppTextPatch, dF as MindooDBAppThemeMode, dG as MindooDBAppTimestampApi, dH as MindooDBAppTimestampInput, dI as MindooDBAppTimestampProvider, dJ as MindooDBAppTimestampResult, dK as MindooDBAppUiPreferences, dL as MindooDBAppUpdateDocumentInput, dM as MindooDBAppViewCursorDocumentListResult, dN as MindooDBAppViewCursorResult, dO as MindooDBAppViewEntry, dP as MindooDBAppViewEntryKind, dQ as MindooDBAppViewNavigator, dR as MindooDBAppViewNavigatorExpansionState, dS as MindooDBAppViewNavigatorOpenOptions, dT as MindooDBAppViewNavigatorPageOptions, dU as MindooDBAppViewNavigatorPageResult, dV as MindooDBAppViewNavigatorRangeQuery, dW as MindooDBAppViewNavigatorSelectionState, dX as MindooDBAppViewUpdateStats, dY as MindooDBAppViewport, dZ as MindooDBAppWellKnownDragType, d_ as MindooDBAppWritableAttachmentStream, d$ as mindooDBAppAcceptMatchesType, e0 as mindooDBAppComponentFieldsMatch, e1 as resolveMindooDBAppDefinitionUrl, e2 as resolveMindooDBAppListingAssetUrl, e3 as resolveMindooDBAppLocalizedText, e4 as validateMindooDBAppAccepts, e5 as validateMindooDBAppAgentProfile, e6 as validateMindooDBAppComponents, e7 as validateMindooDBAppDefinition } from './types-Dff-SyIx.js';
|
|
1
|
+
import { M as MindooDBAppAttachmentPreviewMode, a as MindooDBAppDragBindSourceOptions, b as MindooDBAppDragStartInput, c as MindooDBAppDragStartResult, d as MindooDBAppDragPreview, e as MindooDBAppBridge, f as MindooDBAppAgentToolErrorCode, g as MindooDBAppAgentTool, h as MindooDBAppHostShortcutBinding, i as MindooDBAppHostShortcutAction, j as MindooDBAppHostingMode, k as MindooDBAppDefinition, l as MindooDBAppDatabase, m as MindooDBAppDocument, n as MindooDBAppRichTextSpan, o as MindooDBAppRichTextSnapshot, p as MindooDBAppCreateDocumentInput } from './types-CbH_R16h.js';
|
|
2
|
+
export { q as MINDOODB_APP_ACCEPTS_MAX, r as MINDOODB_APP_AGENT_CAPABILITIES_MAX, s as MINDOODB_APP_AGENT_CAPABILITY_TITLE_MAX, t as MINDOODB_APP_AGENT_CAPABILITY_TOOLS_MAX, u as MINDOODB_APP_AGENT_EXAMPLE_MAX, v as MINDOODB_APP_AGENT_GUIDE_MAX_BYTES, w as MINDOODB_APP_AGENT_LIMIT_MAX, x as MINDOODB_APP_AGENT_LIST_MAX, y as MINDOODB_APP_AGENT_SUMMARY_MAX, z as MINDOODB_APP_AGENT_TOOL_NAME_PATTERN, A as MINDOODB_APP_COMPONENTS_MAX, B as MINDOODB_APP_COMPONENT_CONTRACT_PATTERN, C as MINDOODB_APP_DEFINITION_FILE_NAME, D as MINDOODB_APP_DEFINITION_FORMAT, E as MINDOODB_APP_DEFINITION_PERMISSIONS, F as MINDOODB_APP_DEFINITION_REGISTRATION_PERMISSIONS, G as MINDOODB_APP_DEFINITION_VERSION, H as MINDOODB_APP_EMBED_EXPORT_MAX_BYTES, I as MINDOODB_APP_EMBED_VARIABLES_MAX, J as MINDOODB_APP_INSPECTION_FIELD, K as MINDOODB_APP_INSPECTION_MAX_BYTES, L as MINDOODB_APP_INSPECTION_SUMMARY_MAX_BYTES, N as MINDOODB_APP_ISSUES_MAX, O as MINDOODB_APP_LISTING_DESCRIPTION_MAX, P as MINDOODB_APP_LISTING_MAX_SCREENSHOTS, Q as MINDOODB_APP_LISTING_SUMMARY_MAX, R as MINDOODB_APP_SEAL_SIGNING_DOMAIN, S as MINDOODB_APP_VALUE_TAG, T as MINDOODB_APP_WELL_KNOWN_DRAG_TYPES, U as MINDOODB_INSPECT_DOCUMENT, V as MINDOODB_INSPECT_SLIDES, W as MINDOODB_INSPECT_SPREADSHEET, X as MindooDBAppAcceptSpec, Y as MindooDBAppAccessDecision, Z as MindooDBAppAccessTier, _ as MindooDBAppAgentApi, $ as MindooDBAppAgentCapability, a0 as MindooDBAppAgentProfile, a1 as MindooDBAppAgentRegistration, a2 as MindooDBAppAgentToolAnnotations, a3 as MindooDBAppAgentToolDescriptor, a4 as MindooDBAppAgentToolScope, a5 as MindooDBAppAtomicValue, a6 as MindooDBAppAttachmentApi, a7 as MindooDBAppAttachmentChunk, a8 as MindooDBAppAttachmentInfo, a9 as MindooDBAppAttachmentPreviewOptions, aa as MindooDBAppAttachmentPreviewSession, ab as MindooDBAppAutomergeChangesPatch, ac as MindooDBAppAutomergeChangesSince, ad as MindooDBAppAutomergeGetOptions, ae as MindooDBAppAutomergePatchResult, af as MindooDBAppAutomergeSnapshot, ag as MindooDBAppBridgeAgentInvokeMessage, ah as MindooDBAppBridgeAgentResultMessage, ai as MindooDBAppBridgeBeforeCloseAck, aj as MindooDBAppBridgeBeforeCloseMessage, ak as MindooDBAppBridgeConnectMessage, al as MindooDBAppBridgeConnectOptions, am as MindooDBAppBridgeConnectedMessage, an as MindooDBAppBridgeDragDropMessage, ao as MindooDBAppBridgeDragLeaveMessage, ap as MindooDBAppBridgeDragOverMessage, aq as MindooDBAppBridgeEmbedEventMessage, ar as MindooDBAppBridgeEmbedRequestMessage, as as MindooDBAppBridgeEmbeddingRequestMessage, at as MindooDBAppBridgeErrorPayload, au as MindooDBAppBridgeHandshakeErrorMessage, av as MindooDBAppBridgeHostFocusChangedMessage, aw as MindooDBAppBridgeIncomingContentMessage, ax as MindooDBAppBridgeLocaleChangedMessage, ay as MindooDBAppBridgePortMessage, az as MindooDBAppBridgeQueryResultMessage, aA as MindooDBAppBridgeReminderOpenedMessage, aB as MindooDBAppBridgeRpcError, aC as MindooDBAppBridgeRpcMessage, aD as MindooDBAppBridgeRpcRequest, aE as MindooDBAppBridgeRpcSuccess, aF as MindooDBAppBridgeShortcutInvokedMessage, aG as MindooDBAppBridgeShortcutsChangedMessage, aH as MindooDBAppBridgeStreamAbortRequest, aI as MindooDBAppBridgeStreamAck, aJ as MindooDBAppBridgeStreamCloseRequest, aK as MindooDBAppBridgeStreamError, aL as MindooDBAppBridgeStreamMessage, aM as MindooDBAppBridgeStreamOpenResult, aN as MindooDBAppBridgeStreamReadRequest, aO as MindooDBAppBridgeStreamWriteRequest, aP as MindooDBAppBridgeThemeChangedMessage, aQ as MindooDBAppBridgeUiPreferencesChangedMessage, aR as MindooDBAppBridgeViewChangedMessage, aS as MindooDBAppBridgeViewportChangedMessage, aT as MindooDBAppBridgeWorkspaceFocusRequestedMessage, aU as MindooDBAppBrowserFeatures, aV as MindooDBAppCapability, aW as MindooDBAppComponentCategory, aX as MindooDBAppComponentChildren, aY as MindooDBAppComponentContract, aZ as MindooDBAppComponentFieldValue, a_ as MindooDBAppComponentInfo, a$ as MindooDBAppComponentIntent, b0 as MindooDBAppComponentQuery, b1 as MindooDBAppComponentReference, b2 as MindooDBAppComponentSpec, b3 as MindooDBAppComponentsApi, b4 as MindooDBAppConfiguredViewCategorizationStyle, b5 as MindooDBAppConfiguredViewColumn, b6 as MindooDBAppConfiguredViewColumnRole, b7 as MindooDBAppConfiguredViewExpressionMode, b8 as MindooDBAppConfiguredViewFieldExpression, b9 as MindooDBAppConfiguredViewFilterDefinition, ba as MindooDBAppConfiguredViewFilterMode, bb as MindooDBAppConfiguredViewFilterRule, bc as MindooDBAppConfiguredViewFormulaExpression, bd as MindooDBAppConfiguredViewFormulaFilterDefinition, be as MindooDBAppConfiguredViewPreviewMode, bf as MindooDBAppConfiguredViewRuleFilterDefinition, bg as MindooDBAppConfiguredViewRuleMatchMode, bh as MindooDBAppConfiguredViewRuleOperator, bi as MindooDBAppConfiguredViewValueExpression, bj as MindooDBAppCounterValue, bk as MindooDBAppCreateKeyInfo, bl as MindooDBAppCreateViewInput, bm as MindooDBAppCreateViewNavigatorInput, bn as MindooDBAppDatabaseInfo, bo as MindooDBAppDefinitionDatabase, bp as MindooDBAppDefinitionListing, bq as MindooDBAppDefinitionPermission, br as MindooDBAppDefinitionRegistrationPermission, bs as MindooDBAppDefinitionScreenshot, bt as MindooDBAppDefinitionValidation, bu as MindooDBAppDirectoryApi, bv as MindooDBAppDirectoryEntry, bw as MindooDBAppDocumentApi, bx as MindooDBAppDocumentHeadCursorResult, by as MindooDBAppDocumentHistoryEntry, bz as MindooDBAppDocumentInspection, bA as MindooDBAppDocumentListQuery, bB as MindooDBAppDocumentListResult, bC as MindooDBAppDocumentQuery, bD as MindooDBAppDocumentRevisionId, bE as MindooDBAppDocumentRule, bF as MindooDBAppDocumentRuleOutcome, bG as MindooDBAppDocumentRules, bH as MindooDBAppDocumentScanPreset, bI as MindooDBAppDocumentSummary, bJ as MindooDBAppDragApi, bK as MindooDBAppDragCancelReason, bL as MindooDBAppDragDropEvent, bM as MindooDBAppDragEffect, bN as MindooDBAppDragHoverResult, bO as MindooDBAppDragOffer, bP as MindooDBAppDragOverEvent, bQ as MindooDBAppDragPointer, bR as MindooDBAppDragProfile, bS as MindooDBAppEmbed, bT as MindooDBAppEmbedAccessComponent, bU as MindooDBAppEmbedAccessInput, bV as MindooDBAppEmbedAccessPair, bW as MindooDBAppEmbedAccessResult, bX as MindooDBAppEmbedAgentTools, bY as MindooDBAppEmbedAgentToolsEvent, bZ as MindooDBAppEmbedBeforeSaveInput, b_ as MindooDBAppEmbedBeforeSaveResult, b$ as MindooDBAppEmbedCloseReason, c0 as MindooDBAppEmbedClosedEvent, c1 as MindooDBAppEmbedContext, c2 as MindooDBAppEmbedDirtyEvent, c3 as MindooDBAppEmbedExportFormat, c4 as MindooDBAppEmbedExportPayload, c5 as MindooDBAppEmbedExportRequest, c6 as MindooDBAppEmbedOpenInput, c7 as MindooDBAppEmbedRect, c8 as MindooDBAppEmbedSavedEvent, c9 as MindooDBAppEmbedTemplate, ca as MindooDBAppEmbedValidation, cb as MindooDBAppEmbedValidationError, cc as MindooDBAppEmbedVariable, cd as MindooDBAppEmbeddingApi, ce as MindooDBAppEmbeddingExport, cf as MindooDBAppEmbeddingLookupOptions, cg as MindooDBAppEmbeddingLookupResult, ch as MindooDBAppEmbeddingResult, ci as MindooDBAppEmbeddingSaveContext, cj as MindooDBAppEmbedsApi, ck as MindooDBAppEntryAttachmentRef, cl as MindooDBAppEntryProvenance, cm as MindooDBAppExtractDocumentTextInput, cn as MindooDBAppExtractDocumentTextResult, co as MindooDBAppExtractTextFormat, cp as MindooDBAppExtractionSetup, cq as MindooDBAppFulltextSetup, cr as MindooDBAppHistoricalDocument, cs as MindooDBAppHistoryQuery, ct as MindooDBAppHostTheme, cu as MindooDBAppIdentityApi, cv as MindooDBAppInaccessibleDocument, cw as MindooDBAppInaccessibleDocumentListQuery, cx as MindooDBAppInaccessibleDocumentListResult, cy as MindooDBAppIncomingContent, cz as MindooDBAppIncomingContentHandler, cA as MindooDBAppIncomingContentInfo, cB as MindooDBAppIncomingItem, cC as MindooDBAppIncomingItemInfo, cD as MindooDBAppIncomingResult, cE as MindooDBAppIncomingSource, cF as MindooDBAppInspectAnchor, cG as MindooDBAppInspectRequest, cH as MindooDBAppInspectedCell, cI as MindooDBAppInspection, cJ as MindooDBAppInspectionBase, cK as MindooDBAppIssue, cL as MindooDBAppIssueSeverity, cM as MindooDBAppJsonCounterIncrementPatch, cN as MindooDBAppJsonListDeletePatch, cO as MindooDBAppJsonListInsertPatch, cP as MindooDBAppJsonPatch, cQ as MindooDBAppJsonSetPatch, cR as MindooDBAppJsonTextMarkPatch, cS as MindooDBAppJsonTextSplicePatch, cT as MindooDBAppJsonTextUnmarkPatch, cU as MindooDBAppJsonUnsetPatch, cV as MindooDBAppLaunchContext, cW as MindooDBAppListUsersOptions, cX as MindooDBAppListUsersPage, cY as MindooDBAppLiveQuerySubscription, cZ as MindooDBAppLocaleMap, c_ as MindooDBAppLocalizedText, c$ as MindooDBAppMenuAnchor, d0 as MindooDBAppMenuApi, d1 as MindooDBAppMenuCommandItem, d2 as MindooDBAppMenuDismissReason, d3 as MindooDBAppMenuDismissedResult, d4 as MindooDBAppMenuItem, d5 as MindooDBAppMenuKind, d6 as MindooDBAppMenuPlacement, d7 as MindooDBAppMenuPointAnchor, d8 as MindooDBAppMenuRect, d9 as MindooDBAppMenuRectAnchor, da as MindooDBAppMenuSelectionResult, db as MindooDBAppMenuSeparatorItem, dc as MindooDBAppNotificationSeverity, dd as MindooDBAppNotifyInput, de as MindooDBAppNotifyResult, df as MindooDBAppPdfApi, dg as MindooDBAppPdfSignInput, dh as MindooDBAppPdfSignResult, di as MindooDBAppPdfSignaturePosition, dj as MindooDBAppPdfSigner, dk as MindooDBAppProposeAppInput, dl as MindooDBAppProposeAppResult, dm as MindooDBAppQueryCoverage, dn as MindooDBAppQueryInclude, dp as MindooDBAppQueryIncludeCardinality, dq as MindooDBAppQueryIncludeSlots, dr as MindooDBAppQueryResult, ds as MindooDBAppQueryRow, dt as MindooDBAppQuerySortKey, du as MindooDBAppQueryTextClause, dv as MindooDBAppReadableAttachmentStream, dw as MindooDBAppRecipientOptions, dx as MindooDBAppReminder, dy as MindooDBAppReminderOpened, dz as MindooDBAppReminderOpenedHandler, dA as MindooDBAppReminderRequest, dB as MindooDBAppReminderScheduleResult, dC as MindooDBAppRemindersApi, dD as MindooDBAppResolvedViewDefinition, dE as MindooDBAppResolvedViewSource, dF as MindooDBAppRevisionPhase, dG as MindooDBAppRevisionVerification, dH as MindooDBAppRichTextBlockSpan, dI as MindooDBAppRichTextGetOptions, dJ as MindooDBAppRichTextImmutableString, dK as MindooDBAppRichTextMarkRange, dL as MindooDBAppRichTextMaterializeValue, dM as MindooDBAppRichTextPatch, dN as MindooDBAppRichTextScalar, dO as MindooDBAppRichTextSpliceStep, dP as MindooDBAppRichTextStep, dQ as MindooDBAppRichTextStepPatch, dR as MindooDBAppRichTextTextSpan, dS as MindooDBAppRuntime, dT as MindooDBAppScanAttachmentOptions, dU as MindooDBAppScanAttachmentResult, dV as MindooDBAppScopedDocId, dW as MindooDBAppScopedDocumentSummary, dX as MindooDBAppSealIntent, dY as MindooDBAppSealedChannelOpenInput, dZ as MindooDBAppSealedChannelOpenResult, d_ as MindooDBAppSealedChannelRequestInput, d$ as MindooDBAppSession, e0 as MindooDBAppShowMenuInput, e1 as MindooDBAppShowMenuResult, e2 as MindooDBAppSignPreview, e3 as MindooDBAppSignPreviewScope, e4 as MindooDBAppSignStatementInput, e5 as MindooDBAppSignStatementResult, e6 as MindooDBAppSlidesInspection, e7 as MindooDBAppSpreadsheetInspection, e8 as MindooDBAppStorageApi, e9 as MindooDBAppSummarySetup, ea as MindooDBAppTextCursorOptions, eb as MindooDBAppTextCursorPosition, ec as MindooDBAppTextCursorPositionsResult, ed as MindooDBAppTextCursorsResult, ee as MindooDBAppTextEdit, ef as MindooDBAppTextPatch, eg as MindooDBAppThemeMode, eh as MindooDBAppTimestampApi, ei as MindooDBAppTimestampInput, ej as MindooDBAppTimestampProvider, ek as MindooDBAppTimestampResult, el as MindooDBAppTimestampValue, em as MindooDBAppTypedValue, en as MindooDBAppUiPreferences, eo as MindooDBAppUpdateDocumentInput, ep as MindooDBAppValue, eq as MindooDBAppViewCursorDocumentListResult, er as MindooDBAppViewCursorResult, es as MindooDBAppViewEntry, et as MindooDBAppViewEntryKind, eu as MindooDBAppViewNavigator, ev as MindooDBAppViewNavigatorExpansionState, ew as MindooDBAppViewNavigatorOpenOptions, ex as MindooDBAppViewNavigatorPageOptions, ey as MindooDBAppViewNavigatorPageResult, ez as MindooDBAppViewNavigatorRangeQuery, eA as MindooDBAppViewNavigatorSelectionState, eB as MindooDBAppViewUpdateStats, eC as MindooDBAppViewport, eD as MindooDBAppWellKnownDragType, eE as MindooDBAppWritableAttachmentStream, eF as defineDocumentRules, eG as mindooDBAppAcceptMatchesType, eH as mindooDBAppComponentFieldsMatch, eI as mindooDBAppComponentSupports, eJ as mindooDBAppExportFile, eK as mindooDBAppExportMimeType, eL as mindooDBAppExportPayload, eM as mindooDBAppInspectContracts, eN as mindooDBAppInspectRules, eO as mindooDBAppInspectionSummaryValue, eP as normalizeMindooDBAppEmbedExportRequest, eQ as normalizeMindooDBAppEmbedVariables, eR as normalizeMindooDBAppInspectAnchor, eS as normalizeMindooDBAppInspectRequest, eT as normalizeMindooDBAppInspection, eU as normalizeMindooDBAppIssues, eV as readMindooDBAppInspectionSummary, eW as resolveMindooDBAppDefinitionUrl, eX as resolveMindooDBAppEmbedValidation, eY as resolveMindooDBAppListingAssetUrl, eZ as resolveMindooDBAppLocalizedText, e_ as resolveMindooDBAppVariables, e$ as summarizeMindooDBAppInspection, f0 as validateMindooDBAppAccepts, f1 as validateMindooDBAppAgentProfile, f2 as validateMindooDBAppComponents, f3 as validateMindooDBAppDefinition } from './types-CbH_R16h.js';
|
|
3
3
|
export { M as MINDOODB_APP_BUNDLE_ARCHIVE_FILE_NAME, a as MINDOODB_APP_BUNDLE_MANIFEST_FILE_NAME, b as MINDOODB_APP_BUNDLE_MANIFEST_FORMAT, c as MINDOODB_APP_BUNDLE_MANIFEST_VERSION, d as MindooDBAppBundleArchive, e as MindooDBAppBundleFileEntry, f as MindooDBAppBundleHash, g as MindooDBAppBundleManifest, h as MindooDBAppBundleManifestValidation, i as buildMindooDBAppBundleContentHashInput, j as isMindooDBAppBundleHash, n as normalizeMindooDBAppBundlePath, v as validateMindooDBAppBundleManifest } from './appBundleManifest-B0xfpaXG.js';
|
|
4
4
|
import { MindooDBAppBooleanExpression } from 'mindoodb-view-language';
|
|
5
5
|
export { MindooDBAppBooleanExpression, MindooDBAppExpression, MindooDBAppFilterDefinition, MindooDBAppViewCategoryChildrenPageRequest, MindooDBAppViewColumn, MindooDBAppViewColumnRole, MindooDBAppViewDefinition, MindooDBAppViewExpansionState, MindooDBAppViewExpressionBase, MindooDBAppViewExpressionDatePart, MindooDBAppViewExpressionOperation, MindooDBAppViewFieldExpression, MindooDBAppViewIfExpression, MindooDBAppViewLetExpression, MindooDBAppViewLiteralExpression, MindooDBAppViewLookupByPath, MindooDBAppViewOperationExpression, MindooDBAppViewOriginExpression, MindooDBAppViewPageRequest, MindooDBAppViewPageResult, MindooDBAppViewRow, MindooDBAppViewSortDirection, MindooDBAppViewTotalMode, MindooDBAppViewValueExpressionRef, MindooDBAppViewVariableExpression, createViewLanguage } from 'mindoodb-view-language';
|
|
6
6
|
import { MindooDB, MindooQuerySortKey, MindooQueryOptions, MindooQueryResult } from 'mindoodb';
|
|
7
7
|
|
|
8
|
-
/**
|
|
9
|
-
* Typed document values that plain JSON cannot express.
|
|
10
|
-
*
|
|
11
|
-
* Each helper returns a tagged plain object such as
|
|
12
|
-
* `{ $mindoo: "counter", value: 0 }`. Use it anywhere a value is written:
|
|
13
|
-
* `documents.create({ set })`, `documents.update({ set })`, JSON patch `set`
|
|
14
|
-
* and `listInsert` values, also nested inside objects and arrays. Haven turns
|
|
15
|
-
* the tags into the matching collaborative type. Reads return plain JSON:
|
|
16
|
-
* atomic strings as strings, counters as numbers, timestamps as ISO 8601
|
|
17
|
-
* strings.
|
|
18
|
-
*
|
|
19
|
-
* The object key `$mindoo` is reserved; an object carrying it must be one of
|
|
20
|
-
* these values, otherwise the write is rejected.
|
|
21
|
-
*/
|
|
22
|
-
/** Reserved object key that marks a typed value. */
|
|
23
|
-
declare const MINDOODB_APP_VALUE_TAG = "$mindoo";
|
|
24
|
-
/** A string that is replaced as a whole on concurrent writes. */
|
|
25
|
-
interface MindooDBAppAtomicValue {
|
|
26
|
-
$mindoo: "atomic";
|
|
27
|
-
value: string;
|
|
28
|
-
}
|
|
29
|
-
/** A number whose concurrent increments are summed on merge. */
|
|
30
|
-
interface MindooDBAppCounterValue {
|
|
31
|
-
$mindoo: "counter";
|
|
32
|
-
value: number;
|
|
33
|
-
}
|
|
34
|
-
/** A point in time: epoch milliseconds or an ISO 8601 date-time string. */
|
|
35
|
-
interface MindooDBAppTimestampValue {
|
|
36
|
-
$mindoo: "timestamp";
|
|
37
|
-
value: number | string;
|
|
38
|
-
}
|
|
39
|
-
type MindooDBAppTypedValue = MindooDBAppAtomicValue | MindooDBAppCounterValue | MindooDBAppTimestampValue;
|
|
40
|
-
declare const MindooDBAppValue: {
|
|
41
|
-
/**
|
|
42
|
-
* An atomic string for identifiers, status and enum values, URLs, hashes
|
|
43
|
-
* and stored text cursors. Plain strings are collaborative text, where two
|
|
44
|
-
* concurrent changes of `"open"` to `"closed"` and `"blocked"` can
|
|
45
|
-
* interleave into a mix of both words.
|
|
46
|
-
*/
|
|
47
|
-
readonly atomic: (value: string) => MindooDBAppAtomicValue;
|
|
48
|
-
/**
|
|
49
|
-
* A collaborative counter with an initial value (a safe integer). Create it
|
|
50
|
-
* once, then change it only with `json.counterIncrement`: writing a new
|
|
51
|
-
* counter is an assignment that does not merge with concurrent increments.
|
|
52
|
-
*/
|
|
53
|
-
readonly counter: (value?: number) => MindooDBAppCounterValue;
|
|
54
|
-
/** A timestamp from a `Date`, epoch milliseconds or an ISO 8601 string. */
|
|
55
|
-
readonly timestamp: (value: Date | number | string) => MindooDBAppTimestampValue;
|
|
56
|
-
/** Whether `value` is a tagged typed value (any kind). */
|
|
57
|
-
readonly isTyped: (value: unknown) => value is MindooDBAppTypedValue;
|
|
58
|
-
};
|
|
59
|
-
|
|
60
8
|
/**
|
|
61
9
|
* Rules for document ids an app chooses itself, as MindooDB enforces them
|
|
62
10
|
* (`CUSTOM_DOC_ID_REGEX` / `DOC_ID_PREFIX_REGEX` in mindoodb's core types).
|
|
@@ -723,4 +671,4 @@ declare function inheritDocumentEncryption(parent: Pick<MindooDBAppDocument, "de
|
|
|
723
671
|
*/
|
|
724
672
|
declare function watchWordChunks(database: MindooDBAppDatabase, parentId: string, listener: (docIds: string[]) => void): Promise<() => Promise<void>>;
|
|
725
673
|
|
|
726
|
-
export { type CreateMindooDBRichTextHandleOptions, type CreateMindooDBTextBufferOptions, DEFAULT_DRAG_LONG_PRESS_MS, DEFAULT_DRAG_POINTER_THRESHOLD_PX, DEFAULT_HAVEN_HOST_SHORTCUTS, DEFAULT_HAVEN_URL, type HavenAppLandingPage, type HavenStorageShimHandle, type InstallHavenStorageShimOptions, type ListingBlock, type ListingInline, MINDOODB_APP_HOSTING_QUERY_PARAM, MINDOODB_APP_LAUNCH_ID_QUERY_PARAM, MINDOODB_APP_MAX_DRAG_PAYLOAD_BYTES, MINDOODB_APP_MAX_DRAG_PREVIEW_BYTES, MINDOODB_APP_MAX_DRAG_PREVIEW_EDGE, MINDOODB_APP_MAX_DRAG_TYPES,
|
|
674
|
+
export { type CreateMindooDBRichTextHandleOptions, type CreateMindooDBTextBufferOptions, DEFAULT_DRAG_LONG_PRESS_MS, DEFAULT_DRAG_POINTER_THRESHOLD_PX, DEFAULT_HAVEN_HOST_SHORTCUTS, DEFAULT_HAVEN_URL, type HavenAppLandingPage, type HavenStorageShimHandle, type InstallHavenStorageShimOptions, type ListingBlock, type ListingInline, MINDOODB_APP_HOSTING_QUERY_PARAM, MINDOODB_APP_LAUNCH_ID_QUERY_PARAM, MINDOODB_APP_MAX_DRAG_PAYLOAD_BYTES, MINDOODB_APP_MAX_DRAG_PREVIEW_BYTES, MINDOODB_APP_MAX_DRAG_PREVIEW_EDGE, MINDOODB_APP_MAX_DRAG_TYPES, MINDOODB_CUSTOM_DOCUMENT_ID_PATTERN, MINDOODB_DOCUMENT_ID_PREFIX_PATTERN, MINIMAL_DRAG_PREVIEW_PNG, type MindooDBAppAgentGuideField, type MindooDBAppAgentGuideGroup, type MindooDBAppAgentGuideOp, type MindooDBAppAgentGuideOptions, MindooDBAppAgentTool, MindooDBAppAgentToolError, MindooDBAppAgentToolErrorCode, MindooDBAppAttachmentPreviewMode, MindooDBAppBridge, MindooDBAppCreateDocumentInput, MindooDBAppDatabase, MindooDBAppDefinition, MindooDBAppDocument, MindooDBAppDragBindSourceOptions, MindooDBAppDragInputError, MindooDBAppDragPreview, MindooDBAppDragStartInput, MindooDBAppDragStartResult, MindooDBAppHostShortcutAction, MindooDBAppHostShortcutBinding, MindooDBAppHostingMode, MindooDBAppRichTextSnapshot, MindooDBAppRichTextSpan, MindooDBRichTextHandle, type MindooDBRichTextHandleChangeListener, type MindooDBRichTextHandleFlushResult, MindooDBTextBuffer, type MindooDBTextBufferFlushResult, type RenderHavenAppLandingPageOptions, abbreviateCanonicalName, agentGuideExamples, agentGuideSignatureIndex, applyHostedDocumentOverscrollContain, assertValidMindooDBCreateIds, bindDragSource, buildHavenAppInstallUrl, canPreviewAttachment, createAgentGuideTool, createMindooDBAppBridge, createMindooDBRichTextHandle, createMindooDBTextBuffer, expandAbbreviatedName, inheritDocumentEncryption, installHavenStorageShim, installHostShortcutCapture, isHostShortcutAction, isHostedBundleRuntime, isLaunchedByHaven, isMindooDBAppDragType, isValidMindooDBDocumentId, listingMarkdownToPlainText, matchHostShortcut, mindooDBDocumentId, normalizeAgentToolInput, normalizeDragAccepts, normalizeDragPointerInput, normalizeDragStartInput, parseListingMarkdown, queryDocuments, readMindooDBAppHostingMode, readMindooDBAppLaunchId, releaseMindooDBAppBridgeSessions, renderAgentGuideGroup, renderHavenAppLandingPage, resolveCurrentHavenAppUrl, sanitizeHostShortcutBindings, sanitizeListingHref, snapshotElementToPng, watchWordChunks };
|
package/dist/index.js
CHANGED
|
@@ -19,6 +19,12 @@ import {
|
|
|
19
19
|
MINDOODB_APP_DEFINITION_PERMISSIONS,
|
|
20
20
|
MINDOODB_APP_DEFINITION_REGISTRATION_PERMISSIONS,
|
|
21
21
|
MINDOODB_APP_DEFINITION_VERSION,
|
|
22
|
+
MINDOODB_APP_EMBED_EXPORT_MAX_BYTES,
|
|
23
|
+
MINDOODB_APP_EMBED_VARIABLES_MAX,
|
|
24
|
+
MINDOODB_APP_INSPECTION_FIELD,
|
|
25
|
+
MINDOODB_APP_INSPECTION_MAX_BYTES,
|
|
26
|
+
MINDOODB_APP_INSPECTION_SUMMARY_MAX_BYTES,
|
|
27
|
+
MINDOODB_APP_ISSUES_MAX,
|
|
22
28
|
MINDOODB_APP_LISTING_DESCRIPTION_MAX,
|
|
23
29
|
MINDOODB_APP_LISTING_MAX_SCREENSHOTS,
|
|
24
30
|
MINDOODB_APP_LISTING_SUMMARY_MAX,
|
|
@@ -29,14 +35,19 @@ import {
|
|
|
29
35
|
MINDOODB_APP_VALUE_TAG,
|
|
30
36
|
MINDOODB_CUSTOM_DOCUMENT_ID_PATTERN,
|
|
31
37
|
MINDOODB_DOCUMENT_ID_PREFIX_PATTERN,
|
|
38
|
+
MINDOODB_INSPECT_DOCUMENT,
|
|
39
|
+
MINDOODB_INSPECT_SLIDES,
|
|
40
|
+
MINDOODB_INSPECT_SPREADSHEET,
|
|
32
41
|
MINIMAL_DRAG_PREVIEW_PNG,
|
|
33
42
|
MindooDBAppAgentToolError,
|
|
34
43
|
MindooDBAppDragInputError,
|
|
44
|
+
MindooDBAppEmbedValidationError,
|
|
35
45
|
MindooDBAppValue,
|
|
36
46
|
applyHostedDocumentOverscrollContain,
|
|
37
47
|
assertValidMindooDBCreateIds,
|
|
38
48
|
bindDragSource,
|
|
39
49
|
createMindooDBAppBridge,
|
|
50
|
+
defineDocumentRules,
|
|
40
51
|
installHostShortcutCapture,
|
|
41
52
|
isHostShortcutAction,
|
|
42
53
|
isMindooDBAppDragType,
|
|
@@ -44,22 +55,39 @@ import {
|
|
|
44
55
|
matchHostShortcut,
|
|
45
56
|
mindooDBAppAcceptMatchesType,
|
|
46
57
|
mindooDBAppComponentFieldsMatch,
|
|
58
|
+
mindooDBAppComponentSupports,
|
|
59
|
+
mindooDBAppExportFile,
|
|
60
|
+
mindooDBAppExportMimeType,
|
|
61
|
+
mindooDBAppExportPayload,
|
|
62
|
+
mindooDBAppInspectContracts,
|
|
63
|
+
mindooDBAppInspectRules,
|
|
64
|
+
mindooDBAppInspectionSummaryValue,
|
|
47
65
|
mindooDBDocumentId,
|
|
48
66
|
normalizeAgentToolInput,
|
|
49
67
|
normalizeDragAccepts,
|
|
50
68
|
normalizeDragPointerInput,
|
|
51
69
|
normalizeDragStartInput,
|
|
70
|
+
normalizeMindooDBAppEmbedExportRequest,
|
|
71
|
+
normalizeMindooDBAppEmbedVariables,
|
|
72
|
+
normalizeMindooDBAppInspectAnchor,
|
|
73
|
+
normalizeMindooDBAppInspectRequest,
|
|
74
|
+
normalizeMindooDBAppInspection,
|
|
75
|
+
normalizeMindooDBAppIssues,
|
|
76
|
+
readMindooDBAppInspectionSummary,
|
|
52
77
|
releaseMindooDBAppBridgeSessions,
|
|
53
78
|
resolveMindooDBAppDefinitionUrl,
|
|
79
|
+
resolveMindooDBAppEmbedValidation,
|
|
54
80
|
resolveMindooDBAppListingAssetUrl,
|
|
55
81
|
resolveMindooDBAppLocalizedText,
|
|
82
|
+
resolveMindooDBAppVariables,
|
|
56
83
|
sanitizeHostShortcutBindings,
|
|
57
84
|
snapshotElementToPng,
|
|
85
|
+
summarizeMindooDBAppInspection,
|
|
58
86
|
validateMindooDBAppAccepts,
|
|
59
87
|
validateMindooDBAppAgentProfile,
|
|
60
88
|
validateMindooDBAppComponents,
|
|
61
89
|
validateMindooDBAppDefinition
|
|
62
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-FKTNDDWB.js";
|
|
63
91
|
import {
|
|
64
92
|
MINDOODB_APP_BUNDLE_ARCHIVE_FILE_NAME,
|
|
65
93
|
MINDOODB_APP_BUNDLE_MANIFEST_FILE_NAME,
|
|
@@ -1397,7 +1425,13 @@ export {
|
|
|
1397
1425
|
MINDOODB_APP_DEFINITION_PERMISSIONS,
|
|
1398
1426
|
MINDOODB_APP_DEFINITION_REGISTRATION_PERMISSIONS,
|
|
1399
1427
|
MINDOODB_APP_DEFINITION_VERSION,
|
|
1428
|
+
MINDOODB_APP_EMBED_EXPORT_MAX_BYTES,
|
|
1429
|
+
MINDOODB_APP_EMBED_VARIABLES_MAX,
|
|
1400
1430
|
MINDOODB_APP_HOSTING_QUERY_PARAM,
|
|
1431
|
+
MINDOODB_APP_INSPECTION_FIELD,
|
|
1432
|
+
MINDOODB_APP_INSPECTION_MAX_BYTES,
|
|
1433
|
+
MINDOODB_APP_INSPECTION_SUMMARY_MAX_BYTES,
|
|
1434
|
+
MINDOODB_APP_ISSUES_MAX,
|
|
1401
1435
|
MINDOODB_APP_LAUNCH_ID_QUERY_PARAM,
|
|
1402
1436
|
MINDOODB_APP_LISTING_DESCRIPTION_MAX,
|
|
1403
1437
|
MINDOODB_APP_LISTING_MAX_SCREENSHOTS,
|
|
@@ -1411,9 +1445,13 @@ export {
|
|
|
1411
1445
|
MINDOODB_APP_WELL_KNOWN_DRAG_TYPES,
|
|
1412
1446
|
MINDOODB_CUSTOM_DOCUMENT_ID_PATTERN,
|
|
1413
1447
|
MINDOODB_DOCUMENT_ID_PREFIX_PATTERN,
|
|
1448
|
+
MINDOODB_INSPECT_DOCUMENT,
|
|
1449
|
+
MINDOODB_INSPECT_SLIDES,
|
|
1450
|
+
MINDOODB_INSPECT_SPREADSHEET,
|
|
1414
1451
|
MINIMAL_DRAG_PREVIEW_PNG,
|
|
1415
1452
|
MindooDBAppAgentToolError,
|
|
1416
1453
|
MindooDBAppDragInputError,
|
|
1454
|
+
MindooDBAppEmbedValidationError,
|
|
1417
1455
|
MindooDBAppValue,
|
|
1418
1456
|
MindooDBRichTextHandle,
|
|
1419
1457
|
MindooDBTextBuffer,
|
|
@@ -1431,6 +1469,7 @@ export {
|
|
|
1431
1469
|
createMindooDBRichTextHandle,
|
|
1432
1470
|
createMindooDBTextBuffer,
|
|
1433
1471
|
createViewLanguage,
|
|
1472
|
+
defineDocumentRules,
|
|
1434
1473
|
expandAbbreviatedName,
|
|
1435
1474
|
inheritDocumentEncryption,
|
|
1436
1475
|
installHavenStorageShim,
|
|
@@ -1445,26 +1484,43 @@ export {
|
|
|
1445
1484
|
matchHostShortcut,
|
|
1446
1485
|
mindooDBAppAcceptMatchesType,
|
|
1447
1486
|
mindooDBAppComponentFieldsMatch,
|
|
1487
|
+
mindooDBAppComponentSupports,
|
|
1488
|
+
mindooDBAppExportFile,
|
|
1489
|
+
mindooDBAppExportMimeType,
|
|
1490
|
+
mindooDBAppExportPayload,
|
|
1491
|
+
mindooDBAppInspectContracts,
|
|
1492
|
+
mindooDBAppInspectRules,
|
|
1493
|
+
mindooDBAppInspectionSummaryValue,
|
|
1448
1494
|
mindooDBDocumentId,
|
|
1449
1495
|
normalizeAgentToolInput,
|
|
1450
1496
|
normalizeDragAccepts,
|
|
1451
1497
|
normalizeDragPointerInput,
|
|
1452
1498
|
normalizeDragStartInput,
|
|
1453
1499
|
normalizeMindooDBAppBundlePath,
|
|
1500
|
+
normalizeMindooDBAppEmbedExportRequest,
|
|
1501
|
+
normalizeMindooDBAppEmbedVariables,
|
|
1502
|
+
normalizeMindooDBAppInspectAnchor,
|
|
1503
|
+
normalizeMindooDBAppInspectRequest,
|
|
1504
|
+
normalizeMindooDBAppInspection,
|
|
1505
|
+
normalizeMindooDBAppIssues,
|
|
1454
1506
|
parseListingMarkdown,
|
|
1455
1507
|
queryDocuments,
|
|
1456
1508
|
readMindooDBAppHostingMode,
|
|
1509
|
+
readMindooDBAppInspectionSummary,
|
|
1457
1510
|
readMindooDBAppLaunchId,
|
|
1458
1511
|
releaseMindooDBAppBridgeSessions,
|
|
1459
1512
|
renderAgentGuideGroup,
|
|
1460
1513
|
renderHavenAppLandingPage,
|
|
1461
1514
|
resolveCurrentHavenAppUrl,
|
|
1462
1515
|
resolveMindooDBAppDefinitionUrl,
|
|
1516
|
+
resolveMindooDBAppEmbedValidation,
|
|
1463
1517
|
resolveMindooDBAppListingAssetUrl,
|
|
1464
1518
|
resolveMindooDBAppLocalizedText,
|
|
1519
|
+
resolveMindooDBAppVariables,
|
|
1465
1520
|
sanitizeHostShortcutBindings,
|
|
1466
1521
|
sanitizeListingHref,
|
|
1467
1522
|
snapshotElementToPng,
|
|
1523
|
+
summarizeMindooDBAppInspection,
|
|
1468
1524
|
validateMindooDBAppAccepts,
|
|
1469
1525
|
validateMindooDBAppAgentProfile,
|
|
1470
1526
|
validateMindooDBAppBundleManifest,
|
package/dist/testing/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a_ as MindooDBAppComponentInfo, c7 as MindooDBAppEmbedRect, bX as MindooDBAppEmbedAgentTools, cG as MindooDBAppInspectRequest, cK as MindooDBAppIssue, cF as MindooDBAppInspectAnchor, c5 as MindooDBAppEmbedExportRequest, cc as MindooDBAppEmbedVariable, cf as MindooDBAppEmbeddingLookupOptions, cg as MindooDBAppEmbeddingLookupResult, bV as MindooDBAppEmbedAccessPair, cJ as MindooDBAppInspectionBase, ce as MindooDBAppEmbeddingExport, ca as MindooDBAppEmbedValidation, a3 as MindooDBAppAgentToolDescriptor, f as MindooDBAppAgentToolErrorCode, ah as MindooDBAppBridgeAgentResultMessage, ag as MindooDBAppBridgeAgentInvokeMessage, bm as MindooDBAppCreateViewNavigatorInput, eu as MindooDBAppViewNavigator, aD as MindooDBAppBridgeRpcRequest, ct as MindooDBAppHostTheme, aV as MindooDBAppCapability, eo as MindooDBAppUpdateDocumentInput, m as MindooDBAppDocument, k as MindooDBAppDefinition, a6 as MindooDBAppAttachmentApi, e as MindooDBAppBridge, d$ as MindooDBAppSession, dk as MindooDBAppProposeAppInput, eC as MindooDBAppViewport, en as MindooDBAppUiPreferences, dr as MindooDBAppQueryResult, eB as MindooDBAppViewUpdateStats, ay as MindooDBAppBridgePortMessage, bn as MindooDBAppDatabaseInfo, dg as MindooDBAppPdfSignInput, bU as MindooDBAppEmbedAccessInput, b$ as MindooDBAppEmbedCloseReason, at as MindooDBAppBridgeErrorPayload, cV as MindooDBAppLaunchContext, bw as MindooDBAppDocumentApi, ew as MindooDBAppViewNavigatorOpenOptions, cu as MindooDBAppIdentityApi, eh as MindooDBAppTimestampApi, bu as MindooDBAppDirectoryApi, cq as MindooDBAppFulltextSetup, cp as MindooDBAppExtractionSetup, e9 as MindooDBAppSummarySetup, dl as MindooDBAppProposeAppResult, cE as MindooDBAppIncomingSource, c as MindooDBAppDragStartResult, bR as MindooDBAppDragProfile, cD as MindooDBAppIncomingResult, dx as MindooDBAppReminder } from '../types-CbH_R16h.js';
|
|
2
2
|
import * as mindoodb from 'mindoodb';
|
|
3
3
|
import 'mindoodb-view-language';
|
|
4
4
|
|
|
@@ -17,7 +17,40 @@ interface MockEmbedState {
|
|
|
17
17
|
active: boolean;
|
|
18
18
|
/** The agent tools it offers (`setEmbedAgentTools`), as the host app sees them. */
|
|
19
19
|
agentTools: MindooDBAppEmbedAgentTools | null;
|
|
20
|
+
/** The component's `supports`. */
|
|
21
|
+
supports: string[];
|
|
22
|
+
/** Set while the app checks saves (`embed.onBeforeSave`): the inspection it asked for. */
|
|
23
|
+
beforeSave: {
|
|
24
|
+
inspect: MindooDBAppInspectRequest;
|
|
25
|
+
} | null;
|
|
26
|
+
/** What the app asked of the component, oldest first. */
|
|
27
|
+
requests: MockEmbedRequest[];
|
|
28
|
+
/** The values offered as fields (`embeds.open({ variables })`, `embed.setVariables`). */
|
|
29
|
+
variables: MindooDBAppEmbedVariable[];
|
|
30
|
+
/** The template the document starts from (`embeds.open({ template })`). */
|
|
31
|
+
template?: {
|
|
32
|
+
databaseId: string;
|
|
33
|
+
docId: string;
|
|
34
|
+
};
|
|
20
35
|
}
|
|
36
|
+
/** One request of the host app to its component, as the mock recorded it. */
|
|
37
|
+
type MockEmbedRequest = {
|
|
38
|
+
request: "inspect";
|
|
39
|
+
inspect: MindooDBAppInspectRequest;
|
|
40
|
+
} | {
|
|
41
|
+
request: "showIssues";
|
|
42
|
+
issues: MindooDBAppIssue[];
|
|
43
|
+
} | {
|
|
44
|
+
request: "reveal";
|
|
45
|
+
anchor: MindooDBAppInspectAnchor;
|
|
46
|
+
} | {
|
|
47
|
+
request: "callTool";
|
|
48
|
+
name: string;
|
|
49
|
+
input: Record<string, unknown>;
|
|
50
|
+
} | {
|
|
51
|
+
request: "export";
|
|
52
|
+
export: MindooDBAppEmbedExportRequest;
|
|
53
|
+
};
|
|
21
54
|
/** How an app running as an embedded component finished (`session.embedding`). */
|
|
22
55
|
interface MockEmbeddingFinish {
|
|
23
56
|
reason: "completed" | "cancelled";
|
|
@@ -40,6 +73,32 @@ interface MockEmbedHostOptions {
|
|
|
40
73
|
* ask for and returns the ones the user allows. Without it every pair is allowed.
|
|
41
74
|
*/
|
|
42
75
|
embedAccess?: (pairs: MindooDBAppEmbedAccessPair[]) => MindooDBAppEmbedAccessPair[] | Promise<MindooDBAppEmbedAccessPair[]>;
|
|
76
|
+
/**
|
|
77
|
+
* Plays the components for `embed.inspect` and save checks: describes the
|
|
78
|
+
* embed's document. Without it components cannot describe theirs (`unsupported`).
|
|
79
|
+
*/
|
|
80
|
+
embedInspection?: (embed: MockEmbedState, request: MindooDBAppInspectRequest) => MindooDBAppInspectionBase | Promise<MindooDBAppInspectionBase>;
|
|
81
|
+
/**
|
|
82
|
+
* Plays the components for `embed.export` (they must declare `export:<format>`);
|
|
83
|
+
* without it exports fail with `unsupported`.
|
|
84
|
+
*/
|
|
85
|
+
embedExport?: (embed: MockEmbedState, request: MindooDBAppEmbedExportRequest) => MindooDBAppEmbeddingExport | Promise<MindooDBAppEmbeddingExport>;
|
|
86
|
+
/** For an app under test that runs as a component: the host's variables at start. */
|
|
87
|
+
embeddingVariables?: MindooDBAppEmbedVariable[];
|
|
88
|
+
/** Plays the components for `embed.callTool`; without it calls fail with `unsupported`. */
|
|
89
|
+
embedTools?: (embed: MockEmbedState, name: string, input: Record<string, unknown>) => unknown;
|
|
90
|
+
/**
|
|
91
|
+
* Plays the user when a save check found only warnings: true saves anyway (the
|
|
92
|
+
* default), false keeps the document unsaved.
|
|
93
|
+
*/
|
|
94
|
+
confirmSaveWarnings?: (warnings: MindooDBAppIssue[]) => boolean | Promise<boolean>;
|
|
95
|
+
/**
|
|
96
|
+
* For an app under test that runs as a component: what Haven answers to its
|
|
97
|
+
* `session.embedding.validate`, i.e. its host's checks. Without it every save is fine.
|
|
98
|
+
*/
|
|
99
|
+
embeddingValidation?: (options: {
|
|
100
|
+
interactive: boolean;
|
|
101
|
+
}) => MindooDBAppEmbedValidation | Promise<MindooDBAppEmbedValidation>;
|
|
43
102
|
}
|
|
44
103
|
|
|
45
104
|
/**
|
|
@@ -614,6 +673,18 @@ interface CreateMockMindooDBAppSessionOptions {
|
|
|
614
673
|
* those Haven would ask for. Without it every pair is allowed.
|
|
615
674
|
*/
|
|
616
675
|
embedAccess?: MockEmbedHostOptions["embedAccess"];
|
|
676
|
+
/** Plays the components for `embed.inspect` and save checks (see `MockEmbedHostOptions`). */
|
|
677
|
+
embedInspection?: MockEmbedHostOptions["embedInspection"];
|
|
678
|
+
/** Plays the components for `embed.callTool`. */
|
|
679
|
+
embedTools?: MockEmbedHostOptions["embedTools"];
|
|
680
|
+
/** Plays the components for `embed.export`. */
|
|
681
|
+
embedExport?: MockEmbedHostOptions["embedExport"];
|
|
682
|
+
/** For an app under test that runs as a component: the host's variables at start. */
|
|
683
|
+
embeddingVariables?: MockEmbedHostOptions["embeddingVariables"];
|
|
684
|
+
/** Plays the user when a save check found only warnings; default: save anyway. */
|
|
685
|
+
confirmSaveWarnings?: MockEmbedHostOptions["confirmSaveWarnings"];
|
|
686
|
+
/** For an app under test that runs as a component: its host's checks (`embedding.validate`). */
|
|
687
|
+
embeddingValidation?: MockEmbedHostOptions["embeddingValidation"];
|
|
617
688
|
/**
|
|
618
689
|
* Answer `embeds.open` with a `container` like a current Haven: with this page
|
|
619
690
|
* for the SDK to frame (e.g. `about:blank`). Without it the host behaves like an
|
|
@@ -707,6 +778,34 @@ interface MockMindooDBAppSessionController {
|
|
|
707
778
|
getEmbeddingDirty(): boolean | undefined;
|
|
708
779
|
/** For an app under test that runs as a component: asks it to save, as its host would. */
|
|
709
780
|
requestEmbeddingSave(): Promise<void>;
|
|
781
|
+
/**
|
|
782
|
+
* As if the embedded component asked before saving (`embedding.validate`): runs
|
|
783
|
+
* the app's `onBeforeSave` check and resolves as Haven would.
|
|
784
|
+
*/
|
|
785
|
+
validateEmbed(embedId: string, options?: {
|
|
786
|
+
interactive?: boolean;
|
|
787
|
+
}): Promise<MindooDBAppEmbedValidation>;
|
|
788
|
+
/** As if the embedded component saved: the app's `onAfterSave` listeners run. */
|
|
789
|
+
notifyEmbedSaved(embedId: string): void;
|
|
790
|
+
/** What the app asked of this embed's component (`inspect`, `showIssues`, `reveal`, `callTool`). */
|
|
791
|
+
getEmbedRequests(embedId: string): MockEmbedRequest[];
|
|
792
|
+
/** For an app under test that runs as a component: asks it to describe its document, as its host would. */
|
|
793
|
+
requestEmbeddingInspection(request?: MindooDBAppInspectRequest): Promise<MindooDBAppInspectionBase>;
|
|
794
|
+
/** For an app under test that runs as a component: hands it the host's issues. */
|
|
795
|
+
requestEmbeddingShowIssues(issues: MindooDBAppIssue[]): Promise<void>;
|
|
796
|
+
/** For an app under test that runs as a component: asks it to scroll to `anchor`. */
|
|
797
|
+
requestEmbeddingReveal(anchor: MindooDBAppInspectAnchor): Promise<void>;
|
|
798
|
+
/** For an app under test that runs as a component: its `embedding.validate` calls so far. */
|
|
799
|
+
getEmbeddingValidations(): Array<{
|
|
800
|
+
interactive: boolean;
|
|
801
|
+
result: MindooDBAppEmbedValidation;
|
|
802
|
+
}>;
|
|
803
|
+
/** For an app under test that runs as a component: how often it reported a save (`embedding.save`). */
|
|
804
|
+
getEmbeddingSaveCount(): number;
|
|
805
|
+
/** For an app under test that runs as a component: the host changes its variables. */
|
|
806
|
+
requestEmbeddingVariables(variables: MindooDBAppEmbedVariable[]): Promise<void>;
|
|
807
|
+
/** For an app under test that runs as a component: asks it for a file (`embed.export`). */
|
|
808
|
+
requestEmbeddingExport(request: MindooDBAppEmbedExportRequest): Promise<File>;
|
|
710
809
|
}
|
|
711
810
|
|
|
712
811
|
/** Content for `emitIncomingContent`. */
|
|
@@ -846,6 +945,34 @@ interface FakeBridgeHostController {
|
|
|
846
945
|
* over the port and resolves or rejects with the app's answer.
|
|
847
946
|
*/
|
|
848
947
|
requestEmbeddingSave(): Promise<void>;
|
|
948
|
+
/**
|
|
949
|
+
* As if the embedded component asked before saving (`embedding.validate`): runs
|
|
950
|
+
* the app's `onBeforeSave` check and resolves as Haven would.
|
|
951
|
+
*/
|
|
952
|
+
validateEmbed(embedId: string, options?: {
|
|
953
|
+
interactive?: boolean;
|
|
954
|
+
}): Promise<MindooDBAppEmbedValidation>;
|
|
955
|
+
/** As if the embedded component saved: the app's `onAfterSave` listeners run. */
|
|
956
|
+
notifyEmbedSaved(embedId: string): void;
|
|
957
|
+
/** What the app asked of this embed's component (`inspect`, `showIssues`, `reveal`, `callTool`). */
|
|
958
|
+
getEmbedRequests(embedId: string): MockEmbedRequest[];
|
|
959
|
+
/** For an app under test that runs as a component: asks it to describe its document, as its host would. */
|
|
960
|
+
requestEmbeddingInspection(request?: MindooDBAppInspectRequest): Promise<MindooDBAppInspectionBase>;
|
|
961
|
+
/** For an app under test that runs as a component: hands it the host's issues. */
|
|
962
|
+
requestEmbeddingShowIssues(issues: MindooDBAppIssue[]): Promise<void>;
|
|
963
|
+
/** For an app under test that runs as a component: asks it to scroll to `anchor`. */
|
|
964
|
+
requestEmbeddingReveal(anchor: MindooDBAppInspectAnchor): Promise<void>;
|
|
965
|
+
/** For an app under test that runs as a component: its `embedding.validate` calls so far. */
|
|
966
|
+
getEmbeddingValidations(): Array<{
|
|
967
|
+
interactive: boolean;
|
|
968
|
+
result: MindooDBAppEmbedValidation;
|
|
969
|
+
}>;
|
|
970
|
+
/** For an app under test that runs as a component: how often it reported a save (`embedding.save`). */
|
|
971
|
+
getEmbeddingSaveCount(): number;
|
|
972
|
+
/** For an app under test that runs as a component: the host changes its variables. */
|
|
973
|
+
requestEmbeddingVariables(variables: MindooDBAppEmbedVariable[]): Promise<void>;
|
|
974
|
+
/** For an app under test that runs as a component: asks it for a file (`embed.export`). */
|
|
975
|
+
requestEmbeddingExport(request: MindooDBAppEmbedExportRequest): Promise<File>;
|
|
849
976
|
/**
|
|
850
977
|
* Haven's agent-tool side: the tools and context the app declared, files in the
|
|
851
978
|
* exchange, and `call()` to run a tool as an agent would.
|
|
@@ -854,4 +981,4 @@ interface FakeBridgeHostController {
|
|
|
854
981
|
}
|
|
855
982
|
declare function createFakeBridgeHost(options?: CreateFakeBridgeHostOptions): FakeBridgeHostController;
|
|
856
983
|
|
|
857
|
-
export { ALL_CAPABILITIES, type AgentManifestCheckOptions, type AgentManifestCheckResult, type BrowserTestHost, type BrowserTestHostLog, type BrowserTestHostScan, type BrowserTestHostScanMode, type CreateBrowserTestHostOptions, type CreateFakeBridgeHostOptions, type CreateMockMindooDBAppSessionOptions, DEFAULT_TEST_HOST_USERS, type EvaluatingViewDocument, type FakeBridgeHostController, type FakeBridgePortMessageHandler, type FakeBridgeRequestHandler, type FakeBridgeRpcResponse, type MockAgentCall, type MockAgentCallResult, type MockAgentConsent, type MockAgentFile, type MockAgentHost, type MockAgentHostController, type MockAgentHostOptions, type MockDatabaseOverride, type MockDatabasesFromDefinitionOptions, type MockEmbedState, type MockEmbeddingFinish, MockForbiddenError, type MockIncomingContentInput, type MockMindooDBAppDatabaseDefinition, type MockMindooDBAppSessionController, type MockPdfSignOutcome, type MockRemoteUpdateOptions, type MockSealedChannelOptions, type MockSeedDocument, type MountHavenTestHostOptions, TEST_HOST_LOCALES, type TestHostUrlSettings, type TestHostUser, type TwoUserTestHost, assertAgentManifest, capabilitiesForDefinitionPermissions, checkAgentManifest, createBrowserTestHost, createEvaluatingViewNavigator, createFakeBridgeHost, createMemoryAttachments, createMockAgentHost, createMockMindooDBAppBridge, createMockMindooDBAppSession, generateDirectoryUsers, loadMindoodbForTesting, mockAgentToolPrefix, mockDatabasesFromDefinition, mockReplicaDifferences, modeSwitch, mountHavenTestHost, mountTwoUserTestHost, previewJson, readTestHostUrlSettings, syncMockReplicas, validateMockAgentTools };
|
|
984
|
+
export { ALL_CAPABILITIES, type AgentManifestCheckOptions, type AgentManifestCheckResult, type BrowserTestHost, type BrowserTestHostLog, type BrowserTestHostScan, type BrowserTestHostScanMode, type CreateBrowserTestHostOptions, type CreateFakeBridgeHostOptions, type CreateMockMindooDBAppSessionOptions, DEFAULT_TEST_HOST_USERS, type EvaluatingViewDocument, type FakeBridgeHostController, type FakeBridgePortMessageHandler, type FakeBridgeRequestHandler, type FakeBridgeRpcResponse, type MockAgentCall, type MockAgentCallResult, type MockAgentConsent, type MockAgentFile, type MockAgentHost, type MockAgentHostController, type MockAgentHostOptions, type MockDatabaseOverride, type MockDatabasesFromDefinitionOptions, type MockEmbedRequest, type MockEmbedState, type MockEmbeddingFinish, MockForbiddenError, type MockIncomingContentInput, type MockMindooDBAppDatabaseDefinition, type MockMindooDBAppSessionController, type MockPdfSignOutcome, type MockRemoteUpdateOptions, type MockSealedChannelOptions, type MockSeedDocument, type MountHavenTestHostOptions, TEST_HOST_LOCALES, type TestHostUrlSettings, type TestHostUser, type TwoUserTestHost, assertAgentManifest, capabilitiesForDefinitionPermissions, checkAgentManifest, createBrowserTestHost, createEvaluatingViewNavigator, createFakeBridgeHost, createMemoryAttachments, createMockAgentHost, createMockMindooDBAppBridge, createMockMindooDBAppSession, generateDirectoryUsers, loadMindoodbForTesting, mockAgentToolPrefix, mockDatabasesFromDefinition, mockReplicaDifferences, modeSwitch, mountHavenTestHost, mountTwoUserTestHost, previewJson, readTestHostUrlSettings, syncMockReplicas, validateMockAgentTools };
|