@omnia/tooling-composers 8.0.345-dev → 8.0.347-dev
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.
|
@@ -19,6 +19,10 @@ export interface IServiceManifestComposer<T> {
|
|
|
19
19
|
* Require an Azure Ad App permissions
|
|
20
20
|
*/
|
|
21
21
|
requireAzureAdAppPermissions: (options: AzureAdAppPermissionOption) => T;
|
|
22
|
+
/**
|
|
23
|
+
* This service is not deployed by default. It is able to be deployed via an extension feature activation
|
|
24
|
+
* */
|
|
25
|
+
isOnTheFlyService: () => T;
|
|
22
26
|
}
|
|
23
27
|
export declare class ServiceManifestComposer<T> implements IServiceManifestComposer<T> {
|
|
24
28
|
private getInitInstance;
|
|
@@ -27,4 +31,5 @@ export declare class ServiceManifestComposer<T> implements IServiceManifestCompo
|
|
|
27
31
|
requestSqlElasticPoolDatabase: (options: SqlElasticPoolResourceOption) => T;
|
|
28
32
|
requestPersistentDisk: (options: PersistentDiskResourceOption) => T;
|
|
29
33
|
requireAzureAdAppPermissions(options: AzureAdAppPermissionOption): T;
|
|
34
|
+
isOnTheFlyService(): T;
|
|
30
35
|
}
|
|
@@ -4,6 +4,7 @@ exports.ServiceManifestComposer = void 0;
|
|
|
4
4
|
const RequestedResourcesRegistry_1 = require("./RequestedResourcesRegistry");
|
|
5
5
|
const RequiredAzureAdAppPermissionRegistry_1 = require("./RequiredAzureAdAppPermissionRegistry");
|
|
6
6
|
const AzureAdAppPermissionHelper_1 = require("./AzureAdAppPermissionHelper");
|
|
7
|
+
const ServiceManifestRegistry_1 = require("./ServiceManifestRegistry");
|
|
7
8
|
class ServiceManifestComposer {
|
|
8
9
|
constructor(getInitInstance) {
|
|
9
10
|
this.getInitInstance = getInitInstance;
|
|
@@ -28,5 +29,9 @@ class ServiceManifestComposer {
|
|
|
28
29
|
return this.getInitInstance();
|
|
29
30
|
}
|
|
30
31
|
;
|
|
32
|
+
isOnTheFlyService() {
|
|
33
|
+
ServiceManifestRegistry_1.ServiceManifestRegistry.getServiceInfo().isOnTheFlyService = true;
|
|
34
|
+
return this.getInitInstance();
|
|
35
|
+
}
|
|
31
36
|
}
|
|
32
37
|
exports.ServiceManifestComposer = ServiceManifestComposer;
|
|
@@ -219,6 +219,7 @@ export interface ServiceBase extends ServiceOptions {
|
|
|
219
219
|
title?: string;
|
|
220
220
|
serviceType: ServiceTypes;
|
|
221
221
|
optionalService: boolean;
|
|
222
|
+
isOnTheFlyService?: boolean;
|
|
222
223
|
}
|
|
223
224
|
export interface CustomService extends ServiceBase {
|
|
224
225
|
helmCommand?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omnia/tooling-composers",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "8.0.
|
|
4
|
+
"version": "8.0.347-dev",
|
|
5
5
|
"description": "Provide tooling to work with manifest things.",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
],
|
|
20
20
|
"author": "Omnia Digital Workplace AB",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@omnia/fx-models": "8.0.
|
|
23
|
-
"@omnia/tooling": "8.0.
|
|
22
|
+
"@omnia/fx-models": "8.0.347-dev",
|
|
23
|
+
"@omnia/tooling": "8.0.347-dev",
|
|
24
24
|
"deep-extend": "0.6.0",
|
|
25
25
|
"fs-extra": "11.1.0",
|
|
26
26
|
"del": "6.0.0",
|