openchs-models 1.30.9 → 1.30.11
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/dist/Settings.js +15 -0
- package/package.json +1 -1
package/dist/Settings.js
CHANGED
|
@@ -162,6 +162,14 @@ class Settings extends _BaseEntity.default {
|
|
|
162
162
|
this.that.refreshToken = x;
|
|
163
163
|
}
|
|
164
164
|
|
|
165
|
+
get devSkipValidation() {
|
|
166
|
+
return this.that.devSkipValidation;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
set devSkipValidation(x) {
|
|
170
|
+
this.that.devSkipValidation = x;
|
|
171
|
+
}
|
|
172
|
+
|
|
165
173
|
clone() {
|
|
166
174
|
const settings = new Settings();
|
|
167
175
|
settings.uuid = this.uuid;
|
|
@@ -174,6 +182,12 @@ class Settings extends _BaseEntity.default {
|
|
|
174
182
|
settings.devSkipValidation = this.devSkipValidation;
|
|
175
183
|
settings.captureLocation = this.captureLocation;
|
|
176
184
|
settings.userId = this.userId;
|
|
185
|
+
settings.idpType = this.idpType;
|
|
186
|
+
settings.keycloakRealm = this.keycloakRealm;
|
|
187
|
+
settings.keycloakScope = this.keycloakScope;
|
|
188
|
+
settings.keycloakAuthServerUrl = this.keycloakAuthServerUrl;
|
|
189
|
+
settings.keycloakClientId = this.keycloakClientId;
|
|
190
|
+
settings.keycloakGrantType = this.keycloakGrantType;
|
|
177
191
|
return settings;
|
|
178
192
|
}
|
|
179
193
|
|
|
@@ -182,6 +196,7 @@ class Settings extends _BaseEntity.default {
|
|
|
182
196
|
if (_lodash.default.isEmpty(this.serverURL)) validationResults.addOrReplace(_ValidationResult.default.failureForEmpty("serverURL"));
|
|
183
197
|
if (_lodash.default.isEmpty(this.locale)) validationResults.addOrReplace(_ValidationResult.default.failureForEmpty("locale"));
|
|
184
198
|
if (!_General.default.isNumeric(this.logLevel)) validationResults.addOrReplace(_ValidationResult.default.failureForNumeric("logLevel"));
|
|
199
|
+
if (_lodash.default.isEmpty(this.idpType)) validationResults.addOrReplace(_ValidationResult.default.failureForEmpty("idpType"));
|
|
185
200
|
return validationResults;
|
|
186
201
|
}
|
|
187
202
|
|