mindoodb-app-sdk 0.0.67 → 0.0.69

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 CHANGED
@@ -687,6 +687,30 @@ Requirements and limits worth knowing before you design around this:
687
687
 
688
688
  There is deliberately no API for decrypting arbitrary data with the user's key. That would be a decryption oracle: doc keys wrapped to the same key are publicly readable in the tenant directory, so an app able to unwrap chosen ciphertext could obtain keys for databases it was never granted.
689
689
 
690
+ ### Signing PDFs with a certificate
691
+
692
+ `session.pdf.sign` signs finished PDF bytes with an X.509 certificate the user picks in Haven, as a PAdES signature that Adobe Acrobat and other readers list as a digital signature. Haven asks for a PKCS#12 file (`.p12`/`.pfx`) and its password, shows holder, issuer and validity, signs, and hands back the signed bytes. The certificate file, the password and the private key never reach your app, and Haven keeps none of them after the dialog: the user chooses the certificate again for every signature.
693
+
694
+ ```ts
695
+ const bytes = await pdfDocument.save();
696
+ const result = await session.pdf.sign({
697
+ pdf: bytes,
698
+ fileName: "Site survey.pdf",
699
+ reason: "Approved",
700
+ visibleSignature: { pageIndex: 0, position: "bottom-right" }, // a proposal; the user can turn it off
701
+ timestamp: true, // RFC 3161 timestamp (PAdES-B-T), also a proposal
702
+ });
703
+ if (!result.ok) {
704
+ // "declined": the user cancelled. "unsupported": older Haven. Not errors.
705
+ return;
706
+ }
707
+ download(result.pdf, "Site survey (signed).pdf");
708
+ ```
709
+
710
+ - Signing is an incremental update: the original bytes stay unchanged and earlier signatures stay valid. Edit the PDF before signing, never after, or the signature breaks.
711
+ - Acrobat shows a green check only for certificates that chain to the Adobe Approved Trust List or that the reader trusts; a self-signed or company certificate shows "validity unknown", which is expected.
712
+ - No capability is needed: nothing is signed without the user choosing a certificate and entering its password in Haven's own dialog.
713
+
690
714
  ### Theme and viewport events
691
715
 
692
716
  Haven pushes two types of live events to your app:
@@ -2142,6 +2166,7 @@ Connect options: `launchId?`, `targetOrigin?`, `connectTimeoutMs?`.
2142
2166
  | `hasHostFocus()` | `Promise<boolean>` |
2143
2167
  | `onHostFocusChange(listener)` | `() => void` (unsubscribe) |
2144
2168
  | `notify(input)` | `Promise<{ id: string }>` |
2169
+ | `pdf.sign(input)` | `Promise<MindooDBAppPdfSignResult>` |
2145
2170
  | `agent?.registerTools(tools)` | `Promise<MindooDBAppAgentRegistration>` |
2146
2171
  | `agent?.setContext(context)` | `Promise<void>` |
2147
2172
  | `agent?.provideFile(data, options)` | `Promise<{ fileRef: string; size: number }>` |
@@ -1977,6 +1977,133 @@ var MindooDBAppIncomingApiImpl = class {
1977
1977
  }
1978
1978
  };
1979
1979
 
1980
+ // src/client/pdf.ts
1981
+ function isUnknownMethod(error) {
1982
+ const code = error?.code;
1983
+ return code === "method-not-found" || code === "unsupported";
1984
+ }
1985
+ var MindooDBAppPdfApiImpl = class {
1986
+ constructor(rpc) {
1987
+ this.rpc = rpc;
1988
+ }
1989
+ rpc;
1990
+ async sign(input) {
1991
+ try {
1992
+ return await this.rpc.call("pdf.sign", {
1993
+ pdf: input.pdf,
1994
+ fileName: input.fileName,
1995
+ reason: input.reason,
1996
+ location: input.location,
1997
+ contactInfo: input.contactInfo,
1998
+ visibleSignature: input.visibleSignature,
1999
+ timestamp: input.timestamp
2000
+ });
2001
+ } catch (error) {
2002
+ if (isUnknownMethod(error)) {
2003
+ return { ok: false, reason: "unsupported" };
2004
+ }
2005
+ throw error;
2006
+ }
2007
+ }
2008
+ };
2009
+
2010
+ // src/client/reminders.ts
2011
+ function isReminderOpenedMessage(message) {
2012
+ return message.kind === "reminder-opened";
2013
+ }
2014
+ function isUnknownMethod2(error) {
2015
+ const code = error?.code;
2016
+ return code === "method-not-found" || code === "unsupported";
2017
+ }
2018
+ var MindooDBAppRemindersApiImpl = class {
2019
+ constructor(rpc) {
2020
+ this.rpc = rpc;
2021
+ this.stopListening = this.rpc.addMessageListener((message) => {
2022
+ if (!isReminderOpenedMessage(message)) {
2023
+ return;
2024
+ }
2025
+ if (this.handler) {
2026
+ void this.deliver(message.reminder);
2027
+ } else {
2028
+ this.pending.push(message.reminder);
2029
+ }
2030
+ });
2031
+ }
2032
+ rpc;
2033
+ handler = null;
2034
+ pending = [];
2035
+ stopListening;
2036
+ async schedule(request) {
2037
+ const at = request.at instanceof Date ? request.at.getTime() : request.at;
2038
+ try {
2039
+ return await this.rpc.call("reminders.schedule", {
2040
+ id: request.id,
2041
+ title: request.title,
2042
+ body: request.body,
2043
+ at,
2044
+ target: request.target
2045
+ });
2046
+ } catch (error) {
2047
+ if (isUnknownMethod2(error)) {
2048
+ return { status: "unsupported" };
2049
+ }
2050
+ throw error;
2051
+ }
2052
+ }
2053
+ async cancel(id) {
2054
+ try {
2055
+ await this.rpc.call("reminders.cancel", { id });
2056
+ } catch (error) {
2057
+ if (!isUnknownMethod2(error)) {
2058
+ throw error;
2059
+ }
2060
+ }
2061
+ }
2062
+ async list() {
2063
+ try {
2064
+ return await this.rpc.call("reminders.list", {});
2065
+ } catch (error) {
2066
+ if (isUnknownMethod2(error)) {
2067
+ return [];
2068
+ }
2069
+ throw error;
2070
+ }
2071
+ }
2072
+ onOpened(handler) {
2073
+ this.handler = handler;
2074
+ void this.rpc.call("reminders.subscribe", {}).catch(() => {
2075
+ });
2076
+ this.pending.splice(0).forEach((opened) => {
2077
+ void this.deliver(opened);
2078
+ });
2079
+ return () => {
2080
+ if (this.handler !== handler) {
2081
+ return;
2082
+ }
2083
+ this.handler = null;
2084
+ void this.rpc.call("reminders.unsubscribe", {}).catch(() => {
2085
+ });
2086
+ };
2087
+ }
2088
+ dispose() {
2089
+ this.stopListening();
2090
+ this.handler = null;
2091
+ this.pending.length = 0;
2092
+ }
2093
+ async deliver(opened) {
2094
+ const handler = this.handler;
2095
+ if (!handler) {
2096
+ this.pending.push(opened);
2097
+ return;
2098
+ }
2099
+ try {
2100
+ await handler(opened);
2101
+ } catch (error) {
2102
+ console.warn("[mindoodb-app-sdk] A reminder handler failed.", error);
2103
+ }
2104
+ }
2105
+ };
2106
+
1980
2107
  // src/client/portRpcClient.ts
1981
2108
  var PROTOCOL = "mindoodb-app-bridge";
1982
2109
  function normalizeRpcValue(value, seen = /* @__PURE__ */ new WeakMap()) {
@@ -3253,6 +3380,8 @@ var MindooDBAppSessionImpl = class {
3253
3380
  this.drag = new MindooDBAppDragApiImpl(this.rpc);
3254
3381
  this.agent = new MindooDBAppAgentApiImpl(this.rpc);
3255
3382
  this.incoming = new MindooDBAppIncomingApiImpl(this.rpc);
3383
+ this.reminders = new MindooDBAppRemindersApiImpl(this.rpc);
3384
+ this.pdf = new MindooDBAppPdfApiImpl(this.rpc);
3256
3385
  this.embedsClient = new MindooDBAppEmbedsClient(this.rpc);
3257
3386
  this.components = this.embedsClient.components;
3258
3387
  this.embeds = this.embedsClient.embeds;
@@ -3321,6 +3450,8 @@ var MindooDBAppSessionImpl = class {
3321
3450
  storage;
3322
3451
  agent;
3323
3452
  incoming;
3453
+ reminders;
3454
+ pdf;
3324
3455
  embedsClient;
3325
3456
  components;
3326
3457
  embeds;
@@ -3503,6 +3634,7 @@ var MindooDBAppSessionImpl = class {
3503
3634
  this.drag.dispose();
3504
3635
  this.agent.dispose();
3505
3636
  this.incoming.dispose();
3637
+ this.reminders.dispose();
3506
3638
  this.embedsClient.dispose();
3507
3639
  try {
3508
3640
  await this.rpc.call("session.disconnect", {});
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
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-BGLXh4JQ.js';
2
- export { q as MINDOODB_APP_ACCEPTS_MAX, r as MINDOODB_APP_COMPONENTS_MAX, s as MINDOODB_APP_COMPONENT_CONTRACT_PATTERN, t as MINDOODB_APP_DEFINITION_FILE_NAME, u as MINDOODB_APP_DEFINITION_FORMAT, v as MINDOODB_APP_DEFINITION_PERMISSIONS, w as MINDOODB_APP_DEFINITION_REGISTRATION_PERMISSIONS, x as MINDOODB_APP_DEFINITION_VERSION, y as MINDOODB_APP_LISTING_DESCRIPTION_MAX, z as MINDOODB_APP_LISTING_MAX_SCREENSHOTS, A as MINDOODB_APP_LISTING_SUMMARY_MAX, B as MINDOODB_APP_SEAL_SIGNING_DOMAIN, C as MINDOODB_APP_WELL_KNOWN_DRAG_TYPES, D as MindooDBAppAcceptSpec, E as MindooDBAppAccessDecision, F as MindooDBAppAccessTier, G as MindooDBAppAgentApi, H as MindooDBAppAgentRegistration, I as MindooDBAppAgentToolAnnotations, J as MindooDBAppAgentToolDescriptor, K as MindooDBAppAgentToolScope, L as MindooDBAppAttachmentApi, N as MindooDBAppAttachmentChunk, O as MindooDBAppAttachmentInfo, P as MindooDBAppAttachmentPreviewOptions, Q as MindooDBAppAttachmentPreviewSession, R as MindooDBAppAutomergeChangesPatch, S as MindooDBAppAutomergeChangesSince, T as MindooDBAppAutomergeGetOptions, U as MindooDBAppAutomergePatchResult, V as MindooDBAppAutomergeSnapshot, W as MindooDBAppBridgeAgentInvokeMessage, X as MindooDBAppBridgeAgentResultMessage, Y as MindooDBAppBridgeBeforeCloseAck, Z as MindooDBAppBridgeBeforeCloseMessage, _ as MindooDBAppBridgeConnectMessage, $ as MindooDBAppBridgeConnectOptions, a0 as MindooDBAppBridgeConnectedMessage, a1 as MindooDBAppBridgeDragDropMessage, a2 as MindooDBAppBridgeDragLeaveMessage, a3 as MindooDBAppBridgeDragOverMessage, a4 as MindooDBAppBridgeEmbedEventMessage, a5 as MindooDBAppBridgeEmbeddingRequestMessage, a6 as MindooDBAppBridgeErrorPayload, a7 as MindooDBAppBridgeHandshakeErrorMessage, a8 as MindooDBAppBridgeHostFocusChangedMessage, a9 as MindooDBAppBridgeIncomingContentMessage, aa as MindooDBAppBridgeLocaleChangedMessage, ab as MindooDBAppBridgePortMessage, ac as MindooDBAppBridgeQueryResultMessage, ad as MindooDBAppBridgeRpcError, ae as MindooDBAppBridgeRpcMessage, af as MindooDBAppBridgeRpcRequest, ag as MindooDBAppBridgeRpcSuccess, ah as MindooDBAppBridgeShortcutInvokedMessage, ai as MindooDBAppBridgeShortcutsChangedMessage, aj as MindooDBAppBridgeStreamAbortRequest, ak as MindooDBAppBridgeStreamAck, al as MindooDBAppBridgeStreamCloseRequest, am as MindooDBAppBridgeStreamError, an as MindooDBAppBridgeStreamMessage, ao as MindooDBAppBridgeStreamOpenResult, ap as MindooDBAppBridgeStreamReadRequest, aq as MindooDBAppBridgeStreamWriteRequest, ar as MindooDBAppBridgeThemeChangedMessage, as as MindooDBAppBridgeUiPreferencesChangedMessage, at as MindooDBAppBridgeViewChangedMessage, au as MindooDBAppBridgeViewportChangedMessage, av as MindooDBAppBridgeWorkspaceFocusRequestedMessage, aw as MindooDBAppBrowserFeatures, ax as MindooDBAppCapability, ay as MindooDBAppComponentCategory, az as MindooDBAppComponentChildren, aA as MindooDBAppComponentContract, aB as MindooDBAppComponentFieldValue, aC as MindooDBAppComponentInfo, aD as MindooDBAppComponentIntent, aE as MindooDBAppComponentQuery, aF as MindooDBAppComponentReference, aG as MindooDBAppComponentSpec, aH as MindooDBAppComponentsApi, aI as MindooDBAppConfiguredViewCategorizationStyle, aJ as MindooDBAppConfiguredViewColumn, aK as MindooDBAppConfiguredViewColumnRole, aL as MindooDBAppConfiguredViewExpressionMode, aM as MindooDBAppConfiguredViewFieldExpression, aN as MindooDBAppConfiguredViewFilterDefinition, aO as MindooDBAppConfiguredViewFilterMode, aP as MindooDBAppConfiguredViewFilterRule, aQ as MindooDBAppConfiguredViewFormulaExpression, aR as MindooDBAppConfiguredViewFormulaFilterDefinition, aS as MindooDBAppConfiguredViewPreviewMode, aT as MindooDBAppConfiguredViewRuleFilterDefinition, aU as MindooDBAppConfiguredViewRuleMatchMode, aV as MindooDBAppConfiguredViewRuleOperator, aW as MindooDBAppConfiguredViewValueExpression, aX as MindooDBAppCreateKeyInfo, aY as MindooDBAppCreateViewInput, aZ as MindooDBAppCreateViewNavigatorInput, a_ as MindooDBAppDatabaseInfo, a$ as MindooDBAppDefinitionDatabase, b0 as MindooDBAppDefinitionListing, b1 as MindooDBAppDefinitionPermission, b2 as MindooDBAppDefinitionRegistrationPermission, b3 as MindooDBAppDefinitionScreenshot, b4 as MindooDBAppDefinitionValidation, b5 as MindooDBAppDirectoryApi, b6 as MindooDBAppDirectoryEntry, b7 as MindooDBAppDocumentApi, b8 as MindooDBAppDocumentHeadCursorResult, b9 as MindooDBAppDocumentHistoryEntry, ba as MindooDBAppDocumentListQuery, bb as MindooDBAppDocumentListResult, bc as MindooDBAppDocumentQuery, bd as MindooDBAppDocumentRevisionId, be as MindooDBAppDocumentScanPreset, bf as MindooDBAppDocumentSummary, bg as MindooDBAppDragApi, bh as MindooDBAppDragCancelReason, bi as MindooDBAppDragDropEvent, bj as MindooDBAppDragEffect, bk as MindooDBAppDragHoverResult, bl as MindooDBAppDragOffer, bm as MindooDBAppDragOverEvent, bn as MindooDBAppDragPointer, bo as MindooDBAppDragProfile, bp as MindooDBAppEmbed, bq as MindooDBAppEmbedAccessComponent, br as MindooDBAppEmbedAccessInput, bs as MindooDBAppEmbedAccessPair, bt as MindooDBAppEmbedAccessResult, bu as MindooDBAppEmbedAgentTools, bv as MindooDBAppEmbedAgentToolsEvent, bw as MindooDBAppEmbedCloseReason, bx as MindooDBAppEmbedClosedEvent, by as MindooDBAppEmbedContext, bz as MindooDBAppEmbedDirtyEvent, bA as MindooDBAppEmbedOpenInput, bB as MindooDBAppEmbedRect, bC as MindooDBAppEmbeddingApi, bD as MindooDBAppEmbeddingLookupOptions, bE as MindooDBAppEmbeddingLookupResult, bF as MindooDBAppEmbedsApi, bG as MindooDBAppEntryAttachmentRef, bH as MindooDBAppEntryProvenance, bI as MindooDBAppExtractDocumentTextInput, bJ as MindooDBAppExtractDocumentTextResult, bK as MindooDBAppExtractTextFormat, bL as MindooDBAppExtractionSetup, bM as MindooDBAppFulltextSetup, bN as MindooDBAppHistoricalDocument, bO as MindooDBAppHistoryQuery, bP as MindooDBAppHostTheme, bQ as MindooDBAppIdentityApi, bR as MindooDBAppInaccessibleDocument, bS as MindooDBAppInaccessibleDocumentListQuery, bT as MindooDBAppInaccessibleDocumentListResult, bU as MindooDBAppIncomingContent, bV as MindooDBAppIncomingContentHandler, bW as MindooDBAppIncomingContentInfo, bX as MindooDBAppIncomingItem, bY as MindooDBAppIncomingItemInfo, bZ as MindooDBAppIncomingResult, b_ as MindooDBAppIncomingSource, b$ as MindooDBAppJsonCounterIncrementPatch, c0 as MindooDBAppJsonListDeletePatch, c1 as MindooDBAppJsonListInsertPatch, c2 as MindooDBAppJsonPatch, c3 as MindooDBAppJsonSetPatch, c4 as MindooDBAppJsonTextMarkPatch, c5 as MindooDBAppJsonTextSplicePatch, c6 as MindooDBAppJsonTextUnmarkPatch, c7 as MindooDBAppJsonUnsetPatch, c8 as MindooDBAppLaunchContext, c9 as MindooDBAppListUsersOptions, ca as MindooDBAppListUsersPage, cb as MindooDBAppLiveQuerySubscription, cc as MindooDBAppLocalizedText, cd as MindooDBAppMenuAnchor, ce as MindooDBAppMenuApi, cf as MindooDBAppMenuCommandItem, cg as MindooDBAppMenuDismissReason, ch as MindooDBAppMenuDismissedResult, ci as MindooDBAppMenuItem, cj as MindooDBAppMenuKind, ck as MindooDBAppMenuPlacement, cl as MindooDBAppMenuPointAnchor, cm as MindooDBAppMenuRect, cn as MindooDBAppMenuRectAnchor, co as MindooDBAppMenuSelectionResult, cp as MindooDBAppMenuSeparatorItem, cq as MindooDBAppNotificationSeverity, cr as MindooDBAppNotifyInput, cs as MindooDBAppNotifyResult, ct as MindooDBAppProposeAppInput, cu as MindooDBAppProposeAppResult, cv as MindooDBAppQueryCoverage, cw as MindooDBAppQueryInclude, cx as MindooDBAppQueryIncludeCardinality, cy as MindooDBAppQueryIncludeSlots, cz as MindooDBAppQueryResult, cA as MindooDBAppQueryRow, cB as MindooDBAppQuerySortKey, cC as MindooDBAppQueryTextClause, cD as MindooDBAppReadableAttachmentStream, cE as MindooDBAppRecipientOptions, cF as MindooDBAppResolvedViewDefinition, cG as MindooDBAppResolvedViewSource, cH as MindooDBAppRevisionPhase, cI as MindooDBAppRevisionVerification, cJ as MindooDBAppRichTextBlockSpan, cK as MindooDBAppRichTextGetOptions, cL as MindooDBAppRichTextImmutableString, cM as MindooDBAppRichTextMarkRange, cN as MindooDBAppRichTextMaterializeValue, cO as MindooDBAppRichTextPatch, cP as MindooDBAppRichTextScalar, cQ as MindooDBAppRichTextSpliceStep, cR as MindooDBAppRichTextStep, cS as MindooDBAppRichTextStepPatch, cT as MindooDBAppRichTextTextSpan, cU as MindooDBAppRuntime, cV as MindooDBAppScanAttachmentOptions, cW as MindooDBAppScanAttachmentResult, cX as MindooDBAppScopedDocId, cY as MindooDBAppScopedDocumentSummary, cZ as MindooDBAppSealIntent, c_ as MindooDBAppSealedChannelOpenInput, c$ as MindooDBAppSealedChannelOpenResult, d0 as MindooDBAppSealedChannelRequestInput, d1 as MindooDBAppSession, d2 as MindooDBAppShowMenuInput, d3 as MindooDBAppShowMenuResult, d4 as MindooDBAppSignPreview, d5 as MindooDBAppSignPreviewScope, d6 as MindooDBAppSignStatementInput, d7 as MindooDBAppSignStatementResult, d8 as MindooDBAppStorageApi, d9 as MindooDBAppSummarySetup, da as MindooDBAppTextCursorOptions, db as MindooDBAppTextCursorPosition, dc as MindooDBAppTextCursorPositionsResult, dd as MindooDBAppTextCursorsResult, de as MindooDBAppTextEdit, df as MindooDBAppTextPatch, dg as MindooDBAppThemeMode, dh as MindooDBAppTimestampApi, di as MindooDBAppTimestampInput, dj as MindooDBAppTimestampProvider, dk as MindooDBAppTimestampResult, dl as MindooDBAppUiPreferences, dm as MindooDBAppUpdateDocumentInput, dn as MindooDBAppViewCursorDocumentListResult, dp as MindooDBAppViewCursorResult, dq as MindooDBAppViewEntry, dr as MindooDBAppViewEntryKind, ds as MindooDBAppViewNavigator, dt as MindooDBAppViewNavigatorExpansionState, du as MindooDBAppViewNavigatorOpenOptions, dv as MindooDBAppViewNavigatorPageOptions, dw as MindooDBAppViewNavigatorPageResult, dx as MindooDBAppViewNavigatorRangeQuery, dy as MindooDBAppViewNavigatorSelectionState, dz as MindooDBAppViewUpdateStats, dA as MindooDBAppViewport, dB as MindooDBAppWellKnownDragType, dC as MindooDBAppWritableAttachmentStream, dD as mindooDBAppAcceptMatchesType, dE as mindooDBAppComponentFieldsMatch, dF as resolveMindooDBAppDefinitionUrl, dG as resolveMindooDBAppListingAssetUrl, dH as resolveMindooDBAppLocalizedText, dI as validateMindooDBAppAccepts, dJ as validateMindooDBAppComponents, dK as validateMindooDBAppDefinition } from './types-BGLXh4JQ.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-ERxyAse_.js';
2
+ export { q as MINDOODB_APP_ACCEPTS_MAX, r as MINDOODB_APP_COMPONENTS_MAX, s as MINDOODB_APP_COMPONENT_CONTRACT_PATTERN, t as MINDOODB_APP_DEFINITION_FILE_NAME, u as MINDOODB_APP_DEFINITION_FORMAT, v as MINDOODB_APP_DEFINITION_PERMISSIONS, w as MINDOODB_APP_DEFINITION_REGISTRATION_PERMISSIONS, x as MINDOODB_APP_DEFINITION_VERSION, y as MINDOODB_APP_LISTING_DESCRIPTION_MAX, z as MINDOODB_APP_LISTING_MAX_SCREENSHOTS, A as MINDOODB_APP_LISTING_SUMMARY_MAX, B as MINDOODB_APP_SEAL_SIGNING_DOMAIN, C as MINDOODB_APP_WELL_KNOWN_DRAG_TYPES, D as MindooDBAppAcceptSpec, E as MindooDBAppAccessDecision, F as MindooDBAppAccessTier, G as MindooDBAppAgentApi, H as MindooDBAppAgentRegistration, I as MindooDBAppAgentToolAnnotations, J as MindooDBAppAgentToolDescriptor, K as MindooDBAppAgentToolScope, L as MindooDBAppAttachmentApi, N as MindooDBAppAttachmentChunk, O as MindooDBAppAttachmentInfo, P as MindooDBAppAttachmentPreviewOptions, Q as MindooDBAppAttachmentPreviewSession, R as MindooDBAppAutomergeChangesPatch, S as MindooDBAppAutomergeChangesSince, T as MindooDBAppAutomergeGetOptions, U as MindooDBAppAutomergePatchResult, V as MindooDBAppAutomergeSnapshot, W as MindooDBAppBridgeAgentInvokeMessage, X as MindooDBAppBridgeAgentResultMessage, Y as MindooDBAppBridgeBeforeCloseAck, Z as MindooDBAppBridgeBeforeCloseMessage, _ as MindooDBAppBridgeConnectMessage, $ as MindooDBAppBridgeConnectOptions, a0 as MindooDBAppBridgeConnectedMessage, a1 as MindooDBAppBridgeDragDropMessage, a2 as MindooDBAppBridgeDragLeaveMessage, a3 as MindooDBAppBridgeDragOverMessage, a4 as MindooDBAppBridgeEmbedEventMessage, a5 as MindooDBAppBridgeEmbeddingRequestMessage, a6 as MindooDBAppBridgeErrorPayload, a7 as MindooDBAppBridgeHandshakeErrorMessage, a8 as MindooDBAppBridgeHostFocusChangedMessage, a9 as MindooDBAppBridgeIncomingContentMessage, aa as MindooDBAppBridgeLocaleChangedMessage, ab as MindooDBAppBridgePortMessage, ac as MindooDBAppBridgeQueryResultMessage, ad as MindooDBAppBridgeReminderOpenedMessage, ae as MindooDBAppBridgeRpcError, af as MindooDBAppBridgeRpcMessage, ag as MindooDBAppBridgeRpcRequest, ah as MindooDBAppBridgeRpcSuccess, ai as MindooDBAppBridgeShortcutInvokedMessage, aj as MindooDBAppBridgeShortcutsChangedMessage, ak as MindooDBAppBridgeStreamAbortRequest, al as MindooDBAppBridgeStreamAck, am as MindooDBAppBridgeStreamCloseRequest, an as MindooDBAppBridgeStreamError, ao as MindooDBAppBridgeStreamMessage, ap as MindooDBAppBridgeStreamOpenResult, aq as MindooDBAppBridgeStreamReadRequest, ar as MindooDBAppBridgeStreamWriteRequest, as as MindooDBAppBridgeThemeChangedMessage, at as MindooDBAppBridgeUiPreferencesChangedMessage, au as MindooDBAppBridgeViewChangedMessage, av as MindooDBAppBridgeViewportChangedMessage, aw as MindooDBAppBridgeWorkspaceFocusRequestedMessage, ax as MindooDBAppBrowserFeatures, ay as MindooDBAppCapability, az as MindooDBAppComponentCategory, aA as MindooDBAppComponentChildren, aB as MindooDBAppComponentContract, aC as MindooDBAppComponentFieldValue, aD as MindooDBAppComponentInfo, aE as MindooDBAppComponentIntent, aF as MindooDBAppComponentQuery, aG as MindooDBAppComponentReference, aH as MindooDBAppComponentSpec, aI as MindooDBAppComponentsApi, aJ as MindooDBAppConfiguredViewCategorizationStyle, aK as MindooDBAppConfiguredViewColumn, aL as MindooDBAppConfiguredViewColumnRole, aM as MindooDBAppConfiguredViewExpressionMode, aN as MindooDBAppConfiguredViewFieldExpression, aO as MindooDBAppConfiguredViewFilterDefinition, aP as MindooDBAppConfiguredViewFilterMode, aQ as MindooDBAppConfiguredViewFilterRule, aR as MindooDBAppConfiguredViewFormulaExpression, aS as MindooDBAppConfiguredViewFormulaFilterDefinition, aT as MindooDBAppConfiguredViewPreviewMode, aU as MindooDBAppConfiguredViewRuleFilterDefinition, aV as MindooDBAppConfiguredViewRuleMatchMode, aW as MindooDBAppConfiguredViewRuleOperator, aX as MindooDBAppConfiguredViewValueExpression, aY as MindooDBAppCreateKeyInfo, aZ as MindooDBAppCreateViewInput, a_ as MindooDBAppCreateViewNavigatorInput, a$ as MindooDBAppDatabaseInfo, b0 as MindooDBAppDefinitionDatabase, b1 as MindooDBAppDefinitionListing, b2 as MindooDBAppDefinitionPermission, b3 as MindooDBAppDefinitionRegistrationPermission, b4 as MindooDBAppDefinitionScreenshot, b5 as MindooDBAppDefinitionValidation, b6 as MindooDBAppDirectoryApi, b7 as MindooDBAppDirectoryEntry, b8 as MindooDBAppDocumentApi, b9 as MindooDBAppDocumentHeadCursorResult, ba as MindooDBAppDocumentHistoryEntry, bb as MindooDBAppDocumentListQuery, bc as MindooDBAppDocumentListResult, bd as MindooDBAppDocumentQuery, be as MindooDBAppDocumentRevisionId, bf as MindooDBAppDocumentScanPreset, bg as MindooDBAppDocumentSummary, bh as MindooDBAppDragApi, bi as MindooDBAppDragCancelReason, bj as MindooDBAppDragDropEvent, bk as MindooDBAppDragEffect, bl as MindooDBAppDragHoverResult, bm as MindooDBAppDragOffer, bn as MindooDBAppDragOverEvent, bo as MindooDBAppDragPointer, bp as MindooDBAppDragProfile, bq as MindooDBAppEmbed, br as MindooDBAppEmbedAccessComponent, bs as MindooDBAppEmbedAccessInput, bt as MindooDBAppEmbedAccessPair, bu as MindooDBAppEmbedAccessResult, bv as MindooDBAppEmbedAgentTools, bw as MindooDBAppEmbedAgentToolsEvent, bx as MindooDBAppEmbedCloseReason, by as MindooDBAppEmbedClosedEvent, bz as MindooDBAppEmbedContext, bA as MindooDBAppEmbedDirtyEvent, bB as MindooDBAppEmbedOpenInput, bC as MindooDBAppEmbedRect, bD as MindooDBAppEmbeddingApi, bE as MindooDBAppEmbeddingLookupOptions, bF as MindooDBAppEmbeddingLookupResult, bG as MindooDBAppEmbedsApi, bH as MindooDBAppEntryAttachmentRef, bI as MindooDBAppEntryProvenance, bJ as MindooDBAppExtractDocumentTextInput, bK as MindooDBAppExtractDocumentTextResult, bL as MindooDBAppExtractTextFormat, bM as MindooDBAppExtractionSetup, bN as MindooDBAppFulltextSetup, bO as MindooDBAppHistoricalDocument, bP as MindooDBAppHistoryQuery, bQ as MindooDBAppHostTheme, bR as MindooDBAppIdentityApi, bS as MindooDBAppInaccessibleDocument, bT as MindooDBAppInaccessibleDocumentListQuery, bU as MindooDBAppInaccessibleDocumentListResult, bV as MindooDBAppIncomingContent, bW as MindooDBAppIncomingContentHandler, bX as MindooDBAppIncomingContentInfo, bY as MindooDBAppIncomingItem, bZ as MindooDBAppIncomingItemInfo, b_ as MindooDBAppIncomingResult, b$ as MindooDBAppIncomingSource, c0 as MindooDBAppJsonCounterIncrementPatch, c1 as MindooDBAppJsonListDeletePatch, c2 as MindooDBAppJsonListInsertPatch, c3 as MindooDBAppJsonPatch, c4 as MindooDBAppJsonSetPatch, c5 as MindooDBAppJsonTextMarkPatch, c6 as MindooDBAppJsonTextSplicePatch, c7 as MindooDBAppJsonTextUnmarkPatch, c8 as MindooDBAppJsonUnsetPatch, c9 as MindooDBAppLaunchContext, ca as MindooDBAppListUsersOptions, cb as MindooDBAppListUsersPage, cc as MindooDBAppLiveQuerySubscription, cd as MindooDBAppLocalizedText, ce as MindooDBAppMenuAnchor, cf as MindooDBAppMenuApi, cg as MindooDBAppMenuCommandItem, ch as MindooDBAppMenuDismissReason, ci as MindooDBAppMenuDismissedResult, cj as MindooDBAppMenuItem, ck as MindooDBAppMenuKind, cl as MindooDBAppMenuPlacement, cm as MindooDBAppMenuPointAnchor, cn as MindooDBAppMenuRect, co as MindooDBAppMenuRectAnchor, cp as MindooDBAppMenuSelectionResult, cq as MindooDBAppMenuSeparatorItem, cr as MindooDBAppNotificationSeverity, cs as MindooDBAppNotifyInput, ct as MindooDBAppNotifyResult, cu as MindooDBAppPdfApi, cv as MindooDBAppPdfSignInput, cw as MindooDBAppPdfSignResult, cx as MindooDBAppPdfSignaturePosition, cy as MindooDBAppPdfSigner, cz as MindooDBAppProposeAppInput, cA as MindooDBAppProposeAppResult, cB as MindooDBAppQueryCoverage, cC as MindooDBAppQueryInclude, cD as MindooDBAppQueryIncludeCardinality, cE as MindooDBAppQueryIncludeSlots, cF as MindooDBAppQueryResult, cG as MindooDBAppQueryRow, cH as MindooDBAppQuerySortKey, cI as MindooDBAppQueryTextClause, cJ as MindooDBAppReadableAttachmentStream, cK as MindooDBAppRecipientOptions, cL as MindooDBAppReminder, cM as MindooDBAppReminderOpened, cN as MindooDBAppReminderOpenedHandler, cO as MindooDBAppReminderRequest, cP as MindooDBAppReminderScheduleResult, cQ as MindooDBAppRemindersApi, cR as MindooDBAppResolvedViewDefinition, cS as MindooDBAppResolvedViewSource, cT as MindooDBAppRevisionPhase, cU as MindooDBAppRevisionVerification, cV as MindooDBAppRichTextBlockSpan, cW as MindooDBAppRichTextGetOptions, cX as MindooDBAppRichTextImmutableString, cY as MindooDBAppRichTextMarkRange, cZ as MindooDBAppRichTextMaterializeValue, c_ as MindooDBAppRichTextPatch, c$ as MindooDBAppRichTextScalar, d0 as MindooDBAppRichTextSpliceStep, d1 as MindooDBAppRichTextStep, d2 as MindooDBAppRichTextStepPatch, d3 as MindooDBAppRichTextTextSpan, d4 as MindooDBAppRuntime, d5 as MindooDBAppScanAttachmentOptions, d6 as MindooDBAppScanAttachmentResult, d7 as MindooDBAppScopedDocId, d8 as MindooDBAppScopedDocumentSummary, d9 as MindooDBAppSealIntent, da as MindooDBAppSealedChannelOpenInput, db as MindooDBAppSealedChannelOpenResult, dc as MindooDBAppSealedChannelRequestInput, dd as MindooDBAppSession, de as MindooDBAppShowMenuInput, df as MindooDBAppShowMenuResult, dg as MindooDBAppSignPreview, dh as MindooDBAppSignPreviewScope, di as MindooDBAppSignStatementInput, dj as MindooDBAppSignStatementResult, dk as MindooDBAppStorageApi, dl as MindooDBAppSummarySetup, dm as MindooDBAppTextCursorOptions, dn as MindooDBAppTextCursorPosition, dp as MindooDBAppTextCursorPositionsResult, dq as MindooDBAppTextCursorsResult, dr as MindooDBAppTextEdit, ds as MindooDBAppTextPatch, dt as MindooDBAppThemeMode, du as MindooDBAppTimestampApi, dv as MindooDBAppTimestampInput, dw as MindooDBAppTimestampProvider, dx as MindooDBAppTimestampResult, dy as MindooDBAppUiPreferences, dz as MindooDBAppUpdateDocumentInput, dA as MindooDBAppViewCursorDocumentListResult, dB as MindooDBAppViewCursorResult, dC as MindooDBAppViewEntry, dD as MindooDBAppViewEntryKind, dE as MindooDBAppViewNavigator, dF as MindooDBAppViewNavigatorExpansionState, dG as MindooDBAppViewNavigatorOpenOptions, dH as MindooDBAppViewNavigatorPageOptions, dI as MindooDBAppViewNavigatorPageResult, dJ as MindooDBAppViewNavigatorRangeQuery, dK as MindooDBAppViewNavigatorSelectionState, dL as MindooDBAppViewUpdateStats, dM as MindooDBAppViewport, dN as MindooDBAppWellKnownDragType, dO as MindooDBAppWritableAttachmentStream, dP as mindooDBAppAcceptMatchesType, dQ as mindooDBAppComponentFieldsMatch, dR as resolveMindooDBAppDefinitionUrl, dS as resolveMindooDBAppListingAssetUrl, dT as resolveMindooDBAppLocalizedText, dU as validateMindooDBAppAccepts, dV as validateMindooDBAppComponents, dW as validateMindooDBAppDefinition } from './types-ERxyAse_.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';
package/dist/index.js CHANGED
@@ -48,7 +48,7 @@ import {
48
48
  validateMindooDBAppAccepts,
49
49
  validateMindooDBAppComponents,
50
50
  validateMindooDBAppDefinition
51
- } from "./chunk-376SABPG.js";
51
+ } from "./chunk-CPLTKZS3.js";
52
52
  import {
53
53
  MINDOODB_APP_BUNDLE_ARCHIVE_FILE_NAME,
54
54
  MINDOODB_APP_BUNDLE_MANIFEST_FILE_NAME,
@@ -1,4 +1,4 @@
1
- import { aC as MindooDBAppComponentInfo, bB as MindooDBAppEmbedRect, bu as MindooDBAppEmbedAgentTools, bD as MindooDBAppEmbeddingLookupOptions, bE as MindooDBAppEmbeddingLookupResult, bs as MindooDBAppEmbedAccessPair, J as MindooDBAppAgentToolDescriptor, f as MindooDBAppAgentToolErrorCode, X as MindooDBAppBridgeAgentResultMessage, W as MindooDBAppBridgeAgentInvokeMessage, aZ as MindooDBAppCreateViewNavigatorInput, ds as MindooDBAppViewNavigator, af as MindooDBAppBridgeRpcRequest, bP as MindooDBAppHostTheme, ax as MindooDBAppCapability, dm as MindooDBAppUpdateDocumentInput, m as MindooDBAppDocument, k as MindooDBAppDefinition, L as MindooDBAppAttachmentApi, e as MindooDBAppBridge, d1 as MindooDBAppSession, ct as MindooDBAppProposeAppInput, dA as MindooDBAppViewport, dl as MindooDBAppUiPreferences, cz as MindooDBAppQueryResult, dz as MindooDBAppViewUpdateStats, ab as MindooDBAppBridgePortMessage, a_ as MindooDBAppDatabaseInfo, br as MindooDBAppEmbedAccessInput, bw as MindooDBAppEmbedCloseReason, a6 as MindooDBAppBridgeErrorPayload, c8 as MindooDBAppLaunchContext, b7 as MindooDBAppDocumentApi, du as MindooDBAppViewNavigatorOpenOptions, bQ as MindooDBAppIdentityApi, dh as MindooDBAppTimestampApi, b5 as MindooDBAppDirectoryApi, bM as MindooDBAppFulltextSetup, bL as MindooDBAppExtractionSetup, d9 as MindooDBAppSummarySetup, cu as MindooDBAppProposeAppResult, b_ as MindooDBAppIncomingSource, c as MindooDBAppDragStartResult, bo as MindooDBAppDragProfile, bZ as MindooDBAppIncomingResult } from '../types-BGLXh4JQ.js';
1
+ import { aD as MindooDBAppComponentInfo, bC as MindooDBAppEmbedRect, bv as MindooDBAppEmbedAgentTools, bE as MindooDBAppEmbeddingLookupOptions, bF as MindooDBAppEmbeddingLookupResult, bt as MindooDBAppEmbedAccessPair, J as MindooDBAppAgentToolDescriptor, f as MindooDBAppAgentToolErrorCode, X as MindooDBAppBridgeAgentResultMessage, W as MindooDBAppBridgeAgentInvokeMessage, a_ as MindooDBAppCreateViewNavigatorInput, dE as MindooDBAppViewNavigator, ag as MindooDBAppBridgeRpcRequest, bQ as MindooDBAppHostTheme, ay as MindooDBAppCapability, dz as MindooDBAppUpdateDocumentInput, m as MindooDBAppDocument, k as MindooDBAppDefinition, L as MindooDBAppAttachmentApi, e as MindooDBAppBridge, dd as MindooDBAppSession, cz as MindooDBAppProposeAppInput, dM as MindooDBAppViewport, dy as MindooDBAppUiPreferences, cF as MindooDBAppQueryResult, dL as MindooDBAppViewUpdateStats, ab as MindooDBAppBridgePortMessage, a$ as MindooDBAppDatabaseInfo, cv as MindooDBAppPdfSignInput, bs as MindooDBAppEmbedAccessInput, bx as MindooDBAppEmbedCloseReason, a6 as MindooDBAppBridgeErrorPayload, c9 as MindooDBAppLaunchContext, b8 as MindooDBAppDocumentApi, dG as MindooDBAppViewNavigatorOpenOptions, bR as MindooDBAppIdentityApi, du as MindooDBAppTimestampApi, b6 as MindooDBAppDirectoryApi, bN as MindooDBAppFulltextSetup, bM as MindooDBAppExtractionSetup, dl as MindooDBAppSummarySetup, cA as MindooDBAppProposeAppResult, b$ as MindooDBAppIncomingSource, c as MindooDBAppDragStartResult, bp as MindooDBAppDragProfile, b_ as MindooDBAppIncomingResult, cL as MindooDBAppReminder } from '../types-ERxyAse_.js';
2
2
  import * as mindoodb from 'mindoodb';
3
3
  import 'mindoodb-view-language';
4
4
 
@@ -442,6 +442,13 @@ type MockDatabaseMethods = {
442
442
  timestamps?: Partial<MindooDBAppTimestampApi>;
443
443
  directory?: Partial<MindooDBAppDirectoryApi>;
444
444
  };
445
+ /**
446
+ * What the mock answers to `session.pdf.sign`: `"signed"` (default) returns the
447
+ * bytes unchanged with a mock signer, as if the user signed — a test host has
448
+ * no certificate, and a fake signature would let a test "verify" something that
449
+ * never held. The other values answer `ok: false` with that reason.
450
+ */
451
+ type MockPdfSignOutcome = "signed" | "declined" | "unsupported" | "invalid";
445
452
  interface MockSeedDocument {
446
453
  id: string;
447
454
  data: Record<string, unknown>;
@@ -631,6 +638,17 @@ interface MockMindooDBAppSessionController {
631
638
  * and resolves with the handler's result.
632
639
  */
633
640
  emitIncomingContent(input: MockIncomingContentInput): Promise<MindooDBAppIncomingResult>;
641
+ /** Reminders the app scheduled (`session.reminders.schedule`) that were not tapped or cancelled. */
642
+ listReminders(): MindooDBAppReminder[];
643
+ /**
644
+ * As if the user tapped this reminder (`"open"`) or pressed "Done": delivered
645
+ * to `session.reminders.onOpened` (held until registered).
646
+ */
647
+ emitReminderOpened(id: string, action?: "open" | "done"): Promise<void>;
648
+ /** Every `session.pdf.sign` request so far, oldest first. */
649
+ getPdfSignRequests(): MindooDBAppPdfSignInput[];
650
+ /** What the next `session.pdf.sign` calls answer; see {@link MockPdfSignOutcome}. */
651
+ setPdfSignOutcome(outcome: MockPdfSignOutcome): void;
634
652
  /** Embeds the app has open (`session.embeds.open`). */
635
653
  listEmbeds(): MockEmbedState[];
636
654
  /** Every `session.embeds.requestAccess` input so far, oldest first. */
@@ -762,6 +780,10 @@ interface FakeBridgeHostController {
762
780
  getDirectoryUsers(): string[];
763
781
  /** See {@link MockMindooDBAppSessionController.applyRemoteUpdate}. */
764
782
  applyRemoteUpdate(databaseId: string, docId: string, input: MindooDBAppUpdateDocumentInput, options?: MockRemoteUpdateOptions): Promise<MindooDBAppDocument>;
783
+ /** Every `session.pdf.sign` request so far, oldest first. */
784
+ getPdfSignRequests(): MindooDBAppPdfSignInput[];
785
+ /** What the next `session.pdf.sign` calls answer; see {@link MockPdfSignOutcome}. */
786
+ setPdfSignOutcome(outcome: MockPdfSignOutcome): void;
765
787
  /** Embeds the app has open (`session.embeds.open`). */
766
788
  listEmbeds(): MockEmbedState[];
767
789
  /** Every `session.embeds.requestAccess` input so far, oldest first. */
@@ -796,4 +818,4 @@ interface FakeBridgeHostController {
796
818
  }
797
819
  declare function createFakeBridgeHost(options?: CreateFakeBridgeHostOptions): FakeBridgeHostController;
798
820
 
799
- export { ALL_CAPABILITIES, 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 MockRemoteUpdateOptions, type MockSealedChannelOptions, type MockSeedDocument, type MountHavenTestHostOptions, TEST_HOST_LOCALES, type TestHostUrlSettings, type TestHostUser, type TwoUserTestHost, capabilitiesForDefinitionPermissions, createBrowserTestHost, createEvaluatingViewNavigator, createFakeBridgeHost, createMemoryAttachments, createMockAgentHost, createMockMindooDBAppBridge, createMockMindooDBAppSession, generateDirectoryUsers, loadMindoodbForTesting, mockAgentToolPrefix, mockDatabasesFromDefinition, mockReplicaDifferences, modeSwitch, mountHavenTestHost, mountTwoUserTestHost, previewJson, readTestHostUrlSettings, syncMockReplicas, validateMockAgentTools };
821
+ export { ALL_CAPABILITIES, 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, capabilitiesForDefinitionPermissions, createBrowserTestHost, createEvaluatingViewNavigator, createFakeBridgeHost, createMemoryAttachments, createMockAgentHost, createMockMindooDBAppBridge, createMockMindooDBAppSession, generateDirectoryUsers, loadMindoodbForTesting, mockAgentToolPrefix, mockDatabasesFromDefinition, mockReplicaDifferences, modeSwitch, mountHavenTestHost, mountTwoUserTestHost, previewJson, readTestHostUrlSettings, syncMockReplicas, validateMockAgentTools };
@@ -4,7 +4,7 @@ import {
4
4
  mindooDBAppComponentFieldsMatch,
5
5
  pageUsers,
6
6
  releaseMindooDBAppBridgeSessions
7
- } from "../chunk-376SABPG.js";
7
+ } from "../chunk-CPLTKZS3.js";
8
8
 
9
9
  // src/testing/index.ts
10
10
  import * as Automerge from "@automerge/automerge";
@@ -5176,6 +5176,15 @@ function createDatabaseHandle(definition, peers, directoryUsers = () => [], loca
5176
5176
  }
5177
5177
  };
5178
5178
  }
5179
+ var MOCK_PDF_SIGNER = Object.freeze({
5180
+ commonName: "Test Signer",
5181
+ subject: "CN=Test Signer, O=MindooDB test host",
5182
+ issuerCommonName: "Test Signer",
5183
+ validFrom: "2026-01-01T00:00:00.000Z",
5184
+ validTo: "2036-01-01T00:00:00.000Z",
5185
+ fingerprintSha256: "0".repeat(64),
5186
+ selfSigned: true
5187
+ });
5179
5188
  function createMockSessionState(options = {}) {
5180
5189
  let launchContext = createDefaultLaunchContext(options.launchContext);
5181
5190
  const embedHost = createMockEmbedHost(
@@ -5191,6 +5200,11 @@ function createMockSessionState(options = {}) {
5191
5200
  );
5192
5201
  const themeListeners = /* @__PURE__ */ new Set();
5193
5202
  let incomingHandler = null;
5203
+ const mockReminders = /* @__PURE__ */ new Map();
5204
+ const pdfSignRequests = [];
5205
+ let pdfSignOutcome = "signed";
5206
+ let reminderHandler = null;
5207
+ const pendingReminderTaps = [];
5194
5208
  const pendingIncoming = [];
5195
5209
  let incomingCounter = 0;
5196
5210
  const hostFocusListeners = /* @__PURE__ */ new Set();
@@ -5554,6 +5568,59 @@ function createMockSessionState(options = {}) {
5554
5568
  }
5555
5569
  };
5556
5570
  },
5571
+ reminders: {
5572
+ async schedule(request) {
5573
+ const at = request.at instanceof Date ? request.at.getTime() : request.at;
5574
+ if (!request.id || !request.title || !Number.isFinite(at) || at <= Date.now()) {
5575
+ return { status: "invalid", reason: "id, title and a future time are required" };
5576
+ }
5577
+ const reminder = {
5578
+ id: request.id,
5579
+ title: request.title,
5580
+ at,
5581
+ ...request.body ? { body: request.body } : {},
5582
+ ...request.target ? { target: request.target } : {}
5583
+ };
5584
+ mockReminders.set(request.id, reminder);
5585
+ return { status: "scheduled", reminder: { ...reminder } };
5586
+ },
5587
+ async cancel(id) {
5588
+ mockReminders.delete(id);
5589
+ },
5590
+ async list() {
5591
+ return [...mockReminders.values()].sort((a, b) => a.at - b.at).map((reminder) => ({ ...reminder }));
5592
+ },
5593
+ onOpened(handler) {
5594
+ reminderHandler = handler;
5595
+ pendingReminderTaps.splice(0).forEach((opened) => void handler(opened));
5596
+ return () => {
5597
+ if (reminderHandler === handler) {
5598
+ reminderHandler = null;
5599
+ }
5600
+ };
5601
+ }
5602
+ },
5603
+ pdf: {
5604
+ async sign(input) {
5605
+ const pdf = input.pdf instanceof Uint8Array ? input.pdf : new Uint8Array(input.pdf);
5606
+ pdfSignRequests.push({ ...input, pdf: pdf.slice() });
5607
+ const header = new TextDecoder("latin1").decode(pdf.subarray(0, 1024));
5608
+ if (!header.includes("%PDF-") || pdf.byteLength > 100 * 1024 * 1024) {
5609
+ return { ok: false, reason: "invalid", message: "Not a PDF, or larger than 100 MB." };
5610
+ }
5611
+ if (pdfSignOutcome !== "signed") {
5612
+ return { ok: false, reason: pdfSignOutcome };
5613
+ }
5614
+ const signedAt = Date.now();
5615
+ return {
5616
+ ok: true,
5617
+ pdf: pdf.slice(),
5618
+ signer: { ...MOCK_PDF_SIGNER },
5619
+ ...input.timestamp === false ? {} : { timestampTime: signedAt },
5620
+ signedAt
5621
+ };
5622
+ }
5623
+ },
5557
5624
  onBeforeClose(listener) {
5558
5625
  beforeCloseListeners.add(listener);
5559
5626
  return () => {
@@ -5650,6 +5717,29 @@ function createMockSessionState(options = {}) {
5650
5717
  deliver();
5651
5718
  });
5652
5719
  },
5720
+ listReminders() {
5721
+ return [...mockReminders.values()].map((reminder) => ({ ...reminder }));
5722
+ },
5723
+ getPdfSignRequests() {
5724
+ return pdfSignRequests.map((request) => ({ ...request }));
5725
+ },
5726
+ setPdfSignOutcome(outcome) {
5727
+ pdfSignOutcome = outcome;
5728
+ },
5729
+ async emitReminderOpened(id, action = "open") {
5730
+ const reminder = mockReminders.get(id);
5731
+ const opened = {
5732
+ id,
5733
+ action,
5734
+ ...reminder?.target ? { target: reminder.target } : {}
5735
+ };
5736
+ mockReminders.delete(id);
5737
+ if (reminderHandler) {
5738
+ await reminderHandler(opened);
5739
+ } else {
5740
+ pendingReminderTaps.push(opened);
5741
+ }
5742
+ },
5653
5743
  emitThemeChange(theme) {
5654
5744
  launchContext = mergeLaunchContext(launchContext, { theme });
5655
5745
  themeListeners.forEach(
@@ -5838,6 +5928,10 @@ function createMockMindooDBAppSession(options = {}) {
5838
5928
  resolveDrag: state.resolveDrag,
5839
5929
  getDragProfile: state.getDragProfile,
5840
5930
  emitIncomingContent: state.emitIncomingContent,
5931
+ listReminders: state.listReminders,
5932
+ emitReminderOpened: state.emitReminderOpened,
5933
+ getPdfSignRequests: state.getPdfSignRequests,
5934
+ setPdfSignOutcome: state.setPdfSignOutcome,
5841
5935
  listEmbeds: () => state.embedHost.listEmbeds(),
5842
5936
  getEmbedAccessRequests: () => state.embedHost.getAccessRequests(),
5843
5937
  closeEmbed: (embedId, reason, result) => state.embedHost.closeEmbed(embedId, reason, result),
@@ -6203,6 +6297,8 @@ function createFakeBridgeHost(options = {}) {
6203
6297
  return { ok: true };
6204
6298
  case "apps.propose":
6205
6299
  return await state.session.proposeApp(params);
6300
+ case "pdf.sign":
6301
+ return await state.session.pdf.sign(params);
6206
6302
  case "documents.list":
6207
6303
  return await state.getDatabase(String(params.databaseId)).documents.list(
6208
6304
  params.query
@@ -6793,6 +6889,8 @@ function createFakeBridgeHost(options = {}) {
6793
6889
  setDirectoryUsers: state.setDirectoryUsers,
6794
6890
  getDirectoryUsers: state.getDirectoryUsers,
6795
6891
  applyRemoteUpdate: state.applyRemoteUpdate,
6892
+ getPdfSignRequests: state.getPdfSignRequests,
6893
+ setPdfSignOutcome: state.setPdfSignOutcome,
6796
6894
  listEmbeds: () => state.embedHost.listEmbeds(),
6797
6895
  getEmbedAccessRequests: () => state.embedHost.getAccessRequests(),
6798
6896
  closeEmbed: (embedId, reason, result) => state.embedHost.closeEmbed(embedId, reason, result),
@@ -1638,6 +1638,168 @@ interface MindooDBAppBridgeIncomingContentMessage {
1638
1638
  kind: "incoming-content";
1639
1639
  content: MindooDBAppIncomingContentInfo;
1640
1640
  }
1641
+ /**
1642
+ * A reminder an app asks Haven to show as a notification at `at` (native
1643
+ * app only). Haven decides: the user allows reminders per app once, sees
1644
+ * them in Haven's settings and can remove them there.
1645
+ */
1646
+ interface MindooDBAppReminderRequest {
1647
+ /** The app's own id for the reminder; scheduling the same id again replaces it. Max. 100 characters. */
1648
+ id: string;
1649
+ /** Short title, max. 120 characters. Shown with the app's name; lock screens hide it. */
1650
+ title: string;
1651
+ /** Optional detail, max. 300 characters. */
1652
+ body?: string;
1653
+ /** When to show it: epoch milliseconds or a Date, in the future, at most one year ahead. */
1654
+ at: number | Date;
1655
+ /**
1656
+ * Handed back in {@link MindooDBAppReminderOpened.target} when the user taps
1657
+ * the reminder, e.g. a document id. Max. 500 characters. Do not put secrets
1658
+ * here: Haven keeps it outside the encrypted databases.
1659
+ */
1660
+ target?: string;
1661
+ }
1662
+ /** A reminder as Haven holds it for this app. */
1663
+ interface MindooDBAppReminder {
1664
+ id: string;
1665
+ title: string;
1666
+ body?: string;
1667
+ /** Epoch milliseconds. */
1668
+ at: number;
1669
+ target?: string;
1670
+ }
1671
+ /**
1672
+ * What became of a request. `denied`: the user (or the system permission)
1673
+ * does not allow reminders for this app; `unsupported`: the host has no
1674
+ * notifications (browser, older app version); `invalid`: the request broke a
1675
+ * limit (`reason` says which).
1676
+ */
1677
+ type MindooDBAppReminderScheduleResult = {
1678
+ status: "scheduled";
1679
+ reminder: MindooDBAppReminder;
1680
+ } | {
1681
+ status: "denied" | "unsupported" | "invalid";
1682
+ reason?: string;
1683
+ };
1684
+ /** The user tapped one of this app's reminders, or one of its actions. */
1685
+ interface MindooDBAppReminderOpened {
1686
+ id: string;
1687
+ target?: string;
1688
+ /**
1689
+ * `"open"`: the notification itself was tapped (Haven started or focused the
1690
+ * app for it). `"done"`: the user pressed "Done" in the notification; the
1691
+ * app hears about it the next time it runs and should mark the item done
1692
+ * itself, Haven writes nothing on its behalf. ("In 1 hour" is handled by
1693
+ * Haven alone: the reminder simply comes back an hour later.)
1694
+ */
1695
+ action: "open" | "done";
1696
+ }
1697
+ type MindooDBAppReminderOpenedHandler = (opened: MindooDBAppReminderOpened) => void | Promise<void>;
1698
+ /** `session.reminders`: notifications at a time the app chooses (Haven's native app). */
1699
+ interface MindooDBAppRemindersApi {
1700
+ /**
1701
+ * Asks Haven to show a reminder. The first request of an app asks the user
1702
+ * whether the app may send reminders at all.
1703
+ */
1704
+ schedule(request: MindooDBAppReminderRequest): Promise<MindooDBAppReminderScheduleResult>;
1705
+ /** Removes a reminder of this app; unknown ids are ignored. */
1706
+ cancel(id: string): Promise<void>;
1707
+ /** This app's reminders that have not fired yet, earliest first. */
1708
+ list(): Promise<MindooDBAppReminder[]>;
1709
+ /**
1710
+ * Called when the user taps one of this app's reminders. Haven starts or
1711
+ * focuses the app and delivers taps once a handler is registered, also
1712
+ * those from before the app was running. Returns an unsubscribe function.
1713
+ */
1714
+ onOpened(handler: MindooDBAppReminderOpenedHandler): () => void;
1715
+ }
1716
+ /** Push message: a reminder of this app was tapped. */
1717
+ interface MindooDBAppBridgeReminderOpenedMessage {
1718
+ protocol: "mindoodb-app-bridge";
1719
+ kind: "reminder-opened";
1720
+ reminder: MindooDBAppReminderOpened;
1721
+ }
1722
+ /** Corner of the page for a visible signature stamp, as the viewer displays the page. */
1723
+ type MindooDBAppPdfSignaturePosition = "top-left" | "top-right" | "bottom-left" | "bottom-right";
1724
+ /**
1725
+ * Request to sign a PDF with an X.509 certificate the user picks in Haven.
1726
+ *
1727
+ * The app hands over finished PDF bytes; Haven asks the user for a PKCS#12
1728
+ * file (`.p12`/`.pfx`) and its password, shows who the certificate belongs to,
1729
+ * signs and returns the signed bytes. The certificate, password and private
1730
+ * key never reach the app, and Haven keeps none of them after the dialog.
1731
+ */
1732
+ interface MindooDBAppPdfSignInput {
1733
+ /** The complete PDF, e.g. the result of pdf-lib's `save()`. Max. 100 MB. */
1734
+ pdf: Uint8Array;
1735
+ /** Shown in the dialog so the user knows what they sign, e.g. `"Site survey.pdf"`. */
1736
+ fileName?: string;
1737
+ /** Stored in the signature (`/Reason`), e.g. "Approved". Max. 200 characters. */
1738
+ reason?: string;
1739
+ /** Stored in the signature (`/Location`). Max. 200 characters. */
1740
+ location?: string;
1741
+ /** Stored in the signature (`/ContactInfo`). Max. 200 characters. */
1742
+ contactInfo?: string;
1743
+ /**
1744
+ * Proposes a visible stamp (signer name, date, reason) on one page. The user
1745
+ * can turn it off. Omit or pass `false` for a signature that only appears in
1746
+ * the viewer's signature panel.
1747
+ */
1748
+ visibleSignature?: false | {
1749
+ /** Zero-based. @defaultValue 0 */
1750
+ pageIndex?: number;
1751
+ /** @defaultValue "bottom-right" */
1752
+ position?: MindooDBAppPdfSignaturePosition;
1753
+ };
1754
+ /**
1755
+ * Proposes an RFC 3161 timestamp from a trusted authority (PAdES-B-T), so the
1756
+ * signing time is evidence rather than the device's clock. The user can turn
1757
+ * it off. @defaultValue true
1758
+ */
1759
+ timestamp?: boolean;
1760
+ }
1761
+ /** The certificate a PDF was signed with, for display. */
1762
+ interface MindooDBAppPdfSigner {
1763
+ commonName: string;
1764
+ /** Subject as `CN=…, O=…, C=…`. */
1765
+ subject: string;
1766
+ issuerCommonName: string;
1767
+ /** ISO 8601. */
1768
+ validFrom: string;
1769
+ validTo: string;
1770
+ /** Lower-case hex SHA-256 of the certificate. */
1771
+ fingerprintSha256: string;
1772
+ selfSigned: boolean;
1773
+ }
1774
+ /**
1775
+ * Outcome of {@link MindooDBAppPdfApi.sign}. Declining is an ordinary outcome:
1776
+ * `declined` when the user cancelled, `unsupported` when the host cannot sign
1777
+ * PDFs (older Haven), `invalid` when the request broke a limit or the bytes are
1778
+ * not a signable PDF (`message` says which).
1779
+ */
1780
+ type MindooDBAppPdfSignResult = {
1781
+ ok: true;
1782
+ /** The original bytes followed by one signature revision (incremental update). */
1783
+ pdf: Uint8Array;
1784
+ signer: MindooDBAppPdfSigner;
1785
+ /** Time from the timestamp authority, epoch ms, when the user kept the timestamp. */
1786
+ timestampTime?: number;
1787
+ /** Client wall-clock at signing. Not evidence — the timestamp is. */
1788
+ signedAt: number;
1789
+ } | {
1790
+ ok: false;
1791
+ reason: "declined" | "unsupported" | "invalid";
1792
+ message?: string;
1793
+ };
1794
+ /** `session.pdf`: PDF services that need the user, performed by Haven. */
1795
+ interface MindooDBAppPdfApi {
1796
+ /**
1797
+ * Sign a PDF with a certificate the user chooses (PAdES, recognised by Adobe
1798
+ * Acrobat and other readers). Opens a Haven dialog; resolves once the user
1799
+ * signed or cancelled.
1800
+ */
1801
+ sign(input: MindooDBAppPdfSignInput): Promise<MindooDBAppPdfSignResult>;
1802
+ }
1641
1803
  /** A component another app offers, as `session.components.list` returns it. */
1642
1804
  interface MindooDBAppComponentInfo {
1643
1805
  /** Opaque key for `session.embeds.open`. */
@@ -1923,7 +2085,7 @@ interface MindooDBAppBridgeEmbedEventMessage {
1923
2085
  type: "agentTools";
1924
2086
  } & MindooDBAppEmbedAgentToolsEvent);
1925
2087
  }
1926
- type MindooDBAppBridgePortMessage = MindooDBAppBridgeRpcMessage | MindooDBAppBridgeStreamMessage | MindooDBAppBridgeThemeChangedMessage | MindooDBAppBridgeViewportChangedMessage | MindooDBAppBridgeUiPreferencesChangedMessage | MindooDBAppBridgeLocaleChangedMessage | MindooDBAppBridgeQueryResultMessage | MindooDBAppBridgeViewChangedMessage | MindooDBAppBridgeBeforeCloseMessage | MindooDBAppBridgeBeforeCloseAck | MindooDBAppBridgeShortcutsChangedMessage | MindooDBAppBridgeShortcutInvokedMessage | MindooDBAppBridgeWorkspaceFocusRequestedMessage | MindooDBAppBridgeHostFocusChangedMessage | MindooDBAppBridgeAgentInvokeMessage | MindooDBAppBridgeAgentResultMessage | MindooDBAppBridgeDragOverMessage | MindooDBAppBridgeDragLeaveMessage | MindooDBAppBridgeDragDropMessage | MindooDBAppBridgeIncomingContentMessage | MindooDBAppBridgeEmbedEventMessage | MindooDBAppBridgeEmbeddingRequestMessage;
2088
+ type MindooDBAppBridgePortMessage = MindooDBAppBridgeRpcMessage | MindooDBAppBridgeStreamMessage | MindooDBAppBridgeThemeChangedMessage | MindooDBAppBridgeViewportChangedMessage | MindooDBAppBridgeUiPreferencesChangedMessage | MindooDBAppBridgeLocaleChangedMessage | MindooDBAppBridgeQueryResultMessage | MindooDBAppBridgeViewChangedMessage | MindooDBAppBridgeBeforeCloseMessage | MindooDBAppBridgeBeforeCloseAck | MindooDBAppBridgeShortcutsChangedMessage | MindooDBAppBridgeShortcutInvokedMessage | MindooDBAppBridgeWorkspaceFocusRequestedMessage | MindooDBAppBridgeHostFocusChangedMessage | MindooDBAppBridgeAgentInvokeMessage | MindooDBAppBridgeAgentResultMessage | MindooDBAppBridgeDragOverMessage | MindooDBAppBridgeDragLeaveMessage | MindooDBAppBridgeDragDropMessage | MindooDBAppBridgeIncomingContentMessage | MindooDBAppBridgeReminderOpenedMessage | MindooDBAppBridgeEmbedEventMessage | MindooDBAppBridgeEmbeddingRequestMessage;
1927
2089
  /** Placement hint for a host-rendered overlay menu. */
1928
2090
  type MindooDBAppMenuPlacement = "auto" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "right-start" | "left-start";
1929
2091
  /** Semantic hint allowing Haven to tune menu behavior or styling. */
@@ -3565,6 +3727,13 @@ interface MindooDBAppSession {
3565
3727
  * Returns an unsubscribe function.
3566
3728
  */
3567
3729
  onIncomingContent(handler: MindooDBAppIncomingContentHandler): () => void;
3730
+ /**
3731
+ * Reminders as local notifications (Haven's native app; `unsupported`
3732
+ * elsewhere). See {@link MindooDBAppRemindersApi}.
3733
+ */
3734
+ reminders: MindooDBAppRemindersApi;
3735
+ /** PDF services that need the user, such as signing with a certificate. */
3736
+ pdf: MindooDBAppPdfApi;
3568
3737
  /**
3569
3738
  * Run work before the host tears this launch down, e.g. flushing buffered writes.
3570
3739
  *
@@ -3627,4 +3796,4 @@ interface MindooDBAppBridge {
3627
3796
  connect(options?: MindooDBAppBridgeConnectOptions): Promise<MindooDBAppSession>;
3628
3797
  }
3629
3798
 
3630
- export { type MindooDBAppBridgeConnectOptions as $, MINDOODB_APP_LISTING_SUMMARY_MAX as A, MINDOODB_APP_SEAL_SIGNING_DOMAIN as B, MINDOODB_APP_WELL_KNOWN_DRAG_TYPES as C, type MindooDBAppAcceptSpec as D, type MindooDBAppAccessDecision as E, type MindooDBAppAccessTier as F, type MindooDBAppAgentApi as G, type MindooDBAppAgentRegistration as H, type MindooDBAppAgentToolAnnotations as I, type MindooDBAppAgentToolDescriptor as J, type MindooDBAppAgentToolScope as K, type MindooDBAppAttachmentApi as L, type MindooDBAppAttachmentPreviewMode as M, type MindooDBAppAttachmentChunk as N, type MindooDBAppAttachmentInfo as O, type MindooDBAppAttachmentPreviewOptions as P, type MindooDBAppAttachmentPreviewSession as Q, type MindooDBAppAutomergeChangesPatch as R, type MindooDBAppAutomergeChangesSince as S, type MindooDBAppAutomergeGetOptions as T, type MindooDBAppAutomergePatchResult as U, type MindooDBAppAutomergeSnapshot as V, type MindooDBAppBridgeAgentInvokeMessage as W, type MindooDBAppBridgeAgentResultMessage as X, type MindooDBAppBridgeBeforeCloseAck as Y, type MindooDBAppBridgeBeforeCloseMessage as Z, type MindooDBAppBridgeConnectMessage as _, type MindooDBAppDragBindSourceOptions as a, type MindooDBAppDefinitionDatabase as a$, type MindooDBAppBridgeConnectedMessage as a0, type MindooDBAppBridgeDragDropMessage as a1, type MindooDBAppBridgeDragLeaveMessage as a2, type MindooDBAppBridgeDragOverMessage as a3, type MindooDBAppBridgeEmbedEventMessage as a4, type MindooDBAppBridgeEmbeddingRequestMessage as a5, type MindooDBAppBridgeErrorPayload as a6, type MindooDBAppBridgeHandshakeErrorMessage as a7, type MindooDBAppBridgeHostFocusChangedMessage as a8, type MindooDBAppBridgeIncomingContentMessage as a9, type MindooDBAppComponentContract as aA, type MindooDBAppComponentFieldValue as aB, type MindooDBAppComponentInfo as aC, type MindooDBAppComponentIntent as aD, type MindooDBAppComponentQuery as aE, type MindooDBAppComponentReference as aF, type MindooDBAppComponentSpec as aG, type MindooDBAppComponentsApi as aH, type MindooDBAppConfiguredViewCategorizationStyle as aI, type MindooDBAppConfiguredViewColumn as aJ, type MindooDBAppConfiguredViewColumnRole as aK, type MindooDBAppConfiguredViewExpressionMode as aL, type MindooDBAppConfiguredViewFieldExpression as aM, type MindooDBAppConfiguredViewFilterDefinition as aN, type MindooDBAppConfiguredViewFilterMode as aO, type MindooDBAppConfiguredViewFilterRule as aP, type MindooDBAppConfiguredViewFormulaExpression as aQ, type MindooDBAppConfiguredViewFormulaFilterDefinition as aR, type MindooDBAppConfiguredViewPreviewMode as aS, type MindooDBAppConfiguredViewRuleFilterDefinition as aT, type MindooDBAppConfiguredViewRuleMatchMode as aU, type MindooDBAppConfiguredViewRuleOperator as aV, type MindooDBAppConfiguredViewValueExpression as aW, type MindooDBAppCreateKeyInfo as aX, type MindooDBAppCreateViewInput as aY, type MindooDBAppCreateViewNavigatorInput as aZ, type MindooDBAppDatabaseInfo as a_, type MindooDBAppBridgeLocaleChangedMessage as aa, type MindooDBAppBridgePortMessage as ab, type MindooDBAppBridgeQueryResultMessage as ac, type MindooDBAppBridgeRpcError as ad, type MindooDBAppBridgeRpcMessage as ae, type MindooDBAppBridgeRpcRequest as af, type MindooDBAppBridgeRpcSuccess as ag, type MindooDBAppBridgeShortcutInvokedMessage as ah, type MindooDBAppBridgeShortcutsChangedMessage as ai, type MindooDBAppBridgeStreamAbortRequest as aj, type MindooDBAppBridgeStreamAck as ak, type MindooDBAppBridgeStreamCloseRequest as al, type MindooDBAppBridgeStreamError as am, type MindooDBAppBridgeStreamMessage as an, type MindooDBAppBridgeStreamOpenResult as ao, type MindooDBAppBridgeStreamReadRequest as ap, type MindooDBAppBridgeStreamWriteRequest as aq, type MindooDBAppBridgeThemeChangedMessage as ar, type MindooDBAppBridgeUiPreferencesChangedMessage as as, type MindooDBAppBridgeViewChangedMessage as at, type MindooDBAppBridgeViewportChangedMessage as au, type MindooDBAppBridgeWorkspaceFocusRequestedMessage as av, type MindooDBAppBrowserFeatures as aw, type MindooDBAppCapability as ax, type MindooDBAppComponentCategory as ay, type MindooDBAppComponentChildren as az, type MindooDBAppDragStartInput as b, type MindooDBAppJsonCounterIncrementPatch as b$, type MindooDBAppDefinitionListing as b0, type MindooDBAppDefinitionPermission as b1, type MindooDBAppDefinitionRegistrationPermission as b2, type MindooDBAppDefinitionScreenshot as b3, type MindooDBAppDefinitionValidation as b4, type MindooDBAppDirectoryApi as b5, type MindooDBAppDirectoryEntry as b6, type MindooDBAppDocumentApi as b7, type MindooDBAppDocumentHeadCursorResult as b8, type MindooDBAppDocumentHistoryEntry as b9, type MindooDBAppEmbedOpenInput as bA, type MindooDBAppEmbedRect as bB, type MindooDBAppEmbeddingApi as bC, type MindooDBAppEmbeddingLookupOptions as bD, type MindooDBAppEmbeddingLookupResult as bE, type MindooDBAppEmbedsApi as bF, type MindooDBAppEntryAttachmentRef as bG, type MindooDBAppEntryProvenance as bH, type MindooDBAppExtractDocumentTextInput as bI, type MindooDBAppExtractDocumentTextResult as bJ, type MindooDBAppExtractTextFormat as bK, type MindooDBAppExtractionSetup as bL, type MindooDBAppFulltextSetup as bM, type MindooDBAppHistoricalDocument as bN, type MindooDBAppHistoryQuery as bO, type MindooDBAppHostTheme as bP, type MindooDBAppIdentityApi as bQ, type MindooDBAppInaccessibleDocument as bR, type MindooDBAppInaccessibleDocumentListQuery as bS, type MindooDBAppInaccessibleDocumentListResult as bT, type MindooDBAppIncomingContent as bU, type MindooDBAppIncomingContentHandler as bV, type MindooDBAppIncomingContentInfo as bW, type MindooDBAppIncomingItem as bX, type MindooDBAppIncomingItemInfo as bY, type MindooDBAppIncomingResult as bZ, type MindooDBAppIncomingSource as b_, type MindooDBAppDocumentListQuery as ba, type MindooDBAppDocumentListResult as bb, type MindooDBAppDocumentQuery as bc, type MindooDBAppDocumentRevisionId as bd, type MindooDBAppDocumentScanPreset as be, type MindooDBAppDocumentSummary as bf, type MindooDBAppDragApi as bg, type MindooDBAppDragCancelReason as bh, type MindooDBAppDragDropEvent as bi, type MindooDBAppDragEffect as bj, type MindooDBAppDragHoverResult as bk, type MindooDBAppDragOffer as bl, type MindooDBAppDragOverEvent as bm, type MindooDBAppDragPointer as bn, type MindooDBAppDragProfile as bo, type MindooDBAppEmbed as bp, type MindooDBAppEmbedAccessComponent as bq, type MindooDBAppEmbedAccessInput as br, type MindooDBAppEmbedAccessPair as bs, type MindooDBAppEmbedAccessResult as bt, type MindooDBAppEmbedAgentTools as bu, type MindooDBAppEmbedAgentToolsEvent as bv, type MindooDBAppEmbedCloseReason as bw, type MindooDBAppEmbedClosedEvent as bx, type MindooDBAppEmbedContext as by, type MindooDBAppEmbedDirtyEvent as bz, type MindooDBAppDragStartResult as c, type MindooDBAppSealedChannelOpenResult as c$, type MindooDBAppJsonListDeletePatch as c0, type MindooDBAppJsonListInsertPatch as c1, type MindooDBAppJsonPatch as c2, type MindooDBAppJsonSetPatch as c3, type MindooDBAppJsonTextMarkPatch as c4, type MindooDBAppJsonTextSplicePatch as c5, type MindooDBAppJsonTextUnmarkPatch as c6, type MindooDBAppJsonUnsetPatch as c7, type MindooDBAppLaunchContext as c8, type MindooDBAppListUsersOptions as c9, type MindooDBAppQueryRow as cA, type MindooDBAppQuerySortKey as cB, type MindooDBAppQueryTextClause as cC, type MindooDBAppReadableAttachmentStream as cD, type MindooDBAppRecipientOptions as cE, type MindooDBAppResolvedViewDefinition as cF, type MindooDBAppResolvedViewSource as cG, type MindooDBAppRevisionPhase as cH, type MindooDBAppRevisionVerification as cI, type MindooDBAppRichTextBlockSpan as cJ, type MindooDBAppRichTextGetOptions as cK, type MindooDBAppRichTextImmutableString as cL, type MindooDBAppRichTextMarkRange as cM, type MindooDBAppRichTextMaterializeValue as cN, type MindooDBAppRichTextPatch as cO, type MindooDBAppRichTextScalar as cP, type MindooDBAppRichTextSpliceStep as cQ, type MindooDBAppRichTextStep as cR, type MindooDBAppRichTextStepPatch as cS, type MindooDBAppRichTextTextSpan as cT, type MindooDBAppRuntime as cU, type MindooDBAppScanAttachmentOptions as cV, type MindooDBAppScanAttachmentResult as cW, type MindooDBAppScopedDocId as cX, type MindooDBAppScopedDocumentSummary as cY, type MindooDBAppSealIntent as cZ, type MindooDBAppSealedChannelOpenInput as c_, type MindooDBAppListUsersPage as ca, type MindooDBAppLiveQuerySubscription as cb, type MindooDBAppLocalizedText as cc, type MindooDBAppMenuAnchor as cd, type MindooDBAppMenuApi as ce, type MindooDBAppMenuCommandItem as cf, type MindooDBAppMenuDismissReason as cg, type MindooDBAppMenuDismissedResult as ch, type MindooDBAppMenuItem as ci, type MindooDBAppMenuKind as cj, type MindooDBAppMenuPlacement as ck, type MindooDBAppMenuPointAnchor as cl, type MindooDBAppMenuRect as cm, type MindooDBAppMenuRectAnchor as cn, type MindooDBAppMenuSelectionResult as co, type MindooDBAppMenuSeparatorItem as cp, type MindooDBAppNotificationSeverity as cq, type MindooDBAppNotifyInput as cr, type MindooDBAppNotifyResult as cs, type MindooDBAppProposeAppInput as ct, type MindooDBAppProposeAppResult as cu, type MindooDBAppQueryCoverage as cv, type MindooDBAppQueryInclude as cw, type MindooDBAppQueryIncludeCardinality as cx, type MindooDBAppQueryIncludeSlots as cy, type MindooDBAppQueryResult as cz, type MindooDBAppDragPreview as d, type MindooDBAppSealedChannelRequestInput as d0, type MindooDBAppSession as d1, type MindooDBAppShowMenuInput as d2, type MindooDBAppShowMenuResult as d3, type MindooDBAppSignPreview as d4, type MindooDBAppSignPreviewScope as d5, type MindooDBAppSignStatementInput as d6, type MindooDBAppSignStatementResult as d7, type MindooDBAppStorageApi as d8, type MindooDBAppSummarySetup as d9, type MindooDBAppViewport as dA, type MindooDBAppWellKnownDragType as dB, type MindooDBAppWritableAttachmentStream as dC, mindooDBAppAcceptMatchesType as dD, mindooDBAppComponentFieldsMatch as dE, resolveMindooDBAppDefinitionUrl as dF, resolveMindooDBAppListingAssetUrl as dG, resolveMindooDBAppLocalizedText as dH, validateMindooDBAppAccepts as dI, validateMindooDBAppComponents as dJ, validateMindooDBAppDefinition as dK, type MindooDBAppTextCursorOptions as da, type MindooDBAppTextCursorPosition as db, type MindooDBAppTextCursorPositionsResult as dc, type MindooDBAppTextCursorsResult as dd, type MindooDBAppTextEdit as de, type MindooDBAppTextPatch as df, type MindooDBAppThemeMode as dg, type MindooDBAppTimestampApi as dh, type MindooDBAppTimestampInput as di, type MindooDBAppTimestampProvider as dj, type MindooDBAppTimestampResult as dk, type MindooDBAppUiPreferences as dl, type MindooDBAppUpdateDocumentInput as dm, type MindooDBAppViewCursorDocumentListResult as dn, type MindooDBAppViewCursorResult as dp, type MindooDBAppViewEntry as dq, type MindooDBAppViewEntryKind as dr, type MindooDBAppViewNavigator as ds, type MindooDBAppViewNavigatorExpansionState as dt, type MindooDBAppViewNavigatorOpenOptions as du, type MindooDBAppViewNavigatorPageOptions as dv, type MindooDBAppViewNavigatorPageResult as dw, type MindooDBAppViewNavigatorRangeQuery as dx, type MindooDBAppViewNavigatorSelectionState as dy, type MindooDBAppViewUpdateStats as dz, type MindooDBAppBridge as e, type MindooDBAppAgentToolErrorCode as f, type MindooDBAppAgentTool as g, type MindooDBAppHostShortcutBinding as h, type MindooDBAppHostShortcutAction as i, type MindooDBAppHostingMode as j, type MindooDBAppDefinition as k, type MindooDBAppDatabase as l, type MindooDBAppDocument as m, type MindooDBAppRichTextSpan as n, type MindooDBAppRichTextSnapshot as o, type MindooDBAppCreateDocumentInput as p, MINDOODB_APP_ACCEPTS_MAX as q, MINDOODB_APP_COMPONENTS_MAX as r, MINDOODB_APP_COMPONENT_CONTRACT_PATTERN as s, MINDOODB_APP_DEFINITION_FILE_NAME as t, MINDOODB_APP_DEFINITION_FORMAT as u, MINDOODB_APP_DEFINITION_PERMISSIONS as v, MINDOODB_APP_DEFINITION_REGISTRATION_PERMISSIONS as w, MINDOODB_APP_DEFINITION_VERSION as x, MINDOODB_APP_LISTING_DESCRIPTION_MAX as y, MINDOODB_APP_LISTING_MAX_SCREENSHOTS as z };
3799
+ export { type MindooDBAppBridgeConnectOptions as $, MINDOODB_APP_LISTING_SUMMARY_MAX as A, MINDOODB_APP_SEAL_SIGNING_DOMAIN as B, MINDOODB_APP_WELL_KNOWN_DRAG_TYPES as C, type MindooDBAppAcceptSpec as D, type MindooDBAppAccessDecision as E, type MindooDBAppAccessTier as F, type MindooDBAppAgentApi as G, type MindooDBAppAgentRegistration as H, type MindooDBAppAgentToolAnnotations as I, type MindooDBAppAgentToolDescriptor as J, type MindooDBAppAgentToolScope as K, type MindooDBAppAttachmentApi as L, type MindooDBAppAttachmentPreviewMode as M, type MindooDBAppAttachmentChunk as N, type MindooDBAppAttachmentInfo as O, type MindooDBAppAttachmentPreviewOptions as P, type MindooDBAppAttachmentPreviewSession as Q, type MindooDBAppAutomergeChangesPatch as R, type MindooDBAppAutomergeChangesSince as S, type MindooDBAppAutomergeGetOptions as T, type MindooDBAppAutomergePatchResult as U, type MindooDBAppAutomergeSnapshot as V, type MindooDBAppBridgeAgentInvokeMessage as W, type MindooDBAppBridgeAgentResultMessage as X, type MindooDBAppBridgeBeforeCloseAck as Y, type MindooDBAppBridgeBeforeCloseMessage as Z, type MindooDBAppBridgeConnectMessage as _, type MindooDBAppDragBindSourceOptions as a, type MindooDBAppDatabaseInfo as a$, type MindooDBAppBridgeConnectedMessage as a0, type MindooDBAppBridgeDragDropMessage as a1, type MindooDBAppBridgeDragLeaveMessage as a2, type MindooDBAppBridgeDragOverMessage as a3, type MindooDBAppBridgeEmbedEventMessage as a4, type MindooDBAppBridgeEmbeddingRequestMessage as a5, type MindooDBAppBridgeErrorPayload as a6, type MindooDBAppBridgeHandshakeErrorMessage as a7, type MindooDBAppBridgeHostFocusChangedMessage as a8, type MindooDBAppBridgeIncomingContentMessage as a9, type MindooDBAppComponentChildren as aA, type MindooDBAppComponentContract as aB, type MindooDBAppComponentFieldValue as aC, type MindooDBAppComponentInfo as aD, type MindooDBAppComponentIntent as aE, type MindooDBAppComponentQuery as aF, type MindooDBAppComponentReference as aG, type MindooDBAppComponentSpec as aH, type MindooDBAppComponentsApi as aI, type MindooDBAppConfiguredViewCategorizationStyle as aJ, type MindooDBAppConfiguredViewColumn as aK, type MindooDBAppConfiguredViewColumnRole as aL, type MindooDBAppConfiguredViewExpressionMode as aM, type MindooDBAppConfiguredViewFieldExpression as aN, type MindooDBAppConfiguredViewFilterDefinition as aO, type MindooDBAppConfiguredViewFilterMode as aP, type MindooDBAppConfiguredViewFilterRule as aQ, type MindooDBAppConfiguredViewFormulaExpression as aR, type MindooDBAppConfiguredViewFormulaFilterDefinition as aS, type MindooDBAppConfiguredViewPreviewMode as aT, type MindooDBAppConfiguredViewRuleFilterDefinition as aU, type MindooDBAppConfiguredViewRuleMatchMode as aV, type MindooDBAppConfiguredViewRuleOperator as aW, type MindooDBAppConfiguredViewValueExpression as aX, type MindooDBAppCreateKeyInfo as aY, type MindooDBAppCreateViewInput as aZ, type MindooDBAppCreateViewNavigatorInput as a_, type MindooDBAppBridgeLocaleChangedMessage as aa, type MindooDBAppBridgePortMessage as ab, type MindooDBAppBridgeQueryResultMessage as ac, type MindooDBAppBridgeReminderOpenedMessage as ad, type MindooDBAppBridgeRpcError as ae, type MindooDBAppBridgeRpcMessage as af, type MindooDBAppBridgeRpcRequest as ag, type MindooDBAppBridgeRpcSuccess as ah, type MindooDBAppBridgeShortcutInvokedMessage as ai, type MindooDBAppBridgeShortcutsChangedMessage as aj, type MindooDBAppBridgeStreamAbortRequest as ak, type MindooDBAppBridgeStreamAck as al, type MindooDBAppBridgeStreamCloseRequest as am, type MindooDBAppBridgeStreamError as an, type MindooDBAppBridgeStreamMessage as ao, type MindooDBAppBridgeStreamOpenResult as ap, type MindooDBAppBridgeStreamReadRequest as aq, type MindooDBAppBridgeStreamWriteRequest as ar, type MindooDBAppBridgeThemeChangedMessage as as, type MindooDBAppBridgeUiPreferencesChangedMessage as at, type MindooDBAppBridgeViewChangedMessage as au, type MindooDBAppBridgeViewportChangedMessage as av, type MindooDBAppBridgeWorkspaceFocusRequestedMessage as aw, type MindooDBAppBrowserFeatures as ax, type MindooDBAppCapability as ay, type MindooDBAppComponentCategory as az, type MindooDBAppDragStartInput as b, type MindooDBAppIncomingSource as b$, type MindooDBAppDefinitionDatabase as b0, type MindooDBAppDefinitionListing as b1, type MindooDBAppDefinitionPermission as b2, type MindooDBAppDefinitionRegistrationPermission as b3, type MindooDBAppDefinitionScreenshot as b4, type MindooDBAppDefinitionValidation as b5, type MindooDBAppDirectoryApi as b6, type MindooDBAppDirectoryEntry as b7, type MindooDBAppDocumentApi as b8, type MindooDBAppDocumentHeadCursorResult as b9, type MindooDBAppEmbedDirtyEvent as bA, type MindooDBAppEmbedOpenInput as bB, type MindooDBAppEmbedRect as bC, type MindooDBAppEmbeddingApi as bD, type MindooDBAppEmbeddingLookupOptions as bE, type MindooDBAppEmbeddingLookupResult as bF, type MindooDBAppEmbedsApi as bG, type MindooDBAppEntryAttachmentRef as bH, type MindooDBAppEntryProvenance as bI, type MindooDBAppExtractDocumentTextInput as bJ, type MindooDBAppExtractDocumentTextResult as bK, type MindooDBAppExtractTextFormat as bL, type MindooDBAppExtractionSetup as bM, type MindooDBAppFulltextSetup as bN, type MindooDBAppHistoricalDocument as bO, type MindooDBAppHistoryQuery as bP, type MindooDBAppHostTheme as bQ, type MindooDBAppIdentityApi as bR, type MindooDBAppInaccessibleDocument as bS, type MindooDBAppInaccessibleDocumentListQuery as bT, type MindooDBAppInaccessibleDocumentListResult as bU, type MindooDBAppIncomingContent as bV, type MindooDBAppIncomingContentHandler as bW, type MindooDBAppIncomingContentInfo as bX, type MindooDBAppIncomingItem as bY, type MindooDBAppIncomingItemInfo as bZ, type MindooDBAppIncomingResult as b_, type MindooDBAppDocumentHistoryEntry as ba, type MindooDBAppDocumentListQuery as bb, type MindooDBAppDocumentListResult as bc, type MindooDBAppDocumentQuery as bd, type MindooDBAppDocumentRevisionId as be, type MindooDBAppDocumentScanPreset as bf, type MindooDBAppDocumentSummary as bg, type MindooDBAppDragApi as bh, type MindooDBAppDragCancelReason as bi, type MindooDBAppDragDropEvent as bj, type MindooDBAppDragEffect as bk, type MindooDBAppDragHoverResult as bl, type MindooDBAppDragOffer as bm, type MindooDBAppDragOverEvent as bn, type MindooDBAppDragPointer as bo, type MindooDBAppDragProfile as bp, type MindooDBAppEmbed as bq, type MindooDBAppEmbedAccessComponent as br, type MindooDBAppEmbedAccessInput as bs, type MindooDBAppEmbedAccessPair as bt, type MindooDBAppEmbedAccessResult as bu, type MindooDBAppEmbedAgentTools as bv, type MindooDBAppEmbedAgentToolsEvent as bw, type MindooDBAppEmbedCloseReason as bx, type MindooDBAppEmbedClosedEvent as by, type MindooDBAppEmbedContext as bz, type MindooDBAppDragStartResult as c, type MindooDBAppRichTextScalar as c$, type MindooDBAppJsonCounterIncrementPatch as c0, type MindooDBAppJsonListDeletePatch as c1, type MindooDBAppJsonListInsertPatch as c2, type MindooDBAppJsonPatch as c3, type MindooDBAppJsonSetPatch as c4, type MindooDBAppJsonTextMarkPatch as c5, type MindooDBAppJsonTextSplicePatch as c6, type MindooDBAppJsonTextUnmarkPatch as c7, type MindooDBAppJsonUnsetPatch as c8, type MindooDBAppLaunchContext as c9, type MindooDBAppProposeAppResult as cA, type MindooDBAppQueryCoverage as cB, type MindooDBAppQueryInclude as cC, type MindooDBAppQueryIncludeCardinality as cD, type MindooDBAppQueryIncludeSlots as cE, type MindooDBAppQueryResult as cF, type MindooDBAppQueryRow as cG, type MindooDBAppQuerySortKey as cH, type MindooDBAppQueryTextClause as cI, type MindooDBAppReadableAttachmentStream as cJ, type MindooDBAppRecipientOptions as cK, type MindooDBAppReminder as cL, type MindooDBAppReminderOpened as cM, type MindooDBAppReminderOpenedHandler as cN, type MindooDBAppReminderRequest as cO, type MindooDBAppReminderScheduleResult as cP, type MindooDBAppRemindersApi as cQ, type MindooDBAppResolvedViewDefinition as cR, type MindooDBAppResolvedViewSource as cS, type MindooDBAppRevisionPhase as cT, type MindooDBAppRevisionVerification as cU, type MindooDBAppRichTextBlockSpan as cV, type MindooDBAppRichTextGetOptions as cW, type MindooDBAppRichTextImmutableString as cX, type MindooDBAppRichTextMarkRange as cY, type MindooDBAppRichTextMaterializeValue as cZ, type MindooDBAppRichTextPatch as c_, type MindooDBAppListUsersOptions as ca, type MindooDBAppListUsersPage as cb, type MindooDBAppLiveQuerySubscription as cc, type MindooDBAppLocalizedText as cd, type MindooDBAppMenuAnchor as ce, type MindooDBAppMenuApi as cf, type MindooDBAppMenuCommandItem as cg, type MindooDBAppMenuDismissReason as ch, type MindooDBAppMenuDismissedResult as ci, type MindooDBAppMenuItem as cj, type MindooDBAppMenuKind as ck, type MindooDBAppMenuPlacement as cl, type MindooDBAppMenuPointAnchor as cm, type MindooDBAppMenuRect as cn, type MindooDBAppMenuRectAnchor as co, type MindooDBAppMenuSelectionResult as cp, type MindooDBAppMenuSeparatorItem as cq, type MindooDBAppNotificationSeverity as cr, type MindooDBAppNotifyInput as cs, type MindooDBAppNotifyResult as ct, type MindooDBAppPdfApi as cu, type MindooDBAppPdfSignInput as cv, type MindooDBAppPdfSignResult as cw, type MindooDBAppPdfSignaturePosition as cx, type MindooDBAppPdfSigner as cy, type MindooDBAppProposeAppInput as cz, type MindooDBAppDragPreview as d, type MindooDBAppRichTextSpliceStep as d0, type MindooDBAppRichTextStep as d1, type MindooDBAppRichTextStepPatch as d2, type MindooDBAppRichTextTextSpan as d3, type MindooDBAppRuntime as d4, type MindooDBAppScanAttachmentOptions as d5, type MindooDBAppScanAttachmentResult as d6, type MindooDBAppScopedDocId as d7, type MindooDBAppScopedDocumentSummary as d8, type MindooDBAppSealIntent as d9, type MindooDBAppViewCursorDocumentListResult as dA, type MindooDBAppViewCursorResult as dB, type MindooDBAppViewEntry as dC, type MindooDBAppViewEntryKind as dD, type MindooDBAppViewNavigator as dE, type MindooDBAppViewNavigatorExpansionState as dF, type MindooDBAppViewNavigatorOpenOptions as dG, type MindooDBAppViewNavigatorPageOptions as dH, type MindooDBAppViewNavigatorPageResult as dI, type MindooDBAppViewNavigatorRangeQuery as dJ, type MindooDBAppViewNavigatorSelectionState as dK, type MindooDBAppViewUpdateStats as dL, type MindooDBAppViewport as dM, type MindooDBAppWellKnownDragType as dN, type MindooDBAppWritableAttachmentStream as dO, mindooDBAppAcceptMatchesType as dP, mindooDBAppComponentFieldsMatch as dQ, resolveMindooDBAppDefinitionUrl as dR, resolveMindooDBAppListingAssetUrl as dS, resolveMindooDBAppLocalizedText as dT, validateMindooDBAppAccepts as dU, validateMindooDBAppComponents as dV, validateMindooDBAppDefinition as dW, type MindooDBAppSealedChannelOpenInput as da, type MindooDBAppSealedChannelOpenResult as db, type MindooDBAppSealedChannelRequestInput as dc, type MindooDBAppSession as dd, type MindooDBAppShowMenuInput as de, type MindooDBAppShowMenuResult as df, type MindooDBAppSignPreview as dg, type MindooDBAppSignPreviewScope as dh, type MindooDBAppSignStatementInput as di, type MindooDBAppSignStatementResult as dj, type MindooDBAppStorageApi as dk, type MindooDBAppSummarySetup as dl, type MindooDBAppTextCursorOptions as dm, type MindooDBAppTextCursorPosition as dn, type MindooDBAppTextCursorPositionsResult as dp, type MindooDBAppTextCursorsResult as dq, type MindooDBAppTextEdit as dr, type MindooDBAppTextPatch as ds, type MindooDBAppThemeMode as dt, type MindooDBAppTimestampApi as du, type MindooDBAppTimestampInput as dv, type MindooDBAppTimestampProvider as dw, type MindooDBAppTimestampResult as dx, type MindooDBAppUiPreferences as dy, type MindooDBAppUpdateDocumentInput as dz, type MindooDBAppBridge as e, type MindooDBAppAgentToolErrorCode as f, type MindooDBAppAgentTool as g, type MindooDBAppHostShortcutBinding as h, type MindooDBAppHostShortcutAction as i, type MindooDBAppHostingMode as j, type MindooDBAppDefinition as k, type MindooDBAppDatabase as l, type MindooDBAppDocument as m, type MindooDBAppRichTextSpan as n, type MindooDBAppRichTextSnapshot as o, type MindooDBAppCreateDocumentInput as p, MINDOODB_APP_ACCEPTS_MAX as q, MINDOODB_APP_COMPONENTS_MAX as r, MINDOODB_APP_COMPONENT_CONTRACT_PATTERN as s, MINDOODB_APP_DEFINITION_FILE_NAME as t, MINDOODB_APP_DEFINITION_FORMAT as u, MINDOODB_APP_DEFINITION_PERMISSIONS as v, MINDOODB_APP_DEFINITION_REGISTRATION_PERMISSIONS as w, MINDOODB_APP_DEFINITION_VERSION as x, MINDOODB_APP_LISTING_DESCRIPTION_MAX as y, MINDOODB_APP_LISTING_MAX_SCREENSHOTS as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mindoodb-app-sdk",
3
- "version": "0.0.67",
3
+ "version": "0.0.69",
4
4
  "engines": {
5
5
  "node": ">=22.13.0"
6
6
  },