Skip to content

Commit

Permalink
Created different interfaces;
Browse files Browse the repository at this point in the history
boardPrerogative,
board,
card,
categoryRule,
label,
methodologyRole,
methodology,
organization,
organizationPrerogative,
organizationRole.
  • Loading branch information
Rossb0b committed Jun 7, 2020
1 parent 4a815b1 commit 4061362
Show file tree
Hide file tree
Showing 10 changed files with 86 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/app/shared/interface/board-prerogative.interface.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export interface BoardPrerogative {
_id?: string;
name: string;
description: string;
}
15 changes: 15 additions & 0 deletions src/app/shared/interface/board.interface.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
export interface Board {
_id?: string;
name: string;
startDate: Date;
endDate: Date;
methodologyId: string;
sprintDuration: Number;
actualSprint: Number;
maxSprintNumber: Number;
member: [{
userId: string;
methodologyRoleId: string;
}];
card: string[];
}
13 changes: 13 additions & 0 deletions src/app/shared/interface/card.interface.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
export interface Card {
_id?: string;
name: string;
description: string;
deadline: Date;
value: Number;
comment: [{
content: string;
userId: string;
}];
worker: string[];
label: string[];
}
5 changes: 5 additions & 0 deletions src/app/shared/interface/category-rule.interface.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export interface CategoryRule {
_id?: string;
name: string;
description: string;
}
5 changes: 5 additions & 0 deletions src/app/shared/interface/label.interface.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export interface Label {
_id?: string;
name: string;
color: string;
}
6 changes: 6 additions & 0 deletions src/app/shared/interface/methodology-role.interface.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export interface MethodologyRole {
_id?: string;
name: string;
boardPrerogativeId: string[];
methodologyId: string;
}
13 changes: 13 additions & 0 deletions src/app/shared/interface/methodology.interface.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
export interface Methodology {
_id?: string;
name: string;
category: [{
name: string;
categoryRuleId: string;
}];
role: [{
name: string;
boardPrerogativeId: string[];
}];
labelId: string[];
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export interface OrganizationPrerogative {
_id?: string;
name: string;
description: string;
}
5 changes: 5 additions & 0 deletions src/app/shared/interface/organization-role.interface.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export interface OrganizationRole {
_id?: string;
name: string;
organisationPrerogativeId: string;
}
14 changes: 14 additions & 0 deletions src/app/shared/interface/organization.interface.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
export interface Organization {
_id?: string;
name: string;
member: [{
userId: string;
organisationRoleId: string;
}];
methodology: [{
methodologyId: string;
}];
board: [{
boardId: string;
}]
}

0 comments on commit 4061362

Please sign in to comment.