@sap/adp-common
Version:
common logic for all yeoman generators
32 lines (31 loc) • 656 B
TypeScript
import { Project } from "./Types";
export interface Manifest {
"sap.ui5": SapUi5Section;
"sap.fiori": SapFioriSection;
"sap.app": SapAppSection;
}
interface SapUi5Section {
flexEnabled: boolean;
models: UI5ManifestModel;
}
interface SapFioriSection {
registrationIds: string[];
}
interface SapAppSection {
ach: string;
}
export interface SapModel {
type: string;
uri: string;
settings?: SapModelSettings;
}
interface SapModelSettings {
bundleName: string;
}
interface UI5ManifestModel {
[key: string]: SapModel;
}
export interface ManifestCall {
get: (projectData: Project) => Promise<any>;
}
export {};