Xivgear Types Documentation
    Preparing search index...

    Provides the service of retrieving and putting shortlinks

    interface ShortlinkService {
        getShortLink(uuid: string): Promise<string>;
        getShortlinkFetchUrl(stub: string): URL;
        putShortLink(content: string, embed?: boolean): Promise<URL>;
    }

    Implemented by

    Index

    Methods

    • Parameters

      • content: string
      • Optionalembed: boolean

      Returns Promise<URL>