generator-begcode
Version:
Spring Boot + Angular/React/Vue in one handy generator
29 lines (28 loc) • 1.16 kB
TypeScript
import GeneratorBaseApplication from '../base-application/index.js';
import type { TaskTypes as ApplicationTaskTypes, TaskParamWithApplication } from '../../lib/types/application/tasks.js';
import type { BaseChangelog } from './types.js';
import type { TaskParamWithChangelogsAndApplication } from './tasks.js';
type TaskTypes = ApplicationTaskTypes & {
DefaultTaskParam: {
entityChanges?: BaseChangelog[];
};
WritingEntitiesTaskParam: {
entityChanges?: BaseChangelog[];
};
PostWritingEntitiesTaskParam: {
entityChanges?: BaseChangelog[];
};
};
export default abstract class GeneratorBaseEntityChanges extends GeneratorBaseApplication<TaskTypes> {
recreateInitialChangelog: boolean;
private entityChanges;
abstract isChangelogNew({ entityName, changelogDate }: {
entityName: any;
changelogDate: any;
}): boolean;
protected getTaskFirstArgForPriority(priorityName: string): TaskParamWithChangelogsAndApplication | TaskParamWithApplication;
protected generateIncrementalChanges(): BaseChangelog[];
private hasAnyDefaultValue;
private doDefaultValuesDiffer;
}
export {};