Skip to content

Commit

Permalink
ConfigVarSchema: Update typing to use JSONSchema7 instead of `JSO…
Browse files Browse the repository at this point in the history
…NSchema6`

Change-type: major
  • Loading branch information
myarmolinsky committed Nov 27, 2024
1 parent acb6649 commit 387754d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/models/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand All @@ -37,7 +37,7 @@ export interface Config {
supportedSocialProviders: string[];
}

export type ConfigVarSchema = JSONSchema6 & {
export type ConfigVarSchema = JSONSchema7 & {
will_reboot?: boolean;
warning?: string;
};
Expand Down

0 comments on commit 387754d

Please sign in to comment.