-
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.
Merge pull request #12 from cyberpirate92/feat(pre-defined-boards)
Feat(pre defined boards)
- Loading branch information
Showing
22 changed files
with
473 additions
and
172 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
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
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,33 @@ | ||
/** | ||
* Descibe a property based task grouping model | ||
*/ | ||
export interface TaskGroup { | ||
/** | ||
* Name of this task grouping model | ||
*/ | ||
displayName: string; | ||
|
||
/** | ||
* The property name which is the basis | ||
* for this grouping model | ||
*/ | ||
propertyName: string; | ||
|
||
/** | ||
* The list of values for `propertyName` the | ||
* tasks should be divided into | ||
*/ | ||
values: any[]; | ||
|
||
/** | ||
* Display labels to be used as board titles. | ||
* List should have the same number of elements as `values` | ||
*/ | ||
displayLabels: string[]; | ||
|
||
/** | ||
* Optional image urls. | ||
* Should have the same number of elements as `values` | ||
*/ | ||
displayPictures?: string[]; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { Injectable } from '@angular/core'; | ||
import { HttpInterceptor, HttpEvent, HttpResponse, HttpRequest, HttpHandler } from '@angular/common/http'; | ||
import { Observable } from 'rxjs'; | ||
import { environment } from 'src/environments/environment'; | ||
|
||
@Injectable() | ||
export class AuthInterceptor implements HttpInterceptor { | ||
intercept(httpRequest: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>> { | ||
return next.handle(httpRequest.clone({ | ||
setHeaders: { | ||
AuthToken: environment.apiKey, | ||
} | ||
}));; | ||
} | ||
} |
Oops, something went wrong.
a3047d6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: