mirror of https://github.com/abpframework/abp
parent
eb170e79de
commit
5c5c9e31bb
@ -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