Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
angular-basics
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Fullarton, Christopher
angular-basics
Commits
b9af8458
Commit
b9af8458
authored
Jan 03, 2019
by
Thomas Heckmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adds data and types
parent
412a29e6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
41 additions
and
0 deletions
+41
-0
db.json
db.json
+7
-0
src/app/project.ts
src/app/project.ts
+9
-0
src/app/projects.ts
src/app/projects.ts
+25
-0
No files found.
db.json
View file @
b9af8458
...
...
@@ -13,6 +13,13 @@
"customer"
:
"Kaufland"
,
"pt"
:
"160"
,
"city"
:
"Heilbronn"
},
{
"id"
:
3
,
"name"
:
"Kaufland Next"
,
"customer"
:
"Exxeta"
,
"pt"
:
"100"
,
"city"
:
"Karlsruhe"
}
]
}
\ No newline at end of file
src/app/project.ts
View file @
b9af8458
export
class
Project
{
id
:
number
;
name
:
string
;
customer
:
string
;
pt
:
number
;
city
:
string
;
constructor
()
{}
}
\ No newline at end of file
src/app/projects.ts
View file @
b9af8458
import
{
Project
}
from
'
./project
'
;
export
const
projects
=
[
{
'
id
'
:
1
,
'
name
'
:
'
Bahn 2020
'
,
'
customer
'
:
'
Deutsche Bahn
'
,
'
pt
'
:
'
100
'
,
'
city
'
:
'
Frankfurt/Main
'
},
{
'
id
'
:
2
,
'
name
'
:
'
Kaufland Next
'
,
'
customer
'
:
'
Kaufland
'
,
'
pt
'
:
'
160
'
,
'
city
'
:
'
Heilbronn
'
},
{
'
id
'
:
3
,
'
name
'
:
'
ONE Company
'
,
'
customer
'
:
'
Exxeta
'
,
'
pt
'
:
'
100
'
,
'
city
'
:
'
Karlsruhe
'
}
]
as
Project
[];
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment