From 387754d5dbab87be4c47b3fdd461a4beb8b57b20 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` 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 dcfe1b9eb..38a33dd47 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'; @@ -37,7 +37,7 @@ export interface Config { supportedSocialProviders: string[]; } -export type ConfigVarSchema = JSONSchema6 & { +export type ConfigVarSchema = JSONSchema7 & { will_reboot?: boolean; warning?: string; };