-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #334 from TogetherCrew/upv1
User Permission V1
- Loading branch information
Showing
44 changed files
with
1,015 additions
and
311 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
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 |
---|---|---|
|
@@ -11,18 +11,18 @@ interface UserFixture { | |
|
||
export const userOne: UserFixture = { | ||
_id: new Types.ObjectId(), | ||
discordId: crypto.randomBytes(20).toString('hex'), | ||
discordId: '123456789', | ||
email: '[email protected]', | ||
}; | ||
|
||
export const userTwo: UserFixture = { | ||
_id: new Types.ObjectId(), | ||
discordId: crypto.randomBytes(20).toString('hex'), | ||
discordId: '987654321', | ||
}; | ||
|
||
export const userThree: UserFixture = { | ||
_id: new Types.ObjectId(), | ||
discordId: crypto.randomBytes(20).toString('hex'), | ||
discordId: '555555555', | ||
}; | ||
|
||
export const insertUsers = async function <Type>(users: Array<Type>) { | ||
|
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
Oops, something went wrong.