Skip to content

Home > @theweave/api > IframeConfig

IframeConfig type

Signature:

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

References: ProfilesLocation, GroupProfile