@sap/artifact-management-types 1.46.0 → 1.47.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap/artifact-management-types",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.47.4",
|
|
4
4
|
"description": "Type signatures for artifact management",
|
|
5
5
|
"types": "./src/index.d.ts",
|
|
6
6
|
"main": "./src/index.d.ts",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"pack": "npm run modify-types-import && npm pack"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@sap/artifact-management-base-types": "1.
|
|
13
|
+
"@sap/artifact-management-base-types": "1.47.4"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
"gulp": "4.0.2"
|
|
@@ -5,7 +5,7 @@ export default class MtaMerger {
|
|
|
5
5
|
git: SimpleGit;
|
|
6
6
|
get Git(): SimpleGit;
|
|
7
7
|
logger: ProjectAPILogger;
|
|
8
|
-
constructor(fs: ProjectFileSystem);
|
|
8
|
+
constructor(fs: ProjectFileSystem, config?: string[]);
|
|
9
9
|
merge(content: string): Promise<void>;
|
|
10
10
|
private writeDataObject;
|
|
11
11
|
private areDiffFiles;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Item, ProjectData, ProjectFileSystem, VSCodeFileSystem } from '@sap/artifact-management-base-types';
|
|
2
|
+
import { AppGenInfoFile } from '@sap/artifact-management-fioriplugin';
|
|
3
|
+
export declare type ServiceItemsMap = Map<string, Item[]>;
|
|
4
|
+
export declare function updateUiItem(UiItem: Item, serviceItem: Item): void;
|
|
5
|
+
export declare function updateUiItems(appGenInfoFile: AppGenInfoFile, serviceCsnsMap: ServiceItemsMap, projectFs: ProjectFileSystem | VSCodeFileSystem, fioriUiItem: Item): void;
|
|
6
|
+
export declare function initFioriUiItem(projectInfo: ProjectData): Item;
|
|
7
|
+
export declare function fetchUiAndUpdateUiProject(projectFs: ProjectFileSystem, serviceItemsMap: ServiceItemsMap): Promise<Item[]>;
|
|
@@ -16,7 +16,7 @@ export declare function fillEntities(entities: CDSDefinition[], csnFile: string,
|
|
|
16
16
|
export declare function processEntityItems(entities: CDSDefinition[], items: Map<string, Item>): void;
|
|
17
17
|
export declare function processDependencies(entity: CDSDefinition, entityItem: Item, items: Map<string, Item>, prefixRef: string): void;
|
|
18
18
|
export declare function addLinksToEntity(entityItem: Item, dependItems: DependItem[]): void;
|
|
19
|
-
export declare function fillCompositions(entity: CDSDefinition, entityItem: Item, items: Map<string, Item
|
|
19
|
+
export declare function fillCompositions(entity: CDSDefinition, entityItem: Item, items: Map<string, Item>, entities: CDSDefinition[], currentRootRef?: string, rootEntityItem?: Item): void;
|
|
20
20
|
export declare function processAssociations(entity: CDSDefinition, entityItem: Item): void;
|
|
21
21
|
export declare function getAbapEntityRef(name: string): EntityRefInfo;
|
|
22
22
|
export declare function getEntityTypeByPath(path: string): string;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Item, ProjectData, ProjectFileSystem, VSCodeFileSystem } from '@sap/artifact-management-base-types';
|
|
2
|
-
interface AppGenInfoItem {
|
|
3
|
-
serviceNameCsn: string;
|
|
4
|
-
csnName: string;
|
|
5
|
-
packageUri: string;
|
|
6
|
-
}
|
|
7
|
-
interface AppGenInfo {
|
|
8
|
-
abapCSN: AppGenInfoItem[];
|
|
9
|
-
}
|
|
10
|
-
interface AppGenInfoFile {
|
|
11
|
-
externalParameters: AppGenInfo;
|
|
12
|
-
}
|
|
13
|
-
export declare type ServiceItemsMap = Map<string, Item[]>;
|
|
14
|
-
export declare function isAppGenInfoItem(obj: any): obj is AppGenInfoItem;
|
|
15
|
-
export declare function filterValidAppGenInfoItems(items: any[]): AppGenInfoItem[];
|
|
16
|
-
export declare function parseAppGenInfoContent(fileContent: AppGenInfoFile): AppGenInfoFile;
|
|
17
|
-
export declare function isFioriUiForAbap(fioriProjectPath: string): any;
|
|
18
|
-
export declare function initFioriUiItem(projectInfo: ProjectData): Item;
|
|
19
|
-
export declare function updateUiItem(UiItem: Item, serviceItem: Item): void;
|
|
20
|
-
export declare function updateUiItems(appGenInfoFile: AppGenInfoFile, serviceCsnsMap: ServiceItemsMap, projectFs: ProjectFileSystem | VSCodeFileSystem, fioriUiItem: Item): void;
|
|
21
|
-
export declare function createUiItemsForAbap(projectInfo: ProjectData, serviceItemsMap: ServiceItemsMap, projectFs: ProjectFileSystem | VSCodeFileSystem): Item | undefined;
|
|
22
|
-
export declare function fetchUiAndUpdateUiProject(projectFs: ProjectFileSystem, serviceItemsMap: ServiceItemsMap): Promise<Item[]>;
|
|
23
|
-
export {};
|