From 7fbebf4db4695e8bcde4080e6afbdbc8d6c1119b Mon Sep 17 00:00:00 2001 From: myarmolinsky Date: Wed, 27 Nov 2024 11:33:04 -0500 Subject: [PATCH] `ConfigVarSchema`: Update typing to use `JSONSchema7` instead of `JSONSchema6` Resolves: #1465 Change-type: major --- src/models/config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/models/config.ts b/src/models/config.ts index 5d8343b9e..83e1f1391 100644 --- a/src/models/config.ts +++ b/src/models/config.ts @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ import * as errors from 'balena-errors'; -import type { JSONSchema6 } from 'json-schema'; +import type { JSONSchema7 } from 'json-schema'; import type { InjectedDependenciesParam, InjectedOptionsParam } from '..'; import type * as DeviceTypeJson from '../types/device-type-json'; @@ -39,7 +39,7 @@ export interface Config { supportedSocialProviders: string[]; } -export type ConfigVarSchema = JSONSchema6 & { +export type ConfigVarSchema = JSONSchema7 & { will_reboot?: boolean; warning?: string; };