Skip to content

Commit

Permalink
Remove Checked index.ts.j2 (#1147)
Browse files Browse the repository at this point in the history
<!-- ELLIPSIS_HIDDEN -->


> [!IMPORTANT]
> Remove `Checked` export and related files from TypeScript templates
and package configuration.
> 
>   - **Exports**:
> - Remove `Checked` export from `index.ts.j2` and
`baml_client/index.ts`.
>     - Retain `BamlValidationError` export in both files.
>   - **Package Files**:
> - Remove `./checked.js`, `./checked.d.ts`, and `./checked.d.ts.map`
from `package.json`.
> 
> <sup>This description was created by </sup>[<img alt="Ellipsis"
src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=BoundaryML%2Fbaml&utm_source=github&utm_medium=referral)<sup>
for c8cb10a. It will automatically
update as commits are pushed.</sup>


<!-- ELLIPSIS_HIDDEN -->
  • Loading branch information
hellovai authored Nov 5, 2024
1 parent 3d8ef34 commit bd9da16
Show file tree
Hide file tree
Showing 4 changed files with 1,812 additions and 1,482 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ export { b } from "./sync_client"
export * from "./types"
export * from "./tracing"
export { resetBamlEnvVars } from "./globals"
export { BamlValidationError, Checked } from "@boundaryml/baml"
export { BamlValidationError } from "@boundaryml/baml"
5 changes: 1 addition & 4 deletions engine/language_client_typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,7 @@
"./stream.d.ts",
"./stream.js",
"./type_builder.d.ts",
"./type_builder.js",
"./checked.js",
"./checked.d.ts",
"./checked.d.ts.map"
"./type_builder.js"
],
"main": "./index.js",
"types": "./index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion integ-tests/typescript/baml_client/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ export { b } from "./async_client"
export * from "./types"
export * from "./tracing"
export { resetBamlEnvVars } from "./globals"
export { BamlValidationError, Checked } from "@boundaryml/baml"
export { BamlValidationError } from "@boundaryml/baml"
Loading

0 comments on commit bd9da16

Please sign in to comment.