1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2026-05-16 09:21:12 +02:00

creating network and login services

This commit is contained in:
Braun Patrik
2016-03-12 22:19:24 +01:00
parent a288ba71c6
commit df717f55e1
15 changed files with 114 additions and 11 deletions
+3
View File
@@ -0,0 +1,3 @@
export class Error{
}
+5
View File
@@ -0,0 +1,5 @@
export class LoginCredential{
constructor(public username?:string, public password?:string){
}
}
+5
View File
@@ -0,0 +1,5 @@
import {Error} from "./Error";
export class Message<T>{
constructor(public error:Error,public result:T){}
}
+3
View File
@@ -0,0 +1,3 @@
export class User {
constructor(public name?:string,public email?:string, public password?:string){}
}