Skip to content

Commit c198ddf

Browse files
feat(api): api update
1 parent 600f360 commit c198ddf

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 1
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/benchify%2Fbenchify-dedbdbd9ba8d3b650a447ab4dae854070e96a8d0e379b0e9c061a2b3e9f64911.yml
3-
openapi_spec_hash: 2b5bfe1f1cd7376d9862e7450616da05
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/benchify%2Fbenchify-66015621308b4661cd2f56f9b29019600df417edf25f68575d5ce8a0395cb8f2.yml
3+
openapi_spec_hash: 2c263b433954e69e9823ad7f2cb642c6
44
config_hash: 252eeeabb255ac2a1ce306ba6c2140e8

src/benchify/resources/fixer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def run(
4949
*,
5050
files: Iterable[fixer_run_params.File],
5151
bundle: bool | NotGiven = NOT_GIVEN,
52-
fix_types: List[Literal["import_export", "string_literals", "css", "ai_fallback", "types", "ui_rules", "sql"]]
52+
fix_types: List[Literal["import_export", "string_literals", "css", "ai_fallback", "types", "ui", "sql"]]
5353
| NotGiven = NOT_GIVEN,
5454
fixes: Optional[fixer_run_params.Fixes] | NotGiven = NOT_GIVEN,
5555
meta: Optional[fixer_run_params.Meta] | NotGiven = NOT_GIVEN,
@@ -134,7 +134,7 @@ async def run(
134134
*,
135135
files: Iterable[fixer_run_params.File],
136136
bundle: bool | NotGiven = NOT_GIVEN,
137-
fix_types: List[Literal["import_export", "string_literals", "css", "ai_fallback", "types", "ui_rules", "sql"]]
137+
fix_types: List[Literal["import_export", "string_literals", "css", "ai_fallback", "types", "ui", "sql"]]
138138
| NotGiven = NOT_GIVEN,
139139
fixes: Optional[fixer_run_params.Fixes] | NotGiven = NOT_GIVEN,
140140
meta: Optional[fixer_run_params.Meta] | NotGiven = NOT_GIVEN,

src/benchify/types/fixer_run_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class FixerRunParams(TypedDict, total=False):
1717
bundle: bool
1818
"""Whether to bundle the project (experimental)"""
1919

20-
fix_types: List[Literal["import_export", "string_literals", "css", "ai_fallback", "types", "ui_rules", "sql"]]
20+
fix_types: List[Literal["import_export", "string_literals", "css", "ai_fallback", "types", "ui", "sql"]]
2121
"""Configuration for which fix types to apply"""
2222

2323
fixes: Optional[Fixes]

src/benchify/types/fixer_run_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class Data(BaseModel):
8080
"""Information about the bundling process and results"""
8181

8282
fix_types_used: Optional[
83-
List[Literal["import_export", "string_literals", "css", "ai_fallback", "types", "ui_rules", "sql"]]
83+
List[Literal["import_export", "string_literals", "css", "ai_fallback", "types", "ui", "sql"]]
8484
] = None
8585
"""List of fix types that were actually applied during the fixer run"""
8686

0 commit comments

Comments
 (0)