@sap/artifact-management-types 1.27.0 → 1.28.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.27.0",
3
+ "version": "1.28.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.27.0"
13
+ "@sap/artifact-management-base-types": "1.28.0"
14
14
  },
15
15
  "devDependencies": {
16
16
  "gulp": "4.0.2"
@@ -15,7 +15,7 @@ export default class NodeWorkspace implements WorkspaceApi {
15
15
  getWorksapceFolders(): Promise<string[]>;
16
16
  private getSubFolders;
17
17
  getProjects(tag?: KeyIn<typeof Tag>): Promise<ProjectApi[]>;
18
- getProject(path: string): Promise<ProjectApi>;
18
+ getProject(path: string, useHeadlessGenerator?: boolean): Promise<ProjectApi>;
19
19
  private getProjectsAllLevels;
20
20
  getProjectUris(): Promise<string[]>;
21
21
  startWatch(): void;
@@ -28,7 +28,7 @@ export default class VSCodeWorkspace implements WorkspaceApi {
28
28
  constructor(vscode: VSCodeLike, readModuleAsProject: boolean);
29
29
  private getSubFolders;
30
30
  getProjects(tag?: KeyIn<typeof Tag>): Promise<ProjectApi[]>;
31
- getProject(path: string): Promise<ProjectApi>;
31
+ getProject(path: string, useHeadlessGenerator?: boolean): Promise<ProjectApi>;
32
32
  private getProjectsAllLevels;
33
33
  private isExpectedProject;
34
34
  private isCorrectBasEmptyProject;
@@ -2,7 +2,7 @@ import { IPluginManager, KeyIn, Tag } from '@sap/artifact-management-base-types'
2
2
  import ProjectApi from './ProjectApi';
3
3
  export default interface WorkspaceApi {
4
4
  getProjects(tag?: KeyIn<typeof Tag>, path?: string): Promise<ProjectApi[]>;
5
- getProject(path: string): Promise<ProjectApi>;
5
+ getProject(path: string, useHeadlessGenerator?: boolean): Promise<ProjectApi>;
6
6
  /**
7
7
  * Get all paths that contain projects in the workspace
8
8
  */
@@ -7,7 +7,7 @@ export default class WorkspaceImpl implements WorkspaceApi {
7
7
  private api;
8
8
  constructor(pathOrWorkspace: string | VSCodeLike, readModuleAsProject?: boolean);
9
9
  getProjects(tag?: KeyIn<typeof Tag>, path?: string): Promise<ProjectApi[]>;
10
- getProject(path: string): Promise<ProjectApi>;
10
+ getProject(path: string, useHeadlessGenerator?: boolean): Promise<ProjectApi>;
11
11
  getProjectUris(): Promise<string[]>;
12
12
  startWatch(): void;
13
13
  stopWatch(): void;