Interface iSocialConnections<T>

Social connections are tracked for each user to provide an enhanced experience. These are kept private from other users or sites using the API. Currently, there is no use for these, but they may be used in the future.

interface iSocialConnections<T> {
    discord?: {
        discriminator?: string;
        id: string;
        lastUpdated: T;
        username: string;
    };
    github?: {
        id: string;
        lastUpdated: T;
        username: string;
    };
    google?: {
        id: string;
        lastUpdated: T;
        username: string;
    };
    twitter?: {
        id: string;
        lastUpdated: T;
        username: string;
    };
}

Type Parameters

Implemented by

Properties

discord?: {
    discriminator?: string;
    id: string;
    lastUpdated: T;
    username: string;
}

Type declaration

  • Optional discriminator?: string
  • id: string
  • lastUpdated: T
  • username: string
github?: {
    id: string;
    lastUpdated: T;
    username: string;
}

Type declaration

  • id: string
  • lastUpdated: T
  • username: string
google?: {
    id: string;
    lastUpdated: T;
    username: string;
}

Type declaration

  • id: string
  • lastUpdated: T
  • username: string
twitter?: {
    id: string;
    lastUpdated: T;
    username: string;
}

Type declaration

  • id: string
  • lastUpdated: T
  • username: string