feat: add import model to schematics

pull/5137/head
Arman Ozak 5 years ago
parent 3cc935918d
commit 8968d3ea57

@ -0,0 +1,15 @@
import { eImportKeyword } from '../enums';
import { Omissible } from './util';
export class Import {
alias?: string;
keyword = eImportKeyword.Default;
path: string;
specifiers: string[] = [];
constructor(options: ImportOptions) {
Object.assign(this, options);
}
}
export type ImportOptions = Omissible<Import, 'keyword' | 'specifiers'>;

@ -1,3 +1,4 @@
export * from './api-definition';
export * from './import';
export * from './project';
export * from './util';

Loading…
Cancel
Save