@sap/artifact-management-types 1.5.0 → 1.7.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 +1 -1
- package/sap-artifact-management-types-1.7.0.tgz +0 -0
- package/src/plugins/cap/generators/CapServiceModuleGenerator.d.ts +2 -1
- package/src/plugins/xsuaa/InfoList.d.ts +2 -2
- package/src/plugins/xsuaa/generators/XsSecurityModuleManifestGenerator.d.ts +3 -1
- package/src/plugins/xsuaa/readers/XsSecurityModuleReader.d.ts +1 -14
- package/src/project-api/ProjectImpl.d.ts +0 -1
- package/sap-artifact-management-types-1.5.0.tgz +0 -0
package/package.json
CHANGED
|
Binary file
|
|
@@ -4,5 +4,6 @@ export default class CapServiceModuleGenerator implements ModuleManifestGenerato
|
|
|
4
4
|
provideResources(context: ModuleGeneratorContext): Promise<Service[]>;
|
|
5
5
|
beforeBuildCommands(): Promise<string[]>;
|
|
6
6
|
getModuleManifest(context: ModuleGeneratorContext): Promise<MtaModule | null>;
|
|
7
|
-
requires(): MtaModuleRequires[];
|
|
7
|
+
requires(context: ModuleGeneratorContext): MtaModuleRequires[];
|
|
8
|
+
private getPDMServiceItem;
|
|
8
9
|
}
|
|
@@ -6,6 +6,8 @@ export default class XsSecurityModuleManifestGenerator implements ModuleManifest
|
|
|
6
6
|
beforeBuildCommands(mgContext: ModuleGeneratorContext): Promise<string[]>;
|
|
7
7
|
getModuleManifest(context: ModuleGeneratorContext): Promise<MtaModule | null>;
|
|
8
8
|
requires(): MtaModuleRequires[];
|
|
9
|
-
|
|
9
|
+
getXsSecurityContents(fs: ProjectFileSystem): Promise<any>;
|
|
10
|
+
private configureXsSecurity;
|
|
10
11
|
getRoleCollection(fs: ProjectFileSystem): Promise<any[]>;
|
|
12
|
+
private getPDMServiceItem;
|
|
11
13
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
1
|
import { ProjectFileSystem, KeyIn, ProjectEntityReaderReadOptions, ModuleType, Item, ModuleData, ModuleReader, DetectionMechanism } from '@sap/artifact-management-base-types';
|
|
2
|
-
interface XsSecurity {
|
|
3
|
-
xsappname: string;
|
|
4
|
-
'tenant-mode': string;
|
|
5
|
-
'role-templates': [
|
|
6
|
-
{
|
|
7
|
-
name: string;
|
|
8
|
-
description: string;
|
|
9
|
-
'scope-references': string[];
|
|
10
|
-
'attribute-references': string[];
|
|
11
|
-
}
|
|
12
|
-
];
|
|
13
|
-
}
|
|
14
2
|
export default class XsSecurityModuleReader extends ModuleReader {
|
|
15
3
|
getType(): KeyIn<typeof ModuleType>;
|
|
16
4
|
getDetectionMechanism(): DetectionMechanism;
|
|
@@ -27,11 +15,10 @@ export default class XsSecurityModuleReader extends ModuleReader {
|
|
|
27
15
|
read: (options: ProjectEntityReaderReadOptions) => Promise<Item[]>;
|
|
28
16
|
}[];
|
|
29
17
|
tags: string[];
|
|
30
|
-
|
|
18
|
+
readPackageJson(fs: ProjectFileSystem): Promise<any>;
|
|
31
19
|
readDefaultRoles(fs: ProjectFileSystem): Promise<any>;
|
|
32
20
|
read({ fs }: {
|
|
33
21
|
fs: ProjectFileSystem;
|
|
34
22
|
}): Promise<ModuleData | undefined>;
|
|
35
23
|
readRoles({ fs }: ProjectEntityReaderReadOptions): Promise<Item[]>;
|
|
36
24
|
}
|
|
37
|
-
export {};
|
|
@@ -12,7 +12,6 @@ export default class ProjectImpl implements ProjectApi {
|
|
|
12
12
|
private watchClients;
|
|
13
13
|
private watchManager?;
|
|
14
14
|
private readModuleAsProject;
|
|
15
|
-
private application_summary;
|
|
16
15
|
constructor(path: string, readModuleAsProject?: boolean);
|
|
17
16
|
autoBuild(logger?: IChildLogger): Promise<AutoBuilder>;
|
|
18
17
|
projectInstance(): ProjectInstance;
|
|
Binary file
|