Skip to content

Commit 71abfb0

Browse files
committed
chore(schema): format generated config schema
Regenerate and format the config schema after syncing the branch with the latest main changes. The pre-commit schema hook rewrites enum arrays using the current oxfmt output, so this keeps the checked-in schema aligned with the generated artifact.
1 parent 4ccf677 commit 71abfb0

1 file changed

Lines changed: 6 additions & 35 deletions

File tree

‎apps/ccusage/config-schema.json‎

Lines changed: 6 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -522,56 +522,27 @@
522522
"type": "object"
523523
},
524524
"ConfigCodexSpeed": {
525-
"enum": [
526-
"auto",
527-
"standard",
528-
"fast"
529-
],
525+
"enum": ["auto", "standard", "fast"],
530526
"type": "string"
531527
},
532528
"ConfigCostMode": {
533-
"enum": [
534-
"auto",
535-
"calculate",
536-
"display"
537-
],
529+
"enum": ["auto", "calculate", "display"],
538530
"type": "string"
539531
},
540532
"ConfigCostSource": {
541-
"enum": [
542-
"auto",
543-
"ccusage",
544-
"cc",
545-
"both"
546-
],
533+
"enum": ["auto", "ccusage", "cc", "both"],
547534
"type": "string"
548535
},
549536
"ConfigSortOrder": {
550-
"enum": [
551-
"desc",
552-
"asc"
553-
],
537+
"enum": ["desc", "asc"],
554538
"type": "string"
555539
},
556540
"ConfigVisualBurnRate": {
557-
"enum": [
558-
"off",
559-
"emoji",
560-
"text",
561-
"emoji-text"
562-
],
541+
"enum": ["off", "emoji", "text", "emoji-text"],
563542
"type": "string"
564543
},
565544
"ConfigWeekDay": {
566-
"enum": [
567-
"sunday",
568-
"monday",
569-
"tuesday",
570-
"wednesday",
571-
"thursday",
572-
"friday",
573-
"saturday"
574-
],
545+
"enum": ["sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"],
575546
"type": "string"
576547
},
577548
"CopilotCommandsConfig": {

0 commit comments

Comments
 (0)