Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
# Force LF line endings for .baml files so include_str! embeds consistent
# content on all platforms (avoids CRLF line-number shifts on Windows CI).
*.baml text eol=lf
# Same for the args-form wire-shape golden fixture, byte-compared against
# serde_json output by baml_project's wire_shape_matches_the_ts_golden_fixture.
typescript2/pkg-playground/src/__fixtures__/*.json text eol=lf
# Force LF for the checked-in SSE replay recordings. The BAML replay server
# chunks them for paced streaming with `split("\n\n")`; CRLF (from autocrlf
# on Windows) turns every "\n\n" into "\r\n\r\n", so the whole body streams
Expand Down
1 change: 1 addition & 0 deletions baml_language/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions baml_language/crates/baml_project/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ la-arena = { workspace = true }
lsp-types = { workspace = true }
salsa = { workspace = true }
serde = { workspace = true, features = [ "derive" ] }
serde_json = { workspace = true }
text-size = { workspace = true }

[features]
Expand Down
6 changes: 4 additions & 2 deletions baml_language/crates/baml_project/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ mod check;
mod client_codegen;
mod db;

pub mod param_schema;
pub mod position;
pub mod symbols;
#[cfg(feature = "testing")]
Expand All @@ -33,7 +34,8 @@ pub mod testing;
pub use check::{CheckResult, collect_compiler2_diagnostics, collect_diagnostics};
pub use client_codegen::build_symbol_pool;
pub use db::{CursorContext, EventCallback, ProjectDatabase};
pub use param_schema::{FieldSchema, FieldSchemaField, ParamSchema, TypeSchema};
pub use symbols::{
FunctionOrigin, FunctionSymbol, Symbol, SymbolKind, TestSymbol, list_functions,
list_functions_with_metadata, list_tests_with_metadata,
FunctionListing, FunctionOrigin, FunctionSymbol, Symbol, SymbolKind, TestSymbol,
list_functions, list_functions_with_metadata, list_tests_with_metadata,
};
Loading
Loading