-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
interface changed from User to TeamUser in types
- Loading branch information
1 parent
e5b0807
commit e85be9f
Showing
2 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
import { AnyProperty } from "../../utility/fields"; | ||
|
||
export interface Users extends UserData { | ||
add(data:UserData): Promise<UserData> | ||
export interface TeamUsers extends TeamUserData { | ||
add(data:TeamUserData): Promise<TeamUserData> | ||
fetchAll(params?: { includeUserDetails: boolean, include_count: boolean}): Promise<AnyProperty> | ||
} | ||
|
||
export interface User { | ||
export interface TeamUser { | ||
remove(): Promise<AnyProperty> | ||
} | ||
|
||
export interface UserData extends AnyProperty { | ||
export interface TeamUserData extends AnyProperty { | ||
emails?: string[] | ||
users?: string[] | ||
} |