UNPKG
@nepwork/dashboards
Version:
latest (0.0.2)
0.0.2
Dashboards for emergencies and monitoring
github.com/nepwork/admin-ui
nepwork/admin-ui
@nepwork/dashboards
/
hgraph
/
src
/
lib
/
identity
/
identity.service.ts
21 lines
(15 loc)
•
302 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import
{
Injectable
}
from
'@angular/core'
;
import
{
Observable
}
from
'rxjs'
;
@Injectable
({
providedIn
:
'root'
})
export
class
IdentityService
{
private
idStr
:
IdStream
;
constructor
(
) { }
set
id
(
id
:
IdStream
) {
this
.
idStr
= id; }
get
id
():
IdStream
{
return
this
.
idStr
; } }