-
Notifications
You must be signed in to change notification settings - Fork 2
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 #7 from HungryMinds/CRJ1-Inception/models
Crj1 inception/models and #5
- Loading branch information
Showing
81 changed files
with
120 additions
and
4,413 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 was deleted.
Oops, something went wrong.
26 changes: 0 additions & 26 deletions
26
src/app/core/constants/routes-role-requirements.constant.ts
This file was deleted.
Oops, something went wrong.
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,23 +1,6 @@ | ||
/* ••••••••••••••••••••••••••••••••••••••••••• */ | ||
/* •• IMPORTS •• */ | ||
/* ••••••••••••••••••••••••••••••••••••••••••• */ | ||
|
||
// Platform Imports | ||
import { NgModule } from '@angular/core'; | ||
|
||
// Services Imports | ||
import { SessionService, NotificationService, DialogService } from './services'; | ||
import { AuthGuard } from './guards/auth.guard'; | ||
|
||
// Modules Imports | ||
import { SharedModule } from '../shared'; | ||
|
||
/* ••••••••••••••••••••••••••••••••••••••••••• */ | ||
/* •• MODULE DEFINITION •• */ | ||
/* ••••••••••••••••••••••••••••••••••••••••••• */ | ||
|
||
@NgModule({ | ||
imports: [SharedModule], | ||
providers: [SessionService, NotificationService, DialogService, AuthGuard] | ||
providers: [] | ||
}) | ||
export class CoreModule {} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,18 +1,5 @@ | ||
// Exports module. | ||
export * from './core.module'; | ||
|
||
// Export guards | ||
export * from './guards/auth.guard'; | ||
|
||
// Enums Exports | ||
export * from './enums'; | ||
|
||
// Export interfaces | ||
export * from './interfaces'; | ||
|
||
// Export public constants | ||
export * from './constants/routes-access.constant'; | ||
export * from './constants/routes-role-requirements.constant'; | ||
|
||
// Export public models | ||
export * from './services'; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,3 +1 @@ | ||
export { SessionService } from './session/session.service'; | ||
export { NotificationService } from './notification/notification.service'; | ||
export { DialogService } from './dialog/dialog.service'; | ||
export { CampistService } from './models/campist.service'; |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export interface BasalInsulin { | ||
dosage: number; | ||
timestamp: Date; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import { Team } from './team.enum'; | ||
import { | ||
InsulinSchemeIntervals, | ||
InsulinSchemeRatio | ||
} from './insulin-scheme.interface'; | ||
import { BasalInsulin } from './basal-insulin.interface'; | ||
import { FoodTable } from './food.types'; | ||
|
||
export interface Campist { | ||
id: string; | ||
names: string; | ||
lastNames: string; | ||
age: number; | ||
team: Team; | ||
allergies: string; | ||
medications: string; | ||
insulinSchemeIntervals: InsulinSchemeIntervals; | ||
insulinSchemeRatio: InsulinSchemeRatio; | ||
basalInsulin: Array<BasalInsulin>; | ||
foodTable: Array<FoodTable>; | ||
} |
Oops, something went wrong.