-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f7cec3c
commit 00192db
Showing
6 changed files
with
101 additions
and
108 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
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,32 +1,22 @@ | ||
export const Initials = { | ||
DefaultInterface: `// You can use typescript interfaces like following; | ||
interface Admin extends User { | ||
adminRecord: AdminRecord; | ||
} | ||
interface Student extends User { | ||
schoolRecord: SchoolRecord; | ||
} | ||
interface User { | ||
firstName: string; | ||
lastName: string; | ||
username: string; | ||
emailAddress: string; | ||
} | ||
interface AdminRecord { | ||
studentsPassedEachYear: number[]; | ||
} | ||
interface SchoolRecord { | ||
startDate: string; | ||
endDate: string; | ||
isActive: boolean; | ||
grades: number[]; | ||
} | ||
`, | ||
|
||
DefaultMockResult: `{ | ||
User: { | ||
firstName: "Kenny", | ||
lastName: "Goodwin", | ||
username: "Jessie97", | ||
emailAddress: "[email protected]" | ||
} | ||
}`, | ||
}; | ||
|
||
export const RegexExp = { | ||
|
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