mirror of https://github.com/abpframework/abp.git
2 changed files with 18 additions and 0 deletions
@ -0,0 +1,17 @@ |
|||
import { Import } from './import'; |
|||
import { Method } from './method'; |
|||
import { Omissible } from './util'; |
|||
|
|||
export class Service { |
|||
apiName: string; |
|||
imports: Import[] = []; |
|||
methods: Method[] = []; |
|||
name: string; |
|||
namespace: string; |
|||
|
|||
constructor(options: ServiceOptions) { |
|||
Object.assign(this, options); |
|||
} |
|||
} |
|||
|
|||
export type ServiceOptions = Omissible<Service, 'imports' | 'methods'>; |
|||
Loading…
Reference in new issue