Disadus Documentation
  • Disadus Documentation
  • 🔓Authentication
    • Basic Authentication (REST)
    • Socket Authentication (WS)
  • 🔆Disadus Core
    • About Disadus Core
    • Page 2
    • 🫂Community Data
      • 📅Community Schedules
      • ⚙️Community LMS Settings
      • Community-Related Types
      • Get Community Info (REST)
      • Search For Communities (REST)
      • Get Communities Join Info (REST)
      • Join A Community (REST)
      • Leave A Community (REST)
    • 🧑User Data
      • User-Related Types
      • Get Self User Info (REST)
      • Get Self User Info (WS)
      • Get User Info by ID (REST)
      • Get User Info By ID (WS)
      • Get User Info By Username (WS)
  • 📖Disadus Courses
    • About Disadus Courses
    • 📣Course Announcements
    • 📝Course Assignments
    • ⚙️Course Preferences
    • 💯Course Grades
Powered by GitBook
On this page
  • Community Type
  • Community Join Type
  • Community LMS Types

Was this helpful?

  1. Disadus Core
  2. Community Data

Community-Related Types

Community Type

type DisadusCommunity = {
  name: string;
  description: string;
  image: string;
  id: string;
  members: string[];
  admins: string[];
  creator: string;
  createdAt: number;
  schoology?: {
    domain: string;
  };
  colors: {
    primary: string;
    secondary: string;
  };
  vanitybg: string;
  plugins: string[];
  private?: boolean;
  verified?: boolean;
};

Community Join Type

type DisadusCommunityJoin = {
  userid: string;
  community: string;
  lmsType: ;
  lmsLinked: boolean;
  courses?: {
    [courseId: string]: 1;
  };
  communityObject?: ;
};

Community LMS Types

type LMSTypes = "schoology"
PreviousCommunity LMS SettingsNextGet Community Info (REST)

Last updated 2 years ago

Was this helpful?

🔆
🫂