From 394a9fa85fcfe7bc9f236f490627576031bf7be0 Mon Sep 17 00:00:00 2001 From: William Fu-Hinthorn <13333726+hinthornw@users.noreply.github.com> Date: Fri, 14 Mar 2025 13:48:23 -0700 Subject: [PATCH] Update schema --- libs/cli/Makefile | 5 ++++- libs/cli/schemas/schema.json | 10 ++++++++++ libs/cli/schemas/schema.v0.json | 10 ++++++++++ 3 files changed, 24 insertions(+), 1 deletion(-) diff --git a/libs/cli/Makefile b/libs/cli/Makefile index 22506684d..eecf8fcdd 100644 --- a/libs/cli/Makefile +++ b/libs/cli/Makefile @@ -1,4 +1,4 @@ -.PHONY: test lint format test-integration +.PHONY: test lint format test-integration update-schema ###################### # TESTING AND COVERAGE @@ -31,3 +31,6 @@ lint lint_diff lint_package lint_tests: format format_diff: poetry run ruff format $(PYTHON_FILES) poetry run ruff check --select I --fix $(PYTHON_FILES) + +update-schema: + poetry run python generate_schema.py diff --git a/libs/cli/schemas/schema.json b/libs/cli/schemas/schema.json index 72eeec475..3cca859b2 100644 --- a/libs/cli/schemas/schema.json +++ b/libs/cli/schemas/schema.json @@ -459,6 +459,16 @@ }, "refresh_on_read": { "type": "boolean" + }, + "sweep_interval_minutes": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] } }, "required": [] diff --git a/libs/cli/schemas/schema.v0.json b/libs/cli/schemas/schema.v0.json index 72eeec475..3cca859b2 100644 --- a/libs/cli/schemas/schema.v0.json +++ b/libs/cli/schemas/schema.v0.json @@ -459,6 +459,16 @@ }, "refresh_on_read": { "type": "boolean" + }, + "sweep_interval_minutes": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] } }, "required": []