Type alias OrgMembership

OrgMembership: {
    id: string;
    type: "org-memberships";
    user: {
        data: {
            type: "users";
            id: string;
        };
    };
    organization: {
        data: {
            type: "organizations";
            id: string;
        };
    };
    read: boolean;
    edit: boolean;
    manage: boolean;
    delete: boolean;
}

Type declaration

  • id: string
  • type: "org-memberships"
  • user: {
        data: {
            type: "users";
            id: string;
        };
    }
    • data: {
          type: "users";
          id: string;
      }
      • type: "users"
      • id: string
  • organization: {
        data: {
            type: "organizations";
            id: string;
        };
    }
    • data: {
          type: "organizations";
          id: string;
      }
      • type: "organizations"
      • id: string
  • read: boolean
  • edit: boolean
  • manage: boolean
  • delete: boolean

Generated using TypeDoc