Skip to content

Home > @theweave/api > IframeConfig

IframeConfig type

Signature:

typescript
export type IframeConfig = {
    type: 'applet';
    appPort: number;
    appletHash: EntryHash;
    authenticationToken: AppAuthenticationToken;
    weaveProtocolVersion: string;
    mossVersion: string;
    profilesLocation: ProfilesLocation;
    groupProfiles: GroupProfile[];
} | {
    type: 'cross-applet';
    appPort: number;
    weaveProtocolVersion: string;
    mossVersion: string;
    applets: Record<EntryHashB64, [AppAuthenticationToken, ProfilesLocation]>;
} | {
    type: 'not-installed';
    appletName: string;
};

References: ProfilesLocation, GroupProfile