Interface CreateTopicInput<CustomFields>

interface CreateTopicInput {
    app: string;
    customFields?: CustomFields;
    isPublic: boolean;
    name: string;
    ownerIds: string[];
    ownerType: "organization" | "user";
    typeId: string;
}

Type Parameters

  • CustomFields = unknown

Properties

app: string

APP id used for topic (useful for distinguishing purpose of topic)

customFields?: CustomFields

Custom fields for the topic

isPublic: boolean

Whether the topic is public. This may not be used depending upon application

name: string

Name of the topic

ownerIds: string[]

Owner IDs for the topic

ownerType: "organization" | "user"

Owner type for the topic. Used to configure data type for ownerId

typeId: string

Type ID for the topic. This is an arbitrary string

Generated using TypeDoc