mindoodb-app-sdk 0.0.67 → 0.0.68
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.
|
@@ -1977,6 +1977,103 @@ var MindooDBAppIncomingApiImpl = class {
|
|
|
1977
1977
|
}
|
|
1978
1978
|
};
|
|
1979
1979
|
|
|
1980
|
+
// src/client/reminders.ts
|
|
1981
|
+
function isReminderOpenedMessage(message) {
|
|
1982
|
+
return message.kind === "reminder-opened";
|
|
1983
|
+
}
|
|
1984
|
+
function isUnknownMethod(error) {
|
|
1985
|
+
const code = error?.code;
|
|
1986
|
+
return code === "method-not-found" || code === "unsupported";
|
|
1987
|
+
}
|
|
1988
|
+
var MindooDBAppRemindersApiImpl = class {
|
|
1989
|
+
constructor(rpc) {
|
|
1990
|
+
this.rpc = rpc;
|
|
1991
|
+
this.stopListening = this.rpc.addMessageListener((message) => {
|
|
1992
|
+
if (!isReminderOpenedMessage(message)) {
|
|
1993
|
+
return;
|
|
1994
|
+
}
|
|
1995
|
+
if (this.handler) {
|
|
1996
|
+
void this.deliver(message.reminder);
|
|
1997
|
+
} else {
|
|
1998
|
+
this.pending.push(message.reminder);
|
|
1999
|
+
}
|
|
2000
|
+
});
|
|
2001
|
+
}
|
|
2002
|
+
rpc;
|
|
2003
|
+
handler = null;
|
|
2004
|
+
pending = [];
|
|
2005
|
+
stopListening;
|
|
2006
|
+
async schedule(request) {
|
|
2007
|
+
const at = request.at instanceof Date ? request.at.getTime() : request.at;
|
|
2008
|
+
try {
|
|
2009
|
+
return await this.rpc.call("reminders.schedule", {
|
|
2010
|
+
id: request.id,
|
|
2011
|
+
title: request.title,
|
|
2012
|
+
body: request.body,
|
|
2013
|
+
at,
|
|
2014
|
+
target: request.target
|
|
2015
|
+
});
|
|
2016
|
+
} catch (error) {
|
|
2017
|
+
if (isUnknownMethod(error)) {
|
|
2018
|
+
return { status: "unsupported" };
|
|
2019
|
+
}
|
|
2020
|
+
throw error;
|
|
2021
|
+
}
|
|
2022
|
+
}
|
|
2023
|
+
async cancel(id) {
|
|
2024
|
+
try {
|
|
2025
|
+
await this.rpc.call("reminders.cancel", { id });
|
|
2026
|
+
} catch (error) {
|
|
2027
|
+
if (!isUnknownMethod(error)) {
|
|
2028
|
+
throw error;
|
|
2029
|
+
}
|
|
2030
|
+
}
|
|
2031
|
+
}
|
|
2032
|
+
async list() {
|
|
2033
|
+
try {
|
|
2034
|
+
return await this.rpc.call("reminders.list", {});
|
|
2035
|
+
} catch (error) {
|
|
2036
|
+
if (isUnknownMethod(error)) {
|
|
2037
|
+
return [];
|
|
2038
|
+
}
|
|
2039
|
+
throw error;
|
|
2040
|
+
}
|
|
2041
|
+
}
|
|
2042
|
+
onOpened(handler) {
|
|
2043
|
+
this.handler = handler;
|
|
2044
|
+
void this.rpc.call("reminders.subscribe", {}).catch(() => {
|
|
2045
|
+
});
|
|
2046
|
+
this.pending.splice(0).forEach((opened) => {
|
|
2047
|
+
void this.deliver(opened);
|
|
2048
|
+
});
|
|
2049
|
+
return () => {
|
|
2050
|
+
if (this.handler !== handler) {
|
|
2051
|
+
return;
|
|
2052
|
+
}
|
|
2053
|
+
this.handler = null;
|
|
2054
|
+
void this.rpc.call("reminders.unsubscribe", {}).catch(() => {
|
|
2055
|
+
});
|
|
2056
|
+
};
|
|
2057
|
+
}
|
|
2058
|
+
dispose() {
|
|
2059
|
+
this.stopListening();
|
|
2060
|
+
this.handler = null;
|
|
2061
|
+
this.pending.length = 0;
|
|
2062
|
+
}
|
|
2063
|
+
async deliver(opened) {
|
|
2064
|
+
const handler = this.handler;
|
|
2065
|
+
if (!handler) {
|
|
2066
|
+
this.pending.push(opened);
|
|
2067
|
+
return;
|
|
2068
|
+
}
|
|
2069
|
+
try {
|
|
2070
|
+
await handler(opened);
|
|
2071
|
+
} catch (error) {
|
|
2072
|
+
console.warn("[mindoodb-app-sdk] A reminder handler failed.", error);
|
|
2073
|
+
}
|
|
2074
|
+
}
|
|
2075
|
+
};
|
|
2076
|
+
|
|
1980
2077
|
// src/client/portRpcClient.ts
|
|
1981
2078
|
var PROTOCOL = "mindoodb-app-bridge";
|
|
1982
2079
|
function normalizeRpcValue(value, seen = /* @__PURE__ */ new WeakMap()) {
|
|
@@ -3253,6 +3350,7 @@ var MindooDBAppSessionImpl = class {
|
|
|
3253
3350
|
this.drag = new MindooDBAppDragApiImpl(this.rpc);
|
|
3254
3351
|
this.agent = new MindooDBAppAgentApiImpl(this.rpc);
|
|
3255
3352
|
this.incoming = new MindooDBAppIncomingApiImpl(this.rpc);
|
|
3353
|
+
this.reminders = new MindooDBAppRemindersApiImpl(this.rpc);
|
|
3256
3354
|
this.embedsClient = new MindooDBAppEmbedsClient(this.rpc);
|
|
3257
3355
|
this.components = this.embedsClient.components;
|
|
3258
3356
|
this.embeds = this.embedsClient.embeds;
|
|
@@ -3321,6 +3419,7 @@ var MindooDBAppSessionImpl = class {
|
|
|
3321
3419
|
storage;
|
|
3322
3420
|
agent;
|
|
3323
3421
|
incoming;
|
|
3422
|
+
reminders;
|
|
3324
3423
|
embedsClient;
|
|
3325
3424
|
components;
|
|
3326
3425
|
embeds;
|
|
@@ -3503,6 +3602,7 @@ var MindooDBAppSessionImpl = class {
|
|
|
3503
3602
|
this.drag.dispose();
|
|
3504
3603
|
this.agent.dispose();
|
|
3505
3604
|
this.incoming.dispose();
|
|
3605
|
+
this.reminders.dispose();
|
|
3506
3606
|
this.embedsClient.dispose();
|
|
3507
3607
|
try {
|
|
3508
3608
|
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-
|
|
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-BYsO5n5-.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 MindooDBAppProposeAppInput, cv as MindooDBAppProposeAppResult, cw as MindooDBAppQueryCoverage, cx as MindooDBAppQueryInclude, cy as MindooDBAppQueryIncludeCardinality, cz as MindooDBAppQueryIncludeSlots, cA as MindooDBAppQueryResult, cB as MindooDBAppQueryRow, cC as MindooDBAppQuerySortKey, cD as MindooDBAppQueryTextClause, cE as MindooDBAppReadableAttachmentStream, cF as MindooDBAppRecipientOptions, cG as MindooDBAppReminder, cH as MindooDBAppReminderOpened, cI as MindooDBAppReminderOpenedHandler, cJ as MindooDBAppReminderRequest, cK as MindooDBAppReminderScheduleResult, cL as MindooDBAppRemindersApi, cM as MindooDBAppResolvedViewDefinition, cN as MindooDBAppResolvedViewSource, cO as MindooDBAppRevisionPhase, cP as MindooDBAppRevisionVerification, cQ as MindooDBAppRichTextBlockSpan, cR as MindooDBAppRichTextGetOptions, cS as MindooDBAppRichTextImmutableString, cT as MindooDBAppRichTextMarkRange, cU as MindooDBAppRichTextMaterializeValue, cV as MindooDBAppRichTextPatch, cW as MindooDBAppRichTextScalar, cX as MindooDBAppRichTextSpliceStep, cY as MindooDBAppRichTextStep, cZ as MindooDBAppRichTextStepPatch, c_ as MindooDBAppRichTextTextSpan, c$ as MindooDBAppRuntime, d0 as MindooDBAppScanAttachmentOptions, d1 as MindooDBAppScanAttachmentResult, d2 as MindooDBAppScopedDocId, d3 as MindooDBAppScopedDocumentSummary, d4 as MindooDBAppSealIntent, d5 as MindooDBAppSealedChannelOpenInput, d6 as MindooDBAppSealedChannelOpenResult, d7 as MindooDBAppSealedChannelRequestInput, d8 as MindooDBAppSession, d9 as MindooDBAppShowMenuInput, da as MindooDBAppShowMenuResult, db as MindooDBAppSignPreview, dc as MindooDBAppSignPreviewScope, dd as MindooDBAppSignStatementInput, de as MindooDBAppSignStatementResult, df as MindooDBAppStorageApi, dg as MindooDBAppSummarySetup, dh as MindooDBAppTextCursorOptions, di as MindooDBAppTextCursorPosition, dj as MindooDBAppTextCursorPositionsResult, dk as MindooDBAppTextCursorsResult, dl as MindooDBAppTextEdit, dm as MindooDBAppTextPatch, dn as MindooDBAppThemeMode, dp as MindooDBAppTimestampApi, dq as MindooDBAppTimestampInput, dr as MindooDBAppTimestampProvider, ds as MindooDBAppTimestampResult, dt as MindooDBAppUiPreferences, du as MindooDBAppUpdateDocumentInput, dv as MindooDBAppViewCursorDocumentListResult, dw as MindooDBAppViewCursorResult, dx as MindooDBAppViewEntry, dy as MindooDBAppViewEntryKind, dz as MindooDBAppViewNavigator, dA as MindooDBAppViewNavigatorExpansionState, dB as MindooDBAppViewNavigatorOpenOptions, dC as MindooDBAppViewNavigatorPageOptions, dD as MindooDBAppViewNavigatorPageResult, dE as MindooDBAppViewNavigatorRangeQuery, dF as MindooDBAppViewNavigatorSelectionState, dG as MindooDBAppViewUpdateStats, dH as MindooDBAppViewport, dI as MindooDBAppWellKnownDragType, dJ as MindooDBAppWritableAttachmentStream, dK as mindooDBAppAcceptMatchesType, dL as mindooDBAppComponentFieldsMatch, dM as resolveMindooDBAppDefinitionUrl, dN as resolveMindooDBAppListingAssetUrl, dO as resolveMindooDBAppLocalizedText, dP as validateMindooDBAppAccepts, dQ as validateMindooDBAppComponents, dR as validateMindooDBAppDefinition } from './types-BYsO5n5-.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-
|
|
51
|
+
} from "./chunk-44S2R2PT.js";
|
|
52
52
|
import {
|
|
53
53
|
MINDOODB_APP_BUNDLE_ARCHIVE_FILE_NAME,
|
|
54
54
|
MINDOODB_APP_BUNDLE_MANIFEST_FILE_NAME,
|
package/dist/testing/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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, dz as MindooDBAppViewNavigator, ag as MindooDBAppBridgeRpcRequest, bQ as MindooDBAppHostTheme, ay as MindooDBAppCapability, du as MindooDBAppUpdateDocumentInput, m as MindooDBAppDocument, k as MindooDBAppDefinition, L as MindooDBAppAttachmentApi, e as MindooDBAppBridge, d8 as MindooDBAppSession, cu as MindooDBAppProposeAppInput, dH as MindooDBAppViewport, dt as MindooDBAppUiPreferences, cA as MindooDBAppQueryResult, dG as MindooDBAppViewUpdateStats, ab as MindooDBAppBridgePortMessage, a$ as MindooDBAppDatabaseInfo, bs as MindooDBAppEmbedAccessInput, bx as MindooDBAppEmbedCloseReason, a6 as MindooDBAppBridgeErrorPayload, c9 as MindooDBAppLaunchContext, b8 as MindooDBAppDocumentApi, dB as MindooDBAppViewNavigatorOpenOptions, bR as MindooDBAppIdentityApi, dp as MindooDBAppTimestampApi, b6 as MindooDBAppDirectoryApi, bN as MindooDBAppFulltextSetup, bM as MindooDBAppExtractionSetup, dg as MindooDBAppSummarySetup, cv as MindooDBAppProposeAppResult, b$ as MindooDBAppIncomingSource, c as MindooDBAppDragStartResult, bp as MindooDBAppDragProfile, b_ as MindooDBAppIncomingResult, cG as MindooDBAppReminder } from '../types-BYsO5n5-.js';
|
|
2
2
|
import * as mindoodb from 'mindoodb';
|
|
3
3
|
import 'mindoodb-view-language';
|
|
4
4
|
|
|
@@ -631,6 +631,13 @@ interface MockMindooDBAppSessionController {
|
|
|
631
631
|
* and resolves with the handler's result.
|
|
632
632
|
*/
|
|
633
633
|
emitIncomingContent(input: MockIncomingContentInput): Promise<MindooDBAppIncomingResult>;
|
|
634
|
+
/** Reminders the app scheduled (`session.reminders.schedule`) that were not tapped or cancelled. */
|
|
635
|
+
listReminders(): MindooDBAppReminder[];
|
|
636
|
+
/**
|
|
637
|
+
* As if the user tapped this reminder (`"open"`) or pressed "Done": delivered
|
|
638
|
+
* to `session.reminders.onOpened` (held until registered).
|
|
639
|
+
*/
|
|
640
|
+
emitReminderOpened(id: string, action?: "open" | "done"): Promise<void>;
|
|
634
641
|
/** Embeds the app has open (`session.embeds.open`). */
|
|
635
642
|
listEmbeds(): MockEmbedState[];
|
|
636
643
|
/** Every `session.embeds.requestAccess` input so far, oldest first. */
|
package/dist/testing/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
mindooDBAppComponentFieldsMatch,
|
|
5
5
|
pageUsers,
|
|
6
6
|
releaseMindooDBAppBridgeSessions
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-44S2R2PT.js";
|
|
8
8
|
|
|
9
9
|
// src/testing/index.ts
|
|
10
10
|
import * as Automerge from "@automerge/automerge";
|
|
@@ -5191,6 +5191,9 @@ function createMockSessionState(options = {}) {
|
|
|
5191
5191
|
);
|
|
5192
5192
|
const themeListeners = /* @__PURE__ */ new Set();
|
|
5193
5193
|
let incomingHandler = null;
|
|
5194
|
+
const mockReminders = /* @__PURE__ */ new Map();
|
|
5195
|
+
let reminderHandler = null;
|
|
5196
|
+
const pendingReminderTaps = [];
|
|
5194
5197
|
const pendingIncoming = [];
|
|
5195
5198
|
let incomingCounter = 0;
|
|
5196
5199
|
const hostFocusListeners = /* @__PURE__ */ new Set();
|
|
@@ -5554,6 +5557,38 @@ function createMockSessionState(options = {}) {
|
|
|
5554
5557
|
}
|
|
5555
5558
|
};
|
|
5556
5559
|
},
|
|
5560
|
+
reminders: {
|
|
5561
|
+
async schedule(request) {
|
|
5562
|
+
const at = request.at instanceof Date ? request.at.getTime() : request.at;
|
|
5563
|
+
if (!request.id || !request.title || !Number.isFinite(at) || at <= Date.now()) {
|
|
5564
|
+
return { status: "invalid", reason: "id, title and a future time are required" };
|
|
5565
|
+
}
|
|
5566
|
+
const reminder = {
|
|
5567
|
+
id: request.id,
|
|
5568
|
+
title: request.title,
|
|
5569
|
+
at,
|
|
5570
|
+
...request.body ? { body: request.body } : {},
|
|
5571
|
+
...request.target ? { target: request.target } : {}
|
|
5572
|
+
};
|
|
5573
|
+
mockReminders.set(request.id, reminder);
|
|
5574
|
+
return { status: "scheduled", reminder: { ...reminder } };
|
|
5575
|
+
},
|
|
5576
|
+
async cancel(id) {
|
|
5577
|
+
mockReminders.delete(id);
|
|
5578
|
+
},
|
|
5579
|
+
async list() {
|
|
5580
|
+
return [...mockReminders.values()].sort((a, b) => a.at - b.at).map((reminder) => ({ ...reminder }));
|
|
5581
|
+
},
|
|
5582
|
+
onOpened(handler) {
|
|
5583
|
+
reminderHandler = handler;
|
|
5584
|
+
pendingReminderTaps.splice(0).forEach((opened) => void handler(opened));
|
|
5585
|
+
return () => {
|
|
5586
|
+
if (reminderHandler === handler) {
|
|
5587
|
+
reminderHandler = null;
|
|
5588
|
+
}
|
|
5589
|
+
};
|
|
5590
|
+
}
|
|
5591
|
+
},
|
|
5557
5592
|
onBeforeClose(listener) {
|
|
5558
5593
|
beforeCloseListeners.add(listener);
|
|
5559
5594
|
return () => {
|
|
@@ -5650,6 +5685,23 @@ function createMockSessionState(options = {}) {
|
|
|
5650
5685
|
deliver();
|
|
5651
5686
|
});
|
|
5652
5687
|
},
|
|
5688
|
+
listReminders() {
|
|
5689
|
+
return [...mockReminders.values()].map((reminder) => ({ ...reminder }));
|
|
5690
|
+
},
|
|
5691
|
+
async emitReminderOpened(id, action = "open") {
|
|
5692
|
+
const reminder = mockReminders.get(id);
|
|
5693
|
+
const opened = {
|
|
5694
|
+
id,
|
|
5695
|
+
action,
|
|
5696
|
+
...reminder?.target ? { target: reminder.target } : {}
|
|
5697
|
+
};
|
|
5698
|
+
mockReminders.delete(id);
|
|
5699
|
+
if (reminderHandler) {
|
|
5700
|
+
await reminderHandler(opened);
|
|
5701
|
+
} else {
|
|
5702
|
+
pendingReminderTaps.push(opened);
|
|
5703
|
+
}
|
|
5704
|
+
},
|
|
5653
5705
|
emitThemeChange(theme) {
|
|
5654
5706
|
launchContext = mergeLaunchContext(launchContext, { theme });
|
|
5655
5707
|
themeListeners.forEach(
|
|
@@ -5838,6 +5890,8 @@ function createMockMindooDBAppSession(options = {}) {
|
|
|
5838
5890
|
resolveDrag: state.resolveDrag,
|
|
5839
5891
|
getDragProfile: state.getDragProfile,
|
|
5840
5892
|
emitIncomingContent: state.emitIncomingContent,
|
|
5893
|
+
listReminders: state.listReminders,
|
|
5894
|
+
emitReminderOpened: state.emitReminderOpened,
|
|
5841
5895
|
listEmbeds: () => state.embedHost.listEmbeds(),
|
|
5842
5896
|
getEmbedAccessRequests: () => state.embedHost.getAccessRequests(),
|
|
5843
5897
|
closeEmbed: (embedId, reason, result) => state.embedHost.closeEmbed(embedId, reason, result),
|
|
@@ -1638,6 +1638,87 @@ 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
|
+
}
|
|
1641
1722
|
/** A component another app offers, as `session.components.list` returns it. */
|
|
1642
1723
|
interface MindooDBAppComponentInfo {
|
|
1643
1724
|
/** Opaque key for `session.embeds.open`. */
|
|
@@ -1923,7 +2004,7 @@ interface MindooDBAppBridgeEmbedEventMessage {
|
|
|
1923
2004
|
type: "agentTools";
|
|
1924
2005
|
} & MindooDBAppEmbedAgentToolsEvent);
|
|
1925
2006
|
}
|
|
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;
|
|
2007
|
+
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
2008
|
/** Placement hint for a host-rendered overlay menu. */
|
|
1928
2009
|
type MindooDBAppMenuPlacement = "auto" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "right-start" | "left-start";
|
|
1929
2010
|
/** Semantic hint allowing Haven to tune menu behavior or styling. */
|
|
@@ -3565,6 +3646,11 @@ interface MindooDBAppSession {
|
|
|
3565
3646
|
* Returns an unsubscribe function.
|
|
3566
3647
|
*/
|
|
3567
3648
|
onIncomingContent(handler: MindooDBAppIncomingContentHandler): () => void;
|
|
3649
|
+
/**
|
|
3650
|
+
* Reminders as local notifications (Haven's native app; `unsupported`
|
|
3651
|
+
* elsewhere). See {@link MindooDBAppRemindersApi}.
|
|
3652
|
+
*/
|
|
3653
|
+
reminders: MindooDBAppRemindersApi;
|
|
3568
3654
|
/**
|
|
3569
3655
|
* Run work before the host tears this launch down, e.g. flushing buffered writes.
|
|
3570
3656
|
*
|
|
@@ -3627,4 +3713,4 @@ interface MindooDBAppBridge {
|
|
|
3627
3713
|
connect(options?: MindooDBAppBridgeConnectOptions): Promise<MindooDBAppSession>;
|
|
3628
3714
|
}
|
|
3629
3715
|
|
|
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 };
|
|
3716
|
+
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 MindooDBAppRuntime 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 MindooDBAppQueryResult as cA, type MindooDBAppQueryRow as cB, type MindooDBAppQuerySortKey as cC, type MindooDBAppQueryTextClause as cD, type MindooDBAppReadableAttachmentStream as cE, type MindooDBAppRecipientOptions as cF, type MindooDBAppReminder as cG, type MindooDBAppReminderOpened as cH, type MindooDBAppReminderOpenedHandler as cI, type MindooDBAppReminderRequest as cJ, type MindooDBAppReminderScheduleResult as cK, type MindooDBAppRemindersApi as cL, type MindooDBAppResolvedViewDefinition as cM, type MindooDBAppResolvedViewSource as cN, type MindooDBAppRevisionPhase as cO, type MindooDBAppRevisionVerification as cP, type MindooDBAppRichTextBlockSpan as cQ, type MindooDBAppRichTextGetOptions as cR, type MindooDBAppRichTextImmutableString as cS, type MindooDBAppRichTextMarkRange as cT, type MindooDBAppRichTextMaterializeValue as cU, type MindooDBAppRichTextPatch as cV, type MindooDBAppRichTextScalar as cW, type MindooDBAppRichTextSpliceStep as cX, type MindooDBAppRichTextStep as cY, type MindooDBAppRichTextStepPatch as cZ, type MindooDBAppRichTextTextSpan 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 MindooDBAppProposeAppInput as cu, type MindooDBAppProposeAppResult as cv, type MindooDBAppQueryCoverage as cw, type MindooDBAppQueryInclude as cx, type MindooDBAppQueryIncludeCardinality as cy, type MindooDBAppQueryIncludeSlots as cz, type MindooDBAppDragPreview as d, type MindooDBAppScanAttachmentOptions as d0, type MindooDBAppScanAttachmentResult as d1, type MindooDBAppScopedDocId as d2, type MindooDBAppScopedDocumentSummary as d3, type MindooDBAppSealIntent as d4, type MindooDBAppSealedChannelOpenInput as d5, type MindooDBAppSealedChannelOpenResult as d6, type MindooDBAppSealedChannelRequestInput as d7, type MindooDBAppSession as d8, type MindooDBAppShowMenuInput as d9, type MindooDBAppViewNavigatorExpansionState as dA, type MindooDBAppViewNavigatorOpenOptions as dB, type MindooDBAppViewNavigatorPageOptions as dC, type MindooDBAppViewNavigatorPageResult as dD, type MindooDBAppViewNavigatorRangeQuery as dE, type MindooDBAppViewNavigatorSelectionState as dF, type MindooDBAppViewUpdateStats as dG, type MindooDBAppViewport as dH, type MindooDBAppWellKnownDragType as dI, type MindooDBAppWritableAttachmentStream as dJ, mindooDBAppAcceptMatchesType as dK, mindooDBAppComponentFieldsMatch as dL, resolveMindooDBAppDefinitionUrl as dM, resolveMindooDBAppListingAssetUrl as dN, resolveMindooDBAppLocalizedText as dO, validateMindooDBAppAccepts as dP, validateMindooDBAppComponents as dQ, validateMindooDBAppDefinition as dR, type MindooDBAppShowMenuResult as da, type MindooDBAppSignPreview as db, type MindooDBAppSignPreviewScope as dc, type MindooDBAppSignStatementInput as dd, type MindooDBAppSignStatementResult as de, type MindooDBAppStorageApi as df, type MindooDBAppSummarySetup as dg, type MindooDBAppTextCursorOptions as dh, type MindooDBAppTextCursorPosition as di, type MindooDBAppTextCursorPositionsResult as dj, type MindooDBAppTextCursorsResult as dk, type MindooDBAppTextEdit as dl, type MindooDBAppTextPatch as dm, type MindooDBAppThemeMode as dn, type MindooDBAppTimestampApi as dp, type MindooDBAppTimestampInput as dq, type MindooDBAppTimestampProvider as dr, type MindooDBAppTimestampResult as ds, type MindooDBAppUiPreferences as dt, type MindooDBAppUpdateDocumentInput as du, type MindooDBAppViewCursorDocumentListResult as dv, type MindooDBAppViewCursorResult as dw, type MindooDBAppViewEntry as dx, type MindooDBAppViewEntryKind as dy, type MindooDBAppViewNavigator 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 };
|