@sap/artifact-management-types 1.36.2 → 1.38.0

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.36.2",
3
+ "version": "1.38.0",
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.36.2"
13
+ "@sap/artifact-management-base-types": "1.38.0"
14
14
  },
15
15
  "devDependencies": {
16
16
  "gulp": "4.0.2"
@@ -3,4 +3,6 @@ export default interface MtaGeneratorSettings {
3
3
  ui5theme?: string;
4
4
  terminal?: string;
5
5
  platform?: string;
6
+ vendorDependency?: boolean;
7
+ buildCodeServicePlan?: boolean;
6
8
  }
@@ -14,7 +14,7 @@ export default class NodeWorkspace implements WorkspaceApi {
14
14
  constructor(path: string, readModuleAsProject: boolean);
15
15
  getWorksapceFolders(): Promise<string[]>;
16
16
  private getSubFolders;
17
- getProjects(tag?: KeyIn<typeof Tag>): Promise<ProjectApi[]>;
17
+ getProjects(tag?: KeyIn<typeof Tag>, path?: string, shallow?: boolean): Promise<ProjectApi[]>;
18
18
  getProject(path: string, useHeadlessGenerator?: boolean): Promise<ProjectApi>;
19
19
  private getProjectsAllLevels;
20
20
  getProjectUris(): Promise<string[]>;
@@ -76,7 +76,7 @@ export default interface ProjectApi {
76
76
  /**
77
77
  * Get contents of mta.yaml file
78
78
  */
79
- getManifest(logger?: IChildLogger): Promise<any>;
79
+ getManifest(options?: MtaGeneratorSettings, logger?: IChildLogger): Promise<any>;
80
80
  /**
81
81
  * Get summary of application deployment
82
82
  */
@@ -94,4 +94,12 @@ export default interface ProjectApi {
94
94
  getDataInfo(data: any, mainEntityName?: string, logger?: IChildLogger): Promise<any>;
95
95
  enableSaas(): Promise<void>;
96
96
  updateXsuaaService(): Promise<boolean>;
97
+ /**
98
+ * Get the list of all the services in the project
99
+ */
100
+ getServicesInfo(): Promise<any[]>;
101
+ /**
102
+ * Get the edmx of a service
103
+ */
104
+ getServiceEdmx(path: string, name: string): Promise<string>;
97
105
  }
@@ -55,7 +55,7 @@ export default class ProjectImpl implements ProjectApi {
55
55
  getDetailInfo(type: KeyIn<typeof ItemType>, ref: string, entityPath?: string, options?: ItemDetailInfoOptions, logger?: IChildLogger): Promise<Item | undefined>;
56
56
  prepareForRun(options?: string[] | undefined, logger?: IChildLogger): Promise<void>;
57
57
  buildManifest(options?: MtaGeneratorSettings, logger?: IChildLogger): Promise<void>;
58
- getManifest(logger?: IChildLogger): Promise<any>;
58
+ getManifest(options?: MtaGeneratorSettings, logger?: IChildLogger): Promise<any>;
59
59
  build(options?: MtaGeneratorSettings, logger?: IChildLogger): Promise<void>;
60
60
  kymaDeploy(kymaNS?: string, tag?: string, dockerNS?: string): Promise<void>;
61
61
  deploy(logger?: IChildLogger): Promise<void>;
@@ -79,4 +79,6 @@ export default class ProjectImpl implements ProjectApi {
79
79
  private modifyCDSProductionDB;
80
80
  private modifyLowcodeEventHandler;
81
81
  private modifyPackgeJSON;
82
+ getServicesInfo(): Promise<any[]>;
83
+ getServiceEdmx(path: string, name: string): Promise<string>;
82
84
  }
@@ -27,7 +27,7 @@ export default class VSCodeWorkspace implements WorkspaceApi {
27
27
  private readers;
28
28
  constructor(vscode: VSCodeLike, readModuleAsProject: boolean);
29
29
  private getSubFolders;
30
- getProjects(tag?: KeyIn<typeof Tag>): Promise<ProjectApi[]>;
30
+ getProjects(tag?: KeyIn<typeof Tag>, path?: string, shallow?: boolean): Promise<ProjectApi[]>;
31
31
  getProject(path: string, useHeadlessGenerator?: boolean): Promise<ProjectApi>;
32
32
  private getProjectsAllLevels;
33
33
  private isExpectedProject;
@@ -1,7 +1,7 @@
1
1
  import { IPluginManager, KeyIn, Tag } from '@sap/artifact-management-base-types';
2
2
  import ProjectApi from './ProjectApi';
3
3
  export default interface WorkspaceApi {
4
- getProjects(tag?: KeyIn<typeof Tag>, path?: string): Promise<ProjectApi[]>;
4
+ getProjects(tag?: KeyIn<typeof Tag>, path?: string, shallow?: boolean): Promise<ProjectApi[]>;
5
5
  getProject(path: string, useHeadlessGenerator?: boolean): Promise<ProjectApi>;
6
6
  /**
7
7
  * Get all paths that contain projects in the workspace
@@ -6,7 +6,7 @@ export { VSCodeLike };
6
6
  export default class WorkspaceImpl implements WorkspaceApi {
7
7
  private api;
8
8
  constructor(pathOrWorkspace: string | VSCodeLike, readModuleAsProject?: boolean);
9
- getProjects(tag?: KeyIn<typeof Tag>, path?: string): Promise<ProjectApi[]>;
9
+ getProjects(tag?: KeyIn<typeof Tag>, path?: string, shallow?: boolean): Promise<ProjectApi[]>;
10
10
  getProject(path: string, useHeadlessGenerator?: boolean): Promise<ProjectApi>;
11
11
  getProjectUris(): Promise<string[]>;
12
12
  startWatch(): void;