@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap/artifact-management-types",
3
- "version": "1.50.0",
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.50.0"
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: (XsSecurityModuleReader | WorkflowModuleReader)[][];
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(): Entity | ViewNode | null;
343
- setSource(source: ViewNode | Entity): Entity | ViewNode;
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,4 +1,3 @@
1
1
  import { Plugin } from '@sap/artifact-management-base-types';
2
2
  declare const WorkflowPlugin: Plugin;
3
3
  export default WorkflowPlugin;
4
- export { InfoList } from './InfoList';
@@ -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
+ }
@@ -1,2 +1 @@
1
- #!/usr/bin/env node
2
1
  export declare function cli(): Promise<void>;
@@ -1,6 +0,0 @@
1
- export declare const InfoList: {
2
- ERR_PACK_NAME_UNDEFINED: {
3
- code: string;
4
- description: string;
5
- };
6
- };