Browse Source

IGroupRequest add id,description

visuddhinanda 3 years ago
parent
commit
94b5c98eab
1 changed files with 4 additions and 1 deletions
  1. 4 1
      dashboard/src/components/api/Group.ts

+ 4 - 1
dashboard/src/components/api/Group.ts

@@ -1,14 +1,17 @@
 import { IStudioApiResponse, IUserRequest, TRole } from "./Auth";
 
 export interface IGroupRequest {
+  id?: string;
   name: string;
-  studio_name: string;
+  description?: string;
+  studio_name?: string;
 }
 
 export interface IGroupDataRequest {
   uid: string;
   name: string;
   description: string;
+  owner: string;
   studio: IStudioApiResponse;
   role: TRole;
   created_at: string;