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`

Resolves: #1465
Change-type: major
  • Loading branch information
myarmolinsky committed Dec 12, 2024
1 parent c5f3202 commit a2a8180
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 @@ -39,7 +39,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 a2a8180

Please sign in to comment.