@sap/artifact-management-types 1.50.0 → 1.52.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 +2 -2
- package/src/plugins/cap/readers/CapProjectReader.d.ts +1 -2
- package/src/plugins/cap/readers/calculation-view/model/model.d.ts +2 -2
- package/src/plugins/workflow/index.d.ts +0 -1
- package/src/plugins/workflow/readers/WorkflowModuleReader.d.ts +2 -0
- package/src/plugins/workflow/readers/WorkflowProjectReader.d.ts +11 -0
- package/src/project-api/ProjectCLI.d.ts +0 -1
- package/src/plugins/workflow/InfoList.d.ts +0 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap/artifact-management-types",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.52.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.
|
|
13
|
+
"@sap/artifact-management-base-types": "1.52.0"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
"gulp": "4.0.2"
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { ProjectReader, ProjectReaderOptions, ProjectReaderHelper, ProjectData, ProjectType, DetectionMechanism, KeyIn, ProjectFileSystem } from '@sap/artifact-management-base-types';
|
|
2
2
|
import XsSecurityModuleReader from '../../xsuaa/readers/XsSecurityModuleReader';
|
|
3
|
-
import WorkflowModuleReader from '../../workflow/readers/WorkflowModuleReader';
|
|
4
3
|
export default class CapProjectReader extends ProjectReader {
|
|
5
4
|
constructor();
|
|
6
5
|
getType(): KeyIn<typeof ProjectType>;
|
|
7
6
|
getDetectionMechanism(): DetectionMechanism;
|
|
8
|
-
additionalModuleReaders:
|
|
7
|
+
additionalModuleReaders: XsSecurityModuleReader[][];
|
|
9
8
|
tags: string[];
|
|
10
9
|
read({ fs }: ProjectReaderOptions): Promise<ProjectData | undefined>;
|
|
11
10
|
isCapProject(fs: ProjectFileSystem, helper: ProjectReaderHelper): Promise<boolean>;
|
|
@@ -339,8 +339,8 @@ export declare class Input extends AbstractModelClass<Input> {
|
|
|
339
339
|
readonly mappings: ModelCollection<Mapping>;
|
|
340
340
|
private _source;
|
|
341
341
|
constructor(attributes: WritableCalcViewModel<Input>, skippedNodes: any);
|
|
342
|
-
getSource():
|
|
343
|
-
setSource(source: ViewNode | Entity):
|
|
342
|
+
getSource(): ViewNode | Entity | null;
|
|
343
|
+
setSource(source: ViewNode | Entity): ViewNode | Entity;
|
|
344
344
|
createMapping(attributes: WritableCalcViewModel<Mapping>, skippedNodes: any): Mapping;
|
|
345
345
|
}
|
|
346
346
|
export declare class Element extends AbstractModelClass<Element> {
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ProjectFileSystem, KeyIn, ProjectEntityReaderReadOptions, ModuleType, Item, ModuleData, ModuleReader, DetectionMechanism } from '@sap/artifact-management-base-types';
|
|
2
2
|
export default class WorkflowModuleReader extends ModuleReader {
|
|
3
|
+
private workflowFolderName;
|
|
4
|
+
supportedProjectType: string[];
|
|
3
5
|
getType(): KeyIn<typeof ModuleType>;
|
|
4
6
|
getDetectionMechanism(): DetectionMechanism;
|
|
5
7
|
matchConditions: {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ProjectReader, ProjectReaderOptions, ProjectData, ProjectType, DetectionMechanism, KeyIn } from '@sap/artifact-management-base-types';
|
|
2
|
+
export default class WorkflowProjectReader extends ProjectReader {
|
|
3
|
+
private workflowFolderName;
|
|
4
|
+
constructor();
|
|
5
|
+
getType(): KeyIn<typeof ProjectType>;
|
|
6
|
+
getDetectionMechanism(): DetectionMechanism;
|
|
7
|
+
moduleSearchPattern(): Promise<string[]>;
|
|
8
|
+
tags: string[];
|
|
9
|
+
read({ fs }: ProjectReaderOptions): Promise<ProjectData | undefined>;
|
|
10
|
+
private isWorkflowProject;
|
|
11
|
+
}
|