@calimero-network/mero-react 9.13.2 → 9.14.1
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 +46 -0
- package/dist/index.cjs +1010 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +327 -2
- package/dist/index.d.ts +327 -2
- package/dist/index.js +990 -16
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import React__default, { CSSProperties, ReactNode } from 'react';
|
|
4
4
|
import * as _calimero_network_mero_js from '@calimero-network/mero-js';
|
|
5
|
-
import { MeroJs, MeroClient, DelegatedAccountSession, TokenStore, DelegatedCredential, BootstrapResult, SignedGroupOpenInvitation,
|
|
5
|
+
import { MeroJs, MeroClient, DelegatedAccountSession, TokenStore, DelegatedCredential, BootstrapResult, SignedGroupOpenInvitation, InviteFailureReason, InviteRedeemer, RedeemOutcome, BootstrapFailure, SetMetadataRequest, SseEventData, GroupMembershipEventData, GroupMigrationEventData, Codec, AddGroupMembersRequest, GetBlobInfoResponseData, CreateContextRequest, CreateGroupInNamespaceRequest, CreateNamespaceRequest, CreateNamespaceInvitationRequest, CreateNamespaceInvitationResponseData, CreateRecursiveInvitationResponseData, GroupUpgradeStatusResponseData, GroupContextEntry, GroupInfo, CreateGroupInvitationRequest, MetadataRecord, ClassifiedError, JoinGroupRequest, JoinNamespaceRequest, MigrationStatus, MigrationStatusRollup, MemberMigrationStatusEntry, MigrateMyEntriesSummary, Namespace, SubgroupEntry, NamespaceIdentity, NodeIdentity, RemoveGroupMembersRequest, ReparentGroupRequest, ResyncContextRequest, SetDefaultCapabilitiesRequest, SetSubgroupVisibilityRequest, SetTeeAdmissionPolicyRequest, UpdateMemberRoleRequest, UpgradeGroupRequest, UploadBlobRequest, TokenData } from '@calimero-network/mero-js';
|
|
6
6
|
export * from '@calimero-network/mero-js';
|
|
7
7
|
export { AccountAdminDeps, BootstrapFailure, BootstrapFromInvitationInput, BootstrapResult, BootstrapStep, BootstrapSuccess, CAPABILITIES, Codec, DEFAULT_LOCAL_NODE_PORTS, DelegatedCredential, DelegatedAccountSession as DelegatedSession, DiscoverLocalNodesOptions, EphemeralClient, EphemeralEntry, FoundedDelegatedNamespace, HA_ACCOUNT_NOT_LINKED_MESSAGE, HA_REFUSAL_MESSAGES, InvitationNotClaimableError, JoinWithNodeFailure, JoinWithNodeInput, JoinWithNodeResult, JoinWithNodeStep, JoinWithNodeSuccess, MetadataRecord, NoRelayError, NotForAccountError, RegistryBundle, RelayResolutionFailure, RelayResolutionStep, ResolveRelayFromInvitationInput, ResolveRelayResult, ResolvedApplication, ResolvedInvitationRelay, applicationIdForBundle, bootstrapFromInvitation, clearDelegatedCredential, createAccountAdmin, createDelegatedContext, createNodeAdmin, discoverLocalNodes, hasCap, joinWithNode, listDelegatedContexts, localNodeUrl, nodeEndpoint, normaliseAccount, pinRelayNodeKey, probeNodeHealth, readDelegatedCredential, readPinnedRelayNodeKey, readRelayMap, relayForContext, rememberRelay, resolveApplicationIdFromRegistry, resolveRelayFromInvitation, saveDelegatedCredential, selectLatestBundle, withCap, withoutCap } from '@calimero-network/mero-js';
|
|
8
8
|
|
|
@@ -602,6 +602,331 @@ interface UseDelegatedBootstrapResult {
|
|
|
602
602
|
}
|
|
603
603
|
declare function useDelegatedBootstrap(options?: UseDelegatedBootstrapOptions): UseDelegatedBootstrapResult;
|
|
604
604
|
|
|
605
|
+
/** The action an invite link carries: `calimero://<package>/join?invitation=…`. */
|
|
606
|
+
declare const JOIN_ACTION = "join";
|
|
607
|
+
/** The query parameter every app's invite builder emits. */
|
|
608
|
+
declare const INVITATION_PARAM = "invitation";
|
|
609
|
+
/**
|
|
610
|
+
* The link an inviter shares, for every app: `https://links.calimero.network/<slug>/join?invitation=…`.
|
|
611
|
+
*
|
|
612
|
+
* One shape, so one path gets it into the app. The links page opens the app's
|
|
613
|
+
* frontend with the query appended (web, PWA, a cold desktop start), and a
|
|
614
|
+
* desktop that is already running hands it over as a `deep-link` bridge event;
|
|
615
|
+
* `primeInvitationCapture` listens to both. Nobody pastes it anywhere.
|
|
616
|
+
*
|
|
617
|
+
* `slug` is the app's deep-link handler, which for a Calimero app is its package id.
|
|
618
|
+
* `extra` rides along beside the token, for an app whose link carries more
|
|
619
|
+
* than the token (a display name, a target id).
|
|
620
|
+
*/
|
|
621
|
+
declare function buildInviteLink(slug: string, token: string, extra?: Record<string, string | undefined>): string;
|
|
622
|
+
/** One captured invitation, with the ack the app owes the store. */
|
|
623
|
+
interface CapturedInvitation {
|
|
624
|
+
/** The raw invitation token, ready to parse. */
|
|
625
|
+
token: string;
|
|
626
|
+
/** Every query parameter the link carried, the token included. */
|
|
627
|
+
params: Record<string, string>;
|
|
628
|
+
/** Ack it so the store stops replaying it. Call once handled OR declined. */
|
|
629
|
+
resolve: () => void;
|
|
630
|
+
/**
|
|
631
|
+
* Whether to attempt the join without being asked.
|
|
632
|
+
*
|
|
633
|
+
* False once this invitation has spent its automatic attempts. The token is
|
|
634
|
+
* still handed over — so a field can be prefilled and one click retries it —
|
|
635
|
+
* but a link that can never join stops re-firing on every load.
|
|
636
|
+
*/
|
|
637
|
+
autoJoin: boolean;
|
|
638
|
+
}
|
|
639
|
+
type Listener = (invitation: CapturedInvitation) => void;
|
|
640
|
+
/**
|
|
641
|
+
* How many loads may auto-join one invitation before it needs a human.
|
|
642
|
+
*
|
|
643
|
+
* An unacked intent is replayed on every load by design, so that a transient
|
|
644
|
+
* failure (node still starting, no member online yet) is retried rather than
|
|
645
|
+
* lost. Without a ceiling a *permanent* failure is retried just as eagerly and
|
|
646
|
+
* forever — which is what made every restart of the node re-fire a link that
|
|
647
|
+
* had already been used.
|
|
648
|
+
*/
|
|
649
|
+
declare const MAX_AUTO_JOIN_ATTEMPTS = 3;
|
|
650
|
+
/** The token in a raw deep-link payload, or `null` if it carries none. */
|
|
651
|
+
declare function invitationFromRaw(raw: string): string | null;
|
|
652
|
+
/** The current URL with the invitation parameter removed. */
|
|
653
|
+
declare function urlWithoutInvitation(href: string): string;
|
|
654
|
+
/**
|
|
655
|
+
* Start listening for inbound invitation links.
|
|
656
|
+
*
|
|
657
|
+
* Call once before React mounts: the launcher appends `?invitation=…` to the
|
|
658
|
+
* app's own URL, and a router would otherwise replace the URL before any
|
|
659
|
+
* component could read it.
|
|
660
|
+
*
|
|
661
|
+
* `appKey` namespaces the attempt ledger. Two apps served from one origin (the
|
|
662
|
+
* dev server, a preview deployment) would otherwise share it.
|
|
663
|
+
*
|
|
664
|
+
* `slug` is this app's deep-link slug (its package id). Given it, a `join` link
|
|
665
|
+
* addressed to a different app is dropped instead of being offered here.
|
|
666
|
+
*/
|
|
667
|
+
declare function primeInvitationCapture(appKey?: string, options?: {
|
|
668
|
+
slug?: string | readonly string[];
|
|
669
|
+
}): void;
|
|
670
|
+
/**
|
|
671
|
+
* Subscribe to invitations. Replays one already captured, so a component that
|
|
672
|
+
* mounts after the link was opened still sees it.
|
|
673
|
+
*/
|
|
674
|
+
declare function onInvitation(listener: Listener): () => void;
|
|
675
|
+
/**
|
|
676
|
+
* The captured invitation right now, without subscribing.
|
|
677
|
+
*
|
|
678
|
+
* Unlike `onInvitation`, this does not consume it and does not register a
|
|
679
|
+
* listener — it answers "is an invitation inbound?" for code that only needs
|
|
680
|
+
* to know, such as a bootstrap deciding where to land the user.
|
|
681
|
+
*/
|
|
682
|
+
declare function peekInvitation(): CapturedInvitation | null;
|
|
683
|
+
/** Test seam: drop the controller and any buffered intent. */
|
|
684
|
+
declare function resetInvitationCaptureForTests(): void;
|
|
685
|
+
|
|
686
|
+
/**
|
|
687
|
+
* What to tell a person about a failed join, or `null` to show the node's own
|
|
688
|
+
* message (an `unknown` failure has nothing better to offer).
|
|
689
|
+
*
|
|
690
|
+
* `noun` is what the app calls the thing being joined: "team", "space", "vault".
|
|
691
|
+
* The reason is mero-js's (`redeemInvitation`), read off the node's status.
|
|
692
|
+
*/
|
|
693
|
+
declare function describeInviteFailure(reason: InviteFailureReason, noun?: string): string | null;
|
|
694
|
+
|
|
695
|
+
/** What the token carries, once the app's codec has read it. */
|
|
696
|
+
interface ParsedInvitation {
|
|
697
|
+
namespaceId: string;
|
|
698
|
+
/** The invitation struct the node's join body expects. */
|
|
699
|
+
invitation: unknown;
|
|
700
|
+
/** The human name the inviter embedded, if any. */
|
|
701
|
+
teamName?: string;
|
|
702
|
+
}
|
|
703
|
+
/**
|
|
704
|
+
* Where redemption has got to, for rendering.
|
|
705
|
+
*
|
|
706
|
+
* `joining` is the state the apps used to lack: following an invite
|
|
707
|
+
* link put the app on a page with no sign anything was happening, for as long
|
|
708
|
+
* as the join took — up to 95s when no member of the namespace was online.
|
|
709
|
+
*/
|
|
710
|
+
type InviteState = {
|
|
711
|
+
stage: "idle";
|
|
712
|
+
} | {
|
|
713
|
+
stage: "awaiting-confirmation";
|
|
714
|
+
teamName?: string;
|
|
715
|
+
} | {
|
|
716
|
+
stage: "joining";
|
|
717
|
+
teamName?: string;
|
|
718
|
+
} | {
|
|
719
|
+
stage: "joined";
|
|
720
|
+
namespaceId: string;
|
|
721
|
+
teamName?: string;
|
|
722
|
+
} | {
|
|
723
|
+
stage: "already-member";
|
|
724
|
+
namespaceId: string;
|
|
725
|
+
teamName?: string;
|
|
726
|
+
} | {
|
|
727
|
+
stage: "failed";
|
|
728
|
+
/** The node's own words, or this package's for an unreadable link. */
|
|
729
|
+
message: string;
|
|
730
|
+
/** Why; `describeInviteFailure` turns it into something to show. */
|
|
731
|
+
reason: InviteFailureReason;
|
|
732
|
+
retryable: boolean;
|
|
733
|
+
};
|
|
734
|
+
interface UseInviteRedemptionOptions<P extends ParsedInvitation = ParsedInvitation> {
|
|
735
|
+
/**
|
|
736
|
+
* Read a raw token into its parts. Return `null` (or throw) if it is not a
|
|
737
|
+
* usable invitation — the app owns this because the codecs differ slightly.
|
|
738
|
+
* Extra fields the app returns (a vault name, a context id) come back as
|
|
739
|
+
* `parsed` and are handed to `redeem`.
|
|
740
|
+
*/
|
|
741
|
+
parse: (token: string, params: Record<string, string>) => P | null;
|
|
742
|
+
/**
|
|
743
|
+
* The two calls that differ between apps, for the standard join: join the
|
|
744
|
+
* namespace, then check membership (mero-js `redeemInvitation`).
|
|
745
|
+
*/
|
|
746
|
+
redeemer?: InviteRedeemer;
|
|
747
|
+
/**
|
|
748
|
+
* An app's own join flow, for one that does more than join the namespace
|
|
749
|
+
* (enter a context, pick where to land). Takes precedence over `redeemer`.
|
|
750
|
+
* Report a failure as a `failed` outcome rather than throwing; a throw is
|
|
751
|
+
* read as an `unknown`, retryable failure.
|
|
752
|
+
*/
|
|
753
|
+
redeem?: (parsed: P) => Promise<RedeemOutcome>;
|
|
754
|
+
/**
|
|
755
|
+
* Ask before joining, rather than joining on arrival.
|
|
756
|
+
*
|
|
757
|
+
* Not a stylistic choice, and deliberately per-app. Joining is a state
|
|
758
|
+
* change: it puts you in someone else's namespace and gives them a peer that
|
|
759
|
+
* syncs their data. For an app holding secrets — mero-pass is the clear case
|
|
760
|
+
* — doing that on page load means a forwarded link, or a background tab that
|
|
761
|
+
* refreshes, joins silently. Decoding is pure and local, so the scope can be
|
|
762
|
+
* shown first and the join can need a click.
|
|
763
|
+
*
|
|
764
|
+
* With this set the state goes `awaiting-confirmation` and waits for
|
|
765
|
+
* `accept()`; `decline()` acks the invitation so it stops coming back.
|
|
766
|
+
*
|
|
767
|
+
* On by default: an invitation reaches an app only by a link being opened,
|
|
768
|
+
* and every app asks before it joins. Off only for a caller that has already
|
|
769
|
+
* asked in its own words.
|
|
770
|
+
*/
|
|
771
|
+
confirm?: boolean;
|
|
772
|
+
/**
|
|
773
|
+
* Called once, after a join has landed and before anything navigates. The
|
|
774
|
+
* `already-member` case calls it too: the app still has to go and look at a
|
|
775
|
+
* namespace it may never have opened.
|
|
776
|
+
*/
|
|
777
|
+
onJoined?: (namespaceId: string, teamName?: string) => void;
|
|
778
|
+
/**
|
|
779
|
+
* Hold off until the app can actually join — a session, a resolved
|
|
780
|
+
* application id. The invitation is buffered meanwhile, not dropped.
|
|
781
|
+
*/
|
|
782
|
+
enabled?: boolean;
|
|
783
|
+
}
|
|
784
|
+
interface InviteRedemption<P extends ParsedInvitation = ParsedInvitation> {
|
|
785
|
+
state: InviteState;
|
|
786
|
+
/** The captured token, for prefilling a manual join field. */
|
|
787
|
+
token: string | null;
|
|
788
|
+
/** What the invitation names, available while confirming. */
|
|
789
|
+
parsed: P | null;
|
|
790
|
+
/** Go ahead with a join that is `awaiting-confirmation`. */
|
|
791
|
+
accept: () => void;
|
|
792
|
+
/** Decline it, and ack it so it does not come back. */
|
|
793
|
+
decline: () => void;
|
|
794
|
+
/** Retry the captured invitation by hand, past the automatic attempt cap. */
|
|
795
|
+
retry: () => void;
|
|
796
|
+
/** Take the result off the screen. */
|
|
797
|
+
dismiss: () => void;
|
|
798
|
+
}
|
|
799
|
+
/**
|
|
800
|
+
* Redeem an invitation that arrived by link, and report progress.
|
|
801
|
+
*
|
|
802
|
+
* Mount this once, high enough that it is not unmounted by routing. Capture is
|
|
803
|
+
* process-wide and buffers, so mounting late is safe; being unmounted mid-join
|
|
804
|
+
* only loses the on-screen state, never the invitation (it is acked on the
|
|
805
|
+
* outcome, not on the render).
|
|
806
|
+
*/
|
|
807
|
+
declare function useInviteRedemption<P extends ParsedInvitation = ParsedInvitation>({ parse, redeemer, redeem, confirm, onJoined, enabled, }: UseInviteRedemptionOptions<P>): InviteRedemption<P>;
|
|
808
|
+
|
|
809
|
+
/** How long "You're in" stays up before the dialog closes by itself. */
|
|
810
|
+
declare const INVITATION_READY_MS = 1200;
|
|
811
|
+
interface InvitationDialogProps {
|
|
812
|
+
/** The app's `useInviteRedemption(...)`. */
|
|
813
|
+
redemption: InviteRedemption;
|
|
814
|
+
/** What the app calls the thing being joined: "team", "workspace", "vault". */
|
|
815
|
+
noun?: string;
|
|
816
|
+
/** Shown above the title, so a person knows which app is asking. */
|
|
817
|
+
appName?: string;
|
|
818
|
+
/**
|
|
819
|
+
* Optional: the joined namespace's data has been read, empty or not. For an
|
|
820
|
+
* app whose root already knows; others leave this out and let the page that
|
|
821
|
+
* reads the data clear the flag with `useJoinSync({ settled })`.
|
|
822
|
+
*/
|
|
823
|
+
synced?: boolean;
|
|
824
|
+
/**
|
|
825
|
+
* Optional: the app's own words under the question, for an invitation whose
|
|
826
|
+
* grant needs spelling out ("Joining gives you this vault and the rest of
|
|
827
|
+
* the team it belongs to.").
|
|
828
|
+
*/
|
|
829
|
+
detail?: string;
|
|
830
|
+
/** Optional: which step a slow join is on, shown while joining. */
|
|
831
|
+
status?: string | null;
|
|
832
|
+
}
|
|
833
|
+
/** The stage the dialog shows: redemption's, plus the wait for the data. */
|
|
834
|
+
type InvitationDialogStage = 'awaiting-confirmation' | 'joining' | 'syncing' | 'ready' | 'already-member' | 'failed';
|
|
835
|
+
declare function InvitationDialog({ redemption, noun, appName, synced, detail, status, }: InvitationDialogProps): React.ReactPortal | null;
|
|
836
|
+
|
|
837
|
+
/**
|
|
838
|
+
* Hear every mark and clear in this page. The flag is set by redemption (at
|
|
839
|
+
* the app root) and cleared by whichever page reads the namespace's data
|
|
840
|
+
* (`useJoinSync`), so this is how the one learns about the other without the
|
|
841
|
+
* app threading page state up to its root.
|
|
842
|
+
*/
|
|
843
|
+
declare function subscribeJustJoined(listener: () => void): () => void;
|
|
844
|
+
/**
|
|
845
|
+
* Call this the moment a join succeeds, before navigating. The app that reads
|
|
846
|
+
* the flag is usually a different route from the one that accepted the invite.
|
|
847
|
+
*/
|
|
848
|
+
declare function markNamespaceJustJoined(namespaceId: string): void;
|
|
849
|
+
declare function clearNamespaceJustJoined(namespaceId: string): void;
|
|
850
|
+
declare function isNamespaceJustJoined(namespaceId: string | null): boolean;
|
|
851
|
+
|
|
852
|
+
/**
|
|
853
|
+
* Base window for the gate. A governance op plus the namespace's own state
|
|
854
|
+
* typically land in under a second on a healthy mesh; past this we give up
|
|
855
|
+
* ONLY if nothing is actively in flight.
|
|
856
|
+
*/
|
|
857
|
+
declare const JOIN_SYNC_WATCHDOG_MS = 30000;
|
|
858
|
+
/**
|
|
859
|
+
* Hard ceiling. Bounds a genuinely stuck sync so the gate can never pin the UI
|
|
860
|
+
* forever, even while something keeps reporting activity.
|
|
861
|
+
*/
|
|
862
|
+
declare const JOIN_SYNC_MAX_MS = 120000;
|
|
863
|
+
/** How often the watchdog re-checks activity past the base window. */
|
|
864
|
+
declare const JOIN_SYNC_POLL_MS = 2000;
|
|
865
|
+
interface JoinSyncOptions {
|
|
866
|
+
/** The namespace being shown. `null` while nothing is selected. */
|
|
867
|
+
namespaceId: string | null;
|
|
868
|
+
/**
|
|
869
|
+
* The app's own answer to "has this namespace's data actually arrived?" —
|
|
870
|
+
* the one thing that cannot be shared, because every app reads a different
|
|
871
|
+
* collection. Pass `true` once a real read has come back, INCLUDING an empty
|
|
872
|
+
* one: "no documents yet" is a settled answer, and waiting for a non-empty
|
|
873
|
+
* result would gate an genuinely empty workspace forever.
|
|
874
|
+
*/
|
|
875
|
+
settled: boolean;
|
|
876
|
+
/**
|
|
877
|
+
* Optional: a sync is making forward progress. Holds the gate open past the
|
|
878
|
+
* base window, up to the hard ceiling. Leave undefined if the app has no
|
|
879
|
+
* such signal — the gate then simply expires at the base window.
|
|
880
|
+
*
|
|
881
|
+
* A stuck or backing-off sync must report `false`, not `true`: the point of
|
|
882
|
+
* the base window is to stop waiting on something that is not coming.
|
|
883
|
+
*/
|
|
884
|
+
active?: boolean;
|
|
885
|
+
}
|
|
886
|
+
interface JoinSyncState {
|
|
887
|
+
/**
|
|
888
|
+
* Show the "syncing from peers" affordance. True only for a namespace this
|
|
889
|
+
* session just joined, whose data has not arrived, within the watchdog.
|
|
890
|
+
*/
|
|
891
|
+
isSyncing: boolean;
|
|
892
|
+
/** Drop the gate now — for a "show me anyway" control. */
|
|
893
|
+
dismiss: () => void;
|
|
894
|
+
}
|
|
895
|
+
/**
|
|
896
|
+
* Gate the window between "you joined" and "your data is here".
|
|
897
|
+
*
|
|
898
|
+
* Without it a just-joined namespace renders its ordinary empty state, and the
|
|
899
|
+
* user cannot tell an empty workspace from one that is still arriving. That
|
|
900
|
+
* ambiguity is the whole reason this exists: the two look identical, and the
|
|
901
|
+
* honest one is the less alarming of the two.
|
|
902
|
+
*/
|
|
903
|
+
declare function useJoinSync({ namespaceId, settled, active, }: JoinSyncOptions): JoinSyncState;
|
|
904
|
+
|
|
905
|
+
interface JoinSyncBannerProps {
|
|
906
|
+
/** Usually `useJoinSync(...).isSyncing`. Renders nothing when false. */
|
|
907
|
+
show: boolean;
|
|
908
|
+
/** What is arriving, in the app's own words: "documents", "vaults", "sheets". */
|
|
909
|
+
what?: string;
|
|
910
|
+
/** Wire to `useJoinSync(...).dismiss` for a "show me anyway" escape. */
|
|
911
|
+
onDismiss?: () => void;
|
|
912
|
+
/** Escape hatches for apps with their own design system. */
|
|
913
|
+
className?: string;
|
|
914
|
+
style?: CSSProperties;
|
|
915
|
+
children?: ReactNode;
|
|
916
|
+
}
|
|
917
|
+
/**
|
|
918
|
+
* Deliberately inline-styled rather than using a stylesheet or utility classes.
|
|
919
|
+
*
|
|
920
|
+
* The apps in this monorepo do not share a CSS stack — Tailwind, CSS modules
|
|
921
|
+
* and plain stylesheets are all represented — so anything class-based would
|
|
922
|
+
* render unstyled in most of them. Inline styles are the only thing that looks
|
|
923
|
+
* the same everywhere, and `className`/`style` are there for apps that want to
|
|
924
|
+
* take it over. Colours come from CSS custom properties with literal
|
|
925
|
+
* fallbacks, so an app that defines them gets its own palette for free and one
|
|
926
|
+
* that does not still gets something legible in both themes.
|
|
927
|
+
*/
|
|
928
|
+
declare function JoinSyncBanner({ show, what, onDismiss, className, style, children, }: JoinSyncBannerProps): react_jsx_runtime.JSX.Element | null;
|
|
929
|
+
|
|
605
930
|
interface JoinInvitationInput {
|
|
606
931
|
readonly namespaceId: string;
|
|
607
932
|
/** The context the invitation was for, when it names one; a workspace invitation names none. */
|
|
@@ -1490,4 +1815,4 @@ declare function clearAllStorage(): void;
|
|
|
1490
1815
|
*/
|
|
1491
1816
|
declare function isDesktopWindow(): boolean;
|
|
1492
1817
|
|
|
1493
|
-
export { type AccountEnrolment, AccountSignInPanel, type AccountSignInPanelProps, type AppContext, AppMode, type ApplicationContextRecord, type BlobHookOptions, CalimeroLogo, type CalimeroLogoProps, ConnectButton, ConnectButtonAccount, type ConnectButtonAccountProps, type ConnectButtonProps, ConnectionType, type ContextDiscoveryOptions, type ContextDiscoveryState, type CreatePrivateContextRequest, type CustomConnectionConfig, DEFAULT_MIGRATION_POLL_INTERVAL_MS, type ExecutionResult, type JoinInvitationInput, type JoinInvitationResult, type JoinInvitationStep, LoginModal, type LoginModalProps, type LoginModalTab, MERO_CSS_VARS, type MeroCapabilities, MeroContext, type MeroContextValue, MeroProvider, type MeroProviderConfig, type MeroProviderProps, type MeroTheme, MigrationAdminPanel, type MigrationAdminPanelProps, MigrationPendingBanner, type MigrationPendingBannerProps, type MutationOptions, type ResolvedMeroTheme, type SetMetadataInput, type SubscriptionEventData, type SubscriptionInput, type UseAccountEnrolmentOptions, type UseBlobUrlOptions, type UseDelegatedBootstrapOptions, type UseDelegatedBootstrapResult, type UseEphemeralOptions, type UseEphemeralResult, clearAllStorage, clearApplicationId, clearContextId, clearContextIdentity, clearNodeUrl, clearTokenNodeUrl, cssVar, defaultMeroTheme, getApplicationId, getContextId, getContextIdentity, getNodeUrl, getPermissionsForMode, getTokenNodeUrl, isDesktopWindow, isFinalInvitationError, isReturningFromWallet, localStorageTokenStorage, resolveMeroTheme, setApplicationId, setContextId, setContextIdentity, setNodeUrl, setTokenNodeUrl, themeToCssVars, useAccountEnrolment, useAddGroupMembers, useAppVersion, useApplicationContexts, useBlobInfo, useBlobUrl, useContextDiscovery, useContextGroup, useContexts, useCreateContext, useCreateGroupInNamespace, useCreateNamespace, useCreateNamespaceInvitation, useCreatePrivateContext, useDefaultCapabilities, useDelegatedBootstrap, useDeleteContext, useDeleteGroup, useDeleteNamespace, useDetachContextFromGroup, useEphemeral, useExecute, useGroupAppVersion, useGroupCapabilities, useGroupContexts, useGroupInfo, useGroupInvitations, useGroupMembers, useGroupMetadata, useGroupUpgradeStatus, useInstallFromRegistry, useJoinContext, useJoinGroup, useJoinInvitation, useJoinNamespace, useJoinSubgroupInheritance, useLatestVersion, useMemberMetadata, useMero, useMigrationEvents, useMigrationStatus, useMyAuthoredMigration, useNamespace, useNamespaceGroups, useNamespaceIdentity, useNamespaces, useNamespacesForApplication, useNodeIdentity, useRedeemInvitation, useRemoveGroupMembers, useReparentGroup, useResyncContext, useRetryGroupUpgrade, useSetContextMetadata, useSetDefaultCapabilities, useSetGroupMetadata, useSetMemberMetadata, useSetSubgroupVisibility, useSetTeeAdmissionPolicy, useSubgroupVisibility, useSubgroups, useSubscription, useSyncGroup, useUpdateMemberRole, useUpgradeGroup, useUploadBlob };
|
|
1818
|
+
export { type AccountEnrolment, AccountSignInPanel, type AccountSignInPanelProps, type AppContext, AppMode, type ApplicationContextRecord, type BlobHookOptions, CalimeroLogo, type CalimeroLogoProps, type CapturedInvitation, ConnectButton, ConnectButtonAccount, type ConnectButtonAccountProps, type ConnectButtonProps, ConnectionType, type ContextDiscoveryOptions, type ContextDiscoveryState, type CreatePrivateContextRequest, type CustomConnectionConfig, DEFAULT_MIGRATION_POLL_INTERVAL_MS, type ExecutionResult, INVITATION_PARAM, INVITATION_READY_MS, InvitationDialog, type InvitationDialogProps, type InvitationDialogStage, type InviteRedemption, type InviteState, JOIN_ACTION, JOIN_SYNC_MAX_MS, JOIN_SYNC_POLL_MS, JOIN_SYNC_WATCHDOG_MS, type JoinInvitationInput, type JoinInvitationResult, type JoinInvitationStep, JoinSyncBanner, type JoinSyncBannerProps, type JoinSyncOptions, type JoinSyncState, LoginModal, type LoginModalProps, type LoginModalTab, MAX_AUTO_JOIN_ATTEMPTS, MERO_CSS_VARS, type MeroCapabilities, MeroContext, type MeroContextValue, MeroProvider, type MeroProviderConfig, type MeroProviderProps, type MeroTheme, MigrationAdminPanel, type MigrationAdminPanelProps, MigrationPendingBanner, type MigrationPendingBannerProps, type MutationOptions, type ParsedInvitation, type ResolvedMeroTheme, type SetMetadataInput, type SubscriptionEventData, type SubscriptionInput, type UseAccountEnrolmentOptions, type UseBlobUrlOptions, type UseDelegatedBootstrapOptions, type UseDelegatedBootstrapResult, type UseEphemeralOptions, type UseEphemeralResult, type UseInviteRedemptionOptions, buildInviteLink, clearAllStorage, clearApplicationId, clearContextId, clearContextIdentity, clearNamespaceJustJoined, clearNodeUrl, clearTokenNodeUrl, cssVar, defaultMeroTheme, describeInviteFailure, getApplicationId, getContextId, getContextIdentity, getNodeUrl, getPermissionsForMode, getTokenNodeUrl, invitationFromRaw, isDesktopWindow, isFinalInvitationError, isNamespaceJustJoined, isReturningFromWallet, localStorageTokenStorage, markNamespaceJustJoined, onInvitation, peekInvitation, primeInvitationCapture, resetInvitationCaptureForTests, resolveMeroTheme, setApplicationId, setContextId, setContextIdentity, setNodeUrl, setTokenNodeUrl, subscribeJustJoined, themeToCssVars, urlWithoutInvitation, useAccountEnrolment, useAddGroupMembers, useAppVersion, useApplicationContexts, useBlobInfo, useBlobUrl, useContextDiscovery, useContextGroup, useContexts, useCreateContext, useCreateGroupInNamespace, useCreateNamespace, useCreateNamespaceInvitation, useCreatePrivateContext, useDefaultCapabilities, useDelegatedBootstrap, useDeleteContext, useDeleteGroup, useDeleteNamespace, useDetachContextFromGroup, useEphemeral, useExecute, useGroupAppVersion, useGroupCapabilities, useGroupContexts, useGroupInfo, useGroupInvitations, useGroupMembers, useGroupMetadata, useGroupUpgradeStatus, useInstallFromRegistry, useInviteRedemption, useJoinContext, useJoinGroup, useJoinInvitation, useJoinNamespace, useJoinSubgroupInheritance, useJoinSync, useLatestVersion, useMemberMetadata, useMero, useMigrationEvents, useMigrationStatus, useMyAuthoredMigration, useNamespace, useNamespaceGroups, useNamespaceIdentity, useNamespaces, useNamespacesForApplication, useNodeIdentity, useRedeemInvitation, useRemoveGroupMembers, useReparentGroup, useResyncContext, useRetryGroupUpgrade, useSetContextMetadata, useSetDefaultCapabilities, useSetGroupMetadata, useSetMemberMetadata, useSetSubgroupVisibility, useSetTeeAdmissionPolicy, useSubgroupVisibility, useSubgroups, useSubscription, useSyncGroup, useUpdateMemberRole, useUpgradeGroup, useUploadBlob };
|