mirror of
https://github.com/optim-enterprises-bv/siembol.git
synced 2025-11-16 09:55:01 +00:00
update to support new formly versions which use JSONSchema7 type (#92)
* fix typing for compatibility with new versions of schemaform
This commit is contained in:
committed by
GitHub Enterprise
parent
7606f2f86e
commit
401731a5e4
@@ -16,6 +16,7 @@ import { cloneDeep } from 'lodash';
|
||||
import { Observable } from 'rxjs';
|
||||
import { take } from 'rxjs/operators';
|
||||
import { TestingDialogComponent } from '../testing/testing-dialog/testing-dialog.component';
|
||||
import { JSONSchema7 } from 'json-schema';
|
||||
|
||||
@Component({
|
||||
selector: 're-deploy-dialog',
|
||||
@@ -77,7 +78,7 @@ export class DeployDialogComponent {
|
||||
this.environment = this.config.environment;
|
||||
}
|
||||
|
||||
private createDeploymentSchema(serviceName: string): string {
|
||||
private createDeploymentSchema(serviceName: string): JSONSchema7 {
|
||||
const depSchema = this.service.configLoader.originalSchema;
|
||||
depSchema.properties[this.uiMetadata.deployment.config_array] = {};
|
||||
delete depSchema.properties[this.uiMetadata.deployment.config_array];
|
||||
|
||||
Reference in New Issue
Block a user