Interface OrbitNodeParameters

Source
interface OrbitNodeParameters {
    additionalFields?:
        | {
            activityType?: string;
            description?: string;
            key?: string;
            link?: string;
            linkText?: string;
            occurredAt?: string;
        }
        | {
            bio?: string;
            birthday?: string;
            company?: string;
            location?: string;
            name?: string;
            pronouns?: string;
            shippingAddress?: string;
            slug?: string;
            tagList?: string;
            tagsToAdd?: string;
            teammate?: boolean;
            tShirt?: string;
            url?: string;
        }
        | { publishedAt?: string };
    email?: string;
    filters?: { memberId?: string };
    host?: string;
    id?: string;
    identityUi?: {
        identityValue: {
            email: string;
            host: string;
            id: string;
            searchBy: "id" | "username";
            source?: "github" | "twitter" | "email" | "discourse";
            username: string;
        };
    };
    limit?: number;
    memberId?: string;
    note?: string;
    noteId?: string;
    operation?: | "create"
    | "get"
    | "getAll"
    | "update"
    | "delete"
    | "upsert"
    | "lookup";
    options?: { direction?: "ASC"
    | "DESC"; sort?: string };
    postId?: string;
    resolveIdentities?: boolean;
    resolveMember?: boolean;
    resource?: "member" | "activity" | "note" | "post";
    returnAll?: boolean;
    searchBy?: "id" | "username";
    source?: "github" | "twitter" | "email" | "discourse";
    title?: string;
    updateFields?: {
        bio?: string;
        birthday?: string;
        company?: string;
        location?: string;
        name?: string;
        pronouns?: string;
        shippingAddress?: string;
        slug?: string;
        tagList?: string;
        tagsToAdd?: string;
        teammate?: boolean;
        tShirt?: string;
        url?: string;
    };
    url?: string;
    username?: string;
    workspaceId?: string;
}

Properties§

Source§

readonly additionalFields?:
    | {
        activityType?: string;
        description?: string;
        key?: string;
        link?: string;
        linkText?: string;
        occurredAt?: string;
    }
    | {
        bio?: string;
        birthday?: string;
        company?: string;
        location?: string;
        name?: string;
        pronouns?: string;
        shippingAddress?: string;
        slug?: string;
        tagList?: string;
        tagsToAdd?: string;
        teammate?: boolean;
        tShirt?: string;
        url?: string;
    }
    | { publishedAt?: string }

Default: {}

Source§

readonly email?: string

The email address

Source§

readonly filters?: { memberId?: string }

Default: {}

Source§

readonly host?: string

Source§

readonly id?: string

The username at the source

Source§

readonly identityUi?: {
    identityValue: {
        email: string;
        host: string;
        id: string;
        searchBy: "id" | "username";
        source?: "github" | "twitter" | "email" | "discourse";
        username: string;
    };
}

The identity is used to find the member. If no member exists, a new member will be created and linked to the provided identity. Default: {} Type options: {"multipleValues":false}

Source§

readonly limit?: number

Max number of results to return Default: 100 Type options: {"minValue":1,"maxValue":500}

Source§

readonly memberId?: string

Source§

readonly note?: string

Source§

readonly noteId?: string

Source§

readonly operation?:
    | "create"
    | "get"
    | "getAll"
    | "update"
    | "delete"
    | "upsert"
    | "lookup"

Default: "create"

Source§

readonly options?: { direction?: "ASC" | "DESC"; sort?: string }

Default: {}

Source§

readonly postId?: string

Source§

readonly resolveIdentities?: boolean

By default, the response just includes the reference of the identity. When set to true the identities will be resolved automatically.

Source§

readonly resolveMember?: boolean

Source§

readonly resource?: "member" | "activity" | "note" | "post"

Default: "member"

Source§

readonly returnAll?: boolean

Whether to return all results or only up to a given limit

Source§

readonly searchBy?: "id" | "username"

Source§

readonly source?: "github" | "twitter" | "email" | "discourse"

Set to github, twitter, email, discourse or the source of any identities you've manually created

Source§

readonly title?: string

Source§

readonly updateFields?: {
    bio?: string;
    birthday?: string;
    company?: string;
    location?: string;
    name?: string;
    pronouns?: string;
    shippingAddress?: string;
    slug?: string;
    tagList?: string;
    tagsToAdd?: string;
    teammate?: boolean;
    tShirt?: string;
    url?: string;
}

Default: {}

Source§

readonly url?: string

Supply any URL and Orbit will do its best job to parse out a title, description, and image

Source§

readonly username?: string

The username at the source

Source§

readonly workspaceId?: string

Choose from the list, or specify an ID using an expression Default: "Deprecated" Type options: {"loadOptionsMethod":"getWorkspaces"}