From 111589d58a25ec49e7c45ec6d717a3fc7cb61f8d Mon Sep 17 00:00:00 2001 From: Sam Lijin Date: Tue, 7 Jul 2026 13:10:57 -0700 Subject: [PATCH] chore(sdk): rename baml_core -> baml_bridge Rename the published SDK bridge package coherently: - PyPI: baml-core -> baml-bridge (import module baml_core -> baml_bridge) - npm: @boundaryml/baml-core-node -> @boundaryml/baml-bridge (incl. platform packages) - proto package baml_core.cffi.v1 -> baml_bridge.cffi.v1 (regenerated Python pb2 + Go stubs + Rust prost) - release/version plumbing (scripts/baml-language-version, baml-release-manifests, workflows) Internal (unpublished) Rust module bridge_ctypes::baml_core is intentionally kept. --- .../workflows/build2-nodejs-sdk.reusable.yaml | 4 +- .github/workflows/cargo-tests.reusable.yaml | 4 +- .github/workflows/ci.yaml | 6 +- .github/workflows/publish2-nodejs-sdk.yaml | 2 +- baml_language/.config/nextest.toml | 4 +- .../keyword_docs/baml_keywords.yaml | 6 +- .../crates/baml_cli/src/init_command.rs | 14 +- ..._command_tests__render_keyword_python.snap | 4 +- ...mand_tests__render_keyword_typescript.snap | 2 +- .../src/generator_fields.rs | 2 +- .../crates/baml_codegen_types/src/ty.rs | 2 +- .../crates/baml_release/src/manifest.rs | 4 +- .../bex_engine/src/trace_value_encode.rs | 4 +- .../bex_engine/tests/host_value_callable.rs | 2 +- .../crates/bex_engine/tests/prof_gate.rs | 2 +- .../crates/bridge_cffi/src/baml_to_host.rs | 2 +- .../crates/bridge_cffi/src/ffi/handle.rs | 4 +- .../crates/bridge_cffi/src/ffi/host_value.rs | 4 +- baml_language/crates/bridge_cffi/src/lib.rs | 4 +- baml_language/crates/bridge_ctypes/README.md | 8 +- .../crates/bridge_ctypes/src/handle_table.rs | 4 +- baml_language/crates/bridge_ctypes/src/lib.rs | 4 +- .../crates/bridge_ctypes/src/traceback.rs | 2 +- .../crates/bridge_ctypes/src/ty_decode.rs | 2 +- .../crates/bridge_ctypes/src/ty_encode.rs | 20 +- .../crates/bridge_ctypes/src/value_decode.rs | 12 +- .../crates/bridge_ctypes/src/value_encode.rs | 32 +- .../cffi/v1/baml_handle.proto | 2 +- .../cffi/v1/baml_inbound.proto | 6 +- .../cffi/v1/baml_outbound.proto | 6 +- .../cffi/v1/baml_type.proto | 2 +- .../crates/bridge_wasm/src/handle.rs | 2 +- .../crates/bridge_wasm/src/host_value.rs | 2 +- baml_language/crates/bridge_wasm/src/lib.rs | 2 +- .../crates/bridge_wasm/tests/host_callable.rs | 2 +- .../crates/bridge_wasm/tests/wasm_fs_glob.rs | 2 +- baml_language/sdk_tests/DEVELOPMENT.md | 10 +- baml_language/sdk_tests/README.md | 2 +- .../customizable/test_cancellation.py | 2 +- .../customizable/test_errors.py | 2 +- .../crates/python_pydantic2/setup.ps1 | 10 +- .../crates/python_pydantic2/setup.sh | 14 +- .../roundtrip_tests/test_media.py | 4 +- .../customizable/cancellation.test.ts | 2 +- .../customizable/union_throws.test.ts | 2 +- .../sdk_tests/crates/typescript_node/setup.sh | 2 +- .../harness_setup/src/python_pydantic2.rs | 4 +- .../harness_setup/src/templates/package.json | 2 +- .../src/templates/pyproject.toml | 4 +- .../harness_setup/src/typescript_node.rs | 2 +- baml_language/sdks/go/bridge_go/build.sh | 10 +- .../cffi/v1/baml_handle.pb.go | 139 +- .../cffi/v1/baml_inbound.pb.go | 388 +- .../cffi/v1/baml_outbound.pb.go | 893 +-- .../cffi/v1/baml_type.pb.go | 902 +-- .../sdks/go/bridge_go/pkg/host_value.go | 2 +- baml_language/sdks/go/bridge_go/pkg/proto.go | 2 +- .../bridge_nodejs/dist/ctx_manager.d.ts | 2 +- .../nodejs/bridge_nodejs/dist/ctx_manager.js | 2 +- .../bridge_nodejs/dist/define_function.d.ts | 2 +- .../bridge_nodejs/dist/define_function.js | 4 +- .../bridge_nodejs/dist/define_function.js.map | 2 +- .../sdks/nodejs/bridge_nodejs/dist/errors.js | 2 +- .../nodejs/bridge_nodejs/dist/exit_hook.d.ts | 2 +- .../nodejs/bridge_nodejs/dist/exit_hook.js | 2 +- .../dist/host_value_registry.d.ts | 2 +- .../bridge_nodejs/dist/host_value_registry.js | 6 +- .../dist/host_value_registry.js.map | 2 +- .../sdks/nodejs/bridge_nodejs/dist/index.d.ts | 2 +- .../sdks/nodejs/bridge_nodejs/dist/index.js | 2 +- .../nodejs/bridge_nodejs/dist/native.d.ts | 2 +- .../sdks/nodejs/bridge_nodejs/dist/native.js | 108 +- .../sdks/nodejs/bridge_nodejs/dist/proto.d.ts | 6 +- .../nodejs/bridge_nodejs/dist/proto.d.ts.map | 2 +- .../sdks/nodejs/bridge_nodejs/dist/proto.js | 20 +- .../nodejs/bridge_nodejs/dist/proto.js.map | 2 +- .../bridge_nodejs/dist/proto/baml_cffi.d.ts | 1570 ++--- .../bridge_nodejs/dist/proto/baml_cffi.js | 5228 ++++++++--------- .../nodejs/bridge_nodejs/dist/stream.d.ts | 2 +- .../sdks/nodejs/bridge_nodejs/dist/stream.js | 4 +- .../nodejs/bridge_nodejs/dist/stream.js.map | 2 +- .../nodejs/bridge_nodejs/dist/typemap.d.ts | 2 +- .../sdks/nodejs/bridge_nodejs/dist/typemap.js | 4 +- .../nodejs/bridge_nodejs/dist/typemap.js.map | 2 +- .../nodejs/bridge_nodejs/dist/wire_ty.d.ts | 8 +- .../bridge_nodejs/dist/wire_ty.d.ts.map | 2 +- .../sdks/nodejs/bridge_nodejs/dist/wire_ty.js | 8 +- .../nodejs/bridge_nodejs/dist/wire_ty.js.map | 2 +- .../sdks/nodejs/bridge_nodejs/package.json | 4 +- .../sdks/nodejs/bridge_nodejs/src/media.rs | 4 +- .../sdks/nodejs/bridge_nodejs/src/runtime.rs | 2 +- .../tests/test_decode_call_result.test.ts | 8 +- .../typescript_src/define_function.ts | 6 +- .../typescript_src/generated-header.txt | 2 +- .../typescript_src/host_value_registry.ts | 4 +- .../bridge_nodejs/typescript_src/proto.ts | 62 +- .../typescript_src/proto/baml_cffi.d.ts | 1570 ++--- .../typescript_src/proto/baml_cffi.js | 5228 ++++++++--------- .../bridge_nodejs/typescript_src/stream.ts | 2 +- .../bridge_nodejs/typescript_src/typemap.ts | 2 +- .../bridge_nodejs/typescript_src/wire_ty.ts | 12 +- .../sdkgen_typescript_node/src/emit/class.rs | 2 +- .../src/emit/typemap_file.rs | 4 +- .../nodejs/sdkgen_typescript_node/src/leaf.rs | 10 +- .../nodejs/sdkgen_typescript_node/src/lib.rs | 4 +- baml_language/sdks/python/README.md | 6 +- baml_language/sdks/python/generate_stubs.py | 6 +- baml_language/sdks/python/pyproject.toml | 8 +- .../bridge_python/src/baml_call_context.rs | 2 +- .../src/baml_core/baml_py/__init__.pyi | 4 +- .../python/rust/bridge_python/src/errors.rs | 8 +- .../rust/bridge_python/src/host_value.rs | 38 +- .../python/rust/bridge_python/src/media.rs | 10 +- .../rust/bridge_python/src/py_handle.rs | 2 +- .../python/rust/bridge_python/src/runtime.rs | 4 +- .../src/emit/typemap_file.rs | 2 +- .../rust/sdkgen_python_pydantic2/src/leaf.rs | 38 +- .../rust/sdkgen_python_pydantic2/src/lib.rs | 14 +- baml_language/sdks/python/setup.sh | 6 +- .../{baml_core => baml_bridge}/__init__.py | 4 +- .../src/{baml_core => baml_bridge}/_stream.py | 0 .../{baml_core => baml_bridge}/baml_py.pyi | 6 +- .../cffi/__init__.py | 0 .../cffi/v1/__init__.py | 0 .../baml_bridge/cffi/v1/baml_handle_pb2.py | 39 + .../cffi/v1/baml_handle_pb2.pyi | 0 .../baml_bridge/cffi/v1/baml_inbound_pb2.py | 55 + .../cffi/v1/baml_inbound_pb2.pyi | 4 +- .../baml_bridge/cffi/v1/baml_outbound_pb2.py | 81 + .../cffi/v1/baml_outbound_pb2.pyi | 4 +- .../src/baml_bridge/cffi/v1/baml_type_pb2.py | 95 + .../cffi/v1/baml_type_pb2.pyi | 0 .../{baml_core => baml_bridge}/ctx_manager.py | 0 .../src/{baml_core => baml_bridge}/errors.py | 0 .../src/{baml_core => baml_bridge}/proto.py | 0 .../src/{baml_core => baml_bridge}/py.typed | 0 .../src/{baml_core => baml_bridge}/typemap.py | 18 +- .../src/baml_core/cffi/v1/baml_handle_pb2.py | 39 - .../src/baml_core/cffi/v1/baml_inbound_pb2.py | 55 - .../baml_core/cffi/v1/baml_outbound_pb2.py | 81 - .../src/baml_core/cffi/v1/baml_type_pb2.py | 95 - baml_language/sdks/python/tests/conftest.py | 2 +- .../sdks/python/tests/test_bigint.py | 2 +- .../sdks/python/tests/test_decode_handle.py | 10 +- .../sdks/python/tests/test_engine.py | 2 +- .../sdks/python/tests/test_host_callable.py | 10 +- baml_language/sdks/python/tests/test_media.py | 2 +- .../python/tests/test_proto_decode_typemap.py | 8 +- .../sdks/python/tests/test_proto_generics.py | 20 +- .../sdks/python/tests/test_typemap.py | 10 +- baml_language/sdks/python/uv.lock | 4 +- scripts/baml-language-version | 2 +- scripts/baml-release-manifests | 2 +- typescript2/pkg-proto/src/decode.ts | 6 +- typescript2/pkg-proto/src/encode.ts | 4 +- typescript2/pkg-proto/src/index.ts | 4 +- .../pkg-proto/src/test/encode-decode.test.ts | 8 +- typescript2/pkg-proto/src/types.ts | 2 +- 158 files changed, 8679 insertions(+), 8659 deletions(-) rename baml_language/crates/bridge_ctypes/types/{baml_core => baml_bridge}/cffi/v1/baml_handle.proto (98%) rename baml_language/crates/bridge_ctypes/types/{baml_core => baml_bridge}/cffi/v1/baml_inbound.proto (96%) rename baml_language/crates/bridge_ctypes/types/{baml_core => baml_bridge}/cffi/v1/baml_outbound.proto (98%) rename baml_language/crates/bridge_ctypes/types/{baml_core => baml_bridge}/cffi/v1/baml_type.proto (99%) rename baml_language/sdks/go/bridge_go/cffi/proto/{baml_core => baml_bridge}/cffi/v1/baml_handle.pb.go (53%) rename baml_language/sdks/go/bridge_go/cffi/proto/{baml_core => baml_bridge}/cffi/v1/baml_inbound.pb.go (58%) rename baml_language/sdks/go/bridge_go/cffi/proto/{baml_core => baml_bridge}/cffi/v1/baml_outbound.pb.go (60%) rename baml_language/sdks/go/bridge_go/cffi/proto/{baml_core => baml_bridge}/cffi/v1/baml_type.pb.go (62%) rename baml_language/sdks/python/src/{baml_core => baml_bridge}/__init__.py (99%) rename baml_language/sdks/python/src/{baml_core => baml_bridge}/_stream.py (100%) rename baml_language/sdks/python/src/{baml_core => baml_bridge}/baml_py.pyi (98%) rename baml_language/sdks/python/src/{baml_core => baml_bridge}/cffi/__init__.py (100%) rename baml_language/sdks/python/src/{baml_core => baml_bridge}/cffi/v1/__init__.py (100%) create mode 100644 baml_language/sdks/python/src/baml_bridge/cffi/v1/baml_handle_pb2.py rename baml_language/sdks/python/src/{baml_core => baml_bridge}/cffi/v1/baml_handle_pb2.pyi (100%) create mode 100644 baml_language/sdks/python/src/baml_bridge/cffi/v1/baml_inbound_pb2.py rename baml_language/sdks/python/src/{baml_core => baml_bridge}/cffi/v1/baml_inbound_pb2.pyi (97%) create mode 100644 baml_language/sdks/python/src/baml_bridge/cffi/v1/baml_outbound_pb2.py rename baml_language/sdks/python/src/{baml_core => baml_bridge}/cffi/v1/baml_outbound_pb2.pyi (98%) create mode 100644 baml_language/sdks/python/src/baml_bridge/cffi/v1/baml_type_pb2.py rename baml_language/sdks/python/src/{baml_core => baml_bridge}/cffi/v1/baml_type_pb2.pyi (100%) rename baml_language/sdks/python/src/{baml_core => baml_bridge}/ctx_manager.py (100%) rename baml_language/sdks/python/src/{baml_core => baml_bridge}/errors.py (100%) rename baml_language/sdks/python/src/{baml_core => baml_bridge}/proto.py (100%) rename baml_language/sdks/python/src/{baml_core => baml_bridge}/py.typed (100%) rename baml_language/sdks/python/src/{baml_core => baml_bridge}/typemap.py (91%) delete mode 100644 baml_language/sdks/python/src/baml_core/cffi/v1/baml_handle_pb2.py delete mode 100644 baml_language/sdks/python/src/baml_core/cffi/v1/baml_inbound_pb2.py delete mode 100644 baml_language/sdks/python/src/baml_core/cffi/v1/baml_outbound_pb2.py delete mode 100644 baml_language/sdks/python/src/baml_core/cffi/v1/baml_type_pb2.py diff --git a/.github/workflows/build2-nodejs-sdk.reusable.yaml b/.github/workflows/build2-nodejs-sdk.reusable.yaml index 02c663e78cb..bdf8131ceb7 100644 --- a/.github/workflows/build2-nodejs-sdk.reusable.yaml +++ b/.github/workflows/build2-nodejs-sdk.reusable.yaml @@ -1,10 +1,10 @@ name: BAML SDK Release - Build Node.js # Per-platform NAPI prebuild matrix for the Node.js SDK runtime package -# `@boundaryml/baml-core-node`. Mirrors `build2-python-sdk.reusable.yaml` (same +# `@boundaryml/baml-bridge`. Mirrors `build2-python-sdk.reusable.yaml` (same # 8-target set), with `napi-rs` standing in for `maturin`. Each job builds one # `*.node` native addon, assembles it into its publishable per-platform sub-package -# (`@boundaryml/baml-core-node-`), and uploads that as `nodejs-sdk-`. +# (`@boundaryml/baml-bridge-`), and uploads that as `nodejs-sdk-`. # The publish-npm job downloads them all, wires the umbrella package's # optionalDependencies, and publishes the umbrella + sub-packages. # Release builds must pass the frozen BAML language release plan so package.json diff --git a/.github/workflows/cargo-tests.reusable.yaml b/.github/workflows/cargo-tests.reusable.yaml index 4fe647d3b61..4424948e360 100644 --- a/.github/workflows/cargo-tests.reusable.yaml +++ b/.github/workflows/cargo-tests.reusable.yaml @@ -502,9 +502,9 @@ jobs: echo "CARGO_BUILD_JOBS=16" >> "$GITHUB_ENV" working-directory: baml_language - # Windows Python only: setup.ps1 builds one baml_core wheel and strips + # Windows Python only: setup.ps1 builds one baml_bridge wheel and strips # the editable source block from each fixture so `uv sync` installs that - # prebuilt wheel instead of rebuilding baml_core per fixture. The later + # prebuilt wheel instead of rebuilding baml_bridge per fixture. The later # test-time `uv run` processes also need this wheelhouse. - name: "Configure Python wheelhouse" if: matrix.os-label == 'windows' && matrix.sdk-label == 'python-pydantic2' diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8e202439324..4f558dfce94 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -631,12 +631,12 @@ jobs: working-directory: baml_language # Rust (prost) + Python (protoc) — both driven by bridge_ctypes/build.rs. - # Writes Python pb2/pyi into baml_language/sdks/python/src/baml_core/cffi/v1/. + # Writes Python pb2/pyi into baml_language/sdks/python/src/baml_bridge/cffi/v1/. - name: "Generate Rust + Python proto bindings (bridge_ctypes)" run: cargo build -p bridge_ctypes working-directory: baml_language - # Go (protoc-gen-go) — writes into sdks/go/bridge_go/cffi/proto/baml_core/cffi/v1/. + # Go (protoc-gen-go) — writes into sdks/go/bridge_go/cffi/proto/baml_bridge/cffi/v1/. - name: "Generate Go proto bindings (sdks/go/bridge_go)" run: ./build.sh working-directory: baml_language/sdks/go/bridge_go @@ -667,7 +667,7 @@ jobs: baml_language/sdks/nodejs/bridge_nodejs baml_language/crates/bridge_ctypes baml_language/sdks/go/bridge_go - baml_language/sdks/python/src/baml_core/cffi + baml_language/sdks/python/src/baml_bridge/cffi typescript2/pkg-proto ) README="baml_language/crates/bridge_ctypes/README.md" diff --git a/.github/workflows/publish2-nodejs-sdk.yaml b/.github/workflows/publish2-nodejs-sdk.yaml index 638c4e67556..a5568400885 100644 --- a/.github/workflows/publish2-nodejs-sdk.yaml +++ b/.github/workflows/publish2-nodejs-sdk.yaml @@ -139,7 +139,7 @@ jobs: echo "--- npmrc (auth lines, token redacted) ---" npm config ls -l 2>/dev/null | grep -iE "registry|_authtoken|provenance|userconfig" | sed -E 's/(_authToken=).*/\1/I' || true echo "===============================" - echo "Publishing @boundaryml/baml-core-node packages with dist-tag '$tag'" + echo "Publishing @boundaryml/baml-bridge packages with dist-tag '$tag'" # `npm publish --loglevel verbose` makes the OIDC keyless exchange visible # in the log (a request to the id-token endpoint vs. just sending a token). # diff --git a/baml_language/.config/nextest.toml b/baml_language/.config/nextest.toml index ee9bac615a8..90c6d39f6f8 100644 --- a/baml_language/.config/nextest.toml +++ b/baml_language/.config/nextest.toml @@ -22,11 +22,11 @@ filter = 'package(=sdk_test_typescript_node)' platform = { host = 'cfg(windows)' } setup = 'typescript_node_pnpm_win' -# python tests need each fixture's venv synced with freshly-built baml_core. +# python tests need each fixture's venv synced with freshly-built baml_bridge. # fire only when a python sdk-test is selected. Unix uses `uv sync` per # fixture plus one incremental `maturin develop`; Windows builds one wheel # first, then fixture `uv sync` installs that wheel to avoid duplicate -# editable baml_core builds. +# editable baml_bridge builds. [scripts.setup.python_pydantic2_uv_unix] command = './sdk_tests/crates/python_pydantic2/setup.sh' diff --git a/baml_language/crates/baml_builtins2/keyword_docs/baml_keywords.yaml b/baml_language/crates/baml_builtins2/keyword_docs/baml_keywords.yaml index 5d5a39d7d71..0a590ec154c 100644 --- a/baml_language/crates/baml_builtins2/keyword_docs/baml_keywords.yaml +++ b/baml_language/crates/baml_builtins2/keyword_docs/baml_keywords.yaml @@ -746,7 +746,7 @@ baml_sdk: python: summary: "Use BAML from Python via a generated Pydantic v2 SDK." syntax: | - pip install baml_core # the runtime (Python 3.10+) + pip install baml_bridge # the runtime (Python 3.10+) # baml.toml — declare a generator: [generator.app] @@ -756,7 +756,7 @@ python: baml generate # emits the `baml_sdk` package into output_dir details: | - You install `baml_core` (the runtime); you import `baml_sdk` (the generated + You install `baml_bridge` (the runtime); you import `baml_sdk` (the generated code). Functions become top-level Python functions; classes/enums become Pydantic models: @@ -769,7 +769,7 @@ python: typescript: summary: "Use BAML from TypeScript / Node.js via a generated SDK." syntax: | - npm install @boundaryml/baml-core-node # the runtime + npm install @boundaryml/baml-bridge # the runtime # baml.toml — declare a generator: [generator.app] diff --git a/baml_language/crates/baml_cli/src/init_command.rs b/baml_language/crates/baml_cli/src/init_command.rs index a7bea4d0d16..933c4af9797 100644 --- a/baml_language/crates/baml_cli/src/init_command.rs +++ b/baml_language/crates/baml_cli/src/init_command.rs @@ -173,9 +173,9 @@ name = "{name}" # Uncomment this to generate the Python SDK. # # Note: you also need to install the BAML runtime bridge for Python: -# uv add baml_core -# pip install baml_core -# conda install -c conda-forge baml_core +# uv add baml_bridge +# pip install baml_bridge +# conda install -c conda-forge baml_bridge # # [generator.python_client] # output_type = "python/pydantic" @@ -185,10 +185,10 @@ name = "{name}" # Uncomment this to generate the Node SDK. # # Note: you also need to install the BAML runtime bridge for Node.js: -# npm install @boundaryml/baml-core-node -# pnpm add @boundaryml/baml-core-node -# yarn add @boundaryml/baml-core-node -# bun add @boundaryml/baml-core-node +# npm install @boundaryml/baml-bridge +# pnpm add @boundaryml/baml-bridge +# yarn add @boundaryml/baml-bridge +# bun add @boundaryml/baml-bridge # # [generator.node_client] # output_type = "typescript/node" diff --git a/baml_language/crates/baml_cli/src/snapshots/baml_cli__describe_command_tests__render_keyword_python.snap b/baml_language/crates/baml_cli/src/snapshots/baml_cli__describe_command_tests__render_keyword_python.snap index fe7bc83b5d4..3c3bf596a70 100644 --- a/baml_language/crates/baml_cli/src/snapshots/baml_cli__describe_command_tests__render_keyword_python.snap +++ b/baml_language/crates/baml_cli/src/snapshots/baml_cli__describe_command_tests__render_keyword_python.snap @@ -5,7 +5,7 @@ expression: output python — Use BAML from Python via a generated Pydantic v2 SDK. Syntax: - pip install baml_core # the runtime (Python 3.10+) + pip install baml_bridge # the runtime (Python 3.10+) # baml.toml — declare a generator: [generator.app] @@ -15,7 +15,7 @@ Syntax: baml generate # emits the `baml_sdk` package into output_dir -You install `baml_core` (the runtime); you import `baml_sdk` (the generated +You install `baml_bridge` (the runtime); you import `baml_sdk` (the generated code). Functions become top-level Python functions; classes/enums become Pydantic models: diff --git a/baml_language/crates/baml_cli/src/snapshots/baml_cli__describe_command_tests__render_keyword_typescript.snap b/baml_language/crates/baml_cli/src/snapshots/baml_cli__describe_command_tests__render_keyword_typescript.snap index 9a073a37370..d864ca2a904 100644 --- a/baml_language/crates/baml_cli/src/snapshots/baml_cli__describe_command_tests__render_keyword_typescript.snap +++ b/baml_language/crates/baml_cli/src/snapshots/baml_cli__describe_command_tests__render_keyword_typescript.snap @@ -5,7 +5,7 @@ expression: output typescript — Use BAML from TypeScript / Node.js via a generated SDK. Syntax: - npm install @boundaryml/baml-core-node # the runtime + npm install @boundaryml/baml-bridge # the runtime # baml.toml — declare a generator: [generator.app] diff --git a/baml_language/crates/baml_codegen_types/src/generator_fields.rs b/baml_language/crates/baml_codegen_types/src/generator_fields.rs index 0ca223ea2b1..97d04027561 100644 --- a/baml_language/crates/baml_codegen_types/src/generator_fields.rs +++ b/baml_language/crates/baml_codegen_types/src/generator_fields.rs @@ -13,7 +13,7 @@ pub enum OutputType { /// Python with Pydantic v1 models. #[strum(serialize = "python/pydantic/v1")] PythonPydanticV1, - /// TypeScript + Node.js SDK (`@boundaryml/baml-core-node` runtime). + /// TypeScript + Node.js SDK (`@boundaryml/baml-bridge` runtime). #[strum(serialize = "typescript/node")] TypescriptNode, } diff --git a/baml_language/crates/baml_codegen_types/src/ty.rs b/baml_language/crates/baml_codegen_types/src/ty.rs index 46383644b21..6e9c41f75e8 100644 --- a/baml_language/crates/baml_codegen_types/src/ty.rs +++ b/baml_language/crates/baml_codegen_types/src/ty.rs @@ -138,7 +138,7 @@ pub enum Ty { /// Opaque Rust-managed state — `$rust_type` fields in stdlib stubs /// (e.g. `Response._body`, `SseStream._handle`). Generators render /// this as the host-language opaque-handle type (Python: - /// `baml.baml_core.BamlPyHandle`). + /// `baml.baml_bridge.BamlPyHandle`). RustType, } diff --git a/baml_language/crates/baml_release/src/manifest.rs b/baml_language/crates/baml_release/src/manifest.rs index 9c474a2840e..ef7ce012697 100644 --- a/baml_language/crates/baml_release/src/manifest.rs +++ b/baml_language/crates/baml_release/src/manifest.rs @@ -24,7 +24,7 @@ pub struct VsixArtifact { } #[derive(Debug, Clone, Serialize, Deserialize)] -pub struct BamlCorePypi { +pub struct BamlBridgePypi { pub version: String, } @@ -38,7 +38,7 @@ pub struct ToolchainManifest { #[serde(skip_serializing_if = "Option::is_none")] pub vsix: Option, #[serde(skip_serializing_if = "Option::is_none")] - pub baml_core_pypi: Option, + pub baml_bridge_pypi: Option, } #[derive(Debug, Clone, Serialize, Deserialize)] diff --git a/baml_language/crates/bex_engine/src/trace_value_encode.rs b/baml_language/crates/bex_engine/src/trace_value_encode.rs index 92c3c68406f..27188297970 100644 --- a/baml_language/crates/bex_engine/src/trace_value_encode.rs +++ b/baml_language/crates/bex_engine/src/trace_value_encode.rs @@ -735,7 +735,7 @@ fn bigint_to_hex(value: &str) -> String { #[cfg(test)] mod tests { - use bridge_ctypes::baml_core::cffi::{ + use bridge_ctypes::baml_bridge::cffi::{ BamlOutboundValue, BamlTyPrimitiveKind, baml_outbound_value::Value as BamlValueVariant, baml_ty, }; @@ -807,7 +807,7 @@ mod tests { assert_eq!(media.mime_type.as_deref(), Some("image/png")); assert!(matches!( media.value, - Some(bridge_ctypes::baml_core::cffi::baml_value_media::Value::Base64(_)) + Some(bridge_ctypes::baml_bridge::cffi::baml_value_media::Value::Base64(_)) )); } diff --git a/baml_language/crates/bex_engine/tests/host_value_callable.rs b/baml_language/crates/bex_engine/tests/host_value_callable.rs index 0bab6973803..bcd61d2c876 100644 --- a/baml_language/crates/bex_engine/tests/host_value_callable.rs +++ b/baml_language/crates/bex_engine/tests/host_value_callable.rs @@ -33,7 +33,7 @@ use bex_engine::{ BexEngine, BexExternalValue, CancellationToken, EngineError, FunctionCallContextBuilder, }; use bex_resource_types::{HostValueArc, HostValueKind}; -use bridge_ctypes::baml_core::cffi::{BamlOutboundValue, BamlToHostCall, baml_outbound_value}; +use bridge_ctypes::baml_bridge::cffi::{BamlOutboundValue, BamlToHostCall, baml_outbound_value}; use common::compile_for_engine; use indexmap::IndexMap; use prost::Message; diff --git a/baml_language/crates/bex_engine/tests/prof_gate.rs b/baml_language/crates/bex_engine/tests/prof_gate.rs index e4d329e3e6f..b7b58e88ffb 100644 --- a/baml_language/crates/bex_engine/tests/prof_gate.rs +++ b/baml_language/crates/bex_engine/tests/prof_gate.rs @@ -42,7 +42,7 @@ use bex_events::{ }, }; use bex_vm_types::{CaptureCategory, CaptureOption, FunctionCaptureProps, Object}; -use bridge_ctypes::baml_core::cffi::{ +use bridge_ctypes::baml_bridge::cffi::{ BamlOutboundValue, baml_outbound_value::Value as OutboundValue, }; use common::compile_for_engine; diff --git a/baml_language/crates/bridge_cffi/src/baml_to_host.rs b/baml_language/crates/bridge_cffi/src/baml_to_host.rs index f7eb5036bd1..7a8d594d735 100644 --- a/baml_language/crates/bridge_cffi/src/baml_to_host.rs +++ b/baml_language/crates/bridge_cffi/src/baml_to_host.rs @@ -22,7 +22,7 @@ use std::{panic::AssertUnwindSafe, sync::Arc}; use bex_project::{Bex, BexArgs, BexExternalValue, EngineError, FunctionCallContext, RuntimeError}; use bridge_ctypes::{ CffiHandleTableOptions, - baml_core::cffi::{ + baml_bridge::cffi::{ BamlOutboundError, BamlOutboundPanic, BamlOutboundResult, baml_outbound_result, }, external_to_outbound, diff --git a/baml_language/crates/bridge_cffi/src/ffi/handle.rs b/baml_language/crates/bridge_cffi/src/ffi/handle.rs index 0394f77d21b..241bc387349 100644 --- a/baml_language/crates/bridge_cffi/src/ffi/handle.rs +++ b/baml_language/crates/bridge_cffi/src/ffi/handle.rs @@ -5,7 +5,7 @@ use std::{ffi::CStr, ptr}; use bex_project::{BexExternalAdt, MediaKind, MediaValue}; use bridge_ctypes::{ CffiHandleTableEntry, HANDLE_TABLE, - baml_core::cffi::{BamlHandleType, MediaTypeEnum}, + baml_bridge::cffi::{BamlHandleType, MediaTypeEnum}, }; use crate::Buffer; @@ -357,7 +357,7 @@ pub unsafe extern "C" fn baml_media_mime_type( mod tests { use std::{ffi::CString, ptr}; - use bridge_ctypes::baml_core::cffi::MediaTypeEnum; + use bridge_ctypes::baml_bridge::cffi::MediaTypeEnum; use super::*; diff --git a/baml_language/crates/bridge_cffi/src/ffi/host_value.rs b/baml_language/crates/bridge_cffi/src/ffi/host_value.rs index d96b6a0cc05..8311876cc85 100644 --- a/baml_language/crates/bridge_cffi/src/ffi/host_value.rs +++ b/baml_language/crates/bridge_cffi/src/ffi/host_value.rs @@ -18,7 +18,7 @@ //! and bridge_cffi → sys_native is the one-way dependency direction. use bex_project::{BexExternalValue, HostReleaseFn, host_release_dispatch}; -use bridge_ctypes::{HANDLE_TABLE, baml_core::cffi::InboundValue, inbound_to_external}; +use bridge_ctypes::{HANDLE_TABLE, baml_bridge::cffi::InboundValue, inbound_to_external}; use prost::Message; use sys_native::host_dispatch; /// Signature for invocation requests from BAML to the host. @@ -305,7 +305,7 @@ mod tests { /// pin the wire-side decode + delivery. #[tokio::test] async fn complete_host_call_throw_payload_delivers_external_value() { - use bridge_ctypes::baml_core::cffi::{ + use bridge_ctypes::baml_bridge::cffi::{ BamlTyClass, InboundClassValue, InboundMapEntry, InboundValue, inbound_map_entry::Key as InboundMapKey, inbound_value::Value as InboundValueVariant, }; diff --git a/baml_language/crates/bridge_cffi/src/lib.rs b/baml_language/crates/bridge_cffi/src/lib.rs index 3603528f01d..7b81e330ed0 100644 --- a/baml_language/crates/bridge_cffi/src/lib.rs +++ b/baml_language/crates/bridge_cffi/src/lib.rs @@ -32,7 +32,7 @@ pub mod host_spans; mod panic; pub use baml_to_host::{call_and_encode, error_to_outbound, result_to_outbound}; -pub use bridge_ctypes::baml_core; +pub use bridge_ctypes::baml_bridge; pub use buffer::Buffer; pub use error::BridgeError; pub use ffi::{ @@ -163,7 +163,7 @@ fn call_function_inner( length: usize, id: u32, ) -> Result<(), BridgeError> { - use bridge_ctypes::baml_core::cffi::CallFunctionArgs; + use bridge_ctypes::baml_bridge::cffi::CallFunctionArgs; let runtime = get_runtime()?; diff --git a/baml_language/crates/bridge_ctypes/README.md b/baml_language/crates/bridge_ctypes/README.md index 02d16da18a0..0a3847ea9c7 100644 --- a/baml_language/crates/bridge_ctypes/README.md +++ b/baml_language/crates/bridge_ctypes/README.md @@ -3,8 +3,8 @@ ```sh # Rust (prost) + Python (protoc) — both driven by bridge_ctypes/build.rs cargo build -p bridge_ctypes -# -> target/.../build/bridge_ctypes-*/out/baml_core.cffi.v1.rs -# -> sdks/python/src/baml_core/cffi/v1/*_pb2.py(i) +# -> target/.../build/bridge_ctypes-*/out/baml_bridge.cffi.v1.rs +# -> sdks/python/src/baml_bridge/cffi/v1/*_pb2.py(i) # Node / TypeScript (protobufjs + napi loader) cd sdks/nodejs/bridge_nodejs && pnpm build:debug @@ -18,11 +18,11 @@ cd sdks/nodejs/bridge_nodejs && pnpm build:debug # TypeScript (ts-proto / buf) — typescript2/pkg-proto consumer cd typescript2/pkg-proto && pnpm generate -# -> typescript2/pkg-proto/src/generated/baml_core/cffi/v1/*.ts +# -> typescript2/pkg-proto/src/generated/baml_bridge/cffi/v1/*.ts # Go (protoc-gen-go) cd sdks/go/bridge_go && ./build.sh -# -> sdks/go/bridge_go/cffi/proto/baml_core/cffi/v1/*.pb.go +# -> sdks/go/bridge_go/cffi/proto/baml_bridge/cffi/v1/*.pb.go ``` Other consumers (`bridge_cffi`, `bridge_wasm`, `sdks/python/rust/bridge_python`) use the Rust prost types via `bridge_ctypes` — nothing extra to regenerate. diff --git a/baml_language/crates/bridge_ctypes/src/handle_table.rs b/baml_language/crates/bridge_ctypes/src/handle_table.rs index 5bcd444ac6b..59e442dc098 100644 --- a/baml_language/crates/bridge_ctypes/src/handle_table.rs +++ b/baml_language/crates/bridge_ctypes/src/handle_table.rs @@ -10,7 +10,7 @@ use std::{ use bex_project::{BexExternalAdt, BexExternalValue, Handle, MediaKind}; -use crate::baml_core::cffi::BamlHandleType; +use crate::baml_bridge::cffi::BamlHandleType; /// Newtype wrapper around opaque `$rust_type` objects /// (`Arc`) stored as a handle. @@ -215,7 +215,7 @@ mod tests { use bex_project::{BexExternalValue, HostValueArc, HostValueKind}; use super::*; - use crate::{baml_core::cffi::baml_outbound_value::Value as BamlValueVariant, value_encode}; + use crate::{baml_bridge::cffi::baml_outbound_value::Value as BamlValueVariant, value_encode}; fn make_function_ref() -> CffiHandleTableEntry { CffiHandleTableEntry::FunctionRef { global_index: 42 } diff --git a/baml_language/crates/bridge_ctypes/src/lib.rs b/baml_language/crates/bridge_ctypes/src/lib.rs index 233fe0ee731..59cd1f786b0 100644 --- a/baml_language/crates/bridge_ctypes/src/lib.rs +++ b/baml_language/crates/bridge_ctypes/src/lib.rs @@ -14,10 +14,10 @@ mod value_decode; mod value_encode; /// Generated protobuf module (CFFI / host value types). -pub mod baml_core { +pub mod baml_bridge { pub mod cffi { #![allow(clippy::doc_markdown, clippy::empty_structs_with_brackets)] - include!(concat!(env!("OUT_DIR"), "/baml_core.cffi.v1.rs")); + include!(concat!(env!("OUT_DIR"), "/baml_bridge.cffi.v1.rs")); } } diff --git a/baml_language/crates/bridge_ctypes/src/traceback.rs b/baml_language/crates/bridge_ctypes/src/traceback.rs index c2c28fb66d1..64b17345846 100644 --- a/baml_language/crates/bridge_ctypes/src/traceback.rs +++ b/baml_language/crates/bridge_ctypes/src/traceback.rs @@ -2,7 +2,7 @@ /// Render a traceback as one string per frame, most-recent-call-last, for /// carrying structured onto the wire (`repeated string trace` in -/// [`BamlOutboundPanic`](crate::baml_core::cffi::BamlOutboundPanic)). Each line +/// [`BamlOutboundPanic`](crate::baml_bridge::cffi::BamlOutboundPanic)). Each line /// uses the per-frame format `File "", line N, in ` — /// without a `Traceback (most recent call last):` header and without /// `\n`-joining, so the host can map each frame 1:1 onto a synthesized Python diff --git a/baml_language/crates/bridge_ctypes/src/ty_decode.rs b/baml_language/crates/bridge_ctypes/src/ty_decode.rs index d2d13d71b6d..e5a7d05f82b 100644 --- a/baml_language/crates/bridge_ctypes/src/ty_decode.rs +++ b/baml_language/crates/bridge_ctypes/src/ty_decode.rs @@ -18,7 +18,7 @@ use bex_project::{BexExternalAdt, BexExternalValue}; use indexmap::IndexMap; use crate::{ - baml_core::cffi::{ + baml_bridge::cffi::{ BamlTy, BamlTyArg, BamlTyFunctionParam, BamlTyFunctionParamMode, BamlTyMediaKind, BamlTyPrimitiveKind, baml_ty::Ty as TyVariant, baml_ty_literal::Literal as TyLiteralVariant, diff --git a/baml_language/crates/bridge_ctypes/src/ty_encode.rs b/baml_language/crates/bridge_ctypes/src/ty_encode.rs index 523fb7c83ae..225e0ee8500 100644 --- a/baml_language/crates/bridge_ctypes/src/ty_encode.rs +++ b/baml_language/crates/bridge_ctypes/src/ty_encode.rs @@ -22,7 +22,7 @@ use baml_type::{Literal, MediaKind, Name, RuntimeTy, TypeName}; -use crate::baml_core::cffi::{ +use crate::baml_bridge::cffi::{ BamlTy, BamlTyAssociatedBinding, BamlTyAssociatedTypeProjection, BamlTyClass, BamlTyEnum, BamlTyEnumVariant, BamlTyFunction, BamlTyFunctionParam, BamlTyFunctionParamMode, BamlTyFuture, BamlTyInterface, BamlTyList, BamlTyLiteral, BamlTyMap, BamlTyMediaKind, BamlTyOptional, @@ -119,7 +119,7 @@ fn runtime_ty_to_variant(ty: &RuntimeTy) -> TyVariant { } RuntimeTy::Literal(lit, _, _) => TyVariant::Literal(literal_to_proto(lit)), - RuntimeTy::Media(kind, _) => TyVariant::Media(crate::baml_core::cffi::BamlTyMedia { + RuntimeTy::Media(kind, _) => TyVariant::Media(crate::baml_bridge::cffi::BamlTyMedia { kind: media_kind_to_proto(*kind) as i32, }), RuntimeTy::Interface(name, args, bindings, _) => { @@ -189,19 +189,19 @@ fn runtime_ty_to_variant(ty: &RuntimeTy) -> TyVariant { })), RuntimeTy::RustType { .. } => { - TyVariant::RustType(crate::baml_core::cffi::BamlTyRustType {}) + TyVariant::RustType(crate::baml_bridge::cffi::BamlTyRustType {}) } - RuntimeTy::Type { .. } => TyVariant::MetaType(crate::baml_core::cffi::BamlTyMetaType {}), + RuntimeTy::Type { .. } => TyVariant::MetaType(crate::baml_bridge::cffi::BamlTyMetaType {}), RuntimeTy::Resource { .. } => { - TyVariant::Resource(crate::baml_core::cffi::BamlTyResource {}) + TyVariant::Resource(crate::baml_bridge::cffi::BamlTyResource {}) } RuntimeTy::PromptAst { .. } => { - TyVariant::PromptAst(crate::baml_core::cffi::BamlTyPromptAst {}) + TyVariant::PromptAst(crate::baml_bridge::cffi::BamlTyPromptAst {}) } - RuntimeTy::Void { .. } => TyVariant::Void(crate::baml_core::cffi::BamlTyVoid {}), - RuntimeTy::Never { .. } => TyVariant::Never(crate::baml_core::cffi::BamlTyNever {}), + RuntimeTy::Void { .. } => TyVariant::Void(crate::baml_bridge::cffi::BamlTyVoid {}), + RuntimeTy::Never { .. } => TyVariant::Never(crate::baml_bridge::cffi::BamlTyNever {}), RuntimeTy::BuiltinUnknown { .. } => { - TyVariant::Unknown(crate::baml_core::cffi::BamlTyUnknown {}) + TyVariant::Unknown(crate::baml_bridge::cffi::BamlTyUnknown {}) } } } @@ -244,7 +244,7 @@ mod tests { use super::runtime_ty_to_proto_ty; use crate::{ - baml_core::cffi::{ + baml_bridge::cffi::{ BamlTy, BamlTyAssociatedBinding, BamlTyInterface, baml_ty::Ty as TyVariant, }, ty_decode::proto_ty_to_runtime_ty, diff --git a/baml_language/crates/bridge_ctypes/src/value_decode.rs b/baml_language/crates/bridge_ctypes/src/value_decode.rs index d1b1ca95351..606f21b1ebb 100644 --- a/baml_language/crates/bridge_ctypes/src/value_decode.rs +++ b/baml_language/crates/bridge_ctypes/src/value_decode.rs @@ -10,7 +10,7 @@ use indexmap::IndexMap; use prost::Message; use crate::{ - baml_core::cffi::{ + baml_bridge::cffi::{ BamlHandleType, InboundClassValue, InboundEnumValue, InboundListValue, InboundMapEntry, InboundMapValue, InboundValue, inbound_value::Value as InboundValueVariant, }, @@ -186,7 +186,7 @@ fn convert_enum(e: InboundEnumValue) -> BexExternalValue { } fn extract_string_key(entry: &InboundMapEntry) -> Result { - use crate::baml_core::cffi::inbound_map_entry::Key; + use crate::baml_bridge::cffi::inbound_map_entry::Key; match &entry.key { Some(Key::StringKey(s)) => Ok(s.clone()), Some(Key::IntKey(i)) => Ok(i.to_string()), @@ -234,7 +234,7 @@ pub fn playground_run_args_to_bex_values( #[cfg(test)] mod tests { use super::*; - use crate::{baml_core::cffi::BamlHandle, handle_table::CffiHandleTableEntry}; + use crate::{baml_bridge::cffi::BamlHandle, handle_table::CffiHandleTableEntry}; #[test] fn decode_inbound_host_value_callable() { @@ -325,7 +325,7 @@ mod tests { /// to the parallel inbound discriminator. fn bigint_round_trip(original: &BexExternalValue) -> BexExternalValue { use crate::{ - baml_core::cffi::baml_outbound_value::Value as OutboundVariant, + baml_bridge::cffi::baml_outbound_value::Value as OutboundVariant, handle_table::CffiHandleTableOptions, value_encode::external_to_outbound, }; @@ -411,7 +411,7 @@ mod tests { /// lands them in `BexExternalValue::Instance::type_args`. #[test] fn convert_class_decodes_generic_type_args() { - use crate::baml_core::cffi::{ + use crate::baml_bridge::cffi::{ BamlTy, BamlTyClass, BamlTyPrimitive, BamlTyPrimitiveKind, InboundClassValue, baml_ty::Ty as TyVariant, }; @@ -445,7 +445,7 @@ mod tests { /// A non-generic instance binds its FQN from `class_ty` with empty `type_args`. #[test] fn convert_class_non_generic_has_empty_type_args() { - use crate::baml_core::cffi::{BamlTyClass, InboundClassValue}; + use crate::baml_bridge::cffi::{BamlTyClass, InboundClassValue}; let class = InboundClassValue { fields: vec![], class_ty: Some(BamlTyClass { diff --git a/baml_language/crates/bridge_ctypes/src/value_encode.rs b/baml_language/crates/bridge_ctypes/src/value_encode.rs index 738bcdcca5d..347db7900fb 100644 --- a/baml_language/crates/bridge_ctypes/src/value_encode.rs +++ b/baml_language/crates/bridge_ctypes/src/value_encode.rs @@ -4,7 +4,7 @@ use bex_project::{BexExternalAdt, BexExternalValue}; use indexmap::IndexMap; use crate::{ - baml_core::cffi::{ + baml_bridge::cffi::{ BamlOutboundHandle, BamlOutboundMapEntry, BamlOutboundValue, BamlToHostArg, BamlToHostCall, BamlValueClass, BamlValueEnum, BamlValueList, BamlValueMap, BamlValueUnionVariant, baml_outbound_value::Value as BamlValueVariant, @@ -146,7 +146,7 @@ pub fn external_to_outbound( // the host-side key; drop semantics are preserved by the Arc // (HostValueArc::drop fires HostReleaseFn on last drop). BexExternalValue::HostValue(arc) => { - use crate::baml_core::cffi::BamlHandleType; + use crate::baml_bridge::cffi::BamlHandleType; let ht = match arc.kind { bex_project::HostValueKind::Callable => BamlHandleType::HostValueCallable as i32, bex_project::HostValueKind::Opaque => BamlHandleType::HostValueOpaque as i32, @@ -351,8 +351,10 @@ fn artifact_safe_omission(reason: &str, message: &str) -> BamlValueVariant { }) } -fn media_kind_to_proto_enum(kind: bex_project::MediaKind) -> crate::baml_core::cffi::MediaTypeEnum { - use crate::baml_core::cffi::MediaTypeEnum as E; +fn media_kind_to_proto_enum( + kind: bex_project::MediaKind, +) -> crate::baml_bridge::cffi::MediaTypeEnum { + use crate::baml_bridge::cffi::MediaTypeEnum as E; match kind { bex_project::MediaKind::Image => E::Image, bex_project::MediaKind::Audio => E::Audio, @@ -364,8 +366,10 @@ fn media_kind_to_proto_enum(kind: bex_project::MediaKind) -> crate::baml_core::c fn bex_media_to_proto_media( media: &bex_project::MediaValue, -) -> crate::baml_core::cffi::BamlValueMedia { - use crate::baml_core::cffi::{BamlValueMedia, baml_value_media::Value as BamlValueMediaValue}; +) -> crate::baml_bridge::cffi::BamlValueMedia { + use crate::baml_bridge::cffi::{ + BamlValueMedia, baml_value_media::Value as BamlValueMediaValue, + }; BamlValueMedia { media: media_kind_to_proto_enum(media.kind).into(), mime_type: media.mime_type(), @@ -382,21 +386,21 @@ fn bex_media_to_proto_media( /// Adapter so we can use `.map(arc_prompt_ast_to_proto)` instead of a closure (PR review). fn arc_prompt_ast_to_proto( p: &std::sync::Arc, -) -> crate::baml_core::cffi::BamlValuePromptAst { +) -> crate::baml_bridge::cffi::BamlValuePromptAst { bex_prompt_ast_to_proto_prompt_ast(p.as_ref()) } /// Adapter so we can use `.map(arc_prompt_ast_simple_to_proto)` instead of a closure (PR review). fn arc_prompt_ast_simple_to_proto( s: &std::sync::Arc, -) -> crate::baml_core::cffi::BamlValuePromptAstSimple { +) -> crate::baml_bridge::cffi::BamlValuePromptAstSimple { bex_prompt_ast_simple_to_proto_prompt_ast_simple(s.as_ref()) } fn bex_prompt_ast_to_proto_prompt_ast( prompt_ast: &bex_project::PromptAst, -) -> crate::baml_core::cffi::BamlValuePromptAst { - use crate::baml_core::cffi::{ +) -> crate::baml_bridge::cffi::BamlValuePromptAst { + use crate::baml_bridge::cffi::{ BamlValuePromptAst, BamlValuePromptAstMessage, BamlValuePromptAstMultiple, baml_value_prompt_ast::Value as BamlValuePromptAstValue, }; @@ -425,8 +429,8 @@ fn bex_prompt_ast_to_proto_prompt_ast( fn bex_prompt_ast_simple_to_proto_prompt_ast_simple( simple_prompt_ast: &bex_project::PromptAstSimple, -) -> crate::baml_core::cffi::BamlValuePromptAstSimple { - use crate::baml_core::cffi::{ +) -> crate::baml_bridge::cffi::BamlValuePromptAstSimple { + use crate::baml_bridge::cffi::{ BamlValuePromptAstSimple, BamlValuePromptAstSimpleMultiple, baml_value_prompt_ast_simple::Value as BamlValuePromptAstSimpleValue, }; @@ -495,7 +499,9 @@ mod tests { }; use super::*; - use crate::baml_core::cffi::{BamlHandleType, baml_outbound_value::Value as BamlValueVariant}; + use crate::baml_bridge::cffi::{ + BamlHandleType, baml_outbound_value::Value as BamlValueVariant, + }; fn extract_handle(out: BamlOutboundValue) -> BamlOutboundHandle { match out.value { diff --git a/baml_language/crates/bridge_ctypes/types/baml_core/cffi/v1/baml_handle.proto b/baml_language/crates/bridge_ctypes/types/baml_bridge/cffi/v1/baml_handle.proto similarity index 98% rename from baml_language/crates/bridge_ctypes/types/baml_core/cffi/v1/baml_handle.proto rename to baml_language/crates/bridge_ctypes/types/baml_bridge/cffi/v1/baml_handle.proto index 909aeae357d..134256a21fb 100644 --- a/baml_language/crates/bridge_ctypes/types/baml_core/cffi/v1/baml_handle.proto +++ b/baml_language/crates/bridge_ctypes/types/baml_bridge/cffi/v1/baml_handle.proto @@ -1,7 +1,7 @@ // See crates/bridge_ctypes/README.md for the list of consumers and the // commands used to regenerate each language's proto client. syntax = "proto3"; -package baml_core.cffi.v1; +package baml_bridge.cffi.v1; option go_package = "./cffi"; diff --git a/baml_language/crates/bridge_ctypes/types/baml_core/cffi/v1/baml_inbound.proto b/baml_language/crates/bridge_ctypes/types/baml_bridge/cffi/v1/baml_inbound.proto similarity index 96% rename from baml_language/crates/bridge_ctypes/types/baml_core/cffi/v1/baml_inbound.proto rename to baml_language/crates/bridge_ctypes/types/baml_bridge/cffi/v1/baml_inbound.proto index 5f3974e1045..2ab9ad05125 100644 --- a/baml_language/crates/bridge_ctypes/types/baml_core/cffi/v1/baml_inbound.proto +++ b/baml_language/crates/bridge_ctypes/types/baml_bridge/cffi/v1/baml_inbound.proto @@ -1,13 +1,13 @@ // See crates/bridge_ctypes/README.md for the list of consumers and the // commands used to regenerate each language's proto client. syntax = "proto3"; -package baml_core.cffi.v1; +package baml_bridge.cffi.v1; // BamlHandle / BamlHandleType are shared with the outbound side; they live in // their own file so baml_outbound.proto can import them without depending on // this inbound file. -import "baml_core/cffi/v1/baml_handle.proto"; -import "baml_core/cffi/v1/baml_type.proto"; +import "baml_bridge/cffi/v1/baml_handle.proto"; +import "baml_bridge/cffi/v1/baml_type.proto"; option go_package = "./cffi"; diff --git a/baml_language/crates/bridge_ctypes/types/baml_core/cffi/v1/baml_outbound.proto b/baml_language/crates/bridge_ctypes/types/baml_bridge/cffi/v1/baml_outbound.proto similarity index 98% rename from baml_language/crates/bridge_ctypes/types/baml_core/cffi/v1/baml_outbound.proto rename to baml_language/crates/bridge_ctypes/types/baml_bridge/cffi/v1/baml_outbound.proto index b55c6ced608..8eac4271c45 100644 --- a/baml_language/crates/bridge_ctypes/types/baml_core/cffi/v1/baml_outbound.proto +++ b/baml_language/crates/bridge_ctypes/types/baml_bridge/cffi/v1/baml_outbound.proto @@ -1,10 +1,10 @@ // See crates/bridge_ctypes/README.md for the list of consumers and the // commands used to regenerate each language's proto client. syntax = "proto3"; -package baml_core.cffi.v1; +package baml_bridge.cffi.v1; -import "baml_core/cffi/v1/baml_handle.proto"; -import "baml_core/cffi/v1/baml_type.proto"; +import "baml_bridge/cffi/v1/baml_handle.proto"; +import "baml_bridge/cffi/v1/baml_type.proto"; option go_package = "./cffi"; diff --git a/baml_language/crates/bridge_ctypes/types/baml_core/cffi/v1/baml_type.proto b/baml_language/crates/bridge_ctypes/types/baml_bridge/cffi/v1/baml_type.proto similarity index 99% rename from baml_language/crates/bridge_ctypes/types/baml_core/cffi/v1/baml_type.proto rename to baml_language/crates/bridge_ctypes/types/baml_bridge/cffi/v1/baml_type.proto index e0bf219d8ac..a9540892320 100644 --- a/baml_language/crates/bridge_ctypes/types/baml_core/cffi/v1/baml_type.proto +++ b/baml_language/crates/bridge_ctypes/types/baml_bridge/cffi/v1/baml_type.proto @@ -2,7 +2,7 @@ // commands used to regenerate each language's proto client. syntax = "proto3"; -package baml_core.cffi.v1; +package baml_bridge.cffi.v1; option go_package = "./cffi"; diff --git a/baml_language/crates/bridge_wasm/src/handle.rs b/baml_language/crates/bridge_wasm/src/handle.rs index 35f4db58f95..4d864012262 100644 --- a/baml_language/crates/bridge_wasm/src/handle.rs +++ b/baml_language/crates/bridge_wasm/src/handle.rs @@ -1,6 +1,6 @@ //! WASM handle lifecycle — auto-released via `FinalizationRegistry`. -use bridge_ctypes::{HANDLE_TABLE, baml_core::cffi::BamlHandleType}; +use bridge_ctypes::{HANDLE_TABLE, baml_bridge::cffi::BamlHandleType}; use js_sys::{Object, Reflect}; use wasm_bindgen::prelude::*; diff --git a/baml_language/crates/bridge_wasm/src/host_value.rs b/baml_language/crates/bridge_wasm/src/host_value.rs index d7f23ec72cc..feae43994a8 100644 --- a/baml_language/crates/bridge_wasm/src/host_value.rs +++ b/baml_language/crates/bridge_wasm/src/host_value.rs @@ -71,7 +71,7 @@ use std::{cell::RefCell, collections::HashMap, sync::Arc}; use bex_project::{host_release_dispatch, validate_host_return}; use bridge_ctypes::{ - CffiHandleTableOptions, HANDLE_TABLE, baml_core::cffi::InboundValue, inbound_to_external, + CffiHandleTableOptions, HANDLE_TABLE, baml_bridge::cffi::InboundValue, inbound_to_external, }; use js_sys::Function; use prost::Message; diff --git a/baml_language/crates/bridge_wasm/src/lib.rs b/baml_language/crates/bridge_wasm/src/lib.rs index 8f3bec873da..a4c1754e2d2 100644 --- a/baml_language/crates/bridge_wasm/src/lib.rs +++ b/baml_language/crates/bridge_wasm/src/lib.rs @@ -89,7 +89,7 @@ use bex_events::{ }, }; pub use bridge_ctypes::{ - HANDLE_TABLE, baml_core, external_to_outbound, playground_run_args_to_bex_values, + HANDLE_TABLE, baml_bridge, external_to_outbound, playground_run_args_to_bex_values, }; pub use error::BridgeError; pub use host_value::{complete_host_call, register_host_callable}; diff --git a/baml_language/crates/bridge_wasm/tests/host_callable.rs b/baml_language/crates/bridge_wasm/tests/host_callable.rs index 699163eeea8..a8e172660f5 100644 --- a/baml_language/crates/bridge_wasm/tests/host_callable.rs +++ b/baml_language/crates/bridge_wasm/tests/host_callable.rs @@ -18,7 +18,7 @@ use base64::Engine; use bridge_wasm::{ BamlWasmRuntime, LspNotification, - baml_core::cffi::{ + baml_bridge::cffi::{ BamlHandle, BamlHandleType, BamlOutboundValue, BamlToHostCall, BamlTyClass, InboundClassValue, InboundMapEntry, InboundValue, baml_outbound_value::Value as OutboundValue, inbound_map_entry::Key as MapKeyVariant, diff --git a/baml_language/crates/bridge_wasm/tests/wasm_fs_glob.rs b/baml_language/crates/bridge_wasm/tests/wasm_fs_glob.rs index c9d6d326a17..81284e67acb 100644 --- a/baml_language/crates/bridge_wasm/tests/wasm_fs_glob.rs +++ b/baml_language/crates/bridge_wasm/tests/wasm_fs_glob.rs @@ -15,7 +15,7 @@ use bex_events::{ }; use bridge_wasm::{ BamlWasmRuntime, LspNotification, - baml_core::cffi::{BamlOutboundValue, baml_outbound_value::Value as OutboundValue}, + baml_bridge::cffi::{BamlOutboundValue, baml_outbound_value::Value as OutboundValue}, }; use prost::Message; use wasm_bindgen::{JsCast, prelude::*}; diff --git a/baml_language/sdk_tests/DEVELOPMENT.md b/baml_language/sdk_tests/DEVELOPMENT.md index 3ff28e9aa49..c285942db86 100644 --- a/baml_language/sdk_tests/DEVELOPMENT.md +++ b/baml_language/sdk_tests/DEVELOPMENT.md @@ -6,10 +6,10 @@ Codegen runs in each crate's `build.rs` via the full takes end-to-end. Toolchain install/native-build is kept OUT of build.rs for both targets and lives in a per-crate `setup.sh` (Unix) / `setup.ps1` (Windows): python_pydantic2's per-fixture -`uv sync --reinstall-package baml_core` lives in +`uv sync --reinstall-package baml_bridge` lives in [`crates/python_pydantic2/setup.sh`](./crates/python_pydantic2/setup.sh) (the `--reinstall-package` forces the maturin rebuild of -baml_core's `.so` that a plain `uv sync` skips on incremental Rust +baml_bridge's `.so` that a plain `uv sync` skips on incremental Rust edits), and typescript_node's per-fixture `pnpm install` + the prereq `pnpm build:debug` of bridge_nodejs's native `.node` addon live in @@ -68,7 +68,7 @@ sdk_tests/ | | # [build-dependencies] sdk_test_harness_setup | | # [dev-dependencies] sdk_test_harness_runner | |-- build.rs # one-liner -> sdk_test_harness_setup::python_pydantic2::run_all() - | |-- setup.sh # per-fixture `uv sync --reinstall-package baml_core` (.so rebuild) (Unix) + | |-- setup.sh # per-fixture `uv sync --reinstall-package baml_bridge` (.so rebuild) (Unix) | |-- setup.ps1 # parallel script for Windows; nextest picks one by host cfg | `-- src/lib.rs # invokes sdk_test_harness_runner::python_pydantic2::test_suite!() `-- typescript_node/ @@ -108,8 +108,8 @@ sdk_tests/ via two platform-filtered (`cfg(unix)` / `cfg(windows)`) setup-script bindings; plain `cargo test` won't pass. - For python_pydantic2: the setup script runs `uv sync - --reinstall-package baml_core` inside each generated dir. - uv's editable install of `baml_core` (declared in + --reinstall-package baml_bridge` inside each generated dir. + uv's editable install of `baml_bridge` (declared in `[tool.uv.sources]`) triggers the maturin build of `bridge_python`. `--reinstall-package` is required because a plain `uv sync` is a no-op on incremental Rust edits -- uv diff --git a/baml_language/sdk_tests/README.md b/baml_language/sdk_tests/README.md index 9562a03f2a3..67a17084238 100644 --- a/baml_language/sdk_tests/README.md +++ b/baml_language/sdk_tests/README.md @@ -46,7 +46,7 @@ Each SDK is implemented in two parts: an FFI to provide core runtime bindings an `sdk_test_python_pydantic2` provides coverage for - `sdks/python/rust/bridge_python` - - `sdks/python/src/baml_core` + - `sdks/python/src/baml_bridge` - `sdks/python/rust/sdkgen_python_pydantic2` `sdk_test_typescript_node` provides coverage for diff --git a/baml_language/sdk_tests/crates/python_pydantic2/function_calls/customizable/test_cancellation.py b/baml_language/sdk_tests/crates/python_pydantic2/function_calls/customizable/test_cancellation.py index 2c6aa72cf69..545d51d6e70 100644 --- a/baml_language/sdk_tests/crates/python_pydantic2/function_calls/customizable/test_cancellation.py +++ b/baml_language/sdk_tests/crates/python_pydantic2/function_calls/customizable/test_cancellation.py @@ -7,7 +7,7 @@ import pytest import baml_sdk # noqa: F401 — initializes the BAML runtime -from baml_core import BamlCallContext +from baml_bridge import BamlCallContext from baml_sdk.baml import BamlPanic from baml_sdk.baml.panics import Cancelled from baml_sdk import throws_test diff --git a/baml_language/sdk_tests/crates/python_pydantic2/function_calls/customizable/test_errors.py b/baml_language/sdk_tests/crates/python_pydantic2/function_calls/customizable/test_errors.py index 10db030ff47..560c8ea6a6c 100644 --- a/baml_language/sdk_tests/crates/python_pydantic2/function_calls/customizable/test_errors.py +++ b/baml_language/sdk_tests/crates/python_pydantic2/function_calls/customizable/test_errors.py @@ -32,7 +32,7 @@ import pytest import baml_sdk # noqa: F401 — importing initializes the BAML runtime -from baml_core import BamlCallContext, BamlCancelledError, call_function, get_runtime +from baml_bridge import BamlCallContext, BamlCancelledError, call_function, get_runtime from baml_sdk import hello_world from baml_sdk.baml import BamlError, BamlPanic from baml_sdk.baml.errors import InvalidArgument diff --git a/baml_language/sdk_tests/crates/python_pydantic2/setup.ps1 b/baml_language/sdk_tests/crates/python_pydantic2/setup.ps1 index 4420e18c292..e67cf937db1 100644 --- a/baml_language/sdk_tests/crates/python_pydantic2/setup.ps1 +++ b/baml_language/sdk_tests/crates/python_pydantic2/setup.ps1 @@ -7,7 +7,7 @@ # `cargo test --no-run` populates each fixture's `generated/pyproject.toml`. # # See setup.sh for the baseline rationale. The Windows CI path uses the -# build-caching/04 approach B optimization: build baml_core once as a +# build-caching/04 approach B optimization: build baml_bridge once as a # wheel, then install that wheel into every fixture venv. This avoids the # redundant per-fixture editable build that `uv sync` can trigger before # the shared extension rebuild. @@ -30,7 +30,7 @@ if (-not (Get-Command uv -ErrorAction SilentlyContinue)) { $UvBin = (mise which uv).Trim() } -# 1. Build the shared baml_core wheel once. `sdks/python/.venv` supplies +# 1. Build the shared baml_bridge wheel once. `sdks/python/.venv` supplies # maturin at a stable path, keeping pyo3 fingerprints stable. $SdkPyVenv = Join-Path $SdkPy '.venv' $MaturinExe = Join-Path $SdkPyVenv 'Scripts\maturin.exe' @@ -46,7 +46,7 @@ try { } finally { Pop-Location } -Write-Host '==> maturin build (shared baml_core wheel)' +Write-Host '==> maturin build (shared baml_bridge wheel)' Push-Location $SdkPy try { $env:VIRTUAL_ENV = $SdkPyVenv @@ -56,8 +56,8 @@ try { Pop-Location } -# 2. Per fixture: install deps + the prebuilt baml_core wheel. Strip the -# editable `[tool.uv.sources] baml_core` block so baml_core resolves +# 2. Per fixture: install deps + the prebuilt baml_bridge wheel. Strip the +# editable `[tool.uv.sources] baml_bridge` block so baml_bridge resolves # as a normal dependency from UV_FIND_LINKS. if (-not $env:UV_FIND_LINKS) { $env:UV_FIND_LINKS = $WheelDir } Get-ChildItem -Directory | ForEach-Object { diff --git a/baml_language/sdk_tests/crates/python_pydantic2/setup.sh b/baml_language/sdk_tests/crates/python_pydantic2/setup.sh index 1a2de516864..7f471a48fb1 100755 --- a/baml_language/sdk_tests/crates/python_pydantic2/setup.sh +++ b/baml_language/sdk_tests/crates/python_pydantic2/setup.sh @@ -10,9 +10,9 @@ # Two responsibilities, split by tool: # # 1. `uv sync` per fixture turns each generated/ dir into a real -# `.venv/` with pytest/pydantic/etc. installed and baml_core +# `.venv/` with pytest/pydantic/etc. installed and baml_bridge # editable-linked. Every fixture's editable link resolves to the -# same shared `sdks/python/src/baml_core/baml_py.abi3.so`. +# same shared `sdks/python/src/baml_bridge/baml_py.abi3.so`. # # 2. `maturin develop` (once) rebuilds that shared `.so` from the # current Rust sources. We target `sdks/python`'s own `.venv` — @@ -22,7 +22,7 @@ # valid, so cargo's incremental cache hits and steady-state # rebuilds are ~7s. # -# Why not `uv sync --reinstall-package baml_core` (the old approach)? +# Why not `uv sync --reinstall-package baml_bridge` (the old approach)? # That was strictly slower, ~70s EVERY run even when nothing changed. # uv builds the editable wheel in an isolated env with an *ephemeral* # interpreter at a fresh `target/uv-cache/builds-v0/.tmpXXXX/bin/python` @@ -63,7 +63,7 @@ mkdir -p "$UV_CACHE_DIR" uv_bin="uv" command -v uv >/dev/null 2>&1 || uv_bin="$(mise which uv)" -# 1. Ensure each fixture venv exists, deps are installed, and baml_core +# 1. Ensure each fixture venv exists, deps are installed, and baml_bridge # is editable-linked. Plain `uv sync` (no --reinstall): on a fresh # checkout this builds the editable wheel once; afterward it's a # no-op. The shared .so it points at is (re)built by step 2. @@ -73,17 +73,17 @@ for fixture_dir in */generated; do (cd "$fixture_dir" && "$uv_bin" sync) done -# 2. Rebuild the shared baml_core extension incrementally via maturin. +# 2. Rebuild the shared baml_bridge extension incrementally via maturin. # The build venv is `sdks/python/.venv` — uv's default project venv, # at a stable path (see the --reinstall-package note above for why # that matters). abi3 wheels are interpreter-version-agnostic, so # any >=3.10 works. `sdks/python/pyproject.toml` owns the maturin # version constraint; the sync below installs dev tools without -# installing/building baml_core (`maturin develop` does that). +# installing/building baml_bridge (`maturin develop` does that). SDK_PY_VENV="$SDK_PY/.venv" echo "==> uv sync (dev) in $SDK_PY" (cd "$SDK_PY" && UV_PROJECT_ENVIRONMENT="$SDK_PY_VENV" "$uv_bin" sync --group dev --no-install-project) -echo "==> maturin develop (shared baml_core extension)" +echo "==> maturin develop (shared baml_bridge extension)" (cd "$SDK_PY" && VIRTUAL_ENV="$SDK_PY_VENV" "$SDK_PY_VENV/bin/maturin" develop) # Per-run breadcrumb for the in-test guard. nextest reads $NEXTEST_ENV diff --git a/baml_language/sdk_tests/crates/python_pydantic2/type_shapes/customizable/roundtrip_tests/test_media.py b/baml_language/sdk_tests/crates/python_pydantic2/type_shapes/customizable/roundtrip_tests/test_media.py index 0f1ec4ed9de..d7062e88ea3 100644 --- a/baml_language/sdk_tests/crates/python_pydantic2/type_shapes/customizable/roundtrip_tests/test_media.py +++ b/baml_language/sdk_tests/crates/python_pydantic2/type_shapes/customizable/roundtrip_tests/test_media.py @@ -7,8 +7,8 @@ back into a `round_trip_*` function. Both directions work since 35c: the media PyO3 types are declared -`#[pyclass(module = "baml_core.baml_py")]`, so `type(value).__module__` -matches the typemap reverse-map seed `("baml_core.baml_py", "BamlImage")` +`#[pyclass(module = "baml_bridge.baml_py")]`, so `type(value).__module__` +matches the typemap reverse-map seed `("baml_bridge.baml_py", "BamlImage")` and `py_type_to_baml_type` resolves the engine FQN on encode. (Before that fix PyO3 reported `__module__ == "builtins"`, the seed missed, and re-encode failed with `Unknown class ``— 35b "Bug B".) diff --git a/baml_language/sdk_tests/crates/typescript_node/function_calls/customizable/cancellation.test.ts b/baml_language/sdk_tests/crates/typescript_node/function_calls/customizable/cancellation.test.ts index 4862ae43f6f..b15ed0244f6 100644 --- a/baml_language/sdk_tests/crates/typescript_node/function_calls/customizable/cancellation.test.ts +++ b/baml_language/sdk_tests/crates/typescript_node/function_calls/customizable/cancellation.test.ts @@ -5,7 +5,7 @@ import { callFunction, callFunctionSync, getRuntime, -} from "@boundaryml/baml-core-node"; +} from "@boundaryml/baml-bridge"; import { describe, expect, it } from "vitest"; const SLEEP_FQN = "user.throws_test.SleepMs"; diff --git a/baml_language/sdk_tests/crates/typescript_node/function_calls/customizable/union_throws.test.ts b/baml_language/sdk_tests/crates/typescript_node/function_calls/customizable/union_throws.test.ts index e030f50d18a..2011db5e2fb 100644 --- a/baml_language/sdk_tests/crates/typescript_node/function_calls/customizable/union_throws.test.ts +++ b/baml_language/sdk_tests/crates/typescript_node/function_calls/customizable/union_throws.test.ts @@ -6,7 +6,7 @@ // for union throws while `.value` still decoded fine. import "./baml_sdk/index.js"; import { raises_test } from "./baml_sdk/index.js"; -import { BamlError } from "@boundaryml/baml-core-node"; +import { BamlError } from "@boundaryml/baml-bridge"; import { describe, expect, it } from "vitest"; describe("function_calls — union throws className", () => { diff --git a/baml_language/sdk_tests/crates/typescript_node/setup.sh b/baml_language/sdk_tests/crates/typescript_node/setup.sh index 1afb3efc95b..5b658122a37 100755 --- a/baml_language/sdk_tests/crates/typescript_node/setup.sh +++ b/baml_language/sdk_tests/crates/typescript_node/setup.sh @@ -51,7 +51,7 @@ echo "==> pnpm build:debug in sdks/nodejs/bridge_nodejs" # doesn't walk up to the repo-root workspace and skip the install. # The per-fixture `package.json` `file:`-points at bridge_nodejs, so # the install resolves the dev toolchain (vitest, typescript) -# plus the `@boundaryml/baml-core-node` runtime dep against the addon we +# plus the `@boundaryml/baml-bridge` runtime dep against the addon we # just built. `--force` is load-bearing: pnpm otherwise treats the fixture # lockfile as current and may keep a stale packed copy of the local `file:` # dependency when bridge_nodejs build output changes. diff --git a/baml_language/sdk_tests/harness_setup/src/python_pydantic2.rs b/baml_language/sdk_tests/harness_setup/src/python_pydantic2.rs index cd3c7a448f0..321a4555b12 100644 --- a/baml_language/sdk_tests/harness_setup/src/python_pydantic2.rs +++ b/baml_language/sdk_tests/harness_setup/src/python_pydantic2.rs @@ -16,7 +16,7 @@ //! manually after `cargo test --no-run` for plain `cargo test`). This //! mirrors the typescript_node target's `pnpm install` placement, //! keeps codegen deps the only thing build.rs pulls in, and — most -//! importantly — lets setup.sh pass `--reinstall-package baml_core` +//! importantly — lets setup.sh pass `--reinstall-package baml_bridge` //! so the maturin-built `.so` is rebuilt on incremental Rust edits //! (which a plain `uv sync` skips, leaving a stale `.so`). //! @@ -39,7 +39,7 @@ use crate::{ }; /// uv-friendly pyproject template. Each fixture's pyproject gets a -/// unique `name` substituted in for `__PYPROJECT_NAME__`. `baml_core` +/// unique `name` substituted in for `__PYPROJECT_NAME__`. `baml_bridge` /// is wired to the local `sdks/python/` source via /// `[tool.uv.sources]` — the relative path is 5 ancestors up from /// `crates/python_pydantic2//generated/pyproject.toml`: diff --git a/baml_language/sdk_tests/harness_setup/src/templates/package.json b/baml_language/sdk_tests/harness_setup/src/templates/package.json index 62a5c8d2abd..fb4d8c2f54a 100644 --- a/baml_language/sdk_tests/harness_setup/src/templates/package.json +++ b/baml_language/sdk_tests/harness_setup/src/templates/package.json @@ -7,7 +7,7 @@ "test": "vitest run" }, "dependencies": { - "@boundaryml/baml-core-node": "file:../../../../../sdks/nodejs/bridge_nodejs" + "@boundaryml/baml-bridge": "file:../../../../../sdks/nodejs/bridge_nodejs" }, "devDependencies": { "@types/node": "^20.0.0", diff --git a/baml_language/sdk_tests/harness_setup/src/templates/pyproject.toml b/baml_language/sdk_tests/harness_setup/src/templates/pyproject.toml index c0607139d7e..8060ef96d4e 100644 --- a/baml_language/sdk_tests/harness_setup/src/templates/pyproject.toml +++ b/baml_language/sdk_tests/harness_setup/src/templates/pyproject.toml @@ -3,7 +3,7 @@ name = "__PYPROJECT_NAME__" version = "0.1.0" requires-python = ">=3.10" dependencies = [ - "baml_core", + "baml_bridge", "pydantic>=2", # `UNSET` is a `typing_extensions.Sentinel` (PEP 661); recognizing a # sentinel in a type expression needs pyright >= 1.1.410. @@ -21,7 +21,7 @@ dev = [] package = false [tool.uv.sources] -baml_core = { path = "../../../../../sdks/python", editable = true } +baml_bridge = { path = "../../../../../sdks/python", editable = true } [tool.pytest.ini_options] testpaths = ["."] diff --git a/baml_language/sdk_tests/harness_setup/src/typescript_node.rs b/baml_language/sdk_tests/harness_setup/src/typescript_node.rs index 359c6ed074a..91bf46b8e62 100644 --- a/baml_language/sdk_tests/harness_setup/src/typescript_node.rs +++ b/baml_language/sdk_tests/harness_setup/src/typescript_node.rs @@ -51,7 +51,7 @@ use crate::{ /// Per-fixture package.json. `__PACKAGE_NAME__` is substituted per /// fixture. The dev toolchain (vitest + typescript + types) -/// plus the BAML runtime dep on `@boundaryml/baml-core-node` (which +/// plus the BAML runtime dep on `@boundaryml/baml-bridge` (which /// `file:`-points at the bridge_nodejs source tree five levels up: /// `crates/typescript_node//generated/` → /// `crates/typescript_node//` → `crates/typescript_node/` → diff --git a/baml_language/sdks/go/bridge_go/build.sh b/baml_language/sdks/go/bridge_go/build.sh index 6fd54c7297b..1aaff397229 100755 --- a/baml_language/sdks/go/bridge_go/build.sh +++ b/baml_language/sdks/go/bridge_go/build.sh @@ -23,9 +23,9 @@ protoc \ --proto_path="${PROTO_DIR}" \ --go_out="${OUT_DIR}" \ --go_opt=paths=source_relative \ - "${PROTO_DIR}/baml_core/cffi/v1/baml_type.proto" \ - "${PROTO_DIR}/baml_core/cffi/v1/baml_handle.proto" \ - "${PROTO_DIR}/baml_core/cffi/v1/baml_inbound.proto" \ - "${PROTO_DIR}/baml_core/cffi/v1/baml_outbound.proto" + "${PROTO_DIR}/baml_bridge/cffi/v1/baml_type.proto" \ + "${PROTO_DIR}/baml_bridge/cffi/v1/baml_handle.proto" \ + "${PROTO_DIR}/baml_bridge/cffi/v1/baml_inbound.proto" \ + "${PROTO_DIR}/baml_bridge/cffi/v1/baml_outbound.proto" -echo "Generated Go proto files in ${OUT_DIR}/baml_core/cffi/v1/" +echo "Generated Go proto files in ${OUT_DIR}/baml_bridge/cffi/v1/" diff --git a/baml_language/sdks/go/bridge_go/cffi/proto/baml_core/cffi/v1/baml_handle.pb.go b/baml_language/sdks/go/bridge_go/cffi/proto/baml_bridge/cffi/v1/baml_handle.pb.go similarity index 53% rename from baml_language/sdks/go/bridge_go/cffi/proto/baml_core/cffi/v1/baml_handle.pb.go rename to baml_language/sdks/go/bridge_go/cffi/proto/baml_bridge/cffi/v1/baml_handle.pb.go index 093c76c19ea..951d3220ddf 100644 --- a/baml_language/sdks/go/bridge_go/cffi/proto/baml_core/cffi/v1/baml_handle.pb.go +++ b/baml_language/sdks/go/bridge_go/cffi/proto/baml_bridge/cffi/v1/baml_handle.pb.go @@ -5,7 +5,7 @@ // versions: // protoc-gen-go v1.34.1 // protoc v5.27.1 -// source: baml_core/cffi/v1/baml_handle.proto +// source: baml_bridge/cffi/v1/baml_handle.proto package cffi @@ -121,11 +121,11 @@ func (x BamlHandleType) String() string { } func (BamlHandleType) Descriptor() protoreflect.EnumDescriptor { - return file_baml_core_cffi_v1_baml_handle_proto_enumTypes[0].Descriptor() + return file_baml_bridge_cffi_v1_baml_handle_proto_enumTypes[0].Descriptor() } func (BamlHandleType) Type() protoreflect.EnumType { - return &file_baml_core_cffi_v1_baml_handle_proto_enumTypes[0] + return &file_baml_bridge_cffi_v1_baml_handle_proto_enumTypes[0] } func (x BamlHandleType) Number() protoreflect.EnumNumber { @@ -134,7 +134,7 @@ func (x BamlHandleType) Number() protoreflect.EnumNumber { // Deprecated: Use BamlHandleType.Descriptor instead. func (BamlHandleType) EnumDescriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_handle_proto_rawDescGZIP(), []int{0} + return file_baml_bridge_cffi_v1_baml_handle_proto_rawDescGZIP(), []int{0} } type BamlHandle struct { @@ -143,13 +143,13 @@ type BamlHandle struct { unknownFields protoimpl.UnknownFields Key uint64 `protobuf:"varint,1,opt,name=key,proto3" json:"key,omitempty"` - HandleType BamlHandleType `protobuf:"varint,2,opt,name=handle_type,json=handleType,proto3,enum=baml_core.cffi.v1.BamlHandleType" json:"handle_type,omitempty"` + HandleType BamlHandleType `protobuf:"varint,2,opt,name=handle_type,json=handleType,proto3,enum=baml_bridge.cffi.v1.BamlHandleType" json:"handle_type,omitempty"` } func (x *BamlHandle) Reset() { *x = BamlHandle{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_handle_proto_msgTypes[0] + mi := &file_baml_bridge_cffi_v1_baml_handle_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -162,7 +162,7 @@ func (x *BamlHandle) String() string { func (*BamlHandle) ProtoMessage() {} func (x *BamlHandle) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_handle_proto_msgTypes[0] + mi := &file_baml_bridge_cffi_v1_baml_handle_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -175,7 +175,7 @@ func (x *BamlHandle) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlHandle.ProtoReflect.Descriptor instead. func (*BamlHandle) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_handle_proto_rawDescGZIP(), []int{0} + return file_baml_bridge_cffi_v1_baml_handle_proto_rawDescGZIP(), []int{0} } func (x *BamlHandle) GetKey() uint64 { @@ -192,64 +192,65 @@ func (x *BamlHandle) GetHandleType() BamlHandleType { return BamlHandleType_HANDLE_UNSPECIFIED } -var File_baml_core_cffi_v1_baml_handle_proto protoreflect.FileDescriptor +var File_baml_bridge_cffi_v1_baml_handle_proto protoreflect.FileDescriptor -var file_baml_core_cffi_v1_baml_handle_proto_rawDesc = []byte{ - 0x0a, 0x23, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x66, 0x66, 0x69, - 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, - 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x22, 0x62, 0x0a, 0x0a, 0x42, 0x61, 0x6d, 0x6c, - 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x42, 0x0a, 0x0b, 0x68, 0x61, 0x6e, 0x64, - 0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, - 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, - 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, - 0x52, 0x0a, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x2a, 0xdf, 0x02, 0x0a, - 0x0e, 0x42, 0x61, 0x6d, 0x6c, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, - 0x16, 0x0a, 0x12, 0x48, 0x41, 0x4e, 0x44, 0x4c, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, - 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x55, 0x4e, 0x54, 0x41, 0x47, - 0x47, 0x45, 0x44, 0x5f, 0x52, 0x55, 0x53, 0x54, 0x5f, 0x44, 0x41, 0x54, 0x41, 0x10, 0x01, 0x12, - 0x15, 0x0a, 0x11, 0x55, 0x4e, 0x54, 0x41, 0x47, 0x47, 0x45, 0x44, 0x5f, 0x42, 0x45, 0x58, 0x5f, - 0x48, 0x45, 0x41, 0x50, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x46, 0x55, 0x4e, 0x43, 0x54, 0x49, - 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x46, 0x10, 0x05, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x44, 0x54, 0x5f, - 0x4d, 0x45, 0x44, 0x49, 0x41, 0x5f, 0x49, 0x4d, 0x41, 0x47, 0x45, 0x10, 0x06, 0x12, 0x13, 0x0a, - 0x0f, 0x41, 0x44, 0x54, 0x5f, 0x4d, 0x45, 0x44, 0x49, 0x41, 0x5f, 0x41, 0x55, 0x44, 0x49, 0x4f, - 0x10, 0x07, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x44, 0x54, 0x5f, 0x4d, 0x45, 0x44, 0x49, 0x41, 0x5f, - 0x56, 0x49, 0x44, 0x45, 0x4f, 0x10, 0x08, 0x12, 0x11, 0x0a, 0x0d, 0x41, 0x44, 0x54, 0x5f, 0x4d, - 0x45, 0x44, 0x49, 0x41, 0x5f, 0x50, 0x44, 0x46, 0x10, 0x09, 0x12, 0x15, 0x0a, 0x11, 0x41, 0x44, - 0x54, 0x5f, 0x4d, 0x45, 0x44, 0x49, 0x41, 0x5f, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x49, 0x43, 0x10, - 0x0a, 0x12, 0x12, 0x0a, 0x0e, 0x41, 0x44, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4d, 0x50, 0x54, 0x5f, - 0x41, 0x53, 0x54, 0x10, 0x0b, 0x12, 0x11, 0x0a, 0x0d, 0x41, 0x44, 0x54, 0x5f, 0x43, 0x4f, 0x4c, - 0x4c, 0x45, 0x43, 0x54, 0x4f, 0x52, 0x10, 0x0c, 0x12, 0x0c, 0x0a, 0x08, 0x41, 0x44, 0x54, 0x5f, - 0x54, 0x59, 0x50, 0x45, 0x10, 0x0d, 0x12, 0x1a, 0x0a, 0x16, 0x41, 0x44, 0x54, 0x5f, 0x54, 0x41, - 0x47, 0x47, 0x45, 0x44, 0x5f, 0x48, 0x45, 0x41, 0x50, 0x5f, 0x48, 0x41, 0x4e, 0x44, 0x4c, 0x45, - 0x10, 0x0e, 0x12, 0x17, 0x0a, 0x13, 0x48, 0x4f, 0x53, 0x54, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, - 0x5f, 0x43, 0x41, 0x4c, 0x4c, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x0f, 0x12, 0x15, 0x0a, 0x11, 0x48, - 0x4f, 0x53, 0x54, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x4f, 0x50, 0x41, 0x51, 0x55, 0x45, - 0x10, 0x10, 0x22, 0x04, 0x08, 0x03, 0x10, 0x03, 0x22, 0x04, 0x08, 0x04, 0x10, 0x04, 0x42, 0x08, - 0x5a, 0x06, 0x2e, 0x2f, 0x63, 0x66, 0x66, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +var file_baml_bridge_cffi_v1_baml_handle_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2f, 0x63, 0x66, + 0x66, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x68, 0x61, 0x6e, 0x64, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, + 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x22, 0x64, 0x0a, 0x0a, + 0x42, 0x61, 0x6d, 0x6c, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x44, 0x0a, 0x0b, + 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x23, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, + 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x48, 0x61, 0x6e, 0x64, + 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x54, 0x79, + 0x70, 0x65, 0x2a, 0xdf, 0x02, 0x0a, 0x0e, 0x42, 0x61, 0x6d, 0x6c, 0x48, 0x61, 0x6e, 0x64, 0x6c, + 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x12, 0x48, 0x41, 0x4e, 0x44, 0x4c, 0x45, 0x5f, + 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x16, 0x0a, + 0x12, 0x55, 0x4e, 0x54, 0x41, 0x47, 0x47, 0x45, 0x44, 0x5f, 0x52, 0x55, 0x53, 0x54, 0x5f, 0x44, + 0x41, 0x54, 0x41, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x55, 0x4e, 0x54, 0x41, 0x47, 0x47, 0x45, + 0x44, 0x5f, 0x42, 0x45, 0x58, 0x5f, 0x48, 0x45, 0x41, 0x50, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, + 0x46, 0x55, 0x4e, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x46, 0x10, 0x05, 0x12, 0x13, + 0x0a, 0x0f, 0x41, 0x44, 0x54, 0x5f, 0x4d, 0x45, 0x44, 0x49, 0x41, 0x5f, 0x49, 0x4d, 0x41, 0x47, + 0x45, 0x10, 0x06, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x44, 0x54, 0x5f, 0x4d, 0x45, 0x44, 0x49, 0x41, + 0x5f, 0x41, 0x55, 0x44, 0x49, 0x4f, 0x10, 0x07, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x44, 0x54, 0x5f, + 0x4d, 0x45, 0x44, 0x49, 0x41, 0x5f, 0x56, 0x49, 0x44, 0x45, 0x4f, 0x10, 0x08, 0x12, 0x11, 0x0a, + 0x0d, 0x41, 0x44, 0x54, 0x5f, 0x4d, 0x45, 0x44, 0x49, 0x41, 0x5f, 0x50, 0x44, 0x46, 0x10, 0x09, + 0x12, 0x15, 0x0a, 0x11, 0x41, 0x44, 0x54, 0x5f, 0x4d, 0x45, 0x44, 0x49, 0x41, 0x5f, 0x47, 0x45, + 0x4e, 0x45, 0x52, 0x49, 0x43, 0x10, 0x0a, 0x12, 0x12, 0x0a, 0x0e, 0x41, 0x44, 0x54, 0x5f, 0x50, + 0x52, 0x4f, 0x4d, 0x50, 0x54, 0x5f, 0x41, 0x53, 0x54, 0x10, 0x0b, 0x12, 0x11, 0x0a, 0x0d, 0x41, + 0x44, 0x54, 0x5f, 0x43, 0x4f, 0x4c, 0x4c, 0x45, 0x43, 0x54, 0x4f, 0x52, 0x10, 0x0c, 0x12, 0x0c, + 0x0a, 0x08, 0x41, 0x44, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x10, 0x0d, 0x12, 0x1a, 0x0a, 0x16, + 0x41, 0x44, 0x54, 0x5f, 0x54, 0x41, 0x47, 0x47, 0x45, 0x44, 0x5f, 0x48, 0x45, 0x41, 0x50, 0x5f, + 0x48, 0x41, 0x4e, 0x44, 0x4c, 0x45, 0x10, 0x0e, 0x12, 0x17, 0x0a, 0x13, 0x48, 0x4f, 0x53, 0x54, + 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x43, 0x41, 0x4c, 0x4c, 0x41, 0x42, 0x4c, 0x45, 0x10, + 0x0f, 0x12, 0x15, 0x0a, 0x11, 0x48, 0x4f, 0x53, 0x54, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, + 0x4f, 0x50, 0x41, 0x51, 0x55, 0x45, 0x10, 0x10, 0x22, 0x04, 0x08, 0x03, 0x10, 0x03, 0x22, 0x04, + 0x08, 0x04, 0x10, 0x04, 0x42, 0x08, 0x5a, 0x06, 0x2e, 0x2f, 0x63, 0x66, 0x66, 0x69, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_baml_core_cffi_v1_baml_handle_proto_rawDescOnce sync.Once - file_baml_core_cffi_v1_baml_handle_proto_rawDescData = file_baml_core_cffi_v1_baml_handle_proto_rawDesc + file_baml_bridge_cffi_v1_baml_handle_proto_rawDescOnce sync.Once + file_baml_bridge_cffi_v1_baml_handle_proto_rawDescData = file_baml_bridge_cffi_v1_baml_handle_proto_rawDesc ) -func file_baml_core_cffi_v1_baml_handle_proto_rawDescGZIP() []byte { - file_baml_core_cffi_v1_baml_handle_proto_rawDescOnce.Do(func() { - file_baml_core_cffi_v1_baml_handle_proto_rawDescData = protoimpl.X.CompressGZIP(file_baml_core_cffi_v1_baml_handle_proto_rawDescData) +func file_baml_bridge_cffi_v1_baml_handle_proto_rawDescGZIP() []byte { + file_baml_bridge_cffi_v1_baml_handle_proto_rawDescOnce.Do(func() { + file_baml_bridge_cffi_v1_baml_handle_proto_rawDescData = protoimpl.X.CompressGZIP(file_baml_bridge_cffi_v1_baml_handle_proto_rawDescData) }) - return file_baml_core_cffi_v1_baml_handle_proto_rawDescData + return file_baml_bridge_cffi_v1_baml_handle_proto_rawDescData } -var file_baml_core_cffi_v1_baml_handle_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_baml_core_cffi_v1_baml_handle_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_baml_core_cffi_v1_baml_handle_proto_goTypes = []interface{}{ - (BamlHandleType)(0), // 0: baml_core.cffi.v1.BamlHandleType - (*BamlHandle)(nil), // 1: baml_core.cffi.v1.BamlHandle +var file_baml_bridge_cffi_v1_baml_handle_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_baml_bridge_cffi_v1_baml_handle_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_baml_bridge_cffi_v1_baml_handle_proto_goTypes = []interface{}{ + (BamlHandleType)(0), // 0: baml_bridge.cffi.v1.BamlHandleType + (*BamlHandle)(nil), // 1: baml_bridge.cffi.v1.BamlHandle } -var file_baml_core_cffi_v1_baml_handle_proto_depIdxs = []int32{ - 0, // 0: baml_core.cffi.v1.BamlHandle.handle_type:type_name -> baml_core.cffi.v1.BamlHandleType +var file_baml_bridge_cffi_v1_baml_handle_proto_depIdxs = []int32{ + 0, // 0: baml_bridge.cffi.v1.BamlHandle.handle_type:type_name -> baml_bridge.cffi.v1.BamlHandleType 1, // [1:1] is the sub-list for method output_type 1, // [1:1] is the sub-list for method input_type 1, // [1:1] is the sub-list for extension type_name @@ -257,13 +258,13 @@ var file_baml_core_cffi_v1_baml_handle_proto_depIdxs = []int32{ 0, // [0:1] is the sub-list for field type_name } -func init() { file_baml_core_cffi_v1_baml_handle_proto_init() } -func file_baml_core_cffi_v1_baml_handle_proto_init() { - if File_baml_core_cffi_v1_baml_handle_proto != nil { +func init() { file_baml_bridge_cffi_v1_baml_handle_proto_init() } +func file_baml_bridge_cffi_v1_baml_handle_proto_init() { + if File_baml_bridge_cffi_v1_baml_handle_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_baml_core_cffi_v1_baml_handle_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_handle_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlHandle); i { case 0: return &v.state @@ -280,19 +281,19 @@ func file_baml_core_cffi_v1_baml_handle_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_baml_core_cffi_v1_baml_handle_proto_rawDesc, + RawDescriptor: file_baml_bridge_cffi_v1_baml_handle_proto_rawDesc, NumEnums: 1, NumMessages: 1, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_baml_core_cffi_v1_baml_handle_proto_goTypes, - DependencyIndexes: file_baml_core_cffi_v1_baml_handle_proto_depIdxs, - EnumInfos: file_baml_core_cffi_v1_baml_handle_proto_enumTypes, - MessageInfos: file_baml_core_cffi_v1_baml_handle_proto_msgTypes, + GoTypes: file_baml_bridge_cffi_v1_baml_handle_proto_goTypes, + DependencyIndexes: file_baml_bridge_cffi_v1_baml_handle_proto_depIdxs, + EnumInfos: file_baml_bridge_cffi_v1_baml_handle_proto_enumTypes, + MessageInfos: file_baml_bridge_cffi_v1_baml_handle_proto_msgTypes, }.Build() - File_baml_core_cffi_v1_baml_handle_proto = out.File - file_baml_core_cffi_v1_baml_handle_proto_rawDesc = nil - file_baml_core_cffi_v1_baml_handle_proto_goTypes = nil - file_baml_core_cffi_v1_baml_handle_proto_depIdxs = nil + File_baml_bridge_cffi_v1_baml_handle_proto = out.File + file_baml_bridge_cffi_v1_baml_handle_proto_rawDesc = nil + file_baml_bridge_cffi_v1_baml_handle_proto_goTypes = nil + file_baml_bridge_cffi_v1_baml_handle_proto_depIdxs = nil } diff --git a/baml_language/sdks/go/bridge_go/cffi/proto/baml_core/cffi/v1/baml_inbound.pb.go b/baml_language/sdks/go/bridge_go/cffi/proto/baml_bridge/cffi/v1/baml_inbound.pb.go similarity index 58% rename from baml_language/sdks/go/bridge_go/cffi/proto/baml_core/cffi/v1/baml_inbound.pb.go rename to baml_language/sdks/go/bridge_go/cffi/proto/baml_bridge/cffi/v1/baml_inbound.pb.go index 6e780b409c2..cf840cdd6a7 100644 --- a/baml_language/sdks/go/bridge_go/cffi/proto/baml_core/cffi/v1/baml_inbound.pb.go +++ b/baml_language/sdks/go/bridge_go/cffi/proto/baml_bridge/cffi/v1/baml_inbound.pb.go @@ -5,7 +5,7 @@ // versions: // protoc-gen-go v1.34.1 // protoc v5.27.1 -// source: baml_core/cffi/v1/baml_inbound.proto +// source: baml_bridge/cffi/v1/baml_inbound.proto package cffi @@ -51,7 +51,7 @@ type InboundValue struct { func (x *InboundValue) Reset() { *x = InboundValue{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_inbound_proto_msgTypes[0] + mi := &file_baml_bridge_cffi_v1_baml_inbound_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -64,7 +64,7 @@ func (x *InboundValue) String() string { func (*InboundValue) ProtoMessage() {} func (x *InboundValue) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_inbound_proto_msgTypes[0] + mi := &file_baml_bridge_cffi_v1_baml_inbound_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -77,7 +77,7 @@ func (x *InboundValue) ProtoReflect() protoreflect.Message { // Deprecated: Use InboundValue.ProtoReflect.Descriptor instead. func (*InboundValue) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_inbound_proto_rawDescGZIP(), []int{0} + return file_baml_bridge_cffi_v1_baml_inbound_proto_rawDescGZIP(), []int{0} } func (m *InboundValue) GetValue() isInboundValue_Value { @@ -261,7 +261,7 @@ type InboundListValue struct { func (x *InboundListValue) Reset() { *x = InboundListValue{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_inbound_proto_msgTypes[1] + mi := &file_baml_bridge_cffi_v1_baml_inbound_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -274,7 +274,7 @@ func (x *InboundListValue) String() string { func (*InboundListValue) ProtoMessage() {} func (x *InboundListValue) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_inbound_proto_msgTypes[1] + mi := &file_baml_bridge_cffi_v1_baml_inbound_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -287,7 +287,7 @@ func (x *InboundListValue) ProtoReflect() protoreflect.Message { // Deprecated: Use InboundListValue.ProtoReflect.Descriptor instead. func (*InboundListValue) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_inbound_proto_rawDescGZIP(), []int{1} + return file_baml_bridge_cffi_v1_baml_inbound_proto_rawDescGZIP(), []int{1} } func (x *InboundListValue) GetValues() []*InboundValue { @@ -308,7 +308,7 @@ type InboundMapValue struct { func (x *InboundMapValue) Reset() { *x = InboundMapValue{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_inbound_proto_msgTypes[2] + mi := &file_baml_bridge_cffi_v1_baml_inbound_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -321,7 +321,7 @@ func (x *InboundMapValue) String() string { func (*InboundMapValue) ProtoMessage() {} func (x *InboundMapValue) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_inbound_proto_msgTypes[2] + mi := &file_baml_bridge_cffi_v1_baml_inbound_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -334,7 +334,7 @@ func (x *InboundMapValue) ProtoReflect() protoreflect.Message { // Deprecated: Use InboundMapValue.ProtoReflect.Descriptor instead. func (*InboundMapValue) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_inbound_proto_rawDescGZIP(), []int{2} + return file_baml_bridge_cffi_v1_baml_inbound_proto_rawDescGZIP(), []int{2} } func (x *InboundMapValue) GetEntries() []*InboundMapEntry { @@ -362,7 +362,7 @@ type InboundMapEntry struct { func (x *InboundMapEntry) Reset() { *x = InboundMapEntry{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_inbound_proto_msgTypes[3] + mi := &file_baml_bridge_cffi_v1_baml_inbound_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -375,7 +375,7 @@ func (x *InboundMapEntry) String() string { func (*InboundMapEntry) ProtoMessage() {} func (x *InboundMapEntry) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_inbound_proto_msgTypes[3] + mi := &file_baml_bridge_cffi_v1_baml_inbound_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -388,7 +388,7 @@ func (x *InboundMapEntry) ProtoReflect() protoreflect.Message { // Deprecated: Use InboundMapEntry.ProtoReflect.Descriptor instead. func (*InboundMapEntry) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_inbound_proto_rawDescGZIP(), []int{3} + return file_baml_bridge_cffi_v1_baml_inbound_proto_rawDescGZIP(), []int{3} } func (m *InboundMapEntry) GetKey() isInboundMapEntry_Key { @@ -476,7 +476,7 @@ type InboundClassValue struct { func (x *InboundClassValue) Reset() { *x = InboundClassValue{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_inbound_proto_msgTypes[4] + mi := &file_baml_bridge_cffi_v1_baml_inbound_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -489,7 +489,7 @@ func (x *InboundClassValue) String() string { func (*InboundClassValue) ProtoMessage() {} func (x *InboundClassValue) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_inbound_proto_msgTypes[4] + mi := &file_baml_bridge_cffi_v1_baml_inbound_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -502,7 +502,7 @@ func (x *InboundClassValue) ProtoReflect() protoreflect.Message { // Deprecated: Use InboundClassValue.ProtoReflect.Descriptor instead. func (*InboundClassValue) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_inbound_proto_rawDescGZIP(), []int{4} + return file_baml_bridge_cffi_v1_baml_inbound_proto_rawDescGZIP(), []int{4} } func (x *InboundClassValue) GetFields() []*InboundMapEntry { @@ -531,7 +531,7 @@ type InboundEnumValue struct { func (x *InboundEnumValue) Reset() { *x = InboundEnumValue{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_inbound_proto_msgTypes[5] + mi := &file_baml_bridge_cffi_v1_baml_inbound_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -544,7 +544,7 @@ func (x *InboundEnumValue) String() string { func (*InboundEnumValue) ProtoMessage() {} func (x *InboundEnumValue) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_inbound_proto_msgTypes[5] + mi := &file_baml_bridge_cffi_v1_baml_inbound_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -557,7 +557,7 @@ func (x *InboundEnumValue) ProtoReflect() protoreflect.Message { // Deprecated: Use InboundEnumValue.ProtoReflect.Descriptor instead. func (*InboundEnumValue) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_inbound_proto_rawDescGZIP(), []int{5} + return file_baml_bridge_cffi_v1_baml_inbound_proto_rawDescGZIP(), []int{5} } func (x *InboundEnumValue) GetName() string { @@ -588,7 +588,7 @@ type BamlTyArg struct { func (x *BamlTyArg) Reset() { *x = BamlTyArg{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_inbound_proto_msgTypes[6] + mi := &file_baml_bridge_cffi_v1_baml_inbound_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -601,7 +601,7 @@ func (x *BamlTyArg) String() string { func (*BamlTyArg) ProtoMessage() {} func (x *BamlTyArg) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_inbound_proto_msgTypes[6] + mi := &file_baml_bridge_cffi_v1_baml_inbound_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -614,7 +614,7 @@ func (x *BamlTyArg) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlTyArg.ProtoReflect.Descriptor instead. func (*BamlTyArg) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_inbound_proto_rawDescGZIP(), []int{6} + return file_baml_bridge_cffi_v1_baml_inbound_proto_rawDescGZIP(), []int{6} } func (x *BamlTyArg) GetTypeVar() string { @@ -652,7 +652,7 @@ type CallFunctionArgs struct { func (x *CallFunctionArgs) Reset() { *x = CallFunctionArgs{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_inbound_proto_msgTypes[7] + mi := &file_baml_bridge_cffi_v1_baml_inbound_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -665,7 +665,7 @@ func (x *CallFunctionArgs) String() string { func (*CallFunctionArgs) ProtoMessage() {} func (x *CallFunctionArgs) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_inbound_proto_msgTypes[7] + mi := &file_baml_bridge_cffi_v1_baml_inbound_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -678,7 +678,7 @@ func (x *CallFunctionArgs) ProtoReflect() protoreflect.Message { // Deprecated: Use CallFunctionArgs.ProtoReflect.Descriptor instead. func (*CallFunctionArgs) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_inbound_proto_rawDescGZIP(), []int{7} + return file_baml_bridge_cffi_v1_baml_inbound_proto_rawDescGZIP(), []int{7} } func (x *CallFunctionArgs) GetKwargs() []*InboundMapEntry { @@ -719,7 +719,7 @@ type CallAck struct { func (x *CallAck) Reset() { *x = CallAck{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_inbound_proto_msgTypes[8] + mi := &file_baml_bridge_cffi_v1_baml_inbound_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -732,7 +732,7 @@ func (x *CallAck) String() string { func (*CallAck) ProtoMessage() {} func (x *CallAck) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_inbound_proto_msgTypes[8] + mi := &file_baml_bridge_cffi_v1_baml_inbound_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -745,7 +745,7 @@ func (x *CallAck) ProtoReflect() protoreflect.Message { // Deprecated: Use CallAck.ProtoReflect.Descriptor instead. func (*CallAck) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_inbound_proto_rawDescGZIP(), []int{8} + return file_baml_bridge_cffi_v1_baml_inbound_proto_rawDescGZIP(), []int{8} } func (m *CallAck) GetResponse() isCallAck_Response { @@ -772,161 +772,163 @@ type CallAck_Error struct { func (*CallAck_Error) isCallAck_Response() {} -var File_baml_core_cffi_v1_baml_inbound_proto protoreflect.FileDescriptor - -var file_baml_core_cffi_v1_baml_inbound_proto_rawDesc = []byte{ - 0x0a, 0x24, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x66, 0x66, 0x69, - 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, - 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x1a, 0x23, 0x62, 0x61, 0x6d, 0x6c, 0x5f, - 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x66, 0x66, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, 0x6d, - 0x6c, 0x5f, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, - 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x66, 0x66, 0x69, 0x2f, 0x76, - 0x31, 0x2f, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x22, 0x80, 0x05, 0x0a, 0x0c, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x56, 0x61, 0x6c, - 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, - 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1d, 0x0a, 0x09, 0x69, 0x6e, 0x74, 0x5f, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x08, 0x69, 0x6e, - 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x21, 0x0a, 0x0b, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x5f, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x48, 0x00, 0x52, 0x0a, 0x66, - 0x6c, 0x6f, 0x61, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0a, 0x62, 0x6f, 0x6f, - 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, - 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x44, 0x0a, 0x0a, 0x6c, 0x69, - 0x73, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, - 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, - 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x09, 0x6c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x12, 0x41, 0x0a, 0x09, 0x6d, 0x61, 0x70, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x07, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, - 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x4d, - 0x61, 0x70, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x08, 0x6d, 0x61, 0x70, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x12, 0x47, 0x0a, 0x0b, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x5f, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, - 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x62, - 0x6f, 0x75, 0x6e, 0x64, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, - 0x52, 0x0a, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x44, 0x0a, 0x0a, - 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x23, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, +var File_baml_bridge_cffi_v1_baml_inbound_proto protoreflect.FileDescriptor + +var file_baml_bridge_cffi_v1_baml_inbound_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2f, 0x63, 0x66, + 0x66, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x69, 0x6e, 0x62, 0x6f, 0x75, + 0x6e, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, + 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x1a, 0x25, 0x62, + 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2f, 0x63, 0x66, 0x66, 0x69, 0x2f, + 0x76, 0x31, 0x2f, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, + 0x65, 0x2f, 0x63, 0x66, 0x66, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8c, 0x05, 0x0a, 0x0c, 0x49, 0x6e, + 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x73, 0x74, + 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x48, 0x00, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, + 0x1d, 0x0a, 0x09, 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x03, 0x48, 0x00, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x21, + 0x0a, 0x0b, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x01, 0x48, 0x00, 0x52, 0x0a, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x12, 0x1f, 0x0a, 0x0a, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x12, 0x46, 0x0a, 0x0a, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, + 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x62, + 0x6f, 0x75, 0x6e, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, + 0x09, 0x6c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x43, 0x0a, 0x09, 0x6d, 0x61, + 0x70, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, + 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, + 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x4d, 0x61, 0x70, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x08, 0x6d, 0x61, 0x70, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, + 0x49, 0x0a, 0x0b, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, + 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x62, 0x6f, 0x75, + 0x6e, 0x64, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x0a, + 0x63, 0x6c, 0x61, 0x73, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x46, 0x0a, 0x0a, 0x65, 0x6e, + 0x75, 0x6d, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, + 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x09, 0x65, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, - 0x75, 0x65, 0x12, 0x37, 0x0a, 0x06, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x18, 0x0a, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, - 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x48, 0x61, 0x6e, 0x64, 0x6c, - 0x65, 0x48, 0x00, 0x52, 0x06, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x2b, 0x0a, 0x10, 0x75, - 0x69, 0x6e, 0x74, 0x38, 0x61, 0x72, 0x72, 0x61, 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, - 0x0b, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x0f, 0x75, 0x69, 0x6e, 0x74, 0x38, 0x61, 0x72, - 0x72, 0x61, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x62, 0x69, 0x67, 0x69, - 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, - 0x52, 0x0b, 0x62, 0x69, 0x67, 0x69, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x36, 0x0a, - 0x08, 0x74, 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x19, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, - 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x48, 0x00, 0x52, 0x07, 0x74, 0x79, - 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x4a, 0x04, - 0x08, 0x01, 0x10, 0x02, 0x22, 0x4b, 0x0a, 0x10, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x4c, - 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x37, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, - 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x62, - 0x6f, 0x75, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x73, 0x22, 0x4f, 0x0a, 0x0f, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x4d, 0x61, 0x70, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3c, 0x0a, 0x07, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, - 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, - 0x64, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x65, 0x6e, 0x74, 0x72, 0x69, - 0x65, 0x73, 0x22, 0xea, 0x01, 0x0a, 0x0f, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x4d, 0x61, - 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x1f, 0x0a, 0x0a, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, - 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x09, 0x73, 0x74, - 0x72, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x12, 0x19, 0x0a, 0x07, 0x69, 0x6e, 0x74, 0x5f, 0x6b, - 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x06, 0x69, 0x6e, 0x74, 0x4b, - 0x65, 0x79, 0x12, 0x1b, 0x0a, 0x08, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x07, 0x62, 0x6f, 0x6f, 0x6c, 0x4b, 0x65, 0x79, 0x12, - 0x40, 0x0a, 0x08, 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x23, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, - 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x6e, 0x75, - 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x07, 0x65, 0x6e, 0x75, 0x6d, 0x4b, 0x65, - 0x79, 0x12, 0x35, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1f, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, - 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, - 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x05, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x22, - 0x90, 0x01, 0x0a, 0x11, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x43, 0x6c, 0x61, 0x73, 0x73, - 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3a, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, - 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, - 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, - 0x64, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, - 0x73, 0x12, 0x39, 0x0a, 0x08, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x5f, 0x74, 0x79, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x75, 0x65, 0x12, 0x39, 0x0a, 0x06, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x18, 0x0a, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, + 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x48, 0x61, 0x6e, + 0x64, 0x6c, 0x65, 0x48, 0x00, 0x52, 0x06, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x2b, 0x0a, + 0x10, 0x75, 0x69, 0x6e, 0x74, 0x38, 0x61, 0x72, 0x72, 0x61, 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x0f, 0x75, 0x69, 0x6e, 0x74, 0x38, + 0x61, 0x72, 0x72, 0x61, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x62, 0x69, + 0x67, 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, + 0x48, 0x00, 0x52, 0x0b, 0x62, 0x69, 0x67, 0x69, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, + 0x38, 0x0a, 0x08, 0x74, 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, + 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x48, 0x00, + 0x52, 0x07, 0x74, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x22, 0x4d, 0x0a, 0x10, 0x49, 0x6e, 0x62, 0x6f, + 0x75, 0x6e, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x39, 0x0a, 0x06, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, + 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, + 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, + 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 0x51, 0x0a, 0x0f, 0x49, 0x6e, 0x62, 0x6f, 0x75, + 0x6e, 0x64, 0x4d, 0x61, 0x70, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3e, 0x0a, 0x07, 0x65, 0x6e, + 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x62, 0x61, + 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, + 0x31, 0x2e, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x07, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x22, 0xee, 0x01, 0x0a, 0x0f, 0x49, + 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x1f, + 0x0a, 0x0a, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x48, 0x00, 0x52, 0x09, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x12, + 0x19, 0x0a, 0x07, 0x69, 0x6e, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, + 0x48, 0x00, 0x52, 0x06, 0x69, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x1b, 0x0a, 0x08, 0x62, 0x6f, + 0x6f, 0x6c, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x07, + 0x62, 0x6f, 0x6f, 0x6c, 0x4b, 0x65, 0x79, 0x12, 0x42, 0x0a, 0x08, 0x65, 0x6e, 0x75, 0x6d, 0x5f, + 0x6b, 0x65, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x62, 0x61, 0x6d, 0x6c, + 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, + 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, + 0x48, 0x00, 0x52, 0x07, 0x65, 0x6e, 0x75, 0x6d, 0x4b, 0x65, 0x79, 0x12, 0x37, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x61, 0x6d, + 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, + 0x2e, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x42, 0x05, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x94, 0x01, 0x0a, 0x11, + 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x12, 0x3c, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x24, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, + 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x4d, + 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, + 0x3b, 0x0a, 0x08, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x5f, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x20, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x52, 0x07, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x54, 0x79, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x22, 0x3c, 0x0a, 0x10, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x22, 0x60, 0x0a, 0x09, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x41, 0x72, 0x67, 0x12, 0x19, 0x0a, + 0x22, 0x62, 0x0a, 0x09, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x41, 0x72, 0x67, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x76, 0x61, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x74, 0x79, 0x70, 0x65, 0x56, 0x61, 0x72, 0x12, 0x38, 0x0a, 0x0a, 0x74, 0x79, 0x70, 0x65, - 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, - 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, - 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x52, 0x09, 0x74, 0x79, 0x70, 0x65, 0x56, 0x61, 0x6c, - 0x75, 0x65, 0x22, 0xa2, 0x01, 0x0a, 0x10, 0x43, 0x61, 0x6c, 0x6c, 0x46, 0x75, 0x6e, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x41, 0x72, 0x67, 0x73, 0x12, 0x3a, 0x0a, 0x06, 0x6b, 0x77, 0x61, 0x72, 0x67, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, - 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x62, 0x6f, - 0x75, 0x6e, 0x64, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6b, 0x77, 0x61, - 0x72, 0x67, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x61, 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x63, 0x61, 0x6c, 0x6c, 0x49, 0x64, 0x12, 0x39, 0x0a, 0x09, - 0x74, 0x79, 0x70, 0x65, 0x5f, 0x61, 0x72, 0x67, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x1c, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, - 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x41, 0x72, 0x67, 0x52, 0x08, 0x74, - 0x79, 0x70, 0x65, 0x41, 0x72, 0x67, 0x73, 0x22, 0x2d, 0x0a, 0x07, 0x43, 0x61, 0x6c, 0x6c, 0x41, - 0x63, 0x6b, 0x12, 0x16, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x48, 0x00, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x42, 0x0a, 0x0a, 0x08, 0x72, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x08, 0x5a, 0x06, 0x2e, 0x2f, 0x63, 0x66, 0x66, 0x69, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x07, 0x74, 0x79, 0x70, 0x65, 0x56, 0x61, 0x72, 0x12, 0x3a, 0x0a, 0x0a, 0x74, 0x79, 0x70, 0x65, + 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, + 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, + 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x52, 0x09, 0x74, 0x79, 0x70, 0x65, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x22, 0xa6, 0x01, 0x0a, 0x10, 0x43, 0x61, 0x6c, 0x6c, 0x46, 0x75, 0x6e, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x72, 0x67, 0x73, 0x12, 0x3c, 0x0a, 0x06, 0x6b, 0x77, 0x61, + 0x72, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x62, 0x61, 0x6d, 0x6c, + 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, + 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, + 0x06, 0x6b, 0x77, 0x61, 0x72, 0x67, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x61, 0x6c, 0x6c, 0x5f, + 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x63, 0x61, 0x6c, 0x6c, 0x49, 0x64, + 0x12, 0x3b, 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x61, 0x72, 0x67, 0x73, 0x18, 0x03, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, + 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, + 0x41, 0x72, 0x67, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x41, 0x72, 0x67, 0x73, 0x22, 0x2d, 0x0a, + 0x07, 0x43, 0x61, 0x6c, 0x6c, 0x41, 0x63, 0x6b, 0x12, 0x16, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, + 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, + 0x42, 0x0a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x08, 0x5a, 0x06, + 0x2e, 0x2f, 0x63, 0x66, 0x66, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_baml_core_cffi_v1_baml_inbound_proto_rawDescOnce sync.Once - file_baml_core_cffi_v1_baml_inbound_proto_rawDescData = file_baml_core_cffi_v1_baml_inbound_proto_rawDesc + file_baml_bridge_cffi_v1_baml_inbound_proto_rawDescOnce sync.Once + file_baml_bridge_cffi_v1_baml_inbound_proto_rawDescData = file_baml_bridge_cffi_v1_baml_inbound_proto_rawDesc ) -func file_baml_core_cffi_v1_baml_inbound_proto_rawDescGZIP() []byte { - file_baml_core_cffi_v1_baml_inbound_proto_rawDescOnce.Do(func() { - file_baml_core_cffi_v1_baml_inbound_proto_rawDescData = protoimpl.X.CompressGZIP(file_baml_core_cffi_v1_baml_inbound_proto_rawDescData) +func file_baml_bridge_cffi_v1_baml_inbound_proto_rawDescGZIP() []byte { + file_baml_bridge_cffi_v1_baml_inbound_proto_rawDescOnce.Do(func() { + file_baml_bridge_cffi_v1_baml_inbound_proto_rawDescData = protoimpl.X.CompressGZIP(file_baml_bridge_cffi_v1_baml_inbound_proto_rawDescData) }) - return file_baml_core_cffi_v1_baml_inbound_proto_rawDescData -} - -var file_baml_core_cffi_v1_baml_inbound_proto_msgTypes = make([]protoimpl.MessageInfo, 9) -var file_baml_core_cffi_v1_baml_inbound_proto_goTypes = []interface{}{ - (*InboundValue)(nil), // 0: baml_core.cffi.v1.InboundValue - (*InboundListValue)(nil), // 1: baml_core.cffi.v1.InboundListValue - (*InboundMapValue)(nil), // 2: baml_core.cffi.v1.InboundMapValue - (*InboundMapEntry)(nil), // 3: baml_core.cffi.v1.InboundMapEntry - (*InboundClassValue)(nil), // 4: baml_core.cffi.v1.InboundClassValue - (*InboundEnumValue)(nil), // 5: baml_core.cffi.v1.InboundEnumValue - (*BamlTyArg)(nil), // 6: baml_core.cffi.v1.BamlTyArg - (*CallFunctionArgs)(nil), // 7: baml_core.cffi.v1.CallFunctionArgs - (*CallAck)(nil), // 8: baml_core.cffi.v1.CallAck - (*BamlHandle)(nil), // 9: baml_core.cffi.v1.BamlHandle - (*BamlTy)(nil), // 10: baml_core.cffi.v1.BamlTy - (*BamlTyClass)(nil), // 11: baml_core.cffi.v1.BamlTyClass -} -var file_baml_core_cffi_v1_baml_inbound_proto_depIdxs = []int32{ - 1, // 0: baml_core.cffi.v1.InboundValue.list_value:type_name -> baml_core.cffi.v1.InboundListValue - 2, // 1: baml_core.cffi.v1.InboundValue.map_value:type_name -> baml_core.cffi.v1.InboundMapValue - 4, // 2: baml_core.cffi.v1.InboundValue.class_value:type_name -> baml_core.cffi.v1.InboundClassValue - 5, // 3: baml_core.cffi.v1.InboundValue.enum_value:type_name -> baml_core.cffi.v1.InboundEnumValue - 9, // 4: baml_core.cffi.v1.InboundValue.handle:type_name -> baml_core.cffi.v1.BamlHandle - 10, // 5: baml_core.cffi.v1.InboundValue.ty_value:type_name -> baml_core.cffi.v1.BamlTy - 0, // 6: baml_core.cffi.v1.InboundListValue.values:type_name -> baml_core.cffi.v1.InboundValue - 3, // 7: baml_core.cffi.v1.InboundMapValue.entries:type_name -> baml_core.cffi.v1.InboundMapEntry - 5, // 8: baml_core.cffi.v1.InboundMapEntry.enum_key:type_name -> baml_core.cffi.v1.InboundEnumValue - 0, // 9: baml_core.cffi.v1.InboundMapEntry.value:type_name -> baml_core.cffi.v1.InboundValue - 3, // 10: baml_core.cffi.v1.InboundClassValue.fields:type_name -> baml_core.cffi.v1.InboundMapEntry - 11, // 11: baml_core.cffi.v1.InboundClassValue.class_ty:type_name -> baml_core.cffi.v1.BamlTyClass - 10, // 12: baml_core.cffi.v1.BamlTyArg.type_value:type_name -> baml_core.cffi.v1.BamlTy - 3, // 13: baml_core.cffi.v1.CallFunctionArgs.kwargs:type_name -> baml_core.cffi.v1.InboundMapEntry - 6, // 14: baml_core.cffi.v1.CallFunctionArgs.type_args:type_name -> baml_core.cffi.v1.BamlTyArg + return file_baml_bridge_cffi_v1_baml_inbound_proto_rawDescData +} + +var file_baml_bridge_cffi_v1_baml_inbound_proto_msgTypes = make([]protoimpl.MessageInfo, 9) +var file_baml_bridge_cffi_v1_baml_inbound_proto_goTypes = []interface{}{ + (*InboundValue)(nil), // 0: baml_bridge.cffi.v1.InboundValue + (*InboundListValue)(nil), // 1: baml_bridge.cffi.v1.InboundListValue + (*InboundMapValue)(nil), // 2: baml_bridge.cffi.v1.InboundMapValue + (*InboundMapEntry)(nil), // 3: baml_bridge.cffi.v1.InboundMapEntry + (*InboundClassValue)(nil), // 4: baml_bridge.cffi.v1.InboundClassValue + (*InboundEnumValue)(nil), // 5: baml_bridge.cffi.v1.InboundEnumValue + (*BamlTyArg)(nil), // 6: baml_bridge.cffi.v1.BamlTyArg + (*CallFunctionArgs)(nil), // 7: baml_bridge.cffi.v1.CallFunctionArgs + (*CallAck)(nil), // 8: baml_bridge.cffi.v1.CallAck + (*BamlHandle)(nil), // 9: baml_bridge.cffi.v1.BamlHandle + (*BamlTy)(nil), // 10: baml_bridge.cffi.v1.BamlTy + (*BamlTyClass)(nil), // 11: baml_bridge.cffi.v1.BamlTyClass +} +var file_baml_bridge_cffi_v1_baml_inbound_proto_depIdxs = []int32{ + 1, // 0: baml_bridge.cffi.v1.InboundValue.list_value:type_name -> baml_bridge.cffi.v1.InboundListValue + 2, // 1: baml_bridge.cffi.v1.InboundValue.map_value:type_name -> baml_bridge.cffi.v1.InboundMapValue + 4, // 2: baml_bridge.cffi.v1.InboundValue.class_value:type_name -> baml_bridge.cffi.v1.InboundClassValue + 5, // 3: baml_bridge.cffi.v1.InboundValue.enum_value:type_name -> baml_bridge.cffi.v1.InboundEnumValue + 9, // 4: baml_bridge.cffi.v1.InboundValue.handle:type_name -> baml_bridge.cffi.v1.BamlHandle + 10, // 5: baml_bridge.cffi.v1.InboundValue.ty_value:type_name -> baml_bridge.cffi.v1.BamlTy + 0, // 6: baml_bridge.cffi.v1.InboundListValue.values:type_name -> baml_bridge.cffi.v1.InboundValue + 3, // 7: baml_bridge.cffi.v1.InboundMapValue.entries:type_name -> baml_bridge.cffi.v1.InboundMapEntry + 5, // 8: baml_bridge.cffi.v1.InboundMapEntry.enum_key:type_name -> baml_bridge.cffi.v1.InboundEnumValue + 0, // 9: baml_bridge.cffi.v1.InboundMapEntry.value:type_name -> baml_bridge.cffi.v1.InboundValue + 3, // 10: baml_bridge.cffi.v1.InboundClassValue.fields:type_name -> baml_bridge.cffi.v1.InboundMapEntry + 11, // 11: baml_bridge.cffi.v1.InboundClassValue.class_ty:type_name -> baml_bridge.cffi.v1.BamlTyClass + 10, // 12: baml_bridge.cffi.v1.BamlTyArg.type_value:type_name -> baml_bridge.cffi.v1.BamlTy + 3, // 13: baml_bridge.cffi.v1.CallFunctionArgs.kwargs:type_name -> baml_bridge.cffi.v1.InboundMapEntry + 6, // 14: baml_bridge.cffi.v1.CallFunctionArgs.type_args:type_name -> baml_bridge.cffi.v1.BamlTyArg 15, // [15:15] is the sub-list for method output_type 15, // [15:15] is the sub-list for method input_type 15, // [15:15] is the sub-list for extension type_name @@ -934,15 +936,15 @@ var file_baml_core_cffi_v1_baml_inbound_proto_depIdxs = []int32{ 0, // [0:15] is the sub-list for field type_name } -func init() { file_baml_core_cffi_v1_baml_inbound_proto_init() } -func file_baml_core_cffi_v1_baml_inbound_proto_init() { - if File_baml_core_cffi_v1_baml_inbound_proto != nil { +func init() { file_baml_bridge_cffi_v1_baml_inbound_proto_init() } +func file_baml_bridge_cffi_v1_baml_inbound_proto_init() { + if File_baml_bridge_cffi_v1_baml_inbound_proto != nil { return } - file_baml_core_cffi_v1_baml_handle_proto_init() - file_baml_core_cffi_v1_baml_type_proto_init() + file_baml_bridge_cffi_v1_baml_handle_proto_init() + file_baml_bridge_cffi_v1_baml_type_proto_init() if !protoimpl.UnsafeEnabled { - file_baml_core_cffi_v1_baml_inbound_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_inbound_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*InboundValue); i { case 0: return &v.state @@ -954,7 +956,7 @@ func file_baml_core_cffi_v1_baml_inbound_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_inbound_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_inbound_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*InboundListValue); i { case 0: return &v.state @@ -966,7 +968,7 @@ func file_baml_core_cffi_v1_baml_inbound_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_inbound_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_inbound_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*InboundMapValue); i { case 0: return &v.state @@ -978,7 +980,7 @@ func file_baml_core_cffi_v1_baml_inbound_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_inbound_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_inbound_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*InboundMapEntry); i { case 0: return &v.state @@ -990,7 +992,7 @@ func file_baml_core_cffi_v1_baml_inbound_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_inbound_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_inbound_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*InboundClassValue); i { case 0: return &v.state @@ -1002,7 +1004,7 @@ func file_baml_core_cffi_v1_baml_inbound_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_inbound_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_inbound_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*InboundEnumValue); i { case 0: return &v.state @@ -1014,7 +1016,7 @@ func file_baml_core_cffi_v1_baml_inbound_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_inbound_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_inbound_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlTyArg); i { case 0: return &v.state @@ -1026,7 +1028,7 @@ func file_baml_core_cffi_v1_baml_inbound_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_inbound_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_inbound_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CallFunctionArgs); i { case 0: return &v.state @@ -1038,7 +1040,7 @@ func file_baml_core_cffi_v1_baml_inbound_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_inbound_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_inbound_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CallAck); i { case 0: return &v.state @@ -1051,7 +1053,7 @@ func file_baml_core_cffi_v1_baml_inbound_proto_init() { } } } - file_baml_core_cffi_v1_baml_inbound_proto_msgTypes[0].OneofWrappers = []interface{}{ + file_baml_bridge_cffi_v1_baml_inbound_proto_msgTypes[0].OneofWrappers = []interface{}{ (*InboundValue_StringValue)(nil), (*InboundValue_IntValue)(nil), (*InboundValue_FloatValue)(nil), @@ -1065,31 +1067,31 @@ func file_baml_core_cffi_v1_baml_inbound_proto_init() { (*InboundValue_BigintValue)(nil), (*InboundValue_TyValue)(nil), } - file_baml_core_cffi_v1_baml_inbound_proto_msgTypes[3].OneofWrappers = []interface{}{ + file_baml_bridge_cffi_v1_baml_inbound_proto_msgTypes[3].OneofWrappers = []interface{}{ (*InboundMapEntry_StringKey)(nil), (*InboundMapEntry_IntKey)(nil), (*InboundMapEntry_BoolKey)(nil), (*InboundMapEntry_EnumKey)(nil), } - file_baml_core_cffi_v1_baml_inbound_proto_msgTypes[8].OneofWrappers = []interface{}{ + file_baml_bridge_cffi_v1_baml_inbound_proto_msgTypes[8].OneofWrappers = []interface{}{ (*CallAck_Error)(nil), } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_baml_core_cffi_v1_baml_inbound_proto_rawDesc, + RawDescriptor: file_baml_bridge_cffi_v1_baml_inbound_proto_rawDesc, NumEnums: 0, NumMessages: 9, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_baml_core_cffi_v1_baml_inbound_proto_goTypes, - DependencyIndexes: file_baml_core_cffi_v1_baml_inbound_proto_depIdxs, - MessageInfos: file_baml_core_cffi_v1_baml_inbound_proto_msgTypes, + GoTypes: file_baml_bridge_cffi_v1_baml_inbound_proto_goTypes, + DependencyIndexes: file_baml_bridge_cffi_v1_baml_inbound_proto_depIdxs, + MessageInfos: file_baml_bridge_cffi_v1_baml_inbound_proto_msgTypes, }.Build() - File_baml_core_cffi_v1_baml_inbound_proto = out.File - file_baml_core_cffi_v1_baml_inbound_proto_rawDesc = nil - file_baml_core_cffi_v1_baml_inbound_proto_goTypes = nil - file_baml_core_cffi_v1_baml_inbound_proto_depIdxs = nil + File_baml_bridge_cffi_v1_baml_inbound_proto = out.File + file_baml_bridge_cffi_v1_baml_inbound_proto_rawDesc = nil + file_baml_bridge_cffi_v1_baml_inbound_proto_goTypes = nil + file_baml_bridge_cffi_v1_baml_inbound_proto_depIdxs = nil } diff --git a/baml_language/sdks/go/bridge_go/cffi/proto/baml_core/cffi/v1/baml_outbound.pb.go b/baml_language/sdks/go/bridge_go/cffi/proto/baml_bridge/cffi/v1/baml_outbound.pb.go similarity index 60% rename from baml_language/sdks/go/bridge_go/cffi/proto/baml_core/cffi/v1/baml_outbound.pb.go rename to baml_language/sdks/go/bridge_go/cffi/proto/baml_bridge/cffi/v1/baml_outbound.pb.go index 2e5a67524b2..c844cb78224 100644 --- a/baml_language/sdks/go/bridge_go/cffi/proto/baml_core/cffi/v1/baml_outbound.pb.go +++ b/baml_language/sdks/go/bridge_go/cffi/proto/baml_bridge/cffi/v1/baml_outbound.pb.go @@ -5,7 +5,7 @@ // versions: // protoc-gen-go v1.34.1 // protoc v5.27.1 -// source: baml_core/cffi/v1/baml_outbound.proto +// source: baml_bridge/cffi/v1/baml_outbound.proto package cffi @@ -67,11 +67,11 @@ func (x MediaTypeEnum) String() string { } func (MediaTypeEnum) Descriptor() protoreflect.EnumDescriptor { - return file_baml_core_cffi_v1_baml_outbound_proto_enumTypes[0].Descriptor() + return file_baml_bridge_cffi_v1_baml_outbound_proto_enumTypes[0].Descriptor() } func (MediaTypeEnum) Type() protoreflect.EnumType { - return &file_baml_core_cffi_v1_baml_outbound_proto_enumTypes[0] + return &file_baml_bridge_cffi_v1_baml_outbound_proto_enumTypes[0] } func (x MediaTypeEnum) Number() protoreflect.EnumNumber { @@ -80,7 +80,7 @@ func (x MediaTypeEnum) Number() protoreflect.EnumNumber { // Deprecated: Use MediaTypeEnum.Descriptor instead. func (MediaTypeEnum) EnumDescriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_outbound_proto_rawDescGZIP(), []int{0} + return file_baml_bridge_cffi_v1_baml_outbound_proto_rawDescGZIP(), []int{0} } // Result envelope for a top-level function call — engine to host. Wraps @@ -104,7 +104,7 @@ type BamlOutboundResult struct { func (x *BamlOutboundResult) Reset() { *x = BamlOutboundResult{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[0] + mi := &file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -117,7 +117,7 @@ func (x *BamlOutboundResult) String() string { func (*BamlOutboundResult) ProtoMessage() {} func (x *BamlOutboundResult) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[0] + mi := &file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -130,7 +130,7 @@ func (x *BamlOutboundResult) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlOutboundResult.ProtoReflect.Descriptor instead. func (*BamlOutboundResult) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_outbound_proto_rawDescGZIP(), []int{0} + return file_baml_bridge_cffi_v1_baml_outbound_proto_rawDescGZIP(), []int{0} } func (m *BamlOutboundResult) GetResult() isBamlOutboundResult_Result { @@ -204,7 +204,7 @@ type BamlOutboundError struct { func (x *BamlOutboundError) Reset() { *x = BamlOutboundError{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[1] + mi := &file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -217,7 +217,7 @@ func (x *BamlOutboundError) String() string { func (*BamlOutboundError) ProtoMessage() {} func (x *BamlOutboundError) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[1] + mi := &file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -230,7 +230,7 @@ func (x *BamlOutboundError) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlOutboundError.ProtoReflect.Descriptor instead. func (*BamlOutboundError) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_outbound_proto_rawDescGZIP(), []int{1} + return file_baml_bridge_cffi_v1_baml_outbound_proto_rawDescGZIP(), []int{1} } func (x *BamlOutboundError) GetValue() *BamlOutboundValue { @@ -268,7 +268,7 @@ type BamlOutboundPanic struct { func (x *BamlOutboundPanic) Reset() { *x = BamlOutboundPanic{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[2] + mi := &file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -281,7 +281,7 @@ func (x *BamlOutboundPanic) String() string { func (*BamlOutboundPanic) ProtoMessage() {} func (x *BamlOutboundPanic) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[2] + mi := &file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -294,7 +294,7 @@ func (x *BamlOutboundPanic) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlOutboundPanic.ProtoReflect.Descriptor instead. func (*BamlOutboundPanic) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_outbound_proto_rawDescGZIP(), []int{2} + return file_baml_bridge_cffi_v1_baml_outbound_proto_rawDescGZIP(), []int{2} } func (x *BamlOutboundPanic) GetValue() *BamlOutboundValue { @@ -363,7 +363,7 @@ type BamlOutboundValue struct { func (x *BamlOutboundValue) Reset() { *x = BamlOutboundValue{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[3] + mi := &file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -376,7 +376,7 @@ func (x *BamlOutboundValue) String() string { func (*BamlOutboundValue) ProtoMessage() {} func (x *BamlOutboundValue) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[3] + mi := &file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -389,7 +389,7 @@ func (x *BamlOutboundValue) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlOutboundValue.ProtoReflect.Descriptor instead. func (*BamlOutboundValue) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_outbound_proto_rawDescGZIP(), []int{3} + return file_baml_bridge_cffi_v1_baml_outbound_proto_rawDescGZIP(), []int{3} } func (m *BamlOutboundValue) GetValue() isBamlOutboundValue_Value { @@ -637,14 +637,14 @@ type BamlOutboundHandle struct { unknownFields protoimpl.UnknownFields Key uint64 `protobuf:"varint,1,opt,name=key,proto3" json:"key,omitempty"` - HandleType BamlHandleType `protobuf:"varint,2,opt,name=handle_type,json=handleType,proto3,enum=baml_core.cffi.v1.BamlHandleType" json:"handle_type,omitempty"` + HandleType BamlHandleType `protobuf:"varint,2,opt,name=handle_type,json=handleType,proto3,enum=baml_bridge.cffi.v1.BamlHandleType" json:"handle_type,omitempty"` Ty *BamlTy `protobuf:"bytes,3,opt,name=ty,proto3" json:"ty,omitempty"` } func (x *BamlOutboundHandle) Reset() { *x = BamlOutboundHandle{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[4] + mi := &file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -657,7 +657,7 @@ func (x *BamlOutboundHandle) String() string { func (*BamlOutboundHandle) ProtoMessage() {} func (x *BamlOutboundHandle) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[4] + mi := &file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -670,7 +670,7 @@ func (x *BamlOutboundHandle) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlOutboundHandle.ProtoReflect.Descriptor instead. func (*BamlOutboundHandle) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_outbound_proto_rawDescGZIP(), []int{4} + return file_baml_bridge_cffi_v1_baml_outbound_proto_rawDescGZIP(), []int{4} } func (x *BamlOutboundHandle) GetKey() uint64 { @@ -703,7 +703,7 @@ type BamlValueNull struct { func (x *BamlValueNull) Reset() { *x = BamlValueNull{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[5] + mi := &file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -716,7 +716,7 @@ func (x *BamlValueNull) String() string { func (*BamlValueNull) ProtoMessage() {} func (x *BamlValueNull) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[5] + mi := &file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -729,7 +729,7 @@ func (x *BamlValueNull) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlValueNull.ProtoReflect.Descriptor instead. func (*BamlValueNull) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_outbound_proto_rawDescGZIP(), []int{5} + return file_baml_bridge_cffi_v1_baml_outbound_proto_rawDescGZIP(), []int{5} } // Each variant as a message. @@ -745,7 +745,7 @@ type BamlValueList struct { func (x *BamlValueList) Reset() { *x = BamlValueList{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[6] + mi := &file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -758,7 +758,7 @@ func (x *BamlValueList) String() string { func (*BamlValueList) ProtoMessage() {} func (x *BamlValueList) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[6] + mi := &file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -771,7 +771,7 @@ func (x *BamlValueList) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlValueList.ProtoReflect.Descriptor instead. func (*BamlValueList) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_outbound_proto_rawDescGZIP(), []int{6} + return file_baml_bridge_cffi_v1_baml_outbound_proto_rawDescGZIP(), []int{6} } func (x *BamlValueList) GetItemType() *BamlTy { @@ -801,7 +801,7 @@ type BamlOutboundMapEntry struct { func (x *BamlOutboundMapEntry) Reset() { *x = BamlOutboundMapEntry{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[7] + mi := &file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -814,7 +814,7 @@ func (x *BamlOutboundMapEntry) String() string { func (*BamlOutboundMapEntry) ProtoMessage() {} func (x *BamlOutboundMapEntry) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[7] + mi := &file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -827,7 +827,7 @@ func (x *BamlOutboundMapEntry) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlOutboundMapEntry.ProtoReflect.Descriptor instead. func (*BamlOutboundMapEntry) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_outbound_proto_rawDescGZIP(), []int{7} + return file_baml_bridge_cffi_v1_baml_outbound_proto_rawDescGZIP(), []int{7} } func (x *BamlOutboundMapEntry) GetKey() string { @@ -857,7 +857,7 @@ type BamlValueMap struct { func (x *BamlValueMap) Reset() { *x = BamlValueMap{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[8] + mi := &file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -870,7 +870,7 @@ func (x *BamlValueMap) String() string { func (*BamlValueMap) ProtoMessage() {} func (x *BamlValueMap) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[8] + mi := &file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -883,7 +883,7 @@ func (x *BamlValueMap) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlValueMap.ProtoReflect.Descriptor instead. func (*BamlValueMap) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_outbound_proto_rawDescGZIP(), []int{8} + return file_baml_bridge_cffi_v1_baml_outbound_proto_rawDescGZIP(), []int{8} } func (x *BamlValueMap) GetKeyType() *BamlTy { @@ -922,7 +922,7 @@ type BamlValueClass struct { func (x *BamlValueClass) Reset() { *x = BamlValueClass{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[9] + mi := &file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -935,7 +935,7 @@ func (x *BamlValueClass) String() string { func (*BamlValueClass) ProtoMessage() {} func (x *BamlValueClass) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[9] + mi := &file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -948,7 +948,7 @@ func (x *BamlValueClass) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlValueClass.ProtoReflect.Descriptor instead. func (*BamlValueClass) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_outbound_proto_rawDescGZIP(), []int{9} + return file_baml_bridge_cffi_v1_baml_outbound_proto_rawDescGZIP(), []int{9} } func (x *BamlValueClass) GetName() string { @@ -986,7 +986,7 @@ type BamlValueEnum struct { func (x *BamlValueEnum) Reset() { *x = BamlValueEnum{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[10] + mi := &file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -999,7 +999,7 @@ func (x *BamlValueEnum) String() string { func (*BamlValueEnum) ProtoMessage() {} func (x *BamlValueEnum) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[10] + mi := &file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1012,7 +1012,7 @@ func (x *BamlValueEnum) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlValueEnum.ProtoReflect.Descriptor instead. func (*BamlValueEnum) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_outbound_proto_rawDescGZIP(), []int{10} + return file_baml_bridge_cffi_v1_baml_outbound_proto_rawDescGZIP(), []int{10} } func (x *BamlValueEnum) GetName() string { @@ -1056,7 +1056,7 @@ type BamlValueUnionVariant struct { func (x *BamlValueUnionVariant) Reset() { *x = BamlValueUnionVariant{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[11] + mi := &file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1069,7 +1069,7 @@ func (x *BamlValueUnionVariant) String() string { func (*BamlValueUnionVariant) ProtoMessage() {} func (x *BamlValueUnionVariant) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[11] + mi := &file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1082,7 +1082,7 @@ func (x *BamlValueUnionVariant) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlValueUnionVariant.ProtoReflect.Descriptor instead. func (*BamlValueUnionVariant) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_outbound_proto_rawDescGZIP(), []int{11} + return file_baml_bridge_cffi_v1_baml_outbound_proto_rawDescGZIP(), []int{11} } func (x *BamlValueUnionVariant) GetName() string { @@ -1132,7 +1132,7 @@ type BamlValueMedia struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Media MediaTypeEnum `protobuf:"varint,1,opt,name=media,proto3,enum=baml_core.cffi.v1.MediaTypeEnum" json:"media,omitempty"` + Media MediaTypeEnum `protobuf:"varint,1,opt,name=media,proto3,enum=baml_bridge.cffi.v1.MediaTypeEnum" json:"media,omitempty"` MimeType *string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3,oneof" json:"mime_type,omitempty"` // Types that are assignable to Value: // @@ -1145,7 +1145,7 @@ type BamlValueMedia struct { func (x *BamlValueMedia) Reset() { *x = BamlValueMedia{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[12] + mi := &file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1158,7 +1158,7 @@ func (x *BamlValueMedia) String() string { func (*BamlValueMedia) ProtoMessage() {} func (x *BamlValueMedia) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[12] + mi := &file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1171,7 +1171,7 @@ func (x *BamlValueMedia) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlValueMedia.ProtoReflect.Descriptor instead. func (*BamlValueMedia) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_outbound_proto_rawDescGZIP(), []int{12} + return file_baml_bridge_cffi_v1_baml_outbound_proto_rawDescGZIP(), []int{12} } func (x *BamlValueMedia) GetMedia() MediaTypeEnum { @@ -1254,7 +1254,7 @@ type BamlValuePromptAst struct { func (x *BamlValuePromptAst) Reset() { *x = BamlValuePromptAst{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[13] + mi := &file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1267,7 +1267,7 @@ func (x *BamlValuePromptAst) String() string { func (*BamlValuePromptAst) ProtoMessage() {} func (x *BamlValuePromptAst) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[13] + mi := &file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1280,7 +1280,7 @@ func (x *BamlValuePromptAst) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlValuePromptAst.ProtoReflect.Descriptor instead. func (*BamlValuePromptAst) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_outbound_proto_rawDescGZIP(), []int{13} + return file_baml_bridge_cffi_v1_baml_outbound_proto_rawDescGZIP(), []int{13} } func (m *BamlValuePromptAst) GetValue() isBamlValuePromptAst_Value { @@ -1346,7 +1346,7 @@ type BamlValuePromptAstMessage struct { func (x *BamlValuePromptAstMessage) Reset() { *x = BamlValuePromptAstMessage{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[14] + mi := &file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1359,7 +1359,7 @@ func (x *BamlValuePromptAstMessage) String() string { func (*BamlValuePromptAstMessage) ProtoMessage() {} func (x *BamlValuePromptAstMessage) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[14] + mi := &file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1372,7 +1372,7 @@ func (x *BamlValuePromptAstMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlValuePromptAstMessage.ProtoReflect.Descriptor instead. func (*BamlValuePromptAstMessage) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_outbound_proto_rawDescGZIP(), []int{14} + return file_baml_bridge_cffi_v1_baml_outbound_proto_rawDescGZIP(), []int{14} } func (x *BamlValuePromptAstMessage) GetRole() string { @@ -1407,7 +1407,7 @@ type BamlValuePromptAstMultiple struct { func (x *BamlValuePromptAstMultiple) Reset() { *x = BamlValuePromptAstMultiple{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[15] + mi := &file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1420,7 +1420,7 @@ func (x *BamlValuePromptAstMultiple) String() string { func (*BamlValuePromptAstMultiple) ProtoMessage() {} func (x *BamlValuePromptAstMultiple) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[15] + mi := &file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1433,7 +1433,7 @@ func (x *BamlValuePromptAstMultiple) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlValuePromptAstMultiple.ProtoReflect.Descriptor instead. func (*BamlValuePromptAstMultiple) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_outbound_proto_rawDescGZIP(), []int{15} + return file_baml_bridge_cffi_v1_baml_outbound_proto_rawDescGZIP(), []int{15} } func (x *BamlValuePromptAstMultiple) GetItems() []*BamlValuePromptAst { @@ -1459,7 +1459,7 @@ type BamlValuePromptAstSimple struct { func (x *BamlValuePromptAstSimple) Reset() { *x = BamlValuePromptAstSimple{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[16] + mi := &file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1472,7 +1472,7 @@ func (x *BamlValuePromptAstSimple) String() string { func (*BamlValuePromptAstSimple) ProtoMessage() {} func (x *BamlValuePromptAstSimple) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[16] + mi := &file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1485,7 +1485,7 @@ func (x *BamlValuePromptAstSimple) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlValuePromptAstSimple.ProtoReflect.Descriptor instead. func (*BamlValuePromptAstSimple) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_outbound_proto_rawDescGZIP(), []int{16} + return file_baml_bridge_cffi_v1_baml_outbound_proto_rawDescGZIP(), []int{16} } func (m *BamlValuePromptAstSimple) GetValue() isBamlValuePromptAstSimple_Value { @@ -1549,7 +1549,7 @@ type BamlValuePromptAstSimpleMultiple struct { func (x *BamlValuePromptAstSimpleMultiple) Reset() { *x = BamlValuePromptAstSimpleMultiple{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[17] + mi := &file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1562,7 +1562,7 @@ func (x *BamlValuePromptAstSimpleMultiple) String() string { func (*BamlValuePromptAstSimpleMultiple) ProtoMessage() {} func (x *BamlValuePromptAstSimpleMultiple) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[17] + mi := &file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1575,7 +1575,7 @@ func (x *BamlValuePromptAstSimpleMultiple) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlValuePromptAstSimpleMultiple.ProtoReflect.Descriptor instead. func (*BamlValuePromptAstSimpleMultiple) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_outbound_proto_rawDescGZIP(), []int{17} + return file_baml_bridge_cffi_v1_baml_outbound_proto_rawDescGZIP(), []int{17} } func (x *BamlValuePromptAstSimpleMultiple) GetItems() []*BamlValuePromptAstSimple { @@ -1606,7 +1606,7 @@ type BamlToHostCall struct { func (x *BamlToHostCall) Reset() { *x = BamlToHostCall{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[18] + mi := &file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1619,7 +1619,7 @@ func (x *BamlToHostCall) String() string { func (*BamlToHostCall) ProtoMessage() {} func (x *BamlToHostCall) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[18] + mi := &file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1632,7 +1632,7 @@ func (x *BamlToHostCall) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlToHostCall.ProtoReflect.Descriptor instead. func (*BamlToHostCall) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_outbound_proto_rawDescGZIP(), []int{18} + return file_baml_bridge_cffi_v1_baml_outbound_proto_rawDescGZIP(), []int{18} } func (x *BamlToHostCall) GetArgs() []*BamlToHostArg { @@ -1660,7 +1660,7 @@ type BamlToHostArg struct { func (x *BamlToHostArg) Reset() { *x = BamlToHostArg{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[19] + mi := &file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1673,7 +1673,7 @@ func (x *BamlToHostArg) String() string { func (*BamlToHostArg) ProtoMessage() {} func (x *BamlToHostArg) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[19] + mi := &file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1686,7 +1686,7 @@ func (x *BamlToHostArg) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlToHostArg.ProtoReflect.Descriptor instead. func (*BamlToHostArg) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_outbound_proto_rawDescGZIP(), []int{19} + return file_baml_bridge_cffi_v1_baml_outbound_proto_rawDescGZIP(), []int{19} } func (x *BamlToHostArg) GetValue() *BamlOutboundValue { @@ -1733,7 +1733,7 @@ type BamlLiteralValue struct { func (x *BamlLiteralValue) Reset() { *x = BamlLiteralValue{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[20] + mi := &file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1746,7 +1746,7 @@ func (x *BamlLiteralValue) String() string { func (*BamlLiteralValue) ProtoMessage() {} func (x *BamlLiteralValue) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[20] + mi := &file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1759,7 +1759,7 @@ func (x *BamlLiteralValue) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlLiteralValue.ProtoReflect.Descriptor instead. func (*BamlLiteralValue) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_outbound_proto_rawDescGZIP(), []int{20} + return file_baml_bridge_cffi_v1_baml_outbound_proto_rawDescGZIP(), []int{20} } func (m *BamlLiteralValue) GetLiteral() isBamlLiteralValue_Literal { @@ -1838,363 +1838,368 @@ func (*BamlLiteralValue_BigintValue) isBamlLiteralValue_Literal() {} func (*BamlLiteralValue_FloatValue) isBamlLiteralValue_Literal() {} -var File_baml_core_cffi_v1_baml_outbound_proto protoreflect.FileDescriptor - -var file_baml_core_cffi_v1_baml_outbound_proto_rawDesc = []byte{ - 0x0a, 0x25, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x66, 0x66, 0x69, - 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, - 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, - 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x1a, 0x23, 0x62, 0x61, 0x6d, 0x6c, - 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x66, 0x66, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, - 0x6d, 0x6c, 0x5f, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, - 0x21, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x66, 0x66, 0x69, 0x2f, - 0x76, 0x31, 0x2f, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x22, 0xd2, 0x01, 0x0a, 0x12, 0x42, 0x61, 0x6d, 0x6c, 0x4f, 0x75, 0x74, 0x62, 0x6f, - 0x75, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x36, 0x0a, 0x02, 0x6f, 0x6b, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, - 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x4f, 0x75, - 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x02, 0x6f, - 0x6b, 0x12, 0x3c, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x24, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, - 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, - 0x64, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, - 0x3c, 0x0a, 0x05, 0x70, 0x61, 0x6e, 0x69, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, - 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, - 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x50, - 0x61, 0x6e, 0x69, 0x63, 0x48, 0x00, 0x52, 0x05, 0x70, 0x61, 0x6e, 0x69, 0x63, 0x42, 0x08, 0x0a, - 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x65, 0x0a, 0x11, 0x42, 0x61, 0x6d, 0x6c, 0x4f, - 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x3a, 0x0a, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x62, 0x61, - 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, +var File_baml_bridge_cffi_v1_baml_outbound_proto protoreflect.FileDescriptor + +var file_baml_bridge_cffi_v1_baml_outbound_proto_rawDesc = []byte{ + 0x0a, 0x27, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2f, 0x63, 0x66, + 0x66, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x6f, 0x75, 0x74, 0x62, 0x6f, + 0x75, 0x6e, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x62, 0x61, 0x6d, 0x6c, 0x5f, + 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x1a, 0x25, + 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2f, 0x63, 0x66, 0x66, 0x69, + 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, + 0x67, 0x65, 0x2f, 0x63, 0x66, 0x66, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, 0x6d, 0x6c, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd8, 0x01, 0x0a, 0x12, 0x42, + 0x61, 0x6d, 0x6c, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x12, 0x38, 0x0a, 0x02, 0x6f, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, + 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, + 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, + 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x02, 0x6f, 0x6b, 0x12, 0x3e, 0x0a, 0x05, 0x65, + 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x62, 0x61, 0x6d, + 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, + 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x72, 0x72, + 0x6f, 0x72, 0x48, 0x00, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x3e, 0x0a, 0x05, 0x70, + 0x61, 0x6e, 0x69, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x62, 0x61, 0x6d, + 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, + 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x50, 0x61, 0x6e, + 0x69, 0x63, 0x48, 0x00, 0x52, 0x05, 0x70, 0x61, 0x6e, 0x69, 0x63, 0x42, 0x08, 0x0a, 0x06, 0x72, + 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x67, 0x0a, 0x11, 0x42, 0x61, 0x6d, 0x6c, 0x4f, 0x75, 0x74, + 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x3c, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x62, 0x61, 0x6d, 0x6c, + 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x72, 0x61, 0x63, - 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x74, 0x72, 0x61, 0x63, 0x65, 0x22, 0xa6, + 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x74, 0x72, 0x61, 0x63, 0x65, 0x22, 0xa8, 0x01, 0x0a, 0x11, 0x42, 0x61, 0x6d, 0x6c, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x50, - 0x61, 0x6e, 0x69, 0x63, 0x12, 0x3a, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, - 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x4f, 0x75, 0x74, 0x62, - 0x6f, 0x75, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x12, 0x14, 0x0a, 0x05, 0x74, 0x72, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, - 0x05, 0x74, 0x72, 0x61, 0x63, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x65, 0x78, 0x69, - 0x74, 0x5f, 0x70, 0x61, 0x6e, 0x69, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, - 0x73, 0x45, 0x78, 0x69, 0x74, 0x50, 0x61, 0x6e, 0x69, 0x63, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x78, - 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x65, - 0x78, 0x69, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x22, 0x8a, 0x08, 0x0a, 0x11, 0x42, 0x61, 0x6d, 0x6c, - 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x41, 0x0a, - 0x0a, 0x6e, 0x75, 0x6c, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x20, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, - 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4e, - 0x75, 0x6c, 0x6c, 0x48, 0x00, 0x52, 0x09, 0x6e, 0x75, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x12, 0x23, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, - 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1d, 0x0a, 0x09, 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x12, 0x21, 0x0a, 0x0b, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x5f, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, 0x48, 0x00, 0x52, 0x0a, 0x66, 0x6c, 0x6f, - 0x61, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0a, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x09, 0x62, - 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x44, 0x0a, 0x0b, 0x63, 0x6c, 0x61, 0x73, - 0x73, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, - 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, - 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, - 0x48, 0x00, 0x52, 0x0a, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x41, - 0x0a, 0x0a, 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x08, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, - 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x45, 0x6e, 0x75, 0x6d, 0x48, 0x00, 0x52, 0x09, 0x65, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, - 0x65, 0x12, 0x4a, 0x0a, 0x0d, 0x6c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x5f, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, - 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, - 0x6c, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, - 0x0c, 0x6c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x41, 0x0a, - 0x0a, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x20, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, - 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4c, - 0x69, 0x73, 0x74, 0x48, 0x00, 0x52, 0x09, 0x6c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x12, 0x3e, 0x0a, 0x09, 0x6d, 0x61, 0x70, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x0c, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x61, 0x6e, 0x69, 0x63, 0x12, 0x3c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, + 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x4f, 0x75, + 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x72, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x05, 0x74, 0x72, 0x61, 0x63, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x65, + 0x78, 0x69, 0x74, 0x5f, 0x70, 0x61, 0x6e, 0x69, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x0b, 0x69, 0x73, 0x45, 0x78, 0x69, 0x74, 0x50, 0x61, 0x6e, 0x69, 0x63, 0x12, 0x1b, 0x0a, 0x09, + 0x65, 0x78, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x08, 0x65, 0x78, 0x69, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x22, 0xa0, 0x08, 0x0a, 0x11, 0x42, 0x61, + 0x6d, 0x6c, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, + 0x43, 0x0a, 0x0a, 0x6e, 0x75, 0x6c, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, + 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x4e, 0x75, 0x6c, 0x6c, 0x48, 0x00, 0x52, 0x09, 0x6e, 0x75, 0x6c, 0x6c, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x74, + 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1d, 0x0a, 0x09, 0x69, 0x6e, 0x74, + 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x08, + 0x69, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x21, 0x0a, 0x0b, 0x66, 0x6c, 0x6f, 0x61, + 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, 0x48, 0x00, 0x52, + 0x0a, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0a, 0x62, + 0x6f, 0x6f, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x48, + 0x00, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x46, 0x0a, 0x0b, + 0x63, 0x6c, 0x61, 0x73, 0x73, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x23, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x56, 0x61, 0x6c, 0x75, - 0x65, 0x4d, 0x61, 0x70, 0x48, 0x00, 0x52, 0x08, 0x6d, 0x61, 0x70, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x12, 0x5a, 0x0a, 0x13, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, - 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, - 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, + 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x48, 0x00, 0x52, 0x0a, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x12, 0x43, 0x0a, 0x0a, 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, + 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, + 0x61, 0x6d, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x45, 0x6e, 0x75, 0x6d, 0x48, 0x00, 0x52, 0x09, + 0x65, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x4c, 0x0a, 0x0d, 0x6c, 0x69, 0x74, + 0x65, 0x72, 0x61, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x25, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, + 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x4c, 0x69, 0x74, 0x65, 0x72, + 0x61, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x0c, 0x6c, 0x69, 0x74, 0x65, 0x72, + 0x61, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x43, 0x0a, 0x0a, 0x6c, 0x69, 0x73, 0x74, 0x5f, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x61, + 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, + 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x48, + 0x00, 0x52, 0x09, 0x6c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x40, 0x0a, 0x09, + 0x6d, 0x61, 0x70, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x21, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, + 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4d, + 0x61, 0x70, 0x48, 0x00, 0x52, 0x08, 0x6d, 0x61, 0x70, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x5c, + 0x0a, 0x13, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x5f, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x62, 0x61, + 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x11, 0x75, 0x6e, 0x69, 0x6f, 0x6e, - 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x4a, 0x0a, 0x0c, + 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x4c, 0x0a, 0x0c, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x10, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, - 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x4f, 0x75, 0x74, 0x62, 0x6f, - 0x75, 0x6e, 0x64, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x48, 0x00, 0x52, 0x0b, 0x68, 0x61, 0x6e, - 0x64, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x44, 0x0a, 0x0b, 0x6d, 0x65, 0x64, 0x69, - 0x61, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, - 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, - 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4d, 0x65, 0x64, 0x69, 0x61, - 0x48, 0x00, 0x52, 0x0a, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x51, - 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x5f, 0x61, 0x73, 0x74, 0x5f, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, - 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, - 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x41, 0x73, 0x74, 0x48, - 0x00, 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x41, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, - 0x65, 0x12, 0x2b, 0x0a, 0x10, 0x75, 0x69, 0x6e, 0x74, 0x38, 0x61, 0x72, 0x72, 0x61, 0x79, 0x5f, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x0f, 0x75, - 0x69, 0x6e, 0x74, 0x38, 0x61, 0x72, 0x72, 0x61, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, - 0x0a, 0x0c, 0x62, 0x69, 0x67, 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x14, - 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x62, 0x69, 0x67, 0x69, 0x6e, 0x74, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x12, 0x36, 0x0a, 0x08, 0x74, 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, - 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, - 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, - 0x48, 0x00, 0x52, 0x07, 0x74, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x22, 0x95, 0x01, 0x0a, 0x12, 0x42, 0x61, 0x6d, 0x6c, 0x4f, 0x75, 0x74, - 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, - 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x42, 0x0a, - 0x0b, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, - 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x48, 0x61, 0x6e, 0x64, 0x6c, - 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x54, 0x79, 0x70, - 0x65, 0x12, 0x29, 0x0a, 0x02, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, - 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, - 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x52, 0x02, 0x74, 0x79, 0x22, 0x0f, 0x0a, 0x0d, - 0x42, 0x61, 0x6d, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4e, 0x75, 0x6c, 0x6c, 0x22, 0x83, 0x01, - 0x0a, 0x0d, 0x42, 0x61, 0x6d, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, - 0x36, 0x0a, 0x09, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, - 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x52, 0x08, 0x69, - 0x74, 0x65, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3a, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, - 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, - 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x4f, + 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, + 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x4f, 0x75, 0x74, + 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x48, 0x00, 0x52, 0x0b, 0x68, + 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x46, 0x0a, 0x0b, 0x6d, 0x65, + 0x64, 0x69, 0x61, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x23, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, + 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4d, + 0x65, 0x64, 0x69, 0x61, 0x48, 0x00, 0x52, 0x0a, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x12, 0x53, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x5f, 0x61, 0x73, 0x74, + 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x62, + 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, + 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x50, 0x72, 0x6f, 0x6d, + 0x70, 0x74, 0x41, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x41, + 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x2b, 0x0a, 0x10, 0x75, 0x69, 0x6e, 0x74, 0x38, + 0x61, 0x72, 0x72, 0x61, 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, + 0x0c, 0x48, 0x00, 0x52, 0x0f, 0x75, 0x69, 0x6e, 0x74, 0x38, 0x61, 0x72, 0x72, 0x61, 0x79, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x62, 0x69, 0x67, 0x69, 0x6e, 0x74, 0x5f, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x62, 0x69, + 0x67, 0x69, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x38, 0x0a, 0x08, 0x74, 0x79, 0x5f, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x61, + 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, + 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x48, 0x00, 0x52, 0x07, 0x74, 0x79, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x99, 0x01, 0x0a, + 0x12, 0x42, 0x61, 0x6d, 0x6c, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x48, 0x61, 0x6e, + 0x64, 0x6c, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x44, 0x0a, 0x0b, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x62, 0x61, 0x6d, + 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, + 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x0a, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2b, 0x0a, 0x02, 0x74, + 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, + 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, + 0x6d, 0x6c, 0x54, 0x79, 0x52, 0x02, 0x74, 0x79, 0x22, 0x0f, 0x0a, 0x0d, 0x42, 0x61, 0x6d, 0x6c, + 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4e, 0x75, 0x6c, 0x6c, 0x22, 0x87, 0x01, 0x0a, 0x0d, 0x42, 0x61, + 0x6d, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x09, 0x69, + 0x74, 0x65, 0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, + 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, + 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x52, 0x08, 0x69, 0x74, 0x65, + 0x6d, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3c, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, + 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x69, 0x74, - 0x65, 0x6d, 0x73, 0x22, 0x64, 0x0a, 0x14, 0x42, 0x61, 0x6d, 0x6c, 0x4f, 0x75, 0x74, 0x62, 0x6f, + 0x65, 0x6d, 0x73, 0x22, 0x66, 0x0a, 0x14, 0x42, 0x61, 0x6d, 0x6c, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, - 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3a, 0x0a, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x62, - 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, - 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x56, 0x61, 0x6c, - 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xc1, 0x01, 0x0a, 0x0c, 0x42, 0x61, - 0x6d, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4d, 0x61, 0x70, 0x12, 0x34, 0x0a, 0x08, 0x6b, 0x65, - 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, - 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, - 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x54, 0x79, 0x70, 0x65, - 0x12, 0x38, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3c, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x62, + 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, + 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xc7, 0x01, 0x0a, 0x0c, + 0x42, 0x61, 0x6d, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4d, 0x61, 0x70, 0x12, 0x36, 0x0a, 0x08, + 0x6b, 0x65, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, + 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, + 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x52, 0x07, 0x6b, 0x65, 0x79, + 0x54, 0x79, 0x70, 0x65, 0x12, 0x3a, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, + 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, + 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x52, 0x09, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x43, 0x0a, 0x07, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x29, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, + 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x4f, 0x75, 0x74, 0x62, + 0x6f, 0x75, 0x6e, 0x64, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x65, 0x6e, + 0x74, 0x72, 0x69, 0x65, 0x73, 0x22, 0xa1, 0x01, 0x0a, 0x0e, 0x42, 0x61, 0x6d, 0x6c, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x41, 0x0a, 0x06, + 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x62, + 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, + 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x4d, + 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, + 0x38, 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x61, 0x72, 0x67, 0x73, 0x18, 0x03, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x52, - 0x09, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x41, 0x0a, 0x07, 0x65, 0x6e, - 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x62, 0x61, - 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, - 0x42, 0x61, 0x6d, 0x6c, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x4d, 0x61, 0x70, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x22, 0x9d, 0x01, - 0x0a, 0x0e, 0x42, 0x61, 0x6d, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, - 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x02, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, - 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x4f, 0x75, 0x74, - 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x66, - 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x36, 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x61, 0x72, - 0x67, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, - 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, - 0x6c, 0x54, 0x79, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x41, 0x72, 0x67, 0x73, 0x22, 0x58, 0x0a, - 0x0d, 0x42, 0x61, 0x6d, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x12, - 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x64, - 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, - 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x22, 0x98, 0x02, 0x0a, 0x15, 0x42, 0x61, 0x6d, 0x6c, - 0x56, 0x61, 0x6c, 0x75, 0x65, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, - 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x6f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x4f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x12, 0x2a, 0x0a, 0x11, 0x69, 0x73, 0x5f, 0x73, 0x69, 0x6e, - 0x67, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x0f, 0x69, 0x73, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x74, 0x65, - 0x72, 0x6e, 0x12, 0x36, 0x0a, 0x09, 0x73, 0x65, 0x6c, 0x66, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, - 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, - 0x52, 0x08, 0x73, 0x65, 0x6c, 0x66, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x4f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, + 0x08, 0x74, 0x79, 0x70, 0x65, 0x41, 0x72, 0x67, 0x73, 0x22, 0x58, 0x0a, 0x0d, 0x42, 0x61, 0x6d, + 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x64, 0x79, 0x6e, 0x61, 0x6d, + 0x69, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x44, 0x79, 0x6e, 0x61, + 0x6d, 0x69, 0x63, 0x22, 0x9c, 0x02, 0x0a, 0x15, 0x42, 0x61, 0x6d, 0x6c, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x12, 0x0a, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x61, 0x6c, 0x12, 0x2a, 0x0a, 0x11, 0x69, 0x73, 0x5f, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x5f, + 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, + 0x73, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x12, 0x38, + 0x0a, 0x09, 0x73, 0x65, 0x6c, 0x66, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, + 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x52, 0x08, + 0x73, 0x65, 0x6c, 0x66, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x22, 0xc5, 0x01, 0x0a, 0x0e, 0x42, 0x61, 0x6d, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x4d, 0x65, 0x64, 0x69, 0x61, 0x12, 0x36, 0x0a, 0x05, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, - 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x54, 0x79, - 0x70, 0x65, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x05, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x12, 0x20, 0x0a, - 0x09, 0x6d, 0x69, 0x6d, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x48, 0x01, 0x52, 0x08, 0x6d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x88, 0x01, 0x01, 0x12, - 0x12, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x03, - 0x75, 0x72, 0x6c, 0x12, 0x18, 0x0a, 0x06, 0x62, 0x61, 0x73, 0x65, 0x36, 0x34, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x62, 0x61, 0x73, 0x65, 0x36, 0x34, 0x12, 0x14, 0x0a, - 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x66, - 0x69, 0x6c, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0c, 0x0a, 0x0a, - 0x5f, 0x6d, 0x69, 0x6d, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0xfb, 0x01, 0x0a, 0x12, 0x42, - 0x61, 0x6d, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x41, 0x73, - 0x74, 0x12, 0x45, 0x0a, 0x06, 0x73, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x2b, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, - 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x50, - 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x41, 0x73, 0x74, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x48, 0x00, - 0x52, 0x06, 0x73, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x12, 0x48, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x62, 0x61, 0x6d, 0x6c, - 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, - 0x6d, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x41, 0x73, 0x74, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x12, 0x4b, 0x0a, 0x08, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, - 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x22, 0xc7, 0x01, 0x0a, 0x0e, 0x42, 0x61, 0x6d, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, + 0x4d, 0x65, 0x64, 0x69, 0x61, 0x12, 0x38, 0x0a, 0x05, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, + 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x64, 0x69, 0x61, + 0x54, 0x79, 0x70, 0x65, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x05, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x12, + 0x20, 0x0a, 0x09, 0x6d, 0x69, 0x6d, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x48, 0x01, 0x52, 0x08, 0x6d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x88, 0x01, + 0x01, 0x12, 0x12, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, + 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x18, 0x0a, 0x06, 0x62, 0x61, 0x73, 0x65, 0x36, 0x34, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x62, 0x61, 0x73, 0x65, 0x36, 0x34, 0x12, + 0x14, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, + 0x04, 0x66, 0x69, 0x6c, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0c, + 0x0a, 0x0a, 0x5f, 0x6d, 0x69, 0x6d, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0x81, 0x02, 0x0a, + 0x12, 0x42, 0x61, 0x6d, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, + 0x41, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x06, 0x73, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, + 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x41, 0x73, 0x74, 0x53, 0x69, 0x6d, 0x70, + 0x6c, 0x65, 0x48, 0x00, 0x52, 0x06, 0x73, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x12, 0x4a, 0x0a, 0x07, + 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, + 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, + 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x50, 0x72, 0x6f, + 0x6d, 0x70, 0x74, 0x41, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, + 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x4d, 0x0a, 0x08, 0x6d, 0x75, 0x6c, 0x74, + 0x69, 0x70, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x62, 0x61, 0x6d, + 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, + 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, + 0x41, 0x73, 0x74, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x48, 0x00, 0x52, 0x08, 0x6d, + 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x22, 0xa2, 0x01, 0x0a, 0x19, 0x42, 0x61, 0x6d, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x50, 0x72, + 0x6f, 0x6d, 0x70, 0x74, 0x41, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12, + 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f, + 0x6c, 0x65, 0x12, 0x47, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, + 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x41, 0x73, 0x74, 0x53, 0x69, 0x6d, 0x70, + 0x6c, 0x65, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x61, 0x73, 0x5f, 0x6a, 0x73, 0x6f, 0x6e, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x41, + 0x73, 0x4a, 0x73, 0x6f, 0x6e, 0x22, 0x5b, 0x0a, 0x1a, 0x42, 0x61, 0x6d, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x41, 0x73, 0x74, 0x4d, 0x75, 0x6c, 0x74, 0x69, - 0x70, 0x6c, 0x65, 0x48, 0x00, 0x52, 0x08, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x42, - 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xa0, 0x01, 0x0a, 0x19, 0x42, 0x61, 0x6d, - 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x41, 0x73, 0x74, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x12, 0x45, 0x0a, 0x07, 0x63, 0x6f, - 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x62, 0x61, - 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, - 0x42, 0x61, 0x6d, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x41, - 0x73, 0x74, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, - 0x74, 0x12, 0x28, 0x0a, 0x10, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x61, 0x73, - 0x5f, 0x6a, 0x73, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x41, 0x73, 0x4a, 0x73, 0x6f, 0x6e, 0x22, 0x59, 0x0a, 0x1a, 0x42, - 0x61, 0x6d, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x41, 0x73, - 0x74, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x12, 0x3b, 0x0a, 0x05, 0x69, 0x74, 0x65, - 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, - 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, - 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x41, 0x73, 0x74, 0x52, - 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0xcb, 0x01, 0x0a, 0x18, 0x42, 0x61, 0x6d, 0x6c, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x41, 0x73, 0x74, 0x53, 0x69, 0x6d, - 0x70, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x06, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x39, 0x0a, - 0x05, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, - 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, - 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x48, - 0x00, 0x52, 0x05, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x12, 0x51, 0x0a, 0x08, 0x6d, 0x75, 0x6c, 0x74, - 0x69, 0x70, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x62, 0x61, 0x6d, - 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, + 0x70, 0x6c, 0x65, 0x12, 0x3d, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, + 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x41, 0x73, 0x74, 0x52, 0x05, 0x69, 0x74, 0x65, + 0x6d, 0x73, 0x22, 0xcf, 0x01, 0x0a, 0x18, 0x42, 0x61, 0x6d, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, + 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x41, 0x73, 0x74, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x12, + 0x18, 0x0a, 0x06, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, + 0x00, 0x52, 0x06, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x3b, 0x0a, 0x05, 0x6d, 0x65, 0x64, + 0x69, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, + 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, + 0x61, 0x6d, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x48, 0x00, 0x52, + 0x05, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x12, 0x53, 0x0a, 0x08, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, + 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, + 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x41, 0x73, 0x74, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x48, 0x00, 0x52, 0x08, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x22, 0x65, 0x0a, 0x20, 0x42, 0x61, 0x6d, 0x6c, 0x56, 0x61, 0x6c, 0x75, + 0x61, 0x6c, 0x75, 0x65, 0x22, 0x67, 0x0a, 0x20, 0x42, 0x61, 0x6d, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x41, 0x73, 0x74, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, - 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x12, 0x41, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, - 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, - 0x56, 0x61, 0x6c, 0x75, 0x65, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x41, 0x73, 0x74, 0x53, 0x69, - 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x46, 0x0a, 0x0e, 0x42, - 0x61, 0x6d, 0x6c, 0x54, 0x6f, 0x48, 0x6f, 0x73, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x12, 0x34, 0x0a, - 0x04, 0x61, 0x72, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x62, 0x61, - 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, - 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x6f, 0x48, 0x6f, 0x73, 0x74, 0x41, 0x72, 0x67, 0x52, 0x04, 0x61, - 0x72, 0x67, 0x73, 0x22, 0x8e, 0x01, 0x0a, 0x0d, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x6f, 0x48, 0x6f, - 0x73, 0x74, 0x41, 0x72, 0x67, 0x12, 0x3a, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, - 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x4f, 0x75, 0x74, - 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x72, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x72, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0f, - 0x69, 0x73, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x61, 0x72, 0x67, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 0x73, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, - 0x6c, 0x41, 0x72, 0x67, 0x22, 0xca, 0x01, 0x0a, 0x10, 0x42, 0x61, 0x6d, 0x6c, 0x4c, 0x69, 0x74, - 0x65, 0x72, 0x61, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x73, 0x74, 0x72, - 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, - 0x00, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1d, - 0x0a, 0x09, 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x03, 0x48, 0x00, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, - 0x0a, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x08, 0x48, 0x00, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, - 0x0a, 0x0c, 0x62, 0x69, 0x67, 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x62, 0x69, 0x67, 0x69, 0x6e, 0x74, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x12, 0x21, 0x0a, 0x0b, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x5f, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0a, 0x66, 0x6c, 0x6f, 0x61, - 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x09, 0x0a, 0x07, 0x6c, 0x69, 0x74, 0x65, 0x72, 0x61, - 0x6c, 0x2a, 0x60, 0x0a, 0x0d, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x54, 0x79, 0x70, 0x65, 0x45, 0x6e, - 0x75, 0x6d, 0x12, 0x1a, 0x0a, 0x16, 0x4d, 0x45, 0x44, 0x49, 0x41, 0x5f, 0x54, 0x59, 0x50, 0x45, - 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, - 0x0a, 0x05, 0x49, 0x4d, 0x41, 0x47, 0x45, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x55, 0x44, - 0x49, 0x4f, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x50, 0x44, 0x46, 0x10, 0x03, 0x12, 0x09, 0x0a, - 0x05, 0x56, 0x49, 0x44, 0x45, 0x4f, 0x10, 0x04, 0x12, 0x09, 0x0a, 0x05, 0x4f, 0x54, 0x48, 0x45, - 0x52, 0x10, 0x05, 0x42, 0x08, 0x5a, 0x06, 0x2e, 0x2f, 0x63, 0x66, 0x66, 0x69, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x12, 0x43, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, + 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, + 0x6d, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x41, 0x73, 0x74, + 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x48, 0x0a, + 0x0e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x6f, 0x48, 0x6f, 0x73, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x12, + 0x36, 0x0a, 0x04, 0x61, 0x72, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, + 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, + 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x6f, 0x48, 0x6f, 0x73, 0x74, 0x41, 0x72, + 0x67, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x22, 0x90, 0x01, 0x0a, 0x0d, 0x42, 0x61, 0x6d, 0x6c, + 0x54, 0x6f, 0x48, 0x6f, 0x73, 0x74, 0x41, 0x72, 0x67, 0x12, 0x3c, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, + 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, + 0x61, 0x6d, 0x6c, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x72, 0x67, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x72, 0x67, 0x4e, 0x61, + 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x69, 0x73, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, + 0x6c, 0x5f, 0x61, 0x72, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 0x73, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x41, 0x72, 0x67, 0x22, 0xca, 0x01, 0x0a, 0x10, 0x42, + 0x61, 0x6d, 0x6c, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, + 0x23, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1d, 0x0a, 0x09, 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0a, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x62, 0x69, 0x67, 0x69, 0x6e, 0x74, 0x5f, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x62, 0x69, + 0x67, 0x69, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x21, 0x0a, 0x0b, 0x66, 0x6c, 0x6f, + 0x61, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, + 0x52, 0x0a, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x09, 0x0a, 0x07, + 0x6c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x2a, 0x60, 0x0a, 0x0d, 0x4d, 0x65, 0x64, 0x69, 0x61, + 0x54, 0x79, 0x70, 0x65, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x1a, 0x0a, 0x16, 0x4d, 0x45, 0x44, 0x49, + 0x41, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, + 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x4d, 0x41, 0x47, 0x45, 0x10, 0x01, 0x12, + 0x09, 0x0a, 0x05, 0x41, 0x55, 0x44, 0x49, 0x4f, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x50, 0x44, + 0x46, 0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, 0x56, 0x49, 0x44, 0x45, 0x4f, 0x10, 0x04, 0x12, 0x09, + 0x0a, 0x05, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x10, 0x05, 0x42, 0x08, 0x5a, 0x06, 0x2e, 0x2f, 0x63, + 0x66, 0x66, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_baml_core_cffi_v1_baml_outbound_proto_rawDescOnce sync.Once - file_baml_core_cffi_v1_baml_outbound_proto_rawDescData = file_baml_core_cffi_v1_baml_outbound_proto_rawDesc + file_baml_bridge_cffi_v1_baml_outbound_proto_rawDescOnce sync.Once + file_baml_bridge_cffi_v1_baml_outbound_proto_rawDescData = file_baml_bridge_cffi_v1_baml_outbound_proto_rawDesc ) -func file_baml_core_cffi_v1_baml_outbound_proto_rawDescGZIP() []byte { - file_baml_core_cffi_v1_baml_outbound_proto_rawDescOnce.Do(func() { - file_baml_core_cffi_v1_baml_outbound_proto_rawDescData = protoimpl.X.CompressGZIP(file_baml_core_cffi_v1_baml_outbound_proto_rawDescData) +func file_baml_bridge_cffi_v1_baml_outbound_proto_rawDescGZIP() []byte { + file_baml_bridge_cffi_v1_baml_outbound_proto_rawDescOnce.Do(func() { + file_baml_bridge_cffi_v1_baml_outbound_proto_rawDescData = protoimpl.X.CompressGZIP(file_baml_bridge_cffi_v1_baml_outbound_proto_rawDescData) }) - return file_baml_core_cffi_v1_baml_outbound_proto_rawDescData -} - -var file_baml_core_cffi_v1_baml_outbound_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_baml_core_cffi_v1_baml_outbound_proto_msgTypes = make([]protoimpl.MessageInfo, 21) -var file_baml_core_cffi_v1_baml_outbound_proto_goTypes = []interface{}{ - (MediaTypeEnum)(0), // 0: baml_core.cffi.v1.MediaTypeEnum - (*BamlOutboundResult)(nil), // 1: baml_core.cffi.v1.BamlOutboundResult - (*BamlOutboundError)(nil), // 2: baml_core.cffi.v1.BamlOutboundError - (*BamlOutboundPanic)(nil), // 3: baml_core.cffi.v1.BamlOutboundPanic - (*BamlOutboundValue)(nil), // 4: baml_core.cffi.v1.BamlOutboundValue - (*BamlOutboundHandle)(nil), // 5: baml_core.cffi.v1.BamlOutboundHandle - (*BamlValueNull)(nil), // 6: baml_core.cffi.v1.BamlValueNull - (*BamlValueList)(nil), // 7: baml_core.cffi.v1.BamlValueList - (*BamlOutboundMapEntry)(nil), // 8: baml_core.cffi.v1.BamlOutboundMapEntry - (*BamlValueMap)(nil), // 9: baml_core.cffi.v1.BamlValueMap - (*BamlValueClass)(nil), // 10: baml_core.cffi.v1.BamlValueClass - (*BamlValueEnum)(nil), // 11: baml_core.cffi.v1.BamlValueEnum - (*BamlValueUnionVariant)(nil), // 12: baml_core.cffi.v1.BamlValueUnionVariant - (*BamlValueMedia)(nil), // 13: baml_core.cffi.v1.BamlValueMedia - (*BamlValuePromptAst)(nil), // 14: baml_core.cffi.v1.BamlValuePromptAst - (*BamlValuePromptAstMessage)(nil), // 15: baml_core.cffi.v1.BamlValuePromptAstMessage - (*BamlValuePromptAstMultiple)(nil), // 16: baml_core.cffi.v1.BamlValuePromptAstMultiple - (*BamlValuePromptAstSimple)(nil), // 17: baml_core.cffi.v1.BamlValuePromptAstSimple - (*BamlValuePromptAstSimpleMultiple)(nil), // 18: baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple - (*BamlToHostCall)(nil), // 19: baml_core.cffi.v1.BamlToHostCall - (*BamlToHostArg)(nil), // 20: baml_core.cffi.v1.BamlToHostArg - (*BamlLiteralValue)(nil), // 21: baml_core.cffi.v1.BamlLiteralValue - (*BamlTy)(nil), // 22: baml_core.cffi.v1.BamlTy - (BamlHandleType)(0), // 23: baml_core.cffi.v1.BamlHandleType -} -var file_baml_core_cffi_v1_baml_outbound_proto_depIdxs = []int32{ - 4, // 0: baml_core.cffi.v1.BamlOutboundResult.ok:type_name -> baml_core.cffi.v1.BamlOutboundValue - 2, // 1: baml_core.cffi.v1.BamlOutboundResult.error:type_name -> baml_core.cffi.v1.BamlOutboundError - 3, // 2: baml_core.cffi.v1.BamlOutboundResult.panic:type_name -> baml_core.cffi.v1.BamlOutboundPanic - 4, // 3: baml_core.cffi.v1.BamlOutboundError.value:type_name -> baml_core.cffi.v1.BamlOutboundValue - 4, // 4: baml_core.cffi.v1.BamlOutboundPanic.value:type_name -> baml_core.cffi.v1.BamlOutboundValue - 6, // 5: baml_core.cffi.v1.BamlOutboundValue.null_value:type_name -> baml_core.cffi.v1.BamlValueNull - 10, // 6: baml_core.cffi.v1.BamlOutboundValue.class_value:type_name -> baml_core.cffi.v1.BamlValueClass - 11, // 7: baml_core.cffi.v1.BamlOutboundValue.enum_value:type_name -> baml_core.cffi.v1.BamlValueEnum - 21, // 8: baml_core.cffi.v1.BamlOutboundValue.literal_value:type_name -> baml_core.cffi.v1.BamlLiteralValue - 7, // 9: baml_core.cffi.v1.BamlOutboundValue.list_value:type_name -> baml_core.cffi.v1.BamlValueList - 9, // 10: baml_core.cffi.v1.BamlOutboundValue.map_value:type_name -> baml_core.cffi.v1.BamlValueMap - 12, // 11: baml_core.cffi.v1.BamlOutboundValue.union_variant_value:type_name -> baml_core.cffi.v1.BamlValueUnionVariant - 5, // 12: baml_core.cffi.v1.BamlOutboundValue.handle_value:type_name -> baml_core.cffi.v1.BamlOutboundHandle - 13, // 13: baml_core.cffi.v1.BamlOutboundValue.media_value:type_name -> baml_core.cffi.v1.BamlValueMedia - 14, // 14: baml_core.cffi.v1.BamlOutboundValue.prompt_ast_value:type_name -> baml_core.cffi.v1.BamlValuePromptAst - 22, // 15: baml_core.cffi.v1.BamlOutboundValue.ty_value:type_name -> baml_core.cffi.v1.BamlTy - 23, // 16: baml_core.cffi.v1.BamlOutboundHandle.handle_type:type_name -> baml_core.cffi.v1.BamlHandleType - 22, // 17: baml_core.cffi.v1.BamlOutboundHandle.ty:type_name -> baml_core.cffi.v1.BamlTy - 22, // 18: baml_core.cffi.v1.BamlValueList.item_type:type_name -> baml_core.cffi.v1.BamlTy - 4, // 19: baml_core.cffi.v1.BamlValueList.items:type_name -> baml_core.cffi.v1.BamlOutboundValue - 4, // 20: baml_core.cffi.v1.BamlOutboundMapEntry.value:type_name -> baml_core.cffi.v1.BamlOutboundValue - 22, // 21: baml_core.cffi.v1.BamlValueMap.key_type:type_name -> baml_core.cffi.v1.BamlTy - 22, // 22: baml_core.cffi.v1.BamlValueMap.value_type:type_name -> baml_core.cffi.v1.BamlTy - 8, // 23: baml_core.cffi.v1.BamlValueMap.entries:type_name -> baml_core.cffi.v1.BamlOutboundMapEntry - 8, // 24: baml_core.cffi.v1.BamlValueClass.fields:type_name -> baml_core.cffi.v1.BamlOutboundMapEntry - 22, // 25: baml_core.cffi.v1.BamlValueClass.type_args:type_name -> baml_core.cffi.v1.BamlTy - 22, // 26: baml_core.cffi.v1.BamlValueUnionVariant.self_type:type_name -> baml_core.cffi.v1.BamlTy - 4, // 27: baml_core.cffi.v1.BamlValueUnionVariant.value:type_name -> baml_core.cffi.v1.BamlOutboundValue - 0, // 28: baml_core.cffi.v1.BamlValueMedia.media:type_name -> baml_core.cffi.v1.MediaTypeEnum - 17, // 29: baml_core.cffi.v1.BamlValuePromptAst.simple:type_name -> baml_core.cffi.v1.BamlValuePromptAstSimple - 15, // 30: baml_core.cffi.v1.BamlValuePromptAst.message:type_name -> baml_core.cffi.v1.BamlValuePromptAstMessage - 16, // 31: baml_core.cffi.v1.BamlValuePromptAst.multiple:type_name -> baml_core.cffi.v1.BamlValuePromptAstMultiple - 17, // 32: baml_core.cffi.v1.BamlValuePromptAstMessage.content:type_name -> baml_core.cffi.v1.BamlValuePromptAstSimple - 14, // 33: baml_core.cffi.v1.BamlValuePromptAstMultiple.items:type_name -> baml_core.cffi.v1.BamlValuePromptAst - 13, // 34: baml_core.cffi.v1.BamlValuePromptAstSimple.media:type_name -> baml_core.cffi.v1.BamlValueMedia - 18, // 35: baml_core.cffi.v1.BamlValuePromptAstSimple.multiple:type_name -> baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple - 17, // 36: baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple.items:type_name -> baml_core.cffi.v1.BamlValuePromptAstSimple - 20, // 37: baml_core.cffi.v1.BamlToHostCall.args:type_name -> baml_core.cffi.v1.BamlToHostArg - 4, // 38: baml_core.cffi.v1.BamlToHostArg.value:type_name -> baml_core.cffi.v1.BamlOutboundValue + return file_baml_bridge_cffi_v1_baml_outbound_proto_rawDescData +} + +var file_baml_bridge_cffi_v1_baml_outbound_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes = make([]protoimpl.MessageInfo, 21) +var file_baml_bridge_cffi_v1_baml_outbound_proto_goTypes = []interface{}{ + (MediaTypeEnum)(0), // 0: baml_bridge.cffi.v1.MediaTypeEnum + (*BamlOutboundResult)(nil), // 1: baml_bridge.cffi.v1.BamlOutboundResult + (*BamlOutboundError)(nil), // 2: baml_bridge.cffi.v1.BamlOutboundError + (*BamlOutboundPanic)(nil), // 3: baml_bridge.cffi.v1.BamlOutboundPanic + (*BamlOutboundValue)(nil), // 4: baml_bridge.cffi.v1.BamlOutboundValue + (*BamlOutboundHandle)(nil), // 5: baml_bridge.cffi.v1.BamlOutboundHandle + (*BamlValueNull)(nil), // 6: baml_bridge.cffi.v1.BamlValueNull + (*BamlValueList)(nil), // 7: baml_bridge.cffi.v1.BamlValueList + (*BamlOutboundMapEntry)(nil), // 8: baml_bridge.cffi.v1.BamlOutboundMapEntry + (*BamlValueMap)(nil), // 9: baml_bridge.cffi.v1.BamlValueMap + (*BamlValueClass)(nil), // 10: baml_bridge.cffi.v1.BamlValueClass + (*BamlValueEnum)(nil), // 11: baml_bridge.cffi.v1.BamlValueEnum + (*BamlValueUnionVariant)(nil), // 12: baml_bridge.cffi.v1.BamlValueUnionVariant + (*BamlValueMedia)(nil), // 13: baml_bridge.cffi.v1.BamlValueMedia + (*BamlValuePromptAst)(nil), // 14: baml_bridge.cffi.v1.BamlValuePromptAst + (*BamlValuePromptAstMessage)(nil), // 15: baml_bridge.cffi.v1.BamlValuePromptAstMessage + (*BamlValuePromptAstMultiple)(nil), // 16: baml_bridge.cffi.v1.BamlValuePromptAstMultiple + (*BamlValuePromptAstSimple)(nil), // 17: baml_bridge.cffi.v1.BamlValuePromptAstSimple + (*BamlValuePromptAstSimpleMultiple)(nil), // 18: baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple + (*BamlToHostCall)(nil), // 19: baml_bridge.cffi.v1.BamlToHostCall + (*BamlToHostArg)(nil), // 20: baml_bridge.cffi.v1.BamlToHostArg + (*BamlLiteralValue)(nil), // 21: baml_bridge.cffi.v1.BamlLiteralValue + (*BamlTy)(nil), // 22: baml_bridge.cffi.v1.BamlTy + (BamlHandleType)(0), // 23: baml_bridge.cffi.v1.BamlHandleType +} +var file_baml_bridge_cffi_v1_baml_outbound_proto_depIdxs = []int32{ + 4, // 0: baml_bridge.cffi.v1.BamlOutboundResult.ok:type_name -> baml_bridge.cffi.v1.BamlOutboundValue + 2, // 1: baml_bridge.cffi.v1.BamlOutboundResult.error:type_name -> baml_bridge.cffi.v1.BamlOutboundError + 3, // 2: baml_bridge.cffi.v1.BamlOutboundResult.panic:type_name -> baml_bridge.cffi.v1.BamlOutboundPanic + 4, // 3: baml_bridge.cffi.v1.BamlOutboundError.value:type_name -> baml_bridge.cffi.v1.BamlOutboundValue + 4, // 4: baml_bridge.cffi.v1.BamlOutboundPanic.value:type_name -> baml_bridge.cffi.v1.BamlOutboundValue + 6, // 5: baml_bridge.cffi.v1.BamlOutboundValue.null_value:type_name -> baml_bridge.cffi.v1.BamlValueNull + 10, // 6: baml_bridge.cffi.v1.BamlOutboundValue.class_value:type_name -> baml_bridge.cffi.v1.BamlValueClass + 11, // 7: baml_bridge.cffi.v1.BamlOutboundValue.enum_value:type_name -> baml_bridge.cffi.v1.BamlValueEnum + 21, // 8: baml_bridge.cffi.v1.BamlOutboundValue.literal_value:type_name -> baml_bridge.cffi.v1.BamlLiteralValue + 7, // 9: baml_bridge.cffi.v1.BamlOutboundValue.list_value:type_name -> baml_bridge.cffi.v1.BamlValueList + 9, // 10: baml_bridge.cffi.v1.BamlOutboundValue.map_value:type_name -> baml_bridge.cffi.v1.BamlValueMap + 12, // 11: baml_bridge.cffi.v1.BamlOutboundValue.union_variant_value:type_name -> baml_bridge.cffi.v1.BamlValueUnionVariant + 5, // 12: baml_bridge.cffi.v1.BamlOutboundValue.handle_value:type_name -> baml_bridge.cffi.v1.BamlOutboundHandle + 13, // 13: baml_bridge.cffi.v1.BamlOutboundValue.media_value:type_name -> baml_bridge.cffi.v1.BamlValueMedia + 14, // 14: baml_bridge.cffi.v1.BamlOutboundValue.prompt_ast_value:type_name -> baml_bridge.cffi.v1.BamlValuePromptAst + 22, // 15: baml_bridge.cffi.v1.BamlOutboundValue.ty_value:type_name -> baml_bridge.cffi.v1.BamlTy + 23, // 16: baml_bridge.cffi.v1.BamlOutboundHandle.handle_type:type_name -> baml_bridge.cffi.v1.BamlHandleType + 22, // 17: baml_bridge.cffi.v1.BamlOutboundHandle.ty:type_name -> baml_bridge.cffi.v1.BamlTy + 22, // 18: baml_bridge.cffi.v1.BamlValueList.item_type:type_name -> baml_bridge.cffi.v1.BamlTy + 4, // 19: baml_bridge.cffi.v1.BamlValueList.items:type_name -> baml_bridge.cffi.v1.BamlOutboundValue + 4, // 20: baml_bridge.cffi.v1.BamlOutboundMapEntry.value:type_name -> baml_bridge.cffi.v1.BamlOutboundValue + 22, // 21: baml_bridge.cffi.v1.BamlValueMap.key_type:type_name -> baml_bridge.cffi.v1.BamlTy + 22, // 22: baml_bridge.cffi.v1.BamlValueMap.value_type:type_name -> baml_bridge.cffi.v1.BamlTy + 8, // 23: baml_bridge.cffi.v1.BamlValueMap.entries:type_name -> baml_bridge.cffi.v1.BamlOutboundMapEntry + 8, // 24: baml_bridge.cffi.v1.BamlValueClass.fields:type_name -> baml_bridge.cffi.v1.BamlOutboundMapEntry + 22, // 25: baml_bridge.cffi.v1.BamlValueClass.type_args:type_name -> baml_bridge.cffi.v1.BamlTy + 22, // 26: baml_bridge.cffi.v1.BamlValueUnionVariant.self_type:type_name -> baml_bridge.cffi.v1.BamlTy + 4, // 27: baml_bridge.cffi.v1.BamlValueUnionVariant.value:type_name -> baml_bridge.cffi.v1.BamlOutboundValue + 0, // 28: baml_bridge.cffi.v1.BamlValueMedia.media:type_name -> baml_bridge.cffi.v1.MediaTypeEnum + 17, // 29: baml_bridge.cffi.v1.BamlValuePromptAst.simple:type_name -> baml_bridge.cffi.v1.BamlValuePromptAstSimple + 15, // 30: baml_bridge.cffi.v1.BamlValuePromptAst.message:type_name -> baml_bridge.cffi.v1.BamlValuePromptAstMessage + 16, // 31: baml_bridge.cffi.v1.BamlValuePromptAst.multiple:type_name -> baml_bridge.cffi.v1.BamlValuePromptAstMultiple + 17, // 32: baml_bridge.cffi.v1.BamlValuePromptAstMessage.content:type_name -> baml_bridge.cffi.v1.BamlValuePromptAstSimple + 14, // 33: baml_bridge.cffi.v1.BamlValuePromptAstMultiple.items:type_name -> baml_bridge.cffi.v1.BamlValuePromptAst + 13, // 34: baml_bridge.cffi.v1.BamlValuePromptAstSimple.media:type_name -> baml_bridge.cffi.v1.BamlValueMedia + 18, // 35: baml_bridge.cffi.v1.BamlValuePromptAstSimple.multiple:type_name -> baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple + 17, // 36: baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple.items:type_name -> baml_bridge.cffi.v1.BamlValuePromptAstSimple + 20, // 37: baml_bridge.cffi.v1.BamlToHostCall.args:type_name -> baml_bridge.cffi.v1.BamlToHostArg + 4, // 38: baml_bridge.cffi.v1.BamlToHostArg.value:type_name -> baml_bridge.cffi.v1.BamlOutboundValue 39, // [39:39] is the sub-list for method output_type 39, // [39:39] is the sub-list for method input_type 39, // [39:39] is the sub-list for extension type_name @@ -2202,15 +2207,15 @@ var file_baml_core_cffi_v1_baml_outbound_proto_depIdxs = []int32{ 0, // [0:39] is the sub-list for field type_name } -func init() { file_baml_core_cffi_v1_baml_outbound_proto_init() } -func file_baml_core_cffi_v1_baml_outbound_proto_init() { - if File_baml_core_cffi_v1_baml_outbound_proto != nil { +func init() { file_baml_bridge_cffi_v1_baml_outbound_proto_init() } +func file_baml_bridge_cffi_v1_baml_outbound_proto_init() { + if File_baml_bridge_cffi_v1_baml_outbound_proto != nil { return } - file_baml_core_cffi_v1_baml_handle_proto_init() - file_baml_core_cffi_v1_baml_type_proto_init() + file_baml_bridge_cffi_v1_baml_handle_proto_init() + file_baml_bridge_cffi_v1_baml_type_proto_init() if !protoimpl.UnsafeEnabled { - file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlOutboundResult); i { case 0: return &v.state @@ -2222,7 +2227,7 @@ func file_baml_core_cffi_v1_baml_outbound_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlOutboundError); i { case 0: return &v.state @@ -2234,7 +2239,7 @@ func file_baml_core_cffi_v1_baml_outbound_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlOutboundPanic); i { case 0: return &v.state @@ -2246,7 +2251,7 @@ func file_baml_core_cffi_v1_baml_outbound_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlOutboundValue); i { case 0: return &v.state @@ -2258,7 +2263,7 @@ func file_baml_core_cffi_v1_baml_outbound_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlOutboundHandle); i { case 0: return &v.state @@ -2270,7 +2275,7 @@ func file_baml_core_cffi_v1_baml_outbound_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlValueNull); i { case 0: return &v.state @@ -2282,7 +2287,7 @@ func file_baml_core_cffi_v1_baml_outbound_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlValueList); i { case 0: return &v.state @@ -2294,7 +2299,7 @@ func file_baml_core_cffi_v1_baml_outbound_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlOutboundMapEntry); i { case 0: return &v.state @@ -2306,7 +2311,7 @@ func file_baml_core_cffi_v1_baml_outbound_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlValueMap); i { case 0: return &v.state @@ -2318,7 +2323,7 @@ func file_baml_core_cffi_v1_baml_outbound_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlValueClass); i { case 0: return &v.state @@ -2330,7 +2335,7 @@ func file_baml_core_cffi_v1_baml_outbound_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlValueEnum); i { case 0: return &v.state @@ -2342,7 +2347,7 @@ func file_baml_core_cffi_v1_baml_outbound_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlValueUnionVariant); i { case 0: return &v.state @@ -2354,7 +2359,7 @@ func file_baml_core_cffi_v1_baml_outbound_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlValueMedia); i { case 0: return &v.state @@ -2366,7 +2371,7 @@ func file_baml_core_cffi_v1_baml_outbound_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlValuePromptAst); i { case 0: return &v.state @@ -2378,7 +2383,7 @@ func file_baml_core_cffi_v1_baml_outbound_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlValuePromptAstMessage); i { case 0: return &v.state @@ -2390,7 +2395,7 @@ func file_baml_core_cffi_v1_baml_outbound_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlValuePromptAstMultiple); i { case 0: return &v.state @@ -2402,7 +2407,7 @@ func file_baml_core_cffi_v1_baml_outbound_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlValuePromptAstSimple); i { case 0: return &v.state @@ -2414,7 +2419,7 @@ func file_baml_core_cffi_v1_baml_outbound_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlValuePromptAstSimpleMultiple); i { case 0: return &v.state @@ -2426,7 +2431,7 @@ func file_baml_core_cffi_v1_baml_outbound_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlToHostCall); i { case 0: return &v.state @@ -2438,7 +2443,7 @@ func file_baml_core_cffi_v1_baml_outbound_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlToHostArg); i { case 0: return &v.state @@ -2450,7 +2455,7 @@ func file_baml_core_cffi_v1_baml_outbound_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlLiteralValue); i { case 0: return &v.state @@ -2463,12 +2468,12 @@ func file_baml_core_cffi_v1_baml_outbound_proto_init() { } } } - file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[0].OneofWrappers = []interface{}{ + file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[0].OneofWrappers = []interface{}{ (*BamlOutboundResult_Ok)(nil), (*BamlOutboundResult_Error)(nil), (*BamlOutboundResult_Panic)(nil), } - file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[3].OneofWrappers = []interface{}{ + file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[3].OneofWrappers = []interface{}{ (*BamlOutboundValue_NullValue)(nil), (*BamlOutboundValue_StringValue)(nil), (*BamlOutboundValue_IntValue)(nil), @@ -2487,22 +2492,22 @@ func file_baml_core_cffi_v1_baml_outbound_proto_init() { (*BamlOutboundValue_BigintValue)(nil), (*BamlOutboundValue_TyValue)(nil), } - file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[12].OneofWrappers = []interface{}{ + file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[12].OneofWrappers = []interface{}{ (*BamlValueMedia_Url)(nil), (*BamlValueMedia_Base64)(nil), (*BamlValueMedia_File)(nil), } - file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[13].OneofWrappers = []interface{}{ + file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[13].OneofWrappers = []interface{}{ (*BamlValuePromptAst_Simple)(nil), (*BamlValuePromptAst_Message)(nil), (*BamlValuePromptAst_Multiple)(nil), } - file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[16].OneofWrappers = []interface{}{ + file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[16].OneofWrappers = []interface{}{ (*BamlValuePromptAstSimple_String_)(nil), (*BamlValuePromptAstSimple_Media)(nil), (*BamlValuePromptAstSimple_Multiple)(nil), } - file_baml_core_cffi_v1_baml_outbound_proto_msgTypes[20].OneofWrappers = []interface{}{ + file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes[20].OneofWrappers = []interface{}{ (*BamlLiteralValue_StringValue)(nil), (*BamlLiteralValue_IntValue)(nil), (*BamlLiteralValue_BoolValue)(nil), @@ -2513,19 +2518,19 @@ func file_baml_core_cffi_v1_baml_outbound_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_baml_core_cffi_v1_baml_outbound_proto_rawDesc, + RawDescriptor: file_baml_bridge_cffi_v1_baml_outbound_proto_rawDesc, NumEnums: 1, NumMessages: 21, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_baml_core_cffi_v1_baml_outbound_proto_goTypes, - DependencyIndexes: file_baml_core_cffi_v1_baml_outbound_proto_depIdxs, - EnumInfos: file_baml_core_cffi_v1_baml_outbound_proto_enumTypes, - MessageInfos: file_baml_core_cffi_v1_baml_outbound_proto_msgTypes, + GoTypes: file_baml_bridge_cffi_v1_baml_outbound_proto_goTypes, + DependencyIndexes: file_baml_bridge_cffi_v1_baml_outbound_proto_depIdxs, + EnumInfos: file_baml_bridge_cffi_v1_baml_outbound_proto_enumTypes, + MessageInfos: file_baml_bridge_cffi_v1_baml_outbound_proto_msgTypes, }.Build() - File_baml_core_cffi_v1_baml_outbound_proto = out.File - file_baml_core_cffi_v1_baml_outbound_proto_rawDesc = nil - file_baml_core_cffi_v1_baml_outbound_proto_goTypes = nil - file_baml_core_cffi_v1_baml_outbound_proto_depIdxs = nil + File_baml_bridge_cffi_v1_baml_outbound_proto = out.File + file_baml_bridge_cffi_v1_baml_outbound_proto_rawDesc = nil + file_baml_bridge_cffi_v1_baml_outbound_proto_goTypes = nil + file_baml_bridge_cffi_v1_baml_outbound_proto_depIdxs = nil } diff --git a/baml_language/sdks/go/bridge_go/cffi/proto/baml_core/cffi/v1/baml_type.pb.go b/baml_language/sdks/go/bridge_go/cffi/proto/baml_bridge/cffi/v1/baml_type.pb.go similarity index 62% rename from baml_language/sdks/go/bridge_go/cffi/proto/baml_core/cffi/v1/baml_type.pb.go rename to baml_language/sdks/go/bridge_go/cffi/proto/baml_bridge/cffi/v1/baml_type.pb.go index f15e4de77b4..408359c0f6e 100644 --- a/baml_language/sdks/go/bridge_go/cffi/proto/baml_core/cffi/v1/baml_type.pb.go +++ b/baml_language/sdks/go/bridge_go/cffi/proto/baml_bridge/cffi/v1/baml_type.pb.go @@ -5,7 +5,7 @@ // versions: // protoc-gen-go v1.34.1 // protoc v5.27.1 -// source: baml_core/cffi/v1/baml_type.proto +// source: baml_bridge/cffi/v1/baml_type.proto package cffi @@ -72,11 +72,11 @@ func (x BamlTyPrimitiveKind) String() string { } func (BamlTyPrimitiveKind) Descriptor() protoreflect.EnumDescriptor { - return file_baml_core_cffi_v1_baml_type_proto_enumTypes[0].Descriptor() + return file_baml_bridge_cffi_v1_baml_type_proto_enumTypes[0].Descriptor() } func (BamlTyPrimitiveKind) Type() protoreflect.EnumType { - return &file_baml_core_cffi_v1_baml_type_proto_enumTypes[0] + return &file_baml_bridge_cffi_v1_baml_type_proto_enumTypes[0] } func (x BamlTyPrimitiveKind) Number() protoreflect.EnumNumber { @@ -85,7 +85,7 @@ func (x BamlTyPrimitiveKind) Number() protoreflect.EnumNumber { // Deprecated: Use BamlTyPrimitiveKind.Descriptor instead. func (BamlTyPrimitiveKind) EnumDescriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_type_proto_rawDescGZIP(), []int{0} + return file_baml_bridge_cffi_v1_baml_type_proto_rawDescGZIP(), []int{0} } // Media kinds, mirroring `baml_base::MediaKind`. @@ -131,11 +131,11 @@ func (x BamlTyMediaKind) String() string { } func (BamlTyMediaKind) Descriptor() protoreflect.EnumDescriptor { - return file_baml_core_cffi_v1_baml_type_proto_enumTypes[1].Descriptor() + return file_baml_bridge_cffi_v1_baml_type_proto_enumTypes[1].Descriptor() } func (BamlTyMediaKind) Type() protoreflect.EnumType { - return &file_baml_core_cffi_v1_baml_type_proto_enumTypes[1] + return &file_baml_bridge_cffi_v1_baml_type_proto_enumTypes[1] } func (x BamlTyMediaKind) Number() protoreflect.EnumNumber { @@ -144,7 +144,7 @@ func (x BamlTyMediaKind) Number() protoreflect.EnumNumber { // Deprecated: Use BamlTyMediaKind.Descriptor instead. func (BamlTyMediaKind) EnumDescriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_type_proto_rawDescGZIP(), []int{1} + return file_baml_bridge_cffi_v1_baml_type_proto_rawDescGZIP(), []int{1} } // Param-passing mode, mirroring `baml_type::FunctionParamMode`. @@ -181,11 +181,11 @@ func (x BamlTyFunctionParamMode) String() string { } func (BamlTyFunctionParamMode) Descriptor() protoreflect.EnumDescriptor { - return file_baml_core_cffi_v1_baml_type_proto_enumTypes[2].Descriptor() + return file_baml_bridge_cffi_v1_baml_type_proto_enumTypes[2].Descriptor() } func (BamlTyFunctionParamMode) Type() protoreflect.EnumType { - return &file_baml_core_cffi_v1_baml_type_proto_enumTypes[2] + return &file_baml_bridge_cffi_v1_baml_type_proto_enumTypes[2] } func (x BamlTyFunctionParamMode) Number() protoreflect.EnumNumber { @@ -194,7 +194,7 @@ func (x BamlTyFunctionParamMode) Number() protoreflect.EnumNumber { // Deprecated: Use BamlTyFunctionParamMode.Descriptor instead. func (BamlTyFunctionParamMode) EnumDescriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_type_proto_rawDescGZIP(), []int{2} + return file_baml_bridge_cffi_v1_baml_type_proto_rawDescGZIP(), []int{2} } // The wire representation of BAML types, 1:1 with RuntimeTy. @@ -239,7 +239,7 @@ type BamlTy struct { func (x *BamlTy) Reset() { *x = BamlTy{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[0] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -252,7 +252,7 @@ func (x *BamlTy) String() string { func (*BamlTy) ProtoMessage() {} func (x *BamlTy) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[0] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -265,7 +265,7 @@ func (x *BamlTy) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlTy.ProtoReflect.Descriptor instead. func (*BamlTy) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_type_proto_rawDescGZIP(), []int{0} + return file_baml_bridge_cffi_v1_baml_type_proto_rawDescGZIP(), []int{0} } func (m *BamlTy) GetTy() isBamlTy_Ty { @@ -601,13 +601,13 @@ type BamlTyPrimitive struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Kind BamlTyPrimitiveKind `protobuf:"varint,1,opt,name=kind,proto3,enum=baml_core.cffi.v1.BamlTyPrimitiveKind" json:"kind,omitempty"` + Kind BamlTyPrimitiveKind `protobuf:"varint,1,opt,name=kind,proto3,enum=baml_bridge.cffi.v1.BamlTyPrimitiveKind" json:"kind,omitempty"` } func (x *BamlTyPrimitive) Reset() { *x = BamlTyPrimitive{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[1] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -620,7 +620,7 @@ func (x *BamlTyPrimitive) String() string { func (*BamlTyPrimitive) ProtoMessage() {} func (x *BamlTyPrimitive) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[1] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -633,7 +633,7 @@ func (x *BamlTyPrimitive) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlTyPrimitive.ProtoReflect.Descriptor instead. func (*BamlTyPrimitive) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_type_proto_rawDescGZIP(), []int{1} + return file_baml_bridge_cffi_v1_baml_type_proto_rawDescGZIP(), []int{1} } func (x *BamlTyPrimitive) GetKind() BamlTyPrimitiveKind { @@ -657,7 +657,7 @@ type BamlTyClass struct { func (x *BamlTyClass) Reset() { *x = BamlTyClass{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[2] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -670,7 +670,7 @@ func (x *BamlTyClass) String() string { func (*BamlTyClass) ProtoMessage() {} func (x *BamlTyClass) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[2] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -683,7 +683,7 @@ func (x *BamlTyClass) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlTyClass.ProtoReflect.Descriptor instead. func (*BamlTyClass) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_type_proto_rawDescGZIP(), []int{2} + return file_baml_bridge_cffi_v1_baml_type_proto_rawDescGZIP(), []int{2} } func (x *BamlTyClass) GetName() string { @@ -714,7 +714,7 @@ type BamlTyTypeAlias struct { func (x *BamlTyTypeAlias) Reset() { *x = BamlTyTypeAlias{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[3] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -727,7 +727,7 @@ func (x *BamlTyTypeAlias) String() string { func (*BamlTyTypeAlias) ProtoMessage() {} func (x *BamlTyTypeAlias) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[3] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -740,7 +740,7 @@ func (x *BamlTyTypeAlias) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlTyTypeAlias.ProtoReflect.Descriptor instead. func (*BamlTyTypeAlias) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_type_proto_rawDescGZIP(), []int{3} + return file_baml_bridge_cffi_v1_baml_type_proto_rawDescGZIP(), []int{3} } func (x *BamlTyTypeAlias) GetName() string { @@ -768,7 +768,7 @@ type BamlTyEnum struct { func (x *BamlTyEnum) Reset() { *x = BamlTyEnum{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[4] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -781,7 +781,7 @@ func (x *BamlTyEnum) String() string { func (*BamlTyEnum) ProtoMessage() {} func (x *BamlTyEnum) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[4] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -794,7 +794,7 @@ func (x *BamlTyEnum) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlTyEnum.ProtoReflect.Descriptor instead. func (*BamlTyEnum) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_type_proto_rawDescGZIP(), []int{4} + return file_baml_bridge_cffi_v1_baml_type_proto_rawDescGZIP(), []int{4} } func (x *BamlTyEnum) GetName() string { @@ -815,7 +815,7 @@ type BamlTyList struct { func (x *BamlTyList) Reset() { *x = BamlTyList{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[5] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -828,7 +828,7 @@ func (x *BamlTyList) String() string { func (*BamlTyList) ProtoMessage() {} func (x *BamlTyList) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[5] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -841,7 +841,7 @@ func (x *BamlTyList) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlTyList.ProtoReflect.Descriptor instead. func (*BamlTyList) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_type_proto_rawDescGZIP(), []int{5} + return file_baml_bridge_cffi_v1_baml_type_proto_rawDescGZIP(), []int{5} } func (x *BamlTyList) GetItem() *BamlTy { @@ -863,7 +863,7 @@ type BamlTyMap struct { func (x *BamlTyMap) Reset() { *x = BamlTyMap{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[6] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -876,7 +876,7 @@ func (x *BamlTyMap) String() string { func (*BamlTyMap) ProtoMessage() {} func (x *BamlTyMap) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[6] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -889,7 +889,7 @@ func (x *BamlTyMap) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlTyMap.ProtoReflect.Descriptor instead. func (*BamlTyMap) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_type_proto_rawDescGZIP(), []int{6} + return file_baml_bridge_cffi_v1_baml_type_proto_rawDescGZIP(), []int{6} } func (x *BamlTyMap) GetKey() *BamlTy { @@ -917,7 +917,7 @@ type BamlTyOptional struct { func (x *BamlTyOptional) Reset() { *x = BamlTyOptional{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[7] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -930,7 +930,7 @@ func (x *BamlTyOptional) String() string { func (*BamlTyOptional) ProtoMessage() {} func (x *BamlTyOptional) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[7] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -943,7 +943,7 @@ func (x *BamlTyOptional) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlTyOptional.ProtoReflect.Descriptor instead. func (*BamlTyOptional) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_type_proto_rawDescGZIP(), []int{7} + return file_baml_bridge_cffi_v1_baml_type_proto_rawDescGZIP(), []int{7} } func (x *BamlTyOptional) GetInner() *BamlTy { @@ -964,7 +964,7 @@ type BamlTyUnion struct { func (x *BamlTyUnion) Reset() { *x = BamlTyUnion{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[8] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -977,7 +977,7 @@ func (x *BamlTyUnion) String() string { func (*BamlTyUnion) ProtoMessage() {} func (x *BamlTyUnion) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[8] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -990,7 +990,7 @@ func (x *BamlTyUnion) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlTyUnion.ProtoReflect.Descriptor instead. func (*BamlTyUnion) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_type_proto_rawDescGZIP(), []int{8} + return file_baml_bridge_cffi_v1_baml_type_proto_rawDescGZIP(), []int{8} } func (x *BamlTyUnion) GetOptions() []*BamlTy { @@ -1009,7 +1009,7 @@ type BamlTyUnknown struct { func (x *BamlTyUnknown) Reset() { *x = BamlTyUnknown{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[9] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1022,7 +1022,7 @@ func (x *BamlTyUnknown) String() string { func (*BamlTyUnknown) ProtoMessage() {} func (x *BamlTyUnknown) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[9] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1035,7 +1035,7 @@ func (x *BamlTyUnknown) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlTyUnknown.ProtoReflect.Descriptor instead. func (*BamlTyUnknown) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_type_proto_rawDescGZIP(), []int{9} + return file_baml_bridge_cffi_v1_baml_type_proto_rawDescGZIP(), []int{9} } // Mirrors `baml_base::Literal`. `bigint_value` and `float_value` are decimal @@ -1060,7 +1060,7 @@ type BamlTyLiteral struct { func (x *BamlTyLiteral) Reset() { *x = BamlTyLiteral{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[10] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1073,7 +1073,7 @@ func (x *BamlTyLiteral) String() string { func (*BamlTyLiteral) ProtoMessage() {} func (x *BamlTyLiteral) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[10] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1086,7 +1086,7 @@ func (x *BamlTyLiteral) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlTyLiteral.ProtoReflect.Descriptor instead. func (*BamlTyLiteral) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_type_proto_rawDescGZIP(), []int{10} + return file_baml_bridge_cffi_v1_baml_type_proto_rawDescGZIP(), []int{10} } func (m *BamlTyLiteral) GetLiteral() isBamlTyLiteral_Literal { @@ -1171,13 +1171,13 @@ type BamlTyMedia struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Kind BamlTyMediaKind `protobuf:"varint,1,opt,name=kind,proto3,enum=baml_core.cffi.v1.BamlTyMediaKind" json:"kind,omitempty"` + Kind BamlTyMediaKind `protobuf:"varint,1,opt,name=kind,proto3,enum=baml_bridge.cffi.v1.BamlTyMediaKind" json:"kind,omitempty"` } func (x *BamlTyMedia) Reset() { *x = BamlTyMedia{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[11] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1190,7 +1190,7 @@ func (x *BamlTyMedia) String() string { func (*BamlTyMedia) ProtoMessage() {} func (x *BamlTyMedia) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[11] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1203,7 +1203,7 @@ func (x *BamlTyMedia) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlTyMedia.ProtoReflect.Descriptor instead. func (*BamlTyMedia) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_type_proto_rawDescGZIP(), []int{11} + return file_baml_bridge_cffi_v1_baml_type_proto_rawDescGZIP(), []int{11} } func (x *BamlTyMedia) GetKind() BamlTyMediaKind { @@ -1229,7 +1229,7 @@ type BamlTyInterface struct { func (x *BamlTyInterface) Reset() { *x = BamlTyInterface{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[12] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1242,7 +1242,7 @@ func (x *BamlTyInterface) String() string { func (*BamlTyInterface) ProtoMessage() {} func (x *BamlTyInterface) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[12] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1255,7 +1255,7 @@ func (x *BamlTyInterface) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlTyInterface.ProtoReflect.Descriptor instead. func (*BamlTyInterface) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_type_proto_rawDescGZIP(), []int{12} + return file_baml_bridge_cffi_v1_baml_type_proto_rawDescGZIP(), []int{12} } func (x *BamlTyInterface) GetName() string { @@ -1292,7 +1292,7 @@ type BamlTyAssociatedBinding struct { func (x *BamlTyAssociatedBinding) Reset() { *x = BamlTyAssociatedBinding{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[13] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1305,7 +1305,7 @@ func (x *BamlTyAssociatedBinding) String() string { func (*BamlTyAssociatedBinding) ProtoMessage() {} func (x *BamlTyAssociatedBinding) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[13] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1318,7 +1318,7 @@ func (x *BamlTyAssociatedBinding) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlTyAssociatedBinding.ProtoReflect.Descriptor instead. func (*BamlTyAssociatedBinding) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_type_proto_rawDescGZIP(), []int{13} + return file_baml_bridge_cffi_v1_baml_type_proto_rawDescGZIP(), []int{13} } func (x *BamlTyAssociatedBinding) GetName() string { @@ -1349,7 +1349,7 @@ type BamlTyEnumVariant struct { func (x *BamlTyEnumVariant) Reset() { *x = BamlTyEnumVariant{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[14] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1362,7 +1362,7 @@ func (x *BamlTyEnumVariant) String() string { func (*BamlTyEnumVariant) ProtoMessage() {} func (x *BamlTyEnumVariant) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[14] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1375,7 +1375,7 @@ func (x *BamlTyEnumVariant) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlTyEnumVariant.ProtoReflect.Descriptor instead. func (*BamlTyEnumVariant) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_type_proto_rawDescGZIP(), []int{14} + return file_baml_bridge_cffi_v1_baml_type_proto_rawDescGZIP(), []int{14} } func (x *BamlTyEnumVariant) GetName() string { @@ -1401,13 +1401,13 @@ type BamlTyFunctionParam struct { Name *string `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"` Ty *BamlTy `protobuf:"bytes,2,opt,name=ty,proto3" json:"ty,omitempty"` - Mode BamlTyFunctionParamMode `protobuf:"varint,3,opt,name=mode,proto3,enum=baml_core.cffi.v1.BamlTyFunctionParamMode" json:"mode,omitempty"` + Mode BamlTyFunctionParamMode `protobuf:"varint,3,opt,name=mode,proto3,enum=baml_bridge.cffi.v1.BamlTyFunctionParamMode" json:"mode,omitempty"` } func (x *BamlTyFunctionParam) Reset() { *x = BamlTyFunctionParam{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[15] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1420,7 +1420,7 @@ func (x *BamlTyFunctionParam) String() string { func (*BamlTyFunctionParam) ProtoMessage() {} func (x *BamlTyFunctionParam) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[15] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1433,7 +1433,7 @@ func (x *BamlTyFunctionParam) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlTyFunctionParam.ProtoReflect.Descriptor instead. func (*BamlTyFunctionParam) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_type_proto_rawDescGZIP(), []int{15} + return file_baml_bridge_cffi_v1_baml_type_proto_rawDescGZIP(), []int{15} } func (x *BamlTyFunctionParam) GetName() string { @@ -1473,7 +1473,7 @@ type BamlTyFunction struct { func (x *BamlTyFunction) Reset() { *x = BamlTyFunction{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[16] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1486,7 +1486,7 @@ func (x *BamlTyFunction) String() string { func (*BamlTyFunction) ProtoMessage() {} func (x *BamlTyFunction) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[16] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1499,7 +1499,7 @@ func (x *BamlTyFunction) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlTyFunction.ProtoReflect.Descriptor instead. func (*BamlTyFunction) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_type_proto_rawDescGZIP(), []int{16} + return file_baml_bridge_cffi_v1_baml_type_proto_rawDescGZIP(), []int{16} } func (x *BamlTyFunction) GetGenericParams() []string { @@ -1544,7 +1544,7 @@ type BamlTyFuture struct { func (x *BamlTyFuture) Reset() { *x = BamlTyFuture{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[17] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1557,7 +1557,7 @@ func (x *BamlTyFuture) String() string { func (*BamlTyFuture) ProtoMessage() {} func (x *BamlTyFuture) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[17] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1570,7 +1570,7 @@ func (x *BamlTyFuture) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlTyFuture.ProtoReflect.Descriptor instead. func (*BamlTyFuture) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_type_proto_rawDescGZIP(), []int{17} + return file_baml_bridge_cffi_v1_baml_type_proto_rawDescGZIP(), []int{17} } func (x *BamlTyFuture) GetValue() *BamlTy { @@ -1597,7 +1597,7 @@ type BamlTyRustType struct { func (x *BamlTyRustType) Reset() { *x = BamlTyRustType{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[18] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1610,7 +1610,7 @@ func (x *BamlTyRustType) String() string { func (*BamlTyRustType) ProtoMessage() {} func (x *BamlTyRustType) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[18] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1623,7 +1623,7 @@ func (x *BamlTyRustType) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlTyRustType.ProtoReflect.Descriptor instead. func (*BamlTyRustType) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_type_proto_rawDescGZIP(), []int{18} + return file_baml_bridge_cffi_v1_baml_type_proto_rawDescGZIP(), []int{18} } // The `type` metatype — a runtime value wrapping a `BamlTy` (`RuntimeTy::Type`). @@ -1636,7 +1636,7 @@ type BamlTyMetaType struct { func (x *BamlTyMetaType) Reset() { *x = BamlTyMetaType{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[19] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1649,7 +1649,7 @@ func (x *BamlTyMetaType) String() string { func (*BamlTyMetaType) ProtoMessage() {} func (x *BamlTyMetaType) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[19] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1662,7 +1662,7 @@ func (x *BamlTyMetaType) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlTyMetaType.ProtoReflect.Descriptor instead. func (*BamlTyMetaType) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_type_proto_rawDescGZIP(), []int{19} + return file_baml_bridge_cffi_v1_baml_type_proto_rawDescGZIP(), []int{19} } // Opaque resource handle: file, socket, or HTTP response body @@ -1676,7 +1676,7 @@ type BamlTyResource struct { func (x *BamlTyResource) Reset() { *x = BamlTyResource{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[20] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1689,7 +1689,7 @@ func (x *BamlTyResource) String() string { func (*BamlTyResource) ProtoMessage() {} func (x *BamlTyResource) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[20] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1702,7 +1702,7 @@ func (x *BamlTyResource) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlTyResource.ProtoReflect.Descriptor instead. func (*BamlTyResource) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_type_proto_rawDescGZIP(), []int{20} + return file_baml_bridge_cffi_v1_baml_type_proto_rawDescGZIP(), []int{20} } // Opaque structured prompt tree for LLM calls (`RuntimeTy::PromptAst`). @@ -1715,7 +1715,7 @@ type BamlTyPromptAst struct { func (x *BamlTyPromptAst) Reset() { *x = BamlTyPromptAst{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[21] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1728,7 +1728,7 @@ func (x *BamlTyPromptAst) String() string { func (*BamlTyPromptAst) ProtoMessage() {} func (x *BamlTyPromptAst) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[21] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1741,7 +1741,7 @@ func (x *BamlTyPromptAst) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlTyPromptAst.ProtoReflect.Descriptor instead. func (*BamlTyPromptAst) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_type_proto_rawDescGZIP(), []int{21} + return file_baml_bridge_cffi_v1_baml_type_proto_rawDescGZIP(), []int{21} } // The void type — the type of effectful expressions (`RuntimeTy::Void`). @@ -1754,7 +1754,7 @@ type BamlTyVoid struct { func (x *BamlTyVoid) Reset() { *x = BamlTyVoid{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[22] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1767,7 +1767,7 @@ func (x *BamlTyVoid) String() string { func (*BamlTyVoid) ProtoMessage() {} func (x *BamlTyVoid) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[22] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1780,7 +1780,7 @@ func (x *BamlTyVoid) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlTyVoid.ProtoReflect.Descriptor instead. func (*BamlTyVoid) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_type_proto_rawDescGZIP(), []int{22} + return file_baml_bridge_cffi_v1_baml_type_proto_rawDescGZIP(), []int{22} } // Watch accessor for `x.$watch` on a watched variable @@ -1796,7 +1796,7 @@ type BamlTyWatchAccessor struct { func (x *BamlTyWatchAccessor) Reset() { *x = BamlTyWatchAccessor{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[23] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1809,7 +1809,7 @@ func (x *BamlTyWatchAccessor) String() string { func (*BamlTyWatchAccessor) ProtoMessage() {} func (x *BamlTyWatchAccessor) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[23] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1822,7 +1822,7 @@ func (x *BamlTyWatchAccessor) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlTyWatchAccessor.ProtoReflect.Descriptor instead. func (*BamlTyWatchAccessor) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_type_proto_rawDescGZIP(), []int{23} + return file_baml_bridge_cffi_v1_baml_type_proto_rawDescGZIP(), []int{23} } func (x *BamlTyWatchAccessor) GetInner() *BamlTy { @@ -1845,7 +1845,7 @@ type BamlTyTypeVar struct { func (x *BamlTyTypeVar) Reset() { *x = BamlTyTypeVar{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[24] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1858,7 +1858,7 @@ func (x *BamlTyTypeVar) String() string { func (*BamlTyTypeVar) ProtoMessage() {} func (x *BamlTyTypeVar) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[24] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1871,7 +1871,7 @@ func (x *BamlTyTypeVar) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlTyTypeVar.ProtoReflect.Descriptor instead. func (*BamlTyTypeVar) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_type_proto_rawDescGZIP(), []int{24} + return file_baml_bridge_cffi_v1_baml_type_proto_rawDescGZIP(), []int{24} } func (x *BamlTyTypeVar) GetName() string { @@ -1897,7 +1897,7 @@ type BamlTyAssociatedTypeProjection struct { func (x *BamlTyAssociatedTypeProjection) Reset() { *x = BamlTyAssociatedTypeProjection{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[25] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1910,7 +1910,7 @@ func (x *BamlTyAssociatedTypeProjection) String() string { func (*BamlTyAssociatedTypeProjection) ProtoMessage() {} func (x *BamlTyAssociatedTypeProjection) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[25] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1923,7 +1923,7 @@ func (x *BamlTyAssociatedTypeProjection) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlTyAssociatedTypeProjection.ProtoReflect.Descriptor instead. func (*BamlTyAssociatedTypeProjection) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_type_proto_rawDescGZIP(), []int{25} + return file_baml_bridge_cffi_v1_baml_type_proto_rawDescGZIP(), []int{25} } func (x *BamlTyAssociatedTypeProjection) GetBase() *BamlTy { @@ -1958,7 +1958,7 @@ type BamlTyNever struct { func (x *BamlTyNever) Reset() { *x = BamlTyNever{} if protoimpl.UnsafeEnabled { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[26] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1971,7 +1971,7 @@ func (x *BamlTyNever) String() string { func (*BamlTyNever) ProtoMessage() {} func (x *BamlTyNever) ProtoReflect() protoreflect.Message { - mi := &file_baml_core_cffi_v1_baml_type_proto_msgTypes[26] + mi := &file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1984,241 +1984,247 @@ func (x *BamlTyNever) ProtoReflect() protoreflect.Message { // Deprecated: Use BamlTyNever.ProtoReflect.Descriptor instead. func (*BamlTyNever) Descriptor() ([]byte, []int) { - return file_baml_core_cffi_v1_baml_type_proto_rawDescGZIP(), []int{26} -} - -var File_baml_core_cffi_v1_baml_type_proto protoreflect.FileDescriptor - -var file_baml_core_cffi_v1_baml_type_proto_rawDesc = []byte{ - 0x0a, 0x21, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x66, 0x66, 0x69, - 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, - 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x22, 0xa2, 0x0c, 0x0a, 0x06, 0x42, 0x61, 0x6d, 0x6c, 0x54, - 0x79, 0x12, 0x42, 0x0a, 0x09, 0x70, 0x72, 0x69, 0x6d, 0x69, 0x74, 0x69, 0x76, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, - 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x50, - 0x72, 0x69, 0x6d, 0x69, 0x74, 0x69, 0x76, 0x65, 0x48, 0x00, 0x52, 0x09, 0x70, 0x72, 0x69, 0x6d, - 0x69, 0x74, 0x69, 0x76, 0x65, 0x12, 0x3b, 0x0a, 0x08, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x5f, 0x74, - 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, - 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, - 0x54, 0x79, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x48, 0x00, 0x52, 0x07, 0x63, 0x6c, 0x61, 0x73, 0x73, - 0x54, 0x79, 0x12, 0x33, 0x0a, 0x04, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1d, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, - 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x45, 0x6e, 0x75, 0x6d, 0x48, - 0x00, 0x52, 0x04, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x33, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, - 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, - 0x4c, 0x69, 0x73, 0x74, 0x48, 0x00, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x03, - 0x6d, 0x61, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x61, 0x6d, 0x6c, - 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, - 0x6d, 0x6c, 0x54, 0x79, 0x4d, 0x61, 0x70, 0x48, 0x00, 0x52, 0x03, 0x6d, 0x61, 0x70, 0x12, 0x3f, - 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x21, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, + return file_baml_bridge_cffi_v1_baml_type_proto_rawDescGZIP(), []int{26} +} + +var File_baml_bridge_cffi_v1_baml_type_proto protoreflect.FileDescriptor + +var file_baml_bridge_cffi_v1_baml_type_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2f, 0x63, 0x66, + 0x66, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, + 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x22, 0xd2, 0x0c, 0x0a, 0x06, 0x42, + 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x12, 0x44, 0x0a, 0x09, 0x70, 0x72, 0x69, 0x6d, 0x69, 0x74, 0x69, + 0x76, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, + 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, + 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x50, 0x72, 0x69, 0x6d, 0x69, 0x74, 0x69, 0x76, 0x65, 0x48, 0x00, + 0x52, 0x09, 0x70, 0x72, 0x69, 0x6d, 0x69, 0x74, 0x69, 0x76, 0x65, 0x12, 0x3d, 0x0a, 0x08, 0x63, + 0x6c, 0x61, 0x73, 0x73, 0x5f, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, + 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, + 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x48, + 0x00, 0x52, 0x07, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x54, 0x79, 0x12, 0x35, 0x0a, 0x04, 0x65, 0x6e, + 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, + 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, + 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x45, 0x6e, 0x75, 0x6d, 0x48, 0x00, 0x52, 0x04, 0x65, 0x6e, 0x75, + 0x6d, 0x12, 0x35, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1f, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, + 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x4c, 0x69, 0x73, 0x74, + 0x48, 0x00, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x03, 0x6d, 0x61, 0x70, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, + 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, + 0x54, 0x79, 0x4d, 0x61, 0x70, 0x48, 0x00, 0x52, 0x03, 0x6d, 0x61, 0x70, 0x12, 0x41, 0x0a, 0x08, + 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, + 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x48, 0x00, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x12, - 0x36, 0x0a, 0x05, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, - 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, - 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x48, 0x00, - 0x52, 0x05, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x12, 0x3c, 0x0a, 0x07, 0x6c, 0x69, 0x74, 0x65, 0x72, - 0x61, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, - 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, - 0x6c, 0x54, 0x79, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x48, 0x00, 0x52, 0x07, 0x6c, 0x69, - 0x74, 0x65, 0x72, 0x61, 0x6c, 0x12, 0x43, 0x0a, 0x0a, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x61, 0x6c, - 0x69, 0x61, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x61, 0x6d, 0x6c, - 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, - 0x6d, 0x6c, 0x54, 0x79, 0x54, 0x79, 0x70, 0x65, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x48, 0x00, 0x52, - 0x09, 0x74, 0x79, 0x70, 0x65, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x3c, 0x0a, 0x07, 0x75, 0x6e, - 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x62, 0x61, - 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, - 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x48, 0x00, 0x52, - 0x07, 0x75, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x12, 0x36, 0x0a, 0x05, 0x6d, 0x65, 0x64, 0x69, - 0x61, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, - 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, - 0x54, 0x79, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x48, 0x00, 0x52, 0x05, 0x6d, 0x65, 0x64, 0x69, 0x61, - 0x12, 0x42, 0x0a, 0x09, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x18, 0x0c, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, - 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x49, 0x6e, - 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x48, 0x00, 0x52, 0x09, 0x69, 0x6e, 0x74, 0x65, 0x72, - 0x66, 0x61, 0x63, 0x65, 0x12, 0x49, 0x0a, 0x0c, 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x76, 0x61, 0x72, - 0x69, 0x61, 0x6e, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x62, 0x61, 0x6d, - 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, - 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x45, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, - 0x48, 0x00, 0x52, 0x0b, 0x65, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, - 0x3f, 0x0a, 0x08, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, + 0x38, 0x0a, 0x05, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, + 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, + 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x55, 0x6e, 0x69, 0x6f, 0x6e, + 0x48, 0x00, 0x52, 0x05, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x12, 0x3e, 0x0a, 0x07, 0x6c, 0x69, 0x74, + 0x65, 0x72, 0x61, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x61, 0x6d, + 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, + 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x48, 0x00, + 0x52, 0x07, 0x6c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x12, 0x45, 0x0a, 0x0a, 0x74, 0x79, 0x70, + 0x65, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, + 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, + 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x54, 0x79, 0x70, 0x65, 0x41, 0x6c, + 0x69, 0x61, 0x73, 0x48, 0x00, 0x52, 0x09, 0x74, 0x79, 0x70, 0x65, 0x41, 0x6c, 0x69, 0x61, 0x73, + 0x12, 0x3e, 0x0a, 0x07, 0x75, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, + 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x55, 0x6e, + 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x48, 0x00, 0x52, 0x07, 0x75, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, + 0x12, 0x38, 0x0a, 0x05, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x20, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, + 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x4d, 0x65, 0x64, 0x69, + 0x61, 0x48, 0x00, 0x52, 0x05, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x12, 0x44, 0x0a, 0x09, 0x69, 0x6e, + 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, + 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, + 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, + 0x61, 0x63, 0x65, 0x48, 0x00, 0x52, 0x09, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, + 0x12, 0x4b, 0x0a, 0x0c, 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, + 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, + 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, + 0x6c, 0x54, 0x79, 0x45, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x48, 0x00, + 0x52, 0x0b, 0x65, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x41, 0x0a, + 0x08, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x23, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x08, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x39, 0x0a, 0x06, 0x66, 0x75, 0x74, 0x75, 0x72, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1f, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, - 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x46, 0x75, 0x74, 0x75, 0x72, - 0x65, 0x48, 0x00, 0x52, 0x06, 0x66, 0x75, 0x74, 0x75, 0x72, 0x65, 0x12, 0x40, 0x0a, 0x09, 0x72, - 0x75, 0x73, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, - 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, - 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x52, 0x75, 0x73, 0x74, 0x54, 0x79, 0x70, - 0x65, 0x48, 0x00, 0x52, 0x08, 0x72, 0x75, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x40, 0x0a, - 0x09, 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x21, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, - 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x54, - 0x79, 0x70, 0x65, 0x48, 0x00, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, - 0x3f, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, - 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x52, 0x65, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x48, 0x00, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x12, 0x43, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x5f, 0x61, 0x73, 0x74, 0x18, 0x13, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, - 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x50, - 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x41, 0x73, 0x74, 0x48, 0x00, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6d, - 0x70, 0x74, 0x41, 0x73, 0x74, 0x12, 0x33, 0x0a, 0x04, 0x76, 0x6f, 0x69, 0x64, 0x18, 0x14, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, - 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x56, 0x6f, - 0x69, 0x64, 0x48, 0x00, 0x52, 0x04, 0x76, 0x6f, 0x69, 0x64, 0x12, 0x4f, 0x0a, 0x0e, 0x77, 0x61, - 0x74, 0x63, 0x68, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x18, 0x15, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, - 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x57, 0x61, 0x74, - 0x63, 0x68, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x0d, 0x77, 0x61, - 0x74, 0x63, 0x68, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x12, 0x3d, 0x0a, 0x08, 0x74, - 0x79, 0x70, 0x65, 0x5f, 0x76, 0x61, 0x72, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, - 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, + 0x12, 0x3b, 0x0a, 0x06, 0x66, 0x75, 0x74, 0x75, 0x72, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x21, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, + 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x46, 0x75, 0x74, + 0x75, 0x72, 0x65, 0x48, 0x00, 0x52, 0x06, 0x66, 0x75, 0x74, 0x75, 0x72, 0x65, 0x12, 0x42, 0x0a, + 0x09, 0x72, 0x75, 0x73, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x23, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, + 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x52, 0x75, 0x73, + 0x74, 0x54, 0x79, 0x70, 0x65, 0x48, 0x00, 0x52, 0x08, 0x72, 0x75, 0x73, 0x74, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x42, 0x0a, 0x09, 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x11, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, + 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, + 0x79, 0x4d, 0x65, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x48, 0x00, 0x52, 0x08, 0x6d, 0x65, 0x74, + 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x41, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, + 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, + 0x6d, 0x6c, 0x54, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x00, 0x52, 0x08, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x45, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6d, + 0x70, 0x74, 0x5f, 0x61, 0x73, 0x74, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x62, + 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, + 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x41, + 0x73, 0x74, 0x48, 0x00, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x41, 0x73, 0x74, 0x12, + 0x35, 0x0a, 0x04, 0x76, 0x6f, 0x69, 0x64, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, + 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, + 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x56, 0x6f, 0x69, 0x64, 0x48, 0x00, + 0x52, 0x04, 0x76, 0x6f, 0x69, 0x64, 0x12, 0x51, 0x0a, 0x0e, 0x77, 0x61, 0x74, 0x63, 0x68, 0x5f, + 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, + 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, + 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x57, 0x61, 0x74, 0x63, 0x68, + 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x0d, 0x77, 0x61, 0x74, 0x63, + 0x68, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x12, 0x3f, 0x0a, 0x08, 0x74, 0x79, 0x70, + 0x65, 0x5f, 0x76, 0x61, 0x72, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x61, + 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x54, 0x79, 0x70, 0x65, 0x56, 0x61, 0x72, 0x48, - 0x00, 0x52, 0x07, 0x74, 0x79, 0x70, 0x65, 0x56, 0x61, 0x72, 0x12, 0x71, 0x0a, 0x1a, 0x61, 0x73, + 0x00, 0x52, 0x07, 0x74, 0x79, 0x70, 0x65, 0x56, 0x61, 0x72, 0x12, 0x73, 0x0a, 0x1a, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x70, 0x72, - 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, - 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, - 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, - 0x74, 0x65, 0x64, 0x54, 0x79, 0x70, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x48, 0x00, 0x52, 0x18, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x64, 0x54, - 0x79, 0x70, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x36, 0x0a, - 0x05, 0x6e, 0x65, 0x76, 0x65, 0x72, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, - 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, - 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x4e, 0x65, 0x76, 0x65, 0x72, 0x48, 0x00, 0x52, 0x05, - 0x6e, 0x65, 0x76, 0x65, 0x72, 0x42, 0x04, 0x0a, 0x02, 0x74, 0x79, 0x22, 0x4d, 0x0a, 0x0f, 0x42, - 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x50, 0x72, 0x69, 0x6d, 0x69, 0x74, 0x69, 0x76, 0x65, 0x12, 0x3a, - 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x62, - 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, - 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x50, 0x72, 0x69, 0x6d, 0x69, 0x74, 0x69, 0x76, 0x65, - 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, 0x59, 0x0a, 0x0b, 0x42, 0x61, - 0x6d, 0x6c, 0x54, 0x79, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x36, 0x0a, - 0x09, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x61, 0x72, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x19, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, - 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x52, 0x08, 0x74, 0x79, 0x70, - 0x65, 0x41, 0x72, 0x67, 0x73, 0x22, 0x5d, 0x0a, 0x0f, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x54, - 0x79, 0x70, 0x65, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x36, 0x0a, 0x09, - 0x74, 0x79, 0x70, 0x65, 0x5f, 0x61, 0x72, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x19, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, - 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, - 0x41, 0x72, 0x67, 0x73, 0x22, 0x20, 0x0a, 0x0a, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x45, 0x6e, - 0x75, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3b, 0x0a, 0x0a, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, - 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2d, 0x0a, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, - 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x52, 0x04, 0x69, - 0x74, 0x65, 0x6d, 0x22, 0x69, 0x0a, 0x09, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x4d, 0x61, 0x70, - 0x12, 0x2b, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, - 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, - 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2f, 0x0a, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, - 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, - 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x41, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, + 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, + 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x41, 0x73, 0x73, 0x6f, 0x63, + 0x69, 0x61, 0x74, 0x65, 0x64, 0x54, 0x79, 0x70, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x18, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, + 0x64, 0x54, 0x79, 0x70, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x38, 0x0a, 0x05, 0x6e, 0x65, 0x76, 0x65, 0x72, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, + 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, + 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x4e, 0x65, 0x76, 0x65, 0x72, + 0x48, 0x00, 0x52, 0x05, 0x6e, 0x65, 0x76, 0x65, 0x72, 0x42, 0x04, 0x0a, 0x02, 0x74, 0x79, 0x22, + 0x4f, 0x0a, 0x0f, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x50, 0x72, 0x69, 0x6d, 0x69, 0x74, 0x69, + 0x76, 0x65, 0x12, 0x3c, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x28, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, + 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x50, 0x72, 0x69, + 0x6d, 0x69, 0x74, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, + 0x22, 0x5b, 0x0a, 0x0b, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x12, + 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x61, 0x72, 0x67, 0x73, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, + 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, + 0x6c, 0x54, 0x79, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x41, 0x72, 0x67, 0x73, 0x22, 0x5f, 0x0a, + 0x0f, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x54, 0x79, 0x70, 0x65, 0x41, 0x6c, 0x69, 0x61, 0x73, + 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x61, 0x72, 0x67, + 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, + 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, + 0x6d, 0x6c, 0x54, 0x79, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x41, 0x72, 0x67, 0x73, 0x22, 0x20, + 0x0a, 0x0a, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x12, 0x0a, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x22, 0x3d, 0x0a, 0x0a, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2f, + 0x0a, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, + 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, + 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x52, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x22, + 0x6d, 0x0a, 0x09, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x4d, 0x61, 0x70, 0x12, 0x2d, 0x0a, 0x03, + 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x61, 0x6d, 0x6c, + 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, + 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x31, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x61, 0x6d, + 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, + 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x43, 0x0a, 0x0e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, - 0x12, 0x2f, 0x0a, 0x05, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x19, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, - 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x52, 0x05, 0x69, 0x6e, 0x6e, 0x65, - 0x72, 0x22, 0x42, 0x0a, 0x0b, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x55, 0x6e, 0x69, 0x6f, 0x6e, - 0x12, 0x33, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, - 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x52, 0x07, 0x6f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x0f, 0x0a, 0x0d, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x55, - 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x22, 0xc7, 0x01, 0x0a, 0x0d, 0x42, 0x61, 0x6d, 0x6c, 0x54, - 0x79, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x12, 0x23, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, - 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, - 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1d, 0x0a, - 0x09, 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, - 0x48, 0x00, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0a, - 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, - 0x48, 0x00, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, - 0x0c, 0x62, 0x69, 0x67, 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x62, 0x69, 0x67, 0x69, 0x6e, 0x74, 0x56, 0x61, 0x6c, - 0x75, 0x65, 0x12, 0x21, 0x0a, 0x0b, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0a, 0x66, 0x6c, 0x6f, 0x61, 0x74, - 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x09, 0x0a, 0x07, 0x6c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, - 0x22, 0x45, 0x0a, 0x0b, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x12, - 0x36, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, - 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, - 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x4b, 0x69, 0x6e, - 0x64, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, 0xa5, 0x01, 0x0a, 0x0f, 0x42, 0x61, 0x6d, 0x6c, - 0x54, 0x79, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, - 0x36, 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x61, 0x72, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, - 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x52, 0x08, 0x74, - 0x79, 0x70, 0x65, 0x41, 0x72, 0x67, 0x73, 0x12, 0x46, 0x0a, 0x08, 0x62, 0x69, 0x6e, 0x64, 0x69, - 0x6e, 0x67, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x62, 0x61, 0x6d, 0x6c, - 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, - 0x6d, 0x6c, 0x54, 0x79, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x64, 0x42, 0x69, - 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x08, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x22, - 0x58, 0x0a, 0x17, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, - 0x74, 0x65, 0x64, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x29, - 0x0a, 0x02, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x61, 0x6d, - 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, - 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x52, 0x02, 0x74, 0x79, 0x22, 0x41, 0x0a, 0x11, 0x42, 0x61, 0x6d, - 0x6c, 0x54, 0x79, 0x45, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x12, - 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x22, 0xa2, 0x01, 0x0a, - 0x13, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, - 0x61, 0x72, 0x61, 0x6d, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x29, 0x0a, - 0x02, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x61, 0x6d, 0x6c, - 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, - 0x6d, 0x6c, 0x54, 0x79, 0x52, 0x02, 0x74, 0x79, 0x12, 0x3e, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, - 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, + 0x12, 0x31, 0x0a, 0x05, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1b, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, + 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x52, 0x05, 0x69, 0x6e, + 0x6e, 0x65, 0x72, 0x22, 0x44, 0x0a, 0x0b, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x55, 0x6e, 0x69, + 0x6f, 0x6e, 0x12, 0x35, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, + 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, + 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x0f, 0x0a, 0x0d, 0x42, 0x61, 0x6d, + 0x6c, 0x54, 0x79, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x22, 0xc7, 0x01, 0x0a, 0x0d, 0x42, + 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x12, 0x23, 0x0a, 0x0c, + 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x12, 0x1d, 0x0a, 0x09, 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, + 0x12, 0x1f, 0x0a, 0x0a, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x62, 0x69, 0x67, 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x62, 0x69, 0x67, 0x69, 0x6e, + 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x21, 0x0a, 0x0b, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x5f, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0a, 0x66, + 0x6c, 0x6f, 0x61, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x09, 0x0a, 0x07, 0x6c, 0x69, 0x74, + 0x65, 0x72, 0x61, 0x6c, 0x22, 0x47, 0x0a, 0x0b, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x4d, 0x65, + 0x64, 0x69, 0x61, 0x12, 0x38, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x24, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, + 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x4d, 0x65, + 0x64, 0x69, 0x61, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, 0xa9, 0x01, + 0x0a, 0x0f, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, + 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x61, 0x72, + 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, + 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, + 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x41, 0x72, 0x67, 0x73, 0x12, + 0x48, 0x0a, 0x08, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x2c, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, + 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x41, 0x73, + 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x64, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x52, + 0x08, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x5a, 0x0a, 0x17, 0x42, 0x61, 0x6d, + 0x6c, 0x54, 0x79, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x64, 0x42, 0x69, 0x6e, + 0x64, 0x69, 0x6e, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2b, 0x0a, 0x02, 0x74, 0x79, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, + 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, + 0x79, 0x52, 0x02, 0x74, 0x79, 0x22, 0x41, 0x0a, 0x11, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x45, + 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, + 0x0a, 0x07, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x22, 0xa6, 0x01, 0x0a, 0x13, 0x42, 0x61, 0x6d, + 0x6c, 0x54, 0x79, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, + 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, + 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x2b, 0x0a, 0x02, 0x74, 0x79, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, + 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, + 0x54, 0x79, 0x52, 0x02, 0x74, 0x79, 0x12, 0x40, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, + 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6e, 0x61, 0x6d, - 0x65, 0x22, 0xdd, 0x01, 0x0a, 0x0e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x46, 0x75, 0x6e, 0x63, + 0x65, 0x22, 0xe3, 0x01, 0x0a, 0x0e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x67, 0x65, - 0x6e, 0x65, 0x72, 0x69, 0x63, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x3e, 0x0a, 0x06, 0x70, - 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x62, 0x61, - 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, - 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, - 0x72, 0x61, 0x6d, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x2b, 0x0a, 0x03, 0x72, - 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, - 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, - 0x6c, 0x54, 0x79, 0x52, 0x03, 0x72, 0x65, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x74, 0x68, 0x72, 0x6f, - 0x77, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, - 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, - 0x6c, 0x54, 0x79, 0x52, 0x06, 0x74, 0x68, 0x72, 0x6f, 0x77, 0x73, 0x4a, 0x04, 0x08, 0x02, 0x10, - 0x03, 0x22, 0x70, 0x0a, 0x0c, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x46, 0x75, 0x74, 0x75, 0x72, - 0x65, 0x12, 0x2f, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x19, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, - 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x12, 0x2f, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, - 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x52, 0x05, 0x65, 0x72, - 0x72, 0x6f, 0x72, 0x22, 0x10, 0x0a, 0x0e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x52, 0x75, 0x73, - 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0x10, 0x0a, 0x0e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x4d, - 0x65, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x22, 0x10, 0x0a, 0x0e, 0x42, 0x61, 0x6d, 0x6c, 0x54, - 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x11, 0x0a, 0x0f, 0x42, 0x61, 0x6d, - 0x6c, 0x54, 0x79, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x41, 0x73, 0x74, 0x22, 0x0c, 0x0a, 0x0a, - 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x56, 0x6f, 0x69, 0x64, 0x22, 0x46, 0x0a, 0x13, 0x42, 0x61, - 0x6d, 0x6c, 0x54, 0x79, 0x57, 0x61, 0x74, 0x63, 0x68, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6f, - 0x72, 0x12, 0x2f, 0x0a, 0x05, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x19, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, - 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x52, 0x05, 0x69, 0x6e, 0x6e, - 0x65, 0x72, 0x22, 0x23, 0x0a, 0x0d, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x54, 0x79, 0x70, 0x65, - 0x56, 0x61, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xa0, 0x01, 0x0a, 0x1e, 0x42, 0x61, 0x6d, 0x6c, - 0x54, 0x79, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x64, 0x54, 0x79, 0x70, 0x65, - 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x0a, 0x04, 0x62, 0x61, - 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, - 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, - 0x6c, 0x54, 0x79, 0x52, 0x04, 0x62, 0x61, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x09, 0x69, 0x6e, 0x74, - 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, - 0x61, 0x6d, 0x6c, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, + 0x6e, 0x65, 0x72, 0x69, 0x63, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x40, 0x0a, 0x06, 0x70, + 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x62, 0x61, + 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, + 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x2d, 0x0a, + 0x03, 0x72, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x61, 0x6d, + 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, + 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x52, 0x03, 0x72, 0x65, 0x74, 0x12, 0x33, 0x0a, 0x06, + 0x74, 0x68, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, + 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, + 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x52, 0x06, 0x74, 0x68, 0x72, 0x6f, 0x77, + 0x73, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x22, 0x74, 0x0a, 0x0c, 0x42, 0x61, 0x6d, 0x6c, 0x54, + 0x79, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x12, 0x31, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, + 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, + 0x6c, 0x54, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x31, 0x0a, 0x05, 0x65, 0x72, + 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x61, 0x6d, 0x6c, + 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, + 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x10, 0x0a, + 0x0e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x52, 0x75, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, + 0x10, 0x0a, 0x0e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x54, 0x79, 0x70, + 0x65, 0x22, 0x10, 0x0a, 0x0e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x22, 0x11, 0x0a, 0x0f, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x50, 0x72, 0x6f, + 0x6d, 0x70, 0x74, 0x41, 0x73, 0x74, 0x22, 0x0c, 0x0a, 0x0a, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, + 0x56, 0x6f, 0x69, 0x64, 0x22, 0x48, 0x0a, 0x13, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x57, 0x61, + 0x74, 0x63, 0x68, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x12, 0x31, 0x0a, 0x05, 0x69, + 0x6e, 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x61, 0x6d, + 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, + 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x52, 0x05, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x22, 0x23, + 0x0a, 0x0d, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x54, 0x79, 0x70, 0x65, 0x56, 0x61, 0x72, 0x12, + 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x22, 0xa4, 0x01, 0x0a, 0x1e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x41, 0x73, + 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x64, 0x54, 0x79, 0x70, 0x65, 0x50, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x0a, 0x04, 0x62, 0x61, 0x73, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x61, 0x6d, 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, + 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, + 0x79, 0x52, 0x04, 0x62, 0x61, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x09, 0x69, 0x6e, 0x74, 0x65, 0x72, + 0x66, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x61, 0x6d, + 0x6c, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x66, 0x66, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6d, 0x6c, 0x54, 0x79, 0x52, 0x09, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x0d, 0x0a, 0x0b, 0x42, 0x61, @@ -2266,98 +2272,98 @@ var file_baml_core_cffi_v1_baml_type_proto_rawDesc = []byte{ } var ( - file_baml_core_cffi_v1_baml_type_proto_rawDescOnce sync.Once - file_baml_core_cffi_v1_baml_type_proto_rawDescData = file_baml_core_cffi_v1_baml_type_proto_rawDesc + file_baml_bridge_cffi_v1_baml_type_proto_rawDescOnce sync.Once + file_baml_bridge_cffi_v1_baml_type_proto_rawDescData = file_baml_bridge_cffi_v1_baml_type_proto_rawDesc ) -func file_baml_core_cffi_v1_baml_type_proto_rawDescGZIP() []byte { - file_baml_core_cffi_v1_baml_type_proto_rawDescOnce.Do(func() { - file_baml_core_cffi_v1_baml_type_proto_rawDescData = protoimpl.X.CompressGZIP(file_baml_core_cffi_v1_baml_type_proto_rawDescData) +func file_baml_bridge_cffi_v1_baml_type_proto_rawDescGZIP() []byte { + file_baml_bridge_cffi_v1_baml_type_proto_rawDescOnce.Do(func() { + file_baml_bridge_cffi_v1_baml_type_proto_rawDescData = protoimpl.X.CompressGZIP(file_baml_bridge_cffi_v1_baml_type_proto_rawDescData) }) - return file_baml_core_cffi_v1_baml_type_proto_rawDescData -} - -var file_baml_core_cffi_v1_baml_type_proto_enumTypes = make([]protoimpl.EnumInfo, 3) -var file_baml_core_cffi_v1_baml_type_proto_msgTypes = make([]protoimpl.MessageInfo, 27) -var file_baml_core_cffi_v1_baml_type_proto_goTypes = []interface{}{ - (BamlTyPrimitiveKind)(0), // 0: baml_core.cffi.v1.BamlTyPrimitiveKind - (BamlTyMediaKind)(0), // 1: baml_core.cffi.v1.BamlTyMediaKind - (BamlTyFunctionParamMode)(0), // 2: baml_core.cffi.v1.BamlTyFunctionParamMode - (*BamlTy)(nil), // 3: baml_core.cffi.v1.BamlTy - (*BamlTyPrimitive)(nil), // 4: baml_core.cffi.v1.BamlTyPrimitive - (*BamlTyClass)(nil), // 5: baml_core.cffi.v1.BamlTyClass - (*BamlTyTypeAlias)(nil), // 6: baml_core.cffi.v1.BamlTyTypeAlias - (*BamlTyEnum)(nil), // 7: baml_core.cffi.v1.BamlTyEnum - (*BamlTyList)(nil), // 8: baml_core.cffi.v1.BamlTyList - (*BamlTyMap)(nil), // 9: baml_core.cffi.v1.BamlTyMap - (*BamlTyOptional)(nil), // 10: baml_core.cffi.v1.BamlTyOptional - (*BamlTyUnion)(nil), // 11: baml_core.cffi.v1.BamlTyUnion - (*BamlTyUnknown)(nil), // 12: baml_core.cffi.v1.BamlTyUnknown - (*BamlTyLiteral)(nil), // 13: baml_core.cffi.v1.BamlTyLiteral - (*BamlTyMedia)(nil), // 14: baml_core.cffi.v1.BamlTyMedia - (*BamlTyInterface)(nil), // 15: baml_core.cffi.v1.BamlTyInterface - (*BamlTyAssociatedBinding)(nil), // 16: baml_core.cffi.v1.BamlTyAssociatedBinding - (*BamlTyEnumVariant)(nil), // 17: baml_core.cffi.v1.BamlTyEnumVariant - (*BamlTyFunctionParam)(nil), // 18: baml_core.cffi.v1.BamlTyFunctionParam - (*BamlTyFunction)(nil), // 19: baml_core.cffi.v1.BamlTyFunction - (*BamlTyFuture)(nil), // 20: baml_core.cffi.v1.BamlTyFuture - (*BamlTyRustType)(nil), // 21: baml_core.cffi.v1.BamlTyRustType - (*BamlTyMetaType)(nil), // 22: baml_core.cffi.v1.BamlTyMetaType - (*BamlTyResource)(nil), // 23: baml_core.cffi.v1.BamlTyResource - (*BamlTyPromptAst)(nil), // 24: baml_core.cffi.v1.BamlTyPromptAst - (*BamlTyVoid)(nil), // 25: baml_core.cffi.v1.BamlTyVoid - (*BamlTyWatchAccessor)(nil), // 26: baml_core.cffi.v1.BamlTyWatchAccessor - (*BamlTyTypeVar)(nil), // 27: baml_core.cffi.v1.BamlTyTypeVar - (*BamlTyAssociatedTypeProjection)(nil), // 28: baml_core.cffi.v1.BamlTyAssociatedTypeProjection - (*BamlTyNever)(nil), // 29: baml_core.cffi.v1.BamlTyNever -} -var file_baml_core_cffi_v1_baml_type_proto_depIdxs = []int32{ - 4, // 0: baml_core.cffi.v1.BamlTy.primitive:type_name -> baml_core.cffi.v1.BamlTyPrimitive - 5, // 1: baml_core.cffi.v1.BamlTy.class_ty:type_name -> baml_core.cffi.v1.BamlTyClass - 7, // 2: baml_core.cffi.v1.BamlTy.enum:type_name -> baml_core.cffi.v1.BamlTyEnum - 8, // 3: baml_core.cffi.v1.BamlTy.list:type_name -> baml_core.cffi.v1.BamlTyList - 9, // 4: baml_core.cffi.v1.BamlTy.map:type_name -> baml_core.cffi.v1.BamlTyMap - 10, // 5: baml_core.cffi.v1.BamlTy.optional:type_name -> baml_core.cffi.v1.BamlTyOptional - 11, // 6: baml_core.cffi.v1.BamlTy.union:type_name -> baml_core.cffi.v1.BamlTyUnion - 13, // 7: baml_core.cffi.v1.BamlTy.literal:type_name -> baml_core.cffi.v1.BamlTyLiteral - 6, // 8: baml_core.cffi.v1.BamlTy.type_alias:type_name -> baml_core.cffi.v1.BamlTyTypeAlias - 12, // 9: baml_core.cffi.v1.BamlTy.unknown:type_name -> baml_core.cffi.v1.BamlTyUnknown - 14, // 10: baml_core.cffi.v1.BamlTy.media:type_name -> baml_core.cffi.v1.BamlTyMedia - 15, // 11: baml_core.cffi.v1.BamlTy.interface:type_name -> baml_core.cffi.v1.BamlTyInterface - 17, // 12: baml_core.cffi.v1.BamlTy.enum_variant:type_name -> baml_core.cffi.v1.BamlTyEnumVariant - 19, // 13: baml_core.cffi.v1.BamlTy.function:type_name -> baml_core.cffi.v1.BamlTyFunction - 20, // 14: baml_core.cffi.v1.BamlTy.future:type_name -> baml_core.cffi.v1.BamlTyFuture - 21, // 15: baml_core.cffi.v1.BamlTy.rust_type:type_name -> baml_core.cffi.v1.BamlTyRustType - 22, // 16: baml_core.cffi.v1.BamlTy.meta_type:type_name -> baml_core.cffi.v1.BamlTyMetaType - 23, // 17: baml_core.cffi.v1.BamlTy.resource:type_name -> baml_core.cffi.v1.BamlTyResource - 24, // 18: baml_core.cffi.v1.BamlTy.prompt_ast:type_name -> baml_core.cffi.v1.BamlTyPromptAst - 25, // 19: baml_core.cffi.v1.BamlTy.void:type_name -> baml_core.cffi.v1.BamlTyVoid - 26, // 20: baml_core.cffi.v1.BamlTy.watch_accessor:type_name -> baml_core.cffi.v1.BamlTyWatchAccessor - 27, // 21: baml_core.cffi.v1.BamlTy.type_var:type_name -> baml_core.cffi.v1.BamlTyTypeVar - 28, // 22: baml_core.cffi.v1.BamlTy.associated_type_projection:type_name -> baml_core.cffi.v1.BamlTyAssociatedTypeProjection - 29, // 23: baml_core.cffi.v1.BamlTy.never:type_name -> baml_core.cffi.v1.BamlTyNever - 0, // 24: baml_core.cffi.v1.BamlTyPrimitive.kind:type_name -> baml_core.cffi.v1.BamlTyPrimitiveKind - 3, // 25: baml_core.cffi.v1.BamlTyClass.type_args:type_name -> baml_core.cffi.v1.BamlTy - 3, // 26: baml_core.cffi.v1.BamlTyTypeAlias.type_args:type_name -> baml_core.cffi.v1.BamlTy - 3, // 27: baml_core.cffi.v1.BamlTyList.item:type_name -> baml_core.cffi.v1.BamlTy - 3, // 28: baml_core.cffi.v1.BamlTyMap.key:type_name -> baml_core.cffi.v1.BamlTy - 3, // 29: baml_core.cffi.v1.BamlTyMap.value:type_name -> baml_core.cffi.v1.BamlTy - 3, // 30: baml_core.cffi.v1.BamlTyOptional.inner:type_name -> baml_core.cffi.v1.BamlTy - 3, // 31: baml_core.cffi.v1.BamlTyUnion.options:type_name -> baml_core.cffi.v1.BamlTy - 1, // 32: baml_core.cffi.v1.BamlTyMedia.kind:type_name -> baml_core.cffi.v1.BamlTyMediaKind - 3, // 33: baml_core.cffi.v1.BamlTyInterface.type_args:type_name -> baml_core.cffi.v1.BamlTy - 16, // 34: baml_core.cffi.v1.BamlTyInterface.bindings:type_name -> baml_core.cffi.v1.BamlTyAssociatedBinding - 3, // 35: baml_core.cffi.v1.BamlTyAssociatedBinding.ty:type_name -> baml_core.cffi.v1.BamlTy - 3, // 36: baml_core.cffi.v1.BamlTyFunctionParam.ty:type_name -> baml_core.cffi.v1.BamlTy - 2, // 37: baml_core.cffi.v1.BamlTyFunctionParam.mode:type_name -> baml_core.cffi.v1.BamlTyFunctionParamMode - 18, // 38: baml_core.cffi.v1.BamlTyFunction.params:type_name -> baml_core.cffi.v1.BamlTyFunctionParam - 3, // 39: baml_core.cffi.v1.BamlTyFunction.ret:type_name -> baml_core.cffi.v1.BamlTy - 3, // 40: baml_core.cffi.v1.BamlTyFunction.throws:type_name -> baml_core.cffi.v1.BamlTy - 3, // 41: baml_core.cffi.v1.BamlTyFuture.value:type_name -> baml_core.cffi.v1.BamlTy - 3, // 42: baml_core.cffi.v1.BamlTyFuture.error:type_name -> baml_core.cffi.v1.BamlTy - 3, // 43: baml_core.cffi.v1.BamlTyWatchAccessor.inner:type_name -> baml_core.cffi.v1.BamlTy - 3, // 44: baml_core.cffi.v1.BamlTyAssociatedTypeProjection.base:type_name -> baml_core.cffi.v1.BamlTy - 3, // 45: baml_core.cffi.v1.BamlTyAssociatedTypeProjection.interface:type_name -> baml_core.cffi.v1.BamlTy + return file_baml_bridge_cffi_v1_baml_type_proto_rawDescData +} + +var file_baml_bridge_cffi_v1_baml_type_proto_enumTypes = make([]protoimpl.EnumInfo, 3) +var file_baml_bridge_cffi_v1_baml_type_proto_msgTypes = make([]protoimpl.MessageInfo, 27) +var file_baml_bridge_cffi_v1_baml_type_proto_goTypes = []interface{}{ + (BamlTyPrimitiveKind)(0), // 0: baml_bridge.cffi.v1.BamlTyPrimitiveKind + (BamlTyMediaKind)(0), // 1: baml_bridge.cffi.v1.BamlTyMediaKind + (BamlTyFunctionParamMode)(0), // 2: baml_bridge.cffi.v1.BamlTyFunctionParamMode + (*BamlTy)(nil), // 3: baml_bridge.cffi.v1.BamlTy + (*BamlTyPrimitive)(nil), // 4: baml_bridge.cffi.v1.BamlTyPrimitive + (*BamlTyClass)(nil), // 5: baml_bridge.cffi.v1.BamlTyClass + (*BamlTyTypeAlias)(nil), // 6: baml_bridge.cffi.v1.BamlTyTypeAlias + (*BamlTyEnum)(nil), // 7: baml_bridge.cffi.v1.BamlTyEnum + (*BamlTyList)(nil), // 8: baml_bridge.cffi.v1.BamlTyList + (*BamlTyMap)(nil), // 9: baml_bridge.cffi.v1.BamlTyMap + (*BamlTyOptional)(nil), // 10: baml_bridge.cffi.v1.BamlTyOptional + (*BamlTyUnion)(nil), // 11: baml_bridge.cffi.v1.BamlTyUnion + (*BamlTyUnknown)(nil), // 12: baml_bridge.cffi.v1.BamlTyUnknown + (*BamlTyLiteral)(nil), // 13: baml_bridge.cffi.v1.BamlTyLiteral + (*BamlTyMedia)(nil), // 14: baml_bridge.cffi.v1.BamlTyMedia + (*BamlTyInterface)(nil), // 15: baml_bridge.cffi.v1.BamlTyInterface + (*BamlTyAssociatedBinding)(nil), // 16: baml_bridge.cffi.v1.BamlTyAssociatedBinding + (*BamlTyEnumVariant)(nil), // 17: baml_bridge.cffi.v1.BamlTyEnumVariant + (*BamlTyFunctionParam)(nil), // 18: baml_bridge.cffi.v1.BamlTyFunctionParam + (*BamlTyFunction)(nil), // 19: baml_bridge.cffi.v1.BamlTyFunction + (*BamlTyFuture)(nil), // 20: baml_bridge.cffi.v1.BamlTyFuture + (*BamlTyRustType)(nil), // 21: baml_bridge.cffi.v1.BamlTyRustType + (*BamlTyMetaType)(nil), // 22: baml_bridge.cffi.v1.BamlTyMetaType + (*BamlTyResource)(nil), // 23: baml_bridge.cffi.v1.BamlTyResource + (*BamlTyPromptAst)(nil), // 24: baml_bridge.cffi.v1.BamlTyPromptAst + (*BamlTyVoid)(nil), // 25: baml_bridge.cffi.v1.BamlTyVoid + (*BamlTyWatchAccessor)(nil), // 26: baml_bridge.cffi.v1.BamlTyWatchAccessor + (*BamlTyTypeVar)(nil), // 27: baml_bridge.cffi.v1.BamlTyTypeVar + (*BamlTyAssociatedTypeProjection)(nil), // 28: baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection + (*BamlTyNever)(nil), // 29: baml_bridge.cffi.v1.BamlTyNever +} +var file_baml_bridge_cffi_v1_baml_type_proto_depIdxs = []int32{ + 4, // 0: baml_bridge.cffi.v1.BamlTy.primitive:type_name -> baml_bridge.cffi.v1.BamlTyPrimitive + 5, // 1: baml_bridge.cffi.v1.BamlTy.class_ty:type_name -> baml_bridge.cffi.v1.BamlTyClass + 7, // 2: baml_bridge.cffi.v1.BamlTy.enum:type_name -> baml_bridge.cffi.v1.BamlTyEnum + 8, // 3: baml_bridge.cffi.v1.BamlTy.list:type_name -> baml_bridge.cffi.v1.BamlTyList + 9, // 4: baml_bridge.cffi.v1.BamlTy.map:type_name -> baml_bridge.cffi.v1.BamlTyMap + 10, // 5: baml_bridge.cffi.v1.BamlTy.optional:type_name -> baml_bridge.cffi.v1.BamlTyOptional + 11, // 6: baml_bridge.cffi.v1.BamlTy.union:type_name -> baml_bridge.cffi.v1.BamlTyUnion + 13, // 7: baml_bridge.cffi.v1.BamlTy.literal:type_name -> baml_bridge.cffi.v1.BamlTyLiteral + 6, // 8: baml_bridge.cffi.v1.BamlTy.type_alias:type_name -> baml_bridge.cffi.v1.BamlTyTypeAlias + 12, // 9: baml_bridge.cffi.v1.BamlTy.unknown:type_name -> baml_bridge.cffi.v1.BamlTyUnknown + 14, // 10: baml_bridge.cffi.v1.BamlTy.media:type_name -> baml_bridge.cffi.v1.BamlTyMedia + 15, // 11: baml_bridge.cffi.v1.BamlTy.interface:type_name -> baml_bridge.cffi.v1.BamlTyInterface + 17, // 12: baml_bridge.cffi.v1.BamlTy.enum_variant:type_name -> baml_bridge.cffi.v1.BamlTyEnumVariant + 19, // 13: baml_bridge.cffi.v1.BamlTy.function:type_name -> baml_bridge.cffi.v1.BamlTyFunction + 20, // 14: baml_bridge.cffi.v1.BamlTy.future:type_name -> baml_bridge.cffi.v1.BamlTyFuture + 21, // 15: baml_bridge.cffi.v1.BamlTy.rust_type:type_name -> baml_bridge.cffi.v1.BamlTyRustType + 22, // 16: baml_bridge.cffi.v1.BamlTy.meta_type:type_name -> baml_bridge.cffi.v1.BamlTyMetaType + 23, // 17: baml_bridge.cffi.v1.BamlTy.resource:type_name -> baml_bridge.cffi.v1.BamlTyResource + 24, // 18: baml_bridge.cffi.v1.BamlTy.prompt_ast:type_name -> baml_bridge.cffi.v1.BamlTyPromptAst + 25, // 19: baml_bridge.cffi.v1.BamlTy.void:type_name -> baml_bridge.cffi.v1.BamlTyVoid + 26, // 20: baml_bridge.cffi.v1.BamlTy.watch_accessor:type_name -> baml_bridge.cffi.v1.BamlTyWatchAccessor + 27, // 21: baml_bridge.cffi.v1.BamlTy.type_var:type_name -> baml_bridge.cffi.v1.BamlTyTypeVar + 28, // 22: baml_bridge.cffi.v1.BamlTy.associated_type_projection:type_name -> baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection + 29, // 23: baml_bridge.cffi.v1.BamlTy.never:type_name -> baml_bridge.cffi.v1.BamlTyNever + 0, // 24: baml_bridge.cffi.v1.BamlTyPrimitive.kind:type_name -> baml_bridge.cffi.v1.BamlTyPrimitiveKind + 3, // 25: baml_bridge.cffi.v1.BamlTyClass.type_args:type_name -> baml_bridge.cffi.v1.BamlTy + 3, // 26: baml_bridge.cffi.v1.BamlTyTypeAlias.type_args:type_name -> baml_bridge.cffi.v1.BamlTy + 3, // 27: baml_bridge.cffi.v1.BamlTyList.item:type_name -> baml_bridge.cffi.v1.BamlTy + 3, // 28: baml_bridge.cffi.v1.BamlTyMap.key:type_name -> baml_bridge.cffi.v1.BamlTy + 3, // 29: baml_bridge.cffi.v1.BamlTyMap.value:type_name -> baml_bridge.cffi.v1.BamlTy + 3, // 30: baml_bridge.cffi.v1.BamlTyOptional.inner:type_name -> baml_bridge.cffi.v1.BamlTy + 3, // 31: baml_bridge.cffi.v1.BamlTyUnion.options:type_name -> baml_bridge.cffi.v1.BamlTy + 1, // 32: baml_bridge.cffi.v1.BamlTyMedia.kind:type_name -> baml_bridge.cffi.v1.BamlTyMediaKind + 3, // 33: baml_bridge.cffi.v1.BamlTyInterface.type_args:type_name -> baml_bridge.cffi.v1.BamlTy + 16, // 34: baml_bridge.cffi.v1.BamlTyInterface.bindings:type_name -> baml_bridge.cffi.v1.BamlTyAssociatedBinding + 3, // 35: baml_bridge.cffi.v1.BamlTyAssociatedBinding.ty:type_name -> baml_bridge.cffi.v1.BamlTy + 3, // 36: baml_bridge.cffi.v1.BamlTyFunctionParam.ty:type_name -> baml_bridge.cffi.v1.BamlTy + 2, // 37: baml_bridge.cffi.v1.BamlTyFunctionParam.mode:type_name -> baml_bridge.cffi.v1.BamlTyFunctionParamMode + 18, // 38: baml_bridge.cffi.v1.BamlTyFunction.params:type_name -> baml_bridge.cffi.v1.BamlTyFunctionParam + 3, // 39: baml_bridge.cffi.v1.BamlTyFunction.ret:type_name -> baml_bridge.cffi.v1.BamlTy + 3, // 40: baml_bridge.cffi.v1.BamlTyFunction.throws:type_name -> baml_bridge.cffi.v1.BamlTy + 3, // 41: baml_bridge.cffi.v1.BamlTyFuture.value:type_name -> baml_bridge.cffi.v1.BamlTy + 3, // 42: baml_bridge.cffi.v1.BamlTyFuture.error:type_name -> baml_bridge.cffi.v1.BamlTy + 3, // 43: baml_bridge.cffi.v1.BamlTyWatchAccessor.inner:type_name -> baml_bridge.cffi.v1.BamlTy + 3, // 44: baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection.base:type_name -> baml_bridge.cffi.v1.BamlTy + 3, // 45: baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection.interface:type_name -> baml_bridge.cffi.v1.BamlTy 46, // [46:46] is the sub-list for method output_type 46, // [46:46] is the sub-list for method input_type 46, // [46:46] is the sub-list for extension type_name @@ -2365,13 +2371,13 @@ var file_baml_core_cffi_v1_baml_type_proto_depIdxs = []int32{ 0, // [0:46] is the sub-list for field type_name } -func init() { file_baml_core_cffi_v1_baml_type_proto_init() } -func file_baml_core_cffi_v1_baml_type_proto_init() { - if File_baml_core_cffi_v1_baml_type_proto != nil { +func init() { file_baml_bridge_cffi_v1_baml_type_proto_init() } +func file_baml_bridge_cffi_v1_baml_type_proto_init() { + if File_baml_bridge_cffi_v1_baml_type_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_baml_core_cffi_v1_baml_type_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlTy); i { case 0: return &v.state @@ -2383,7 +2389,7 @@ func file_baml_core_cffi_v1_baml_type_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_type_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlTyPrimitive); i { case 0: return &v.state @@ -2395,7 +2401,7 @@ func file_baml_core_cffi_v1_baml_type_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_type_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlTyClass); i { case 0: return &v.state @@ -2407,7 +2413,7 @@ func file_baml_core_cffi_v1_baml_type_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_type_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlTyTypeAlias); i { case 0: return &v.state @@ -2419,7 +2425,7 @@ func file_baml_core_cffi_v1_baml_type_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_type_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlTyEnum); i { case 0: return &v.state @@ -2431,7 +2437,7 @@ func file_baml_core_cffi_v1_baml_type_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_type_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlTyList); i { case 0: return &v.state @@ -2443,7 +2449,7 @@ func file_baml_core_cffi_v1_baml_type_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_type_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlTyMap); i { case 0: return &v.state @@ -2455,7 +2461,7 @@ func file_baml_core_cffi_v1_baml_type_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_type_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlTyOptional); i { case 0: return &v.state @@ -2467,7 +2473,7 @@ func file_baml_core_cffi_v1_baml_type_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_type_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlTyUnion); i { case 0: return &v.state @@ -2479,7 +2485,7 @@ func file_baml_core_cffi_v1_baml_type_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_type_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlTyUnknown); i { case 0: return &v.state @@ -2491,7 +2497,7 @@ func file_baml_core_cffi_v1_baml_type_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_type_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlTyLiteral); i { case 0: return &v.state @@ -2503,7 +2509,7 @@ func file_baml_core_cffi_v1_baml_type_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_type_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlTyMedia); i { case 0: return &v.state @@ -2515,7 +2521,7 @@ func file_baml_core_cffi_v1_baml_type_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_type_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlTyInterface); i { case 0: return &v.state @@ -2527,7 +2533,7 @@ func file_baml_core_cffi_v1_baml_type_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_type_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlTyAssociatedBinding); i { case 0: return &v.state @@ -2539,7 +2545,7 @@ func file_baml_core_cffi_v1_baml_type_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_type_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlTyEnumVariant); i { case 0: return &v.state @@ -2551,7 +2557,7 @@ func file_baml_core_cffi_v1_baml_type_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_type_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlTyFunctionParam); i { case 0: return &v.state @@ -2563,7 +2569,7 @@ func file_baml_core_cffi_v1_baml_type_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_type_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlTyFunction); i { case 0: return &v.state @@ -2575,7 +2581,7 @@ func file_baml_core_cffi_v1_baml_type_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_type_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlTyFuture); i { case 0: return &v.state @@ -2587,7 +2593,7 @@ func file_baml_core_cffi_v1_baml_type_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_type_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlTyRustType); i { case 0: return &v.state @@ -2599,7 +2605,7 @@ func file_baml_core_cffi_v1_baml_type_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_type_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlTyMetaType); i { case 0: return &v.state @@ -2611,7 +2617,7 @@ func file_baml_core_cffi_v1_baml_type_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_type_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlTyResource); i { case 0: return &v.state @@ -2623,7 +2629,7 @@ func file_baml_core_cffi_v1_baml_type_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_type_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlTyPromptAst); i { case 0: return &v.state @@ -2635,7 +2641,7 @@ func file_baml_core_cffi_v1_baml_type_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_type_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlTyVoid); i { case 0: return &v.state @@ -2647,7 +2653,7 @@ func file_baml_core_cffi_v1_baml_type_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_type_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlTyWatchAccessor); i { case 0: return &v.state @@ -2659,7 +2665,7 @@ func file_baml_core_cffi_v1_baml_type_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_type_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlTyTypeVar); i { case 0: return &v.state @@ -2671,7 +2677,7 @@ func file_baml_core_cffi_v1_baml_type_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_type_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlTyAssociatedTypeProjection); i { case 0: return &v.state @@ -2683,7 +2689,7 @@ func file_baml_core_cffi_v1_baml_type_proto_init() { return nil } } - file_baml_core_cffi_v1_baml_type_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BamlTyNever); i { case 0: return &v.state @@ -2696,7 +2702,7 @@ func file_baml_core_cffi_v1_baml_type_proto_init() { } } } - file_baml_core_cffi_v1_baml_type_proto_msgTypes[0].OneofWrappers = []interface{}{ + file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[0].OneofWrappers = []interface{}{ (*BamlTy_Primitive)(nil), (*BamlTy_ClassTy)(nil), (*BamlTy_Enum)(nil), @@ -2722,31 +2728,31 @@ func file_baml_core_cffi_v1_baml_type_proto_init() { (*BamlTy_AssociatedTypeProjection)(nil), (*BamlTy_Never)(nil), } - file_baml_core_cffi_v1_baml_type_proto_msgTypes[10].OneofWrappers = []interface{}{ + file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[10].OneofWrappers = []interface{}{ (*BamlTyLiteral_StringValue)(nil), (*BamlTyLiteral_IntValue)(nil), (*BamlTyLiteral_BoolValue)(nil), (*BamlTyLiteral_BigintValue)(nil), (*BamlTyLiteral_FloatValue)(nil), } - file_baml_core_cffi_v1_baml_type_proto_msgTypes[15].OneofWrappers = []interface{}{} + file_baml_bridge_cffi_v1_baml_type_proto_msgTypes[15].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_baml_core_cffi_v1_baml_type_proto_rawDesc, + RawDescriptor: file_baml_bridge_cffi_v1_baml_type_proto_rawDesc, NumEnums: 3, NumMessages: 27, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_baml_core_cffi_v1_baml_type_proto_goTypes, - DependencyIndexes: file_baml_core_cffi_v1_baml_type_proto_depIdxs, - EnumInfos: file_baml_core_cffi_v1_baml_type_proto_enumTypes, - MessageInfos: file_baml_core_cffi_v1_baml_type_proto_msgTypes, + GoTypes: file_baml_bridge_cffi_v1_baml_type_proto_goTypes, + DependencyIndexes: file_baml_bridge_cffi_v1_baml_type_proto_depIdxs, + EnumInfos: file_baml_bridge_cffi_v1_baml_type_proto_enumTypes, + MessageInfos: file_baml_bridge_cffi_v1_baml_type_proto_msgTypes, }.Build() - File_baml_core_cffi_v1_baml_type_proto = out.File - file_baml_core_cffi_v1_baml_type_proto_rawDesc = nil - file_baml_core_cffi_v1_baml_type_proto_goTypes = nil - file_baml_core_cffi_v1_baml_type_proto_depIdxs = nil + File_baml_bridge_cffi_v1_baml_type_proto = out.File + file_baml_bridge_cffi_v1_baml_type_proto_rawDesc = nil + file_baml_bridge_cffi_v1_baml_type_proto_goTypes = nil + file_baml_bridge_cffi_v1_baml_type_proto_depIdxs = nil } diff --git a/baml_language/sdks/go/bridge_go/pkg/host_value.go b/baml_language/sdks/go/bridge_go/pkg/host_value.go index ffe98cdea0c..c301777c6a3 100644 --- a/baml_language/sdks/go/bridge_go/pkg/host_value.go +++ b/baml_language/sdks/go/bridge_go/pkg/host_value.go @@ -45,7 +45,7 @@ import ( "unsafe" "bridge_go/cffi" - pb "bridge_go/cffi/proto/baml_core/cffi/v1" + pb "bridge_go/cffi/proto/baml_bridge/cffi/v1" "google.golang.org/protobuf/proto" ) diff --git a/baml_language/sdks/go/bridge_go/pkg/proto.go b/baml_language/sdks/go/bridge_go/pkg/proto.go index 755e14e7dd0..c524e7ccd43 100644 --- a/baml_language/sdks/go/bridge_go/pkg/proto.go +++ b/baml_language/sdks/go/bridge_go/pkg/proto.go @@ -8,7 +8,7 @@ import ( "strconv" "strings" - pb "bridge_go/cffi/proto/baml_core/cffi/v1" + pb "bridge_go/cffi/proto/baml_bridge/cffi/v1" "google.golang.org/protobuf/proto" ) diff --git a/baml_language/sdks/nodejs/bridge_nodejs/dist/ctx_manager.d.ts b/baml_language/sdks/nodejs/bridge_nodejs/dist/ctx_manager.d.ts index 494bd6704ad..9078884f192 100644 --- a/baml_language/sdks/nodejs/bridge_nodejs/dist/ctx_manager.d.ts +++ b/baml_language/sdks/nodejs/bridge_nodejs/dist/ctx_manager.d.ts @@ -2,7 +2,7 @@ * THIS FILE IS AUTO-GENERATED — DO NOT EDIT BY HAND. * * Source: baml_language/crates/bridge_nodejs/typescript_src/ - * Proto: baml_language/crates/bridge_ctypes/types/baml_core/cffi/v1/*.proto + * Proto: baml_language/crates/bridge_ctypes/types/baml_bridge/cffi/v1/*.proto * Build: cd baml_language/crates/bridge_nodejs && pnpm build:debug */ import { HostSpanManager } from './native.js'; diff --git a/baml_language/sdks/nodejs/bridge_nodejs/dist/ctx_manager.js b/baml_language/sdks/nodejs/bridge_nodejs/dist/ctx_manager.js index 93820f0742e..e38f503284d 100644 --- a/baml_language/sdks/nodejs/bridge_nodejs/dist/ctx_manager.js +++ b/baml_language/sdks/nodejs/bridge_nodejs/dist/ctx_manager.js @@ -2,7 +2,7 @@ * THIS FILE IS AUTO-GENERATED — DO NOT EDIT BY HAND. * * Source: baml_language/crates/bridge_nodejs/typescript_src/ - * Proto: baml_language/crates/bridge_ctypes/types/baml_core/cffi/v1/*.proto + * Proto: baml_language/crates/bridge_ctypes/types/baml_bridge/cffi/v1/*.proto * Build: cd baml_language/crates/bridge_nodejs && pnpm build:debug */ // ctx_manager.ts — mirrors bridge_python/python_src/baml_py/ctx_manager.py diff --git a/baml_language/sdks/nodejs/bridge_nodejs/dist/define_function.d.ts b/baml_language/sdks/nodejs/bridge_nodejs/dist/define_function.d.ts index e53d2f4e570..03ff2d4a56c 100644 --- a/baml_language/sdks/nodejs/bridge_nodejs/dist/define_function.d.ts +++ b/baml_language/sdks/nodejs/bridge_nodejs/dist/define_function.d.ts @@ -2,7 +2,7 @@ * THIS FILE IS AUTO-GENERATED — DO NOT EDIT BY HAND. * * Source: baml_language/crates/bridge_nodejs/typescript_src/ - * Proto: baml_language/crates/bridge_ctypes/types/baml_core/cffi/v1/*.proto + * Proto: baml_language/crates/bridge_ctypes/types/baml_bridge/cffi/v1/*.proto * Build: cd baml_language/crates/bridge_nodejs && pnpm build:debug */ export type Mode = 'sync' | 'async'; diff --git a/baml_language/sdks/nodejs/bridge_nodejs/dist/define_function.js b/baml_language/sdks/nodejs/bridge_nodejs/dist/define_function.js index 577abe1e7b1..2570b3eba62 100644 --- a/baml_language/sdks/nodejs/bridge_nodejs/dist/define_function.js +++ b/baml_language/sdks/nodejs/bridge_nodejs/dist/define_function.js @@ -2,11 +2,11 @@ * THIS FILE IS AUTO-GENERATED — DO NOT EDIT BY HAND. * * Source: baml_language/crates/bridge_nodejs/typescript_src/ - * Proto: baml_language/crates/bridge_ctypes/types/baml_core/cffi/v1/*.proto + * Proto: baml_language/crates/bridge_ctypes/types/baml_bridge/cffi/v1/*.proto * Build: cd baml_language/crates/bridge_nodejs && pnpm build:debug */ // define_function.ts — runtime factories for BAML callables, the Node analog -// of `define_function` in sdks/python/src/baml_core/__init__.py. +// of `define_function` in sdks/python/src/baml_bridge/__init__.py. // // Generated SDK code emits, per BAML function: // export const f = defineFunction("user.ns.f", "sync", ["a"]) as (a: A) => R; diff --git a/baml_language/sdks/nodejs/bridge_nodejs/dist/define_function.js.map b/baml_language/sdks/nodejs/bridge_nodejs/dist/define_function.js.map index 527ff18727d..02170bf7036 100644 --- a/baml_language/sdks/nodejs/bridge_nodejs/dist/define_function.js.map +++ b/baml_language/sdks/nodejs/bridge_nodejs/dist/define_function.js.map @@ -1 +1 @@ -{"version":3,"file":"define_function.js","sourceRoot":"","sources":["../typescript_src/define_function.ts"],"names":[],"mappings":"AAAA,6EAA6E;AAC7E,iEAAiE;AACjE,EAAE;AACF,+CAA+C;AAC/C,gFAAgF;AAChF,gGAAgG;AAChG,mDAAmD;AACnD,uFAAuF;AACvF,EAAE;AACF,6EAA6E;AAC7E,gFAAgF;AAChF,yDAAyD;AAEzD,OAAO,EAEH,UAAU,EACV,eAAe,IAAI,qBAAqB,GAC3C,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAE9D,OAAO,EAAE,iBAAiB,EAAiB,MAAM,cAAc,CAAC;AAIhE,8EAA8E;AAC9E,MAAM,CAAC,MAAM,KAAK,GAAkB,MAAM,CAAC,YAAY,CAAC,CAAC;AAwBzD;;;;;GAKG;AACH,SAAS,kBAAkB,CAAC,QAAiB,EAAE,UAA6B;IACxE,IAAI,UAAU,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC1B,IAAI,QAAQ,KAAK,SAAS,IAAI,QAAQ,KAAK,IAAI,EAAE,CAAC;YAC9C,MAAM,IAAI,SAAS,CACf,6EAA6E;gBAC7E,uBAAuB,CAC1B,CAAC;QACN,CAAC;QACD,OAAO,EAAE,CAAC;IACd,CAAC;IACD,MAAM,OAAO,GAAG,KAAK,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC;IAC9D,IAAI,QAAQ,KAAK,SAAS,IAAI,QAAQ,KAAK,IAAI,EAAE,CAAC;QAC9C,MAAM,IAAI,SAAS,CACf,yEAAyE;YACzE,GAAG,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,iCAAiC,OAAO,EAAE,CAC1E,CAAC;IACN,CAAC;IACD,IAAI,OAAO,QAAQ,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC1D,MAAM,IAAI,SAAS,CACf,uEAAuE;YACvE,WAAW,OAAO,UAAU,OAAO,QAAQ,EAAE,CAChD,CAAC;IACN,CAAC;IACD,MAAM,GAAG,GAAG,QAAoC,CAAC;IACjD,MAAM,OAAO,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC;IACtD,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;QACjB,MAAM,IAAI,SAAS,CACf,oCAAoC,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,yBAAyB;YACpF,MAAM,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,iBAAiB,CACpD,CAAC;IACN,CAAC;IACD,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC;IACtE,IAAI,KAAK,CAAC,MAAM,EAAE,CAAC;QACf,MAAM,IAAI,SAAS,CACf,wCAAwC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,qBAAqB;YAClF,GAAG,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,GAAG,CACnC,CAAC;IACN,CAAC;IACD,OAAO,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;AACzC,CAAC;AAED;;mDAEmD;AACnD,SAAS,aAAa,CAAC,IAAa;IAChC,IAAI,IAAI,IAAI,IAAI,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE,CAAC;QAC3C,MAAM,CAAC,GAAI,IAA6B,CAAC,MAAM,CAAC;QAChD,IAAI,CAAC,IAAI,IAAI,IAAI,OAAO,CAAC,KAAK,QAAQ,EAAE,CAAC;YACrC,OAAO,CAA6B,CAAC;QACzC,CAAC;IACL,CAAC;IACD,OAAO,SAAS,CAAC;AACrB,CAAC;AAED;;;;;;;GAOG;AACH,SAAS,aAAa,CAClB,IAAa,EACb,QAAiB,EACjB,UAA6B,EAC7B,eAAkC;IAElC,MAAM,IAAI,GAAkB,EAAE,CAAC;IAC/B,MAAM,UAAU,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;IAC5E,IAAI,UAAU,EAAE,CAAC;QACb,KAAK,MAAM,IAAI,IAAI,eAAe,EAAE,CAAC;YACjC,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,iBAAiB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;QAC3D,CAAC;IACL,CAAC;IACD,MAAM,QAAQ,GAAG,kBAAkB,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;IAC1D,IAAI,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACxB,IAAI,eAAe,CAAC,MAAM,IAAI,CAAC,UAAU,EAAE,CAAC;YACxC,kEAAkE;YAClE,8DAA8D;YAC9D,MAAM,IAAI,SAAS,CACf,iFAAiF;gBACjF,yCAAyC,CAC5C,CAAC;QACN,CAAC;QACD,UAAU,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE;YAC3B,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,iBAAiB,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACtD,CAAC,CAAC,CAAC;IACP,CAAC;IACD,OAAO,IAAI,CAAC;AAChB,CAAC;AAMD,SAAS,eAAe;IACpB,OAAO,MAAM,CAAC,qBAAqB,EAAE,CAAC,CAAC;AAC3C,CAAC;AAED,SAAS,iBAAiB,CAAC,GAAgC,EAAE,MAAc;IACvE,GAAG,EAAE,aAAa,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAC;IACtC,OAAO;QACH,MAAM;YACF,GAAG,EAAE,aAAa,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAC;QAC1C,CAAC;KACJ,CAAC;AACN,CAAC;AAED,SAAS,SAAS,CACd,IAAe,EACf,kBAAqC,EACrC,kBAAqC;IAErC,MAAM,eAAe,GAAG,kBAAkB,CAAC,MAAM,CAAC;IAClD,IAAI,IAAI,CAAC,MAAM,GAAG,eAAe,GAAG,CAAC,EAAE,CAAC;QACpC,MAAM,IAAI,SAAS,CACf,OAAO,IAAI,CAAC,MAAM,kCAAkC,eAAe,cAAc;YACjF,oBAAoB,IAAI,CAAC,SAAS,CAAC,kBAAkB,CAAC,GAAG,CAC5D,CAAC;IACN,CAAC;IACD,MAAM,KAAK,GAA4B,EAAE,CAAC;IAC1C,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,IAAI,CAAC,GAAG,eAAe,EAAE,CAAC,EAAE,EAAE,CAAC;QAC1D,IAAI,IAAI,CAAC,CAAC,CAAC,KAAK,KAAK;YAAE,SAAS;QAChC,KAAK,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;IAC3C,CAAC;IACD,IAAI,GAAgC,CAAC;IACrC,IAAI,KAAc,CAAC;IACnB,IAAI,IAAI,CAAC,MAAM,GAAG,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,GAAG,IAAI,CAAC,eAAe,CAAC,CAAC;QACnC,IAAI,IAAI,KAAK,SAAS,IAAI,IAAI,KAAK,KAAK,EAAE,CAAC;YACvC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;QAC7B,CAAC;QACD,IAAI,IAAI,KAAK,IAAI,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE,CAAC;YACnE,MAAM,IAAI,SAAS,CAAC,gDAAgD,CAAC,CAAC;QAC1E,CAAC;QACD,MAAM,WAAW,GAAG,IAAI,GAAG,CAAC,kBAAkB,CAAC,CAAC;QAChD,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,IAA+B,CAAC,EAAE,CAAC;YACzE,IAAI,GAAG,KAAK,MAAM,EAAE,CAAC;gBACjB,IAAI,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,KAAK,EAAE,CAAC;oBACzC,GAAG,GAAG,KAAwB,CAAC;gBACnC,CAAC;gBACD,SAAS;YACb,CAAC;YACD,IAAI,GAAG,KAAK,QAAQ,EAAE,CAAC;gBACnB,+DAA+D;gBAC/D,gEAAgE;gBAChE,IAAI,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,KAAK,EAAE,CAAC;oBACzC,KAAK,GAAG,KAAK,CAAC;gBAClB,CAAC;gBACD,SAAS;YACb,CAAC;YACD,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC;gBACxB,MAAM,IAAI,SAAS,CAAC,6BAA6B,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;YAC5E,CAAC;YACD,IAAI,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,KAAK;gBAAE,SAAS;YACrD,KAAK,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;QACvB,CAAC;IACL,CAAC;IACD,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;AACzC,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,cAAc,CAC1B,OAAe,EACf,IAAU,EACV,kBAAqC,EACrC,kBAAkD,EAClD,QAAoC;IAEpC,MAAM,aAAa,GAAG,CAAC,GAAG,kBAAkB,CAAC,CAAC;IAC9C,MAAM,WAAW,GAAG,CAAC,GAAG,CAAC,kBAAkB,IAAI,EAAE,CAAC,CAAC,CAAC;IACpD,uEAAuE;IACvE,2EAA2E;IAC3E,MAAM,UAAU,GAAG,QAAQ,EAAE,UAAU,IAAI,EAAE,CAAC;IAC9C,MAAM,SAAS,GAAG,UAAU,CAAC,MAAM,GAAG,CAAC,CAAC;IACxC,6EAA6E;IAC7E,gEAAgE;IAChE,MAAM,WAAW,GAAG,CAAC,KAAgB,EAAiB,EAAE,CACpD,SAAS,CAAC,CAAC,CAAC,aAAa,CAAC,SAAS,EAAE,KAAK,CAAC,KAAK,EAAE,UAAU,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAC3E,IAAI,IAAI,KAAK,MAAM,EAAE,CAAC;QAClB,OAAO,CAAC,GAAG,IAAe,EAAW,EAAE;YACnC,MAAM,KAAK,GAAG,SAAS,CAAC,IAAI,EAAE,aAAa,EAAE,WAAW,CAAC,CAAC;YAC1D,MAAM,QAAQ,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC;YACpC,MAAM,EAAE,GAAG,UAAU,EAAE,CAAC;YACxB,MAAM,MAAM,GAAG,eAAe,EAAE,CAAC;YACjC,MAAM,SAAS,GAAG,cAAc,CAAC,KAAK,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAC;YACrF,MAAM,cAAc,GAAG,iBAAiB,CAAC,KAAK,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;YAC5D,IAAI,WAAmB,CAAC;YACxB,IAAI,CAAC;gBACD,WAAW,GAAG,EAAE,CAAC,gBAAgB,CAAC,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;YACtE,CAAC;oBAAS,CAAC;gBACP,cAAc,CAAC,MAAM,EAAE,CAAC;YAC5B,CAAC;YACD,OAAO,gBAAgB,CAAC,WAAW,CAAC,CAAC;QACzC,CAAC,CAAC;IACN,CAAC;IACD,IAAI,IAAI,KAAK,OAAO,EAAE,CAAC;QACnB,OAAO,KAAK,EAAE,GAAG,IAAe,EAAoB,EAAE;YAClD,MAAM,KAAK,GAAG,SAAS,CAAC,IAAI,EAAE,aAAa,EAAE,WAAW,CAAC,CAAC;YAC1D,MAAM,QAAQ,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC;YACpC,MAAM,EAAE,GAAG,UAAU,EAAE,CAAC;YACxB,MAAM,MAAM,GAAG,eAAe,EAAE,CAAC;YACjC,MAAM,SAAS,GAAG,cAAc,CAAC,KAAK,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAC;YACrE,MAAM,cAAc,GAAG,iBAAiB,CAAC,KAAK,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;YAC5D,IAAI,WAAmB,CAAC;YACxB,IAAI,CAAC;gBACD,WAAW,GAAG,MAAM,EAAE,CAAC,YAAY,CAAC,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;YACxE,CAAC;oBAAS,CAAC;gBACP,cAAc,CAAC,MAAM,EAAE,CAAC;YAC5B,CAAC;YACD,OAAO,gBAAgB,CAAC,WAAW,CAAC,CAAC;QACzC,CAAC,CAAC;IACN,CAAC;IACD,MAAM,IAAI,KAAK,CAAC,uCAAuC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACnF,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,sBAAsB,CAClC,OAAe,EACf,IAAU,EACV,kBAAqC,EACrC,kBAAkD,EAClD,QAAoC;IAEpC,MAAM,aAAa,GAAG,CAAC,GAAG,kBAAkB,CAAC,CAAC;IAC9C,MAAM,WAAW,GAAG,CAAC,GAAG,CAAC,kBAAkB,IAAI,EAAE,CAAC,CAAC,CAAC;IACpD,MAAM,QAAQ,GAAG,aAAa,CAAC,CAAC,CAAC,IAAI,MAAM,CAAC;IAC5C,MAAM,IAAI,GAAG,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IACpC,0EAA0E;IAC1E,qEAAqE;IACrE,6EAA6E;IAC7E,MAAM,UAAU,GAAG,QAAQ,EAAE,UAAU,IAAI,EAAE,CAAC;IAC9C,MAAM,eAAe,GAAG,QAAQ,EAAE,eAAe,IAAI,EAAE,CAAC;IACxD,MAAM,SAAS,GAAG,UAAU,CAAC,MAAM,GAAG,CAAC,IAAI,eAAe,CAAC,MAAM,GAAG,CAAC,CAAC;IAEtE,MAAM,QAAQ,GAAG,CAAC,IAAa,EAAE,IAAe,EAAa,EAAE;QAC3D,MAAM,KAAK,GAAG,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,WAAW,CAAC,CAAC;QACjD,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC;QAC9B,OAAO,KAAK,CAAC;IACjB,CAAC,CAAC;IAEF,OAAO;QACH,IAAI,CAAC,IAAa;YACd,MAAM,WAAW,GAAG,CAAC,KAAgB,EAAiB,EAAE,CACpD,SAAS,CAAC,CAAC,CAAC,aAAa,CAAC,IAAI,EAAE,KAAK,CAAC,KAAK,EAAE,UAAU,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;YACnF,IAAI,IAAI,KAAK,MAAM,EAAE,CAAC;gBAClB,OAAO,CAAC,GAAG,IAAe,EAAW,EAAE;oBACnC,MAAM,KAAK,GAAG,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;oBACnC,MAAM,QAAQ,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC;oBACpC,MAAM,EAAE,GAAG,UAAU,EAAE,CAAC;oBACxB,MAAM,MAAM,GAAG,eAAe,EAAE,CAAC;oBACjC,MAAM,SAAS,GAAG,cAAc,CAAC,KAAK,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAC;oBACrF,MAAM,cAAc,GAAG,iBAAiB,CAAC,KAAK,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;oBAC5D,IAAI,WAAmB,CAAC;oBACxB,IAAI,CAAC;wBACD,WAAW,GAAG,EAAE,CAAC,gBAAgB,CAAC,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;oBACtE,CAAC;4BAAS,CAAC;wBACP,cAAc,CAAC,MAAM,EAAE,CAAC;oBAC5B,CAAC;oBACD,OAAO,gBAAgB,CAAC,WAAW,CAAC,CAAC;gBACzC,CAAC,CAAC;YACN,CAAC;YACD,IAAI,IAAI,KAAK,OAAO,EAAE,CAAC;gBACnB,OAAO,KAAK,EAAE,GAAG,IAAe,EAAoB,EAAE;oBAClD,MAAM,KAAK,GAAG,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;oBACnC,MAAM,QAAQ,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC;oBACpC,MAAM,EAAE,GAAG,UAAU,EAAE,CAAC;oBACxB,MAAM,MAAM,GAAG,eAAe,EAAE,CAAC;oBACjC,MAAM,SAAS,GAAG,cAAc,CAAC,KAAK,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAC;oBACrE,MAAM,cAAc,GAAG,iBAAiB,CAAC,KAAK,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;oBAC5D,IAAI,WAAmB,CAAC;oBACxB,IAAI,CAAC;wBACD,WAAW,GAAG,MAAM,EAAE,CAAC,YAAY,CAAC,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;oBACxE,CAAC;4BAAS,CAAC;wBACP,cAAc,CAAC,MAAM,EAAE,CAAC;oBAC5B,CAAC;oBACD,OAAO,gBAAgB,CAAC,WAAW,CAAC,CAAC;gBACzC,CAAC,CAAC;YACN,CAAC;YACD,MAAM,IAAI,KAAK,CAAC,uCAAuC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QACnF,CAAC;KACJ,CAAC;AACN,CAAC"} \ No newline at end of file +{"version":3,"file":"define_function.js","sourceRoot":"","sources":["../typescript_src/define_function.ts"],"names":[],"mappings":"AAAA,6EAA6E;AAC7E,mEAAmE;AACnE,EAAE;AACF,+CAA+C;AAC/C,gFAAgF;AAChF,gGAAgG;AAChG,mDAAmD;AACnD,uFAAuF;AACvF,EAAE;AACF,6EAA6E;AAC7E,gFAAgF;AAChF,yDAAyD;AAEzD,OAAO,EAEH,UAAU,EACV,eAAe,IAAI,qBAAqB,GAC3C,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAE9D,OAAO,EAAE,iBAAiB,EAAiB,MAAM,cAAc,CAAC;AAIhE,8EAA8E;AAC9E,MAAM,CAAC,MAAM,KAAK,GAAkB,MAAM,CAAC,YAAY,CAAC,CAAC;AAwBzD;;;;;GAKG;AACH,SAAS,kBAAkB,CAAC,QAAiB,EAAE,UAA6B;IACxE,IAAI,UAAU,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC1B,IAAI,QAAQ,KAAK,SAAS,IAAI,QAAQ,KAAK,IAAI,EAAE,CAAC;YAC9C,MAAM,IAAI,SAAS,CACf,6EAA6E;gBAC7E,uBAAuB,CAC1B,CAAC;QACN,CAAC;QACD,OAAO,EAAE,CAAC;IACd,CAAC;IACD,MAAM,OAAO,GAAG,KAAK,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC;IAC9D,IAAI,QAAQ,KAAK,SAAS,IAAI,QAAQ,KAAK,IAAI,EAAE,CAAC;QAC9C,MAAM,IAAI,SAAS,CACf,yEAAyE;YACzE,GAAG,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,iCAAiC,OAAO,EAAE,CAC1E,CAAC;IACN,CAAC;IACD,IAAI,OAAO,QAAQ,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC1D,MAAM,IAAI,SAAS,CACf,uEAAuE;YACvE,WAAW,OAAO,UAAU,OAAO,QAAQ,EAAE,CAChD,CAAC;IACN,CAAC;IACD,MAAM,GAAG,GAAG,QAAoC,CAAC;IACjD,MAAM,OAAO,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC;IACtD,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;QACjB,MAAM,IAAI,SAAS,CACf,oCAAoC,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,yBAAyB;YACpF,MAAM,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,iBAAiB,CACpD,CAAC;IACN,CAAC;IACD,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC;IACtE,IAAI,KAAK,CAAC,MAAM,EAAE,CAAC;QACf,MAAM,IAAI,SAAS,CACf,wCAAwC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,qBAAqB;YAClF,GAAG,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,GAAG,CACnC,CAAC;IACN,CAAC;IACD,OAAO,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;AACzC,CAAC;AAED;;mDAEmD;AACnD,SAAS,aAAa,CAAC,IAAa;IAChC,IAAI,IAAI,IAAI,IAAI,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE,CAAC;QAC3C,MAAM,CAAC,GAAI,IAA6B,CAAC,MAAM,CAAC;QAChD,IAAI,CAAC,IAAI,IAAI,IAAI,OAAO,CAAC,KAAK,QAAQ,EAAE,CAAC;YACrC,OAAO,CAA6B,CAAC;QACzC,CAAC;IACL,CAAC;IACD,OAAO,SAAS,CAAC;AACrB,CAAC;AAED;;;;;;;GAOG;AACH,SAAS,aAAa,CAClB,IAAa,EACb,QAAiB,EACjB,UAA6B,EAC7B,eAAkC;IAElC,MAAM,IAAI,GAAkB,EAAE,CAAC;IAC/B,MAAM,UAAU,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;IAC5E,IAAI,UAAU,EAAE,CAAC;QACb,KAAK,MAAM,IAAI,IAAI,eAAe,EAAE,CAAC;YACjC,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,iBAAiB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;QAC3D,CAAC;IACL,CAAC;IACD,MAAM,QAAQ,GAAG,kBAAkB,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;IAC1D,IAAI,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACxB,IAAI,eAAe,CAAC,MAAM,IAAI,CAAC,UAAU,EAAE,CAAC;YACxC,kEAAkE;YAClE,8DAA8D;YAC9D,MAAM,IAAI,SAAS,CACf,iFAAiF;gBACjF,yCAAyC,CAC5C,CAAC;QACN,CAAC;QACD,UAAU,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE;YAC3B,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,iBAAiB,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACtD,CAAC,CAAC,CAAC;IACP,CAAC;IACD,OAAO,IAAI,CAAC;AAChB,CAAC;AAMD,SAAS,eAAe;IACpB,OAAO,MAAM,CAAC,qBAAqB,EAAE,CAAC,CAAC;AAC3C,CAAC;AAED,SAAS,iBAAiB,CAAC,GAAgC,EAAE,MAAc;IACvE,GAAG,EAAE,aAAa,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAC;IACtC,OAAO;QACH,MAAM;YACF,GAAG,EAAE,aAAa,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAC;QAC1C,CAAC;KACJ,CAAC;AACN,CAAC;AAED,SAAS,SAAS,CACd,IAAe,EACf,kBAAqC,EACrC,kBAAqC;IAErC,MAAM,eAAe,GAAG,kBAAkB,CAAC,MAAM,CAAC;IAClD,IAAI,IAAI,CAAC,MAAM,GAAG,eAAe,GAAG,CAAC,EAAE,CAAC;QACpC,MAAM,IAAI,SAAS,CACf,OAAO,IAAI,CAAC,MAAM,kCAAkC,eAAe,cAAc;YACjF,oBAAoB,IAAI,CAAC,SAAS,CAAC,kBAAkB,CAAC,GAAG,CAC5D,CAAC;IACN,CAAC;IACD,MAAM,KAAK,GAA4B,EAAE,CAAC;IAC1C,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,IAAI,CAAC,GAAG,eAAe,EAAE,CAAC,EAAE,EAAE,CAAC;QAC1D,IAAI,IAAI,CAAC,CAAC,CAAC,KAAK,KAAK;YAAE,SAAS;QAChC,KAAK,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;IAC3C,CAAC;IACD,IAAI,GAAgC,CAAC;IACrC,IAAI,KAAc,CAAC;IACnB,IAAI,IAAI,CAAC,MAAM,GAAG,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,GAAG,IAAI,CAAC,eAAe,CAAC,CAAC;QACnC,IAAI,IAAI,KAAK,SAAS,IAAI,IAAI,KAAK,KAAK,EAAE,CAAC;YACvC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;QAC7B,CAAC;QACD,IAAI,IAAI,KAAK,IAAI,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE,CAAC;YACnE,MAAM,IAAI,SAAS,CAAC,gDAAgD,CAAC,CAAC;QAC1E,CAAC;QACD,MAAM,WAAW,GAAG,IAAI,GAAG,CAAC,kBAAkB,CAAC,CAAC;QAChD,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,IAA+B,CAAC,EAAE,CAAC;YACzE,IAAI,GAAG,KAAK,MAAM,EAAE,CAAC;gBACjB,IAAI,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,KAAK,EAAE,CAAC;oBACzC,GAAG,GAAG,KAAwB,CAAC;gBACnC,CAAC;gBACD,SAAS;YACb,CAAC;YACD,IAAI,GAAG,KAAK,QAAQ,EAAE,CAAC;gBACnB,+DAA+D;gBAC/D,gEAAgE;gBAChE,IAAI,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,KAAK,EAAE,CAAC;oBACzC,KAAK,GAAG,KAAK,CAAC;gBAClB,CAAC;gBACD,SAAS;YACb,CAAC;YACD,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC;gBACxB,MAAM,IAAI,SAAS,CAAC,6BAA6B,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;YAC5E,CAAC;YACD,IAAI,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,KAAK;gBAAE,SAAS;YACrD,KAAK,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;QACvB,CAAC;IACL,CAAC;IACD,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;AACzC,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,cAAc,CAC1B,OAAe,EACf,IAAU,EACV,kBAAqC,EACrC,kBAAkD,EAClD,QAAoC;IAEpC,MAAM,aAAa,GAAG,CAAC,GAAG,kBAAkB,CAAC,CAAC;IAC9C,MAAM,WAAW,GAAG,CAAC,GAAG,CAAC,kBAAkB,IAAI,EAAE,CAAC,CAAC,CAAC;IACpD,uEAAuE;IACvE,2EAA2E;IAC3E,MAAM,UAAU,GAAG,QAAQ,EAAE,UAAU,IAAI,EAAE,CAAC;IAC9C,MAAM,SAAS,GAAG,UAAU,CAAC,MAAM,GAAG,CAAC,CAAC;IACxC,6EAA6E;IAC7E,gEAAgE;IAChE,MAAM,WAAW,GAAG,CAAC,KAAgB,EAAiB,EAAE,CACpD,SAAS,CAAC,CAAC,CAAC,aAAa,CAAC,SAAS,EAAE,KAAK,CAAC,KAAK,EAAE,UAAU,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAC3E,IAAI,IAAI,KAAK,MAAM,EAAE,CAAC;QAClB,OAAO,CAAC,GAAG,IAAe,EAAW,EAAE;YACnC,MAAM,KAAK,GAAG,SAAS,CAAC,IAAI,EAAE,aAAa,EAAE,WAAW,CAAC,CAAC;YAC1D,MAAM,QAAQ,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC;YACpC,MAAM,EAAE,GAAG,UAAU,EAAE,CAAC;YACxB,MAAM,MAAM,GAAG,eAAe,EAAE,CAAC;YACjC,MAAM,SAAS,GAAG,cAAc,CAAC,KAAK,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAC;YACrF,MAAM,cAAc,GAAG,iBAAiB,CAAC,KAAK,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;YAC5D,IAAI,WAAmB,CAAC;YACxB,IAAI,CAAC;gBACD,WAAW,GAAG,EAAE,CAAC,gBAAgB,CAAC,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;YACtE,CAAC;oBAAS,CAAC;gBACP,cAAc,CAAC,MAAM,EAAE,CAAC;YAC5B,CAAC;YACD,OAAO,gBAAgB,CAAC,WAAW,CAAC,CAAC;QACzC,CAAC,CAAC;IACN,CAAC;IACD,IAAI,IAAI,KAAK,OAAO,EAAE,CAAC;QACnB,OAAO,KAAK,EAAE,GAAG,IAAe,EAAoB,EAAE;YAClD,MAAM,KAAK,GAAG,SAAS,CAAC,IAAI,EAAE,aAAa,EAAE,WAAW,CAAC,CAAC;YAC1D,MAAM,QAAQ,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC;YACpC,MAAM,EAAE,GAAG,UAAU,EAAE,CAAC;YACxB,MAAM,MAAM,GAAG,eAAe,EAAE,CAAC;YACjC,MAAM,SAAS,GAAG,cAAc,CAAC,KAAK,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAC;YACrE,MAAM,cAAc,GAAG,iBAAiB,CAAC,KAAK,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;YAC5D,IAAI,WAAmB,CAAC;YACxB,IAAI,CAAC;gBACD,WAAW,GAAG,MAAM,EAAE,CAAC,YAAY,CAAC,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;YACxE,CAAC;oBAAS,CAAC;gBACP,cAAc,CAAC,MAAM,EAAE,CAAC;YAC5B,CAAC;YACD,OAAO,gBAAgB,CAAC,WAAW,CAAC,CAAC;QACzC,CAAC,CAAC;IACN,CAAC;IACD,MAAM,IAAI,KAAK,CAAC,uCAAuC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACnF,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,sBAAsB,CAClC,OAAe,EACf,IAAU,EACV,kBAAqC,EACrC,kBAAkD,EAClD,QAAoC;IAEpC,MAAM,aAAa,GAAG,CAAC,GAAG,kBAAkB,CAAC,CAAC;IAC9C,MAAM,WAAW,GAAG,CAAC,GAAG,CAAC,kBAAkB,IAAI,EAAE,CAAC,CAAC,CAAC;IACpD,MAAM,QAAQ,GAAG,aAAa,CAAC,CAAC,CAAC,IAAI,MAAM,CAAC;IAC5C,MAAM,IAAI,GAAG,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IACpC,0EAA0E;IAC1E,qEAAqE;IACrE,6EAA6E;IAC7E,MAAM,UAAU,GAAG,QAAQ,EAAE,UAAU,IAAI,EAAE,CAAC;IAC9C,MAAM,eAAe,GAAG,QAAQ,EAAE,eAAe,IAAI,EAAE,CAAC;IACxD,MAAM,SAAS,GAAG,UAAU,CAAC,MAAM,GAAG,CAAC,IAAI,eAAe,CAAC,MAAM,GAAG,CAAC,CAAC;IAEtE,MAAM,QAAQ,GAAG,CAAC,IAAa,EAAE,IAAe,EAAa,EAAE;QAC3D,MAAM,KAAK,GAAG,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,WAAW,CAAC,CAAC;QACjD,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC;QAC9B,OAAO,KAAK,CAAC;IACjB,CAAC,CAAC;IAEF,OAAO;QACH,IAAI,CAAC,IAAa;YACd,MAAM,WAAW,GAAG,CAAC,KAAgB,EAAiB,EAAE,CACpD,SAAS,CAAC,CAAC,CAAC,aAAa,CAAC,IAAI,EAAE,KAAK,CAAC,KAAK,EAAE,UAAU,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;YACnF,IAAI,IAAI,KAAK,MAAM,EAAE,CAAC;gBAClB,OAAO,CAAC,GAAG,IAAe,EAAW,EAAE;oBACnC,MAAM,KAAK,GAAG,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;oBACnC,MAAM,QAAQ,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC;oBACpC,MAAM,EAAE,GAAG,UAAU,EAAE,CAAC;oBACxB,MAAM,MAAM,GAAG,eAAe,EAAE,CAAC;oBACjC,MAAM,SAAS,GAAG,cAAc,CAAC,KAAK,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAC;oBACrF,MAAM,cAAc,GAAG,iBAAiB,CAAC,KAAK,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;oBAC5D,IAAI,WAAmB,CAAC;oBACxB,IAAI,CAAC;wBACD,WAAW,GAAG,EAAE,CAAC,gBAAgB,CAAC,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;oBACtE,CAAC;4BAAS,CAAC;wBACP,cAAc,CAAC,MAAM,EAAE,CAAC;oBAC5B,CAAC;oBACD,OAAO,gBAAgB,CAAC,WAAW,CAAC,CAAC;gBACzC,CAAC,CAAC;YACN,CAAC;YACD,IAAI,IAAI,KAAK,OAAO,EAAE,CAAC;gBACnB,OAAO,KAAK,EAAE,GAAG,IAAe,EAAoB,EAAE;oBAClD,MAAM,KAAK,GAAG,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;oBACnC,MAAM,QAAQ,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC;oBACpC,MAAM,EAAE,GAAG,UAAU,EAAE,CAAC;oBACxB,MAAM,MAAM,GAAG,eAAe,EAAE,CAAC;oBACjC,MAAM,SAAS,GAAG,cAAc,CAAC,KAAK,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAC;oBACrE,MAAM,cAAc,GAAG,iBAAiB,CAAC,KAAK,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;oBAC5D,IAAI,WAAmB,CAAC;oBACxB,IAAI,CAAC;wBACD,WAAW,GAAG,MAAM,EAAE,CAAC,YAAY,CAAC,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;oBACxE,CAAC;4BAAS,CAAC;wBACP,cAAc,CAAC,MAAM,EAAE,CAAC;oBAC5B,CAAC;oBACD,OAAO,gBAAgB,CAAC,WAAW,CAAC,CAAC;gBACzC,CAAC,CAAC;YACN,CAAC;YACD,MAAM,IAAI,KAAK,CAAC,uCAAuC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QACnF,CAAC;KACJ,CAAC;AACN,CAAC"} \ No newline at end of file diff --git a/baml_language/sdks/nodejs/bridge_nodejs/dist/errors.js b/baml_language/sdks/nodejs/bridge_nodejs/dist/errors.js index bb62b1dc63e..6f528ece2df 100644 --- a/baml_language/sdks/nodejs/bridge_nodejs/dist/errors.js +++ b/baml_language/sdks/nodejs/bridge_nodejs/dist/errors.js @@ -2,7 +2,7 @@ * THIS FILE IS AUTO-GENERATED — DO NOT EDIT BY HAND. * * Source: baml_language/crates/bridge_nodejs/typescript_src/ - * Proto: baml_language/crates/bridge_ctypes/types/baml_core/cffi/v1/*.proto + * Proto: baml_language/crates/bridge_ctypes/types/baml_bridge/cffi/v1/*.proto * Build: cd baml_language/crates/bridge_nodejs && pnpm build:debug */ // errors.ts — mirrors bridge_python/python_src/baml_py/errors.py diff --git a/baml_language/sdks/nodejs/bridge_nodejs/dist/exit_hook.d.ts b/baml_language/sdks/nodejs/bridge_nodejs/dist/exit_hook.d.ts index 57c8e13e27a..911faf7fcce 100644 --- a/baml_language/sdks/nodejs/bridge_nodejs/dist/exit_hook.d.ts +++ b/baml_language/sdks/nodejs/bridge_nodejs/dist/exit_hook.d.ts @@ -2,7 +2,7 @@ * THIS FILE IS AUTO-GENERATED — DO NOT EDIT BY HAND. * * Source: baml_language/crates/bridge_nodejs/typescript_src/ - * Proto: baml_language/crates/bridge_ctypes/types/baml_core/cffi/v1/*.proto + * Proto: baml_language/crates/bridge_ctypes/types/baml_bridge/cffi/v1/*.proto * Build: cd baml_language/crates/bridge_nodejs && pnpm build:debug */ export declare function installFlushOnExit(): void; diff --git a/baml_language/sdks/nodejs/bridge_nodejs/dist/exit_hook.js b/baml_language/sdks/nodejs/bridge_nodejs/dist/exit_hook.js index 2181ca4396a..2dc74b9faf1 100644 --- a/baml_language/sdks/nodejs/bridge_nodejs/dist/exit_hook.js +++ b/baml_language/sdks/nodejs/bridge_nodejs/dist/exit_hook.js @@ -2,7 +2,7 @@ * THIS FILE IS AUTO-GENERATED — DO NOT EDIT BY HAND. * * Source: baml_language/crates/bridge_nodejs/typescript_src/ - * Proto: baml_language/crates/bridge_ctypes/types/baml_core/cffi/v1/*.proto + * Proto: baml_language/crates/bridge_ctypes/types/baml_bridge/cffi/v1/*.proto * Build: cd baml_language/crates/bridge_nodejs && pnpm build:debug */ // exit_hook.ts — single-registration helper for flushEvents on process exit. diff --git a/baml_language/sdks/nodejs/bridge_nodejs/dist/host_value_registry.d.ts b/baml_language/sdks/nodejs/bridge_nodejs/dist/host_value_registry.d.ts index edaf856b0db..f86b75a35e3 100644 --- a/baml_language/sdks/nodejs/bridge_nodejs/dist/host_value_registry.d.ts +++ b/baml_language/sdks/nodejs/bridge_nodejs/dist/host_value_registry.d.ts @@ -2,7 +2,7 @@ * THIS FILE IS AUTO-GENERATED — DO NOT EDIT BY HAND. * * Source: baml_language/crates/bridge_nodejs/typescript_src/ - * Proto: baml_language/crates/bridge_ctypes/types/baml_core/cffi/v1/*.proto + * Proto: baml_language/crates/bridge_ctypes/types/baml_bridge/cffi/v1/*.proto * Build: cd baml_language/crates/bridge_nodejs && pnpm build:debug */ import { type HandleKey } from './native.js'; diff --git a/baml_language/sdks/nodejs/bridge_nodejs/dist/host_value_registry.js b/baml_language/sdks/nodejs/bridge_nodejs/dist/host_value_registry.js index f8ad753f1a6..5a45900f025 100644 --- a/baml_language/sdks/nodejs/bridge_nodejs/dist/host_value_registry.js +++ b/baml_language/sdks/nodejs/bridge_nodejs/dist/host_value_registry.js @@ -2,7 +2,7 @@ * THIS FILE IS AUTO-GENERATED — DO NOT EDIT BY HAND. * * Source: baml_language/crates/bridge_nodejs/typescript_src/ - * Proto: baml_language/crates/bridge_ctypes/types/baml_core/cffi/v1/*.proto + * Proto: baml_language/crates/bridge_ctypes/types/baml_bridge/cffi/v1/*.proto * Build: cd baml_language/crates/bridge_nodejs && pnpm build:debug */ // host_value_registry.ts — mirrors bridge_python's `register_host_opaque` @@ -42,8 +42,8 @@ // "no JS callable for this key"); `_releaseHostValue(0n)` is a benign // no-op since `mintHostValueKey` never returns `0`. import { mintHostValueKey, registerHostValueReleaseCallback, BamlHandle } from './native.js'; -import { baml_core } from './proto/baml_cffi.js'; -const BamlHandleType = baml_core.cffi.v1.BamlHandleType; +import { baml_bridge } from './proto/baml_cffi.js'; +const BamlHandleType = baml_bridge.cffi.v1.BamlHandleType; const hostValueMap = new Map(); /** * Convert a `HandleKey` (`{ low, high }`) to a `bigint` for use as a `Map` key. diff --git a/baml_language/sdks/nodejs/bridge_nodejs/dist/host_value_registry.js.map b/baml_language/sdks/nodejs/bridge_nodejs/dist/host_value_registry.js.map index b380a613293..25a7d5e6ef4 100644 --- a/baml_language/sdks/nodejs/bridge_nodejs/dist/host_value_registry.js.map +++ b/baml_language/sdks/nodejs/bridge_nodejs/dist/host_value_registry.js.map @@ -1 +1 @@ -{"version":3,"file":"host_value_registry.js","sourceRoot":"","sources":["../typescript_src/host_value_registry.ts"],"names":[],"mappings":"AAAA,0EAA0E;AAC1E,8BAA8B;AAC9B,EAAE;AACF,4EAA4E;AAC5E,6EAA6E;AAC7E,8EAA8E;AAC9E,6EAA6E;AAC7E,6EAA6E;AAC7E,YAAY;AACZ,EAAE;AACF,yEAAyE;AACzE,4DAA4D;AAC5D,4DAA4D;AAC5D,0EAA0E;AAC1E,yEAAyE;AACzE,0EAA0E;AAC1E,gFAAgF;AAChF,2EAA2E;AAC3E,wDAAwD;AACxD,yEAAyE;AACzE,2EAA2E;AAC3E,yEAAyE;AACzE,6EAA6E;AAC7E,8BAA8B;AAC9B,yEAAyE;AACzE,uEAAuE;AACvE,oFAAoF;AACpF,qCAAqC;AACrC,EAAE;AACF,2EAA2E;AAC3E,qEAAqE;AACrE,4EAA4E;AAC5E,qEAAqE;AACrE,yEAAyE;AACzE,sEAAsE;AACtE,oDAAoD;AAEpD,OAAO,EAAE,gBAAgB,EAAE,gCAAgC,EAAE,UAAU,EAAkB,MAAM,aAAa,CAAC;AAC7G,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,MAAM,cAAc,GAAG,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,cAAc,CAAC;AAExD,MAAM,YAAY,GAAG,IAAI,GAAG,EAAmB,CAAC;AAEhD;;;;;;;;;;;;;;GAcG;AACH,SAAS,iBAAiB,CAAC,GAAc;IACrC,MAAM,GAAG,GAAG,MAAM,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC;IAClC,MAAM,IAAI,GAAG,MAAM,CAAC,GAAG,CAAC,IAAI,KAAK,CAAC,CAAC,CAAC;IACpC,OAAO,CAAC,IAAI,IAAI,GAAG,CAAC,GAAG,GAAG,CAAC;AAC/B,CAAC;AAED;;;;;;;;;;;;;GAaG;AACH,MAAM,UAAU,kBAAkB,CAAC,KAAc;IAC7C,MAAM,GAAG,GAAG,gBAAgB,EAAE,CAAC;IAC/B,YAAY,CAAC,GAAG,CAAC,iBAAiB,CAAC,GAAG,CAAC,EAAE,KAAK,CAAC,CAAC;IAChD,OAAO,GAAG,CAAC;AACf,CAAC;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,UAAU,eAAe,CAAC,GAAW;IACvC,OAAO,YAAY,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AACjC,CAAC;AAED;;;;;;;;;GASG;AACH,MAAM,UAAU,0BAA0B,CAAC,MAAe;IACtD,IAAI,CAAC,CAAC,MAAM,YAAY,UAAU,CAAC;QAAE,OAAO,SAAS,CAAC;IACtD,IAAI,MAAM,CAAC,UAAU,KAAK,cAAc,CAAC,iBAAiB;QAAE,OAAO,SAAS,CAAC;IAC7E,OAAO,eAAe,CAAC,iBAAiB,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC;AAC1D,CAAC;AAED;;;;;GAKG;AACH,SAAS,iBAAiB,CAAC,GAAc;IACrC,YAAY,CAAC,MAAM,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAAC,CAAC;AAChD,CAAC;AAED,0EAA0E;AAC1E,uEAAuE;AACvE,sCAAsC;AACtC,gCAAgC,CAAC,iBAAiB,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"host_value_registry.js","sourceRoot":"","sources":["../typescript_src/host_value_registry.ts"],"names":[],"mappings":"AAAA,0EAA0E;AAC1E,8BAA8B;AAC9B,EAAE;AACF,4EAA4E;AAC5E,6EAA6E;AAC7E,8EAA8E;AAC9E,6EAA6E;AAC7E,6EAA6E;AAC7E,YAAY;AACZ,EAAE;AACF,yEAAyE;AACzE,4DAA4D;AAC5D,4DAA4D;AAC5D,0EAA0E;AAC1E,yEAAyE;AACzE,0EAA0E;AAC1E,gFAAgF;AAChF,2EAA2E;AAC3E,wDAAwD;AACxD,yEAAyE;AACzE,2EAA2E;AAC3E,yEAAyE;AACzE,6EAA6E;AAC7E,8BAA8B;AAC9B,yEAAyE;AACzE,uEAAuE;AACvE,oFAAoF;AACpF,qCAAqC;AACrC,EAAE;AACF,2EAA2E;AAC3E,qEAAqE;AACrE,4EAA4E;AAC5E,qEAAqE;AACrE,yEAAyE;AACzE,sEAAsE;AACtE,oDAAoD;AAEpD,OAAO,EAAE,gBAAgB,EAAE,gCAAgC,EAAE,UAAU,EAAkB,MAAM,aAAa,CAAC;AAC7G,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEnD,MAAM,cAAc,GAAG,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC,cAAc,CAAC;AAE1D,MAAM,YAAY,GAAG,IAAI,GAAG,EAAmB,CAAC;AAEhD;;;;;;;;;;;;;;GAcG;AACH,SAAS,iBAAiB,CAAC,GAAc;IACrC,MAAM,GAAG,GAAG,MAAM,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC;IAClC,MAAM,IAAI,GAAG,MAAM,CAAC,GAAG,CAAC,IAAI,KAAK,CAAC,CAAC,CAAC;IACpC,OAAO,CAAC,IAAI,IAAI,GAAG,CAAC,GAAG,GAAG,CAAC;AAC/B,CAAC;AAED;;;;;;;;;;;;;GAaG;AACH,MAAM,UAAU,kBAAkB,CAAC,KAAc;IAC7C,MAAM,GAAG,GAAG,gBAAgB,EAAE,CAAC;IAC/B,YAAY,CAAC,GAAG,CAAC,iBAAiB,CAAC,GAAG,CAAC,EAAE,KAAK,CAAC,CAAC;IAChD,OAAO,GAAG,CAAC;AACf,CAAC;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,UAAU,eAAe,CAAC,GAAW;IACvC,OAAO,YAAY,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AACjC,CAAC;AAED;;;;;;;;;GASG;AACH,MAAM,UAAU,0BAA0B,CAAC,MAAe;IACtD,IAAI,CAAC,CAAC,MAAM,YAAY,UAAU,CAAC;QAAE,OAAO,SAAS,CAAC;IACtD,IAAI,MAAM,CAAC,UAAU,KAAK,cAAc,CAAC,iBAAiB;QAAE,OAAO,SAAS,CAAC;IAC7E,OAAO,eAAe,CAAC,iBAAiB,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC;AAC1D,CAAC;AAED;;;;;GAKG;AACH,SAAS,iBAAiB,CAAC,GAAc;IACrC,YAAY,CAAC,MAAM,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAAC,CAAC;AAChD,CAAC;AAED,0EAA0E;AAC1E,uEAAuE;AACvE,sCAAsC;AACtC,gCAAgC,CAAC,iBAAiB,CAAC,CAAC"} \ No newline at end of file diff --git a/baml_language/sdks/nodejs/bridge_nodejs/dist/index.d.ts b/baml_language/sdks/nodejs/bridge_nodejs/dist/index.d.ts index d7f8be4432c..4c21a7e4212 100644 --- a/baml_language/sdks/nodejs/bridge_nodejs/dist/index.d.ts +++ b/baml_language/sdks/nodejs/bridge_nodejs/dist/index.d.ts @@ -2,7 +2,7 @@ * THIS FILE IS AUTO-GENERATED — DO NOT EDIT BY HAND. * * Source: baml_language/crates/bridge_nodejs/typescript_src/ - * Proto: baml_language/crates/bridge_ctypes/types/baml_core/cffi/v1/*.proto + * Proto: baml_language/crates/bridge_ctypes/types/baml_bridge/cffi/v1/*.proto * Build: cd baml_language/crates/bridge_nodejs && pnpm build:debug */ import { BamlRuntime, BamlCallContext, HostSpanManager, Collector as NativeCollector, FunctionLog as NativeFunctionLog, Timing, Usage, LLMCall } from './native.js'; diff --git a/baml_language/sdks/nodejs/bridge_nodejs/dist/index.js b/baml_language/sdks/nodejs/bridge_nodejs/dist/index.js index ee48fec6ab2..c58685fcc51 100644 --- a/baml_language/sdks/nodejs/bridge_nodejs/dist/index.js +++ b/baml_language/sdks/nodejs/bridge_nodejs/dist/index.js @@ -2,7 +2,7 @@ * THIS FILE IS AUTO-GENERATED — DO NOT EDIT BY HAND. * * Source: baml_language/crates/bridge_nodejs/typescript_src/ - * Proto: baml_language/crates/bridge_ctypes/types/baml_core/cffi/v1/*.proto + * Proto: baml_language/crates/bridge_ctypes/types/baml_bridge/cffi/v1/*.proto * Build: cd baml_language/crates/bridge_nodejs && pnpm build:debug */ // index.ts — mirrors bridge_python/python_src/baml_py/__init__.py diff --git a/baml_language/sdks/nodejs/bridge_nodejs/dist/native.d.ts b/baml_language/sdks/nodejs/bridge_nodejs/dist/native.d.ts index 0c0d0f1596c..54844dcddd8 100644 --- a/baml_language/sdks/nodejs/bridge_nodejs/dist/native.d.ts +++ b/baml_language/sdks/nodejs/bridge_nodejs/dist/native.d.ts @@ -2,7 +2,7 @@ * THIS FILE IS AUTO-GENERATED — DO NOT EDIT BY HAND. * * Source: baml_language/crates/bridge_nodejs/typescript_src/ - * Proto: baml_language/crates/bridge_ctypes/types/baml_core/cffi/v1/*.proto + * Proto: baml_language/crates/bridge_ctypes/types/baml_bridge/cffi/v1/*.proto * Build: cd baml_language/crates/bridge_nodejs && pnpm build:debug */ /* auto-generated by NAPI-RS */ diff --git a/baml_language/sdks/nodejs/bridge_nodejs/dist/native.js b/baml_language/sdks/nodejs/bridge_nodejs/dist/native.js index a4ef31939bd..79cc1cce2c2 100644 --- a/baml_language/sdks/nodejs/bridge_nodejs/dist/native.js +++ b/baml_language/sdks/nodejs/bridge_nodejs/dist/native.js @@ -2,7 +2,7 @@ * THIS FILE IS AUTO-GENERATED — DO NOT EDIT BY HAND. * * Source: baml_language/crates/bridge_nodejs/typescript_src/ - * Proto: baml_language/crates/bridge_ctypes/types/baml_core/cffi/v1/*.proto + * Proto: baml_language/crates/bridge_ctypes/types/baml_bridge/cffi/v1/*.proto * Build: cd baml_language/crates/bridge_nodejs && pnpm build:debug */ // prettier-ignore @@ -86,8 +86,8 @@ function requireNative() { loadErrors.push(e) } try { - const binding = require('@boundaryml/baml-core-node-android-arm64') - const bindingPackageVersion = require('@boundaryml/baml-core-node-android-arm64/package.json').version + const binding = require('@boundaryml/baml-bridge-android-arm64') + const bindingPackageVersion = require('@boundaryml/baml-bridge-android-arm64/package.json').version if (bindingPackageVersion !== '0.13.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { throw new Error(`Native binding package version mismatch, expected 0.13.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } @@ -102,8 +102,8 @@ function requireNative() { loadErrors.push(e) } try { - const binding = require('@boundaryml/baml-core-node-android-arm-eabi') - const bindingPackageVersion = require('@boundaryml/baml-core-node-android-arm-eabi/package.json').version + const binding = require('@boundaryml/baml-bridge-android-arm-eabi') + const bindingPackageVersion = require('@boundaryml/baml-bridge-android-arm-eabi/package.json').version if (bindingPackageVersion !== '0.13.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { throw new Error(`Native binding package version mismatch, expected 0.13.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } @@ -123,8 +123,8 @@ function requireNative() { loadErrors.push(e) } try { - const binding = require('@boundaryml/baml-core-node-win32-x64-gnu') - const bindingPackageVersion = require('@boundaryml/baml-core-node-win32-x64-gnu/package.json').version + const binding = require('@boundaryml/baml-bridge-win32-x64-gnu') + const bindingPackageVersion = require('@boundaryml/baml-bridge-win32-x64-gnu/package.json').version if (bindingPackageVersion !== '0.13.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { throw new Error(`Native binding package version mismatch, expected 0.13.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } @@ -139,8 +139,8 @@ function requireNative() { loadErrors.push(e) } try { - const binding = require('@boundaryml/baml-core-node-win32-x64-msvc') - const bindingPackageVersion = require('@boundaryml/baml-core-node-win32-x64-msvc/package.json').version + const binding = require('@boundaryml/baml-bridge-win32-x64-msvc') + const bindingPackageVersion = require('@boundaryml/baml-bridge-win32-x64-msvc/package.json').version if (bindingPackageVersion !== '0.13.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { throw new Error(`Native binding package version mismatch, expected 0.13.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } @@ -156,8 +156,8 @@ function requireNative() { loadErrors.push(e) } try { - const binding = require('@boundaryml/baml-core-node-win32-ia32-msvc') - const bindingPackageVersion = require('@boundaryml/baml-core-node-win32-ia32-msvc/package.json').version + const binding = require('@boundaryml/baml-bridge-win32-ia32-msvc') + const bindingPackageVersion = require('@boundaryml/baml-bridge-win32-ia32-msvc/package.json').version if (bindingPackageVersion !== '0.13.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { throw new Error(`Native binding package version mismatch, expected 0.13.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } @@ -172,8 +172,8 @@ function requireNative() { loadErrors.push(e) } try { - const binding = require('@boundaryml/baml-core-node-win32-arm64-msvc') - const bindingPackageVersion = require('@boundaryml/baml-core-node-win32-arm64-msvc/package.json').version + const binding = require('@boundaryml/baml-bridge-win32-arm64-msvc') + const bindingPackageVersion = require('@boundaryml/baml-bridge-win32-arm64-msvc/package.json').version if (bindingPackageVersion !== '0.13.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { throw new Error(`Native binding package version mismatch, expected 0.13.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } @@ -191,8 +191,8 @@ function requireNative() { loadErrors.push(e) } try { - const binding = require('@boundaryml/baml-core-node-darwin-universal') - const bindingPackageVersion = require('@boundaryml/baml-core-node-darwin-universal/package.json').version + const binding = require('@boundaryml/baml-bridge-darwin-universal') + const bindingPackageVersion = require('@boundaryml/baml-bridge-darwin-universal/package.json').version if (bindingPackageVersion !== '0.13.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { throw new Error(`Native binding package version mismatch, expected 0.13.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } @@ -207,8 +207,8 @@ function requireNative() { loadErrors.push(e) } try { - const binding = require('@boundaryml/baml-core-node-darwin-x64') - const bindingPackageVersion = require('@boundaryml/baml-core-node-darwin-x64/package.json').version + const binding = require('@boundaryml/baml-bridge-darwin-x64') + const bindingPackageVersion = require('@boundaryml/baml-bridge-darwin-x64/package.json').version if (bindingPackageVersion !== '0.13.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { throw new Error(`Native binding package version mismatch, expected 0.13.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } @@ -223,8 +223,8 @@ function requireNative() { loadErrors.push(e) } try { - const binding = require('@boundaryml/baml-core-node-darwin-arm64') - const bindingPackageVersion = require('@boundaryml/baml-core-node-darwin-arm64/package.json').version + const binding = require('@boundaryml/baml-bridge-darwin-arm64') + const bindingPackageVersion = require('@boundaryml/baml-bridge-darwin-arm64/package.json').version if (bindingPackageVersion !== '0.13.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { throw new Error(`Native binding package version mismatch, expected 0.13.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } @@ -243,8 +243,8 @@ function requireNative() { loadErrors.push(e) } try { - const binding = require('@boundaryml/baml-core-node-freebsd-x64') - const bindingPackageVersion = require('@boundaryml/baml-core-node-freebsd-x64/package.json').version + const binding = require('@boundaryml/baml-bridge-freebsd-x64') + const bindingPackageVersion = require('@boundaryml/baml-bridge-freebsd-x64/package.json').version if (bindingPackageVersion !== '0.13.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { throw new Error(`Native binding package version mismatch, expected 0.13.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } @@ -259,8 +259,8 @@ function requireNative() { loadErrors.push(e) } try { - const binding = require('@boundaryml/baml-core-node-freebsd-arm64') - const bindingPackageVersion = require('@boundaryml/baml-core-node-freebsd-arm64/package.json').version + const binding = require('@boundaryml/baml-bridge-freebsd-arm64') + const bindingPackageVersion = require('@boundaryml/baml-bridge-freebsd-arm64/package.json').version if (bindingPackageVersion !== '0.13.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { throw new Error(`Native binding package version mismatch, expected 0.13.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } @@ -280,8 +280,8 @@ function requireNative() { loadErrors.push(e) } try { - const binding = require('@boundaryml/baml-core-node-linux-x64-musl') - const bindingPackageVersion = require('@boundaryml/baml-core-node-linux-x64-musl/package.json').version + const binding = require('@boundaryml/baml-bridge-linux-x64-musl') + const bindingPackageVersion = require('@boundaryml/baml-bridge-linux-x64-musl/package.json').version if (bindingPackageVersion !== '0.13.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { throw new Error(`Native binding package version mismatch, expected 0.13.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } @@ -296,8 +296,8 @@ function requireNative() { loadErrors.push(e) } try { - const binding = require('@boundaryml/baml-core-node-linux-x64-gnu') - const bindingPackageVersion = require('@boundaryml/baml-core-node-linux-x64-gnu/package.json').version + const binding = require('@boundaryml/baml-bridge-linux-x64-gnu') + const bindingPackageVersion = require('@boundaryml/baml-bridge-linux-x64-gnu/package.json').version if (bindingPackageVersion !== '0.13.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { throw new Error(`Native binding package version mismatch, expected 0.13.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } @@ -314,8 +314,8 @@ function requireNative() { loadErrors.push(e) } try { - const binding = require('@boundaryml/baml-core-node-linux-arm64-musl') - const bindingPackageVersion = require('@boundaryml/baml-core-node-linux-arm64-musl/package.json').version + const binding = require('@boundaryml/baml-bridge-linux-arm64-musl') + const bindingPackageVersion = require('@boundaryml/baml-bridge-linux-arm64-musl/package.json').version if (bindingPackageVersion !== '0.13.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { throw new Error(`Native binding package version mismatch, expected 0.13.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } @@ -330,8 +330,8 @@ function requireNative() { loadErrors.push(e) } try { - const binding = require('@boundaryml/baml-core-node-linux-arm64-gnu') - const bindingPackageVersion = require('@boundaryml/baml-core-node-linux-arm64-gnu/package.json').version + const binding = require('@boundaryml/baml-bridge-linux-arm64-gnu') + const bindingPackageVersion = require('@boundaryml/baml-bridge-linux-arm64-gnu/package.json').version if (bindingPackageVersion !== '0.13.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { throw new Error(`Native binding package version mismatch, expected 0.13.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } @@ -348,8 +348,8 @@ function requireNative() { loadErrors.push(e) } try { - const binding = require('@boundaryml/baml-core-node-linux-arm-musleabihf') - const bindingPackageVersion = require('@boundaryml/baml-core-node-linux-arm-musleabihf/package.json').version + const binding = require('@boundaryml/baml-bridge-linux-arm-musleabihf') + const bindingPackageVersion = require('@boundaryml/baml-bridge-linux-arm-musleabihf/package.json').version if (bindingPackageVersion !== '0.13.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { throw new Error(`Native binding package version mismatch, expected 0.13.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } @@ -364,8 +364,8 @@ function requireNative() { loadErrors.push(e) } try { - const binding = require('@boundaryml/baml-core-node-linux-arm-gnueabihf') - const bindingPackageVersion = require('@boundaryml/baml-core-node-linux-arm-gnueabihf/package.json').version + const binding = require('@boundaryml/baml-bridge-linux-arm-gnueabihf') + const bindingPackageVersion = require('@boundaryml/baml-bridge-linux-arm-gnueabihf/package.json').version if (bindingPackageVersion !== '0.13.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { throw new Error(`Native binding package version mismatch, expected 0.13.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } @@ -382,8 +382,8 @@ function requireNative() { loadErrors.push(e) } try { - const binding = require('@boundaryml/baml-core-node-linux-loong64-musl') - const bindingPackageVersion = require('@boundaryml/baml-core-node-linux-loong64-musl/package.json').version + const binding = require('@boundaryml/baml-bridge-linux-loong64-musl') + const bindingPackageVersion = require('@boundaryml/baml-bridge-linux-loong64-musl/package.json').version if (bindingPackageVersion !== '0.13.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { throw new Error(`Native binding package version mismatch, expected 0.13.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } @@ -398,8 +398,8 @@ function requireNative() { loadErrors.push(e) } try { - const binding = require('@boundaryml/baml-core-node-linux-loong64-gnu') - const bindingPackageVersion = require('@boundaryml/baml-core-node-linux-loong64-gnu/package.json').version + const binding = require('@boundaryml/baml-bridge-linux-loong64-gnu') + const bindingPackageVersion = require('@boundaryml/baml-bridge-linux-loong64-gnu/package.json').version if (bindingPackageVersion !== '0.13.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { throw new Error(`Native binding package version mismatch, expected 0.13.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } @@ -416,8 +416,8 @@ function requireNative() { loadErrors.push(e) } try { - const binding = require('@boundaryml/baml-core-node-linux-riscv64-musl') - const bindingPackageVersion = require('@boundaryml/baml-core-node-linux-riscv64-musl/package.json').version + const binding = require('@boundaryml/baml-bridge-linux-riscv64-musl') + const bindingPackageVersion = require('@boundaryml/baml-bridge-linux-riscv64-musl/package.json').version if (bindingPackageVersion !== '0.13.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { throw new Error(`Native binding package version mismatch, expected 0.13.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } @@ -432,8 +432,8 @@ function requireNative() { loadErrors.push(e) } try { - const binding = require('@boundaryml/baml-core-node-linux-riscv64-gnu') - const bindingPackageVersion = require('@boundaryml/baml-core-node-linux-riscv64-gnu/package.json').version + const binding = require('@boundaryml/baml-bridge-linux-riscv64-gnu') + const bindingPackageVersion = require('@boundaryml/baml-bridge-linux-riscv64-gnu/package.json').version if (bindingPackageVersion !== '0.13.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { throw new Error(`Native binding package version mismatch, expected 0.13.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } @@ -449,8 +449,8 @@ function requireNative() { loadErrors.push(e) } try { - const binding = require('@boundaryml/baml-core-node-linux-ppc64-gnu') - const bindingPackageVersion = require('@boundaryml/baml-core-node-linux-ppc64-gnu/package.json').version + const binding = require('@boundaryml/baml-bridge-linux-ppc64-gnu') + const bindingPackageVersion = require('@boundaryml/baml-bridge-linux-ppc64-gnu/package.json').version if (bindingPackageVersion !== '0.13.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { throw new Error(`Native binding package version mismatch, expected 0.13.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } @@ -465,8 +465,8 @@ function requireNative() { loadErrors.push(e) } try { - const binding = require('@boundaryml/baml-core-node-linux-s390x-gnu') - const bindingPackageVersion = require('@boundaryml/baml-core-node-linux-s390x-gnu/package.json').version + const binding = require('@boundaryml/baml-bridge-linux-s390x-gnu') + const bindingPackageVersion = require('@boundaryml/baml-bridge-linux-s390x-gnu/package.json').version if (bindingPackageVersion !== '0.13.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { throw new Error(`Native binding package version mismatch, expected 0.13.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } @@ -485,8 +485,8 @@ function requireNative() { loadErrors.push(e) } try { - const binding = require('@boundaryml/baml-core-node-openharmony-arm64') - const bindingPackageVersion = require('@boundaryml/baml-core-node-openharmony-arm64/package.json').version + const binding = require('@boundaryml/baml-bridge-openharmony-arm64') + const bindingPackageVersion = require('@boundaryml/baml-bridge-openharmony-arm64/package.json').version if (bindingPackageVersion !== '0.13.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { throw new Error(`Native binding package version mismatch, expected 0.13.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } @@ -501,8 +501,8 @@ function requireNative() { loadErrors.push(e) } try { - const binding = require('@boundaryml/baml-core-node-openharmony-x64') - const bindingPackageVersion = require('@boundaryml/baml-core-node-openharmony-x64/package.json').version + const binding = require('@boundaryml/baml-bridge-openharmony-x64') + const bindingPackageVersion = require('@boundaryml/baml-bridge-openharmony-x64/package.json').version if (bindingPackageVersion !== '0.13.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { throw new Error(`Native binding package version mismatch, expected 0.13.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } @@ -517,8 +517,8 @@ function requireNative() { loadErrors.push(e) } try { - const binding = require('@boundaryml/baml-core-node-openharmony-arm') - const bindingPackageVersion = require('@boundaryml/baml-core-node-openharmony-arm/package.json').version + const binding = require('@boundaryml/baml-bridge-openharmony-arm') + const bindingPackageVersion = require('@boundaryml/baml-bridge-openharmony-arm/package.json').version if (bindingPackageVersion !== '0.13.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { throw new Error(`Native binding package version mismatch, expected 0.13.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } @@ -559,7 +559,7 @@ if (!nativeBinding || forceWasi) { } if (!nativeBinding || forceWasi) { try { - wasiBinding = require('@boundaryml/baml-core-node-wasm32-wasi') + wasiBinding = require('@boundaryml/baml-bridge-wasm32-wasi') nativeBinding = wasiBinding } catch (err) { if (forceWasi) { diff --git a/baml_language/sdks/nodejs/bridge_nodejs/dist/proto.d.ts b/baml_language/sdks/nodejs/bridge_nodejs/dist/proto.d.ts index 47eb7aba048..12449b2b74c 100644 --- a/baml_language/sdks/nodejs/bridge_nodejs/dist/proto.d.ts +++ b/baml_language/sdks/nodejs/bridge_nodejs/dist/proto.d.ts @@ -2,10 +2,10 @@ * THIS FILE IS AUTO-GENERATED — DO NOT EDIT BY HAND. * * Source: baml_language/crates/bridge_nodejs/typescript_src/ - * Proto: baml_language/crates/bridge_ctypes/types/baml_core/cffi/v1/*.proto + * Proto: baml_language/crates/bridge_ctypes/types/baml_bridge/cffi/v1/*.proto * Build: cd baml_language/crates/bridge_nodejs && pnpm build:debug */ -import { baml_core } from './proto/baml_cffi.js'; +import { baml_bridge } from './proto/baml_cffi.js'; /** * Error thrown when a host callable (a JS `function`) is passed to the * *synchronous* call path. See {@link encodeCallArgs} for why this can't work. @@ -23,7 +23,7 @@ export interface EncodeCallArgsOptions { * `CallFunctionArgs.type_args`. Mirrors Python's `encode_call_args` * `type_args` argument. Omitted/empty for non-generic calls. */ - typeArgs?: Array<[string, baml_core.cffi.v1.IBamlTy]>; + typeArgs?: Array<[string, baml_bridge.cffi.v1.IBamlTy]>; } /** * Encode kwargs into `CallFunctionArgs` bytes. diff --git a/baml_language/sdks/nodejs/bridge_nodejs/dist/proto.d.ts.map b/baml_language/sdks/nodejs/bridge_nodejs/dist/proto.d.ts.map index df3928eeef0..8ce9aee4318 100644 --- a/baml_language/sdks/nodejs/bridge_nodejs/dist/proto.d.ts.map +++ b/baml_language/sdks/nodejs/bridge_nodejs/dist/proto.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"proto.d.ts","sourceRoot":"","sources":["../typescript_src/proto.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAiCjD;;;GAGG;AACH,qBAAa,qBAAsB,SAAQ,KAAK;gBAChC,OAAO,EAAE,MAAM;CAI9B;AAmBD,MAAM,WAAW,qBAAqB;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,CAAC,MAAM,EAAE,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;CACzD;AA+LD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,EAAE,qBAAqB,GAAG,MAAM,CAuCtG;AAgOD;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,UAAU,GAAG,OAAO,CAGtE;AA4GD;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,UAAU,GAAG,OAAO,CAuDnE"} \ No newline at end of file +{"version":3,"file":"proto.d.ts","sourceRoot":"","sources":["../typescript_src/proto.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAiCnD;;;GAGG;AACH,qBAAa,qBAAsB,SAAQ,KAAK;gBAChC,OAAO,EAAE,MAAM;CAI9B;AAmBD,MAAM,WAAW,qBAAqB;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,CAAC,MAAM,EAAE,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;CAC3D;AA+LD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,EAAE,qBAAqB,GAAG,MAAM,CAuCtG;AAgOD;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,UAAU,GAAG,OAAO,CAGtE;AA4GD;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,UAAU,GAAG,OAAO,CAuDnE"} \ No newline at end of file diff --git a/baml_language/sdks/nodejs/bridge_nodejs/dist/proto.js b/baml_language/sdks/nodejs/bridge_nodejs/dist/proto.js index 4b498fdaaca..6d420e1aaca 100644 --- a/baml_language/sdks/nodejs/bridge_nodejs/dist/proto.js +++ b/baml_language/sdks/nodejs/bridge_nodejs/dist/proto.js @@ -2,7 +2,7 @@ * THIS FILE IS AUTO-GENERATED — DO NOT EDIT BY HAND. * * Source: baml_language/crates/bridge_nodejs/typescript_src/ - * Proto: baml_language/crates/bridge_ctypes/types/baml_core/cffi/v1/*.proto + * Proto: baml_language/crates/bridge_ctypes/types/baml_bridge/cffi/v1/*.proto * Build: cd baml_language/crates/bridge_nodejs && pnpm build:debug */ // proto.ts — mirrors bridge_python/python_src/baml_py/proto.py @@ -10,21 +10,21 @@ // Encodes TS objects → CallFunctionArgs protobuf bytes (for sending to Rust) // Decodes the BamlOutboundResult envelope → TS objects (call results), and // bare BamlOutboundValue bytes → TS objects (host-callable args). -import { baml_core } from './proto/baml_cffi.js'; +import { baml_bridge } from './proto/baml_cffi.js'; import { BamlHandle, BamlImage, BamlAudio, BamlVideo, BamlPdf, registerHostCallable, releaseHostCallable, completeHostCall, } from './native.js'; import { BamlStream } from './stream.js'; import { BamlAbortError, BamlCancelledError, BamlError, BamlPanic } from './errors.js'; import { registerHostOpaque, tryRehydrateHostValueByKey, } from './host_value_registry.js'; import { getTypeMap } from './typemap.js'; import { lowerTypeToWireTy, outboundTyToBamlType } from './wire_ty.js'; -const CallFunctionArgs = baml_core.cffi.v1.CallFunctionArgs; -const BamlOutboundValue = baml_core.cffi.v1.BamlOutboundValue; -const BamlOutboundResult = baml_core.cffi.v1.BamlOutboundResult; -const BamlToHostCall = baml_core.cffi.v1.BamlToHostCall; -const InboundValue = baml_core.cffi.v1.InboundValue; -const InboundClassValue = baml_core.cffi.v1.InboundClassValue; -const InboundMapEntry = baml_core.cffi.v1.InboundMapEntry; -const BamlHandleType = baml_core.cffi.v1.BamlHandleType; +const CallFunctionArgs = baml_bridge.cffi.v1.CallFunctionArgs; +const BamlOutboundValue = baml_bridge.cffi.v1.BamlOutboundValue; +const BamlOutboundResult = baml_bridge.cffi.v1.BamlOutboundResult; +const BamlToHostCall = baml_bridge.cffi.v1.BamlToHostCall; +const InboundValue = baml_bridge.cffi.v1.InboundValue; +const InboundClassValue = baml_bridge.cffi.v1.InboundClassValue; +const InboundMapEntry = baml_bridge.cffi.v1.InboundMapEntry; +const BamlHandleType = baml_bridge.cffi.v1.BamlHandleType; const CANCELLED_PANIC_CLASS = 'baml.panics.Cancelled'; // ─── Inbound (TS → Rust) ─── /** diff --git a/baml_language/sdks/nodejs/bridge_nodejs/dist/proto.js.map b/baml_language/sdks/nodejs/bridge_nodejs/dist/proto.js.map index cf68f09a8ae..8764133659d 100644 --- a/baml_language/sdks/nodejs/bridge_nodejs/dist/proto.js.map +++ b/baml_language/sdks/nodejs/bridge_nodejs/dist/proto.js.map @@ -1 +1 @@ -{"version":3,"file":"proto.js","sourceRoot":"","sources":["../typescript_src/proto.ts"],"names":[],"mappings":"AAAA,+DAA+D;AAC/D,EAAE;AACF,6EAA6E;AAC7E,2EAA2E;AAC3E,kEAAkE;AAElE,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EACH,UAAU,EAEV,SAAS,EACT,SAAS,EACT,SAAS,EACT,OAAO,EACP,oBAAoB,EACpB,mBAAmB,EACnB,gBAAgB,GACnB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACvF,OAAO,EACH,kBAAkB,EAClB,0BAA0B,GAC7B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAe,UAAU,EAAE,MAAM,cAAc,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,oBAAoB,EAAiB,MAAM,cAAc,CAAC;AAEtF,MAAM,gBAAgB,GAAG,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,gBAAgB,CAAC;AAC5D,MAAM,iBAAiB,GAAG,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,iBAAiB,CAAC;AAC9D,MAAM,kBAAkB,GAAG,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,kBAAkB,CAAC;AAChE,MAAM,cAAc,GAAG,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,cAAc,CAAC;AACxD,MAAM,YAAY,GAAG,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,YAAY,CAAC;AACpD,MAAM,iBAAiB,GAAG,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,iBAAiB,CAAC;AAC9D,MAAM,eAAe,GAAG,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,eAAe,CAAC;AAC1D,MAAM,cAAc,GAAG,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,cAAc,CAAC;AACxD,MAAM,qBAAqB,GAAG,uBAAuB,CAAC;AAEtD,8BAA8B;AAE9B;;;GAGG;AACH,MAAM,OAAO,qBAAsB,SAAQ,KAAK;IAC5C,YAAY,OAAe;QACvB,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,IAAI,GAAG,uBAAuB,CAAC;IACxC,CAAC;CACJ;AAgCD;;;;;GAKG;AACH,SAAS,iBAAiB,CAAC,KAAa;IACpC,MAAM,IAAI,GAAI,KAAkD,CAAC,WAAW,CAAC;IAC7E,MAAM,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;IACzB,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,QAAQ,CAAC,EAAE,CAAC;QAC5E,OAAO,CAAa,CAAC;IACzB,CAAC;IACD,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAS,eAAe,CAAC,EAAmC,EAAE,KAAc,EAAE,GAAc;IACxF,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACxC,OAAO,CAAC,2BAA2B;IACvC,CAAC;IACD,IAAI,OAAO,KAAK,KAAK,SAAS,EAAE,CAAC;QAC7B,EAAE,CAAC,SAAS,GAAG,KAAK,CAAC;IACzB,CAAC;SAAM,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QACnC,IAAI,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC;YAC1B,EAAE,CAAC,QAAQ,GAAG,KAAK,CAAC;QACxB,CAAC;aAAM,CAAC;YACJ,EAAE,CAAC,UAAU,GAAG,KAAK,CAAC;QAC1B,CAAC;IACL,CAAC;SAAM,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QACnC,gEAAgE;QAChE,+DAA+D;QAC/D,kCAAkC;QAClC,EAAE,CAAC,WAAW,GAAG,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;IACxC,CAAC;SAAM,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QACnC,EAAE,CAAC,WAAW,GAAG,KAAK,CAAC;IAC3B,CAAC;SAAM,IAAI,KAAK,YAAY,UAAU,EAAE,CAAC;QACrC,EAAE,CAAC,eAAe,GAAG,KAAK,CAAC;IAC/B,CAAC;SAAM,IAAI,KAAK,YAAY,UAAU,EAAE,CAAC;QACrC,+DAA+D;QAC/D,sEAAsE;QACtE,oEAAoE;QACpE,mEAAmE;QACnE,oEAAoE;QACpE,sEAAsE;QACtE,qEAAqE;QACrE,IAAI,GAAG,CAAC,QAAQ,IAAI,KAAK,CAAC,UAAU,KAAK,cAAc,CAAC,mBAAmB,EAAE,CAAC;YAC1E,MAAM,IAAI,qBAAqB,CAC3B,8EAA8E;gBAC9E,iFAAiF;gBACjF,qEAAqE,CACxE,CAAC;QACN,CAAC;QACD,qEAAqE;QACrE,mEAAmE;QACnE,EAAE,CAAC,MAAM,GAAG,EAAE,GAAG,EAAE,KAAK,CAAC,gBAAgB,EAAE,EAAE,UAAU,EAAE,KAAK,CAAC,UAAU,EAAE,CAAC;IAChF,CAAC;SAAM,IAAI,KAAK,YAAY,UAAU,EAAE,CAAC;QACrC,sEAAsE;QACtE,mEAAmE;QACnE,wEAAwE;QACxE,oEAAoE;QACpE,oEAAoE;QACpE,mEAAmE;QACnE,MAAM,CAAC,GAAG,KAAK,CAAC,SAAS,EAAE,CAAC;QAC5B,EAAE,CAAC,MAAM,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,gBAAgB,EAAE,EAAE,UAAU,EAAE,CAAC,CAAC,UAAU,EAAE,CAAC;IACxE,CAAC;SAAM,IACH,KAAK,YAAY,SAAS;WACvB,KAAK,YAAY,SAAS;WAC1B,KAAK,YAAY,SAAS;WAC1B,KAAK,YAAY,OAAO,EAC7B,CAAC;QACC,wEAAwE;QACxE,iEAAiE;QACjE,MAAM,CAAC,GAAG,KAAK,CAAC,SAAS,EAAE,CAAC;QAC5B,EAAE,CAAC,MAAM,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,GAAG,EAAE,UAAU,EAAE,CAAC,CAAC,UAAU,EAAE,CAAC;IACzD,CAAC;SAAM,IAAI,OAAO,KAAK,KAAK,UAAU,EAAE,CAAC;QACrC,4DAA4D;QAC5D,kEAAkE;QAClE,4CAA4C;QAC5C,IAAI,GAAG,CAAC,QAAQ,EAAE,CAAC;YACf,MAAM,IAAI,qBAAqB,CAC3B,8EAA8E;gBAC9E,iFAAiF;gBACjF,qEAAqE,CACxE,CAAC;QACN,CAAC;QACD,8DAA8D;QAC9D,iEAAiE;QACjE,oEAAoE;QACpE,6DAA6D;QAC7D,2DAA2D;QAC3D,MAAM,GAAG,GAAG,oBAAoB,CAAC,wBAAwB,CAAC,KAAwC,CAAC,CAAC,CAAC;QACrG,6DAA6D;QAC7D,GAAG,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACzB,EAAE,CAAC,MAAM,GAAG,EAAE,GAAG,EAAE,UAAU,EAAE,cAAc,CAAC,mBAAmB,EAAE,CAAC;IACxE,CAAC;SAAM,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QAC9B,MAAM,OAAO,GAAsC,EAAE,CAAC;QACtD,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;YACvB,MAAM,KAAK,GAAoC,EAAE,CAAC;YAClD,eAAe,CAAC,KAAK,EAAE,IAAI,EAAE,GAAG,CAAC,CAAC;YAClC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACxB,CAAC;QACD,EAAE,CAAC,SAAS,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC;IACvC,CAAC;SAAM,IAAI,KAAK,KAAK,IAAI,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QACrD,mEAAmE;QACnE,oEAAoE;QACpE,qEAAqE;QACrE,6DAA6D;QAC7D,mEAAmE;QACnE,0DAA0D;QAC1D,8DAA8D;QAC9D,8DAA8D;QAC9D,4CAA4C;QAC5C,EAAE;QACF,oEAAoE;QACpE,mEAAmE;QACnE,sEAAsE;QACtE,mEAAmE;QACnE,kEAAkE;QAClE,sEAAsE;QACtE,wDAAwD;QACxD,MAAM,KAAK,GAAG,MAAM,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;QAC3C,MAAM,eAAe,GAAG,KAAK,KAAK,MAAM,CAAC,SAAS,IAAI,KAAK,KAAK,IAAI,CAAC;QACrE,yEAAyE;QACzE,mEAAmE;QACnE,gEAAgE;QAChE,wEAAwE;QACxE,uEAAuE;QACvE,uEAAuE;QACvE,sEAAsE;QACtE,IAAI,eAAe,IAAI,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,YAAY,UAAU,CAAC,EAAE,CAAC;YAC7E,MAAM,GAAG,GAAG,UAAU,EAAE,CAAC,gBAAgB,CAAE,KAAgB,CAAC,WAAW,CAAC,CAAC;YACzE,IAAI,GAAG,EAAE,CAAC;gBACN,MAAM,WAAW,GAAyC,EAAE,CAAC;gBAC7D,KAAK,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;oBACzC,IAAI,OAAO,CAAC,KAAK,UAAU;wBAAE,SAAS;oBACtC,MAAM,QAAQ,GAAoC,EAAE,CAAC;oBACrD,eAAe,CAAC,QAAQ,EAAE,CAAC,EAAE,GAAG,CAAC,CAAC;oBAClC,WAAW,CAAC,IAAI,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,CAAC;gBACxD,CAAC;gBACD,EAAE,CAAC,UAAU,GAAG,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC;gBAChE,OAAO;YACX,CAAC;QACL,CAAC;QACD,mEAAmE;QACnE,yEAAyE;QACzE,wEAAwE;QACxE,yEAAyE;QACzE,0EAA0E;QAC1E,+DAA+D;QAC/D,wEAAwE;QACxE,4DAA4D;QAC5D,yEAAyE;QACzE,iDAAiD;QACjD,IAAI,eAAe,EAAE,CAAC;YAClB,MAAM,MAAM,GAAG,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACxC,IAAI,MAAM,EAAE,CAAC;gBACT,MAAM,GAAG,GAAG,UAAU,EAAE,CAAC,gBAAgB,CAAE,KAAgB,CAAC,WAAW,CAAC,CAAC;gBACzE,MAAM,SAAS,GAAI,KAA+C,CAAC,MAAM,CAAC;gBAC1E,MAAM,QAAQ,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,iBAAiB,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;gBACtE,MAAM,WAAW,GAAyC,EAAE,CAAC;gBAC7D,KAAK,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;oBACzC,+DAA+D;oBAC/D,8DAA8D;oBAC9D,IAAI,OAAO,CAAC,KAAK,UAAU;wBAAE,SAAS;oBACtC,IAAI,CAAC,KAAK,QAAQ;wBAAE,SAAS;oBAC7B,MAAM,QAAQ,GAAoC,EAAE,CAAC;oBACrD,eAAe,CAAC,QAAQ,EAAE,CAAC,EAAE,GAAG,CAAC,CAAC;oBAClC,WAAW,CAAC,IAAI,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,CAAC;gBACxD,CAAC;gBACD,EAAE,CAAC,UAAU,GAAG,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC;gBAC1E,OAAO;YACX,CAAC;QACL,CAAC;QACD,MAAM,OAAO,GAAyC,EAAE,CAAC;QACzD,KAAK,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;YACzC,IAAI,eAAe,IAAI,OAAO,CAAC,KAAK,UAAU;gBAAE,SAAS;YACzD,MAAM,KAAK,GAAuC,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC;YACnE,MAAM,QAAQ,GAAoC,EAAE,CAAC;YACrD,eAAe,CAAC,QAAQ,EAAE,CAAC,EAAE,GAAG,CAAC,CAAC;YAClC,KAAK,CAAC,KAAK,GAAG,QAAQ,CAAC;YACvB,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACxB,CAAC;QACD,EAAE,CAAC,QAAQ,GAAG,EAAE,OAAO,EAAE,CAAC;IAC9B,CAAC;SAAM,CAAC;QACJ,MAAM,IAAI,SAAS,CACf,+BAA+B,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,cAAc,CACrF,CAAC;IACN,CAAC;AACL,CAAC;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,UAAU,cAAc,CAAC,MAA+B,EAAE,OAA8B;IAC1F,MAAM,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAC9B,IAAI,MAAM,KAAK,EAAE,EAAE,CAAC;QAChB,MAAM,IAAI,SAAS,CAAC,iCAAiC,CAAC,CAAC;IAC3D,CAAC;IACD,MAAM,GAAG,GAAc,EAAE,QAAQ,EAAE,OAAO,CAAC,QAAQ,IAAI,KAAK,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC;IAC/E,IAAI,CAAC;QACD,MAAM,OAAO,GAAyC,EAAE,CAAC;QACzD,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC;YAChD,MAAM,KAAK,GAAuC,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC;YACrE,MAAM,EAAE,GAAoC,EAAE,CAAC;YAC/C,eAAe,CAAC,EAAE,EAAE,KAAK,EAAE,GAAG,CAAC,CAAC;YAChC,KAAK,CAAC,KAAK,GAAG,EAAE,CAAC;YACjB,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACxB,CAAC;QACD,MAAM,QAAQ,GAAG,CAAC,OAAO,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,EAAE,SAAS,CAAC,EAAE,EAAE,CAAC,CAAC;YACrE,OAAO;YACP,SAAS;SACZ,CAAC,CAAC,CAAC;QACJ,MAAM,GAAG,GAAG,gBAAgB,CAAC,UAAU,CAAC;YACpC,MAAM,EAAE,OAAO;YACf,MAAM,EAAE,MAAM,CAAC,QAAQ,EAAE;YACzB,QAAQ;SACX,CAAC,CAAC;QACH,OAAO,MAAM,CAAC,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;IAC9D,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACX,gEAAgE;QAChE,mEAAmE;QACnE,kEAAkE;QAClE,mCAAmC;QACnC,KAAK,MAAM,CAAC,IAAI,GAAG,CAAC,UAAU,EAAE,CAAC;YAC7B,IAAI,CAAC;gBACD,mBAAmB,CAAC,CAAC,CAAC,CAAC;YAC3B,CAAC;YAAC,MAAM,CAAC;gBACL,sDAAsD;YAC1D,CAAC;QACL,CAAC;QACD,MAAM,GAAG,CAAC;IACd,CAAC;AACL,CAAC;AAED,+BAA+B;AAE/B,oEAAoE;AACpE,qEAAqE;AACrE,sEAAsE;AACtE,qEAAqE;AACrE,sEAAsE;AACtE,sCAAsC;AACtC,yEAAyE;AACzE,sEAAsE;AACtE,2EAA2E;AAC3E,8EAA8E;AAC9E,MAAM,kBAAkB,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAC7C,SAAS,cAAc,CAAC,CAAS;IAC7B,MAAM,SAAS,GAAG,CAAC,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACrD,IAAI,SAAS,CAAC,MAAM,KAAK,CAAC,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC;QAC9D,MAAM,IAAI,KAAK,CACX,mCAAmC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CACzD,CAAC;IACN,CAAC;IACD,IAAI,SAAS,CAAC,MAAM,GAAG,kBAAkB,EAAE,CAAC;QACxC,MAAM,IAAI,KAAK,CACX,yCAAyC,SAAS,CAAC,MAAM,iBAAiB,kBAAkB,GAAG,CAClG,CAAC;IACN,CAAC;IACD,OAAO,CAAC,CAAC,UAAU,CAAC,GAAG,CAAC;QACpB,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,SAAS,EAAE,CAAC;QAC3B,CAAC,CAAC,MAAM,CAAC,KAAK,SAAS,EAAE,CAAC,CAAC;AACnC,CAAC;AAED,SAAS,iBAAiB,CACtB,MAA4C,EAC5C,OAAoB;IAEpB,IAAI,MAAM,CAAC,SAAS,IAAI,IAAI;QAAE,OAAO,IAAI,CAAC;IAC1C,IAAI,MAAM,CAAC,WAAW,IAAI,IAAI;QAAE,OAAO,MAAM,CAAC,WAAW,CAAC;IAC1D,IAAI,MAAM,CAAC,QAAQ,IAAI,IAAI;QAAE,OAAO,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAC5D,IAAI,MAAM,CAAC,WAAW,IAAI,IAAI,EAAE,CAAC;QAC7B,OAAO,cAAc,CAAC,MAAM,CAAC,WAAqB,CAAC,CAAC;IACxD,CAAC;IACD,IAAI,MAAM,CAAC,UAAU,IAAI,IAAI;QAAE,OAAO,MAAM,CAAC,UAAU,CAAC;IACxD,IAAI,MAAM,CAAC,SAAS,IAAI,IAAI;QAAE,OAAO,MAAM,CAAC,SAAS,CAAC;IACtD,IAAI,MAAM,CAAC,eAAe,IAAI,IAAI;QAAE,OAAO,MAAM,CAAC,eAAe,CAAC;IAClE,IAAI,MAAM,CAAC,UAAU,EAAE,CAAC;QACpB,OAAO,WAAW,CAAC,MAAM,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;IACnD,CAAC;IACD,IAAI,MAAM,CAAC,SAAS,EAAE,CAAC;QACnB,OAAO,UAAU,CAAC,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IACjD,CAAC;IACD,IAAI,MAAM,CAAC,YAAY,EAAE,CAAC;QACtB,uEAAuE;QACvE,uEAAuE;QACvE,wEAAwE;QACxE,4BAA4B;QAC5B,MAAM,GAAG,GAAG,MAAM,CAAC,YAAkD,CAAC;QACtE,QAAQ,GAAG,CAAC,OAAO,EAAE,CAAC;YAClB,KAAK,aAAa;gBACd,OAAO,GAAG,CAAC,WAAW,CAAC;YAC3B,KAAK,UAAU;gBACX,OAAO,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;YAChC,KAAK,WAAW;gBACZ,OAAO,GAAG,CAAC,SAAS,CAAC;YACzB,2DAA2D;YAC3D,KAAK,aAAa;gBACd,OAAO,cAAc,CAAC,GAAG,CAAC,WAAW,IAAI,EAAE,CAAC,CAAC;YACjD,iEAAiE;YACjE,KAAK,YAAY;gBACb,OAAO,MAAM,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;QACtC,CAAC;IACL,CAAC;IACD,IAAI,MAAM,CAAC,SAAS,EAAE,CAAC;QACnB,OAAO,CAAC,MAAM,CAAC,SAAS,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,iBAAiB,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC;IACxF,CAAC;IACD,IAAI,MAAM,CAAC,QAAQ,EAAE,CAAC;QAClB,MAAM,GAAG,GAA4B,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACzD,KAAK,MAAM,KAAK,IAAI,MAAM,CAAC,QAAQ,CAAC,OAAO,IAAI,EAAE,EAAE,CAAC;YAChD,IAAI,KAAK,CAAC,GAAG,IAAI,IAAI,IAAI,KAAK,CAAC,KAAK,EAAE,CAAC;gBACnC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,iBAAiB,CAAC,KAAK,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;YAC7D,CAAC;QACL,CAAC;QACD,OAAO,GAAG,CAAC;IACf,CAAC;IACD,IAAI,MAAM,CAAC,iBAAiB,IAAI,MAAM,CAAC,iBAAiB,CAAC,KAAK,EAAE,CAAC;QAC7D,OAAO,iBAAiB,CAAC,MAAM,CAAC,iBAAiB,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IACD,4EAA4E;IAC5E,0EAA0E;IAC1E,0EAA0E;IAC1E,IAAI,MAAM,CAAC,WAAW,EAAE,CAAC;QACrB,MAAM,EAAE,GAAG,MAAM,CAAC,WAAW,CAAC,UAAU,IAAI,CAAC,CAAC;QAC9C,IAAI,EAAE,KAAK,cAAc,CAAC,kBAAkB,EAAE,CAAC;YAC3C,kEAAkE;YAClE,MAAM,IAAI,SAAS,CAAC,mDAAmD,CAAC,CAAC;QAC7E,CAAC;QACD,MAAM,MAAM,GAAG,IAAI,UAAU,CAAC,MAAM,CAAC,WAAW,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;QAC1D,IAAI,EAAE,KAAK,cAAc,CAAC,eAAe;YAAE,OAAO,SAAS,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;QAChF,IAAI,EAAE,KAAK,cAAc,CAAC,eAAe;YAAE,OAAO,SAAS,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;QAChF,IAAI,EAAE,KAAK,cAAc,CAAC,eAAe;YAAE,OAAO,SAAS,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;QAChF,IAAI,EAAE,KAAK,cAAc,CAAC,aAAa;YAAE,OAAO,OAAO,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;QAC5E,IAAI,EAAE,KAAK,cAAc,CAAC,sBAAsB,EAAE,CAAC;YAC/C,mEAAmE;YACnE,sDAAsD;YACtD,qEAAqE;YACrE,gEAAgE;YAChE,yDAAyD;YACzD,oEAAoE;YACpE,8DAA8D;YAC9D,MAAM,GAAG,GAAG,MAAM,CAAC,WAAW,CAAC,EAAE,EAAE,OAAO,EAAE,IAAI,IAAI,EAAE,CAAC;YACvD,MAAM,GAAG,GAAG,OAAO,CAAC,QAAQ,CAAC,GAAG,CAA4C,CAAC;YAC7E,OAAO,GAAG,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;QACnC,CAAC;QACD,oEAAoE;QACpE,OAAO,MAAM,CAAC;IAClB,CAAC;IACD,yEAAyE;IACzE,2EAA2E;IAC3E,iEAAiE;IACjE,IAAI,MAAM,CAAC,UAAU,IAAI,MAAM,CAAC,cAAc,EAAE,CAAC;QAC7C,MAAM,KAAK,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,kBAAkB,CAAC;QACrE,MAAM,IAAI,SAAS,CACf,eAAe,KAAK,mDAAmD;YACvE,8BAA8B,CACjC,CAAC;IACN,CAAC;IACD,6EAA6E;IAC7E,oBAAoB;IACpB,OAAO,IAAI,CAAC;AAChB,CAAC;AAED;;;;;;;GAOG;AACH,SAAS,WAAW,CAChB,UAA6C,EAC7C,OAAoB;IAEpB,MAAM,SAAS,GAA4B,EAAE,CAAC;IAC9C,KAAK,MAAM,KAAK,IAAI,UAAU,CAAC,MAAM,IAAI,EAAE,EAAE,CAAC;QAC1C,IAAI,KAAK,CAAC,GAAG,IAAI,IAAI,IAAI,KAAK,CAAC,KAAK,EAAE,CAAC;YACnC,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,iBAAiB,CAAC,KAAK,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;QACnE,CAAC;IACL,CAAC;IACD,MAAM,GAAG,GAAG,UAAU,CAAC,IAAI,IAAI,EAAE,CAAC;IAClC,IAAI,GAAG,EAAE,CAAC;QACN,IAAI,GAAY,CAAC;QACjB,IAAI,CAAC;YACD,GAAG,GAAG,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;QAChC,CAAC;QAAC,MAAM,CAAC;YACL,GAAG,GAAG,SAAS,CAAC,CAAC,iCAAiC;QACtD,CAAC;QACD,IAAI,GAAG,KAAK,SAAS,EAAE,CAAC;YACpB,kEAAkE;YAClE,iEAAiE;YACjE,mDAAmD;YACnD,IACI,CAAC,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,OAAO,CAAC;mBAC7E,OAAO,IAAI,SAAS,EACzB,CAAC;gBACC,OAAO,SAAS,CAAC,KAAK,CAAC;YAC3B,CAAC;YACD,MAAM,IAAI,GAAG,GAEZ,CAAC;YACF,MAAM,QAAQ,GAAG,IAAI,IAAI,CAAC,SAAS,CAAC,CAAC;YACrC,sEAAsE;YACtE,mEAAmE;YACnE,gEAAgE;YAChE,sEAAsE;YACtE,kEAAkE;YAClE,sEAAsE;YACtE,MAAM,MAAM,GAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC;YACnE,MAAM,QAAQ,GAAG,UAAU,CAAC,QAAQ,CAAC;YACrC,IAAI,MAAM,IAAI,QAAQ,IAAI,QAAQ,CAAC,MAAM,EAAE,CAAC;gBACxC,MAAM,KAAK,GAA6B,EAAE,CAAC;gBAC3C,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;oBACpB,KAAK,CAAC,CAAC,CAAC,GAAG,oBAAoB,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC;gBACjD,CAAC,CAAC,CAAC;gBACH,MAAM,CAAC,cAAc,CAAC,QAAQ,EAAE,QAAQ,EAAE;oBACtC,KAAK,EAAE,KAAK;oBACZ,UAAU,EAAE,KAAK;oBACjB,QAAQ,EAAE,IAAI;oBACd,YAAY,EAAE,IAAI;iBACrB,CAAC,CAAC;YACP,CAAC;YACD,OAAO,QAAQ,CAAC;QACpB,CAAC;IACL,CAAC;IACD,wEAAwE;IACxE,MAAM,GAAG,GAA4B,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IACzD,KAAK,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC;QAAE,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;IAC3D,OAAO,GAAG,CAAC;AACf,CAAC;AAED;;;GAGG;AACH,SAAS,UAAU,CACf,SAA2C,EAC3C,OAAoB;IAEpB,MAAM,GAAG,GAAG,SAAS,CAAC,IAAI,IAAI,EAAE,CAAC;IACjC,MAAM,OAAO,GAAG,SAAS,CAAC,KAAK,CAAC;IAChC,IAAI,GAAG,IAAI,OAAO,IAAI,IAAI,EAAE,CAAC;QACzB,IAAI,EAAW,CAAC;QAChB,IAAI,CAAC;YACD,EAAE,GAAG,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QAC9B,CAAC;QAAC,MAAM,CAAC;YACL,EAAE,GAAG,SAAS,CAAC;QACnB,CAAC;QACD,IAAI,EAAE,KAAK,SAAS,IAAI,OAAO,IAAK,EAA8B,EAAE,CAAC;YACjE,OAAQ,EAA8B,CAAC,OAAO,CAAC,CAAC;QACpD,CAAC;IACL,CAAC;IACD,OAAO,OAAO,CAAC;AACnB,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,mBAAmB,CAAC,IAAyB;IACzD,MAAM,GAAG,GAAG,iBAAiB,CAAC,MAAM,CAAC,IAAI,YAAY,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IACxF,OAAO,iBAAiB,CAAC,GAAG,EAAE,UAAU,EAAE,CAAC,CAAC;AAChD,CAAC;AAED;;;;;;GAMG;AACH,SAAS,cAAc,CAAC,IAAyB;IAI7C,MAAM,GAAG,GAAG,cAAc,CAAC,MAAM,CAAC,IAAI,YAAY,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IACrF,MAAM,OAAO,GAAG,UAAU,EAAE,CAAC;IAC7B,MAAM,UAAU,GAAc,EAAE,CAAC;IACjC,MAAM,QAAQ,GAA4B,EAAE,CAAC;IAC7C,KAAK,MAAM,GAAG,IAAI,GAAG,CAAC,IAAI,IAAI,EAAE,EAAE,CAAC;QAC/B,MAAM,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,iBAAiB,CAAC,GAAG,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;QAC5E,IAAI,GAAG,CAAC,aAAa,EAAE,CAAC;YACpB,QAAQ,CAAC,GAAG,CAAC,OAAO,IAAI,EAAE,CAAC,GAAG,KAAK,CAAC;QACxC,CAAC;aAAM,CAAC;YACJ,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC3B,CAAC;IACL,CAAC;IACD,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,CAAC;AACpC,CAAC;AAED;;;;;;;;;;;GAWG;AACH,SAAS,eAAe,CAAC,UAAqB,EAAE,QAAiC;IAC7E,IAAI,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACrC,OAAO,UAAU,CAAC;IACtB,CAAC;IACD,OAAO,CAAC,GAAG,UAAU,EAAE,QAAQ,CAAC,CAAC;AACrC,CAAC;AAED;;;;;;;;;;;GAWG;AACH;;;;;;GAMG;AACH,SAAS,kBAAkB,CACvB,MAA+D;IAE/D,IAAI,CAAC,GAAG,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,iBAAiB,EAAE,KAAK,EAAE,CAAC;QACjC,CAAC,GAAG,CAAC,CAAC,iBAAiB,CAAC,KAAK,CAAC;IAClC,CAAC;IACD,OAAO,CAAC,CAAC;AACb,CAAC;AAED,SAAS,YAAY,CACjB,MAA+D;IAE/D,MAAM,SAAS,GAAG,kBAAkB,CAAC,MAAM,CAAC,EAAE,UAAU,EAAE,IAAI,IAAI,SAAS,CAAC;IAC5E,IAAI,KAAc,CAAC;IACnB,IAAI,CAAC;QACD,KAAK,GAAG,MAAM,CAAC,CAAC,CAAC,iBAAiB,CAAC,MAAM,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;IACzE,CAAC;IAAC,MAAM,CAAC;QACL,KAAK,GAAG,SAAS,CAAC;IACtB,CAAC;IACD,IAAI,OAAO,GAAG,EAAE,CAAC;IACjB,IAAI,KAAK,IAAI,IAAI,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,SAAS,IAAK,KAAgB,EAAE,CAAC;QAC/E,MAAM,CAAC,GAAI,KAAiC,CAAC,OAAO,CAAC;QACrD,IAAI,OAAO,CAAC,KAAK,QAAQ;YAAE,OAAO,GAAG,CAAC,CAAC;IAC3C,CAAC;IACD,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC;AACzC,CAAC;AAED,SAAS,mBAAmB,CAAC,IAAY,EAAE,SAAiB,EAAE,OAAe,EAAE,KAAe;IAC1F,MAAM,KAAK,GAAG,SAAS,IAAI,QAAQ,IAAI,EAAE,CAAC;IAC1C,IAAI,IAAI,GAAG,QAAQ,IAAI,KAAK,KAAK,EAAE,CAAC;IACpC,IAAI,OAAO;QAAE,IAAI,IAAI,KAAK,OAAO,EAAE,CAAC;IACpC,IAAI,KAAK,CAAC,MAAM;QAAE,IAAI,IAAI,IAAI,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACvE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAS,sBAAsB,CAAC,OAAe;IAC3C,OAAO,IAAI,cAAc,CAAC,OAAO,EAAE;QAC/B,MAAM,EAAE,IAAI,kBAAkB,CAAC,OAAO,CAAC;KAC1C,CAAC,CAAC;AACP,CAAC;AAED;;;;;;;;GAQG;AACH,MAAM,UAAU,gBAAgB,CAAC,IAAyB;IACtD,MAAM,GAAG,GAAG,IAAI,YAAY,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC9D,MAAM,MAAM,GAAG,kBAAkB,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;IAC9C,QAAQ,MAAM,CAAC,MAAM,EAAE,CAAC;QACpB,KAAK,OAAO,CAAC,CAAC,CAAC;YACX,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,YAAY,CAAC,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;YACxE,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,EAAE,KAAK,IAAI,EAAE,CAAC;YACxC,iEAAiE;YACjE,6DAA6D;YAC7D,+DAA+D;YAC/D,mEAAmE;YACnE,4DAA4D;YAC5D,uDAAuD;YACvD,4DAA4D;YAC5D,IAAI,SAAS,KAAK,0BAA0B,IAAI,KAAK,KAAK,IAAI,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;gBAC1F,MAAM,MAAM,GAAI,KAAiC,CAAC,OAAO,CAAC;gBAC1D,MAAM,QAAQ,GAAG,0BAA0B,CAAC,MAAM,CAAC,CAAC;gBACpD,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;oBACzB,MAAM,QAAQ,CAAC;gBACnB,CAAC;YACL,CAAC;YACD,MAAM,SAAS,GAAG,mBAAmB,CAAC,OAAO,EAAE,SAAS,IAAI,EAAE,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC;YAChF,IAAI,SAAS,KAAK,qBAAqB,EAAE,CAAC;gBACtC,MAAM,sBAAsB,CAAC,SAAS,CAAC,CAAC;YAC5C,CAAC;YACD,MAAM,IAAI,SAAS,CACf,SAAS,EACT,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE,CACzC,CAAC;QACN,CAAC;QACD,KAAK,OAAO,CAAC,CAAC,CAAC;YACX,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;YAC3B,IAAI,KAAK,EAAE,WAAW,EAAE,CAAC;gBACrB,+DAA+D;gBAC/D,4DAA4D;gBAC5D,4DAA4D;gBAC5D,MAAM,IAAI,GAAG,MAAM,CAAC,KAAK,CAAC,QAAQ,IAAI,CAAC,CAAC,CAAC;gBACzC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACvB,CAAC;YACD,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,YAAY,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;YACjE,MAAM,KAAK,GAAG,KAAK,EAAE,KAAK,IAAI,EAAE,CAAC;YACjC,MAAM,SAAS,GAAG,mBAAmB,CAAC,OAAO,EAAE,SAAS,IAAI,EAAE,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC;YAChF,IAAI,SAAS,KAAK,qBAAqB,EAAE,CAAC;gBACtC,MAAM,sBAAsB,CAAC,SAAS,CAAC,CAAC;YAC5C,CAAC;YACD,MAAM,IAAI,SAAS,CACf,SAAS,EACT,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE,CACzC,CAAC;QACN,CAAC;QACD,KAAK,IAAI,CAAC;QACV;YACI,sEAAsE;YACtE,OAAO,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,iBAAiB,CAAC,MAAM,CAAC,EAAE,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IAC7E,CAAC;AACL,CAAC;AAED,6CAA6C;AAC7C,EAAE;AACF,6EAA6E;AAC7E,wEAAwE;AACxE,2EAA2E;AAC3E,yEAAyE;AACzE,wEAAwE;AACxE,6CAA6C;AAC7C,EAAE;AACF,wDAAwD;AACxD,yEAAyE;AACzE,yEAAyE;AACzE,sEAAsE;AACtE,0EAA0E;AAE1E,SAAS,wBAAwB,CAAC,MAAuC;IACrE,OAAO,CAAC,MAAc,EAAE,SAAiB,EAAQ,EAAE;QAC/C,gEAAgE;QAChE,qEAAqE;QACrE,sEAAsE;QACtE,qEAAqE;QACrE,kEAAkE;QAClE,8DAA8D;QAC9D,wCAAwC;QACxC,IAAI,CAAC;YACD,IAAI,IAAe,CAAC;YACpB,IAAI,CAAC;gBACD,8DAA8D;gBAC9D,4DAA4D;gBAC5D,4DAA4D;gBAC5D,6CAA6C;gBAC7C,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,cAAc,CAAC,SAAS,CAAC,CAAC;gBAC3D,IAAI,GAAG,eAAe,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;YACjD,CAAC;YAAC,OAAO,GAAG,EAAE,CAAC;gBACX,qBAAqB,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;gBACnC,OAAO;YACX,CAAC;YACD,IAAI,MAAe,CAAC;YACpB,IAAI,CAAC;gBACD,MAAM,GAAG,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC;YAC7B,CAAC;YAAC,OAAO,GAAG,EAAE,CAAC;gBACX,qBAAqB,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;gBACnC,OAAO;YACX,CAAC;YACD,iEAAiE;YACjE,iEAAiE;YACjE,8DAA8D;YAC9D,iEAAiE;YACjE,IAAI,aAAa,CAAC,MAAM,CAAC,EAAE,CAAC;gBACxB,+DAA+D;gBAC/D,8DAA8D;gBAC9D,2DAA2D;gBAC3D,0DAA0D;gBAC1D,0DAA0D;gBAC1D,4CAA4C;gBAC5C,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,IAAI,CACxB,CAAC,QAAQ,EAAE,EAAE,CAAC,sBAAsB,CAAC,MAAM,EAAE,QAAQ,CAAC,EACtD,CAAC,GAAG,EAAE,EAAE,CAAC,qBAAqB,CAAC,MAAM,EAAE,GAAG,CAAC,CAC9C,CAAC;YACN,CAAC;iBAAM,CAAC;gBACJ,sBAAsB,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;YAC3C,CAAC;QACL,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACX,+DAA+D;YAC/D,2DAA2D;YAC3D,0BAA0B,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;QAC5C,CAAC;IACL,CAAC,CAAC;AACN,CAAC;AAED,SAAS,aAAa,CAAC,KAAc;IACjC,OAAO,CACH,KAAK,IAAI,IAAI;QACb,CAAC,OAAO,KAAK,KAAK,QAAQ,IAAI,OAAO,KAAK,KAAK,UAAU,CAAC;QAC1D,OAAQ,KAA4B,CAAC,IAAI,KAAK,UAAU,CAC3D,CAAC;AACN,CAAC;AAED,SAAS,sBAAsB,CAAC,MAAc,EAAE,KAAc;IAC1D,IAAI,KAAa,CAAC;IAClB,sEAAsE;IACtE,uEAAuE;IACvE,sEAAsE;IACtE,qEAAqE;IACrE,0EAA0E;IAC1E,8CAA8C;IAC9C,MAAM,GAAG,GAAc,EAAE,QAAQ,EAAE,KAAK,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC;IAC3D,IAAI,CAAC;QACD,MAAM,EAAE,GAAoC,EAAE,CAAC;QAC/C,eAAe,CAAC,EAAE,EAAE,KAAK,EAAE,GAAG,CAAC,CAAC;QAChC,MAAM,GAAG,GAAG,YAAY,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;QACpC,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;IAC3D,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACX,KAAK,MAAM,CAAC,IAAI,GAAG,CAAC,UAAU,EAAE,CAAC;YAC7B,IAAI,CAAC;gBACD,mBAAmB,CAAC,CAAC,CAAC,CAAC;YAC3B,CAAC;YAAC,MAAM,CAAC;gBACL,sDAAsD;YAC1D,CAAC;QACL,CAAC;QACD,qBAAqB,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;QACnC,OAAO;IACX,CAAC;IACD,gBAAgB,CAAC,MAAM,EAAE,CAAC,EAAE,KAAK,CAAC,CAAC;AACvC,CAAC;AAED;;;;;GAKG;AACH,SAAS,wBAAwB,CAC7B,SAAiB,EACjB,OAAe,EACf,SAA6B,EAC7B,SAAoB;IAEpB,MAAM,WAAW,GAAG,CAAC,GAAW,EAAE,KAAa,EAAE,EAAE,CAC/C,eAAe,CAAC,MAAM,CAAC;QACnB,SAAS,EAAE,GAAG;QACd,KAAK,EAAE,YAAY,CAAC,MAAM,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;KACrD,CAAC,CAAC;IACP,MAAM,WAAW,GAAG,eAAe,CAAC,MAAM,CAAC;QACvC,SAAS,EAAE,SAAS;QACpB,KAAK,EAAE,YAAY,CAAC,MAAM,CAAC;YACvB,MAAM,EAAE;gBACJ,GAAG,EAAE,SAAS;gBACd,UAAU,EAAE,cAAc,CAAC,iBAAiB;aAC/C;SACJ,CAAC;KACL,CAAC,CAAC;IACH,MAAM,MAAM,GAAG;QACX,WAAW,CAAC,SAAS,EAAE,OAAO,CAAC;QAC/B,WAAW,CAAC,YAAY,EAAE,SAAS,CAAC;QACpC,WAAW,CAAC,UAAU,EAAE,QAAQ,CAAC;KACpC,CAAC;IACF,IAAI,SAAS,IAAI,IAAI,EAAE,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,WAAW,EAAE,SAAS,CAAC,CAAC,CAAC;IACrD,CAAC;IACD,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IACzB,OAAO,YAAY,CAAC,MAAM,CAAC;QACvB,UAAU,EAAE,iBAAiB,CAAC,MAAM,CAAC;YACjC,OAAO,EAAE,EAAE,IAAI,EAAE,0BAA0B,EAAE;YAC7C,MAAM;SACT,CAAC;KACL,CAAC,CAAC;AACP,CAAC;AAED,yEAAyE;AACzE,wEAAwE;AACxE,qEAAqE;AACrE,sEAAsE;AACtE,yEAAyE;AACzE,2DAA2D;AAC3D,kEAAkE;AAClE,oEAAoE;AACpE,0DAA0D;AAC1D,EAAE;AACF,yEAAyE;AACzE,mEAAmE;AACnE,gEAAgE;AAChE,MAAM,yBAAyB,GAAG,EAAE,GAAG,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAA0B,CAAC;AAE9E,SAAS,qBAAqB,CAAC,MAAc,EAAE,GAAY;IACvD,uEAAuE;IACvE,uEAAuE;IACvE,uEAAuE;IACvE,gCAAgC;IAChC,IAAI,CAAC;QACD,sEAAsE;QACtE,oEAAoE;QACpE,mEAAmE;QACnE,kEAAkE;QAClE,mEAAmE;QACnE,EAAE;QACF,iEAAiE;QACjE,mEAAmE;QACnE,gEAAgE;QAChE,kEAAkE;QAClE,gEAAgE;QAChE,8DAA8D;QAC9D,gDAAgD;QAChD,EAAE;QACF,kEAAkE;QAClE,8DAA8D;QAC9D,6DAA6D;QAC7D,qEAAqE;QACrE,mEAAmE;QACnE,kEAAkE;QAClE,8CAA8C;QAC9C,IAAI,GAAG,YAAY,SAAS,IAAI,GAAG,CAAC,KAAK,IAAI,IAAI,EAAE,CAAC;YAChD,MAAM,GAAG,GAAc,EAAE,QAAQ,EAAE,KAAK,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC;YAC3D,IAAI,CAAC;gBACD,MAAM,EAAE,GAAG,YAAY,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;gBACnC,eAAe,CAAC,EAAE,EAAE,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;gBACpC,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;gBAC5D,gBAAgB,CAAC,MAAM,EAAE,CAAC,EAAE,KAAK,CAAC,CAAC;gBACnC,OAAO;YACX,CAAC;YAAC,MAAM,CAAC;gBACL,2DAA2D;gBAC3D,6DAA6D;gBAC7D,uDAAuD;gBACvD,6DAA6D;gBAC7D,2DAA2D;gBAC3D,2DAA2D;gBAC3D,4DAA4D;gBAC5D,0DAA0D;gBAC1D,0CAA0C;gBAC1C,6BAA6B;gBAC7B,KAAK,MAAM,GAAG,IAAI,GAAG,CAAC,UAAU,EAAE,CAAC;oBAC/B,IAAI,CAAC;wBACD,mBAAmB,CAAC,GAAG,CAAC,CAAC;oBAC7B,CAAC;oBAAC,MAAM,CAAC;wBACL,sDAAsD;oBAC1D,CAAC;gBACL,CAAC;YACL,CAAC;QACL,CAAC;QAED,qEAAqE;QACrE,mEAAmE;QACnE,kEAAkE;QAClE,mEAAmE;QACnE,uCAAuC;QACvC,EAAE;QACF,mEAAmE;QACnE,sEAAsE;QACtE,+CAA+C;QAC/C,kEAAkE;QAClE,oEAAoE;QACpE,kEAAkE;QAClE,kEAAkE;QAClE,8DAA8D;QAC9D,mCAAmC;QACnC,EAAE;QACF,oEAAoE;QACpE,iEAAiE;QACjE,kEAAkE;QAClE,kEAAkE;QAClE,mEAAmE;QACnE,mEAAmE;QACnE,4DAA4D;QAC5D,8DAA8D;QAC9D,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,aAAa,CAAC,GAAG,CAAC,CAAC;QACzD,MAAM,SAAS,GAAG,kBAAkB,CAAC,GAAG,CAAC,CAAC;QAC1C,MAAM,OAAO,GAAG,wBAAwB,CAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,CAAC,CAAC;QAC/E,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;QACjE,gBAAgB,CAAC,MAAM,EAAE,CAAC,EAAE,KAAK,CAAC,CAAC;IACvC,CAAC;IAAC,OAAO,QAAQ,EAAE,CAAC;QAChB,0BAA0B,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;IACjD,CAAC;AACL,CAAC;AAED;;;;;;;;GAQG;AACH,SAAS,0BAA0B,CAAC,MAAc,EAAE,GAAY;IAC5D,IAAI,CAAC;QACD,MAAM,OAAO,GAAG,wBAAwB,CACpC,eAAe,EACf,sEAAsE,aAAa,CAAC,GAAG,CAAC,EAAE,EAC1F,SAAS,EACT,yBAAyB,CAC5B,CAAC;QACF,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;QACjE,gBAAgB,CAAC,MAAM,EAAE,CAAC,EAAE,KAAK,CAAC,CAAC;IACvC,CAAC;IAAC,OAAO,QAAQ,EAAE,CAAC;QAChB,mEAAmE;QACnE,8DAA8D;QAC9D,qEAAqE;QACrE,oCAAoC;QACpC,OAAO,CAAC,KAAK,CACT,yEAAyE,EACzE,EAAE,MAAM,EAAE,aAAa,EAAE,aAAa,CAAC,GAAG,CAAC,EAAE,eAAe,EAAE,QAAQ,EAAE,CAC3E,CAAC;IACN,CAAC;AACL,CAAC;AAED;kBACkB;AAClB,SAAS,aAAa,CAAC,GAAY;IAC/B,IAAI,CAAC;QACD,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC;IACvB,CAAC;IAAC,MAAM,CAAC;QACL,OAAO,yBAAyB,CAAC;IACrC,CAAC;AACL,CAAC;AAED,SAAS,aAAa,CAAC,GAAY;IAC/B,IAAI,GAAG,YAAY,KAAK,EAAE,CAAC;QACvB,OAAO;YACH,SAAS,EAAE,GAAG,CAAC,IAAI,IAAI,GAAG,CAAC,WAAW,CAAC,IAAI,IAAI,OAAO;YACtD,OAAO,EAAE,GAAG,CAAC,OAAO,IAAI,MAAM,CAAC,GAAG,CAAC;YACnC,KAAK,EAAE,GAAG,CAAC,KAAK,IAAI,SAAS;SAChC,CAAC;IACN,CAAC;IACD,IAAI,GAAG,IAAI,IAAI,IAAI,OAAO,GAAG,KAAK,QAAQ,EAAE,CAAC;QACzC,MAAM,IAAI,GAAI,GAA2C,CAAC,WAAW,CAAC;QACtE,MAAM,SAAS,GAAG,IAAI,EAAE,IAAI,IAAI,IAAI,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC;QAC7E,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,CAAC,GAAG,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC;IACjE,CAAC;IACD,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,CAAC,GAAG,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC;AAC1E,CAAC"} \ No newline at end of file +{"version":3,"file":"proto.js","sourceRoot":"","sources":["../typescript_src/proto.ts"],"names":[],"mappings":"AAAA,+DAA+D;AAC/D,EAAE;AACF,6EAA6E;AAC7E,2EAA2E;AAC3E,kEAAkE;AAElE,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EACH,UAAU,EAEV,SAAS,EACT,SAAS,EACT,SAAS,EACT,OAAO,EACP,oBAAoB,EACpB,mBAAmB,EACnB,gBAAgB,GACnB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACvF,OAAO,EACH,kBAAkB,EAClB,0BAA0B,GAC7B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAe,UAAU,EAAE,MAAM,cAAc,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,oBAAoB,EAAiB,MAAM,cAAc,CAAC;AAEtF,MAAM,gBAAgB,GAAG,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC,gBAAgB,CAAC;AAC9D,MAAM,iBAAiB,GAAG,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC,iBAAiB,CAAC;AAChE,MAAM,kBAAkB,GAAG,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC,kBAAkB,CAAC;AAClE,MAAM,cAAc,GAAG,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC,cAAc,CAAC;AAC1D,MAAM,YAAY,GAAG,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC,YAAY,CAAC;AACtD,MAAM,iBAAiB,GAAG,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC,iBAAiB,CAAC;AAChE,MAAM,eAAe,GAAG,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC,eAAe,CAAC;AAC5D,MAAM,cAAc,GAAG,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC,cAAc,CAAC;AAC1D,MAAM,qBAAqB,GAAG,uBAAuB,CAAC;AAEtD,8BAA8B;AAE9B;;;GAGG;AACH,MAAM,OAAO,qBAAsB,SAAQ,KAAK;IAC5C,YAAY,OAAe;QACvB,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,IAAI,GAAG,uBAAuB,CAAC;IACxC,CAAC;CACJ;AAgCD;;;;;GAKG;AACH,SAAS,iBAAiB,CAAC,KAAa;IACpC,MAAM,IAAI,GAAI,KAAkD,CAAC,WAAW,CAAC;IAC7E,MAAM,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;IACzB,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,QAAQ,CAAC,EAAE,CAAC;QAC5E,OAAO,CAAa,CAAC;IACzB,CAAC;IACD,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAS,eAAe,CAAC,EAAqC,EAAE,KAAc,EAAE,GAAc;IAC1F,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACxC,OAAO,CAAC,2BAA2B;IACvC,CAAC;IACD,IAAI,OAAO,KAAK,KAAK,SAAS,EAAE,CAAC;QAC7B,EAAE,CAAC,SAAS,GAAG,KAAK,CAAC;IACzB,CAAC;SAAM,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QACnC,IAAI,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC;YAC1B,EAAE,CAAC,QAAQ,GAAG,KAAK,CAAC;QACxB,CAAC;aAAM,CAAC;YACJ,EAAE,CAAC,UAAU,GAAG,KAAK,CAAC;QAC1B,CAAC;IACL,CAAC;SAAM,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QACnC,gEAAgE;QAChE,+DAA+D;QAC/D,kCAAkC;QAClC,EAAE,CAAC,WAAW,GAAG,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;IACxC,CAAC;SAAM,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QACnC,EAAE,CAAC,WAAW,GAAG,KAAK,CAAC;IAC3B,CAAC;SAAM,IAAI,KAAK,YAAY,UAAU,EAAE,CAAC;QACrC,EAAE,CAAC,eAAe,GAAG,KAAK,CAAC;IAC/B,CAAC;SAAM,IAAI,KAAK,YAAY,UAAU,EAAE,CAAC;QACrC,+DAA+D;QAC/D,sEAAsE;QACtE,oEAAoE;QACpE,mEAAmE;QACnE,oEAAoE;QACpE,sEAAsE;QACtE,qEAAqE;QACrE,IAAI,GAAG,CAAC,QAAQ,IAAI,KAAK,CAAC,UAAU,KAAK,cAAc,CAAC,mBAAmB,EAAE,CAAC;YAC1E,MAAM,IAAI,qBAAqB,CAC3B,8EAA8E;gBAC9E,iFAAiF;gBACjF,qEAAqE,CACxE,CAAC;QACN,CAAC;QACD,qEAAqE;QACrE,mEAAmE;QACnE,EAAE,CAAC,MAAM,GAAG,EAAE,GAAG,EAAE,KAAK,CAAC,gBAAgB,EAAE,EAAE,UAAU,EAAE,KAAK,CAAC,UAAU,EAAE,CAAC;IAChF,CAAC;SAAM,IAAI,KAAK,YAAY,UAAU,EAAE,CAAC;QACrC,sEAAsE;QACtE,mEAAmE;QACnE,wEAAwE;QACxE,oEAAoE;QACpE,oEAAoE;QACpE,mEAAmE;QACnE,MAAM,CAAC,GAAG,KAAK,CAAC,SAAS,EAAE,CAAC;QAC5B,EAAE,CAAC,MAAM,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,gBAAgB,EAAE,EAAE,UAAU,EAAE,CAAC,CAAC,UAAU,EAAE,CAAC;IACxE,CAAC;SAAM,IACH,KAAK,YAAY,SAAS;WACvB,KAAK,YAAY,SAAS;WAC1B,KAAK,YAAY,SAAS;WAC1B,KAAK,YAAY,OAAO,EAC7B,CAAC;QACC,wEAAwE;QACxE,iEAAiE;QACjE,MAAM,CAAC,GAAG,KAAK,CAAC,SAAS,EAAE,CAAC;QAC5B,EAAE,CAAC,MAAM,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,GAAG,EAAE,UAAU,EAAE,CAAC,CAAC,UAAU,EAAE,CAAC;IACzD,CAAC;SAAM,IAAI,OAAO,KAAK,KAAK,UAAU,EAAE,CAAC;QACrC,4DAA4D;QAC5D,kEAAkE;QAClE,4CAA4C;QAC5C,IAAI,GAAG,CAAC,QAAQ,EAAE,CAAC;YACf,MAAM,IAAI,qBAAqB,CAC3B,8EAA8E;gBAC9E,iFAAiF;gBACjF,qEAAqE,CACxE,CAAC;QACN,CAAC;QACD,8DAA8D;QAC9D,iEAAiE;QACjE,oEAAoE;QACpE,6DAA6D;QAC7D,2DAA2D;QAC3D,MAAM,GAAG,GAAG,oBAAoB,CAAC,wBAAwB,CAAC,KAAwC,CAAC,CAAC,CAAC;QACrG,6DAA6D;QAC7D,GAAG,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACzB,EAAE,CAAC,MAAM,GAAG,EAAE,GAAG,EAAE,UAAU,EAAE,cAAc,CAAC,mBAAmB,EAAE,CAAC;IACxE,CAAC;SAAM,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QAC9B,MAAM,OAAO,GAAwC,EAAE,CAAC;QACxD,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;YACvB,MAAM,KAAK,GAAsC,EAAE,CAAC;YACpD,eAAe,CAAC,KAAK,EAAE,IAAI,EAAE,GAAG,CAAC,CAAC;YAClC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACxB,CAAC;QACD,EAAE,CAAC,SAAS,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC;IACvC,CAAC;SAAM,IAAI,KAAK,KAAK,IAAI,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QACrD,mEAAmE;QACnE,oEAAoE;QACpE,qEAAqE;QACrE,6DAA6D;QAC7D,mEAAmE;QACnE,0DAA0D;QAC1D,8DAA8D;QAC9D,8DAA8D;QAC9D,4CAA4C;QAC5C,EAAE;QACF,oEAAoE;QACpE,mEAAmE;QACnE,sEAAsE;QACtE,mEAAmE;QACnE,kEAAkE;QAClE,sEAAsE;QACtE,wDAAwD;QACxD,MAAM,KAAK,GAAG,MAAM,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;QAC3C,MAAM,eAAe,GAAG,KAAK,KAAK,MAAM,CAAC,SAAS,IAAI,KAAK,KAAK,IAAI,CAAC;QACrE,yEAAyE;QACzE,mEAAmE;QACnE,gEAAgE;QAChE,wEAAwE;QACxE,uEAAuE;QACvE,uEAAuE;QACvE,sEAAsE;QACtE,IAAI,eAAe,IAAI,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,YAAY,UAAU,CAAC,EAAE,CAAC;YAC7E,MAAM,GAAG,GAAG,UAAU,EAAE,CAAC,gBAAgB,CAAE,KAAgB,CAAC,WAAW,CAAC,CAAC;YACzE,IAAI,GAAG,EAAE,CAAC;gBACN,MAAM,WAAW,GAA2C,EAAE,CAAC;gBAC/D,KAAK,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;oBACzC,IAAI,OAAO,CAAC,KAAK,UAAU;wBAAE,SAAS;oBACtC,MAAM,QAAQ,GAAsC,EAAE,CAAC;oBACvD,eAAe,CAAC,QAAQ,EAAE,CAAC,EAAE,GAAG,CAAC,CAAC;oBAClC,WAAW,CAAC,IAAI,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,CAAC;gBACxD,CAAC;gBACD,EAAE,CAAC,UAAU,GAAG,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC;gBAChE,OAAO;YACX,CAAC;QACL,CAAC;QACD,mEAAmE;QACnE,yEAAyE;QACzE,wEAAwE;QACxE,yEAAyE;QACzE,0EAA0E;QAC1E,+DAA+D;QAC/D,wEAAwE;QACxE,4DAA4D;QAC5D,yEAAyE;QACzE,iDAAiD;QACjD,IAAI,eAAe,EAAE,CAAC;YAClB,MAAM,MAAM,GAAG,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACxC,IAAI,MAAM,EAAE,CAAC;gBACT,MAAM,GAAG,GAAG,UAAU,EAAE,CAAC,gBAAgB,CAAE,KAAgB,CAAC,WAAW,CAAC,CAAC;gBACzE,MAAM,SAAS,GAAI,KAA+C,CAAC,MAAM,CAAC;gBAC1E,MAAM,QAAQ,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,iBAAiB,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;gBACtE,MAAM,WAAW,GAA2C,EAAE,CAAC;gBAC/D,KAAK,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;oBACzC,+DAA+D;oBAC/D,8DAA8D;oBAC9D,IAAI,OAAO,CAAC,KAAK,UAAU;wBAAE,SAAS;oBACtC,IAAI,CAAC,KAAK,QAAQ;wBAAE,SAAS;oBAC7B,MAAM,QAAQ,GAAsC,EAAE,CAAC;oBACvD,eAAe,CAAC,QAAQ,EAAE,CAAC,EAAE,GAAG,CAAC,CAAC;oBAClC,WAAW,CAAC,IAAI,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,CAAC;gBACxD,CAAC;gBACD,EAAE,CAAC,UAAU,GAAG,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC;gBAC1E,OAAO;YACX,CAAC;QACL,CAAC;QACD,MAAM,OAAO,GAA2C,EAAE,CAAC;QAC3D,KAAK,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;YACzC,IAAI,eAAe,IAAI,OAAO,CAAC,KAAK,UAAU;gBAAE,SAAS;YACzD,MAAM,KAAK,GAAyC,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC;YACrE,MAAM,QAAQ,GAAsC,EAAE,CAAC;YACvD,eAAe,CAAC,QAAQ,EAAE,CAAC,EAAE,GAAG,CAAC,CAAC;YAClC,KAAK,CAAC,KAAK,GAAG,QAAQ,CAAC;YACvB,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACxB,CAAC;QACD,EAAE,CAAC,QAAQ,GAAG,EAAE,OAAO,EAAE,CAAC;IAC9B,CAAC;SAAM,CAAC;QACJ,MAAM,IAAI,SAAS,CACf,+BAA+B,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,cAAc,CACrF,CAAC;IACN,CAAC;AACL,CAAC;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,UAAU,cAAc,CAAC,MAA+B,EAAE,OAA8B;IAC1F,MAAM,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAC9B,IAAI,MAAM,KAAK,EAAE,EAAE,CAAC;QAChB,MAAM,IAAI,SAAS,CAAC,iCAAiC,CAAC,CAAC;IAC3D,CAAC;IACD,MAAM,GAAG,GAAc,EAAE,QAAQ,EAAE,OAAO,CAAC,QAAQ,IAAI,KAAK,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC;IAC/E,IAAI,CAAC;QACD,MAAM,OAAO,GAA2C,EAAE,CAAC;QAC3D,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC;YAChD,MAAM,KAAK,GAAyC,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC;YACvE,MAAM,EAAE,GAAsC,EAAE,CAAC;YACjD,eAAe,CAAC,EAAE,EAAE,KAAK,EAAE,GAAG,CAAC,CAAC;YAChC,KAAK,CAAC,KAAK,GAAG,EAAE,CAAC;YACjB,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACxB,CAAC;QACD,MAAM,QAAQ,GAAG,CAAC,OAAO,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,EAAE,SAAS,CAAC,EAAE,EAAE,CAAC,CAAC;YACrE,OAAO;YACP,SAAS;SACZ,CAAC,CAAC,CAAC;QACJ,MAAM,GAAG,GAAG,gBAAgB,CAAC,UAAU,CAAC;YACpC,MAAM,EAAE,OAAO;YACf,MAAM,EAAE,MAAM,CAAC,QAAQ,EAAE;YACzB,QAAQ;SACX,CAAC,CAAC;QACH,OAAO,MAAM,CAAC,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;IAC9D,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACX,gEAAgE;QAChE,mEAAmE;QACnE,kEAAkE;QAClE,mCAAmC;QACnC,KAAK,MAAM,CAAC,IAAI,GAAG,CAAC,UAAU,EAAE,CAAC;YAC7B,IAAI,CAAC;gBACD,mBAAmB,CAAC,CAAC,CAAC,CAAC;YAC3B,CAAC;YAAC,MAAM,CAAC;gBACL,sDAAsD;YAC1D,CAAC;QACL,CAAC;QACD,MAAM,GAAG,CAAC;IACd,CAAC;AACL,CAAC;AAED,+BAA+B;AAE/B,oEAAoE;AACpE,qEAAqE;AACrE,sEAAsE;AACtE,qEAAqE;AACrE,sEAAsE;AACtE,sCAAsC;AACtC,yEAAyE;AACzE,sEAAsE;AACtE,2EAA2E;AAC3E,8EAA8E;AAC9E,MAAM,kBAAkB,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAC7C,SAAS,cAAc,CAAC,CAAS;IAC7B,MAAM,SAAS,GAAG,CAAC,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACrD,IAAI,SAAS,CAAC,MAAM,KAAK,CAAC,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC;QAC9D,MAAM,IAAI,KAAK,CACX,mCAAmC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CACzD,CAAC;IACN,CAAC;IACD,IAAI,SAAS,CAAC,MAAM,GAAG,kBAAkB,EAAE,CAAC;QACxC,MAAM,IAAI,KAAK,CACX,yCAAyC,SAAS,CAAC,MAAM,iBAAiB,kBAAkB,GAAG,CAClG,CAAC;IACN,CAAC;IACD,OAAO,CAAC,CAAC,UAAU,CAAC,GAAG,CAAC;QACpB,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,SAAS,EAAE,CAAC;QAC3B,CAAC,CAAC,MAAM,CAAC,KAAK,SAAS,EAAE,CAAC,CAAC;AACnC,CAAC;AAED,SAAS,iBAAiB,CACtB,MAA8C,EAC9C,OAAoB;IAEpB,IAAI,MAAM,CAAC,SAAS,IAAI,IAAI;QAAE,OAAO,IAAI,CAAC;IAC1C,IAAI,MAAM,CAAC,WAAW,IAAI,IAAI;QAAE,OAAO,MAAM,CAAC,WAAW,CAAC;IAC1D,IAAI,MAAM,CAAC,QAAQ,IAAI,IAAI;QAAE,OAAO,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAC5D,IAAI,MAAM,CAAC,WAAW,IAAI,IAAI,EAAE,CAAC;QAC7B,OAAO,cAAc,CAAC,MAAM,CAAC,WAAqB,CAAC,CAAC;IACxD,CAAC;IACD,IAAI,MAAM,CAAC,UAAU,IAAI,IAAI;QAAE,OAAO,MAAM,CAAC,UAAU,CAAC;IACxD,IAAI,MAAM,CAAC,SAAS,IAAI,IAAI;QAAE,OAAO,MAAM,CAAC,SAAS,CAAC;IACtD,IAAI,MAAM,CAAC,eAAe,IAAI,IAAI;QAAE,OAAO,MAAM,CAAC,eAAe,CAAC;IAClE,IAAI,MAAM,CAAC,UAAU,EAAE,CAAC;QACpB,OAAO,WAAW,CAAC,MAAM,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;IACnD,CAAC;IACD,IAAI,MAAM,CAAC,SAAS,EAAE,CAAC;QACnB,OAAO,UAAU,CAAC,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IACjD,CAAC;IACD,IAAI,MAAM,CAAC,YAAY,EAAE,CAAC;QACtB,uEAAuE;QACvE,uEAAuE;QACvE,wEAAwE;QACxE,4BAA4B;QAC5B,MAAM,GAAG,GAAG,MAAM,CAAC,YAAoD,CAAC;QACxE,QAAQ,GAAG,CAAC,OAAO,EAAE,CAAC;YAClB,KAAK,aAAa;gBACd,OAAO,GAAG,CAAC,WAAW,CAAC;YAC3B,KAAK,UAAU;gBACX,OAAO,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;YAChC,KAAK,WAAW;gBACZ,OAAO,GAAG,CAAC,SAAS,CAAC;YACzB,2DAA2D;YAC3D,KAAK,aAAa;gBACd,OAAO,cAAc,CAAC,GAAG,CAAC,WAAW,IAAI,EAAE,CAAC,CAAC;YACjD,iEAAiE;YACjE,KAAK,YAAY;gBACb,OAAO,MAAM,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;QACtC,CAAC;IACL,CAAC;IACD,IAAI,MAAM,CAAC,SAAS,EAAE,CAAC;QACnB,OAAO,CAAC,MAAM,CAAC,SAAS,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,iBAAiB,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC;IACxF,CAAC;IACD,IAAI,MAAM,CAAC,QAAQ,EAAE,CAAC;QAClB,MAAM,GAAG,GAA4B,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACzD,KAAK,MAAM,KAAK,IAAI,MAAM,CAAC,QAAQ,CAAC,OAAO,IAAI,EAAE,EAAE,CAAC;YAChD,IAAI,KAAK,CAAC,GAAG,IAAI,IAAI,IAAI,KAAK,CAAC,KAAK,EAAE,CAAC;gBACnC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,iBAAiB,CAAC,KAAK,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;YAC7D,CAAC;QACL,CAAC;QACD,OAAO,GAAG,CAAC;IACf,CAAC;IACD,IAAI,MAAM,CAAC,iBAAiB,IAAI,MAAM,CAAC,iBAAiB,CAAC,KAAK,EAAE,CAAC;QAC7D,OAAO,iBAAiB,CAAC,MAAM,CAAC,iBAAiB,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IACD,4EAA4E;IAC5E,0EAA0E;IAC1E,0EAA0E;IAC1E,IAAI,MAAM,CAAC,WAAW,EAAE,CAAC;QACrB,MAAM,EAAE,GAAG,MAAM,CAAC,WAAW,CAAC,UAAU,IAAI,CAAC,CAAC;QAC9C,IAAI,EAAE,KAAK,cAAc,CAAC,kBAAkB,EAAE,CAAC;YAC3C,kEAAkE;YAClE,MAAM,IAAI,SAAS,CAAC,mDAAmD,CAAC,CAAC;QAC7E,CAAC;QACD,MAAM,MAAM,GAAG,IAAI,UAAU,CAAC,MAAM,CAAC,WAAW,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;QAC1D,IAAI,EAAE,KAAK,cAAc,CAAC,eAAe;YAAE,OAAO,SAAS,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;QAChF,IAAI,EAAE,KAAK,cAAc,CAAC,eAAe;YAAE,OAAO,SAAS,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;QAChF,IAAI,EAAE,KAAK,cAAc,CAAC,eAAe;YAAE,OAAO,SAAS,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;QAChF,IAAI,EAAE,KAAK,cAAc,CAAC,aAAa;YAAE,OAAO,OAAO,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;QAC5E,IAAI,EAAE,KAAK,cAAc,CAAC,sBAAsB,EAAE,CAAC;YAC/C,mEAAmE;YACnE,sDAAsD;YACtD,qEAAqE;YACrE,gEAAgE;YAChE,yDAAyD;YACzD,oEAAoE;YACpE,8DAA8D;YAC9D,MAAM,GAAG,GAAG,MAAM,CAAC,WAAW,CAAC,EAAE,EAAE,OAAO,EAAE,IAAI,IAAI,EAAE,CAAC;YACvD,MAAM,GAAG,GAAG,OAAO,CAAC,QAAQ,CAAC,GAAG,CAA4C,CAAC;YAC7E,OAAO,GAAG,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;QACnC,CAAC;QACD,oEAAoE;QACpE,OAAO,MAAM,CAAC;IAClB,CAAC;IACD,yEAAyE;IACzE,2EAA2E;IAC3E,iEAAiE;IACjE,IAAI,MAAM,CAAC,UAAU,IAAI,MAAM,CAAC,cAAc,EAAE,CAAC;QAC7C,MAAM,KAAK,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,kBAAkB,CAAC;QACrE,MAAM,IAAI,SAAS,CACf,eAAe,KAAK,mDAAmD;YACvE,8BAA8B,CACjC,CAAC;IACN,CAAC;IACD,6EAA6E;IAC7E,oBAAoB;IACpB,OAAO,IAAI,CAAC;AAChB,CAAC;AAED;;;;;;;GAOG;AACH,SAAS,WAAW,CAChB,UAA+C,EAC/C,OAAoB;IAEpB,MAAM,SAAS,GAA4B,EAAE,CAAC;IAC9C,KAAK,MAAM,KAAK,IAAI,UAAU,CAAC,MAAM,IAAI,EAAE,EAAE,CAAC;QAC1C,IAAI,KAAK,CAAC,GAAG,IAAI,IAAI,IAAI,KAAK,CAAC,KAAK,EAAE,CAAC;YACnC,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,iBAAiB,CAAC,KAAK,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;QACnE,CAAC;IACL,CAAC;IACD,MAAM,GAAG,GAAG,UAAU,CAAC,IAAI,IAAI,EAAE,CAAC;IAClC,IAAI,GAAG,EAAE,CAAC;QACN,IAAI,GAAY,CAAC;QACjB,IAAI,CAAC;YACD,GAAG,GAAG,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;QAChC,CAAC;QAAC,MAAM,CAAC;YACL,GAAG,GAAG,SAAS,CAAC,CAAC,iCAAiC;QACtD,CAAC;QACD,IAAI,GAAG,KAAK,SAAS,EAAE,CAAC;YACpB,kEAAkE;YAClE,iEAAiE;YACjE,mDAAmD;YACnD,IACI,CAAC,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,OAAO,CAAC;mBAC7E,OAAO,IAAI,SAAS,EACzB,CAAC;gBACC,OAAO,SAAS,CAAC,KAAK,CAAC;YAC3B,CAAC;YACD,MAAM,IAAI,GAAG,GAEZ,CAAC;YACF,MAAM,QAAQ,GAAG,IAAI,IAAI,CAAC,SAAS,CAAC,CAAC;YACrC,sEAAsE;YACtE,mEAAmE;YACnE,gEAAgE;YAChE,sEAAsE;YACtE,kEAAkE;YAClE,sEAAsE;YACtE,MAAM,MAAM,GAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC;YACnE,MAAM,QAAQ,GAAG,UAAU,CAAC,QAAQ,CAAC;YACrC,IAAI,MAAM,IAAI,QAAQ,IAAI,QAAQ,CAAC,MAAM,EAAE,CAAC;gBACxC,MAAM,KAAK,GAA6B,EAAE,CAAC;gBAC3C,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;oBACpB,KAAK,CAAC,CAAC,CAAC,GAAG,oBAAoB,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC;gBACjD,CAAC,CAAC,CAAC;gBACH,MAAM,CAAC,cAAc,CAAC,QAAQ,EAAE,QAAQ,EAAE;oBACtC,KAAK,EAAE,KAAK;oBACZ,UAAU,EAAE,KAAK;oBACjB,QAAQ,EAAE,IAAI;oBACd,YAAY,EAAE,IAAI;iBACrB,CAAC,CAAC;YACP,CAAC;YACD,OAAO,QAAQ,CAAC;QACpB,CAAC;IACL,CAAC;IACD,wEAAwE;IACxE,MAAM,GAAG,GAA4B,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IACzD,KAAK,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC;QAAE,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;IAC3D,OAAO,GAAG,CAAC;AACf,CAAC;AAED;;;GAGG;AACH,SAAS,UAAU,CACf,SAA6C,EAC7C,OAAoB;IAEpB,MAAM,GAAG,GAAG,SAAS,CAAC,IAAI,IAAI,EAAE,CAAC;IACjC,MAAM,OAAO,GAAG,SAAS,CAAC,KAAK,CAAC;IAChC,IAAI,GAAG,IAAI,OAAO,IAAI,IAAI,EAAE,CAAC;QACzB,IAAI,EAAW,CAAC;QAChB,IAAI,CAAC;YACD,EAAE,GAAG,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QAC9B,CAAC;QAAC,MAAM,CAAC;YACL,EAAE,GAAG,SAAS,CAAC;QACnB,CAAC;QACD,IAAI,EAAE,KAAK,SAAS,IAAI,OAAO,IAAK,EAA8B,EAAE,CAAC;YACjE,OAAQ,EAA8B,CAAC,OAAO,CAAC,CAAC;QACpD,CAAC;IACL,CAAC;IACD,OAAO,OAAO,CAAC;AACnB,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,mBAAmB,CAAC,IAAyB;IACzD,MAAM,GAAG,GAAG,iBAAiB,CAAC,MAAM,CAAC,IAAI,YAAY,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IACxF,OAAO,iBAAiB,CAAC,GAAG,EAAE,UAAU,EAAE,CAAC,CAAC;AAChD,CAAC;AAED;;;;;;GAMG;AACH,SAAS,cAAc,CAAC,IAAyB;IAI7C,MAAM,GAAG,GAAG,cAAc,CAAC,MAAM,CAAC,IAAI,YAAY,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IACrF,MAAM,OAAO,GAAG,UAAU,EAAE,CAAC;IAC7B,MAAM,UAAU,GAAc,EAAE,CAAC;IACjC,MAAM,QAAQ,GAA4B,EAAE,CAAC;IAC7C,KAAK,MAAM,GAAG,IAAI,GAAG,CAAC,IAAI,IAAI,EAAE,EAAE,CAAC;QAC/B,MAAM,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,iBAAiB,CAAC,GAAG,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;QAC5E,IAAI,GAAG,CAAC,aAAa,EAAE,CAAC;YACpB,QAAQ,CAAC,GAAG,CAAC,OAAO,IAAI,EAAE,CAAC,GAAG,KAAK,CAAC;QACxC,CAAC;aAAM,CAAC;YACJ,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC3B,CAAC;IACL,CAAC;IACD,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,CAAC;AACpC,CAAC;AAED;;;;;;;;;;;GAWG;AACH,SAAS,eAAe,CAAC,UAAqB,EAAE,QAAiC;IAC7E,IAAI,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACrC,OAAO,UAAU,CAAC;IACtB,CAAC;IACD,OAAO,CAAC,GAAG,UAAU,EAAE,QAAQ,CAAC,CAAC;AACrC,CAAC;AAED;;;;;;;;;;;GAWG;AACH;;;;;;GAMG;AACH,SAAS,kBAAkB,CACvB,MAAiE;IAEjE,IAAI,CAAC,GAAG,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,iBAAiB,EAAE,KAAK,EAAE,CAAC;QACjC,CAAC,GAAG,CAAC,CAAC,iBAAiB,CAAC,KAAK,CAAC;IAClC,CAAC;IACD,OAAO,CAAC,CAAC;AACb,CAAC;AAED,SAAS,YAAY,CACjB,MAAiE;IAEjE,MAAM,SAAS,GAAG,kBAAkB,CAAC,MAAM,CAAC,EAAE,UAAU,EAAE,IAAI,IAAI,SAAS,CAAC;IAC5E,IAAI,KAAc,CAAC;IACnB,IAAI,CAAC;QACD,KAAK,GAAG,MAAM,CAAC,CAAC,CAAC,iBAAiB,CAAC,MAAM,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;IACzE,CAAC;IAAC,MAAM,CAAC;QACL,KAAK,GAAG,SAAS,CAAC;IACtB,CAAC;IACD,IAAI,OAAO,GAAG,EAAE,CAAC;IACjB,IAAI,KAAK,IAAI,IAAI,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,SAAS,IAAK,KAAgB,EAAE,CAAC;QAC/E,MAAM,CAAC,GAAI,KAAiC,CAAC,OAAO,CAAC;QACrD,IAAI,OAAO,CAAC,KAAK,QAAQ;YAAE,OAAO,GAAG,CAAC,CAAC;IAC3C,CAAC;IACD,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC;AACzC,CAAC;AAED,SAAS,mBAAmB,CAAC,IAAY,EAAE,SAAiB,EAAE,OAAe,EAAE,KAAe;IAC1F,MAAM,KAAK,GAAG,SAAS,IAAI,QAAQ,IAAI,EAAE,CAAC;IAC1C,IAAI,IAAI,GAAG,QAAQ,IAAI,KAAK,KAAK,EAAE,CAAC;IACpC,IAAI,OAAO;QAAE,IAAI,IAAI,KAAK,OAAO,EAAE,CAAC;IACpC,IAAI,KAAK,CAAC,MAAM;QAAE,IAAI,IAAI,IAAI,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACvE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAS,sBAAsB,CAAC,OAAe;IAC3C,OAAO,IAAI,cAAc,CAAC,OAAO,EAAE;QAC/B,MAAM,EAAE,IAAI,kBAAkB,CAAC,OAAO,CAAC;KAC1C,CAAC,CAAC;AACP,CAAC;AAED;;;;;;;;GAQG;AACH,MAAM,UAAU,gBAAgB,CAAC,IAAyB;IACtD,MAAM,GAAG,GAAG,IAAI,YAAY,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC9D,MAAM,MAAM,GAAG,kBAAkB,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;IAC9C,QAAQ,MAAM,CAAC,MAAM,EAAE,CAAC;QACpB,KAAK,OAAO,CAAC,CAAC,CAAC;YACX,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,YAAY,CAAC,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;YACxE,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,EAAE,KAAK,IAAI,EAAE,CAAC;YACxC,iEAAiE;YACjE,6DAA6D;YAC7D,+DAA+D;YAC/D,mEAAmE;YACnE,4DAA4D;YAC5D,uDAAuD;YACvD,4DAA4D;YAC5D,IAAI,SAAS,KAAK,0BAA0B,IAAI,KAAK,KAAK,IAAI,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;gBAC1F,MAAM,MAAM,GAAI,KAAiC,CAAC,OAAO,CAAC;gBAC1D,MAAM,QAAQ,GAAG,0BAA0B,CAAC,MAAM,CAAC,CAAC;gBACpD,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;oBACzB,MAAM,QAAQ,CAAC;gBACnB,CAAC;YACL,CAAC;YACD,MAAM,SAAS,GAAG,mBAAmB,CAAC,OAAO,EAAE,SAAS,IAAI,EAAE,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC;YAChF,IAAI,SAAS,KAAK,qBAAqB,EAAE,CAAC;gBACtC,MAAM,sBAAsB,CAAC,SAAS,CAAC,CAAC;YAC5C,CAAC;YACD,MAAM,IAAI,SAAS,CACf,SAAS,EACT,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE,CACzC,CAAC;QACN,CAAC;QACD,KAAK,OAAO,CAAC,CAAC,CAAC;YACX,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;YAC3B,IAAI,KAAK,EAAE,WAAW,EAAE,CAAC;gBACrB,+DAA+D;gBAC/D,4DAA4D;gBAC5D,4DAA4D;gBAC5D,MAAM,IAAI,GAAG,MAAM,CAAC,KAAK,CAAC,QAAQ,IAAI,CAAC,CAAC,CAAC;gBACzC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACvB,CAAC;YACD,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,YAAY,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;YACjE,MAAM,KAAK,GAAG,KAAK,EAAE,KAAK,IAAI,EAAE,CAAC;YACjC,MAAM,SAAS,GAAG,mBAAmB,CAAC,OAAO,EAAE,SAAS,IAAI,EAAE,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC;YAChF,IAAI,SAAS,KAAK,qBAAqB,EAAE,CAAC;gBACtC,MAAM,sBAAsB,CAAC,SAAS,CAAC,CAAC;YAC5C,CAAC;YACD,MAAM,IAAI,SAAS,CACf,SAAS,EACT,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE,CACzC,CAAC;QACN,CAAC;QACD,KAAK,IAAI,CAAC;QACV;YACI,sEAAsE;YACtE,OAAO,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,iBAAiB,CAAC,MAAM,CAAC,EAAE,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IAC7E,CAAC;AACL,CAAC;AAED,6CAA6C;AAC7C,EAAE;AACF,6EAA6E;AAC7E,wEAAwE;AACxE,2EAA2E;AAC3E,yEAAyE;AACzE,wEAAwE;AACxE,6CAA6C;AAC7C,EAAE;AACF,wDAAwD;AACxD,yEAAyE;AACzE,yEAAyE;AACzE,sEAAsE;AACtE,0EAA0E;AAE1E,SAAS,wBAAwB,CAAC,MAAuC;IACrE,OAAO,CAAC,MAAc,EAAE,SAAiB,EAAQ,EAAE;QAC/C,gEAAgE;QAChE,qEAAqE;QACrE,sEAAsE;QACtE,qEAAqE;QACrE,kEAAkE;QAClE,8DAA8D;QAC9D,wCAAwC;QACxC,IAAI,CAAC;YACD,IAAI,IAAe,CAAC;YACpB,IAAI,CAAC;gBACD,8DAA8D;gBAC9D,4DAA4D;gBAC5D,4DAA4D;gBAC5D,6CAA6C;gBAC7C,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,cAAc,CAAC,SAAS,CAAC,CAAC;gBAC3D,IAAI,GAAG,eAAe,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;YACjD,CAAC;YAAC,OAAO,GAAG,EAAE,CAAC;gBACX,qBAAqB,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;gBACnC,OAAO;YACX,CAAC;YACD,IAAI,MAAe,CAAC;YACpB,IAAI,CAAC;gBACD,MAAM,GAAG,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC;YAC7B,CAAC;YAAC,OAAO,GAAG,EAAE,CAAC;gBACX,qBAAqB,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;gBACnC,OAAO;YACX,CAAC;YACD,iEAAiE;YACjE,iEAAiE;YACjE,8DAA8D;YAC9D,iEAAiE;YACjE,IAAI,aAAa,CAAC,MAAM,CAAC,EAAE,CAAC;gBACxB,+DAA+D;gBAC/D,8DAA8D;gBAC9D,2DAA2D;gBAC3D,0DAA0D;gBAC1D,0DAA0D;gBAC1D,4CAA4C;gBAC5C,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,IAAI,CACxB,CAAC,QAAQ,EAAE,EAAE,CAAC,sBAAsB,CAAC,MAAM,EAAE,QAAQ,CAAC,EACtD,CAAC,GAAG,EAAE,EAAE,CAAC,qBAAqB,CAAC,MAAM,EAAE,GAAG,CAAC,CAC9C,CAAC;YACN,CAAC;iBAAM,CAAC;gBACJ,sBAAsB,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;YAC3C,CAAC;QACL,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACX,+DAA+D;YAC/D,2DAA2D;YAC3D,0BAA0B,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;QAC5C,CAAC;IACL,CAAC,CAAC;AACN,CAAC;AAED,SAAS,aAAa,CAAC,KAAc;IACjC,OAAO,CACH,KAAK,IAAI,IAAI;QACb,CAAC,OAAO,KAAK,KAAK,QAAQ,IAAI,OAAO,KAAK,KAAK,UAAU,CAAC;QAC1D,OAAQ,KAA4B,CAAC,IAAI,KAAK,UAAU,CAC3D,CAAC;AACN,CAAC;AAED,SAAS,sBAAsB,CAAC,MAAc,EAAE,KAAc;IAC1D,IAAI,KAAa,CAAC;IAClB,sEAAsE;IACtE,uEAAuE;IACvE,sEAAsE;IACtE,qEAAqE;IACrE,0EAA0E;IAC1E,8CAA8C;IAC9C,MAAM,GAAG,GAAc,EAAE,QAAQ,EAAE,KAAK,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC;IAC3D,IAAI,CAAC;QACD,MAAM,EAAE,GAAsC,EAAE,CAAC;QACjD,eAAe,CAAC,EAAE,EAAE,KAAK,EAAE,GAAG,CAAC,CAAC;QAChC,MAAM,GAAG,GAAG,YAAY,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;QACpC,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;IAC3D,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACX,KAAK,MAAM,CAAC,IAAI,GAAG,CAAC,UAAU,EAAE,CAAC;YAC7B,IAAI,CAAC;gBACD,mBAAmB,CAAC,CAAC,CAAC,CAAC;YAC3B,CAAC;YAAC,MAAM,CAAC;gBACL,sDAAsD;YAC1D,CAAC;QACL,CAAC;QACD,qBAAqB,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;QACnC,OAAO;IACX,CAAC;IACD,gBAAgB,CAAC,MAAM,EAAE,CAAC,EAAE,KAAK,CAAC,CAAC;AACvC,CAAC;AAED;;;;;GAKG;AACH,SAAS,wBAAwB,CAC7B,SAAiB,EACjB,OAAe,EACf,SAA6B,EAC7B,SAAoB;IAEpB,MAAM,WAAW,GAAG,CAAC,GAAW,EAAE,KAAa,EAAE,EAAE,CAC/C,eAAe,CAAC,MAAM,CAAC;QACnB,SAAS,EAAE,GAAG;QACd,KAAK,EAAE,YAAY,CAAC,MAAM,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;KACrD,CAAC,CAAC;IACP,MAAM,WAAW,GAAG,eAAe,CAAC,MAAM,CAAC;QACvC,SAAS,EAAE,SAAS;QACpB,KAAK,EAAE,YAAY,CAAC,MAAM,CAAC;YACvB,MAAM,EAAE;gBACJ,GAAG,EAAE,SAAS;gBACd,UAAU,EAAE,cAAc,CAAC,iBAAiB;aAC/C;SACJ,CAAC;KACL,CAAC,CAAC;IACH,MAAM,MAAM,GAAG;QACX,WAAW,CAAC,SAAS,EAAE,OAAO,CAAC;QAC/B,WAAW,CAAC,YAAY,EAAE,SAAS,CAAC;QACpC,WAAW,CAAC,UAAU,EAAE,QAAQ,CAAC;KACpC,CAAC;IACF,IAAI,SAAS,IAAI,IAAI,EAAE,CAAC;QACpB,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,WAAW,EAAE,SAAS,CAAC,CAAC,CAAC;IACrD,CAAC;IACD,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IACzB,OAAO,YAAY,CAAC,MAAM,CAAC;QACvB,UAAU,EAAE,iBAAiB,CAAC,MAAM,CAAC;YACjC,OAAO,EAAE,EAAE,IAAI,EAAE,0BAA0B,EAAE;YAC7C,MAAM;SACT,CAAC;KACL,CAAC,CAAC;AACP,CAAC;AAED,yEAAyE;AACzE,wEAAwE;AACxE,qEAAqE;AACrE,sEAAsE;AACtE,yEAAyE;AACzE,2DAA2D;AAC3D,kEAAkE;AAClE,oEAAoE;AACpE,0DAA0D;AAC1D,EAAE;AACF,yEAAyE;AACzE,mEAAmE;AACnE,gEAAgE;AAChE,MAAM,yBAAyB,GAAG,EAAE,GAAG,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAA0B,CAAC;AAE9E,SAAS,qBAAqB,CAAC,MAAc,EAAE,GAAY;IACvD,uEAAuE;IACvE,uEAAuE;IACvE,uEAAuE;IACvE,gCAAgC;IAChC,IAAI,CAAC;QACD,sEAAsE;QACtE,oEAAoE;QACpE,mEAAmE;QACnE,kEAAkE;QAClE,mEAAmE;QACnE,EAAE;QACF,iEAAiE;QACjE,mEAAmE;QACnE,gEAAgE;QAChE,kEAAkE;QAClE,gEAAgE;QAChE,8DAA8D;QAC9D,gDAAgD;QAChD,EAAE;QACF,kEAAkE;QAClE,8DAA8D;QAC9D,6DAA6D;QAC7D,qEAAqE;QACrE,mEAAmE;QACnE,kEAAkE;QAClE,8CAA8C;QAC9C,IAAI,GAAG,YAAY,SAAS,IAAI,GAAG,CAAC,KAAK,IAAI,IAAI,EAAE,CAAC;YAChD,MAAM,GAAG,GAAc,EAAE,QAAQ,EAAE,KAAK,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC;YAC3D,IAAI,CAAC;gBACD,MAAM,EAAE,GAAG,YAAY,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;gBACnC,eAAe,CAAC,EAAE,EAAE,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;gBACpC,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;gBAC5D,gBAAgB,CAAC,MAAM,EAAE,CAAC,EAAE,KAAK,CAAC,CAAC;gBACnC,OAAO;YACX,CAAC;YAAC,MAAM,CAAC;gBACL,2DAA2D;gBAC3D,6DAA6D;gBAC7D,uDAAuD;gBACvD,6DAA6D;gBAC7D,2DAA2D;gBAC3D,2DAA2D;gBAC3D,4DAA4D;gBAC5D,0DAA0D;gBAC1D,0CAA0C;gBAC1C,6BAA6B;gBAC7B,KAAK,MAAM,GAAG,IAAI,GAAG,CAAC,UAAU,EAAE,CAAC;oBAC/B,IAAI,CAAC;wBACD,mBAAmB,CAAC,GAAG,CAAC,CAAC;oBAC7B,CAAC;oBAAC,MAAM,CAAC;wBACL,sDAAsD;oBAC1D,CAAC;gBACL,CAAC;YACL,CAAC;QACL,CAAC;QAED,qEAAqE;QACrE,mEAAmE;QACnE,kEAAkE;QAClE,mEAAmE;QACnE,uCAAuC;QACvC,EAAE;QACF,mEAAmE;QACnE,sEAAsE;QACtE,+CAA+C;QAC/C,kEAAkE;QAClE,oEAAoE;QACpE,kEAAkE;QAClE,kEAAkE;QAClE,8DAA8D;QAC9D,mCAAmC;QACnC,EAAE;QACF,oEAAoE;QACpE,iEAAiE;QACjE,kEAAkE;QAClE,kEAAkE;QAClE,mEAAmE;QACnE,mEAAmE;QACnE,4DAA4D;QAC5D,8DAA8D;QAC9D,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,aAAa,CAAC,GAAG,CAAC,CAAC;QACzD,MAAM,SAAS,GAAG,kBAAkB,CAAC,GAAG,CAAC,CAAC;QAC1C,MAAM,OAAO,GAAG,wBAAwB,CAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,CAAC,CAAC;QAC/E,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;QACjE,gBAAgB,CAAC,MAAM,EAAE,CAAC,EAAE,KAAK,CAAC,CAAC;IACvC,CAAC;IAAC,OAAO,QAAQ,EAAE,CAAC;QAChB,0BAA0B,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;IACjD,CAAC;AACL,CAAC;AAED;;;;;;;;GAQG;AACH,SAAS,0BAA0B,CAAC,MAAc,EAAE,GAAY;IAC5D,IAAI,CAAC;QACD,MAAM,OAAO,GAAG,wBAAwB,CACpC,eAAe,EACf,sEAAsE,aAAa,CAAC,GAAG,CAAC,EAAE,EAC1F,SAAS,EACT,yBAAyB,CAC5B,CAAC;QACF,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;QACjE,gBAAgB,CAAC,MAAM,EAAE,CAAC,EAAE,KAAK,CAAC,CAAC;IACvC,CAAC;IAAC,OAAO,QAAQ,EAAE,CAAC;QAChB,mEAAmE;QACnE,8DAA8D;QAC9D,qEAAqE;QACrE,oCAAoC;QACpC,OAAO,CAAC,KAAK,CACT,yEAAyE,EACzE,EAAE,MAAM,EAAE,aAAa,EAAE,aAAa,CAAC,GAAG,CAAC,EAAE,eAAe,EAAE,QAAQ,EAAE,CAC3E,CAAC;IACN,CAAC;AACL,CAAC;AAED;kBACkB;AAClB,SAAS,aAAa,CAAC,GAAY;IAC/B,IAAI,CAAC;QACD,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC;IACvB,CAAC;IAAC,MAAM,CAAC;QACL,OAAO,yBAAyB,CAAC;IACrC,CAAC;AACL,CAAC;AAED,SAAS,aAAa,CAAC,GAAY;IAC/B,IAAI,GAAG,YAAY,KAAK,EAAE,CAAC;QACvB,OAAO;YACH,SAAS,EAAE,GAAG,CAAC,IAAI,IAAI,GAAG,CAAC,WAAW,CAAC,IAAI,IAAI,OAAO;YACtD,OAAO,EAAE,GAAG,CAAC,OAAO,IAAI,MAAM,CAAC,GAAG,CAAC;YACnC,KAAK,EAAE,GAAG,CAAC,KAAK,IAAI,SAAS;SAChC,CAAC;IACN,CAAC;IACD,IAAI,GAAG,IAAI,IAAI,IAAI,OAAO,GAAG,KAAK,QAAQ,EAAE,CAAC;QACzC,MAAM,IAAI,GAAI,GAA2C,CAAC,WAAW,CAAC;QACtE,MAAM,SAAS,GAAG,IAAI,EAAE,IAAI,IAAI,IAAI,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC;QAC7E,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,CAAC,GAAG,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC;IACjE,CAAC;IACD,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,CAAC,GAAG,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC;AAC1E,CAAC"} \ No newline at end of file diff --git a/baml_language/sdks/nodejs/bridge_nodejs/dist/proto/baml_cffi.d.ts b/baml_language/sdks/nodejs/bridge_nodejs/dist/proto/baml_cffi.d.ts index 1bcf41b60b5..2106a4008fc 100644 --- a/baml_language/sdks/nodejs/bridge_nodejs/dist/proto/baml_cffi.d.ts +++ b/baml_language/sdks/nodejs/bridge_nodejs/dist/proto/baml_cffi.d.ts @@ -2,13 +2,13 @@ * THIS FILE IS AUTO-GENERATED — DO NOT EDIT BY HAND. * * Source: baml_language/crates/bridge_nodejs/typescript_src/ - * Proto: baml_language/crates/bridge_ctypes/types/baml_core/cffi/v1/*.proto + * Proto: baml_language/crates/bridge_ctypes/types/baml_bridge/cffi/v1/*.proto * Build: cd baml_language/crates/bridge_nodejs && pnpm build:debug */ import * as $protobuf from "protobufjs"; import Long from "long"; -/** Namespace baml_core. */ -export namespace baml_core { +/** Namespace baml_bridge. */ +export namespace baml_bridge { /** Namespace cffi. */ namespace cffi { @@ -32,19 +32,19 @@ export namespace baml_core { boolValue?: (boolean|null); /** InboundValue listValue */ - listValue?: (baml_core.cffi.v1.IInboundListValue|null); + listValue?: (baml_bridge.cffi.v1.IInboundListValue|null); /** InboundValue mapValue */ - mapValue?: (baml_core.cffi.v1.IInboundMapValue|null); + mapValue?: (baml_bridge.cffi.v1.IInboundMapValue|null); /** InboundValue classValue */ - classValue?: (baml_core.cffi.v1.IInboundClassValue|null); + classValue?: (baml_bridge.cffi.v1.IInboundClassValue|null); /** InboundValue enumValue */ - enumValue?: (baml_core.cffi.v1.IInboundEnumValue|null); + enumValue?: (baml_bridge.cffi.v1.IInboundEnumValue|null); /** InboundValue handle */ - handle?: (baml_core.cffi.v1.IBamlHandle|null); + handle?: (baml_bridge.cffi.v1.IBamlHandle|null); /** InboundValue uint8arrayValue */ uint8arrayValue?: (Uint8Array|null); @@ -53,7 +53,7 @@ export namespace baml_core { bigintValue?: (string|null); /** InboundValue tyValue */ - tyValue?: (baml_core.cffi.v1.IBamlTy|null); + tyValue?: (baml_bridge.cffi.v1.IBamlTy|null); } /** Represents an InboundValue. */ @@ -63,7 +63,7 @@ export namespace baml_core { * Constructs a new InboundValue. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IInboundValue); + constructor(properties?: baml_bridge.cffi.v1.IInboundValue); /** InboundValue stringValue. */ public stringValue?: (string|null); @@ -78,19 +78,19 @@ export namespace baml_core { public boolValue?: (boolean|null); /** InboundValue listValue. */ - public listValue?: (baml_core.cffi.v1.IInboundListValue|null); + public listValue?: (baml_bridge.cffi.v1.IInboundListValue|null); /** InboundValue mapValue. */ - public mapValue?: (baml_core.cffi.v1.IInboundMapValue|null); + public mapValue?: (baml_bridge.cffi.v1.IInboundMapValue|null); /** InboundValue classValue. */ - public classValue?: (baml_core.cffi.v1.IInboundClassValue|null); + public classValue?: (baml_bridge.cffi.v1.IInboundClassValue|null); /** InboundValue enumValue. */ - public enumValue?: (baml_core.cffi.v1.IInboundEnumValue|null); + public enumValue?: (baml_bridge.cffi.v1.IInboundEnumValue|null); /** InboundValue handle. */ - public handle?: (baml_core.cffi.v1.IBamlHandle|null); + public handle?: (baml_bridge.cffi.v1.IBamlHandle|null); /** InboundValue uint8arrayValue. */ public uint8arrayValue?: (Uint8Array|null); @@ -99,7 +99,7 @@ export namespace baml_core { public bigintValue?: (string|null); /** InboundValue tyValue. */ - public tyValue?: (baml_core.cffi.v1.IBamlTy|null); + public tyValue?: (baml_bridge.cffi.v1.IBamlTy|null); /** InboundValue value. */ public value?: ("stringValue"|"intValue"|"floatValue"|"boolValue"|"listValue"|"mapValue"|"classValue"|"enumValue"|"handle"|"uint8arrayValue"|"bigintValue"|"tyValue"); @@ -109,23 +109,23 @@ export namespace baml_core { * @param [properties] Properties to set * @returns InboundValue instance */ - public static create(properties?: baml_core.cffi.v1.IInboundValue): baml_core.cffi.v1.InboundValue; + public static create(properties?: baml_bridge.cffi.v1.IInboundValue): baml_bridge.cffi.v1.InboundValue; /** - * Encodes the specified InboundValue message. Does not implicitly {@link baml_core.cffi.v1.InboundValue.verify|verify} messages. + * Encodes the specified InboundValue message. Does not implicitly {@link baml_bridge.cffi.v1.InboundValue.verify|verify} messages. * @param message InboundValue message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IInboundValue, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IInboundValue, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified InboundValue message, length delimited. Does not implicitly {@link baml_core.cffi.v1.InboundValue.verify|verify} messages. + * Encodes the specified InboundValue message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.InboundValue.verify|verify} messages. * @param message InboundValue message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IInboundValue, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IInboundValue, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an InboundValue message from the specified reader or buffer. @@ -135,7 +135,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.InboundValue; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.InboundValue; /** * Decodes an InboundValue message from the specified reader or buffer, length delimited. @@ -144,7 +144,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.InboundValue; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.InboundValue; /** * Verifies an InboundValue message. @@ -158,7 +158,7 @@ export namespace baml_core { * @param object Plain object * @returns InboundValue */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.InboundValue; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.InboundValue; /** * Creates a plain object from an InboundValue message. Also converts values to other types if specified. @@ -166,7 +166,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.InboundValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.InboundValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this InboundValue to JSON. @@ -186,7 +186,7 @@ export namespace baml_core { interface IInboundListValue { /** InboundListValue values */ - values?: (baml_core.cffi.v1.IInboundValue[]|null); + values?: (baml_bridge.cffi.v1.IInboundValue[]|null); } /** Represents an InboundListValue. */ @@ -196,33 +196,33 @@ export namespace baml_core { * Constructs a new InboundListValue. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IInboundListValue); + constructor(properties?: baml_bridge.cffi.v1.IInboundListValue); /** InboundListValue values. */ - public values: baml_core.cffi.v1.IInboundValue[]; + public values: baml_bridge.cffi.v1.IInboundValue[]; /** * Creates a new InboundListValue instance using the specified properties. * @param [properties] Properties to set * @returns InboundListValue instance */ - public static create(properties?: baml_core.cffi.v1.IInboundListValue): baml_core.cffi.v1.InboundListValue; + public static create(properties?: baml_bridge.cffi.v1.IInboundListValue): baml_bridge.cffi.v1.InboundListValue; /** - * Encodes the specified InboundListValue message. Does not implicitly {@link baml_core.cffi.v1.InboundListValue.verify|verify} messages. + * Encodes the specified InboundListValue message. Does not implicitly {@link baml_bridge.cffi.v1.InboundListValue.verify|verify} messages. * @param message InboundListValue message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IInboundListValue, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IInboundListValue, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified InboundListValue message, length delimited. Does not implicitly {@link baml_core.cffi.v1.InboundListValue.verify|verify} messages. + * Encodes the specified InboundListValue message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.InboundListValue.verify|verify} messages. * @param message InboundListValue message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IInboundListValue, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IInboundListValue, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an InboundListValue message from the specified reader or buffer. @@ -232,7 +232,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.InboundListValue; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.InboundListValue; /** * Decodes an InboundListValue message from the specified reader or buffer, length delimited. @@ -241,7 +241,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.InboundListValue; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.InboundListValue; /** * Verifies an InboundListValue message. @@ -255,7 +255,7 @@ export namespace baml_core { * @param object Plain object * @returns InboundListValue */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.InboundListValue; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.InboundListValue; /** * Creates a plain object from an InboundListValue message. Also converts values to other types if specified. @@ -263,7 +263,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.InboundListValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.InboundListValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this InboundListValue to JSON. @@ -283,7 +283,7 @@ export namespace baml_core { interface IInboundMapValue { /** InboundMapValue entries */ - entries?: (baml_core.cffi.v1.IInboundMapEntry[]|null); + entries?: (baml_bridge.cffi.v1.IInboundMapEntry[]|null); } /** Represents an InboundMapValue. */ @@ -293,33 +293,33 @@ export namespace baml_core { * Constructs a new InboundMapValue. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IInboundMapValue); + constructor(properties?: baml_bridge.cffi.v1.IInboundMapValue); /** InboundMapValue entries. */ - public entries: baml_core.cffi.v1.IInboundMapEntry[]; + public entries: baml_bridge.cffi.v1.IInboundMapEntry[]; /** * Creates a new InboundMapValue instance using the specified properties. * @param [properties] Properties to set * @returns InboundMapValue instance */ - public static create(properties?: baml_core.cffi.v1.IInboundMapValue): baml_core.cffi.v1.InboundMapValue; + public static create(properties?: baml_bridge.cffi.v1.IInboundMapValue): baml_bridge.cffi.v1.InboundMapValue; /** - * Encodes the specified InboundMapValue message. Does not implicitly {@link baml_core.cffi.v1.InboundMapValue.verify|verify} messages. + * Encodes the specified InboundMapValue message. Does not implicitly {@link baml_bridge.cffi.v1.InboundMapValue.verify|verify} messages. * @param message InboundMapValue message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IInboundMapValue, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IInboundMapValue, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified InboundMapValue message, length delimited. Does not implicitly {@link baml_core.cffi.v1.InboundMapValue.verify|verify} messages. + * Encodes the specified InboundMapValue message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.InboundMapValue.verify|verify} messages. * @param message InboundMapValue message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IInboundMapValue, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IInboundMapValue, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an InboundMapValue message from the specified reader or buffer. @@ -329,7 +329,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.InboundMapValue; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.InboundMapValue; /** * Decodes an InboundMapValue message from the specified reader or buffer, length delimited. @@ -338,7 +338,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.InboundMapValue; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.InboundMapValue; /** * Verifies an InboundMapValue message. @@ -352,7 +352,7 @@ export namespace baml_core { * @param object Plain object * @returns InboundMapValue */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.InboundMapValue; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.InboundMapValue; /** * Creates a plain object from an InboundMapValue message. Also converts values to other types if specified. @@ -360,7 +360,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.InboundMapValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.InboundMapValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this InboundMapValue to JSON. @@ -389,10 +389,10 @@ export namespace baml_core { boolKey?: (boolean|null); /** InboundMapEntry enumKey */ - enumKey?: (baml_core.cffi.v1.IInboundEnumValue|null); + enumKey?: (baml_bridge.cffi.v1.IInboundEnumValue|null); /** InboundMapEntry value */ - value?: (baml_core.cffi.v1.IInboundValue|null); + value?: (baml_bridge.cffi.v1.IInboundValue|null); } /** Represents an InboundMapEntry. */ @@ -402,7 +402,7 @@ export namespace baml_core { * Constructs a new InboundMapEntry. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IInboundMapEntry); + constructor(properties?: baml_bridge.cffi.v1.IInboundMapEntry); /** InboundMapEntry stringKey. */ public stringKey?: (string|null); @@ -414,10 +414,10 @@ export namespace baml_core { public boolKey?: (boolean|null); /** InboundMapEntry enumKey. */ - public enumKey?: (baml_core.cffi.v1.IInboundEnumValue|null); + public enumKey?: (baml_bridge.cffi.v1.IInboundEnumValue|null); /** InboundMapEntry value. */ - public value?: (baml_core.cffi.v1.IInboundValue|null); + public value?: (baml_bridge.cffi.v1.IInboundValue|null); /** InboundMapEntry key. */ public key?: ("stringKey"|"intKey"|"boolKey"|"enumKey"); @@ -427,23 +427,23 @@ export namespace baml_core { * @param [properties] Properties to set * @returns InboundMapEntry instance */ - public static create(properties?: baml_core.cffi.v1.IInboundMapEntry): baml_core.cffi.v1.InboundMapEntry; + public static create(properties?: baml_bridge.cffi.v1.IInboundMapEntry): baml_bridge.cffi.v1.InboundMapEntry; /** - * Encodes the specified InboundMapEntry message. Does not implicitly {@link baml_core.cffi.v1.InboundMapEntry.verify|verify} messages. + * Encodes the specified InboundMapEntry message. Does not implicitly {@link baml_bridge.cffi.v1.InboundMapEntry.verify|verify} messages. * @param message InboundMapEntry message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IInboundMapEntry, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IInboundMapEntry, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified InboundMapEntry message, length delimited. Does not implicitly {@link baml_core.cffi.v1.InboundMapEntry.verify|verify} messages. + * Encodes the specified InboundMapEntry message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.InboundMapEntry.verify|verify} messages. * @param message InboundMapEntry message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IInboundMapEntry, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IInboundMapEntry, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an InboundMapEntry message from the specified reader or buffer. @@ -453,7 +453,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.InboundMapEntry; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.InboundMapEntry; /** * Decodes an InboundMapEntry message from the specified reader or buffer, length delimited. @@ -462,7 +462,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.InboundMapEntry; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.InboundMapEntry; /** * Verifies an InboundMapEntry message. @@ -476,7 +476,7 @@ export namespace baml_core { * @param object Plain object * @returns InboundMapEntry */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.InboundMapEntry; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.InboundMapEntry; /** * Creates a plain object from an InboundMapEntry message. Also converts values to other types if specified. @@ -484,7 +484,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.InboundMapEntry, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.InboundMapEntry, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this InboundMapEntry to JSON. @@ -504,10 +504,10 @@ export namespace baml_core { interface IInboundClassValue { /** InboundClassValue fields */ - fields?: (baml_core.cffi.v1.IInboundMapEntry[]|null); + fields?: (baml_bridge.cffi.v1.IInboundMapEntry[]|null); /** InboundClassValue classTy */ - classTy?: (baml_core.cffi.v1.IBamlTyClass|null); + classTy?: (baml_bridge.cffi.v1.IBamlTyClass|null); } /** Represents an InboundClassValue. */ @@ -517,36 +517,36 @@ export namespace baml_core { * Constructs a new InboundClassValue. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IInboundClassValue); + constructor(properties?: baml_bridge.cffi.v1.IInboundClassValue); /** InboundClassValue fields. */ - public fields: baml_core.cffi.v1.IInboundMapEntry[]; + public fields: baml_bridge.cffi.v1.IInboundMapEntry[]; /** InboundClassValue classTy. */ - public classTy?: (baml_core.cffi.v1.IBamlTyClass|null); + public classTy?: (baml_bridge.cffi.v1.IBamlTyClass|null); /** * Creates a new InboundClassValue instance using the specified properties. * @param [properties] Properties to set * @returns InboundClassValue instance */ - public static create(properties?: baml_core.cffi.v1.IInboundClassValue): baml_core.cffi.v1.InboundClassValue; + public static create(properties?: baml_bridge.cffi.v1.IInboundClassValue): baml_bridge.cffi.v1.InboundClassValue; /** - * Encodes the specified InboundClassValue message. Does not implicitly {@link baml_core.cffi.v1.InboundClassValue.verify|verify} messages. + * Encodes the specified InboundClassValue message. Does not implicitly {@link baml_bridge.cffi.v1.InboundClassValue.verify|verify} messages. * @param message InboundClassValue message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IInboundClassValue, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IInboundClassValue, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified InboundClassValue message, length delimited. Does not implicitly {@link baml_core.cffi.v1.InboundClassValue.verify|verify} messages. + * Encodes the specified InboundClassValue message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.InboundClassValue.verify|verify} messages. * @param message InboundClassValue message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IInboundClassValue, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IInboundClassValue, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an InboundClassValue message from the specified reader or buffer. @@ -556,7 +556,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.InboundClassValue; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.InboundClassValue; /** * Decodes an InboundClassValue message from the specified reader or buffer, length delimited. @@ -565,7 +565,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.InboundClassValue; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.InboundClassValue; /** * Verifies an InboundClassValue message. @@ -579,7 +579,7 @@ export namespace baml_core { * @param object Plain object * @returns InboundClassValue */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.InboundClassValue; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.InboundClassValue; /** * Creates a plain object from an InboundClassValue message. Also converts values to other types if specified. @@ -587,7 +587,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.InboundClassValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.InboundClassValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this InboundClassValue to JSON. @@ -620,7 +620,7 @@ export namespace baml_core { * Constructs a new InboundEnumValue. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IInboundEnumValue); + constructor(properties?: baml_bridge.cffi.v1.IInboundEnumValue); /** InboundEnumValue name. */ public name: string; @@ -633,23 +633,23 @@ export namespace baml_core { * @param [properties] Properties to set * @returns InboundEnumValue instance */ - public static create(properties?: baml_core.cffi.v1.IInboundEnumValue): baml_core.cffi.v1.InboundEnumValue; + public static create(properties?: baml_bridge.cffi.v1.IInboundEnumValue): baml_bridge.cffi.v1.InboundEnumValue; /** - * Encodes the specified InboundEnumValue message. Does not implicitly {@link baml_core.cffi.v1.InboundEnumValue.verify|verify} messages. + * Encodes the specified InboundEnumValue message. Does not implicitly {@link baml_bridge.cffi.v1.InboundEnumValue.verify|verify} messages. * @param message InboundEnumValue message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IInboundEnumValue, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IInboundEnumValue, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified InboundEnumValue message, length delimited. Does not implicitly {@link baml_core.cffi.v1.InboundEnumValue.verify|verify} messages. + * Encodes the specified InboundEnumValue message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.InboundEnumValue.verify|verify} messages. * @param message InboundEnumValue message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IInboundEnumValue, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IInboundEnumValue, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an InboundEnumValue message from the specified reader or buffer. @@ -659,7 +659,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.InboundEnumValue; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.InboundEnumValue; /** * Decodes an InboundEnumValue message from the specified reader or buffer, length delimited. @@ -668,7 +668,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.InboundEnumValue; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.InboundEnumValue; /** * Verifies an InboundEnumValue message. @@ -682,7 +682,7 @@ export namespace baml_core { * @param object Plain object * @returns InboundEnumValue */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.InboundEnumValue; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.InboundEnumValue; /** * Creates a plain object from an InboundEnumValue message. Also converts values to other types if specified. @@ -690,7 +690,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.InboundEnumValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.InboundEnumValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this InboundEnumValue to JSON. @@ -713,7 +713,7 @@ export namespace baml_core { typeVar?: (string|null); /** BamlTyArg typeValue */ - typeValue?: (baml_core.cffi.v1.IBamlTy|null); + typeValue?: (baml_bridge.cffi.v1.IBamlTy|null); } /** Represents a BamlTyArg. */ @@ -723,36 +723,36 @@ export namespace baml_core { * Constructs a new BamlTyArg. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlTyArg); + constructor(properties?: baml_bridge.cffi.v1.IBamlTyArg); /** BamlTyArg typeVar. */ public typeVar: string; /** BamlTyArg typeValue. */ - public typeValue?: (baml_core.cffi.v1.IBamlTy|null); + public typeValue?: (baml_bridge.cffi.v1.IBamlTy|null); /** * Creates a new BamlTyArg instance using the specified properties. * @param [properties] Properties to set * @returns BamlTyArg instance */ - public static create(properties?: baml_core.cffi.v1.IBamlTyArg): baml_core.cffi.v1.BamlTyArg; + public static create(properties?: baml_bridge.cffi.v1.IBamlTyArg): baml_bridge.cffi.v1.BamlTyArg; /** - * Encodes the specified BamlTyArg message. Does not implicitly {@link baml_core.cffi.v1.BamlTyArg.verify|verify} messages. + * Encodes the specified BamlTyArg message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyArg.verify|verify} messages. * @param message BamlTyArg message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlTyArg, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlTyArg, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlTyArg message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyArg.verify|verify} messages. + * Encodes the specified BamlTyArg message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyArg.verify|verify} messages. * @param message BamlTyArg message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlTyArg, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlTyArg, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlTyArg message from the specified reader or buffer. @@ -762,7 +762,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlTyArg; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlTyArg; /** * Decodes a BamlTyArg message from the specified reader or buffer, length delimited. @@ -771,7 +771,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlTyArg; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlTyArg; /** * Verifies a BamlTyArg message. @@ -785,7 +785,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlTyArg */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlTyArg; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlTyArg; /** * Creates a plain object from a BamlTyArg message. Also converts values to other types if specified. @@ -793,7 +793,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlTyArg, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlTyArg, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlTyArg to JSON. @@ -813,13 +813,13 @@ export namespace baml_core { interface ICallFunctionArgs { /** CallFunctionArgs kwargs */ - kwargs?: (baml_core.cffi.v1.IInboundMapEntry[]|null); + kwargs?: (baml_bridge.cffi.v1.IInboundMapEntry[]|null); /** CallFunctionArgs callId */ callId?: (number|Long|null); /** CallFunctionArgs typeArgs */ - typeArgs?: (baml_core.cffi.v1.IBamlTyArg[]|null); + typeArgs?: (baml_bridge.cffi.v1.IBamlTyArg[]|null); } /** Represents a CallFunctionArgs. */ @@ -829,39 +829,39 @@ export namespace baml_core { * Constructs a new CallFunctionArgs. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.ICallFunctionArgs); + constructor(properties?: baml_bridge.cffi.v1.ICallFunctionArgs); /** CallFunctionArgs kwargs. */ - public kwargs: baml_core.cffi.v1.IInboundMapEntry[]; + public kwargs: baml_bridge.cffi.v1.IInboundMapEntry[]; /** CallFunctionArgs callId. */ public callId: (number|Long); /** CallFunctionArgs typeArgs. */ - public typeArgs: baml_core.cffi.v1.IBamlTyArg[]; + public typeArgs: baml_bridge.cffi.v1.IBamlTyArg[]; /** * Creates a new CallFunctionArgs instance using the specified properties. * @param [properties] Properties to set * @returns CallFunctionArgs instance */ - public static create(properties?: baml_core.cffi.v1.ICallFunctionArgs): baml_core.cffi.v1.CallFunctionArgs; + public static create(properties?: baml_bridge.cffi.v1.ICallFunctionArgs): baml_bridge.cffi.v1.CallFunctionArgs; /** - * Encodes the specified CallFunctionArgs message. Does not implicitly {@link baml_core.cffi.v1.CallFunctionArgs.verify|verify} messages. + * Encodes the specified CallFunctionArgs message. Does not implicitly {@link baml_bridge.cffi.v1.CallFunctionArgs.verify|verify} messages. * @param message CallFunctionArgs message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.ICallFunctionArgs, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.ICallFunctionArgs, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified CallFunctionArgs message, length delimited. Does not implicitly {@link baml_core.cffi.v1.CallFunctionArgs.verify|verify} messages. + * Encodes the specified CallFunctionArgs message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.CallFunctionArgs.verify|verify} messages. * @param message CallFunctionArgs message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.ICallFunctionArgs, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.ICallFunctionArgs, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CallFunctionArgs message from the specified reader or buffer. @@ -871,7 +871,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.CallFunctionArgs; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.CallFunctionArgs; /** * Decodes a CallFunctionArgs message from the specified reader or buffer, length delimited. @@ -880,7 +880,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.CallFunctionArgs; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.CallFunctionArgs; /** * Verifies a CallFunctionArgs message. @@ -894,7 +894,7 @@ export namespace baml_core { * @param object Plain object * @returns CallFunctionArgs */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.CallFunctionArgs; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.CallFunctionArgs; /** * Creates a plain object from a CallFunctionArgs message. Also converts values to other types if specified. @@ -902,7 +902,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.CallFunctionArgs, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.CallFunctionArgs, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CallFunctionArgs to JSON. @@ -932,7 +932,7 @@ export namespace baml_core { * Constructs a new CallAck. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.ICallAck); + constructor(properties?: baml_bridge.cffi.v1.ICallAck); /** CallAck error. */ public error?: (string|null); @@ -945,23 +945,23 @@ export namespace baml_core { * @param [properties] Properties to set * @returns CallAck instance */ - public static create(properties?: baml_core.cffi.v1.ICallAck): baml_core.cffi.v1.CallAck; + public static create(properties?: baml_bridge.cffi.v1.ICallAck): baml_bridge.cffi.v1.CallAck; /** - * Encodes the specified CallAck message. Does not implicitly {@link baml_core.cffi.v1.CallAck.verify|verify} messages. + * Encodes the specified CallAck message. Does not implicitly {@link baml_bridge.cffi.v1.CallAck.verify|verify} messages. * @param message CallAck message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.ICallAck, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.ICallAck, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified CallAck message, length delimited. Does not implicitly {@link baml_core.cffi.v1.CallAck.verify|verify} messages. + * Encodes the specified CallAck message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.CallAck.verify|verify} messages. * @param message CallAck message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.ICallAck, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.ICallAck, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CallAck message from the specified reader or buffer. @@ -971,7 +971,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.CallAck; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.CallAck; /** * Decodes a CallAck message from the specified reader or buffer, length delimited. @@ -980,7 +980,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.CallAck; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.CallAck; /** * Verifies a CallAck message. @@ -994,7 +994,7 @@ export namespace baml_core { * @param object Plain object * @returns CallAck */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.CallAck; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.CallAck; /** * Creates a plain object from a CallAck message. Also converts values to other types if specified. @@ -1002,7 +1002,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.CallAck, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.CallAck, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CallAck to JSON. @@ -1044,7 +1044,7 @@ export namespace baml_core { key?: (number|Long|null); /** BamlHandle handleType */ - handleType?: (baml_core.cffi.v1.BamlHandleType|null); + handleType?: (baml_bridge.cffi.v1.BamlHandleType|null); } /** Represents a BamlHandle. */ @@ -1054,36 +1054,36 @@ export namespace baml_core { * Constructs a new BamlHandle. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlHandle); + constructor(properties?: baml_bridge.cffi.v1.IBamlHandle); /** BamlHandle key. */ public key: (number|Long); /** BamlHandle handleType. */ - public handleType: baml_core.cffi.v1.BamlHandleType; + public handleType: baml_bridge.cffi.v1.BamlHandleType; /** * Creates a new BamlHandle instance using the specified properties. * @param [properties] Properties to set * @returns BamlHandle instance */ - public static create(properties?: baml_core.cffi.v1.IBamlHandle): baml_core.cffi.v1.BamlHandle; + public static create(properties?: baml_bridge.cffi.v1.IBamlHandle): baml_bridge.cffi.v1.BamlHandle; /** - * Encodes the specified BamlHandle message. Does not implicitly {@link baml_core.cffi.v1.BamlHandle.verify|verify} messages. + * Encodes the specified BamlHandle message. Does not implicitly {@link baml_bridge.cffi.v1.BamlHandle.verify|verify} messages. * @param message BamlHandle message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlHandle, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlHandle, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlHandle message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlHandle.verify|verify} messages. + * Encodes the specified BamlHandle message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlHandle.verify|verify} messages. * @param message BamlHandle message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlHandle, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlHandle, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlHandle message from the specified reader or buffer. @@ -1093,7 +1093,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlHandle; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlHandle; /** * Decodes a BamlHandle message from the specified reader or buffer, length delimited. @@ -1102,7 +1102,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlHandle; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlHandle; /** * Verifies a BamlHandle message. @@ -1116,7 +1116,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlHandle */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlHandle; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlHandle; /** * Creates a plain object from a BamlHandle message. Also converts values to other types if specified. @@ -1124,7 +1124,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlHandle, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlHandle, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlHandle to JSON. @@ -1144,76 +1144,76 @@ export namespace baml_core { interface IBamlTy { /** BamlTy primitive */ - primitive?: (baml_core.cffi.v1.IBamlTyPrimitive|null); + primitive?: (baml_bridge.cffi.v1.IBamlTyPrimitive|null); /** BamlTy classTy */ - classTy?: (baml_core.cffi.v1.IBamlTyClass|null); + classTy?: (baml_bridge.cffi.v1.IBamlTyClass|null); /** BamlTy enum */ - "enum"?: (baml_core.cffi.v1.IBamlTyEnum|null); + "enum"?: (baml_bridge.cffi.v1.IBamlTyEnum|null); /** BamlTy list */ - list?: (baml_core.cffi.v1.IBamlTyList|null); + list?: (baml_bridge.cffi.v1.IBamlTyList|null); /** BamlTy map */ - map?: (baml_core.cffi.v1.IBamlTyMap|null); + map?: (baml_bridge.cffi.v1.IBamlTyMap|null); /** BamlTy optional */ - optional?: (baml_core.cffi.v1.IBamlTyOptional|null); + optional?: (baml_bridge.cffi.v1.IBamlTyOptional|null); /** BamlTy union */ - union?: (baml_core.cffi.v1.IBamlTyUnion|null); + union?: (baml_bridge.cffi.v1.IBamlTyUnion|null); /** BamlTy literal */ - literal?: (baml_core.cffi.v1.IBamlTyLiteral|null); + literal?: (baml_bridge.cffi.v1.IBamlTyLiteral|null); /** BamlTy typeAlias */ - typeAlias?: (baml_core.cffi.v1.IBamlTyTypeAlias|null); + typeAlias?: (baml_bridge.cffi.v1.IBamlTyTypeAlias|null); /** BamlTy unknown */ - unknown?: (baml_core.cffi.v1.IBamlTyUnknown|null); + unknown?: (baml_bridge.cffi.v1.IBamlTyUnknown|null); /** BamlTy media */ - media?: (baml_core.cffi.v1.IBamlTyMedia|null); + media?: (baml_bridge.cffi.v1.IBamlTyMedia|null); /** BamlTy interface */ - "interface"?: (baml_core.cffi.v1.IBamlTyInterface|null); + "interface"?: (baml_bridge.cffi.v1.IBamlTyInterface|null); /** BamlTy enumVariant */ - enumVariant?: (baml_core.cffi.v1.IBamlTyEnumVariant|null); + enumVariant?: (baml_bridge.cffi.v1.IBamlTyEnumVariant|null); /** BamlTy function */ - "function"?: (baml_core.cffi.v1.IBamlTyFunction|null); + "function"?: (baml_bridge.cffi.v1.IBamlTyFunction|null); /** BamlTy future */ - future?: (baml_core.cffi.v1.IBamlTyFuture|null); + future?: (baml_bridge.cffi.v1.IBamlTyFuture|null); /** BamlTy rustType */ - rustType?: (baml_core.cffi.v1.IBamlTyRustType|null); + rustType?: (baml_bridge.cffi.v1.IBamlTyRustType|null); /** BamlTy metaType */ - metaType?: (baml_core.cffi.v1.IBamlTyMetaType|null); + metaType?: (baml_bridge.cffi.v1.IBamlTyMetaType|null); /** BamlTy resource */ - resource?: (baml_core.cffi.v1.IBamlTyResource|null); + resource?: (baml_bridge.cffi.v1.IBamlTyResource|null); /** BamlTy promptAst */ - promptAst?: (baml_core.cffi.v1.IBamlTyPromptAst|null); + promptAst?: (baml_bridge.cffi.v1.IBamlTyPromptAst|null); /** BamlTy void */ - "void"?: (baml_core.cffi.v1.IBamlTyVoid|null); + "void"?: (baml_bridge.cffi.v1.IBamlTyVoid|null); /** BamlTy watchAccessor */ - watchAccessor?: (baml_core.cffi.v1.IBamlTyWatchAccessor|null); + watchAccessor?: (baml_bridge.cffi.v1.IBamlTyWatchAccessor|null); /** BamlTy typeVar */ - typeVar?: (baml_core.cffi.v1.IBamlTyTypeVar|null); + typeVar?: (baml_bridge.cffi.v1.IBamlTyTypeVar|null); /** BamlTy associatedTypeProjection */ - associatedTypeProjection?: (baml_core.cffi.v1.IBamlTyAssociatedTypeProjection|null); + associatedTypeProjection?: (baml_bridge.cffi.v1.IBamlTyAssociatedTypeProjection|null); /** BamlTy never */ - never?: (baml_core.cffi.v1.IBamlTyNever|null); + never?: (baml_bridge.cffi.v1.IBamlTyNever|null); } /** Represents a BamlTy. */ @@ -1223,79 +1223,79 @@ export namespace baml_core { * Constructs a new BamlTy. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlTy); + constructor(properties?: baml_bridge.cffi.v1.IBamlTy); /** BamlTy primitive. */ - public primitive?: (baml_core.cffi.v1.IBamlTyPrimitive|null); + public primitive?: (baml_bridge.cffi.v1.IBamlTyPrimitive|null); /** BamlTy classTy. */ - public classTy?: (baml_core.cffi.v1.IBamlTyClass|null); + public classTy?: (baml_bridge.cffi.v1.IBamlTyClass|null); /** BamlTy enum. */ - public enum?: (baml_core.cffi.v1.IBamlTyEnum|null); + public enum?: (baml_bridge.cffi.v1.IBamlTyEnum|null); /** BamlTy list. */ - public list?: (baml_core.cffi.v1.IBamlTyList|null); + public list?: (baml_bridge.cffi.v1.IBamlTyList|null); /** BamlTy map. */ - public map?: (baml_core.cffi.v1.IBamlTyMap|null); + public map?: (baml_bridge.cffi.v1.IBamlTyMap|null); /** BamlTy optional. */ - public optional?: (baml_core.cffi.v1.IBamlTyOptional|null); + public optional?: (baml_bridge.cffi.v1.IBamlTyOptional|null); /** BamlTy union. */ - public union?: (baml_core.cffi.v1.IBamlTyUnion|null); + public union?: (baml_bridge.cffi.v1.IBamlTyUnion|null); /** BamlTy literal. */ - public literal?: (baml_core.cffi.v1.IBamlTyLiteral|null); + public literal?: (baml_bridge.cffi.v1.IBamlTyLiteral|null); /** BamlTy typeAlias. */ - public typeAlias?: (baml_core.cffi.v1.IBamlTyTypeAlias|null); + public typeAlias?: (baml_bridge.cffi.v1.IBamlTyTypeAlias|null); /** BamlTy unknown. */ - public unknown?: (baml_core.cffi.v1.IBamlTyUnknown|null); + public unknown?: (baml_bridge.cffi.v1.IBamlTyUnknown|null); /** BamlTy media. */ - public media?: (baml_core.cffi.v1.IBamlTyMedia|null); + public media?: (baml_bridge.cffi.v1.IBamlTyMedia|null); /** BamlTy interface. */ - public interface?: (baml_core.cffi.v1.IBamlTyInterface|null); + public interface?: (baml_bridge.cffi.v1.IBamlTyInterface|null); /** BamlTy enumVariant. */ - public enumVariant?: (baml_core.cffi.v1.IBamlTyEnumVariant|null); + public enumVariant?: (baml_bridge.cffi.v1.IBamlTyEnumVariant|null); /** BamlTy function. */ - public function?: (baml_core.cffi.v1.IBamlTyFunction|null); + public function?: (baml_bridge.cffi.v1.IBamlTyFunction|null); /** BamlTy future. */ - public future?: (baml_core.cffi.v1.IBamlTyFuture|null); + public future?: (baml_bridge.cffi.v1.IBamlTyFuture|null); /** BamlTy rustType. */ - public rustType?: (baml_core.cffi.v1.IBamlTyRustType|null); + public rustType?: (baml_bridge.cffi.v1.IBamlTyRustType|null); /** BamlTy metaType. */ - public metaType?: (baml_core.cffi.v1.IBamlTyMetaType|null); + public metaType?: (baml_bridge.cffi.v1.IBamlTyMetaType|null); /** BamlTy resource. */ - public resource?: (baml_core.cffi.v1.IBamlTyResource|null); + public resource?: (baml_bridge.cffi.v1.IBamlTyResource|null); /** BamlTy promptAst. */ - public promptAst?: (baml_core.cffi.v1.IBamlTyPromptAst|null); + public promptAst?: (baml_bridge.cffi.v1.IBamlTyPromptAst|null); /** BamlTy void. */ - public void?: (baml_core.cffi.v1.IBamlTyVoid|null); + public void?: (baml_bridge.cffi.v1.IBamlTyVoid|null); /** BamlTy watchAccessor. */ - public watchAccessor?: (baml_core.cffi.v1.IBamlTyWatchAccessor|null); + public watchAccessor?: (baml_bridge.cffi.v1.IBamlTyWatchAccessor|null); /** BamlTy typeVar. */ - public typeVar?: (baml_core.cffi.v1.IBamlTyTypeVar|null); + public typeVar?: (baml_bridge.cffi.v1.IBamlTyTypeVar|null); /** BamlTy associatedTypeProjection. */ - public associatedTypeProjection?: (baml_core.cffi.v1.IBamlTyAssociatedTypeProjection|null); + public associatedTypeProjection?: (baml_bridge.cffi.v1.IBamlTyAssociatedTypeProjection|null); /** BamlTy never. */ - public never?: (baml_core.cffi.v1.IBamlTyNever|null); + public never?: (baml_bridge.cffi.v1.IBamlTyNever|null); /** BamlTy ty. */ public ty?: ("primitive"|"classTy"|"enum"|"list"|"map"|"optional"|"union"|"literal"|"typeAlias"|"unknown"|"media"|"interface"|"enumVariant"|"Function"|"future"|"rustType"|"metaType"|"resource"|"promptAst"|"void"|"watchAccessor"|"typeVar"|"associatedTypeProjection"|"never"); @@ -1305,23 +1305,23 @@ export namespace baml_core { * @param [properties] Properties to set * @returns BamlTy instance */ - public static create(properties?: baml_core.cffi.v1.IBamlTy): baml_core.cffi.v1.BamlTy; + public static create(properties?: baml_bridge.cffi.v1.IBamlTy): baml_bridge.cffi.v1.BamlTy; /** - * Encodes the specified BamlTy message. Does not implicitly {@link baml_core.cffi.v1.BamlTy.verify|verify} messages. + * Encodes the specified BamlTy message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTy.verify|verify} messages. * @param message BamlTy message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlTy, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlTy, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlTy message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTy.verify|verify} messages. + * Encodes the specified BamlTy message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTy.verify|verify} messages. * @param message BamlTy message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlTy, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlTy, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlTy message from the specified reader or buffer. @@ -1331,7 +1331,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlTy; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlTy; /** * Decodes a BamlTy message from the specified reader or buffer, length delimited. @@ -1340,7 +1340,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlTy; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlTy; /** * Verifies a BamlTy message. @@ -1354,7 +1354,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlTy */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlTy; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlTy; /** * Creates a plain object from a BamlTy message. Also converts values to other types if specified. @@ -1362,7 +1362,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlTy, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlTy, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlTy to JSON. @@ -1394,7 +1394,7 @@ export namespace baml_core { interface IBamlTyPrimitive { /** BamlTyPrimitive kind */ - kind?: (baml_core.cffi.v1.BamlTyPrimitiveKind|null); + kind?: (baml_bridge.cffi.v1.BamlTyPrimitiveKind|null); } /** Represents a BamlTyPrimitive. */ @@ -1404,33 +1404,33 @@ export namespace baml_core { * Constructs a new BamlTyPrimitive. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlTyPrimitive); + constructor(properties?: baml_bridge.cffi.v1.IBamlTyPrimitive); /** BamlTyPrimitive kind. */ - public kind: baml_core.cffi.v1.BamlTyPrimitiveKind; + public kind: baml_bridge.cffi.v1.BamlTyPrimitiveKind; /** * Creates a new BamlTyPrimitive instance using the specified properties. * @param [properties] Properties to set * @returns BamlTyPrimitive instance */ - public static create(properties?: baml_core.cffi.v1.IBamlTyPrimitive): baml_core.cffi.v1.BamlTyPrimitive; + public static create(properties?: baml_bridge.cffi.v1.IBamlTyPrimitive): baml_bridge.cffi.v1.BamlTyPrimitive; /** - * Encodes the specified BamlTyPrimitive message. Does not implicitly {@link baml_core.cffi.v1.BamlTyPrimitive.verify|verify} messages. + * Encodes the specified BamlTyPrimitive message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyPrimitive.verify|verify} messages. * @param message BamlTyPrimitive message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlTyPrimitive, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlTyPrimitive, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlTyPrimitive message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyPrimitive.verify|verify} messages. + * Encodes the specified BamlTyPrimitive message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyPrimitive.verify|verify} messages. * @param message BamlTyPrimitive message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlTyPrimitive, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlTyPrimitive, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlTyPrimitive message from the specified reader or buffer. @@ -1440,7 +1440,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlTyPrimitive; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlTyPrimitive; /** * Decodes a BamlTyPrimitive message from the specified reader or buffer, length delimited. @@ -1449,7 +1449,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlTyPrimitive; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlTyPrimitive; /** * Verifies a BamlTyPrimitive message. @@ -1463,7 +1463,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlTyPrimitive */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlTyPrimitive; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlTyPrimitive; /** * Creates a plain object from a BamlTyPrimitive message. Also converts values to other types if specified. @@ -1471,7 +1471,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlTyPrimitive, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlTyPrimitive, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlTyPrimitive to JSON. @@ -1494,7 +1494,7 @@ export namespace baml_core { name?: (string|null); /** BamlTyClass typeArgs */ - typeArgs?: (baml_core.cffi.v1.IBamlTy[]|null); + typeArgs?: (baml_bridge.cffi.v1.IBamlTy[]|null); } /** Represents a BamlTyClass. */ @@ -1504,36 +1504,36 @@ export namespace baml_core { * Constructs a new BamlTyClass. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlTyClass); + constructor(properties?: baml_bridge.cffi.v1.IBamlTyClass); /** BamlTyClass name. */ public name: string; /** BamlTyClass typeArgs. */ - public typeArgs: baml_core.cffi.v1.IBamlTy[]; + public typeArgs: baml_bridge.cffi.v1.IBamlTy[]; /** * Creates a new BamlTyClass instance using the specified properties. * @param [properties] Properties to set * @returns BamlTyClass instance */ - public static create(properties?: baml_core.cffi.v1.IBamlTyClass): baml_core.cffi.v1.BamlTyClass; + public static create(properties?: baml_bridge.cffi.v1.IBamlTyClass): baml_bridge.cffi.v1.BamlTyClass; /** - * Encodes the specified BamlTyClass message. Does not implicitly {@link baml_core.cffi.v1.BamlTyClass.verify|verify} messages. + * Encodes the specified BamlTyClass message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyClass.verify|verify} messages. * @param message BamlTyClass message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlTyClass, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlTyClass, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlTyClass message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyClass.verify|verify} messages. + * Encodes the specified BamlTyClass message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyClass.verify|verify} messages. * @param message BamlTyClass message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlTyClass, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlTyClass, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlTyClass message from the specified reader or buffer. @@ -1543,7 +1543,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlTyClass; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlTyClass; /** * Decodes a BamlTyClass message from the specified reader or buffer, length delimited. @@ -1552,7 +1552,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlTyClass; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlTyClass; /** * Verifies a BamlTyClass message. @@ -1566,7 +1566,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlTyClass */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlTyClass; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlTyClass; /** * Creates a plain object from a BamlTyClass message. Also converts values to other types if specified. @@ -1574,7 +1574,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlTyClass, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlTyClass, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlTyClass to JSON. @@ -1597,7 +1597,7 @@ export namespace baml_core { name?: (string|null); /** BamlTyTypeAlias typeArgs */ - typeArgs?: (baml_core.cffi.v1.IBamlTy[]|null); + typeArgs?: (baml_bridge.cffi.v1.IBamlTy[]|null); } /** Represents a BamlTyTypeAlias. */ @@ -1607,36 +1607,36 @@ export namespace baml_core { * Constructs a new BamlTyTypeAlias. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlTyTypeAlias); + constructor(properties?: baml_bridge.cffi.v1.IBamlTyTypeAlias); /** BamlTyTypeAlias name. */ public name: string; /** BamlTyTypeAlias typeArgs. */ - public typeArgs: baml_core.cffi.v1.IBamlTy[]; + public typeArgs: baml_bridge.cffi.v1.IBamlTy[]; /** * Creates a new BamlTyTypeAlias instance using the specified properties. * @param [properties] Properties to set * @returns BamlTyTypeAlias instance */ - public static create(properties?: baml_core.cffi.v1.IBamlTyTypeAlias): baml_core.cffi.v1.BamlTyTypeAlias; + public static create(properties?: baml_bridge.cffi.v1.IBamlTyTypeAlias): baml_bridge.cffi.v1.BamlTyTypeAlias; /** - * Encodes the specified BamlTyTypeAlias message. Does not implicitly {@link baml_core.cffi.v1.BamlTyTypeAlias.verify|verify} messages. + * Encodes the specified BamlTyTypeAlias message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyTypeAlias.verify|verify} messages. * @param message BamlTyTypeAlias message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlTyTypeAlias, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlTyTypeAlias, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlTyTypeAlias message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyTypeAlias.verify|verify} messages. + * Encodes the specified BamlTyTypeAlias message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyTypeAlias.verify|verify} messages. * @param message BamlTyTypeAlias message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlTyTypeAlias, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlTyTypeAlias, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlTyTypeAlias message from the specified reader or buffer. @@ -1646,7 +1646,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlTyTypeAlias; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlTyTypeAlias; /** * Decodes a BamlTyTypeAlias message from the specified reader or buffer, length delimited. @@ -1655,7 +1655,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlTyTypeAlias; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlTyTypeAlias; /** * Verifies a BamlTyTypeAlias message. @@ -1669,7 +1669,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlTyTypeAlias */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlTyTypeAlias; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlTyTypeAlias; /** * Creates a plain object from a BamlTyTypeAlias message. Also converts values to other types if specified. @@ -1677,7 +1677,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlTyTypeAlias, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlTyTypeAlias, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlTyTypeAlias to JSON. @@ -1707,7 +1707,7 @@ export namespace baml_core { * Constructs a new BamlTyEnum. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlTyEnum); + constructor(properties?: baml_bridge.cffi.v1.IBamlTyEnum); /** BamlTyEnum name. */ public name: string; @@ -1717,23 +1717,23 @@ export namespace baml_core { * @param [properties] Properties to set * @returns BamlTyEnum instance */ - public static create(properties?: baml_core.cffi.v1.IBamlTyEnum): baml_core.cffi.v1.BamlTyEnum; + public static create(properties?: baml_bridge.cffi.v1.IBamlTyEnum): baml_bridge.cffi.v1.BamlTyEnum; /** - * Encodes the specified BamlTyEnum message. Does not implicitly {@link baml_core.cffi.v1.BamlTyEnum.verify|verify} messages. + * Encodes the specified BamlTyEnum message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyEnum.verify|verify} messages. * @param message BamlTyEnum message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlTyEnum, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlTyEnum, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlTyEnum message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyEnum.verify|verify} messages. + * Encodes the specified BamlTyEnum message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyEnum.verify|verify} messages. * @param message BamlTyEnum message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlTyEnum, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlTyEnum, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlTyEnum message from the specified reader or buffer. @@ -1743,7 +1743,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlTyEnum; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlTyEnum; /** * Decodes a BamlTyEnum message from the specified reader or buffer, length delimited. @@ -1752,7 +1752,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlTyEnum; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlTyEnum; /** * Verifies a BamlTyEnum message. @@ -1766,7 +1766,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlTyEnum */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlTyEnum; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlTyEnum; /** * Creates a plain object from a BamlTyEnum message. Also converts values to other types if specified. @@ -1774,7 +1774,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlTyEnum, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlTyEnum, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlTyEnum to JSON. @@ -1794,7 +1794,7 @@ export namespace baml_core { interface IBamlTyList { /** BamlTyList item */ - item?: (baml_core.cffi.v1.IBamlTy|null); + item?: (baml_bridge.cffi.v1.IBamlTy|null); } /** Represents a BamlTyList. */ @@ -1804,33 +1804,33 @@ export namespace baml_core { * Constructs a new BamlTyList. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlTyList); + constructor(properties?: baml_bridge.cffi.v1.IBamlTyList); /** BamlTyList item. */ - public item?: (baml_core.cffi.v1.IBamlTy|null); + public item?: (baml_bridge.cffi.v1.IBamlTy|null); /** * Creates a new BamlTyList instance using the specified properties. * @param [properties] Properties to set * @returns BamlTyList instance */ - public static create(properties?: baml_core.cffi.v1.IBamlTyList): baml_core.cffi.v1.BamlTyList; + public static create(properties?: baml_bridge.cffi.v1.IBamlTyList): baml_bridge.cffi.v1.BamlTyList; /** - * Encodes the specified BamlTyList message. Does not implicitly {@link baml_core.cffi.v1.BamlTyList.verify|verify} messages. + * Encodes the specified BamlTyList message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyList.verify|verify} messages. * @param message BamlTyList message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlTyList, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlTyList, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlTyList message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyList.verify|verify} messages. + * Encodes the specified BamlTyList message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyList.verify|verify} messages. * @param message BamlTyList message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlTyList, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlTyList, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlTyList message from the specified reader or buffer. @@ -1840,7 +1840,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlTyList; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlTyList; /** * Decodes a BamlTyList message from the specified reader or buffer, length delimited. @@ -1849,7 +1849,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlTyList; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlTyList; /** * Verifies a BamlTyList message. @@ -1863,7 +1863,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlTyList */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlTyList; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlTyList; /** * Creates a plain object from a BamlTyList message. Also converts values to other types if specified. @@ -1871,7 +1871,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlTyList, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlTyList, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlTyList to JSON. @@ -1891,10 +1891,10 @@ export namespace baml_core { interface IBamlTyMap { /** BamlTyMap key */ - key?: (baml_core.cffi.v1.IBamlTy|null); + key?: (baml_bridge.cffi.v1.IBamlTy|null); /** BamlTyMap value */ - value?: (baml_core.cffi.v1.IBamlTy|null); + value?: (baml_bridge.cffi.v1.IBamlTy|null); } /** Represents a BamlTyMap. */ @@ -1904,36 +1904,36 @@ export namespace baml_core { * Constructs a new BamlTyMap. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlTyMap); + constructor(properties?: baml_bridge.cffi.v1.IBamlTyMap); /** BamlTyMap key. */ - public key?: (baml_core.cffi.v1.IBamlTy|null); + public key?: (baml_bridge.cffi.v1.IBamlTy|null); /** BamlTyMap value. */ - public value?: (baml_core.cffi.v1.IBamlTy|null); + public value?: (baml_bridge.cffi.v1.IBamlTy|null); /** * Creates a new BamlTyMap instance using the specified properties. * @param [properties] Properties to set * @returns BamlTyMap instance */ - public static create(properties?: baml_core.cffi.v1.IBamlTyMap): baml_core.cffi.v1.BamlTyMap; + public static create(properties?: baml_bridge.cffi.v1.IBamlTyMap): baml_bridge.cffi.v1.BamlTyMap; /** - * Encodes the specified BamlTyMap message. Does not implicitly {@link baml_core.cffi.v1.BamlTyMap.verify|verify} messages. + * Encodes the specified BamlTyMap message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyMap.verify|verify} messages. * @param message BamlTyMap message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlTyMap, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlTyMap, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlTyMap message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyMap.verify|verify} messages. + * Encodes the specified BamlTyMap message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyMap.verify|verify} messages. * @param message BamlTyMap message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlTyMap, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlTyMap, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlTyMap message from the specified reader or buffer. @@ -1943,7 +1943,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlTyMap; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlTyMap; /** * Decodes a BamlTyMap message from the specified reader or buffer, length delimited. @@ -1952,7 +1952,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlTyMap; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlTyMap; /** * Verifies a BamlTyMap message. @@ -1966,7 +1966,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlTyMap */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlTyMap; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlTyMap; /** * Creates a plain object from a BamlTyMap message. Also converts values to other types if specified. @@ -1974,7 +1974,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlTyMap, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlTyMap, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlTyMap to JSON. @@ -1994,7 +1994,7 @@ export namespace baml_core { interface IBamlTyOptional { /** BamlTyOptional inner */ - inner?: (baml_core.cffi.v1.IBamlTy|null); + inner?: (baml_bridge.cffi.v1.IBamlTy|null); } /** Represents a BamlTyOptional. */ @@ -2004,33 +2004,33 @@ export namespace baml_core { * Constructs a new BamlTyOptional. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlTyOptional); + constructor(properties?: baml_bridge.cffi.v1.IBamlTyOptional); /** BamlTyOptional inner. */ - public inner?: (baml_core.cffi.v1.IBamlTy|null); + public inner?: (baml_bridge.cffi.v1.IBamlTy|null); /** * Creates a new BamlTyOptional instance using the specified properties. * @param [properties] Properties to set * @returns BamlTyOptional instance */ - public static create(properties?: baml_core.cffi.v1.IBamlTyOptional): baml_core.cffi.v1.BamlTyOptional; + public static create(properties?: baml_bridge.cffi.v1.IBamlTyOptional): baml_bridge.cffi.v1.BamlTyOptional; /** - * Encodes the specified BamlTyOptional message. Does not implicitly {@link baml_core.cffi.v1.BamlTyOptional.verify|verify} messages. + * Encodes the specified BamlTyOptional message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyOptional.verify|verify} messages. * @param message BamlTyOptional message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlTyOptional, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlTyOptional, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlTyOptional message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyOptional.verify|verify} messages. + * Encodes the specified BamlTyOptional message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyOptional.verify|verify} messages. * @param message BamlTyOptional message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlTyOptional, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlTyOptional, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlTyOptional message from the specified reader or buffer. @@ -2040,7 +2040,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlTyOptional; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlTyOptional; /** * Decodes a BamlTyOptional message from the specified reader or buffer, length delimited. @@ -2049,7 +2049,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlTyOptional; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlTyOptional; /** * Verifies a BamlTyOptional message. @@ -2063,7 +2063,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlTyOptional */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlTyOptional; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlTyOptional; /** * Creates a plain object from a BamlTyOptional message. Also converts values to other types if specified. @@ -2071,7 +2071,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlTyOptional, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlTyOptional, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlTyOptional to JSON. @@ -2091,7 +2091,7 @@ export namespace baml_core { interface IBamlTyUnion { /** BamlTyUnion options */ - options?: (baml_core.cffi.v1.IBamlTy[]|null); + options?: (baml_bridge.cffi.v1.IBamlTy[]|null); } /** Represents a BamlTyUnion. */ @@ -2101,33 +2101,33 @@ export namespace baml_core { * Constructs a new BamlTyUnion. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlTyUnion); + constructor(properties?: baml_bridge.cffi.v1.IBamlTyUnion); /** BamlTyUnion options. */ - public options: baml_core.cffi.v1.IBamlTy[]; + public options: baml_bridge.cffi.v1.IBamlTy[]; /** * Creates a new BamlTyUnion instance using the specified properties. * @param [properties] Properties to set * @returns BamlTyUnion instance */ - public static create(properties?: baml_core.cffi.v1.IBamlTyUnion): baml_core.cffi.v1.BamlTyUnion; + public static create(properties?: baml_bridge.cffi.v1.IBamlTyUnion): baml_bridge.cffi.v1.BamlTyUnion; /** - * Encodes the specified BamlTyUnion message. Does not implicitly {@link baml_core.cffi.v1.BamlTyUnion.verify|verify} messages. + * Encodes the specified BamlTyUnion message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyUnion.verify|verify} messages. * @param message BamlTyUnion message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlTyUnion, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlTyUnion, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlTyUnion message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyUnion.verify|verify} messages. + * Encodes the specified BamlTyUnion message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyUnion.verify|verify} messages. * @param message BamlTyUnion message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlTyUnion, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlTyUnion, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlTyUnion message from the specified reader or buffer. @@ -2137,7 +2137,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlTyUnion; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlTyUnion; /** * Decodes a BamlTyUnion message from the specified reader or buffer, length delimited. @@ -2146,7 +2146,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlTyUnion; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlTyUnion; /** * Verifies a BamlTyUnion message. @@ -2160,7 +2160,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlTyUnion */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlTyUnion; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlTyUnion; /** * Creates a plain object from a BamlTyUnion message. Also converts values to other types if specified. @@ -2168,7 +2168,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlTyUnion, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlTyUnion, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlTyUnion to JSON. @@ -2195,30 +2195,30 @@ export namespace baml_core { * Constructs a new BamlTyUnknown. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlTyUnknown); + constructor(properties?: baml_bridge.cffi.v1.IBamlTyUnknown); /** * Creates a new BamlTyUnknown instance using the specified properties. * @param [properties] Properties to set * @returns BamlTyUnknown instance */ - public static create(properties?: baml_core.cffi.v1.IBamlTyUnknown): baml_core.cffi.v1.BamlTyUnknown; + public static create(properties?: baml_bridge.cffi.v1.IBamlTyUnknown): baml_bridge.cffi.v1.BamlTyUnknown; /** - * Encodes the specified BamlTyUnknown message. Does not implicitly {@link baml_core.cffi.v1.BamlTyUnknown.verify|verify} messages. + * Encodes the specified BamlTyUnknown message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyUnknown.verify|verify} messages. * @param message BamlTyUnknown message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlTyUnknown, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlTyUnknown, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlTyUnknown message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyUnknown.verify|verify} messages. + * Encodes the specified BamlTyUnknown message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyUnknown.verify|verify} messages. * @param message BamlTyUnknown message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlTyUnknown, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlTyUnknown, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlTyUnknown message from the specified reader or buffer. @@ -2228,7 +2228,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlTyUnknown; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlTyUnknown; /** * Decodes a BamlTyUnknown message from the specified reader or buffer, length delimited. @@ -2237,7 +2237,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlTyUnknown; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlTyUnknown; /** * Verifies a BamlTyUnknown message. @@ -2251,7 +2251,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlTyUnknown */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlTyUnknown; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlTyUnknown; /** * Creates a plain object from a BamlTyUnknown message. Also converts values to other types if specified. @@ -2259,7 +2259,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlTyUnknown, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlTyUnknown, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlTyUnknown to JSON. @@ -2301,7 +2301,7 @@ export namespace baml_core { * Constructs a new BamlTyLiteral. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlTyLiteral); + constructor(properties?: baml_bridge.cffi.v1.IBamlTyLiteral); /** BamlTyLiteral stringValue. */ public stringValue?: (string|null); @@ -2326,23 +2326,23 @@ export namespace baml_core { * @param [properties] Properties to set * @returns BamlTyLiteral instance */ - public static create(properties?: baml_core.cffi.v1.IBamlTyLiteral): baml_core.cffi.v1.BamlTyLiteral; + public static create(properties?: baml_bridge.cffi.v1.IBamlTyLiteral): baml_bridge.cffi.v1.BamlTyLiteral; /** - * Encodes the specified BamlTyLiteral message. Does not implicitly {@link baml_core.cffi.v1.BamlTyLiteral.verify|verify} messages. + * Encodes the specified BamlTyLiteral message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyLiteral.verify|verify} messages. * @param message BamlTyLiteral message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlTyLiteral, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlTyLiteral, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlTyLiteral message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyLiteral.verify|verify} messages. + * Encodes the specified BamlTyLiteral message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyLiteral.verify|verify} messages. * @param message BamlTyLiteral message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlTyLiteral, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlTyLiteral, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlTyLiteral message from the specified reader or buffer. @@ -2352,7 +2352,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlTyLiteral; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlTyLiteral; /** * Decodes a BamlTyLiteral message from the specified reader or buffer, length delimited. @@ -2361,7 +2361,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlTyLiteral; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlTyLiteral; /** * Verifies a BamlTyLiteral message. @@ -2375,7 +2375,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlTyLiteral */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlTyLiteral; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlTyLiteral; /** * Creates a plain object from a BamlTyLiteral message. Also converts values to other types if specified. @@ -2383,7 +2383,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlTyLiteral, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlTyLiteral, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlTyLiteral to JSON. @@ -2413,7 +2413,7 @@ export namespace baml_core { interface IBamlTyMedia { /** BamlTyMedia kind */ - kind?: (baml_core.cffi.v1.BamlTyMediaKind|null); + kind?: (baml_bridge.cffi.v1.BamlTyMediaKind|null); } /** Represents a BamlTyMedia. */ @@ -2423,33 +2423,33 @@ export namespace baml_core { * Constructs a new BamlTyMedia. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlTyMedia); + constructor(properties?: baml_bridge.cffi.v1.IBamlTyMedia); /** BamlTyMedia kind. */ - public kind: baml_core.cffi.v1.BamlTyMediaKind; + public kind: baml_bridge.cffi.v1.BamlTyMediaKind; /** * Creates a new BamlTyMedia instance using the specified properties. * @param [properties] Properties to set * @returns BamlTyMedia instance */ - public static create(properties?: baml_core.cffi.v1.IBamlTyMedia): baml_core.cffi.v1.BamlTyMedia; + public static create(properties?: baml_bridge.cffi.v1.IBamlTyMedia): baml_bridge.cffi.v1.BamlTyMedia; /** - * Encodes the specified BamlTyMedia message. Does not implicitly {@link baml_core.cffi.v1.BamlTyMedia.verify|verify} messages. + * Encodes the specified BamlTyMedia message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyMedia.verify|verify} messages. * @param message BamlTyMedia message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlTyMedia, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlTyMedia, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlTyMedia message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyMedia.verify|verify} messages. + * Encodes the specified BamlTyMedia message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyMedia.verify|verify} messages. * @param message BamlTyMedia message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlTyMedia, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlTyMedia, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlTyMedia message from the specified reader or buffer. @@ -2459,7 +2459,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlTyMedia; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlTyMedia; /** * Decodes a BamlTyMedia message from the specified reader or buffer, length delimited. @@ -2468,7 +2468,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlTyMedia; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlTyMedia; /** * Verifies a BamlTyMedia message. @@ -2482,7 +2482,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlTyMedia */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlTyMedia; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlTyMedia; /** * Creates a plain object from a BamlTyMedia message. Also converts values to other types if specified. @@ -2490,7 +2490,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlTyMedia, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlTyMedia, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlTyMedia to JSON. @@ -2513,10 +2513,10 @@ export namespace baml_core { name?: (string|null); /** BamlTyInterface typeArgs */ - typeArgs?: (baml_core.cffi.v1.IBamlTy[]|null); + typeArgs?: (baml_bridge.cffi.v1.IBamlTy[]|null); /** BamlTyInterface bindings */ - bindings?: (baml_core.cffi.v1.IBamlTyAssociatedBinding[]|null); + bindings?: (baml_bridge.cffi.v1.IBamlTyAssociatedBinding[]|null); } /** Represents a BamlTyInterface. */ @@ -2526,39 +2526,39 @@ export namespace baml_core { * Constructs a new BamlTyInterface. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlTyInterface); + constructor(properties?: baml_bridge.cffi.v1.IBamlTyInterface); /** BamlTyInterface name. */ public name: string; /** BamlTyInterface typeArgs. */ - public typeArgs: baml_core.cffi.v1.IBamlTy[]; + public typeArgs: baml_bridge.cffi.v1.IBamlTy[]; /** BamlTyInterface bindings. */ - public bindings: baml_core.cffi.v1.IBamlTyAssociatedBinding[]; + public bindings: baml_bridge.cffi.v1.IBamlTyAssociatedBinding[]; /** * Creates a new BamlTyInterface instance using the specified properties. * @param [properties] Properties to set * @returns BamlTyInterface instance */ - public static create(properties?: baml_core.cffi.v1.IBamlTyInterface): baml_core.cffi.v1.BamlTyInterface; + public static create(properties?: baml_bridge.cffi.v1.IBamlTyInterface): baml_bridge.cffi.v1.BamlTyInterface; /** - * Encodes the specified BamlTyInterface message. Does not implicitly {@link baml_core.cffi.v1.BamlTyInterface.verify|verify} messages. + * Encodes the specified BamlTyInterface message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyInterface.verify|verify} messages. * @param message BamlTyInterface message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlTyInterface, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlTyInterface, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlTyInterface message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyInterface.verify|verify} messages. + * Encodes the specified BamlTyInterface message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyInterface.verify|verify} messages. * @param message BamlTyInterface message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlTyInterface, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlTyInterface, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlTyInterface message from the specified reader or buffer. @@ -2568,7 +2568,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlTyInterface; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlTyInterface; /** * Decodes a BamlTyInterface message from the specified reader or buffer, length delimited. @@ -2577,7 +2577,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlTyInterface; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlTyInterface; /** * Verifies a BamlTyInterface message. @@ -2591,7 +2591,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlTyInterface */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlTyInterface; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlTyInterface; /** * Creates a plain object from a BamlTyInterface message. Also converts values to other types if specified. @@ -2599,7 +2599,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlTyInterface, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlTyInterface, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlTyInterface to JSON. @@ -2622,7 +2622,7 @@ export namespace baml_core { name?: (string|null); /** BamlTyAssociatedBinding ty */ - ty?: (baml_core.cffi.v1.IBamlTy|null); + ty?: (baml_bridge.cffi.v1.IBamlTy|null); } /** Represents a BamlTyAssociatedBinding. */ @@ -2632,36 +2632,36 @@ export namespace baml_core { * Constructs a new BamlTyAssociatedBinding. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlTyAssociatedBinding); + constructor(properties?: baml_bridge.cffi.v1.IBamlTyAssociatedBinding); /** BamlTyAssociatedBinding name. */ public name: string; /** BamlTyAssociatedBinding ty. */ - public ty?: (baml_core.cffi.v1.IBamlTy|null); + public ty?: (baml_bridge.cffi.v1.IBamlTy|null); /** * Creates a new BamlTyAssociatedBinding instance using the specified properties. * @param [properties] Properties to set * @returns BamlTyAssociatedBinding instance */ - public static create(properties?: baml_core.cffi.v1.IBamlTyAssociatedBinding): baml_core.cffi.v1.BamlTyAssociatedBinding; + public static create(properties?: baml_bridge.cffi.v1.IBamlTyAssociatedBinding): baml_bridge.cffi.v1.BamlTyAssociatedBinding; /** - * Encodes the specified BamlTyAssociatedBinding message. Does not implicitly {@link baml_core.cffi.v1.BamlTyAssociatedBinding.verify|verify} messages. + * Encodes the specified BamlTyAssociatedBinding message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyAssociatedBinding.verify|verify} messages. * @param message BamlTyAssociatedBinding message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlTyAssociatedBinding, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlTyAssociatedBinding, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlTyAssociatedBinding message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyAssociatedBinding.verify|verify} messages. + * Encodes the specified BamlTyAssociatedBinding message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyAssociatedBinding.verify|verify} messages. * @param message BamlTyAssociatedBinding message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlTyAssociatedBinding, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlTyAssociatedBinding, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlTyAssociatedBinding message from the specified reader or buffer. @@ -2671,7 +2671,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlTyAssociatedBinding; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlTyAssociatedBinding; /** * Decodes a BamlTyAssociatedBinding message from the specified reader or buffer, length delimited. @@ -2680,7 +2680,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlTyAssociatedBinding; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlTyAssociatedBinding; /** * Verifies a BamlTyAssociatedBinding message. @@ -2694,7 +2694,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlTyAssociatedBinding */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlTyAssociatedBinding; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlTyAssociatedBinding; /** * Creates a plain object from a BamlTyAssociatedBinding message. Also converts values to other types if specified. @@ -2702,7 +2702,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlTyAssociatedBinding, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlTyAssociatedBinding, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlTyAssociatedBinding to JSON. @@ -2735,7 +2735,7 @@ export namespace baml_core { * Constructs a new BamlTyEnumVariant. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlTyEnumVariant); + constructor(properties?: baml_bridge.cffi.v1.IBamlTyEnumVariant); /** BamlTyEnumVariant name. */ public name: string; @@ -2748,23 +2748,23 @@ export namespace baml_core { * @param [properties] Properties to set * @returns BamlTyEnumVariant instance */ - public static create(properties?: baml_core.cffi.v1.IBamlTyEnumVariant): baml_core.cffi.v1.BamlTyEnumVariant; + public static create(properties?: baml_bridge.cffi.v1.IBamlTyEnumVariant): baml_bridge.cffi.v1.BamlTyEnumVariant; /** - * Encodes the specified BamlTyEnumVariant message. Does not implicitly {@link baml_core.cffi.v1.BamlTyEnumVariant.verify|verify} messages. + * Encodes the specified BamlTyEnumVariant message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyEnumVariant.verify|verify} messages. * @param message BamlTyEnumVariant message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlTyEnumVariant, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlTyEnumVariant, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlTyEnumVariant message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyEnumVariant.verify|verify} messages. + * Encodes the specified BamlTyEnumVariant message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyEnumVariant.verify|verify} messages. * @param message BamlTyEnumVariant message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlTyEnumVariant, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlTyEnumVariant, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlTyEnumVariant message from the specified reader or buffer. @@ -2774,7 +2774,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlTyEnumVariant; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlTyEnumVariant; /** * Decodes a BamlTyEnumVariant message from the specified reader or buffer, length delimited. @@ -2783,7 +2783,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlTyEnumVariant; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlTyEnumVariant; /** * Verifies a BamlTyEnumVariant message. @@ -2797,7 +2797,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlTyEnumVariant */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlTyEnumVariant; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlTyEnumVariant; /** * Creates a plain object from a BamlTyEnumVariant message. Also converts values to other types if specified. @@ -2805,7 +2805,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlTyEnumVariant, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlTyEnumVariant, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlTyEnumVariant to JSON. @@ -2835,10 +2835,10 @@ export namespace baml_core { name?: (string|null); /** BamlTyFunctionParam ty */ - ty?: (baml_core.cffi.v1.IBamlTy|null); + ty?: (baml_bridge.cffi.v1.IBamlTy|null); /** BamlTyFunctionParam mode */ - mode?: (baml_core.cffi.v1.BamlTyFunctionParamMode|null); + mode?: (baml_bridge.cffi.v1.BamlTyFunctionParamMode|null); } /** Represents a BamlTyFunctionParam. */ @@ -2848,39 +2848,39 @@ export namespace baml_core { * Constructs a new BamlTyFunctionParam. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlTyFunctionParam); + constructor(properties?: baml_bridge.cffi.v1.IBamlTyFunctionParam); /** BamlTyFunctionParam name. */ public name?: (string|null); /** BamlTyFunctionParam ty. */ - public ty?: (baml_core.cffi.v1.IBamlTy|null); + public ty?: (baml_bridge.cffi.v1.IBamlTy|null); /** BamlTyFunctionParam mode. */ - public mode: baml_core.cffi.v1.BamlTyFunctionParamMode; + public mode: baml_bridge.cffi.v1.BamlTyFunctionParamMode; /** * Creates a new BamlTyFunctionParam instance using the specified properties. * @param [properties] Properties to set * @returns BamlTyFunctionParam instance */ - public static create(properties?: baml_core.cffi.v1.IBamlTyFunctionParam): baml_core.cffi.v1.BamlTyFunctionParam; + public static create(properties?: baml_bridge.cffi.v1.IBamlTyFunctionParam): baml_bridge.cffi.v1.BamlTyFunctionParam; /** - * Encodes the specified BamlTyFunctionParam message. Does not implicitly {@link baml_core.cffi.v1.BamlTyFunctionParam.verify|verify} messages. + * Encodes the specified BamlTyFunctionParam message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyFunctionParam.verify|verify} messages. * @param message BamlTyFunctionParam message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlTyFunctionParam, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlTyFunctionParam, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlTyFunctionParam message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyFunctionParam.verify|verify} messages. + * Encodes the specified BamlTyFunctionParam message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyFunctionParam.verify|verify} messages. * @param message BamlTyFunctionParam message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlTyFunctionParam, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlTyFunctionParam, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlTyFunctionParam message from the specified reader or buffer. @@ -2890,7 +2890,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlTyFunctionParam; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlTyFunctionParam; /** * Decodes a BamlTyFunctionParam message from the specified reader or buffer, length delimited. @@ -2899,7 +2899,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlTyFunctionParam; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlTyFunctionParam; /** * Verifies a BamlTyFunctionParam message. @@ -2913,7 +2913,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlTyFunctionParam */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlTyFunctionParam; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlTyFunctionParam; /** * Creates a plain object from a BamlTyFunctionParam message. Also converts values to other types if specified. @@ -2921,7 +2921,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlTyFunctionParam, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlTyFunctionParam, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlTyFunctionParam to JSON. @@ -2944,13 +2944,13 @@ export namespace baml_core { genericParams?: (string[]|null); /** BamlTyFunction params */ - params?: (baml_core.cffi.v1.IBamlTyFunctionParam[]|null); + params?: (baml_bridge.cffi.v1.IBamlTyFunctionParam[]|null); /** BamlTyFunction ret */ - ret?: (baml_core.cffi.v1.IBamlTy|null); + ret?: (baml_bridge.cffi.v1.IBamlTy|null); /** BamlTyFunction throws */ - throws?: (baml_core.cffi.v1.IBamlTy|null); + throws?: (baml_bridge.cffi.v1.IBamlTy|null); } /** Represents a BamlTyFunction. */ @@ -2960,42 +2960,42 @@ export namespace baml_core { * Constructs a new BamlTyFunction. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlTyFunction); + constructor(properties?: baml_bridge.cffi.v1.IBamlTyFunction); /** BamlTyFunction genericParams. */ public genericParams: string[]; /** BamlTyFunction params. */ - public params: baml_core.cffi.v1.IBamlTyFunctionParam[]; + public params: baml_bridge.cffi.v1.IBamlTyFunctionParam[]; /** BamlTyFunction ret. */ - public ret?: (baml_core.cffi.v1.IBamlTy|null); + public ret?: (baml_bridge.cffi.v1.IBamlTy|null); /** BamlTyFunction throws. */ - public throws?: (baml_core.cffi.v1.IBamlTy|null); + public throws?: (baml_bridge.cffi.v1.IBamlTy|null); /** * Creates a new BamlTyFunction instance using the specified properties. * @param [properties] Properties to set * @returns BamlTyFunction instance */ - public static create(properties?: baml_core.cffi.v1.IBamlTyFunction): baml_core.cffi.v1.BamlTyFunction; + public static create(properties?: baml_bridge.cffi.v1.IBamlTyFunction): baml_bridge.cffi.v1.BamlTyFunction; /** - * Encodes the specified BamlTyFunction message. Does not implicitly {@link baml_core.cffi.v1.BamlTyFunction.verify|verify} messages. + * Encodes the specified BamlTyFunction message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyFunction.verify|verify} messages. * @param message BamlTyFunction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlTyFunction, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlTyFunction, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlTyFunction message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyFunction.verify|verify} messages. + * Encodes the specified BamlTyFunction message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyFunction.verify|verify} messages. * @param message BamlTyFunction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlTyFunction, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlTyFunction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlTyFunction message from the specified reader or buffer. @@ -3005,7 +3005,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlTyFunction; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlTyFunction; /** * Decodes a BamlTyFunction message from the specified reader or buffer, length delimited. @@ -3014,7 +3014,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlTyFunction; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlTyFunction; /** * Verifies a BamlTyFunction message. @@ -3028,7 +3028,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlTyFunction */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlTyFunction; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlTyFunction; /** * Creates a plain object from a BamlTyFunction message. Also converts values to other types if specified. @@ -3036,7 +3036,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlTyFunction, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlTyFunction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlTyFunction to JSON. @@ -3056,10 +3056,10 @@ export namespace baml_core { interface IBamlTyFuture { /** BamlTyFuture value */ - value?: (baml_core.cffi.v1.IBamlTy|null); + value?: (baml_bridge.cffi.v1.IBamlTy|null); /** BamlTyFuture error */ - error?: (baml_core.cffi.v1.IBamlTy|null); + error?: (baml_bridge.cffi.v1.IBamlTy|null); } /** Represents a BamlTyFuture. */ @@ -3069,36 +3069,36 @@ export namespace baml_core { * Constructs a new BamlTyFuture. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlTyFuture); + constructor(properties?: baml_bridge.cffi.v1.IBamlTyFuture); /** BamlTyFuture value. */ - public value?: (baml_core.cffi.v1.IBamlTy|null); + public value?: (baml_bridge.cffi.v1.IBamlTy|null); /** BamlTyFuture error. */ - public error?: (baml_core.cffi.v1.IBamlTy|null); + public error?: (baml_bridge.cffi.v1.IBamlTy|null); /** * Creates a new BamlTyFuture instance using the specified properties. * @param [properties] Properties to set * @returns BamlTyFuture instance */ - public static create(properties?: baml_core.cffi.v1.IBamlTyFuture): baml_core.cffi.v1.BamlTyFuture; + public static create(properties?: baml_bridge.cffi.v1.IBamlTyFuture): baml_bridge.cffi.v1.BamlTyFuture; /** - * Encodes the specified BamlTyFuture message. Does not implicitly {@link baml_core.cffi.v1.BamlTyFuture.verify|verify} messages. + * Encodes the specified BamlTyFuture message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyFuture.verify|verify} messages. * @param message BamlTyFuture message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlTyFuture, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlTyFuture, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlTyFuture message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyFuture.verify|verify} messages. + * Encodes the specified BamlTyFuture message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyFuture.verify|verify} messages. * @param message BamlTyFuture message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlTyFuture, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlTyFuture, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlTyFuture message from the specified reader or buffer. @@ -3108,7 +3108,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlTyFuture; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlTyFuture; /** * Decodes a BamlTyFuture message from the specified reader or buffer, length delimited. @@ -3117,7 +3117,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlTyFuture; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlTyFuture; /** * Verifies a BamlTyFuture message. @@ -3131,7 +3131,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlTyFuture */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlTyFuture; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlTyFuture; /** * Creates a plain object from a BamlTyFuture message. Also converts values to other types if specified. @@ -3139,7 +3139,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlTyFuture, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlTyFuture, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlTyFuture to JSON. @@ -3166,30 +3166,30 @@ export namespace baml_core { * Constructs a new BamlTyRustType. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlTyRustType); + constructor(properties?: baml_bridge.cffi.v1.IBamlTyRustType); /** * Creates a new BamlTyRustType instance using the specified properties. * @param [properties] Properties to set * @returns BamlTyRustType instance */ - public static create(properties?: baml_core.cffi.v1.IBamlTyRustType): baml_core.cffi.v1.BamlTyRustType; + public static create(properties?: baml_bridge.cffi.v1.IBamlTyRustType): baml_bridge.cffi.v1.BamlTyRustType; /** - * Encodes the specified BamlTyRustType message. Does not implicitly {@link baml_core.cffi.v1.BamlTyRustType.verify|verify} messages. + * Encodes the specified BamlTyRustType message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyRustType.verify|verify} messages. * @param message BamlTyRustType message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlTyRustType, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlTyRustType, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlTyRustType message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyRustType.verify|verify} messages. + * Encodes the specified BamlTyRustType message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyRustType.verify|verify} messages. * @param message BamlTyRustType message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlTyRustType, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlTyRustType, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlTyRustType message from the specified reader or buffer. @@ -3199,7 +3199,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlTyRustType; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlTyRustType; /** * Decodes a BamlTyRustType message from the specified reader or buffer, length delimited. @@ -3208,7 +3208,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlTyRustType; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlTyRustType; /** * Verifies a BamlTyRustType message. @@ -3222,7 +3222,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlTyRustType */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlTyRustType; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlTyRustType; /** * Creates a plain object from a BamlTyRustType message. Also converts values to other types if specified. @@ -3230,7 +3230,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlTyRustType, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlTyRustType, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlTyRustType to JSON. @@ -3257,30 +3257,30 @@ export namespace baml_core { * Constructs a new BamlTyMetaType. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlTyMetaType); + constructor(properties?: baml_bridge.cffi.v1.IBamlTyMetaType); /** * Creates a new BamlTyMetaType instance using the specified properties. * @param [properties] Properties to set * @returns BamlTyMetaType instance */ - public static create(properties?: baml_core.cffi.v1.IBamlTyMetaType): baml_core.cffi.v1.BamlTyMetaType; + public static create(properties?: baml_bridge.cffi.v1.IBamlTyMetaType): baml_bridge.cffi.v1.BamlTyMetaType; /** - * Encodes the specified BamlTyMetaType message. Does not implicitly {@link baml_core.cffi.v1.BamlTyMetaType.verify|verify} messages. + * Encodes the specified BamlTyMetaType message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyMetaType.verify|verify} messages. * @param message BamlTyMetaType message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlTyMetaType, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlTyMetaType, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlTyMetaType message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyMetaType.verify|verify} messages. + * Encodes the specified BamlTyMetaType message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyMetaType.verify|verify} messages. * @param message BamlTyMetaType message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlTyMetaType, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlTyMetaType, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlTyMetaType message from the specified reader or buffer. @@ -3290,7 +3290,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlTyMetaType; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlTyMetaType; /** * Decodes a BamlTyMetaType message from the specified reader or buffer, length delimited. @@ -3299,7 +3299,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlTyMetaType; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlTyMetaType; /** * Verifies a BamlTyMetaType message. @@ -3313,7 +3313,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlTyMetaType */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlTyMetaType; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlTyMetaType; /** * Creates a plain object from a BamlTyMetaType message. Also converts values to other types if specified. @@ -3321,7 +3321,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlTyMetaType, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlTyMetaType, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlTyMetaType to JSON. @@ -3348,30 +3348,30 @@ export namespace baml_core { * Constructs a new BamlTyResource. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlTyResource); + constructor(properties?: baml_bridge.cffi.v1.IBamlTyResource); /** * Creates a new BamlTyResource instance using the specified properties. * @param [properties] Properties to set * @returns BamlTyResource instance */ - public static create(properties?: baml_core.cffi.v1.IBamlTyResource): baml_core.cffi.v1.BamlTyResource; + public static create(properties?: baml_bridge.cffi.v1.IBamlTyResource): baml_bridge.cffi.v1.BamlTyResource; /** - * Encodes the specified BamlTyResource message. Does not implicitly {@link baml_core.cffi.v1.BamlTyResource.verify|verify} messages. + * Encodes the specified BamlTyResource message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyResource.verify|verify} messages. * @param message BamlTyResource message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlTyResource, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlTyResource, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlTyResource message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyResource.verify|verify} messages. + * Encodes the specified BamlTyResource message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyResource.verify|verify} messages. * @param message BamlTyResource message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlTyResource, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlTyResource, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlTyResource message from the specified reader or buffer. @@ -3381,7 +3381,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlTyResource; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlTyResource; /** * Decodes a BamlTyResource message from the specified reader or buffer, length delimited. @@ -3390,7 +3390,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlTyResource; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlTyResource; /** * Verifies a BamlTyResource message. @@ -3404,7 +3404,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlTyResource */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlTyResource; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlTyResource; /** * Creates a plain object from a BamlTyResource message. Also converts values to other types if specified. @@ -3412,7 +3412,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlTyResource, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlTyResource, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlTyResource to JSON. @@ -3439,30 +3439,30 @@ export namespace baml_core { * Constructs a new BamlTyPromptAst. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlTyPromptAst); + constructor(properties?: baml_bridge.cffi.v1.IBamlTyPromptAst); /** * Creates a new BamlTyPromptAst instance using the specified properties. * @param [properties] Properties to set * @returns BamlTyPromptAst instance */ - public static create(properties?: baml_core.cffi.v1.IBamlTyPromptAst): baml_core.cffi.v1.BamlTyPromptAst; + public static create(properties?: baml_bridge.cffi.v1.IBamlTyPromptAst): baml_bridge.cffi.v1.BamlTyPromptAst; /** - * Encodes the specified BamlTyPromptAst message. Does not implicitly {@link baml_core.cffi.v1.BamlTyPromptAst.verify|verify} messages. + * Encodes the specified BamlTyPromptAst message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyPromptAst.verify|verify} messages. * @param message BamlTyPromptAst message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlTyPromptAst, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlTyPromptAst, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlTyPromptAst message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyPromptAst.verify|verify} messages. + * Encodes the specified BamlTyPromptAst message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyPromptAst.verify|verify} messages. * @param message BamlTyPromptAst message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlTyPromptAst, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlTyPromptAst, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlTyPromptAst message from the specified reader or buffer. @@ -3472,7 +3472,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlTyPromptAst; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlTyPromptAst; /** * Decodes a BamlTyPromptAst message from the specified reader or buffer, length delimited. @@ -3481,7 +3481,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlTyPromptAst; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlTyPromptAst; /** * Verifies a BamlTyPromptAst message. @@ -3495,7 +3495,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlTyPromptAst */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlTyPromptAst; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlTyPromptAst; /** * Creates a plain object from a BamlTyPromptAst message. Also converts values to other types if specified. @@ -3503,7 +3503,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlTyPromptAst, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlTyPromptAst, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlTyPromptAst to JSON. @@ -3530,30 +3530,30 @@ export namespace baml_core { * Constructs a new BamlTyVoid. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlTyVoid); + constructor(properties?: baml_bridge.cffi.v1.IBamlTyVoid); /** * Creates a new BamlTyVoid instance using the specified properties. * @param [properties] Properties to set * @returns BamlTyVoid instance */ - public static create(properties?: baml_core.cffi.v1.IBamlTyVoid): baml_core.cffi.v1.BamlTyVoid; + public static create(properties?: baml_bridge.cffi.v1.IBamlTyVoid): baml_bridge.cffi.v1.BamlTyVoid; /** - * Encodes the specified BamlTyVoid message. Does not implicitly {@link baml_core.cffi.v1.BamlTyVoid.verify|verify} messages. + * Encodes the specified BamlTyVoid message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyVoid.verify|verify} messages. * @param message BamlTyVoid message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlTyVoid, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlTyVoid, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlTyVoid message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyVoid.verify|verify} messages. + * Encodes the specified BamlTyVoid message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyVoid.verify|verify} messages. * @param message BamlTyVoid message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlTyVoid, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlTyVoid, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlTyVoid message from the specified reader or buffer. @@ -3563,7 +3563,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlTyVoid; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlTyVoid; /** * Decodes a BamlTyVoid message from the specified reader or buffer, length delimited. @@ -3572,7 +3572,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlTyVoid; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlTyVoid; /** * Verifies a BamlTyVoid message. @@ -3586,7 +3586,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlTyVoid */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlTyVoid; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlTyVoid; /** * Creates a plain object from a BamlTyVoid message. Also converts values to other types if specified. @@ -3594,7 +3594,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlTyVoid, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlTyVoid, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlTyVoid to JSON. @@ -3614,7 +3614,7 @@ export namespace baml_core { interface IBamlTyWatchAccessor { /** BamlTyWatchAccessor inner */ - inner?: (baml_core.cffi.v1.IBamlTy|null); + inner?: (baml_bridge.cffi.v1.IBamlTy|null); } /** Represents a BamlTyWatchAccessor. */ @@ -3624,33 +3624,33 @@ export namespace baml_core { * Constructs a new BamlTyWatchAccessor. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlTyWatchAccessor); + constructor(properties?: baml_bridge.cffi.v1.IBamlTyWatchAccessor); /** BamlTyWatchAccessor inner. */ - public inner?: (baml_core.cffi.v1.IBamlTy|null); + public inner?: (baml_bridge.cffi.v1.IBamlTy|null); /** * Creates a new BamlTyWatchAccessor instance using the specified properties. * @param [properties] Properties to set * @returns BamlTyWatchAccessor instance */ - public static create(properties?: baml_core.cffi.v1.IBamlTyWatchAccessor): baml_core.cffi.v1.BamlTyWatchAccessor; + public static create(properties?: baml_bridge.cffi.v1.IBamlTyWatchAccessor): baml_bridge.cffi.v1.BamlTyWatchAccessor; /** - * Encodes the specified BamlTyWatchAccessor message. Does not implicitly {@link baml_core.cffi.v1.BamlTyWatchAccessor.verify|verify} messages. + * Encodes the specified BamlTyWatchAccessor message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyWatchAccessor.verify|verify} messages. * @param message BamlTyWatchAccessor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlTyWatchAccessor, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlTyWatchAccessor, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlTyWatchAccessor message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyWatchAccessor.verify|verify} messages. + * Encodes the specified BamlTyWatchAccessor message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyWatchAccessor.verify|verify} messages. * @param message BamlTyWatchAccessor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlTyWatchAccessor, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlTyWatchAccessor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlTyWatchAccessor message from the specified reader or buffer. @@ -3660,7 +3660,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlTyWatchAccessor; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlTyWatchAccessor; /** * Decodes a BamlTyWatchAccessor message from the specified reader or buffer, length delimited. @@ -3669,7 +3669,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlTyWatchAccessor; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlTyWatchAccessor; /** * Verifies a BamlTyWatchAccessor message. @@ -3683,7 +3683,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlTyWatchAccessor */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlTyWatchAccessor; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlTyWatchAccessor; /** * Creates a plain object from a BamlTyWatchAccessor message. Also converts values to other types if specified. @@ -3691,7 +3691,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlTyWatchAccessor, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlTyWatchAccessor, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlTyWatchAccessor to JSON. @@ -3721,7 +3721,7 @@ export namespace baml_core { * Constructs a new BamlTyTypeVar. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlTyTypeVar); + constructor(properties?: baml_bridge.cffi.v1.IBamlTyTypeVar); /** BamlTyTypeVar name. */ public name: string; @@ -3731,23 +3731,23 @@ export namespace baml_core { * @param [properties] Properties to set * @returns BamlTyTypeVar instance */ - public static create(properties?: baml_core.cffi.v1.IBamlTyTypeVar): baml_core.cffi.v1.BamlTyTypeVar; + public static create(properties?: baml_bridge.cffi.v1.IBamlTyTypeVar): baml_bridge.cffi.v1.BamlTyTypeVar; /** - * Encodes the specified BamlTyTypeVar message. Does not implicitly {@link baml_core.cffi.v1.BamlTyTypeVar.verify|verify} messages. + * Encodes the specified BamlTyTypeVar message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyTypeVar.verify|verify} messages. * @param message BamlTyTypeVar message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlTyTypeVar, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlTyTypeVar, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlTyTypeVar message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyTypeVar.verify|verify} messages. + * Encodes the specified BamlTyTypeVar message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyTypeVar.verify|verify} messages. * @param message BamlTyTypeVar message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlTyTypeVar, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlTyTypeVar, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlTyTypeVar message from the specified reader or buffer. @@ -3757,7 +3757,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlTyTypeVar; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlTyTypeVar; /** * Decodes a BamlTyTypeVar message from the specified reader or buffer, length delimited. @@ -3766,7 +3766,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlTyTypeVar; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlTyTypeVar; /** * Verifies a BamlTyTypeVar message. @@ -3780,7 +3780,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlTyTypeVar */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlTyTypeVar; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlTyTypeVar; /** * Creates a plain object from a BamlTyTypeVar message. Also converts values to other types if specified. @@ -3788,7 +3788,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlTyTypeVar, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlTyTypeVar, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlTyTypeVar to JSON. @@ -3808,10 +3808,10 @@ export namespace baml_core { interface IBamlTyAssociatedTypeProjection { /** BamlTyAssociatedTypeProjection base */ - base?: (baml_core.cffi.v1.IBamlTy|null); + base?: (baml_bridge.cffi.v1.IBamlTy|null); /** BamlTyAssociatedTypeProjection interface */ - "interface"?: (baml_core.cffi.v1.IBamlTy|null); + "interface"?: (baml_bridge.cffi.v1.IBamlTy|null); /** BamlTyAssociatedTypeProjection member */ member?: (string|null); @@ -3824,13 +3824,13 @@ export namespace baml_core { * Constructs a new BamlTyAssociatedTypeProjection. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlTyAssociatedTypeProjection); + constructor(properties?: baml_bridge.cffi.v1.IBamlTyAssociatedTypeProjection); /** BamlTyAssociatedTypeProjection base. */ - public base?: (baml_core.cffi.v1.IBamlTy|null); + public base?: (baml_bridge.cffi.v1.IBamlTy|null); /** BamlTyAssociatedTypeProjection interface. */ - public interface?: (baml_core.cffi.v1.IBamlTy|null); + public interface?: (baml_bridge.cffi.v1.IBamlTy|null); /** BamlTyAssociatedTypeProjection member. */ public member: string; @@ -3840,23 +3840,23 @@ export namespace baml_core { * @param [properties] Properties to set * @returns BamlTyAssociatedTypeProjection instance */ - public static create(properties?: baml_core.cffi.v1.IBamlTyAssociatedTypeProjection): baml_core.cffi.v1.BamlTyAssociatedTypeProjection; + public static create(properties?: baml_bridge.cffi.v1.IBamlTyAssociatedTypeProjection): baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection; /** - * Encodes the specified BamlTyAssociatedTypeProjection message. Does not implicitly {@link baml_core.cffi.v1.BamlTyAssociatedTypeProjection.verify|verify} messages. + * Encodes the specified BamlTyAssociatedTypeProjection message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection.verify|verify} messages. * @param message BamlTyAssociatedTypeProjection message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlTyAssociatedTypeProjection, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlTyAssociatedTypeProjection, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlTyAssociatedTypeProjection message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyAssociatedTypeProjection.verify|verify} messages. + * Encodes the specified BamlTyAssociatedTypeProjection message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection.verify|verify} messages. * @param message BamlTyAssociatedTypeProjection message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlTyAssociatedTypeProjection, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlTyAssociatedTypeProjection, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlTyAssociatedTypeProjection message from the specified reader or buffer. @@ -3866,7 +3866,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlTyAssociatedTypeProjection; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection; /** * Decodes a BamlTyAssociatedTypeProjection message from the specified reader or buffer, length delimited. @@ -3875,7 +3875,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlTyAssociatedTypeProjection; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection; /** * Verifies a BamlTyAssociatedTypeProjection message. @@ -3889,7 +3889,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlTyAssociatedTypeProjection */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlTyAssociatedTypeProjection; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection; /** * Creates a plain object from a BamlTyAssociatedTypeProjection message. Also converts values to other types if specified. @@ -3897,7 +3897,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlTyAssociatedTypeProjection, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlTyAssociatedTypeProjection to JSON. @@ -3924,30 +3924,30 @@ export namespace baml_core { * Constructs a new BamlTyNever. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlTyNever); + constructor(properties?: baml_bridge.cffi.v1.IBamlTyNever); /** * Creates a new BamlTyNever instance using the specified properties. * @param [properties] Properties to set * @returns BamlTyNever instance */ - public static create(properties?: baml_core.cffi.v1.IBamlTyNever): baml_core.cffi.v1.BamlTyNever; + public static create(properties?: baml_bridge.cffi.v1.IBamlTyNever): baml_bridge.cffi.v1.BamlTyNever; /** - * Encodes the specified BamlTyNever message. Does not implicitly {@link baml_core.cffi.v1.BamlTyNever.verify|verify} messages. + * Encodes the specified BamlTyNever message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyNever.verify|verify} messages. * @param message BamlTyNever message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlTyNever, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlTyNever, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlTyNever message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyNever.verify|verify} messages. + * Encodes the specified BamlTyNever message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyNever.verify|verify} messages. * @param message BamlTyNever message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlTyNever, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlTyNever, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlTyNever message from the specified reader or buffer. @@ -3957,7 +3957,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlTyNever; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlTyNever; /** * Decodes a BamlTyNever message from the specified reader or buffer, length delimited. @@ -3966,7 +3966,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlTyNever; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlTyNever; /** * Verifies a BamlTyNever message. @@ -3980,7 +3980,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlTyNever */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlTyNever; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlTyNever; /** * Creates a plain object from a BamlTyNever message. Also converts values to other types if specified. @@ -3988,7 +3988,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlTyNever, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlTyNever, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlTyNever to JSON. @@ -4008,13 +4008,13 @@ export namespace baml_core { interface IBamlOutboundResult { /** BamlOutboundResult ok */ - ok?: (baml_core.cffi.v1.IBamlOutboundValue|null); + ok?: (baml_bridge.cffi.v1.IBamlOutboundValue|null); /** BamlOutboundResult error */ - error?: (baml_core.cffi.v1.IBamlOutboundError|null); + error?: (baml_bridge.cffi.v1.IBamlOutboundError|null); /** BamlOutboundResult panic */ - panic?: (baml_core.cffi.v1.IBamlOutboundPanic|null); + panic?: (baml_bridge.cffi.v1.IBamlOutboundPanic|null); } /** Represents a BamlOutboundResult. */ @@ -4024,16 +4024,16 @@ export namespace baml_core { * Constructs a new BamlOutboundResult. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlOutboundResult); + constructor(properties?: baml_bridge.cffi.v1.IBamlOutboundResult); /** BamlOutboundResult ok. */ - public ok?: (baml_core.cffi.v1.IBamlOutboundValue|null); + public ok?: (baml_bridge.cffi.v1.IBamlOutboundValue|null); /** BamlOutboundResult error. */ - public error?: (baml_core.cffi.v1.IBamlOutboundError|null); + public error?: (baml_bridge.cffi.v1.IBamlOutboundError|null); /** BamlOutboundResult panic. */ - public panic?: (baml_core.cffi.v1.IBamlOutboundPanic|null); + public panic?: (baml_bridge.cffi.v1.IBamlOutboundPanic|null); /** BamlOutboundResult result. */ public result?: ("ok"|"error"|"panic"); @@ -4043,23 +4043,23 @@ export namespace baml_core { * @param [properties] Properties to set * @returns BamlOutboundResult instance */ - public static create(properties?: baml_core.cffi.v1.IBamlOutboundResult): baml_core.cffi.v1.BamlOutboundResult; + public static create(properties?: baml_bridge.cffi.v1.IBamlOutboundResult): baml_bridge.cffi.v1.BamlOutboundResult; /** - * Encodes the specified BamlOutboundResult message. Does not implicitly {@link baml_core.cffi.v1.BamlOutboundResult.verify|verify} messages. + * Encodes the specified BamlOutboundResult message. Does not implicitly {@link baml_bridge.cffi.v1.BamlOutboundResult.verify|verify} messages. * @param message BamlOutboundResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlOutboundResult, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlOutboundResult, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlOutboundResult message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlOutboundResult.verify|verify} messages. + * Encodes the specified BamlOutboundResult message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlOutboundResult.verify|verify} messages. * @param message BamlOutboundResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlOutboundResult, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlOutboundResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlOutboundResult message from the specified reader or buffer. @@ -4069,7 +4069,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlOutboundResult; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlOutboundResult; /** * Decodes a BamlOutboundResult message from the specified reader or buffer, length delimited. @@ -4078,7 +4078,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlOutboundResult; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlOutboundResult; /** * Verifies a BamlOutboundResult message. @@ -4092,7 +4092,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlOutboundResult */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlOutboundResult; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlOutboundResult; /** * Creates a plain object from a BamlOutboundResult message. Also converts values to other types if specified. @@ -4100,7 +4100,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlOutboundResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlOutboundResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlOutboundResult to JSON. @@ -4120,7 +4120,7 @@ export namespace baml_core { interface IBamlOutboundError { /** BamlOutboundError value */ - value?: (baml_core.cffi.v1.IBamlOutboundValue|null); + value?: (baml_bridge.cffi.v1.IBamlOutboundValue|null); /** BamlOutboundError trace */ trace?: (string[]|null); @@ -4133,10 +4133,10 @@ export namespace baml_core { * Constructs a new BamlOutboundError. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlOutboundError); + constructor(properties?: baml_bridge.cffi.v1.IBamlOutboundError); /** BamlOutboundError value. */ - public value?: (baml_core.cffi.v1.IBamlOutboundValue|null); + public value?: (baml_bridge.cffi.v1.IBamlOutboundValue|null); /** BamlOutboundError trace. */ public trace: string[]; @@ -4146,23 +4146,23 @@ export namespace baml_core { * @param [properties] Properties to set * @returns BamlOutboundError instance */ - public static create(properties?: baml_core.cffi.v1.IBamlOutboundError): baml_core.cffi.v1.BamlOutboundError; + public static create(properties?: baml_bridge.cffi.v1.IBamlOutboundError): baml_bridge.cffi.v1.BamlOutboundError; /** - * Encodes the specified BamlOutboundError message. Does not implicitly {@link baml_core.cffi.v1.BamlOutboundError.verify|verify} messages. + * Encodes the specified BamlOutboundError message. Does not implicitly {@link baml_bridge.cffi.v1.BamlOutboundError.verify|verify} messages. * @param message BamlOutboundError message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlOutboundError, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlOutboundError, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlOutboundError message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlOutboundError.verify|verify} messages. + * Encodes the specified BamlOutboundError message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlOutboundError.verify|verify} messages. * @param message BamlOutboundError message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlOutboundError, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlOutboundError, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlOutboundError message from the specified reader or buffer. @@ -4172,7 +4172,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlOutboundError; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlOutboundError; /** * Decodes a BamlOutboundError message from the specified reader or buffer, length delimited. @@ -4181,7 +4181,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlOutboundError; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlOutboundError; /** * Verifies a BamlOutboundError message. @@ -4195,7 +4195,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlOutboundError */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlOutboundError; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlOutboundError; /** * Creates a plain object from a BamlOutboundError message. Also converts values to other types if specified. @@ -4203,7 +4203,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlOutboundError, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlOutboundError, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlOutboundError to JSON. @@ -4223,7 +4223,7 @@ export namespace baml_core { interface IBamlOutboundPanic { /** BamlOutboundPanic value */ - value?: (baml_core.cffi.v1.IBamlOutboundValue|null); + value?: (baml_bridge.cffi.v1.IBamlOutboundValue|null); /** BamlOutboundPanic trace */ trace?: (string[]|null); @@ -4242,10 +4242,10 @@ export namespace baml_core { * Constructs a new BamlOutboundPanic. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlOutboundPanic); + constructor(properties?: baml_bridge.cffi.v1.IBamlOutboundPanic); /** BamlOutboundPanic value. */ - public value?: (baml_core.cffi.v1.IBamlOutboundValue|null); + public value?: (baml_bridge.cffi.v1.IBamlOutboundValue|null); /** BamlOutboundPanic trace. */ public trace: string[]; @@ -4261,23 +4261,23 @@ export namespace baml_core { * @param [properties] Properties to set * @returns BamlOutboundPanic instance */ - public static create(properties?: baml_core.cffi.v1.IBamlOutboundPanic): baml_core.cffi.v1.BamlOutboundPanic; + public static create(properties?: baml_bridge.cffi.v1.IBamlOutboundPanic): baml_bridge.cffi.v1.BamlOutboundPanic; /** - * Encodes the specified BamlOutboundPanic message. Does not implicitly {@link baml_core.cffi.v1.BamlOutboundPanic.verify|verify} messages. + * Encodes the specified BamlOutboundPanic message. Does not implicitly {@link baml_bridge.cffi.v1.BamlOutboundPanic.verify|verify} messages. * @param message BamlOutboundPanic message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlOutboundPanic, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlOutboundPanic, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlOutboundPanic message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlOutboundPanic.verify|verify} messages. + * Encodes the specified BamlOutboundPanic message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlOutboundPanic.verify|verify} messages. * @param message BamlOutboundPanic message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlOutboundPanic, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlOutboundPanic, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlOutboundPanic message from the specified reader or buffer. @@ -4287,7 +4287,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlOutboundPanic; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlOutboundPanic; /** * Decodes a BamlOutboundPanic message from the specified reader or buffer, length delimited. @@ -4296,7 +4296,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlOutboundPanic; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlOutboundPanic; /** * Verifies a BamlOutboundPanic message. @@ -4310,7 +4310,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlOutboundPanic */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlOutboundPanic; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlOutboundPanic; /** * Creates a plain object from a BamlOutboundPanic message. Also converts values to other types if specified. @@ -4318,7 +4318,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlOutboundPanic, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlOutboundPanic, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlOutboundPanic to JSON. @@ -4338,7 +4338,7 @@ export namespace baml_core { interface IBamlOutboundValue { /** BamlOutboundValue nullValue */ - nullValue?: (baml_core.cffi.v1.IBamlValueNull|null); + nullValue?: (baml_bridge.cffi.v1.IBamlValueNull|null); /** BamlOutboundValue stringValue */ stringValue?: (string|null); @@ -4353,31 +4353,31 @@ export namespace baml_core { boolValue?: (boolean|null); /** BamlOutboundValue classValue */ - classValue?: (baml_core.cffi.v1.IBamlValueClass|null); + classValue?: (baml_bridge.cffi.v1.IBamlValueClass|null); /** BamlOutboundValue enumValue */ - enumValue?: (baml_core.cffi.v1.IBamlValueEnum|null); + enumValue?: (baml_bridge.cffi.v1.IBamlValueEnum|null); /** BamlOutboundValue literalValue */ - literalValue?: (baml_core.cffi.v1.IBamlLiteralValue|null); + literalValue?: (baml_bridge.cffi.v1.IBamlLiteralValue|null); /** BamlOutboundValue listValue */ - listValue?: (baml_core.cffi.v1.IBamlValueList|null); + listValue?: (baml_bridge.cffi.v1.IBamlValueList|null); /** BamlOutboundValue mapValue */ - mapValue?: (baml_core.cffi.v1.IBamlValueMap|null); + mapValue?: (baml_bridge.cffi.v1.IBamlValueMap|null); /** BamlOutboundValue unionVariantValue */ - unionVariantValue?: (baml_core.cffi.v1.IBamlValueUnionVariant|null); + unionVariantValue?: (baml_bridge.cffi.v1.IBamlValueUnionVariant|null); /** BamlOutboundValue handleValue */ - handleValue?: (baml_core.cffi.v1.IBamlOutboundHandle|null); + handleValue?: (baml_bridge.cffi.v1.IBamlOutboundHandle|null); /** BamlOutboundValue mediaValue */ - mediaValue?: (baml_core.cffi.v1.IBamlValueMedia|null); + mediaValue?: (baml_bridge.cffi.v1.IBamlValueMedia|null); /** BamlOutboundValue promptAstValue */ - promptAstValue?: (baml_core.cffi.v1.IBamlValuePromptAst|null); + promptAstValue?: (baml_bridge.cffi.v1.IBamlValuePromptAst|null); /** BamlOutboundValue uint8arrayValue */ uint8arrayValue?: (Uint8Array|null); @@ -4386,7 +4386,7 @@ export namespace baml_core { bigintValue?: (string|null); /** BamlOutboundValue tyValue */ - tyValue?: (baml_core.cffi.v1.IBamlTy|null); + tyValue?: (baml_bridge.cffi.v1.IBamlTy|null); } /** Represents a BamlOutboundValue. */ @@ -4396,10 +4396,10 @@ export namespace baml_core { * Constructs a new BamlOutboundValue. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlOutboundValue); + constructor(properties?: baml_bridge.cffi.v1.IBamlOutboundValue); /** BamlOutboundValue nullValue. */ - public nullValue?: (baml_core.cffi.v1.IBamlValueNull|null); + public nullValue?: (baml_bridge.cffi.v1.IBamlValueNull|null); /** BamlOutboundValue stringValue. */ public stringValue?: (string|null); @@ -4414,31 +4414,31 @@ export namespace baml_core { public boolValue?: (boolean|null); /** BamlOutboundValue classValue. */ - public classValue?: (baml_core.cffi.v1.IBamlValueClass|null); + public classValue?: (baml_bridge.cffi.v1.IBamlValueClass|null); /** BamlOutboundValue enumValue. */ - public enumValue?: (baml_core.cffi.v1.IBamlValueEnum|null); + public enumValue?: (baml_bridge.cffi.v1.IBamlValueEnum|null); /** BamlOutboundValue literalValue. */ - public literalValue?: (baml_core.cffi.v1.IBamlLiteralValue|null); + public literalValue?: (baml_bridge.cffi.v1.IBamlLiteralValue|null); /** BamlOutboundValue listValue. */ - public listValue?: (baml_core.cffi.v1.IBamlValueList|null); + public listValue?: (baml_bridge.cffi.v1.IBamlValueList|null); /** BamlOutboundValue mapValue. */ - public mapValue?: (baml_core.cffi.v1.IBamlValueMap|null); + public mapValue?: (baml_bridge.cffi.v1.IBamlValueMap|null); /** BamlOutboundValue unionVariantValue. */ - public unionVariantValue?: (baml_core.cffi.v1.IBamlValueUnionVariant|null); + public unionVariantValue?: (baml_bridge.cffi.v1.IBamlValueUnionVariant|null); /** BamlOutboundValue handleValue. */ - public handleValue?: (baml_core.cffi.v1.IBamlOutboundHandle|null); + public handleValue?: (baml_bridge.cffi.v1.IBamlOutboundHandle|null); /** BamlOutboundValue mediaValue. */ - public mediaValue?: (baml_core.cffi.v1.IBamlValueMedia|null); + public mediaValue?: (baml_bridge.cffi.v1.IBamlValueMedia|null); /** BamlOutboundValue promptAstValue. */ - public promptAstValue?: (baml_core.cffi.v1.IBamlValuePromptAst|null); + public promptAstValue?: (baml_bridge.cffi.v1.IBamlValuePromptAst|null); /** BamlOutboundValue uint8arrayValue. */ public uint8arrayValue?: (Uint8Array|null); @@ -4447,7 +4447,7 @@ export namespace baml_core { public bigintValue?: (string|null); /** BamlOutboundValue tyValue. */ - public tyValue?: (baml_core.cffi.v1.IBamlTy|null); + public tyValue?: (baml_bridge.cffi.v1.IBamlTy|null); /** BamlOutboundValue value. */ public value?: ("nullValue"|"stringValue"|"intValue"|"floatValue"|"boolValue"|"classValue"|"enumValue"|"literalValue"|"listValue"|"mapValue"|"unionVariantValue"|"handleValue"|"mediaValue"|"promptAstValue"|"uint8arrayValue"|"bigintValue"|"tyValue"); @@ -4457,23 +4457,23 @@ export namespace baml_core { * @param [properties] Properties to set * @returns BamlOutboundValue instance */ - public static create(properties?: baml_core.cffi.v1.IBamlOutboundValue): baml_core.cffi.v1.BamlOutboundValue; + public static create(properties?: baml_bridge.cffi.v1.IBamlOutboundValue): baml_bridge.cffi.v1.BamlOutboundValue; /** - * Encodes the specified BamlOutboundValue message. Does not implicitly {@link baml_core.cffi.v1.BamlOutboundValue.verify|verify} messages. + * Encodes the specified BamlOutboundValue message. Does not implicitly {@link baml_bridge.cffi.v1.BamlOutboundValue.verify|verify} messages. * @param message BamlOutboundValue message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlOutboundValue, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlOutboundValue, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlOutboundValue message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlOutboundValue.verify|verify} messages. + * Encodes the specified BamlOutboundValue message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlOutboundValue.verify|verify} messages. * @param message BamlOutboundValue message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlOutboundValue, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlOutboundValue, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlOutboundValue message from the specified reader or buffer. @@ -4483,7 +4483,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlOutboundValue; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlOutboundValue; /** * Decodes a BamlOutboundValue message from the specified reader or buffer, length delimited. @@ -4492,7 +4492,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlOutboundValue; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlOutboundValue; /** * Verifies a BamlOutboundValue message. @@ -4506,7 +4506,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlOutboundValue */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlOutboundValue; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlOutboundValue; /** * Creates a plain object from a BamlOutboundValue message. Also converts values to other types if specified. @@ -4514,7 +4514,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlOutboundValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlOutboundValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlOutboundValue to JSON. @@ -4537,10 +4537,10 @@ export namespace baml_core { key?: (number|Long|null); /** BamlOutboundHandle handleType */ - handleType?: (baml_core.cffi.v1.BamlHandleType|null); + handleType?: (baml_bridge.cffi.v1.BamlHandleType|null); /** BamlOutboundHandle ty */ - ty?: (baml_core.cffi.v1.IBamlTy|null); + ty?: (baml_bridge.cffi.v1.IBamlTy|null); } /** Represents a BamlOutboundHandle. */ @@ -4550,39 +4550,39 @@ export namespace baml_core { * Constructs a new BamlOutboundHandle. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlOutboundHandle); + constructor(properties?: baml_bridge.cffi.v1.IBamlOutboundHandle); /** BamlOutboundHandle key. */ public key: (number|Long); /** BamlOutboundHandle handleType. */ - public handleType: baml_core.cffi.v1.BamlHandleType; + public handleType: baml_bridge.cffi.v1.BamlHandleType; /** BamlOutboundHandle ty. */ - public ty?: (baml_core.cffi.v1.IBamlTy|null); + public ty?: (baml_bridge.cffi.v1.IBamlTy|null); /** * Creates a new BamlOutboundHandle instance using the specified properties. * @param [properties] Properties to set * @returns BamlOutboundHandle instance */ - public static create(properties?: baml_core.cffi.v1.IBamlOutboundHandle): baml_core.cffi.v1.BamlOutboundHandle; + public static create(properties?: baml_bridge.cffi.v1.IBamlOutboundHandle): baml_bridge.cffi.v1.BamlOutboundHandle; /** - * Encodes the specified BamlOutboundHandle message. Does not implicitly {@link baml_core.cffi.v1.BamlOutboundHandle.verify|verify} messages. + * Encodes the specified BamlOutboundHandle message. Does not implicitly {@link baml_bridge.cffi.v1.BamlOutboundHandle.verify|verify} messages. * @param message BamlOutboundHandle message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlOutboundHandle, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlOutboundHandle, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlOutboundHandle message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlOutboundHandle.verify|verify} messages. + * Encodes the specified BamlOutboundHandle message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlOutboundHandle.verify|verify} messages. * @param message BamlOutboundHandle message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlOutboundHandle, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlOutboundHandle, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlOutboundHandle message from the specified reader or buffer. @@ -4592,7 +4592,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlOutboundHandle; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlOutboundHandle; /** * Decodes a BamlOutboundHandle message from the specified reader or buffer, length delimited. @@ -4601,7 +4601,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlOutboundHandle; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlOutboundHandle; /** * Verifies a BamlOutboundHandle message. @@ -4615,7 +4615,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlOutboundHandle */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlOutboundHandle; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlOutboundHandle; /** * Creates a plain object from a BamlOutboundHandle message. Also converts values to other types if specified. @@ -4623,7 +4623,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlOutboundHandle, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlOutboundHandle, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlOutboundHandle to JSON. @@ -4650,30 +4650,30 @@ export namespace baml_core { * Constructs a new BamlValueNull. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlValueNull); + constructor(properties?: baml_bridge.cffi.v1.IBamlValueNull); /** * Creates a new BamlValueNull instance using the specified properties. * @param [properties] Properties to set * @returns BamlValueNull instance */ - public static create(properties?: baml_core.cffi.v1.IBamlValueNull): baml_core.cffi.v1.BamlValueNull; + public static create(properties?: baml_bridge.cffi.v1.IBamlValueNull): baml_bridge.cffi.v1.BamlValueNull; /** - * Encodes the specified BamlValueNull message. Does not implicitly {@link baml_core.cffi.v1.BamlValueNull.verify|verify} messages. + * Encodes the specified BamlValueNull message. Does not implicitly {@link baml_bridge.cffi.v1.BamlValueNull.verify|verify} messages. * @param message BamlValueNull message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlValueNull, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlValueNull, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlValueNull message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlValueNull.verify|verify} messages. + * Encodes the specified BamlValueNull message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlValueNull.verify|verify} messages. * @param message BamlValueNull message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlValueNull, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlValueNull, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlValueNull message from the specified reader or buffer. @@ -4683,7 +4683,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlValueNull; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlValueNull; /** * Decodes a BamlValueNull message from the specified reader or buffer, length delimited. @@ -4692,7 +4692,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlValueNull; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlValueNull; /** * Verifies a BamlValueNull message. @@ -4706,7 +4706,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlValueNull */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlValueNull; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlValueNull; /** * Creates a plain object from a BamlValueNull message. Also converts values to other types if specified. @@ -4714,7 +4714,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlValueNull, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlValueNull, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlValueNull to JSON. @@ -4734,10 +4734,10 @@ export namespace baml_core { interface IBamlValueList { /** BamlValueList itemType */ - itemType?: (baml_core.cffi.v1.IBamlTy|null); + itemType?: (baml_bridge.cffi.v1.IBamlTy|null); /** BamlValueList items */ - items?: (baml_core.cffi.v1.IBamlOutboundValue[]|null); + items?: (baml_bridge.cffi.v1.IBamlOutboundValue[]|null); } /** Represents a BamlValueList. */ @@ -4747,36 +4747,36 @@ export namespace baml_core { * Constructs a new BamlValueList. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlValueList); + constructor(properties?: baml_bridge.cffi.v1.IBamlValueList); /** BamlValueList itemType. */ - public itemType?: (baml_core.cffi.v1.IBamlTy|null); + public itemType?: (baml_bridge.cffi.v1.IBamlTy|null); /** BamlValueList items. */ - public items: baml_core.cffi.v1.IBamlOutboundValue[]; + public items: baml_bridge.cffi.v1.IBamlOutboundValue[]; /** * Creates a new BamlValueList instance using the specified properties. * @param [properties] Properties to set * @returns BamlValueList instance */ - public static create(properties?: baml_core.cffi.v1.IBamlValueList): baml_core.cffi.v1.BamlValueList; + public static create(properties?: baml_bridge.cffi.v1.IBamlValueList): baml_bridge.cffi.v1.BamlValueList; /** - * Encodes the specified BamlValueList message. Does not implicitly {@link baml_core.cffi.v1.BamlValueList.verify|verify} messages. + * Encodes the specified BamlValueList message. Does not implicitly {@link baml_bridge.cffi.v1.BamlValueList.verify|verify} messages. * @param message BamlValueList message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlValueList, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlValueList, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlValueList message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlValueList.verify|verify} messages. + * Encodes the specified BamlValueList message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlValueList.verify|verify} messages. * @param message BamlValueList message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlValueList, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlValueList, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlValueList message from the specified reader or buffer. @@ -4786,7 +4786,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlValueList; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlValueList; /** * Decodes a BamlValueList message from the specified reader or buffer, length delimited. @@ -4795,7 +4795,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlValueList; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlValueList; /** * Verifies a BamlValueList message. @@ -4809,7 +4809,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlValueList */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlValueList; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlValueList; /** * Creates a plain object from a BamlValueList message. Also converts values to other types if specified. @@ -4817,7 +4817,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlValueList, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlValueList, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlValueList to JSON. @@ -4840,7 +4840,7 @@ export namespace baml_core { key?: (string|null); /** BamlOutboundMapEntry value */ - value?: (baml_core.cffi.v1.IBamlOutboundValue|null); + value?: (baml_bridge.cffi.v1.IBamlOutboundValue|null); } /** Represents a BamlOutboundMapEntry. */ @@ -4850,36 +4850,36 @@ export namespace baml_core { * Constructs a new BamlOutboundMapEntry. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlOutboundMapEntry); + constructor(properties?: baml_bridge.cffi.v1.IBamlOutboundMapEntry); /** BamlOutboundMapEntry key. */ public key: string; /** BamlOutboundMapEntry value. */ - public value?: (baml_core.cffi.v1.IBamlOutboundValue|null); + public value?: (baml_bridge.cffi.v1.IBamlOutboundValue|null); /** * Creates a new BamlOutboundMapEntry instance using the specified properties. * @param [properties] Properties to set * @returns BamlOutboundMapEntry instance */ - public static create(properties?: baml_core.cffi.v1.IBamlOutboundMapEntry): baml_core.cffi.v1.BamlOutboundMapEntry; + public static create(properties?: baml_bridge.cffi.v1.IBamlOutboundMapEntry): baml_bridge.cffi.v1.BamlOutboundMapEntry; /** - * Encodes the specified BamlOutboundMapEntry message. Does not implicitly {@link baml_core.cffi.v1.BamlOutboundMapEntry.verify|verify} messages. + * Encodes the specified BamlOutboundMapEntry message. Does not implicitly {@link baml_bridge.cffi.v1.BamlOutboundMapEntry.verify|verify} messages. * @param message BamlOutboundMapEntry message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlOutboundMapEntry, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlOutboundMapEntry, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlOutboundMapEntry message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlOutboundMapEntry.verify|verify} messages. + * Encodes the specified BamlOutboundMapEntry message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlOutboundMapEntry.verify|verify} messages. * @param message BamlOutboundMapEntry message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlOutboundMapEntry, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlOutboundMapEntry, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlOutboundMapEntry message from the specified reader or buffer. @@ -4889,7 +4889,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlOutboundMapEntry; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlOutboundMapEntry; /** * Decodes a BamlOutboundMapEntry message from the specified reader or buffer, length delimited. @@ -4898,7 +4898,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlOutboundMapEntry; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlOutboundMapEntry; /** * Verifies a BamlOutboundMapEntry message. @@ -4912,7 +4912,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlOutboundMapEntry */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlOutboundMapEntry; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlOutboundMapEntry; /** * Creates a plain object from a BamlOutboundMapEntry message. Also converts values to other types if specified. @@ -4920,7 +4920,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlOutboundMapEntry, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlOutboundMapEntry, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlOutboundMapEntry to JSON. @@ -4940,13 +4940,13 @@ export namespace baml_core { interface IBamlValueMap { /** BamlValueMap keyType */ - keyType?: (baml_core.cffi.v1.IBamlTy|null); + keyType?: (baml_bridge.cffi.v1.IBamlTy|null); /** BamlValueMap valueType */ - valueType?: (baml_core.cffi.v1.IBamlTy|null); + valueType?: (baml_bridge.cffi.v1.IBamlTy|null); /** BamlValueMap entries */ - entries?: (baml_core.cffi.v1.IBamlOutboundMapEntry[]|null); + entries?: (baml_bridge.cffi.v1.IBamlOutboundMapEntry[]|null); } /** Represents a BamlValueMap. */ @@ -4956,39 +4956,39 @@ export namespace baml_core { * Constructs a new BamlValueMap. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlValueMap); + constructor(properties?: baml_bridge.cffi.v1.IBamlValueMap); /** BamlValueMap keyType. */ - public keyType?: (baml_core.cffi.v1.IBamlTy|null); + public keyType?: (baml_bridge.cffi.v1.IBamlTy|null); /** BamlValueMap valueType. */ - public valueType?: (baml_core.cffi.v1.IBamlTy|null); + public valueType?: (baml_bridge.cffi.v1.IBamlTy|null); /** BamlValueMap entries. */ - public entries: baml_core.cffi.v1.IBamlOutboundMapEntry[]; + public entries: baml_bridge.cffi.v1.IBamlOutboundMapEntry[]; /** * Creates a new BamlValueMap instance using the specified properties. * @param [properties] Properties to set * @returns BamlValueMap instance */ - public static create(properties?: baml_core.cffi.v1.IBamlValueMap): baml_core.cffi.v1.BamlValueMap; + public static create(properties?: baml_bridge.cffi.v1.IBamlValueMap): baml_bridge.cffi.v1.BamlValueMap; /** - * Encodes the specified BamlValueMap message. Does not implicitly {@link baml_core.cffi.v1.BamlValueMap.verify|verify} messages. + * Encodes the specified BamlValueMap message. Does not implicitly {@link baml_bridge.cffi.v1.BamlValueMap.verify|verify} messages. * @param message BamlValueMap message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlValueMap, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlValueMap, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlValueMap message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlValueMap.verify|verify} messages. + * Encodes the specified BamlValueMap message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlValueMap.verify|verify} messages. * @param message BamlValueMap message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlValueMap, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlValueMap, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlValueMap message from the specified reader or buffer. @@ -4998,7 +4998,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlValueMap; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlValueMap; /** * Decodes a BamlValueMap message from the specified reader or buffer, length delimited. @@ -5007,7 +5007,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlValueMap; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlValueMap; /** * Verifies a BamlValueMap message. @@ -5021,7 +5021,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlValueMap */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlValueMap; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlValueMap; /** * Creates a plain object from a BamlValueMap message. Also converts values to other types if specified. @@ -5029,7 +5029,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlValueMap, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlValueMap, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlValueMap to JSON. @@ -5052,10 +5052,10 @@ export namespace baml_core { name?: (string|null); /** BamlValueClass fields */ - fields?: (baml_core.cffi.v1.IBamlOutboundMapEntry[]|null); + fields?: (baml_bridge.cffi.v1.IBamlOutboundMapEntry[]|null); /** BamlValueClass typeArgs */ - typeArgs?: (baml_core.cffi.v1.IBamlTy[]|null); + typeArgs?: (baml_bridge.cffi.v1.IBamlTy[]|null); } /** Represents a BamlValueClass. */ @@ -5065,39 +5065,39 @@ export namespace baml_core { * Constructs a new BamlValueClass. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlValueClass); + constructor(properties?: baml_bridge.cffi.v1.IBamlValueClass); /** BamlValueClass name. */ public name: string; /** BamlValueClass fields. */ - public fields: baml_core.cffi.v1.IBamlOutboundMapEntry[]; + public fields: baml_bridge.cffi.v1.IBamlOutboundMapEntry[]; /** BamlValueClass typeArgs. */ - public typeArgs: baml_core.cffi.v1.IBamlTy[]; + public typeArgs: baml_bridge.cffi.v1.IBamlTy[]; /** * Creates a new BamlValueClass instance using the specified properties. * @param [properties] Properties to set * @returns BamlValueClass instance */ - public static create(properties?: baml_core.cffi.v1.IBamlValueClass): baml_core.cffi.v1.BamlValueClass; + public static create(properties?: baml_bridge.cffi.v1.IBamlValueClass): baml_bridge.cffi.v1.BamlValueClass; /** - * Encodes the specified BamlValueClass message. Does not implicitly {@link baml_core.cffi.v1.BamlValueClass.verify|verify} messages. + * Encodes the specified BamlValueClass message. Does not implicitly {@link baml_bridge.cffi.v1.BamlValueClass.verify|verify} messages. * @param message BamlValueClass message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlValueClass, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlValueClass, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlValueClass message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlValueClass.verify|verify} messages. + * Encodes the specified BamlValueClass message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlValueClass.verify|verify} messages. * @param message BamlValueClass message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlValueClass, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlValueClass, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlValueClass message from the specified reader or buffer. @@ -5107,7 +5107,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlValueClass; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlValueClass; /** * Decodes a BamlValueClass message from the specified reader or buffer, length delimited. @@ -5116,7 +5116,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlValueClass; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlValueClass; /** * Verifies a BamlValueClass message. @@ -5130,7 +5130,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlValueClass */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlValueClass; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlValueClass; /** * Creates a plain object from a BamlValueClass message. Also converts values to other types if specified. @@ -5138,7 +5138,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlValueClass, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlValueClass, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlValueClass to JSON. @@ -5174,7 +5174,7 @@ export namespace baml_core { * Constructs a new BamlValueEnum. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlValueEnum); + constructor(properties?: baml_bridge.cffi.v1.IBamlValueEnum); /** BamlValueEnum name. */ public name: string; @@ -5190,23 +5190,23 @@ export namespace baml_core { * @param [properties] Properties to set * @returns BamlValueEnum instance */ - public static create(properties?: baml_core.cffi.v1.IBamlValueEnum): baml_core.cffi.v1.BamlValueEnum; + public static create(properties?: baml_bridge.cffi.v1.IBamlValueEnum): baml_bridge.cffi.v1.BamlValueEnum; /** - * Encodes the specified BamlValueEnum message. Does not implicitly {@link baml_core.cffi.v1.BamlValueEnum.verify|verify} messages. + * Encodes the specified BamlValueEnum message. Does not implicitly {@link baml_bridge.cffi.v1.BamlValueEnum.verify|verify} messages. * @param message BamlValueEnum message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlValueEnum, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlValueEnum, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlValueEnum message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlValueEnum.verify|verify} messages. + * Encodes the specified BamlValueEnum message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlValueEnum.verify|verify} messages. * @param message BamlValueEnum message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlValueEnum, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlValueEnum, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlValueEnum message from the specified reader or buffer. @@ -5216,7 +5216,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlValueEnum; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlValueEnum; /** * Decodes a BamlValueEnum message from the specified reader or buffer, length delimited. @@ -5225,7 +5225,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlValueEnum; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlValueEnum; /** * Verifies a BamlValueEnum message. @@ -5239,7 +5239,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlValueEnum */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlValueEnum; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlValueEnum; /** * Creates a plain object from a BamlValueEnum message. Also converts values to other types if specified. @@ -5247,7 +5247,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlValueEnum, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlValueEnum, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlValueEnum to JSON. @@ -5276,13 +5276,13 @@ export namespace baml_core { isSinglePattern?: (boolean|null); /** BamlValueUnionVariant selfType */ - selfType?: (baml_core.cffi.v1.IBamlTy|null); + selfType?: (baml_bridge.cffi.v1.IBamlTy|null); /** BamlValueUnionVariant valueOptionName */ valueOptionName?: (string|null); /** BamlValueUnionVariant value */ - value?: (baml_core.cffi.v1.IBamlOutboundValue|null); + value?: (baml_bridge.cffi.v1.IBamlOutboundValue|null); } /** Represents a BamlValueUnionVariant. */ @@ -5292,7 +5292,7 @@ export namespace baml_core { * Constructs a new BamlValueUnionVariant. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlValueUnionVariant); + constructor(properties?: baml_bridge.cffi.v1.IBamlValueUnionVariant); /** BamlValueUnionVariant name. */ public name: string; @@ -5304,36 +5304,36 @@ export namespace baml_core { public isSinglePattern: boolean; /** BamlValueUnionVariant selfType. */ - public selfType?: (baml_core.cffi.v1.IBamlTy|null); + public selfType?: (baml_bridge.cffi.v1.IBamlTy|null); /** BamlValueUnionVariant valueOptionName. */ public valueOptionName: string; /** BamlValueUnionVariant value. */ - public value?: (baml_core.cffi.v1.IBamlOutboundValue|null); + public value?: (baml_bridge.cffi.v1.IBamlOutboundValue|null); /** * Creates a new BamlValueUnionVariant instance using the specified properties. * @param [properties] Properties to set * @returns BamlValueUnionVariant instance */ - public static create(properties?: baml_core.cffi.v1.IBamlValueUnionVariant): baml_core.cffi.v1.BamlValueUnionVariant; + public static create(properties?: baml_bridge.cffi.v1.IBamlValueUnionVariant): baml_bridge.cffi.v1.BamlValueUnionVariant; /** - * Encodes the specified BamlValueUnionVariant message. Does not implicitly {@link baml_core.cffi.v1.BamlValueUnionVariant.verify|verify} messages. + * Encodes the specified BamlValueUnionVariant message. Does not implicitly {@link baml_bridge.cffi.v1.BamlValueUnionVariant.verify|verify} messages. * @param message BamlValueUnionVariant message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlValueUnionVariant, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlValueUnionVariant, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlValueUnionVariant message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlValueUnionVariant.verify|verify} messages. + * Encodes the specified BamlValueUnionVariant message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlValueUnionVariant.verify|verify} messages. * @param message BamlValueUnionVariant message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlValueUnionVariant, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlValueUnionVariant, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlValueUnionVariant message from the specified reader or buffer. @@ -5343,7 +5343,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlValueUnionVariant; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlValueUnionVariant; /** * Decodes a BamlValueUnionVariant message from the specified reader or buffer, length delimited. @@ -5352,7 +5352,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlValueUnionVariant; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlValueUnionVariant; /** * Verifies a BamlValueUnionVariant message. @@ -5366,7 +5366,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlValueUnionVariant */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlValueUnionVariant; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlValueUnionVariant; /** * Creates a plain object from a BamlValueUnionVariant message. Also converts values to other types if specified. @@ -5374,7 +5374,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlValueUnionVariant, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlValueUnionVariant, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlValueUnionVariant to JSON. @@ -5404,7 +5404,7 @@ export namespace baml_core { interface IBamlValueMedia { /** BamlValueMedia media */ - media?: (baml_core.cffi.v1.MediaTypeEnum|null); + media?: (baml_bridge.cffi.v1.MediaTypeEnum|null); /** BamlValueMedia mimeType */ mimeType?: (string|null); @@ -5426,10 +5426,10 @@ export namespace baml_core { * Constructs a new BamlValueMedia. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlValueMedia); + constructor(properties?: baml_bridge.cffi.v1.IBamlValueMedia); /** BamlValueMedia media. */ - public media: baml_core.cffi.v1.MediaTypeEnum; + public media: baml_bridge.cffi.v1.MediaTypeEnum; /** BamlValueMedia mimeType. */ public mimeType?: (string|null); @@ -5451,23 +5451,23 @@ export namespace baml_core { * @param [properties] Properties to set * @returns BamlValueMedia instance */ - public static create(properties?: baml_core.cffi.v1.IBamlValueMedia): baml_core.cffi.v1.BamlValueMedia; + public static create(properties?: baml_bridge.cffi.v1.IBamlValueMedia): baml_bridge.cffi.v1.BamlValueMedia; /** - * Encodes the specified BamlValueMedia message. Does not implicitly {@link baml_core.cffi.v1.BamlValueMedia.verify|verify} messages. + * Encodes the specified BamlValueMedia message. Does not implicitly {@link baml_bridge.cffi.v1.BamlValueMedia.verify|verify} messages. * @param message BamlValueMedia message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlValueMedia, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlValueMedia, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlValueMedia message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlValueMedia.verify|verify} messages. + * Encodes the specified BamlValueMedia message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlValueMedia.verify|verify} messages. * @param message BamlValueMedia message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlValueMedia, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlValueMedia, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlValueMedia message from the specified reader or buffer. @@ -5477,7 +5477,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlValueMedia; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlValueMedia; /** * Decodes a BamlValueMedia message from the specified reader or buffer, length delimited. @@ -5486,7 +5486,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlValueMedia; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlValueMedia; /** * Verifies a BamlValueMedia message. @@ -5500,7 +5500,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlValueMedia */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlValueMedia; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlValueMedia; /** * Creates a plain object from a BamlValueMedia message. Also converts values to other types if specified. @@ -5508,7 +5508,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlValueMedia, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlValueMedia, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlValueMedia to JSON. @@ -5528,13 +5528,13 @@ export namespace baml_core { interface IBamlValuePromptAst { /** BamlValuePromptAst simple */ - simple?: (baml_core.cffi.v1.IBamlValuePromptAstSimple|null); + simple?: (baml_bridge.cffi.v1.IBamlValuePromptAstSimple|null); /** BamlValuePromptAst message */ - message?: (baml_core.cffi.v1.IBamlValuePromptAstMessage|null); + message?: (baml_bridge.cffi.v1.IBamlValuePromptAstMessage|null); /** BamlValuePromptAst multiple */ - multiple?: (baml_core.cffi.v1.IBamlValuePromptAstMultiple|null); + multiple?: (baml_bridge.cffi.v1.IBamlValuePromptAstMultiple|null); } /** Represents a BamlValuePromptAst. */ @@ -5544,16 +5544,16 @@ export namespace baml_core { * Constructs a new BamlValuePromptAst. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlValuePromptAst); + constructor(properties?: baml_bridge.cffi.v1.IBamlValuePromptAst); /** BamlValuePromptAst simple. */ - public simple?: (baml_core.cffi.v1.IBamlValuePromptAstSimple|null); + public simple?: (baml_bridge.cffi.v1.IBamlValuePromptAstSimple|null); /** BamlValuePromptAst message. */ - public message?: (baml_core.cffi.v1.IBamlValuePromptAstMessage|null); + public message?: (baml_bridge.cffi.v1.IBamlValuePromptAstMessage|null); /** BamlValuePromptAst multiple. */ - public multiple?: (baml_core.cffi.v1.IBamlValuePromptAstMultiple|null); + public multiple?: (baml_bridge.cffi.v1.IBamlValuePromptAstMultiple|null); /** BamlValuePromptAst value. */ public value?: ("simple"|"message"|"multiple"); @@ -5563,23 +5563,23 @@ export namespace baml_core { * @param [properties] Properties to set * @returns BamlValuePromptAst instance */ - public static create(properties?: baml_core.cffi.v1.IBamlValuePromptAst): baml_core.cffi.v1.BamlValuePromptAst; + public static create(properties?: baml_bridge.cffi.v1.IBamlValuePromptAst): baml_bridge.cffi.v1.BamlValuePromptAst; /** - * Encodes the specified BamlValuePromptAst message. Does not implicitly {@link baml_core.cffi.v1.BamlValuePromptAst.verify|verify} messages. + * Encodes the specified BamlValuePromptAst message. Does not implicitly {@link baml_bridge.cffi.v1.BamlValuePromptAst.verify|verify} messages. * @param message BamlValuePromptAst message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlValuePromptAst, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlValuePromptAst, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlValuePromptAst message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlValuePromptAst.verify|verify} messages. + * Encodes the specified BamlValuePromptAst message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlValuePromptAst.verify|verify} messages. * @param message BamlValuePromptAst message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlValuePromptAst, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlValuePromptAst, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlValuePromptAst message from the specified reader or buffer. @@ -5589,7 +5589,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlValuePromptAst; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlValuePromptAst; /** * Decodes a BamlValuePromptAst message from the specified reader or buffer, length delimited. @@ -5598,7 +5598,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlValuePromptAst; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlValuePromptAst; /** * Verifies a BamlValuePromptAst message. @@ -5612,7 +5612,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlValuePromptAst */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlValuePromptAst; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlValuePromptAst; /** * Creates a plain object from a BamlValuePromptAst message. Also converts values to other types if specified. @@ -5620,7 +5620,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlValuePromptAst, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlValuePromptAst, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlValuePromptAst to JSON. @@ -5643,7 +5643,7 @@ export namespace baml_core { role?: (string|null); /** BamlValuePromptAstMessage content */ - content?: (baml_core.cffi.v1.IBamlValuePromptAstSimple|null); + content?: (baml_bridge.cffi.v1.IBamlValuePromptAstSimple|null); /** BamlValuePromptAstMessage metadataAsJson */ metadataAsJson?: (string|null); @@ -5656,13 +5656,13 @@ export namespace baml_core { * Constructs a new BamlValuePromptAstMessage. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlValuePromptAstMessage); + constructor(properties?: baml_bridge.cffi.v1.IBamlValuePromptAstMessage); /** BamlValuePromptAstMessage role. */ public role: string; /** BamlValuePromptAstMessage content. */ - public content?: (baml_core.cffi.v1.IBamlValuePromptAstSimple|null); + public content?: (baml_bridge.cffi.v1.IBamlValuePromptAstSimple|null); /** BamlValuePromptAstMessage metadataAsJson. */ public metadataAsJson: string; @@ -5672,23 +5672,23 @@ export namespace baml_core { * @param [properties] Properties to set * @returns BamlValuePromptAstMessage instance */ - public static create(properties?: baml_core.cffi.v1.IBamlValuePromptAstMessage): baml_core.cffi.v1.BamlValuePromptAstMessage; + public static create(properties?: baml_bridge.cffi.v1.IBamlValuePromptAstMessage): baml_bridge.cffi.v1.BamlValuePromptAstMessage; /** - * Encodes the specified BamlValuePromptAstMessage message. Does not implicitly {@link baml_core.cffi.v1.BamlValuePromptAstMessage.verify|verify} messages. + * Encodes the specified BamlValuePromptAstMessage message. Does not implicitly {@link baml_bridge.cffi.v1.BamlValuePromptAstMessage.verify|verify} messages. * @param message BamlValuePromptAstMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlValuePromptAstMessage, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlValuePromptAstMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlValuePromptAstMessage message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlValuePromptAstMessage.verify|verify} messages. + * Encodes the specified BamlValuePromptAstMessage message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlValuePromptAstMessage.verify|verify} messages. * @param message BamlValuePromptAstMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlValuePromptAstMessage, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlValuePromptAstMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlValuePromptAstMessage message from the specified reader or buffer. @@ -5698,7 +5698,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlValuePromptAstMessage; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlValuePromptAstMessage; /** * Decodes a BamlValuePromptAstMessage message from the specified reader or buffer, length delimited. @@ -5707,7 +5707,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlValuePromptAstMessage; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlValuePromptAstMessage; /** * Verifies a BamlValuePromptAstMessage message. @@ -5721,7 +5721,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlValuePromptAstMessage */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlValuePromptAstMessage; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlValuePromptAstMessage; /** * Creates a plain object from a BamlValuePromptAstMessage message. Also converts values to other types if specified. @@ -5729,7 +5729,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlValuePromptAstMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlValuePromptAstMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlValuePromptAstMessage to JSON. @@ -5749,7 +5749,7 @@ export namespace baml_core { interface IBamlValuePromptAstMultiple { /** BamlValuePromptAstMultiple items */ - items?: (baml_core.cffi.v1.IBamlValuePromptAst[]|null); + items?: (baml_bridge.cffi.v1.IBamlValuePromptAst[]|null); } /** Represents a BamlValuePromptAstMultiple. */ @@ -5759,33 +5759,33 @@ export namespace baml_core { * Constructs a new BamlValuePromptAstMultiple. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlValuePromptAstMultiple); + constructor(properties?: baml_bridge.cffi.v1.IBamlValuePromptAstMultiple); /** BamlValuePromptAstMultiple items. */ - public items: baml_core.cffi.v1.IBamlValuePromptAst[]; + public items: baml_bridge.cffi.v1.IBamlValuePromptAst[]; /** * Creates a new BamlValuePromptAstMultiple instance using the specified properties. * @param [properties] Properties to set * @returns BamlValuePromptAstMultiple instance */ - public static create(properties?: baml_core.cffi.v1.IBamlValuePromptAstMultiple): baml_core.cffi.v1.BamlValuePromptAstMultiple; + public static create(properties?: baml_bridge.cffi.v1.IBamlValuePromptAstMultiple): baml_bridge.cffi.v1.BamlValuePromptAstMultiple; /** - * Encodes the specified BamlValuePromptAstMultiple message. Does not implicitly {@link baml_core.cffi.v1.BamlValuePromptAstMultiple.verify|verify} messages. + * Encodes the specified BamlValuePromptAstMultiple message. Does not implicitly {@link baml_bridge.cffi.v1.BamlValuePromptAstMultiple.verify|verify} messages. * @param message BamlValuePromptAstMultiple message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlValuePromptAstMultiple, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlValuePromptAstMultiple, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlValuePromptAstMultiple message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlValuePromptAstMultiple.verify|verify} messages. + * Encodes the specified BamlValuePromptAstMultiple message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlValuePromptAstMultiple.verify|verify} messages. * @param message BamlValuePromptAstMultiple message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlValuePromptAstMultiple, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlValuePromptAstMultiple, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlValuePromptAstMultiple message from the specified reader or buffer. @@ -5795,7 +5795,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlValuePromptAstMultiple; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlValuePromptAstMultiple; /** * Decodes a BamlValuePromptAstMultiple message from the specified reader or buffer, length delimited. @@ -5804,7 +5804,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlValuePromptAstMultiple; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlValuePromptAstMultiple; /** * Verifies a BamlValuePromptAstMultiple message. @@ -5818,7 +5818,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlValuePromptAstMultiple */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlValuePromptAstMultiple; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlValuePromptAstMultiple; /** * Creates a plain object from a BamlValuePromptAstMultiple message. Also converts values to other types if specified. @@ -5826,7 +5826,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlValuePromptAstMultiple, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlValuePromptAstMultiple, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlValuePromptAstMultiple to JSON. @@ -5849,10 +5849,10 @@ export namespace baml_core { string?: (string|null); /** BamlValuePromptAstSimple media */ - media?: (baml_core.cffi.v1.IBamlValueMedia|null); + media?: (baml_bridge.cffi.v1.IBamlValueMedia|null); /** BamlValuePromptAstSimple multiple */ - multiple?: (baml_core.cffi.v1.IBamlValuePromptAstSimpleMultiple|null); + multiple?: (baml_bridge.cffi.v1.IBamlValuePromptAstSimpleMultiple|null); } /** Represents a BamlValuePromptAstSimple. */ @@ -5862,16 +5862,16 @@ export namespace baml_core { * Constructs a new BamlValuePromptAstSimple. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlValuePromptAstSimple); + constructor(properties?: baml_bridge.cffi.v1.IBamlValuePromptAstSimple); /** BamlValuePromptAstSimple string. */ public string?: (string|null); /** BamlValuePromptAstSimple media. */ - public media?: (baml_core.cffi.v1.IBamlValueMedia|null); + public media?: (baml_bridge.cffi.v1.IBamlValueMedia|null); /** BamlValuePromptAstSimple multiple. */ - public multiple?: (baml_core.cffi.v1.IBamlValuePromptAstSimpleMultiple|null); + public multiple?: (baml_bridge.cffi.v1.IBamlValuePromptAstSimpleMultiple|null); /** BamlValuePromptAstSimple value. */ public value?: ("string"|"media"|"multiple"); @@ -5881,23 +5881,23 @@ export namespace baml_core { * @param [properties] Properties to set * @returns BamlValuePromptAstSimple instance */ - public static create(properties?: baml_core.cffi.v1.IBamlValuePromptAstSimple): baml_core.cffi.v1.BamlValuePromptAstSimple; + public static create(properties?: baml_bridge.cffi.v1.IBamlValuePromptAstSimple): baml_bridge.cffi.v1.BamlValuePromptAstSimple; /** - * Encodes the specified BamlValuePromptAstSimple message. Does not implicitly {@link baml_core.cffi.v1.BamlValuePromptAstSimple.verify|verify} messages. + * Encodes the specified BamlValuePromptAstSimple message. Does not implicitly {@link baml_bridge.cffi.v1.BamlValuePromptAstSimple.verify|verify} messages. * @param message BamlValuePromptAstSimple message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlValuePromptAstSimple, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlValuePromptAstSimple, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlValuePromptAstSimple message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlValuePromptAstSimple.verify|verify} messages. + * Encodes the specified BamlValuePromptAstSimple message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlValuePromptAstSimple.verify|verify} messages. * @param message BamlValuePromptAstSimple message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlValuePromptAstSimple, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlValuePromptAstSimple, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlValuePromptAstSimple message from the specified reader or buffer. @@ -5907,7 +5907,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlValuePromptAstSimple; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlValuePromptAstSimple; /** * Decodes a BamlValuePromptAstSimple message from the specified reader or buffer, length delimited. @@ -5916,7 +5916,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlValuePromptAstSimple; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlValuePromptAstSimple; /** * Verifies a BamlValuePromptAstSimple message. @@ -5930,7 +5930,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlValuePromptAstSimple */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlValuePromptAstSimple; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlValuePromptAstSimple; /** * Creates a plain object from a BamlValuePromptAstSimple message. Also converts values to other types if specified. @@ -5938,7 +5938,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlValuePromptAstSimple, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlValuePromptAstSimple, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlValuePromptAstSimple to JSON. @@ -5958,7 +5958,7 @@ export namespace baml_core { interface IBamlValuePromptAstSimpleMultiple { /** BamlValuePromptAstSimpleMultiple items */ - items?: (baml_core.cffi.v1.IBamlValuePromptAstSimple[]|null); + items?: (baml_bridge.cffi.v1.IBamlValuePromptAstSimple[]|null); } /** Represents a BamlValuePromptAstSimpleMultiple. */ @@ -5968,33 +5968,33 @@ export namespace baml_core { * Constructs a new BamlValuePromptAstSimpleMultiple. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlValuePromptAstSimpleMultiple); + constructor(properties?: baml_bridge.cffi.v1.IBamlValuePromptAstSimpleMultiple); /** BamlValuePromptAstSimpleMultiple items. */ - public items: baml_core.cffi.v1.IBamlValuePromptAstSimple[]; + public items: baml_bridge.cffi.v1.IBamlValuePromptAstSimple[]; /** * Creates a new BamlValuePromptAstSimpleMultiple instance using the specified properties. * @param [properties] Properties to set * @returns BamlValuePromptAstSimpleMultiple instance */ - public static create(properties?: baml_core.cffi.v1.IBamlValuePromptAstSimpleMultiple): baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple; + public static create(properties?: baml_bridge.cffi.v1.IBamlValuePromptAstSimpleMultiple): baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple; /** - * Encodes the specified BamlValuePromptAstSimpleMultiple message. Does not implicitly {@link baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple.verify|verify} messages. + * Encodes the specified BamlValuePromptAstSimpleMultiple message. Does not implicitly {@link baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple.verify|verify} messages. * @param message BamlValuePromptAstSimpleMultiple message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlValuePromptAstSimpleMultiple, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlValuePromptAstSimpleMultiple, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlValuePromptAstSimpleMultiple message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple.verify|verify} messages. + * Encodes the specified BamlValuePromptAstSimpleMultiple message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple.verify|verify} messages. * @param message BamlValuePromptAstSimpleMultiple message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlValuePromptAstSimpleMultiple, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlValuePromptAstSimpleMultiple, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlValuePromptAstSimpleMultiple message from the specified reader or buffer. @@ -6004,7 +6004,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple; /** * Decodes a BamlValuePromptAstSimpleMultiple message from the specified reader or buffer, length delimited. @@ -6013,7 +6013,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple; /** * Verifies a BamlValuePromptAstSimpleMultiple message. @@ -6027,7 +6027,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlValuePromptAstSimpleMultiple */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple; /** * Creates a plain object from a BamlValuePromptAstSimpleMultiple message. Also converts values to other types if specified. @@ -6035,7 +6035,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlValuePromptAstSimpleMultiple to JSON. @@ -6055,7 +6055,7 @@ export namespace baml_core { interface IBamlToHostCall { /** BamlToHostCall args */ - args?: (baml_core.cffi.v1.IBamlToHostArg[]|null); + args?: (baml_bridge.cffi.v1.IBamlToHostArg[]|null); } /** Represents a BamlToHostCall. */ @@ -6065,33 +6065,33 @@ export namespace baml_core { * Constructs a new BamlToHostCall. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlToHostCall); + constructor(properties?: baml_bridge.cffi.v1.IBamlToHostCall); /** BamlToHostCall args. */ - public args: baml_core.cffi.v1.IBamlToHostArg[]; + public args: baml_bridge.cffi.v1.IBamlToHostArg[]; /** * Creates a new BamlToHostCall instance using the specified properties. * @param [properties] Properties to set * @returns BamlToHostCall instance */ - public static create(properties?: baml_core.cffi.v1.IBamlToHostCall): baml_core.cffi.v1.BamlToHostCall; + public static create(properties?: baml_bridge.cffi.v1.IBamlToHostCall): baml_bridge.cffi.v1.BamlToHostCall; /** - * Encodes the specified BamlToHostCall message. Does not implicitly {@link baml_core.cffi.v1.BamlToHostCall.verify|verify} messages. + * Encodes the specified BamlToHostCall message. Does not implicitly {@link baml_bridge.cffi.v1.BamlToHostCall.verify|verify} messages. * @param message BamlToHostCall message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlToHostCall, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlToHostCall, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlToHostCall message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlToHostCall.verify|verify} messages. + * Encodes the specified BamlToHostCall message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlToHostCall.verify|verify} messages. * @param message BamlToHostCall message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlToHostCall, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlToHostCall, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlToHostCall message from the specified reader or buffer. @@ -6101,7 +6101,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlToHostCall; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlToHostCall; /** * Decodes a BamlToHostCall message from the specified reader or buffer, length delimited. @@ -6110,7 +6110,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlToHostCall; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlToHostCall; /** * Verifies a BamlToHostCall message. @@ -6124,7 +6124,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlToHostCall */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlToHostCall; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlToHostCall; /** * Creates a plain object from a BamlToHostCall message. Also converts values to other types if specified. @@ -6132,7 +6132,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlToHostCall, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlToHostCall, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlToHostCall to JSON. @@ -6152,7 +6152,7 @@ export namespace baml_core { interface IBamlToHostArg { /** BamlToHostArg value */ - value?: (baml_core.cffi.v1.IBamlOutboundValue|null); + value?: (baml_bridge.cffi.v1.IBamlOutboundValue|null); /** BamlToHostArg argName */ argName?: (string|null); @@ -6168,10 +6168,10 @@ export namespace baml_core { * Constructs a new BamlToHostArg. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlToHostArg); + constructor(properties?: baml_bridge.cffi.v1.IBamlToHostArg); /** BamlToHostArg value. */ - public value?: (baml_core.cffi.v1.IBamlOutboundValue|null); + public value?: (baml_bridge.cffi.v1.IBamlOutboundValue|null); /** BamlToHostArg argName. */ public argName: string; @@ -6184,23 +6184,23 @@ export namespace baml_core { * @param [properties] Properties to set * @returns BamlToHostArg instance */ - public static create(properties?: baml_core.cffi.v1.IBamlToHostArg): baml_core.cffi.v1.BamlToHostArg; + public static create(properties?: baml_bridge.cffi.v1.IBamlToHostArg): baml_bridge.cffi.v1.BamlToHostArg; /** - * Encodes the specified BamlToHostArg message. Does not implicitly {@link baml_core.cffi.v1.BamlToHostArg.verify|verify} messages. + * Encodes the specified BamlToHostArg message. Does not implicitly {@link baml_bridge.cffi.v1.BamlToHostArg.verify|verify} messages. * @param message BamlToHostArg message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlToHostArg, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlToHostArg, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlToHostArg message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlToHostArg.verify|verify} messages. + * Encodes the specified BamlToHostArg message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlToHostArg.verify|verify} messages. * @param message BamlToHostArg message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlToHostArg, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlToHostArg, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlToHostArg message from the specified reader or buffer. @@ -6210,7 +6210,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlToHostArg; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlToHostArg; /** * Decodes a BamlToHostArg message from the specified reader or buffer, length delimited. @@ -6219,7 +6219,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlToHostArg; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlToHostArg; /** * Verifies a BamlToHostArg message. @@ -6233,7 +6233,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlToHostArg */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlToHostArg; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlToHostArg; /** * Creates a plain object from a BamlToHostArg message. Also converts values to other types if specified. @@ -6241,7 +6241,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlToHostArg, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlToHostArg, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlToHostArg to JSON. @@ -6283,7 +6283,7 @@ export namespace baml_core { * Constructs a new BamlLiteralValue. * @param [properties] Properties to set */ - constructor(properties?: baml_core.cffi.v1.IBamlLiteralValue); + constructor(properties?: baml_bridge.cffi.v1.IBamlLiteralValue); /** BamlLiteralValue stringValue. */ public stringValue?: (string|null); @@ -6308,23 +6308,23 @@ export namespace baml_core { * @param [properties] Properties to set * @returns BamlLiteralValue instance */ - public static create(properties?: baml_core.cffi.v1.IBamlLiteralValue): baml_core.cffi.v1.BamlLiteralValue; + public static create(properties?: baml_bridge.cffi.v1.IBamlLiteralValue): baml_bridge.cffi.v1.BamlLiteralValue; /** - * Encodes the specified BamlLiteralValue message. Does not implicitly {@link baml_core.cffi.v1.BamlLiteralValue.verify|verify} messages. + * Encodes the specified BamlLiteralValue message. Does not implicitly {@link baml_bridge.cffi.v1.BamlLiteralValue.verify|verify} messages. * @param message BamlLiteralValue message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: baml_core.cffi.v1.IBamlLiteralValue, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: baml_bridge.cffi.v1.IBamlLiteralValue, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified BamlLiteralValue message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlLiteralValue.verify|verify} messages. + * Encodes the specified BamlLiteralValue message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlLiteralValue.verify|verify} messages. * @param message BamlLiteralValue message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: baml_core.cffi.v1.IBamlLiteralValue, writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlLiteralValue, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BamlLiteralValue message from the specified reader or buffer. @@ -6334,7 +6334,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_core.cffi.v1.BamlLiteralValue; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlLiteralValue; /** * Decodes a BamlLiteralValue message from the specified reader or buffer, length delimited. @@ -6343,7 +6343,7 @@ export namespace baml_core { * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_core.cffi.v1.BamlLiteralValue; + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlLiteralValue; /** * Verifies a BamlLiteralValue message. @@ -6357,7 +6357,7 @@ export namespace baml_core { * @param object Plain object * @returns BamlLiteralValue */ - public static fromObject(object: { [k: string]: any }): baml_core.cffi.v1.BamlLiteralValue; + public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlLiteralValue; /** * Creates a plain object from a BamlLiteralValue message. Also converts values to other types if specified. @@ -6365,7 +6365,7 @@ export namespace baml_core { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: baml_core.cffi.v1.BamlLiteralValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; + public static toObject(message: baml_bridge.cffi.v1.BamlLiteralValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BamlLiteralValue to JSON. diff --git a/baml_language/sdks/nodejs/bridge_nodejs/dist/proto/baml_cffi.js b/baml_language/sdks/nodejs/bridge_nodejs/dist/proto/baml_cffi.js index 10c4c1455c7..4587ace32c2 100644 --- a/baml_language/sdks/nodejs/bridge_nodejs/dist/proto/baml_cffi.js +++ b/baml_language/sdks/nodejs/bridge_nodejs/dist/proto/baml_cffi.js @@ -2,7 +2,7 @@ * THIS FILE IS AUTO-GENERATED — DO NOT EDIT BY HAND. * * Source: baml_language/crates/bridge_nodejs/typescript_src/ - * Proto: baml_language/crates/bridge_ctypes/types/baml_core/cffi/v1/*.proto + * Proto: baml_language/crates/bridge_ctypes/types/baml_bridge/cffi/v1/*.proto * Build: cd baml_language/crates/bridge_nodejs && pnpm build:debug */ /*eslint-disable block-scoped-var, id-length, no-control-regex, no-magic-numbers, no-prototype-builtins, no-redeclare, no-shadow, no-var, sort-vars*/ @@ -14,20 +14,20 @@ const $Reader = $protobuf.Reader, $Writer = $protobuf.Writer, $util = $protobuf. // Exported root namespace const $root = $protobuf.roots["default"] || ($protobuf.roots["default"] = {}); -export const baml_core = $root.baml_core = (() => { +export const baml_bridge = $root.baml_bridge = (() => { /** - * Namespace baml_core. - * @exports baml_core + * Namespace baml_bridge. + * @exports baml_bridge * @namespace */ - const baml_core = {}; + const baml_bridge = {}; - baml_core.cffi = (function() { + baml_bridge.cffi = (function() { /** * Namespace cffi. - * @memberof baml_core + * @memberof baml_bridge * @namespace */ const cffi = {}; @@ -36,7 +36,7 @@ export const baml_core = $root.baml_core = (() => { /** * Namespace v1. - * @memberof baml_core.cffi + * @memberof baml_bridge.cffi * @namespace */ const v1 = {}; @@ -45,29 +45,29 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of an InboundValue. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IInboundValue * @property {string|null} [stringValue] InboundValue stringValue * @property {number|Long|null} [intValue] InboundValue intValue * @property {number|null} [floatValue] InboundValue floatValue * @property {boolean|null} [boolValue] InboundValue boolValue - * @property {baml_core.cffi.v1.IInboundListValue|null} [listValue] InboundValue listValue - * @property {baml_core.cffi.v1.IInboundMapValue|null} [mapValue] InboundValue mapValue - * @property {baml_core.cffi.v1.IInboundClassValue|null} [classValue] InboundValue classValue - * @property {baml_core.cffi.v1.IInboundEnumValue|null} [enumValue] InboundValue enumValue - * @property {baml_core.cffi.v1.IBamlHandle|null} [handle] InboundValue handle + * @property {baml_bridge.cffi.v1.IInboundListValue|null} [listValue] InboundValue listValue + * @property {baml_bridge.cffi.v1.IInboundMapValue|null} [mapValue] InboundValue mapValue + * @property {baml_bridge.cffi.v1.IInboundClassValue|null} [classValue] InboundValue classValue + * @property {baml_bridge.cffi.v1.IInboundEnumValue|null} [enumValue] InboundValue enumValue + * @property {baml_bridge.cffi.v1.IBamlHandle|null} [handle] InboundValue handle * @property {Uint8Array|null} [uint8arrayValue] InboundValue uint8arrayValue * @property {string|null} [bigintValue] InboundValue bigintValue - * @property {baml_core.cffi.v1.IBamlTy|null} [tyValue] InboundValue tyValue + * @property {baml_bridge.cffi.v1.IBamlTy|null} [tyValue] InboundValue tyValue */ /** * Constructs a new InboundValue. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents an InboundValue. * @implements IInboundValue * @constructor - * @param {baml_core.cffi.v1.IInboundValue=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IInboundValue=} [properties] Properties to set */ function InboundValue(properties) { if (properties) @@ -79,7 +79,7 @@ export const baml_core = $root.baml_core = (() => { /** * InboundValue stringValue. * @member {string|null|undefined} stringValue - * @memberof baml_core.cffi.v1.InboundValue + * @memberof baml_bridge.cffi.v1.InboundValue * @instance */ InboundValue.prototype.stringValue = null; @@ -87,7 +87,7 @@ export const baml_core = $root.baml_core = (() => { /** * InboundValue intValue. * @member {number|Long|null|undefined} intValue - * @memberof baml_core.cffi.v1.InboundValue + * @memberof baml_bridge.cffi.v1.InboundValue * @instance */ InboundValue.prototype.intValue = null; @@ -95,7 +95,7 @@ export const baml_core = $root.baml_core = (() => { /** * InboundValue floatValue. * @member {number|null|undefined} floatValue - * @memberof baml_core.cffi.v1.InboundValue + * @memberof baml_bridge.cffi.v1.InboundValue * @instance */ InboundValue.prototype.floatValue = null; @@ -103,47 +103,47 @@ export const baml_core = $root.baml_core = (() => { /** * InboundValue boolValue. * @member {boolean|null|undefined} boolValue - * @memberof baml_core.cffi.v1.InboundValue + * @memberof baml_bridge.cffi.v1.InboundValue * @instance */ InboundValue.prototype.boolValue = null; /** * InboundValue listValue. - * @member {baml_core.cffi.v1.IInboundListValue|null|undefined} listValue - * @memberof baml_core.cffi.v1.InboundValue + * @member {baml_bridge.cffi.v1.IInboundListValue|null|undefined} listValue + * @memberof baml_bridge.cffi.v1.InboundValue * @instance */ InboundValue.prototype.listValue = null; /** * InboundValue mapValue. - * @member {baml_core.cffi.v1.IInboundMapValue|null|undefined} mapValue - * @memberof baml_core.cffi.v1.InboundValue + * @member {baml_bridge.cffi.v1.IInboundMapValue|null|undefined} mapValue + * @memberof baml_bridge.cffi.v1.InboundValue * @instance */ InboundValue.prototype.mapValue = null; /** * InboundValue classValue. - * @member {baml_core.cffi.v1.IInboundClassValue|null|undefined} classValue - * @memberof baml_core.cffi.v1.InboundValue + * @member {baml_bridge.cffi.v1.IInboundClassValue|null|undefined} classValue + * @memberof baml_bridge.cffi.v1.InboundValue * @instance */ InboundValue.prototype.classValue = null; /** * InboundValue enumValue. - * @member {baml_core.cffi.v1.IInboundEnumValue|null|undefined} enumValue - * @memberof baml_core.cffi.v1.InboundValue + * @member {baml_bridge.cffi.v1.IInboundEnumValue|null|undefined} enumValue + * @memberof baml_bridge.cffi.v1.InboundValue * @instance */ InboundValue.prototype.enumValue = null; /** * InboundValue handle. - * @member {baml_core.cffi.v1.IBamlHandle|null|undefined} handle - * @memberof baml_core.cffi.v1.InboundValue + * @member {baml_bridge.cffi.v1.IBamlHandle|null|undefined} handle + * @memberof baml_bridge.cffi.v1.InboundValue * @instance */ InboundValue.prototype.handle = null; @@ -151,7 +151,7 @@ export const baml_core = $root.baml_core = (() => { /** * InboundValue uint8arrayValue. * @member {Uint8Array|null|undefined} uint8arrayValue - * @memberof baml_core.cffi.v1.InboundValue + * @memberof baml_bridge.cffi.v1.InboundValue * @instance */ InboundValue.prototype.uint8arrayValue = null; @@ -159,15 +159,15 @@ export const baml_core = $root.baml_core = (() => { /** * InboundValue bigintValue. * @member {string|null|undefined} bigintValue - * @memberof baml_core.cffi.v1.InboundValue + * @memberof baml_bridge.cffi.v1.InboundValue * @instance */ InboundValue.prototype.bigintValue = null; /** * InboundValue tyValue. - * @member {baml_core.cffi.v1.IBamlTy|null|undefined} tyValue - * @memberof baml_core.cffi.v1.InboundValue + * @member {baml_bridge.cffi.v1.IBamlTy|null|undefined} tyValue + * @memberof baml_bridge.cffi.v1.InboundValue * @instance */ InboundValue.prototype.tyValue = null; @@ -178,7 +178,7 @@ export const baml_core = $root.baml_core = (() => { /** * InboundValue value. * @member {"stringValue"|"intValue"|"floatValue"|"boolValue"|"listValue"|"mapValue"|"classValue"|"enumValue"|"handle"|"uint8arrayValue"|"bigintValue"|"tyValue"|undefined} value - * @memberof baml_core.cffi.v1.InboundValue + * @memberof baml_bridge.cffi.v1.InboundValue * @instance */ Object.defineProperty(InboundValue.prototype, "value", { @@ -189,21 +189,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new InboundValue instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.InboundValue + * @memberof baml_bridge.cffi.v1.InboundValue * @static - * @param {baml_core.cffi.v1.IInboundValue=} [properties] Properties to set - * @returns {baml_core.cffi.v1.InboundValue} InboundValue instance + * @param {baml_bridge.cffi.v1.IInboundValue=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.InboundValue} InboundValue instance */ InboundValue.create = function create(properties) { return new InboundValue(properties); }; /** - * Encodes the specified InboundValue message. Does not implicitly {@link baml_core.cffi.v1.InboundValue.verify|verify} messages. + * Encodes the specified InboundValue message. Does not implicitly {@link baml_bridge.cffi.v1.InboundValue.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.InboundValue + * @memberof baml_bridge.cffi.v1.InboundValue * @static - * @param {baml_core.cffi.v1.IInboundValue} message InboundValue message or plain object to encode + * @param {baml_bridge.cffi.v1.IInboundValue} message InboundValue message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -223,30 +223,30 @@ export const baml_core = $root.baml_core = (() => { if (message.boolValue != null && Object.hasOwnProperty.call(message, "boolValue")) writer.uint32(/* id 5, wireType 0 =*/40).bool(message.boolValue); if (message.listValue != null && Object.hasOwnProperty.call(message, "listValue")) - $root.baml_core.cffi.v1.InboundListValue.encode(message.listValue, writer.uint32(/* id 6, wireType 2 =*/50).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.InboundListValue.encode(message.listValue, writer.uint32(/* id 6, wireType 2 =*/50).fork(), q + 1).ldelim(); if (message.mapValue != null && Object.hasOwnProperty.call(message, "mapValue")) - $root.baml_core.cffi.v1.InboundMapValue.encode(message.mapValue, writer.uint32(/* id 7, wireType 2 =*/58).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.InboundMapValue.encode(message.mapValue, writer.uint32(/* id 7, wireType 2 =*/58).fork(), q + 1).ldelim(); if (message.classValue != null && Object.hasOwnProperty.call(message, "classValue")) - $root.baml_core.cffi.v1.InboundClassValue.encode(message.classValue, writer.uint32(/* id 8, wireType 2 =*/66).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.InboundClassValue.encode(message.classValue, writer.uint32(/* id 8, wireType 2 =*/66).fork(), q + 1).ldelim(); if (message.enumValue != null && Object.hasOwnProperty.call(message, "enumValue")) - $root.baml_core.cffi.v1.InboundEnumValue.encode(message.enumValue, writer.uint32(/* id 9, wireType 2 =*/74).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.InboundEnumValue.encode(message.enumValue, writer.uint32(/* id 9, wireType 2 =*/74).fork(), q + 1).ldelim(); if (message.handle != null && Object.hasOwnProperty.call(message, "handle")) - $root.baml_core.cffi.v1.BamlHandle.encode(message.handle, writer.uint32(/* id 10, wireType 2 =*/82).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlHandle.encode(message.handle, writer.uint32(/* id 10, wireType 2 =*/82).fork(), q + 1).ldelim(); if (message.uint8arrayValue != null && Object.hasOwnProperty.call(message, "uint8arrayValue")) writer.uint32(/* id 11, wireType 2 =*/90).bytes(message.uint8arrayValue); if (message.bigintValue != null && Object.hasOwnProperty.call(message, "bigintValue")) writer.uint32(/* id 12, wireType 2 =*/98).string(message.bigintValue); if (message.tyValue != null && Object.hasOwnProperty.call(message, "tyValue")) - $root.baml_core.cffi.v1.BamlTy.encode(message.tyValue, writer.uint32(/* id 13, wireType 2 =*/106).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.tyValue, writer.uint32(/* id 13, wireType 2 =*/106).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified InboundValue message, length delimited. Does not implicitly {@link baml_core.cffi.v1.InboundValue.verify|verify} messages. + * Encodes the specified InboundValue message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.InboundValue.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.InboundValue + * @memberof baml_bridge.cffi.v1.InboundValue * @static - * @param {baml_core.cffi.v1.IInboundValue} message InboundValue message or plain object to encode + * @param {baml_bridge.cffi.v1.IInboundValue} message InboundValue message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -257,11 +257,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes an InboundValue message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.InboundValue + * @memberof baml_bridge.cffi.v1.InboundValue * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.InboundValue} InboundValue + * @returns {baml_bridge.cffi.v1.InboundValue} InboundValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -272,7 +272,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.InboundValue(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.InboundValue(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -295,23 +295,23 @@ export const baml_core = $root.baml_core = (() => { break; } case 6: { - message.listValue = $root.baml_core.cffi.v1.InboundListValue.decode(reader, reader.uint32(), undefined, long + 1); + message.listValue = $root.baml_bridge.cffi.v1.InboundListValue.decode(reader, reader.uint32(), undefined, long + 1); break; } case 7: { - message.mapValue = $root.baml_core.cffi.v1.InboundMapValue.decode(reader, reader.uint32(), undefined, long + 1); + message.mapValue = $root.baml_bridge.cffi.v1.InboundMapValue.decode(reader, reader.uint32(), undefined, long + 1); break; } case 8: { - message.classValue = $root.baml_core.cffi.v1.InboundClassValue.decode(reader, reader.uint32(), undefined, long + 1); + message.classValue = $root.baml_bridge.cffi.v1.InboundClassValue.decode(reader, reader.uint32(), undefined, long + 1); break; } case 9: { - message.enumValue = $root.baml_core.cffi.v1.InboundEnumValue.decode(reader, reader.uint32(), undefined, long + 1); + message.enumValue = $root.baml_bridge.cffi.v1.InboundEnumValue.decode(reader, reader.uint32(), undefined, long + 1); break; } case 10: { - message.handle = $root.baml_core.cffi.v1.BamlHandle.decode(reader, reader.uint32(), undefined, long + 1); + message.handle = $root.baml_bridge.cffi.v1.BamlHandle.decode(reader, reader.uint32(), undefined, long + 1); break; } case 11: { @@ -323,7 +323,7 @@ export const baml_core = $root.baml_core = (() => { break; } case 13: { - message.tyValue = $root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); + message.tyValue = $root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); break; } default: @@ -337,10 +337,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes an InboundValue message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.InboundValue + * @memberof baml_bridge.cffi.v1.InboundValue * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.InboundValue} InboundValue + * @returns {baml_bridge.cffi.v1.InboundValue} InboundValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -353,7 +353,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies an InboundValue message. * @function verify - * @memberof baml_core.cffi.v1.InboundValue + * @memberof baml_bridge.cffi.v1.InboundValue * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -397,7 +397,7 @@ export const baml_core = $root.baml_core = (() => { return "value: multiple values"; properties.value = 1; { - let error = $root.baml_core.cffi.v1.InboundListValue.verify(message.listValue, long + 1); + let error = $root.baml_bridge.cffi.v1.InboundListValue.verify(message.listValue, long + 1); if (error) return "listValue." + error; } @@ -407,7 +407,7 @@ export const baml_core = $root.baml_core = (() => { return "value: multiple values"; properties.value = 1; { - let error = $root.baml_core.cffi.v1.InboundMapValue.verify(message.mapValue, long + 1); + let error = $root.baml_bridge.cffi.v1.InboundMapValue.verify(message.mapValue, long + 1); if (error) return "mapValue." + error; } @@ -417,7 +417,7 @@ export const baml_core = $root.baml_core = (() => { return "value: multiple values"; properties.value = 1; { - let error = $root.baml_core.cffi.v1.InboundClassValue.verify(message.classValue, long + 1); + let error = $root.baml_bridge.cffi.v1.InboundClassValue.verify(message.classValue, long + 1); if (error) return "classValue." + error; } @@ -427,7 +427,7 @@ export const baml_core = $root.baml_core = (() => { return "value: multiple values"; properties.value = 1; { - let error = $root.baml_core.cffi.v1.InboundEnumValue.verify(message.enumValue, long + 1); + let error = $root.baml_bridge.cffi.v1.InboundEnumValue.verify(message.enumValue, long + 1); if (error) return "enumValue." + error; } @@ -437,7 +437,7 @@ export const baml_core = $root.baml_core = (() => { return "value: multiple values"; properties.value = 1; { - let error = $root.baml_core.cffi.v1.BamlHandle.verify(message.handle, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlHandle.verify(message.handle, long + 1); if (error) return "handle." + error; } @@ -461,7 +461,7 @@ export const baml_core = $root.baml_core = (() => { return "value: multiple values"; properties.value = 1; { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.tyValue, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.tyValue, long + 1); if (error) return "tyValue." + error; } @@ -472,21 +472,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates an InboundValue message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.InboundValue + * @memberof baml_bridge.cffi.v1.InboundValue * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.InboundValue} InboundValue + * @returns {baml_bridge.cffi.v1.InboundValue} InboundValue */ InboundValue.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.InboundValue) + if (object instanceof $root.baml_bridge.cffi.v1.InboundValue) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.InboundValue: object expected"); + throw TypeError(".baml_bridge.cffi.v1.InboundValue: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.InboundValue(); + let message = new $root.baml_bridge.cffi.v1.InboundValue(); if (object.stringValue != null) message.stringValue = String(object.stringValue); if (object.intValue != null) @@ -504,28 +504,28 @@ export const baml_core = $root.baml_core = (() => { message.boolValue = Boolean(object.boolValue); if (object.listValue != null) { if (!$util.isObject(object.listValue)) - throw TypeError(".baml_core.cffi.v1.InboundValue.listValue: object expected"); - message.listValue = $root.baml_core.cffi.v1.InboundListValue.fromObject(object.listValue, long + 1); + throw TypeError(".baml_bridge.cffi.v1.InboundValue.listValue: object expected"); + message.listValue = $root.baml_bridge.cffi.v1.InboundListValue.fromObject(object.listValue, long + 1); } if (object.mapValue != null) { if (!$util.isObject(object.mapValue)) - throw TypeError(".baml_core.cffi.v1.InboundValue.mapValue: object expected"); - message.mapValue = $root.baml_core.cffi.v1.InboundMapValue.fromObject(object.mapValue, long + 1); + throw TypeError(".baml_bridge.cffi.v1.InboundValue.mapValue: object expected"); + message.mapValue = $root.baml_bridge.cffi.v1.InboundMapValue.fromObject(object.mapValue, long + 1); } if (object.classValue != null) { if (!$util.isObject(object.classValue)) - throw TypeError(".baml_core.cffi.v1.InboundValue.classValue: object expected"); - message.classValue = $root.baml_core.cffi.v1.InboundClassValue.fromObject(object.classValue, long + 1); + throw TypeError(".baml_bridge.cffi.v1.InboundValue.classValue: object expected"); + message.classValue = $root.baml_bridge.cffi.v1.InboundClassValue.fromObject(object.classValue, long + 1); } if (object.enumValue != null) { if (!$util.isObject(object.enumValue)) - throw TypeError(".baml_core.cffi.v1.InboundValue.enumValue: object expected"); - message.enumValue = $root.baml_core.cffi.v1.InboundEnumValue.fromObject(object.enumValue, long + 1); + throw TypeError(".baml_bridge.cffi.v1.InboundValue.enumValue: object expected"); + message.enumValue = $root.baml_bridge.cffi.v1.InboundEnumValue.fromObject(object.enumValue, long + 1); } if (object.handle != null) { if (!$util.isObject(object.handle)) - throw TypeError(".baml_core.cffi.v1.InboundValue.handle: object expected"); - message.handle = $root.baml_core.cffi.v1.BamlHandle.fromObject(object.handle, long + 1); + throw TypeError(".baml_bridge.cffi.v1.InboundValue.handle: object expected"); + message.handle = $root.baml_bridge.cffi.v1.BamlHandle.fromObject(object.handle, long + 1); } if (object.uint8arrayValue != null) if (typeof object.uint8arrayValue === "string") @@ -536,8 +536,8 @@ export const baml_core = $root.baml_core = (() => { message.bigintValue = String(object.bigintValue); if (object.tyValue != null) { if (!$util.isObject(object.tyValue)) - throw TypeError(".baml_core.cffi.v1.InboundValue.tyValue: object expected"); - message.tyValue = $root.baml_core.cffi.v1.BamlTy.fromObject(object.tyValue, long + 1); + throw TypeError(".baml_bridge.cffi.v1.InboundValue.tyValue: object expected"); + message.tyValue = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.tyValue, long + 1); } return message; }; @@ -545,9 +545,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from an InboundValue message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.InboundValue + * @memberof baml_bridge.cffi.v1.InboundValue * @static - * @param {baml_core.cffi.v1.InboundValue} message InboundValue + * @param {baml_bridge.cffi.v1.InboundValue} message InboundValue * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -585,27 +585,27 @@ export const baml_core = $root.baml_core = (() => { object.value = "boolValue"; } if (message.listValue != null && message.hasOwnProperty("listValue")) { - object.listValue = $root.baml_core.cffi.v1.InboundListValue.toObject(message.listValue, options, q + 1); + object.listValue = $root.baml_bridge.cffi.v1.InboundListValue.toObject(message.listValue, options, q + 1); if (options.oneofs) object.value = "listValue"; } if (message.mapValue != null && message.hasOwnProperty("mapValue")) { - object.mapValue = $root.baml_core.cffi.v1.InboundMapValue.toObject(message.mapValue, options, q + 1); + object.mapValue = $root.baml_bridge.cffi.v1.InboundMapValue.toObject(message.mapValue, options, q + 1); if (options.oneofs) object.value = "mapValue"; } if (message.classValue != null && message.hasOwnProperty("classValue")) { - object.classValue = $root.baml_core.cffi.v1.InboundClassValue.toObject(message.classValue, options, q + 1); + object.classValue = $root.baml_bridge.cffi.v1.InboundClassValue.toObject(message.classValue, options, q + 1); if (options.oneofs) object.value = "classValue"; } if (message.enumValue != null && message.hasOwnProperty("enumValue")) { - object.enumValue = $root.baml_core.cffi.v1.InboundEnumValue.toObject(message.enumValue, options, q + 1); + object.enumValue = $root.baml_bridge.cffi.v1.InboundEnumValue.toObject(message.enumValue, options, q + 1); if (options.oneofs) object.value = "enumValue"; } if (message.handle != null && message.hasOwnProperty("handle")) { - object.handle = $root.baml_core.cffi.v1.BamlHandle.toObject(message.handle, options, q + 1); + object.handle = $root.baml_bridge.cffi.v1.BamlHandle.toObject(message.handle, options, q + 1); if (options.oneofs) object.value = "handle"; } @@ -620,7 +620,7 @@ export const baml_core = $root.baml_core = (() => { object.value = "bigintValue"; } if (message.tyValue != null && message.hasOwnProperty("tyValue")) { - object.tyValue = $root.baml_core.cffi.v1.BamlTy.toObject(message.tyValue, options, q + 1); + object.tyValue = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.tyValue, options, q + 1); if (options.oneofs) object.value = "tyValue"; } @@ -630,7 +630,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this InboundValue to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.InboundValue + * @memberof baml_bridge.cffi.v1.InboundValue * @instance * @returns {Object.} JSON object */ @@ -641,7 +641,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for InboundValue * @function getTypeUrl - * @memberof baml_core.cffi.v1.InboundValue + * @memberof baml_bridge.cffi.v1.InboundValue * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -650,7 +650,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.InboundValue"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.InboundValue"; }; return InboundValue; @@ -660,18 +660,18 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of an InboundListValue. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IInboundListValue - * @property {Array.|null} [values] InboundListValue values + * @property {Array.|null} [values] InboundListValue values */ /** * Constructs a new InboundListValue. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents an InboundListValue. * @implements IInboundListValue * @constructor - * @param {baml_core.cffi.v1.IInboundListValue=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IInboundListValue=} [properties] Properties to set */ function InboundListValue(properties) { this.values = []; @@ -683,8 +683,8 @@ export const baml_core = $root.baml_core = (() => { /** * InboundListValue values. - * @member {Array.} values - * @memberof baml_core.cffi.v1.InboundListValue + * @member {Array.} values + * @memberof baml_bridge.cffi.v1.InboundListValue * @instance */ InboundListValue.prototype.values = $util.emptyArray; @@ -692,21 +692,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new InboundListValue instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.InboundListValue + * @memberof baml_bridge.cffi.v1.InboundListValue * @static - * @param {baml_core.cffi.v1.IInboundListValue=} [properties] Properties to set - * @returns {baml_core.cffi.v1.InboundListValue} InboundListValue instance + * @param {baml_bridge.cffi.v1.IInboundListValue=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.InboundListValue} InboundListValue instance */ InboundListValue.create = function create(properties) { return new InboundListValue(properties); }; /** - * Encodes the specified InboundListValue message. Does not implicitly {@link baml_core.cffi.v1.InboundListValue.verify|verify} messages. + * Encodes the specified InboundListValue message. Does not implicitly {@link baml_bridge.cffi.v1.InboundListValue.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.InboundListValue + * @memberof baml_bridge.cffi.v1.InboundListValue * @static - * @param {baml_core.cffi.v1.IInboundListValue} message InboundListValue message or plain object to encode + * @param {baml_bridge.cffi.v1.IInboundListValue} message InboundListValue message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -719,16 +719,16 @@ export const baml_core = $root.baml_core = (() => { throw Error("max depth exceeded"); if (message.values != null && message.values.length) for (let i = 0; i < message.values.length; ++i) - $root.baml_core.cffi.v1.InboundValue.encode(message.values[i], writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.InboundValue.encode(message.values[i], writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified InboundListValue message, length delimited. Does not implicitly {@link baml_core.cffi.v1.InboundListValue.verify|verify} messages. + * Encodes the specified InboundListValue message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.InboundListValue.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.InboundListValue + * @memberof baml_bridge.cffi.v1.InboundListValue * @static - * @param {baml_core.cffi.v1.IInboundListValue} message InboundListValue message or plain object to encode + * @param {baml_bridge.cffi.v1.IInboundListValue} message InboundListValue message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -739,11 +739,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes an InboundListValue message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.InboundListValue + * @memberof baml_bridge.cffi.v1.InboundListValue * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.InboundListValue} InboundListValue + * @returns {baml_bridge.cffi.v1.InboundListValue} InboundListValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -754,7 +754,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.InboundListValue(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.InboundListValue(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -763,7 +763,7 @@ export const baml_core = $root.baml_core = (() => { case 1: { if (!(message.values && message.values.length)) message.values = []; - message.values.push($root.baml_core.cffi.v1.InboundValue.decode(reader, reader.uint32(), undefined, long + 1)); + message.values.push($root.baml_bridge.cffi.v1.InboundValue.decode(reader, reader.uint32(), undefined, long + 1)); break; } default: @@ -777,10 +777,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes an InboundListValue message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.InboundListValue + * @memberof baml_bridge.cffi.v1.InboundListValue * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.InboundListValue} InboundListValue + * @returns {baml_bridge.cffi.v1.InboundListValue} InboundListValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -793,7 +793,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies an InboundListValue message. * @function verify - * @memberof baml_core.cffi.v1.InboundListValue + * @memberof baml_bridge.cffi.v1.InboundListValue * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -809,7 +809,7 @@ export const baml_core = $root.baml_core = (() => { if (!Array.isArray(message.values)) return "values: array expected"; for (let i = 0; i < message.values.length; ++i) { - let error = $root.baml_core.cffi.v1.InboundValue.verify(message.values[i], long + 1); + let error = $root.baml_bridge.cffi.v1.InboundValue.verify(message.values[i], long + 1); if (error) return "values." + error; } @@ -820,29 +820,29 @@ export const baml_core = $root.baml_core = (() => { /** * Creates an InboundListValue message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.InboundListValue + * @memberof baml_bridge.cffi.v1.InboundListValue * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.InboundListValue} InboundListValue + * @returns {baml_bridge.cffi.v1.InboundListValue} InboundListValue */ InboundListValue.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.InboundListValue) + if (object instanceof $root.baml_bridge.cffi.v1.InboundListValue) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.InboundListValue: object expected"); + throw TypeError(".baml_bridge.cffi.v1.InboundListValue: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.InboundListValue(); + let message = new $root.baml_bridge.cffi.v1.InboundListValue(); if (object.values) { if (!Array.isArray(object.values)) - throw TypeError(".baml_core.cffi.v1.InboundListValue.values: array expected"); + throw TypeError(".baml_bridge.cffi.v1.InboundListValue.values: array expected"); message.values = []; for (let i = 0; i < object.values.length; ++i) { if (!$util.isObject(object.values[i])) - throw TypeError(".baml_core.cffi.v1.InboundListValue.values: object expected"); - message.values[i] = $root.baml_core.cffi.v1.InboundValue.fromObject(object.values[i], long + 1); + throw TypeError(".baml_bridge.cffi.v1.InboundListValue.values: object expected"); + message.values[i] = $root.baml_bridge.cffi.v1.InboundValue.fromObject(object.values[i], long + 1); } } return message; @@ -851,9 +851,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from an InboundListValue message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.InboundListValue + * @memberof baml_bridge.cffi.v1.InboundListValue * @static - * @param {baml_core.cffi.v1.InboundListValue} message InboundListValue + * @param {baml_bridge.cffi.v1.InboundListValue} message InboundListValue * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -870,7 +870,7 @@ export const baml_core = $root.baml_core = (() => { if (message.values && message.values.length) { object.values = []; for (let j = 0; j < message.values.length; ++j) - object.values[j] = $root.baml_core.cffi.v1.InboundValue.toObject(message.values[j], options, q + 1); + object.values[j] = $root.baml_bridge.cffi.v1.InboundValue.toObject(message.values[j], options, q + 1); } return object; }; @@ -878,7 +878,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this InboundListValue to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.InboundListValue + * @memberof baml_bridge.cffi.v1.InboundListValue * @instance * @returns {Object.} JSON object */ @@ -889,7 +889,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for InboundListValue * @function getTypeUrl - * @memberof baml_core.cffi.v1.InboundListValue + * @memberof baml_bridge.cffi.v1.InboundListValue * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -898,7 +898,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.InboundListValue"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.InboundListValue"; }; return InboundListValue; @@ -908,18 +908,18 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of an InboundMapValue. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IInboundMapValue - * @property {Array.|null} [entries] InboundMapValue entries + * @property {Array.|null} [entries] InboundMapValue entries */ /** * Constructs a new InboundMapValue. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents an InboundMapValue. * @implements IInboundMapValue * @constructor - * @param {baml_core.cffi.v1.IInboundMapValue=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IInboundMapValue=} [properties] Properties to set */ function InboundMapValue(properties) { this.entries = []; @@ -931,8 +931,8 @@ export const baml_core = $root.baml_core = (() => { /** * InboundMapValue entries. - * @member {Array.} entries - * @memberof baml_core.cffi.v1.InboundMapValue + * @member {Array.} entries + * @memberof baml_bridge.cffi.v1.InboundMapValue * @instance */ InboundMapValue.prototype.entries = $util.emptyArray; @@ -940,21 +940,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new InboundMapValue instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.InboundMapValue + * @memberof baml_bridge.cffi.v1.InboundMapValue * @static - * @param {baml_core.cffi.v1.IInboundMapValue=} [properties] Properties to set - * @returns {baml_core.cffi.v1.InboundMapValue} InboundMapValue instance + * @param {baml_bridge.cffi.v1.IInboundMapValue=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.InboundMapValue} InboundMapValue instance */ InboundMapValue.create = function create(properties) { return new InboundMapValue(properties); }; /** - * Encodes the specified InboundMapValue message. Does not implicitly {@link baml_core.cffi.v1.InboundMapValue.verify|verify} messages. + * Encodes the specified InboundMapValue message. Does not implicitly {@link baml_bridge.cffi.v1.InboundMapValue.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.InboundMapValue + * @memberof baml_bridge.cffi.v1.InboundMapValue * @static - * @param {baml_core.cffi.v1.IInboundMapValue} message InboundMapValue message or plain object to encode + * @param {baml_bridge.cffi.v1.IInboundMapValue} message InboundMapValue message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -967,16 +967,16 @@ export const baml_core = $root.baml_core = (() => { throw Error("max depth exceeded"); if (message.entries != null && message.entries.length) for (let i = 0; i < message.entries.length; ++i) - $root.baml_core.cffi.v1.InboundMapEntry.encode(message.entries[i], writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.InboundMapEntry.encode(message.entries[i], writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified InboundMapValue message, length delimited. Does not implicitly {@link baml_core.cffi.v1.InboundMapValue.verify|verify} messages. + * Encodes the specified InboundMapValue message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.InboundMapValue.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.InboundMapValue + * @memberof baml_bridge.cffi.v1.InboundMapValue * @static - * @param {baml_core.cffi.v1.IInboundMapValue} message InboundMapValue message or plain object to encode + * @param {baml_bridge.cffi.v1.IInboundMapValue} message InboundMapValue message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -987,11 +987,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes an InboundMapValue message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.InboundMapValue + * @memberof baml_bridge.cffi.v1.InboundMapValue * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.InboundMapValue} InboundMapValue + * @returns {baml_bridge.cffi.v1.InboundMapValue} InboundMapValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -1002,7 +1002,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.InboundMapValue(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.InboundMapValue(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -1011,7 +1011,7 @@ export const baml_core = $root.baml_core = (() => { case 1: { if (!(message.entries && message.entries.length)) message.entries = []; - message.entries.push($root.baml_core.cffi.v1.InboundMapEntry.decode(reader, reader.uint32(), undefined, long + 1)); + message.entries.push($root.baml_bridge.cffi.v1.InboundMapEntry.decode(reader, reader.uint32(), undefined, long + 1)); break; } default: @@ -1025,10 +1025,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes an InboundMapValue message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.InboundMapValue + * @memberof baml_bridge.cffi.v1.InboundMapValue * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.InboundMapValue} InboundMapValue + * @returns {baml_bridge.cffi.v1.InboundMapValue} InboundMapValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -1041,7 +1041,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies an InboundMapValue message. * @function verify - * @memberof baml_core.cffi.v1.InboundMapValue + * @memberof baml_bridge.cffi.v1.InboundMapValue * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -1057,7 +1057,7 @@ export const baml_core = $root.baml_core = (() => { if (!Array.isArray(message.entries)) return "entries: array expected"; for (let i = 0; i < message.entries.length; ++i) { - let error = $root.baml_core.cffi.v1.InboundMapEntry.verify(message.entries[i], long + 1); + let error = $root.baml_bridge.cffi.v1.InboundMapEntry.verify(message.entries[i], long + 1); if (error) return "entries." + error; } @@ -1068,29 +1068,29 @@ export const baml_core = $root.baml_core = (() => { /** * Creates an InboundMapValue message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.InboundMapValue + * @memberof baml_bridge.cffi.v1.InboundMapValue * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.InboundMapValue} InboundMapValue + * @returns {baml_bridge.cffi.v1.InboundMapValue} InboundMapValue */ InboundMapValue.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.InboundMapValue) + if (object instanceof $root.baml_bridge.cffi.v1.InboundMapValue) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.InboundMapValue: object expected"); + throw TypeError(".baml_bridge.cffi.v1.InboundMapValue: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.InboundMapValue(); + let message = new $root.baml_bridge.cffi.v1.InboundMapValue(); if (object.entries) { if (!Array.isArray(object.entries)) - throw TypeError(".baml_core.cffi.v1.InboundMapValue.entries: array expected"); + throw TypeError(".baml_bridge.cffi.v1.InboundMapValue.entries: array expected"); message.entries = []; for (let i = 0; i < object.entries.length; ++i) { if (!$util.isObject(object.entries[i])) - throw TypeError(".baml_core.cffi.v1.InboundMapValue.entries: object expected"); - message.entries[i] = $root.baml_core.cffi.v1.InboundMapEntry.fromObject(object.entries[i], long + 1); + throw TypeError(".baml_bridge.cffi.v1.InboundMapValue.entries: object expected"); + message.entries[i] = $root.baml_bridge.cffi.v1.InboundMapEntry.fromObject(object.entries[i], long + 1); } } return message; @@ -1099,9 +1099,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from an InboundMapValue message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.InboundMapValue + * @memberof baml_bridge.cffi.v1.InboundMapValue * @static - * @param {baml_core.cffi.v1.InboundMapValue} message InboundMapValue + * @param {baml_bridge.cffi.v1.InboundMapValue} message InboundMapValue * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -1118,7 +1118,7 @@ export const baml_core = $root.baml_core = (() => { if (message.entries && message.entries.length) { object.entries = []; for (let j = 0; j < message.entries.length; ++j) - object.entries[j] = $root.baml_core.cffi.v1.InboundMapEntry.toObject(message.entries[j], options, q + 1); + object.entries[j] = $root.baml_bridge.cffi.v1.InboundMapEntry.toObject(message.entries[j], options, q + 1); } return object; }; @@ -1126,7 +1126,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this InboundMapValue to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.InboundMapValue + * @memberof baml_bridge.cffi.v1.InboundMapValue * @instance * @returns {Object.} JSON object */ @@ -1137,7 +1137,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for InboundMapValue * @function getTypeUrl - * @memberof baml_core.cffi.v1.InboundMapValue + * @memberof baml_bridge.cffi.v1.InboundMapValue * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -1146,7 +1146,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.InboundMapValue"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.InboundMapValue"; }; return InboundMapValue; @@ -1156,22 +1156,22 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of an InboundMapEntry. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IInboundMapEntry * @property {string|null} [stringKey] InboundMapEntry stringKey * @property {number|Long|null} [intKey] InboundMapEntry intKey * @property {boolean|null} [boolKey] InboundMapEntry boolKey - * @property {baml_core.cffi.v1.IInboundEnumValue|null} [enumKey] InboundMapEntry enumKey - * @property {baml_core.cffi.v1.IInboundValue|null} [value] InboundMapEntry value + * @property {baml_bridge.cffi.v1.IInboundEnumValue|null} [enumKey] InboundMapEntry enumKey + * @property {baml_bridge.cffi.v1.IInboundValue|null} [value] InboundMapEntry value */ /** * Constructs a new InboundMapEntry. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents an InboundMapEntry. * @implements IInboundMapEntry * @constructor - * @param {baml_core.cffi.v1.IInboundMapEntry=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IInboundMapEntry=} [properties] Properties to set */ function InboundMapEntry(properties) { if (properties) @@ -1183,7 +1183,7 @@ export const baml_core = $root.baml_core = (() => { /** * InboundMapEntry stringKey. * @member {string|null|undefined} stringKey - * @memberof baml_core.cffi.v1.InboundMapEntry + * @memberof baml_bridge.cffi.v1.InboundMapEntry * @instance */ InboundMapEntry.prototype.stringKey = null; @@ -1191,7 +1191,7 @@ export const baml_core = $root.baml_core = (() => { /** * InboundMapEntry intKey. * @member {number|Long|null|undefined} intKey - * @memberof baml_core.cffi.v1.InboundMapEntry + * @memberof baml_bridge.cffi.v1.InboundMapEntry * @instance */ InboundMapEntry.prototype.intKey = null; @@ -1199,23 +1199,23 @@ export const baml_core = $root.baml_core = (() => { /** * InboundMapEntry boolKey. * @member {boolean|null|undefined} boolKey - * @memberof baml_core.cffi.v1.InboundMapEntry + * @memberof baml_bridge.cffi.v1.InboundMapEntry * @instance */ InboundMapEntry.prototype.boolKey = null; /** * InboundMapEntry enumKey. - * @member {baml_core.cffi.v1.IInboundEnumValue|null|undefined} enumKey - * @memberof baml_core.cffi.v1.InboundMapEntry + * @member {baml_bridge.cffi.v1.IInboundEnumValue|null|undefined} enumKey + * @memberof baml_bridge.cffi.v1.InboundMapEntry * @instance */ InboundMapEntry.prototype.enumKey = null; /** * InboundMapEntry value. - * @member {baml_core.cffi.v1.IInboundValue|null|undefined} value - * @memberof baml_core.cffi.v1.InboundMapEntry + * @member {baml_bridge.cffi.v1.IInboundValue|null|undefined} value + * @memberof baml_bridge.cffi.v1.InboundMapEntry * @instance */ InboundMapEntry.prototype.value = null; @@ -1226,7 +1226,7 @@ export const baml_core = $root.baml_core = (() => { /** * InboundMapEntry key. * @member {"stringKey"|"intKey"|"boolKey"|"enumKey"|undefined} key - * @memberof baml_core.cffi.v1.InboundMapEntry + * @memberof baml_bridge.cffi.v1.InboundMapEntry * @instance */ Object.defineProperty(InboundMapEntry.prototype, "key", { @@ -1237,21 +1237,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new InboundMapEntry instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.InboundMapEntry + * @memberof baml_bridge.cffi.v1.InboundMapEntry * @static - * @param {baml_core.cffi.v1.IInboundMapEntry=} [properties] Properties to set - * @returns {baml_core.cffi.v1.InboundMapEntry} InboundMapEntry instance + * @param {baml_bridge.cffi.v1.IInboundMapEntry=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.InboundMapEntry} InboundMapEntry instance */ InboundMapEntry.create = function create(properties) { return new InboundMapEntry(properties); }; /** - * Encodes the specified InboundMapEntry message. Does not implicitly {@link baml_core.cffi.v1.InboundMapEntry.verify|verify} messages. + * Encodes the specified InboundMapEntry message. Does not implicitly {@link baml_bridge.cffi.v1.InboundMapEntry.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.InboundMapEntry + * @memberof baml_bridge.cffi.v1.InboundMapEntry * @static - * @param {baml_core.cffi.v1.IInboundMapEntry} message InboundMapEntry message or plain object to encode + * @param {baml_bridge.cffi.v1.IInboundMapEntry} message InboundMapEntry message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -1269,18 +1269,18 @@ export const baml_core = $root.baml_core = (() => { if (message.boolKey != null && Object.hasOwnProperty.call(message, "boolKey")) writer.uint32(/* id 3, wireType 0 =*/24).bool(message.boolKey); if (message.enumKey != null && Object.hasOwnProperty.call(message, "enumKey")) - $root.baml_core.cffi.v1.InboundEnumValue.encode(message.enumKey, writer.uint32(/* id 5, wireType 2 =*/42).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.InboundEnumValue.encode(message.enumKey, writer.uint32(/* id 5, wireType 2 =*/42).fork(), q + 1).ldelim(); if (message.value != null && Object.hasOwnProperty.call(message, "value")) - $root.baml_core.cffi.v1.InboundValue.encode(message.value, writer.uint32(/* id 6, wireType 2 =*/50).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.InboundValue.encode(message.value, writer.uint32(/* id 6, wireType 2 =*/50).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified InboundMapEntry message, length delimited. Does not implicitly {@link baml_core.cffi.v1.InboundMapEntry.verify|verify} messages. + * Encodes the specified InboundMapEntry message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.InboundMapEntry.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.InboundMapEntry + * @memberof baml_bridge.cffi.v1.InboundMapEntry * @static - * @param {baml_core.cffi.v1.IInboundMapEntry} message InboundMapEntry message or plain object to encode + * @param {baml_bridge.cffi.v1.IInboundMapEntry} message InboundMapEntry message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -1291,11 +1291,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes an InboundMapEntry message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.InboundMapEntry + * @memberof baml_bridge.cffi.v1.InboundMapEntry * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.InboundMapEntry} InboundMapEntry + * @returns {baml_bridge.cffi.v1.InboundMapEntry} InboundMapEntry * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -1306,7 +1306,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.InboundMapEntry(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.InboundMapEntry(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -1325,11 +1325,11 @@ export const baml_core = $root.baml_core = (() => { break; } case 5: { - message.enumKey = $root.baml_core.cffi.v1.InboundEnumValue.decode(reader, reader.uint32(), undefined, long + 1); + message.enumKey = $root.baml_bridge.cffi.v1.InboundEnumValue.decode(reader, reader.uint32(), undefined, long + 1); break; } case 6: { - message.value = $root.baml_core.cffi.v1.InboundValue.decode(reader, reader.uint32(), undefined, long + 1); + message.value = $root.baml_bridge.cffi.v1.InboundValue.decode(reader, reader.uint32(), undefined, long + 1); break; } default: @@ -1343,10 +1343,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes an InboundMapEntry message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.InboundMapEntry + * @memberof baml_bridge.cffi.v1.InboundMapEntry * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.InboundMapEntry} InboundMapEntry + * @returns {baml_bridge.cffi.v1.InboundMapEntry} InboundMapEntry * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -1359,7 +1359,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies an InboundMapEntry message. * @function verify - * @memberof baml_core.cffi.v1.InboundMapEntry + * @memberof baml_bridge.cffi.v1.InboundMapEntry * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -1396,13 +1396,13 @@ export const baml_core = $root.baml_core = (() => { return "key: multiple values"; properties.key = 1; { - let error = $root.baml_core.cffi.v1.InboundEnumValue.verify(message.enumKey, long + 1); + let error = $root.baml_bridge.cffi.v1.InboundEnumValue.verify(message.enumKey, long + 1); if (error) return "enumKey." + error; } } if (message.value != null && message.hasOwnProperty("value")) { - let error = $root.baml_core.cffi.v1.InboundValue.verify(message.value, long + 1); + let error = $root.baml_bridge.cffi.v1.InboundValue.verify(message.value, long + 1); if (error) return "value." + error; } @@ -1412,21 +1412,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates an InboundMapEntry message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.InboundMapEntry + * @memberof baml_bridge.cffi.v1.InboundMapEntry * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.InboundMapEntry} InboundMapEntry + * @returns {baml_bridge.cffi.v1.InboundMapEntry} InboundMapEntry */ InboundMapEntry.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.InboundMapEntry) + if (object instanceof $root.baml_bridge.cffi.v1.InboundMapEntry) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.InboundMapEntry: object expected"); + throw TypeError(".baml_bridge.cffi.v1.InboundMapEntry: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.InboundMapEntry(); + let message = new $root.baml_bridge.cffi.v1.InboundMapEntry(); if (object.stringKey != null) message.stringKey = String(object.stringKey); if (object.intKey != null) @@ -1442,13 +1442,13 @@ export const baml_core = $root.baml_core = (() => { message.boolKey = Boolean(object.boolKey); if (object.enumKey != null) { if (!$util.isObject(object.enumKey)) - throw TypeError(".baml_core.cffi.v1.InboundMapEntry.enumKey: object expected"); - message.enumKey = $root.baml_core.cffi.v1.InboundEnumValue.fromObject(object.enumKey, long + 1); + throw TypeError(".baml_bridge.cffi.v1.InboundMapEntry.enumKey: object expected"); + message.enumKey = $root.baml_bridge.cffi.v1.InboundEnumValue.fromObject(object.enumKey, long + 1); } if (object.value != null) { if (!$util.isObject(object.value)) - throw TypeError(".baml_core.cffi.v1.InboundMapEntry.value: object expected"); - message.value = $root.baml_core.cffi.v1.InboundValue.fromObject(object.value, long + 1); + throw TypeError(".baml_bridge.cffi.v1.InboundMapEntry.value: object expected"); + message.value = $root.baml_bridge.cffi.v1.InboundValue.fromObject(object.value, long + 1); } return message; }; @@ -1456,9 +1456,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from an InboundMapEntry message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.InboundMapEntry + * @memberof baml_bridge.cffi.v1.InboundMapEntry * @static - * @param {baml_core.cffi.v1.InboundMapEntry} message InboundMapEntry + * @param {baml_bridge.cffi.v1.InboundMapEntry} message InboundMapEntry * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -1493,19 +1493,19 @@ export const baml_core = $root.baml_core = (() => { object.key = "boolKey"; } if (message.enumKey != null && message.hasOwnProperty("enumKey")) { - object.enumKey = $root.baml_core.cffi.v1.InboundEnumValue.toObject(message.enumKey, options, q + 1); + object.enumKey = $root.baml_bridge.cffi.v1.InboundEnumValue.toObject(message.enumKey, options, q + 1); if (options.oneofs) object.key = "enumKey"; } if (message.value != null && message.hasOwnProperty("value")) - object.value = $root.baml_core.cffi.v1.InboundValue.toObject(message.value, options, q + 1); + object.value = $root.baml_bridge.cffi.v1.InboundValue.toObject(message.value, options, q + 1); return object; }; /** * Converts this InboundMapEntry to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.InboundMapEntry + * @memberof baml_bridge.cffi.v1.InboundMapEntry * @instance * @returns {Object.} JSON object */ @@ -1516,7 +1516,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for InboundMapEntry * @function getTypeUrl - * @memberof baml_core.cffi.v1.InboundMapEntry + * @memberof baml_bridge.cffi.v1.InboundMapEntry * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -1525,7 +1525,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.InboundMapEntry"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.InboundMapEntry"; }; return InboundMapEntry; @@ -1535,19 +1535,19 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of an InboundClassValue. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IInboundClassValue - * @property {Array.|null} [fields] InboundClassValue fields - * @property {baml_core.cffi.v1.IBamlTyClass|null} [classTy] InboundClassValue classTy + * @property {Array.|null} [fields] InboundClassValue fields + * @property {baml_bridge.cffi.v1.IBamlTyClass|null} [classTy] InboundClassValue classTy */ /** * Constructs a new InboundClassValue. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents an InboundClassValue. * @implements IInboundClassValue * @constructor - * @param {baml_core.cffi.v1.IInboundClassValue=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IInboundClassValue=} [properties] Properties to set */ function InboundClassValue(properties) { this.fields = []; @@ -1559,16 +1559,16 @@ export const baml_core = $root.baml_core = (() => { /** * InboundClassValue fields. - * @member {Array.} fields - * @memberof baml_core.cffi.v1.InboundClassValue + * @member {Array.} fields + * @memberof baml_bridge.cffi.v1.InboundClassValue * @instance */ InboundClassValue.prototype.fields = $util.emptyArray; /** * InboundClassValue classTy. - * @member {baml_core.cffi.v1.IBamlTyClass|null|undefined} classTy - * @memberof baml_core.cffi.v1.InboundClassValue + * @member {baml_bridge.cffi.v1.IBamlTyClass|null|undefined} classTy + * @memberof baml_bridge.cffi.v1.InboundClassValue * @instance */ InboundClassValue.prototype.classTy = null; @@ -1576,21 +1576,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new InboundClassValue instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.InboundClassValue + * @memberof baml_bridge.cffi.v1.InboundClassValue * @static - * @param {baml_core.cffi.v1.IInboundClassValue=} [properties] Properties to set - * @returns {baml_core.cffi.v1.InboundClassValue} InboundClassValue instance + * @param {baml_bridge.cffi.v1.IInboundClassValue=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.InboundClassValue} InboundClassValue instance */ InboundClassValue.create = function create(properties) { return new InboundClassValue(properties); }; /** - * Encodes the specified InboundClassValue message. Does not implicitly {@link baml_core.cffi.v1.InboundClassValue.verify|verify} messages. + * Encodes the specified InboundClassValue message. Does not implicitly {@link baml_bridge.cffi.v1.InboundClassValue.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.InboundClassValue + * @memberof baml_bridge.cffi.v1.InboundClassValue * @static - * @param {baml_core.cffi.v1.IInboundClassValue} message InboundClassValue message or plain object to encode + * @param {baml_bridge.cffi.v1.IInboundClassValue} message InboundClassValue message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -1603,18 +1603,18 @@ export const baml_core = $root.baml_core = (() => { throw Error("max depth exceeded"); if (message.fields != null && message.fields.length) for (let i = 0; i < message.fields.length; ++i) - $root.baml_core.cffi.v1.InboundMapEntry.encode(message.fields[i], writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.InboundMapEntry.encode(message.fields[i], writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); if (message.classTy != null && Object.hasOwnProperty.call(message, "classTy")) - $root.baml_core.cffi.v1.BamlTyClass.encode(message.classTy, writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyClass.encode(message.classTy, writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified InboundClassValue message, length delimited. Does not implicitly {@link baml_core.cffi.v1.InboundClassValue.verify|verify} messages. + * Encodes the specified InboundClassValue message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.InboundClassValue.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.InboundClassValue + * @memberof baml_bridge.cffi.v1.InboundClassValue * @static - * @param {baml_core.cffi.v1.IInboundClassValue} message InboundClassValue message or plain object to encode + * @param {baml_bridge.cffi.v1.IInboundClassValue} message InboundClassValue message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -1625,11 +1625,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes an InboundClassValue message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.InboundClassValue + * @memberof baml_bridge.cffi.v1.InboundClassValue * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.InboundClassValue} InboundClassValue + * @returns {baml_bridge.cffi.v1.InboundClassValue} InboundClassValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -1640,7 +1640,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.InboundClassValue(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.InboundClassValue(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -1649,11 +1649,11 @@ export const baml_core = $root.baml_core = (() => { case 2: { if (!(message.fields && message.fields.length)) message.fields = []; - message.fields.push($root.baml_core.cffi.v1.InboundMapEntry.decode(reader, reader.uint32(), undefined, long + 1)); + message.fields.push($root.baml_bridge.cffi.v1.InboundMapEntry.decode(reader, reader.uint32(), undefined, long + 1)); break; } case 3: { - message.classTy = $root.baml_core.cffi.v1.BamlTyClass.decode(reader, reader.uint32(), undefined, long + 1); + message.classTy = $root.baml_bridge.cffi.v1.BamlTyClass.decode(reader, reader.uint32(), undefined, long + 1); break; } default: @@ -1667,10 +1667,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes an InboundClassValue message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.InboundClassValue + * @memberof baml_bridge.cffi.v1.InboundClassValue * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.InboundClassValue} InboundClassValue + * @returns {baml_bridge.cffi.v1.InboundClassValue} InboundClassValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -1683,7 +1683,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies an InboundClassValue message. * @function verify - * @memberof baml_core.cffi.v1.InboundClassValue + * @memberof baml_bridge.cffi.v1.InboundClassValue * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -1699,13 +1699,13 @@ export const baml_core = $root.baml_core = (() => { if (!Array.isArray(message.fields)) return "fields: array expected"; for (let i = 0; i < message.fields.length; ++i) { - let error = $root.baml_core.cffi.v1.InboundMapEntry.verify(message.fields[i], long + 1); + let error = $root.baml_bridge.cffi.v1.InboundMapEntry.verify(message.fields[i], long + 1); if (error) return "fields." + error; } } if (message.classTy != null && message.hasOwnProperty("classTy")) { - let error = $root.baml_core.cffi.v1.BamlTyClass.verify(message.classTy, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyClass.verify(message.classTy, long + 1); if (error) return "classTy." + error; } @@ -1715,35 +1715,35 @@ export const baml_core = $root.baml_core = (() => { /** * Creates an InboundClassValue message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.InboundClassValue + * @memberof baml_bridge.cffi.v1.InboundClassValue * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.InboundClassValue} InboundClassValue + * @returns {baml_bridge.cffi.v1.InboundClassValue} InboundClassValue */ InboundClassValue.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.InboundClassValue) + if (object instanceof $root.baml_bridge.cffi.v1.InboundClassValue) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.InboundClassValue: object expected"); + throw TypeError(".baml_bridge.cffi.v1.InboundClassValue: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.InboundClassValue(); + let message = new $root.baml_bridge.cffi.v1.InboundClassValue(); if (object.fields) { if (!Array.isArray(object.fields)) - throw TypeError(".baml_core.cffi.v1.InboundClassValue.fields: array expected"); + throw TypeError(".baml_bridge.cffi.v1.InboundClassValue.fields: array expected"); message.fields = []; for (let i = 0; i < object.fields.length; ++i) { if (!$util.isObject(object.fields[i])) - throw TypeError(".baml_core.cffi.v1.InboundClassValue.fields: object expected"); - message.fields[i] = $root.baml_core.cffi.v1.InboundMapEntry.fromObject(object.fields[i], long + 1); + throw TypeError(".baml_bridge.cffi.v1.InboundClassValue.fields: object expected"); + message.fields[i] = $root.baml_bridge.cffi.v1.InboundMapEntry.fromObject(object.fields[i], long + 1); } } if (object.classTy != null) { if (!$util.isObject(object.classTy)) - throw TypeError(".baml_core.cffi.v1.InboundClassValue.classTy: object expected"); - message.classTy = $root.baml_core.cffi.v1.BamlTyClass.fromObject(object.classTy, long + 1); + throw TypeError(".baml_bridge.cffi.v1.InboundClassValue.classTy: object expected"); + message.classTy = $root.baml_bridge.cffi.v1.BamlTyClass.fromObject(object.classTy, long + 1); } return message; }; @@ -1751,9 +1751,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from an InboundClassValue message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.InboundClassValue + * @memberof baml_bridge.cffi.v1.InboundClassValue * @static - * @param {baml_core.cffi.v1.InboundClassValue} message InboundClassValue + * @param {baml_bridge.cffi.v1.InboundClassValue} message InboundClassValue * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -1772,17 +1772,17 @@ export const baml_core = $root.baml_core = (() => { if (message.fields && message.fields.length) { object.fields = []; for (let j = 0; j < message.fields.length; ++j) - object.fields[j] = $root.baml_core.cffi.v1.InboundMapEntry.toObject(message.fields[j], options, q + 1); + object.fields[j] = $root.baml_bridge.cffi.v1.InboundMapEntry.toObject(message.fields[j], options, q + 1); } if (message.classTy != null && message.hasOwnProperty("classTy")) - object.classTy = $root.baml_core.cffi.v1.BamlTyClass.toObject(message.classTy, options, q + 1); + object.classTy = $root.baml_bridge.cffi.v1.BamlTyClass.toObject(message.classTy, options, q + 1); return object; }; /** * Converts this InboundClassValue to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.InboundClassValue + * @memberof baml_bridge.cffi.v1.InboundClassValue * @instance * @returns {Object.} JSON object */ @@ -1793,7 +1793,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for InboundClassValue * @function getTypeUrl - * @memberof baml_core.cffi.v1.InboundClassValue + * @memberof baml_bridge.cffi.v1.InboundClassValue * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -1802,7 +1802,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.InboundClassValue"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.InboundClassValue"; }; return InboundClassValue; @@ -1812,7 +1812,7 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of an InboundEnumValue. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IInboundEnumValue * @property {string|null} [name] InboundEnumValue name * @property {string|null} [value] InboundEnumValue value @@ -1820,11 +1820,11 @@ export const baml_core = $root.baml_core = (() => { /** * Constructs a new InboundEnumValue. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents an InboundEnumValue. * @implements IInboundEnumValue * @constructor - * @param {baml_core.cffi.v1.IInboundEnumValue=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IInboundEnumValue=} [properties] Properties to set */ function InboundEnumValue(properties) { if (properties) @@ -1836,7 +1836,7 @@ export const baml_core = $root.baml_core = (() => { /** * InboundEnumValue name. * @member {string} name - * @memberof baml_core.cffi.v1.InboundEnumValue + * @memberof baml_bridge.cffi.v1.InboundEnumValue * @instance */ InboundEnumValue.prototype.name = ""; @@ -1844,7 +1844,7 @@ export const baml_core = $root.baml_core = (() => { /** * InboundEnumValue value. * @member {string} value - * @memberof baml_core.cffi.v1.InboundEnumValue + * @memberof baml_bridge.cffi.v1.InboundEnumValue * @instance */ InboundEnumValue.prototype.value = ""; @@ -1852,21 +1852,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new InboundEnumValue instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.InboundEnumValue + * @memberof baml_bridge.cffi.v1.InboundEnumValue * @static - * @param {baml_core.cffi.v1.IInboundEnumValue=} [properties] Properties to set - * @returns {baml_core.cffi.v1.InboundEnumValue} InboundEnumValue instance + * @param {baml_bridge.cffi.v1.IInboundEnumValue=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.InboundEnumValue} InboundEnumValue instance */ InboundEnumValue.create = function create(properties) { return new InboundEnumValue(properties); }; /** - * Encodes the specified InboundEnumValue message. Does not implicitly {@link baml_core.cffi.v1.InboundEnumValue.verify|verify} messages. + * Encodes the specified InboundEnumValue message. Does not implicitly {@link baml_bridge.cffi.v1.InboundEnumValue.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.InboundEnumValue + * @memberof baml_bridge.cffi.v1.InboundEnumValue * @static - * @param {baml_core.cffi.v1.IInboundEnumValue} message InboundEnumValue message or plain object to encode + * @param {baml_bridge.cffi.v1.IInboundEnumValue} message InboundEnumValue message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -1885,11 +1885,11 @@ export const baml_core = $root.baml_core = (() => { }; /** - * Encodes the specified InboundEnumValue message, length delimited. Does not implicitly {@link baml_core.cffi.v1.InboundEnumValue.verify|verify} messages. + * Encodes the specified InboundEnumValue message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.InboundEnumValue.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.InboundEnumValue + * @memberof baml_bridge.cffi.v1.InboundEnumValue * @static - * @param {baml_core.cffi.v1.IInboundEnumValue} message InboundEnumValue message or plain object to encode + * @param {baml_bridge.cffi.v1.IInboundEnumValue} message InboundEnumValue message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -1900,11 +1900,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes an InboundEnumValue message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.InboundEnumValue + * @memberof baml_bridge.cffi.v1.InboundEnumValue * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.InboundEnumValue} InboundEnumValue + * @returns {baml_bridge.cffi.v1.InboundEnumValue} InboundEnumValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -1915,7 +1915,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.InboundEnumValue(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.InboundEnumValue(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -1940,10 +1940,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes an InboundEnumValue message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.InboundEnumValue + * @memberof baml_bridge.cffi.v1.InboundEnumValue * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.InboundEnumValue} InboundEnumValue + * @returns {baml_bridge.cffi.v1.InboundEnumValue} InboundEnumValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -1956,7 +1956,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies an InboundEnumValue message. * @function verify - * @memberof baml_core.cffi.v1.InboundEnumValue + * @memberof baml_bridge.cffi.v1.InboundEnumValue * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -1980,21 +1980,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates an InboundEnumValue message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.InboundEnumValue + * @memberof baml_bridge.cffi.v1.InboundEnumValue * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.InboundEnumValue} InboundEnumValue + * @returns {baml_bridge.cffi.v1.InboundEnumValue} InboundEnumValue */ InboundEnumValue.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.InboundEnumValue) + if (object instanceof $root.baml_bridge.cffi.v1.InboundEnumValue) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.InboundEnumValue: object expected"); + throw TypeError(".baml_bridge.cffi.v1.InboundEnumValue: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.InboundEnumValue(); + let message = new $root.baml_bridge.cffi.v1.InboundEnumValue(); if (object.name != null) message.name = String(object.name); if (object.value != null) @@ -2005,9 +2005,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from an InboundEnumValue message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.InboundEnumValue + * @memberof baml_bridge.cffi.v1.InboundEnumValue * @static - * @param {baml_core.cffi.v1.InboundEnumValue} message InboundEnumValue + * @param {baml_bridge.cffi.v1.InboundEnumValue} message InboundEnumValue * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -2033,7 +2033,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this InboundEnumValue to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.InboundEnumValue + * @memberof baml_bridge.cffi.v1.InboundEnumValue * @instance * @returns {Object.} JSON object */ @@ -2044,7 +2044,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for InboundEnumValue * @function getTypeUrl - * @memberof baml_core.cffi.v1.InboundEnumValue + * @memberof baml_bridge.cffi.v1.InboundEnumValue * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -2053,7 +2053,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.InboundEnumValue"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.InboundEnumValue"; }; return InboundEnumValue; @@ -2063,19 +2063,19 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyArg. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyArg * @property {string|null} [typeVar] BamlTyArg typeVar - * @property {baml_core.cffi.v1.IBamlTy|null} [typeValue] BamlTyArg typeValue + * @property {baml_bridge.cffi.v1.IBamlTy|null} [typeValue] BamlTyArg typeValue */ /** * Constructs a new BamlTyArg. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyArg. * @implements IBamlTyArg * @constructor - * @param {baml_core.cffi.v1.IBamlTyArg=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyArg=} [properties] Properties to set */ function BamlTyArg(properties) { if (properties) @@ -2087,15 +2087,15 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyArg typeVar. * @member {string} typeVar - * @memberof baml_core.cffi.v1.BamlTyArg + * @memberof baml_bridge.cffi.v1.BamlTyArg * @instance */ BamlTyArg.prototype.typeVar = ""; /** * BamlTyArg typeValue. - * @member {baml_core.cffi.v1.IBamlTy|null|undefined} typeValue - * @memberof baml_core.cffi.v1.BamlTyArg + * @member {baml_bridge.cffi.v1.IBamlTy|null|undefined} typeValue + * @memberof baml_bridge.cffi.v1.BamlTyArg * @instance */ BamlTyArg.prototype.typeValue = null; @@ -2103,21 +2103,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyArg instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyArg + * @memberof baml_bridge.cffi.v1.BamlTyArg * @static - * @param {baml_core.cffi.v1.IBamlTyArg=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyArg} BamlTyArg instance + * @param {baml_bridge.cffi.v1.IBamlTyArg=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyArg} BamlTyArg instance */ BamlTyArg.create = function create(properties) { return new BamlTyArg(properties); }; /** - * Encodes the specified BamlTyArg message. Does not implicitly {@link baml_core.cffi.v1.BamlTyArg.verify|verify} messages. + * Encodes the specified BamlTyArg message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyArg.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyArg + * @memberof baml_bridge.cffi.v1.BamlTyArg * @static - * @param {baml_core.cffi.v1.IBamlTyArg} message BamlTyArg message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyArg} message BamlTyArg message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -2131,16 +2131,16 @@ export const baml_core = $root.baml_core = (() => { if (message.typeVar != null && Object.hasOwnProperty.call(message, "typeVar")) writer.uint32(/* id 1, wireType 2 =*/10).string(message.typeVar); if (message.typeValue != null && Object.hasOwnProperty.call(message, "typeValue")) - $root.baml_core.cffi.v1.BamlTy.encode(message.typeValue, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.typeValue, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlTyArg message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyArg.verify|verify} messages. + * Encodes the specified BamlTyArg message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyArg.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyArg + * @memberof baml_bridge.cffi.v1.BamlTyArg * @static - * @param {baml_core.cffi.v1.IBamlTyArg} message BamlTyArg message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyArg} message BamlTyArg message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -2151,11 +2151,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyArg message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyArg + * @memberof baml_bridge.cffi.v1.BamlTyArg * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyArg} BamlTyArg + * @returns {baml_bridge.cffi.v1.BamlTyArg} BamlTyArg * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -2166,7 +2166,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyArg(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyArg(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -2177,7 +2177,7 @@ export const baml_core = $root.baml_core = (() => { break; } case 2: { - message.typeValue = $root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); + message.typeValue = $root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); break; } default: @@ -2191,10 +2191,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyArg message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyArg + * @memberof baml_bridge.cffi.v1.BamlTyArg * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyArg} BamlTyArg + * @returns {baml_bridge.cffi.v1.BamlTyArg} BamlTyArg * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -2207,7 +2207,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyArg message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyArg + * @memberof baml_bridge.cffi.v1.BamlTyArg * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -2223,7 +2223,7 @@ export const baml_core = $root.baml_core = (() => { if (!$util.isString(message.typeVar)) return "typeVar: string expected"; if (message.typeValue != null && message.hasOwnProperty("typeValue")) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.typeValue, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.typeValue, long + 1); if (error) return "typeValue." + error; } @@ -2233,27 +2233,27 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyArg message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyArg + * @memberof baml_bridge.cffi.v1.BamlTyArg * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyArg} BamlTyArg + * @returns {baml_bridge.cffi.v1.BamlTyArg} BamlTyArg */ BamlTyArg.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyArg) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyArg) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyArg: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyArg: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlTyArg(); + let message = new $root.baml_bridge.cffi.v1.BamlTyArg(); if (object.typeVar != null) message.typeVar = String(object.typeVar); if (object.typeValue != null) { if (!$util.isObject(object.typeValue)) - throw TypeError(".baml_core.cffi.v1.BamlTyArg.typeValue: object expected"); - message.typeValue = $root.baml_core.cffi.v1.BamlTy.fromObject(object.typeValue, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTyArg.typeValue: object expected"); + message.typeValue = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.typeValue, long + 1); } return message; }; @@ -2261,9 +2261,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlTyArg message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyArg + * @memberof baml_bridge.cffi.v1.BamlTyArg * @static - * @param {baml_core.cffi.v1.BamlTyArg} message BamlTyArg + * @param {baml_bridge.cffi.v1.BamlTyArg} message BamlTyArg * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -2282,14 +2282,14 @@ export const baml_core = $root.baml_core = (() => { if (message.typeVar != null && message.hasOwnProperty("typeVar")) object.typeVar = message.typeVar; if (message.typeValue != null && message.hasOwnProperty("typeValue")) - object.typeValue = $root.baml_core.cffi.v1.BamlTy.toObject(message.typeValue, options, q + 1); + object.typeValue = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.typeValue, options, q + 1); return object; }; /** * Converts this BamlTyArg to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyArg + * @memberof baml_bridge.cffi.v1.BamlTyArg * @instance * @returns {Object.} JSON object */ @@ -2300,7 +2300,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyArg * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyArg + * @memberof baml_bridge.cffi.v1.BamlTyArg * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -2309,7 +2309,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyArg"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyArg"; }; return BamlTyArg; @@ -2319,20 +2319,20 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a CallFunctionArgs. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface ICallFunctionArgs - * @property {Array.|null} [kwargs] CallFunctionArgs kwargs + * @property {Array.|null} [kwargs] CallFunctionArgs kwargs * @property {number|Long|null} [callId] CallFunctionArgs callId - * @property {Array.|null} [typeArgs] CallFunctionArgs typeArgs + * @property {Array.|null} [typeArgs] CallFunctionArgs typeArgs */ /** * Constructs a new CallFunctionArgs. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a CallFunctionArgs. * @implements ICallFunctionArgs * @constructor - * @param {baml_core.cffi.v1.ICallFunctionArgs=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.ICallFunctionArgs=} [properties] Properties to set */ function CallFunctionArgs(properties) { this.kwargs = []; @@ -2345,8 +2345,8 @@ export const baml_core = $root.baml_core = (() => { /** * CallFunctionArgs kwargs. - * @member {Array.} kwargs - * @memberof baml_core.cffi.v1.CallFunctionArgs + * @member {Array.} kwargs + * @memberof baml_bridge.cffi.v1.CallFunctionArgs * @instance */ CallFunctionArgs.prototype.kwargs = $util.emptyArray; @@ -2354,15 +2354,15 @@ export const baml_core = $root.baml_core = (() => { /** * CallFunctionArgs callId. * @member {number|Long} callId - * @memberof baml_core.cffi.v1.CallFunctionArgs + * @memberof baml_bridge.cffi.v1.CallFunctionArgs * @instance */ CallFunctionArgs.prototype.callId = $util.Long ? $util.Long.fromBits(0,0,true) : 0; /** * CallFunctionArgs typeArgs. - * @member {Array.} typeArgs - * @memberof baml_core.cffi.v1.CallFunctionArgs + * @member {Array.} typeArgs + * @memberof baml_bridge.cffi.v1.CallFunctionArgs * @instance */ CallFunctionArgs.prototype.typeArgs = $util.emptyArray; @@ -2370,21 +2370,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new CallFunctionArgs instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.CallFunctionArgs + * @memberof baml_bridge.cffi.v1.CallFunctionArgs * @static - * @param {baml_core.cffi.v1.ICallFunctionArgs=} [properties] Properties to set - * @returns {baml_core.cffi.v1.CallFunctionArgs} CallFunctionArgs instance + * @param {baml_bridge.cffi.v1.ICallFunctionArgs=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.CallFunctionArgs} CallFunctionArgs instance */ CallFunctionArgs.create = function create(properties) { return new CallFunctionArgs(properties); }; /** - * Encodes the specified CallFunctionArgs message. Does not implicitly {@link baml_core.cffi.v1.CallFunctionArgs.verify|verify} messages. + * Encodes the specified CallFunctionArgs message. Does not implicitly {@link baml_bridge.cffi.v1.CallFunctionArgs.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.CallFunctionArgs + * @memberof baml_bridge.cffi.v1.CallFunctionArgs * @static - * @param {baml_core.cffi.v1.ICallFunctionArgs} message CallFunctionArgs message or plain object to encode + * @param {baml_bridge.cffi.v1.ICallFunctionArgs} message CallFunctionArgs message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -2397,21 +2397,21 @@ export const baml_core = $root.baml_core = (() => { throw Error("max depth exceeded"); if (message.kwargs != null && message.kwargs.length) for (let i = 0; i < message.kwargs.length; ++i) - $root.baml_core.cffi.v1.InboundMapEntry.encode(message.kwargs[i], writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.InboundMapEntry.encode(message.kwargs[i], writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); if (message.callId != null && Object.hasOwnProperty.call(message, "callId")) writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.callId); if (message.typeArgs != null && message.typeArgs.length) for (let i = 0; i < message.typeArgs.length; ++i) - $root.baml_core.cffi.v1.BamlTyArg.encode(message.typeArgs[i], writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyArg.encode(message.typeArgs[i], writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified CallFunctionArgs message, length delimited. Does not implicitly {@link baml_core.cffi.v1.CallFunctionArgs.verify|verify} messages. + * Encodes the specified CallFunctionArgs message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.CallFunctionArgs.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.CallFunctionArgs + * @memberof baml_bridge.cffi.v1.CallFunctionArgs * @static - * @param {baml_core.cffi.v1.ICallFunctionArgs} message CallFunctionArgs message or plain object to encode + * @param {baml_bridge.cffi.v1.ICallFunctionArgs} message CallFunctionArgs message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -2422,11 +2422,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a CallFunctionArgs message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.CallFunctionArgs + * @memberof baml_bridge.cffi.v1.CallFunctionArgs * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.CallFunctionArgs} CallFunctionArgs + * @returns {baml_bridge.cffi.v1.CallFunctionArgs} CallFunctionArgs * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -2437,7 +2437,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.CallFunctionArgs(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.CallFunctionArgs(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -2446,7 +2446,7 @@ export const baml_core = $root.baml_core = (() => { case 1: { if (!(message.kwargs && message.kwargs.length)) message.kwargs = []; - message.kwargs.push($root.baml_core.cffi.v1.InboundMapEntry.decode(reader, reader.uint32(), undefined, long + 1)); + message.kwargs.push($root.baml_bridge.cffi.v1.InboundMapEntry.decode(reader, reader.uint32(), undefined, long + 1)); break; } case 2: { @@ -2456,7 +2456,7 @@ export const baml_core = $root.baml_core = (() => { case 3: { if (!(message.typeArgs && message.typeArgs.length)) message.typeArgs = []; - message.typeArgs.push($root.baml_core.cffi.v1.BamlTyArg.decode(reader, reader.uint32(), undefined, long + 1)); + message.typeArgs.push($root.baml_bridge.cffi.v1.BamlTyArg.decode(reader, reader.uint32(), undefined, long + 1)); break; } default: @@ -2470,10 +2470,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a CallFunctionArgs message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.CallFunctionArgs + * @memberof baml_bridge.cffi.v1.CallFunctionArgs * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.CallFunctionArgs} CallFunctionArgs + * @returns {baml_bridge.cffi.v1.CallFunctionArgs} CallFunctionArgs * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -2486,7 +2486,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a CallFunctionArgs message. * @function verify - * @memberof baml_core.cffi.v1.CallFunctionArgs + * @memberof baml_bridge.cffi.v1.CallFunctionArgs * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -2502,7 +2502,7 @@ export const baml_core = $root.baml_core = (() => { if (!Array.isArray(message.kwargs)) return "kwargs: array expected"; for (let i = 0; i < message.kwargs.length; ++i) { - let error = $root.baml_core.cffi.v1.InboundMapEntry.verify(message.kwargs[i], long + 1); + let error = $root.baml_bridge.cffi.v1.InboundMapEntry.verify(message.kwargs[i], long + 1); if (error) return "kwargs." + error; } @@ -2514,7 +2514,7 @@ export const baml_core = $root.baml_core = (() => { if (!Array.isArray(message.typeArgs)) return "typeArgs: array expected"; for (let i = 0; i < message.typeArgs.length; ++i) { - let error = $root.baml_core.cffi.v1.BamlTyArg.verify(message.typeArgs[i], long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyArg.verify(message.typeArgs[i], long + 1); if (error) return "typeArgs." + error; } @@ -2525,29 +2525,29 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a CallFunctionArgs message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.CallFunctionArgs + * @memberof baml_bridge.cffi.v1.CallFunctionArgs * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.CallFunctionArgs} CallFunctionArgs + * @returns {baml_bridge.cffi.v1.CallFunctionArgs} CallFunctionArgs */ CallFunctionArgs.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.CallFunctionArgs) + if (object instanceof $root.baml_bridge.cffi.v1.CallFunctionArgs) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.CallFunctionArgs: object expected"); + throw TypeError(".baml_bridge.cffi.v1.CallFunctionArgs: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.CallFunctionArgs(); + let message = new $root.baml_bridge.cffi.v1.CallFunctionArgs(); if (object.kwargs) { if (!Array.isArray(object.kwargs)) - throw TypeError(".baml_core.cffi.v1.CallFunctionArgs.kwargs: array expected"); + throw TypeError(".baml_bridge.cffi.v1.CallFunctionArgs.kwargs: array expected"); message.kwargs = []; for (let i = 0; i < object.kwargs.length; ++i) { if (!$util.isObject(object.kwargs[i])) - throw TypeError(".baml_core.cffi.v1.CallFunctionArgs.kwargs: object expected"); - message.kwargs[i] = $root.baml_core.cffi.v1.InboundMapEntry.fromObject(object.kwargs[i], long + 1); + throw TypeError(".baml_bridge.cffi.v1.CallFunctionArgs.kwargs: object expected"); + message.kwargs[i] = $root.baml_bridge.cffi.v1.InboundMapEntry.fromObject(object.kwargs[i], long + 1); } } if (object.callId != null) @@ -2561,12 +2561,12 @@ export const baml_core = $root.baml_core = (() => { message.callId = new $util.LongBits(object.callId.low >>> 0, object.callId.high >>> 0).toNumber(true); if (object.typeArgs) { if (!Array.isArray(object.typeArgs)) - throw TypeError(".baml_core.cffi.v1.CallFunctionArgs.typeArgs: array expected"); + throw TypeError(".baml_bridge.cffi.v1.CallFunctionArgs.typeArgs: array expected"); message.typeArgs = []; for (let i = 0; i < object.typeArgs.length; ++i) { if (!$util.isObject(object.typeArgs[i])) - throw TypeError(".baml_core.cffi.v1.CallFunctionArgs.typeArgs: object expected"); - message.typeArgs[i] = $root.baml_core.cffi.v1.BamlTyArg.fromObject(object.typeArgs[i], long + 1); + throw TypeError(".baml_bridge.cffi.v1.CallFunctionArgs.typeArgs: object expected"); + message.typeArgs[i] = $root.baml_bridge.cffi.v1.BamlTyArg.fromObject(object.typeArgs[i], long + 1); } } return message; @@ -2575,9 +2575,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a CallFunctionArgs message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.CallFunctionArgs + * @memberof baml_bridge.cffi.v1.CallFunctionArgs * @static - * @param {baml_core.cffi.v1.CallFunctionArgs} message CallFunctionArgs + * @param {baml_bridge.cffi.v1.CallFunctionArgs} message CallFunctionArgs * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -2602,7 +2602,7 @@ export const baml_core = $root.baml_core = (() => { if (message.kwargs && message.kwargs.length) { object.kwargs = []; for (let j = 0; j < message.kwargs.length; ++j) - object.kwargs[j] = $root.baml_core.cffi.v1.InboundMapEntry.toObject(message.kwargs[j], options, q + 1); + object.kwargs[j] = $root.baml_bridge.cffi.v1.InboundMapEntry.toObject(message.kwargs[j], options, q + 1); } if (message.callId != null && message.hasOwnProperty("callId")) if (typeof BigInt !== "undefined" && options.longs === BigInt) @@ -2614,7 +2614,7 @@ export const baml_core = $root.baml_core = (() => { if (message.typeArgs && message.typeArgs.length) { object.typeArgs = []; for (let j = 0; j < message.typeArgs.length; ++j) - object.typeArgs[j] = $root.baml_core.cffi.v1.BamlTyArg.toObject(message.typeArgs[j], options, q + 1); + object.typeArgs[j] = $root.baml_bridge.cffi.v1.BamlTyArg.toObject(message.typeArgs[j], options, q + 1); } return object; }; @@ -2622,7 +2622,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this CallFunctionArgs to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.CallFunctionArgs + * @memberof baml_bridge.cffi.v1.CallFunctionArgs * @instance * @returns {Object.} JSON object */ @@ -2633,7 +2633,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for CallFunctionArgs * @function getTypeUrl - * @memberof baml_core.cffi.v1.CallFunctionArgs + * @memberof baml_bridge.cffi.v1.CallFunctionArgs * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -2642,7 +2642,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.CallFunctionArgs"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.CallFunctionArgs"; }; return CallFunctionArgs; @@ -2652,18 +2652,18 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a CallAck. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface ICallAck * @property {string|null} [error] CallAck error */ /** * Constructs a new CallAck. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a CallAck. * @implements ICallAck * @constructor - * @param {baml_core.cffi.v1.ICallAck=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.ICallAck=} [properties] Properties to set */ function CallAck(properties) { if (properties) @@ -2675,7 +2675,7 @@ export const baml_core = $root.baml_core = (() => { /** * CallAck error. * @member {string|null|undefined} error - * @memberof baml_core.cffi.v1.CallAck + * @memberof baml_bridge.cffi.v1.CallAck * @instance */ CallAck.prototype.error = null; @@ -2686,7 +2686,7 @@ export const baml_core = $root.baml_core = (() => { /** * CallAck response. * @member {"error"|undefined} response - * @memberof baml_core.cffi.v1.CallAck + * @memberof baml_bridge.cffi.v1.CallAck * @instance */ Object.defineProperty(CallAck.prototype, "response", { @@ -2697,21 +2697,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new CallAck instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.CallAck + * @memberof baml_bridge.cffi.v1.CallAck * @static - * @param {baml_core.cffi.v1.ICallAck=} [properties] Properties to set - * @returns {baml_core.cffi.v1.CallAck} CallAck instance + * @param {baml_bridge.cffi.v1.ICallAck=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.CallAck} CallAck instance */ CallAck.create = function create(properties) { return new CallAck(properties); }; /** - * Encodes the specified CallAck message. Does not implicitly {@link baml_core.cffi.v1.CallAck.verify|verify} messages. + * Encodes the specified CallAck message. Does not implicitly {@link baml_bridge.cffi.v1.CallAck.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.CallAck + * @memberof baml_bridge.cffi.v1.CallAck * @static - * @param {baml_core.cffi.v1.ICallAck} message CallAck message or plain object to encode + * @param {baml_bridge.cffi.v1.ICallAck} message CallAck message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -2728,11 +2728,11 @@ export const baml_core = $root.baml_core = (() => { }; /** - * Encodes the specified CallAck message, length delimited. Does not implicitly {@link baml_core.cffi.v1.CallAck.verify|verify} messages. + * Encodes the specified CallAck message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.CallAck.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.CallAck + * @memberof baml_bridge.cffi.v1.CallAck * @static - * @param {baml_core.cffi.v1.ICallAck} message CallAck message or plain object to encode + * @param {baml_bridge.cffi.v1.ICallAck} message CallAck message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -2743,11 +2743,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a CallAck message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.CallAck + * @memberof baml_bridge.cffi.v1.CallAck * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.CallAck} CallAck + * @returns {baml_bridge.cffi.v1.CallAck} CallAck * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -2758,7 +2758,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.CallAck(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.CallAck(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -2779,10 +2779,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a CallAck message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.CallAck + * @memberof baml_bridge.cffi.v1.CallAck * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.CallAck} CallAck + * @returns {baml_bridge.cffi.v1.CallAck} CallAck * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -2795,7 +2795,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a CallAck message. * @function verify - * @memberof baml_core.cffi.v1.CallAck + * @memberof baml_bridge.cffi.v1.CallAck * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -2819,21 +2819,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a CallAck message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.CallAck + * @memberof baml_bridge.cffi.v1.CallAck * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.CallAck} CallAck + * @returns {baml_bridge.cffi.v1.CallAck} CallAck */ CallAck.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.CallAck) + if (object instanceof $root.baml_bridge.cffi.v1.CallAck) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.CallAck: object expected"); + throw TypeError(".baml_bridge.cffi.v1.CallAck: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.CallAck(); + let message = new $root.baml_bridge.cffi.v1.CallAck(); if (object.error != null) message.error = String(object.error); return message; @@ -2842,9 +2842,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a CallAck message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.CallAck + * @memberof baml_bridge.cffi.v1.CallAck * @static - * @param {baml_core.cffi.v1.CallAck} message CallAck + * @param {baml_bridge.cffi.v1.CallAck} message CallAck * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -2867,7 +2867,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this CallAck to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.CallAck + * @memberof baml_bridge.cffi.v1.CallAck * @instance * @returns {Object.} JSON object */ @@ -2878,7 +2878,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for CallAck * @function getTypeUrl - * @memberof baml_core.cffi.v1.CallAck + * @memberof baml_bridge.cffi.v1.CallAck * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -2887,7 +2887,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.CallAck"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.CallAck"; }; return CallAck; @@ -2895,7 +2895,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlHandleType enum. - * @name baml_core.cffi.v1.BamlHandleType + * @name baml_bridge.cffi.v1.BamlHandleType * @enum {number} * @property {number} HANDLE_UNSPECIFIED=0 HANDLE_UNSPECIFIED value * @property {number} UNTAGGED_RUST_DATA=1 UNTAGGED_RUST_DATA value @@ -2937,19 +2937,19 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlHandle. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlHandle * @property {number|Long|null} [key] BamlHandle key - * @property {baml_core.cffi.v1.BamlHandleType|null} [handleType] BamlHandle handleType + * @property {baml_bridge.cffi.v1.BamlHandleType|null} [handleType] BamlHandle handleType */ /** * Constructs a new BamlHandle. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlHandle. * @implements IBamlHandle * @constructor - * @param {baml_core.cffi.v1.IBamlHandle=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlHandle=} [properties] Properties to set */ function BamlHandle(properties) { if (properties) @@ -2961,15 +2961,15 @@ export const baml_core = $root.baml_core = (() => { /** * BamlHandle key. * @member {number|Long} key - * @memberof baml_core.cffi.v1.BamlHandle + * @memberof baml_bridge.cffi.v1.BamlHandle * @instance */ BamlHandle.prototype.key = $util.Long ? $util.Long.fromBits(0,0,true) : 0; /** * BamlHandle handleType. - * @member {baml_core.cffi.v1.BamlHandleType} handleType - * @memberof baml_core.cffi.v1.BamlHandle + * @member {baml_bridge.cffi.v1.BamlHandleType} handleType + * @memberof baml_bridge.cffi.v1.BamlHandle * @instance */ BamlHandle.prototype.handleType = 0; @@ -2977,21 +2977,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlHandle instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlHandle + * @memberof baml_bridge.cffi.v1.BamlHandle * @static - * @param {baml_core.cffi.v1.IBamlHandle=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlHandle} BamlHandle instance + * @param {baml_bridge.cffi.v1.IBamlHandle=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlHandle} BamlHandle instance */ BamlHandle.create = function create(properties) { return new BamlHandle(properties); }; /** - * Encodes the specified BamlHandle message. Does not implicitly {@link baml_core.cffi.v1.BamlHandle.verify|verify} messages. + * Encodes the specified BamlHandle message. Does not implicitly {@link baml_bridge.cffi.v1.BamlHandle.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlHandle + * @memberof baml_bridge.cffi.v1.BamlHandle * @static - * @param {baml_core.cffi.v1.IBamlHandle} message BamlHandle message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlHandle} message BamlHandle message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -3010,11 +3010,11 @@ export const baml_core = $root.baml_core = (() => { }; /** - * Encodes the specified BamlHandle message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlHandle.verify|verify} messages. + * Encodes the specified BamlHandle message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlHandle.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlHandle + * @memberof baml_bridge.cffi.v1.BamlHandle * @static - * @param {baml_core.cffi.v1.IBamlHandle} message BamlHandle message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlHandle} message BamlHandle message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -3025,11 +3025,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlHandle message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlHandle + * @memberof baml_bridge.cffi.v1.BamlHandle * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlHandle} BamlHandle + * @returns {baml_bridge.cffi.v1.BamlHandle} BamlHandle * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -3040,7 +3040,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlHandle(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlHandle(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -3065,10 +3065,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlHandle message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlHandle + * @memberof baml_bridge.cffi.v1.BamlHandle * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlHandle} BamlHandle + * @returns {baml_bridge.cffi.v1.BamlHandle} BamlHandle * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -3081,7 +3081,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlHandle message. * @function verify - * @memberof baml_core.cffi.v1.BamlHandle + * @memberof baml_bridge.cffi.v1.BamlHandle * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -3123,21 +3123,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlHandle message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlHandle + * @memberof baml_bridge.cffi.v1.BamlHandle * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlHandle} BamlHandle + * @returns {baml_bridge.cffi.v1.BamlHandle} BamlHandle */ BamlHandle.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlHandle) + if (object instanceof $root.baml_bridge.cffi.v1.BamlHandle) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlHandle: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlHandle: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlHandle(); + let message = new $root.baml_bridge.cffi.v1.BamlHandle(); if (object.key != null) if ($util.Long) message.key = $util.Long.fromValue(object.key, true); @@ -3221,9 +3221,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlHandle message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlHandle + * @memberof baml_bridge.cffi.v1.BamlHandle * @static - * @param {baml_core.cffi.v1.BamlHandle} message BamlHandle + * @param {baml_bridge.cffi.v1.BamlHandle} message BamlHandle * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -3251,14 +3251,14 @@ export const baml_core = $root.baml_core = (() => { else object.key = options.longs === String ? $util.Long.prototype.toString.call(message.key) : options.longs === Number ? new $util.LongBits(message.key.low >>> 0, message.key.high >>> 0).toNumber(true) : message.key; if (message.handleType != null && message.hasOwnProperty("handleType")) - object.handleType = options.enums === String ? $root.baml_core.cffi.v1.BamlHandleType[message.handleType] === undefined ? message.handleType : $root.baml_core.cffi.v1.BamlHandleType[message.handleType] : message.handleType; + object.handleType = options.enums === String ? $root.baml_bridge.cffi.v1.BamlHandleType[message.handleType] === undefined ? message.handleType : $root.baml_bridge.cffi.v1.BamlHandleType[message.handleType] : message.handleType; return object; }; /** * Converts this BamlHandle to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlHandle + * @memberof baml_bridge.cffi.v1.BamlHandle * @instance * @returns {Object.} JSON object */ @@ -3269,7 +3269,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlHandle * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlHandle + * @memberof baml_bridge.cffi.v1.BamlHandle * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -3278,7 +3278,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlHandle"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlHandle"; }; return BamlHandle; @@ -3288,41 +3288,41 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTy. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTy - * @property {baml_core.cffi.v1.IBamlTyPrimitive|null} [primitive] BamlTy primitive - * @property {baml_core.cffi.v1.IBamlTyClass|null} [classTy] BamlTy classTy - * @property {baml_core.cffi.v1.IBamlTyEnum|null} ["enum"] BamlTy enum - * @property {baml_core.cffi.v1.IBamlTyList|null} [list] BamlTy list - * @property {baml_core.cffi.v1.IBamlTyMap|null} [map] BamlTy map - * @property {baml_core.cffi.v1.IBamlTyOptional|null} [optional] BamlTy optional - * @property {baml_core.cffi.v1.IBamlTyUnion|null} [union] BamlTy union - * @property {baml_core.cffi.v1.IBamlTyLiteral|null} [literal] BamlTy literal - * @property {baml_core.cffi.v1.IBamlTyTypeAlias|null} [typeAlias] BamlTy typeAlias - * @property {baml_core.cffi.v1.IBamlTyUnknown|null} [unknown] BamlTy unknown - * @property {baml_core.cffi.v1.IBamlTyMedia|null} [media] BamlTy media - * @property {baml_core.cffi.v1.IBamlTyInterface|null} ["interface"] BamlTy interface - * @property {baml_core.cffi.v1.IBamlTyEnumVariant|null} [enumVariant] BamlTy enumVariant - * @property {baml_core.cffi.v1.IBamlTyFunction|null} ["function"] BamlTy function - * @property {baml_core.cffi.v1.IBamlTyFuture|null} [future] BamlTy future - * @property {baml_core.cffi.v1.IBamlTyRustType|null} [rustType] BamlTy rustType - * @property {baml_core.cffi.v1.IBamlTyMetaType|null} [metaType] BamlTy metaType - * @property {baml_core.cffi.v1.IBamlTyResource|null} [resource] BamlTy resource - * @property {baml_core.cffi.v1.IBamlTyPromptAst|null} [promptAst] BamlTy promptAst - * @property {baml_core.cffi.v1.IBamlTyVoid|null} ["void"] BamlTy void - * @property {baml_core.cffi.v1.IBamlTyWatchAccessor|null} [watchAccessor] BamlTy watchAccessor - * @property {baml_core.cffi.v1.IBamlTyTypeVar|null} [typeVar] BamlTy typeVar - * @property {baml_core.cffi.v1.IBamlTyAssociatedTypeProjection|null} [associatedTypeProjection] BamlTy associatedTypeProjection - * @property {baml_core.cffi.v1.IBamlTyNever|null} [never] BamlTy never + * @property {baml_bridge.cffi.v1.IBamlTyPrimitive|null} [primitive] BamlTy primitive + * @property {baml_bridge.cffi.v1.IBamlTyClass|null} [classTy] BamlTy classTy + * @property {baml_bridge.cffi.v1.IBamlTyEnum|null} ["enum"] BamlTy enum + * @property {baml_bridge.cffi.v1.IBamlTyList|null} [list] BamlTy list + * @property {baml_bridge.cffi.v1.IBamlTyMap|null} [map] BamlTy map + * @property {baml_bridge.cffi.v1.IBamlTyOptional|null} [optional] BamlTy optional + * @property {baml_bridge.cffi.v1.IBamlTyUnion|null} [union] BamlTy union + * @property {baml_bridge.cffi.v1.IBamlTyLiteral|null} [literal] BamlTy literal + * @property {baml_bridge.cffi.v1.IBamlTyTypeAlias|null} [typeAlias] BamlTy typeAlias + * @property {baml_bridge.cffi.v1.IBamlTyUnknown|null} [unknown] BamlTy unknown + * @property {baml_bridge.cffi.v1.IBamlTyMedia|null} [media] BamlTy media + * @property {baml_bridge.cffi.v1.IBamlTyInterface|null} ["interface"] BamlTy interface + * @property {baml_bridge.cffi.v1.IBamlTyEnumVariant|null} [enumVariant] BamlTy enumVariant + * @property {baml_bridge.cffi.v1.IBamlTyFunction|null} ["function"] BamlTy function + * @property {baml_bridge.cffi.v1.IBamlTyFuture|null} [future] BamlTy future + * @property {baml_bridge.cffi.v1.IBamlTyRustType|null} [rustType] BamlTy rustType + * @property {baml_bridge.cffi.v1.IBamlTyMetaType|null} [metaType] BamlTy metaType + * @property {baml_bridge.cffi.v1.IBamlTyResource|null} [resource] BamlTy resource + * @property {baml_bridge.cffi.v1.IBamlTyPromptAst|null} [promptAst] BamlTy promptAst + * @property {baml_bridge.cffi.v1.IBamlTyVoid|null} ["void"] BamlTy void + * @property {baml_bridge.cffi.v1.IBamlTyWatchAccessor|null} [watchAccessor] BamlTy watchAccessor + * @property {baml_bridge.cffi.v1.IBamlTyTypeVar|null} [typeVar] BamlTy typeVar + * @property {baml_bridge.cffi.v1.IBamlTyAssociatedTypeProjection|null} [associatedTypeProjection] BamlTy associatedTypeProjection + * @property {baml_bridge.cffi.v1.IBamlTyNever|null} [never] BamlTy never */ /** * Constructs a new BamlTy. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTy. * @implements IBamlTy * @constructor - * @param {baml_core.cffi.v1.IBamlTy=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTy=} [properties] Properties to set */ function BamlTy(properties) { if (properties) @@ -3333,192 +3333,192 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTy primitive. - * @member {baml_core.cffi.v1.IBamlTyPrimitive|null|undefined} primitive - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyPrimitive|null|undefined} primitive + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype.primitive = null; /** * BamlTy classTy. - * @member {baml_core.cffi.v1.IBamlTyClass|null|undefined} classTy - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyClass|null|undefined} classTy + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype.classTy = null; /** * BamlTy enum. - * @member {baml_core.cffi.v1.IBamlTyEnum|null|undefined} enum - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyEnum|null|undefined} enum + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype["enum"] = null; /** * BamlTy list. - * @member {baml_core.cffi.v1.IBamlTyList|null|undefined} list - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyList|null|undefined} list + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype.list = null; /** * BamlTy map. - * @member {baml_core.cffi.v1.IBamlTyMap|null|undefined} map - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyMap|null|undefined} map + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype.map = null; /** * BamlTy optional. - * @member {baml_core.cffi.v1.IBamlTyOptional|null|undefined} optional - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyOptional|null|undefined} optional + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype.optional = null; /** * BamlTy union. - * @member {baml_core.cffi.v1.IBamlTyUnion|null|undefined} union - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyUnion|null|undefined} union + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype.union = null; /** * BamlTy literal. - * @member {baml_core.cffi.v1.IBamlTyLiteral|null|undefined} literal - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyLiteral|null|undefined} literal + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype.literal = null; /** * BamlTy typeAlias. - * @member {baml_core.cffi.v1.IBamlTyTypeAlias|null|undefined} typeAlias - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyTypeAlias|null|undefined} typeAlias + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype.typeAlias = null; /** * BamlTy unknown. - * @member {baml_core.cffi.v1.IBamlTyUnknown|null|undefined} unknown - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyUnknown|null|undefined} unknown + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype.unknown = null; /** * BamlTy media. - * @member {baml_core.cffi.v1.IBamlTyMedia|null|undefined} media - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyMedia|null|undefined} media + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype.media = null; /** * BamlTy interface. - * @member {baml_core.cffi.v1.IBamlTyInterface|null|undefined} interface - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyInterface|null|undefined} interface + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype["interface"] = null; /** * BamlTy enumVariant. - * @member {baml_core.cffi.v1.IBamlTyEnumVariant|null|undefined} enumVariant - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyEnumVariant|null|undefined} enumVariant + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype.enumVariant = null; /** * BamlTy function. - * @member {baml_core.cffi.v1.IBamlTyFunction|null|undefined} function - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyFunction|null|undefined} function + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype["function"] = null; /** * BamlTy future. - * @member {baml_core.cffi.v1.IBamlTyFuture|null|undefined} future - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyFuture|null|undefined} future + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype.future = null; /** * BamlTy rustType. - * @member {baml_core.cffi.v1.IBamlTyRustType|null|undefined} rustType - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyRustType|null|undefined} rustType + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype.rustType = null; /** * BamlTy metaType. - * @member {baml_core.cffi.v1.IBamlTyMetaType|null|undefined} metaType - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyMetaType|null|undefined} metaType + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype.metaType = null; /** * BamlTy resource. - * @member {baml_core.cffi.v1.IBamlTyResource|null|undefined} resource - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyResource|null|undefined} resource + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype.resource = null; /** * BamlTy promptAst. - * @member {baml_core.cffi.v1.IBamlTyPromptAst|null|undefined} promptAst - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyPromptAst|null|undefined} promptAst + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype.promptAst = null; /** * BamlTy void. - * @member {baml_core.cffi.v1.IBamlTyVoid|null|undefined} void - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyVoid|null|undefined} void + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype["void"] = null; /** * BamlTy watchAccessor. - * @member {baml_core.cffi.v1.IBamlTyWatchAccessor|null|undefined} watchAccessor - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyWatchAccessor|null|undefined} watchAccessor + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype.watchAccessor = null; /** * BamlTy typeVar. - * @member {baml_core.cffi.v1.IBamlTyTypeVar|null|undefined} typeVar - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyTypeVar|null|undefined} typeVar + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype.typeVar = null; /** * BamlTy associatedTypeProjection. - * @member {baml_core.cffi.v1.IBamlTyAssociatedTypeProjection|null|undefined} associatedTypeProjection - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyAssociatedTypeProjection|null|undefined} associatedTypeProjection + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype.associatedTypeProjection = null; /** * BamlTy never. - * @member {baml_core.cffi.v1.IBamlTyNever|null|undefined} never - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyNever|null|undefined} never + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype.never = null; @@ -3529,7 +3529,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTy ty. * @member {"primitive"|"classTy"|"enum"|"list"|"map"|"optional"|"union"|"literal"|"typeAlias"|"unknown"|"media"|"interface"|"enumVariant"|"function"|"future"|"rustType"|"metaType"|"resource"|"promptAst"|"void"|"watchAccessor"|"typeVar"|"associatedTypeProjection"|"never"|undefined} ty - * @memberof baml_core.cffi.v1.BamlTy + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ Object.defineProperty(BamlTy.prototype, "ty", { @@ -3540,21 +3540,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTy instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTy + * @memberof baml_bridge.cffi.v1.BamlTy * @static - * @param {baml_core.cffi.v1.IBamlTy=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTy} BamlTy instance + * @param {baml_bridge.cffi.v1.IBamlTy=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTy} BamlTy instance */ BamlTy.create = function create(properties) { return new BamlTy(properties); }; /** - * Encodes the specified BamlTy message. Does not implicitly {@link baml_core.cffi.v1.BamlTy.verify|verify} messages. + * Encodes the specified BamlTy message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTy.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTy + * @memberof baml_bridge.cffi.v1.BamlTy * @static - * @param {baml_core.cffi.v1.IBamlTy} message BamlTy message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTy} message BamlTy message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -3566,62 +3566,62 @@ export const baml_core = $root.baml_core = (() => { if (q > $util.recursionLimit) throw Error("max depth exceeded"); if (message.primitive != null && Object.hasOwnProperty.call(message, "primitive")) - $root.baml_core.cffi.v1.BamlTyPrimitive.encode(message.primitive, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyPrimitive.encode(message.primitive, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); if (message.classTy != null && Object.hasOwnProperty.call(message, "classTy")) - $root.baml_core.cffi.v1.BamlTyClass.encode(message.classTy, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyClass.encode(message.classTy, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); if (message["enum"] != null && Object.hasOwnProperty.call(message, "enum")) - $root.baml_core.cffi.v1.BamlTyEnum.encode(message["enum"], writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyEnum.encode(message["enum"], writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim(); if (message.list != null && Object.hasOwnProperty.call(message, "list")) - $root.baml_core.cffi.v1.BamlTyList.encode(message.list, writer.uint32(/* id 4, wireType 2 =*/34).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyList.encode(message.list, writer.uint32(/* id 4, wireType 2 =*/34).fork(), q + 1).ldelim(); if (message.map != null && Object.hasOwnProperty.call(message, "map")) - $root.baml_core.cffi.v1.BamlTyMap.encode(message.map, writer.uint32(/* id 5, wireType 2 =*/42).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyMap.encode(message.map, writer.uint32(/* id 5, wireType 2 =*/42).fork(), q + 1).ldelim(); if (message.optional != null && Object.hasOwnProperty.call(message, "optional")) - $root.baml_core.cffi.v1.BamlTyOptional.encode(message.optional, writer.uint32(/* id 6, wireType 2 =*/50).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyOptional.encode(message.optional, writer.uint32(/* id 6, wireType 2 =*/50).fork(), q + 1).ldelim(); if (message.union != null && Object.hasOwnProperty.call(message, "union")) - $root.baml_core.cffi.v1.BamlTyUnion.encode(message.union, writer.uint32(/* id 7, wireType 2 =*/58).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyUnion.encode(message.union, writer.uint32(/* id 7, wireType 2 =*/58).fork(), q + 1).ldelim(); if (message.literal != null && Object.hasOwnProperty.call(message, "literal")) - $root.baml_core.cffi.v1.BamlTyLiteral.encode(message.literal, writer.uint32(/* id 8, wireType 2 =*/66).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyLiteral.encode(message.literal, writer.uint32(/* id 8, wireType 2 =*/66).fork(), q + 1).ldelim(); if (message.typeAlias != null && Object.hasOwnProperty.call(message, "typeAlias")) - $root.baml_core.cffi.v1.BamlTyTypeAlias.encode(message.typeAlias, writer.uint32(/* id 9, wireType 2 =*/74).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyTypeAlias.encode(message.typeAlias, writer.uint32(/* id 9, wireType 2 =*/74).fork(), q + 1).ldelim(); if (message.unknown != null && Object.hasOwnProperty.call(message, "unknown")) - $root.baml_core.cffi.v1.BamlTyUnknown.encode(message.unknown, writer.uint32(/* id 10, wireType 2 =*/82).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyUnknown.encode(message.unknown, writer.uint32(/* id 10, wireType 2 =*/82).fork(), q + 1).ldelim(); if (message.media != null && Object.hasOwnProperty.call(message, "media")) - $root.baml_core.cffi.v1.BamlTyMedia.encode(message.media, writer.uint32(/* id 11, wireType 2 =*/90).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyMedia.encode(message.media, writer.uint32(/* id 11, wireType 2 =*/90).fork(), q + 1).ldelim(); if (message["interface"] != null && Object.hasOwnProperty.call(message, "interface")) - $root.baml_core.cffi.v1.BamlTyInterface.encode(message["interface"], writer.uint32(/* id 12, wireType 2 =*/98).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyInterface.encode(message["interface"], writer.uint32(/* id 12, wireType 2 =*/98).fork(), q + 1).ldelim(); if (message.enumVariant != null && Object.hasOwnProperty.call(message, "enumVariant")) - $root.baml_core.cffi.v1.BamlTyEnumVariant.encode(message.enumVariant, writer.uint32(/* id 13, wireType 2 =*/106).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyEnumVariant.encode(message.enumVariant, writer.uint32(/* id 13, wireType 2 =*/106).fork(), q + 1).ldelim(); if (message["function"] != null && Object.hasOwnProperty.call(message, "function")) - $root.baml_core.cffi.v1.BamlTyFunction.encode(message["function"], writer.uint32(/* id 14, wireType 2 =*/114).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyFunction.encode(message["function"], writer.uint32(/* id 14, wireType 2 =*/114).fork(), q + 1).ldelim(); if (message.future != null && Object.hasOwnProperty.call(message, "future")) - $root.baml_core.cffi.v1.BamlTyFuture.encode(message.future, writer.uint32(/* id 15, wireType 2 =*/122).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyFuture.encode(message.future, writer.uint32(/* id 15, wireType 2 =*/122).fork(), q + 1).ldelim(); if (message.rustType != null && Object.hasOwnProperty.call(message, "rustType")) - $root.baml_core.cffi.v1.BamlTyRustType.encode(message.rustType, writer.uint32(/* id 16, wireType 2 =*/130).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyRustType.encode(message.rustType, writer.uint32(/* id 16, wireType 2 =*/130).fork(), q + 1).ldelim(); if (message.metaType != null && Object.hasOwnProperty.call(message, "metaType")) - $root.baml_core.cffi.v1.BamlTyMetaType.encode(message.metaType, writer.uint32(/* id 17, wireType 2 =*/138).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyMetaType.encode(message.metaType, writer.uint32(/* id 17, wireType 2 =*/138).fork(), q + 1).ldelim(); if (message.resource != null && Object.hasOwnProperty.call(message, "resource")) - $root.baml_core.cffi.v1.BamlTyResource.encode(message.resource, writer.uint32(/* id 18, wireType 2 =*/146).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyResource.encode(message.resource, writer.uint32(/* id 18, wireType 2 =*/146).fork(), q + 1).ldelim(); if (message.promptAst != null && Object.hasOwnProperty.call(message, "promptAst")) - $root.baml_core.cffi.v1.BamlTyPromptAst.encode(message.promptAst, writer.uint32(/* id 19, wireType 2 =*/154).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyPromptAst.encode(message.promptAst, writer.uint32(/* id 19, wireType 2 =*/154).fork(), q + 1).ldelim(); if (message["void"] != null && Object.hasOwnProperty.call(message, "void")) - $root.baml_core.cffi.v1.BamlTyVoid.encode(message["void"], writer.uint32(/* id 20, wireType 2 =*/162).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyVoid.encode(message["void"], writer.uint32(/* id 20, wireType 2 =*/162).fork(), q + 1).ldelim(); if (message.watchAccessor != null && Object.hasOwnProperty.call(message, "watchAccessor")) - $root.baml_core.cffi.v1.BamlTyWatchAccessor.encode(message.watchAccessor, writer.uint32(/* id 21, wireType 2 =*/170).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyWatchAccessor.encode(message.watchAccessor, writer.uint32(/* id 21, wireType 2 =*/170).fork(), q + 1).ldelim(); if (message.typeVar != null && Object.hasOwnProperty.call(message, "typeVar")) - $root.baml_core.cffi.v1.BamlTyTypeVar.encode(message.typeVar, writer.uint32(/* id 22, wireType 2 =*/178).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyTypeVar.encode(message.typeVar, writer.uint32(/* id 22, wireType 2 =*/178).fork(), q + 1).ldelim(); if (message.associatedTypeProjection != null && Object.hasOwnProperty.call(message, "associatedTypeProjection")) - $root.baml_core.cffi.v1.BamlTyAssociatedTypeProjection.encode(message.associatedTypeProjection, writer.uint32(/* id 23, wireType 2 =*/186).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection.encode(message.associatedTypeProjection, writer.uint32(/* id 23, wireType 2 =*/186).fork(), q + 1).ldelim(); if (message.never != null && Object.hasOwnProperty.call(message, "never")) - $root.baml_core.cffi.v1.BamlTyNever.encode(message.never, writer.uint32(/* id 24, wireType 2 =*/194).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyNever.encode(message.never, writer.uint32(/* id 24, wireType 2 =*/194).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlTy message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTy.verify|verify} messages. + * Encodes the specified BamlTy message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTy.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTy + * @memberof baml_bridge.cffi.v1.BamlTy * @static - * @param {baml_core.cffi.v1.IBamlTy} message BamlTy message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTy} message BamlTy message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -3632,11 +3632,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTy message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTy + * @memberof baml_bridge.cffi.v1.BamlTy * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTy} BamlTy + * @returns {baml_bridge.cffi.v1.BamlTy} BamlTy * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -3647,106 +3647,106 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTy(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTy(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.primitive = $root.baml_core.cffi.v1.BamlTyPrimitive.decode(reader, reader.uint32(), undefined, long + 1); + message.primitive = $root.baml_bridge.cffi.v1.BamlTyPrimitive.decode(reader, reader.uint32(), undefined, long + 1); break; } case 2: { - message.classTy = $root.baml_core.cffi.v1.BamlTyClass.decode(reader, reader.uint32(), undefined, long + 1); + message.classTy = $root.baml_bridge.cffi.v1.BamlTyClass.decode(reader, reader.uint32(), undefined, long + 1); break; } case 3: { - message["enum"] = $root.baml_core.cffi.v1.BamlTyEnum.decode(reader, reader.uint32(), undefined, long + 1); + message["enum"] = $root.baml_bridge.cffi.v1.BamlTyEnum.decode(reader, reader.uint32(), undefined, long + 1); break; } case 4: { - message.list = $root.baml_core.cffi.v1.BamlTyList.decode(reader, reader.uint32(), undefined, long + 1); + message.list = $root.baml_bridge.cffi.v1.BamlTyList.decode(reader, reader.uint32(), undefined, long + 1); break; } case 5: { - message.map = $root.baml_core.cffi.v1.BamlTyMap.decode(reader, reader.uint32(), undefined, long + 1); + message.map = $root.baml_bridge.cffi.v1.BamlTyMap.decode(reader, reader.uint32(), undefined, long + 1); break; } case 6: { - message.optional = $root.baml_core.cffi.v1.BamlTyOptional.decode(reader, reader.uint32(), undefined, long + 1); + message.optional = $root.baml_bridge.cffi.v1.BamlTyOptional.decode(reader, reader.uint32(), undefined, long + 1); break; } case 7: { - message.union = $root.baml_core.cffi.v1.BamlTyUnion.decode(reader, reader.uint32(), undefined, long + 1); + message.union = $root.baml_bridge.cffi.v1.BamlTyUnion.decode(reader, reader.uint32(), undefined, long + 1); break; } case 8: { - message.literal = $root.baml_core.cffi.v1.BamlTyLiteral.decode(reader, reader.uint32(), undefined, long + 1); + message.literal = $root.baml_bridge.cffi.v1.BamlTyLiteral.decode(reader, reader.uint32(), undefined, long + 1); break; } case 9: { - message.typeAlias = $root.baml_core.cffi.v1.BamlTyTypeAlias.decode(reader, reader.uint32(), undefined, long + 1); + message.typeAlias = $root.baml_bridge.cffi.v1.BamlTyTypeAlias.decode(reader, reader.uint32(), undefined, long + 1); break; } case 10: { - message.unknown = $root.baml_core.cffi.v1.BamlTyUnknown.decode(reader, reader.uint32(), undefined, long + 1); + message.unknown = $root.baml_bridge.cffi.v1.BamlTyUnknown.decode(reader, reader.uint32(), undefined, long + 1); break; } case 11: { - message.media = $root.baml_core.cffi.v1.BamlTyMedia.decode(reader, reader.uint32(), undefined, long + 1); + message.media = $root.baml_bridge.cffi.v1.BamlTyMedia.decode(reader, reader.uint32(), undefined, long + 1); break; } case 12: { - message["interface"] = $root.baml_core.cffi.v1.BamlTyInterface.decode(reader, reader.uint32(), undefined, long + 1); + message["interface"] = $root.baml_bridge.cffi.v1.BamlTyInterface.decode(reader, reader.uint32(), undefined, long + 1); break; } case 13: { - message.enumVariant = $root.baml_core.cffi.v1.BamlTyEnumVariant.decode(reader, reader.uint32(), undefined, long + 1); + message.enumVariant = $root.baml_bridge.cffi.v1.BamlTyEnumVariant.decode(reader, reader.uint32(), undefined, long + 1); break; } case 14: { - message["function"] = $root.baml_core.cffi.v1.BamlTyFunction.decode(reader, reader.uint32(), undefined, long + 1); + message["function"] = $root.baml_bridge.cffi.v1.BamlTyFunction.decode(reader, reader.uint32(), undefined, long + 1); break; } case 15: { - message.future = $root.baml_core.cffi.v1.BamlTyFuture.decode(reader, reader.uint32(), undefined, long + 1); + message.future = $root.baml_bridge.cffi.v1.BamlTyFuture.decode(reader, reader.uint32(), undefined, long + 1); break; } case 16: { - message.rustType = $root.baml_core.cffi.v1.BamlTyRustType.decode(reader, reader.uint32(), undefined, long + 1); + message.rustType = $root.baml_bridge.cffi.v1.BamlTyRustType.decode(reader, reader.uint32(), undefined, long + 1); break; } case 17: { - message.metaType = $root.baml_core.cffi.v1.BamlTyMetaType.decode(reader, reader.uint32(), undefined, long + 1); + message.metaType = $root.baml_bridge.cffi.v1.BamlTyMetaType.decode(reader, reader.uint32(), undefined, long + 1); break; } case 18: { - message.resource = $root.baml_core.cffi.v1.BamlTyResource.decode(reader, reader.uint32(), undefined, long + 1); + message.resource = $root.baml_bridge.cffi.v1.BamlTyResource.decode(reader, reader.uint32(), undefined, long + 1); break; } case 19: { - message.promptAst = $root.baml_core.cffi.v1.BamlTyPromptAst.decode(reader, reader.uint32(), undefined, long + 1); + message.promptAst = $root.baml_bridge.cffi.v1.BamlTyPromptAst.decode(reader, reader.uint32(), undefined, long + 1); break; } case 20: { - message["void"] = $root.baml_core.cffi.v1.BamlTyVoid.decode(reader, reader.uint32(), undefined, long + 1); + message["void"] = $root.baml_bridge.cffi.v1.BamlTyVoid.decode(reader, reader.uint32(), undefined, long + 1); break; } case 21: { - message.watchAccessor = $root.baml_core.cffi.v1.BamlTyWatchAccessor.decode(reader, reader.uint32(), undefined, long + 1); + message.watchAccessor = $root.baml_bridge.cffi.v1.BamlTyWatchAccessor.decode(reader, reader.uint32(), undefined, long + 1); break; } case 22: { - message.typeVar = $root.baml_core.cffi.v1.BamlTyTypeVar.decode(reader, reader.uint32(), undefined, long + 1); + message.typeVar = $root.baml_bridge.cffi.v1.BamlTyTypeVar.decode(reader, reader.uint32(), undefined, long + 1); break; } case 23: { - message.associatedTypeProjection = $root.baml_core.cffi.v1.BamlTyAssociatedTypeProjection.decode(reader, reader.uint32(), undefined, long + 1); + message.associatedTypeProjection = $root.baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection.decode(reader, reader.uint32(), undefined, long + 1); break; } case 24: { - message.never = $root.baml_core.cffi.v1.BamlTyNever.decode(reader, reader.uint32(), undefined, long + 1); + message.never = $root.baml_bridge.cffi.v1.BamlTyNever.decode(reader, reader.uint32(), undefined, long + 1); break; } default: @@ -3760,10 +3760,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTy message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTy + * @memberof baml_bridge.cffi.v1.BamlTy * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTy} BamlTy + * @returns {baml_bridge.cffi.v1.BamlTy} BamlTy * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -3776,7 +3776,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTy message. * @function verify - * @memberof baml_core.cffi.v1.BamlTy + * @memberof baml_bridge.cffi.v1.BamlTy * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -3792,7 +3792,7 @@ export const baml_core = $root.baml_core = (() => { if (message.primitive != null && message.hasOwnProperty("primitive")) { properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyPrimitive.verify(message.primitive, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyPrimitive.verify(message.primitive, long + 1); if (error) return "primitive." + error; } @@ -3802,7 +3802,7 @@ export const baml_core = $root.baml_core = (() => { return "ty: multiple values"; properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyClass.verify(message.classTy, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyClass.verify(message.classTy, long + 1); if (error) return "classTy." + error; } @@ -3812,7 +3812,7 @@ export const baml_core = $root.baml_core = (() => { return "ty: multiple values"; properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyEnum.verify(message["enum"], long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyEnum.verify(message["enum"], long + 1); if (error) return "enum." + error; } @@ -3822,7 +3822,7 @@ export const baml_core = $root.baml_core = (() => { return "ty: multiple values"; properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyList.verify(message.list, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyList.verify(message.list, long + 1); if (error) return "list." + error; } @@ -3832,7 +3832,7 @@ export const baml_core = $root.baml_core = (() => { return "ty: multiple values"; properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyMap.verify(message.map, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyMap.verify(message.map, long + 1); if (error) return "map." + error; } @@ -3842,7 +3842,7 @@ export const baml_core = $root.baml_core = (() => { return "ty: multiple values"; properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyOptional.verify(message.optional, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyOptional.verify(message.optional, long + 1); if (error) return "optional." + error; } @@ -3852,7 +3852,7 @@ export const baml_core = $root.baml_core = (() => { return "ty: multiple values"; properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyUnion.verify(message.union, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyUnion.verify(message.union, long + 1); if (error) return "union." + error; } @@ -3862,7 +3862,7 @@ export const baml_core = $root.baml_core = (() => { return "ty: multiple values"; properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyLiteral.verify(message.literal, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyLiteral.verify(message.literal, long + 1); if (error) return "literal." + error; } @@ -3872,7 +3872,7 @@ export const baml_core = $root.baml_core = (() => { return "ty: multiple values"; properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyTypeAlias.verify(message.typeAlias, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyTypeAlias.verify(message.typeAlias, long + 1); if (error) return "typeAlias." + error; } @@ -3882,7 +3882,7 @@ export const baml_core = $root.baml_core = (() => { return "ty: multiple values"; properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyUnknown.verify(message.unknown, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyUnknown.verify(message.unknown, long + 1); if (error) return "unknown." + error; } @@ -3892,7 +3892,7 @@ export const baml_core = $root.baml_core = (() => { return "ty: multiple values"; properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyMedia.verify(message.media, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyMedia.verify(message.media, long + 1); if (error) return "media." + error; } @@ -3902,7 +3902,7 @@ export const baml_core = $root.baml_core = (() => { return "ty: multiple values"; properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyInterface.verify(message["interface"], long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyInterface.verify(message["interface"], long + 1); if (error) return "interface." + error; } @@ -3912,7 +3912,7 @@ export const baml_core = $root.baml_core = (() => { return "ty: multiple values"; properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyEnumVariant.verify(message.enumVariant, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyEnumVariant.verify(message.enumVariant, long + 1); if (error) return "enumVariant." + error; } @@ -3922,7 +3922,7 @@ export const baml_core = $root.baml_core = (() => { return "ty: multiple values"; properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyFunction.verify(message["function"], long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyFunction.verify(message["function"], long + 1); if (error) return "function." + error; } @@ -3932,7 +3932,7 @@ export const baml_core = $root.baml_core = (() => { return "ty: multiple values"; properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyFuture.verify(message.future, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyFuture.verify(message.future, long + 1); if (error) return "future." + error; } @@ -3942,7 +3942,7 @@ export const baml_core = $root.baml_core = (() => { return "ty: multiple values"; properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyRustType.verify(message.rustType, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyRustType.verify(message.rustType, long + 1); if (error) return "rustType." + error; } @@ -3952,7 +3952,7 @@ export const baml_core = $root.baml_core = (() => { return "ty: multiple values"; properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyMetaType.verify(message.metaType, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyMetaType.verify(message.metaType, long + 1); if (error) return "metaType." + error; } @@ -3962,7 +3962,7 @@ export const baml_core = $root.baml_core = (() => { return "ty: multiple values"; properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyResource.verify(message.resource, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyResource.verify(message.resource, long + 1); if (error) return "resource." + error; } @@ -3972,7 +3972,7 @@ export const baml_core = $root.baml_core = (() => { return "ty: multiple values"; properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyPromptAst.verify(message.promptAst, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyPromptAst.verify(message.promptAst, long + 1); if (error) return "promptAst." + error; } @@ -3982,7 +3982,7 @@ export const baml_core = $root.baml_core = (() => { return "ty: multiple values"; properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyVoid.verify(message["void"], long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyVoid.verify(message["void"], long + 1); if (error) return "void." + error; } @@ -3992,7 +3992,7 @@ export const baml_core = $root.baml_core = (() => { return "ty: multiple values"; properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyWatchAccessor.verify(message.watchAccessor, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyWatchAccessor.verify(message.watchAccessor, long + 1); if (error) return "watchAccessor." + error; } @@ -4002,7 +4002,7 @@ export const baml_core = $root.baml_core = (() => { return "ty: multiple values"; properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyTypeVar.verify(message.typeVar, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyTypeVar.verify(message.typeVar, long + 1); if (error) return "typeVar." + error; } @@ -4012,7 +4012,7 @@ export const baml_core = $root.baml_core = (() => { return "ty: multiple values"; properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyAssociatedTypeProjection.verify(message.associatedTypeProjection, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection.verify(message.associatedTypeProjection, long + 1); if (error) return "associatedTypeProjection." + error; } @@ -4022,7 +4022,7 @@ export const baml_core = $root.baml_core = (() => { return "ty: multiple values"; properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyNever.verify(message.never, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyNever.verify(message.never, long + 1); if (error) return "never." + error; } @@ -4033,140 +4033,140 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTy message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTy + * @memberof baml_bridge.cffi.v1.BamlTy * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTy} BamlTy + * @returns {baml_bridge.cffi.v1.BamlTy} BamlTy */ BamlTy.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTy) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTy) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTy: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTy: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlTy(); + let message = new $root.baml_bridge.cffi.v1.BamlTy(); if (object.primitive != null) { if (!$util.isObject(object.primitive)) - throw TypeError(".baml_core.cffi.v1.BamlTy.primitive: object expected"); - message.primitive = $root.baml_core.cffi.v1.BamlTyPrimitive.fromObject(object.primitive, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.primitive: object expected"); + message.primitive = $root.baml_bridge.cffi.v1.BamlTyPrimitive.fromObject(object.primitive, long + 1); } if (object.classTy != null) { if (!$util.isObject(object.classTy)) - throw TypeError(".baml_core.cffi.v1.BamlTy.classTy: object expected"); - message.classTy = $root.baml_core.cffi.v1.BamlTyClass.fromObject(object.classTy, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.classTy: object expected"); + message.classTy = $root.baml_bridge.cffi.v1.BamlTyClass.fromObject(object.classTy, long + 1); } if (object["enum"] != null) { if (!$util.isObject(object["enum"])) - throw TypeError(".baml_core.cffi.v1.BamlTy.enum: object expected"); - message["enum"] = $root.baml_core.cffi.v1.BamlTyEnum.fromObject(object["enum"], long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.enum: object expected"); + message["enum"] = $root.baml_bridge.cffi.v1.BamlTyEnum.fromObject(object["enum"], long + 1); } if (object.list != null) { if (!$util.isObject(object.list)) - throw TypeError(".baml_core.cffi.v1.BamlTy.list: object expected"); - message.list = $root.baml_core.cffi.v1.BamlTyList.fromObject(object.list, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.list: object expected"); + message.list = $root.baml_bridge.cffi.v1.BamlTyList.fromObject(object.list, long + 1); } if (object.map != null) { if (!$util.isObject(object.map)) - throw TypeError(".baml_core.cffi.v1.BamlTy.map: object expected"); - message.map = $root.baml_core.cffi.v1.BamlTyMap.fromObject(object.map, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.map: object expected"); + message.map = $root.baml_bridge.cffi.v1.BamlTyMap.fromObject(object.map, long + 1); } if (object.optional != null) { if (!$util.isObject(object.optional)) - throw TypeError(".baml_core.cffi.v1.BamlTy.optional: object expected"); - message.optional = $root.baml_core.cffi.v1.BamlTyOptional.fromObject(object.optional, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.optional: object expected"); + message.optional = $root.baml_bridge.cffi.v1.BamlTyOptional.fromObject(object.optional, long + 1); } if (object.union != null) { if (!$util.isObject(object.union)) - throw TypeError(".baml_core.cffi.v1.BamlTy.union: object expected"); - message.union = $root.baml_core.cffi.v1.BamlTyUnion.fromObject(object.union, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.union: object expected"); + message.union = $root.baml_bridge.cffi.v1.BamlTyUnion.fromObject(object.union, long + 1); } if (object.literal != null) { if (!$util.isObject(object.literal)) - throw TypeError(".baml_core.cffi.v1.BamlTy.literal: object expected"); - message.literal = $root.baml_core.cffi.v1.BamlTyLiteral.fromObject(object.literal, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.literal: object expected"); + message.literal = $root.baml_bridge.cffi.v1.BamlTyLiteral.fromObject(object.literal, long + 1); } if (object.typeAlias != null) { if (!$util.isObject(object.typeAlias)) - throw TypeError(".baml_core.cffi.v1.BamlTy.typeAlias: object expected"); - message.typeAlias = $root.baml_core.cffi.v1.BamlTyTypeAlias.fromObject(object.typeAlias, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.typeAlias: object expected"); + message.typeAlias = $root.baml_bridge.cffi.v1.BamlTyTypeAlias.fromObject(object.typeAlias, long + 1); } if (object.unknown != null) { if (!$util.isObject(object.unknown)) - throw TypeError(".baml_core.cffi.v1.BamlTy.unknown: object expected"); - message.unknown = $root.baml_core.cffi.v1.BamlTyUnknown.fromObject(object.unknown, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.unknown: object expected"); + message.unknown = $root.baml_bridge.cffi.v1.BamlTyUnknown.fromObject(object.unknown, long + 1); } if (object.media != null) { if (!$util.isObject(object.media)) - throw TypeError(".baml_core.cffi.v1.BamlTy.media: object expected"); - message.media = $root.baml_core.cffi.v1.BamlTyMedia.fromObject(object.media, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.media: object expected"); + message.media = $root.baml_bridge.cffi.v1.BamlTyMedia.fromObject(object.media, long + 1); } if (object["interface"] != null) { if (!$util.isObject(object["interface"])) - throw TypeError(".baml_core.cffi.v1.BamlTy.interface: object expected"); - message["interface"] = $root.baml_core.cffi.v1.BamlTyInterface.fromObject(object["interface"], long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.interface: object expected"); + message["interface"] = $root.baml_bridge.cffi.v1.BamlTyInterface.fromObject(object["interface"], long + 1); } if (object.enumVariant != null) { if (!$util.isObject(object.enumVariant)) - throw TypeError(".baml_core.cffi.v1.BamlTy.enumVariant: object expected"); - message.enumVariant = $root.baml_core.cffi.v1.BamlTyEnumVariant.fromObject(object.enumVariant, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.enumVariant: object expected"); + message.enumVariant = $root.baml_bridge.cffi.v1.BamlTyEnumVariant.fromObject(object.enumVariant, long + 1); } if (object["function"] != null) { if (!$util.isObject(object["function"])) - throw TypeError(".baml_core.cffi.v1.BamlTy.function: object expected"); - message["function"] = $root.baml_core.cffi.v1.BamlTyFunction.fromObject(object["function"], long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.function: object expected"); + message["function"] = $root.baml_bridge.cffi.v1.BamlTyFunction.fromObject(object["function"], long + 1); } if (object.future != null) { if (!$util.isObject(object.future)) - throw TypeError(".baml_core.cffi.v1.BamlTy.future: object expected"); - message.future = $root.baml_core.cffi.v1.BamlTyFuture.fromObject(object.future, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.future: object expected"); + message.future = $root.baml_bridge.cffi.v1.BamlTyFuture.fromObject(object.future, long + 1); } if (object.rustType != null) { if (!$util.isObject(object.rustType)) - throw TypeError(".baml_core.cffi.v1.BamlTy.rustType: object expected"); - message.rustType = $root.baml_core.cffi.v1.BamlTyRustType.fromObject(object.rustType, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.rustType: object expected"); + message.rustType = $root.baml_bridge.cffi.v1.BamlTyRustType.fromObject(object.rustType, long + 1); } if (object.metaType != null) { if (!$util.isObject(object.metaType)) - throw TypeError(".baml_core.cffi.v1.BamlTy.metaType: object expected"); - message.metaType = $root.baml_core.cffi.v1.BamlTyMetaType.fromObject(object.metaType, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.metaType: object expected"); + message.metaType = $root.baml_bridge.cffi.v1.BamlTyMetaType.fromObject(object.metaType, long + 1); } if (object.resource != null) { if (!$util.isObject(object.resource)) - throw TypeError(".baml_core.cffi.v1.BamlTy.resource: object expected"); - message.resource = $root.baml_core.cffi.v1.BamlTyResource.fromObject(object.resource, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.resource: object expected"); + message.resource = $root.baml_bridge.cffi.v1.BamlTyResource.fromObject(object.resource, long + 1); } if (object.promptAst != null) { if (!$util.isObject(object.promptAst)) - throw TypeError(".baml_core.cffi.v1.BamlTy.promptAst: object expected"); - message.promptAst = $root.baml_core.cffi.v1.BamlTyPromptAst.fromObject(object.promptAst, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.promptAst: object expected"); + message.promptAst = $root.baml_bridge.cffi.v1.BamlTyPromptAst.fromObject(object.promptAst, long + 1); } if (object["void"] != null) { if (!$util.isObject(object["void"])) - throw TypeError(".baml_core.cffi.v1.BamlTy.void: object expected"); - message["void"] = $root.baml_core.cffi.v1.BamlTyVoid.fromObject(object["void"], long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.void: object expected"); + message["void"] = $root.baml_bridge.cffi.v1.BamlTyVoid.fromObject(object["void"], long + 1); } if (object.watchAccessor != null) { if (!$util.isObject(object.watchAccessor)) - throw TypeError(".baml_core.cffi.v1.BamlTy.watchAccessor: object expected"); - message.watchAccessor = $root.baml_core.cffi.v1.BamlTyWatchAccessor.fromObject(object.watchAccessor, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.watchAccessor: object expected"); + message.watchAccessor = $root.baml_bridge.cffi.v1.BamlTyWatchAccessor.fromObject(object.watchAccessor, long + 1); } if (object.typeVar != null) { if (!$util.isObject(object.typeVar)) - throw TypeError(".baml_core.cffi.v1.BamlTy.typeVar: object expected"); - message.typeVar = $root.baml_core.cffi.v1.BamlTyTypeVar.fromObject(object.typeVar, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.typeVar: object expected"); + message.typeVar = $root.baml_bridge.cffi.v1.BamlTyTypeVar.fromObject(object.typeVar, long + 1); } if (object.associatedTypeProjection != null) { if (!$util.isObject(object.associatedTypeProjection)) - throw TypeError(".baml_core.cffi.v1.BamlTy.associatedTypeProjection: object expected"); - message.associatedTypeProjection = $root.baml_core.cffi.v1.BamlTyAssociatedTypeProjection.fromObject(object.associatedTypeProjection, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.associatedTypeProjection: object expected"); + message.associatedTypeProjection = $root.baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection.fromObject(object.associatedTypeProjection, long + 1); } if (object.never != null) { if (!$util.isObject(object.never)) - throw TypeError(".baml_core.cffi.v1.BamlTy.never: object expected"); - message.never = $root.baml_core.cffi.v1.BamlTyNever.fromObject(object.never, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.never: object expected"); + message.never = $root.baml_bridge.cffi.v1.BamlTyNever.fromObject(object.never, long + 1); } return message; }; @@ -4174,9 +4174,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlTy message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTy + * @memberof baml_bridge.cffi.v1.BamlTy * @static - * @param {baml_core.cffi.v1.BamlTy} message BamlTy + * @param {baml_bridge.cffi.v1.BamlTy} message BamlTy * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -4189,122 +4189,122 @@ export const baml_core = $root.baml_core = (() => { throw Error("max depth exceeded"); let object = {}; if (message.primitive != null && message.hasOwnProperty("primitive")) { - object.primitive = $root.baml_core.cffi.v1.BamlTyPrimitive.toObject(message.primitive, options, q + 1); + object.primitive = $root.baml_bridge.cffi.v1.BamlTyPrimitive.toObject(message.primitive, options, q + 1); if (options.oneofs) object.ty = "primitive"; } if (message.classTy != null && message.hasOwnProperty("classTy")) { - object.classTy = $root.baml_core.cffi.v1.BamlTyClass.toObject(message.classTy, options, q + 1); + object.classTy = $root.baml_bridge.cffi.v1.BamlTyClass.toObject(message.classTy, options, q + 1); if (options.oneofs) object.ty = "classTy"; } if (message["enum"] != null && message.hasOwnProperty("enum")) { - object["enum"] = $root.baml_core.cffi.v1.BamlTyEnum.toObject(message["enum"], options, q + 1); + object["enum"] = $root.baml_bridge.cffi.v1.BamlTyEnum.toObject(message["enum"], options, q + 1); if (options.oneofs) object.ty = "enum"; } if (message.list != null && message.hasOwnProperty("list")) { - object.list = $root.baml_core.cffi.v1.BamlTyList.toObject(message.list, options, q + 1); + object.list = $root.baml_bridge.cffi.v1.BamlTyList.toObject(message.list, options, q + 1); if (options.oneofs) object.ty = "list"; } if (message.map != null && message.hasOwnProperty("map")) { - object.map = $root.baml_core.cffi.v1.BamlTyMap.toObject(message.map, options, q + 1); + object.map = $root.baml_bridge.cffi.v1.BamlTyMap.toObject(message.map, options, q + 1); if (options.oneofs) object.ty = "map"; } if (message.optional != null && message.hasOwnProperty("optional")) { - object.optional = $root.baml_core.cffi.v1.BamlTyOptional.toObject(message.optional, options, q + 1); + object.optional = $root.baml_bridge.cffi.v1.BamlTyOptional.toObject(message.optional, options, q + 1); if (options.oneofs) object.ty = "optional"; } if (message.union != null && message.hasOwnProperty("union")) { - object.union = $root.baml_core.cffi.v1.BamlTyUnion.toObject(message.union, options, q + 1); + object.union = $root.baml_bridge.cffi.v1.BamlTyUnion.toObject(message.union, options, q + 1); if (options.oneofs) object.ty = "union"; } if (message.literal != null && message.hasOwnProperty("literal")) { - object.literal = $root.baml_core.cffi.v1.BamlTyLiteral.toObject(message.literal, options, q + 1); + object.literal = $root.baml_bridge.cffi.v1.BamlTyLiteral.toObject(message.literal, options, q + 1); if (options.oneofs) object.ty = "literal"; } if (message.typeAlias != null && message.hasOwnProperty("typeAlias")) { - object.typeAlias = $root.baml_core.cffi.v1.BamlTyTypeAlias.toObject(message.typeAlias, options, q + 1); + object.typeAlias = $root.baml_bridge.cffi.v1.BamlTyTypeAlias.toObject(message.typeAlias, options, q + 1); if (options.oneofs) object.ty = "typeAlias"; } if (message.unknown != null && message.hasOwnProperty("unknown")) { - object.unknown = $root.baml_core.cffi.v1.BamlTyUnknown.toObject(message.unknown, options, q + 1); + object.unknown = $root.baml_bridge.cffi.v1.BamlTyUnknown.toObject(message.unknown, options, q + 1); if (options.oneofs) object.ty = "unknown"; } if (message.media != null && message.hasOwnProperty("media")) { - object.media = $root.baml_core.cffi.v1.BamlTyMedia.toObject(message.media, options, q + 1); + object.media = $root.baml_bridge.cffi.v1.BamlTyMedia.toObject(message.media, options, q + 1); if (options.oneofs) object.ty = "media"; } if (message["interface"] != null && message.hasOwnProperty("interface")) { - object["interface"] = $root.baml_core.cffi.v1.BamlTyInterface.toObject(message["interface"], options, q + 1); + object["interface"] = $root.baml_bridge.cffi.v1.BamlTyInterface.toObject(message["interface"], options, q + 1); if (options.oneofs) object.ty = "interface"; } if (message.enumVariant != null && message.hasOwnProperty("enumVariant")) { - object.enumVariant = $root.baml_core.cffi.v1.BamlTyEnumVariant.toObject(message.enumVariant, options, q + 1); + object.enumVariant = $root.baml_bridge.cffi.v1.BamlTyEnumVariant.toObject(message.enumVariant, options, q + 1); if (options.oneofs) object.ty = "enumVariant"; } if (message["function"] != null && message.hasOwnProperty("function")) { - object["function"] = $root.baml_core.cffi.v1.BamlTyFunction.toObject(message["function"], options, q + 1); + object["function"] = $root.baml_bridge.cffi.v1.BamlTyFunction.toObject(message["function"], options, q + 1); if (options.oneofs) object.ty = "function"; } if (message.future != null && message.hasOwnProperty("future")) { - object.future = $root.baml_core.cffi.v1.BamlTyFuture.toObject(message.future, options, q + 1); + object.future = $root.baml_bridge.cffi.v1.BamlTyFuture.toObject(message.future, options, q + 1); if (options.oneofs) object.ty = "future"; } if (message.rustType != null && message.hasOwnProperty("rustType")) { - object.rustType = $root.baml_core.cffi.v1.BamlTyRustType.toObject(message.rustType, options, q + 1); + object.rustType = $root.baml_bridge.cffi.v1.BamlTyRustType.toObject(message.rustType, options, q + 1); if (options.oneofs) object.ty = "rustType"; } if (message.metaType != null && message.hasOwnProperty("metaType")) { - object.metaType = $root.baml_core.cffi.v1.BamlTyMetaType.toObject(message.metaType, options, q + 1); + object.metaType = $root.baml_bridge.cffi.v1.BamlTyMetaType.toObject(message.metaType, options, q + 1); if (options.oneofs) object.ty = "metaType"; } if (message.resource != null && message.hasOwnProperty("resource")) { - object.resource = $root.baml_core.cffi.v1.BamlTyResource.toObject(message.resource, options, q + 1); + object.resource = $root.baml_bridge.cffi.v1.BamlTyResource.toObject(message.resource, options, q + 1); if (options.oneofs) object.ty = "resource"; } if (message.promptAst != null && message.hasOwnProperty("promptAst")) { - object.promptAst = $root.baml_core.cffi.v1.BamlTyPromptAst.toObject(message.promptAst, options, q + 1); + object.promptAst = $root.baml_bridge.cffi.v1.BamlTyPromptAst.toObject(message.promptAst, options, q + 1); if (options.oneofs) object.ty = "promptAst"; } if (message["void"] != null && message.hasOwnProperty("void")) { - object["void"] = $root.baml_core.cffi.v1.BamlTyVoid.toObject(message["void"], options, q + 1); + object["void"] = $root.baml_bridge.cffi.v1.BamlTyVoid.toObject(message["void"], options, q + 1); if (options.oneofs) object.ty = "void"; } if (message.watchAccessor != null && message.hasOwnProperty("watchAccessor")) { - object.watchAccessor = $root.baml_core.cffi.v1.BamlTyWatchAccessor.toObject(message.watchAccessor, options, q + 1); + object.watchAccessor = $root.baml_bridge.cffi.v1.BamlTyWatchAccessor.toObject(message.watchAccessor, options, q + 1); if (options.oneofs) object.ty = "watchAccessor"; } if (message.typeVar != null && message.hasOwnProperty("typeVar")) { - object.typeVar = $root.baml_core.cffi.v1.BamlTyTypeVar.toObject(message.typeVar, options, q + 1); + object.typeVar = $root.baml_bridge.cffi.v1.BamlTyTypeVar.toObject(message.typeVar, options, q + 1); if (options.oneofs) object.ty = "typeVar"; } if (message.associatedTypeProjection != null && message.hasOwnProperty("associatedTypeProjection")) { - object.associatedTypeProjection = $root.baml_core.cffi.v1.BamlTyAssociatedTypeProjection.toObject(message.associatedTypeProjection, options, q + 1); + object.associatedTypeProjection = $root.baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection.toObject(message.associatedTypeProjection, options, q + 1); if (options.oneofs) object.ty = "associatedTypeProjection"; } if (message.never != null && message.hasOwnProperty("never")) { - object.never = $root.baml_core.cffi.v1.BamlTyNever.toObject(message.never, options, q + 1); + object.never = $root.baml_bridge.cffi.v1.BamlTyNever.toObject(message.never, options, q + 1); if (options.oneofs) object.ty = "never"; } @@ -4314,7 +4314,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlTy to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTy + * @memberof baml_bridge.cffi.v1.BamlTy * @instance * @returns {Object.} JSON object */ @@ -4325,7 +4325,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTy * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTy + * @memberof baml_bridge.cffi.v1.BamlTy * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -4334,7 +4334,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTy"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTy"; }; return BamlTy; @@ -4342,7 +4342,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyPrimitiveKind enum. - * @name baml_core.cffi.v1.BamlTyPrimitiveKind + * @name baml_bridge.cffi.v1.BamlTyPrimitiveKind * @enum {number} * @property {number} BAML_TY_PRIMITIVE_UNSPECIFIED=0 BAML_TY_PRIMITIVE_UNSPECIFIED value * @property {number} BAML_TY_PRIMITIVE_STRING=1 BAML_TY_PRIMITIVE_STRING value @@ -4370,18 +4370,18 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyPrimitive. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyPrimitive - * @property {baml_core.cffi.v1.BamlTyPrimitiveKind|null} [kind] BamlTyPrimitive kind + * @property {baml_bridge.cffi.v1.BamlTyPrimitiveKind|null} [kind] BamlTyPrimitive kind */ /** * Constructs a new BamlTyPrimitive. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyPrimitive. * @implements IBamlTyPrimitive * @constructor - * @param {baml_core.cffi.v1.IBamlTyPrimitive=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyPrimitive=} [properties] Properties to set */ function BamlTyPrimitive(properties) { if (properties) @@ -4392,8 +4392,8 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyPrimitive kind. - * @member {baml_core.cffi.v1.BamlTyPrimitiveKind} kind - * @memberof baml_core.cffi.v1.BamlTyPrimitive + * @member {baml_bridge.cffi.v1.BamlTyPrimitiveKind} kind + * @memberof baml_bridge.cffi.v1.BamlTyPrimitive * @instance */ BamlTyPrimitive.prototype.kind = 0; @@ -4401,21 +4401,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyPrimitive instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyPrimitive + * @memberof baml_bridge.cffi.v1.BamlTyPrimitive * @static - * @param {baml_core.cffi.v1.IBamlTyPrimitive=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyPrimitive} BamlTyPrimitive instance + * @param {baml_bridge.cffi.v1.IBamlTyPrimitive=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyPrimitive} BamlTyPrimitive instance */ BamlTyPrimitive.create = function create(properties) { return new BamlTyPrimitive(properties); }; /** - * Encodes the specified BamlTyPrimitive message. Does not implicitly {@link baml_core.cffi.v1.BamlTyPrimitive.verify|verify} messages. + * Encodes the specified BamlTyPrimitive message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyPrimitive.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyPrimitive + * @memberof baml_bridge.cffi.v1.BamlTyPrimitive * @static - * @param {baml_core.cffi.v1.IBamlTyPrimitive} message BamlTyPrimitive message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyPrimitive} message BamlTyPrimitive message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -4432,11 +4432,11 @@ export const baml_core = $root.baml_core = (() => { }; /** - * Encodes the specified BamlTyPrimitive message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyPrimitive.verify|verify} messages. + * Encodes the specified BamlTyPrimitive message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyPrimitive.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyPrimitive + * @memberof baml_bridge.cffi.v1.BamlTyPrimitive * @static - * @param {baml_core.cffi.v1.IBamlTyPrimitive} message BamlTyPrimitive message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyPrimitive} message BamlTyPrimitive message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -4447,11 +4447,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyPrimitive message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyPrimitive + * @memberof baml_bridge.cffi.v1.BamlTyPrimitive * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyPrimitive} BamlTyPrimitive + * @returns {baml_bridge.cffi.v1.BamlTyPrimitive} BamlTyPrimitive * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -4462,7 +4462,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyPrimitive(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyPrimitive(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -4483,10 +4483,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyPrimitive message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyPrimitive + * @memberof baml_bridge.cffi.v1.BamlTyPrimitive * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyPrimitive} BamlTyPrimitive + * @returns {baml_bridge.cffi.v1.BamlTyPrimitive} BamlTyPrimitive * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -4499,7 +4499,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyPrimitive message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyPrimitive + * @memberof baml_bridge.cffi.v1.BamlTyPrimitive * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -4531,21 +4531,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyPrimitive message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyPrimitive + * @memberof baml_bridge.cffi.v1.BamlTyPrimitive * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyPrimitive} BamlTyPrimitive + * @returns {baml_bridge.cffi.v1.BamlTyPrimitive} BamlTyPrimitive */ BamlTyPrimitive.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyPrimitive) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyPrimitive) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyPrimitive: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyPrimitive: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlTyPrimitive(); + let message = new $root.baml_bridge.cffi.v1.BamlTyPrimitive(); switch (object.kind) { default: if (typeof object.kind === "number") { @@ -4592,9 +4592,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlTyPrimitive message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyPrimitive + * @memberof baml_bridge.cffi.v1.BamlTyPrimitive * @static - * @param {baml_core.cffi.v1.BamlTyPrimitive} message BamlTyPrimitive + * @param {baml_bridge.cffi.v1.BamlTyPrimitive} message BamlTyPrimitive * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -4609,14 +4609,14 @@ export const baml_core = $root.baml_core = (() => { if (options.defaults) object.kind = options.enums === String ? "BAML_TY_PRIMITIVE_UNSPECIFIED" : 0; if (message.kind != null && message.hasOwnProperty("kind")) - object.kind = options.enums === String ? $root.baml_core.cffi.v1.BamlTyPrimitiveKind[message.kind] === undefined ? message.kind : $root.baml_core.cffi.v1.BamlTyPrimitiveKind[message.kind] : message.kind; + object.kind = options.enums === String ? $root.baml_bridge.cffi.v1.BamlTyPrimitiveKind[message.kind] === undefined ? message.kind : $root.baml_bridge.cffi.v1.BamlTyPrimitiveKind[message.kind] : message.kind; return object; }; /** * Converts this BamlTyPrimitive to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyPrimitive + * @memberof baml_bridge.cffi.v1.BamlTyPrimitive * @instance * @returns {Object.} JSON object */ @@ -4627,7 +4627,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyPrimitive * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyPrimitive + * @memberof baml_bridge.cffi.v1.BamlTyPrimitive * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -4636,7 +4636,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyPrimitive"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyPrimitive"; }; return BamlTyPrimitive; @@ -4646,19 +4646,19 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyClass. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyClass * @property {string|null} [name] BamlTyClass name - * @property {Array.|null} [typeArgs] BamlTyClass typeArgs + * @property {Array.|null} [typeArgs] BamlTyClass typeArgs */ /** * Constructs a new BamlTyClass. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyClass. * @implements IBamlTyClass * @constructor - * @param {baml_core.cffi.v1.IBamlTyClass=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyClass=} [properties] Properties to set */ function BamlTyClass(properties) { this.typeArgs = []; @@ -4671,15 +4671,15 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyClass name. * @member {string} name - * @memberof baml_core.cffi.v1.BamlTyClass + * @memberof baml_bridge.cffi.v1.BamlTyClass * @instance */ BamlTyClass.prototype.name = ""; /** * BamlTyClass typeArgs. - * @member {Array.} typeArgs - * @memberof baml_core.cffi.v1.BamlTyClass + * @member {Array.} typeArgs + * @memberof baml_bridge.cffi.v1.BamlTyClass * @instance */ BamlTyClass.prototype.typeArgs = $util.emptyArray; @@ -4687,21 +4687,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyClass instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyClass + * @memberof baml_bridge.cffi.v1.BamlTyClass * @static - * @param {baml_core.cffi.v1.IBamlTyClass=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyClass} BamlTyClass instance + * @param {baml_bridge.cffi.v1.IBamlTyClass=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyClass} BamlTyClass instance */ BamlTyClass.create = function create(properties) { return new BamlTyClass(properties); }; /** - * Encodes the specified BamlTyClass message. Does not implicitly {@link baml_core.cffi.v1.BamlTyClass.verify|verify} messages. + * Encodes the specified BamlTyClass message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyClass.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyClass + * @memberof baml_bridge.cffi.v1.BamlTyClass * @static - * @param {baml_core.cffi.v1.IBamlTyClass} message BamlTyClass message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyClass} message BamlTyClass message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -4716,16 +4716,16 @@ export const baml_core = $root.baml_core = (() => { writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); if (message.typeArgs != null && message.typeArgs.length) for (let i = 0; i < message.typeArgs.length; ++i) - $root.baml_core.cffi.v1.BamlTy.encode(message.typeArgs[i], writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.typeArgs[i], writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlTyClass message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyClass.verify|verify} messages. + * Encodes the specified BamlTyClass message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyClass.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyClass + * @memberof baml_bridge.cffi.v1.BamlTyClass * @static - * @param {baml_core.cffi.v1.IBamlTyClass} message BamlTyClass message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyClass} message BamlTyClass message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -4736,11 +4736,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyClass message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyClass + * @memberof baml_bridge.cffi.v1.BamlTyClass * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyClass} BamlTyClass + * @returns {baml_bridge.cffi.v1.BamlTyClass} BamlTyClass * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -4751,7 +4751,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyClass(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyClass(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -4764,7 +4764,7 @@ export const baml_core = $root.baml_core = (() => { case 2: { if (!(message.typeArgs && message.typeArgs.length)) message.typeArgs = []; - message.typeArgs.push($root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1)); + message.typeArgs.push($root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1)); break; } default: @@ -4778,10 +4778,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyClass message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyClass + * @memberof baml_bridge.cffi.v1.BamlTyClass * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyClass} BamlTyClass + * @returns {baml_bridge.cffi.v1.BamlTyClass} BamlTyClass * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -4794,7 +4794,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyClass message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyClass + * @memberof baml_bridge.cffi.v1.BamlTyClass * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -4813,7 +4813,7 @@ export const baml_core = $root.baml_core = (() => { if (!Array.isArray(message.typeArgs)) return "typeArgs: array expected"; for (let i = 0; i < message.typeArgs.length; ++i) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.typeArgs[i], long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.typeArgs[i], long + 1); if (error) return "typeArgs." + error; } @@ -4824,31 +4824,31 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyClass message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyClass + * @memberof baml_bridge.cffi.v1.BamlTyClass * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyClass} BamlTyClass + * @returns {baml_bridge.cffi.v1.BamlTyClass} BamlTyClass */ BamlTyClass.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyClass) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyClass) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyClass: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyClass: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlTyClass(); + let message = new $root.baml_bridge.cffi.v1.BamlTyClass(); if (object.name != null) message.name = String(object.name); if (object.typeArgs) { if (!Array.isArray(object.typeArgs)) - throw TypeError(".baml_core.cffi.v1.BamlTyClass.typeArgs: array expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyClass.typeArgs: array expected"); message.typeArgs = []; for (let i = 0; i < object.typeArgs.length; ++i) { if (!$util.isObject(object.typeArgs[i])) - throw TypeError(".baml_core.cffi.v1.BamlTyClass.typeArgs: object expected"); - message.typeArgs[i] = $root.baml_core.cffi.v1.BamlTy.fromObject(object.typeArgs[i], long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTyClass.typeArgs: object expected"); + message.typeArgs[i] = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.typeArgs[i], long + 1); } } return message; @@ -4857,9 +4857,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlTyClass message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyClass + * @memberof baml_bridge.cffi.v1.BamlTyClass * @static - * @param {baml_core.cffi.v1.BamlTyClass} message BamlTyClass + * @param {baml_bridge.cffi.v1.BamlTyClass} message BamlTyClass * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -4880,7 +4880,7 @@ export const baml_core = $root.baml_core = (() => { if (message.typeArgs && message.typeArgs.length) { object.typeArgs = []; for (let j = 0; j < message.typeArgs.length; ++j) - object.typeArgs[j] = $root.baml_core.cffi.v1.BamlTy.toObject(message.typeArgs[j], options, q + 1); + object.typeArgs[j] = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.typeArgs[j], options, q + 1); } return object; }; @@ -4888,7 +4888,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlTyClass to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyClass + * @memberof baml_bridge.cffi.v1.BamlTyClass * @instance * @returns {Object.} JSON object */ @@ -4899,7 +4899,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyClass * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyClass + * @memberof baml_bridge.cffi.v1.BamlTyClass * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -4908,7 +4908,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyClass"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyClass"; }; return BamlTyClass; @@ -4918,19 +4918,19 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyTypeAlias. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyTypeAlias * @property {string|null} [name] BamlTyTypeAlias name - * @property {Array.|null} [typeArgs] BamlTyTypeAlias typeArgs + * @property {Array.|null} [typeArgs] BamlTyTypeAlias typeArgs */ /** * Constructs a new BamlTyTypeAlias. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyTypeAlias. * @implements IBamlTyTypeAlias * @constructor - * @param {baml_core.cffi.v1.IBamlTyTypeAlias=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyTypeAlias=} [properties] Properties to set */ function BamlTyTypeAlias(properties) { this.typeArgs = []; @@ -4943,15 +4943,15 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyTypeAlias name. * @member {string} name - * @memberof baml_core.cffi.v1.BamlTyTypeAlias + * @memberof baml_bridge.cffi.v1.BamlTyTypeAlias * @instance */ BamlTyTypeAlias.prototype.name = ""; /** * BamlTyTypeAlias typeArgs. - * @member {Array.} typeArgs - * @memberof baml_core.cffi.v1.BamlTyTypeAlias + * @member {Array.} typeArgs + * @memberof baml_bridge.cffi.v1.BamlTyTypeAlias * @instance */ BamlTyTypeAlias.prototype.typeArgs = $util.emptyArray; @@ -4959,21 +4959,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyTypeAlias instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyTypeAlias + * @memberof baml_bridge.cffi.v1.BamlTyTypeAlias * @static - * @param {baml_core.cffi.v1.IBamlTyTypeAlias=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyTypeAlias} BamlTyTypeAlias instance + * @param {baml_bridge.cffi.v1.IBamlTyTypeAlias=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyTypeAlias} BamlTyTypeAlias instance */ BamlTyTypeAlias.create = function create(properties) { return new BamlTyTypeAlias(properties); }; /** - * Encodes the specified BamlTyTypeAlias message. Does not implicitly {@link baml_core.cffi.v1.BamlTyTypeAlias.verify|verify} messages. + * Encodes the specified BamlTyTypeAlias message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyTypeAlias.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyTypeAlias + * @memberof baml_bridge.cffi.v1.BamlTyTypeAlias * @static - * @param {baml_core.cffi.v1.IBamlTyTypeAlias} message BamlTyTypeAlias message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyTypeAlias} message BamlTyTypeAlias message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -4988,16 +4988,16 @@ export const baml_core = $root.baml_core = (() => { writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); if (message.typeArgs != null && message.typeArgs.length) for (let i = 0; i < message.typeArgs.length; ++i) - $root.baml_core.cffi.v1.BamlTy.encode(message.typeArgs[i], writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.typeArgs[i], writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlTyTypeAlias message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyTypeAlias.verify|verify} messages. + * Encodes the specified BamlTyTypeAlias message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyTypeAlias.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyTypeAlias + * @memberof baml_bridge.cffi.v1.BamlTyTypeAlias * @static - * @param {baml_core.cffi.v1.IBamlTyTypeAlias} message BamlTyTypeAlias message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyTypeAlias} message BamlTyTypeAlias message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -5008,11 +5008,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyTypeAlias message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyTypeAlias + * @memberof baml_bridge.cffi.v1.BamlTyTypeAlias * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyTypeAlias} BamlTyTypeAlias + * @returns {baml_bridge.cffi.v1.BamlTyTypeAlias} BamlTyTypeAlias * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -5023,7 +5023,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyTypeAlias(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyTypeAlias(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -5036,7 +5036,7 @@ export const baml_core = $root.baml_core = (() => { case 2: { if (!(message.typeArgs && message.typeArgs.length)) message.typeArgs = []; - message.typeArgs.push($root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1)); + message.typeArgs.push($root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1)); break; } default: @@ -5050,10 +5050,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyTypeAlias message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyTypeAlias + * @memberof baml_bridge.cffi.v1.BamlTyTypeAlias * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyTypeAlias} BamlTyTypeAlias + * @returns {baml_bridge.cffi.v1.BamlTyTypeAlias} BamlTyTypeAlias * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -5066,7 +5066,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyTypeAlias message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyTypeAlias + * @memberof baml_bridge.cffi.v1.BamlTyTypeAlias * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -5085,7 +5085,7 @@ export const baml_core = $root.baml_core = (() => { if (!Array.isArray(message.typeArgs)) return "typeArgs: array expected"; for (let i = 0; i < message.typeArgs.length; ++i) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.typeArgs[i], long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.typeArgs[i], long + 1); if (error) return "typeArgs." + error; } @@ -5096,31 +5096,31 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyTypeAlias message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyTypeAlias + * @memberof baml_bridge.cffi.v1.BamlTyTypeAlias * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyTypeAlias} BamlTyTypeAlias + * @returns {baml_bridge.cffi.v1.BamlTyTypeAlias} BamlTyTypeAlias */ BamlTyTypeAlias.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyTypeAlias) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyTypeAlias) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyTypeAlias: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyTypeAlias: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlTyTypeAlias(); + let message = new $root.baml_bridge.cffi.v1.BamlTyTypeAlias(); if (object.name != null) message.name = String(object.name); if (object.typeArgs) { if (!Array.isArray(object.typeArgs)) - throw TypeError(".baml_core.cffi.v1.BamlTyTypeAlias.typeArgs: array expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyTypeAlias.typeArgs: array expected"); message.typeArgs = []; for (let i = 0; i < object.typeArgs.length; ++i) { if (!$util.isObject(object.typeArgs[i])) - throw TypeError(".baml_core.cffi.v1.BamlTyTypeAlias.typeArgs: object expected"); - message.typeArgs[i] = $root.baml_core.cffi.v1.BamlTy.fromObject(object.typeArgs[i], long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTyTypeAlias.typeArgs: object expected"); + message.typeArgs[i] = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.typeArgs[i], long + 1); } } return message; @@ -5129,9 +5129,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlTyTypeAlias message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyTypeAlias + * @memberof baml_bridge.cffi.v1.BamlTyTypeAlias * @static - * @param {baml_core.cffi.v1.BamlTyTypeAlias} message BamlTyTypeAlias + * @param {baml_bridge.cffi.v1.BamlTyTypeAlias} message BamlTyTypeAlias * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -5152,7 +5152,7 @@ export const baml_core = $root.baml_core = (() => { if (message.typeArgs && message.typeArgs.length) { object.typeArgs = []; for (let j = 0; j < message.typeArgs.length; ++j) - object.typeArgs[j] = $root.baml_core.cffi.v1.BamlTy.toObject(message.typeArgs[j], options, q + 1); + object.typeArgs[j] = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.typeArgs[j], options, q + 1); } return object; }; @@ -5160,7 +5160,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlTyTypeAlias to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyTypeAlias + * @memberof baml_bridge.cffi.v1.BamlTyTypeAlias * @instance * @returns {Object.} JSON object */ @@ -5171,7 +5171,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyTypeAlias * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyTypeAlias + * @memberof baml_bridge.cffi.v1.BamlTyTypeAlias * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -5180,7 +5180,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyTypeAlias"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyTypeAlias"; }; return BamlTyTypeAlias; @@ -5190,18 +5190,18 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyEnum. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyEnum * @property {string|null} [name] BamlTyEnum name */ /** * Constructs a new BamlTyEnum. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyEnum. * @implements IBamlTyEnum * @constructor - * @param {baml_core.cffi.v1.IBamlTyEnum=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyEnum=} [properties] Properties to set */ function BamlTyEnum(properties) { if (properties) @@ -5213,7 +5213,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyEnum name. * @member {string} name - * @memberof baml_core.cffi.v1.BamlTyEnum + * @memberof baml_bridge.cffi.v1.BamlTyEnum * @instance */ BamlTyEnum.prototype.name = ""; @@ -5221,21 +5221,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyEnum instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyEnum + * @memberof baml_bridge.cffi.v1.BamlTyEnum * @static - * @param {baml_core.cffi.v1.IBamlTyEnum=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyEnum} BamlTyEnum instance + * @param {baml_bridge.cffi.v1.IBamlTyEnum=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyEnum} BamlTyEnum instance */ BamlTyEnum.create = function create(properties) { return new BamlTyEnum(properties); }; /** - * Encodes the specified BamlTyEnum message. Does not implicitly {@link baml_core.cffi.v1.BamlTyEnum.verify|verify} messages. + * Encodes the specified BamlTyEnum message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyEnum.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyEnum + * @memberof baml_bridge.cffi.v1.BamlTyEnum * @static - * @param {baml_core.cffi.v1.IBamlTyEnum} message BamlTyEnum message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyEnum} message BamlTyEnum message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -5252,11 +5252,11 @@ export const baml_core = $root.baml_core = (() => { }; /** - * Encodes the specified BamlTyEnum message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyEnum.verify|verify} messages. + * Encodes the specified BamlTyEnum message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyEnum.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyEnum + * @memberof baml_bridge.cffi.v1.BamlTyEnum * @static - * @param {baml_core.cffi.v1.IBamlTyEnum} message BamlTyEnum message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyEnum} message BamlTyEnum message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -5267,11 +5267,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyEnum message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyEnum + * @memberof baml_bridge.cffi.v1.BamlTyEnum * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyEnum} BamlTyEnum + * @returns {baml_bridge.cffi.v1.BamlTyEnum} BamlTyEnum * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -5282,7 +5282,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyEnum(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyEnum(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -5303,10 +5303,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyEnum message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyEnum + * @memberof baml_bridge.cffi.v1.BamlTyEnum * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyEnum} BamlTyEnum + * @returns {baml_bridge.cffi.v1.BamlTyEnum} BamlTyEnum * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -5319,7 +5319,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyEnum message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyEnum + * @memberof baml_bridge.cffi.v1.BamlTyEnum * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -5340,21 +5340,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyEnum message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyEnum + * @memberof baml_bridge.cffi.v1.BamlTyEnum * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyEnum} BamlTyEnum + * @returns {baml_bridge.cffi.v1.BamlTyEnum} BamlTyEnum */ BamlTyEnum.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyEnum) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyEnum) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyEnum: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyEnum: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlTyEnum(); + let message = new $root.baml_bridge.cffi.v1.BamlTyEnum(); if (object.name != null) message.name = String(object.name); return message; @@ -5363,9 +5363,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlTyEnum message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyEnum + * @memberof baml_bridge.cffi.v1.BamlTyEnum * @static - * @param {baml_core.cffi.v1.BamlTyEnum} message BamlTyEnum + * @param {baml_bridge.cffi.v1.BamlTyEnum} message BamlTyEnum * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -5387,7 +5387,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlTyEnum to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyEnum + * @memberof baml_bridge.cffi.v1.BamlTyEnum * @instance * @returns {Object.} JSON object */ @@ -5398,7 +5398,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyEnum * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyEnum + * @memberof baml_bridge.cffi.v1.BamlTyEnum * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -5407,7 +5407,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyEnum"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyEnum"; }; return BamlTyEnum; @@ -5417,18 +5417,18 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyList. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyList - * @property {baml_core.cffi.v1.IBamlTy|null} [item] BamlTyList item + * @property {baml_bridge.cffi.v1.IBamlTy|null} [item] BamlTyList item */ /** * Constructs a new BamlTyList. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyList. * @implements IBamlTyList * @constructor - * @param {baml_core.cffi.v1.IBamlTyList=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyList=} [properties] Properties to set */ function BamlTyList(properties) { if (properties) @@ -5439,8 +5439,8 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyList item. - * @member {baml_core.cffi.v1.IBamlTy|null|undefined} item - * @memberof baml_core.cffi.v1.BamlTyList + * @member {baml_bridge.cffi.v1.IBamlTy|null|undefined} item + * @memberof baml_bridge.cffi.v1.BamlTyList * @instance */ BamlTyList.prototype.item = null; @@ -5448,21 +5448,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyList instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyList + * @memberof baml_bridge.cffi.v1.BamlTyList * @static - * @param {baml_core.cffi.v1.IBamlTyList=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyList} BamlTyList instance + * @param {baml_bridge.cffi.v1.IBamlTyList=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyList} BamlTyList instance */ BamlTyList.create = function create(properties) { return new BamlTyList(properties); }; /** - * Encodes the specified BamlTyList message. Does not implicitly {@link baml_core.cffi.v1.BamlTyList.verify|verify} messages. + * Encodes the specified BamlTyList message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyList.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyList + * @memberof baml_bridge.cffi.v1.BamlTyList * @static - * @param {baml_core.cffi.v1.IBamlTyList} message BamlTyList message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyList} message BamlTyList message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -5474,16 +5474,16 @@ export const baml_core = $root.baml_core = (() => { if (q > $util.recursionLimit) throw Error("max depth exceeded"); if (message.item != null && Object.hasOwnProperty.call(message, "item")) - $root.baml_core.cffi.v1.BamlTy.encode(message.item, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.item, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlTyList message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyList.verify|verify} messages. + * Encodes the specified BamlTyList message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyList.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyList + * @memberof baml_bridge.cffi.v1.BamlTyList * @static - * @param {baml_core.cffi.v1.IBamlTyList} message BamlTyList message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyList} message BamlTyList message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -5494,11 +5494,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyList message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyList + * @memberof baml_bridge.cffi.v1.BamlTyList * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyList} BamlTyList + * @returns {baml_bridge.cffi.v1.BamlTyList} BamlTyList * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -5509,14 +5509,14 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyList(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyList(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.item = $root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); + message.item = $root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); break; } default: @@ -5530,10 +5530,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyList message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyList + * @memberof baml_bridge.cffi.v1.BamlTyList * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyList} BamlTyList + * @returns {baml_bridge.cffi.v1.BamlTyList} BamlTyList * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -5546,7 +5546,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyList message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyList + * @memberof baml_bridge.cffi.v1.BamlTyList * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -5559,7 +5559,7 @@ export const baml_core = $root.baml_core = (() => { if (long > $util.recursionLimit) return "maximum nesting depth exceeded"; if (message.item != null && message.hasOwnProperty("item")) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.item, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.item, long + 1); if (error) return "item." + error; } @@ -5569,25 +5569,25 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyList message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyList + * @memberof baml_bridge.cffi.v1.BamlTyList * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyList} BamlTyList + * @returns {baml_bridge.cffi.v1.BamlTyList} BamlTyList */ BamlTyList.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyList) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyList) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyList: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyList: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlTyList(); + let message = new $root.baml_bridge.cffi.v1.BamlTyList(); if (object.item != null) { if (!$util.isObject(object.item)) - throw TypeError(".baml_core.cffi.v1.BamlTyList.item: object expected"); - message.item = $root.baml_core.cffi.v1.BamlTy.fromObject(object.item, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTyList.item: object expected"); + message.item = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.item, long + 1); } return message; }; @@ -5595,9 +5595,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlTyList message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyList + * @memberof baml_bridge.cffi.v1.BamlTyList * @static - * @param {baml_core.cffi.v1.BamlTyList} message BamlTyList + * @param {baml_bridge.cffi.v1.BamlTyList} message BamlTyList * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -5612,14 +5612,14 @@ export const baml_core = $root.baml_core = (() => { if (options.defaults) object.item = null; if (message.item != null && message.hasOwnProperty("item")) - object.item = $root.baml_core.cffi.v1.BamlTy.toObject(message.item, options, q + 1); + object.item = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.item, options, q + 1); return object; }; /** * Converts this BamlTyList to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyList + * @memberof baml_bridge.cffi.v1.BamlTyList * @instance * @returns {Object.} JSON object */ @@ -5630,7 +5630,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyList * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyList + * @memberof baml_bridge.cffi.v1.BamlTyList * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -5639,7 +5639,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyList"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyList"; }; return BamlTyList; @@ -5649,19 +5649,19 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyMap. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyMap - * @property {baml_core.cffi.v1.IBamlTy|null} [key] BamlTyMap key - * @property {baml_core.cffi.v1.IBamlTy|null} [value] BamlTyMap value + * @property {baml_bridge.cffi.v1.IBamlTy|null} [key] BamlTyMap key + * @property {baml_bridge.cffi.v1.IBamlTy|null} [value] BamlTyMap value */ /** * Constructs a new BamlTyMap. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyMap. * @implements IBamlTyMap * @constructor - * @param {baml_core.cffi.v1.IBamlTyMap=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyMap=} [properties] Properties to set */ function BamlTyMap(properties) { if (properties) @@ -5672,16 +5672,16 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyMap key. - * @member {baml_core.cffi.v1.IBamlTy|null|undefined} key - * @memberof baml_core.cffi.v1.BamlTyMap + * @member {baml_bridge.cffi.v1.IBamlTy|null|undefined} key + * @memberof baml_bridge.cffi.v1.BamlTyMap * @instance */ BamlTyMap.prototype.key = null; /** * BamlTyMap value. - * @member {baml_core.cffi.v1.IBamlTy|null|undefined} value - * @memberof baml_core.cffi.v1.BamlTyMap + * @member {baml_bridge.cffi.v1.IBamlTy|null|undefined} value + * @memberof baml_bridge.cffi.v1.BamlTyMap * @instance */ BamlTyMap.prototype.value = null; @@ -5689,21 +5689,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyMap instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyMap + * @memberof baml_bridge.cffi.v1.BamlTyMap * @static - * @param {baml_core.cffi.v1.IBamlTyMap=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyMap} BamlTyMap instance + * @param {baml_bridge.cffi.v1.IBamlTyMap=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyMap} BamlTyMap instance */ BamlTyMap.create = function create(properties) { return new BamlTyMap(properties); }; /** - * Encodes the specified BamlTyMap message. Does not implicitly {@link baml_core.cffi.v1.BamlTyMap.verify|verify} messages. + * Encodes the specified BamlTyMap message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyMap.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyMap + * @memberof baml_bridge.cffi.v1.BamlTyMap * @static - * @param {baml_core.cffi.v1.IBamlTyMap} message BamlTyMap message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyMap} message BamlTyMap message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -5715,18 +5715,18 @@ export const baml_core = $root.baml_core = (() => { if (q > $util.recursionLimit) throw Error("max depth exceeded"); if (message.key != null && Object.hasOwnProperty.call(message, "key")) - $root.baml_core.cffi.v1.BamlTy.encode(message.key, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.key, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); if (message.value != null && Object.hasOwnProperty.call(message, "value")) - $root.baml_core.cffi.v1.BamlTy.encode(message.value, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.value, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlTyMap message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyMap.verify|verify} messages. + * Encodes the specified BamlTyMap message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyMap.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyMap + * @memberof baml_bridge.cffi.v1.BamlTyMap * @static - * @param {baml_core.cffi.v1.IBamlTyMap} message BamlTyMap message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyMap} message BamlTyMap message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -5737,11 +5737,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyMap message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyMap + * @memberof baml_bridge.cffi.v1.BamlTyMap * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyMap} BamlTyMap + * @returns {baml_bridge.cffi.v1.BamlTyMap} BamlTyMap * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -5752,18 +5752,18 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyMap(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyMap(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.key = $root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); + message.key = $root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); break; } case 2: { - message.value = $root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); + message.value = $root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); break; } default: @@ -5777,10 +5777,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyMap message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyMap + * @memberof baml_bridge.cffi.v1.BamlTyMap * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyMap} BamlTyMap + * @returns {baml_bridge.cffi.v1.BamlTyMap} BamlTyMap * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -5793,7 +5793,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyMap message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyMap + * @memberof baml_bridge.cffi.v1.BamlTyMap * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -5806,12 +5806,12 @@ export const baml_core = $root.baml_core = (() => { if (long > $util.recursionLimit) return "maximum nesting depth exceeded"; if (message.key != null && message.hasOwnProperty("key")) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.key, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.key, long + 1); if (error) return "key." + error; } if (message.value != null && message.hasOwnProperty("value")) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.value, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.value, long + 1); if (error) return "value." + error; } @@ -5821,30 +5821,30 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyMap message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyMap + * @memberof baml_bridge.cffi.v1.BamlTyMap * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyMap} BamlTyMap + * @returns {baml_bridge.cffi.v1.BamlTyMap} BamlTyMap */ BamlTyMap.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyMap) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyMap) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyMap: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyMap: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlTyMap(); + let message = new $root.baml_bridge.cffi.v1.BamlTyMap(); if (object.key != null) { if (!$util.isObject(object.key)) - throw TypeError(".baml_core.cffi.v1.BamlTyMap.key: object expected"); - message.key = $root.baml_core.cffi.v1.BamlTy.fromObject(object.key, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTyMap.key: object expected"); + message.key = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.key, long + 1); } if (object.value != null) { if (!$util.isObject(object.value)) - throw TypeError(".baml_core.cffi.v1.BamlTyMap.value: object expected"); - message.value = $root.baml_core.cffi.v1.BamlTy.fromObject(object.value, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTyMap.value: object expected"); + message.value = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.value, long + 1); } return message; }; @@ -5852,9 +5852,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlTyMap message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyMap + * @memberof baml_bridge.cffi.v1.BamlTyMap * @static - * @param {baml_core.cffi.v1.BamlTyMap} message BamlTyMap + * @param {baml_bridge.cffi.v1.BamlTyMap} message BamlTyMap * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -5871,16 +5871,16 @@ export const baml_core = $root.baml_core = (() => { object.value = null; } if (message.key != null && message.hasOwnProperty("key")) - object.key = $root.baml_core.cffi.v1.BamlTy.toObject(message.key, options, q + 1); + object.key = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.key, options, q + 1); if (message.value != null && message.hasOwnProperty("value")) - object.value = $root.baml_core.cffi.v1.BamlTy.toObject(message.value, options, q + 1); + object.value = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.value, options, q + 1); return object; }; /** * Converts this BamlTyMap to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyMap + * @memberof baml_bridge.cffi.v1.BamlTyMap * @instance * @returns {Object.} JSON object */ @@ -5891,7 +5891,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyMap * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyMap + * @memberof baml_bridge.cffi.v1.BamlTyMap * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -5900,7 +5900,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyMap"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyMap"; }; return BamlTyMap; @@ -5910,18 +5910,18 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyOptional. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyOptional - * @property {baml_core.cffi.v1.IBamlTy|null} [inner] BamlTyOptional inner + * @property {baml_bridge.cffi.v1.IBamlTy|null} [inner] BamlTyOptional inner */ /** * Constructs a new BamlTyOptional. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyOptional. * @implements IBamlTyOptional * @constructor - * @param {baml_core.cffi.v1.IBamlTyOptional=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyOptional=} [properties] Properties to set */ function BamlTyOptional(properties) { if (properties) @@ -5932,8 +5932,8 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyOptional inner. - * @member {baml_core.cffi.v1.IBamlTy|null|undefined} inner - * @memberof baml_core.cffi.v1.BamlTyOptional + * @member {baml_bridge.cffi.v1.IBamlTy|null|undefined} inner + * @memberof baml_bridge.cffi.v1.BamlTyOptional * @instance */ BamlTyOptional.prototype.inner = null; @@ -5941,21 +5941,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyOptional instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyOptional + * @memberof baml_bridge.cffi.v1.BamlTyOptional * @static - * @param {baml_core.cffi.v1.IBamlTyOptional=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyOptional} BamlTyOptional instance + * @param {baml_bridge.cffi.v1.IBamlTyOptional=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyOptional} BamlTyOptional instance */ BamlTyOptional.create = function create(properties) { return new BamlTyOptional(properties); }; /** - * Encodes the specified BamlTyOptional message. Does not implicitly {@link baml_core.cffi.v1.BamlTyOptional.verify|verify} messages. + * Encodes the specified BamlTyOptional message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyOptional.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyOptional + * @memberof baml_bridge.cffi.v1.BamlTyOptional * @static - * @param {baml_core.cffi.v1.IBamlTyOptional} message BamlTyOptional message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyOptional} message BamlTyOptional message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -5967,16 +5967,16 @@ export const baml_core = $root.baml_core = (() => { if (q > $util.recursionLimit) throw Error("max depth exceeded"); if (message.inner != null && Object.hasOwnProperty.call(message, "inner")) - $root.baml_core.cffi.v1.BamlTy.encode(message.inner, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.inner, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlTyOptional message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyOptional.verify|verify} messages. + * Encodes the specified BamlTyOptional message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyOptional.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyOptional + * @memberof baml_bridge.cffi.v1.BamlTyOptional * @static - * @param {baml_core.cffi.v1.IBamlTyOptional} message BamlTyOptional message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyOptional} message BamlTyOptional message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -5987,11 +5987,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyOptional message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyOptional + * @memberof baml_bridge.cffi.v1.BamlTyOptional * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyOptional} BamlTyOptional + * @returns {baml_bridge.cffi.v1.BamlTyOptional} BamlTyOptional * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -6002,14 +6002,14 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyOptional(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyOptional(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.inner = $root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); + message.inner = $root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); break; } default: @@ -6023,10 +6023,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyOptional message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyOptional + * @memberof baml_bridge.cffi.v1.BamlTyOptional * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyOptional} BamlTyOptional + * @returns {baml_bridge.cffi.v1.BamlTyOptional} BamlTyOptional * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -6039,7 +6039,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyOptional message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyOptional + * @memberof baml_bridge.cffi.v1.BamlTyOptional * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -6052,7 +6052,7 @@ export const baml_core = $root.baml_core = (() => { if (long > $util.recursionLimit) return "maximum nesting depth exceeded"; if (message.inner != null && message.hasOwnProperty("inner")) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.inner, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.inner, long + 1); if (error) return "inner." + error; } @@ -6062,25 +6062,25 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyOptional message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyOptional + * @memberof baml_bridge.cffi.v1.BamlTyOptional * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyOptional} BamlTyOptional + * @returns {baml_bridge.cffi.v1.BamlTyOptional} BamlTyOptional */ BamlTyOptional.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyOptional) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyOptional) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyOptional: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyOptional: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlTyOptional(); + let message = new $root.baml_bridge.cffi.v1.BamlTyOptional(); if (object.inner != null) { if (!$util.isObject(object.inner)) - throw TypeError(".baml_core.cffi.v1.BamlTyOptional.inner: object expected"); - message.inner = $root.baml_core.cffi.v1.BamlTy.fromObject(object.inner, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTyOptional.inner: object expected"); + message.inner = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.inner, long + 1); } return message; }; @@ -6088,9 +6088,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlTyOptional message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyOptional + * @memberof baml_bridge.cffi.v1.BamlTyOptional * @static - * @param {baml_core.cffi.v1.BamlTyOptional} message BamlTyOptional + * @param {baml_bridge.cffi.v1.BamlTyOptional} message BamlTyOptional * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -6105,14 +6105,14 @@ export const baml_core = $root.baml_core = (() => { if (options.defaults) object.inner = null; if (message.inner != null && message.hasOwnProperty("inner")) - object.inner = $root.baml_core.cffi.v1.BamlTy.toObject(message.inner, options, q + 1); + object.inner = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.inner, options, q + 1); return object; }; /** * Converts this BamlTyOptional to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyOptional + * @memberof baml_bridge.cffi.v1.BamlTyOptional * @instance * @returns {Object.} JSON object */ @@ -6123,7 +6123,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyOptional * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyOptional + * @memberof baml_bridge.cffi.v1.BamlTyOptional * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -6132,7 +6132,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyOptional"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyOptional"; }; return BamlTyOptional; @@ -6142,18 +6142,18 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyUnion. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyUnion - * @property {Array.|null} [options] BamlTyUnion options + * @property {Array.|null} [options] BamlTyUnion options */ /** * Constructs a new BamlTyUnion. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyUnion. * @implements IBamlTyUnion * @constructor - * @param {baml_core.cffi.v1.IBamlTyUnion=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyUnion=} [properties] Properties to set */ function BamlTyUnion(properties) { this.options = []; @@ -6165,8 +6165,8 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyUnion options. - * @member {Array.} options - * @memberof baml_core.cffi.v1.BamlTyUnion + * @member {Array.} options + * @memberof baml_bridge.cffi.v1.BamlTyUnion * @instance */ BamlTyUnion.prototype.options = $util.emptyArray; @@ -6174,21 +6174,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyUnion instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyUnion + * @memberof baml_bridge.cffi.v1.BamlTyUnion * @static - * @param {baml_core.cffi.v1.IBamlTyUnion=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyUnion} BamlTyUnion instance + * @param {baml_bridge.cffi.v1.IBamlTyUnion=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyUnion} BamlTyUnion instance */ BamlTyUnion.create = function create(properties) { return new BamlTyUnion(properties); }; /** - * Encodes the specified BamlTyUnion message. Does not implicitly {@link baml_core.cffi.v1.BamlTyUnion.verify|verify} messages. + * Encodes the specified BamlTyUnion message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyUnion.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyUnion + * @memberof baml_bridge.cffi.v1.BamlTyUnion * @static - * @param {baml_core.cffi.v1.IBamlTyUnion} message BamlTyUnion message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyUnion} message BamlTyUnion message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -6201,16 +6201,16 @@ export const baml_core = $root.baml_core = (() => { throw Error("max depth exceeded"); if (message.options != null && message.options.length) for (let i = 0; i < message.options.length; ++i) - $root.baml_core.cffi.v1.BamlTy.encode(message.options[i], writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.options[i], writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlTyUnion message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyUnion.verify|verify} messages. + * Encodes the specified BamlTyUnion message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyUnion.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyUnion + * @memberof baml_bridge.cffi.v1.BamlTyUnion * @static - * @param {baml_core.cffi.v1.IBamlTyUnion} message BamlTyUnion message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyUnion} message BamlTyUnion message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -6221,11 +6221,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyUnion message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyUnion + * @memberof baml_bridge.cffi.v1.BamlTyUnion * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyUnion} BamlTyUnion + * @returns {baml_bridge.cffi.v1.BamlTyUnion} BamlTyUnion * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -6236,7 +6236,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyUnion(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyUnion(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -6245,7 +6245,7 @@ export const baml_core = $root.baml_core = (() => { case 1: { if (!(message.options && message.options.length)) message.options = []; - message.options.push($root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1)); + message.options.push($root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1)); break; } default: @@ -6259,10 +6259,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyUnion message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyUnion + * @memberof baml_bridge.cffi.v1.BamlTyUnion * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyUnion} BamlTyUnion + * @returns {baml_bridge.cffi.v1.BamlTyUnion} BamlTyUnion * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -6275,7 +6275,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyUnion message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyUnion + * @memberof baml_bridge.cffi.v1.BamlTyUnion * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -6291,7 +6291,7 @@ export const baml_core = $root.baml_core = (() => { if (!Array.isArray(message.options)) return "options: array expected"; for (let i = 0; i < message.options.length; ++i) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.options[i], long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.options[i], long + 1); if (error) return "options." + error; } @@ -6302,29 +6302,29 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyUnion message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyUnion + * @memberof baml_bridge.cffi.v1.BamlTyUnion * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyUnion} BamlTyUnion + * @returns {baml_bridge.cffi.v1.BamlTyUnion} BamlTyUnion */ BamlTyUnion.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyUnion) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyUnion) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyUnion: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyUnion: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlTyUnion(); + let message = new $root.baml_bridge.cffi.v1.BamlTyUnion(); if (object.options) { if (!Array.isArray(object.options)) - throw TypeError(".baml_core.cffi.v1.BamlTyUnion.options: array expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyUnion.options: array expected"); message.options = []; for (let i = 0; i < object.options.length; ++i) { if (!$util.isObject(object.options[i])) - throw TypeError(".baml_core.cffi.v1.BamlTyUnion.options: object expected"); - message.options[i] = $root.baml_core.cffi.v1.BamlTy.fromObject(object.options[i], long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTyUnion.options: object expected"); + message.options[i] = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.options[i], long + 1); } } return message; @@ -6333,9 +6333,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlTyUnion message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyUnion + * @memberof baml_bridge.cffi.v1.BamlTyUnion * @static - * @param {baml_core.cffi.v1.BamlTyUnion} message BamlTyUnion + * @param {baml_bridge.cffi.v1.BamlTyUnion} message BamlTyUnion * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -6352,7 +6352,7 @@ export const baml_core = $root.baml_core = (() => { if (message.options && message.options.length) { object.options = []; for (let j = 0; j < message.options.length; ++j) - object.options[j] = $root.baml_core.cffi.v1.BamlTy.toObject(message.options[j], options, q + 1); + object.options[j] = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.options[j], options, q + 1); } return object; }; @@ -6360,7 +6360,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlTyUnion to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyUnion + * @memberof baml_bridge.cffi.v1.BamlTyUnion * @instance * @returns {Object.} JSON object */ @@ -6371,7 +6371,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyUnion * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyUnion + * @memberof baml_bridge.cffi.v1.BamlTyUnion * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -6380,7 +6380,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyUnion"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyUnion"; }; return BamlTyUnion; @@ -6390,17 +6390,17 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyUnknown. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyUnknown */ /** * Constructs a new BamlTyUnknown. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyUnknown. * @implements IBamlTyUnknown * @constructor - * @param {baml_core.cffi.v1.IBamlTyUnknown=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyUnknown=} [properties] Properties to set */ function BamlTyUnknown(properties) { if (properties) @@ -6412,21 +6412,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyUnknown instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyUnknown + * @memberof baml_bridge.cffi.v1.BamlTyUnknown * @static - * @param {baml_core.cffi.v1.IBamlTyUnknown=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyUnknown} BamlTyUnknown instance + * @param {baml_bridge.cffi.v1.IBamlTyUnknown=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyUnknown} BamlTyUnknown instance */ BamlTyUnknown.create = function create(properties) { return new BamlTyUnknown(properties); }; /** - * Encodes the specified BamlTyUnknown message. Does not implicitly {@link baml_core.cffi.v1.BamlTyUnknown.verify|verify} messages. + * Encodes the specified BamlTyUnknown message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyUnknown.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyUnknown + * @memberof baml_bridge.cffi.v1.BamlTyUnknown * @static - * @param {baml_core.cffi.v1.IBamlTyUnknown} message BamlTyUnknown message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyUnknown} message BamlTyUnknown message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -6441,11 +6441,11 @@ export const baml_core = $root.baml_core = (() => { }; /** - * Encodes the specified BamlTyUnknown message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyUnknown.verify|verify} messages. + * Encodes the specified BamlTyUnknown message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyUnknown.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyUnknown + * @memberof baml_bridge.cffi.v1.BamlTyUnknown * @static - * @param {baml_core.cffi.v1.IBamlTyUnknown} message BamlTyUnknown message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyUnknown} message BamlTyUnknown message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -6456,11 +6456,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyUnknown message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyUnknown + * @memberof baml_bridge.cffi.v1.BamlTyUnknown * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyUnknown} BamlTyUnknown + * @returns {baml_bridge.cffi.v1.BamlTyUnknown} BamlTyUnknown * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -6471,7 +6471,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyUnknown(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyUnknown(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -6488,10 +6488,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyUnknown message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyUnknown + * @memberof baml_bridge.cffi.v1.BamlTyUnknown * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyUnknown} BamlTyUnknown + * @returns {baml_bridge.cffi.v1.BamlTyUnknown} BamlTyUnknown * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -6504,7 +6504,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyUnknown message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyUnknown + * @memberof baml_bridge.cffi.v1.BamlTyUnknown * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -6522,29 +6522,29 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyUnknown message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyUnknown + * @memberof baml_bridge.cffi.v1.BamlTyUnknown * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyUnknown} BamlTyUnknown + * @returns {baml_bridge.cffi.v1.BamlTyUnknown} BamlTyUnknown */ BamlTyUnknown.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyUnknown) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyUnknown) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyUnknown: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyUnknown: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - return new $root.baml_core.cffi.v1.BamlTyUnknown(); + return new $root.baml_bridge.cffi.v1.BamlTyUnknown(); }; /** * Creates a plain object from a BamlTyUnknown message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyUnknown + * @memberof baml_bridge.cffi.v1.BamlTyUnknown * @static - * @param {baml_core.cffi.v1.BamlTyUnknown} message BamlTyUnknown + * @param {baml_bridge.cffi.v1.BamlTyUnknown} message BamlTyUnknown * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -6555,7 +6555,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlTyUnknown to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyUnknown + * @memberof baml_bridge.cffi.v1.BamlTyUnknown * @instance * @returns {Object.} JSON object */ @@ -6566,7 +6566,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyUnknown * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyUnknown + * @memberof baml_bridge.cffi.v1.BamlTyUnknown * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -6575,7 +6575,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyUnknown"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyUnknown"; }; return BamlTyUnknown; @@ -6585,7 +6585,7 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyLiteral. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyLiteral * @property {string|null} [stringValue] BamlTyLiteral stringValue * @property {number|Long|null} [intValue] BamlTyLiteral intValue @@ -6596,11 +6596,11 @@ export const baml_core = $root.baml_core = (() => { /** * Constructs a new BamlTyLiteral. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyLiteral. * @implements IBamlTyLiteral * @constructor - * @param {baml_core.cffi.v1.IBamlTyLiteral=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyLiteral=} [properties] Properties to set */ function BamlTyLiteral(properties) { if (properties) @@ -6612,7 +6612,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyLiteral stringValue. * @member {string|null|undefined} stringValue - * @memberof baml_core.cffi.v1.BamlTyLiteral + * @memberof baml_bridge.cffi.v1.BamlTyLiteral * @instance */ BamlTyLiteral.prototype.stringValue = null; @@ -6620,7 +6620,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyLiteral intValue. * @member {number|Long|null|undefined} intValue - * @memberof baml_core.cffi.v1.BamlTyLiteral + * @memberof baml_bridge.cffi.v1.BamlTyLiteral * @instance */ BamlTyLiteral.prototype.intValue = null; @@ -6628,7 +6628,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyLiteral boolValue. * @member {boolean|null|undefined} boolValue - * @memberof baml_core.cffi.v1.BamlTyLiteral + * @memberof baml_bridge.cffi.v1.BamlTyLiteral * @instance */ BamlTyLiteral.prototype.boolValue = null; @@ -6636,7 +6636,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyLiteral bigintValue. * @member {string|null|undefined} bigintValue - * @memberof baml_core.cffi.v1.BamlTyLiteral + * @memberof baml_bridge.cffi.v1.BamlTyLiteral * @instance */ BamlTyLiteral.prototype.bigintValue = null; @@ -6644,7 +6644,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyLiteral floatValue. * @member {string|null|undefined} floatValue - * @memberof baml_core.cffi.v1.BamlTyLiteral + * @memberof baml_bridge.cffi.v1.BamlTyLiteral * @instance */ BamlTyLiteral.prototype.floatValue = null; @@ -6655,7 +6655,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyLiteral literal. * @member {"stringValue"|"intValue"|"boolValue"|"bigintValue"|"floatValue"|undefined} literal - * @memberof baml_core.cffi.v1.BamlTyLiteral + * @memberof baml_bridge.cffi.v1.BamlTyLiteral * @instance */ Object.defineProperty(BamlTyLiteral.prototype, "literal", { @@ -6666,21 +6666,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyLiteral instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyLiteral + * @memberof baml_bridge.cffi.v1.BamlTyLiteral * @static - * @param {baml_core.cffi.v1.IBamlTyLiteral=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyLiteral} BamlTyLiteral instance + * @param {baml_bridge.cffi.v1.IBamlTyLiteral=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyLiteral} BamlTyLiteral instance */ BamlTyLiteral.create = function create(properties) { return new BamlTyLiteral(properties); }; /** - * Encodes the specified BamlTyLiteral message. Does not implicitly {@link baml_core.cffi.v1.BamlTyLiteral.verify|verify} messages. + * Encodes the specified BamlTyLiteral message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyLiteral.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyLiteral + * @memberof baml_bridge.cffi.v1.BamlTyLiteral * @static - * @param {baml_core.cffi.v1.IBamlTyLiteral} message BamlTyLiteral message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyLiteral} message BamlTyLiteral message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -6705,11 +6705,11 @@ export const baml_core = $root.baml_core = (() => { }; /** - * Encodes the specified BamlTyLiteral message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyLiteral.verify|verify} messages. + * Encodes the specified BamlTyLiteral message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyLiteral.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyLiteral + * @memberof baml_bridge.cffi.v1.BamlTyLiteral * @static - * @param {baml_core.cffi.v1.IBamlTyLiteral} message BamlTyLiteral message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyLiteral} message BamlTyLiteral message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -6720,11 +6720,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyLiteral message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyLiteral + * @memberof baml_bridge.cffi.v1.BamlTyLiteral * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyLiteral} BamlTyLiteral + * @returns {baml_bridge.cffi.v1.BamlTyLiteral} BamlTyLiteral * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -6735,7 +6735,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyLiteral(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyLiteral(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -6772,10 +6772,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyLiteral message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyLiteral + * @memberof baml_bridge.cffi.v1.BamlTyLiteral * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyLiteral} BamlTyLiteral + * @returns {baml_bridge.cffi.v1.BamlTyLiteral} BamlTyLiteral * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -6788,7 +6788,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyLiteral message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyLiteral + * @memberof baml_bridge.cffi.v1.BamlTyLiteral * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -6840,21 +6840,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyLiteral message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyLiteral + * @memberof baml_bridge.cffi.v1.BamlTyLiteral * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyLiteral} BamlTyLiteral + * @returns {baml_bridge.cffi.v1.BamlTyLiteral} BamlTyLiteral */ BamlTyLiteral.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyLiteral) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyLiteral) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyLiteral: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyLiteral: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlTyLiteral(); + let message = new $root.baml_bridge.cffi.v1.BamlTyLiteral(); if (object.stringValue != null) message.stringValue = String(object.stringValue); if (object.intValue != null) @@ -6878,9 +6878,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlTyLiteral message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyLiteral + * @memberof baml_bridge.cffi.v1.BamlTyLiteral * @static - * @param {baml_core.cffi.v1.BamlTyLiteral} message BamlTyLiteral + * @param {baml_bridge.cffi.v1.BamlTyLiteral} message BamlTyLiteral * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -6928,7 +6928,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlTyLiteral to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyLiteral + * @memberof baml_bridge.cffi.v1.BamlTyLiteral * @instance * @returns {Object.} JSON object */ @@ -6939,7 +6939,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyLiteral * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyLiteral + * @memberof baml_bridge.cffi.v1.BamlTyLiteral * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -6948,7 +6948,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyLiteral"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyLiteral"; }; return BamlTyLiteral; @@ -6956,7 +6956,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyMediaKind enum. - * @name baml_core.cffi.v1.BamlTyMediaKind + * @name baml_bridge.cffi.v1.BamlTyMediaKind * @enum {number} * @property {number} BAML_TY_MEDIA_KIND_UNSPECIFIED=0 BAML_TY_MEDIA_KIND_UNSPECIFIED value * @property {number} BAML_TY_MEDIA_KIND_IMAGE=1 BAML_TY_MEDIA_KIND_IMAGE value @@ -6980,18 +6980,18 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyMedia. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyMedia - * @property {baml_core.cffi.v1.BamlTyMediaKind|null} [kind] BamlTyMedia kind + * @property {baml_bridge.cffi.v1.BamlTyMediaKind|null} [kind] BamlTyMedia kind */ /** * Constructs a new BamlTyMedia. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyMedia. * @implements IBamlTyMedia * @constructor - * @param {baml_core.cffi.v1.IBamlTyMedia=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyMedia=} [properties] Properties to set */ function BamlTyMedia(properties) { if (properties) @@ -7002,8 +7002,8 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyMedia kind. - * @member {baml_core.cffi.v1.BamlTyMediaKind} kind - * @memberof baml_core.cffi.v1.BamlTyMedia + * @member {baml_bridge.cffi.v1.BamlTyMediaKind} kind + * @memberof baml_bridge.cffi.v1.BamlTyMedia * @instance */ BamlTyMedia.prototype.kind = 0; @@ -7011,21 +7011,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyMedia instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyMedia + * @memberof baml_bridge.cffi.v1.BamlTyMedia * @static - * @param {baml_core.cffi.v1.IBamlTyMedia=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyMedia} BamlTyMedia instance + * @param {baml_bridge.cffi.v1.IBamlTyMedia=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyMedia} BamlTyMedia instance */ BamlTyMedia.create = function create(properties) { return new BamlTyMedia(properties); }; /** - * Encodes the specified BamlTyMedia message. Does not implicitly {@link baml_core.cffi.v1.BamlTyMedia.verify|verify} messages. + * Encodes the specified BamlTyMedia message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyMedia.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyMedia + * @memberof baml_bridge.cffi.v1.BamlTyMedia * @static - * @param {baml_core.cffi.v1.IBamlTyMedia} message BamlTyMedia message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyMedia} message BamlTyMedia message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -7042,11 +7042,11 @@ export const baml_core = $root.baml_core = (() => { }; /** - * Encodes the specified BamlTyMedia message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyMedia.verify|verify} messages. + * Encodes the specified BamlTyMedia message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyMedia.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyMedia + * @memberof baml_bridge.cffi.v1.BamlTyMedia * @static - * @param {baml_core.cffi.v1.IBamlTyMedia} message BamlTyMedia message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyMedia} message BamlTyMedia message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -7057,11 +7057,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyMedia message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyMedia + * @memberof baml_bridge.cffi.v1.BamlTyMedia * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyMedia} BamlTyMedia + * @returns {baml_bridge.cffi.v1.BamlTyMedia} BamlTyMedia * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -7072,7 +7072,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyMedia(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyMedia(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -7093,10 +7093,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyMedia message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyMedia + * @memberof baml_bridge.cffi.v1.BamlTyMedia * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyMedia} BamlTyMedia + * @returns {baml_bridge.cffi.v1.BamlTyMedia} BamlTyMedia * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -7109,7 +7109,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyMedia message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyMedia + * @memberof baml_bridge.cffi.v1.BamlTyMedia * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -7139,21 +7139,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyMedia message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyMedia + * @memberof baml_bridge.cffi.v1.BamlTyMedia * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyMedia} BamlTyMedia + * @returns {baml_bridge.cffi.v1.BamlTyMedia} BamlTyMedia */ BamlTyMedia.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyMedia) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyMedia) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyMedia: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyMedia: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlTyMedia(); + let message = new $root.baml_bridge.cffi.v1.BamlTyMedia(); switch (object.kind) { default: if (typeof object.kind === "number") { @@ -7192,9 +7192,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlTyMedia message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyMedia + * @memberof baml_bridge.cffi.v1.BamlTyMedia * @static - * @param {baml_core.cffi.v1.BamlTyMedia} message BamlTyMedia + * @param {baml_bridge.cffi.v1.BamlTyMedia} message BamlTyMedia * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -7209,14 +7209,14 @@ export const baml_core = $root.baml_core = (() => { if (options.defaults) object.kind = options.enums === String ? "BAML_TY_MEDIA_KIND_UNSPECIFIED" : 0; if (message.kind != null && message.hasOwnProperty("kind")) - object.kind = options.enums === String ? $root.baml_core.cffi.v1.BamlTyMediaKind[message.kind] === undefined ? message.kind : $root.baml_core.cffi.v1.BamlTyMediaKind[message.kind] : message.kind; + object.kind = options.enums === String ? $root.baml_bridge.cffi.v1.BamlTyMediaKind[message.kind] === undefined ? message.kind : $root.baml_bridge.cffi.v1.BamlTyMediaKind[message.kind] : message.kind; return object; }; /** * Converts this BamlTyMedia to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyMedia + * @memberof baml_bridge.cffi.v1.BamlTyMedia * @instance * @returns {Object.} JSON object */ @@ -7227,7 +7227,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyMedia * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyMedia + * @memberof baml_bridge.cffi.v1.BamlTyMedia * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -7236,7 +7236,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyMedia"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyMedia"; }; return BamlTyMedia; @@ -7246,20 +7246,20 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyInterface. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyInterface * @property {string|null} [name] BamlTyInterface name - * @property {Array.|null} [typeArgs] BamlTyInterface typeArgs - * @property {Array.|null} [bindings] BamlTyInterface bindings + * @property {Array.|null} [typeArgs] BamlTyInterface typeArgs + * @property {Array.|null} [bindings] BamlTyInterface bindings */ /** * Constructs a new BamlTyInterface. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyInterface. * @implements IBamlTyInterface * @constructor - * @param {baml_core.cffi.v1.IBamlTyInterface=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyInterface=} [properties] Properties to set */ function BamlTyInterface(properties) { this.typeArgs = []; @@ -7273,23 +7273,23 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyInterface name. * @member {string} name - * @memberof baml_core.cffi.v1.BamlTyInterface + * @memberof baml_bridge.cffi.v1.BamlTyInterface * @instance */ BamlTyInterface.prototype.name = ""; /** * BamlTyInterface typeArgs. - * @member {Array.} typeArgs - * @memberof baml_core.cffi.v1.BamlTyInterface + * @member {Array.} typeArgs + * @memberof baml_bridge.cffi.v1.BamlTyInterface * @instance */ BamlTyInterface.prototype.typeArgs = $util.emptyArray; /** * BamlTyInterface bindings. - * @member {Array.} bindings - * @memberof baml_core.cffi.v1.BamlTyInterface + * @member {Array.} bindings + * @memberof baml_bridge.cffi.v1.BamlTyInterface * @instance */ BamlTyInterface.prototype.bindings = $util.emptyArray; @@ -7297,21 +7297,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyInterface instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyInterface + * @memberof baml_bridge.cffi.v1.BamlTyInterface * @static - * @param {baml_core.cffi.v1.IBamlTyInterface=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyInterface} BamlTyInterface instance + * @param {baml_bridge.cffi.v1.IBamlTyInterface=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyInterface} BamlTyInterface instance */ BamlTyInterface.create = function create(properties) { return new BamlTyInterface(properties); }; /** - * Encodes the specified BamlTyInterface message. Does not implicitly {@link baml_core.cffi.v1.BamlTyInterface.verify|verify} messages. + * Encodes the specified BamlTyInterface message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyInterface.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyInterface + * @memberof baml_bridge.cffi.v1.BamlTyInterface * @static - * @param {baml_core.cffi.v1.IBamlTyInterface} message BamlTyInterface message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyInterface} message BamlTyInterface message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -7326,19 +7326,19 @@ export const baml_core = $root.baml_core = (() => { writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); if (message.typeArgs != null && message.typeArgs.length) for (let i = 0; i < message.typeArgs.length; ++i) - $root.baml_core.cffi.v1.BamlTy.encode(message.typeArgs[i], writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.typeArgs[i], writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); if (message.bindings != null && message.bindings.length) for (let i = 0; i < message.bindings.length; ++i) - $root.baml_core.cffi.v1.BamlTyAssociatedBinding.encode(message.bindings[i], writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyAssociatedBinding.encode(message.bindings[i], writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlTyInterface message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyInterface.verify|verify} messages. + * Encodes the specified BamlTyInterface message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyInterface.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyInterface + * @memberof baml_bridge.cffi.v1.BamlTyInterface * @static - * @param {baml_core.cffi.v1.IBamlTyInterface} message BamlTyInterface message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyInterface} message BamlTyInterface message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -7349,11 +7349,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyInterface message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyInterface + * @memberof baml_bridge.cffi.v1.BamlTyInterface * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyInterface} BamlTyInterface + * @returns {baml_bridge.cffi.v1.BamlTyInterface} BamlTyInterface * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -7364,7 +7364,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyInterface(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyInterface(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -7377,13 +7377,13 @@ export const baml_core = $root.baml_core = (() => { case 2: { if (!(message.typeArgs && message.typeArgs.length)) message.typeArgs = []; - message.typeArgs.push($root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1)); + message.typeArgs.push($root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1)); break; } case 3: { if (!(message.bindings && message.bindings.length)) message.bindings = []; - message.bindings.push($root.baml_core.cffi.v1.BamlTyAssociatedBinding.decode(reader, reader.uint32(), undefined, long + 1)); + message.bindings.push($root.baml_bridge.cffi.v1.BamlTyAssociatedBinding.decode(reader, reader.uint32(), undefined, long + 1)); break; } default: @@ -7397,10 +7397,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyInterface message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyInterface + * @memberof baml_bridge.cffi.v1.BamlTyInterface * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyInterface} BamlTyInterface + * @returns {baml_bridge.cffi.v1.BamlTyInterface} BamlTyInterface * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -7413,7 +7413,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyInterface message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyInterface + * @memberof baml_bridge.cffi.v1.BamlTyInterface * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -7432,7 +7432,7 @@ export const baml_core = $root.baml_core = (() => { if (!Array.isArray(message.typeArgs)) return "typeArgs: array expected"; for (let i = 0; i < message.typeArgs.length; ++i) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.typeArgs[i], long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.typeArgs[i], long + 1); if (error) return "typeArgs." + error; } @@ -7441,7 +7441,7 @@ export const baml_core = $root.baml_core = (() => { if (!Array.isArray(message.bindings)) return "bindings: array expected"; for (let i = 0; i < message.bindings.length; ++i) { - let error = $root.baml_core.cffi.v1.BamlTyAssociatedBinding.verify(message.bindings[i], long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyAssociatedBinding.verify(message.bindings[i], long + 1); if (error) return "bindings." + error; } @@ -7452,41 +7452,41 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyInterface message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyInterface + * @memberof baml_bridge.cffi.v1.BamlTyInterface * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyInterface} BamlTyInterface + * @returns {baml_bridge.cffi.v1.BamlTyInterface} BamlTyInterface */ BamlTyInterface.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyInterface) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyInterface) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyInterface: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyInterface: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlTyInterface(); + let message = new $root.baml_bridge.cffi.v1.BamlTyInterface(); if (object.name != null) message.name = String(object.name); if (object.typeArgs) { if (!Array.isArray(object.typeArgs)) - throw TypeError(".baml_core.cffi.v1.BamlTyInterface.typeArgs: array expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyInterface.typeArgs: array expected"); message.typeArgs = []; for (let i = 0; i < object.typeArgs.length; ++i) { if (!$util.isObject(object.typeArgs[i])) - throw TypeError(".baml_core.cffi.v1.BamlTyInterface.typeArgs: object expected"); - message.typeArgs[i] = $root.baml_core.cffi.v1.BamlTy.fromObject(object.typeArgs[i], long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTyInterface.typeArgs: object expected"); + message.typeArgs[i] = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.typeArgs[i], long + 1); } } if (object.bindings) { if (!Array.isArray(object.bindings)) - throw TypeError(".baml_core.cffi.v1.BamlTyInterface.bindings: array expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyInterface.bindings: array expected"); message.bindings = []; for (let i = 0; i < object.bindings.length; ++i) { if (!$util.isObject(object.bindings[i])) - throw TypeError(".baml_core.cffi.v1.BamlTyInterface.bindings: object expected"); - message.bindings[i] = $root.baml_core.cffi.v1.BamlTyAssociatedBinding.fromObject(object.bindings[i], long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTyInterface.bindings: object expected"); + message.bindings[i] = $root.baml_bridge.cffi.v1.BamlTyAssociatedBinding.fromObject(object.bindings[i], long + 1); } } return message; @@ -7495,9 +7495,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlTyInterface message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyInterface + * @memberof baml_bridge.cffi.v1.BamlTyInterface * @static - * @param {baml_core.cffi.v1.BamlTyInterface} message BamlTyInterface + * @param {baml_bridge.cffi.v1.BamlTyInterface} message BamlTyInterface * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -7520,12 +7520,12 @@ export const baml_core = $root.baml_core = (() => { if (message.typeArgs && message.typeArgs.length) { object.typeArgs = []; for (let j = 0; j < message.typeArgs.length; ++j) - object.typeArgs[j] = $root.baml_core.cffi.v1.BamlTy.toObject(message.typeArgs[j], options, q + 1); + object.typeArgs[j] = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.typeArgs[j], options, q + 1); } if (message.bindings && message.bindings.length) { object.bindings = []; for (let j = 0; j < message.bindings.length; ++j) - object.bindings[j] = $root.baml_core.cffi.v1.BamlTyAssociatedBinding.toObject(message.bindings[j], options, q + 1); + object.bindings[j] = $root.baml_bridge.cffi.v1.BamlTyAssociatedBinding.toObject(message.bindings[j], options, q + 1); } return object; }; @@ -7533,7 +7533,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlTyInterface to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyInterface + * @memberof baml_bridge.cffi.v1.BamlTyInterface * @instance * @returns {Object.} JSON object */ @@ -7544,7 +7544,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyInterface * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyInterface + * @memberof baml_bridge.cffi.v1.BamlTyInterface * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -7553,7 +7553,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyInterface"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyInterface"; }; return BamlTyInterface; @@ -7563,19 +7563,19 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyAssociatedBinding. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyAssociatedBinding * @property {string|null} [name] BamlTyAssociatedBinding name - * @property {baml_core.cffi.v1.IBamlTy|null} [ty] BamlTyAssociatedBinding ty + * @property {baml_bridge.cffi.v1.IBamlTy|null} [ty] BamlTyAssociatedBinding ty */ /** * Constructs a new BamlTyAssociatedBinding. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyAssociatedBinding. * @implements IBamlTyAssociatedBinding * @constructor - * @param {baml_core.cffi.v1.IBamlTyAssociatedBinding=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyAssociatedBinding=} [properties] Properties to set */ function BamlTyAssociatedBinding(properties) { if (properties) @@ -7587,15 +7587,15 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyAssociatedBinding name. * @member {string} name - * @memberof baml_core.cffi.v1.BamlTyAssociatedBinding + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedBinding * @instance */ BamlTyAssociatedBinding.prototype.name = ""; /** * BamlTyAssociatedBinding ty. - * @member {baml_core.cffi.v1.IBamlTy|null|undefined} ty - * @memberof baml_core.cffi.v1.BamlTyAssociatedBinding + * @member {baml_bridge.cffi.v1.IBamlTy|null|undefined} ty + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedBinding * @instance */ BamlTyAssociatedBinding.prototype.ty = null; @@ -7603,21 +7603,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyAssociatedBinding instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyAssociatedBinding + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedBinding * @static - * @param {baml_core.cffi.v1.IBamlTyAssociatedBinding=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyAssociatedBinding} BamlTyAssociatedBinding instance + * @param {baml_bridge.cffi.v1.IBamlTyAssociatedBinding=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyAssociatedBinding} BamlTyAssociatedBinding instance */ BamlTyAssociatedBinding.create = function create(properties) { return new BamlTyAssociatedBinding(properties); }; /** - * Encodes the specified BamlTyAssociatedBinding message. Does not implicitly {@link baml_core.cffi.v1.BamlTyAssociatedBinding.verify|verify} messages. + * Encodes the specified BamlTyAssociatedBinding message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyAssociatedBinding.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyAssociatedBinding + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedBinding * @static - * @param {baml_core.cffi.v1.IBamlTyAssociatedBinding} message BamlTyAssociatedBinding message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyAssociatedBinding} message BamlTyAssociatedBinding message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -7631,16 +7631,16 @@ export const baml_core = $root.baml_core = (() => { if (message.name != null && Object.hasOwnProperty.call(message, "name")) writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); if (message.ty != null && Object.hasOwnProperty.call(message, "ty")) - $root.baml_core.cffi.v1.BamlTy.encode(message.ty, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.ty, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlTyAssociatedBinding message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyAssociatedBinding.verify|verify} messages. + * Encodes the specified BamlTyAssociatedBinding message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyAssociatedBinding.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyAssociatedBinding + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedBinding * @static - * @param {baml_core.cffi.v1.IBamlTyAssociatedBinding} message BamlTyAssociatedBinding message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyAssociatedBinding} message BamlTyAssociatedBinding message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -7651,11 +7651,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyAssociatedBinding message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyAssociatedBinding + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedBinding * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyAssociatedBinding} BamlTyAssociatedBinding + * @returns {baml_bridge.cffi.v1.BamlTyAssociatedBinding} BamlTyAssociatedBinding * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -7666,7 +7666,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyAssociatedBinding(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyAssociatedBinding(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -7677,7 +7677,7 @@ export const baml_core = $root.baml_core = (() => { break; } case 2: { - message.ty = $root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); + message.ty = $root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); break; } default: @@ -7691,10 +7691,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyAssociatedBinding message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyAssociatedBinding + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedBinding * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyAssociatedBinding} BamlTyAssociatedBinding + * @returns {baml_bridge.cffi.v1.BamlTyAssociatedBinding} BamlTyAssociatedBinding * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -7707,7 +7707,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyAssociatedBinding message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyAssociatedBinding + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedBinding * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -7723,7 +7723,7 @@ export const baml_core = $root.baml_core = (() => { if (!$util.isString(message.name)) return "name: string expected"; if (message.ty != null && message.hasOwnProperty("ty")) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.ty, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.ty, long + 1); if (error) return "ty." + error; } @@ -7733,27 +7733,27 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyAssociatedBinding message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyAssociatedBinding + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedBinding * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyAssociatedBinding} BamlTyAssociatedBinding + * @returns {baml_bridge.cffi.v1.BamlTyAssociatedBinding} BamlTyAssociatedBinding */ BamlTyAssociatedBinding.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyAssociatedBinding) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyAssociatedBinding) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyAssociatedBinding: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyAssociatedBinding: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlTyAssociatedBinding(); + let message = new $root.baml_bridge.cffi.v1.BamlTyAssociatedBinding(); if (object.name != null) message.name = String(object.name); if (object.ty != null) { if (!$util.isObject(object.ty)) - throw TypeError(".baml_core.cffi.v1.BamlTyAssociatedBinding.ty: object expected"); - message.ty = $root.baml_core.cffi.v1.BamlTy.fromObject(object.ty, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTyAssociatedBinding.ty: object expected"); + message.ty = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.ty, long + 1); } return message; }; @@ -7761,9 +7761,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlTyAssociatedBinding message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyAssociatedBinding + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedBinding * @static - * @param {baml_core.cffi.v1.BamlTyAssociatedBinding} message BamlTyAssociatedBinding + * @param {baml_bridge.cffi.v1.BamlTyAssociatedBinding} message BamlTyAssociatedBinding * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -7782,14 +7782,14 @@ export const baml_core = $root.baml_core = (() => { if (message.name != null && message.hasOwnProperty("name")) object.name = message.name; if (message.ty != null && message.hasOwnProperty("ty")) - object.ty = $root.baml_core.cffi.v1.BamlTy.toObject(message.ty, options, q + 1); + object.ty = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.ty, options, q + 1); return object; }; /** * Converts this BamlTyAssociatedBinding to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyAssociatedBinding + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedBinding * @instance * @returns {Object.} JSON object */ @@ -7800,7 +7800,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyAssociatedBinding * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyAssociatedBinding + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedBinding * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -7809,7 +7809,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyAssociatedBinding"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyAssociatedBinding"; }; return BamlTyAssociatedBinding; @@ -7819,7 +7819,7 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyEnumVariant. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyEnumVariant * @property {string|null} [name] BamlTyEnumVariant name * @property {string|null} [variant] BamlTyEnumVariant variant @@ -7827,11 +7827,11 @@ export const baml_core = $root.baml_core = (() => { /** * Constructs a new BamlTyEnumVariant. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyEnumVariant. * @implements IBamlTyEnumVariant * @constructor - * @param {baml_core.cffi.v1.IBamlTyEnumVariant=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyEnumVariant=} [properties] Properties to set */ function BamlTyEnumVariant(properties) { if (properties) @@ -7843,7 +7843,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyEnumVariant name. * @member {string} name - * @memberof baml_core.cffi.v1.BamlTyEnumVariant + * @memberof baml_bridge.cffi.v1.BamlTyEnumVariant * @instance */ BamlTyEnumVariant.prototype.name = ""; @@ -7851,7 +7851,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyEnumVariant variant. * @member {string} variant - * @memberof baml_core.cffi.v1.BamlTyEnumVariant + * @memberof baml_bridge.cffi.v1.BamlTyEnumVariant * @instance */ BamlTyEnumVariant.prototype.variant = ""; @@ -7859,21 +7859,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyEnumVariant instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyEnumVariant + * @memberof baml_bridge.cffi.v1.BamlTyEnumVariant * @static - * @param {baml_core.cffi.v1.IBamlTyEnumVariant=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyEnumVariant} BamlTyEnumVariant instance + * @param {baml_bridge.cffi.v1.IBamlTyEnumVariant=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyEnumVariant} BamlTyEnumVariant instance */ BamlTyEnumVariant.create = function create(properties) { return new BamlTyEnumVariant(properties); }; /** - * Encodes the specified BamlTyEnumVariant message. Does not implicitly {@link baml_core.cffi.v1.BamlTyEnumVariant.verify|verify} messages. + * Encodes the specified BamlTyEnumVariant message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyEnumVariant.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyEnumVariant + * @memberof baml_bridge.cffi.v1.BamlTyEnumVariant * @static - * @param {baml_core.cffi.v1.IBamlTyEnumVariant} message BamlTyEnumVariant message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyEnumVariant} message BamlTyEnumVariant message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -7892,11 +7892,11 @@ export const baml_core = $root.baml_core = (() => { }; /** - * Encodes the specified BamlTyEnumVariant message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyEnumVariant.verify|verify} messages. + * Encodes the specified BamlTyEnumVariant message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyEnumVariant.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyEnumVariant + * @memberof baml_bridge.cffi.v1.BamlTyEnumVariant * @static - * @param {baml_core.cffi.v1.IBamlTyEnumVariant} message BamlTyEnumVariant message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyEnumVariant} message BamlTyEnumVariant message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -7907,11 +7907,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyEnumVariant message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyEnumVariant + * @memberof baml_bridge.cffi.v1.BamlTyEnumVariant * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyEnumVariant} BamlTyEnumVariant + * @returns {baml_bridge.cffi.v1.BamlTyEnumVariant} BamlTyEnumVariant * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -7922,7 +7922,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyEnumVariant(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyEnumVariant(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -7947,10 +7947,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyEnumVariant message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyEnumVariant + * @memberof baml_bridge.cffi.v1.BamlTyEnumVariant * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyEnumVariant} BamlTyEnumVariant + * @returns {baml_bridge.cffi.v1.BamlTyEnumVariant} BamlTyEnumVariant * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -7963,7 +7963,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyEnumVariant message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyEnumVariant + * @memberof baml_bridge.cffi.v1.BamlTyEnumVariant * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -7987,21 +7987,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyEnumVariant message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyEnumVariant + * @memberof baml_bridge.cffi.v1.BamlTyEnumVariant * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyEnumVariant} BamlTyEnumVariant + * @returns {baml_bridge.cffi.v1.BamlTyEnumVariant} BamlTyEnumVariant */ BamlTyEnumVariant.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyEnumVariant) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyEnumVariant) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyEnumVariant: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyEnumVariant: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlTyEnumVariant(); + let message = new $root.baml_bridge.cffi.v1.BamlTyEnumVariant(); if (object.name != null) message.name = String(object.name); if (object.variant != null) @@ -8012,9 +8012,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlTyEnumVariant message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyEnumVariant + * @memberof baml_bridge.cffi.v1.BamlTyEnumVariant * @static - * @param {baml_core.cffi.v1.BamlTyEnumVariant} message BamlTyEnumVariant + * @param {baml_bridge.cffi.v1.BamlTyEnumVariant} message BamlTyEnumVariant * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -8040,7 +8040,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlTyEnumVariant to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyEnumVariant + * @memberof baml_bridge.cffi.v1.BamlTyEnumVariant * @instance * @returns {Object.} JSON object */ @@ -8051,7 +8051,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyEnumVariant * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyEnumVariant + * @memberof baml_bridge.cffi.v1.BamlTyEnumVariant * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -8060,7 +8060,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyEnumVariant"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyEnumVariant"; }; return BamlTyEnumVariant; @@ -8068,7 +8068,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyFunctionParamMode enum. - * @name baml_core.cffi.v1.BamlTyFunctionParamMode + * @name baml_bridge.cffi.v1.BamlTyFunctionParamMode * @enum {number} * @property {number} BAML_TY_FUNCTION_PARAM_MODE_UNSPECIFIED=0 BAML_TY_FUNCTION_PARAM_MODE_UNSPECIFIED value * @property {number} BAML_TY_FUNCTION_PARAM_MODE_REQUIRED=1 BAML_TY_FUNCTION_PARAM_MODE_REQUIRED value @@ -8086,20 +8086,20 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyFunctionParam. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyFunctionParam * @property {string|null} [name] BamlTyFunctionParam name - * @property {baml_core.cffi.v1.IBamlTy|null} [ty] BamlTyFunctionParam ty - * @property {baml_core.cffi.v1.BamlTyFunctionParamMode|null} [mode] BamlTyFunctionParam mode + * @property {baml_bridge.cffi.v1.IBamlTy|null} [ty] BamlTyFunctionParam ty + * @property {baml_bridge.cffi.v1.BamlTyFunctionParamMode|null} [mode] BamlTyFunctionParam mode */ /** * Constructs a new BamlTyFunctionParam. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyFunctionParam. * @implements IBamlTyFunctionParam * @constructor - * @param {baml_core.cffi.v1.IBamlTyFunctionParam=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyFunctionParam=} [properties] Properties to set */ function BamlTyFunctionParam(properties) { if (properties) @@ -8111,23 +8111,23 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyFunctionParam name. * @member {string|null|undefined} name - * @memberof baml_core.cffi.v1.BamlTyFunctionParam + * @memberof baml_bridge.cffi.v1.BamlTyFunctionParam * @instance */ BamlTyFunctionParam.prototype.name = null; /** * BamlTyFunctionParam ty. - * @member {baml_core.cffi.v1.IBamlTy|null|undefined} ty - * @memberof baml_core.cffi.v1.BamlTyFunctionParam + * @member {baml_bridge.cffi.v1.IBamlTy|null|undefined} ty + * @memberof baml_bridge.cffi.v1.BamlTyFunctionParam * @instance */ BamlTyFunctionParam.prototype.ty = null; /** * BamlTyFunctionParam mode. - * @member {baml_core.cffi.v1.BamlTyFunctionParamMode} mode - * @memberof baml_core.cffi.v1.BamlTyFunctionParam + * @member {baml_bridge.cffi.v1.BamlTyFunctionParamMode} mode + * @memberof baml_bridge.cffi.v1.BamlTyFunctionParam * @instance */ BamlTyFunctionParam.prototype.mode = 0; @@ -8144,21 +8144,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyFunctionParam instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyFunctionParam + * @memberof baml_bridge.cffi.v1.BamlTyFunctionParam * @static - * @param {baml_core.cffi.v1.IBamlTyFunctionParam=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyFunctionParam} BamlTyFunctionParam instance + * @param {baml_bridge.cffi.v1.IBamlTyFunctionParam=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyFunctionParam} BamlTyFunctionParam instance */ BamlTyFunctionParam.create = function create(properties) { return new BamlTyFunctionParam(properties); }; /** - * Encodes the specified BamlTyFunctionParam message. Does not implicitly {@link baml_core.cffi.v1.BamlTyFunctionParam.verify|verify} messages. + * Encodes the specified BamlTyFunctionParam message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyFunctionParam.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyFunctionParam + * @memberof baml_bridge.cffi.v1.BamlTyFunctionParam * @static - * @param {baml_core.cffi.v1.IBamlTyFunctionParam} message BamlTyFunctionParam message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyFunctionParam} message BamlTyFunctionParam message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -8172,18 +8172,18 @@ export const baml_core = $root.baml_core = (() => { if (message.name != null && Object.hasOwnProperty.call(message, "name")) writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); if (message.ty != null && Object.hasOwnProperty.call(message, "ty")) - $root.baml_core.cffi.v1.BamlTy.encode(message.ty, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.ty, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) writer.uint32(/* id 3, wireType 0 =*/24).int32(message.mode); return writer; }; /** - * Encodes the specified BamlTyFunctionParam message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyFunctionParam.verify|verify} messages. + * Encodes the specified BamlTyFunctionParam message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyFunctionParam.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyFunctionParam + * @memberof baml_bridge.cffi.v1.BamlTyFunctionParam * @static - * @param {baml_core.cffi.v1.IBamlTyFunctionParam} message BamlTyFunctionParam message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyFunctionParam} message BamlTyFunctionParam message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -8194,11 +8194,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyFunctionParam message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyFunctionParam + * @memberof baml_bridge.cffi.v1.BamlTyFunctionParam * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyFunctionParam} BamlTyFunctionParam + * @returns {baml_bridge.cffi.v1.BamlTyFunctionParam} BamlTyFunctionParam * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -8209,7 +8209,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyFunctionParam(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyFunctionParam(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -8220,7 +8220,7 @@ export const baml_core = $root.baml_core = (() => { break; } case 2: { - message.ty = $root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); + message.ty = $root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); break; } case 3: { @@ -8238,10 +8238,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyFunctionParam message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyFunctionParam + * @memberof baml_bridge.cffi.v1.BamlTyFunctionParam * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyFunctionParam} BamlTyFunctionParam + * @returns {baml_bridge.cffi.v1.BamlTyFunctionParam} BamlTyFunctionParam * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -8254,7 +8254,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyFunctionParam message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyFunctionParam + * @memberof baml_bridge.cffi.v1.BamlTyFunctionParam * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -8273,7 +8273,7 @@ export const baml_core = $root.baml_core = (() => { return "name: string expected"; } if (message.ty != null && message.hasOwnProperty("ty")) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.ty, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.ty, long + 1); if (error) return "ty." + error; } @@ -8292,27 +8292,27 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyFunctionParam message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyFunctionParam + * @memberof baml_bridge.cffi.v1.BamlTyFunctionParam * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyFunctionParam} BamlTyFunctionParam + * @returns {baml_bridge.cffi.v1.BamlTyFunctionParam} BamlTyFunctionParam */ BamlTyFunctionParam.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyFunctionParam) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyFunctionParam) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyFunctionParam: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyFunctionParam: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlTyFunctionParam(); + let message = new $root.baml_bridge.cffi.v1.BamlTyFunctionParam(); if (object.name != null) message.name = String(object.name); if (object.ty != null) { if (!$util.isObject(object.ty)) - throw TypeError(".baml_core.cffi.v1.BamlTyFunctionParam.ty: object expected"); - message.ty = $root.baml_core.cffi.v1.BamlTy.fromObject(object.ty, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTyFunctionParam.ty: object expected"); + message.ty = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.ty, long + 1); } switch (object.mode) { default: @@ -8340,9 +8340,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlTyFunctionParam message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyFunctionParam + * @memberof baml_bridge.cffi.v1.BamlTyFunctionParam * @static - * @param {baml_core.cffi.v1.BamlTyFunctionParam} message BamlTyFunctionParam + * @param {baml_bridge.cffi.v1.BamlTyFunctionParam} message BamlTyFunctionParam * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -8364,16 +8364,16 @@ export const baml_core = $root.baml_core = (() => { object._name = "name"; } if (message.ty != null && message.hasOwnProperty("ty")) - object.ty = $root.baml_core.cffi.v1.BamlTy.toObject(message.ty, options, q + 1); + object.ty = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.ty, options, q + 1); if (message.mode != null && message.hasOwnProperty("mode")) - object.mode = options.enums === String ? $root.baml_core.cffi.v1.BamlTyFunctionParamMode[message.mode] === undefined ? message.mode : $root.baml_core.cffi.v1.BamlTyFunctionParamMode[message.mode] : message.mode; + object.mode = options.enums === String ? $root.baml_bridge.cffi.v1.BamlTyFunctionParamMode[message.mode] === undefined ? message.mode : $root.baml_bridge.cffi.v1.BamlTyFunctionParamMode[message.mode] : message.mode; return object; }; /** * Converts this BamlTyFunctionParam to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyFunctionParam + * @memberof baml_bridge.cffi.v1.BamlTyFunctionParam * @instance * @returns {Object.} JSON object */ @@ -8384,7 +8384,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyFunctionParam * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyFunctionParam + * @memberof baml_bridge.cffi.v1.BamlTyFunctionParam * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -8393,7 +8393,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyFunctionParam"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyFunctionParam"; }; return BamlTyFunctionParam; @@ -8403,21 +8403,21 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyFunction. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyFunction * @property {Array.|null} [genericParams] BamlTyFunction genericParams - * @property {Array.|null} [params] BamlTyFunction params - * @property {baml_core.cffi.v1.IBamlTy|null} [ret] BamlTyFunction ret - * @property {baml_core.cffi.v1.IBamlTy|null} [throws] BamlTyFunction throws + * @property {Array.|null} [params] BamlTyFunction params + * @property {baml_bridge.cffi.v1.IBamlTy|null} [ret] BamlTyFunction ret + * @property {baml_bridge.cffi.v1.IBamlTy|null} [throws] BamlTyFunction throws */ /** * Constructs a new BamlTyFunction. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyFunction. * @implements IBamlTyFunction * @constructor - * @param {baml_core.cffi.v1.IBamlTyFunction=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyFunction=} [properties] Properties to set */ function BamlTyFunction(properties) { this.genericParams = []; @@ -8431,31 +8431,31 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyFunction genericParams. * @member {Array.} genericParams - * @memberof baml_core.cffi.v1.BamlTyFunction + * @memberof baml_bridge.cffi.v1.BamlTyFunction * @instance */ BamlTyFunction.prototype.genericParams = $util.emptyArray; /** * BamlTyFunction params. - * @member {Array.} params - * @memberof baml_core.cffi.v1.BamlTyFunction + * @member {Array.} params + * @memberof baml_bridge.cffi.v1.BamlTyFunction * @instance */ BamlTyFunction.prototype.params = $util.emptyArray; /** * BamlTyFunction ret. - * @member {baml_core.cffi.v1.IBamlTy|null|undefined} ret - * @memberof baml_core.cffi.v1.BamlTyFunction + * @member {baml_bridge.cffi.v1.IBamlTy|null|undefined} ret + * @memberof baml_bridge.cffi.v1.BamlTyFunction * @instance */ BamlTyFunction.prototype.ret = null; /** * BamlTyFunction throws. - * @member {baml_core.cffi.v1.IBamlTy|null|undefined} throws - * @memberof baml_core.cffi.v1.BamlTyFunction + * @member {baml_bridge.cffi.v1.IBamlTy|null|undefined} throws + * @memberof baml_bridge.cffi.v1.BamlTyFunction * @instance */ BamlTyFunction.prototype.throws = null; @@ -8463,21 +8463,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyFunction instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyFunction + * @memberof baml_bridge.cffi.v1.BamlTyFunction * @static - * @param {baml_core.cffi.v1.IBamlTyFunction=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyFunction} BamlTyFunction instance + * @param {baml_bridge.cffi.v1.IBamlTyFunction=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyFunction} BamlTyFunction instance */ BamlTyFunction.create = function create(properties) { return new BamlTyFunction(properties); }; /** - * Encodes the specified BamlTyFunction message. Does not implicitly {@link baml_core.cffi.v1.BamlTyFunction.verify|verify} messages. + * Encodes the specified BamlTyFunction message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyFunction.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyFunction + * @memberof baml_bridge.cffi.v1.BamlTyFunction * @static - * @param {baml_core.cffi.v1.IBamlTyFunction} message BamlTyFunction message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyFunction} message BamlTyFunction message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -8493,20 +8493,20 @@ export const baml_core = $root.baml_core = (() => { writer.uint32(/* id 1, wireType 2 =*/10).string(message.genericParams[i]); if (message.params != null && message.params.length) for (let i = 0; i < message.params.length; ++i) - $root.baml_core.cffi.v1.BamlTyFunctionParam.encode(message.params[i], writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyFunctionParam.encode(message.params[i], writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim(); if (message.ret != null && Object.hasOwnProperty.call(message, "ret")) - $root.baml_core.cffi.v1.BamlTy.encode(message.ret, writer.uint32(/* id 4, wireType 2 =*/34).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.ret, writer.uint32(/* id 4, wireType 2 =*/34).fork(), q + 1).ldelim(); if (message.throws != null && Object.hasOwnProperty.call(message, "throws")) - $root.baml_core.cffi.v1.BamlTy.encode(message.throws, writer.uint32(/* id 5, wireType 2 =*/42).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.throws, writer.uint32(/* id 5, wireType 2 =*/42).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlTyFunction message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyFunction.verify|verify} messages. + * Encodes the specified BamlTyFunction message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyFunction.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyFunction + * @memberof baml_bridge.cffi.v1.BamlTyFunction * @static - * @param {baml_core.cffi.v1.IBamlTyFunction} message BamlTyFunction message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyFunction} message BamlTyFunction message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -8517,11 +8517,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyFunction message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyFunction + * @memberof baml_bridge.cffi.v1.BamlTyFunction * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyFunction} BamlTyFunction + * @returns {baml_bridge.cffi.v1.BamlTyFunction} BamlTyFunction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -8532,7 +8532,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyFunction(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyFunction(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -8547,15 +8547,15 @@ export const baml_core = $root.baml_core = (() => { case 3: { if (!(message.params && message.params.length)) message.params = []; - message.params.push($root.baml_core.cffi.v1.BamlTyFunctionParam.decode(reader, reader.uint32(), undefined, long + 1)); + message.params.push($root.baml_bridge.cffi.v1.BamlTyFunctionParam.decode(reader, reader.uint32(), undefined, long + 1)); break; } case 4: { - message.ret = $root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); + message.ret = $root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); break; } case 5: { - message.throws = $root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); + message.throws = $root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); break; } default: @@ -8569,10 +8569,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyFunction message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyFunction + * @memberof baml_bridge.cffi.v1.BamlTyFunction * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyFunction} BamlTyFunction + * @returns {baml_bridge.cffi.v1.BamlTyFunction} BamlTyFunction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -8585,7 +8585,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyFunction message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyFunction + * @memberof baml_bridge.cffi.v1.BamlTyFunction * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -8608,18 +8608,18 @@ export const baml_core = $root.baml_core = (() => { if (!Array.isArray(message.params)) return "params: array expected"; for (let i = 0; i < message.params.length; ++i) { - let error = $root.baml_core.cffi.v1.BamlTyFunctionParam.verify(message.params[i], long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyFunctionParam.verify(message.params[i], long + 1); if (error) return "params." + error; } } if (message.ret != null && message.hasOwnProperty("ret")) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.ret, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.ret, long + 1); if (error) return "ret." + error; } if (message.throws != null && message.hasOwnProperty("throws")) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.throws, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.throws, long + 1); if (error) return "throws." + error; } @@ -8629,47 +8629,47 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyFunction message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyFunction + * @memberof baml_bridge.cffi.v1.BamlTyFunction * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyFunction} BamlTyFunction + * @returns {baml_bridge.cffi.v1.BamlTyFunction} BamlTyFunction */ BamlTyFunction.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyFunction) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyFunction) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyFunction: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyFunction: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlTyFunction(); + let message = new $root.baml_bridge.cffi.v1.BamlTyFunction(); if (object.genericParams) { if (!Array.isArray(object.genericParams)) - throw TypeError(".baml_core.cffi.v1.BamlTyFunction.genericParams: array expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyFunction.genericParams: array expected"); message.genericParams = []; for (let i = 0; i < object.genericParams.length; ++i) message.genericParams[i] = String(object.genericParams[i]); } if (object.params) { if (!Array.isArray(object.params)) - throw TypeError(".baml_core.cffi.v1.BamlTyFunction.params: array expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyFunction.params: array expected"); message.params = []; for (let i = 0; i < object.params.length; ++i) { if (!$util.isObject(object.params[i])) - throw TypeError(".baml_core.cffi.v1.BamlTyFunction.params: object expected"); - message.params[i] = $root.baml_core.cffi.v1.BamlTyFunctionParam.fromObject(object.params[i], long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTyFunction.params: object expected"); + message.params[i] = $root.baml_bridge.cffi.v1.BamlTyFunctionParam.fromObject(object.params[i], long + 1); } } if (object.ret != null) { if (!$util.isObject(object.ret)) - throw TypeError(".baml_core.cffi.v1.BamlTyFunction.ret: object expected"); - message.ret = $root.baml_core.cffi.v1.BamlTy.fromObject(object.ret, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTyFunction.ret: object expected"); + message.ret = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.ret, long + 1); } if (object.throws != null) { if (!$util.isObject(object.throws)) - throw TypeError(".baml_core.cffi.v1.BamlTyFunction.throws: object expected"); - message.throws = $root.baml_core.cffi.v1.BamlTy.fromObject(object.throws, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTyFunction.throws: object expected"); + message.throws = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.throws, long + 1); } return message; }; @@ -8677,9 +8677,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlTyFunction message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyFunction + * @memberof baml_bridge.cffi.v1.BamlTyFunction * @static - * @param {baml_core.cffi.v1.BamlTyFunction} message BamlTyFunction + * @param {baml_bridge.cffi.v1.BamlTyFunction} message BamlTyFunction * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -8707,19 +8707,19 @@ export const baml_core = $root.baml_core = (() => { if (message.params && message.params.length) { object.params = []; for (let j = 0; j < message.params.length; ++j) - object.params[j] = $root.baml_core.cffi.v1.BamlTyFunctionParam.toObject(message.params[j], options, q + 1); + object.params[j] = $root.baml_bridge.cffi.v1.BamlTyFunctionParam.toObject(message.params[j], options, q + 1); } if (message.ret != null && message.hasOwnProperty("ret")) - object.ret = $root.baml_core.cffi.v1.BamlTy.toObject(message.ret, options, q + 1); + object.ret = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.ret, options, q + 1); if (message.throws != null && message.hasOwnProperty("throws")) - object.throws = $root.baml_core.cffi.v1.BamlTy.toObject(message.throws, options, q + 1); + object.throws = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.throws, options, q + 1); return object; }; /** * Converts this BamlTyFunction to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyFunction + * @memberof baml_bridge.cffi.v1.BamlTyFunction * @instance * @returns {Object.} JSON object */ @@ -8730,7 +8730,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyFunction * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyFunction + * @memberof baml_bridge.cffi.v1.BamlTyFunction * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -8739,7 +8739,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyFunction"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyFunction"; }; return BamlTyFunction; @@ -8749,19 +8749,19 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyFuture. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyFuture - * @property {baml_core.cffi.v1.IBamlTy|null} [value] BamlTyFuture value - * @property {baml_core.cffi.v1.IBamlTy|null} [error] BamlTyFuture error + * @property {baml_bridge.cffi.v1.IBamlTy|null} [value] BamlTyFuture value + * @property {baml_bridge.cffi.v1.IBamlTy|null} [error] BamlTyFuture error */ /** * Constructs a new BamlTyFuture. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyFuture. * @implements IBamlTyFuture * @constructor - * @param {baml_core.cffi.v1.IBamlTyFuture=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyFuture=} [properties] Properties to set */ function BamlTyFuture(properties) { if (properties) @@ -8772,16 +8772,16 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyFuture value. - * @member {baml_core.cffi.v1.IBamlTy|null|undefined} value - * @memberof baml_core.cffi.v1.BamlTyFuture + * @member {baml_bridge.cffi.v1.IBamlTy|null|undefined} value + * @memberof baml_bridge.cffi.v1.BamlTyFuture * @instance */ BamlTyFuture.prototype.value = null; /** * BamlTyFuture error. - * @member {baml_core.cffi.v1.IBamlTy|null|undefined} error - * @memberof baml_core.cffi.v1.BamlTyFuture + * @member {baml_bridge.cffi.v1.IBamlTy|null|undefined} error + * @memberof baml_bridge.cffi.v1.BamlTyFuture * @instance */ BamlTyFuture.prototype.error = null; @@ -8789,21 +8789,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyFuture instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyFuture + * @memberof baml_bridge.cffi.v1.BamlTyFuture * @static - * @param {baml_core.cffi.v1.IBamlTyFuture=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyFuture} BamlTyFuture instance + * @param {baml_bridge.cffi.v1.IBamlTyFuture=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyFuture} BamlTyFuture instance */ BamlTyFuture.create = function create(properties) { return new BamlTyFuture(properties); }; /** - * Encodes the specified BamlTyFuture message. Does not implicitly {@link baml_core.cffi.v1.BamlTyFuture.verify|verify} messages. + * Encodes the specified BamlTyFuture message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyFuture.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyFuture + * @memberof baml_bridge.cffi.v1.BamlTyFuture * @static - * @param {baml_core.cffi.v1.IBamlTyFuture} message BamlTyFuture message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyFuture} message BamlTyFuture message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -8815,18 +8815,18 @@ export const baml_core = $root.baml_core = (() => { if (q > $util.recursionLimit) throw Error("max depth exceeded"); if (message.value != null && Object.hasOwnProperty.call(message, "value")) - $root.baml_core.cffi.v1.BamlTy.encode(message.value, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.value, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); if (message.error != null && Object.hasOwnProperty.call(message, "error")) - $root.baml_core.cffi.v1.BamlTy.encode(message.error, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.error, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlTyFuture message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyFuture.verify|verify} messages. + * Encodes the specified BamlTyFuture message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyFuture.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyFuture + * @memberof baml_bridge.cffi.v1.BamlTyFuture * @static - * @param {baml_core.cffi.v1.IBamlTyFuture} message BamlTyFuture message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyFuture} message BamlTyFuture message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -8837,11 +8837,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyFuture message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyFuture + * @memberof baml_bridge.cffi.v1.BamlTyFuture * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyFuture} BamlTyFuture + * @returns {baml_bridge.cffi.v1.BamlTyFuture} BamlTyFuture * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -8852,18 +8852,18 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyFuture(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyFuture(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.value = $root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); + message.value = $root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); break; } case 2: { - message.error = $root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); + message.error = $root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); break; } default: @@ -8877,10 +8877,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyFuture message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyFuture + * @memberof baml_bridge.cffi.v1.BamlTyFuture * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyFuture} BamlTyFuture + * @returns {baml_bridge.cffi.v1.BamlTyFuture} BamlTyFuture * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -8893,7 +8893,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyFuture message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyFuture + * @memberof baml_bridge.cffi.v1.BamlTyFuture * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -8906,12 +8906,12 @@ export const baml_core = $root.baml_core = (() => { if (long > $util.recursionLimit) return "maximum nesting depth exceeded"; if (message.value != null && message.hasOwnProperty("value")) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.value, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.value, long + 1); if (error) return "value." + error; } if (message.error != null && message.hasOwnProperty("error")) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.error, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.error, long + 1); if (error) return "error." + error; } @@ -8921,30 +8921,30 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyFuture message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyFuture + * @memberof baml_bridge.cffi.v1.BamlTyFuture * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyFuture} BamlTyFuture + * @returns {baml_bridge.cffi.v1.BamlTyFuture} BamlTyFuture */ BamlTyFuture.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyFuture) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyFuture) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyFuture: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyFuture: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlTyFuture(); + let message = new $root.baml_bridge.cffi.v1.BamlTyFuture(); if (object.value != null) { if (!$util.isObject(object.value)) - throw TypeError(".baml_core.cffi.v1.BamlTyFuture.value: object expected"); - message.value = $root.baml_core.cffi.v1.BamlTy.fromObject(object.value, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTyFuture.value: object expected"); + message.value = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.value, long + 1); } if (object.error != null) { if (!$util.isObject(object.error)) - throw TypeError(".baml_core.cffi.v1.BamlTyFuture.error: object expected"); - message.error = $root.baml_core.cffi.v1.BamlTy.fromObject(object.error, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTyFuture.error: object expected"); + message.error = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.error, long + 1); } return message; }; @@ -8952,9 +8952,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlTyFuture message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyFuture + * @memberof baml_bridge.cffi.v1.BamlTyFuture * @static - * @param {baml_core.cffi.v1.BamlTyFuture} message BamlTyFuture + * @param {baml_bridge.cffi.v1.BamlTyFuture} message BamlTyFuture * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -8971,16 +8971,16 @@ export const baml_core = $root.baml_core = (() => { object.error = null; } if (message.value != null && message.hasOwnProperty("value")) - object.value = $root.baml_core.cffi.v1.BamlTy.toObject(message.value, options, q + 1); + object.value = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.value, options, q + 1); if (message.error != null && message.hasOwnProperty("error")) - object.error = $root.baml_core.cffi.v1.BamlTy.toObject(message.error, options, q + 1); + object.error = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.error, options, q + 1); return object; }; /** * Converts this BamlTyFuture to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyFuture + * @memberof baml_bridge.cffi.v1.BamlTyFuture * @instance * @returns {Object.} JSON object */ @@ -8991,7 +8991,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyFuture * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyFuture + * @memberof baml_bridge.cffi.v1.BamlTyFuture * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -9000,7 +9000,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyFuture"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyFuture"; }; return BamlTyFuture; @@ -9010,17 +9010,17 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyRustType. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyRustType */ /** * Constructs a new BamlTyRustType. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyRustType. * @implements IBamlTyRustType * @constructor - * @param {baml_core.cffi.v1.IBamlTyRustType=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyRustType=} [properties] Properties to set */ function BamlTyRustType(properties) { if (properties) @@ -9032,21 +9032,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyRustType instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyRustType + * @memberof baml_bridge.cffi.v1.BamlTyRustType * @static - * @param {baml_core.cffi.v1.IBamlTyRustType=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyRustType} BamlTyRustType instance + * @param {baml_bridge.cffi.v1.IBamlTyRustType=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyRustType} BamlTyRustType instance */ BamlTyRustType.create = function create(properties) { return new BamlTyRustType(properties); }; /** - * Encodes the specified BamlTyRustType message. Does not implicitly {@link baml_core.cffi.v1.BamlTyRustType.verify|verify} messages. + * Encodes the specified BamlTyRustType message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyRustType.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyRustType + * @memberof baml_bridge.cffi.v1.BamlTyRustType * @static - * @param {baml_core.cffi.v1.IBamlTyRustType} message BamlTyRustType message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyRustType} message BamlTyRustType message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -9061,11 +9061,11 @@ export const baml_core = $root.baml_core = (() => { }; /** - * Encodes the specified BamlTyRustType message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyRustType.verify|verify} messages. + * Encodes the specified BamlTyRustType message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyRustType.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyRustType + * @memberof baml_bridge.cffi.v1.BamlTyRustType * @static - * @param {baml_core.cffi.v1.IBamlTyRustType} message BamlTyRustType message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyRustType} message BamlTyRustType message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -9076,11 +9076,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyRustType message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyRustType + * @memberof baml_bridge.cffi.v1.BamlTyRustType * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyRustType} BamlTyRustType + * @returns {baml_bridge.cffi.v1.BamlTyRustType} BamlTyRustType * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -9091,7 +9091,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyRustType(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyRustType(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -9108,10 +9108,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyRustType message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyRustType + * @memberof baml_bridge.cffi.v1.BamlTyRustType * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyRustType} BamlTyRustType + * @returns {baml_bridge.cffi.v1.BamlTyRustType} BamlTyRustType * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -9124,7 +9124,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyRustType message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyRustType + * @memberof baml_bridge.cffi.v1.BamlTyRustType * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -9142,29 +9142,29 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyRustType message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyRustType + * @memberof baml_bridge.cffi.v1.BamlTyRustType * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyRustType} BamlTyRustType + * @returns {baml_bridge.cffi.v1.BamlTyRustType} BamlTyRustType */ BamlTyRustType.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyRustType) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyRustType) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyRustType: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyRustType: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - return new $root.baml_core.cffi.v1.BamlTyRustType(); + return new $root.baml_bridge.cffi.v1.BamlTyRustType(); }; /** * Creates a plain object from a BamlTyRustType message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyRustType + * @memberof baml_bridge.cffi.v1.BamlTyRustType * @static - * @param {baml_core.cffi.v1.BamlTyRustType} message BamlTyRustType + * @param {baml_bridge.cffi.v1.BamlTyRustType} message BamlTyRustType * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -9175,7 +9175,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlTyRustType to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyRustType + * @memberof baml_bridge.cffi.v1.BamlTyRustType * @instance * @returns {Object.} JSON object */ @@ -9186,7 +9186,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyRustType * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyRustType + * @memberof baml_bridge.cffi.v1.BamlTyRustType * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -9195,7 +9195,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyRustType"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyRustType"; }; return BamlTyRustType; @@ -9205,17 +9205,17 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyMetaType. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyMetaType */ /** * Constructs a new BamlTyMetaType. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyMetaType. * @implements IBamlTyMetaType * @constructor - * @param {baml_core.cffi.v1.IBamlTyMetaType=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyMetaType=} [properties] Properties to set */ function BamlTyMetaType(properties) { if (properties) @@ -9227,21 +9227,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyMetaType instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyMetaType + * @memberof baml_bridge.cffi.v1.BamlTyMetaType * @static - * @param {baml_core.cffi.v1.IBamlTyMetaType=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyMetaType} BamlTyMetaType instance + * @param {baml_bridge.cffi.v1.IBamlTyMetaType=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyMetaType} BamlTyMetaType instance */ BamlTyMetaType.create = function create(properties) { return new BamlTyMetaType(properties); }; /** - * Encodes the specified BamlTyMetaType message. Does not implicitly {@link baml_core.cffi.v1.BamlTyMetaType.verify|verify} messages. + * Encodes the specified BamlTyMetaType message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyMetaType.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyMetaType + * @memberof baml_bridge.cffi.v1.BamlTyMetaType * @static - * @param {baml_core.cffi.v1.IBamlTyMetaType} message BamlTyMetaType message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyMetaType} message BamlTyMetaType message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -9256,11 +9256,11 @@ export const baml_core = $root.baml_core = (() => { }; /** - * Encodes the specified BamlTyMetaType message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyMetaType.verify|verify} messages. + * Encodes the specified BamlTyMetaType message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyMetaType.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyMetaType + * @memberof baml_bridge.cffi.v1.BamlTyMetaType * @static - * @param {baml_core.cffi.v1.IBamlTyMetaType} message BamlTyMetaType message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyMetaType} message BamlTyMetaType message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -9271,11 +9271,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyMetaType message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyMetaType + * @memberof baml_bridge.cffi.v1.BamlTyMetaType * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyMetaType} BamlTyMetaType + * @returns {baml_bridge.cffi.v1.BamlTyMetaType} BamlTyMetaType * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -9286,7 +9286,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyMetaType(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyMetaType(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -9303,10 +9303,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyMetaType message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyMetaType + * @memberof baml_bridge.cffi.v1.BamlTyMetaType * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyMetaType} BamlTyMetaType + * @returns {baml_bridge.cffi.v1.BamlTyMetaType} BamlTyMetaType * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -9319,7 +9319,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyMetaType message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyMetaType + * @memberof baml_bridge.cffi.v1.BamlTyMetaType * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -9337,29 +9337,29 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyMetaType message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyMetaType + * @memberof baml_bridge.cffi.v1.BamlTyMetaType * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyMetaType} BamlTyMetaType + * @returns {baml_bridge.cffi.v1.BamlTyMetaType} BamlTyMetaType */ BamlTyMetaType.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyMetaType) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyMetaType) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyMetaType: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyMetaType: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - return new $root.baml_core.cffi.v1.BamlTyMetaType(); + return new $root.baml_bridge.cffi.v1.BamlTyMetaType(); }; /** * Creates a plain object from a BamlTyMetaType message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyMetaType + * @memberof baml_bridge.cffi.v1.BamlTyMetaType * @static - * @param {baml_core.cffi.v1.BamlTyMetaType} message BamlTyMetaType + * @param {baml_bridge.cffi.v1.BamlTyMetaType} message BamlTyMetaType * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -9370,7 +9370,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlTyMetaType to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyMetaType + * @memberof baml_bridge.cffi.v1.BamlTyMetaType * @instance * @returns {Object.} JSON object */ @@ -9381,7 +9381,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyMetaType * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyMetaType + * @memberof baml_bridge.cffi.v1.BamlTyMetaType * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -9390,7 +9390,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyMetaType"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyMetaType"; }; return BamlTyMetaType; @@ -9400,17 +9400,17 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyResource. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyResource */ /** * Constructs a new BamlTyResource. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyResource. * @implements IBamlTyResource * @constructor - * @param {baml_core.cffi.v1.IBamlTyResource=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyResource=} [properties] Properties to set */ function BamlTyResource(properties) { if (properties) @@ -9422,21 +9422,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyResource instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyResource + * @memberof baml_bridge.cffi.v1.BamlTyResource * @static - * @param {baml_core.cffi.v1.IBamlTyResource=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyResource} BamlTyResource instance + * @param {baml_bridge.cffi.v1.IBamlTyResource=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyResource} BamlTyResource instance */ BamlTyResource.create = function create(properties) { return new BamlTyResource(properties); }; /** - * Encodes the specified BamlTyResource message. Does not implicitly {@link baml_core.cffi.v1.BamlTyResource.verify|verify} messages. + * Encodes the specified BamlTyResource message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyResource.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyResource + * @memberof baml_bridge.cffi.v1.BamlTyResource * @static - * @param {baml_core.cffi.v1.IBamlTyResource} message BamlTyResource message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyResource} message BamlTyResource message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -9451,11 +9451,11 @@ export const baml_core = $root.baml_core = (() => { }; /** - * Encodes the specified BamlTyResource message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyResource.verify|verify} messages. + * Encodes the specified BamlTyResource message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyResource.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyResource + * @memberof baml_bridge.cffi.v1.BamlTyResource * @static - * @param {baml_core.cffi.v1.IBamlTyResource} message BamlTyResource message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyResource} message BamlTyResource message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -9466,11 +9466,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyResource message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyResource + * @memberof baml_bridge.cffi.v1.BamlTyResource * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyResource} BamlTyResource + * @returns {baml_bridge.cffi.v1.BamlTyResource} BamlTyResource * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -9481,7 +9481,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyResource(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyResource(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -9498,10 +9498,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyResource message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyResource + * @memberof baml_bridge.cffi.v1.BamlTyResource * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyResource} BamlTyResource + * @returns {baml_bridge.cffi.v1.BamlTyResource} BamlTyResource * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -9514,7 +9514,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyResource message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyResource + * @memberof baml_bridge.cffi.v1.BamlTyResource * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -9532,29 +9532,29 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyResource message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyResource + * @memberof baml_bridge.cffi.v1.BamlTyResource * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyResource} BamlTyResource + * @returns {baml_bridge.cffi.v1.BamlTyResource} BamlTyResource */ BamlTyResource.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyResource) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyResource) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyResource: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyResource: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - return new $root.baml_core.cffi.v1.BamlTyResource(); + return new $root.baml_bridge.cffi.v1.BamlTyResource(); }; /** * Creates a plain object from a BamlTyResource message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyResource + * @memberof baml_bridge.cffi.v1.BamlTyResource * @static - * @param {baml_core.cffi.v1.BamlTyResource} message BamlTyResource + * @param {baml_bridge.cffi.v1.BamlTyResource} message BamlTyResource * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -9565,7 +9565,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlTyResource to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyResource + * @memberof baml_bridge.cffi.v1.BamlTyResource * @instance * @returns {Object.} JSON object */ @@ -9576,7 +9576,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyResource * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyResource + * @memberof baml_bridge.cffi.v1.BamlTyResource * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -9585,7 +9585,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyResource"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyResource"; }; return BamlTyResource; @@ -9595,17 +9595,17 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyPromptAst. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyPromptAst */ /** * Constructs a new BamlTyPromptAst. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyPromptAst. * @implements IBamlTyPromptAst * @constructor - * @param {baml_core.cffi.v1.IBamlTyPromptAst=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyPromptAst=} [properties] Properties to set */ function BamlTyPromptAst(properties) { if (properties) @@ -9617,21 +9617,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyPromptAst instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyPromptAst + * @memberof baml_bridge.cffi.v1.BamlTyPromptAst * @static - * @param {baml_core.cffi.v1.IBamlTyPromptAst=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyPromptAst} BamlTyPromptAst instance + * @param {baml_bridge.cffi.v1.IBamlTyPromptAst=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyPromptAst} BamlTyPromptAst instance */ BamlTyPromptAst.create = function create(properties) { return new BamlTyPromptAst(properties); }; /** - * Encodes the specified BamlTyPromptAst message. Does not implicitly {@link baml_core.cffi.v1.BamlTyPromptAst.verify|verify} messages. + * Encodes the specified BamlTyPromptAst message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyPromptAst.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyPromptAst + * @memberof baml_bridge.cffi.v1.BamlTyPromptAst * @static - * @param {baml_core.cffi.v1.IBamlTyPromptAst} message BamlTyPromptAst message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyPromptAst} message BamlTyPromptAst message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -9646,11 +9646,11 @@ export const baml_core = $root.baml_core = (() => { }; /** - * Encodes the specified BamlTyPromptAst message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyPromptAst.verify|verify} messages. + * Encodes the specified BamlTyPromptAst message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyPromptAst.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyPromptAst + * @memberof baml_bridge.cffi.v1.BamlTyPromptAst * @static - * @param {baml_core.cffi.v1.IBamlTyPromptAst} message BamlTyPromptAst message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyPromptAst} message BamlTyPromptAst message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -9661,11 +9661,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyPromptAst message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyPromptAst + * @memberof baml_bridge.cffi.v1.BamlTyPromptAst * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyPromptAst} BamlTyPromptAst + * @returns {baml_bridge.cffi.v1.BamlTyPromptAst} BamlTyPromptAst * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -9676,7 +9676,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyPromptAst(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyPromptAst(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -9693,10 +9693,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyPromptAst message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyPromptAst + * @memberof baml_bridge.cffi.v1.BamlTyPromptAst * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyPromptAst} BamlTyPromptAst + * @returns {baml_bridge.cffi.v1.BamlTyPromptAst} BamlTyPromptAst * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -9709,7 +9709,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyPromptAst message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyPromptAst + * @memberof baml_bridge.cffi.v1.BamlTyPromptAst * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -9727,29 +9727,29 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyPromptAst message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyPromptAst + * @memberof baml_bridge.cffi.v1.BamlTyPromptAst * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyPromptAst} BamlTyPromptAst + * @returns {baml_bridge.cffi.v1.BamlTyPromptAst} BamlTyPromptAst */ BamlTyPromptAst.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyPromptAst) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyPromptAst) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyPromptAst: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyPromptAst: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - return new $root.baml_core.cffi.v1.BamlTyPromptAst(); + return new $root.baml_bridge.cffi.v1.BamlTyPromptAst(); }; /** * Creates a plain object from a BamlTyPromptAst message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyPromptAst + * @memberof baml_bridge.cffi.v1.BamlTyPromptAst * @static - * @param {baml_core.cffi.v1.BamlTyPromptAst} message BamlTyPromptAst + * @param {baml_bridge.cffi.v1.BamlTyPromptAst} message BamlTyPromptAst * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -9760,7 +9760,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlTyPromptAst to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyPromptAst + * @memberof baml_bridge.cffi.v1.BamlTyPromptAst * @instance * @returns {Object.} JSON object */ @@ -9771,7 +9771,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyPromptAst * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyPromptAst + * @memberof baml_bridge.cffi.v1.BamlTyPromptAst * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -9780,7 +9780,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyPromptAst"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyPromptAst"; }; return BamlTyPromptAst; @@ -9790,17 +9790,17 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyVoid. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyVoid */ /** * Constructs a new BamlTyVoid. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyVoid. * @implements IBamlTyVoid * @constructor - * @param {baml_core.cffi.v1.IBamlTyVoid=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyVoid=} [properties] Properties to set */ function BamlTyVoid(properties) { if (properties) @@ -9812,21 +9812,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyVoid instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyVoid + * @memberof baml_bridge.cffi.v1.BamlTyVoid * @static - * @param {baml_core.cffi.v1.IBamlTyVoid=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyVoid} BamlTyVoid instance + * @param {baml_bridge.cffi.v1.IBamlTyVoid=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyVoid} BamlTyVoid instance */ BamlTyVoid.create = function create(properties) { return new BamlTyVoid(properties); }; /** - * Encodes the specified BamlTyVoid message. Does not implicitly {@link baml_core.cffi.v1.BamlTyVoid.verify|verify} messages. + * Encodes the specified BamlTyVoid message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyVoid.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyVoid + * @memberof baml_bridge.cffi.v1.BamlTyVoid * @static - * @param {baml_core.cffi.v1.IBamlTyVoid} message BamlTyVoid message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyVoid} message BamlTyVoid message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -9841,11 +9841,11 @@ export const baml_core = $root.baml_core = (() => { }; /** - * Encodes the specified BamlTyVoid message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyVoid.verify|verify} messages. + * Encodes the specified BamlTyVoid message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyVoid.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyVoid + * @memberof baml_bridge.cffi.v1.BamlTyVoid * @static - * @param {baml_core.cffi.v1.IBamlTyVoid} message BamlTyVoid message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyVoid} message BamlTyVoid message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -9856,11 +9856,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyVoid message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyVoid + * @memberof baml_bridge.cffi.v1.BamlTyVoid * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyVoid} BamlTyVoid + * @returns {baml_bridge.cffi.v1.BamlTyVoid} BamlTyVoid * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -9871,7 +9871,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyVoid(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyVoid(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -9888,10 +9888,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyVoid message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyVoid + * @memberof baml_bridge.cffi.v1.BamlTyVoid * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyVoid} BamlTyVoid + * @returns {baml_bridge.cffi.v1.BamlTyVoid} BamlTyVoid * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -9904,7 +9904,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyVoid message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyVoid + * @memberof baml_bridge.cffi.v1.BamlTyVoid * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -9922,29 +9922,29 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyVoid message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyVoid + * @memberof baml_bridge.cffi.v1.BamlTyVoid * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyVoid} BamlTyVoid + * @returns {baml_bridge.cffi.v1.BamlTyVoid} BamlTyVoid */ BamlTyVoid.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyVoid) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyVoid) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyVoid: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyVoid: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - return new $root.baml_core.cffi.v1.BamlTyVoid(); + return new $root.baml_bridge.cffi.v1.BamlTyVoid(); }; /** * Creates a plain object from a BamlTyVoid message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyVoid + * @memberof baml_bridge.cffi.v1.BamlTyVoid * @static - * @param {baml_core.cffi.v1.BamlTyVoid} message BamlTyVoid + * @param {baml_bridge.cffi.v1.BamlTyVoid} message BamlTyVoid * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -9955,7 +9955,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlTyVoid to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyVoid + * @memberof baml_bridge.cffi.v1.BamlTyVoid * @instance * @returns {Object.} JSON object */ @@ -9966,7 +9966,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyVoid * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyVoid + * @memberof baml_bridge.cffi.v1.BamlTyVoid * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -9975,7 +9975,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyVoid"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyVoid"; }; return BamlTyVoid; @@ -9985,18 +9985,18 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyWatchAccessor. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyWatchAccessor - * @property {baml_core.cffi.v1.IBamlTy|null} [inner] BamlTyWatchAccessor inner + * @property {baml_bridge.cffi.v1.IBamlTy|null} [inner] BamlTyWatchAccessor inner */ /** * Constructs a new BamlTyWatchAccessor. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyWatchAccessor. * @implements IBamlTyWatchAccessor * @constructor - * @param {baml_core.cffi.v1.IBamlTyWatchAccessor=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyWatchAccessor=} [properties] Properties to set */ function BamlTyWatchAccessor(properties) { if (properties) @@ -10007,8 +10007,8 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyWatchAccessor inner. - * @member {baml_core.cffi.v1.IBamlTy|null|undefined} inner - * @memberof baml_core.cffi.v1.BamlTyWatchAccessor + * @member {baml_bridge.cffi.v1.IBamlTy|null|undefined} inner + * @memberof baml_bridge.cffi.v1.BamlTyWatchAccessor * @instance */ BamlTyWatchAccessor.prototype.inner = null; @@ -10016,21 +10016,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyWatchAccessor instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyWatchAccessor + * @memberof baml_bridge.cffi.v1.BamlTyWatchAccessor * @static - * @param {baml_core.cffi.v1.IBamlTyWatchAccessor=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyWatchAccessor} BamlTyWatchAccessor instance + * @param {baml_bridge.cffi.v1.IBamlTyWatchAccessor=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyWatchAccessor} BamlTyWatchAccessor instance */ BamlTyWatchAccessor.create = function create(properties) { return new BamlTyWatchAccessor(properties); }; /** - * Encodes the specified BamlTyWatchAccessor message. Does not implicitly {@link baml_core.cffi.v1.BamlTyWatchAccessor.verify|verify} messages. + * Encodes the specified BamlTyWatchAccessor message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyWatchAccessor.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyWatchAccessor + * @memberof baml_bridge.cffi.v1.BamlTyWatchAccessor * @static - * @param {baml_core.cffi.v1.IBamlTyWatchAccessor} message BamlTyWatchAccessor message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyWatchAccessor} message BamlTyWatchAccessor message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -10042,16 +10042,16 @@ export const baml_core = $root.baml_core = (() => { if (q > $util.recursionLimit) throw Error("max depth exceeded"); if (message.inner != null && Object.hasOwnProperty.call(message, "inner")) - $root.baml_core.cffi.v1.BamlTy.encode(message.inner, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.inner, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlTyWatchAccessor message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyWatchAccessor.verify|verify} messages. + * Encodes the specified BamlTyWatchAccessor message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyWatchAccessor.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyWatchAccessor + * @memberof baml_bridge.cffi.v1.BamlTyWatchAccessor * @static - * @param {baml_core.cffi.v1.IBamlTyWatchAccessor} message BamlTyWatchAccessor message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyWatchAccessor} message BamlTyWatchAccessor message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -10062,11 +10062,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyWatchAccessor message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyWatchAccessor + * @memberof baml_bridge.cffi.v1.BamlTyWatchAccessor * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyWatchAccessor} BamlTyWatchAccessor + * @returns {baml_bridge.cffi.v1.BamlTyWatchAccessor} BamlTyWatchAccessor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -10077,14 +10077,14 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyWatchAccessor(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyWatchAccessor(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.inner = $root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); + message.inner = $root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); break; } default: @@ -10098,10 +10098,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyWatchAccessor message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyWatchAccessor + * @memberof baml_bridge.cffi.v1.BamlTyWatchAccessor * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyWatchAccessor} BamlTyWatchAccessor + * @returns {baml_bridge.cffi.v1.BamlTyWatchAccessor} BamlTyWatchAccessor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -10114,7 +10114,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyWatchAccessor message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyWatchAccessor + * @memberof baml_bridge.cffi.v1.BamlTyWatchAccessor * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -10127,7 +10127,7 @@ export const baml_core = $root.baml_core = (() => { if (long > $util.recursionLimit) return "maximum nesting depth exceeded"; if (message.inner != null && message.hasOwnProperty("inner")) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.inner, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.inner, long + 1); if (error) return "inner." + error; } @@ -10137,25 +10137,25 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyWatchAccessor message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyWatchAccessor + * @memberof baml_bridge.cffi.v1.BamlTyWatchAccessor * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyWatchAccessor} BamlTyWatchAccessor + * @returns {baml_bridge.cffi.v1.BamlTyWatchAccessor} BamlTyWatchAccessor */ BamlTyWatchAccessor.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyWatchAccessor) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyWatchAccessor) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyWatchAccessor: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyWatchAccessor: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlTyWatchAccessor(); + let message = new $root.baml_bridge.cffi.v1.BamlTyWatchAccessor(); if (object.inner != null) { if (!$util.isObject(object.inner)) - throw TypeError(".baml_core.cffi.v1.BamlTyWatchAccessor.inner: object expected"); - message.inner = $root.baml_core.cffi.v1.BamlTy.fromObject(object.inner, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTyWatchAccessor.inner: object expected"); + message.inner = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.inner, long + 1); } return message; }; @@ -10163,9 +10163,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlTyWatchAccessor message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyWatchAccessor + * @memberof baml_bridge.cffi.v1.BamlTyWatchAccessor * @static - * @param {baml_core.cffi.v1.BamlTyWatchAccessor} message BamlTyWatchAccessor + * @param {baml_bridge.cffi.v1.BamlTyWatchAccessor} message BamlTyWatchAccessor * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -10180,14 +10180,14 @@ export const baml_core = $root.baml_core = (() => { if (options.defaults) object.inner = null; if (message.inner != null && message.hasOwnProperty("inner")) - object.inner = $root.baml_core.cffi.v1.BamlTy.toObject(message.inner, options, q + 1); + object.inner = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.inner, options, q + 1); return object; }; /** * Converts this BamlTyWatchAccessor to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyWatchAccessor + * @memberof baml_bridge.cffi.v1.BamlTyWatchAccessor * @instance * @returns {Object.} JSON object */ @@ -10198,7 +10198,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyWatchAccessor * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyWatchAccessor + * @memberof baml_bridge.cffi.v1.BamlTyWatchAccessor * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -10207,7 +10207,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyWatchAccessor"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyWatchAccessor"; }; return BamlTyWatchAccessor; @@ -10217,18 +10217,18 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyTypeVar. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyTypeVar * @property {string|null} [name] BamlTyTypeVar name */ /** * Constructs a new BamlTyTypeVar. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyTypeVar. * @implements IBamlTyTypeVar * @constructor - * @param {baml_core.cffi.v1.IBamlTyTypeVar=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyTypeVar=} [properties] Properties to set */ function BamlTyTypeVar(properties) { if (properties) @@ -10240,7 +10240,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyTypeVar name. * @member {string} name - * @memberof baml_core.cffi.v1.BamlTyTypeVar + * @memberof baml_bridge.cffi.v1.BamlTyTypeVar * @instance */ BamlTyTypeVar.prototype.name = ""; @@ -10248,21 +10248,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyTypeVar instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyTypeVar + * @memberof baml_bridge.cffi.v1.BamlTyTypeVar * @static - * @param {baml_core.cffi.v1.IBamlTyTypeVar=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyTypeVar} BamlTyTypeVar instance + * @param {baml_bridge.cffi.v1.IBamlTyTypeVar=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyTypeVar} BamlTyTypeVar instance */ BamlTyTypeVar.create = function create(properties) { return new BamlTyTypeVar(properties); }; /** - * Encodes the specified BamlTyTypeVar message. Does not implicitly {@link baml_core.cffi.v1.BamlTyTypeVar.verify|verify} messages. + * Encodes the specified BamlTyTypeVar message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyTypeVar.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyTypeVar + * @memberof baml_bridge.cffi.v1.BamlTyTypeVar * @static - * @param {baml_core.cffi.v1.IBamlTyTypeVar} message BamlTyTypeVar message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyTypeVar} message BamlTyTypeVar message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -10279,11 +10279,11 @@ export const baml_core = $root.baml_core = (() => { }; /** - * Encodes the specified BamlTyTypeVar message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyTypeVar.verify|verify} messages. + * Encodes the specified BamlTyTypeVar message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyTypeVar.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyTypeVar + * @memberof baml_bridge.cffi.v1.BamlTyTypeVar * @static - * @param {baml_core.cffi.v1.IBamlTyTypeVar} message BamlTyTypeVar message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyTypeVar} message BamlTyTypeVar message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -10294,11 +10294,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyTypeVar message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyTypeVar + * @memberof baml_bridge.cffi.v1.BamlTyTypeVar * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyTypeVar} BamlTyTypeVar + * @returns {baml_bridge.cffi.v1.BamlTyTypeVar} BamlTyTypeVar * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -10309,7 +10309,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyTypeVar(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyTypeVar(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -10330,10 +10330,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyTypeVar message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyTypeVar + * @memberof baml_bridge.cffi.v1.BamlTyTypeVar * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyTypeVar} BamlTyTypeVar + * @returns {baml_bridge.cffi.v1.BamlTyTypeVar} BamlTyTypeVar * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -10346,7 +10346,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyTypeVar message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyTypeVar + * @memberof baml_bridge.cffi.v1.BamlTyTypeVar * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -10367,21 +10367,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyTypeVar message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyTypeVar + * @memberof baml_bridge.cffi.v1.BamlTyTypeVar * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyTypeVar} BamlTyTypeVar + * @returns {baml_bridge.cffi.v1.BamlTyTypeVar} BamlTyTypeVar */ BamlTyTypeVar.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyTypeVar) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyTypeVar) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyTypeVar: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyTypeVar: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlTyTypeVar(); + let message = new $root.baml_bridge.cffi.v1.BamlTyTypeVar(); if (object.name != null) message.name = String(object.name); return message; @@ -10390,9 +10390,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlTyTypeVar message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyTypeVar + * @memberof baml_bridge.cffi.v1.BamlTyTypeVar * @static - * @param {baml_core.cffi.v1.BamlTyTypeVar} message BamlTyTypeVar + * @param {baml_bridge.cffi.v1.BamlTyTypeVar} message BamlTyTypeVar * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -10414,7 +10414,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlTyTypeVar to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyTypeVar + * @memberof baml_bridge.cffi.v1.BamlTyTypeVar * @instance * @returns {Object.} JSON object */ @@ -10425,7 +10425,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyTypeVar * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyTypeVar + * @memberof baml_bridge.cffi.v1.BamlTyTypeVar * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -10434,7 +10434,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyTypeVar"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyTypeVar"; }; return BamlTyTypeVar; @@ -10444,20 +10444,20 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyAssociatedTypeProjection. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyAssociatedTypeProjection - * @property {baml_core.cffi.v1.IBamlTy|null} [base] BamlTyAssociatedTypeProjection base - * @property {baml_core.cffi.v1.IBamlTy|null} ["interface"] BamlTyAssociatedTypeProjection interface + * @property {baml_bridge.cffi.v1.IBamlTy|null} [base] BamlTyAssociatedTypeProjection base + * @property {baml_bridge.cffi.v1.IBamlTy|null} ["interface"] BamlTyAssociatedTypeProjection interface * @property {string|null} [member] BamlTyAssociatedTypeProjection member */ /** * Constructs a new BamlTyAssociatedTypeProjection. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyAssociatedTypeProjection. * @implements IBamlTyAssociatedTypeProjection * @constructor - * @param {baml_core.cffi.v1.IBamlTyAssociatedTypeProjection=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyAssociatedTypeProjection=} [properties] Properties to set */ function BamlTyAssociatedTypeProjection(properties) { if (properties) @@ -10468,16 +10468,16 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyAssociatedTypeProjection base. - * @member {baml_core.cffi.v1.IBamlTy|null|undefined} base - * @memberof baml_core.cffi.v1.BamlTyAssociatedTypeProjection + * @member {baml_bridge.cffi.v1.IBamlTy|null|undefined} base + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection * @instance */ BamlTyAssociatedTypeProjection.prototype.base = null; /** * BamlTyAssociatedTypeProjection interface. - * @member {baml_core.cffi.v1.IBamlTy|null|undefined} interface - * @memberof baml_core.cffi.v1.BamlTyAssociatedTypeProjection + * @member {baml_bridge.cffi.v1.IBamlTy|null|undefined} interface + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection * @instance */ BamlTyAssociatedTypeProjection.prototype["interface"] = null; @@ -10485,7 +10485,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyAssociatedTypeProjection member. * @member {string} member - * @memberof baml_core.cffi.v1.BamlTyAssociatedTypeProjection + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection * @instance */ BamlTyAssociatedTypeProjection.prototype.member = ""; @@ -10493,21 +10493,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyAssociatedTypeProjection instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyAssociatedTypeProjection + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection * @static - * @param {baml_core.cffi.v1.IBamlTyAssociatedTypeProjection=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyAssociatedTypeProjection} BamlTyAssociatedTypeProjection instance + * @param {baml_bridge.cffi.v1.IBamlTyAssociatedTypeProjection=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection} BamlTyAssociatedTypeProjection instance */ BamlTyAssociatedTypeProjection.create = function create(properties) { return new BamlTyAssociatedTypeProjection(properties); }; /** - * Encodes the specified BamlTyAssociatedTypeProjection message. Does not implicitly {@link baml_core.cffi.v1.BamlTyAssociatedTypeProjection.verify|verify} messages. + * Encodes the specified BamlTyAssociatedTypeProjection message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyAssociatedTypeProjection + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection * @static - * @param {baml_core.cffi.v1.IBamlTyAssociatedTypeProjection} message BamlTyAssociatedTypeProjection message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyAssociatedTypeProjection} message BamlTyAssociatedTypeProjection message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -10519,20 +10519,20 @@ export const baml_core = $root.baml_core = (() => { if (q > $util.recursionLimit) throw Error("max depth exceeded"); if (message.base != null && Object.hasOwnProperty.call(message, "base")) - $root.baml_core.cffi.v1.BamlTy.encode(message.base, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.base, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); if (message["interface"] != null && Object.hasOwnProperty.call(message, "interface")) - $root.baml_core.cffi.v1.BamlTy.encode(message["interface"], writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message["interface"], writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); if (message.member != null && Object.hasOwnProperty.call(message, "member")) writer.uint32(/* id 3, wireType 2 =*/26).string(message.member); return writer; }; /** - * Encodes the specified BamlTyAssociatedTypeProjection message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyAssociatedTypeProjection.verify|verify} messages. + * Encodes the specified BamlTyAssociatedTypeProjection message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyAssociatedTypeProjection + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection * @static - * @param {baml_core.cffi.v1.IBamlTyAssociatedTypeProjection} message BamlTyAssociatedTypeProjection message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyAssociatedTypeProjection} message BamlTyAssociatedTypeProjection message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -10543,11 +10543,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyAssociatedTypeProjection message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyAssociatedTypeProjection + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyAssociatedTypeProjection} BamlTyAssociatedTypeProjection + * @returns {baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection} BamlTyAssociatedTypeProjection * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -10558,18 +10558,18 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyAssociatedTypeProjection(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.base = $root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); + message.base = $root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); break; } case 2: { - message["interface"] = $root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); + message["interface"] = $root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); break; } case 3: { @@ -10587,10 +10587,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyAssociatedTypeProjection message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyAssociatedTypeProjection + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyAssociatedTypeProjection} BamlTyAssociatedTypeProjection + * @returns {baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection} BamlTyAssociatedTypeProjection * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -10603,7 +10603,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyAssociatedTypeProjection message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyAssociatedTypeProjection + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -10616,12 +10616,12 @@ export const baml_core = $root.baml_core = (() => { if (long > $util.recursionLimit) return "maximum nesting depth exceeded"; if (message.base != null && message.hasOwnProperty("base")) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.base, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.base, long + 1); if (error) return "base." + error; } if (message["interface"] != null && message.hasOwnProperty("interface")) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message["interface"], long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message["interface"], long + 1); if (error) return "interface." + error; } @@ -10634,30 +10634,30 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyAssociatedTypeProjection message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyAssociatedTypeProjection + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyAssociatedTypeProjection} BamlTyAssociatedTypeProjection + * @returns {baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection} BamlTyAssociatedTypeProjection */ BamlTyAssociatedTypeProjection.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyAssociatedTypeProjection) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyAssociatedTypeProjection: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlTyAssociatedTypeProjection(); + let message = new $root.baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection(); if (object.base != null) { if (!$util.isObject(object.base)) - throw TypeError(".baml_core.cffi.v1.BamlTyAssociatedTypeProjection.base: object expected"); - message.base = $root.baml_core.cffi.v1.BamlTy.fromObject(object.base, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection.base: object expected"); + message.base = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.base, long + 1); } if (object["interface"] != null) { if (!$util.isObject(object["interface"])) - throw TypeError(".baml_core.cffi.v1.BamlTyAssociatedTypeProjection.interface: object expected"); - message["interface"] = $root.baml_core.cffi.v1.BamlTy.fromObject(object["interface"], long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection.interface: object expected"); + message["interface"] = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object["interface"], long + 1); } if (object.member != null) message.member = String(object.member); @@ -10667,9 +10667,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlTyAssociatedTypeProjection message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyAssociatedTypeProjection + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection * @static - * @param {baml_core.cffi.v1.BamlTyAssociatedTypeProjection} message BamlTyAssociatedTypeProjection + * @param {baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection} message BamlTyAssociatedTypeProjection * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -10687,9 +10687,9 @@ export const baml_core = $root.baml_core = (() => { object.member = ""; } if (message.base != null && message.hasOwnProperty("base")) - object.base = $root.baml_core.cffi.v1.BamlTy.toObject(message.base, options, q + 1); + object.base = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.base, options, q + 1); if (message["interface"] != null && message.hasOwnProperty("interface")) - object["interface"] = $root.baml_core.cffi.v1.BamlTy.toObject(message["interface"], options, q + 1); + object["interface"] = $root.baml_bridge.cffi.v1.BamlTy.toObject(message["interface"], options, q + 1); if (message.member != null && message.hasOwnProperty("member")) object.member = message.member; return object; @@ -10698,7 +10698,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlTyAssociatedTypeProjection to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyAssociatedTypeProjection + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection * @instance * @returns {Object.} JSON object */ @@ -10709,7 +10709,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyAssociatedTypeProjection * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyAssociatedTypeProjection + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -10718,7 +10718,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyAssociatedTypeProjection"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection"; }; return BamlTyAssociatedTypeProjection; @@ -10728,17 +10728,17 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyNever. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyNever */ /** * Constructs a new BamlTyNever. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyNever. * @implements IBamlTyNever * @constructor - * @param {baml_core.cffi.v1.IBamlTyNever=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyNever=} [properties] Properties to set */ function BamlTyNever(properties) { if (properties) @@ -10750,21 +10750,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyNever instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyNever + * @memberof baml_bridge.cffi.v1.BamlTyNever * @static - * @param {baml_core.cffi.v1.IBamlTyNever=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyNever} BamlTyNever instance + * @param {baml_bridge.cffi.v1.IBamlTyNever=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyNever} BamlTyNever instance */ BamlTyNever.create = function create(properties) { return new BamlTyNever(properties); }; /** - * Encodes the specified BamlTyNever message. Does not implicitly {@link baml_core.cffi.v1.BamlTyNever.verify|verify} messages. + * Encodes the specified BamlTyNever message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyNever.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyNever + * @memberof baml_bridge.cffi.v1.BamlTyNever * @static - * @param {baml_core.cffi.v1.IBamlTyNever} message BamlTyNever message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyNever} message BamlTyNever message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -10779,11 +10779,11 @@ export const baml_core = $root.baml_core = (() => { }; /** - * Encodes the specified BamlTyNever message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyNever.verify|verify} messages. + * Encodes the specified BamlTyNever message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyNever.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyNever + * @memberof baml_bridge.cffi.v1.BamlTyNever * @static - * @param {baml_core.cffi.v1.IBamlTyNever} message BamlTyNever message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyNever} message BamlTyNever message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -10794,11 +10794,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyNever message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyNever + * @memberof baml_bridge.cffi.v1.BamlTyNever * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyNever} BamlTyNever + * @returns {baml_bridge.cffi.v1.BamlTyNever} BamlTyNever * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -10809,7 +10809,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyNever(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyNever(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -10826,10 +10826,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyNever message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyNever + * @memberof baml_bridge.cffi.v1.BamlTyNever * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyNever} BamlTyNever + * @returns {baml_bridge.cffi.v1.BamlTyNever} BamlTyNever * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -10842,7 +10842,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyNever message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyNever + * @memberof baml_bridge.cffi.v1.BamlTyNever * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -10860,29 +10860,29 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyNever message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyNever + * @memberof baml_bridge.cffi.v1.BamlTyNever * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyNever} BamlTyNever + * @returns {baml_bridge.cffi.v1.BamlTyNever} BamlTyNever */ BamlTyNever.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyNever) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyNever) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyNever: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyNever: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - return new $root.baml_core.cffi.v1.BamlTyNever(); + return new $root.baml_bridge.cffi.v1.BamlTyNever(); }; /** * Creates a plain object from a BamlTyNever message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyNever + * @memberof baml_bridge.cffi.v1.BamlTyNever * @static - * @param {baml_core.cffi.v1.BamlTyNever} message BamlTyNever + * @param {baml_bridge.cffi.v1.BamlTyNever} message BamlTyNever * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -10893,7 +10893,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlTyNever to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyNever + * @memberof baml_bridge.cffi.v1.BamlTyNever * @instance * @returns {Object.} JSON object */ @@ -10904,7 +10904,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyNever * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyNever + * @memberof baml_bridge.cffi.v1.BamlTyNever * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -10913,7 +10913,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyNever"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyNever"; }; return BamlTyNever; @@ -10923,20 +10923,20 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlOutboundResult. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlOutboundResult - * @property {baml_core.cffi.v1.IBamlOutboundValue|null} [ok] BamlOutboundResult ok - * @property {baml_core.cffi.v1.IBamlOutboundError|null} [error] BamlOutboundResult error - * @property {baml_core.cffi.v1.IBamlOutboundPanic|null} [panic] BamlOutboundResult panic + * @property {baml_bridge.cffi.v1.IBamlOutboundValue|null} [ok] BamlOutboundResult ok + * @property {baml_bridge.cffi.v1.IBamlOutboundError|null} [error] BamlOutboundResult error + * @property {baml_bridge.cffi.v1.IBamlOutboundPanic|null} [panic] BamlOutboundResult panic */ /** * Constructs a new BamlOutboundResult. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlOutboundResult. * @implements IBamlOutboundResult * @constructor - * @param {baml_core.cffi.v1.IBamlOutboundResult=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlOutboundResult=} [properties] Properties to set */ function BamlOutboundResult(properties) { if (properties) @@ -10947,24 +10947,24 @@ export const baml_core = $root.baml_core = (() => { /** * BamlOutboundResult ok. - * @member {baml_core.cffi.v1.IBamlOutboundValue|null|undefined} ok - * @memberof baml_core.cffi.v1.BamlOutboundResult + * @member {baml_bridge.cffi.v1.IBamlOutboundValue|null|undefined} ok + * @memberof baml_bridge.cffi.v1.BamlOutboundResult * @instance */ BamlOutboundResult.prototype.ok = null; /** * BamlOutboundResult error. - * @member {baml_core.cffi.v1.IBamlOutboundError|null|undefined} error - * @memberof baml_core.cffi.v1.BamlOutboundResult + * @member {baml_bridge.cffi.v1.IBamlOutboundError|null|undefined} error + * @memberof baml_bridge.cffi.v1.BamlOutboundResult * @instance */ BamlOutboundResult.prototype.error = null; /** * BamlOutboundResult panic. - * @member {baml_core.cffi.v1.IBamlOutboundPanic|null|undefined} panic - * @memberof baml_core.cffi.v1.BamlOutboundResult + * @member {baml_bridge.cffi.v1.IBamlOutboundPanic|null|undefined} panic + * @memberof baml_bridge.cffi.v1.BamlOutboundResult * @instance */ BamlOutboundResult.prototype.panic = null; @@ -10975,7 +10975,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlOutboundResult result. * @member {"ok"|"error"|"panic"|undefined} result - * @memberof baml_core.cffi.v1.BamlOutboundResult + * @memberof baml_bridge.cffi.v1.BamlOutboundResult * @instance */ Object.defineProperty(BamlOutboundResult.prototype, "result", { @@ -10986,21 +10986,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlOutboundResult instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlOutboundResult + * @memberof baml_bridge.cffi.v1.BamlOutboundResult * @static - * @param {baml_core.cffi.v1.IBamlOutboundResult=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlOutboundResult} BamlOutboundResult instance + * @param {baml_bridge.cffi.v1.IBamlOutboundResult=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlOutboundResult} BamlOutboundResult instance */ BamlOutboundResult.create = function create(properties) { return new BamlOutboundResult(properties); }; /** - * Encodes the specified BamlOutboundResult message. Does not implicitly {@link baml_core.cffi.v1.BamlOutboundResult.verify|verify} messages. + * Encodes the specified BamlOutboundResult message. Does not implicitly {@link baml_bridge.cffi.v1.BamlOutboundResult.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlOutboundResult + * @memberof baml_bridge.cffi.v1.BamlOutboundResult * @static - * @param {baml_core.cffi.v1.IBamlOutboundResult} message BamlOutboundResult message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlOutboundResult} message BamlOutboundResult message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -11012,20 +11012,20 @@ export const baml_core = $root.baml_core = (() => { if (q > $util.recursionLimit) throw Error("max depth exceeded"); if (message.ok != null && Object.hasOwnProperty.call(message, "ok")) - $root.baml_core.cffi.v1.BamlOutboundValue.encode(message.ok, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlOutboundValue.encode(message.ok, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); if (message.error != null && Object.hasOwnProperty.call(message, "error")) - $root.baml_core.cffi.v1.BamlOutboundError.encode(message.error, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlOutboundError.encode(message.error, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); if (message.panic != null && Object.hasOwnProperty.call(message, "panic")) - $root.baml_core.cffi.v1.BamlOutboundPanic.encode(message.panic, writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlOutboundPanic.encode(message.panic, writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlOutboundResult message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlOutboundResult.verify|verify} messages. + * Encodes the specified BamlOutboundResult message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlOutboundResult.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlOutboundResult + * @memberof baml_bridge.cffi.v1.BamlOutboundResult * @static - * @param {baml_core.cffi.v1.IBamlOutboundResult} message BamlOutboundResult message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlOutboundResult} message BamlOutboundResult message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -11036,11 +11036,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlOutboundResult message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlOutboundResult + * @memberof baml_bridge.cffi.v1.BamlOutboundResult * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlOutboundResult} BamlOutboundResult + * @returns {baml_bridge.cffi.v1.BamlOutboundResult} BamlOutboundResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -11051,22 +11051,22 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlOutboundResult(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlOutboundResult(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.ok = $root.baml_core.cffi.v1.BamlOutboundValue.decode(reader, reader.uint32(), undefined, long + 1); + message.ok = $root.baml_bridge.cffi.v1.BamlOutboundValue.decode(reader, reader.uint32(), undefined, long + 1); break; } case 2: { - message.error = $root.baml_core.cffi.v1.BamlOutboundError.decode(reader, reader.uint32(), undefined, long + 1); + message.error = $root.baml_bridge.cffi.v1.BamlOutboundError.decode(reader, reader.uint32(), undefined, long + 1); break; } case 3: { - message.panic = $root.baml_core.cffi.v1.BamlOutboundPanic.decode(reader, reader.uint32(), undefined, long + 1); + message.panic = $root.baml_bridge.cffi.v1.BamlOutboundPanic.decode(reader, reader.uint32(), undefined, long + 1); break; } default: @@ -11080,10 +11080,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlOutboundResult message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlOutboundResult + * @memberof baml_bridge.cffi.v1.BamlOutboundResult * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlOutboundResult} BamlOutboundResult + * @returns {baml_bridge.cffi.v1.BamlOutboundResult} BamlOutboundResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -11096,7 +11096,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlOutboundResult message. * @function verify - * @memberof baml_core.cffi.v1.BamlOutboundResult + * @memberof baml_bridge.cffi.v1.BamlOutboundResult * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -11112,7 +11112,7 @@ export const baml_core = $root.baml_core = (() => { if (message.ok != null && message.hasOwnProperty("ok")) { properties.result = 1; { - let error = $root.baml_core.cffi.v1.BamlOutboundValue.verify(message.ok, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlOutboundValue.verify(message.ok, long + 1); if (error) return "ok." + error; } @@ -11122,7 +11122,7 @@ export const baml_core = $root.baml_core = (() => { return "result: multiple values"; properties.result = 1; { - let error = $root.baml_core.cffi.v1.BamlOutboundError.verify(message.error, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlOutboundError.verify(message.error, long + 1); if (error) return "error." + error; } @@ -11132,7 +11132,7 @@ export const baml_core = $root.baml_core = (() => { return "result: multiple values"; properties.result = 1; { - let error = $root.baml_core.cffi.v1.BamlOutboundPanic.verify(message.panic, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlOutboundPanic.verify(message.panic, long + 1); if (error) return "panic." + error; } @@ -11143,35 +11143,35 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlOutboundResult message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlOutboundResult + * @memberof baml_bridge.cffi.v1.BamlOutboundResult * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlOutboundResult} BamlOutboundResult + * @returns {baml_bridge.cffi.v1.BamlOutboundResult} BamlOutboundResult */ BamlOutboundResult.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlOutboundResult) + if (object instanceof $root.baml_bridge.cffi.v1.BamlOutboundResult) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundResult: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundResult: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlOutboundResult(); + let message = new $root.baml_bridge.cffi.v1.BamlOutboundResult(); if (object.ok != null) { if (!$util.isObject(object.ok)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundResult.ok: object expected"); - message.ok = $root.baml_core.cffi.v1.BamlOutboundValue.fromObject(object.ok, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundResult.ok: object expected"); + message.ok = $root.baml_bridge.cffi.v1.BamlOutboundValue.fromObject(object.ok, long + 1); } if (object.error != null) { if (!$util.isObject(object.error)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundResult.error: object expected"); - message.error = $root.baml_core.cffi.v1.BamlOutboundError.fromObject(object.error, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundResult.error: object expected"); + message.error = $root.baml_bridge.cffi.v1.BamlOutboundError.fromObject(object.error, long + 1); } if (object.panic != null) { if (!$util.isObject(object.panic)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundResult.panic: object expected"); - message.panic = $root.baml_core.cffi.v1.BamlOutboundPanic.fromObject(object.panic, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundResult.panic: object expected"); + message.panic = $root.baml_bridge.cffi.v1.BamlOutboundPanic.fromObject(object.panic, long + 1); } return message; }; @@ -11179,9 +11179,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlOutboundResult message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlOutboundResult + * @memberof baml_bridge.cffi.v1.BamlOutboundResult * @static - * @param {baml_core.cffi.v1.BamlOutboundResult} message BamlOutboundResult + * @param {baml_bridge.cffi.v1.BamlOutboundResult} message BamlOutboundResult * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -11194,17 +11194,17 @@ export const baml_core = $root.baml_core = (() => { throw Error("max depth exceeded"); let object = {}; if (message.ok != null && message.hasOwnProperty("ok")) { - object.ok = $root.baml_core.cffi.v1.BamlOutboundValue.toObject(message.ok, options, q + 1); + object.ok = $root.baml_bridge.cffi.v1.BamlOutboundValue.toObject(message.ok, options, q + 1); if (options.oneofs) object.result = "ok"; } if (message.error != null && message.hasOwnProperty("error")) { - object.error = $root.baml_core.cffi.v1.BamlOutboundError.toObject(message.error, options, q + 1); + object.error = $root.baml_bridge.cffi.v1.BamlOutboundError.toObject(message.error, options, q + 1); if (options.oneofs) object.result = "error"; } if (message.panic != null && message.hasOwnProperty("panic")) { - object.panic = $root.baml_core.cffi.v1.BamlOutboundPanic.toObject(message.panic, options, q + 1); + object.panic = $root.baml_bridge.cffi.v1.BamlOutboundPanic.toObject(message.panic, options, q + 1); if (options.oneofs) object.result = "panic"; } @@ -11214,7 +11214,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlOutboundResult to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlOutboundResult + * @memberof baml_bridge.cffi.v1.BamlOutboundResult * @instance * @returns {Object.} JSON object */ @@ -11225,7 +11225,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlOutboundResult * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlOutboundResult + * @memberof baml_bridge.cffi.v1.BamlOutboundResult * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -11234,7 +11234,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlOutboundResult"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlOutboundResult"; }; return BamlOutboundResult; @@ -11244,19 +11244,19 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlOutboundError. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlOutboundError - * @property {baml_core.cffi.v1.IBamlOutboundValue|null} [value] BamlOutboundError value + * @property {baml_bridge.cffi.v1.IBamlOutboundValue|null} [value] BamlOutboundError value * @property {Array.|null} [trace] BamlOutboundError trace */ /** * Constructs a new BamlOutboundError. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlOutboundError. * @implements IBamlOutboundError * @constructor - * @param {baml_core.cffi.v1.IBamlOutboundError=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlOutboundError=} [properties] Properties to set */ function BamlOutboundError(properties) { this.trace = []; @@ -11268,8 +11268,8 @@ export const baml_core = $root.baml_core = (() => { /** * BamlOutboundError value. - * @member {baml_core.cffi.v1.IBamlOutboundValue|null|undefined} value - * @memberof baml_core.cffi.v1.BamlOutboundError + * @member {baml_bridge.cffi.v1.IBamlOutboundValue|null|undefined} value + * @memberof baml_bridge.cffi.v1.BamlOutboundError * @instance */ BamlOutboundError.prototype.value = null; @@ -11277,7 +11277,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlOutboundError trace. * @member {Array.} trace - * @memberof baml_core.cffi.v1.BamlOutboundError + * @memberof baml_bridge.cffi.v1.BamlOutboundError * @instance */ BamlOutboundError.prototype.trace = $util.emptyArray; @@ -11285,21 +11285,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlOutboundError instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlOutboundError + * @memberof baml_bridge.cffi.v1.BamlOutboundError * @static - * @param {baml_core.cffi.v1.IBamlOutboundError=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlOutboundError} BamlOutboundError instance + * @param {baml_bridge.cffi.v1.IBamlOutboundError=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlOutboundError} BamlOutboundError instance */ BamlOutboundError.create = function create(properties) { return new BamlOutboundError(properties); }; /** - * Encodes the specified BamlOutboundError message. Does not implicitly {@link baml_core.cffi.v1.BamlOutboundError.verify|verify} messages. + * Encodes the specified BamlOutboundError message. Does not implicitly {@link baml_bridge.cffi.v1.BamlOutboundError.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlOutboundError + * @memberof baml_bridge.cffi.v1.BamlOutboundError * @static - * @param {baml_core.cffi.v1.IBamlOutboundError} message BamlOutboundError message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlOutboundError} message BamlOutboundError message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -11311,7 +11311,7 @@ export const baml_core = $root.baml_core = (() => { if (q > $util.recursionLimit) throw Error("max depth exceeded"); if (message.value != null && Object.hasOwnProperty.call(message, "value")) - $root.baml_core.cffi.v1.BamlOutboundValue.encode(message.value, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlOutboundValue.encode(message.value, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); if (message.trace != null && message.trace.length) for (let i = 0; i < message.trace.length; ++i) writer.uint32(/* id 2, wireType 2 =*/18).string(message.trace[i]); @@ -11319,11 +11319,11 @@ export const baml_core = $root.baml_core = (() => { }; /** - * Encodes the specified BamlOutboundError message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlOutboundError.verify|verify} messages. + * Encodes the specified BamlOutboundError message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlOutboundError.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlOutboundError + * @memberof baml_bridge.cffi.v1.BamlOutboundError * @static - * @param {baml_core.cffi.v1.IBamlOutboundError} message BamlOutboundError message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlOutboundError} message BamlOutboundError message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -11334,11 +11334,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlOutboundError message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlOutboundError + * @memberof baml_bridge.cffi.v1.BamlOutboundError * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlOutboundError} BamlOutboundError + * @returns {baml_bridge.cffi.v1.BamlOutboundError} BamlOutboundError * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -11349,14 +11349,14 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlOutboundError(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlOutboundError(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.value = $root.baml_core.cffi.v1.BamlOutboundValue.decode(reader, reader.uint32(), undefined, long + 1); + message.value = $root.baml_bridge.cffi.v1.BamlOutboundValue.decode(reader, reader.uint32(), undefined, long + 1); break; } case 2: { @@ -11376,10 +11376,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlOutboundError message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlOutboundError + * @memberof baml_bridge.cffi.v1.BamlOutboundError * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlOutboundError} BamlOutboundError + * @returns {baml_bridge.cffi.v1.BamlOutboundError} BamlOutboundError * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -11392,7 +11392,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlOutboundError message. * @function verify - * @memberof baml_core.cffi.v1.BamlOutboundError + * @memberof baml_bridge.cffi.v1.BamlOutboundError * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -11405,7 +11405,7 @@ export const baml_core = $root.baml_core = (() => { if (long > $util.recursionLimit) return "maximum nesting depth exceeded"; if (message.value != null && message.hasOwnProperty("value")) { - let error = $root.baml_core.cffi.v1.BamlOutboundValue.verify(message.value, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlOutboundValue.verify(message.value, long + 1); if (error) return "value." + error; } @@ -11422,29 +11422,29 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlOutboundError message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlOutboundError + * @memberof baml_bridge.cffi.v1.BamlOutboundError * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlOutboundError} BamlOutboundError + * @returns {baml_bridge.cffi.v1.BamlOutboundError} BamlOutboundError */ BamlOutboundError.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlOutboundError) + if (object instanceof $root.baml_bridge.cffi.v1.BamlOutboundError) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundError: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundError: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlOutboundError(); + let message = new $root.baml_bridge.cffi.v1.BamlOutboundError(); if (object.value != null) { if (!$util.isObject(object.value)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundError.value: object expected"); - message.value = $root.baml_core.cffi.v1.BamlOutboundValue.fromObject(object.value, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundError.value: object expected"); + message.value = $root.baml_bridge.cffi.v1.BamlOutboundValue.fromObject(object.value, long + 1); } if (object.trace) { if (!Array.isArray(object.trace)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundError.trace: array expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundError.trace: array expected"); message.trace = []; for (let i = 0; i < object.trace.length; ++i) message.trace[i] = String(object.trace[i]); @@ -11455,9 +11455,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlOutboundError message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlOutboundError + * @memberof baml_bridge.cffi.v1.BamlOutboundError * @static - * @param {baml_core.cffi.v1.BamlOutboundError} message BamlOutboundError + * @param {baml_bridge.cffi.v1.BamlOutboundError} message BamlOutboundError * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -11474,7 +11474,7 @@ export const baml_core = $root.baml_core = (() => { if (options.defaults) object.value = null; if (message.value != null && message.hasOwnProperty("value")) - object.value = $root.baml_core.cffi.v1.BamlOutboundValue.toObject(message.value, options, q + 1); + object.value = $root.baml_bridge.cffi.v1.BamlOutboundValue.toObject(message.value, options, q + 1); if (message.trace && message.trace.length) { object.trace = []; for (let j = 0; j < message.trace.length; ++j) @@ -11486,7 +11486,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlOutboundError to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlOutboundError + * @memberof baml_bridge.cffi.v1.BamlOutboundError * @instance * @returns {Object.} JSON object */ @@ -11497,7 +11497,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlOutboundError * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlOutboundError + * @memberof baml_bridge.cffi.v1.BamlOutboundError * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -11506,7 +11506,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlOutboundError"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlOutboundError"; }; return BamlOutboundError; @@ -11516,9 +11516,9 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlOutboundPanic. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlOutboundPanic - * @property {baml_core.cffi.v1.IBamlOutboundValue|null} [value] BamlOutboundPanic value + * @property {baml_bridge.cffi.v1.IBamlOutboundValue|null} [value] BamlOutboundPanic value * @property {Array.|null} [trace] BamlOutboundPanic trace * @property {boolean|null} [isExitPanic] BamlOutboundPanic isExitPanic * @property {number|Long|null} [exitCode] BamlOutboundPanic exitCode @@ -11526,11 +11526,11 @@ export const baml_core = $root.baml_core = (() => { /** * Constructs a new BamlOutboundPanic. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlOutboundPanic. * @implements IBamlOutboundPanic * @constructor - * @param {baml_core.cffi.v1.IBamlOutboundPanic=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlOutboundPanic=} [properties] Properties to set */ function BamlOutboundPanic(properties) { this.trace = []; @@ -11542,8 +11542,8 @@ export const baml_core = $root.baml_core = (() => { /** * BamlOutboundPanic value. - * @member {baml_core.cffi.v1.IBamlOutboundValue|null|undefined} value - * @memberof baml_core.cffi.v1.BamlOutboundPanic + * @member {baml_bridge.cffi.v1.IBamlOutboundValue|null|undefined} value + * @memberof baml_bridge.cffi.v1.BamlOutboundPanic * @instance */ BamlOutboundPanic.prototype.value = null; @@ -11551,7 +11551,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlOutboundPanic trace. * @member {Array.} trace - * @memberof baml_core.cffi.v1.BamlOutboundPanic + * @memberof baml_bridge.cffi.v1.BamlOutboundPanic * @instance */ BamlOutboundPanic.prototype.trace = $util.emptyArray; @@ -11559,7 +11559,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlOutboundPanic isExitPanic. * @member {boolean} isExitPanic - * @memberof baml_core.cffi.v1.BamlOutboundPanic + * @memberof baml_bridge.cffi.v1.BamlOutboundPanic * @instance */ BamlOutboundPanic.prototype.isExitPanic = false; @@ -11567,7 +11567,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlOutboundPanic exitCode. * @member {number|Long} exitCode - * @memberof baml_core.cffi.v1.BamlOutboundPanic + * @memberof baml_bridge.cffi.v1.BamlOutboundPanic * @instance */ BamlOutboundPanic.prototype.exitCode = $util.Long ? $util.Long.fromBits(0,0,false) : 0; @@ -11575,21 +11575,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlOutboundPanic instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlOutboundPanic + * @memberof baml_bridge.cffi.v1.BamlOutboundPanic * @static - * @param {baml_core.cffi.v1.IBamlOutboundPanic=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlOutboundPanic} BamlOutboundPanic instance + * @param {baml_bridge.cffi.v1.IBamlOutboundPanic=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlOutboundPanic} BamlOutboundPanic instance */ BamlOutboundPanic.create = function create(properties) { return new BamlOutboundPanic(properties); }; /** - * Encodes the specified BamlOutboundPanic message. Does not implicitly {@link baml_core.cffi.v1.BamlOutboundPanic.verify|verify} messages. + * Encodes the specified BamlOutboundPanic message. Does not implicitly {@link baml_bridge.cffi.v1.BamlOutboundPanic.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlOutboundPanic + * @memberof baml_bridge.cffi.v1.BamlOutboundPanic * @static - * @param {baml_core.cffi.v1.IBamlOutboundPanic} message BamlOutboundPanic message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlOutboundPanic} message BamlOutboundPanic message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -11601,7 +11601,7 @@ export const baml_core = $root.baml_core = (() => { if (q > $util.recursionLimit) throw Error("max depth exceeded"); if (message.value != null && Object.hasOwnProperty.call(message, "value")) - $root.baml_core.cffi.v1.BamlOutboundValue.encode(message.value, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlOutboundValue.encode(message.value, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); if (message.trace != null && message.trace.length) for (let i = 0; i < message.trace.length; ++i) writer.uint32(/* id 2, wireType 2 =*/18).string(message.trace[i]); @@ -11613,11 +11613,11 @@ export const baml_core = $root.baml_core = (() => { }; /** - * Encodes the specified BamlOutboundPanic message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlOutboundPanic.verify|verify} messages. + * Encodes the specified BamlOutboundPanic message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlOutboundPanic.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlOutboundPanic + * @memberof baml_bridge.cffi.v1.BamlOutboundPanic * @static - * @param {baml_core.cffi.v1.IBamlOutboundPanic} message BamlOutboundPanic message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlOutboundPanic} message BamlOutboundPanic message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -11628,11 +11628,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlOutboundPanic message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlOutboundPanic + * @memberof baml_bridge.cffi.v1.BamlOutboundPanic * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlOutboundPanic} BamlOutboundPanic + * @returns {baml_bridge.cffi.v1.BamlOutboundPanic} BamlOutboundPanic * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -11643,14 +11643,14 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlOutboundPanic(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlOutboundPanic(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.value = $root.baml_core.cffi.v1.BamlOutboundValue.decode(reader, reader.uint32(), undefined, long + 1); + message.value = $root.baml_bridge.cffi.v1.BamlOutboundValue.decode(reader, reader.uint32(), undefined, long + 1); break; } case 2: { @@ -11678,10 +11678,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlOutboundPanic message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlOutboundPanic + * @memberof baml_bridge.cffi.v1.BamlOutboundPanic * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlOutboundPanic} BamlOutboundPanic + * @returns {baml_bridge.cffi.v1.BamlOutboundPanic} BamlOutboundPanic * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -11694,7 +11694,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlOutboundPanic message. * @function verify - * @memberof baml_core.cffi.v1.BamlOutboundPanic + * @memberof baml_bridge.cffi.v1.BamlOutboundPanic * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -11707,7 +11707,7 @@ export const baml_core = $root.baml_core = (() => { if (long > $util.recursionLimit) return "maximum nesting depth exceeded"; if (message.value != null && message.hasOwnProperty("value")) { - let error = $root.baml_core.cffi.v1.BamlOutboundValue.verify(message.value, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlOutboundValue.verify(message.value, long + 1); if (error) return "value." + error; } @@ -11730,29 +11730,29 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlOutboundPanic message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlOutboundPanic + * @memberof baml_bridge.cffi.v1.BamlOutboundPanic * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlOutboundPanic} BamlOutboundPanic + * @returns {baml_bridge.cffi.v1.BamlOutboundPanic} BamlOutboundPanic */ BamlOutboundPanic.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlOutboundPanic) + if (object instanceof $root.baml_bridge.cffi.v1.BamlOutboundPanic) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundPanic: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundPanic: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlOutboundPanic(); + let message = new $root.baml_bridge.cffi.v1.BamlOutboundPanic(); if (object.value != null) { if (!$util.isObject(object.value)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundPanic.value: object expected"); - message.value = $root.baml_core.cffi.v1.BamlOutboundValue.fromObject(object.value, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundPanic.value: object expected"); + message.value = $root.baml_bridge.cffi.v1.BamlOutboundValue.fromObject(object.value, long + 1); } if (object.trace) { if (!Array.isArray(object.trace)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundPanic.trace: array expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundPanic.trace: array expected"); message.trace = []; for (let i = 0; i < object.trace.length; ++i) message.trace[i] = String(object.trace[i]); @@ -11774,9 +11774,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlOutboundPanic message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlOutboundPanic + * @memberof baml_bridge.cffi.v1.BamlOutboundPanic * @static - * @param {baml_core.cffi.v1.BamlOutboundPanic} message BamlOutboundPanic + * @param {baml_bridge.cffi.v1.BamlOutboundPanic} message BamlOutboundPanic * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -11800,7 +11800,7 @@ export const baml_core = $root.baml_core = (() => { object.exitCode = options.longs === String ? "0" : typeof BigInt !== "undefined" && options.longs === BigInt ? BigInt("0") : 0; } if (message.value != null && message.hasOwnProperty("value")) - object.value = $root.baml_core.cffi.v1.BamlOutboundValue.toObject(message.value, options, q + 1); + object.value = $root.baml_bridge.cffi.v1.BamlOutboundValue.toObject(message.value, options, q + 1); if (message.trace && message.trace.length) { object.trace = []; for (let j = 0; j < message.trace.length; ++j) @@ -11821,7 +11821,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlOutboundPanic to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlOutboundPanic + * @memberof baml_bridge.cffi.v1.BamlOutboundPanic * @instance * @returns {Object.} JSON object */ @@ -11832,7 +11832,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlOutboundPanic * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlOutboundPanic + * @memberof baml_bridge.cffi.v1.BamlOutboundPanic * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -11841,7 +11841,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlOutboundPanic"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlOutboundPanic"; }; return BamlOutboundPanic; @@ -11851,34 +11851,34 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlOutboundValue. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlOutboundValue - * @property {baml_core.cffi.v1.IBamlValueNull|null} [nullValue] BamlOutboundValue nullValue + * @property {baml_bridge.cffi.v1.IBamlValueNull|null} [nullValue] BamlOutboundValue nullValue * @property {string|null} [stringValue] BamlOutboundValue stringValue * @property {number|Long|null} [intValue] BamlOutboundValue intValue * @property {number|null} [floatValue] BamlOutboundValue floatValue * @property {boolean|null} [boolValue] BamlOutboundValue boolValue - * @property {baml_core.cffi.v1.IBamlValueClass|null} [classValue] BamlOutboundValue classValue - * @property {baml_core.cffi.v1.IBamlValueEnum|null} [enumValue] BamlOutboundValue enumValue - * @property {baml_core.cffi.v1.IBamlLiteralValue|null} [literalValue] BamlOutboundValue literalValue - * @property {baml_core.cffi.v1.IBamlValueList|null} [listValue] BamlOutboundValue listValue - * @property {baml_core.cffi.v1.IBamlValueMap|null} [mapValue] BamlOutboundValue mapValue - * @property {baml_core.cffi.v1.IBamlValueUnionVariant|null} [unionVariantValue] BamlOutboundValue unionVariantValue - * @property {baml_core.cffi.v1.IBamlOutboundHandle|null} [handleValue] BamlOutboundValue handleValue - * @property {baml_core.cffi.v1.IBamlValueMedia|null} [mediaValue] BamlOutboundValue mediaValue - * @property {baml_core.cffi.v1.IBamlValuePromptAst|null} [promptAstValue] BamlOutboundValue promptAstValue + * @property {baml_bridge.cffi.v1.IBamlValueClass|null} [classValue] BamlOutboundValue classValue + * @property {baml_bridge.cffi.v1.IBamlValueEnum|null} [enumValue] BamlOutboundValue enumValue + * @property {baml_bridge.cffi.v1.IBamlLiteralValue|null} [literalValue] BamlOutboundValue literalValue + * @property {baml_bridge.cffi.v1.IBamlValueList|null} [listValue] BamlOutboundValue listValue + * @property {baml_bridge.cffi.v1.IBamlValueMap|null} [mapValue] BamlOutboundValue mapValue + * @property {baml_bridge.cffi.v1.IBamlValueUnionVariant|null} [unionVariantValue] BamlOutboundValue unionVariantValue + * @property {baml_bridge.cffi.v1.IBamlOutboundHandle|null} [handleValue] BamlOutboundValue handleValue + * @property {baml_bridge.cffi.v1.IBamlValueMedia|null} [mediaValue] BamlOutboundValue mediaValue + * @property {baml_bridge.cffi.v1.IBamlValuePromptAst|null} [promptAstValue] BamlOutboundValue promptAstValue * @property {Uint8Array|null} [uint8arrayValue] BamlOutboundValue uint8arrayValue * @property {string|null} [bigintValue] BamlOutboundValue bigintValue - * @property {baml_core.cffi.v1.IBamlTy|null} [tyValue] BamlOutboundValue tyValue + * @property {baml_bridge.cffi.v1.IBamlTy|null} [tyValue] BamlOutboundValue tyValue */ /** * Constructs a new BamlOutboundValue. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlOutboundValue. * @implements IBamlOutboundValue * @constructor - * @param {baml_core.cffi.v1.IBamlOutboundValue=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlOutboundValue=} [properties] Properties to set */ function BamlOutboundValue(properties) { if (properties) @@ -11889,8 +11889,8 @@ export const baml_core = $root.baml_core = (() => { /** * BamlOutboundValue nullValue. - * @member {baml_core.cffi.v1.IBamlValueNull|null|undefined} nullValue - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @member {baml_bridge.cffi.v1.IBamlValueNull|null|undefined} nullValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @instance */ BamlOutboundValue.prototype.nullValue = null; @@ -11898,7 +11898,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlOutboundValue stringValue. * @member {string|null|undefined} stringValue - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @instance */ BamlOutboundValue.prototype.stringValue = null; @@ -11906,7 +11906,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlOutboundValue intValue. * @member {number|Long|null|undefined} intValue - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @instance */ BamlOutboundValue.prototype.intValue = null; @@ -11914,7 +11914,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlOutboundValue floatValue. * @member {number|null|undefined} floatValue - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @instance */ BamlOutboundValue.prototype.floatValue = null; @@ -11922,79 +11922,79 @@ export const baml_core = $root.baml_core = (() => { /** * BamlOutboundValue boolValue. * @member {boolean|null|undefined} boolValue - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @instance */ BamlOutboundValue.prototype.boolValue = null; /** * BamlOutboundValue classValue. - * @member {baml_core.cffi.v1.IBamlValueClass|null|undefined} classValue - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @member {baml_bridge.cffi.v1.IBamlValueClass|null|undefined} classValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @instance */ BamlOutboundValue.prototype.classValue = null; /** * BamlOutboundValue enumValue. - * @member {baml_core.cffi.v1.IBamlValueEnum|null|undefined} enumValue - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @member {baml_bridge.cffi.v1.IBamlValueEnum|null|undefined} enumValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @instance */ BamlOutboundValue.prototype.enumValue = null; /** * BamlOutboundValue literalValue. - * @member {baml_core.cffi.v1.IBamlLiteralValue|null|undefined} literalValue - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @member {baml_bridge.cffi.v1.IBamlLiteralValue|null|undefined} literalValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @instance */ BamlOutboundValue.prototype.literalValue = null; /** * BamlOutboundValue listValue. - * @member {baml_core.cffi.v1.IBamlValueList|null|undefined} listValue - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @member {baml_bridge.cffi.v1.IBamlValueList|null|undefined} listValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @instance */ BamlOutboundValue.prototype.listValue = null; /** * BamlOutboundValue mapValue. - * @member {baml_core.cffi.v1.IBamlValueMap|null|undefined} mapValue - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @member {baml_bridge.cffi.v1.IBamlValueMap|null|undefined} mapValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @instance */ BamlOutboundValue.prototype.mapValue = null; /** * BamlOutboundValue unionVariantValue. - * @member {baml_core.cffi.v1.IBamlValueUnionVariant|null|undefined} unionVariantValue - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @member {baml_bridge.cffi.v1.IBamlValueUnionVariant|null|undefined} unionVariantValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @instance */ BamlOutboundValue.prototype.unionVariantValue = null; /** * BamlOutboundValue handleValue. - * @member {baml_core.cffi.v1.IBamlOutboundHandle|null|undefined} handleValue - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @member {baml_bridge.cffi.v1.IBamlOutboundHandle|null|undefined} handleValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @instance */ BamlOutboundValue.prototype.handleValue = null; /** * BamlOutboundValue mediaValue. - * @member {baml_core.cffi.v1.IBamlValueMedia|null|undefined} mediaValue - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @member {baml_bridge.cffi.v1.IBamlValueMedia|null|undefined} mediaValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @instance */ BamlOutboundValue.prototype.mediaValue = null; /** * BamlOutboundValue promptAstValue. - * @member {baml_core.cffi.v1.IBamlValuePromptAst|null|undefined} promptAstValue - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @member {baml_bridge.cffi.v1.IBamlValuePromptAst|null|undefined} promptAstValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @instance */ BamlOutboundValue.prototype.promptAstValue = null; @@ -12002,7 +12002,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlOutboundValue uint8arrayValue. * @member {Uint8Array|null|undefined} uint8arrayValue - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @instance */ BamlOutboundValue.prototype.uint8arrayValue = null; @@ -12010,15 +12010,15 @@ export const baml_core = $root.baml_core = (() => { /** * BamlOutboundValue bigintValue. * @member {string|null|undefined} bigintValue - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @instance */ BamlOutboundValue.prototype.bigintValue = null; /** * BamlOutboundValue tyValue. - * @member {baml_core.cffi.v1.IBamlTy|null|undefined} tyValue - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @member {baml_bridge.cffi.v1.IBamlTy|null|undefined} tyValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @instance */ BamlOutboundValue.prototype.tyValue = null; @@ -12029,7 +12029,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlOutboundValue value. * @member {"nullValue"|"stringValue"|"intValue"|"floatValue"|"boolValue"|"classValue"|"enumValue"|"literalValue"|"listValue"|"mapValue"|"unionVariantValue"|"handleValue"|"mediaValue"|"promptAstValue"|"uint8arrayValue"|"bigintValue"|"tyValue"|undefined} value - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @instance */ Object.defineProperty(BamlOutboundValue.prototype, "value", { @@ -12040,21 +12040,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlOutboundValue instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @static - * @param {baml_core.cffi.v1.IBamlOutboundValue=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlOutboundValue} BamlOutboundValue instance + * @param {baml_bridge.cffi.v1.IBamlOutboundValue=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlOutboundValue} BamlOutboundValue instance */ BamlOutboundValue.create = function create(properties) { return new BamlOutboundValue(properties); }; /** - * Encodes the specified BamlOutboundValue message. Does not implicitly {@link baml_core.cffi.v1.BamlOutboundValue.verify|verify} messages. + * Encodes the specified BamlOutboundValue message. Does not implicitly {@link baml_bridge.cffi.v1.BamlOutboundValue.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @static - * @param {baml_core.cffi.v1.IBamlOutboundValue} message BamlOutboundValue message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlOutboundValue} message BamlOutboundValue message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -12066,7 +12066,7 @@ export const baml_core = $root.baml_core = (() => { if (q > $util.recursionLimit) throw Error("max depth exceeded"); if (message.nullValue != null && Object.hasOwnProperty.call(message, "nullValue")) - $root.baml_core.cffi.v1.BamlValueNull.encode(message.nullValue, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlValueNull.encode(message.nullValue, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); if (message.stringValue != null && Object.hasOwnProperty.call(message, "stringValue")) writer.uint32(/* id 3, wireType 2 =*/26).string(message.stringValue); if (message.intValue != null && Object.hasOwnProperty.call(message, "intValue")) @@ -12076,38 +12076,38 @@ export const baml_core = $root.baml_core = (() => { if (message.boolValue != null && Object.hasOwnProperty.call(message, "boolValue")) writer.uint32(/* id 6, wireType 0 =*/48).bool(message.boolValue); if (message.classValue != null && Object.hasOwnProperty.call(message, "classValue")) - $root.baml_core.cffi.v1.BamlValueClass.encode(message.classValue, writer.uint32(/* id 7, wireType 2 =*/58).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlValueClass.encode(message.classValue, writer.uint32(/* id 7, wireType 2 =*/58).fork(), q + 1).ldelim(); if (message.enumValue != null && Object.hasOwnProperty.call(message, "enumValue")) - $root.baml_core.cffi.v1.BamlValueEnum.encode(message.enumValue, writer.uint32(/* id 8, wireType 2 =*/66).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlValueEnum.encode(message.enumValue, writer.uint32(/* id 8, wireType 2 =*/66).fork(), q + 1).ldelim(); if (message.literalValue != null && Object.hasOwnProperty.call(message, "literalValue")) - $root.baml_core.cffi.v1.BamlLiteralValue.encode(message.literalValue, writer.uint32(/* id 9, wireType 2 =*/74).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlLiteralValue.encode(message.literalValue, writer.uint32(/* id 9, wireType 2 =*/74).fork(), q + 1).ldelim(); if (message.listValue != null && Object.hasOwnProperty.call(message, "listValue")) - $root.baml_core.cffi.v1.BamlValueList.encode(message.listValue, writer.uint32(/* id 11, wireType 2 =*/90).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlValueList.encode(message.listValue, writer.uint32(/* id 11, wireType 2 =*/90).fork(), q + 1).ldelim(); if (message.mapValue != null && Object.hasOwnProperty.call(message, "mapValue")) - $root.baml_core.cffi.v1.BamlValueMap.encode(message.mapValue, writer.uint32(/* id 12, wireType 2 =*/98).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlValueMap.encode(message.mapValue, writer.uint32(/* id 12, wireType 2 =*/98).fork(), q + 1).ldelim(); if (message.unionVariantValue != null && Object.hasOwnProperty.call(message, "unionVariantValue")) - $root.baml_core.cffi.v1.BamlValueUnionVariant.encode(message.unionVariantValue, writer.uint32(/* id 13, wireType 2 =*/106).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlValueUnionVariant.encode(message.unionVariantValue, writer.uint32(/* id 13, wireType 2 =*/106).fork(), q + 1).ldelim(); if (message.handleValue != null && Object.hasOwnProperty.call(message, "handleValue")) - $root.baml_core.cffi.v1.BamlOutboundHandle.encode(message.handleValue, writer.uint32(/* id 16, wireType 2 =*/130).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlOutboundHandle.encode(message.handleValue, writer.uint32(/* id 16, wireType 2 =*/130).fork(), q + 1).ldelim(); if (message.mediaValue != null && Object.hasOwnProperty.call(message, "mediaValue")) - $root.baml_core.cffi.v1.BamlValueMedia.encode(message.mediaValue, writer.uint32(/* id 17, wireType 2 =*/138).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlValueMedia.encode(message.mediaValue, writer.uint32(/* id 17, wireType 2 =*/138).fork(), q + 1).ldelim(); if (message.promptAstValue != null && Object.hasOwnProperty.call(message, "promptAstValue")) - $root.baml_core.cffi.v1.BamlValuePromptAst.encode(message.promptAstValue, writer.uint32(/* id 18, wireType 2 =*/146).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlValuePromptAst.encode(message.promptAstValue, writer.uint32(/* id 18, wireType 2 =*/146).fork(), q + 1).ldelim(); if (message.uint8arrayValue != null && Object.hasOwnProperty.call(message, "uint8arrayValue")) writer.uint32(/* id 19, wireType 2 =*/154).bytes(message.uint8arrayValue); if (message.bigintValue != null && Object.hasOwnProperty.call(message, "bigintValue")) writer.uint32(/* id 20, wireType 2 =*/162).string(message.bigintValue); if (message.tyValue != null && Object.hasOwnProperty.call(message, "tyValue")) - $root.baml_core.cffi.v1.BamlTy.encode(message.tyValue, writer.uint32(/* id 21, wireType 2 =*/170).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.tyValue, writer.uint32(/* id 21, wireType 2 =*/170).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlOutboundValue message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlOutboundValue.verify|verify} messages. + * Encodes the specified BamlOutboundValue message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlOutboundValue.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @static - * @param {baml_core.cffi.v1.IBamlOutboundValue} message BamlOutboundValue message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlOutboundValue} message BamlOutboundValue message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -12118,11 +12118,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlOutboundValue message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlOutboundValue} BamlOutboundValue + * @returns {baml_bridge.cffi.v1.BamlOutboundValue} BamlOutboundValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -12133,14 +12133,14 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlOutboundValue(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlOutboundValue(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 2: { - message.nullValue = $root.baml_core.cffi.v1.BamlValueNull.decode(reader, reader.uint32(), undefined, long + 1); + message.nullValue = $root.baml_bridge.cffi.v1.BamlValueNull.decode(reader, reader.uint32(), undefined, long + 1); break; } case 3: { @@ -12160,39 +12160,39 @@ export const baml_core = $root.baml_core = (() => { break; } case 7: { - message.classValue = $root.baml_core.cffi.v1.BamlValueClass.decode(reader, reader.uint32(), undefined, long + 1); + message.classValue = $root.baml_bridge.cffi.v1.BamlValueClass.decode(reader, reader.uint32(), undefined, long + 1); break; } case 8: { - message.enumValue = $root.baml_core.cffi.v1.BamlValueEnum.decode(reader, reader.uint32(), undefined, long + 1); + message.enumValue = $root.baml_bridge.cffi.v1.BamlValueEnum.decode(reader, reader.uint32(), undefined, long + 1); break; } case 9: { - message.literalValue = $root.baml_core.cffi.v1.BamlLiteralValue.decode(reader, reader.uint32(), undefined, long + 1); + message.literalValue = $root.baml_bridge.cffi.v1.BamlLiteralValue.decode(reader, reader.uint32(), undefined, long + 1); break; } case 11: { - message.listValue = $root.baml_core.cffi.v1.BamlValueList.decode(reader, reader.uint32(), undefined, long + 1); + message.listValue = $root.baml_bridge.cffi.v1.BamlValueList.decode(reader, reader.uint32(), undefined, long + 1); break; } case 12: { - message.mapValue = $root.baml_core.cffi.v1.BamlValueMap.decode(reader, reader.uint32(), undefined, long + 1); + message.mapValue = $root.baml_bridge.cffi.v1.BamlValueMap.decode(reader, reader.uint32(), undefined, long + 1); break; } case 13: { - message.unionVariantValue = $root.baml_core.cffi.v1.BamlValueUnionVariant.decode(reader, reader.uint32(), undefined, long + 1); + message.unionVariantValue = $root.baml_bridge.cffi.v1.BamlValueUnionVariant.decode(reader, reader.uint32(), undefined, long + 1); break; } case 16: { - message.handleValue = $root.baml_core.cffi.v1.BamlOutboundHandle.decode(reader, reader.uint32(), undefined, long + 1); + message.handleValue = $root.baml_bridge.cffi.v1.BamlOutboundHandle.decode(reader, reader.uint32(), undefined, long + 1); break; } case 17: { - message.mediaValue = $root.baml_core.cffi.v1.BamlValueMedia.decode(reader, reader.uint32(), undefined, long + 1); + message.mediaValue = $root.baml_bridge.cffi.v1.BamlValueMedia.decode(reader, reader.uint32(), undefined, long + 1); break; } case 18: { - message.promptAstValue = $root.baml_core.cffi.v1.BamlValuePromptAst.decode(reader, reader.uint32(), undefined, long + 1); + message.promptAstValue = $root.baml_bridge.cffi.v1.BamlValuePromptAst.decode(reader, reader.uint32(), undefined, long + 1); break; } case 19: { @@ -12204,7 +12204,7 @@ export const baml_core = $root.baml_core = (() => { break; } case 21: { - message.tyValue = $root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); + message.tyValue = $root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); break; } default: @@ -12218,10 +12218,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlOutboundValue message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlOutboundValue} BamlOutboundValue + * @returns {baml_bridge.cffi.v1.BamlOutboundValue} BamlOutboundValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -12234,7 +12234,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlOutboundValue message. * @function verify - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -12250,7 +12250,7 @@ export const baml_core = $root.baml_core = (() => { if (message.nullValue != null && message.hasOwnProperty("nullValue")) { properties.value = 1; { - let error = $root.baml_core.cffi.v1.BamlValueNull.verify(message.nullValue, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlValueNull.verify(message.nullValue, long + 1); if (error) return "nullValue." + error; } @@ -12288,7 +12288,7 @@ export const baml_core = $root.baml_core = (() => { return "value: multiple values"; properties.value = 1; { - let error = $root.baml_core.cffi.v1.BamlValueClass.verify(message.classValue, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlValueClass.verify(message.classValue, long + 1); if (error) return "classValue." + error; } @@ -12298,7 +12298,7 @@ export const baml_core = $root.baml_core = (() => { return "value: multiple values"; properties.value = 1; { - let error = $root.baml_core.cffi.v1.BamlValueEnum.verify(message.enumValue, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlValueEnum.verify(message.enumValue, long + 1); if (error) return "enumValue." + error; } @@ -12308,7 +12308,7 @@ export const baml_core = $root.baml_core = (() => { return "value: multiple values"; properties.value = 1; { - let error = $root.baml_core.cffi.v1.BamlLiteralValue.verify(message.literalValue, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlLiteralValue.verify(message.literalValue, long + 1); if (error) return "literalValue." + error; } @@ -12318,7 +12318,7 @@ export const baml_core = $root.baml_core = (() => { return "value: multiple values"; properties.value = 1; { - let error = $root.baml_core.cffi.v1.BamlValueList.verify(message.listValue, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlValueList.verify(message.listValue, long + 1); if (error) return "listValue." + error; } @@ -12328,7 +12328,7 @@ export const baml_core = $root.baml_core = (() => { return "value: multiple values"; properties.value = 1; { - let error = $root.baml_core.cffi.v1.BamlValueMap.verify(message.mapValue, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlValueMap.verify(message.mapValue, long + 1); if (error) return "mapValue." + error; } @@ -12338,7 +12338,7 @@ export const baml_core = $root.baml_core = (() => { return "value: multiple values"; properties.value = 1; { - let error = $root.baml_core.cffi.v1.BamlValueUnionVariant.verify(message.unionVariantValue, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlValueUnionVariant.verify(message.unionVariantValue, long + 1); if (error) return "unionVariantValue." + error; } @@ -12348,7 +12348,7 @@ export const baml_core = $root.baml_core = (() => { return "value: multiple values"; properties.value = 1; { - let error = $root.baml_core.cffi.v1.BamlOutboundHandle.verify(message.handleValue, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlOutboundHandle.verify(message.handleValue, long + 1); if (error) return "handleValue." + error; } @@ -12358,7 +12358,7 @@ export const baml_core = $root.baml_core = (() => { return "value: multiple values"; properties.value = 1; { - let error = $root.baml_core.cffi.v1.BamlValueMedia.verify(message.mediaValue, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlValueMedia.verify(message.mediaValue, long + 1); if (error) return "mediaValue." + error; } @@ -12368,7 +12368,7 @@ export const baml_core = $root.baml_core = (() => { return "value: multiple values"; properties.value = 1; { - let error = $root.baml_core.cffi.v1.BamlValuePromptAst.verify(message.promptAstValue, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlValuePromptAst.verify(message.promptAstValue, long + 1); if (error) return "promptAstValue." + error; } @@ -12392,7 +12392,7 @@ export const baml_core = $root.baml_core = (() => { return "value: multiple values"; properties.value = 1; { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.tyValue, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.tyValue, long + 1); if (error) return "tyValue." + error; } @@ -12403,25 +12403,25 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlOutboundValue message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlOutboundValue} BamlOutboundValue + * @returns {baml_bridge.cffi.v1.BamlOutboundValue} BamlOutboundValue */ BamlOutboundValue.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlOutboundValue) + if (object instanceof $root.baml_bridge.cffi.v1.BamlOutboundValue) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundValue: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundValue: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlOutboundValue(); + let message = new $root.baml_bridge.cffi.v1.BamlOutboundValue(); if (object.nullValue != null) { if (!$util.isObject(object.nullValue)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundValue.nullValue: object expected"); - message.nullValue = $root.baml_core.cffi.v1.BamlValueNull.fromObject(object.nullValue, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundValue.nullValue: object expected"); + message.nullValue = $root.baml_bridge.cffi.v1.BamlValueNull.fromObject(object.nullValue, long + 1); } if (object.stringValue != null) message.stringValue = String(object.stringValue); @@ -12440,48 +12440,48 @@ export const baml_core = $root.baml_core = (() => { message.boolValue = Boolean(object.boolValue); if (object.classValue != null) { if (!$util.isObject(object.classValue)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundValue.classValue: object expected"); - message.classValue = $root.baml_core.cffi.v1.BamlValueClass.fromObject(object.classValue, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundValue.classValue: object expected"); + message.classValue = $root.baml_bridge.cffi.v1.BamlValueClass.fromObject(object.classValue, long + 1); } if (object.enumValue != null) { if (!$util.isObject(object.enumValue)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundValue.enumValue: object expected"); - message.enumValue = $root.baml_core.cffi.v1.BamlValueEnum.fromObject(object.enumValue, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundValue.enumValue: object expected"); + message.enumValue = $root.baml_bridge.cffi.v1.BamlValueEnum.fromObject(object.enumValue, long + 1); } if (object.literalValue != null) { if (!$util.isObject(object.literalValue)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundValue.literalValue: object expected"); - message.literalValue = $root.baml_core.cffi.v1.BamlLiteralValue.fromObject(object.literalValue, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundValue.literalValue: object expected"); + message.literalValue = $root.baml_bridge.cffi.v1.BamlLiteralValue.fromObject(object.literalValue, long + 1); } if (object.listValue != null) { if (!$util.isObject(object.listValue)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundValue.listValue: object expected"); - message.listValue = $root.baml_core.cffi.v1.BamlValueList.fromObject(object.listValue, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundValue.listValue: object expected"); + message.listValue = $root.baml_bridge.cffi.v1.BamlValueList.fromObject(object.listValue, long + 1); } if (object.mapValue != null) { if (!$util.isObject(object.mapValue)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundValue.mapValue: object expected"); - message.mapValue = $root.baml_core.cffi.v1.BamlValueMap.fromObject(object.mapValue, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundValue.mapValue: object expected"); + message.mapValue = $root.baml_bridge.cffi.v1.BamlValueMap.fromObject(object.mapValue, long + 1); } if (object.unionVariantValue != null) { if (!$util.isObject(object.unionVariantValue)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundValue.unionVariantValue: object expected"); - message.unionVariantValue = $root.baml_core.cffi.v1.BamlValueUnionVariant.fromObject(object.unionVariantValue, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundValue.unionVariantValue: object expected"); + message.unionVariantValue = $root.baml_bridge.cffi.v1.BamlValueUnionVariant.fromObject(object.unionVariantValue, long + 1); } if (object.handleValue != null) { if (!$util.isObject(object.handleValue)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundValue.handleValue: object expected"); - message.handleValue = $root.baml_core.cffi.v1.BamlOutboundHandle.fromObject(object.handleValue, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundValue.handleValue: object expected"); + message.handleValue = $root.baml_bridge.cffi.v1.BamlOutboundHandle.fromObject(object.handleValue, long + 1); } if (object.mediaValue != null) { if (!$util.isObject(object.mediaValue)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundValue.mediaValue: object expected"); - message.mediaValue = $root.baml_core.cffi.v1.BamlValueMedia.fromObject(object.mediaValue, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundValue.mediaValue: object expected"); + message.mediaValue = $root.baml_bridge.cffi.v1.BamlValueMedia.fromObject(object.mediaValue, long + 1); } if (object.promptAstValue != null) { if (!$util.isObject(object.promptAstValue)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundValue.promptAstValue: object expected"); - message.promptAstValue = $root.baml_core.cffi.v1.BamlValuePromptAst.fromObject(object.promptAstValue, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundValue.promptAstValue: object expected"); + message.promptAstValue = $root.baml_bridge.cffi.v1.BamlValuePromptAst.fromObject(object.promptAstValue, long + 1); } if (object.uint8arrayValue != null) if (typeof object.uint8arrayValue === "string") @@ -12492,8 +12492,8 @@ export const baml_core = $root.baml_core = (() => { message.bigintValue = String(object.bigintValue); if (object.tyValue != null) { if (!$util.isObject(object.tyValue)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundValue.tyValue: object expected"); - message.tyValue = $root.baml_core.cffi.v1.BamlTy.fromObject(object.tyValue, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundValue.tyValue: object expected"); + message.tyValue = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.tyValue, long + 1); } return message; }; @@ -12501,9 +12501,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlOutboundValue message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @static - * @param {baml_core.cffi.v1.BamlOutboundValue} message BamlOutboundValue + * @param {baml_bridge.cffi.v1.BamlOutboundValue} message BamlOutboundValue * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -12516,7 +12516,7 @@ export const baml_core = $root.baml_core = (() => { throw Error("max depth exceeded"); let object = {}; if (message.nullValue != null && message.hasOwnProperty("nullValue")) { - object.nullValue = $root.baml_core.cffi.v1.BamlValueNull.toObject(message.nullValue, options, q + 1); + object.nullValue = $root.baml_bridge.cffi.v1.BamlValueNull.toObject(message.nullValue, options, q + 1); if (options.oneofs) object.value = "nullValue"; } @@ -12546,47 +12546,47 @@ export const baml_core = $root.baml_core = (() => { object.value = "boolValue"; } if (message.classValue != null && message.hasOwnProperty("classValue")) { - object.classValue = $root.baml_core.cffi.v1.BamlValueClass.toObject(message.classValue, options, q + 1); + object.classValue = $root.baml_bridge.cffi.v1.BamlValueClass.toObject(message.classValue, options, q + 1); if (options.oneofs) object.value = "classValue"; } if (message.enumValue != null && message.hasOwnProperty("enumValue")) { - object.enumValue = $root.baml_core.cffi.v1.BamlValueEnum.toObject(message.enumValue, options, q + 1); + object.enumValue = $root.baml_bridge.cffi.v1.BamlValueEnum.toObject(message.enumValue, options, q + 1); if (options.oneofs) object.value = "enumValue"; } if (message.literalValue != null && message.hasOwnProperty("literalValue")) { - object.literalValue = $root.baml_core.cffi.v1.BamlLiteralValue.toObject(message.literalValue, options, q + 1); + object.literalValue = $root.baml_bridge.cffi.v1.BamlLiteralValue.toObject(message.literalValue, options, q + 1); if (options.oneofs) object.value = "literalValue"; } if (message.listValue != null && message.hasOwnProperty("listValue")) { - object.listValue = $root.baml_core.cffi.v1.BamlValueList.toObject(message.listValue, options, q + 1); + object.listValue = $root.baml_bridge.cffi.v1.BamlValueList.toObject(message.listValue, options, q + 1); if (options.oneofs) object.value = "listValue"; } if (message.mapValue != null && message.hasOwnProperty("mapValue")) { - object.mapValue = $root.baml_core.cffi.v1.BamlValueMap.toObject(message.mapValue, options, q + 1); + object.mapValue = $root.baml_bridge.cffi.v1.BamlValueMap.toObject(message.mapValue, options, q + 1); if (options.oneofs) object.value = "mapValue"; } if (message.unionVariantValue != null && message.hasOwnProperty("unionVariantValue")) { - object.unionVariantValue = $root.baml_core.cffi.v1.BamlValueUnionVariant.toObject(message.unionVariantValue, options, q + 1); + object.unionVariantValue = $root.baml_bridge.cffi.v1.BamlValueUnionVariant.toObject(message.unionVariantValue, options, q + 1); if (options.oneofs) object.value = "unionVariantValue"; } if (message.handleValue != null && message.hasOwnProperty("handleValue")) { - object.handleValue = $root.baml_core.cffi.v1.BamlOutboundHandle.toObject(message.handleValue, options, q + 1); + object.handleValue = $root.baml_bridge.cffi.v1.BamlOutboundHandle.toObject(message.handleValue, options, q + 1); if (options.oneofs) object.value = "handleValue"; } if (message.mediaValue != null && message.hasOwnProperty("mediaValue")) { - object.mediaValue = $root.baml_core.cffi.v1.BamlValueMedia.toObject(message.mediaValue, options, q + 1); + object.mediaValue = $root.baml_bridge.cffi.v1.BamlValueMedia.toObject(message.mediaValue, options, q + 1); if (options.oneofs) object.value = "mediaValue"; } if (message.promptAstValue != null && message.hasOwnProperty("promptAstValue")) { - object.promptAstValue = $root.baml_core.cffi.v1.BamlValuePromptAst.toObject(message.promptAstValue, options, q + 1); + object.promptAstValue = $root.baml_bridge.cffi.v1.BamlValuePromptAst.toObject(message.promptAstValue, options, q + 1); if (options.oneofs) object.value = "promptAstValue"; } @@ -12601,7 +12601,7 @@ export const baml_core = $root.baml_core = (() => { object.value = "bigintValue"; } if (message.tyValue != null && message.hasOwnProperty("tyValue")) { - object.tyValue = $root.baml_core.cffi.v1.BamlTy.toObject(message.tyValue, options, q + 1); + object.tyValue = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.tyValue, options, q + 1); if (options.oneofs) object.value = "tyValue"; } @@ -12611,7 +12611,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlOutboundValue to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @instance * @returns {Object.} JSON object */ @@ -12622,7 +12622,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlOutboundValue * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -12631,7 +12631,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlOutboundValue"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlOutboundValue"; }; return BamlOutboundValue; @@ -12641,20 +12641,20 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlOutboundHandle. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlOutboundHandle * @property {number|Long|null} [key] BamlOutboundHandle key - * @property {baml_core.cffi.v1.BamlHandleType|null} [handleType] BamlOutboundHandle handleType - * @property {baml_core.cffi.v1.IBamlTy|null} [ty] BamlOutboundHandle ty + * @property {baml_bridge.cffi.v1.BamlHandleType|null} [handleType] BamlOutboundHandle handleType + * @property {baml_bridge.cffi.v1.IBamlTy|null} [ty] BamlOutboundHandle ty */ /** * Constructs a new BamlOutboundHandle. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlOutboundHandle. * @implements IBamlOutboundHandle * @constructor - * @param {baml_core.cffi.v1.IBamlOutboundHandle=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlOutboundHandle=} [properties] Properties to set */ function BamlOutboundHandle(properties) { if (properties) @@ -12666,23 +12666,23 @@ export const baml_core = $root.baml_core = (() => { /** * BamlOutboundHandle key. * @member {number|Long} key - * @memberof baml_core.cffi.v1.BamlOutboundHandle + * @memberof baml_bridge.cffi.v1.BamlOutboundHandle * @instance */ BamlOutboundHandle.prototype.key = $util.Long ? $util.Long.fromBits(0,0,true) : 0; /** * BamlOutboundHandle handleType. - * @member {baml_core.cffi.v1.BamlHandleType} handleType - * @memberof baml_core.cffi.v1.BamlOutboundHandle + * @member {baml_bridge.cffi.v1.BamlHandleType} handleType + * @memberof baml_bridge.cffi.v1.BamlOutboundHandle * @instance */ BamlOutboundHandle.prototype.handleType = 0; /** * BamlOutboundHandle ty. - * @member {baml_core.cffi.v1.IBamlTy|null|undefined} ty - * @memberof baml_core.cffi.v1.BamlOutboundHandle + * @member {baml_bridge.cffi.v1.IBamlTy|null|undefined} ty + * @memberof baml_bridge.cffi.v1.BamlOutboundHandle * @instance */ BamlOutboundHandle.prototype.ty = null; @@ -12690,21 +12690,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlOutboundHandle instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlOutboundHandle + * @memberof baml_bridge.cffi.v1.BamlOutboundHandle * @static - * @param {baml_core.cffi.v1.IBamlOutboundHandle=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlOutboundHandle} BamlOutboundHandle instance + * @param {baml_bridge.cffi.v1.IBamlOutboundHandle=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlOutboundHandle} BamlOutboundHandle instance */ BamlOutboundHandle.create = function create(properties) { return new BamlOutboundHandle(properties); }; /** - * Encodes the specified BamlOutboundHandle message. Does not implicitly {@link baml_core.cffi.v1.BamlOutboundHandle.verify|verify} messages. + * Encodes the specified BamlOutboundHandle message. Does not implicitly {@link baml_bridge.cffi.v1.BamlOutboundHandle.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlOutboundHandle + * @memberof baml_bridge.cffi.v1.BamlOutboundHandle * @static - * @param {baml_core.cffi.v1.IBamlOutboundHandle} message BamlOutboundHandle message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlOutboundHandle} message BamlOutboundHandle message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -12720,16 +12720,16 @@ export const baml_core = $root.baml_core = (() => { if (message.handleType != null && Object.hasOwnProperty.call(message, "handleType")) writer.uint32(/* id 2, wireType 0 =*/16).int32(message.handleType); if (message.ty != null && Object.hasOwnProperty.call(message, "ty")) - $root.baml_core.cffi.v1.BamlTy.encode(message.ty, writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.ty, writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlOutboundHandle message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlOutboundHandle.verify|verify} messages. + * Encodes the specified BamlOutboundHandle message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlOutboundHandle.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlOutboundHandle + * @memberof baml_bridge.cffi.v1.BamlOutboundHandle * @static - * @param {baml_core.cffi.v1.IBamlOutboundHandle} message BamlOutboundHandle message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlOutboundHandle} message BamlOutboundHandle message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -12740,11 +12740,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlOutboundHandle message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlOutboundHandle + * @memberof baml_bridge.cffi.v1.BamlOutboundHandle * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlOutboundHandle} BamlOutboundHandle + * @returns {baml_bridge.cffi.v1.BamlOutboundHandle} BamlOutboundHandle * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -12755,7 +12755,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlOutboundHandle(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlOutboundHandle(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -12770,7 +12770,7 @@ export const baml_core = $root.baml_core = (() => { break; } case 3: { - message.ty = $root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); + message.ty = $root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); break; } default: @@ -12784,10 +12784,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlOutboundHandle message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlOutboundHandle + * @memberof baml_bridge.cffi.v1.BamlOutboundHandle * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlOutboundHandle} BamlOutboundHandle + * @returns {baml_bridge.cffi.v1.BamlOutboundHandle} BamlOutboundHandle * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -12800,7 +12800,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlOutboundHandle message. * @function verify - * @memberof baml_core.cffi.v1.BamlOutboundHandle + * @memberof baml_bridge.cffi.v1.BamlOutboundHandle * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -12837,7 +12837,7 @@ export const baml_core = $root.baml_core = (() => { break; } if (message.ty != null && message.hasOwnProperty("ty")) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.ty, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.ty, long + 1); if (error) return "ty." + error; } @@ -12847,21 +12847,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlOutboundHandle message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlOutboundHandle + * @memberof baml_bridge.cffi.v1.BamlOutboundHandle * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlOutboundHandle} BamlOutboundHandle + * @returns {baml_bridge.cffi.v1.BamlOutboundHandle} BamlOutboundHandle */ BamlOutboundHandle.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlOutboundHandle) + if (object instanceof $root.baml_bridge.cffi.v1.BamlOutboundHandle) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundHandle: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundHandle: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlOutboundHandle(); + let message = new $root.baml_bridge.cffi.v1.BamlOutboundHandle(); if (object.key != null) if ($util.Long) message.key = $util.Long.fromValue(object.key, true); @@ -12941,8 +12941,8 @@ export const baml_core = $root.baml_core = (() => { } if (object.ty != null) { if (!$util.isObject(object.ty)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundHandle.ty: object expected"); - message.ty = $root.baml_core.cffi.v1.BamlTy.fromObject(object.ty, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundHandle.ty: object expected"); + message.ty = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.ty, long + 1); } return message; }; @@ -12950,9 +12950,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlOutboundHandle message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlOutboundHandle + * @memberof baml_bridge.cffi.v1.BamlOutboundHandle * @static - * @param {baml_core.cffi.v1.BamlOutboundHandle} message BamlOutboundHandle + * @param {baml_bridge.cffi.v1.BamlOutboundHandle} message BamlOutboundHandle * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -12981,16 +12981,16 @@ export const baml_core = $root.baml_core = (() => { else object.key = options.longs === String ? $util.Long.prototype.toString.call(message.key) : options.longs === Number ? new $util.LongBits(message.key.low >>> 0, message.key.high >>> 0).toNumber(true) : message.key; if (message.handleType != null && message.hasOwnProperty("handleType")) - object.handleType = options.enums === String ? $root.baml_core.cffi.v1.BamlHandleType[message.handleType] === undefined ? message.handleType : $root.baml_core.cffi.v1.BamlHandleType[message.handleType] : message.handleType; + object.handleType = options.enums === String ? $root.baml_bridge.cffi.v1.BamlHandleType[message.handleType] === undefined ? message.handleType : $root.baml_bridge.cffi.v1.BamlHandleType[message.handleType] : message.handleType; if (message.ty != null && message.hasOwnProperty("ty")) - object.ty = $root.baml_core.cffi.v1.BamlTy.toObject(message.ty, options, q + 1); + object.ty = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.ty, options, q + 1); return object; }; /** * Converts this BamlOutboundHandle to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlOutboundHandle + * @memberof baml_bridge.cffi.v1.BamlOutboundHandle * @instance * @returns {Object.} JSON object */ @@ -13001,7 +13001,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlOutboundHandle * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlOutboundHandle + * @memberof baml_bridge.cffi.v1.BamlOutboundHandle * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -13010,7 +13010,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlOutboundHandle"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlOutboundHandle"; }; return BamlOutboundHandle; @@ -13020,17 +13020,17 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlValueNull. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlValueNull */ /** * Constructs a new BamlValueNull. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlValueNull. * @implements IBamlValueNull * @constructor - * @param {baml_core.cffi.v1.IBamlValueNull=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlValueNull=} [properties] Properties to set */ function BamlValueNull(properties) { if (properties) @@ -13042,21 +13042,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlValueNull instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlValueNull + * @memberof baml_bridge.cffi.v1.BamlValueNull * @static - * @param {baml_core.cffi.v1.IBamlValueNull=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlValueNull} BamlValueNull instance + * @param {baml_bridge.cffi.v1.IBamlValueNull=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlValueNull} BamlValueNull instance */ BamlValueNull.create = function create(properties) { return new BamlValueNull(properties); }; /** - * Encodes the specified BamlValueNull message. Does not implicitly {@link baml_core.cffi.v1.BamlValueNull.verify|verify} messages. + * Encodes the specified BamlValueNull message. Does not implicitly {@link baml_bridge.cffi.v1.BamlValueNull.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlValueNull + * @memberof baml_bridge.cffi.v1.BamlValueNull * @static - * @param {baml_core.cffi.v1.IBamlValueNull} message BamlValueNull message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValueNull} message BamlValueNull message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -13071,11 +13071,11 @@ export const baml_core = $root.baml_core = (() => { }; /** - * Encodes the specified BamlValueNull message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlValueNull.verify|verify} messages. + * Encodes the specified BamlValueNull message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlValueNull.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlValueNull + * @memberof baml_bridge.cffi.v1.BamlValueNull * @static - * @param {baml_core.cffi.v1.IBamlValueNull} message BamlValueNull message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValueNull} message BamlValueNull message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -13086,11 +13086,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValueNull message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlValueNull + * @memberof baml_bridge.cffi.v1.BamlValueNull * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlValueNull} BamlValueNull + * @returns {baml_bridge.cffi.v1.BamlValueNull} BamlValueNull * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -13101,7 +13101,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlValueNull(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlValueNull(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -13118,10 +13118,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValueNull message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlValueNull + * @memberof baml_bridge.cffi.v1.BamlValueNull * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlValueNull} BamlValueNull + * @returns {baml_bridge.cffi.v1.BamlValueNull} BamlValueNull * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -13134,7 +13134,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlValueNull message. * @function verify - * @memberof baml_core.cffi.v1.BamlValueNull + * @memberof baml_bridge.cffi.v1.BamlValueNull * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -13152,29 +13152,29 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlValueNull message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlValueNull + * @memberof baml_bridge.cffi.v1.BamlValueNull * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlValueNull} BamlValueNull + * @returns {baml_bridge.cffi.v1.BamlValueNull} BamlValueNull */ BamlValueNull.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlValueNull) + if (object instanceof $root.baml_bridge.cffi.v1.BamlValueNull) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlValueNull: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlValueNull: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - return new $root.baml_core.cffi.v1.BamlValueNull(); + return new $root.baml_bridge.cffi.v1.BamlValueNull(); }; /** * Creates a plain object from a BamlValueNull message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlValueNull + * @memberof baml_bridge.cffi.v1.BamlValueNull * @static - * @param {baml_core.cffi.v1.BamlValueNull} message BamlValueNull + * @param {baml_bridge.cffi.v1.BamlValueNull} message BamlValueNull * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -13185,7 +13185,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlValueNull to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlValueNull + * @memberof baml_bridge.cffi.v1.BamlValueNull * @instance * @returns {Object.} JSON object */ @@ -13196,7 +13196,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlValueNull * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlValueNull + * @memberof baml_bridge.cffi.v1.BamlValueNull * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -13205,7 +13205,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlValueNull"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlValueNull"; }; return BamlValueNull; @@ -13215,19 +13215,19 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlValueList. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlValueList - * @property {baml_core.cffi.v1.IBamlTy|null} [itemType] BamlValueList itemType - * @property {Array.|null} [items] BamlValueList items + * @property {baml_bridge.cffi.v1.IBamlTy|null} [itemType] BamlValueList itemType + * @property {Array.|null} [items] BamlValueList items */ /** * Constructs a new BamlValueList. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlValueList. * @implements IBamlValueList * @constructor - * @param {baml_core.cffi.v1.IBamlValueList=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlValueList=} [properties] Properties to set */ function BamlValueList(properties) { this.items = []; @@ -13239,16 +13239,16 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValueList itemType. - * @member {baml_core.cffi.v1.IBamlTy|null|undefined} itemType - * @memberof baml_core.cffi.v1.BamlValueList + * @member {baml_bridge.cffi.v1.IBamlTy|null|undefined} itemType + * @memberof baml_bridge.cffi.v1.BamlValueList * @instance */ BamlValueList.prototype.itemType = null; /** * BamlValueList items. - * @member {Array.} items - * @memberof baml_core.cffi.v1.BamlValueList + * @member {Array.} items + * @memberof baml_bridge.cffi.v1.BamlValueList * @instance */ BamlValueList.prototype.items = $util.emptyArray; @@ -13256,21 +13256,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlValueList instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlValueList + * @memberof baml_bridge.cffi.v1.BamlValueList * @static - * @param {baml_core.cffi.v1.IBamlValueList=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlValueList} BamlValueList instance + * @param {baml_bridge.cffi.v1.IBamlValueList=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlValueList} BamlValueList instance */ BamlValueList.create = function create(properties) { return new BamlValueList(properties); }; /** - * Encodes the specified BamlValueList message. Does not implicitly {@link baml_core.cffi.v1.BamlValueList.verify|verify} messages. + * Encodes the specified BamlValueList message. Does not implicitly {@link baml_bridge.cffi.v1.BamlValueList.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlValueList + * @memberof baml_bridge.cffi.v1.BamlValueList * @static - * @param {baml_core.cffi.v1.IBamlValueList} message BamlValueList message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValueList} message BamlValueList message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -13282,19 +13282,19 @@ export const baml_core = $root.baml_core = (() => { if (q > $util.recursionLimit) throw Error("max depth exceeded"); if (message.itemType != null && Object.hasOwnProperty.call(message, "itemType")) - $root.baml_core.cffi.v1.BamlTy.encode(message.itemType, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.itemType, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); if (message.items != null && message.items.length) for (let i = 0; i < message.items.length; ++i) - $root.baml_core.cffi.v1.BamlOutboundValue.encode(message.items[i], writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlOutboundValue.encode(message.items[i], writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlValueList message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlValueList.verify|verify} messages. + * Encodes the specified BamlValueList message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlValueList.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlValueList + * @memberof baml_bridge.cffi.v1.BamlValueList * @static - * @param {baml_core.cffi.v1.IBamlValueList} message BamlValueList message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValueList} message BamlValueList message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -13305,11 +13305,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValueList message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlValueList + * @memberof baml_bridge.cffi.v1.BamlValueList * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlValueList} BamlValueList + * @returns {baml_bridge.cffi.v1.BamlValueList} BamlValueList * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -13320,20 +13320,20 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlValueList(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlValueList(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.itemType = $root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); + message.itemType = $root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); break; } case 2: { if (!(message.items && message.items.length)) message.items = []; - message.items.push($root.baml_core.cffi.v1.BamlOutboundValue.decode(reader, reader.uint32(), undefined, long + 1)); + message.items.push($root.baml_bridge.cffi.v1.BamlOutboundValue.decode(reader, reader.uint32(), undefined, long + 1)); break; } default: @@ -13347,10 +13347,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValueList message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlValueList + * @memberof baml_bridge.cffi.v1.BamlValueList * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlValueList} BamlValueList + * @returns {baml_bridge.cffi.v1.BamlValueList} BamlValueList * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -13363,7 +13363,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlValueList message. * @function verify - * @memberof baml_core.cffi.v1.BamlValueList + * @memberof baml_bridge.cffi.v1.BamlValueList * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -13376,7 +13376,7 @@ export const baml_core = $root.baml_core = (() => { if (long > $util.recursionLimit) return "maximum nesting depth exceeded"; if (message.itemType != null && message.hasOwnProperty("itemType")) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.itemType, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.itemType, long + 1); if (error) return "itemType." + error; } @@ -13384,7 +13384,7 @@ export const baml_core = $root.baml_core = (() => { if (!Array.isArray(message.items)) return "items: array expected"; for (let i = 0; i < message.items.length; ++i) { - let error = $root.baml_core.cffi.v1.BamlOutboundValue.verify(message.items[i], long + 1); + let error = $root.baml_bridge.cffi.v1.BamlOutboundValue.verify(message.items[i], long + 1); if (error) return "items." + error; } @@ -13395,34 +13395,34 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlValueList message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlValueList + * @memberof baml_bridge.cffi.v1.BamlValueList * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlValueList} BamlValueList + * @returns {baml_bridge.cffi.v1.BamlValueList} BamlValueList */ BamlValueList.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlValueList) + if (object instanceof $root.baml_bridge.cffi.v1.BamlValueList) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlValueList: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlValueList: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlValueList(); + let message = new $root.baml_bridge.cffi.v1.BamlValueList(); if (object.itemType != null) { if (!$util.isObject(object.itemType)) - throw TypeError(".baml_core.cffi.v1.BamlValueList.itemType: object expected"); - message.itemType = $root.baml_core.cffi.v1.BamlTy.fromObject(object.itemType, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlValueList.itemType: object expected"); + message.itemType = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.itemType, long + 1); } if (object.items) { if (!Array.isArray(object.items)) - throw TypeError(".baml_core.cffi.v1.BamlValueList.items: array expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlValueList.items: array expected"); message.items = []; for (let i = 0; i < object.items.length; ++i) { if (!$util.isObject(object.items[i])) - throw TypeError(".baml_core.cffi.v1.BamlValueList.items: object expected"); - message.items[i] = $root.baml_core.cffi.v1.BamlOutboundValue.fromObject(object.items[i], long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlValueList.items: object expected"); + message.items[i] = $root.baml_bridge.cffi.v1.BamlOutboundValue.fromObject(object.items[i], long + 1); } } return message; @@ -13431,9 +13431,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlValueList message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlValueList + * @memberof baml_bridge.cffi.v1.BamlValueList * @static - * @param {baml_core.cffi.v1.BamlValueList} message BamlValueList + * @param {baml_bridge.cffi.v1.BamlValueList} message BamlValueList * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -13450,11 +13450,11 @@ export const baml_core = $root.baml_core = (() => { if (options.defaults) object.itemType = null; if (message.itemType != null && message.hasOwnProperty("itemType")) - object.itemType = $root.baml_core.cffi.v1.BamlTy.toObject(message.itemType, options, q + 1); + object.itemType = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.itemType, options, q + 1); if (message.items && message.items.length) { object.items = []; for (let j = 0; j < message.items.length; ++j) - object.items[j] = $root.baml_core.cffi.v1.BamlOutboundValue.toObject(message.items[j], options, q + 1); + object.items[j] = $root.baml_bridge.cffi.v1.BamlOutboundValue.toObject(message.items[j], options, q + 1); } return object; }; @@ -13462,7 +13462,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlValueList to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlValueList + * @memberof baml_bridge.cffi.v1.BamlValueList * @instance * @returns {Object.} JSON object */ @@ -13473,7 +13473,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlValueList * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlValueList + * @memberof baml_bridge.cffi.v1.BamlValueList * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -13482,7 +13482,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlValueList"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlValueList"; }; return BamlValueList; @@ -13492,19 +13492,19 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlOutboundMapEntry. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlOutboundMapEntry * @property {string|null} [key] BamlOutboundMapEntry key - * @property {baml_core.cffi.v1.IBamlOutboundValue|null} [value] BamlOutboundMapEntry value + * @property {baml_bridge.cffi.v1.IBamlOutboundValue|null} [value] BamlOutboundMapEntry value */ /** * Constructs a new BamlOutboundMapEntry. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlOutboundMapEntry. * @implements IBamlOutboundMapEntry * @constructor - * @param {baml_core.cffi.v1.IBamlOutboundMapEntry=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlOutboundMapEntry=} [properties] Properties to set */ function BamlOutboundMapEntry(properties) { if (properties) @@ -13516,15 +13516,15 @@ export const baml_core = $root.baml_core = (() => { /** * BamlOutboundMapEntry key. * @member {string} key - * @memberof baml_core.cffi.v1.BamlOutboundMapEntry + * @memberof baml_bridge.cffi.v1.BamlOutboundMapEntry * @instance */ BamlOutboundMapEntry.prototype.key = ""; /** * BamlOutboundMapEntry value. - * @member {baml_core.cffi.v1.IBamlOutboundValue|null|undefined} value - * @memberof baml_core.cffi.v1.BamlOutboundMapEntry + * @member {baml_bridge.cffi.v1.IBamlOutboundValue|null|undefined} value + * @memberof baml_bridge.cffi.v1.BamlOutboundMapEntry * @instance */ BamlOutboundMapEntry.prototype.value = null; @@ -13532,21 +13532,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlOutboundMapEntry instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlOutboundMapEntry + * @memberof baml_bridge.cffi.v1.BamlOutboundMapEntry * @static - * @param {baml_core.cffi.v1.IBamlOutboundMapEntry=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlOutboundMapEntry} BamlOutboundMapEntry instance + * @param {baml_bridge.cffi.v1.IBamlOutboundMapEntry=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlOutboundMapEntry} BamlOutboundMapEntry instance */ BamlOutboundMapEntry.create = function create(properties) { return new BamlOutboundMapEntry(properties); }; /** - * Encodes the specified BamlOutboundMapEntry message. Does not implicitly {@link baml_core.cffi.v1.BamlOutboundMapEntry.verify|verify} messages. + * Encodes the specified BamlOutboundMapEntry message. Does not implicitly {@link baml_bridge.cffi.v1.BamlOutboundMapEntry.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlOutboundMapEntry + * @memberof baml_bridge.cffi.v1.BamlOutboundMapEntry * @static - * @param {baml_core.cffi.v1.IBamlOutboundMapEntry} message BamlOutboundMapEntry message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlOutboundMapEntry} message BamlOutboundMapEntry message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -13560,16 +13560,16 @@ export const baml_core = $root.baml_core = (() => { if (message.key != null && Object.hasOwnProperty.call(message, "key")) writer.uint32(/* id 1, wireType 2 =*/10).string(message.key); if (message.value != null && Object.hasOwnProperty.call(message, "value")) - $root.baml_core.cffi.v1.BamlOutboundValue.encode(message.value, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlOutboundValue.encode(message.value, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlOutboundMapEntry message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlOutboundMapEntry.verify|verify} messages. + * Encodes the specified BamlOutboundMapEntry message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlOutboundMapEntry.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlOutboundMapEntry + * @memberof baml_bridge.cffi.v1.BamlOutboundMapEntry * @static - * @param {baml_core.cffi.v1.IBamlOutboundMapEntry} message BamlOutboundMapEntry message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlOutboundMapEntry} message BamlOutboundMapEntry message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -13580,11 +13580,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlOutboundMapEntry message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlOutboundMapEntry + * @memberof baml_bridge.cffi.v1.BamlOutboundMapEntry * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlOutboundMapEntry} BamlOutboundMapEntry + * @returns {baml_bridge.cffi.v1.BamlOutboundMapEntry} BamlOutboundMapEntry * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -13595,7 +13595,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlOutboundMapEntry(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlOutboundMapEntry(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -13606,7 +13606,7 @@ export const baml_core = $root.baml_core = (() => { break; } case 2: { - message.value = $root.baml_core.cffi.v1.BamlOutboundValue.decode(reader, reader.uint32(), undefined, long + 1); + message.value = $root.baml_bridge.cffi.v1.BamlOutboundValue.decode(reader, reader.uint32(), undefined, long + 1); break; } default: @@ -13620,10 +13620,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlOutboundMapEntry message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlOutboundMapEntry + * @memberof baml_bridge.cffi.v1.BamlOutboundMapEntry * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlOutboundMapEntry} BamlOutboundMapEntry + * @returns {baml_bridge.cffi.v1.BamlOutboundMapEntry} BamlOutboundMapEntry * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -13636,7 +13636,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlOutboundMapEntry message. * @function verify - * @memberof baml_core.cffi.v1.BamlOutboundMapEntry + * @memberof baml_bridge.cffi.v1.BamlOutboundMapEntry * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -13652,7 +13652,7 @@ export const baml_core = $root.baml_core = (() => { if (!$util.isString(message.key)) return "key: string expected"; if (message.value != null && message.hasOwnProperty("value")) { - let error = $root.baml_core.cffi.v1.BamlOutboundValue.verify(message.value, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlOutboundValue.verify(message.value, long + 1); if (error) return "value." + error; } @@ -13662,27 +13662,27 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlOutboundMapEntry message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlOutboundMapEntry + * @memberof baml_bridge.cffi.v1.BamlOutboundMapEntry * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlOutboundMapEntry} BamlOutboundMapEntry + * @returns {baml_bridge.cffi.v1.BamlOutboundMapEntry} BamlOutboundMapEntry */ BamlOutboundMapEntry.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlOutboundMapEntry) + if (object instanceof $root.baml_bridge.cffi.v1.BamlOutboundMapEntry) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundMapEntry: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundMapEntry: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlOutboundMapEntry(); + let message = new $root.baml_bridge.cffi.v1.BamlOutboundMapEntry(); if (object.key != null) message.key = String(object.key); if (object.value != null) { if (!$util.isObject(object.value)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundMapEntry.value: object expected"); - message.value = $root.baml_core.cffi.v1.BamlOutboundValue.fromObject(object.value, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundMapEntry.value: object expected"); + message.value = $root.baml_bridge.cffi.v1.BamlOutboundValue.fromObject(object.value, long + 1); } return message; }; @@ -13690,9 +13690,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlOutboundMapEntry message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlOutboundMapEntry + * @memberof baml_bridge.cffi.v1.BamlOutboundMapEntry * @static - * @param {baml_core.cffi.v1.BamlOutboundMapEntry} message BamlOutboundMapEntry + * @param {baml_bridge.cffi.v1.BamlOutboundMapEntry} message BamlOutboundMapEntry * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -13711,14 +13711,14 @@ export const baml_core = $root.baml_core = (() => { if (message.key != null && message.hasOwnProperty("key")) object.key = message.key; if (message.value != null && message.hasOwnProperty("value")) - object.value = $root.baml_core.cffi.v1.BamlOutboundValue.toObject(message.value, options, q + 1); + object.value = $root.baml_bridge.cffi.v1.BamlOutboundValue.toObject(message.value, options, q + 1); return object; }; /** * Converts this BamlOutboundMapEntry to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlOutboundMapEntry + * @memberof baml_bridge.cffi.v1.BamlOutboundMapEntry * @instance * @returns {Object.} JSON object */ @@ -13729,7 +13729,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlOutboundMapEntry * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlOutboundMapEntry + * @memberof baml_bridge.cffi.v1.BamlOutboundMapEntry * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -13738,7 +13738,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlOutboundMapEntry"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlOutboundMapEntry"; }; return BamlOutboundMapEntry; @@ -13748,20 +13748,20 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlValueMap. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlValueMap - * @property {baml_core.cffi.v1.IBamlTy|null} [keyType] BamlValueMap keyType - * @property {baml_core.cffi.v1.IBamlTy|null} [valueType] BamlValueMap valueType - * @property {Array.|null} [entries] BamlValueMap entries + * @property {baml_bridge.cffi.v1.IBamlTy|null} [keyType] BamlValueMap keyType + * @property {baml_bridge.cffi.v1.IBamlTy|null} [valueType] BamlValueMap valueType + * @property {Array.|null} [entries] BamlValueMap entries */ /** * Constructs a new BamlValueMap. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlValueMap. * @implements IBamlValueMap * @constructor - * @param {baml_core.cffi.v1.IBamlValueMap=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlValueMap=} [properties] Properties to set */ function BamlValueMap(properties) { this.entries = []; @@ -13773,24 +13773,24 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValueMap keyType. - * @member {baml_core.cffi.v1.IBamlTy|null|undefined} keyType - * @memberof baml_core.cffi.v1.BamlValueMap + * @member {baml_bridge.cffi.v1.IBamlTy|null|undefined} keyType + * @memberof baml_bridge.cffi.v1.BamlValueMap * @instance */ BamlValueMap.prototype.keyType = null; /** * BamlValueMap valueType. - * @member {baml_core.cffi.v1.IBamlTy|null|undefined} valueType - * @memberof baml_core.cffi.v1.BamlValueMap + * @member {baml_bridge.cffi.v1.IBamlTy|null|undefined} valueType + * @memberof baml_bridge.cffi.v1.BamlValueMap * @instance */ BamlValueMap.prototype.valueType = null; /** * BamlValueMap entries. - * @member {Array.} entries - * @memberof baml_core.cffi.v1.BamlValueMap + * @member {Array.} entries + * @memberof baml_bridge.cffi.v1.BamlValueMap * @instance */ BamlValueMap.prototype.entries = $util.emptyArray; @@ -13798,21 +13798,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlValueMap instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlValueMap + * @memberof baml_bridge.cffi.v1.BamlValueMap * @static - * @param {baml_core.cffi.v1.IBamlValueMap=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlValueMap} BamlValueMap instance + * @param {baml_bridge.cffi.v1.IBamlValueMap=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlValueMap} BamlValueMap instance */ BamlValueMap.create = function create(properties) { return new BamlValueMap(properties); }; /** - * Encodes the specified BamlValueMap message. Does not implicitly {@link baml_core.cffi.v1.BamlValueMap.verify|verify} messages. + * Encodes the specified BamlValueMap message. Does not implicitly {@link baml_bridge.cffi.v1.BamlValueMap.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlValueMap + * @memberof baml_bridge.cffi.v1.BamlValueMap * @static - * @param {baml_core.cffi.v1.IBamlValueMap} message BamlValueMap message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValueMap} message BamlValueMap message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -13824,21 +13824,21 @@ export const baml_core = $root.baml_core = (() => { if (q > $util.recursionLimit) throw Error("max depth exceeded"); if (message.keyType != null && Object.hasOwnProperty.call(message, "keyType")) - $root.baml_core.cffi.v1.BamlTy.encode(message.keyType, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.keyType, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); if (message.valueType != null && Object.hasOwnProperty.call(message, "valueType")) - $root.baml_core.cffi.v1.BamlTy.encode(message.valueType, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.valueType, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); if (message.entries != null && message.entries.length) for (let i = 0; i < message.entries.length; ++i) - $root.baml_core.cffi.v1.BamlOutboundMapEntry.encode(message.entries[i], writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlOutboundMapEntry.encode(message.entries[i], writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlValueMap message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlValueMap.verify|verify} messages. + * Encodes the specified BamlValueMap message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlValueMap.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlValueMap + * @memberof baml_bridge.cffi.v1.BamlValueMap * @static - * @param {baml_core.cffi.v1.IBamlValueMap} message BamlValueMap message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValueMap} message BamlValueMap message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -13849,11 +13849,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValueMap message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlValueMap + * @memberof baml_bridge.cffi.v1.BamlValueMap * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlValueMap} BamlValueMap + * @returns {baml_bridge.cffi.v1.BamlValueMap} BamlValueMap * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -13864,24 +13864,24 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlValueMap(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlValueMap(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.keyType = $root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); + message.keyType = $root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); break; } case 2: { - message.valueType = $root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); + message.valueType = $root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); break; } case 3: { if (!(message.entries && message.entries.length)) message.entries = []; - message.entries.push($root.baml_core.cffi.v1.BamlOutboundMapEntry.decode(reader, reader.uint32(), undefined, long + 1)); + message.entries.push($root.baml_bridge.cffi.v1.BamlOutboundMapEntry.decode(reader, reader.uint32(), undefined, long + 1)); break; } default: @@ -13895,10 +13895,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValueMap message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlValueMap + * @memberof baml_bridge.cffi.v1.BamlValueMap * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlValueMap} BamlValueMap + * @returns {baml_bridge.cffi.v1.BamlValueMap} BamlValueMap * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -13911,7 +13911,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlValueMap message. * @function verify - * @memberof baml_core.cffi.v1.BamlValueMap + * @memberof baml_bridge.cffi.v1.BamlValueMap * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -13924,12 +13924,12 @@ export const baml_core = $root.baml_core = (() => { if (long > $util.recursionLimit) return "maximum nesting depth exceeded"; if (message.keyType != null && message.hasOwnProperty("keyType")) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.keyType, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.keyType, long + 1); if (error) return "keyType." + error; } if (message.valueType != null && message.hasOwnProperty("valueType")) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.valueType, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.valueType, long + 1); if (error) return "valueType." + error; } @@ -13937,7 +13937,7 @@ export const baml_core = $root.baml_core = (() => { if (!Array.isArray(message.entries)) return "entries: array expected"; for (let i = 0; i < message.entries.length; ++i) { - let error = $root.baml_core.cffi.v1.BamlOutboundMapEntry.verify(message.entries[i], long + 1); + let error = $root.baml_bridge.cffi.v1.BamlOutboundMapEntry.verify(message.entries[i], long + 1); if (error) return "entries." + error; } @@ -13948,39 +13948,39 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlValueMap message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlValueMap + * @memberof baml_bridge.cffi.v1.BamlValueMap * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlValueMap} BamlValueMap + * @returns {baml_bridge.cffi.v1.BamlValueMap} BamlValueMap */ BamlValueMap.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlValueMap) + if (object instanceof $root.baml_bridge.cffi.v1.BamlValueMap) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlValueMap: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlValueMap: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlValueMap(); + let message = new $root.baml_bridge.cffi.v1.BamlValueMap(); if (object.keyType != null) { if (!$util.isObject(object.keyType)) - throw TypeError(".baml_core.cffi.v1.BamlValueMap.keyType: object expected"); - message.keyType = $root.baml_core.cffi.v1.BamlTy.fromObject(object.keyType, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlValueMap.keyType: object expected"); + message.keyType = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.keyType, long + 1); } if (object.valueType != null) { if (!$util.isObject(object.valueType)) - throw TypeError(".baml_core.cffi.v1.BamlValueMap.valueType: object expected"); - message.valueType = $root.baml_core.cffi.v1.BamlTy.fromObject(object.valueType, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlValueMap.valueType: object expected"); + message.valueType = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.valueType, long + 1); } if (object.entries) { if (!Array.isArray(object.entries)) - throw TypeError(".baml_core.cffi.v1.BamlValueMap.entries: array expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlValueMap.entries: array expected"); message.entries = []; for (let i = 0; i < object.entries.length; ++i) { if (!$util.isObject(object.entries[i])) - throw TypeError(".baml_core.cffi.v1.BamlValueMap.entries: object expected"); - message.entries[i] = $root.baml_core.cffi.v1.BamlOutboundMapEntry.fromObject(object.entries[i], long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlValueMap.entries: object expected"); + message.entries[i] = $root.baml_bridge.cffi.v1.BamlOutboundMapEntry.fromObject(object.entries[i], long + 1); } } return message; @@ -13989,9 +13989,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlValueMap message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlValueMap + * @memberof baml_bridge.cffi.v1.BamlValueMap * @static - * @param {baml_core.cffi.v1.BamlValueMap} message BamlValueMap + * @param {baml_bridge.cffi.v1.BamlValueMap} message BamlValueMap * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -14010,13 +14010,13 @@ export const baml_core = $root.baml_core = (() => { object.valueType = null; } if (message.keyType != null && message.hasOwnProperty("keyType")) - object.keyType = $root.baml_core.cffi.v1.BamlTy.toObject(message.keyType, options, q + 1); + object.keyType = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.keyType, options, q + 1); if (message.valueType != null && message.hasOwnProperty("valueType")) - object.valueType = $root.baml_core.cffi.v1.BamlTy.toObject(message.valueType, options, q + 1); + object.valueType = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.valueType, options, q + 1); if (message.entries && message.entries.length) { object.entries = []; for (let j = 0; j < message.entries.length; ++j) - object.entries[j] = $root.baml_core.cffi.v1.BamlOutboundMapEntry.toObject(message.entries[j], options, q + 1); + object.entries[j] = $root.baml_bridge.cffi.v1.BamlOutboundMapEntry.toObject(message.entries[j], options, q + 1); } return object; }; @@ -14024,7 +14024,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlValueMap to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlValueMap + * @memberof baml_bridge.cffi.v1.BamlValueMap * @instance * @returns {Object.} JSON object */ @@ -14035,7 +14035,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlValueMap * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlValueMap + * @memberof baml_bridge.cffi.v1.BamlValueMap * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -14044,7 +14044,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlValueMap"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlValueMap"; }; return BamlValueMap; @@ -14054,20 +14054,20 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlValueClass. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlValueClass * @property {string|null} [name] BamlValueClass name - * @property {Array.|null} [fields] BamlValueClass fields - * @property {Array.|null} [typeArgs] BamlValueClass typeArgs + * @property {Array.|null} [fields] BamlValueClass fields + * @property {Array.|null} [typeArgs] BamlValueClass typeArgs */ /** * Constructs a new BamlValueClass. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlValueClass. * @implements IBamlValueClass * @constructor - * @param {baml_core.cffi.v1.IBamlValueClass=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlValueClass=} [properties] Properties to set */ function BamlValueClass(properties) { this.fields = []; @@ -14081,23 +14081,23 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValueClass name. * @member {string} name - * @memberof baml_core.cffi.v1.BamlValueClass + * @memberof baml_bridge.cffi.v1.BamlValueClass * @instance */ BamlValueClass.prototype.name = ""; /** * BamlValueClass fields. - * @member {Array.} fields - * @memberof baml_core.cffi.v1.BamlValueClass + * @member {Array.} fields + * @memberof baml_bridge.cffi.v1.BamlValueClass * @instance */ BamlValueClass.prototype.fields = $util.emptyArray; /** * BamlValueClass typeArgs. - * @member {Array.} typeArgs - * @memberof baml_core.cffi.v1.BamlValueClass + * @member {Array.} typeArgs + * @memberof baml_bridge.cffi.v1.BamlValueClass * @instance */ BamlValueClass.prototype.typeArgs = $util.emptyArray; @@ -14105,21 +14105,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlValueClass instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlValueClass + * @memberof baml_bridge.cffi.v1.BamlValueClass * @static - * @param {baml_core.cffi.v1.IBamlValueClass=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlValueClass} BamlValueClass instance + * @param {baml_bridge.cffi.v1.IBamlValueClass=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlValueClass} BamlValueClass instance */ BamlValueClass.create = function create(properties) { return new BamlValueClass(properties); }; /** - * Encodes the specified BamlValueClass message. Does not implicitly {@link baml_core.cffi.v1.BamlValueClass.verify|verify} messages. + * Encodes the specified BamlValueClass message. Does not implicitly {@link baml_bridge.cffi.v1.BamlValueClass.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlValueClass + * @memberof baml_bridge.cffi.v1.BamlValueClass * @static - * @param {baml_core.cffi.v1.IBamlValueClass} message BamlValueClass message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValueClass} message BamlValueClass message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -14134,19 +14134,19 @@ export const baml_core = $root.baml_core = (() => { writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); if (message.fields != null && message.fields.length) for (let i = 0; i < message.fields.length; ++i) - $root.baml_core.cffi.v1.BamlOutboundMapEntry.encode(message.fields[i], writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlOutboundMapEntry.encode(message.fields[i], writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); if (message.typeArgs != null && message.typeArgs.length) for (let i = 0; i < message.typeArgs.length; ++i) - $root.baml_core.cffi.v1.BamlTy.encode(message.typeArgs[i], writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.typeArgs[i], writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlValueClass message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlValueClass.verify|verify} messages. + * Encodes the specified BamlValueClass message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlValueClass.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlValueClass + * @memberof baml_bridge.cffi.v1.BamlValueClass * @static - * @param {baml_core.cffi.v1.IBamlValueClass} message BamlValueClass message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValueClass} message BamlValueClass message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -14157,11 +14157,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValueClass message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlValueClass + * @memberof baml_bridge.cffi.v1.BamlValueClass * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlValueClass} BamlValueClass + * @returns {baml_bridge.cffi.v1.BamlValueClass} BamlValueClass * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -14172,7 +14172,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlValueClass(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlValueClass(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -14185,13 +14185,13 @@ export const baml_core = $root.baml_core = (() => { case 2: { if (!(message.fields && message.fields.length)) message.fields = []; - message.fields.push($root.baml_core.cffi.v1.BamlOutboundMapEntry.decode(reader, reader.uint32(), undefined, long + 1)); + message.fields.push($root.baml_bridge.cffi.v1.BamlOutboundMapEntry.decode(reader, reader.uint32(), undefined, long + 1)); break; } case 3: { if (!(message.typeArgs && message.typeArgs.length)) message.typeArgs = []; - message.typeArgs.push($root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1)); + message.typeArgs.push($root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1)); break; } default: @@ -14205,10 +14205,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValueClass message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlValueClass + * @memberof baml_bridge.cffi.v1.BamlValueClass * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlValueClass} BamlValueClass + * @returns {baml_bridge.cffi.v1.BamlValueClass} BamlValueClass * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -14221,7 +14221,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlValueClass message. * @function verify - * @memberof baml_core.cffi.v1.BamlValueClass + * @memberof baml_bridge.cffi.v1.BamlValueClass * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -14240,7 +14240,7 @@ export const baml_core = $root.baml_core = (() => { if (!Array.isArray(message.fields)) return "fields: array expected"; for (let i = 0; i < message.fields.length; ++i) { - let error = $root.baml_core.cffi.v1.BamlOutboundMapEntry.verify(message.fields[i], long + 1); + let error = $root.baml_bridge.cffi.v1.BamlOutboundMapEntry.verify(message.fields[i], long + 1); if (error) return "fields." + error; } @@ -14249,7 +14249,7 @@ export const baml_core = $root.baml_core = (() => { if (!Array.isArray(message.typeArgs)) return "typeArgs: array expected"; for (let i = 0; i < message.typeArgs.length; ++i) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.typeArgs[i], long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.typeArgs[i], long + 1); if (error) return "typeArgs." + error; } @@ -14260,41 +14260,41 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlValueClass message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlValueClass + * @memberof baml_bridge.cffi.v1.BamlValueClass * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlValueClass} BamlValueClass + * @returns {baml_bridge.cffi.v1.BamlValueClass} BamlValueClass */ BamlValueClass.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlValueClass) + if (object instanceof $root.baml_bridge.cffi.v1.BamlValueClass) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlValueClass: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlValueClass: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlValueClass(); + let message = new $root.baml_bridge.cffi.v1.BamlValueClass(); if (object.name != null) message.name = String(object.name); if (object.fields) { if (!Array.isArray(object.fields)) - throw TypeError(".baml_core.cffi.v1.BamlValueClass.fields: array expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlValueClass.fields: array expected"); message.fields = []; for (let i = 0; i < object.fields.length; ++i) { if (!$util.isObject(object.fields[i])) - throw TypeError(".baml_core.cffi.v1.BamlValueClass.fields: object expected"); - message.fields[i] = $root.baml_core.cffi.v1.BamlOutboundMapEntry.fromObject(object.fields[i], long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlValueClass.fields: object expected"); + message.fields[i] = $root.baml_bridge.cffi.v1.BamlOutboundMapEntry.fromObject(object.fields[i], long + 1); } } if (object.typeArgs) { if (!Array.isArray(object.typeArgs)) - throw TypeError(".baml_core.cffi.v1.BamlValueClass.typeArgs: array expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlValueClass.typeArgs: array expected"); message.typeArgs = []; for (let i = 0; i < object.typeArgs.length; ++i) { if (!$util.isObject(object.typeArgs[i])) - throw TypeError(".baml_core.cffi.v1.BamlValueClass.typeArgs: object expected"); - message.typeArgs[i] = $root.baml_core.cffi.v1.BamlTy.fromObject(object.typeArgs[i], long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlValueClass.typeArgs: object expected"); + message.typeArgs[i] = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.typeArgs[i], long + 1); } } return message; @@ -14303,9 +14303,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlValueClass message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlValueClass + * @memberof baml_bridge.cffi.v1.BamlValueClass * @static - * @param {baml_core.cffi.v1.BamlValueClass} message BamlValueClass + * @param {baml_bridge.cffi.v1.BamlValueClass} message BamlValueClass * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -14328,12 +14328,12 @@ export const baml_core = $root.baml_core = (() => { if (message.fields && message.fields.length) { object.fields = []; for (let j = 0; j < message.fields.length; ++j) - object.fields[j] = $root.baml_core.cffi.v1.BamlOutboundMapEntry.toObject(message.fields[j], options, q + 1); + object.fields[j] = $root.baml_bridge.cffi.v1.BamlOutboundMapEntry.toObject(message.fields[j], options, q + 1); } if (message.typeArgs && message.typeArgs.length) { object.typeArgs = []; for (let j = 0; j < message.typeArgs.length; ++j) - object.typeArgs[j] = $root.baml_core.cffi.v1.BamlTy.toObject(message.typeArgs[j], options, q + 1); + object.typeArgs[j] = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.typeArgs[j], options, q + 1); } return object; }; @@ -14341,7 +14341,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlValueClass to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlValueClass + * @memberof baml_bridge.cffi.v1.BamlValueClass * @instance * @returns {Object.} JSON object */ @@ -14352,7 +14352,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlValueClass * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlValueClass + * @memberof baml_bridge.cffi.v1.BamlValueClass * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -14361,7 +14361,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlValueClass"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlValueClass"; }; return BamlValueClass; @@ -14371,7 +14371,7 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlValueEnum. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlValueEnum * @property {string|null} [name] BamlValueEnum name * @property {string|null} [value] BamlValueEnum value @@ -14380,11 +14380,11 @@ export const baml_core = $root.baml_core = (() => { /** * Constructs a new BamlValueEnum. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlValueEnum. * @implements IBamlValueEnum * @constructor - * @param {baml_core.cffi.v1.IBamlValueEnum=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlValueEnum=} [properties] Properties to set */ function BamlValueEnum(properties) { if (properties) @@ -14396,7 +14396,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValueEnum name. * @member {string} name - * @memberof baml_core.cffi.v1.BamlValueEnum + * @memberof baml_bridge.cffi.v1.BamlValueEnum * @instance */ BamlValueEnum.prototype.name = ""; @@ -14404,7 +14404,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValueEnum value. * @member {string} value - * @memberof baml_core.cffi.v1.BamlValueEnum + * @memberof baml_bridge.cffi.v1.BamlValueEnum * @instance */ BamlValueEnum.prototype.value = ""; @@ -14412,7 +14412,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValueEnum isDynamic. * @member {boolean} isDynamic - * @memberof baml_core.cffi.v1.BamlValueEnum + * @memberof baml_bridge.cffi.v1.BamlValueEnum * @instance */ BamlValueEnum.prototype.isDynamic = false; @@ -14420,21 +14420,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlValueEnum instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlValueEnum + * @memberof baml_bridge.cffi.v1.BamlValueEnum * @static - * @param {baml_core.cffi.v1.IBamlValueEnum=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlValueEnum} BamlValueEnum instance + * @param {baml_bridge.cffi.v1.IBamlValueEnum=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlValueEnum} BamlValueEnum instance */ BamlValueEnum.create = function create(properties) { return new BamlValueEnum(properties); }; /** - * Encodes the specified BamlValueEnum message. Does not implicitly {@link baml_core.cffi.v1.BamlValueEnum.verify|verify} messages. + * Encodes the specified BamlValueEnum message. Does not implicitly {@link baml_bridge.cffi.v1.BamlValueEnum.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlValueEnum + * @memberof baml_bridge.cffi.v1.BamlValueEnum * @static - * @param {baml_core.cffi.v1.IBamlValueEnum} message BamlValueEnum message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValueEnum} message BamlValueEnum message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -14455,11 +14455,11 @@ export const baml_core = $root.baml_core = (() => { }; /** - * Encodes the specified BamlValueEnum message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlValueEnum.verify|verify} messages. + * Encodes the specified BamlValueEnum message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlValueEnum.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlValueEnum + * @memberof baml_bridge.cffi.v1.BamlValueEnum * @static - * @param {baml_core.cffi.v1.IBamlValueEnum} message BamlValueEnum message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValueEnum} message BamlValueEnum message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -14470,11 +14470,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValueEnum message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlValueEnum + * @memberof baml_bridge.cffi.v1.BamlValueEnum * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlValueEnum} BamlValueEnum + * @returns {baml_bridge.cffi.v1.BamlValueEnum} BamlValueEnum * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -14485,7 +14485,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlValueEnum(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlValueEnum(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -14514,10 +14514,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValueEnum message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlValueEnum + * @memberof baml_bridge.cffi.v1.BamlValueEnum * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlValueEnum} BamlValueEnum + * @returns {baml_bridge.cffi.v1.BamlValueEnum} BamlValueEnum * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -14530,7 +14530,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlValueEnum message. * @function verify - * @memberof baml_core.cffi.v1.BamlValueEnum + * @memberof baml_bridge.cffi.v1.BamlValueEnum * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -14557,21 +14557,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlValueEnum message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlValueEnum + * @memberof baml_bridge.cffi.v1.BamlValueEnum * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlValueEnum} BamlValueEnum + * @returns {baml_bridge.cffi.v1.BamlValueEnum} BamlValueEnum */ BamlValueEnum.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlValueEnum) + if (object instanceof $root.baml_bridge.cffi.v1.BamlValueEnum) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlValueEnum: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlValueEnum: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlValueEnum(); + let message = new $root.baml_bridge.cffi.v1.BamlValueEnum(); if (object.name != null) message.name = String(object.name); if (object.value != null) @@ -14584,9 +14584,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlValueEnum message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlValueEnum + * @memberof baml_bridge.cffi.v1.BamlValueEnum * @static - * @param {baml_core.cffi.v1.BamlValueEnum} message BamlValueEnum + * @param {baml_bridge.cffi.v1.BamlValueEnum} message BamlValueEnum * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -14615,7 +14615,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlValueEnum to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlValueEnum + * @memberof baml_bridge.cffi.v1.BamlValueEnum * @instance * @returns {Object.} JSON object */ @@ -14626,7 +14626,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlValueEnum * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlValueEnum + * @memberof baml_bridge.cffi.v1.BamlValueEnum * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -14635,7 +14635,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlValueEnum"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlValueEnum"; }; return BamlValueEnum; @@ -14645,23 +14645,23 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlValueUnionVariant. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlValueUnionVariant * @property {string|null} [name] BamlValueUnionVariant name * @property {boolean|null} [isOptional] BamlValueUnionVariant isOptional * @property {boolean|null} [isSinglePattern] BamlValueUnionVariant isSinglePattern - * @property {baml_core.cffi.v1.IBamlTy|null} [selfType] BamlValueUnionVariant selfType + * @property {baml_bridge.cffi.v1.IBamlTy|null} [selfType] BamlValueUnionVariant selfType * @property {string|null} [valueOptionName] BamlValueUnionVariant valueOptionName - * @property {baml_core.cffi.v1.IBamlOutboundValue|null} [value] BamlValueUnionVariant value + * @property {baml_bridge.cffi.v1.IBamlOutboundValue|null} [value] BamlValueUnionVariant value */ /** * Constructs a new BamlValueUnionVariant. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlValueUnionVariant. * @implements IBamlValueUnionVariant * @constructor - * @param {baml_core.cffi.v1.IBamlValueUnionVariant=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlValueUnionVariant=} [properties] Properties to set */ function BamlValueUnionVariant(properties) { if (properties) @@ -14673,7 +14673,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValueUnionVariant name. * @member {string} name - * @memberof baml_core.cffi.v1.BamlValueUnionVariant + * @memberof baml_bridge.cffi.v1.BamlValueUnionVariant * @instance */ BamlValueUnionVariant.prototype.name = ""; @@ -14681,7 +14681,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValueUnionVariant isOptional. * @member {boolean} isOptional - * @memberof baml_core.cffi.v1.BamlValueUnionVariant + * @memberof baml_bridge.cffi.v1.BamlValueUnionVariant * @instance */ BamlValueUnionVariant.prototype.isOptional = false; @@ -14689,15 +14689,15 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValueUnionVariant isSinglePattern. * @member {boolean} isSinglePattern - * @memberof baml_core.cffi.v1.BamlValueUnionVariant + * @memberof baml_bridge.cffi.v1.BamlValueUnionVariant * @instance */ BamlValueUnionVariant.prototype.isSinglePattern = false; /** * BamlValueUnionVariant selfType. - * @member {baml_core.cffi.v1.IBamlTy|null|undefined} selfType - * @memberof baml_core.cffi.v1.BamlValueUnionVariant + * @member {baml_bridge.cffi.v1.IBamlTy|null|undefined} selfType + * @memberof baml_bridge.cffi.v1.BamlValueUnionVariant * @instance */ BamlValueUnionVariant.prototype.selfType = null; @@ -14705,15 +14705,15 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValueUnionVariant valueOptionName. * @member {string} valueOptionName - * @memberof baml_core.cffi.v1.BamlValueUnionVariant + * @memberof baml_bridge.cffi.v1.BamlValueUnionVariant * @instance */ BamlValueUnionVariant.prototype.valueOptionName = ""; /** * BamlValueUnionVariant value. - * @member {baml_core.cffi.v1.IBamlOutboundValue|null|undefined} value - * @memberof baml_core.cffi.v1.BamlValueUnionVariant + * @member {baml_bridge.cffi.v1.IBamlOutboundValue|null|undefined} value + * @memberof baml_bridge.cffi.v1.BamlValueUnionVariant * @instance */ BamlValueUnionVariant.prototype.value = null; @@ -14721,21 +14721,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlValueUnionVariant instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlValueUnionVariant + * @memberof baml_bridge.cffi.v1.BamlValueUnionVariant * @static - * @param {baml_core.cffi.v1.IBamlValueUnionVariant=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlValueUnionVariant} BamlValueUnionVariant instance + * @param {baml_bridge.cffi.v1.IBamlValueUnionVariant=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlValueUnionVariant} BamlValueUnionVariant instance */ BamlValueUnionVariant.create = function create(properties) { return new BamlValueUnionVariant(properties); }; /** - * Encodes the specified BamlValueUnionVariant message. Does not implicitly {@link baml_core.cffi.v1.BamlValueUnionVariant.verify|verify} messages. + * Encodes the specified BamlValueUnionVariant message. Does not implicitly {@link baml_bridge.cffi.v1.BamlValueUnionVariant.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlValueUnionVariant + * @memberof baml_bridge.cffi.v1.BamlValueUnionVariant * @static - * @param {baml_core.cffi.v1.IBamlValueUnionVariant} message BamlValueUnionVariant message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValueUnionVariant} message BamlValueUnionVariant message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -14753,20 +14753,20 @@ export const baml_core = $root.baml_core = (() => { if (message.isSinglePattern != null && Object.hasOwnProperty.call(message, "isSinglePattern")) writer.uint32(/* id 3, wireType 0 =*/24).bool(message.isSinglePattern); if (message.selfType != null && Object.hasOwnProperty.call(message, "selfType")) - $root.baml_core.cffi.v1.BamlTy.encode(message.selfType, writer.uint32(/* id 4, wireType 2 =*/34).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.selfType, writer.uint32(/* id 4, wireType 2 =*/34).fork(), q + 1).ldelim(); if (message.valueOptionName != null && Object.hasOwnProperty.call(message, "valueOptionName")) writer.uint32(/* id 5, wireType 2 =*/42).string(message.valueOptionName); if (message.value != null && Object.hasOwnProperty.call(message, "value")) - $root.baml_core.cffi.v1.BamlOutboundValue.encode(message.value, writer.uint32(/* id 6, wireType 2 =*/50).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlOutboundValue.encode(message.value, writer.uint32(/* id 6, wireType 2 =*/50).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlValueUnionVariant message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlValueUnionVariant.verify|verify} messages. + * Encodes the specified BamlValueUnionVariant message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlValueUnionVariant.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlValueUnionVariant + * @memberof baml_bridge.cffi.v1.BamlValueUnionVariant * @static - * @param {baml_core.cffi.v1.IBamlValueUnionVariant} message BamlValueUnionVariant message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValueUnionVariant} message BamlValueUnionVariant message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -14777,11 +14777,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValueUnionVariant message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlValueUnionVariant + * @memberof baml_bridge.cffi.v1.BamlValueUnionVariant * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlValueUnionVariant} BamlValueUnionVariant + * @returns {baml_bridge.cffi.v1.BamlValueUnionVariant} BamlValueUnionVariant * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -14792,7 +14792,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlValueUnionVariant(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlValueUnionVariant(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -14811,7 +14811,7 @@ export const baml_core = $root.baml_core = (() => { break; } case 4: { - message.selfType = $root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); + message.selfType = $root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); break; } case 5: { @@ -14819,7 +14819,7 @@ export const baml_core = $root.baml_core = (() => { break; } case 6: { - message.value = $root.baml_core.cffi.v1.BamlOutboundValue.decode(reader, reader.uint32(), undefined, long + 1); + message.value = $root.baml_bridge.cffi.v1.BamlOutboundValue.decode(reader, reader.uint32(), undefined, long + 1); break; } default: @@ -14833,10 +14833,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValueUnionVariant message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlValueUnionVariant + * @memberof baml_bridge.cffi.v1.BamlValueUnionVariant * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlValueUnionVariant} BamlValueUnionVariant + * @returns {baml_bridge.cffi.v1.BamlValueUnionVariant} BamlValueUnionVariant * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -14849,7 +14849,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlValueUnionVariant message. * @function verify - * @memberof baml_core.cffi.v1.BamlValueUnionVariant + * @memberof baml_bridge.cffi.v1.BamlValueUnionVariant * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -14871,7 +14871,7 @@ export const baml_core = $root.baml_core = (() => { if (typeof message.isSinglePattern !== "boolean") return "isSinglePattern: boolean expected"; if (message.selfType != null && message.hasOwnProperty("selfType")) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.selfType, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.selfType, long + 1); if (error) return "selfType." + error; } @@ -14879,7 +14879,7 @@ export const baml_core = $root.baml_core = (() => { if (!$util.isString(message.valueOptionName)) return "valueOptionName: string expected"; if (message.value != null && message.hasOwnProperty("value")) { - let error = $root.baml_core.cffi.v1.BamlOutboundValue.verify(message.value, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlOutboundValue.verify(message.value, long + 1); if (error) return "value." + error; } @@ -14889,21 +14889,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlValueUnionVariant message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlValueUnionVariant + * @memberof baml_bridge.cffi.v1.BamlValueUnionVariant * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlValueUnionVariant} BamlValueUnionVariant + * @returns {baml_bridge.cffi.v1.BamlValueUnionVariant} BamlValueUnionVariant */ BamlValueUnionVariant.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlValueUnionVariant) + if (object instanceof $root.baml_bridge.cffi.v1.BamlValueUnionVariant) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlValueUnionVariant: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlValueUnionVariant: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlValueUnionVariant(); + let message = new $root.baml_bridge.cffi.v1.BamlValueUnionVariant(); if (object.name != null) message.name = String(object.name); if (object.isOptional != null) @@ -14912,15 +14912,15 @@ export const baml_core = $root.baml_core = (() => { message.isSinglePattern = Boolean(object.isSinglePattern); if (object.selfType != null) { if (!$util.isObject(object.selfType)) - throw TypeError(".baml_core.cffi.v1.BamlValueUnionVariant.selfType: object expected"); - message.selfType = $root.baml_core.cffi.v1.BamlTy.fromObject(object.selfType, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlValueUnionVariant.selfType: object expected"); + message.selfType = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.selfType, long + 1); } if (object.valueOptionName != null) message.valueOptionName = String(object.valueOptionName); if (object.value != null) { if (!$util.isObject(object.value)) - throw TypeError(".baml_core.cffi.v1.BamlValueUnionVariant.value: object expected"); - message.value = $root.baml_core.cffi.v1.BamlOutboundValue.fromObject(object.value, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlValueUnionVariant.value: object expected"); + message.value = $root.baml_bridge.cffi.v1.BamlOutboundValue.fromObject(object.value, long + 1); } return message; }; @@ -14928,9 +14928,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlValueUnionVariant message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlValueUnionVariant + * @memberof baml_bridge.cffi.v1.BamlValueUnionVariant * @static - * @param {baml_core.cffi.v1.BamlValueUnionVariant} message BamlValueUnionVariant + * @param {baml_bridge.cffi.v1.BamlValueUnionVariant} message BamlValueUnionVariant * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -14957,18 +14957,18 @@ export const baml_core = $root.baml_core = (() => { if (message.isSinglePattern != null && message.hasOwnProperty("isSinglePattern")) object.isSinglePattern = message.isSinglePattern; if (message.selfType != null && message.hasOwnProperty("selfType")) - object.selfType = $root.baml_core.cffi.v1.BamlTy.toObject(message.selfType, options, q + 1); + object.selfType = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.selfType, options, q + 1); if (message.valueOptionName != null && message.hasOwnProperty("valueOptionName")) object.valueOptionName = message.valueOptionName; if (message.value != null && message.hasOwnProperty("value")) - object.value = $root.baml_core.cffi.v1.BamlOutboundValue.toObject(message.value, options, q + 1); + object.value = $root.baml_bridge.cffi.v1.BamlOutboundValue.toObject(message.value, options, q + 1); return object; }; /** * Converts this BamlValueUnionVariant to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlValueUnionVariant + * @memberof baml_bridge.cffi.v1.BamlValueUnionVariant * @instance * @returns {Object.} JSON object */ @@ -14979,7 +14979,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlValueUnionVariant * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlValueUnionVariant + * @memberof baml_bridge.cffi.v1.BamlValueUnionVariant * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -14988,7 +14988,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlValueUnionVariant"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlValueUnionVariant"; }; return BamlValueUnionVariant; @@ -14996,7 +14996,7 @@ export const baml_core = $root.baml_core = (() => { /** * MediaTypeEnum enum. - * @name baml_core.cffi.v1.MediaTypeEnum + * @name baml_bridge.cffi.v1.MediaTypeEnum * @enum {number} * @property {number} MEDIA_TYPE_UNSPECIFIED=0 MEDIA_TYPE_UNSPECIFIED value * @property {number} IMAGE=1 IMAGE value @@ -15020,9 +15020,9 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlValueMedia. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlValueMedia - * @property {baml_core.cffi.v1.MediaTypeEnum|null} [media] BamlValueMedia media + * @property {baml_bridge.cffi.v1.MediaTypeEnum|null} [media] BamlValueMedia media * @property {string|null} [mimeType] BamlValueMedia mimeType * @property {string|null} [url] BamlValueMedia url * @property {string|null} [base64] BamlValueMedia base64 @@ -15031,11 +15031,11 @@ export const baml_core = $root.baml_core = (() => { /** * Constructs a new BamlValueMedia. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlValueMedia. * @implements IBamlValueMedia * @constructor - * @param {baml_core.cffi.v1.IBamlValueMedia=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlValueMedia=} [properties] Properties to set */ function BamlValueMedia(properties) { if (properties) @@ -15046,8 +15046,8 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValueMedia media. - * @member {baml_core.cffi.v1.MediaTypeEnum} media - * @memberof baml_core.cffi.v1.BamlValueMedia + * @member {baml_bridge.cffi.v1.MediaTypeEnum} media + * @memberof baml_bridge.cffi.v1.BamlValueMedia * @instance */ BamlValueMedia.prototype.media = 0; @@ -15055,7 +15055,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValueMedia mimeType. * @member {string|null|undefined} mimeType - * @memberof baml_core.cffi.v1.BamlValueMedia + * @memberof baml_bridge.cffi.v1.BamlValueMedia * @instance */ BamlValueMedia.prototype.mimeType = null; @@ -15063,7 +15063,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValueMedia url. * @member {string|null|undefined} url - * @memberof baml_core.cffi.v1.BamlValueMedia + * @memberof baml_bridge.cffi.v1.BamlValueMedia * @instance */ BamlValueMedia.prototype.url = null; @@ -15071,7 +15071,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValueMedia base64. * @member {string|null|undefined} base64 - * @memberof baml_core.cffi.v1.BamlValueMedia + * @memberof baml_bridge.cffi.v1.BamlValueMedia * @instance */ BamlValueMedia.prototype.base64 = null; @@ -15079,7 +15079,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValueMedia file. * @member {string|null|undefined} file - * @memberof baml_core.cffi.v1.BamlValueMedia + * @memberof baml_bridge.cffi.v1.BamlValueMedia * @instance */ BamlValueMedia.prototype.file = null; @@ -15096,7 +15096,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValueMedia value. * @member {"url"|"base64"|"file"|undefined} value - * @memberof baml_core.cffi.v1.BamlValueMedia + * @memberof baml_bridge.cffi.v1.BamlValueMedia * @instance */ Object.defineProperty(BamlValueMedia.prototype, "value", { @@ -15107,21 +15107,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlValueMedia instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlValueMedia + * @memberof baml_bridge.cffi.v1.BamlValueMedia * @static - * @param {baml_core.cffi.v1.IBamlValueMedia=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlValueMedia} BamlValueMedia instance + * @param {baml_bridge.cffi.v1.IBamlValueMedia=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlValueMedia} BamlValueMedia instance */ BamlValueMedia.create = function create(properties) { return new BamlValueMedia(properties); }; /** - * Encodes the specified BamlValueMedia message. Does not implicitly {@link baml_core.cffi.v1.BamlValueMedia.verify|verify} messages. + * Encodes the specified BamlValueMedia message. Does not implicitly {@link baml_bridge.cffi.v1.BamlValueMedia.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlValueMedia + * @memberof baml_bridge.cffi.v1.BamlValueMedia * @static - * @param {baml_core.cffi.v1.IBamlValueMedia} message BamlValueMedia message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValueMedia} message BamlValueMedia message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -15146,11 +15146,11 @@ export const baml_core = $root.baml_core = (() => { }; /** - * Encodes the specified BamlValueMedia message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlValueMedia.verify|verify} messages. + * Encodes the specified BamlValueMedia message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlValueMedia.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlValueMedia + * @memberof baml_bridge.cffi.v1.BamlValueMedia * @static - * @param {baml_core.cffi.v1.IBamlValueMedia} message BamlValueMedia message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValueMedia} message BamlValueMedia message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -15161,11 +15161,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValueMedia message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlValueMedia + * @memberof baml_bridge.cffi.v1.BamlValueMedia * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlValueMedia} BamlValueMedia + * @returns {baml_bridge.cffi.v1.BamlValueMedia} BamlValueMedia * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -15176,7 +15176,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlValueMedia(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlValueMedia(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -15213,10 +15213,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValueMedia message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlValueMedia + * @memberof baml_bridge.cffi.v1.BamlValueMedia * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlValueMedia} BamlValueMedia + * @returns {baml_bridge.cffi.v1.BamlValueMedia} BamlValueMedia * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -15229,7 +15229,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlValueMedia message. * @function verify - * @memberof baml_core.cffi.v1.BamlValueMedia + * @memberof baml_bridge.cffi.v1.BamlValueMedia * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -15284,21 +15284,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlValueMedia message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlValueMedia + * @memberof baml_bridge.cffi.v1.BamlValueMedia * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlValueMedia} BamlValueMedia + * @returns {baml_bridge.cffi.v1.BamlValueMedia} BamlValueMedia */ BamlValueMedia.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlValueMedia) + if (object instanceof $root.baml_bridge.cffi.v1.BamlValueMedia) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlValueMedia: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlValueMedia: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlValueMedia(); + let message = new $root.baml_bridge.cffi.v1.BamlValueMedia(); switch (object.media) { default: if (typeof object.media === "number") { @@ -15345,9 +15345,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlValueMedia message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlValueMedia + * @memberof baml_bridge.cffi.v1.BamlValueMedia * @static - * @param {baml_core.cffi.v1.BamlValueMedia} message BamlValueMedia + * @param {baml_bridge.cffi.v1.BamlValueMedia} message BamlValueMedia * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -15362,7 +15362,7 @@ export const baml_core = $root.baml_core = (() => { if (options.defaults) object.media = options.enums === String ? "MEDIA_TYPE_UNSPECIFIED" : 0; if (message.media != null && message.hasOwnProperty("media")) - object.media = options.enums === String ? $root.baml_core.cffi.v1.MediaTypeEnum[message.media] === undefined ? message.media : $root.baml_core.cffi.v1.MediaTypeEnum[message.media] : message.media; + object.media = options.enums === String ? $root.baml_bridge.cffi.v1.MediaTypeEnum[message.media] === undefined ? message.media : $root.baml_bridge.cffi.v1.MediaTypeEnum[message.media] : message.media; if (message.mimeType != null && message.hasOwnProperty("mimeType")) { object.mimeType = message.mimeType; if (options.oneofs) @@ -15389,7 +15389,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlValueMedia to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlValueMedia + * @memberof baml_bridge.cffi.v1.BamlValueMedia * @instance * @returns {Object.} JSON object */ @@ -15400,7 +15400,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlValueMedia * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlValueMedia + * @memberof baml_bridge.cffi.v1.BamlValueMedia * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -15409,7 +15409,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlValueMedia"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlValueMedia"; }; return BamlValueMedia; @@ -15419,20 +15419,20 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlValuePromptAst. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlValuePromptAst - * @property {baml_core.cffi.v1.IBamlValuePromptAstSimple|null} [simple] BamlValuePromptAst simple - * @property {baml_core.cffi.v1.IBamlValuePromptAstMessage|null} [message] BamlValuePromptAst message - * @property {baml_core.cffi.v1.IBamlValuePromptAstMultiple|null} [multiple] BamlValuePromptAst multiple + * @property {baml_bridge.cffi.v1.IBamlValuePromptAstSimple|null} [simple] BamlValuePromptAst simple + * @property {baml_bridge.cffi.v1.IBamlValuePromptAstMessage|null} [message] BamlValuePromptAst message + * @property {baml_bridge.cffi.v1.IBamlValuePromptAstMultiple|null} [multiple] BamlValuePromptAst multiple */ /** * Constructs a new BamlValuePromptAst. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlValuePromptAst. * @implements IBamlValuePromptAst * @constructor - * @param {baml_core.cffi.v1.IBamlValuePromptAst=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlValuePromptAst=} [properties] Properties to set */ function BamlValuePromptAst(properties) { if (properties) @@ -15443,24 +15443,24 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValuePromptAst simple. - * @member {baml_core.cffi.v1.IBamlValuePromptAstSimple|null|undefined} simple - * @memberof baml_core.cffi.v1.BamlValuePromptAst + * @member {baml_bridge.cffi.v1.IBamlValuePromptAstSimple|null|undefined} simple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAst * @instance */ BamlValuePromptAst.prototype.simple = null; /** * BamlValuePromptAst message. - * @member {baml_core.cffi.v1.IBamlValuePromptAstMessage|null|undefined} message - * @memberof baml_core.cffi.v1.BamlValuePromptAst + * @member {baml_bridge.cffi.v1.IBamlValuePromptAstMessage|null|undefined} message + * @memberof baml_bridge.cffi.v1.BamlValuePromptAst * @instance */ BamlValuePromptAst.prototype.message = null; /** * BamlValuePromptAst multiple. - * @member {baml_core.cffi.v1.IBamlValuePromptAstMultiple|null|undefined} multiple - * @memberof baml_core.cffi.v1.BamlValuePromptAst + * @member {baml_bridge.cffi.v1.IBamlValuePromptAstMultiple|null|undefined} multiple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAst * @instance */ BamlValuePromptAst.prototype.multiple = null; @@ -15471,7 +15471,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValuePromptAst value. * @member {"simple"|"message"|"multiple"|undefined} value - * @memberof baml_core.cffi.v1.BamlValuePromptAst + * @memberof baml_bridge.cffi.v1.BamlValuePromptAst * @instance */ Object.defineProperty(BamlValuePromptAst.prototype, "value", { @@ -15482,21 +15482,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlValuePromptAst instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlValuePromptAst + * @memberof baml_bridge.cffi.v1.BamlValuePromptAst * @static - * @param {baml_core.cffi.v1.IBamlValuePromptAst=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlValuePromptAst} BamlValuePromptAst instance + * @param {baml_bridge.cffi.v1.IBamlValuePromptAst=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlValuePromptAst} BamlValuePromptAst instance */ BamlValuePromptAst.create = function create(properties) { return new BamlValuePromptAst(properties); }; /** - * Encodes the specified BamlValuePromptAst message. Does not implicitly {@link baml_core.cffi.v1.BamlValuePromptAst.verify|verify} messages. + * Encodes the specified BamlValuePromptAst message. Does not implicitly {@link baml_bridge.cffi.v1.BamlValuePromptAst.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlValuePromptAst + * @memberof baml_bridge.cffi.v1.BamlValuePromptAst * @static - * @param {baml_core.cffi.v1.IBamlValuePromptAst} message BamlValuePromptAst message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValuePromptAst} message BamlValuePromptAst message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -15508,20 +15508,20 @@ export const baml_core = $root.baml_core = (() => { if (q > $util.recursionLimit) throw Error("max depth exceeded"); if (message.simple != null && Object.hasOwnProperty.call(message, "simple")) - $root.baml_core.cffi.v1.BamlValuePromptAstSimple.encode(message.simple, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlValuePromptAstSimple.encode(message.simple, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); if (message.message != null && Object.hasOwnProperty.call(message, "message")) - $root.baml_core.cffi.v1.BamlValuePromptAstMessage.encode(message.message, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlValuePromptAstMessage.encode(message.message, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); if (message.multiple != null && Object.hasOwnProperty.call(message, "multiple")) - $root.baml_core.cffi.v1.BamlValuePromptAstMultiple.encode(message.multiple, writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlValuePromptAstMultiple.encode(message.multiple, writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlValuePromptAst message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlValuePromptAst.verify|verify} messages. + * Encodes the specified BamlValuePromptAst message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlValuePromptAst.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlValuePromptAst + * @memberof baml_bridge.cffi.v1.BamlValuePromptAst * @static - * @param {baml_core.cffi.v1.IBamlValuePromptAst} message BamlValuePromptAst message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValuePromptAst} message BamlValuePromptAst message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -15532,11 +15532,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValuePromptAst message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlValuePromptAst + * @memberof baml_bridge.cffi.v1.BamlValuePromptAst * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlValuePromptAst} BamlValuePromptAst + * @returns {baml_bridge.cffi.v1.BamlValuePromptAst} BamlValuePromptAst * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -15547,22 +15547,22 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlValuePromptAst(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlValuePromptAst(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.simple = $root.baml_core.cffi.v1.BamlValuePromptAstSimple.decode(reader, reader.uint32(), undefined, long + 1); + message.simple = $root.baml_bridge.cffi.v1.BamlValuePromptAstSimple.decode(reader, reader.uint32(), undefined, long + 1); break; } case 2: { - message.message = $root.baml_core.cffi.v1.BamlValuePromptAstMessage.decode(reader, reader.uint32(), undefined, long + 1); + message.message = $root.baml_bridge.cffi.v1.BamlValuePromptAstMessage.decode(reader, reader.uint32(), undefined, long + 1); break; } case 3: { - message.multiple = $root.baml_core.cffi.v1.BamlValuePromptAstMultiple.decode(reader, reader.uint32(), undefined, long + 1); + message.multiple = $root.baml_bridge.cffi.v1.BamlValuePromptAstMultiple.decode(reader, reader.uint32(), undefined, long + 1); break; } default: @@ -15576,10 +15576,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValuePromptAst message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlValuePromptAst + * @memberof baml_bridge.cffi.v1.BamlValuePromptAst * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlValuePromptAst} BamlValuePromptAst + * @returns {baml_bridge.cffi.v1.BamlValuePromptAst} BamlValuePromptAst * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -15592,7 +15592,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlValuePromptAst message. * @function verify - * @memberof baml_core.cffi.v1.BamlValuePromptAst + * @memberof baml_bridge.cffi.v1.BamlValuePromptAst * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -15608,7 +15608,7 @@ export const baml_core = $root.baml_core = (() => { if (message.simple != null && message.hasOwnProperty("simple")) { properties.value = 1; { - let error = $root.baml_core.cffi.v1.BamlValuePromptAstSimple.verify(message.simple, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlValuePromptAstSimple.verify(message.simple, long + 1); if (error) return "simple." + error; } @@ -15618,7 +15618,7 @@ export const baml_core = $root.baml_core = (() => { return "value: multiple values"; properties.value = 1; { - let error = $root.baml_core.cffi.v1.BamlValuePromptAstMessage.verify(message.message, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlValuePromptAstMessage.verify(message.message, long + 1); if (error) return "message." + error; } @@ -15628,7 +15628,7 @@ export const baml_core = $root.baml_core = (() => { return "value: multiple values"; properties.value = 1; { - let error = $root.baml_core.cffi.v1.BamlValuePromptAstMultiple.verify(message.multiple, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlValuePromptAstMultiple.verify(message.multiple, long + 1); if (error) return "multiple." + error; } @@ -15639,35 +15639,35 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlValuePromptAst message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlValuePromptAst + * @memberof baml_bridge.cffi.v1.BamlValuePromptAst * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlValuePromptAst} BamlValuePromptAst + * @returns {baml_bridge.cffi.v1.BamlValuePromptAst} BamlValuePromptAst */ BamlValuePromptAst.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlValuePromptAst) + if (object instanceof $root.baml_bridge.cffi.v1.BamlValuePromptAst) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlValuePromptAst: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlValuePromptAst: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlValuePromptAst(); + let message = new $root.baml_bridge.cffi.v1.BamlValuePromptAst(); if (object.simple != null) { if (!$util.isObject(object.simple)) - throw TypeError(".baml_core.cffi.v1.BamlValuePromptAst.simple: object expected"); - message.simple = $root.baml_core.cffi.v1.BamlValuePromptAstSimple.fromObject(object.simple, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlValuePromptAst.simple: object expected"); + message.simple = $root.baml_bridge.cffi.v1.BamlValuePromptAstSimple.fromObject(object.simple, long + 1); } if (object.message != null) { if (!$util.isObject(object.message)) - throw TypeError(".baml_core.cffi.v1.BamlValuePromptAst.message: object expected"); - message.message = $root.baml_core.cffi.v1.BamlValuePromptAstMessage.fromObject(object.message, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlValuePromptAst.message: object expected"); + message.message = $root.baml_bridge.cffi.v1.BamlValuePromptAstMessage.fromObject(object.message, long + 1); } if (object.multiple != null) { if (!$util.isObject(object.multiple)) - throw TypeError(".baml_core.cffi.v1.BamlValuePromptAst.multiple: object expected"); - message.multiple = $root.baml_core.cffi.v1.BamlValuePromptAstMultiple.fromObject(object.multiple, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlValuePromptAst.multiple: object expected"); + message.multiple = $root.baml_bridge.cffi.v1.BamlValuePromptAstMultiple.fromObject(object.multiple, long + 1); } return message; }; @@ -15675,9 +15675,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlValuePromptAst message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlValuePromptAst + * @memberof baml_bridge.cffi.v1.BamlValuePromptAst * @static - * @param {baml_core.cffi.v1.BamlValuePromptAst} message BamlValuePromptAst + * @param {baml_bridge.cffi.v1.BamlValuePromptAst} message BamlValuePromptAst * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -15690,17 +15690,17 @@ export const baml_core = $root.baml_core = (() => { throw Error("max depth exceeded"); let object = {}; if (message.simple != null && message.hasOwnProperty("simple")) { - object.simple = $root.baml_core.cffi.v1.BamlValuePromptAstSimple.toObject(message.simple, options, q + 1); + object.simple = $root.baml_bridge.cffi.v1.BamlValuePromptAstSimple.toObject(message.simple, options, q + 1); if (options.oneofs) object.value = "simple"; } if (message.message != null && message.hasOwnProperty("message")) { - object.message = $root.baml_core.cffi.v1.BamlValuePromptAstMessage.toObject(message.message, options, q + 1); + object.message = $root.baml_bridge.cffi.v1.BamlValuePromptAstMessage.toObject(message.message, options, q + 1); if (options.oneofs) object.value = "message"; } if (message.multiple != null && message.hasOwnProperty("multiple")) { - object.multiple = $root.baml_core.cffi.v1.BamlValuePromptAstMultiple.toObject(message.multiple, options, q + 1); + object.multiple = $root.baml_bridge.cffi.v1.BamlValuePromptAstMultiple.toObject(message.multiple, options, q + 1); if (options.oneofs) object.value = "multiple"; } @@ -15710,7 +15710,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlValuePromptAst to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlValuePromptAst + * @memberof baml_bridge.cffi.v1.BamlValuePromptAst * @instance * @returns {Object.} JSON object */ @@ -15721,7 +15721,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlValuePromptAst * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlValuePromptAst + * @memberof baml_bridge.cffi.v1.BamlValuePromptAst * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -15730,7 +15730,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlValuePromptAst"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlValuePromptAst"; }; return BamlValuePromptAst; @@ -15740,20 +15740,20 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlValuePromptAstMessage. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlValuePromptAstMessage * @property {string|null} [role] BamlValuePromptAstMessage role - * @property {baml_core.cffi.v1.IBamlValuePromptAstSimple|null} [content] BamlValuePromptAstMessage content + * @property {baml_bridge.cffi.v1.IBamlValuePromptAstSimple|null} [content] BamlValuePromptAstMessage content * @property {string|null} [metadataAsJson] BamlValuePromptAstMessage metadataAsJson */ /** * Constructs a new BamlValuePromptAstMessage. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlValuePromptAstMessage. * @implements IBamlValuePromptAstMessage * @constructor - * @param {baml_core.cffi.v1.IBamlValuePromptAstMessage=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlValuePromptAstMessage=} [properties] Properties to set */ function BamlValuePromptAstMessage(properties) { if (properties) @@ -15765,15 +15765,15 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValuePromptAstMessage role. * @member {string} role - * @memberof baml_core.cffi.v1.BamlValuePromptAstMessage + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMessage * @instance */ BamlValuePromptAstMessage.prototype.role = ""; /** * BamlValuePromptAstMessage content. - * @member {baml_core.cffi.v1.IBamlValuePromptAstSimple|null|undefined} content - * @memberof baml_core.cffi.v1.BamlValuePromptAstMessage + * @member {baml_bridge.cffi.v1.IBamlValuePromptAstSimple|null|undefined} content + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMessage * @instance */ BamlValuePromptAstMessage.prototype.content = null; @@ -15781,7 +15781,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValuePromptAstMessage metadataAsJson. * @member {string} metadataAsJson - * @memberof baml_core.cffi.v1.BamlValuePromptAstMessage + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMessage * @instance */ BamlValuePromptAstMessage.prototype.metadataAsJson = ""; @@ -15789,21 +15789,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlValuePromptAstMessage instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlValuePromptAstMessage + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMessage * @static - * @param {baml_core.cffi.v1.IBamlValuePromptAstMessage=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlValuePromptAstMessage} BamlValuePromptAstMessage instance + * @param {baml_bridge.cffi.v1.IBamlValuePromptAstMessage=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlValuePromptAstMessage} BamlValuePromptAstMessage instance */ BamlValuePromptAstMessage.create = function create(properties) { return new BamlValuePromptAstMessage(properties); }; /** - * Encodes the specified BamlValuePromptAstMessage message. Does not implicitly {@link baml_core.cffi.v1.BamlValuePromptAstMessage.verify|verify} messages. + * Encodes the specified BamlValuePromptAstMessage message. Does not implicitly {@link baml_bridge.cffi.v1.BamlValuePromptAstMessage.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlValuePromptAstMessage + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMessage * @static - * @param {baml_core.cffi.v1.IBamlValuePromptAstMessage} message BamlValuePromptAstMessage message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValuePromptAstMessage} message BamlValuePromptAstMessage message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -15817,18 +15817,18 @@ export const baml_core = $root.baml_core = (() => { if (message.role != null && Object.hasOwnProperty.call(message, "role")) writer.uint32(/* id 1, wireType 2 =*/10).string(message.role); if (message.content != null && Object.hasOwnProperty.call(message, "content")) - $root.baml_core.cffi.v1.BamlValuePromptAstSimple.encode(message.content, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlValuePromptAstSimple.encode(message.content, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); if (message.metadataAsJson != null && Object.hasOwnProperty.call(message, "metadataAsJson")) writer.uint32(/* id 3, wireType 2 =*/26).string(message.metadataAsJson); return writer; }; /** - * Encodes the specified BamlValuePromptAstMessage message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlValuePromptAstMessage.verify|verify} messages. + * Encodes the specified BamlValuePromptAstMessage message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlValuePromptAstMessage.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlValuePromptAstMessage + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMessage * @static - * @param {baml_core.cffi.v1.IBamlValuePromptAstMessage} message BamlValuePromptAstMessage message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValuePromptAstMessage} message BamlValuePromptAstMessage message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -15839,11 +15839,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValuePromptAstMessage message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlValuePromptAstMessage + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMessage * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlValuePromptAstMessage} BamlValuePromptAstMessage + * @returns {baml_bridge.cffi.v1.BamlValuePromptAstMessage} BamlValuePromptAstMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -15854,7 +15854,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlValuePromptAstMessage(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlValuePromptAstMessage(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -15865,7 +15865,7 @@ export const baml_core = $root.baml_core = (() => { break; } case 2: { - message.content = $root.baml_core.cffi.v1.BamlValuePromptAstSimple.decode(reader, reader.uint32(), undefined, long + 1); + message.content = $root.baml_bridge.cffi.v1.BamlValuePromptAstSimple.decode(reader, reader.uint32(), undefined, long + 1); break; } case 3: { @@ -15883,10 +15883,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValuePromptAstMessage message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlValuePromptAstMessage + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMessage * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlValuePromptAstMessage} BamlValuePromptAstMessage + * @returns {baml_bridge.cffi.v1.BamlValuePromptAstMessage} BamlValuePromptAstMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -15899,7 +15899,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlValuePromptAstMessage message. * @function verify - * @memberof baml_core.cffi.v1.BamlValuePromptAstMessage + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMessage * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -15915,7 +15915,7 @@ export const baml_core = $root.baml_core = (() => { if (!$util.isString(message.role)) return "role: string expected"; if (message.content != null && message.hasOwnProperty("content")) { - let error = $root.baml_core.cffi.v1.BamlValuePromptAstSimple.verify(message.content, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlValuePromptAstSimple.verify(message.content, long + 1); if (error) return "content." + error; } @@ -15928,27 +15928,27 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlValuePromptAstMessage message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlValuePromptAstMessage + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMessage * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlValuePromptAstMessage} BamlValuePromptAstMessage + * @returns {baml_bridge.cffi.v1.BamlValuePromptAstMessage} BamlValuePromptAstMessage */ BamlValuePromptAstMessage.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlValuePromptAstMessage) + if (object instanceof $root.baml_bridge.cffi.v1.BamlValuePromptAstMessage) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlValuePromptAstMessage: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlValuePromptAstMessage: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlValuePromptAstMessage(); + let message = new $root.baml_bridge.cffi.v1.BamlValuePromptAstMessage(); if (object.role != null) message.role = String(object.role); if (object.content != null) { if (!$util.isObject(object.content)) - throw TypeError(".baml_core.cffi.v1.BamlValuePromptAstMessage.content: object expected"); - message.content = $root.baml_core.cffi.v1.BamlValuePromptAstSimple.fromObject(object.content, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlValuePromptAstMessage.content: object expected"); + message.content = $root.baml_bridge.cffi.v1.BamlValuePromptAstSimple.fromObject(object.content, long + 1); } if (object.metadataAsJson != null) message.metadataAsJson = String(object.metadataAsJson); @@ -15958,9 +15958,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlValuePromptAstMessage message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlValuePromptAstMessage + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMessage * @static - * @param {baml_core.cffi.v1.BamlValuePromptAstMessage} message BamlValuePromptAstMessage + * @param {baml_bridge.cffi.v1.BamlValuePromptAstMessage} message BamlValuePromptAstMessage * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -15980,7 +15980,7 @@ export const baml_core = $root.baml_core = (() => { if (message.role != null && message.hasOwnProperty("role")) object.role = message.role; if (message.content != null && message.hasOwnProperty("content")) - object.content = $root.baml_core.cffi.v1.BamlValuePromptAstSimple.toObject(message.content, options, q + 1); + object.content = $root.baml_bridge.cffi.v1.BamlValuePromptAstSimple.toObject(message.content, options, q + 1); if (message.metadataAsJson != null && message.hasOwnProperty("metadataAsJson")) object.metadataAsJson = message.metadataAsJson; return object; @@ -15989,7 +15989,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlValuePromptAstMessage to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlValuePromptAstMessage + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMessage * @instance * @returns {Object.} JSON object */ @@ -16000,7 +16000,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlValuePromptAstMessage * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlValuePromptAstMessage + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMessage * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -16009,7 +16009,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlValuePromptAstMessage"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlValuePromptAstMessage"; }; return BamlValuePromptAstMessage; @@ -16019,18 +16019,18 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlValuePromptAstMultiple. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlValuePromptAstMultiple - * @property {Array.|null} [items] BamlValuePromptAstMultiple items + * @property {Array.|null} [items] BamlValuePromptAstMultiple items */ /** * Constructs a new BamlValuePromptAstMultiple. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlValuePromptAstMultiple. * @implements IBamlValuePromptAstMultiple * @constructor - * @param {baml_core.cffi.v1.IBamlValuePromptAstMultiple=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlValuePromptAstMultiple=} [properties] Properties to set */ function BamlValuePromptAstMultiple(properties) { this.items = []; @@ -16042,8 +16042,8 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValuePromptAstMultiple items. - * @member {Array.} items - * @memberof baml_core.cffi.v1.BamlValuePromptAstMultiple + * @member {Array.} items + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMultiple * @instance */ BamlValuePromptAstMultiple.prototype.items = $util.emptyArray; @@ -16051,21 +16051,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlValuePromptAstMultiple instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlValuePromptAstMultiple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMultiple * @static - * @param {baml_core.cffi.v1.IBamlValuePromptAstMultiple=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlValuePromptAstMultiple} BamlValuePromptAstMultiple instance + * @param {baml_bridge.cffi.v1.IBamlValuePromptAstMultiple=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlValuePromptAstMultiple} BamlValuePromptAstMultiple instance */ BamlValuePromptAstMultiple.create = function create(properties) { return new BamlValuePromptAstMultiple(properties); }; /** - * Encodes the specified BamlValuePromptAstMultiple message. Does not implicitly {@link baml_core.cffi.v1.BamlValuePromptAstMultiple.verify|verify} messages. + * Encodes the specified BamlValuePromptAstMultiple message. Does not implicitly {@link baml_bridge.cffi.v1.BamlValuePromptAstMultiple.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlValuePromptAstMultiple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMultiple * @static - * @param {baml_core.cffi.v1.IBamlValuePromptAstMultiple} message BamlValuePromptAstMultiple message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValuePromptAstMultiple} message BamlValuePromptAstMultiple message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -16078,16 +16078,16 @@ export const baml_core = $root.baml_core = (() => { throw Error("max depth exceeded"); if (message.items != null && message.items.length) for (let i = 0; i < message.items.length; ++i) - $root.baml_core.cffi.v1.BamlValuePromptAst.encode(message.items[i], writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlValuePromptAst.encode(message.items[i], writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlValuePromptAstMultiple message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlValuePromptAstMultiple.verify|verify} messages. + * Encodes the specified BamlValuePromptAstMultiple message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlValuePromptAstMultiple.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlValuePromptAstMultiple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMultiple * @static - * @param {baml_core.cffi.v1.IBamlValuePromptAstMultiple} message BamlValuePromptAstMultiple message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValuePromptAstMultiple} message BamlValuePromptAstMultiple message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -16098,11 +16098,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValuePromptAstMultiple message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlValuePromptAstMultiple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMultiple * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlValuePromptAstMultiple} BamlValuePromptAstMultiple + * @returns {baml_bridge.cffi.v1.BamlValuePromptAstMultiple} BamlValuePromptAstMultiple * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -16113,7 +16113,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlValuePromptAstMultiple(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlValuePromptAstMultiple(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -16122,7 +16122,7 @@ export const baml_core = $root.baml_core = (() => { case 1: { if (!(message.items && message.items.length)) message.items = []; - message.items.push($root.baml_core.cffi.v1.BamlValuePromptAst.decode(reader, reader.uint32(), undefined, long + 1)); + message.items.push($root.baml_bridge.cffi.v1.BamlValuePromptAst.decode(reader, reader.uint32(), undefined, long + 1)); break; } default: @@ -16136,10 +16136,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValuePromptAstMultiple message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlValuePromptAstMultiple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMultiple * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlValuePromptAstMultiple} BamlValuePromptAstMultiple + * @returns {baml_bridge.cffi.v1.BamlValuePromptAstMultiple} BamlValuePromptAstMultiple * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -16152,7 +16152,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlValuePromptAstMultiple message. * @function verify - * @memberof baml_core.cffi.v1.BamlValuePromptAstMultiple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMultiple * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -16168,7 +16168,7 @@ export const baml_core = $root.baml_core = (() => { if (!Array.isArray(message.items)) return "items: array expected"; for (let i = 0; i < message.items.length; ++i) { - let error = $root.baml_core.cffi.v1.BamlValuePromptAst.verify(message.items[i], long + 1); + let error = $root.baml_bridge.cffi.v1.BamlValuePromptAst.verify(message.items[i], long + 1); if (error) return "items." + error; } @@ -16179,29 +16179,29 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlValuePromptAstMultiple message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlValuePromptAstMultiple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMultiple * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlValuePromptAstMultiple} BamlValuePromptAstMultiple + * @returns {baml_bridge.cffi.v1.BamlValuePromptAstMultiple} BamlValuePromptAstMultiple */ BamlValuePromptAstMultiple.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlValuePromptAstMultiple) + if (object instanceof $root.baml_bridge.cffi.v1.BamlValuePromptAstMultiple) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlValuePromptAstMultiple: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlValuePromptAstMultiple: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlValuePromptAstMultiple(); + let message = new $root.baml_bridge.cffi.v1.BamlValuePromptAstMultiple(); if (object.items) { if (!Array.isArray(object.items)) - throw TypeError(".baml_core.cffi.v1.BamlValuePromptAstMultiple.items: array expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlValuePromptAstMultiple.items: array expected"); message.items = []; for (let i = 0; i < object.items.length; ++i) { if (!$util.isObject(object.items[i])) - throw TypeError(".baml_core.cffi.v1.BamlValuePromptAstMultiple.items: object expected"); - message.items[i] = $root.baml_core.cffi.v1.BamlValuePromptAst.fromObject(object.items[i], long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlValuePromptAstMultiple.items: object expected"); + message.items[i] = $root.baml_bridge.cffi.v1.BamlValuePromptAst.fromObject(object.items[i], long + 1); } } return message; @@ -16210,9 +16210,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlValuePromptAstMultiple message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlValuePromptAstMultiple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMultiple * @static - * @param {baml_core.cffi.v1.BamlValuePromptAstMultiple} message BamlValuePromptAstMultiple + * @param {baml_bridge.cffi.v1.BamlValuePromptAstMultiple} message BamlValuePromptAstMultiple * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -16229,7 +16229,7 @@ export const baml_core = $root.baml_core = (() => { if (message.items && message.items.length) { object.items = []; for (let j = 0; j < message.items.length; ++j) - object.items[j] = $root.baml_core.cffi.v1.BamlValuePromptAst.toObject(message.items[j], options, q + 1); + object.items[j] = $root.baml_bridge.cffi.v1.BamlValuePromptAst.toObject(message.items[j], options, q + 1); } return object; }; @@ -16237,7 +16237,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlValuePromptAstMultiple to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlValuePromptAstMultiple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMultiple * @instance * @returns {Object.} JSON object */ @@ -16248,7 +16248,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlValuePromptAstMultiple * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlValuePromptAstMultiple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMultiple * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -16257,7 +16257,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlValuePromptAstMultiple"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlValuePromptAstMultiple"; }; return BamlValuePromptAstMultiple; @@ -16267,20 +16267,20 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlValuePromptAstSimple. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlValuePromptAstSimple * @property {string|null} [string] BamlValuePromptAstSimple string - * @property {baml_core.cffi.v1.IBamlValueMedia|null} [media] BamlValuePromptAstSimple media - * @property {baml_core.cffi.v1.IBamlValuePromptAstSimpleMultiple|null} [multiple] BamlValuePromptAstSimple multiple + * @property {baml_bridge.cffi.v1.IBamlValueMedia|null} [media] BamlValuePromptAstSimple media + * @property {baml_bridge.cffi.v1.IBamlValuePromptAstSimpleMultiple|null} [multiple] BamlValuePromptAstSimple multiple */ /** * Constructs a new BamlValuePromptAstSimple. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlValuePromptAstSimple. * @implements IBamlValuePromptAstSimple * @constructor - * @param {baml_core.cffi.v1.IBamlValuePromptAstSimple=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlValuePromptAstSimple=} [properties] Properties to set */ function BamlValuePromptAstSimple(properties) { if (properties) @@ -16292,23 +16292,23 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValuePromptAstSimple string. * @member {string|null|undefined} string - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimple * @instance */ BamlValuePromptAstSimple.prototype.string = null; /** * BamlValuePromptAstSimple media. - * @member {baml_core.cffi.v1.IBamlValueMedia|null|undefined} media - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimple + * @member {baml_bridge.cffi.v1.IBamlValueMedia|null|undefined} media + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimple * @instance */ BamlValuePromptAstSimple.prototype.media = null; /** * BamlValuePromptAstSimple multiple. - * @member {baml_core.cffi.v1.IBamlValuePromptAstSimpleMultiple|null|undefined} multiple - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimple + * @member {baml_bridge.cffi.v1.IBamlValuePromptAstSimpleMultiple|null|undefined} multiple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimple * @instance */ BamlValuePromptAstSimple.prototype.multiple = null; @@ -16319,7 +16319,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValuePromptAstSimple value. * @member {"string"|"media"|"multiple"|undefined} value - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimple * @instance */ Object.defineProperty(BamlValuePromptAstSimple.prototype, "value", { @@ -16330,21 +16330,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlValuePromptAstSimple instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimple * @static - * @param {baml_core.cffi.v1.IBamlValuePromptAstSimple=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlValuePromptAstSimple} BamlValuePromptAstSimple instance + * @param {baml_bridge.cffi.v1.IBamlValuePromptAstSimple=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlValuePromptAstSimple} BamlValuePromptAstSimple instance */ BamlValuePromptAstSimple.create = function create(properties) { return new BamlValuePromptAstSimple(properties); }; /** - * Encodes the specified BamlValuePromptAstSimple message. Does not implicitly {@link baml_core.cffi.v1.BamlValuePromptAstSimple.verify|verify} messages. + * Encodes the specified BamlValuePromptAstSimple message. Does not implicitly {@link baml_bridge.cffi.v1.BamlValuePromptAstSimple.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimple * @static - * @param {baml_core.cffi.v1.IBamlValuePromptAstSimple} message BamlValuePromptAstSimple message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValuePromptAstSimple} message BamlValuePromptAstSimple message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -16358,18 +16358,18 @@ export const baml_core = $root.baml_core = (() => { if (message.string != null && Object.hasOwnProperty.call(message, "string")) writer.uint32(/* id 1, wireType 2 =*/10).string(message.string); if (message.media != null && Object.hasOwnProperty.call(message, "media")) - $root.baml_core.cffi.v1.BamlValueMedia.encode(message.media, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlValueMedia.encode(message.media, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); if (message.multiple != null && Object.hasOwnProperty.call(message, "multiple")) - $root.baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple.encode(message.multiple, writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple.encode(message.multiple, writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlValuePromptAstSimple message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlValuePromptAstSimple.verify|verify} messages. + * Encodes the specified BamlValuePromptAstSimple message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlValuePromptAstSimple.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimple * @static - * @param {baml_core.cffi.v1.IBamlValuePromptAstSimple} message BamlValuePromptAstSimple message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValuePromptAstSimple} message BamlValuePromptAstSimple message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -16380,11 +16380,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValuePromptAstSimple message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimple * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlValuePromptAstSimple} BamlValuePromptAstSimple + * @returns {baml_bridge.cffi.v1.BamlValuePromptAstSimple} BamlValuePromptAstSimple * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -16395,7 +16395,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlValuePromptAstSimple(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlValuePromptAstSimple(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -16406,11 +16406,11 @@ export const baml_core = $root.baml_core = (() => { break; } case 2: { - message.media = $root.baml_core.cffi.v1.BamlValueMedia.decode(reader, reader.uint32(), undefined, long + 1); + message.media = $root.baml_bridge.cffi.v1.BamlValueMedia.decode(reader, reader.uint32(), undefined, long + 1); break; } case 3: { - message.multiple = $root.baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple.decode(reader, reader.uint32(), undefined, long + 1); + message.multiple = $root.baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple.decode(reader, reader.uint32(), undefined, long + 1); break; } default: @@ -16424,10 +16424,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValuePromptAstSimple message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimple * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlValuePromptAstSimple} BamlValuePromptAstSimple + * @returns {baml_bridge.cffi.v1.BamlValuePromptAstSimple} BamlValuePromptAstSimple * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -16440,7 +16440,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlValuePromptAstSimple message. * @function verify - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimple * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -16463,7 +16463,7 @@ export const baml_core = $root.baml_core = (() => { return "value: multiple values"; properties.value = 1; { - let error = $root.baml_core.cffi.v1.BamlValueMedia.verify(message.media, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlValueMedia.verify(message.media, long + 1); if (error) return "media." + error; } @@ -16473,7 +16473,7 @@ export const baml_core = $root.baml_core = (() => { return "value: multiple values"; properties.value = 1; { - let error = $root.baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple.verify(message.multiple, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple.verify(message.multiple, long + 1); if (error) return "multiple." + error; } @@ -16484,32 +16484,32 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlValuePromptAstSimple message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimple * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlValuePromptAstSimple} BamlValuePromptAstSimple + * @returns {baml_bridge.cffi.v1.BamlValuePromptAstSimple} BamlValuePromptAstSimple */ BamlValuePromptAstSimple.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlValuePromptAstSimple) + if (object instanceof $root.baml_bridge.cffi.v1.BamlValuePromptAstSimple) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlValuePromptAstSimple: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlValuePromptAstSimple: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlValuePromptAstSimple(); + let message = new $root.baml_bridge.cffi.v1.BamlValuePromptAstSimple(); if (object.string != null) message.string = String(object.string); if (object.media != null) { if (!$util.isObject(object.media)) - throw TypeError(".baml_core.cffi.v1.BamlValuePromptAstSimple.media: object expected"); - message.media = $root.baml_core.cffi.v1.BamlValueMedia.fromObject(object.media, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlValuePromptAstSimple.media: object expected"); + message.media = $root.baml_bridge.cffi.v1.BamlValueMedia.fromObject(object.media, long + 1); } if (object.multiple != null) { if (!$util.isObject(object.multiple)) - throw TypeError(".baml_core.cffi.v1.BamlValuePromptAstSimple.multiple: object expected"); - message.multiple = $root.baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple.fromObject(object.multiple, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlValuePromptAstSimple.multiple: object expected"); + message.multiple = $root.baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple.fromObject(object.multiple, long + 1); } return message; }; @@ -16517,9 +16517,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlValuePromptAstSimple message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimple * @static - * @param {baml_core.cffi.v1.BamlValuePromptAstSimple} message BamlValuePromptAstSimple + * @param {baml_bridge.cffi.v1.BamlValuePromptAstSimple} message BamlValuePromptAstSimple * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -16537,12 +16537,12 @@ export const baml_core = $root.baml_core = (() => { object.value = "string"; } if (message.media != null && message.hasOwnProperty("media")) { - object.media = $root.baml_core.cffi.v1.BamlValueMedia.toObject(message.media, options, q + 1); + object.media = $root.baml_bridge.cffi.v1.BamlValueMedia.toObject(message.media, options, q + 1); if (options.oneofs) object.value = "media"; } if (message.multiple != null && message.hasOwnProperty("multiple")) { - object.multiple = $root.baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple.toObject(message.multiple, options, q + 1); + object.multiple = $root.baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple.toObject(message.multiple, options, q + 1); if (options.oneofs) object.value = "multiple"; } @@ -16552,7 +16552,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlValuePromptAstSimple to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimple * @instance * @returns {Object.} JSON object */ @@ -16563,7 +16563,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlValuePromptAstSimple * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimple * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -16572,7 +16572,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlValuePromptAstSimple"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlValuePromptAstSimple"; }; return BamlValuePromptAstSimple; @@ -16582,18 +16582,18 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlValuePromptAstSimpleMultiple. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlValuePromptAstSimpleMultiple - * @property {Array.|null} [items] BamlValuePromptAstSimpleMultiple items + * @property {Array.|null} [items] BamlValuePromptAstSimpleMultiple items */ /** * Constructs a new BamlValuePromptAstSimpleMultiple. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlValuePromptAstSimpleMultiple. * @implements IBamlValuePromptAstSimpleMultiple * @constructor - * @param {baml_core.cffi.v1.IBamlValuePromptAstSimpleMultiple=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlValuePromptAstSimpleMultiple=} [properties] Properties to set */ function BamlValuePromptAstSimpleMultiple(properties) { this.items = []; @@ -16605,8 +16605,8 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValuePromptAstSimpleMultiple items. - * @member {Array.} items - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple + * @member {Array.} items + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple * @instance */ BamlValuePromptAstSimpleMultiple.prototype.items = $util.emptyArray; @@ -16614,21 +16614,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlValuePromptAstSimpleMultiple instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple * @static - * @param {baml_core.cffi.v1.IBamlValuePromptAstSimpleMultiple=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple} BamlValuePromptAstSimpleMultiple instance + * @param {baml_bridge.cffi.v1.IBamlValuePromptAstSimpleMultiple=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple} BamlValuePromptAstSimpleMultiple instance */ BamlValuePromptAstSimpleMultiple.create = function create(properties) { return new BamlValuePromptAstSimpleMultiple(properties); }; /** - * Encodes the specified BamlValuePromptAstSimpleMultiple message. Does not implicitly {@link baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple.verify|verify} messages. + * Encodes the specified BamlValuePromptAstSimpleMultiple message. Does not implicitly {@link baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple * @static - * @param {baml_core.cffi.v1.IBamlValuePromptAstSimpleMultiple} message BamlValuePromptAstSimpleMultiple message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValuePromptAstSimpleMultiple} message BamlValuePromptAstSimpleMultiple message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -16641,16 +16641,16 @@ export const baml_core = $root.baml_core = (() => { throw Error("max depth exceeded"); if (message.items != null && message.items.length) for (let i = 0; i < message.items.length; ++i) - $root.baml_core.cffi.v1.BamlValuePromptAstSimple.encode(message.items[i], writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlValuePromptAstSimple.encode(message.items[i], writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlValuePromptAstSimpleMultiple message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple.verify|verify} messages. + * Encodes the specified BamlValuePromptAstSimpleMultiple message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple * @static - * @param {baml_core.cffi.v1.IBamlValuePromptAstSimpleMultiple} message BamlValuePromptAstSimpleMultiple message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValuePromptAstSimpleMultiple} message BamlValuePromptAstSimpleMultiple message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -16661,11 +16661,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValuePromptAstSimpleMultiple message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple} BamlValuePromptAstSimpleMultiple + * @returns {baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple} BamlValuePromptAstSimpleMultiple * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -16676,7 +16676,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -16685,7 +16685,7 @@ export const baml_core = $root.baml_core = (() => { case 1: { if (!(message.items && message.items.length)) message.items = []; - message.items.push($root.baml_core.cffi.v1.BamlValuePromptAstSimple.decode(reader, reader.uint32(), undefined, long + 1)); + message.items.push($root.baml_bridge.cffi.v1.BamlValuePromptAstSimple.decode(reader, reader.uint32(), undefined, long + 1)); break; } default: @@ -16699,10 +16699,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValuePromptAstSimpleMultiple message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple} BamlValuePromptAstSimpleMultiple + * @returns {baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple} BamlValuePromptAstSimpleMultiple * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -16715,7 +16715,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlValuePromptAstSimpleMultiple message. * @function verify - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -16731,7 +16731,7 @@ export const baml_core = $root.baml_core = (() => { if (!Array.isArray(message.items)) return "items: array expected"; for (let i = 0; i < message.items.length; ++i) { - let error = $root.baml_core.cffi.v1.BamlValuePromptAstSimple.verify(message.items[i], long + 1); + let error = $root.baml_bridge.cffi.v1.BamlValuePromptAstSimple.verify(message.items[i], long + 1); if (error) return "items." + error; } @@ -16742,29 +16742,29 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlValuePromptAstSimpleMultiple message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple} BamlValuePromptAstSimpleMultiple + * @returns {baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple} BamlValuePromptAstSimpleMultiple */ BamlValuePromptAstSimpleMultiple.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple) + if (object instanceof $root.baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple(); + let message = new $root.baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple(); if (object.items) { if (!Array.isArray(object.items)) - throw TypeError(".baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple.items: array expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple.items: array expected"); message.items = []; for (let i = 0; i < object.items.length; ++i) { if (!$util.isObject(object.items[i])) - throw TypeError(".baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple.items: object expected"); - message.items[i] = $root.baml_core.cffi.v1.BamlValuePromptAstSimple.fromObject(object.items[i], long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple.items: object expected"); + message.items[i] = $root.baml_bridge.cffi.v1.BamlValuePromptAstSimple.fromObject(object.items[i], long + 1); } } return message; @@ -16773,9 +16773,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlValuePromptAstSimpleMultiple message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple * @static - * @param {baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple} message BamlValuePromptAstSimpleMultiple + * @param {baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple} message BamlValuePromptAstSimpleMultiple * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -16792,7 +16792,7 @@ export const baml_core = $root.baml_core = (() => { if (message.items && message.items.length) { object.items = []; for (let j = 0; j < message.items.length; ++j) - object.items[j] = $root.baml_core.cffi.v1.BamlValuePromptAstSimple.toObject(message.items[j], options, q + 1); + object.items[j] = $root.baml_bridge.cffi.v1.BamlValuePromptAstSimple.toObject(message.items[j], options, q + 1); } return object; }; @@ -16800,7 +16800,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlValuePromptAstSimpleMultiple to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple * @instance * @returns {Object.} JSON object */ @@ -16811,7 +16811,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlValuePromptAstSimpleMultiple * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -16820,7 +16820,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple"; }; return BamlValuePromptAstSimpleMultiple; @@ -16830,18 +16830,18 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlToHostCall. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlToHostCall - * @property {Array.|null} [args] BamlToHostCall args + * @property {Array.|null} [args] BamlToHostCall args */ /** * Constructs a new BamlToHostCall. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlToHostCall. * @implements IBamlToHostCall * @constructor - * @param {baml_core.cffi.v1.IBamlToHostCall=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlToHostCall=} [properties] Properties to set */ function BamlToHostCall(properties) { this.args = []; @@ -16853,8 +16853,8 @@ export const baml_core = $root.baml_core = (() => { /** * BamlToHostCall args. - * @member {Array.} args - * @memberof baml_core.cffi.v1.BamlToHostCall + * @member {Array.} args + * @memberof baml_bridge.cffi.v1.BamlToHostCall * @instance */ BamlToHostCall.prototype.args = $util.emptyArray; @@ -16862,21 +16862,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlToHostCall instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlToHostCall + * @memberof baml_bridge.cffi.v1.BamlToHostCall * @static - * @param {baml_core.cffi.v1.IBamlToHostCall=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlToHostCall} BamlToHostCall instance + * @param {baml_bridge.cffi.v1.IBamlToHostCall=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlToHostCall} BamlToHostCall instance */ BamlToHostCall.create = function create(properties) { return new BamlToHostCall(properties); }; /** - * Encodes the specified BamlToHostCall message. Does not implicitly {@link baml_core.cffi.v1.BamlToHostCall.verify|verify} messages. + * Encodes the specified BamlToHostCall message. Does not implicitly {@link baml_bridge.cffi.v1.BamlToHostCall.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlToHostCall + * @memberof baml_bridge.cffi.v1.BamlToHostCall * @static - * @param {baml_core.cffi.v1.IBamlToHostCall} message BamlToHostCall message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlToHostCall} message BamlToHostCall message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -16889,16 +16889,16 @@ export const baml_core = $root.baml_core = (() => { throw Error("max depth exceeded"); if (message.args != null && message.args.length) for (let i = 0; i < message.args.length; ++i) - $root.baml_core.cffi.v1.BamlToHostArg.encode(message.args[i], writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlToHostArg.encode(message.args[i], writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlToHostCall message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlToHostCall.verify|verify} messages. + * Encodes the specified BamlToHostCall message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlToHostCall.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlToHostCall + * @memberof baml_bridge.cffi.v1.BamlToHostCall * @static - * @param {baml_core.cffi.v1.IBamlToHostCall} message BamlToHostCall message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlToHostCall} message BamlToHostCall message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -16909,11 +16909,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlToHostCall message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlToHostCall + * @memberof baml_bridge.cffi.v1.BamlToHostCall * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlToHostCall} BamlToHostCall + * @returns {baml_bridge.cffi.v1.BamlToHostCall} BamlToHostCall * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -16924,7 +16924,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlToHostCall(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlToHostCall(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -16933,7 +16933,7 @@ export const baml_core = $root.baml_core = (() => { case 1: { if (!(message.args && message.args.length)) message.args = []; - message.args.push($root.baml_core.cffi.v1.BamlToHostArg.decode(reader, reader.uint32(), undefined, long + 1)); + message.args.push($root.baml_bridge.cffi.v1.BamlToHostArg.decode(reader, reader.uint32(), undefined, long + 1)); break; } default: @@ -16947,10 +16947,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlToHostCall message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlToHostCall + * @memberof baml_bridge.cffi.v1.BamlToHostCall * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlToHostCall} BamlToHostCall + * @returns {baml_bridge.cffi.v1.BamlToHostCall} BamlToHostCall * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -16963,7 +16963,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlToHostCall message. * @function verify - * @memberof baml_core.cffi.v1.BamlToHostCall + * @memberof baml_bridge.cffi.v1.BamlToHostCall * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -16979,7 +16979,7 @@ export const baml_core = $root.baml_core = (() => { if (!Array.isArray(message.args)) return "args: array expected"; for (let i = 0; i < message.args.length; ++i) { - let error = $root.baml_core.cffi.v1.BamlToHostArg.verify(message.args[i], long + 1); + let error = $root.baml_bridge.cffi.v1.BamlToHostArg.verify(message.args[i], long + 1); if (error) return "args." + error; } @@ -16990,29 +16990,29 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlToHostCall message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlToHostCall + * @memberof baml_bridge.cffi.v1.BamlToHostCall * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlToHostCall} BamlToHostCall + * @returns {baml_bridge.cffi.v1.BamlToHostCall} BamlToHostCall */ BamlToHostCall.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlToHostCall) + if (object instanceof $root.baml_bridge.cffi.v1.BamlToHostCall) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlToHostCall: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlToHostCall: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlToHostCall(); + let message = new $root.baml_bridge.cffi.v1.BamlToHostCall(); if (object.args) { if (!Array.isArray(object.args)) - throw TypeError(".baml_core.cffi.v1.BamlToHostCall.args: array expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlToHostCall.args: array expected"); message.args = []; for (let i = 0; i < object.args.length; ++i) { if (!$util.isObject(object.args[i])) - throw TypeError(".baml_core.cffi.v1.BamlToHostCall.args: object expected"); - message.args[i] = $root.baml_core.cffi.v1.BamlToHostArg.fromObject(object.args[i], long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlToHostCall.args: object expected"); + message.args[i] = $root.baml_bridge.cffi.v1.BamlToHostArg.fromObject(object.args[i], long + 1); } } return message; @@ -17021,9 +17021,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlToHostCall message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlToHostCall + * @memberof baml_bridge.cffi.v1.BamlToHostCall * @static - * @param {baml_core.cffi.v1.BamlToHostCall} message BamlToHostCall + * @param {baml_bridge.cffi.v1.BamlToHostCall} message BamlToHostCall * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -17040,7 +17040,7 @@ export const baml_core = $root.baml_core = (() => { if (message.args && message.args.length) { object.args = []; for (let j = 0; j < message.args.length; ++j) - object.args[j] = $root.baml_core.cffi.v1.BamlToHostArg.toObject(message.args[j], options, q + 1); + object.args[j] = $root.baml_bridge.cffi.v1.BamlToHostArg.toObject(message.args[j], options, q + 1); } return object; }; @@ -17048,7 +17048,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlToHostCall to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlToHostCall + * @memberof baml_bridge.cffi.v1.BamlToHostCall * @instance * @returns {Object.} JSON object */ @@ -17059,7 +17059,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlToHostCall * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlToHostCall + * @memberof baml_bridge.cffi.v1.BamlToHostCall * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -17068,7 +17068,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlToHostCall"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlToHostCall"; }; return BamlToHostCall; @@ -17078,20 +17078,20 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlToHostArg. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlToHostArg - * @property {baml_core.cffi.v1.IBamlOutboundValue|null} [value] BamlToHostArg value + * @property {baml_bridge.cffi.v1.IBamlOutboundValue|null} [value] BamlToHostArg value * @property {string|null} [argName] BamlToHostArg argName * @property {boolean|null} [isOptionalArg] BamlToHostArg isOptionalArg */ /** * Constructs a new BamlToHostArg. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlToHostArg. * @implements IBamlToHostArg * @constructor - * @param {baml_core.cffi.v1.IBamlToHostArg=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlToHostArg=} [properties] Properties to set */ function BamlToHostArg(properties) { if (properties) @@ -17102,8 +17102,8 @@ export const baml_core = $root.baml_core = (() => { /** * BamlToHostArg value. - * @member {baml_core.cffi.v1.IBamlOutboundValue|null|undefined} value - * @memberof baml_core.cffi.v1.BamlToHostArg + * @member {baml_bridge.cffi.v1.IBamlOutboundValue|null|undefined} value + * @memberof baml_bridge.cffi.v1.BamlToHostArg * @instance */ BamlToHostArg.prototype.value = null; @@ -17111,7 +17111,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlToHostArg argName. * @member {string} argName - * @memberof baml_core.cffi.v1.BamlToHostArg + * @memberof baml_bridge.cffi.v1.BamlToHostArg * @instance */ BamlToHostArg.prototype.argName = ""; @@ -17119,7 +17119,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlToHostArg isOptionalArg. * @member {boolean} isOptionalArg - * @memberof baml_core.cffi.v1.BamlToHostArg + * @memberof baml_bridge.cffi.v1.BamlToHostArg * @instance */ BamlToHostArg.prototype.isOptionalArg = false; @@ -17127,21 +17127,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlToHostArg instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlToHostArg + * @memberof baml_bridge.cffi.v1.BamlToHostArg * @static - * @param {baml_core.cffi.v1.IBamlToHostArg=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlToHostArg} BamlToHostArg instance + * @param {baml_bridge.cffi.v1.IBamlToHostArg=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlToHostArg} BamlToHostArg instance */ BamlToHostArg.create = function create(properties) { return new BamlToHostArg(properties); }; /** - * Encodes the specified BamlToHostArg message. Does not implicitly {@link baml_core.cffi.v1.BamlToHostArg.verify|verify} messages. + * Encodes the specified BamlToHostArg message. Does not implicitly {@link baml_bridge.cffi.v1.BamlToHostArg.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlToHostArg + * @memberof baml_bridge.cffi.v1.BamlToHostArg * @static - * @param {baml_core.cffi.v1.IBamlToHostArg} message BamlToHostArg message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlToHostArg} message BamlToHostArg message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -17153,7 +17153,7 @@ export const baml_core = $root.baml_core = (() => { if (q > $util.recursionLimit) throw Error("max depth exceeded"); if (message.value != null && Object.hasOwnProperty.call(message, "value")) - $root.baml_core.cffi.v1.BamlOutboundValue.encode(message.value, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlOutboundValue.encode(message.value, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); if (message.argName != null && Object.hasOwnProperty.call(message, "argName")) writer.uint32(/* id 2, wireType 2 =*/18).string(message.argName); if (message.isOptionalArg != null && Object.hasOwnProperty.call(message, "isOptionalArg")) @@ -17162,11 +17162,11 @@ export const baml_core = $root.baml_core = (() => { }; /** - * Encodes the specified BamlToHostArg message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlToHostArg.verify|verify} messages. + * Encodes the specified BamlToHostArg message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlToHostArg.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlToHostArg + * @memberof baml_bridge.cffi.v1.BamlToHostArg * @static - * @param {baml_core.cffi.v1.IBamlToHostArg} message BamlToHostArg message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlToHostArg} message BamlToHostArg message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -17177,11 +17177,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlToHostArg message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlToHostArg + * @memberof baml_bridge.cffi.v1.BamlToHostArg * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlToHostArg} BamlToHostArg + * @returns {baml_bridge.cffi.v1.BamlToHostArg} BamlToHostArg * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -17192,14 +17192,14 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlToHostArg(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlToHostArg(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.value = $root.baml_core.cffi.v1.BamlOutboundValue.decode(reader, reader.uint32(), undefined, long + 1); + message.value = $root.baml_bridge.cffi.v1.BamlOutboundValue.decode(reader, reader.uint32(), undefined, long + 1); break; } case 2: { @@ -17221,10 +17221,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlToHostArg message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlToHostArg + * @memberof baml_bridge.cffi.v1.BamlToHostArg * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlToHostArg} BamlToHostArg + * @returns {baml_bridge.cffi.v1.BamlToHostArg} BamlToHostArg * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -17237,7 +17237,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlToHostArg message. * @function verify - * @memberof baml_core.cffi.v1.BamlToHostArg + * @memberof baml_bridge.cffi.v1.BamlToHostArg * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -17250,7 +17250,7 @@ export const baml_core = $root.baml_core = (() => { if (long > $util.recursionLimit) return "maximum nesting depth exceeded"; if (message.value != null && message.hasOwnProperty("value")) { - let error = $root.baml_core.cffi.v1.BamlOutboundValue.verify(message.value, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlOutboundValue.verify(message.value, long + 1); if (error) return "value." + error; } @@ -17266,25 +17266,25 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlToHostArg message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlToHostArg + * @memberof baml_bridge.cffi.v1.BamlToHostArg * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlToHostArg} BamlToHostArg + * @returns {baml_bridge.cffi.v1.BamlToHostArg} BamlToHostArg */ BamlToHostArg.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlToHostArg) + if (object instanceof $root.baml_bridge.cffi.v1.BamlToHostArg) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlToHostArg: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlToHostArg: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlToHostArg(); + let message = new $root.baml_bridge.cffi.v1.BamlToHostArg(); if (object.value != null) { if (!$util.isObject(object.value)) - throw TypeError(".baml_core.cffi.v1.BamlToHostArg.value: object expected"); - message.value = $root.baml_core.cffi.v1.BamlOutboundValue.fromObject(object.value, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlToHostArg.value: object expected"); + message.value = $root.baml_bridge.cffi.v1.BamlOutboundValue.fromObject(object.value, long + 1); } if (object.argName != null) message.argName = String(object.argName); @@ -17296,9 +17296,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlToHostArg message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlToHostArg + * @memberof baml_bridge.cffi.v1.BamlToHostArg * @static - * @param {baml_core.cffi.v1.BamlToHostArg} message BamlToHostArg + * @param {baml_bridge.cffi.v1.BamlToHostArg} message BamlToHostArg * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -17316,7 +17316,7 @@ export const baml_core = $root.baml_core = (() => { object.isOptionalArg = false; } if (message.value != null && message.hasOwnProperty("value")) - object.value = $root.baml_core.cffi.v1.BamlOutboundValue.toObject(message.value, options, q + 1); + object.value = $root.baml_bridge.cffi.v1.BamlOutboundValue.toObject(message.value, options, q + 1); if (message.argName != null && message.hasOwnProperty("argName")) object.argName = message.argName; if (message.isOptionalArg != null && message.hasOwnProperty("isOptionalArg")) @@ -17327,7 +17327,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlToHostArg to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlToHostArg + * @memberof baml_bridge.cffi.v1.BamlToHostArg * @instance * @returns {Object.} JSON object */ @@ -17338,7 +17338,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlToHostArg * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlToHostArg + * @memberof baml_bridge.cffi.v1.BamlToHostArg * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -17347,7 +17347,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlToHostArg"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlToHostArg"; }; return BamlToHostArg; @@ -17357,7 +17357,7 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlLiteralValue. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlLiteralValue * @property {string|null} [stringValue] BamlLiteralValue stringValue * @property {number|Long|null} [intValue] BamlLiteralValue intValue @@ -17368,11 +17368,11 @@ export const baml_core = $root.baml_core = (() => { /** * Constructs a new BamlLiteralValue. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlLiteralValue. * @implements IBamlLiteralValue * @constructor - * @param {baml_core.cffi.v1.IBamlLiteralValue=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlLiteralValue=} [properties] Properties to set */ function BamlLiteralValue(properties) { if (properties) @@ -17384,7 +17384,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlLiteralValue stringValue. * @member {string|null|undefined} stringValue - * @memberof baml_core.cffi.v1.BamlLiteralValue + * @memberof baml_bridge.cffi.v1.BamlLiteralValue * @instance */ BamlLiteralValue.prototype.stringValue = null; @@ -17392,7 +17392,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlLiteralValue intValue. * @member {number|Long|null|undefined} intValue - * @memberof baml_core.cffi.v1.BamlLiteralValue + * @memberof baml_bridge.cffi.v1.BamlLiteralValue * @instance */ BamlLiteralValue.prototype.intValue = null; @@ -17400,7 +17400,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlLiteralValue boolValue. * @member {boolean|null|undefined} boolValue - * @memberof baml_core.cffi.v1.BamlLiteralValue + * @memberof baml_bridge.cffi.v1.BamlLiteralValue * @instance */ BamlLiteralValue.prototype.boolValue = null; @@ -17408,7 +17408,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlLiteralValue bigintValue. * @member {string|null|undefined} bigintValue - * @memberof baml_core.cffi.v1.BamlLiteralValue + * @memberof baml_bridge.cffi.v1.BamlLiteralValue * @instance */ BamlLiteralValue.prototype.bigintValue = null; @@ -17416,7 +17416,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlLiteralValue floatValue. * @member {string|null|undefined} floatValue - * @memberof baml_core.cffi.v1.BamlLiteralValue + * @memberof baml_bridge.cffi.v1.BamlLiteralValue * @instance */ BamlLiteralValue.prototype.floatValue = null; @@ -17427,7 +17427,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlLiteralValue literal. * @member {"stringValue"|"intValue"|"boolValue"|"bigintValue"|"floatValue"|undefined} literal - * @memberof baml_core.cffi.v1.BamlLiteralValue + * @memberof baml_bridge.cffi.v1.BamlLiteralValue * @instance */ Object.defineProperty(BamlLiteralValue.prototype, "literal", { @@ -17438,21 +17438,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlLiteralValue instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlLiteralValue + * @memberof baml_bridge.cffi.v1.BamlLiteralValue * @static - * @param {baml_core.cffi.v1.IBamlLiteralValue=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlLiteralValue} BamlLiteralValue instance + * @param {baml_bridge.cffi.v1.IBamlLiteralValue=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlLiteralValue} BamlLiteralValue instance */ BamlLiteralValue.create = function create(properties) { return new BamlLiteralValue(properties); }; /** - * Encodes the specified BamlLiteralValue message. Does not implicitly {@link baml_core.cffi.v1.BamlLiteralValue.verify|verify} messages. + * Encodes the specified BamlLiteralValue message. Does not implicitly {@link baml_bridge.cffi.v1.BamlLiteralValue.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlLiteralValue + * @memberof baml_bridge.cffi.v1.BamlLiteralValue * @static - * @param {baml_core.cffi.v1.IBamlLiteralValue} message BamlLiteralValue message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlLiteralValue} message BamlLiteralValue message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -17477,11 +17477,11 @@ export const baml_core = $root.baml_core = (() => { }; /** - * Encodes the specified BamlLiteralValue message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlLiteralValue.verify|verify} messages. + * Encodes the specified BamlLiteralValue message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlLiteralValue.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlLiteralValue + * @memberof baml_bridge.cffi.v1.BamlLiteralValue * @static - * @param {baml_core.cffi.v1.IBamlLiteralValue} message BamlLiteralValue message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlLiteralValue} message BamlLiteralValue message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -17492,11 +17492,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlLiteralValue message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlLiteralValue + * @memberof baml_bridge.cffi.v1.BamlLiteralValue * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlLiteralValue} BamlLiteralValue + * @returns {baml_bridge.cffi.v1.BamlLiteralValue} BamlLiteralValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -17507,7 +17507,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlLiteralValue(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlLiteralValue(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -17544,10 +17544,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlLiteralValue message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlLiteralValue + * @memberof baml_bridge.cffi.v1.BamlLiteralValue * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlLiteralValue} BamlLiteralValue + * @returns {baml_bridge.cffi.v1.BamlLiteralValue} BamlLiteralValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -17560,7 +17560,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlLiteralValue message. * @function verify - * @memberof baml_core.cffi.v1.BamlLiteralValue + * @memberof baml_bridge.cffi.v1.BamlLiteralValue * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -17612,21 +17612,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlLiteralValue message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlLiteralValue + * @memberof baml_bridge.cffi.v1.BamlLiteralValue * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlLiteralValue} BamlLiteralValue + * @returns {baml_bridge.cffi.v1.BamlLiteralValue} BamlLiteralValue */ BamlLiteralValue.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlLiteralValue) + if (object instanceof $root.baml_bridge.cffi.v1.BamlLiteralValue) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlLiteralValue: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlLiteralValue: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlLiteralValue(); + let message = new $root.baml_bridge.cffi.v1.BamlLiteralValue(); if (object.stringValue != null) message.stringValue = String(object.stringValue); if (object.intValue != null) @@ -17650,9 +17650,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlLiteralValue message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlLiteralValue + * @memberof baml_bridge.cffi.v1.BamlLiteralValue * @static - * @param {baml_core.cffi.v1.BamlLiteralValue} message BamlLiteralValue + * @param {baml_bridge.cffi.v1.BamlLiteralValue} message BamlLiteralValue * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -17700,7 +17700,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlLiteralValue to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlLiteralValue + * @memberof baml_bridge.cffi.v1.BamlLiteralValue * @instance * @returns {Object.} JSON object */ @@ -17711,7 +17711,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlLiteralValue * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlLiteralValue + * @memberof baml_bridge.cffi.v1.BamlLiteralValue * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -17720,7 +17720,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlLiteralValue"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlLiteralValue"; }; return BamlLiteralValue; @@ -17732,7 +17732,7 @@ export const baml_core = $root.baml_core = (() => { return cffi; })(); - return baml_core; + return baml_bridge; })(); export { $root as default }; diff --git a/baml_language/sdks/nodejs/bridge_nodejs/dist/stream.d.ts b/baml_language/sdks/nodejs/bridge_nodejs/dist/stream.d.ts index 05fb577a619..5f1679e7f0e 100644 --- a/baml_language/sdks/nodejs/bridge_nodejs/dist/stream.d.ts +++ b/baml_language/sdks/nodejs/bridge_nodejs/dist/stream.d.ts @@ -2,7 +2,7 @@ * THIS FILE IS AUTO-GENERATED — DO NOT EDIT BY HAND. * * Source: baml_language/crates/bridge_nodejs/typescript_src/ - * Proto: baml_language/crates/bridge_ctypes/types/baml_core/cffi/v1/*.proto + * Proto: baml_language/crates/bridge_ctypes/types/baml_bridge/cffi/v1/*.proto * Build: cd baml_language/crates/bridge_nodejs && pnpm build:debug */ import { BamlHandle } from './native.js'; diff --git a/baml_language/sdks/nodejs/bridge_nodejs/dist/stream.js b/baml_language/sdks/nodejs/bridge_nodejs/dist/stream.js index 447d3bef872..8a7fdea6276 100644 --- a/baml_language/sdks/nodejs/bridge_nodejs/dist/stream.js +++ b/baml_language/sdks/nodejs/bridge_nodejs/dist/stream.js @@ -2,10 +2,10 @@ * THIS FILE IS AUTO-GENERATED — DO NOT EDIT BY HAND. * * Source: baml_language/crates/bridge_nodejs/typescript_src/ - * Proto: baml_language/crates/bridge_ctypes/types/baml_core/cffi/v1/*.proto + * Proto: baml_language/crates/bridge_ctypes/types/baml_bridge/cffi/v1/*.proto * Build: cd baml_language/crates/bridge_nodejs && pnpm build:debug */ -// stream.ts — pure-TS analog of sdks/python/src/baml_core/_stream.py. +// stream.ts — pure-TS analog of sdks/python/src/baml_bridge/_stream.py. // // BamlStream wraps a BamlHandle whose HANDLE_TABLE row is a // `CffiHandleTableEntry::Adt(BexExternalAdt::TaggedHeapHandle { ty, heap_handle })` diff --git a/baml_language/sdks/nodejs/bridge_nodejs/dist/stream.js.map b/baml_language/sdks/nodejs/bridge_nodejs/dist/stream.js.map index fa699a54f0b..2e5f6426859 100644 --- a/baml_language/sdks/nodejs/bridge_nodejs/dist/stream.js.map +++ b/baml_language/sdks/nodejs/bridge_nodejs/dist/stream.js.map @@ -1 +1 @@ -{"version":3,"file":"stream.js","sourceRoot":"","sources":["../typescript_src/stream.ts"],"names":[],"mappings":"AAAA,sEAAsE;AACtE,EAAE;AACF,4DAA4D;AAC5D,oFAAoF;AACpF,sEAAsE;AACtE,yDAAyD;AACzD,sDAAsD;AACtD,EAAE;AACF,8EAA8E;AAC9E,sEAAsE;AACtE,EAAE;AACF,sEAAsE;AACtE,8EAA8E;AAC9E,2EAA2E;AAC3E,yBAAyB;AAEzB,OAAO,EAAc,UAAU,EAAE,eAAe,IAAI,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAC/F,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAE9D,MAAM,cAAc,GAAG,sBAAsB,CAAC;AAC9C,MAAM,eAAe,GAAG,uBAAuB,CAAC;AAEhD,SAAS,eAAe;IACpB,OAAO,MAAM,CAAC,qBAAqB,EAAE,CAAC,CAAC;AAC3C,CAAC;AAED,MAAM,OAAO,UAAU;IACX,OAAO,CAAa;IAE5B,YAAY,MAAkB;QAC1B,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;IAC1B,CAAC;IAED,oFAAoF;IACpF,MAAM,CAAC,WAAW,CAAkB,MAAkB;QAClD,OAAO,IAAI,UAAU,CAAkB,MAAM,CAAC,CAAC;IACnD,CAAC;IAED,gEAAgE;IAChE,SAAS;QACL,OAAO,IAAI,CAAC,OAAO,CAAC;IACxB,CAAC;IAED,IAAI;QACA,OAAO,IAAI,CAAC,SAAS,CAAC,cAAc,CAAY,CAAC;IACrD,CAAC;IACD,KAAK,CAAC,SAAS;QACX,OAAO,CAAC,MAAM,IAAI,CAAC,UAAU,CAAC,cAAc,CAAC,CAAY,CAAC;IAC9D,CAAC;IACD,KAAK;QACD,OAAO,IAAI,CAAC,SAAS,CAAC,eAAe,CAAW,CAAC;IACrD,CAAC;IACD,KAAK,CAAC,UAAU;QACZ,OAAO,CAAC,MAAM,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,CAAW,CAAC;IAC9D,CAAC;IAEO,SAAS,CAAC,GAAW;QACzB,MAAM,EAAE,GAAG,UAAU,EAAE,CAAC;QACxB,MAAM,SAAS,GAAG,cAAc,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,eAAe,EAAE,EAAE,CAAC,CAAC;QAChG,MAAM,WAAW,GAAG,EAAE,CAAC,gBAAgB,CAAC,GAAG,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QACpE,OAAO,gBAAgB,CAAC,WAAW,CAAC,CAAC;IACzC,CAAC;IACO,KAAK,CAAC,UAAU,CAAC,GAAW;QAChC,MAAM,EAAE,GAAG,UAAU,EAAE,CAAC;QACxB,MAAM,SAAS,GAAG,cAAc,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,EAAE,MAAM,EAAE,eAAe,EAAE,EAAE,CAAC,CAAC;QAChF,MAAM,WAAW,GAAG,MAAM,EAAE,CAAC,YAAY,CAAC,GAAG,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QACtE,OAAO,gBAAgB,CAAC,WAAW,CAAC,CAAC;IACzC,CAAC;CACJ"} \ No newline at end of file +{"version":3,"file":"stream.js","sourceRoot":"","sources":["../typescript_src/stream.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,EAAE;AACF,4DAA4D;AAC5D,oFAAoF;AACpF,sEAAsE;AACtE,yDAAyD;AACzD,sDAAsD;AACtD,EAAE;AACF,8EAA8E;AAC9E,sEAAsE;AACtE,EAAE;AACF,sEAAsE;AACtE,8EAA8E;AAC9E,2EAA2E;AAC3E,yBAAyB;AAEzB,OAAO,EAAc,UAAU,EAAE,eAAe,IAAI,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAC/F,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAE9D,MAAM,cAAc,GAAG,sBAAsB,CAAC;AAC9C,MAAM,eAAe,GAAG,uBAAuB,CAAC;AAEhD,SAAS,eAAe;IACpB,OAAO,MAAM,CAAC,qBAAqB,EAAE,CAAC,CAAC;AAC3C,CAAC;AAED,MAAM,OAAO,UAAU;IACX,OAAO,CAAa;IAE5B,YAAY,MAAkB;QAC1B,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;IAC1B,CAAC;IAED,oFAAoF;IACpF,MAAM,CAAC,WAAW,CAAkB,MAAkB;QAClD,OAAO,IAAI,UAAU,CAAkB,MAAM,CAAC,CAAC;IACnD,CAAC;IAED,gEAAgE;IAChE,SAAS;QACL,OAAO,IAAI,CAAC,OAAO,CAAC;IACxB,CAAC;IAED,IAAI;QACA,OAAO,IAAI,CAAC,SAAS,CAAC,cAAc,CAAY,CAAC;IACrD,CAAC;IACD,KAAK,CAAC,SAAS;QACX,OAAO,CAAC,MAAM,IAAI,CAAC,UAAU,CAAC,cAAc,CAAC,CAAY,CAAC;IAC9D,CAAC;IACD,KAAK;QACD,OAAO,IAAI,CAAC,SAAS,CAAC,eAAe,CAAW,CAAC;IACrD,CAAC;IACD,KAAK,CAAC,UAAU;QACZ,OAAO,CAAC,MAAM,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,CAAW,CAAC;IAC9D,CAAC;IAEO,SAAS,CAAC,GAAW;QACzB,MAAM,EAAE,GAAG,UAAU,EAAE,CAAC;QACxB,MAAM,SAAS,GAAG,cAAc,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,eAAe,EAAE,EAAE,CAAC,CAAC;QAChG,MAAM,WAAW,GAAG,EAAE,CAAC,gBAAgB,CAAC,GAAG,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QACpE,OAAO,gBAAgB,CAAC,WAAW,CAAC,CAAC;IACzC,CAAC;IACO,KAAK,CAAC,UAAU,CAAC,GAAW;QAChC,MAAM,EAAE,GAAG,UAAU,EAAE,CAAC;QACxB,MAAM,SAAS,GAAG,cAAc,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,EAAE,MAAM,EAAE,eAAe,EAAE,EAAE,CAAC,CAAC;QAChF,MAAM,WAAW,GAAG,MAAM,EAAE,CAAC,YAAY,CAAC,GAAG,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QACtE,OAAO,gBAAgB,CAAC,WAAW,CAAC,CAAC;IACzC,CAAC;CACJ"} \ No newline at end of file diff --git a/baml_language/sdks/nodejs/bridge_nodejs/dist/typemap.d.ts b/baml_language/sdks/nodejs/bridge_nodejs/dist/typemap.d.ts index b360cd868b6..a741fd59d86 100644 --- a/baml_language/sdks/nodejs/bridge_nodejs/dist/typemap.d.ts +++ b/baml_language/sdks/nodejs/bridge_nodejs/dist/typemap.d.ts @@ -2,7 +2,7 @@ * THIS FILE IS AUTO-GENERATED — DO NOT EDIT BY HAND. * * Source: baml_language/crates/bridge_nodejs/typescript_src/ - * Proto: baml_language/crates/bridge_ctypes/types/baml_core/cffi/v1/*.proto + * Proto: baml_language/crates/bridge_ctypes/types/baml_bridge/cffi/v1/*.proto * Build: cd baml_language/crates/bridge_nodejs && pnpm build:debug */ /** A deferred resolver for a generated class / enum / type alias. */ diff --git a/baml_language/sdks/nodejs/bridge_nodejs/dist/typemap.js b/baml_language/sdks/nodejs/bridge_nodejs/dist/typemap.js index f2272e44b39..daaf9d2bf64 100644 --- a/baml_language/sdks/nodejs/bridge_nodejs/dist/typemap.js +++ b/baml_language/sdks/nodejs/bridge_nodejs/dist/typemap.js @@ -2,11 +2,11 @@ * THIS FILE IS AUTO-GENERATED — DO NOT EDIT BY HAND. * * Source: baml_language/crates/bridge_nodejs/typescript_src/ - * Proto: baml_language/crates/bridge_ctypes/types/baml_core/cffi/v1/*.proto + * Proto: baml_language/crates/bridge_ctypes/types/baml_bridge/cffi/v1/*.proto * Build: cd baml_language/crates/bridge_nodejs && pnpm build:debug */ // typemap.ts — runtime BamlTypeMap, the Node analog of -// sdks/python/src/baml_core/typemap.py. +// sdks/python/src/baml_bridge/typemap.py. // // Codegen emits `_typemap.ts` with `BamlTypeMap.fromLazyEntries({ classes, // enums, typeAliases })` where each entry is a resolver thunk over a statically diff --git a/baml_language/sdks/nodejs/bridge_nodejs/dist/typemap.js.map b/baml_language/sdks/nodejs/bridge_nodejs/dist/typemap.js.map index e12f2bbaa05..13665d00c14 100644 --- a/baml_language/sdks/nodejs/bridge_nodejs/dist/typemap.js.map +++ b/baml_language/sdks/nodejs/bridge_nodejs/dist/typemap.js.map @@ -1 +1 @@ -{"version":3,"file":"typemap.js","sourceRoot":"","sources":["../typescript_src/typemap.ts"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,wCAAwC;AACxC,EAAE;AACF,2EAA2E;AAC3E,gFAAgF;AAChF,iFAAiF;AACjF,iEAAiE;AACjE,6EAA6E;AAC7E,gEAAgE;AAEhE,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAKxC,MAAM,OAAO,WAAW;IACZ,SAAS,GAAG,IAAI,GAAG,EAAqB,CAAC;IACzC,QAAQ,GAAG,IAAI,GAAG,EAAqB,CAAC;IACxC,SAAS,GAAG,IAAI,GAAG,EAAqB,CAAC;IACzC,UAAU,GAAG,IAAI,GAAG,EAAmB,CAAC;IACxC,SAAS,GAAG,IAAI,GAAG,EAAmB,CAAC;IACvC,UAAU,GAAG,IAAI,GAAG,EAAmB,CAAC;IAChD,uEAAuE;IACvE,yEAAyE;IACzE,yEAAyE;IACzE,wCAAwC;IAChC,OAAO,GAAgC,IAAI,CAAC;IAEpD,MAAM,CAAC,eAAe,CAAC,IAItB;QACG,MAAM,CAAC,GAAG,IAAI,WAAW,EAAE,CAAC;QAC5B,KAAK,MAAM,CAAC,GAAG,EAAE,EAAE,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC;YAAE,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;QAC/E,KAAK,MAAM,CAAC,GAAG,EAAE,EAAE,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC;YAAE,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;QAC5E,KAAK,MAAM,CAAC,GAAG,EAAE,EAAE,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC;YAAE,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;QACnF,OAAO,CAAC,CAAC;IACb,CAAC;IAEO,QAAQ,CACZ,GAAW,EACX,IAA4B,EAC5B,KAA2B,EAC3B,IAAY;QAEZ,IAAI,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC;YAAE,OAAO,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QAC1C,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QAC5B,IAAI,KAAK,KAAK,SAAS;YAAE,MAAM,IAAI,SAAS,CAAC,WAAW,IAAI,QAAQ,GAAG,EAAE,CAAC,CAAC;QAC3E,IAAI,QAAiB,CAAC;QACtB,IAAI,CAAC;YACD,QAAQ,GAAG,KAAK,EAAE,CAAC;QACvB,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACT,MAAM,IAAI,SAAS,CAAC,qBAAqB,IAAI,IAAI,GAAG,KAAK,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;QAC1E,CAAC;QACD,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;YACzB,MAAM,IAAI,SAAS,CAAC,qBAAqB,IAAI,IAAI,GAAG,gCAAgC,CAAC,CAAC;QAC1F,CAAC;QACD,KAAK,CAAC,GAAG,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;QACzB,OAAO,QAAQ,CAAC;IACpB,CAAC;IAED,QAAQ,CAAC,GAAW;QAChB,OAAO,IAAI,CAAC,QAAQ,CAAC,GAAG,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;IAED,OAAO,CAAC,GAAW;QACf,OAAO,IAAI,CAAC,QAAQ,CAAC,GAAG,EAAE,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;IACrE,CAAC;IAED,YAAY,CAAC,GAAW;QACpB,OAAO,IAAI,CAAC,QAAQ,CAAC,GAAG,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,UAAU,EAAE,YAAY,CAAC,CAAC;IAC7E,CAAC;IAED;;;;OAIG;IACH,gBAAgB,CAAC,IAAa;QAC1B,IAAI,IAAI,CAAC,OAAO,KAAK,IAAI,EAAE,CAAC;YACxB,IAAI,CAAC,OAAO,GAAG,IAAI,GAAG,EAAE,CAAC;YACzB,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;gBACxC,IAAI,CAAC;oBACD,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,EAAE,EAAE,GAAG,CAAC,CAAC;gBACnC,CAAC;gBAAC,MAAM,CAAC;oBACL,+BAA+B;gBACnC,CAAC;YACL,CAAC;QACL,CAAC;QACD,IAAI,GAAG,GAAY,IAAI,CAAC;QACxB,OAAO,GAAG,IAAI,IAAI,EAAE,CAAC;YACjB,MAAM,GAAG,GAAG,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YAClC,IAAI,GAAG,KAAK,SAAS;gBAAE,OAAO,GAAG,CAAC;YAClC,GAAG,GAAG,MAAM,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;QACrC,CAAC;QACD,OAAO,EAAE,CAAC;IACd,CAAC;IAED,IAAI;QACA,KAAK,MAAM,CAAC,IAAI,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE;YAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;QACxD,KAAK,MAAM,CAAC,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE;YAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;QACtD,KAAK,MAAM,CAAC,IAAI,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE;YAAE,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;IAChE,CAAC;CACJ;AAED,IAAI,SAAS,GAAG,IAAI,WAAW,EAAE,CAAC;AAClC,MAAM,UAAU,UAAU,CAAC,CAAc;IACrC,SAAS,GAAG,CAAC,CAAC;AAClB,CAAC;AACD,MAAM,UAAU,UAAU;IACtB,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"typemap.js","sourceRoot":"","sources":["../typescript_src/typemap.ts"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,0CAA0C;AAC1C,EAAE;AACF,2EAA2E;AAC3E,gFAAgF;AAChF,iFAAiF;AACjF,iEAAiE;AACjE,6EAA6E;AAC7E,gEAAgE;AAEhE,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAKxC,MAAM,OAAO,WAAW;IACZ,SAAS,GAAG,IAAI,GAAG,EAAqB,CAAC;IACzC,QAAQ,GAAG,IAAI,GAAG,EAAqB,CAAC;IACxC,SAAS,GAAG,IAAI,GAAG,EAAqB,CAAC;IACzC,UAAU,GAAG,IAAI,GAAG,EAAmB,CAAC;IACxC,SAAS,GAAG,IAAI,GAAG,EAAmB,CAAC;IACvC,UAAU,GAAG,IAAI,GAAG,EAAmB,CAAC;IAChD,uEAAuE;IACvE,yEAAyE;IACzE,yEAAyE;IACzE,wCAAwC;IAChC,OAAO,GAAgC,IAAI,CAAC;IAEpD,MAAM,CAAC,eAAe,CAAC,IAItB;QACG,MAAM,CAAC,GAAG,IAAI,WAAW,EAAE,CAAC;QAC5B,KAAK,MAAM,CAAC,GAAG,EAAE,EAAE,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC;YAAE,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;QAC/E,KAAK,MAAM,CAAC,GAAG,EAAE,EAAE,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC;YAAE,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;QAC5E,KAAK,MAAM,CAAC,GAAG,EAAE,EAAE,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC;YAAE,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;QACnF,OAAO,CAAC,CAAC;IACb,CAAC;IAEO,QAAQ,CACZ,GAAW,EACX,IAA4B,EAC5B,KAA2B,EAC3B,IAAY;QAEZ,IAAI,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC;YAAE,OAAO,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QAC1C,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QAC5B,IAAI,KAAK,KAAK,SAAS;YAAE,MAAM,IAAI,SAAS,CAAC,WAAW,IAAI,QAAQ,GAAG,EAAE,CAAC,CAAC;QAC3E,IAAI,QAAiB,CAAC;QACtB,IAAI,CAAC;YACD,QAAQ,GAAG,KAAK,EAAE,CAAC;QACvB,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACT,MAAM,IAAI,SAAS,CAAC,qBAAqB,IAAI,IAAI,GAAG,KAAK,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;QAC1E,CAAC;QACD,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;YACzB,MAAM,IAAI,SAAS,CAAC,qBAAqB,IAAI,IAAI,GAAG,gCAAgC,CAAC,CAAC;QAC1F,CAAC;QACD,KAAK,CAAC,GAAG,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;QACzB,OAAO,QAAQ,CAAC;IACpB,CAAC;IAED,QAAQ,CAAC,GAAW;QAChB,OAAO,IAAI,CAAC,QAAQ,CAAC,GAAG,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;IAED,OAAO,CAAC,GAAW;QACf,OAAO,IAAI,CAAC,QAAQ,CAAC,GAAG,EAAE,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;IACrE,CAAC;IAED,YAAY,CAAC,GAAW;QACpB,OAAO,IAAI,CAAC,QAAQ,CAAC,GAAG,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,UAAU,EAAE,YAAY,CAAC,CAAC;IAC7E,CAAC;IAED;;;;OAIG;IACH,gBAAgB,CAAC,IAAa;QAC1B,IAAI,IAAI,CAAC,OAAO,KAAK,IAAI,EAAE,CAAC;YACxB,IAAI,CAAC,OAAO,GAAG,IAAI,GAAG,EAAE,CAAC;YACzB,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;gBACxC,IAAI,CAAC;oBACD,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,EAAE,EAAE,GAAG,CAAC,CAAC;gBACnC,CAAC;gBAAC,MAAM,CAAC;oBACL,+BAA+B;gBACnC,CAAC;YACL,CAAC;QACL,CAAC;QACD,IAAI,GAAG,GAAY,IAAI,CAAC;QACxB,OAAO,GAAG,IAAI,IAAI,EAAE,CAAC;YACjB,MAAM,GAAG,GAAG,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YAClC,IAAI,GAAG,KAAK,SAAS;gBAAE,OAAO,GAAG,CAAC;YAClC,GAAG,GAAG,MAAM,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;QACrC,CAAC;QACD,OAAO,EAAE,CAAC;IACd,CAAC;IAED,IAAI;QACA,KAAK,MAAM,CAAC,IAAI,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE;YAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;QACxD,KAAK,MAAM,CAAC,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE;YAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;QACtD,KAAK,MAAM,CAAC,IAAI,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE;YAAE,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;IAChE,CAAC;CACJ;AAED,IAAI,SAAS,GAAG,IAAI,WAAW,EAAE,CAAC;AAClC,MAAM,UAAU,UAAU,CAAC,CAAc;IACrC,SAAS,GAAG,CAAC,CAAC;AAClB,CAAC;AACD,MAAM,UAAU,UAAU;IACtB,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/baml_language/sdks/nodejs/bridge_nodejs/dist/wire_ty.d.ts b/baml_language/sdks/nodejs/bridge_nodejs/dist/wire_ty.d.ts index f3961f88ce9..49116687724 100644 --- a/baml_language/sdks/nodejs/bridge_nodejs/dist/wire_ty.d.ts +++ b/baml_language/sdks/nodejs/bridge_nodejs/dist/wire_ty.d.ts @@ -2,10 +2,10 @@ * THIS FILE IS AUTO-GENERATED — DO NOT EDIT BY HAND. * * Source: baml_language/crates/bridge_nodejs/typescript_src/ - * Proto: baml_language/crates/bridge_ctypes/types/baml_core/cffi/v1/*.proto + * Proto: baml_language/crates/bridge_ctypes/types/baml_bridge/cffi/v1/*.proto * Build: cd baml_language/crates/bridge_nodejs && pnpm build:debug */ -import { baml_core } from './proto/baml_cffi.js'; +import { baml_bridge } from './proto/baml_cffi.js'; /** * The bottom type (BAML `never`). Pass as a `$types` binding to bind a TypeVar * to `never`, mirroring Python's `_types={"T": Never}`. @@ -44,7 +44,7 @@ export type BamlType = BamlPrimitiveToken | typeof Never | BamlClassCtor | { * unrecognized or absent token leaves the unknown/top type, which binds * nothing. */ -export declare function lowerTypeToWireTy(token: BamlType): baml_core.cffi.v1.IBamlTy; +export declare function lowerTypeToWireTy(token: BamlType): baml_bridge.cffi.v1.IBamlTy; /** * Decode a wire `Ty` (baml_type.proto) back to a {@link BamlType} token — the * exact inverse of {@link lowerTypeToWireTy}, used to repopulate a generic @@ -54,5 +54,5 @@ export declare function lowerTypeToWireTy(token: BamlType): baml_core.cffi.v1.IB * variable, an opaque/runtime-only type) decode to `undefined`, i.e. an unbound * wildcard. */ -export declare function outboundTyToBamlType(ty: baml_core.cffi.v1.IBamlTy | null | undefined): BamlType; +export declare function outboundTyToBamlType(ty: baml_bridge.cffi.v1.IBamlTy | null | undefined): BamlType; //# sourceMappingURL=wire_ty.d.ts.map \ No newline at end of file diff --git a/baml_language/sdks/nodejs/bridge_nodejs/dist/wire_ty.d.ts.map b/baml_language/sdks/nodejs/bridge_nodejs/dist/wire_ty.d.ts.map index aa234ad2e51..93cc5ce9db5 100644 --- a/baml_language/sdks/nodejs/bridge_nodejs/dist/wire_ty.d.ts.map +++ b/baml_language/sdks/nodejs/bridge_nodejs/dist/wire_ty.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"wire_ty.d.ts","sourceRoot":"","sources":["../typescript_src/wire_ty.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAKjD;;;GAGG;AACH,eAAO,MAAM,KAAK,EAAE,OAAO,MAA6B,CAAC;AAEzD;+EAC+E;AAC/E,MAAM,MAAM,kBAAkB,GACxB,KAAK,GACL,OAAO,GACP,QAAQ,GACR,MAAM,GACN,MAAM,GACN,OAAO,GACP,QAAQ,CAAC;AAEf,2EAA2E;AAC3E,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG,IAAI,EAAE,KAAK,EAAE,KAAK,OAAO,CAAC;AAE9D;;;;;;;;;GASG;AACH,MAAM,MAAM,QAAQ,GACd,kBAAkB,GAClB,OAAO,KAAK,GACZ,aAAa,GACb;IAAE,KAAK,EAAE,aAAa,CAAC;IAAC,IAAI,CAAC,EAAE,QAAQ,EAAE,CAAA;CAAE,GAC3C;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,GAClB;IAAE,GAAG,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAA;CAAE,GAC7B;IAAE,QAAQ,EAAE,QAAQ,CAAA;CAAE,GACtB;IAAE,KAAK,EAAE,QAAQ,EAAE,CAAA;CAAE,GACrB,IAAI,GACJ,SAAS,CAAC;AAYhB;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,QAAQ,GAAG,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,CAyC5E;AAYD;;;;;;;;GAQG;AACH,wBAAgB,oBAAoB,CAChC,EAAE,EAAE,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,GAAG,IAAI,GAAG,SAAS,GACjD,QAAQ,CAyBV"} \ No newline at end of file +{"version":3,"file":"wire_ty.d.ts","sourceRoot":"","sources":["../typescript_src/wire_ty.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAKnD;;;GAGG;AACH,eAAO,MAAM,KAAK,EAAE,OAAO,MAA6B,CAAC;AAEzD;+EAC+E;AAC/E,MAAM,MAAM,kBAAkB,GACxB,KAAK,GACL,OAAO,GACP,QAAQ,GACR,MAAM,GACN,MAAM,GACN,OAAO,GACP,QAAQ,CAAC;AAEf,2EAA2E;AAC3E,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG,IAAI,EAAE,KAAK,EAAE,KAAK,OAAO,CAAC;AAE9D;;;;;;;;;GASG;AACH,MAAM,MAAM,QAAQ,GACd,kBAAkB,GAClB,OAAO,KAAK,GACZ,aAAa,GACb;IAAE,KAAK,EAAE,aAAa,CAAC;IAAC,IAAI,CAAC,EAAE,QAAQ,EAAE,CAAA;CAAE,GAC3C;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,GAClB;IAAE,GAAG,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAA;CAAE,GAC7B;IAAE,QAAQ,EAAE,QAAQ,CAAA;CAAE,GACtB;IAAE,KAAK,EAAE,QAAQ,EAAE,CAAA;CAAE,GACrB,IAAI,GACJ,SAAS,CAAC;AAYhB;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,QAAQ,GAAG,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,CAyC9E;AAYD;;;;;;;;GAQG;AACH,wBAAgB,oBAAoB,CAChC,EAAE,EAAE,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,GAAG,IAAI,GAAG,SAAS,GACnD,QAAQ,CAyBV"} \ No newline at end of file diff --git a/baml_language/sdks/nodejs/bridge_nodejs/dist/wire_ty.js b/baml_language/sdks/nodejs/bridge_nodejs/dist/wire_ty.js index 70dd6074015..460fcd29b91 100644 --- a/baml_language/sdks/nodejs/bridge_nodejs/dist/wire_ty.js +++ b/baml_language/sdks/nodejs/bridge_nodejs/dist/wire_ty.js @@ -2,13 +2,13 @@ * THIS FILE IS AUTO-GENERATED — DO NOT EDIT BY HAND. * * Source: baml_language/crates/bridge_nodejs/typescript_src/ - * Proto: baml_language/crates/bridge_ctypes/types/baml_core/cffi/v1/*.proto + * Proto: baml_language/crates/bridge_ctypes/types/baml_bridge/cffi/v1/*.proto * Build: cd baml_language/crates/bridge_nodejs && pnpm build:debug */ // wire_ty.ts — lower a host-supplied type token to a wire `Ty` (baml_type.proto). // // The Node analog of `python_type_to_wire_ty` / `_fill_wire_ty` in -// sdks/python/src/baml_core/proto.py. Python recovers a generic instance's +// sdks/python/src/baml_bridge/proto.py. Python recovers a generic instance's // concrete type args from Pydantic's runtime generic metadata and lowers // Python `type` objects (`int`, `str`, `Box[int]`, …) to a wire `Ty`. TypeScript // erases generics at runtime, so there is no metadata to recover and no `type` @@ -19,9 +19,9 @@ // // `undefined` / `null` (an absent binding) lowers to the unknown/top type — // the engine treats it as a wildcard, matching Python's `_fill_wire_ty(None)`. -import { baml_core } from './proto/baml_cffi.js'; +import { baml_bridge } from './proto/baml_cffi.js'; import { getTypeMap } from './typemap.js'; -const TyPrimitiveKind = baml_core.cffi.v1.BamlTyPrimitiveKind; +const TyPrimitiveKind = baml_bridge.cffi.v1.BamlTyPrimitiveKind; /** * The bottom type (BAML `never`). Pass as a `$types` binding to bind a TypeVar * to `never`, mirroring Python's `_types={"T": Never}`. diff --git a/baml_language/sdks/nodejs/bridge_nodejs/dist/wire_ty.js.map b/baml_language/sdks/nodejs/bridge_nodejs/dist/wire_ty.js.map index 33a4798787f..261d29e54fb 100644 --- a/baml_language/sdks/nodejs/bridge_nodejs/dist/wire_ty.js.map +++ b/baml_language/sdks/nodejs/bridge_nodejs/dist/wire_ty.js.map @@ -1 +1 @@ -{"version":3,"file":"wire_ty.js","sourceRoot":"","sources":["../typescript_src/wire_ty.ts"],"names":[],"mappings":"AAAA,kFAAkF;AAClF,EAAE;AACF,mEAAmE;AACnE,2EAA2E;AAC3E,yEAAyE;AACzE,iFAAiF;AACjF,+EAA+E;AAC/E,4EAA4E;AAC5E,yEAAyE;AACzE,yEAAyE;AACzE,mDAAmD;AACnD,EAAE;AACF,4EAA4E;AAC5E,+EAA+E;AAE/E,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,MAAM,eAAe,GAAG,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,mBAAmB,CAAC;AAE9D;;;GAGG;AACH,MAAM,CAAC,MAAM,KAAK,GAAkB,MAAM,CAAC,YAAY,CAAC,CAAC;AAsCzD,MAAM,cAAc,GAAuC;IACvD,GAAG,EAAE,eAAe,CAAC,qBAAqB;IAC1C,KAAK,EAAE,eAAe,CAAC,uBAAuB;IAC9C,MAAM,EAAE,eAAe,CAAC,wBAAwB;IAChD,IAAI,EAAE,eAAe,CAAC,sBAAsB;IAC5C,IAAI,EAAE,eAAe,CAAC,sBAAsB;IAC5C,KAAK,EAAE,eAAe,CAAC,uBAAuB;IAC9C,MAAM,EAAE,eAAe,CAAC,wBAAwB;CACnD,CAAC;AAEF;;;;;GAKG;AACH,MAAM,UAAU,iBAAiB,CAAC,KAAe;IAC7C,yEAAyE;IACzE,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACxC,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IAC3B,CAAC;IACD,eAAe;IACf,IAAI,KAAK,KAAK,KAAK,EAAE,CAAC;QAClB,OAAO,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC;IACzB,CAAC;IACD,sBAAsB;IACtB,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QAC5B,MAAM,IAAI,GAAG,cAAc,CAAC,KAA2B,CAAC,CAAC;QACzD,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;YACrB,OAAO,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,EAAE,CAAC;QACnC,CAAC;QACD,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IAC3B,CAAC;IACD,2DAA2D;IAC3D,IAAI,OAAO,KAAK,KAAK,UAAU,EAAE,CAAC;QAC9B,OAAO,WAAW,CAAC,KAAsB,EAAE,EAAE,CAAC,CAAC;IACnD,CAAC;IACD,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QAC5B,IAAI,OAAO,IAAI,KAAK,EAAE,CAAC;YACnB,OAAO,WAAW,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC;QACtD,CAAC;QACD,IAAI,MAAM,IAAI,KAAK,EAAE,CAAC;YAClB,OAAO,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,iBAAiB,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC;QAC7D,CAAC;QACD,IAAI,KAAK,IAAI,KAAK,EAAE,CAAC;YACjB,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,KAAK,CAAC,GAAG,CAAC;YACzB,OAAO,EAAE,GAAG,EAAE,EAAE,GAAG,EAAE,iBAAiB,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,iBAAiB,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;QAC/E,CAAC;QACD,IAAI,UAAU,IAAI,KAAK,EAAE,CAAC;YACtB,OAAO,EAAE,QAAQ,EAAE,EAAE,KAAK,EAAE,iBAAiB,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;QACtE,CAAC;QACD,IAAI,OAAO,IAAI,KAAK,EAAE,CAAC;YACnB,OAAO,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,EAAE,EAAE,CAAC;QACtE,CAAC;IACL,CAAC;IACD,sDAAsD;IACtD,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;AAC3B,CAAC;AAED,MAAM,kBAAkB,GAAuC;IAC3D,CAAC,eAAe,CAAC,qBAAqB,CAAC,EAAE,KAAK;IAC9C,CAAC,eAAe,CAAC,uBAAuB,CAAC,EAAE,OAAO;IAClD,CAAC,eAAe,CAAC,wBAAwB,CAAC,EAAE,QAAQ;IACpD,CAAC,eAAe,CAAC,sBAAsB,CAAC,EAAE,MAAM;IAChD,CAAC,eAAe,CAAC,sBAAsB,CAAC,EAAE,MAAM;IAChD,CAAC,eAAe,CAAC,uBAAuB,CAAC,EAAE,OAAO;IAClD,CAAC,eAAe,CAAC,wBAAwB,CAAC,EAAE,QAAQ;CACvD,CAAC;AAEF;;;;;;;;GAQG;AACH,MAAM,UAAU,oBAAoB,CAChC,EAAgD;IAEhD,IAAI,CAAC,EAAE;QAAE,OAAO,SAAS,CAAC;IAC1B,IAAI,EAAE,CAAC,SAAS,EAAE,CAAC;QACf,OAAO,kBAAkB,CAAC,EAAE,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,SAAS,CAAC;IACpE,CAAC;IACD,IAAI,EAAE,CAAC,IAAI;QAAE,OAAO,EAAE,IAAI,EAAE,oBAAoB,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;IACjE,IAAI,EAAE,CAAC,GAAG,EAAE,CAAC;QACT,OAAO,EAAE,GAAG,EAAE,CAAC,oBAAoB,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,oBAAoB,CAAC,EAAE,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC;IAC3F,CAAC;IACD,IAAI,EAAE,CAAC,QAAQ;QAAE,OAAO,EAAE,QAAQ,EAAE,oBAAoB,CAAC,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC;IAC9E,IAAI,EAAE,CAAC,OAAO,EAAE,CAAC;QACb,MAAM,GAAG,GAAG,EAAE,CAAC,OAAO,CAAC,IAAI,IAAI,EAAE,CAAC;QAClC,MAAM,IAAI,GAAG,CAAC,EAAE,CAAC,OAAO,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC,CAAC;QAC7E,IAAI,IAA+B,CAAC;QACpC,IAAI,CAAC;YACD,IAAI,GAAG,UAAU,EAAE,CAAC,QAAQ,CAAC,GAAG,CAAkB,CAAC;QACvD,CAAC;QAAC,MAAM,CAAC;YACL,IAAI,GAAG,SAAS,CAAC,CAAC,+BAA+B;QACrD,CAAC;QACD,IAAI,CAAC,IAAI;YAAE,OAAO,SAAS,CAAC;QAC5B,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;IACtD,CAAC;IACD,oEAAoE;IACpE,sEAAsE;IACtE,OAAO,SAAS,CAAC;AACrB,CAAC;AAED;;;sBAGsB;AACtB,SAAS,WAAW,CAAC,IAAmB,EAAE,IAAgB;IACtD,MAAM,GAAG,GAAG,UAAU,EAAE,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC;IAChD,IAAI,CAAC,GAAG,EAAE,CAAC;QACP,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IAC3B,CAAC;IACD,OAAO,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,CAAC,GAAG,CAAC,iBAAiB,CAAC,EAAE,EAAE,CAAC;AAC7E,CAAC"} \ No newline at end of file +{"version":3,"file":"wire_ty.js","sourceRoot":"","sources":["../typescript_src/wire_ty.ts"],"names":[],"mappings":"AAAA,kFAAkF;AAClF,EAAE;AACF,mEAAmE;AACnE,6EAA6E;AAC7E,yEAAyE;AACzE,iFAAiF;AACjF,+EAA+E;AAC/E,4EAA4E;AAC5E,yEAAyE;AACzE,yEAAyE;AACzE,mDAAmD;AACnD,EAAE;AACF,4EAA4E;AAC5E,+EAA+E;AAE/E,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,MAAM,eAAe,GAAG,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC,mBAAmB,CAAC;AAEhE;;;GAGG;AACH,MAAM,CAAC,MAAM,KAAK,GAAkB,MAAM,CAAC,YAAY,CAAC,CAAC;AAsCzD,MAAM,cAAc,GAAuC;IACvD,GAAG,EAAE,eAAe,CAAC,qBAAqB;IAC1C,KAAK,EAAE,eAAe,CAAC,uBAAuB;IAC9C,MAAM,EAAE,eAAe,CAAC,wBAAwB;IAChD,IAAI,EAAE,eAAe,CAAC,sBAAsB;IAC5C,IAAI,EAAE,eAAe,CAAC,sBAAsB;IAC5C,KAAK,EAAE,eAAe,CAAC,uBAAuB;IAC9C,MAAM,EAAE,eAAe,CAAC,wBAAwB;CACnD,CAAC;AAEF;;;;;GAKG;AACH,MAAM,UAAU,iBAAiB,CAAC,KAAe;IAC7C,yEAAyE;IACzE,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACxC,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IAC3B,CAAC;IACD,eAAe;IACf,IAAI,KAAK,KAAK,KAAK,EAAE,CAAC;QAClB,OAAO,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC;IACzB,CAAC;IACD,sBAAsB;IACtB,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QAC5B,MAAM,IAAI,GAAG,cAAc,CAAC,KAA2B,CAAC,CAAC;QACzD,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;YACrB,OAAO,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,EAAE,CAAC;QACnC,CAAC;QACD,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IAC3B,CAAC;IACD,2DAA2D;IAC3D,IAAI,OAAO,KAAK,KAAK,UAAU,EAAE,CAAC;QAC9B,OAAO,WAAW,CAAC,KAAsB,EAAE,EAAE,CAAC,CAAC;IACnD,CAAC;IACD,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QAC5B,IAAI,OAAO,IAAI,KAAK,EAAE,CAAC;YACnB,OAAO,WAAW,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC;QACtD,CAAC;QACD,IAAI,MAAM,IAAI,KAAK,EAAE,CAAC;YAClB,OAAO,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,iBAAiB,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC;QAC7D,CAAC;QACD,IAAI,KAAK,IAAI,KAAK,EAAE,CAAC;YACjB,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,KAAK,CAAC,GAAG,CAAC;YACzB,OAAO,EAAE,GAAG,EAAE,EAAE,GAAG,EAAE,iBAAiB,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,iBAAiB,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;QAC/E,CAAC;QACD,IAAI,UAAU,IAAI,KAAK,EAAE,CAAC;YACtB,OAAO,EAAE,QAAQ,EAAE,EAAE,KAAK,EAAE,iBAAiB,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;QACtE,CAAC;QACD,IAAI,OAAO,IAAI,KAAK,EAAE,CAAC;YACnB,OAAO,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,EAAE,EAAE,CAAC;QACtE,CAAC;IACL,CAAC;IACD,sDAAsD;IACtD,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;AAC3B,CAAC;AAED,MAAM,kBAAkB,GAAuC;IAC3D,CAAC,eAAe,CAAC,qBAAqB,CAAC,EAAE,KAAK;IAC9C,CAAC,eAAe,CAAC,uBAAuB,CAAC,EAAE,OAAO;IAClD,CAAC,eAAe,CAAC,wBAAwB,CAAC,EAAE,QAAQ;IACpD,CAAC,eAAe,CAAC,sBAAsB,CAAC,EAAE,MAAM;IAChD,CAAC,eAAe,CAAC,sBAAsB,CAAC,EAAE,MAAM;IAChD,CAAC,eAAe,CAAC,uBAAuB,CAAC,EAAE,OAAO;IAClD,CAAC,eAAe,CAAC,wBAAwB,CAAC,EAAE,QAAQ;CACvD,CAAC;AAEF;;;;;;;;GAQG;AACH,MAAM,UAAU,oBAAoB,CAChC,EAAkD;IAElD,IAAI,CAAC,EAAE;QAAE,OAAO,SAAS,CAAC;IAC1B,IAAI,EAAE,CAAC,SAAS,EAAE,CAAC;QACf,OAAO,kBAAkB,CAAC,EAAE,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,SAAS,CAAC;IACpE,CAAC;IACD,IAAI,EAAE,CAAC,IAAI;QAAE,OAAO,EAAE,IAAI,EAAE,oBAAoB,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;IACjE,IAAI,EAAE,CAAC,GAAG,EAAE,CAAC;QACT,OAAO,EAAE,GAAG,EAAE,CAAC,oBAAoB,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,oBAAoB,CAAC,EAAE,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC;IAC3F,CAAC;IACD,IAAI,EAAE,CAAC,QAAQ;QAAE,OAAO,EAAE,QAAQ,EAAE,oBAAoB,CAAC,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC;IAC9E,IAAI,EAAE,CAAC,OAAO,EAAE,CAAC;QACb,MAAM,GAAG,GAAG,EAAE,CAAC,OAAO,CAAC,IAAI,IAAI,EAAE,CAAC;QAClC,MAAM,IAAI,GAAG,CAAC,EAAE,CAAC,OAAO,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC,CAAC;QAC7E,IAAI,IAA+B,CAAC;QACpC,IAAI,CAAC;YACD,IAAI,GAAG,UAAU,EAAE,CAAC,QAAQ,CAAC,GAAG,CAAkB,CAAC;QACvD,CAAC;QAAC,MAAM,CAAC;YACL,IAAI,GAAG,SAAS,CAAC,CAAC,+BAA+B;QACrD,CAAC;QACD,IAAI,CAAC,IAAI;YAAE,OAAO,SAAS,CAAC;QAC5B,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;IACtD,CAAC;IACD,oEAAoE;IACpE,sEAAsE;IACtE,OAAO,SAAS,CAAC;AACrB,CAAC;AAED;;;sBAGsB;AACtB,SAAS,WAAW,CAAC,IAAmB,EAAE,IAAgB;IACtD,MAAM,GAAG,GAAG,UAAU,EAAE,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC;IAChD,IAAI,CAAC,GAAG,EAAE,CAAC;QACP,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IAC3B,CAAC;IACD,OAAO,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,CAAC,GAAG,CAAC,iBAAiB,CAAC,EAAE,EAAE,CAAC;AAC7E,CAAC"} \ No newline at end of file diff --git a/baml_language/sdks/nodejs/bridge_nodejs/package.json b/baml_language/sdks/nodejs/bridge_nodejs/package.json index 1d0fe6d04ec..a7afb0cf9b9 100644 --- a/baml_language/sdks/nodejs/bridge_nodejs/package.json +++ b/baml_language/sdks/nodejs/bridge_nodejs/package.json @@ -1,5 +1,5 @@ { - "name": "@boundaryml/baml-core-node", + "name": "@boundaryml/baml-bridge", "version": "0.13.0", "type": "module", "repository": { @@ -36,7 +36,7 @@ }, "scripts": { "build:clean": "node typescript_src/clean-dist.js", - "build:proto": "node node_modules/protobufjs-cli/bin/pbjs -t static-module -w es6 -p ../../../crates/bridge_ctypes/types -o typescript_src/proto/baml_cffi.js ../../../crates/bridge_ctypes/types/baml_core/cffi/v1/baml_inbound.proto ../../../crates/bridge_ctypes/types/baml_core/cffi/v1/baml_outbound.proto && node node_modules/protobufjs-cli/bin/pbts -o typescript_src/proto/baml_cffi.d.ts typescript_src/proto/baml_cffi.js", + "build:proto": "node node_modules/protobufjs-cli/bin/pbjs -t static-module -w es6 -p ../../../crates/bridge_ctypes/types -o typescript_src/proto/baml_cffi.js ../../../crates/bridge_ctypes/types/baml_bridge/cffi/v1/baml_inbound.proto ../../../crates/bridge_ctypes/types/baml_bridge/cffi/v1/baml_outbound.proto && node node_modules/protobufjs-cli/bin/pbts -o typescript_src/proto/baml_cffi.d.ts typescript_src/proto/baml_cffi.js", "build:napi-debug": "napi build --js ./dist/native.js --esm --dts ./dist/native.d.ts --platform", "build:napi-release": "napi build --js ./dist/native.js --esm --dts ./dist/native.d.ts --platform --profile release-bridge-node", "build:copy-native-dts": "node typescript_src/copy-native-dts.js", diff --git a/baml_language/sdks/nodejs/bridge_nodejs/src/media.rs b/baml_language/sdks/nodejs/bridge_nodejs/src/media.rs index 47194a65590..9b385695004 100644 --- a/baml_language/sdks/nodejs/bridge_nodejs/src/media.rs +++ b/baml_language/sdks/nodejs/bridge_nodejs/src/media.rs @@ -8,7 +8,7 @@ //! //! These four are runtime-owned stdlib value classes: codegen does NOT emit //! a structural class body for them — it re-exports them from -//! `@boundaryml/baml-core-node` under aliases (`BamlImage as Image`, etc.). See +//! `@boundaryml/baml-bridge` under aliases (`BamlImage as Image`, etc.). See //! `00a-spec-codegen-mappings.md` "Stdlib Re-Exports". //! //! The key is stored inline as a raw `(key, handle_type)` pair (rather than a @@ -27,7 +27,7 @@ use bridge_cffi::{ baml_media_from_base64, baml_media_from_file, baml_media_from_url, baml_media_mime_type, baml_media_url, free_buffer, }; -use bridge_ctypes::baml_core::cffi::{BamlHandleType, MediaTypeEnum}; +use bridge_ctypes::baml_bridge::cffi::{BamlHandleType, MediaTypeEnum}; use napi::bindgen_prelude::*; use napi_derive::napi; diff --git a/baml_language/sdks/nodejs/bridge_nodejs/src/runtime.rs b/baml_language/sdks/nodejs/bridge_nodejs/src/runtime.rs index 5980751085d..fd4f909bb44 100644 --- a/baml_language/sdks/nodejs/bridge_nodejs/src/runtime.rs +++ b/baml_language/sdks/nodejs/bridge_nodejs/src/runtime.rs @@ -154,7 +154,7 @@ fn decode_args( args_proto: &[u8], _function_name: &str, ) -> std::result::Result { - let args = bridge_ctypes::baml_core::cffi::CallFunctionArgs::decode(args_proto) + let args = bridge_ctypes::baml_bridge::cffi::CallFunctionArgs::decode(args_proto) .map_err(bridge_ctypes::CtypesError::from)?; if args.call_id == 0 { diff --git a/baml_language/sdks/nodejs/bridge_nodejs/tests/test_decode_call_result.test.ts b/baml_language/sdks/nodejs/bridge_nodejs/tests/test_decode_call_result.test.ts index 806462d96e5..4561c042837 100644 --- a/baml_language/sdks/nodejs/bridge_nodejs/tests/test_decode_call_result.test.ts +++ b/baml_language/sdks/nodejs/bridge_nodejs/tests/test_decode_call_result.test.ts @@ -5,13 +5,13 @@ // 2. error/panic arms surface a BamlError/BamlPanic carrying the decoded // value, BAML trace, and class FQN — not just a formatted string. -import { baml_core } from '../dist/proto/baml_cffi.js'; +import { baml_bridge } from '../dist/proto/baml_cffi.js'; import { decodeCallResult } from '../dist/index.js'; import { BamlError, BamlPanic } from '../dist/index.js'; -const { BamlOutboundResult, BamlOutboundValue } = baml_core.cffi.v1; +const { BamlOutboundResult, BamlOutboundValue } = baml_bridge.cffi.v1; -function encodeResult(result: baml_core.cffi.v1.IBamlOutboundResult): Buffer { +function encodeResult(result: baml_bridge.cffi.v1.IBamlOutboundResult): Buffer { return Buffer.from(BamlOutboundResult.encode(BamlOutboundResult.create(result)).finish()); } @@ -34,7 +34,7 @@ describe('decodeCallResult — inline media / prompt AST rejection', () => { describe('decodeCallResult — thrown value carries structured detail', () => { // An unmapped class FQN decodes to a plain object (the bare bridge has no // generated typemap), so `.value` is `{ message }` and `.className` is the FQN. - const thrown: baml_core.cffi.v1.IBamlOutboundValue = { + const thrown: baml_bridge.cffi.v1.IBamlOutboundValue = { classValue: { name: 'baml.errors.GenericSdkError', fields: [{ key: 'message', value: { stringValue: 'boom' } }], diff --git a/baml_language/sdks/nodejs/bridge_nodejs/typescript_src/define_function.ts b/baml_language/sdks/nodejs/bridge_nodejs/typescript_src/define_function.ts index 4e0bfe761e7..a0a05bc832e 100644 --- a/baml_language/sdks/nodejs/bridge_nodejs/typescript_src/define_function.ts +++ b/baml_language/sdks/nodejs/bridge_nodejs/typescript_src/define_function.ts @@ -1,5 +1,5 @@ // define_function.ts — runtime factories for BAML callables, the Node analog -// of `define_function` in sdks/python/src/baml_core/__init__.py. +// of `define_function` in sdks/python/src/baml_bridge/__init__.py. // // Generated SDK code emits, per BAML function: // export const f = defineFunction("user.ns.f", "sync", ["a"]) as (a: A) => R; @@ -17,7 +17,7 @@ import { newFunctionCall as nativeNewFunctionCall, } from './native.js'; import { encodeCallArgs, decodeCallResult } from './proto.js'; -import { baml_core } from './proto/baml_cffi.js'; +import { baml_bridge } from './proto/baml_cffi.js'; import { lowerTypeToWireTy, type BamlType } from './wire_ty.js'; export type Mode = 'sync' | 'async'; @@ -45,7 +45,7 @@ interface BuiltArgs { types?: unknown; } -type WireTypeArg = [string, baml_core.cffi.v1.IBamlTy]; +type WireTypeArg = [string, baml_bridge.cffi.v1.IBamlTy]; /** * Resolve the caller's `$types` option onto the callee's own generic params, in diff --git a/baml_language/sdks/nodejs/bridge_nodejs/typescript_src/generated-header.txt b/baml_language/sdks/nodejs/bridge_nodejs/typescript_src/generated-header.txt index 1b0e0b19eb7..0738d4a1fda 100644 --- a/baml_language/sdks/nodejs/bridge_nodejs/typescript_src/generated-header.txt +++ b/baml_language/sdks/nodejs/bridge_nodejs/typescript_src/generated-header.txt @@ -1,5 +1,5 @@ THIS FILE IS AUTO-GENERATED — DO NOT EDIT BY HAND. Source: baml_language/crates/bridge_nodejs/typescript_src/ -Proto: baml_language/crates/bridge_ctypes/types/baml_core/cffi/v1/*.proto +Proto: baml_language/crates/bridge_ctypes/types/baml_bridge/cffi/v1/*.proto Build: cd baml_language/crates/bridge_nodejs && pnpm build:debug diff --git a/baml_language/sdks/nodejs/bridge_nodejs/typescript_src/host_value_registry.ts b/baml_language/sdks/nodejs/bridge_nodejs/typescript_src/host_value_registry.ts index 6cdb43a80ef..181b190089a 100644 --- a/baml_language/sdks/nodejs/bridge_nodejs/typescript_src/host_value_registry.ts +++ b/baml_language/sdks/nodejs/bridge_nodejs/typescript_src/host_value_registry.ts @@ -36,9 +36,9 @@ // no-op since `mintHostValueKey` never returns `0`. import { mintHostValueKey, registerHostValueReleaseCallback, BamlHandle, type HandleKey } from './native.js'; -import { baml_core } from './proto/baml_cffi.js'; +import { baml_bridge } from './proto/baml_cffi.js'; -const BamlHandleType = baml_core.cffi.v1.BamlHandleType; +const BamlHandleType = baml_bridge.cffi.v1.BamlHandleType; const hostValueMap = new Map(); diff --git a/baml_language/sdks/nodejs/bridge_nodejs/typescript_src/proto.ts b/baml_language/sdks/nodejs/bridge_nodejs/typescript_src/proto.ts index b971c82ffe5..64f18fc4eb0 100644 --- a/baml_language/sdks/nodejs/bridge_nodejs/typescript_src/proto.ts +++ b/baml_language/sdks/nodejs/bridge_nodejs/typescript_src/proto.ts @@ -4,7 +4,7 @@ // Decodes the BamlOutboundResult envelope → TS objects (call results), and // bare BamlOutboundValue bytes → TS objects (host-callable args). -import { baml_core } from './proto/baml_cffi.js'; +import { baml_bridge } from './proto/baml_cffi.js'; import { BamlHandle, HandleKey, @@ -25,14 +25,14 @@ import { import { BamlTypeMap, getTypeMap } from './typemap.js'; import { lowerTypeToWireTy, outboundTyToBamlType, type BamlType } from './wire_ty.js'; -const CallFunctionArgs = baml_core.cffi.v1.CallFunctionArgs; -const BamlOutboundValue = baml_core.cffi.v1.BamlOutboundValue; -const BamlOutboundResult = baml_core.cffi.v1.BamlOutboundResult; -const BamlToHostCall = baml_core.cffi.v1.BamlToHostCall; -const InboundValue = baml_core.cffi.v1.InboundValue; -const InboundClassValue = baml_core.cffi.v1.InboundClassValue; -const InboundMapEntry = baml_core.cffi.v1.InboundMapEntry; -const BamlHandleType = baml_core.cffi.v1.BamlHandleType; +const CallFunctionArgs = baml_bridge.cffi.v1.CallFunctionArgs; +const BamlOutboundValue = baml_bridge.cffi.v1.BamlOutboundValue; +const BamlOutboundResult = baml_bridge.cffi.v1.BamlOutboundResult; +const BamlToHostCall = baml_bridge.cffi.v1.BamlToHostCall; +const InboundValue = baml_bridge.cffi.v1.InboundValue; +const InboundClassValue = baml_bridge.cffi.v1.InboundClassValue; +const InboundMapEntry = baml_bridge.cffi.v1.InboundMapEntry; +const BamlHandleType = baml_bridge.cffi.v1.BamlHandleType; const CANCELLED_PANIC_CLASS = 'baml.panics.Cancelled'; // ─── Inbound (TS → Rust) ─── @@ -75,7 +75,7 @@ export interface EncodeCallArgsOptions { * `CallFunctionArgs.type_args`. Mirrors Python's `encode_call_args` * `type_args` argument. Omitted/empty for non-generic calls. */ - typeArgs?: Array<[string, baml_core.cffi.v1.IBamlTy]>; + typeArgs?: Array<[string, baml_bridge.cffi.v1.IBamlTy]>; } /** @@ -93,7 +93,7 @@ function genericParamNames(value: object): string[] | null { return null; } -function setInboundValue(iv: baml_core.cffi.v1.IInboundValue, value: unknown, ctx: EncodeCtx): void { +function setInboundValue(iv: baml_bridge.cffi.v1.IInboundValue, value: unknown, ctx: EncodeCtx): void { if (value === null || value === undefined) { return; // Leave oneof unset → null } @@ -172,9 +172,9 @@ function setInboundValue(iv: baml_core.cffi.v1.IInboundValue, value: unknown, ct ctx.registered.push(key); iv.handle = { key, handleType: BamlHandleType.HOST_VALUE_CALLABLE }; } else if (Array.isArray(value)) { - const listVal: baml_core.cffi.v1.IInboundValue[] = []; + const listVal: baml_bridge.cffi.v1.IInboundValue[] = []; for (const item of value) { - const child: baml_core.cffi.v1.IInboundValue = {}; + const child: baml_bridge.cffi.v1.IInboundValue = {}; setInboundValue(child, item, ctx); listVal.push(child); } @@ -209,10 +209,10 @@ function setInboundValue(iv: baml_core.cffi.v1.IInboundValue, value: unknown, ct if (isClassInstance && Object.values(value).some(v => v instanceof BamlHandle)) { const fqn = getTypeMap().jsTypeToBamlType((value as object).constructor); if (fqn) { - const classFields: baml_core.cffi.v1.IInboundMapEntry[] = []; + const classFields: baml_bridge.cffi.v1.IInboundMapEntry[] = []; for (const [k, v] of Object.entries(value)) { if (typeof v === 'function') continue; - const childVal: baml_core.cffi.v1.IInboundValue = {}; + const childVal: baml_bridge.cffi.v1.IInboundValue = {}; setInboundValue(childVal, v, ctx); classFields.push({ stringKey: k, value: childVal }); } @@ -236,13 +236,13 @@ function setInboundValue(iv: baml_core.cffi.v1.IInboundValue, value: unknown, ct const fqn = getTypeMap().jsTypeToBamlType((value as object).constructor); const userTypes = (value as { $types?: Record }).$types; const typeArgs = params.map((p) => lowerTypeToWireTy(userTypes?.[p])); - const classFields: baml_core.cffi.v1.IInboundMapEntry[] = []; + const classFields: baml_bridge.cffi.v1.IInboundMapEntry[] = []; for (const [k, v] of Object.entries(value)) { // Skip method bindings (behavior, not state) and the synthetic // `$types` carrier (it rides `class_ty`, not the field list). if (typeof v === 'function') continue; if (k === '$types') continue; - const childVal: baml_core.cffi.v1.IInboundValue = {}; + const childVal: baml_bridge.cffi.v1.IInboundValue = {}; setInboundValue(childVal, v, ctx); classFields.push({ stringKey: k, value: childVal }); } @@ -250,11 +250,11 @@ function setInboundValue(iv: baml_core.cffi.v1.IInboundValue, value: unknown, ct return; } } - const entries: baml_core.cffi.v1.IInboundMapEntry[] = []; + const entries: baml_bridge.cffi.v1.IInboundMapEntry[] = []; for (const [k, v] of Object.entries(value)) { if (isClassInstance && typeof v === 'function') continue; - const entry: baml_core.cffi.v1.IInboundMapEntry = { stringKey: k }; - const childVal: baml_core.cffi.v1.IInboundValue = {}; + const entry: baml_bridge.cffi.v1.IInboundMapEntry = { stringKey: k }; + const childVal: baml_bridge.cffi.v1.IInboundValue = {}; setInboundValue(childVal, v, ctx); entry.value = childVal; entries.push(entry); @@ -291,10 +291,10 @@ export function encodeCallArgs(kwargs: Record, options: EncodeC } const ctx: EncodeCtx = { syncMode: options.syncMode ?? false, registered: [] }; try { - const entries: baml_core.cffi.v1.IInboundMapEntry[] = []; + const entries: baml_bridge.cffi.v1.IInboundMapEntry[] = []; for (const [key, value] of Object.entries(kwargs)) { - const entry: baml_core.cffi.v1.IInboundMapEntry = { stringKey: key }; - const iv: baml_core.cffi.v1.IInboundValue = {}; + const entry: baml_bridge.cffi.v1.IInboundMapEntry = { stringKey: key }; + const iv: baml_bridge.cffi.v1.IInboundValue = {}; setInboundValue(iv, value, ctx); entry.value = iv; entries.push(entry); @@ -356,7 +356,7 @@ function parseHexBigint(s: string): bigint { } function decodeValueHolder( - holder: baml_core.cffi.v1.IBamlOutboundValue, + holder: baml_bridge.cffi.v1.IBamlOutboundValue, typeMap: BamlTypeMap, ): unknown { if (holder.nullValue != null) return null; @@ -379,7 +379,7 @@ function decodeValueHolder( // protobufjs oneof virtual getter (only on the decoded class instance, // not the `I`-interface) since scalar fields default to a non-null zero // value rather than `null`. - const lit = holder.literalValue as baml_core.cffi.v1.BamlLiteralValue; + const lit = holder.literalValue as baml_bridge.cffi.v1.BamlLiteralValue; switch (lit.literal) { case 'stringValue': return lit.stringValue; @@ -463,7 +463,7 @@ function decodeValueHolder( * class), fall back to a plain object — preserving the pre-typemap behavior. */ function decodeClass( - classValue: baml_core.cffi.v1.IBamlValueClass, + classValue: baml_bridge.cffi.v1.IBamlValueClass, typeMap: BamlTypeMap, ): unknown { const fieldDict: Record = {}; @@ -528,7 +528,7 @@ function decodeClass( * the raw variant string when the FQN is unmapped (bare bridge / unmapped enum). */ function decodeEnum( - enumValue: baml_core.cffi.v1.IBamlValueEnum, + enumValue: baml_bridge.cffi.v1.IBamlValueEnum, typeMap: BamlTypeMap, ): unknown { const fqn = enumValue.name ?? ''; @@ -622,8 +622,8 @@ function reshapeHostArgs(positional: unknown[], optional: Record { +export const baml_bridge = $root.baml_bridge = (() => { /** - * Namespace baml_core. - * @exports baml_core + * Namespace baml_bridge. + * @exports baml_bridge * @namespace */ - const baml_core = {}; + const baml_bridge = {}; - baml_core.cffi = (function() { + baml_bridge.cffi = (function() { /** * Namespace cffi. - * @memberof baml_core + * @memberof baml_bridge * @namespace */ const cffi = {}; @@ -36,7 +36,7 @@ export const baml_core = $root.baml_core = (() => { /** * Namespace v1. - * @memberof baml_core.cffi + * @memberof baml_bridge.cffi * @namespace */ const v1 = {}; @@ -45,29 +45,29 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of an InboundValue. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IInboundValue * @property {string|null} [stringValue] InboundValue stringValue * @property {number|Long|null} [intValue] InboundValue intValue * @property {number|null} [floatValue] InboundValue floatValue * @property {boolean|null} [boolValue] InboundValue boolValue - * @property {baml_core.cffi.v1.IInboundListValue|null} [listValue] InboundValue listValue - * @property {baml_core.cffi.v1.IInboundMapValue|null} [mapValue] InboundValue mapValue - * @property {baml_core.cffi.v1.IInboundClassValue|null} [classValue] InboundValue classValue - * @property {baml_core.cffi.v1.IInboundEnumValue|null} [enumValue] InboundValue enumValue - * @property {baml_core.cffi.v1.IBamlHandle|null} [handle] InboundValue handle + * @property {baml_bridge.cffi.v1.IInboundListValue|null} [listValue] InboundValue listValue + * @property {baml_bridge.cffi.v1.IInboundMapValue|null} [mapValue] InboundValue mapValue + * @property {baml_bridge.cffi.v1.IInboundClassValue|null} [classValue] InboundValue classValue + * @property {baml_bridge.cffi.v1.IInboundEnumValue|null} [enumValue] InboundValue enumValue + * @property {baml_bridge.cffi.v1.IBamlHandle|null} [handle] InboundValue handle * @property {Uint8Array|null} [uint8arrayValue] InboundValue uint8arrayValue * @property {string|null} [bigintValue] InboundValue bigintValue - * @property {baml_core.cffi.v1.IBamlTy|null} [tyValue] InboundValue tyValue + * @property {baml_bridge.cffi.v1.IBamlTy|null} [tyValue] InboundValue tyValue */ /** * Constructs a new InboundValue. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents an InboundValue. * @implements IInboundValue * @constructor - * @param {baml_core.cffi.v1.IInboundValue=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IInboundValue=} [properties] Properties to set */ function InboundValue(properties) { if (properties) @@ -79,7 +79,7 @@ export const baml_core = $root.baml_core = (() => { /** * InboundValue stringValue. * @member {string|null|undefined} stringValue - * @memberof baml_core.cffi.v1.InboundValue + * @memberof baml_bridge.cffi.v1.InboundValue * @instance */ InboundValue.prototype.stringValue = null; @@ -87,7 +87,7 @@ export const baml_core = $root.baml_core = (() => { /** * InboundValue intValue. * @member {number|Long|null|undefined} intValue - * @memberof baml_core.cffi.v1.InboundValue + * @memberof baml_bridge.cffi.v1.InboundValue * @instance */ InboundValue.prototype.intValue = null; @@ -95,7 +95,7 @@ export const baml_core = $root.baml_core = (() => { /** * InboundValue floatValue. * @member {number|null|undefined} floatValue - * @memberof baml_core.cffi.v1.InboundValue + * @memberof baml_bridge.cffi.v1.InboundValue * @instance */ InboundValue.prototype.floatValue = null; @@ -103,47 +103,47 @@ export const baml_core = $root.baml_core = (() => { /** * InboundValue boolValue. * @member {boolean|null|undefined} boolValue - * @memberof baml_core.cffi.v1.InboundValue + * @memberof baml_bridge.cffi.v1.InboundValue * @instance */ InboundValue.prototype.boolValue = null; /** * InboundValue listValue. - * @member {baml_core.cffi.v1.IInboundListValue|null|undefined} listValue - * @memberof baml_core.cffi.v1.InboundValue + * @member {baml_bridge.cffi.v1.IInboundListValue|null|undefined} listValue + * @memberof baml_bridge.cffi.v1.InboundValue * @instance */ InboundValue.prototype.listValue = null; /** * InboundValue mapValue. - * @member {baml_core.cffi.v1.IInboundMapValue|null|undefined} mapValue - * @memberof baml_core.cffi.v1.InboundValue + * @member {baml_bridge.cffi.v1.IInboundMapValue|null|undefined} mapValue + * @memberof baml_bridge.cffi.v1.InboundValue * @instance */ InboundValue.prototype.mapValue = null; /** * InboundValue classValue. - * @member {baml_core.cffi.v1.IInboundClassValue|null|undefined} classValue - * @memberof baml_core.cffi.v1.InboundValue + * @member {baml_bridge.cffi.v1.IInboundClassValue|null|undefined} classValue + * @memberof baml_bridge.cffi.v1.InboundValue * @instance */ InboundValue.prototype.classValue = null; /** * InboundValue enumValue. - * @member {baml_core.cffi.v1.IInboundEnumValue|null|undefined} enumValue - * @memberof baml_core.cffi.v1.InboundValue + * @member {baml_bridge.cffi.v1.IInboundEnumValue|null|undefined} enumValue + * @memberof baml_bridge.cffi.v1.InboundValue * @instance */ InboundValue.prototype.enumValue = null; /** * InboundValue handle. - * @member {baml_core.cffi.v1.IBamlHandle|null|undefined} handle - * @memberof baml_core.cffi.v1.InboundValue + * @member {baml_bridge.cffi.v1.IBamlHandle|null|undefined} handle + * @memberof baml_bridge.cffi.v1.InboundValue * @instance */ InboundValue.prototype.handle = null; @@ -151,7 +151,7 @@ export const baml_core = $root.baml_core = (() => { /** * InboundValue uint8arrayValue. * @member {Uint8Array|null|undefined} uint8arrayValue - * @memberof baml_core.cffi.v1.InboundValue + * @memberof baml_bridge.cffi.v1.InboundValue * @instance */ InboundValue.prototype.uint8arrayValue = null; @@ -159,15 +159,15 @@ export const baml_core = $root.baml_core = (() => { /** * InboundValue bigintValue. * @member {string|null|undefined} bigintValue - * @memberof baml_core.cffi.v1.InboundValue + * @memberof baml_bridge.cffi.v1.InboundValue * @instance */ InboundValue.prototype.bigintValue = null; /** * InboundValue tyValue. - * @member {baml_core.cffi.v1.IBamlTy|null|undefined} tyValue - * @memberof baml_core.cffi.v1.InboundValue + * @member {baml_bridge.cffi.v1.IBamlTy|null|undefined} tyValue + * @memberof baml_bridge.cffi.v1.InboundValue * @instance */ InboundValue.prototype.tyValue = null; @@ -178,7 +178,7 @@ export const baml_core = $root.baml_core = (() => { /** * InboundValue value. * @member {"stringValue"|"intValue"|"floatValue"|"boolValue"|"listValue"|"mapValue"|"classValue"|"enumValue"|"handle"|"uint8arrayValue"|"bigintValue"|"tyValue"|undefined} value - * @memberof baml_core.cffi.v1.InboundValue + * @memberof baml_bridge.cffi.v1.InboundValue * @instance */ Object.defineProperty(InboundValue.prototype, "value", { @@ -189,21 +189,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new InboundValue instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.InboundValue + * @memberof baml_bridge.cffi.v1.InboundValue * @static - * @param {baml_core.cffi.v1.IInboundValue=} [properties] Properties to set - * @returns {baml_core.cffi.v1.InboundValue} InboundValue instance + * @param {baml_bridge.cffi.v1.IInboundValue=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.InboundValue} InboundValue instance */ InboundValue.create = function create(properties) { return new InboundValue(properties); }; /** - * Encodes the specified InboundValue message. Does not implicitly {@link baml_core.cffi.v1.InboundValue.verify|verify} messages. + * Encodes the specified InboundValue message. Does not implicitly {@link baml_bridge.cffi.v1.InboundValue.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.InboundValue + * @memberof baml_bridge.cffi.v1.InboundValue * @static - * @param {baml_core.cffi.v1.IInboundValue} message InboundValue message or plain object to encode + * @param {baml_bridge.cffi.v1.IInboundValue} message InboundValue message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -223,30 +223,30 @@ export const baml_core = $root.baml_core = (() => { if (message.boolValue != null && Object.hasOwnProperty.call(message, "boolValue")) writer.uint32(/* id 5, wireType 0 =*/40).bool(message.boolValue); if (message.listValue != null && Object.hasOwnProperty.call(message, "listValue")) - $root.baml_core.cffi.v1.InboundListValue.encode(message.listValue, writer.uint32(/* id 6, wireType 2 =*/50).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.InboundListValue.encode(message.listValue, writer.uint32(/* id 6, wireType 2 =*/50).fork(), q + 1).ldelim(); if (message.mapValue != null && Object.hasOwnProperty.call(message, "mapValue")) - $root.baml_core.cffi.v1.InboundMapValue.encode(message.mapValue, writer.uint32(/* id 7, wireType 2 =*/58).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.InboundMapValue.encode(message.mapValue, writer.uint32(/* id 7, wireType 2 =*/58).fork(), q + 1).ldelim(); if (message.classValue != null && Object.hasOwnProperty.call(message, "classValue")) - $root.baml_core.cffi.v1.InboundClassValue.encode(message.classValue, writer.uint32(/* id 8, wireType 2 =*/66).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.InboundClassValue.encode(message.classValue, writer.uint32(/* id 8, wireType 2 =*/66).fork(), q + 1).ldelim(); if (message.enumValue != null && Object.hasOwnProperty.call(message, "enumValue")) - $root.baml_core.cffi.v1.InboundEnumValue.encode(message.enumValue, writer.uint32(/* id 9, wireType 2 =*/74).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.InboundEnumValue.encode(message.enumValue, writer.uint32(/* id 9, wireType 2 =*/74).fork(), q + 1).ldelim(); if (message.handle != null && Object.hasOwnProperty.call(message, "handle")) - $root.baml_core.cffi.v1.BamlHandle.encode(message.handle, writer.uint32(/* id 10, wireType 2 =*/82).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlHandle.encode(message.handle, writer.uint32(/* id 10, wireType 2 =*/82).fork(), q + 1).ldelim(); if (message.uint8arrayValue != null && Object.hasOwnProperty.call(message, "uint8arrayValue")) writer.uint32(/* id 11, wireType 2 =*/90).bytes(message.uint8arrayValue); if (message.bigintValue != null && Object.hasOwnProperty.call(message, "bigintValue")) writer.uint32(/* id 12, wireType 2 =*/98).string(message.bigintValue); if (message.tyValue != null && Object.hasOwnProperty.call(message, "tyValue")) - $root.baml_core.cffi.v1.BamlTy.encode(message.tyValue, writer.uint32(/* id 13, wireType 2 =*/106).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.tyValue, writer.uint32(/* id 13, wireType 2 =*/106).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified InboundValue message, length delimited. Does not implicitly {@link baml_core.cffi.v1.InboundValue.verify|verify} messages. + * Encodes the specified InboundValue message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.InboundValue.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.InboundValue + * @memberof baml_bridge.cffi.v1.InboundValue * @static - * @param {baml_core.cffi.v1.IInboundValue} message InboundValue message or plain object to encode + * @param {baml_bridge.cffi.v1.IInboundValue} message InboundValue message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -257,11 +257,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes an InboundValue message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.InboundValue + * @memberof baml_bridge.cffi.v1.InboundValue * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.InboundValue} InboundValue + * @returns {baml_bridge.cffi.v1.InboundValue} InboundValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -272,7 +272,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.InboundValue(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.InboundValue(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -295,23 +295,23 @@ export const baml_core = $root.baml_core = (() => { break; } case 6: { - message.listValue = $root.baml_core.cffi.v1.InboundListValue.decode(reader, reader.uint32(), undefined, long + 1); + message.listValue = $root.baml_bridge.cffi.v1.InboundListValue.decode(reader, reader.uint32(), undefined, long + 1); break; } case 7: { - message.mapValue = $root.baml_core.cffi.v1.InboundMapValue.decode(reader, reader.uint32(), undefined, long + 1); + message.mapValue = $root.baml_bridge.cffi.v1.InboundMapValue.decode(reader, reader.uint32(), undefined, long + 1); break; } case 8: { - message.classValue = $root.baml_core.cffi.v1.InboundClassValue.decode(reader, reader.uint32(), undefined, long + 1); + message.classValue = $root.baml_bridge.cffi.v1.InboundClassValue.decode(reader, reader.uint32(), undefined, long + 1); break; } case 9: { - message.enumValue = $root.baml_core.cffi.v1.InboundEnumValue.decode(reader, reader.uint32(), undefined, long + 1); + message.enumValue = $root.baml_bridge.cffi.v1.InboundEnumValue.decode(reader, reader.uint32(), undefined, long + 1); break; } case 10: { - message.handle = $root.baml_core.cffi.v1.BamlHandle.decode(reader, reader.uint32(), undefined, long + 1); + message.handle = $root.baml_bridge.cffi.v1.BamlHandle.decode(reader, reader.uint32(), undefined, long + 1); break; } case 11: { @@ -323,7 +323,7 @@ export const baml_core = $root.baml_core = (() => { break; } case 13: { - message.tyValue = $root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); + message.tyValue = $root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); break; } default: @@ -337,10 +337,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes an InboundValue message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.InboundValue + * @memberof baml_bridge.cffi.v1.InboundValue * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.InboundValue} InboundValue + * @returns {baml_bridge.cffi.v1.InboundValue} InboundValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -353,7 +353,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies an InboundValue message. * @function verify - * @memberof baml_core.cffi.v1.InboundValue + * @memberof baml_bridge.cffi.v1.InboundValue * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -397,7 +397,7 @@ export const baml_core = $root.baml_core = (() => { return "value: multiple values"; properties.value = 1; { - let error = $root.baml_core.cffi.v1.InboundListValue.verify(message.listValue, long + 1); + let error = $root.baml_bridge.cffi.v1.InboundListValue.verify(message.listValue, long + 1); if (error) return "listValue." + error; } @@ -407,7 +407,7 @@ export const baml_core = $root.baml_core = (() => { return "value: multiple values"; properties.value = 1; { - let error = $root.baml_core.cffi.v1.InboundMapValue.verify(message.mapValue, long + 1); + let error = $root.baml_bridge.cffi.v1.InboundMapValue.verify(message.mapValue, long + 1); if (error) return "mapValue." + error; } @@ -417,7 +417,7 @@ export const baml_core = $root.baml_core = (() => { return "value: multiple values"; properties.value = 1; { - let error = $root.baml_core.cffi.v1.InboundClassValue.verify(message.classValue, long + 1); + let error = $root.baml_bridge.cffi.v1.InboundClassValue.verify(message.classValue, long + 1); if (error) return "classValue." + error; } @@ -427,7 +427,7 @@ export const baml_core = $root.baml_core = (() => { return "value: multiple values"; properties.value = 1; { - let error = $root.baml_core.cffi.v1.InboundEnumValue.verify(message.enumValue, long + 1); + let error = $root.baml_bridge.cffi.v1.InboundEnumValue.verify(message.enumValue, long + 1); if (error) return "enumValue." + error; } @@ -437,7 +437,7 @@ export const baml_core = $root.baml_core = (() => { return "value: multiple values"; properties.value = 1; { - let error = $root.baml_core.cffi.v1.BamlHandle.verify(message.handle, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlHandle.verify(message.handle, long + 1); if (error) return "handle." + error; } @@ -461,7 +461,7 @@ export const baml_core = $root.baml_core = (() => { return "value: multiple values"; properties.value = 1; { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.tyValue, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.tyValue, long + 1); if (error) return "tyValue." + error; } @@ -472,21 +472,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates an InboundValue message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.InboundValue + * @memberof baml_bridge.cffi.v1.InboundValue * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.InboundValue} InboundValue + * @returns {baml_bridge.cffi.v1.InboundValue} InboundValue */ InboundValue.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.InboundValue) + if (object instanceof $root.baml_bridge.cffi.v1.InboundValue) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.InboundValue: object expected"); + throw TypeError(".baml_bridge.cffi.v1.InboundValue: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.InboundValue(); + let message = new $root.baml_bridge.cffi.v1.InboundValue(); if (object.stringValue != null) message.stringValue = String(object.stringValue); if (object.intValue != null) @@ -504,28 +504,28 @@ export const baml_core = $root.baml_core = (() => { message.boolValue = Boolean(object.boolValue); if (object.listValue != null) { if (!$util.isObject(object.listValue)) - throw TypeError(".baml_core.cffi.v1.InboundValue.listValue: object expected"); - message.listValue = $root.baml_core.cffi.v1.InboundListValue.fromObject(object.listValue, long + 1); + throw TypeError(".baml_bridge.cffi.v1.InboundValue.listValue: object expected"); + message.listValue = $root.baml_bridge.cffi.v1.InboundListValue.fromObject(object.listValue, long + 1); } if (object.mapValue != null) { if (!$util.isObject(object.mapValue)) - throw TypeError(".baml_core.cffi.v1.InboundValue.mapValue: object expected"); - message.mapValue = $root.baml_core.cffi.v1.InboundMapValue.fromObject(object.mapValue, long + 1); + throw TypeError(".baml_bridge.cffi.v1.InboundValue.mapValue: object expected"); + message.mapValue = $root.baml_bridge.cffi.v1.InboundMapValue.fromObject(object.mapValue, long + 1); } if (object.classValue != null) { if (!$util.isObject(object.classValue)) - throw TypeError(".baml_core.cffi.v1.InboundValue.classValue: object expected"); - message.classValue = $root.baml_core.cffi.v1.InboundClassValue.fromObject(object.classValue, long + 1); + throw TypeError(".baml_bridge.cffi.v1.InboundValue.classValue: object expected"); + message.classValue = $root.baml_bridge.cffi.v1.InboundClassValue.fromObject(object.classValue, long + 1); } if (object.enumValue != null) { if (!$util.isObject(object.enumValue)) - throw TypeError(".baml_core.cffi.v1.InboundValue.enumValue: object expected"); - message.enumValue = $root.baml_core.cffi.v1.InboundEnumValue.fromObject(object.enumValue, long + 1); + throw TypeError(".baml_bridge.cffi.v1.InboundValue.enumValue: object expected"); + message.enumValue = $root.baml_bridge.cffi.v1.InboundEnumValue.fromObject(object.enumValue, long + 1); } if (object.handle != null) { if (!$util.isObject(object.handle)) - throw TypeError(".baml_core.cffi.v1.InboundValue.handle: object expected"); - message.handle = $root.baml_core.cffi.v1.BamlHandle.fromObject(object.handle, long + 1); + throw TypeError(".baml_bridge.cffi.v1.InboundValue.handle: object expected"); + message.handle = $root.baml_bridge.cffi.v1.BamlHandle.fromObject(object.handle, long + 1); } if (object.uint8arrayValue != null) if (typeof object.uint8arrayValue === "string") @@ -536,8 +536,8 @@ export const baml_core = $root.baml_core = (() => { message.bigintValue = String(object.bigintValue); if (object.tyValue != null) { if (!$util.isObject(object.tyValue)) - throw TypeError(".baml_core.cffi.v1.InboundValue.tyValue: object expected"); - message.tyValue = $root.baml_core.cffi.v1.BamlTy.fromObject(object.tyValue, long + 1); + throw TypeError(".baml_bridge.cffi.v1.InboundValue.tyValue: object expected"); + message.tyValue = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.tyValue, long + 1); } return message; }; @@ -545,9 +545,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from an InboundValue message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.InboundValue + * @memberof baml_bridge.cffi.v1.InboundValue * @static - * @param {baml_core.cffi.v1.InboundValue} message InboundValue + * @param {baml_bridge.cffi.v1.InboundValue} message InboundValue * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -585,27 +585,27 @@ export const baml_core = $root.baml_core = (() => { object.value = "boolValue"; } if (message.listValue != null && message.hasOwnProperty("listValue")) { - object.listValue = $root.baml_core.cffi.v1.InboundListValue.toObject(message.listValue, options, q + 1); + object.listValue = $root.baml_bridge.cffi.v1.InboundListValue.toObject(message.listValue, options, q + 1); if (options.oneofs) object.value = "listValue"; } if (message.mapValue != null && message.hasOwnProperty("mapValue")) { - object.mapValue = $root.baml_core.cffi.v1.InboundMapValue.toObject(message.mapValue, options, q + 1); + object.mapValue = $root.baml_bridge.cffi.v1.InboundMapValue.toObject(message.mapValue, options, q + 1); if (options.oneofs) object.value = "mapValue"; } if (message.classValue != null && message.hasOwnProperty("classValue")) { - object.classValue = $root.baml_core.cffi.v1.InboundClassValue.toObject(message.classValue, options, q + 1); + object.classValue = $root.baml_bridge.cffi.v1.InboundClassValue.toObject(message.classValue, options, q + 1); if (options.oneofs) object.value = "classValue"; } if (message.enumValue != null && message.hasOwnProperty("enumValue")) { - object.enumValue = $root.baml_core.cffi.v1.InboundEnumValue.toObject(message.enumValue, options, q + 1); + object.enumValue = $root.baml_bridge.cffi.v1.InboundEnumValue.toObject(message.enumValue, options, q + 1); if (options.oneofs) object.value = "enumValue"; } if (message.handle != null && message.hasOwnProperty("handle")) { - object.handle = $root.baml_core.cffi.v1.BamlHandle.toObject(message.handle, options, q + 1); + object.handle = $root.baml_bridge.cffi.v1.BamlHandle.toObject(message.handle, options, q + 1); if (options.oneofs) object.value = "handle"; } @@ -620,7 +620,7 @@ export const baml_core = $root.baml_core = (() => { object.value = "bigintValue"; } if (message.tyValue != null && message.hasOwnProperty("tyValue")) { - object.tyValue = $root.baml_core.cffi.v1.BamlTy.toObject(message.tyValue, options, q + 1); + object.tyValue = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.tyValue, options, q + 1); if (options.oneofs) object.value = "tyValue"; } @@ -630,7 +630,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this InboundValue to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.InboundValue + * @memberof baml_bridge.cffi.v1.InboundValue * @instance * @returns {Object.} JSON object */ @@ -641,7 +641,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for InboundValue * @function getTypeUrl - * @memberof baml_core.cffi.v1.InboundValue + * @memberof baml_bridge.cffi.v1.InboundValue * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -650,7 +650,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.InboundValue"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.InboundValue"; }; return InboundValue; @@ -660,18 +660,18 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of an InboundListValue. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IInboundListValue - * @property {Array.|null} [values] InboundListValue values + * @property {Array.|null} [values] InboundListValue values */ /** * Constructs a new InboundListValue. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents an InboundListValue. * @implements IInboundListValue * @constructor - * @param {baml_core.cffi.v1.IInboundListValue=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IInboundListValue=} [properties] Properties to set */ function InboundListValue(properties) { this.values = []; @@ -683,8 +683,8 @@ export const baml_core = $root.baml_core = (() => { /** * InboundListValue values. - * @member {Array.} values - * @memberof baml_core.cffi.v1.InboundListValue + * @member {Array.} values + * @memberof baml_bridge.cffi.v1.InboundListValue * @instance */ InboundListValue.prototype.values = $util.emptyArray; @@ -692,21 +692,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new InboundListValue instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.InboundListValue + * @memberof baml_bridge.cffi.v1.InboundListValue * @static - * @param {baml_core.cffi.v1.IInboundListValue=} [properties] Properties to set - * @returns {baml_core.cffi.v1.InboundListValue} InboundListValue instance + * @param {baml_bridge.cffi.v1.IInboundListValue=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.InboundListValue} InboundListValue instance */ InboundListValue.create = function create(properties) { return new InboundListValue(properties); }; /** - * Encodes the specified InboundListValue message. Does not implicitly {@link baml_core.cffi.v1.InboundListValue.verify|verify} messages. + * Encodes the specified InboundListValue message. Does not implicitly {@link baml_bridge.cffi.v1.InboundListValue.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.InboundListValue + * @memberof baml_bridge.cffi.v1.InboundListValue * @static - * @param {baml_core.cffi.v1.IInboundListValue} message InboundListValue message or plain object to encode + * @param {baml_bridge.cffi.v1.IInboundListValue} message InboundListValue message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -719,16 +719,16 @@ export const baml_core = $root.baml_core = (() => { throw Error("max depth exceeded"); if (message.values != null && message.values.length) for (let i = 0; i < message.values.length; ++i) - $root.baml_core.cffi.v1.InboundValue.encode(message.values[i], writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.InboundValue.encode(message.values[i], writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified InboundListValue message, length delimited. Does not implicitly {@link baml_core.cffi.v1.InboundListValue.verify|verify} messages. + * Encodes the specified InboundListValue message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.InboundListValue.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.InboundListValue + * @memberof baml_bridge.cffi.v1.InboundListValue * @static - * @param {baml_core.cffi.v1.IInboundListValue} message InboundListValue message or plain object to encode + * @param {baml_bridge.cffi.v1.IInboundListValue} message InboundListValue message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -739,11 +739,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes an InboundListValue message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.InboundListValue + * @memberof baml_bridge.cffi.v1.InboundListValue * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.InboundListValue} InboundListValue + * @returns {baml_bridge.cffi.v1.InboundListValue} InboundListValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -754,7 +754,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.InboundListValue(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.InboundListValue(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -763,7 +763,7 @@ export const baml_core = $root.baml_core = (() => { case 1: { if (!(message.values && message.values.length)) message.values = []; - message.values.push($root.baml_core.cffi.v1.InboundValue.decode(reader, reader.uint32(), undefined, long + 1)); + message.values.push($root.baml_bridge.cffi.v1.InboundValue.decode(reader, reader.uint32(), undefined, long + 1)); break; } default: @@ -777,10 +777,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes an InboundListValue message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.InboundListValue + * @memberof baml_bridge.cffi.v1.InboundListValue * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.InboundListValue} InboundListValue + * @returns {baml_bridge.cffi.v1.InboundListValue} InboundListValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -793,7 +793,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies an InboundListValue message. * @function verify - * @memberof baml_core.cffi.v1.InboundListValue + * @memberof baml_bridge.cffi.v1.InboundListValue * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -809,7 +809,7 @@ export const baml_core = $root.baml_core = (() => { if (!Array.isArray(message.values)) return "values: array expected"; for (let i = 0; i < message.values.length; ++i) { - let error = $root.baml_core.cffi.v1.InboundValue.verify(message.values[i], long + 1); + let error = $root.baml_bridge.cffi.v1.InboundValue.verify(message.values[i], long + 1); if (error) return "values." + error; } @@ -820,29 +820,29 @@ export const baml_core = $root.baml_core = (() => { /** * Creates an InboundListValue message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.InboundListValue + * @memberof baml_bridge.cffi.v1.InboundListValue * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.InboundListValue} InboundListValue + * @returns {baml_bridge.cffi.v1.InboundListValue} InboundListValue */ InboundListValue.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.InboundListValue) + if (object instanceof $root.baml_bridge.cffi.v1.InboundListValue) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.InboundListValue: object expected"); + throw TypeError(".baml_bridge.cffi.v1.InboundListValue: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.InboundListValue(); + let message = new $root.baml_bridge.cffi.v1.InboundListValue(); if (object.values) { if (!Array.isArray(object.values)) - throw TypeError(".baml_core.cffi.v1.InboundListValue.values: array expected"); + throw TypeError(".baml_bridge.cffi.v1.InboundListValue.values: array expected"); message.values = []; for (let i = 0; i < object.values.length; ++i) { if (!$util.isObject(object.values[i])) - throw TypeError(".baml_core.cffi.v1.InboundListValue.values: object expected"); - message.values[i] = $root.baml_core.cffi.v1.InboundValue.fromObject(object.values[i], long + 1); + throw TypeError(".baml_bridge.cffi.v1.InboundListValue.values: object expected"); + message.values[i] = $root.baml_bridge.cffi.v1.InboundValue.fromObject(object.values[i], long + 1); } } return message; @@ -851,9 +851,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from an InboundListValue message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.InboundListValue + * @memberof baml_bridge.cffi.v1.InboundListValue * @static - * @param {baml_core.cffi.v1.InboundListValue} message InboundListValue + * @param {baml_bridge.cffi.v1.InboundListValue} message InboundListValue * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -870,7 +870,7 @@ export const baml_core = $root.baml_core = (() => { if (message.values && message.values.length) { object.values = []; for (let j = 0; j < message.values.length; ++j) - object.values[j] = $root.baml_core.cffi.v1.InboundValue.toObject(message.values[j], options, q + 1); + object.values[j] = $root.baml_bridge.cffi.v1.InboundValue.toObject(message.values[j], options, q + 1); } return object; }; @@ -878,7 +878,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this InboundListValue to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.InboundListValue + * @memberof baml_bridge.cffi.v1.InboundListValue * @instance * @returns {Object.} JSON object */ @@ -889,7 +889,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for InboundListValue * @function getTypeUrl - * @memberof baml_core.cffi.v1.InboundListValue + * @memberof baml_bridge.cffi.v1.InboundListValue * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -898,7 +898,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.InboundListValue"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.InboundListValue"; }; return InboundListValue; @@ -908,18 +908,18 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of an InboundMapValue. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IInboundMapValue - * @property {Array.|null} [entries] InboundMapValue entries + * @property {Array.|null} [entries] InboundMapValue entries */ /** * Constructs a new InboundMapValue. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents an InboundMapValue. * @implements IInboundMapValue * @constructor - * @param {baml_core.cffi.v1.IInboundMapValue=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IInboundMapValue=} [properties] Properties to set */ function InboundMapValue(properties) { this.entries = []; @@ -931,8 +931,8 @@ export const baml_core = $root.baml_core = (() => { /** * InboundMapValue entries. - * @member {Array.} entries - * @memberof baml_core.cffi.v1.InboundMapValue + * @member {Array.} entries + * @memberof baml_bridge.cffi.v1.InboundMapValue * @instance */ InboundMapValue.prototype.entries = $util.emptyArray; @@ -940,21 +940,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new InboundMapValue instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.InboundMapValue + * @memberof baml_bridge.cffi.v1.InboundMapValue * @static - * @param {baml_core.cffi.v1.IInboundMapValue=} [properties] Properties to set - * @returns {baml_core.cffi.v1.InboundMapValue} InboundMapValue instance + * @param {baml_bridge.cffi.v1.IInboundMapValue=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.InboundMapValue} InboundMapValue instance */ InboundMapValue.create = function create(properties) { return new InboundMapValue(properties); }; /** - * Encodes the specified InboundMapValue message. Does not implicitly {@link baml_core.cffi.v1.InboundMapValue.verify|verify} messages. + * Encodes the specified InboundMapValue message. Does not implicitly {@link baml_bridge.cffi.v1.InboundMapValue.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.InboundMapValue + * @memberof baml_bridge.cffi.v1.InboundMapValue * @static - * @param {baml_core.cffi.v1.IInboundMapValue} message InboundMapValue message or plain object to encode + * @param {baml_bridge.cffi.v1.IInboundMapValue} message InboundMapValue message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -967,16 +967,16 @@ export const baml_core = $root.baml_core = (() => { throw Error("max depth exceeded"); if (message.entries != null && message.entries.length) for (let i = 0; i < message.entries.length; ++i) - $root.baml_core.cffi.v1.InboundMapEntry.encode(message.entries[i], writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.InboundMapEntry.encode(message.entries[i], writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified InboundMapValue message, length delimited. Does not implicitly {@link baml_core.cffi.v1.InboundMapValue.verify|verify} messages. + * Encodes the specified InboundMapValue message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.InboundMapValue.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.InboundMapValue + * @memberof baml_bridge.cffi.v1.InboundMapValue * @static - * @param {baml_core.cffi.v1.IInboundMapValue} message InboundMapValue message or plain object to encode + * @param {baml_bridge.cffi.v1.IInboundMapValue} message InboundMapValue message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -987,11 +987,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes an InboundMapValue message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.InboundMapValue + * @memberof baml_bridge.cffi.v1.InboundMapValue * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.InboundMapValue} InboundMapValue + * @returns {baml_bridge.cffi.v1.InboundMapValue} InboundMapValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -1002,7 +1002,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.InboundMapValue(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.InboundMapValue(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -1011,7 +1011,7 @@ export const baml_core = $root.baml_core = (() => { case 1: { if (!(message.entries && message.entries.length)) message.entries = []; - message.entries.push($root.baml_core.cffi.v1.InboundMapEntry.decode(reader, reader.uint32(), undefined, long + 1)); + message.entries.push($root.baml_bridge.cffi.v1.InboundMapEntry.decode(reader, reader.uint32(), undefined, long + 1)); break; } default: @@ -1025,10 +1025,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes an InboundMapValue message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.InboundMapValue + * @memberof baml_bridge.cffi.v1.InboundMapValue * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.InboundMapValue} InboundMapValue + * @returns {baml_bridge.cffi.v1.InboundMapValue} InboundMapValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -1041,7 +1041,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies an InboundMapValue message. * @function verify - * @memberof baml_core.cffi.v1.InboundMapValue + * @memberof baml_bridge.cffi.v1.InboundMapValue * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -1057,7 +1057,7 @@ export const baml_core = $root.baml_core = (() => { if (!Array.isArray(message.entries)) return "entries: array expected"; for (let i = 0; i < message.entries.length; ++i) { - let error = $root.baml_core.cffi.v1.InboundMapEntry.verify(message.entries[i], long + 1); + let error = $root.baml_bridge.cffi.v1.InboundMapEntry.verify(message.entries[i], long + 1); if (error) return "entries." + error; } @@ -1068,29 +1068,29 @@ export const baml_core = $root.baml_core = (() => { /** * Creates an InboundMapValue message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.InboundMapValue + * @memberof baml_bridge.cffi.v1.InboundMapValue * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.InboundMapValue} InboundMapValue + * @returns {baml_bridge.cffi.v1.InboundMapValue} InboundMapValue */ InboundMapValue.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.InboundMapValue) + if (object instanceof $root.baml_bridge.cffi.v1.InboundMapValue) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.InboundMapValue: object expected"); + throw TypeError(".baml_bridge.cffi.v1.InboundMapValue: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.InboundMapValue(); + let message = new $root.baml_bridge.cffi.v1.InboundMapValue(); if (object.entries) { if (!Array.isArray(object.entries)) - throw TypeError(".baml_core.cffi.v1.InboundMapValue.entries: array expected"); + throw TypeError(".baml_bridge.cffi.v1.InboundMapValue.entries: array expected"); message.entries = []; for (let i = 0; i < object.entries.length; ++i) { if (!$util.isObject(object.entries[i])) - throw TypeError(".baml_core.cffi.v1.InboundMapValue.entries: object expected"); - message.entries[i] = $root.baml_core.cffi.v1.InboundMapEntry.fromObject(object.entries[i], long + 1); + throw TypeError(".baml_bridge.cffi.v1.InboundMapValue.entries: object expected"); + message.entries[i] = $root.baml_bridge.cffi.v1.InboundMapEntry.fromObject(object.entries[i], long + 1); } } return message; @@ -1099,9 +1099,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from an InboundMapValue message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.InboundMapValue + * @memberof baml_bridge.cffi.v1.InboundMapValue * @static - * @param {baml_core.cffi.v1.InboundMapValue} message InboundMapValue + * @param {baml_bridge.cffi.v1.InboundMapValue} message InboundMapValue * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -1118,7 +1118,7 @@ export const baml_core = $root.baml_core = (() => { if (message.entries && message.entries.length) { object.entries = []; for (let j = 0; j < message.entries.length; ++j) - object.entries[j] = $root.baml_core.cffi.v1.InboundMapEntry.toObject(message.entries[j], options, q + 1); + object.entries[j] = $root.baml_bridge.cffi.v1.InboundMapEntry.toObject(message.entries[j], options, q + 1); } return object; }; @@ -1126,7 +1126,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this InboundMapValue to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.InboundMapValue + * @memberof baml_bridge.cffi.v1.InboundMapValue * @instance * @returns {Object.} JSON object */ @@ -1137,7 +1137,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for InboundMapValue * @function getTypeUrl - * @memberof baml_core.cffi.v1.InboundMapValue + * @memberof baml_bridge.cffi.v1.InboundMapValue * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -1146,7 +1146,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.InboundMapValue"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.InboundMapValue"; }; return InboundMapValue; @@ -1156,22 +1156,22 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of an InboundMapEntry. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IInboundMapEntry * @property {string|null} [stringKey] InboundMapEntry stringKey * @property {number|Long|null} [intKey] InboundMapEntry intKey * @property {boolean|null} [boolKey] InboundMapEntry boolKey - * @property {baml_core.cffi.v1.IInboundEnumValue|null} [enumKey] InboundMapEntry enumKey - * @property {baml_core.cffi.v1.IInboundValue|null} [value] InboundMapEntry value + * @property {baml_bridge.cffi.v1.IInboundEnumValue|null} [enumKey] InboundMapEntry enumKey + * @property {baml_bridge.cffi.v1.IInboundValue|null} [value] InboundMapEntry value */ /** * Constructs a new InboundMapEntry. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents an InboundMapEntry. * @implements IInboundMapEntry * @constructor - * @param {baml_core.cffi.v1.IInboundMapEntry=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IInboundMapEntry=} [properties] Properties to set */ function InboundMapEntry(properties) { if (properties) @@ -1183,7 +1183,7 @@ export const baml_core = $root.baml_core = (() => { /** * InboundMapEntry stringKey. * @member {string|null|undefined} stringKey - * @memberof baml_core.cffi.v1.InboundMapEntry + * @memberof baml_bridge.cffi.v1.InboundMapEntry * @instance */ InboundMapEntry.prototype.stringKey = null; @@ -1191,7 +1191,7 @@ export const baml_core = $root.baml_core = (() => { /** * InboundMapEntry intKey. * @member {number|Long|null|undefined} intKey - * @memberof baml_core.cffi.v1.InboundMapEntry + * @memberof baml_bridge.cffi.v1.InboundMapEntry * @instance */ InboundMapEntry.prototype.intKey = null; @@ -1199,23 +1199,23 @@ export const baml_core = $root.baml_core = (() => { /** * InboundMapEntry boolKey. * @member {boolean|null|undefined} boolKey - * @memberof baml_core.cffi.v1.InboundMapEntry + * @memberof baml_bridge.cffi.v1.InboundMapEntry * @instance */ InboundMapEntry.prototype.boolKey = null; /** * InboundMapEntry enumKey. - * @member {baml_core.cffi.v1.IInboundEnumValue|null|undefined} enumKey - * @memberof baml_core.cffi.v1.InboundMapEntry + * @member {baml_bridge.cffi.v1.IInboundEnumValue|null|undefined} enumKey + * @memberof baml_bridge.cffi.v1.InboundMapEntry * @instance */ InboundMapEntry.prototype.enumKey = null; /** * InboundMapEntry value. - * @member {baml_core.cffi.v1.IInboundValue|null|undefined} value - * @memberof baml_core.cffi.v1.InboundMapEntry + * @member {baml_bridge.cffi.v1.IInboundValue|null|undefined} value + * @memberof baml_bridge.cffi.v1.InboundMapEntry * @instance */ InboundMapEntry.prototype.value = null; @@ -1226,7 +1226,7 @@ export const baml_core = $root.baml_core = (() => { /** * InboundMapEntry key. * @member {"stringKey"|"intKey"|"boolKey"|"enumKey"|undefined} key - * @memberof baml_core.cffi.v1.InboundMapEntry + * @memberof baml_bridge.cffi.v1.InboundMapEntry * @instance */ Object.defineProperty(InboundMapEntry.prototype, "key", { @@ -1237,21 +1237,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new InboundMapEntry instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.InboundMapEntry + * @memberof baml_bridge.cffi.v1.InboundMapEntry * @static - * @param {baml_core.cffi.v1.IInboundMapEntry=} [properties] Properties to set - * @returns {baml_core.cffi.v1.InboundMapEntry} InboundMapEntry instance + * @param {baml_bridge.cffi.v1.IInboundMapEntry=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.InboundMapEntry} InboundMapEntry instance */ InboundMapEntry.create = function create(properties) { return new InboundMapEntry(properties); }; /** - * Encodes the specified InboundMapEntry message. Does not implicitly {@link baml_core.cffi.v1.InboundMapEntry.verify|verify} messages. + * Encodes the specified InboundMapEntry message. Does not implicitly {@link baml_bridge.cffi.v1.InboundMapEntry.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.InboundMapEntry + * @memberof baml_bridge.cffi.v1.InboundMapEntry * @static - * @param {baml_core.cffi.v1.IInboundMapEntry} message InboundMapEntry message or plain object to encode + * @param {baml_bridge.cffi.v1.IInboundMapEntry} message InboundMapEntry message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -1269,18 +1269,18 @@ export const baml_core = $root.baml_core = (() => { if (message.boolKey != null && Object.hasOwnProperty.call(message, "boolKey")) writer.uint32(/* id 3, wireType 0 =*/24).bool(message.boolKey); if (message.enumKey != null && Object.hasOwnProperty.call(message, "enumKey")) - $root.baml_core.cffi.v1.InboundEnumValue.encode(message.enumKey, writer.uint32(/* id 5, wireType 2 =*/42).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.InboundEnumValue.encode(message.enumKey, writer.uint32(/* id 5, wireType 2 =*/42).fork(), q + 1).ldelim(); if (message.value != null && Object.hasOwnProperty.call(message, "value")) - $root.baml_core.cffi.v1.InboundValue.encode(message.value, writer.uint32(/* id 6, wireType 2 =*/50).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.InboundValue.encode(message.value, writer.uint32(/* id 6, wireType 2 =*/50).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified InboundMapEntry message, length delimited. Does not implicitly {@link baml_core.cffi.v1.InboundMapEntry.verify|verify} messages. + * Encodes the specified InboundMapEntry message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.InboundMapEntry.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.InboundMapEntry + * @memberof baml_bridge.cffi.v1.InboundMapEntry * @static - * @param {baml_core.cffi.v1.IInboundMapEntry} message InboundMapEntry message or plain object to encode + * @param {baml_bridge.cffi.v1.IInboundMapEntry} message InboundMapEntry message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -1291,11 +1291,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes an InboundMapEntry message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.InboundMapEntry + * @memberof baml_bridge.cffi.v1.InboundMapEntry * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.InboundMapEntry} InboundMapEntry + * @returns {baml_bridge.cffi.v1.InboundMapEntry} InboundMapEntry * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -1306,7 +1306,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.InboundMapEntry(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.InboundMapEntry(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -1325,11 +1325,11 @@ export const baml_core = $root.baml_core = (() => { break; } case 5: { - message.enumKey = $root.baml_core.cffi.v1.InboundEnumValue.decode(reader, reader.uint32(), undefined, long + 1); + message.enumKey = $root.baml_bridge.cffi.v1.InboundEnumValue.decode(reader, reader.uint32(), undefined, long + 1); break; } case 6: { - message.value = $root.baml_core.cffi.v1.InboundValue.decode(reader, reader.uint32(), undefined, long + 1); + message.value = $root.baml_bridge.cffi.v1.InboundValue.decode(reader, reader.uint32(), undefined, long + 1); break; } default: @@ -1343,10 +1343,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes an InboundMapEntry message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.InboundMapEntry + * @memberof baml_bridge.cffi.v1.InboundMapEntry * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.InboundMapEntry} InboundMapEntry + * @returns {baml_bridge.cffi.v1.InboundMapEntry} InboundMapEntry * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -1359,7 +1359,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies an InboundMapEntry message. * @function verify - * @memberof baml_core.cffi.v1.InboundMapEntry + * @memberof baml_bridge.cffi.v1.InboundMapEntry * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -1396,13 +1396,13 @@ export const baml_core = $root.baml_core = (() => { return "key: multiple values"; properties.key = 1; { - let error = $root.baml_core.cffi.v1.InboundEnumValue.verify(message.enumKey, long + 1); + let error = $root.baml_bridge.cffi.v1.InboundEnumValue.verify(message.enumKey, long + 1); if (error) return "enumKey." + error; } } if (message.value != null && message.hasOwnProperty("value")) { - let error = $root.baml_core.cffi.v1.InboundValue.verify(message.value, long + 1); + let error = $root.baml_bridge.cffi.v1.InboundValue.verify(message.value, long + 1); if (error) return "value." + error; } @@ -1412,21 +1412,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates an InboundMapEntry message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.InboundMapEntry + * @memberof baml_bridge.cffi.v1.InboundMapEntry * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.InboundMapEntry} InboundMapEntry + * @returns {baml_bridge.cffi.v1.InboundMapEntry} InboundMapEntry */ InboundMapEntry.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.InboundMapEntry) + if (object instanceof $root.baml_bridge.cffi.v1.InboundMapEntry) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.InboundMapEntry: object expected"); + throw TypeError(".baml_bridge.cffi.v1.InboundMapEntry: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.InboundMapEntry(); + let message = new $root.baml_bridge.cffi.v1.InboundMapEntry(); if (object.stringKey != null) message.stringKey = String(object.stringKey); if (object.intKey != null) @@ -1442,13 +1442,13 @@ export const baml_core = $root.baml_core = (() => { message.boolKey = Boolean(object.boolKey); if (object.enumKey != null) { if (!$util.isObject(object.enumKey)) - throw TypeError(".baml_core.cffi.v1.InboundMapEntry.enumKey: object expected"); - message.enumKey = $root.baml_core.cffi.v1.InboundEnumValue.fromObject(object.enumKey, long + 1); + throw TypeError(".baml_bridge.cffi.v1.InboundMapEntry.enumKey: object expected"); + message.enumKey = $root.baml_bridge.cffi.v1.InboundEnumValue.fromObject(object.enumKey, long + 1); } if (object.value != null) { if (!$util.isObject(object.value)) - throw TypeError(".baml_core.cffi.v1.InboundMapEntry.value: object expected"); - message.value = $root.baml_core.cffi.v1.InboundValue.fromObject(object.value, long + 1); + throw TypeError(".baml_bridge.cffi.v1.InboundMapEntry.value: object expected"); + message.value = $root.baml_bridge.cffi.v1.InboundValue.fromObject(object.value, long + 1); } return message; }; @@ -1456,9 +1456,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from an InboundMapEntry message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.InboundMapEntry + * @memberof baml_bridge.cffi.v1.InboundMapEntry * @static - * @param {baml_core.cffi.v1.InboundMapEntry} message InboundMapEntry + * @param {baml_bridge.cffi.v1.InboundMapEntry} message InboundMapEntry * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -1493,19 +1493,19 @@ export const baml_core = $root.baml_core = (() => { object.key = "boolKey"; } if (message.enumKey != null && message.hasOwnProperty("enumKey")) { - object.enumKey = $root.baml_core.cffi.v1.InboundEnumValue.toObject(message.enumKey, options, q + 1); + object.enumKey = $root.baml_bridge.cffi.v1.InboundEnumValue.toObject(message.enumKey, options, q + 1); if (options.oneofs) object.key = "enumKey"; } if (message.value != null && message.hasOwnProperty("value")) - object.value = $root.baml_core.cffi.v1.InboundValue.toObject(message.value, options, q + 1); + object.value = $root.baml_bridge.cffi.v1.InboundValue.toObject(message.value, options, q + 1); return object; }; /** * Converts this InboundMapEntry to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.InboundMapEntry + * @memberof baml_bridge.cffi.v1.InboundMapEntry * @instance * @returns {Object.} JSON object */ @@ -1516,7 +1516,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for InboundMapEntry * @function getTypeUrl - * @memberof baml_core.cffi.v1.InboundMapEntry + * @memberof baml_bridge.cffi.v1.InboundMapEntry * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -1525,7 +1525,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.InboundMapEntry"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.InboundMapEntry"; }; return InboundMapEntry; @@ -1535,19 +1535,19 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of an InboundClassValue. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IInboundClassValue - * @property {Array.|null} [fields] InboundClassValue fields - * @property {baml_core.cffi.v1.IBamlTyClass|null} [classTy] InboundClassValue classTy + * @property {Array.|null} [fields] InboundClassValue fields + * @property {baml_bridge.cffi.v1.IBamlTyClass|null} [classTy] InboundClassValue classTy */ /** * Constructs a new InboundClassValue. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents an InboundClassValue. * @implements IInboundClassValue * @constructor - * @param {baml_core.cffi.v1.IInboundClassValue=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IInboundClassValue=} [properties] Properties to set */ function InboundClassValue(properties) { this.fields = []; @@ -1559,16 +1559,16 @@ export const baml_core = $root.baml_core = (() => { /** * InboundClassValue fields. - * @member {Array.} fields - * @memberof baml_core.cffi.v1.InboundClassValue + * @member {Array.} fields + * @memberof baml_bridge.cffi.v1.InboundClassValue * @instance */ InboundClassValue.prototype.fields = $util.emptyArray; /** * InboundClassValue classTy. - * @member {baml_core.cffi.v1.IBamlTyClass|null|undefined} classTy - * @memberof baml_core.cffi.v1.InboundClassValue + * @member {baml_bridge.cffi.v1.IBamlTyClass|null|undefined} classTy + * @memberof baml_bridge.cffi.v1.InboundClassValue * @instance */ InboundClassValue.prototype.classTy = null; @@ -1576,21 +1576,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new InboundClassValue instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.InboundClassValue + * @memberof baml_bridge.cffi.v1.InboundClassValue * @static - * @param {baml_core.cffi.v1.IInboundClassValue=} [properties] Properties to set - * @returns {baml_core.cffi.v1.InboundClassValue} InboundClassValue instance + * @param {baml_bridge.cffi.v1.IInboundClassValue=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.InboundClassValue} InboundClassValue instance */ InboundClassValue.create = function create(properties) { return new InboundClassValue(properties); }; /** - * Encodes the specified InboundClassValue message. Does not implicitly {@link baml_core.cffi.v1.InboundClassValue.verify|verify} messages. + * Encodes the specified InboundClassValue message. Does not implicitly {@link baml_bridge.cffi.v1.InboundClassValue.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.InboundClassValue + * @memberof baml_bridge.cffi.v1.InboundClassValue * @static - * @param {baml_core.cffi.v1.IInboundClassValue} message InboundClassValue message or plain object to encode + * @param {baml_bridge.cffi.v1.IInboundClassValue} message InboundClassValue message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -1603,18 +1603,18 @@ export const baml_core = $root.baml_core = (() => { throw Error("max depth exceeded"); if (message.fields != null && message.fields.length) for (let i = 0; i < message.fields.length; ++i) - $root.baml_core.cffi.v1.InboundMapEntry.encode(message.fields[i], writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.InboundMapEntry.encode(message.fields[i], writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); if (message.classTy != null && Object.hasOwnProperty.call(message, "classTy")) - $root.baml_core.cffi.v1.BamlTyClass.encode(message.classTy, writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyClass.encode(message.classTy, writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified InboundClassValue message, length delimited. Does not implicitly {@link baml_core.cffi.v1.InboundClassValue.verify|verify} messages. + * Encodes the specified InboundClassValue message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.InboundClassValue.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.InboundClassValue + * @memberof baml_bridge.cffi.v1.InboundClassValue * @static - * @param {baml_core.cffi.v1.IInboundClassValue} message InboundClassValue message or plain object to encode + * @param {baml_bridge.cffi.v1.IInboundClassValue} message InboundClassValue message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -1625,11 +1625,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes an InboundClassValue message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.InboundClassValue + * @memberof baml_bridge.cffi.v1.InboundClassValue * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.InboundClassValue} InboundClassValue + * @returns {baml_bridge.cffi.v1.InboundClassValue} InboundClassValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -1640,7 +1640,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.InboundClassValue(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.InboundClassValue(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -1649,11 +1649,11 @@ export const baml_core = $root.baml_core = (() => { case 2: { if (!(message.fields && message.fields.length)) message.fields = []; - message.fields.push($root.baml_core.cffi.v1.InboundMapEntry.decode(reader, reader.uint32(), undefined, long + 1)); + message.fields.push($root.baml_bridge.cffi.v1.InboundMapEntry.decode(reader, reader.uint32(), undefined, long + 1)); break; } case 3: { - message.classTy = $root.baml_core.cffi.v1.BamlTyClass.decode(reader, reader.uint32(), undefined, long + 1); + message.classTy = $root.baml_bridge.cffi.v1.BamlTyClass.decode(reader, reader.uint32(), undefined, long + 1); break; } default: @@ -1667,10 +1667,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes an InboundClassValue message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.InboundClassValue + * @memberof baml_bridge.cffi.v1.InboundClassValue * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.InboundClassValue} InboundClassValue + * @returns {baml_bridge.cffi.v1.InboundClassValue} InboundClassValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -1683,7 +1683,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies an InboundClassValue message. * @function verify - * @memberof baml_core.cffi.v1.InboundClassValue + * @memberof baml_bridge.cffi.v1.InboundClassValue * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -1699,13 +1699,13 @@ export const baml_core = $root.baml_core = (() => { if (!Array.isArray(message.fields)) return "fields: array expected"; for (let i = 0; i < message.fields.length; ++i) { - let error = $root.baml_core.cffi.v1.InboundMapEntry.verify(message.fields[i], long + 1); + let error = $root.baml_bridge.cffi.v1.InboundMapEntry.verify(message.fields[i], long + 1); if (error) return "fields." + error; } } if (message.classTy != null && message.hasOwnProperty("classTy")) { - let error = $root.baml_core.cffi.v1.BamlTyClass.verify(message.classTy, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyClass.verify(message.classTy, long + 1); if (error) return "classTy." + error; } @@ -1715,35 +1715,35 @@ export const baml_core = $root.baml_core = (() => { /** * Creates an InboundClassValue message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.InboundClassValue + * @memberof baml_bridge.cffi.v1.InboundClassValue * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.InboundClassValue} InboundClassValue + * @returns {baml_bridge.cffi.v1.InboundClassValue} InboundClassValue */ InboundClassValue.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.InboundClassValue) + if (object instanceof $root.baml_bridge.cffi.v1.InboundClassValue) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.InboundClassValue: object expected"); + throw TypeError(".baml_bridge.cffi.v1.InboundClassValue: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.InboundClassValue(); + let message = new $root.baml_bridge.cffi.v1.InboundClassValue(); if (object.fields) { if (!Array.isArray(object.fields)) - throw TypeError(".baml_core.cffi.v1.InboundClassValue.fields: array expected"); + throw TypeError(".baml_bridge.cffi.v1.InboundClassValue.fields: array expected"); message.fields = []; for (let i = 0; i < object.fields.length; ++i) { if (!$util.isObject(object.fields[i])) - throw TypeError(".baml_core.cffi.v1.InboundClassValue.fields: object expected"); - message.fields[i] = $root.baml_core.cffi.v1.InboundMapEntry.fromObject(object.fields[i], long + 1); + throw TypeError(".baml_bridge.cffi.v1.InboundClassValue.fields: object expected"); + message.fields[i] = $root.baml_bridge.cffi.v1.InboundMapEntry.fromObject(object.fields[i], long + 1); } } if (object.classTy != null) { if (!$util.isObject(object.classTy)) - throw TypeError(".baml_core.cffi.v1.InboundClassValue.classTy: object expected"); - message.classTy = $root.baml_core.cffi.v1.BamlTyClass.fromObject(object.classTy, long + 1); + throw TypeError(".baml_bridge.cffi.v1.InboundClassValue.classTy: object expected"); + message.classTy = $root.baml_bridge.cffi.v1.BamlTyClass.fromObject(object.classTy, long + 1); } return message; }; @@ -1751,9 +1751,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from an InboundClassValue message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.InboundClassValue + * @memberof baml_bridge.cffi.v1.InboundClassValue * @static - * @param {baml_core.cffi.v1.InboundClassValue} message InboundClassValue + * @param {baml_bridge.cffi.v1.InboundClassValue} message InboundClassValue * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -1772,17 +1772,17 @@ export const baml_core = $root.baml_core = (() => { if (message.fields && message.fields.length) { object.fields = []; for (let j = 0; j < message.fields.length; ++j) - object.fields[j] = $root.baml_core.cffi.v1.InboundMapEntry.toObject(message.fields[j], options, q + 1); + object.fields[j] = $root.baml_bridge.cffi.v1.InboundMapEntry.toObject(message.fields[j], options, q + 1); } if (message.classTy != null && message.hasOwnProperty("classTy")) - object.classTy = $root.baml_core.cffi.v1.BamlTyClass.toObject(message.classTy, options, q + 1); + object.classTy = $root.baml_bridge.cffi.v1.BamlTyClass.toObject(message.classTy, options, q + 1); return object; }; /** * Converts this InboundClassValue to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.InboundClassValue + * @memberof baml_bridge.cffi.v1.InboundClassValue * @instance * @returns {Object.} JSON object */ @@ -1793,7 +1793,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for InboundClassValue * @function getTypeUrl - * @memberof baml_core.cffi.v1.InboundClassValue + * @memberof baml_bridge.cffi.v1.InboundClassValue * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -1802,7 +1802,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.InboundClassValue"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.InboundClassValue"; }; return InboundClassValue; @@ -1812,7 +1812,7 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of an InboundEnumValue. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IInboundEnumValue * @property {string|null} [name] InboundEnumValue name * @property {string|null} [value] InboundEnumValue value @@ -1820,11 +1820,11 @@ export const baml_core = $root.baml_core = (() => { /** * Constructs a new InboundEnumValue. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents an InboundEnumValue. * @implements IInboundEnumValue * @constructor - * @param {baml_core.cffi.v1.IInboundEnumValue=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IInboundEnumValue=} [properties] Properties to set */ function InboundEnumValue(properties) { if (properties) @@ -1836,7 +1836,7 @@ export const baml_core = $root.baml_core = (() => { /** * InboundEnumValue name. * @member {string} name - * @memberof baml_core.cffi.v1.InboundEnumValue + * @memberof baml_bridge.cffi.v1.InboundEnumValue * @instance */ InboundEnumValue.prototype.name = ""; @@ -1844,7 +1844,7 @@ export const baml_core = $root.baml_core = (() => { /** * InboundEnumValue value. * @member {string} value - * @memberof baml_core.cffi.v1.InboundEnumValue + * @memberof baml_bridge.cffi.v1.InboundEnumValue * @instance */ InboundEnumValue.prototype.value = ""; @@ -1852,21 +1852,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new InboundEnumValue instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.InboundEnumValue + * @memberof baml_bridge.cffi.v1.InboundEnumValue * @static - * @param {baml_core.cffi.v1.IInboundEnumValue=} [properties] Properties to set - * @returns {baml_core.cffi.v1.InboundEnumValue} InboundEnumValue instance + * @param {baml_bridge.cffi.v1.IInboundEnumValue=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.InboundEnumValue} InboundEnumValue instance */ InboundEnumValue.create = function create(properties) { return new InboundEnumValue(properties); }; /** - * Encodes the specified InboundEnumValue message. Does not implicitly {@link baml_core.cffi.v1.InboundEnumValue.verify|verify} messages. + * Encodes the specified InboundEnumValue message. Does not implicitly {@link baml_bridge.cffi.v1.InboundEnumValue.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.InboundEnumValue + * @memberof baml_bridge.cffi.v1.InboundEnumValue * @static - * @param {baml_core.cffi.v1.IInboundEnumValue} message InboundEnumValue message or plain object to encode + * @param {baml_bridge.cffi.v1.IInboundEnumValue} message InboundEnumValue message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -1885,11 +1885,11 @@ export const baml_core = $root.baml_core = (() => { }; /** - * Encodes the specified InboundEnumValue message, length delimited. Does not implicitly {@link baml_core.cffi.v1.InboundEnumValue.verify|verify} messages. + * Encodes the specified InboundEnumValue message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.InboundEnumValue.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.InboundEnumValue + * @memberof baml_bridge.cffi.v1.InboundEnumValue * @static - * @param {baml_core.cffi.v1.IInboundEnumValue} message InboundEnumValue message or plain object to encode + * @param {baml_bridge.cffi.v1.IInboundEnumValue} message InboundEnumValue message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -1900,11 +1900,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes an InboundEnumValue message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.InboundEnumValue + * @memberof baml_bridge.cffi.v1.InboundEnumValue * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.InboundEnumValue} InboundEnumValue + * @returns {baml_bridge.cffi.v1.InboundEnumValue} InboundEnumValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -1915,7 +1915,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.InboundEnumValue(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.InboundEnumValue(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -1940,10 +1940,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes an InboundEnumValue message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.InboundEnumValue + * @memberof baml_bridge.cffi.v1.InboundEnumValue * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.InboundEnumValue} InboundEnumValue + * @returns {baml_bridge.cffi.v1.InboundEnumValue} InboundEnumValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -1956,7 +1956,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies an InboundEnumValue message. * @function verify - * @memberof baml_core.cffi.v1.InboundEnumValue + * @memberof baml_bridge.cffi.v1.InboundEnumValue * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -1980,21 +1980,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates an InboundEnumValue message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.InboundEnumValue + * @memberof baml_bridge.cffi.v1.InboundEnumValue * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.InboundEnumValue} InboundEnumValue + * @returns {baml_bridge.cffi.v1.InboundEnumValue} InboundEnumValue */ InboundEnumValue.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.InboundEnumValue) + if (object instanceof $root.baml_bridge.cffi.v1.InboundEnumValue) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.InboundEnumValue: object expected"); + throw TypeError(".baml_bridge.cffi.v1.InboundEnumValue: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.InboundEnumValue(); + let message = new $root.baml_bridge.cffi.v1.InboundEnumValue(); if (object.name != null) message.name = String(object.name); if (object.value != null) @@ -2005,9 +2005,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from an InboundEnumValue message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.InboundEnumValue + * @memberof baml_bridge.cffi.v1.InboundEnumValue * @static - * @param {baml_core.cffi.v1.InboundEnumValue} message InboundEnumValue + * @param {baml_bridge.cffi.v1.InboundEnumValue} message InboundEnumValue * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -2033,7 +2033,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this InboundEnumValue to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.InboundEnumValue + * @memberof baml_bridge.cffi.v1.InboundEnumValue * @instance * @returns {Object.} JSON object */ @@ -2044,7 +2044,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for InboundEnumValue * @function getTypeUrl - * @memberof baml_core.cffi.v1.InboundEnumValue + * @memberof baml_bridge.cffi.v1.InboundEnumValue * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -2053,7 +2053,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.InboundEnumValue"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.InboundEnumValue"; }; return InboundEnumValue; @@ -2063,19 +2063,19 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyArg. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyArg * @property {string|null} [typeVar] BamlTyArg typeVar - * @property {baml_core.cffi.v1.IBamlTy|null} [typeValue] BamlTyArg typeValue + * @property {baml_bridge.cffi.v1.IBamlTy|null} [typeValue] BamlTyArg typeValue */ /** * Constructs a new BamlTyArg. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyArg. * @implements IBamlTyArg * @constructor - * @param {baml_core.cffi.v1.IBamlTyArg=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyArg=} [properties] Properties to set */ function BamlTyArg(properties) { if (properties) @@ -2087,15 +2087,15 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyArg typeVar. * @member {string} typeVar - * @memberof baml_core.cffi.v1.BamlTyArg + * @memberof baml_bridge.cffi.v1.BamlTyArg * @instance */ BamlTyArg.prototype.typeVar = ""; /** * BamlTyArg typeValue. - * @member {baml_core.cffi.v1.IBamlTy|null|undefined} typeValue - * @memberof baml_core.cffi.v1.BamlTyArg + * @member {baml_bridge.cffi.v1.IBamlTy|null|undefined} typeValue + * @memberof baml_bridge.cffi.v1.BamlTyArg * @instance */ BamlTyArg.prototype.typeValue = null; @@ -2103,21 +2103,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyArg instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyArg + * @memberof baml_bridge.cffi.v1.BamlTyArg * @static - * @param {baml_core.cffi.v1.IBamlTyArg=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyArg} BamlTyArg instance + * @param {baml_bridge.cffi.v1.IBamlTyArg=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyArg} BamlTyArg instance */ BamlTyArg.create = function create(properties) { return new BamlTyArg(properties); }; /** - * Encodes the specified BamlTyArg message. Does not implicitly {@link baml_core.cffi.v1.BamlTyArg.verify|verify} messages. + * Encodes the specified BamlTyArg message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyArg.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyArg + * @memberof baml_bridge.cffi.v1.BamlTyArg * @static - * @param {baml_core.cffi.v1.IBamlTyArg} message BamlTyArg message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyArg} message BamlTyArg message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -2131,16 +2131,16 @@ export const baml_core = $root.baml_core = (() => { if (message.typeVar != null && Object.hasOwnProperty.call(message, "typeVar")) writer.uint32(/* id 1, wireType 2 =*/10).string(message.typeVar); if (message.typeValue != null && Object.hasOwnProperty.call(message, "typeValue")) - $root.baml_core.cffi.v1.BamlTy.encode(message.typeValue, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.typeValue, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlTyArg message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyArg.verify|verify} messages. + * Encodes the specified BamlTyArg message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyArg.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyArg + * @memberof baml_bridge.cffi.v1.BamlTyArg * @static - * @param {baml_core.cffi.v1.IBamlTyArg} message BamlTyArg message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyArg} message BamlTyArg message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -2151,11 +2151,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyArg message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyArg + * @memberof baml_bridge.cffi.v1.BamlTyArg * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyArg} BamlTyArg + * @returns {baml_bridge.cffi.v1.BamlTyArg} BamlTyArg * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -2166,7 +2166,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyArg(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyArg(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -2177,7 +2177,7 @@ export const baml_core = $root.baml_core = (() => { break; } case 2: { - message.typeValue = $root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); + message.typeValue = $root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); break; } default: @@ -2191,10 +2191,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyArg message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyArg + * @memberof baml_bridge.cffi.v1.BamlTyArg * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyArg} BamlTyArg + * @returns {baml_bridge.cffi.v1.BamlTyArg} BamlTyArg * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -2207,7 +2207,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyArg message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyArg + * @memberof baml_bridge.cffi.v1.BamlTyArg * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -2223,7 +2223,7 @@ export const baml_core = $root.baml_core = (() => { if (!$util.isString(message.typeVar)) return "typeVar: string expected"; if (message.typeValue != null && message.hasOwnProperty("typeValue")) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.typeValue, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.typeValue, long + 1); if (error) return "typeValue." + error; } @@ -2233,27 +2233,27 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyArg message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyArg + * @memberof baml_bridge.cffi.v1.BamlTyArg * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyArg} BamlTyArg + * @returns {baml_bridge.cffi.v1.BamlTyArg} BamlTyArg */ BamlTyArg.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyArg) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyArg) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyArg: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyArg: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlTyArg(); + let message = new $root.baml_bridge.cffi.v1.BamlTyArg(); if (object.typeVar != null) message.typeVar = String(object.typeVar); if (object.typeValue != null) { if (!$util.isObject(object.typeValue)) - throw TypeError(".baml_core.cffi.v1.BamlTyArg.typeValue: object expected"); - message.typeValue = $root.baml_core.cffi.v1.BamlTy.fromObject(object.typeValue, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTyArg.typeValue: object expected"); + message.typeValue = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.typeValue, long + 1); } return message; }; @@ -2261,9 +2261,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlTyArg message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyArg + * @memberof baml_bridge.cffi.v1.BamlTyArg * @static - * @param {baml_core.cffi.v1.BamlTyArg} message BamlTyArg + * @param {baml_bridge.cffi.v1.BamlTyArg} message BamlTyArg * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -2282,14 +2282,14 @@ export const baml_core = $root.baml_core = (() => { if (message.typeVar != null && message.hasOwnProperty("typeVar")) object.typeVar = message.typeVar; if (message.typeValue != null && message.hasOwnProperty("typeValue")) - object.typeValue = $root.baml_core.cffi.v1.BamlTy.toObject(message.typeValue, options, q + 1); + object.typeValue = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.typeValue, options, q + 1); return object; }; /** * Converts this BamlTyArg to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyArg + * @memberof baml_bridge.cffi.v1.BamlTyArg * @instance * @returns {Object.} JSON object */ @@ -2300,7 +2300,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyArg * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyArg + * @memberof baml_bridge.cffi.v1.BamlTyArg * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -2309,7 +2309,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyArg"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyArg"; }; return BamlTyArg; @@ -2319,20 +2319,20 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a CallFunctionArgs. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface ICallFunctionArgs - * @property {Array.|null} [kwargs] CallFunctionArgs kwargs + * @property {Array.|null} [kwargs] CallFunctionArgs kwargs * @property {number|Long|null} [callId] CallFunctionArgs callId - * @property {Array.|null} [typeArgs] CallFunctionArgs typeArgs + * @property {Array.|null} [typeArgs] CallFunctionArgs typeArgs */ /** * Constructs a new CallFunctionArgs. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a CallFunctionArgs. * @implements ICallFunctionArgs * @constructor - * @param {baml_core.cffi.v1.ICallFunctionArgs=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.ICallFunctionArgs=} [properties] Properties to set */ function CallFunctionArgs(properties) { this.kwargs = []; @@ -2345,8 +2345,8 @@ export const baml_core = $root.baml_core = (() => { /** * CallFunctionArgs kwargs. - * @member {Array.} kwargs - * @memberof baml_core.cffi.v1.CallFunctionArgs + * @member {Array.} kwargs + * @memberof baml_bridge.cffi.v1.CallFunctionArgs * @instance */ CallFunctionArgs.prototype.kwargs = $util.emptyArray; @@ -2354,15 +2354,15 @@ export const baml_core = $root.baml_core = (() => { /** * CallFunctionArgs callId. * @member {number|Long} callId - * @memberof baml_core.cffi.v1.CallFunctionArgs + * @memberof baml_bridge.cffi.v1.CallFunctionArgs * @instance */ CallFunctionArgs.prototype.callId = $util.Long ? $util.Long.fromBits(0,0,true) : 0; /** * CallFunctionArgs typeArgs. - * @member {Array.} typeArgs - * @memberof baml_core.cffi.v1.CallFunctionArgs + * @member {Array.} typeArgs + * @memberof baml_bridge.cffi.v1.CallFunctionArgs * @instance */ CallFunctionArgs.prototype.typeArgs = $util.emptyArray; @@ -2370,21 +2370,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new CallFunctionArgs instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.CallFunctionArgs + * @memberof baml_bridge.cffi.v1.CallFunctionArgs * @static - * @param {baml_core.cffi.v1.ICallFunctionArgs=} [properties] Properties to set - * @returns {baml_core.cffi.v1.CallFunctionArgs} CallFunctionArgs instance + * @param {baml_bridge.cffi.v1.ICallFunctionArgs=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.CallFunctionArgs} CallFunctionArgs instance */ CallFunctionArgs.create = function create(properties) { return new CallFunctionArgs(properties); }; /** - * Encodes the specified CallFunctionArgs message. Does not implicitly {@link baml_core.cffi.v1.CallFunctionArgs.verify|verify} messages. + * Encodes the specified CallFunctionArgs message. Does not implicitly {@link baml_bridge.cffi.v1.CallFunctionArgs.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.CallFunctionArgs + * @memberof baml_bridge.cffi.v1.CallFunctionArgs * @static - * @param {baml_core.cffi.v1.ICallFunctionArgs} message CallFunctionArgs message or plain object to encode + * @param {baml_bridge.cffi.v1.ICallFunctionArgs} message CallFunctionArgs message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -2397,21 +2397,21 @@ export const baml_core = $root.baml_core = (() => { throw Error("max depth exceeded"); if (message.kwargs != null && message.kwargs.length) for (let i = 0; i < message.kwargs.length; ++i) - $root.baml_core.cffi.v1.InboundMapEntry.encode(message.kwargs[i], writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.InboundMapEntry.encode(message.kwargs[i], writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); if (message.callId != null && Object.hasOwnProperty.call(message, "callId")) writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.callId); if (message.typeArgs != null && message.typeArgs.length) for (let i = 0; i < message.typeArgs.length; ++i) - $root.baml_core.cffi.v1.BamlTyArg.encode(message.typeArgs[i], writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyArg.encode(message.typeArgs[i], writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified CallFunctionArgs message, length delimited. Does not implicitly {@link baml_core.cffi.v1.CallFunctionArgs.verify|verify} messages. + * Encodes the specified CallFunctionArgs message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.CallFunctionArgs.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.CallFunctionArgs + * @memberof baml_bridge.cffi.v1.CallFunctionArgs * @static - * @param {baml_core.cffi.v1.ICallFunctionArgs} message CallFunctionArgs message or plain object to encode + * @param {baml_bridge.cffi.v1.ICallFunctionArgs} message CallFunctionArgs message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -2422,11 +2422,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a CallFunctionArgs message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.CallFunctionArgs + * @memberof baml_bridge.cffi.v1.CallFunctionArgs * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.CallFunctionArgs} CallFunctionArgs + * @returns {baml_bridge.cffi.v1.CallFunctionArgs} CallFunctionArgs * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -2437,7 +2437,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.CallFunctionArgs(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.CallFunctionArgs(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -2446,7 +2446,7 @@ export const baml_core = $root.baml_core = (() => { case 1: { if (!(message.kwargs && message.kwargs.length)) message.kwargs = []; - message.kwargs.push($root.baml_core.cffi.v1.InboundMapEntry.decode(reader, reader.uint32(), undefined, long + 1)); + message.kwargs.push($root.baml_bridge.cffi.v1.InboundMapEntry.decode(reader, reader.uint32(), undefined, long + 1)); break; } case 2: { @@ -2456,7 +2456,7 @@ export const baml_core = $root.baml_core = (() => { case 3: { if (!(message.typeArgs && message.typeArgs.length)) message.typeArgs = []; - message.typeArgs.push($root.baml_core.cffi.v1.BamlTyArg.decode(reader, reader.uint32(), undefined, long + 1)); + message.typeArgs.push($root.baml_bridge.cffi.v1.BamlTyArg.decode(reader, reader.uint32(), undefined, long + 1)); break; } default: @@ -2470,10 +2470,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a CallFunctionArgs message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.CallFunctionArgs + * @memberof baml_bridge.cffi.v1.CallFunctionArgs * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.CallFunctionArgs} CallFunctionArgs + * @returns {baml_bridge.cffi.v1.CallFunctionArgs} CallFunctionArgs * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -2486,7 +2486,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a CallFunctionArgs message. * @function verify - * @memberof baml_core.cffi.v1.CallFunctionArgs + * @memberof baml_bridge.cffi.v1.CallFunctionArgs * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -2502,7 +2502,7 @@ export const baml_core = $root.baml_core = (() => { if (!Array.isArray(message.kwargs)) return "kwargs: array expected"; for (let i = 0; i < message.kwargs.length; ++i) { - let error = $root.baml_core.cffi.v1.InboundMapEntry.verify(message.kwargs[i], long + 1); + let error = $root.baml_bridge.cffi.v1.InboundMapEntry.verify(message.kwargs[i], long + 1); if (error) return "kwargs." + error; } @@ -2514,7 +2514,7 @@ export const baml_core = $root.baml_core = (() => { if (!Array.isArray(message.typeArgs)) return "typeArgs: array expected"; for (let i = 0; i < message.typeArgs.length; ++i) { - let error = $root.baml_core.cffi.v1.BamlTyArg.verify(message.typeArgs[i], long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyArg.verify(message.typeArgs[i], long + 1); if (error) return "typeArgs." + error; } @@ -2525,29 +2525,29 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a CallFunctionArgs message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.CallFunctionArgs + * @memberof baml_bridge.cffi.v1.CallFunctionArgs * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.CallFunctionArgs} CallFunctionArgs + * @returns {baml_bridge.cffi.v1.CallFunctionArgs} CallFunctionArgs */ CallFunctionArgs.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.CallFunctionArgs) + if (object instanceof $root.baml_bridge.cffi.v1.CallFunctionArgs) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.CallFunctionArgs: object expected"); + throw TypeError(".baml_bridge.cffi.v1.CallFunctionArgs: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.CallFunctionArgs(); + let message = new $root.baml_bridge.cffi.v1.CallFunctionArgs(); if (object.kwargs) { if (!Array.isArray(object.kwargs)) - throw TypeError(".baml_core.cffi.v1.CallFunctionArgs.kwargs: array expected"); + throw TypeError(".baml_bridge.cffi.v1.CallFunctionArgs.kwargs: array expected"); message.kwargs = []; for (let i = 0; i < object.kwargs.length; ++i) { if (!$util.isObject(object.kwargs[i])) - throw TypeError(".baml_core.cffi.v1.CallFunctionArgs.kwargs: object expected"); - message.kwargs[i] = $root.baml_core.cffi.v1.InboundMapEntry.fromObject(object.kwargs[i], long + 1); + throw TypeError(".baml_bridge.cffi.v1.CallFunctionArgs.kwargs: object expected"); + message.kwargs[i] = $root.baml_bridge.cffi.v1.InboundMapEntry.fromObject(object.kwargs[i], long + 1); } } if (object.callId != null) @@ -2561,12 +2561,12 @@ export const baml_core = $root.baml_core = (() => { message.callId = new $util.LongBits(object.callId.low >>> 0, object.callId.high >>> 0).toNumber(true); if (object.typeArgs) { if (!Array.isArray(object.typeArgs)) - throw TypeError(".baml_core.cffi.v1.CallFunctionArgs.typeArgs: array expected"); + throw TypeError(".baml_bridge.cffi.v1.CallFunctionArgs.typeArgs: array expected"); message.typeArgs = []; for (let i = 0; i < object.typeArgs.length; ++i) { if (!$util.isObject(object.typeArgs[i])) - throw TypeError(".baml_core.cffi.v1.CallFunctionArgs.typeArgs: object expected"); - message.typeArgs[i] = $root.baml_core.cffi.v1.BamlTyArg.fromObject(object.typeArgs[i], long + 1); + throw TypeError(".baml_bridge.cffi.v1.CallFunctionArgs.typeArgs: object expected"); + message.typeArgs[i] = $root.baml_bridge.cffi.v1.BamlTyArg.fromObject(object.typeArgs[i], long + 1); } } return message; @@ -2575,9 +2575,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a CallFunctionArgs message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.CallFunctionArgs + * @memberof baml_bridge.cffi.v1.CallFunctionArgs * @static - * @param {baml_core.cffi.v1.CallFunctionArgs} message CallFunctionArgs + * @param {baml_bridge.cffi.v1.CallFunctionArgs} message CallFunctionArgs * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -2602,7 +2602,7 @@ export const baml_core = $root.baml_core = (() => { if (message.kwargs && message.kwargs.length) { object.kwargs = []; for (let j = 0; j < message.kwargs.length; ++j) - object.kwargs[j] = $root.baml_core.cffi.v1.InboundMapEntry.toObject(message.kwargs[j], options, q + 1); + object.kwargs[j] = $root.baml_bridge.cffi.v1.InboundMapEntry.toObject(message.kwargs[j], options, q + 1); } if (message.callId != null && message.hasOwnProperty("callId")) if (typeof BigInt !== "undefined" && options.longs === BigInt) @@ -2614,7 +2614,7 @@ export const baml_core = $root.baml_core = (() => { if (message.typeArgs && message.typeArgs.length) { object.typeArgs = []; for (let j = 0; j < message.typeArgs.length; ++j) - object.typeArgs[j] = $root.baml_core.cffi.v1.BamlTyArg.toObject(message.typeArgs[j], options, q + 1); + object.typeArgs[j] = $root.baml_bridge.cffi.v1.BamlTyArg.toObject(message.typeArgs[j], options, q + 1); } return object; }; @@ -2622,7 +2622,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this CallFunctionArgs to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.CallFunctionArgs + * @memberof baml_bridge.cffi.v1.CallFunctionArgs * @instance * @returns {Object.} JSON object */ @@ -2633,7 +2633,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for CallFunctionArgs * @function getTypeUrl - * @memberof baml_core.cffi.v1.CallFunctionArgs + * @memberof baml_bridge.cffi.v1.CallFunctionArgs * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -2642,7 +2642,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.CallFunctionArgs"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.CallFunctionArgs"; }; return CallFunctionArgs; @@ -2652,18 +2652,18 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a CallAck. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface ICallAck * @property {string|null} [error] CallAck error */ /** * Constructs a new CallAck. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a CallAck. * @implements ICallAck * @constructor - * @param {baml_core.cffi.v1.ICallAck=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.ICallAck=} [properties] Properties to set */ function CallAck(properties) { if (properties) @@ -2675,7 +2675,7 @@ export const baml_core = $root.baml_core = (() => { /** * CallAck error. * @member {string|null|undefined} error - * @memberof baml_core.cffi.v1.CallAck + * @memberof baml_bridge.cffi.v1.CallAck * @instance */ CallAck.prototype.error = null; @@ -2686,7 +2686,7 @@ export const baml_core = $root.baml_core = (() => { /** * CallAck response. * @member {"error"|undefined} response - * @memberof baml_core.cffi.v1.CallAck + * @memberof baml_bridge.cffi.v1.CallAck * @instance */ Object.defineProperty(CallAck.prototype, "response", { @@ -2697,21 +2697,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new CallAck instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.CallAck + * @memberof baml_bridge.cffi.v1.CallAck * @static - * @param {baml_core.cffi.v1.ICallAck=} [properties] Properties to set - * @returns {baml_core.cffi.v1.CallAck} CallAck instance + * @param {baml_bridge.cffi.v1.ICallAck=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.CallAck} CallAck instance */ CallAck.create = function create(properties) { return new CallAck(properties); }; /** - * Encodes the specified CallAck message. Does not implicitly {@link baml_core.cffi.v1.CallAck.verify|verify} messages. + * Encodes the specified CallAck message. Does not implicitly {@link baml_bridge.cffi.v1.CallAck.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.CallAck + * @memberof baml_bridge.cffi.v1.CallAck * @static - * @param {baml_core.cffi.v1.ICallAck} message CallAck message or plain object to encode + * @param {baml_bridge.cffi.v1.ICallAck} message CallAck message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -2728,11 +2728,11 @@ export const baml_core = $root.baml_core = (() => { }; /** - * Encodes the specified CallAck message, length delimited. Does not implicitly {@link baml_core.cffi.v1.CallAck.verify|verify} messages. + * Encodes the specified CallAck message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.CallAck.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.CallAck + * @memberof baml_bridge.cffi.v1.CallAck * @static - * @param {baml_core.cffi.v1.ICallAck} message CallAck message or plain object to encode + * @param {baml_bridge.cffi.v1.ICallAck} message CallAck message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -2743,11 +2743,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a CallAck message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.CallAck + * @memberof baml_bridge.cffi.v1.CallAck * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.CallAck} CallAck + * @returns {baml_bridge.cffi.v1.CallAck} CallAck * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -2758,7 +2758,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.CallAck(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.CallAck(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -2779,10 +2779,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a CallAck message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.CallAck + * @memberof baml_bridge.cffi.v1.CallAck * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.CallAck} CallAck + * @returns {baml_bridge.cffi.v1.CallAck} CallAck * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -2795,7 +2795,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a CallAck message. * @function verify - * @memberof baml_core.cffi.v1.CallAck + * @memberof baml_bridge.cffi.v1.CallAck * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -2819,21 +2819,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a CallAck message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.CallAck + * @memberof baml_bridge.cffi.v1.CallAck * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.CallAck} CallAck + * @returns {baml_bridge.cffi.v1.CallAck} CallAck */ CallAck.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.CallAck) + if (object instanceof $root.baml_bridge.cffi.v1.CallAck) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.CallAck: object expected"); + throw TypeError(".baml_bridge.cffi.v1.CallAck: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.CallAck(); + let message = new $root.baml_bridge.cffi.v1.CallAck(); if (object.error != null) message.error = String(object.error); return message; @@ -2842,9 +2842,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a CallAck message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.CallAck + * @memberof baml_bridge.cffi.v1.CallAck * @static - * @param {baml_core.cffi.v1.CallAck} message CallAck + * @param {baml_bridge.cffi.v1.CallAck} message CallAck * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -2867,7 +2867,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this CallAck to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.CallAck + * @memberof baml_bridge.cffi.v1.CallAck * @instance * @returns {Object.} JSON object */ @@ -2878,7 +2878,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for CallAck * @function getTypeUrl - * @memberof baml_core.cffi.v1.CallAck + * @memberof baml_bridge.cffi.v1.CallAck * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -2887,7 +2887,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.CallAck"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.CallAck"; }; return CallAck; @@ -2895,7 +2895,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlHandleType enum. - * @name baml_core.cffi.v1.BamlHandleType + * @name baml_bridge.cffi.v1.BamlHandleType * @enum {number} * @property {number} HANDLE_UNSPECIFIED=0 HANDLE_UNSPECIFIED value * @property {number} UNTAGGED_RUST_DATA=1 UNTAGGED_RUST_DATA value @@ -2937,19 +2937,19 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlHandle. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlHandle * @property {number|Long|null} [key] BamlHandle key - * @property {baml_core.cffi.v1.BamlHandleType|null} [handleType] BamlHandle handleType + * @property {baml_bridge.cffi.v1.BamlHandleType|null} [handleType] BamlHandle handleType */ /** * Constructs a new BamlHandle. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlHandle. * @implements IBamlHandle * @constructor - * @param {baml_core.cffi.v1.IBamlHandle=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlHandle=} [properties] Properties to set */ function BamlHandle(properties) { if (properties) @@ -2961,15 +2961,15 @@ export const baml_core = $root.baml_core = (() => { /** * BamlHandle key. * @member {number|Long} key - * @memberof baml_core.cffi.v1.BamlHandle + * @memberof baml_bridge.cffi.v1.BamlHandle * @instance */ BamlHandle.prototype.key = $util.Long ? $util.Long.fromBits(0,0,true) : 0; /** * BamlHandle handleType. - * @member {baml_core.cffi.v1.BamlHandleType} handleType - * @memberof baml_core.cffi.v1.BamlHandle + * @member {baml_bridge.cffi.v1.BamlHandleType} handleType + * @memberof baml_bridge.cffi.v1.BamlHandle * @instance */ BamlHandle.prototype.handleType = 0; @@ -2977,21 +2977,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlHandle instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlHandle + * @memberof baml_bridge.cffi.v1.BamlHandle * @static - * @param {baml_core.cffi.v1.IBamlHandle=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlHandle} BamlHandle instance + * @param {baml_bridge.cffi.v1.IBamlHandle=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlHandle} BamlHandle instance */ BamlHandle.create = function create(properties) { return new BamlHandle(properties); }; /** - * Encodes the specified BamlHandle message. Does not implicitly {@link baml_core.cffi.v1.BamlHandle.verify|verify} messages. + * Encodes the specified BamlHandle message. Does not implicitly {@link baml_bridge.cffi.v1.BamlHandle.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlHandle + * @memberof baml_bridge.cffi.v1.BamlHandle * @static - * @param {baml_core.cffi.v1.IBamlHandle} message BamlHandle message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlHandle} message BamlHandle message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -3010,11 +3010,11 @@ export const baml_core = $root.baml_core = (() => { }; /** - * Encodes the specified BamlHandle message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlHandle.verify|verify} messages. + * Encodes the specified BamlHandle message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlHandle.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlHandle + * @memberof baml_bridge.cffi.v1.BamlHandle * @static - * @param {baml_core.cffi.v1.IBamlHandle} message BamlHandle message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlHandle} message BamlHandle message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -3025,11 +3025,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlHandle message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlHandle + * @memberof baml_bridge.cffi.v1.BamlHandle * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlHandle} BamlHandle + * @returns {baml_bridge.cffi.v1.BamlHandle} BamlHandle * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -3040,7 +3040,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlHandle(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlHandle(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -3065,10 +3065,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlHandle message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlHandle + * @memberof baml_bridge.cffi.v1.BamlHandle * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlHandle} BamlHandle + * @returns {baml_bridge.cffi.v1.BamlHandle} BamlHandle * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -3081,7 +3081,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlHandle message. * @function verify - * @memberof baml_core.cffi.v1.BamlHandle + * @memberof baml_bridge.cffi.v1.BamlHandle * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -3123,21 +3123,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlHandle message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlHandle + * @memberof baml_bridge.cffi.v1.BamlHandle * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlHandle} BamlHandle + * @returns {baml_bridge.cffi.v1.BamlHandle} BamlHandle */ BamlHandle.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlHandle) + if (object instanceof $root.baml_bridge.cffi.v1.BamlHandle) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlHandle: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlHandle: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlHandle(); + let message = new $root.baml_bridge.cffi.v1.BamlHandle(); if (object.key != null) if ($util.Long) message.key = $util.Long.fromValue(object.key, true); @@ -3221,9 +3221,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlHandle message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlHandle + * @memberof baml_bridge.cffi.v1.BamlHandle * @static - * @param {baml_core.cffi.v1.BamlHandle} message BamlHandle + * @param {baml_bridge.cffi.v1.BamlHandle} message BamlHandle * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -3251,14 +3251,14 @@ export const baml_core = $root.baml_core = (() => { else object.key = options.longs === String ? $util.Long.prototype.toString.call(message.key) : options.longs === Number ? new $util.LongBits(message.key.low >>> 0, message.key.high >>> 0).toNumber(true) : message.key; if (message.handleType != null && message.hasOwnProperty("handleType")) - object.handleType = options.enums === String ? $root.baml_core.cffi.v1.BamlHandleType[message.handleType] === undefined ? message.handleType : $root.baml_core.cffi.v1.BamlHandleType[message.handleType] : message.handleType; + object.handleType = options.enums === String ? $root.baml_bridge.cffi.v1.BamlHandleType[message.handleType] === undefined ? message.handleType : $root.baml_bridge.cffi.v1.BamlHandleType[message.handleType] : message.handleType; return object; }; /** * Converts this BamlHandle to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlHandle + * @memberof baml_bridge.cffi.v1.BamlHandle * @instance * @returns {Object.} JSON object */ @@ -3269,7 +3269,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlHandle * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlHandle + * @memberof baml_bridge.cffi.v1.BamlHandle * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -3278,7 +3278,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlHandle"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlHandle"; }; return BamlHandle; @@ -3288,41 +3288,41 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTy. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTy - * @property {baml_core.cffi.v1.IBamlTyPrimitive|null} [primitive] BamlTy primitive - * @property {baml_core.cffi.v1.IBamlTyClass|null} [classTy] BamlTy classTy - * @property {baml_core.cffi.v1.IBamlTyEnum|null} ["enum"] BamlTy enum - * @property {baml_core.cffi.v1.IBamlTyList|null} [list] BamlTy list - * @property {baml_core.cffi.v1.IBamlTyMap|null} [map] BamlTy map - * @property {baml_core.cffi.v1.IBamlTyOptional|null} [optional] BamlTy optional - * @property {baml_core.cffi.v1.IBamlTyUnion|null} [union] BamlTy union - * @property {baml_core.cffi.v1.IBamlTyLiteral|null} [literal] BamlTy literal - * @property {baml_core.cffi.v1.IBamlTyTypeAlias|null} [typeAlias] BamlTy typeAlias - * @property {baml_core.cffi.v1.IBamlTyUnknown|null} [unknown] BamlTy unknown - * @property {baml_core.cffi.v1.IBamlTyMedia|null} [media] BamlTy media - * @property {baml_core.cffi.v1.IBamlTyInterface|null} ["interface"] BamlTy interface - * @property {baml_core.cffi.v1.IBamlTyEnumVariant|null} [enumVariant] BamlTy enumVariant - * @property {baml_core.cffi.v1.IBamlTyFunction|null} ["function"] BamlTy function - * @property {baml_core.cffi.v1.IBamlTyFuture|null} [future] BamlTy future - * @property {baml_core.cffi.v1.IBamlTyRustType|null} [rustType] BamlTy rustType - * @property {baml_core.cffi.v1.IBamlTyMetaType|null} [metaType] BamlTy metaType - * @property {baml_core.cffi.v1.IBamlTyResource|null} [resource] BamlTy resource - * @property {baml_core.cffi.v1.IBamlTyPromptAst|null} [promptAst] BamlTy promptAst - * @property {baml_core.cffi.v1.IBamlTyVoid|null} ["void"] BamlTy void - * @property {baml_core.cffi.v1.IBamlTyWatchAccessor|null} [watchAccessor] BamlTy watchAccessor - * @property {baml_core.cffi.v1.IBamlTyTypeVar|null} [typeVar] BamlTy typeVar - * @property {baml_core.cffi.v1.IBamlTyAssociatedTypeProjection|null} [associatedTypeProjection] BamlTy associatedTypeProjection - * @property {baml_core.cffi.v1.IBamlTyNever|null} [never] BamlTy never + * @property {baml_bridge.cffi.v1.IBamlTyPrimitive|null} [primitive] BamlTy primitive + * @property {baml_bridge.cffi.v1.IBamlTyClass|null} [classTy] BamlTy classTy + * @property {baml_bridge.cffi.v1.IBamlTyEnum|null} ["enum"] BamlTy enum + * @property {baml_bridge.cffi.v1.IBamlTyList|null} [list] BamlTy list + * @property {baml_bridge.cffi.v1.IBamlTyMap|null} [map] BamlTy map + * @property {baml_bridge.cffi.v1.IBamlTyOptional|null} [optional] BamlTy optional + * @property {baml_bridge.cffi.v1.IBamlTyUnion|null} [union] BamlTy union + * @property {baml_bridge.cffi.v1.IBamlTyLiteral|null} [literal] BamlTy literal + * @property {baml_bridge.cffi.v1.IBamlTyTypeAlias|null} [typeAlias] BamlTy typeAlias + * @property {baml_bridge.cffi.v1.IBamlTyUnknown|null} [unknown] BamlTy unknown + * @property {baml_bridge.cffi.v1.IBamlTyMedia|null} [media] BamlTy media + * @property {baml_bridge.cffi.v1.IBamlTyInterface|null} ["interface"] BamlTy interface + * @property {baml_bridge.cffi.v1.IBamlTyEnumVariant|null} [enumVariant] BamlTy enumVariant + * @property {baml_bridge.cffi.v1.IBamlTyFunction|null} ["function"] BamlTy function + * @property {baml_bridge.cffi.v1.IBamlTyFuture|null} [future] BamlTy future + * @property {baml_bridge.cffi.v1.IBamlTyRustType|null} [rustType] BamlTy rustType + * @property {baml_bridge.cffi.v1.IBamlTyMetaType|null} [metaType] BamlTy metaType + * @property {baml_bridge.cffi.v1.IBamlTyResource|null} [resource] BamlTy resource + * @property {baml_bridge.cffi.v1.IBamlTyPromptAst|null} [promptAst] BamlTy promptAst + * @property {baml_bridge.cffi.v1.IBamlTyVoid|null} ["void"] BamlTy void + * @property {baml_bridge.cffi.v1.IBamlTyWatchAccessor|null} [watchAccessor] BamlTy watchAccessor + * @property {baml_bridge.cffi.v1.IBamlTyTypeVar|null} [typeVar] BamlTy typeVar + * @property {baml_bridge.cffi.v1.IBamlTyAssociatedTypeProjection|null} [associatedTypeProjection] BamlTy associatedTypeProjection + * @property {baml_bridge.cffi.v1.IBamlTyNever|null} [never] BamlTy never */ /** * Constructs a new BamlTy. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTy. * @implements IBamlTy * @constructor - * @param {baml_core.cffi.v1.IBamlTy=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTy=} [properties] Properties to set */ function BamlTy(properties) { if (properties) @@ -3333,192 +3333,192 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTy primitive. - * @member {baml_core.cffi.v1.IBamlTyPrimitive|null|undefined} primitive - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyPrimitive|null|undefined} primitive + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype.primitive = null; /** * BamlTy classTy. - * @member {baml_core.cffi.v1.IBamlTyClass|null|undefined} classTy - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyClass|null|undefined} classTy + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype.classTy = null; /** * BamlTy enum. - * @member {baml_core.cffi.v1.IBamlTyEnum|null|undefined} enum - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyEnum|null|undefined} enum + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype["enum"] = null; /** * BamlTy list. - * @member {baml_core.cffi.v1.IBamlTyList|null|undefined} list - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyList|null|undefined} list + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype.list = null; /** * BamlTy map. - * @member {baml_core.cffi.v1.IBamlTyMap|null|undefined} map - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyMap|null|undefined} map + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype.map = null; /** * BamlTy optional. - * @member {baml_core.cffi.v1.IBamlTyOptional|null|undefined} optional - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyOptional|null|undefined} optional + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype.optional = null; /** * BamlTy union. - * @member {baml_core.cffi.v1.IBamlTyUnion|null|undefined} union - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyUnion|null|undefined} union + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype.union = null; /** * BamlTy literal. - * @member {baml_core.cffi.v1.IBamlTyLiteral|null|undefined} literal - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyLiteral|null|undefined} literal + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype.literal = null; /** * BamlTy typeAlias. - * @member {baml_core.cffi.v1.IBamlTyTypeAlias|null|undefined} typeAlias - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyTypeAlias|null|undefined} typeAlias + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype.typeAlias = null; /** * BamlTy unknown. - * @member {baml_core.cffi.v1.IBamlTyUnknown|null|undefined} unknown - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyUnknown|null|undefined} unknown + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype.unknown = null; /** * BamlTy media. - * @member {baml_core.cffi.v1.IBamlTyMedia|null|undefined} media - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyMedia|null|undefined} media + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype.media = null; /** * BamlTy interface. - * @member {baml_core.cffi.v1.IBamlTyInterface|null|undefined} interface - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyInterface|null|undefined} interface + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype["interface"] = null; /** * BamlTy enumVariant. - * @member {baml_core.cffi.v1.IBamlTyEnumVariant|null|undefined} enumVariant - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyEnumVariant|null|undefined} enumVariant + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype.enumVariant = null; /** * BamlTy function. - * @member {baml_core.cffi.v1.IBamlTyFunction|null|undefined} function - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyFunction|null|undefined} function + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype["function"] = null; /** * BamlTy future. - * @member {baml_core.cffi.v1.IBamlTyFuture|null|undefined} future - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyFuture|null|undefined} future + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype.future = null; /** * BamlTy rustType. - * @member {baml_core.cffi.v1.IBamlTyRustType|null|undefined} rustType - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyRustType|null|undefined} rustType + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype.rustType = null; /** * BamlTy metaType. - * @member {baml_core.cffi.v1.IBamlTyMetaType|null|undefined} metaType - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyMetaType|null|undefined} metaType + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype.metaType = null; /** * BamlTy resource. - * @member {baml_core.cffi.v1.IBamlTyResource|null|undefined} resource - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyResource|null|undefined} resource + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype.resource = null; /** * BamlTy promptAst. - * @member {baml_core.cffi.v1.IBamlTyPromptAst|null|undefined} promptAst - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyPromptAst|null|undefined} promptAst + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype.promptAst = null; /** * BamlTy void. - * @member {baml_core.cffi.v1.IBamlTyVoid|null|undefined} void - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyVoid|null|undefined} void + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype["void"] = null; /** * BamlTy watchAccessor. - * @member {baml_core.cffi.v1.IBamlTyWatchAccessor|null|undefined} watchAccessor - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyWatchAccessor|null|undefined} watchAccessor + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype.watchAccessor = null; /** * BamlTy typeVar. - * @member {baml_core.cffi.v1.IBamlTyTypeVar|null|undefined} typeVar - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyTypeVar|null|undefined} typeVar + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype.typeVar = null; /** * BamlTy associatedTypeProjection. - * @member {baml_core.cffi.v1.IBamlTyAssociatedTypeProjection|null|undefined} associatedTypeProjection - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyAssociatedTypeProjection|null|undefined} associatedTypeProjection + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype.associatedTypeProjection = null; /** * BamlTy never. - * @member {baml_core.cffi.v1.IBamlTyNever|null|undefined} never - * @memberof baml_core.cffi.v1.BamlTy + * @member {baml_bridge.cffi.v1.IBamlTyNever|null|undefined} never + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ BamlTy.prototype.never = null; @@ -3529,7 +3529,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTy ty. * @member {"primitive"|"classTy"|"enum"|"list"|"map"|"optional"|"union"|"literal"|"typeAlias"|"unknown"|"media"|"interface"|"enumVariant"|"function"|"future"|"rustType"|"metaType"|"resource"|"promptAst"|"void"|"watchAccessor"|"typeVar"|"associatedTypeProjection"|"never"|undefined} ty - * @memberof baml_core.cffi.v1.BamlTy + * @memberof baml_bridge.cffi.v1.BamlTy * @instance */ Object.defineProperty(BamlTy.prototype, "ty", { @@ -3540,21 +3540,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTy instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTy + * @memberof baml_bridge.cffi.v1.BamlTy * @static - * @param {baml_core.cffi.v1.IBamlTy=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTy} BamlTy instance + * @param {baml_bridge.cffi.v1.IBamlTy=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTy} BamlTy instance */ BamlTy.create = function create(properties) { return new BamlTy(properties); }; /** - * Encodes the specified BamlTy message. Does not implicitly {@link baml_core.cffi.v1.BamlTy.verify|verify} messages. + * Encodes the specified BamlTy message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTy.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTy + * @memberof baml_bridge.cffi.v1.BamlTy * @static - * @param {baml_core.cffi.v1.IBamlTy} message BamlTy message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTy} message BamlTy message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -3566,62 +3566,62 @@ export const baml_core = $root.baml_core = (() => { if (q > $util.recursionLimit) throw Error("max depth exceeded"); if (message.primitive != null && Object.hasOwnProperty.call(message, "primitive")) - $root.baml_core.cffi.v1.BamlTyPrimitive.encode(message.primitive, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyPrimitive.encode(message.primitive, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); if (message.classTy != null && Object.hasOwnProperty.call(message, "classTy")) - $root.baml_core.cffi.v1.BamlTyClass.encode(message.classTy, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyClass.encode(message.classTy, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); if (message["enum"] != null && Object.hasOwnProperty.call(message, "enum")) - $root.baml_core.cffi.v1.BamlTyEnum.encode(message["enum"], writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyEnum.encode(message["enum"], writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim(); if (message.list != null && Object.hasOwnProperty.call(message, "list")) - $root.baml_core.cffi.v1.BamlTyList.encode(message.list, writer.uint32(/* id 4, wireType 2 =*/34).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyList.encode(message.list, writer.uint32(/* id 4, wireType 2 =*/34).fork(), q + 1).ldelim(); if (message.map != null && Object.hasOwnProperty.call(message, "map")) - $root.baml_core.cffi.v1.BamlTyMap.encode(message.map, writer.uint32(/* id 5, wireType 2 =*/42).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyMap.encode(message.map, writer.uint32(/* id 5, wireType 2 =*/42).fork(), q + 1).ldelim(); if (message.optional != null && Object.hasOwnProperty.call(message, "optional")) - $root.baml_core.cffi.v1.BamlTyOptional.encode(message.optional, writer.uint32(/* id 6, wireType 2 =*/50).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyOptional.encode(message.optional, writer.uint32(/* id 6, wireType 2 =*/50).fork(), q + 1).ldelim(); if (message.union != null && Object.hasOwnProperty.call(message, "union")) - $root.baml_core.cffi.v1.BamlTyUnion.encode(message.union, writer.uint32(/* id 7, wireType 2 =*/58).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyUnion.encode(message.union, writer.uint32(/* id 7, wireType 2 =*/58).fork(), q + 1).ldelim(); if (message.literal != null && Object.hasOwnProperty.call(message, "literal")) - $root.baml_core.cffi.v1.BamlTyLiteral.encode(message.literal, writer.uint32(/* id 8, wireType 2 =*/66).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyLiteral.encode(message.literal, writer.uint32(/* id 8, wireType 2 =*/66).fork(), q + 1).ldelim(); if (message.typeAlias != null && Object.hasOwnProperty.call(message, "typeAlias")) - $root.baml_core.cffi.v1.BamlTyTypeAlias.encode(message.typeAlias, writer.uint32(/* id 9, wireType 2 =*/74).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyTypeAlias.encode(message.typeAlias, writer.uint32(/* id 9, wireType 2 =*/74).fork(), q + 1).ldelim(); if (message.unknown != null && Object.hasOwnProperty.call(message, "unknown")) - $root.baml_core.cffi.v1.BamlTyUnknown.encode(message.unknown, writer.uint32(/* id 10, wireType 2 =*/82).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyUnknown.encode(message.unknown, writer.uint32(/* id 10, wireType 2 =*/82).fork(), q + 1).ldelim(); if (message.media != null && Object.hasOwnProperty.call(message, "media")) - $root.baml_core.cffi.v1.BamlTyMedia.encode(message.media, writer.uint32(/* id 11, wireType 2 =*/90).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyMedia.encode(message.media, writer.uint32(/* id 11, wireType 2 =*/90).fork(), q + 1).ldelim(); if (message["interface"] != null && Object.hasOwnProperty.call(message, "interface")) - $root.baml_core.cffi.v1.BamlTyInterface.encode(message["interface"], writer.uint32(/* id 12, wireType 2 =*/98).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyInterface.encode(message["interface"], writer.uint32(/* id 12, wireType 2 =*/98).fork(), q + 1).ldelim(); if (message.enumVariant != null && Object.hasOwnProperty.call(message, "enumVariant")) - $root.baml_core.cffi.v1.BamlTyEnumVariant.encode(message.enumVariant, writer.uint32(/* id 13, wireType 2 =*/106).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyEnumVariant.encode(message.enumVariant, writer.uint32(/* id 13, wireType 2 =*/106).fork(), q + 1).ldelim(); if (message["function"] != null && Object.hasOwnProperty.call(message, "function")) - $root.baml_core.cffi.v1.BamlTyFunction.encode(message["function"], writer.uint32(/* id 14, wireType 2 =*/114).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyFunction.encode(message["function"], writer.uint32(/* id 14, wireType 2 =*/114).fork(), q + 1).ldelim(); if (message.future != null && Object.hasOwnProperty.call(message, "future")) - $root.baml_core.cffi.v1.BamlTyFuture.encode(message.future, writer.uint32(/* id 15, wireType 2 =*/122).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyFuture.encode(message.future, writer.uint32(/* id 15, wireType 2 =*/122).fork(), q + 1).ldelim(); if (message.rustType != null && Object.hasOwnProperty.call(message, "rustType")) - $root.baml_core.cffi.v1.BamlTyRustType.encode(message.rustType, writer.uint32(/* id 16, wireType 2 =*/130).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyRustType.encode(message.rustType, writer.uint32(/* id 16, wireType 2 =*/130).fork(), q + 1).ldelim(); if (message.metaType != null && Object.hasOwnProperty.call(message, "metaType")) - $root.baml_core.cffi.v1.BamlTyMetaType.encode(message.metaType, writer.uint32(/* id 17, wireType 2 =*/138).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyMetaType.encode(message.metaType, writer.uint32(/* id 17, wireType 2 =*/138).fork(), q + 1).ldelim(); if (message.resource != null && Object.hasOwnProperty.call(message, "resource")) - $root.baml_core.cffi.v1.BamlTyResource.encode(message.resource, writer.uint32(/* id 18, wireType 2 =*/146).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyResource.encode(message.resource, writer.uint32(/* id 18, wireType 2 =*/146).fork(), q + 1).ldelim(); if (message.promptAst != null && Object.hasOwnProperty.call(message, "promptAst")) - $root.baml_core.cffi.v1.BamlTyPromptAst.encode(message.promptAst, writer.uint32(/* id 19, wireType 2 =*/154).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyPromptAst.encode(message.promptAst, writer.uint32(/* id 19, wireType 2 =*/154).fork(), q + 1).ldelim(); if (message["void"] != null && Object.hasOwnProperty.call(message, "void")) - $root.baml_core.cffi.v1.BamlTyVoid.encode(message["void"], writer.uint32(/* id 20, wireType 2 =*/162).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyVoid.encode(message["void"], writer.uint32(/* id 20, wireType 2 =*/162).fork(), q + 1).ldelim(); if (message.watchAccessor != null && Object.hasOwnProperty.call(message, "watchAccessor")) - $root.baml_core.cffi.v1.BamlTyWatchAccessor.encode(message.watchAccessor, writer.uint32(/* id 21, wireType 2 =*/170).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyWatchAccessor.encode(message.watchAccessor, writer.uint32(/* id 21, wireType 2 =*/170).fork(), q + 1).ldelim(); if (message.typeVar != null && Object.hasOwnProperty.call(message, "typeVar")) - $root.baml_core.cffi.v1.BamlTyTypeVar.encode(message.typeVar, writer.uint32(/* id 22, wireType 2 =*/178).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyTypeVar.encode(message.typeVar, writer.uint32(/* id 22, wireType 2 =*/178).fork(), q + 1).ldelim(); if (message.associatedTypeProjection != null && Object.hasOwnProperty.call(message, "associatedTypeProjection")) - $root.baml_core.cffi.v1.BamlTyAssociatedTypeProjection.encode(message.associatedTypeProjection, writer.uint32(/* id 23, wireType 2 =*/186).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection.encode(message.associatedTypeProjection, writer.uint32(/* id 23, wireType 2 =*/186).fork(), q + 1).ldelim(); if (message.never != null && Object.hasOwnProperty.call(message, "never")) - $root.baml_core.cffi.v1.BamlTyNever.encode(message.never, writer.uint32(/* id 24, wireType 2 =*/194).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyNever.encode(message.never, writer.uint32(/* id 24, wireType 2 =*/194).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlTy message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTy.verify|verify} messages. + * Encodes the specified BamlTy message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTy.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTy + * @memberof baml_bridge.cffi.v1.BamlTy * @static - * @param {baml_core.cffi.v1.IBamlTy} message BamlTy message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTy} message BamlTy message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -3632,11 +3632,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTy message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTy + * @memberof baml_bridge.cffi.v1.BamlTy * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTy} BamlTy + * @returns {baml_bridge.cffi.v1.BamlTy} BamlTy * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -3647,106 +3647,106 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTy(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTy(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.primitive = $root.baml_core.cffi.v1.BamlTyPrimitive.decode(reader, reader.uint32(), undefined, long + 1); + message.primitive = $root.baml_bridge.cffi.v1.BamlTyPrimitive.decode(reader, reader.uint32(), undefined, long + 1); break; } case 2: { - message.classTy = $root.baml_core.cffi.v1.BamlTyClass.decode(reader, reader.uint32(), undefined, long + 1); + message.classTy = $root.baml_bridge.cffi.v1.BamlTyClass.decode(reader, reader.uint32(), undefined, long + 1); break; } case 3: { - message["enum"] = $root.baml_core.cffi.v1.BamlTyEnum.decode(reader, reader.uint32(), undefined, long + 1); + message["enum"] = $root.baml_bridge.cffi.v1.BamlTyEnum.decode(reader, reader.uint32(), undefined, long + 1); break; } case 4: { - message.list = $root.baml_core.cffi.v1.BamlTyList.decode(reader, reader.uint32(), undefined, long + 1); + message.list = $root.baml_bridge.cffi.v1.BamlTyList.decode(reader, reader.uint32(), undefined, long + 1); break; } case 5: { - message.map = $root.baml_core.cffi.v1.BamlTyMap.decode(reader, reader.uint32(), undefined, long + 1); + message.map = $root.baml_bridge.cffi.v1.BamlTyMap.decode(reader, reader.uint32(), undefined, long + 1); break; } case 6: { - message.optional = $root.baml_core.cffi.v1.BamlTyOptional.decode(reader, reader.uint32(), undefined, long + 1); + message.optional = $root.baml_bridge.cffi.v1.BamlTyOptional.decode(reader, reader.uint32(), undefined, long + 1); break; } case 7: { - message.union = $root.baml_core.cffi.v1.BamlTyUnion.decode(reader, reader.uint32(), undefined, long + 1); + message.union = $root.baml_bridge.cffi.v1.BamlTyUnion.decode(reader, reader.uint32(), undefined, long + 1); break; } case 8: { - message.literal = $root.baml_core.cffi.v1.BamlTyLiteral.decode(reader, reader.uint32(), undefined, long + 1); + message.literal = $root.baml_bridge.cffi.v1.BamlTyLiteral.decode(reader, reader.uint32(), undefined, long + 1); break; } case 9: { - message.typeAlias = $root.baml_core.cffi.v1.BamlTyTypeAlias.decode(reader, reader.uint32(), undefined, long + 1); + message.typeAlias = $root.baml_bridge.cffi.v1.BamlTyTypeAlias.decode(reader, reader.uint32(), undefined, long + 1); break; } case 10: { - message.unknown = $root.baml_core.cffi.v1.BamlTyUnknown.decode(reader, reader.uint32(), undefined, long + 1); + message.unknown = $root.baml_bridge.cffi.v1.BamlTyUnknown.decode(reader, reader.uint32(), undefined, long + 1); break; } case 11: { - message.media = $root.baml_core.cffi.v1.BamlTyMedia.decode(reader, reader.uint32(), undefined, long + 1); + message.media = $root.baml_bridge.cffi.v1.BamlTyMedia.decode(reader, reader.uint32(), undefined, long + 1); break; } case 12: { - message["interface"] = $root.baml_core.cffi.v1.BamlTyInterface.decode(reader, reader.uint32(), undefined, long + 1); + message["interface"] = $root.baml_bridge.cffi.v1.BamlTyInterface.decode(reader, reader.uint32(), undefined, long + 1); break; } case 13: { - message.enumVariant = $root.baml_core.cffi.v1.BamlTyEnumVariant.decode(reader, reader.uint32(), undefined, long + 1); + message.enumVariant = $root.baml_bridge.cffi.v1.BamlTyEnumVariant.decode(reader, reader.uint32(), undefined, long + 1); break; } case 14: { - message["function"] = $root.baml_core.cffi.v1.BamlTyFunction.decode(reader, reader.uint32(), undefined, long + 1); + message["function"] = $root.baml_bridge.cffi.v1.BamlTyFunction.decode(reader, reader.uint32(), undefined, long + 1); break; } case 15: { - message.future = $root.baml_core.cffi.v1.BamlTyFuture.decode(reader, reader.uint32(), undefined, long + 1); + message.future = $root.baml_bridge.cffi.v1.BamlTyFuture.decode(reader, reader.uint32(), undefined, long + 1); break; } case 16: { - message.rustType = $root.baml_core.cffi.v1.BamlTyRustType.decode(reader, reader.uint32(), undefined, long + 1); + message.rustType = $root.baml_bridge.cffi.v1.BamlTyRustType.decode(reader, reader.uint32(), undefined, long + 1); break; } case 17: { - message.metaType = $root.baml_core.cffi.v1.BamlTyMetaType.decode(reader, reader.uint32(), undefined, long + 1); + message.metaType = $root.baml_bridge.cffi.v1.BamlTyMetaType.decode(reader, reader.uint32(), undefined, long + 1); break; } case 18: { - message.resource = $root.baml_core.cffi.v1.BamlTyResource.decode(reader, reader.uint32(), undefined, long + 1); + message.resource = $root.baml_bridge.cffi.v1.BamlTyResource.decode(reader, reader.uint32(), undefined, long + 1); break; } case 19: { - message.promptAst = $root.baml_core.cffi.v1.BamlTyPromptAst.decode(reader, reader.uint32(), undefined, long + 1); + message.promptAst = $root.baml_bridge.cffi.v1.BamlTyPromptAst.decode(reader, reader.uint32(), undefined, long + 1); break; } case 20: { - message["void"] = $root.baml_core.cffi.v1.BamlTyVoid.decode(reader, reader.uint32(), undefined, long + 1); + message["void"] = $root.baml_bridge.cffi.v1.BamlTyVoid.decode(reader, reader.uint32(), undefined, long + 1); break; } case 21: { - message.watchAccessor = $root.baml_core.cffi.v1.BamlTyWatchAccessor.decode(reader, reader.uint32(), undefined, long + 1); + message.watchAccessor = $root.baml_bridge.cffi.v1.BamlTyWatchAccessor.decode(reader, reader.uint32(), undefined, long + 1); break; } case 22: { - message.typeVar = $root.baml_core.cffi.v1.BamlTyTypeVar.decode(reader, reader.uint32(), undefined, long + 1); + message.typeVar = $root.baml_bridge.cffi.v1.BamlTyTypeVar.decode(reader, reader.uint32(), undefined, long + 1); break; } case 23: { - message.associatedTypeProjection = $root.baml_core.cffi.v1.BamlTyAssociatedTypeProjection.decode(reader, reader.uint32(), undefined, long + 1); + message.associatedTypeProjection = $root.baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection.decode(reader, reader.uint32(), undefined, long + 1); break; } case 24: { - message.never = $root.baml_core.cffi.v1.BamlTyNever.decode(reader, reader.uint32(), undefined, long + 1); + message.never = $root.baml_bridge.cffi.v1.BamlTyNever.decode(reader, reader.uint32(), undefined, long + 1); break; } default: @@ -3760,10 +3760,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTy message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTy + * @memberof baml_bridge.cffi.v1.BamlTy * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTy} BamlTy + * @returns {baml_bridge.cffi.v1.BamlTy} BamlTy * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -3776,7 +3776,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTy message. * @function verify - * @memberof baml_core.cffi.v1.BamlTy + * @memberof baml_bridge.cffi.v1.BamlTy * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -3792,7 +3792,7 @@ export const baml_core = $root.baml_core = (() => { if (message.primitive != null && message.hasOwnProperty("primitive")) { properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyPrimitive.verify(message.primitive, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyPrimitive.verify(message.primitive, long + 1); if (error) return "primitive." + error; } @@ -3802,7 +3802,7 @@ export const baml_core = $root.baml_core = (() => { return "ty: multiple values"; properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyClass.verify(message.classTy, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyClass.verify(message.classTy, long + 1); if (error) return "classTy." + error; } @@ -3812,7 +3812,7 @@ export const baml_core = $root.baml_core = (() => { return "ty: multiple values"; properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyEnum.verify(message["enum"], long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyEnum.verify(message["enum"], long + 1); if (error) return "enum." + error; } @@ -3822,7 +3822,7 @@ export const baml_core = $root.baml_core = (() => { return "ty: multiple values"; properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyList.verify(message.list, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyList.verify(message.list, long + 1); if (error) return "list." + error; } @@ -3832,7 +3832,7 @@ export const baml_core = $root.baml_core = (() => { return "ty: multiple values"; properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyMap.verify(message.map, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyMap.verify(message.map, long + 1); if (error) return "map." + error; } @@ -3842,7 +3842,7 @@ export const baml_core = $root.baml_core = (() => { return "ty: multiple values"; properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyOptional.verify(message.optional, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyOptional.verify(message.optional, long + 1); if (error) return "optional." + error; } @@ -3852,7 +3852,7 @@ export const baml_core = $root.baml_core = (() => { return "ty: multiple values"; properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyUnion.verify(message.union, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyUnion.verify(message.union, long + 1); if (error) return "union." + error; } @@ -3862,7 +3862,7 @@ export const baml_core = $root.baml_core = (() => { return "ty: multiple values"; properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyLiteral.verify(message.literal, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyLiteral.verify(message.literal, long + 1); if (error) return "literal." + error; } @@ -3872,7 +3872,7 @@ export const baml_core = $root.baml_core = (() => { return "ty: multiple values"; properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyTypeAlias.verify(message.typeAlias, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyTypeAlias.verify(message.typeAlias, long + 1); if (error) return "typeAlias." + error; } @@ -3882,7 +3882,7 @@ export const baml_core = $root.baml_core = (() => { return "ty: multiple values"; properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyUnknown.verify(message.unknown, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyUnknown.verify(message.unknown, long + 1); if (error) return "unknown." + error; } @@ -3892,7 +3892,7 @@ export const baml_core = $root.baml_core = (() => { return "ty: multiple values"; properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyMedia.verify(message.media, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyMedia.verify(message.media, long + 1); if (error) return "media." + error; } @@ -3902,7 +3902,7 @@ export const baml_core = $root.baml_core = (() => { return "ty: multiple values"; properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyInterface.verify(message["interface"], long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyInterface.verify(message["interface"], long + 1); if (error) return "interface." + error; } @@ -3912,7 +3912,7 @@ export const baml_core = $root.baml_core = (() => { return "ty: multiple values"; properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyEnumVariant.verify(message.enumVariant, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyEnumVariant.verify(message.enumVariant, long + 1); if (error) return "enumVariant." + error; } @@ -3922,7 +3922,7 @@ export const baml_core = $root.baml_core = (() => { return "ty: multiple values"; properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyFunction.verify(message["function"], long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyFunction.verify(message["function"], long + 1); if (error) return "function." + error; } @@ -3932,7 +3932,7 @@ export const baml_core = $root.baml_core = (() => { return "ty: multiple values"; properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyFuture.verify(message.future, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyFuture.verify(message.future, long + 1); if (error) return "future." + error; } @@ -3942,7 +3942,7 @@ export const baml_core = $root.baml_core = (() => { return "ty: multiple values"; properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyRustType.verify(message.rustType, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyRustType.verify(message.rustType, long + 1); if (error) return "rustType." + error; } @@ -3952,7 +3952,7 @@ export const baml_core = $root.baml_core = (() => { return "ty: multiple values"; properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyMetaType.verify(message.metaType, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyMetaType.verify(message.metaType, long + 1); if (error) return "metaType." + error; } @@ -3962,7 +3962,7 @@ export const baml_core = $root.baml_core = (() => { return "ty: multiple values"; properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyResource.verify(message.resource, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyResource.verify(message.resource, long + 1); if (error) return "resource." + error; } @@ -3972,7 +3972,7 @@ export const baml_core = $root.baml_core = (() => { return "ty: multiple values"; properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyPromptAst.verify(message.promptAst, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyPromptAst.verify(message.promptAst, long + 1); if (error) return "promptAst." + error; } @@ -3982,7 +3982,7 @@ export const baml_core = $root.baml_core = (() => { return "ty: multiple values"; properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyVoid.verify(message["void"], long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyVoid.verify(message["void"], long + 1); if (error) return "void." + error; } @@ -3992,7 +3992,7 @@ export const baml_core = $root.baml_core = (() => { return "ty: multiple values"; properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyWatchAccessor.verify(message.watchAccessor, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyWatchAccessor.verify(message.watchAccessor, long + 1); if (error) return "watchAccessor." + error; } @@ -4002,7 +4002,7 @@ export const baml_core = $root.baml_core = (() => { return "ty: multiple values"; properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyTypeVar.verify(message.typeVar, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyTypeVar.verify(message.typeVar, long + 1); if (error) return "typeVar." + error; } @@ -4012,7 +4012,7 @@ export const baml_core = $root.baml_core = (() => { return "ty: multiple values"; properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyAssociatedTypeProjection.verify(message.associatedTypeProjection, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection.verify(message.associatedTypeProjection, long + 1); if (error) return "associatedTypeProjection." + error; } @@ -4022,7 +4022,7 @@ export const baml_core = $root.baml_core = (() => { return "ty: multiple values"; properties.ty = 1; { - let error = $root.baml_core.cffi.v1.BamlTyNever.verify(message.never, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyNever.verify(message.never, long + 1); if (error) return "never." + error; } @@ -4033,140 +4033,140 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTy message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTy + * @memberof baml_bridge.cffi.v1.BamlTy * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTy} BamlTy + * @returns {baml_bridge.cffi.v1.BamlTy} BamlTy */ BamlTy.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTy) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTy) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTy: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTy: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlTy(); + let message = new $root.baml_bridge.cffi.v1.BamlTy(); if (object.primitive != null) { if (!$util.isObject(object.primitive)) - throw TypeError(".baml_core.cffi.v1.BamlTy.primitive: object expected"); - message.primitive = $root.baml_core.cffi.v1.BamlTyPrimitive.fromObject(object.primitive, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.primitive: object expected"); + message.primitive = $root.baml_bridge.cffi.v1.BamlTyPrimitive.fromObject(object.primitive, long + 1); } if (object.classTy != null) { if (!$util.isObject(object.classTy)) - throw TypeError(".baml_core.cffi.v1.BamlTy.classTy: object expected"); - message.classTy = $root.baml_core.cffi.v1.BamlTyClass.fromObject(object.classTy, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.classTy: object expected"); + message.classTy = $root.baml_bridge.cffi.v1.BamlTyClass.fromObject(object.classTy, long + 1); } if (object["enum"] != null) { if (!$util.isObject(object["enum"])) - throw TypeError(".baml_core.cffi.v1.BamlTy.enum: object expected"); - message["enum"] = $root.baml_core.cffi.v1.BamlTyEnum.fromObject(object["enum"], long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.enum: object expected"); + message["enum"] = $root.baml_bridge.cffi.v1.BamlTyEnum.fromObject(object["enum"], long + 1); } if (object.list != null) { if (!$util.isObject(object.list)) - throw TypeError(".baml_core.cffi.v1.BamlTy.list: object expected"); - message.list = $root.baml_core.cffi.v1.BamlTyList.fromObject(object.list, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.list: object expected"); + message.list = $root.baml_bridge.cffi.v1.BamlTyList.fromObject(object.list, long + 1); } if (object.map != null) { if (!$util.isObject(object.map)) - throw TypeError(".baml_core.cffi.v1.BamlTy.map: object expected"); - message.map = $root.baml_core.cffi.v1.BamlTyMap.fromObject(object.map, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.map: object expected"); + message.map = $root.baml_bridge.cffi.v1.BamlTyMap.fromObject(object.map, long + 1); } if (object.optional != null) { if (!$util.isObject(object.optional)) - throw TypeError(".baml_core.cffi.v1.BamlTy.optional: object expected"); - message.optional = $root.baml_core.cffi.v1.BamlTyOptional.fromObject(object.optional, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.optional: object expected"); + message.optional = $root.baml_bridge.cffi.v1.BamlTyOptional.fromObject(object.optional, long + 1); } if (object.union != null) { if (!$util.isObject(object.union)) - throw TypeError(".baml_core.cffi.v1.BamlTy.union: object expected"); - message.union = $root.baml_core.cffi.v1.BamlTyUnion.fromObject(object.union, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.union: object expected"); + message.union = $root.baml_bridge.cffi.v1.BamlTyUnion.fromObject(object.union, long + 1); } if (object.literal != null) { if (!$util.isObject(object.literal)) - throw TypeError(".baml_core.cffi.v1.BamlTy.literal: object expected"); - message.literal = $root.baml_core.cffi.v1.BamlTyLiteral.fromObject(object.literal, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.literal: object expected"); + message.literal = $root.baml_bridge.cffi.v1.BamlTyLiteral.fromObject(object.literal, long + 1); } if (object.typeAlias != null) { if (!$util.isObject(object.typeAlias)) - throw TypeError(".baml_core.cffi.v1.BamlTy.typeAlias: object expected"); - message.typeAlias = $root.baml_core.cffi.v1.BamlTyTypeAlias.fromObject(object.typeAlias, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.typeAlias: object expected"); + message.typeAlias = $root.baml_bridge.cffi.v1.BamlTyTypeAlias.fromObject(object.typeAlias, long + 1); } if (object.unknown != null) { if (!$util.isObject(object.unknown)) - throw TypeError(".baml_core.cffi.v1.BamlTy.unknown: object expected"); - message.unknown = $root.baml_core.cffi.v1.BamlTyUnknown.fromObject(object.unknown, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.unknown: object expected"); + message.unknown = $root.baml_bridge.cffi.v1.BamlTyUnknown.fromObject(object.unknown, long + 1); } if (object.media != null) { if (!$util.isObject(object.media)) - throw TypeError(".baml_core.cffi.v1.BamlTy.media: object expected"); - message.media = $root.baml_core.cffi.v1.BamlTyMedia.fromObject(object.media, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.media: object expected"); + message.media = $root.baml_bridge.cffi.v1.BamlTyMedia.fromObject(object.media, long + 1); } if (object["interface"] != null) { if (!$util.isObject(object["interface"])) - throw TypeError(".baml_core.cffi.v1.BamlTy.interface: object expected"); - message["interface"] = $root.baml_core.cffi.v1.BamlTyInterface.fromObject(object["interface"], long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.interface: object expected"); + message["interface"] = $root.baml_bridge.cffi.v1.BamlTyInterface.fromObject(object["interface"], long + 1); } if (object.enumVariant != null) { if (!$util.isObject(object.enumVariant)) - throw TypeError(".baml_core.cffi.v1.BamlTy.enumVariant: object expected"); - message.enumVariant = $root.baml_core.cffi.v1.BamlTyEnumVariant.fromObject(object.enumVariant, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.enumVariant: object expected"); + message.enumVariant = $root.baml_bridge.cffi.v1.BamlTyEnumVariant.fromObject(object.enumVariant, long + 1); } if (object["function"] != null) { if (!$util.isObject(object["function"])) - throw TypeError(".baml_core.cffi.v1.BamlTy.function: object expected"); - message["function"] = $root.baml_core.cffi.v1.BamlTyFunction.fromObject(object["function"], long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.function: object expected"); + message["function"] = $root.baml_bridge.cffi.v1.BamlTyFunction.fromObject(object["function"], long + 1); } if (object.future != null) { if (!$util.isObject(object.future)) - throw TypeError(".baml_core.cffi.v1.BamlTy.future: object expected"); - message.future = $root.baml_core.cffi.v1.BamlTyFuture.fromObject(object.future, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.future: object expected"); + message.future = $root.baml_bridge.cffi.v1.BamlTyFuture.fromObject(object.future, long + 1); } if (object.rustType != null) { if (!$util.isObject(object.rustType)) - throw TypeError(".baml_core.cffi.v1.BamlTy.rustType: object expected"); - message.rustType = $root.baml_core.cffi.v1.BamlTyRustType.fromObject(object.rustType, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.rustType: object expected"); + message.rustType = $root.baml_bridge.cffi.v1.BamlTyRustType.fromObject(object.rustType, long + 1); } if (object.metaType != null) { if (!$util.isObject(object.metaType)) - throw TypeError(".baml_core.cffi.v1.BamlTy.metaType: object expected"); - message.metaType = $root.baml_core.cffi.v1.BamlTyMetaType.fromObject(object.metaType, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.metaType: object expected"); + message.metaType = $root.baml_bridge.cffi.v1.BamlTyMetaType.fromObject(object.metaType, long + 1); } if (object.resource != null) { if (!$util.isObject(object.resource)) - throw TypeError(".baml_core.cffi.v1.BamlTy.resource: object expected"); - message.resource = $root.baml_core.cffi.v1.BamlTyResource.fromObject(object.resource, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.resource: object expected"); + message.resource = $root.baml_bridge.cffi.v1.BamlTyResource.fromObject(object.resource, long + 1); } if (object.promptAst != null) { if (!$util.isObject(object.promptAst)) - throw TypeError(".baml_core.cffi.v1.BamlTy.promptAst: object expected"); - message.promptAst = $root.baml_core.cffi.v1.BamlTyPromptAst.fromObject(object.promptAst, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.promptAst: object expected"); + message.promptAst = $root.baml_bridge.cffi.v1.BamlTyPromptAst.fromObject(object.promptAst, long + 1); } if (object["void"] != null) { if (!$util.isObject(object["void"])) - throw TypeError(".baml_core.cffi.v1.BamlTy.void: object expected"); - message["void"] = $root.baml_core.cffi.v1.BamlTyVoid.fromObject(object["void"], long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.void: object expected"); + message["void"] = $root.baml_bridge.cffi.v1.BamlTyVoid.fromObject(object["void"], long + 1); } if (object.watchAccessor != null) { if (!$util.isObject(object.watchAccessor)) - throw TypeError(".baml_core.cffi.v1.BamlTy.watchAccessor: object expected"); - message.watchAccessor = $root.baml_core.cffi.v1.BamlTyWatchAccessor.fromObject(object.watchAccessor, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.watchAccessor: object expected"); + message.watchAccessor = $root.baml_bridge.cffi.v1.BamlTyWatchAccessor.fromObject(object.watchAccessor, long + 1); } if (object.typeVar != null) { if (!$util.isObject(object.typeVar)) - throw TypeError(".baml_core.cffi.v1.BamlTy.typeVar: object expected"); - message.typeVar = $root.baml_core.cffi.v1.BamlTyTypeVar.fromObject(object.typeVar, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.typeVar: object expected"); + message.typeVar = $root.baml_bridge.cffi.v1.BamlTyTypeVar.fromObject(object.typeVar, long + 1); } if (object.associatedTypeProjection != null) { if (!$util.isObject(object.associatedTypeProjection)) - throw TypeError(".baml_core.cffi.v1.BamlTy.associatedTypeProjection: object expected"); - message.associatedTypeProjection = $root.baml_core.cffi.v1.BamlTyAssociatedTypeProjection.fromObject(object.associatedTypeProjection, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.associatedTypeProjection: object expected"); + message.associatedTypeProjection = $root.baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection.fromObject(object.associatedTypeProjection, long + 1); } if (object.never != null) { if (!$util.isObject(object.never)) - throw TypeError(".baml_core.cffi.v1.BamlTy.never: object expected"); - message.never = $root.baml_core.cffi.v1.BamlTyNever.fromObject(object.never, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTy.never: object expected"); + message.never = $root.baml_bridge.cffi.v1.BamlTyNever.fromObject(object.never, long + 1); } return message; }; @@ -4174,9 +4174,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlTy message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTy + * @memberof baml_bridge.cffi.v1.BamlTy * @static - * @param {baml_core.cffi.v1.BamlTy} message BamlTy + * @param {baml_bridge.cffi.v1.BamlTy} message BamlTy * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -4189,122 +4189,122 @@ export const baml_core = $root.baml_core = (() => { throw Error("max depth exceeded"); let object = {}; if (message.primitive != null && message.hasOwnProperty("primitive")) { - object.primitive = $root.baml_core.cffi.v1.BamlTyPrimitive.toObject(message.primitive, options, q + 1); + object.primitive = $root.baml_bridge.cffi.v1.BamlTyPrimitive.toObject(message.primitive, options, q + 1); if (options.oneofs) object.ty = "primitive"; } if (message.classTy != null && message.hasOwnProperty("classTy")) { - object.classTy = $root.baml_core.cffi.v1.BamlTyClass.toObject(message.classTy, options, q + 1); + object.classTy = $root.baml_bridge.cffi.v1.BamlTyClass.toObject(message.classTy, options, q + 1); if (options.oneofs) object.ty = "classTy"; } if (message["enum"] != null && message.hasOwnProperty("enum")) { - object["enum"] = $root.baml_core.cffi.v1.BamlTyEnum.toObject(message["enum"], options, q + 1); + object["enum"] = $root.baml_bridge.cffi.v1.BamlTyEnum.toObject(message["enum"], options, q + 1); if (options.oneofs) object.ty = "enum"; } if (message.list != null && message.hasOwnProperty("list")) { - object.list = $root.baml_core.cffi.v1.BamlTyList.toObject(message.list, options, q + 1); + object.list = $root.baml_bridge.cffi.v1.BamlTyList.toObject(message.list, options, q + 1); if (options.oneofs) object.ty = "list"; } if (message.map != null && message.hasOwnProperty("map")) { - object.map = $root.baml_core.cffi.v1.BamlTyMap.toObject(message.map, options, q + 1); + object.map = $root.baml_bridge.cffi.v1.BamlTyMap.toObject(message.map, options, q + 1); if (options.oneofs) object.ty = "map"; } if (message.optional != null && message.hasOwnProperty("optional")) { - object.optional = $root.baml_core.cffi.v1.BamlTyOptional.toObject(message.optional, options, q + 1); + object.optional = $root.baml_bridge.cffi.v1.BamlTyOptional.toObject(message.optional, options, q + 1); if (options.oneofs) object.ty = "optional"; } if (message.union != null && message.hasOwnProperty("union")) { - object.union = $root.baml_core.cffi.v1.BamlTyUnion.toObject(message.union, options, q + 1); + object.union = $root.baml_bridge.cffi.v1.BamlTyUnion.toObject(message.union, options, q + 1); if (options.oneofs) object.ty = "union"; } if (message.literal != null && message.hasOwnProperty("literal")) { - object.literal = $root.baml_core.cffi.v1.BamlTyLiteral.toObject(message.literal, options, q + 1); + object.literal = $root.baml_bridge.cffi.v1.BamlTyLiteral.toObject(message.literal, options, q + 1); if (options.oneofs) object.ty = "literal"; } if (message.typeAlias != null && message.hasOwnProperty("typeAlias")) { - object.typeAlias = $root.baml_core.cffi.v1.BamlTyTypeAlias.toObject(message.typeAlias, options, q + 1); + object.typeAlias = $root.baml_bridge.cffi.v1.BamlTyTypeAlias.toObject(message.typeAlias, options, q + 1); if (options.oneofs) object.ty = "typeAlias"; } if (message.unknown != null && message.hasOwnProperty("unknown")) { - object.unknown = $root.baml_core.cffi.v1.BamlTyUnknown.toObject(message.unknown, options, q + 1); + object.unknown = $root.baml_bridge.cffi.v1.BamlTyUnknown.toObject(message.unknown, options, q + 1); if (options.oneofs) object.ty = "unknown"; } if (message.media != null && message.hasOwnProperty("media")) { - object.media = $root.baml_core.cffi.v1.BamlTyMedia.toObject(message.media, options, q + 1); + object.media = $root.baml_bridge.cffi.v1.BamlTyMedia.toObject(message.media, options, q + 1); if (options.oneofs) object.ty = "media"; } if (message["interface"] != null && message.hasOwnProperty("interface")) { - object["interface"] = $root.baml_core.cffi.v1.BamlTyInterface.toObject(message["interface"], options, q + 1); + object["interface"] = $root.baml_bridge.cffi.v1.BamlTyInterface.toObject(message["interface"], options, q + 1); if (options.oneofs) object.ty = "interface"; } if (message.enumVariant != null && message.hasOwnProperty("enumVariant")) { - object.enumVariant = $root.baml_core.cffi.v1.BamlTyEnumVariant.toObject(message.enumVariant, options, q + 1); + object.enumVariant = $root.baml_bridge.cffi.v1.BamlTyEnumVariant.toObject(message.enumVariant, options, q + 1); if (options.oneofs) object.ty = "enumVariant"; } if (message["function"] != null && message.hasOwnProperty("function")) { - object["function"] = $root.baml_core.cffi.v1.BamlTyFunction.toObject(message["function"], options, q + 1); + object["function"] = $root.baml_bridge.cffi.v1.BamlTyFunction.toObject(message["function"], options, q + 1); if (options.oneofs) object.ty = "function"; } if (message.future != null && message.hasOwnProperty("future")) { - object.future = $root.baml_core.cffi.v1.BamlTyFuture.toObject(message.future, options, q + 1); + object.future = $root.baml_bridge.cffi.v1.BamlTyFuture.toObject(message.future, options, q + 1); if (options.oneofs) object.ty = "future"; } if (message.rustType != null && message.hasOwnProperty("rustType")) { - object.rustType = $root.baml_core.cffi.v1.BamlTyRustType.toObject(message.rustType, options, q + 1); + object.rustType = $root.baml_bridge.cffi.v1.BamlTyRustType.toObject(message.rustType, options, q + 1); if (options.oneofs) object.ty = "rustType"; } if (message.metaType != null && message.hasOwnProperty("metaType")) { - object.metaType = $root.baml_core.cffi.v1.BamlTyMetaType.toObject(message.metaType, options, q + 1); + object.metaType = $root.baml_bridge.cffi.v1.BamlTyMetaType.toObject(message.metaType, options, q + 1); if (options.oneofs) object.ty = "metaType"; } if (message.resource != null && message.hasOwnProperty("resource")) { - object.resource = $root.baml_core.cffi.v1.BamlTyResource.toObject(message.resource, options, q + 1); + object.resource = $root.baml_bridge.cffi.v1.BamlTyResource.toObject(message.resource, options, q + 1); if (options.oneofs) object.ty = "resource"; } if (message.promptAst != null && message.hasOwnProperty("promptAst")) { - object.promptAst = $root.baml_core.cffi.v1.BamlTyPromptAst.toObject(message.promptAst, options, q + 1); + object.promptAst = $root.baml_bridge.cffi.v1.BamlTyPromptAst.toObject(message.promptAst, options, q + 1); if (options.oneofs) object.ty = "promptAst"; } if (message["void"] != null && message.hasOwnProperty("void")) { - object["void"] = $root.baml_core.cffi.v1.BamlTyVoid.toObject(message["void"], options, q + 1); + object["void"] = $root.baml_bridge.cffi.v1.BamlTyVoid.toObject(message["void"], options, q + 1); if (options.oneofs) object.ty = "void"; } if (message.watchAccessor != null && message.hasOwnProperty("watchAccessor")) { - object.watchAccessor = $root.baml_core.cffi.v1.BamlTyWatchAccessor.toObject(message.watchAccessor, options, q + 1); + object.watchAccessor = $root.baml_bridge.cffi.v1.BamlTyWatchAccessor.toObject(message.watchAccessor, options, q + 1); if (options.oneofs) object.ty = "watchAccessor"; } if (message.typeVar != null && message.hasOwnProperty("typeVar")) { - object.typeVar = $root.baml_core.cffi.v1.BamlTyTypeVar.toObject(message.typeVar, options, q + 1); + object.typeVar = $root.baml_bridge.cffi.v1.BamlTyTypeVar.toObject(message.typeVar, options, q + 1); if (options.oneofs) object.ty = "typeVar"; } if (message.associatedTypeProjection != null && message.hasOwnProperty("associatedTypeProjection")) { - object.associatedTypeProjection = $root.baml_core.cffi.v1.BamlTyAssociatedTypeProjection.toObject(message.associatedTypeProjection, options, q + 1); + object.associatedTypeProjection = $root.baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection.toObject(message.associatedTypeProjection, options, q + 1); if (options.oneofs) object.ty = "associatedTypeProjection"; } if (message.never != null && message.hasOwnProperty("never")) { - object.never = $root.baml_core.cffi.v1.BamlTyNever.toObject(message.never, options, q + 1); + object.never = $root.baml_bridge.cffi.v1.BamlTyNever.toObject(message.never, options, q + 1); if (options.oneofs) object.ty = "never"; } @@ -4314,7 +4314,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlTy to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTy + * @memberof baml_bridge.cffi.v1.BamlTy * @instance * @returns {Object.} JSON object */ @@ -4325,7 +4325,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTy * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTy + * @memberof baml_bridge.cffi.v1.BamlTy * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -4334,7 +4334,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTy"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTy"; }; return BamlTy; @@ -4342,7 +4342,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyPrimitiveKind enum. - * @name baml_core.cffi.v1.BamlTyPrimitiveKind + * @name baml_bridge.cffi.v1.BamlTyPrimitiveKind * @enum {number} * @property {number} BAML_TY_PRIMITIVE_UNSPECIFIED=0 BAML_TY_PRIMITIVE_UNSPECIFIED value * @property {number} BAML_TY_PRIMITIVE_STRING=1 BAML_TY_PRIMITIVE_STRING value @@ -4370,18 +4370,18 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyPrimitive. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyPrimitive - * @property {baml_core.cffi.v1.BamlTyPrimitiveKind|null} [kind] BamlTyPrimitive kind + * @property {baml_bridge.cffi.v1.BamlTyPrimitiveKind|null} [kind] BamlTyPrimitive kind */ /** * Constructs a new BamlTyPrimitive. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyPrimitive. * @implements IBamlTyPrimitive * @constructor - * @param {baml_core.cffi.v1.IBamlTyPrimitive=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyPrimitive=} [properties] Properties to set */ function BamlTyPrimitive(properties) { if (properties) @@ -4392,8 +4392,8 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyPrimitive kind. - * @member {baml_core.cffi.v1.BamlTyPrimitiveKind} kind - * @memberof baml_core.cffi.v1.BamlTyPrimitive + * @member {baml_bridge.cffi.v1.BamlTyPrimitiveKind} kind + * @memberof baml_bridge.cffi.v1.BamlTyPrimitive * @instance */ BamlTyPrimitive.prototype.kind = 0; @@ -4401,21 +4401,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyPrimitive instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyPrimitive + * @memberof baml_bridge.cffi.v1.BamlTyPrimitive * @static - * @param {baml_core.cffi.v1.IBamlTyPrimitive=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyPrimitive} BamlTyPrimitive instance + * @param {baml_bridge.cffi.v1.IBamlTyPrimitive=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyPrimitive} BamlTyPrimitive instance */ BamlTyPrimitive.create = function create(properties) { return new BamlTyPrimitive(properties); }; /** - * Encodes the specified BamlTyPrimitive message. Does not implicitly {@link baml_core.cffi.v1.BamlTyPrimitive.verify|verify} messages. + * Encodes the specified BamlTyPrimitive message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyPrimitive.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyPrimitive + * @memberof baml_bridge.cffi.v1.BamlTyPrimitive * @static - * @param {baml_core.cffi.v1.IBamlTyPrimitive} message BamlTyPrimitive message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyPrimitive} message BamlTyPrimitive message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -4432,11 +4432,11 @@ export const baml_core = $root.baml_core = (() => { }; /** - * Encodes the specified BamlTyPrimitive message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyPrimitive.verify|verify} messages. + * Encodes the specified BamlTyPrimitive message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyPrimitive.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyPrimitive + * @memberof baml_bridge.cffi.v1.BamlTyPrimitive * @static - * @param {baml_core.cffi.v1.IBamlTyPrimitive} message BamlTyPrimitive message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyPrimitive} message BamlTyPrimitive message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -4447,11 +4447,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyPrimitive message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyPrimitive + * @memberof baml_bridge.cffi.v1.BamlTyPrimitive * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyPrimitive} BamlTyPrimitive + * @returns {baml_bridge.cffi.v1.BamlTyPrimitive} BamlTyPrimitive * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -4462,7 +4462,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyPrimitive(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyPrimitive(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -4483,10 +4483,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyPrimitive message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyPrimitive + * @memberof baml_bridge.cffi.v1.BamlTyPrimitive * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyPrimitive} BamlTyPrimitive + * @returns {baml_bridge.cffi.v1.BamlTyPrimitive} BamlTyPrimitive * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -4499,7 +4499,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyPrimitive message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyPrimitive + * @memberof baml_bridge.cffi.v1.BamlTyPrimitive * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -4531,21 +4531,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyPrimitive message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyPrimitive + * @memberof baml_bridge.cffi.v1.BamlTyPrimitive * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyPrimitive} BamlTyPrimitive + * @returns {baml_bridge.cffi.v1.BamlTyPrimitive} BamlTyPrimitive */ BamlTyPrimitive.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyPrimitive) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyPrimitive) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyPrimitive: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyPrimitive: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlTyPrimitive(); + let message = new $root.baml_bridge.cffi.v1.BamlTyPrimitive(); switch (object.kind) { default: if (typeof object.kind === "number") { @@ -4592,9 +4592,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlTyPrimitive message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyPrimitive + * @memberof baml_bridge.cffi.v1.BamlTyPrimitive * @static - * @param {baml_core.cffi.v1.BamlTyPrimitive} message BamlTyPrimitive + * @param {baml_bridge.cffi.v1.BamlTyPrimitive} message BamlTyPrimitive * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -4609,14 +4609,14 @@ export const baml_core = $root.baml_core = (() => { if (options.defaults) object.kind = options.enums === String ? "BAML_TY_PRIMITIVE_UNSPECIFIED" : 0; if (message.kind != null && message.hasOwnProperty("kind")) - object.kind = options.enums === String ? $root.baml_core.cffi.v1.BamlTyPrimitiveKind[message.kind] === undefined ? message.kind : $root.baml_core.cffi.v1.BamlTyPrimitiveKind[message.kind] : message.kind; + object.kind = options.enums === String ? $root.baml_bridge.cffi.v1.BamlTyPrimitiveKind[message.kind] === undefined ? message.kind : $root.baml_bridge.cffi.v1.BamlTyPrimitiveKind[message.kind] : message.kind; return object; }; /** * Converts this BamlTyPrimitive to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyPrimitive + * @memberof baml_bridge.cffi.v1.BamlTyPrimitive * @instance * @returns {Object.} JSON object */ @@ -4627,7 +4627,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyPrimitive * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyPrimitive + * @memberof baml_bridge.cffi.v1.BamlTyPrimitive * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -4636,7 +4636,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyPrimitive"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyPrimitive"; }; return BamlTyPrimitive; @@ -4646,19 +4646,19 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyClass. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyClass * @property {string|null} [name] BamlTyClass name - * @property {Array.|null} [typeArgs] BamlTyClass typeArgs + * @property {Array.|null} [typeArgs] BamlTyClass typeArgs */ /** * Constructs a new BamlTyClass. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyClass. * @implements IBamlTyClass * @constructor - * @param {baml_core.cffi.v1.IBamlTyClass=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyClass=} [properties] Properties to set */ function BamlTyClass(properties) { this.typeArgs = []; @@ -4671,15 +4671,15 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyClass name. * @member {string} name - * @memberof baml_core.cffi.v1.BamlTyClass + * @memberof baml_bridge.cffi.v1.BamlTyClass * @instance */ BamlTyClass.prototype.name = ""; /** * BamlTyClass typeArgs. - * @member {Array.} typeArgs - * @memberof baml_core.cffi.v1.BamlTyClass + * @member {Array.} typeArgs + * @memberof baml_bridge.cffi.v1.BamlTyClass * @instance */ BamlTyClass.prototype.typeArgs = $util.emptyArray; @@ -4687,21 +4687,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyClass instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyClass + * @memberof baml_bridge.cffi.v1.BamlTyClass * @static - * @param {baml_core.cffi.v1.IBamlTyClass=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyClass} BamlTyClass instance + * @param {baml_bridge.cffi.v1.IBamlTyClass=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyClass} BamlTyClass instance */ BamlTyClass.create = function create(properties) { return new BamlTyClass(properties); }; /** - * Encodes the specified BamlTyClass message. Does not implicitly {@link baml_core.cffi.v1.BamlTyClass.verify|verify} messages. + * Encodes the specified BamlTyClass message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyClass.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyClass + * @memberof baml_bridge.cffi.v1.BamlTyClass * @static - * @param {baml_core.cffi.v1.IBamlTyClass} message BamlTyClass message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyClass} message BamlTyClass message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -4716,16 +4716,16 @@ export const baml_core = $root.baml_core = (() => { writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); if (message.typeArgs != null && message.typeArgs.length) for (let i = 0; i < message.typeArgs.length; ++i) - $root.baml_core.cffi.v1.BamlTy.encode(message.typeArgs[i], writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.typeArgs[i], writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlTyClass message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyClass.verify|verify} messages. + * Encodes the specified BamlTyClass message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyClass.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyClass + * @memberof baml_bridge.cffi.v1.BamlTyClass * @static - * @param {baml_core.cffi.v1.IBamlTyClass} message BamlTyClass message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyClass} message BamlTyClass message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -4736,11 +4736,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyClass message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyClass + * @memberof baml_bridge.cffi.v1.BamlTyClass * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyClass} BamlTyClass + * @returns {baml_bridge.cffi.v1.BamlTyClass} BamlTyClass * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -4751,7 +4751,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyClass(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyClass(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -4764,7 +4764,7 @@ export const baml_core = $root.baml_core = (() => { case 2: { if (!(message.typeArgs && message.typeArgs.length)) message.typeArgs = []; - message.typeArgs.push($root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1)); + message.typeArgs.push($root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1)); break; } default: @@ -4778,10 +4778,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyClass message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyClass + * @memberof baml_bridge.cffi.v1.BamlTyClass * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyClass} BamlTyClass + * @returns {baml_bridge.cffi.v1.BamlTyClass} BamlTyClass * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -4794,7 +4794,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyClass message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyClass + * @memberof baml_bridge.cffi.v1.BamlTyClass * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -4813,7 +4813,7 @@ export const baml_core = $root.baml_core = (() => { if (!Array.isArray(message.typeArgs)) return "typeArgs: array expected"; for (let i = 0; i < message.typeArgs.length; ++i) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.typeArgs[i], long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.typeArgs[i], long + 1); if (error) return "typeArgs." + error; } @@ -4824,31 +4824,31 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyClass message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyClass + * @memberof baml_bridge.cffi.v1.BamlTyClass * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyClass} BamlTyClass + * @returns {baml_bridge.cffi.v1.BamlTyClass} BamlTyClass */ BamlTyClass.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyClass) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyClass) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyClass: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyClass: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlTyClass(); + let message = new $root.baml_bridge.cffi.v1.BamlTyClass(); if (object.name != null) message.name = String(object.name); if (object.typeArgs) { if (!Array.isArray(object.typeArgs)) - throw TypeError(".baml_core.cffi.v1.BamlTyClass.typeArgs: array expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyClass.typeArgs: array expected"); message.typeArgs = []; for (let i = 0; i < object.typeArgs.length; ++i) { if (!$util.isObject(object.typeArgs[i])) - throw TypeError(".baml_core.cffi.v1.BamlTyClass.typeArgs: object expected"); - message.typeArgs[i] = $root.baml_core.cffi.v1.BamlTy.fromObject(object.typeArgs[i], long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTyClass.typeArgs: object expected"); + message.typeArgs[i] = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.typeArgs[i], long + 1); } } return message; @@ -4857,9 +4857,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlTyClass message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyClass + * @memberof baml_bridge.cffi.v1.BamlTyClass * @static - * @param {baml_core.cffi.v1.BamlTyClass} message BamlTyClass + * @param {baml_bridge.cffi.v1.BamlTyClass} message BamlTyClass * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -4880,7 +4880,7 @@ export const baml_core = $root.baml_core = (() => { if (message.typeArgs && message.typeArgs.length) { object.typeArgs = []; for (let j = 0; j < message.typeArgs.length; ++j) - object.typeArgs[j] = $root.baml_core.cffi.v1.BamlTy.toObject(message.typeArgs[j], options, q + 1); + object.typeArgs[j] = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.typeArgs[j], options, q + 1); } return object; }; @@ -4888,7 +4888,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlTyClass to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyClass + * @memberof baml_bridge.cffi.v1.BamlTyClass * @instance * @returns {Object.} JSON object */ @@ -4899,7 +4899,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyClass * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyClass + * @memberof baml_bridge.cffi.v1.BamlTyClass * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -4908,7 +4908,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyClass"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyClass"; }; return BamlTyClass; @@ -4918,19 +4918,19 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyTypeAlias. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyTypeAlias * @property {string|null} [name] BamlTyTypeAlias name - * @property {Array.|null} [typeArgs] BamlTyTypeAlias typeArgs + * @property {Array.|null} [typeArgs] BamlTyTypeAlias typeArgs */ /** * Constructs a new BamlTyTypeAlias. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyTypeAlias. * @implements IBamlTyTypeAlias * @constructor - * @param {baml_core.cffi.v1.IBamlTyTypeAlias=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyTypeAlias=} [properties] Properties to set */ function BamlTyTypeAlias(properties) { this.typeArgs = []; @@ -4943,15 +4943,15 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyTypeAlias name. * @member {string} name - * @memberof baml_core.cffi.v1.BamlTyTypeAlias + * @memberof baml_bridge.cffi.v1.BamlTyTypeAlias * @instance */ BamlTyTypeAlias.prototype.name = ""; /** * BamlTyTypeAlias typeArgs. - * @member {Array.} typeArgs - * @memberof baml_core.cffi.v1.BamlTyTypeAlias + * @member {Array.} typeArgs + * @memberof baml_bridge.cffi.v1.BamlTyTypeAlias * @instance */ BamlTyTypeAlias.prototype.typeArgs = $util.emptyArray; @@ -4959,21 +4959,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyTypeAlias instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyTypeAlias + * @memberof baml_bridge.cffi.v1.BamlTyTypeAlias * @static - * @param {baml_core.cffi.v1.IBamlTyTypeAlias=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyTypeAlias} BamlTyTypeAlias instance + * @param {baml_bridge.cffi.v1.IBamlTyTypeAlias=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyTypeAlias} BamlTyTypeAlias instance */ BamlTyTypeAlias.create = function create(properties) { return new BamlTyTypeAlias(properties); }; /** - * Encodes the specified BamlTyTypeAlias message. Does not implicitly {@link baml_core.cffi.v1.BamlTyTypeAlias.verify|verify} messages. + * Encodes the specified BamlTyTypeAlias message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyTypeAlias.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyTypeAlias + * @memberof baml_bridge.cffi.v1.BamlTyTypeAlias * @static - * @param {baml_core.cffi.v1.IBamlTyTypeAlias} message BamlTyTypeAlias message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyTypeAlias} message BamlTyTypeAlias message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -4988,16 +4988,16 @@ export const baml_core = $root.baml_core = (() => { writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); if (message.typeArgs != null && message.typeArgs.length) for (let i = 0; i < message.typeArgs.length; ++i) - $root.baml_core.cffi.v1.BamlTy.encode(message.typeArgs[i], writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.typeArgs[i], writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlTyTypeAlias message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyTypeAlias.verify|verify} messages. + * Encodes the specified BamlTyTypeAlias message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyTypeAlias.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyTypeAlias + * @memberof baml_bridge.cffi.v1.BamlTyTypeAlias * @static - * @param {baml_core.cffi.v1.IBamlTyTypeAlias} message BamlTyTypeAlias message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyTypeAlias} message BamlTyTypeAlias message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -5008,11 +5008,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyTypeAlias message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyTypeAlias + * @memberof baml_bridge.cffi.v1.BamlTyTypeAlias * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyTypeAlias} BamlTyTypeAlias + * @returns {baml_bridge.cffi.v1.BamlTyTypeAlias} BamlTyTypeAlias * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -5023,7 +5023,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyTypeAlias(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyTypeAlias(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -5036,7 +5036,7 @@ export const baml_core = $root.baml_core = (() => { case 2: { if (!(message.typeArgs && message.typeArgs.length)) message.typeArgs = []; - message.typeArgs.push($root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1)); + message.typeArgs.push($root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1)); break; } default: @@ -5050,10 +5050,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyTypeAlias message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyTypeAlias + * @memberof baml_bridge.cffi.v1.BamlTyTypeAlias * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyTypeAlias} BamlTyTypeAlias + * @returns {baml_bridge.cffi.v1.BamlTyTypeAlias} BamlTyTypeAlias * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -5066,7 +5066,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyTypeAlias message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyTypeAlias + * @memberof baml_bridge.cffi.v1.BamlTyTypeAlias * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -5085,7 +5085,7 @@ export const baml_core = $root.baml_core = (() => { if (!Array.isArray(message.typeArgs)) return "typeArgs: array expected"; for (let i = 0; i < message.typeArgs.length; ++i) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.typeArgs[i], long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.typeArgs[i], long + 1); if (error) return "typeArgs." + error; } @@ -5096,31 +5096,31 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyTypeAlias message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyTypeAlias + * @memberof baml_bridge.cffi.v1.BamlTyTypeAlias * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyTypeAlias} BamlTyTypeAlias + * @returns {baml_bridge.cffi.v1.BamlTyTypeAlias} BamlTyTypeAlias */ BamlTyTypeAlias.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyTypeAlias) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyTypeAlias) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyTypeAlias: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyTypeAlias: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlTyTypeAlias(); + let message = new $root.baml_bridge.cffi.v1.BamlTyTypeAlias(); if (object.name != null) message.name = String(object.name); if (object.typeArgs) { if (!Array.isArray(object.typeArgs)) - throw TypeError(".baml_core.cffi.v1.BamlTyTypeAlias.typeArgs: array expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyTypeAlias.typeArgs: array expected"); message.typeArgs = []; for (let i = 0; i < object.typeArgs.length; ++i) { if (!$util.isObject(object.typeArgs[i])) - throw TypeError(".baml_core.cffi.v1.BamlTyTypeAlias.typeArgs: object expected"); - message.typeArgs[i] = $root.baml_core.cffi.v1.BamlTy.fromObject(object.typeArgs[i], long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTyTypeAlias.typeArgs: object expected"); + message.typeArgs[i] = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.typeArgs[i], long + 1); } } return message; @@ -5129,9 +5129,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlTyTypeAlias message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyTypeAlias + * @memberof baml_bridge.cffi.v1.BamlTyTypeAlias * @static - * @param {baml_core.cffi.v1.BamlTyTypeAlias} message BamlTyTypeAlias + * @param {baml_bridge.cffi.v1.BamlTyTypeAlias} message BamlTyTypeAlias * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -5152,7 +5152,7 @@ export const baml_core = $root.baml_core = (() => { if (message.typeArgs && message.typeArgs.length) { object.typeArgs = []; for (let j = 0; j < message.typeArgs.length; ++j) - object.typeArgs[j] = $root.baml_core.cffi.v1.BamlTy.toObject(message.typeArgs[j], options, q + 1); + object.typeArgs[j] = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.typeArgs[j], options, q + 1); } return object; }; @@ -5160,7 +5160,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlTyTypeAlias to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyTypeAlias + * @memberof baml_bridge.cffi.v1.BamlTyTypeAlias * @instance * @returns {Object.} JSON object */ @@ -5171,7 +5171,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyTypeAlias * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyTypeAlias + * @memberof baml_bridge.cffi.v1.BamlTyTypeAlias * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -5180,7 +5180,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyTypeAlias"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyTypeAlias"; }; return BamlTyTypeAlias; @@ -5190,18 +5190,18 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyEnum. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyEnum * @property {string|null} [name] BamlTyEnum name */ /** * Constructs a new BamlTyEnum. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyEnum. * @implements IBamlTyEnum * @constructor - * @param {baml_core.cffi.v1.IBamlTyEnum=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyEnum=} [properties] Properties to set */ function BamlTyEnum(properties) { if (properties) @@ -5213,7 +5213,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyEnum name. * @member {string} name - * @memberof baml_core.cffi.v1.BamlTyEnum + * @memberof baml_bridge.cffi.v1.BamlTyEnum * @instance */ BamlTyEnum.prototype.name = ""; @@ -5221,21 +5221,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyEnum instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyEnum + * @memberof baml_bridge.cffi.v1.BamlTyEnum * @static - * @param {baml_core.cffi.v1.IBamlTyEnum=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyEnum} BamlTyEnum instance + * @param {baml_bridge.cffi.v1.IBamlTyEnum=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyEnum} BamlTyEnum instance */ BamlTyEnum.create = function create(properties) { return new BamlTyEnum(properties); }; /** - * Encodes the specified BamlTyEnum message. Does not implicitly {@link baml_core.cffi.v1.BamlTyEnum.verify|verify} messages. + * Encodes the specified BamlTyEnum message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyEnum.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyEnum + * @memberof baml_bridge.cffi.v1.BamlTyEnum * @static - * @param {baml_core.cffi.v1.IBamlTyEnum} message BamlTyEnum message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyEnum} message BamlTyEnum message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -5252,11 +5252,11 @@ export const baml_core = $root.baml_core = (() => { }; /** - * Encodes the specified BamlTyEnum message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyEnum.verify|verify} messages. + * Encodes the specified BamlTyEnum message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyEnum.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyEnum + * @memberof baml_bridge.cffi.v1.BamlTyEnum * @static - * @param {baml_core.cffi.v1.IBamlTyEnum} message BamlTyEnum message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyEnum} message BamlTyEnum message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -5267,11 +5267,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyEnum message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyEnum + * @memberof baml_bridge.cffi.v1.BamlTyEnum * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyEnum} BamlTyEnum + * @returns {baml_bridge.cffi.v1.BamlTyEnum} BamlTyEnum * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -5282,7 +5282,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyEnum(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyEnum(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -5303,10 +5303,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyEnum message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyEnum + * @memberof baml_bridge.cffi.v1.BamlTyEnum * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyEnum} BamlTyEnum + * @returns {baml_bridge.cffi.v1.BamlTyEnum} BamlTyEnum * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -5319,7 +5319,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyEnum message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyEnum + * @memberof baml_bridge.cffi.v1.BamlTyEnum * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -5340,21 +5340,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyEnum message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyEnum + * @memberof baml_bridge.cffi.v1.BamlTyEnum * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyEnum} BamlTyEnum + * @returns {baml_bridge.cffi.v1.BamlTyEnum} BamlTyEnum */ BamlTyEnum.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyEnum) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyEnum) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyEnum: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyEnum: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlTyEnum(); + let message = new $root.baml_bridge.cffi.v1.BamlTyEnum(); if (object.name != null) message.name = String(object.name); return message; @@ -5363,9 +5363,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlTyEnum message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyEnum + * @memberof baml_bridge.cffi.v1.BamlTyEnum * @static - * @param {baml_core.cffi.v1.BamlTyEnum} message BamlTyEnum + * @param {baml_bridge.cffi.v1.BamlTyEnum} message BamlTyEnum * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -5387,7 +5387,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlTyEnum to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyEnum + * @memberof baml_bridge.cffi.v1.BamlTyEnum * @instance * @returns {Object.} JSON object */ @@ -5398,7 +5398,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyEnum * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyEnum + * @memberof baml_bridge.cffi.v1.BamlTyEnum * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -5407,7 +5407,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyEnum"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyEnum"; }; return BamlTyEnum; @@ -5417,18 +5417,18 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyList. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyList - * @property {baml_core.cffi.v1.IBamlTy|null} [item] BamlTyList item + * @property {baml_bridge.cffi.v1.IBamlTy|null} [item] BamlTyList item */ /** * Constructs a new BamlTyList. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyList. * @implements IBamlTyList * @constructor - * @param {baml_core.cffi.v1.IBamlTyList=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyList=} [properties] Properties to set */ function BamlTyList(properties) { if (properties) @@ -5439,8 +5439,8 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyList item. - * @member {baml_core.cffi.v1.IBamlTy|null|undefined} item - * @memberof baml_core.cffi.v1.BamlTyList + * @member {baml_bridge.cffi.v1.IBamlTy|null|undefined} item + * @memberof baml_bridge.cffi.v1.BamlTyList * @instance */ BamlTyList.prototype.item = null; @@ -5448,21 +5448,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyList instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyList + * @memberof baml_bridge.cffi.v1.BamlTyList * @static - * @param {baml_core.cffi.v1.IBamlTyList=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyList} BamlTyList instance + * @param {baml_bridge.cffi.v1.IBamlTyList=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyList} BamlTyList instance */ BamlTyList.create = function create(properties) { return new BamlTyList(properties); }; /** - * Encodes the specified BamlTyList message. Does not implicitly {@link baml_core.cffi.v1.BamlTyList.verify|verify} messages. + * Encodes the specified BamlTyList message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyList.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyList + * @memberof baml_bridge.cffi.v1.BamlTyList * @static - * @param {baml_core.cffi.v1.IBamlTyList} message BamlTyList message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyList} message BamlTyList message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -5474,16 +5474,16 @@ export const baml_core = $root.baml_core = (() => { if (q > $util.recursionLimit) throw Error("max depth exceeded"); if (message.item != null && Object.hasOwnProperty.call(message, "item")) - $root.baml_core.cffi.v1.BamlTy.encode(message.item, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.item, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlTyList message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyList.verify|verify} messages. + * Encodes the specified BamlTyList message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyList.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyList + * @memberof baml_bridge.cffi.v1.BamlTyList * @static - * @param {baml_core.cffi.v1.IBamlTyList} message BamlTyList message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyList} message BamlTyList message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -5494,11 +5494,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyList message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyList + * @memberof baml_bridge.cffi.v1.BamlTyList * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyList} BamlTyList + * @returns {baml_bridge.cffi.v1.BamlTyList} BamlTyList * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -5509,14 +5509,14 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyList(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyList(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.item = $root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); + message.item = $root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); break; } default: @@ -5530,10 +5530,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyList message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyList + * @memberof baml_bridge.cffi.v1.BamlTyList * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyList} BamlTyList + * @returns {baml_bridge.cffi.v1.BamlTyList} BamlTyList * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -5546,7 +5546,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyList message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyList + * @memberof baml_bridge.cffi.v1.BamlTyList * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -5559,7 +5559,7 @@ export const baml_core = $root.baml_core = (() => { if (long > $util.recursionLimit) return "maximum nesting depth exceeded"; if (message.item != null && message.hasOwnProperty("item")) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.item, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.item, long + 1); if (error) return "item." + error; } @@ -5569,25 +5569,25 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyList message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyList + * @memberof baml_bridge.cffi.v1.BamlTyList * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyList} BamlTyList + * @returns {baml_bridge.cffi.v1.BamlTyList} BamlTyList */ BamlTyList.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyList) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyList) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyList: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyList: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlTyList(); + let message = new $root.baml_bridge.cffi.v1.BamlTyList(); if (object.item != null) { if (!$util.isObject(object.item)) - throw TypeError(".baml_core.cffi.v1.BamlTyList.item: object expected"); - message.item = $root.baml_core.cffi.v1.BamlTy.fromObject(object.item, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTyList.item: object expected"); + message.item = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.item, long + 1); } return message; }; @@ -5595,9 +5595,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlTyList message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyList + * @memberof baml_bridge.cffi.v1.BamlTyList * @static - * @param {baml_core.cffi.v1.BamlTyList} message BamlTyList + * @param {baml_bridge.cffi.v1.BamlTyList} message BamlTyList * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -5612,14 +5612,14 @@ export const baml_core = $root.baml_core = (() => { if (options.defaults) object.item = null; if (message.item != null && message.hasOwnProperty("item")) - object.item = $root.baml_core.cffi.v1.BamlTy.toObject(message.item, options, q + 1); + object.item = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.item, options, q + 1); return object; }; /** * Converts this BamlTyList to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyList + * @memberof baml_bridge.cffi.v1.BamlTyList * @instance * @returns {Object.} JSON object */ @@ -5630,7 +5630,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyList * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyList + * @memberof baml_bridge.cffi.v1.BamlTyList * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -5639,7 +5639,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyList"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyList"; }; return BamlTyList; @@ -5649,19 +5649,19 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyMap. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyMap - * @property {baml_core.cffi.v1.IBamlTy|null} [key] BamlTyMap key - * @property {baml_core.cffi.v1.IBamlTy|null} [value] BamlTyMap value + * @property {baml_bridge.cffi.v1.IBamlTy|null} [key] BamlTyMap key + * @property {baml_bridge.cffi.v1.IBamlTy|null} [value] BamlTyMap value */ /** * Constructs a new BamlTyMap. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyMap. * @implements IBamlTyMap * @constructor - * @param {baml_core.cffi.v1.IBamlTyMap=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyMap=} [properties] Properties to set */ function BamlTyMap(properties) { if (properties) @@ -5672,16 +5672,16 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyMap key. - * @member {baml_core.cffi.v1.IBamlTy|null|undefined} key - * @memberof baml_core.cffi.v1.BamlTyMap + * @member {baml_bridge.cffi.v1.IBamlTy|null|undefined} key + * @memberof baml_bridge.cffi.v1.BamlTyMap * @instance */ BamlTyMap.prototype.key = null; /** * BamlTyMap value. - * @member {baml_core.cffi.v1.IBamlTy|null|undefined} value - * @memberof baml_core.cffi.v1.BamlTyMap + * @member {baml_bridge.cffi.v1.IBamlTy|null|undefined} value + * @memberof baml_bridge.cffi.v1.BamlTyMap * @instance */ BamlTyMap.prototype.value = null; @@ -5689,21 +5689,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyMap instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyMap + * @memberof baml_bridge.cffi.v1.BamlTyMap * @static - * @param {baml_core.cffi.v1.IBamlTyMap=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyMap} BamlTyMap instance + * @param {baml_bridge.cffi.v1.IBamlTyMap=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyMap} BamlTyMap instance */ BamlTyMap.create = function create(properties) { return new BamlTyMap(properties); }; /** - * Encodes the specified BamlTyMap message. Does not implicitly {@link baml_core.cffi.v1.BamlTyMap.verify|verify} messages. + * Encodes the specified BamlTyMap message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyMap.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyMap + * @memberof baml_bridge.cffi.v1.BamlTyMap * @static - * @param {baml_core.cffi.v1.IBamlTyMap} message BamlTyMap message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyMap} message BamlTyMap message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -5715,18 +5715,18 @@ export const baml_core = $root.baml_core = (() => { if (q > $util.recursionLimit) throw Error("max depth exceeded"); if (message.key != null && Object.hasOwnProperty.call(message, "key")) - $root.baml_core.cffi.v1.BamlTy.encode(message.key, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.key, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); if (message.value != null && Object.hasOwnProperty.call(message, "value")) - $root.baml_core.cffi.v1.BamlTy.encode(message.value, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.value, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlTyMap message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyMap.verify|verify} messages. + * Encodes the specified BamlTyMap message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyMap.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyMap + * @memberof baml_bridge.cffi.v1.BamlTyMap * @static - * @param {baml_core.cffi.v1.IBamlTyMap} message BamlTyMap message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyMap} message BamlTyMap message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -5737,11 +5737,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyMap message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyMap + * @memberof baml_bridge.cffi.v1.BamlTyMap * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyMap} BamlTyMap + * @returns {baml_bridge.cffi.v1.BamlTyMap} BamlTyMap * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -5752,18 +5752,18 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyMap(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyMap(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.key = $root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); + message.key = $root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); break; } case 2: { - message.value = $root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); + message.value = $root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); break; } default: @@ -5777,10 +5777,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyMap message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyMap + * @memberof baml_bridge.cffi.v1.BamlTyMap * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyMap} BamlTyMap + * @returns {baml_bridge.cffi.v1.BamlTyMap} BamlTyMap * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -5793,7 +5793,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyMap message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyMap + * @memberof baml_bridge.cffi.v1.BamlTyMap * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -5806,12 +5806,12 @@ export const baml_core = $root.baml_core = (() => { if (long > $util.recursionLimit) return "maximum nesting depth exceeded"; if (message.key != null && message.hasOwnProperty("key")) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.key, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.key, long + 1); if (error) return "key." + error; } if (message.value != null && message.hasOwnProperty("value")) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.value, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.value, long + 1); if (error) return "value." + error; } @@ -5821,30 +5821,30 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyMap message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyMap + * @memberof baml_bridge.cffi.v1.BamlTyMap * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyMap} BamlTyMap + * @returns {baml_bridge.cffi.v1.BamlTyMap} BamlTyMap */ BamlTyMap.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyMap) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyMap) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyMap: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyMap: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlTyMap(); + let message = new $root.baml_bridge.cffi.v1.BamlTyMap(); if (object.key != null) { if (!$util.isObject(object.key)) - throw TypeError(".baml_core.cffi.v1.BamlTyMap.key: object expected"); - message.key = $root.baml_core.cffi.v1.BamlTy.fromObject(object.key, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTyMap.key: object expected"); + message.key = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.key, long + 1); } if (object.value != null) { if (!$util.isObject(object.value)) - throw TypeError(".baml_core.cffi.v1.BamlTyMap.value: object expected"); - message.value = $root.baml_core.cffi.v1.BamlTy.fromObject(object.value, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTyMap.value: object expected"); + message.value = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.value, long + 1); } return message; }; @@ -5852,9 +5852,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlTyMap message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyMap + * @memberof baml_bridge.cffi.v1.BamlTyMap * @static - * @param {baml_core.cffi.v1.BamlTyMap} message BamlTyMap + * @param {baml_bridge.cffi.v1.BamlTyMap} message BamlTyMap * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -5871,16 +5871,16 @@ export const baml_core = $root.baml_core = (() => { object.value = null; } if (message.key != null && message.hasOwnProperty("key")) - object.key = $root.baml_core.cffi.v1.BamlTy.toObject(message.key, options, q + 1); + object.key = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.key, options, q + 1); if (message.value != null && message.hasOwnProperty("value")) - object.value = $root.baml_core.cffi.v1.BamlTy.toObject(message.value, options, q + 1); + object.value = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.value, options, q + 1); return object; }; /** * Converts this BamlTyMap to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyMap + * @memberof baml_bridge.cffi.v1.BamlTyMap * @instance * @returns {Object.} JSON object */ @@ -5891,7 +5891,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyMap * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyMap + * @memberof baml_bridge.cffi.v1.BamlTyMap * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -5900,7 +5900,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyMap"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyMap"; }; return BamlTyMap; @@ -5910,18 +5910,18 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyOptional. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyOptional - * @property {baml_core.cffi.v1.IBamlTy|null} [inner] BamlTyOptional inner + * @property {baml_bridge.cffi.v1.IBamlTy|null} [inner] BamlTyOptional inner */ /** * Constructs a new BamlTyOptional. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyOptional. * @implements IBamlTyOptional * @constructor - * @param {baml_core.cffi.v1.IBamlTyOptional=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyOptional=} [properties] Properties to set */ function BamlTyOptional(properties) { if (properties) @@ -5932,8 +5932,8 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyOptional inner. - * @member {baml_core.cffi.v1.IBamlTy|null|undefined} inner - * @memberof baml_core.cffi.v1.BamlTyOptional + * @member {baml_bridge.cffi.v1.IBamlTy|null|undefined} inner + * @memberof baml_bridge.cffi.v1.BamlTyOptional * @instance */ BamlTyOptional.prototype.inner = null; @@ -5941,21 +5941,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyOptional instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyOptional + * @memberof baml_bridge.cffi.v1.BamlTyOptional * @static - * @param {baml_core.cffi.v1.IBamlTyOptional=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyOptional} BamlTyOptional instance + * @param {baml_bridge.cffi.v1.IBamlTyOptional=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyOptional} BamlTyOptional instance */ BamlTyOptional.create = function create(properties) { return new BamlTyOptional(properties); }; /** - * Encodes the specified BamlTyOptional message. Does not implicitly {@link baml_core.cffi.v1.BamlTyOptional.verify|verify} messages. + * Encodes the specified BamlTyOptional message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyOptional.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyOptional + * @memberof baml_bridge.cffi.v1.BamlTyOptional * @static - * @param {baml_core.cffi.v1.IBamlTyOptional} message BamlTyOptional message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyOptional} message BamlTyOptional message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -5967,16 +5967,16 @@ export const baml_core = $root.baml_core = (() => { if (q > $util.recursionLimit) throw Error("max depth exceeded"); if (message.inner != null && Object.hasOwnProperty.call(message, "inner")) - $root.baml_core.cffi.v1.BamlTy.encode(message.inner, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.inner, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlTyOptional message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyOptional.verify|verify} messages. + * Encodes the specified BamlTyOptional message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyOptional.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyOptional + * @memberof baml_bridge.cffi.v1.BamlTyOptional * @static - * @param {baml_core.cffi.v1.IBamlTyOptional} message BamlTyOptional message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyOptional} message BamlTyOptional message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -5987,11 +5987,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyOptional message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyOptional + * @memberof baml_bridge.cffi.v1.BamlTyOptional * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyOptional} BamlTyOptional + * @returns {baml_bridge.cffi.v1.BamlTyOptional} BamlTyOptional * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -6002,14 +6002,14 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyOptional(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyOptional(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.inner = $root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); + message.inner = $root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); break; } default: @@ -6023,10 +6023,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyOptional message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyOptional + * @memberof baml_bridge.cffi.v1.BamlTyOptional * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyOptional} BamlTyOptional + * @returns {baml_bridge.cffi.v1.BamlTyOptional} BamlTyOptional * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -6039,7 +6039,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyOptional message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyOptional + * @memberof baml_bridge.cffi.v1.BamlTyOptional * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -6052,7 +6052,7 @@ export const baml_core = $root.baml_core = (() => { if (long > $util.recursionLimit) return "maximum nesting depth exceeded"; if (message.inner != null && message.hasOwnProperty("inner")) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.inner, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.inner, long + 1); if (error) return "inner." + error; } @@ -6062,25 +6062,25 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyOptional message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyOptional + * @memberof baml_bridge.cffi.v1.BamlTyOptional * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyOptional} BamlTyOptional + * @returns {baml_bridge.cffi.v1.BamlTyOptional} BamlTyOptional */ BamlTyOptional.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyOptional) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyOptional) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyOptional: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyOptional: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlTyOptional(); + let message = new $root.baml_bridge.cffi.v1.BamlTyOptional(); if (object.inner != null) { if (!$util.isObject(object.inner)) - throw TypeError(".baml_core.cffi.v1.BamlTyOptional.inner: object expected"); - message.inner = $root.baml_core.cffi.v1.BamlTy.fromObject(object.inner, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTyOptional.inner: object expected"); + message.inner = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.inner, long + 1); } return message; }; @@ -6088,9 +6088,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlTyOptional message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyOptional + * @memberof baml_bridge.cffi.v1.BamlTyOptional * @static - * @param {baml_core.cffi.v1.BamlTyOptional} message BamlTyOptional + * @param {baml_bridge.cffi.v1.BamlTyOptional} message BamlTyOptional * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -6105,14 +6105,14 @@ export const baml_core = $root.baml_core = (() => { if (options.defaults) object.inner = null; if (message.inner != null && message.hasOwnProperty("inner")) - object.inner = $root.baml_core.cffi.v1.BamlTy.toObject(message.inner, options, q + 1); + object.inner = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.inner, options, q + 1); return object; }; /** * Converts this BamlTyOptional to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyOptional + * @memberof baml_bridge.cffi.v1.BamlTyOptional * @instance * @returns {Object.} JSON object */ @@ -6123,7 +6123,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyOptional * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyOptional + * @memberof baml_bridge.cffi.v1.BamlTyOptional * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -6132,7 +6132,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyOptional"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyOptional"; }; return BamlTyOptional; @@ -6142,18 +6142,18 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyUnion. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyUnion - * @property {Array.|null} [options] BamlTyUnion options + * @property {Array.|null} [options] BamlTyUnion options */ /** * Constructs a new BamlTyUnion. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyUnion. * @implements IBamlTyUnion * @constructor - * @param {baml_core.cffi.v1.IBamlTyUnion=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyUnion=} [properties] Properties to set */ function BamlTyUnion(properties) { this.options = []; @@ -6165,8 +6165,8 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyUnion options. - * @member {Array.} options - * @memberof baml_core.cffi.v1.BamlTyUnion + * @member {Array.} options + * @memberof baml_bridge.cffi.v1.BamlTyUnion * @instance */ BamlTyUnion.prototype.options = $util.emptyArray; @@ -6174,21 +6174,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyUnion instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyUnion + * @memberof baml_bridge.cffi.v1.BamlTyUnion * @static - * @param {baml_core.cffi.v1.IBamlTyUnion=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyUnion} BamlTyUnion instance + * @param {baml_bridge.cffi.v1.IBamlTyUnion=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyUnion} BamlTyUnion instance */ BamlTyUnion.create = function create(properties) { return new BamlTyUnion(properties); }; /** - * Encodes the specified BamlTyUnion message. Does not implicitly {@link baml_core.cffi.v1.BamlTyUnion.verify|verify} messages. + * Encodes the specified BamlTyUnion message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyUnion.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyUnion + * @memberof baml_bridge.cffi.v1.BamlTyUnion * @static - * @param {baml_core.cffi.v1.IBamlTyUnion} message BamlTyUnion message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyUnion} message BamlTyUnion message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -6201,16 +6201,16 @@ export const baml_core = $root.baml_core = (() => { throw Error("max depth exceeded"); if (message.options != null && message.options.length) for (let i = 0; i < message.options.length; ++i) - $root.baml_core.cffi.v1.BamlTy.encode(message.options[i], writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.options[i], writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlTyUnion message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyUnion.verify|verify} messages. + * Encodes the specified BamlTyUnion message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyUnion.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyUnion + * @memberof baml_bridge.cffi.v1.BamlTyUnion * @static - * @param {baml_core.cffi.v1.IBamlTyUnion} message BamlTyUnion message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyUnion} message BamlTyUnion message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -6221,11 +6221,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyUnion message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyUnion + * @memberof baml_bridge.cffi.v1.BamlTyUnion * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyUnion} BamlTyUnion + * @returns {baml_bridge.cffi.v1.BamlTyUnion} BamlTyUnion * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -6236,7 +6236,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyUnion(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyUnion(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -6245,7 +6245,7 @@ export const baml_core = $root.baml_core = (() => { case 1: { if (!(message.options && message.options.length)) message.options = []; - message.options.push($root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1)); + message.options.push($root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1)); break; } default: @@ -6259,10 +6259,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyUnion message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyUnion + * @memberof baml_bridge.cffi.v1.BamlTyUnion * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyUnion} BamlTyUnion + * @returns {baml_bridge.cffi.v1.BamlTyUnion} BamlTyUnion * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -6275,7 +6275,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyUnion message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyUnion + * @memberof baml_bridge.cffi.v1.BamlTyUnion * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -6291,7 +6291,7 @@ export const baml_core = $root.baml_core = (() => { if (!Array.isArray(message.options)) return "options: array expected"; for (let i = 0; i < message.options.length; ++i) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.options[i], long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.options[i], long + 1); if (error) return "options." + error; } @@ -6302,29 +6302,29 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyUnion message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyUnion + * @memberof baml_bridge.cffi.v1.BamlTyUnion * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyUnion} BamlTyUnion + * @returns {baml_bridge.cffi.v1.BamlTyUnion} BamlTyUnion */ BamlTyUnion.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyUnion) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyUnion) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyUnion: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyUnion: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlTyUnion(); + let message = new $root.baml_bridge.cffi.v1.BamlTyUnion(); if (object.options) { if (!Array.isArray(object.options)) - throw TypeError(".baml_core.cffi.v1.BamlTyUnion.options: array expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyUnion.options: array expected"); message.options = []; for (let i = 0; i < object.options.length; ++i) { if (!$util.isObject(object.options[i])) - throw TypeError(".baml_core.cffi.v1.BamlTyUnion.options: object expected"); - message.options[i] = $root.baml_core.cffi.v1.BamlTy.fromObject(object.options[i], long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTyUnion.options: object expected"); + message.options[i] = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.options[i], long + 1); } } return message; @@ -6333,9 +6333,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlTyUnion message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyUnion + * @memberof baml_bridge.cffi.v1.BamlTyUnion * @static - * @param {baml_core.cffi.v1.BamlTyUnion} message BamlTyUnion + * @param {baml_bridge.cffi.v1.BamlTyUnion} message BamlTyUnion * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -6352,7 +6352,7 @@ export const baml_core = $root.baml_core = (() => { if (message.options && message.options.length) { object.options = []; for (let j = 0; j < message.options.length; ++j) - object.options[j] = $root.baml_core.cffi.v1.BamlTy.toObject(message.options[j], options, q + 1); + object.options[j] = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.options[j], options, q + 1); } return object; }; @@ -6360,7 +6360,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlTyUnion to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyUnion + * @memberof baml_bridge.cffi.v1.BamlTyUnion * @instance * @returns {Object.} JSON object */ @@ -6371,7 +6371,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyUnion * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyUnion + * @memberof baml_bridge.cffi.v1.BamlTyUnion * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -6380,7 +6380,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyUnion"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyUnion"; }; return BamlTyUnion; @@ -6390,17 +6390,17 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyUnknown. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyUnknown */ /** * Constructs a new BamlTyUnknown. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyUnknown. * @implements IBamlTyUnknown * @constructor - * @param {baml_core.cffi.v1.IBamlTyUnknown=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyUnknown=} [properties] Properties to set */ function BamlTyUnknown(properties) { if (properties) @@ -6412,21 +6412,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyUnknown instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyUnknown + * @memberof baml_bridge.cffi.v1.BamlTyUnknown * @static - * @param {baml_core.cffi.v1.IBamlTyUnknown=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyUnknown} BamlTyUnknown instance + * @param {baml_bridge.cffi.v1.IBamlTyUnknown=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyUnknown} BamlTyUnknown instance */ BamlTyUnknown.create = function create(properties) { return new BamlTyUnknown(properties); }; /** - * Encodes the specified BamlTyUnknown message. Does not implicitly {@link baml_core.cffi.v1.BamlTyUnknown.verify|verify} messages. + * Encodes the specified BamlTyUnknown message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyUnknown.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyUnknown + * @memberof baml_bridge.cffi.v1.BamlTyUnknown * @static - * @param {baml_core.cffi.v1.IBamlTyUnknown} message BamlTyUnknown message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyUnknown} message BamlTyUnknown message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -6441,11 +6441,11 @@ export const baml_core = $root.baml_core = (() => { }; /** - * Encodes the specified BamlTyUnknown message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyUnknown.verify|verify} messages. + * Encodes the specified BamlTyUnknown message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyUnknown.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyUnknown + * @memberof baml_bridge.cffi.v1.BamlTyUnknown * @static - * @param {baml_core.cffi.v1.IBamlTyUnknown} message BamlTyUnknown message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyUnknown} message BamlTyUnknown message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -6456,11 +6456,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyUnknown message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyUnknown + * @memberof baml_bridge.cffi.v1.BamlTyUnknown * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyUnknown} BamlTyUnknown + * @returns {baml_bridge.cffi.v1.BamlTyUnknown} BamlTyUnknown * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -6471,7 +6471,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyUnknown(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyUnknown(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -6488,10 +6488,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyUnknown message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyUnknown + * @memberof baml_bridge.cffi.v1.BamlTyUnknown * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyUnknown} BamlTyUnknown + * @returns {baml_bridge.cffi.v1.BamlTyUnknown} BamlTyUnknown * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -6504,7 +6504,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyUnknown message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyUnknown + * @memberof baml_bridge.cffi.v1.BamlTyUnknown * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -6522,29 +6522,29 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyUnknown message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyUnknown + * @memberof baml_bridge.cffi.v1.BamlTyUnknown * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyUnknown} BamlTyUnknown + * @returns {baml_bridge.cffi.v1.BamlTyUnknown} BamlTyUnknown */ BamlTyUnknown.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyUnknown) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyUnknown) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyUnknown: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyUnknown: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - return new $root.baml_core.cffi.v1.BamlTyUnknown(); + return new $root.baml_bridge.cffi.v1.BamlTyUnknown(); }; /** * Creates a plain object from a BamlTyUnknown message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyUnknown + * @memberof baml_bridge.cffi.v1.BamlTyUnknown * @static - * @param {baml_core.cffi.v1.BamlTyUnknown} message BamlTyUnknown + * @param {baml_bridge.cffi.v1.BamlTyUnknown} message BamlTyUnknown * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -6555,7 +6555,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlTyUnknown to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyUnknown + * @memberof baml_bridge.cffi.v1.BamlTyUnknown * @instance * @returns {Object.} JSON object */ @@ -6566,7 +6566,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyUnknown * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyUnknown + * @memberof baml_bridge.cffi.v1.BamlTyUnknown * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -6575,7 +6575,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyUnknown"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyUnknown"; }; return BamlTyUnknown; @@ -6585,7 +6585,7 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyLiteral. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyLiteral * @property {string|null} [stringValue] BamlTyLiteral stringValue * @property {number|Long|null} [intValue] BamlTyLiteral intValue @@ -6596,11 +6596,11 @@ export const baml_core = $root.baml_core = (() => { /** * Constructs a new BamlTyLiteral. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyLiteral. * @implements IBamlTyLiteral * @constructor - * @param {baml_core.cffi.v1.IBamlTyLiteral=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyLiteral=} [properties] Properties to set */ function BamlTyLiteral(properties) { if (properties) @@ -6612,7 +6612,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyLiteral stringValue. * @member {string|null|undefined} stringValue - * @memberof baml_core.cffi.v1.BamlTyLiteral + * @memberof baml_bridge.cffi.v1.BamlTyLiteral * @instance */ BamlTyLiteral.prototype.stringValue = null; @@ -6620,7 +6620,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyLiteral intValue. * @member {number|Long|null|undefined} intValue - * @memberof baml_core.cffi.v1.BamlTyLiteral + * @memberof baml_bridge.cffi.v1.BamlTyLiteral * @instance */ BamlTyLiteral.prototype.intValue = null; @@ -6628,7 +6628,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyLiteral boolValue. * @member {boolean|null|undefined} boolValue - * @memberof baml_core.cffi.v1.BamlTyLiteral + * @memberof baml_bridge.cffi.v1.BamlTyLiteral * @instance */ BamlTyLiteral.prototype.boolValue = null; @@ -6636,7 +6636,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyLiteral bigintValue. * @member {string|null|undefined} bigintValue - * @memberof baml_core.cffi.v1.BamlTyLiteral + * @memberof baml_bridge.cffi.v1.BamlTyLiteral * @instance */ BamlTyLiteral.prototype.bigintValue = null; @@ -6644,7 +6644,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyLiteral floatValue. * @member {string|null|undefined} floatValue - * @memberof baml_core.cffi.v1.BamlTyLiteral + * @memberof baml_bridge.cffi.v1.BamlTyLiteral * @instance */ BamlTyLiteral.prototype.floatValue = null; @@ -6655,7 +6655,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyLiteral literal. * @member {"stringValue"|"intValue"|"boolValue"|"bigintValue"|"floatValue"|undefined} literal - * @memberof baml_core.cffi.v1.BamlTyLiteral + * @memberof baml_bridge.cffi.v1.BamlTyLiteral * @instance */ Object.defineProperty(BamlTyLiteral.prototype, "literal", { @@ -6666,21 +6666,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyLiteral instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyLiteral + * @memberof baml_bridge.cffi.v1.BamlTyLiteral * @static - * @param {baml_core.cffi.v1.IBamlTyLiteral=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyLiteral} BamlTyLiteral instance + * @param {baml_bridge.cffi.v1.IBamlTyLiteral=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyLiteral} BamlTyLiteral instance */ BamlTyLiteral.create = function create(properties) { return new BamlTyLiteral(properties); }; /** - * Encodes the specified BamlTyLiteral message. Does not implicitly {@link baml_core.cffi.v1.BamlTyLiteral.verify|verify} messages. + * Encodes the specified BamlTyLiteral message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyLiteral.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyLiteral + * @memberof baml_bridge.cffi.v1.BamlTyLiteral * @static - * @param {baml_core.cffi.v1.IBamlTyLiteral} message BamlTyLiteral message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyLiteral} message BamlTyLiteral message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -6705,11 +6705,11 @@ export const baml_core = $root.baml_core = (() => { }; /** - * Encodes the specified BamlTyLiteral message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyLiteral.verify|verify} messages. + * Encodes the specified BamlTyLiteral message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyLiteral.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyLiteral + * @memberof baml_bridge.cffi.v1.BamlTyLiteral * @static - * @param {baml_core.cffi.v1.IBamlTyLiteral} message BamlTyLiteral message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyLiteral} message BamlTyLiteral message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -6720,11 +6720,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyLiteral message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyLiteral + * @memberof baml_bridge.cffi.v1.BamlTyLiteral * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyLiteral} BamlTyLiteral + * @returns {baml_bridge.cffi.v1.BamlTyLiteral} BamlTyLiteral * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -6735,7 +6735,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyLiteral(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyLiteral(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -6772,10 +6772,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyLiteral message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyLiteral + * @memberof baml_bridge.cffi.v1.BamlTyLiteral * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyLiteral} BamlTyLiteral + * @returns {baml_bridge.cffi.v1.BamlTyLiteral} BamlTyLiteral * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -6788,7 +6788,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyLiteral message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyLiteral + * @memberof baml_bridge.cffi.v1.BamlTyLiteral * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -6840,21 +6840,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyLiteral message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyLiteral + * @memberof baml_bridge.cffi.v1.BamlTyLiteral * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyLiteral} BamlTyLiteral + * @returns {baml_bridge.cffi.v1.BamlTyLiteral} BamlTyLiteral */ BamlTyLiteral.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyLiteral) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyLiteral) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyLiteral: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyLiteral: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlTyLiteral(); + let message = new $root.baml_bridge.cffi.v1.BamlTyLiteral(); if (object.stringValue != null) message.stringValue = String(object.stringValue); if (object.intValue != null) @@ -6878,9 +6878,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlTyLiteral message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyLiteral + * @memberof baml_bridge.cffi.v1.BamlTyLiteral * @static - * @param {baml_core.cffi.v1.BamlTyLiteral} message BamlTyLiteral + * @param {baml_bridge.cffi.v1.BamlTyLiteral} message BamlTyLiteral * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -6928,7 +6928,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlTyLiteral to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyLiteral + * @memberof baml_bridge.cffi.v1.BamlTyLiteral * @instance * @returns {Object.} JSON object */ @@ -6939,7 +6939,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyLiteral * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyLiteral + * @memberof baml_bridge.cffi.v1.BamlTyLiteral * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -6948,7 +6948,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyLiteral"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyLiteral"; }; return BamlTyLiteral; @@ -6956,7 +6956,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyMediaKind enum. - * @name baml_core.cffi.v1.BamlTyMediaKind + * @name baml_bridge.cffi.v1.BamlTyMediaKind * @enum {number} * @property {number} BAML_TY_MEDIA_KIND_UNSPECIFIED=0 BAML_TY_MEDIA_KIND_UNSPECIFIED value * @property {number} BAML_TY_MEDIA_KIND_IMAGE=1 BAML_TY_MEDIA_KIND_IMAGE value @@ -6980,18 +6980,18 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyMedia. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyMedia - * @property {baml_core.cffi.v1.BamlTyMediaKind|null} [kind] BamlTyMedia kind + * @property {baml_bridge.cffi.v1.BamlTyMediaKind|null} [kind] BamlTyMedia kind */ /** * Constructs a new BamlTyMedia. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyMedia. * @implements IBamlTyMedia * @constructor - * @param {baml_core.cffi.v1.IBamlTyMedia=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyMedia=} [properties] Properties to set */ function BamlTyMedia(properties) { if (properties) @@ -7002,8 +7002,8 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyMedia kind. - * @member {baml_core.cffi.v1.BamlTyMediaKind} kind - * @memberof baml_core.cffi.v1.BamlTyMedia + * @member {baml_bridge.cffi.v1.BamlTyMediaKind} kind + * @memberof baml_bridge.cffi.v1.BamlTyMedia * @instance */ BamlTyMedia.prototype.kind = 0; @@ -7011,21 +7011,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyMedia instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyMedia + * @memberof baml_bridge.cffi.v1.BamlTyMedia * @static - * @param {baml_core.cffi.v1.IBamlTyMedia=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyMedia} BamlTyMedia instance + * @param {baml_bridge.cffi.v1.IBamlTyMedia=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyMedia} BamlTyMedia instance */ BamlTyMedia.create = function create(properties) { return new BamlTyMedia(properties); }; /** - * Encodes the specified BamlTyMedia message. Does not implicitly {@link baml_core.cffi.v1.BamlTyMedia.verify|verify} messages. + * Encodes the specified BamlTyMedia message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyMedia.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyMedia + * @memberof baml_bridge.cffi.v1.BamlTyMedia * @static - * @param {baml_core.cffi.v1.IBamlTyMedia} message BamlTyMedia message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyMedia} message BamlTyMedia message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -7042,11 +7042,11 @@ export const baml_core = $root.baml_core = (() => { }; /** - * Encodes the specified BamlTyMedia message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyMedia.verify|verify} messages. + * Encodes the specified BamlTyMedia message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyMedia.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyMedia + * @memberof baml_bridge.cffi.v1.BamlTyMedia * @static - * @param {baml_core.cffi.v1.IBamlTyMedia} message BamlTyMedia message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyMedia} message BamlTyMedia message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -7057,11 +7057,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyMedia message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyMedia + * @memberof baml_bridge.cffi.v1.BamlTyMedia * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyMedia} BamlTyMedia + * @returns {baml_bridge.cffi.v1.BamlTyMedia} BamlTyMedia * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -7072,7 +7072,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyMedia(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyMedia(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -7093,10 +7093,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyMedia message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyMedia + * @memberof baml_bridge.cffi.v1.BamlTyMedia * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyMedia} BamlTyMedia + * @returns {baml_bridge.cffi.v1.BamlTyMedia} BamlTyMedia * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -7109,7 +7109,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyMedia message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyMedia + * @memberof baml_bridge.cffi.v1.BamlTyMedia * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -7139,21 +7139,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyMedia message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyMedia + * @memberof baml_bridge.cffi.v1.BamlTyMedia * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyMedia} BamlTyMedia + * @returns {baml_bridge.cffi.v1.BamlTyMedia} BamlTyMedia */ BamlTyMedia.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyMedia) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyMedia) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyMedia: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyMedia: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlTyMedia(); + let message = new $root.baml_bridge.cffi.v1.BamlTyMedia(); switch (object.kind) { default: if (typeof object.kind === "number") { @@ -7192,9 +7192,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlTyMedia message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyMedia + * @memberof baml_bridge.cffi.v1.BamlTyMedia * @static - * @param {baml_core.cffi.v1.BamlTyMedia} message BamlTyMedia + * @param {baml_bridge.cffi.v1.BamlTyMedia} message BamlTyMedia * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -7209,14 +7209,14 @@ export const baml_core = $root.baml_core = (() => { if (options.defaults) object.kind = options.enums === String ? "BAML_TY_MEDIA_KIND_UNSPECIFIED" : 0; if (message.kind != null && message.hasOwnProperty("kind")) - object.kind = options.enums === String ? $root.baml_core.cffi.v1.BamlTyMediaKind[message.kind] === undefined ? message.kind : $root.baml_core.cffi.v1.BamlTyMediaKind[message.kind] : message.kind; + object.kind = options.enums === String ? $root.baml_bridge.cffi.v1.BamlTyMediaKind[message.kind] === undefined ? message.kind : $root.baml_bridge.cffi.v1.BamlTyMediaKind[message.kind] : message.kind; return object; }; /** * Converts this BamlTyMedia to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyMedia + * @memberof baml_bridge.cffi.v1.BamlTyMedia * @instance * @returns {Object.} JSON object */ @@ -7227,7 +7227,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyMedia * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyMedia + * @memberof baml_bridge.cffi.v1.BamlTyMedia * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -7236,7 +7236,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyMedia"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyMedia"; }; return BamlTyMedia; @@ -7246,20 +7246,20 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyInterface. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyInterface * @property {string|null} [name] BamlTyInterface name - * @property {Array.|null} [typeArgs] BamlTyInterface typeArgs - * @property {Array.|null} [bindings] BamlTyInterface bindings + * @property {Array.|null} [typeArgs] BamlTyInterface typeArgs + * @property {Array.|null} [bindings] BamlTyInterface bindings */ /** * Constructs a new BamlTyInterface. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyInterface. * @implements IBamlTyInterface * @constructor - * @param {baml_core.cffi.v1.IBamlTyInterface=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyInterface=} [properties] Properties to set */ function BamlTyInterface(properties) { this.typeArgs = []; @@ -7273,23 +7273,23 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyInterface name. * @member {string} name - * @memberof baml_core.cffi.v1.BamlTyInterface + * @memberof baml_bridge.cffi.v1.BamlTyInterface * @instance */ BamlTyInterface.prototype.name = ""; /** * BamlTyInterface typeArgs. - * @member {Array.} typeArgs - * @memberof baml_core.cffi.v1.BamlTyInterface + * @member {Array.} typeArgs + * @memberof baml_bridge.cffi.v1.BamlTyInterface * @instance */ BamlTyInterface.prototype.typeArgs = $util.emptyArray; /** * BamlTyInterface bindings. - * @member {Array.} bindings - * @memberof baml_core.cffi.v1.BamlTyInterface + * @member {Array.} bindings + * @memberof baml_bridge.cffi.v1.BamlTyInterface * @instance */ BamlTyInterface.prototype.bindings = $util.emptyArray; @@ -7297,21 +7297,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyInterface instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyInterface + * @memberof baml_bridge.cffi.v1.BamlTyInterface * @static - * @param {baml_core.cffi.v1.IBamlTyInterface=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyInterface} BamlTyInterface instance + * @param {baml_bridge.cffi.v1.IBamlTyInterface=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyInterface} BamlTyInterface instance */ BamlTyInterface.create = function create(properties) { return new BamlTyInterface(properties); }; /** - * Encodes the specified BamlTyInterface message. Does not implicitly {@link baml_core.cffi.v1.BamlTyInterface.verify|verify} messages. + * Encodes the specified BamlTyInterface message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyInterface.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyInterface + * @memberof baml_bridge.cffi.v1.BamlTyInterface * @static - * @param {baml_core.cffi.v1.IBamlTyInterface} message BamlTyInterface message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyInterface} message BamlTyInterface message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -7326,19 +7326,19 @@ export const baml_core = $root.baml_core = (() => { writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); if (message.typeArgs != null && message.typeArgs.length) for (let i = 0; i < message.typeArgs.length; ++i) - $root.baml_core.cffi.v1.BamlTy.encode(message.typeArgs[i], writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.typeArgs[i], writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); if (message.bindings != null && message.bindings.length) for (let i = 0; i < message.bindings.length; ++i) - $root.baml_core.cffi.v1.BamlTyAssociatedBinding.encode(message.bindings[i], writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyAssociatedBinding.encode(message.bindings[i], writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlTyInterface message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyInterface.verify|verify} messages. + * Encodes the specified BamlTyInterface message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyInterface.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyInterface + * @memberof baml_bridge.cffi.v1.BamlTyInterface * @static - * @param {baml_core.cffi.v1.IBamlTyInterface} message BamlTyInterface message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyInterface} message BamlTyInterface message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -7349,11 +7349,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyInterface message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyInterface + * @memberof baml_bridge.cffi.v1.BamlTyInterface * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyInterface} BamlTyInterface + * @returns {baml_bridge.cffi.v1.BamlTyInterface} BamlTyInterface * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -7364,7 +7364,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyInterface(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyInterface(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -7377,13 +7377,13 @@ export const baml_core = $root.baml_core = (() => { case 2: { if (!(message.typeArgs && message.typeArgs.length)) message.typeArgs = []; - message.typeArgs.push($root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1)); + message.typeArgs.push($root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1)); break; } case 3: { if (!(message.bindings && message.bindings.length)) message.bindings = []; - message.bindings.push($root.baml_core.cffi.v1.BamlTyAssociatedBinding.decode(reader, reader.uint32(), undefined, long + 1)); + message.bindings.push($root.baml_bridge.cffi.v1.BamlTyAssociatedBinding.decode(reader, reader.uint32(), undefined, long + 1)); break; } default: @@ -7397,10 +7397,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyInterface message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyInterface + * @memberof baml_bridge.cffi.v1.BamlTyInterface * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyInterface} BamlTyInterface + * @returns {baml_bridge.cffi.v1.BamlTyInterface} BamlTyInterface * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -7413,7 +7413,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyInterface message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyInterface + * @memberof baml_bridge.cffi.v1.BamlTyInterface * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -7432,7 +7432,7 @@ export const baml_core = $root.baml_core = (() => { if (!Array.isArray(message.typeArgs)) return "typeArgs: array expected"; for (let i = 0; i < message.typeArgs.length; ++i) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.typeArgs[i], long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.typeArgs[i], long + 1); if (error) return "typeArgs." + error; } @@ -7441,7 +7441,7 @@ export const baml_core = $root.baml_core = (() => { if (!Array.isArray(message.bindings)) return "bindings: array expected"; for (let i = 0; i < message.bindings.length; ++i) { - let error = $root.baml_core.cffi.v1.BamlTyAssociatedBinding.verify(message.bindings[i], long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyAssociatedBinding.verify(message.bindings[i], long + 1); if (error) return "bindings." + error; } @@ -7452,41 +7452,41 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyInterface message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyInterface + * @memberof baml_bridge.cffi.v1.BamlTyInterface * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyInterface} BamlTyInterface + * @returns {baml_bridge.cffi.v1.BamlTyInterface} BamlTyInterface */ BamlTyInterface.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyInterface) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyInterface) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyInterface: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyInterface: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlTyInterface(); + let message = new $root.baml_bridge.cffi.v1.BamlTyInterface(); if (object.name != null) message.name = String(object.name); if (object.typeArgs) { if (!Array.isArray(object.typeArgs)) - throw TypeError(".baml_core.cffi.v1.BamlTyInterface.typeArgs: array expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyInterface.typeArgs: array expected"); message.typeArgs = []; for (let i = 0; i < object.typeArgs.length; ++i) { if (!$util.isObject(object.typeArgs[i])) - throw TypeError(".baml_core.cffi.v1.BamlTyInterface.typeArgs: object expected"); - message.typeArgs[i] = $root.baml_core.cffi.v1.BamlTy.fromObject(object.typeArgs[i], long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTyInterface.typeArgs: object expected"); + message.typeArgs[i] = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.typeArgs[i], long + 1); } } if (object.bindings) { if (!Array.isArray(object.bindings)) - throw TypeError(".baml_core.cffi.v1.BamlTyInterface.bindings: array expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyInterface.bindings: array expected"); message.bindings = []; for (let i = 0; i < object.bindings.length; ++i) { if (!$util.isObject(object.bindings[i])) - throw TypeError(".baml_core.cffi.v1.BamlTyInterface.bindings: object expected"); - message.bindings[i] = $root.baml_core.cffi.v1.BamlTyAssociatedBinding.fromObject(object.bindings[i], long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTyInterface.bindings: object expected"); + message.bindings[i] = $root.baml_bridge.cffi.v1.BamlTyAssociatedBinding.fromObject(object.bindings[i], long + 1); } } return message; @@ -7495,9 +7495,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlTyInterface message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyInterface + * @memberof baml_bridge.cffi.v1.BamlTyInterface * @static - * @param {baml_core.cffi.v1.BamlTyInterface} message BamlTyInterface + * @param {baml_bridge.cffi.v1.BamlTyInterface} message BamlTyInterface * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -7520,12 +7520,12 @@ export const baml_core = $root.baml_core = (() => { if (message.typeArgs && message.typeArgs.length) { object.typeArgs = []; for (let j = 0; j < message.typeArgs.length; ++j) - object.typeArgs[j] = $root.baml_core.cffi.v1.BamlTy.toObject(message.typeArgs[j], options, q + 1); + object.typeArgs[j] = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.typeArgs[j], options, q + 1); } if (message.bindings && message.bindings.length) { object.bindings = []; for (let j = 0; j < message.bindings.length; ++j) - object.bindings[j] = $root.baml_core.cffi.v1.BamlTyAssociatedBinding.toObject(message.bindings[j], options, q + 1); + object.bindings[j] = $root.baml_bridge.cffi.v1.BamlTyAssociatedBinding.toObject(message.bindings[j], options, q + 1); } return object; }; @@ -7533,7 +7533,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlTyInterface to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyInterface + * @memberof baml_bridge.cffi.v1.BamlTyInterface * @instance * @returns {Object.} JSON object */ @@ -7544,7 +7544,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyInterface * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyInterface + * @memberof baml_bridge.cffi.v1.BamlTyInterface * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -7553,7 +7553,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyInterface"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyInterface"; }; return BamlTyInterface; @@ -7563,19 +7563,19 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyAssociatedBinding. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyAssociatedBinding * @property {string|null} [name] BamlTyAssociatedBinding name - * @property {baml_core.cffi.v1.IBamlTy|null} [ty] BamlTyAssociatedBinding ty + * @property {baml_bridge.cffi.v1.IBamlTy|null} [ty] BamlTyAssociatedBinding ty */ /** * Constructs a new BamlTyAssociatedBinding. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyAssociatedBinding. * @implements IBamlTyAssociatedBinding * @constructor - * @param {baml_core.cffi.v1.IBamlTyAssociatedBinding=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyAssociatedBinding=} [properties] Properties to set */ function BamlTyAssociatedBinding(properties) { if (properties) @@ -7587,15 +7587,15 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyAssociatedBinding name. * @member {string} name - * @memberof baml_core.cffi.v1.BamlTyAssociatedBinding + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedBinding * @instance */ BamlTyAssociatedBinding.prototype.name = ""; /** * BamlTyAssociatedBinding ty. - * @member {baml_core.cffi.v1.IBamlTy|null|undefined} ty - * @memberof baml_core.cffi.v1.BamlTyAssociatedBinding + * @member {baml_bridge.cffi.v1.IBamlTy|null|undefined} ty + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedBinding * @instance */ BamlTyAssociatedBinding.prototype.ty = null; @@ -7603,21 +7603,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyAssociatedBinding instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyAssociatedBinding + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedBinding * @static - * @param {baml_core.cffi.v1.IBamlTyAssociatedBinding=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyAssociatedBinding} BamlTyAssociatedBinding instance + * @param {baml_bridge.cffi.v1.IBamlTyAssociatedBinding=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyAssociatedBinding} BamlTyAssociatedBinding instance */ BamlTyAssociatedBinding.create = function create(properties) { return new BamlTyAssociatedBinding(properties); }; /** - * Encodes the specified BamlTyAssociatedBinding message. Does not implicitly {@link baml_core.cffi.v1.BamlTyAssociatedBinding.verify|verify} messages. + * Encodes the specified BamlTyAssociatedBinding message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyAssociatedBinding.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyAssociatedBinding + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedBinding * @static - * @param {baml_core.cffi.v1.IBamlTyAssociatedBinding} message BamlTyAssociatedBinding message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyAssociatedBinding} message BamlTyAssociatedBinding message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -7631,16 +7631,16 @@ export const baml_core = $root.baml_core = (() => { if (message.name != null && Object.hasOwnProperty.call(message, "name")) writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); if (message.ty != null && Object.hasOwnProperty.call(message, "ty")) - $root.baml_core.cffi.v1.BamlTy.encode(message.ty, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.ty, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlTyAssociatedBinding message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyAssociatedBinding.verify|verify} messages. + * Encodes the specified BamlTyAssociatedBinding message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyAssociatedBinding.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyAssociatedBinding + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedBinding * @static - * @param {baml_core.cffi.v1.IBamlTyAssociatedBinding} message BamlTyAssociatedBinding message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyAssociatedBinding} message BamlTyAssociatedBinding message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -7651,11 +7651,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyAssociatedBinding message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyAssociatedBinding + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedBinding * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyAssociatedBinding} BamlTyAssociatedBinding + * @returns {baml_bridge.cffi.v1.BamlTyAssociatedBinding} BamlTyAssociatedBinding * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -7666,7 +7666,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyAssociatedBinding(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyAssociatedBinding(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -7677,7 +7677,7 @@ export const baml_core = $root.baml_core = (() => { break; } case 2: { - message.ty = $root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); + message.ty = $root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); break; } default: @@ -7691,10 +7691,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyAssociatedBinding message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyAssociatedBinding + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedBinding * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyAssociatedBinding} BamlTyAssociatedBinding + * @returns {baml_bridge.cffi.v1.BamlTyAssociatedBinding} BamlTyAssociatedBinding * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -7707,7 +7707,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyAssociatedBinding message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyAssociatedBinding + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedBinding * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -7723,7 +7723,7 @@ export const baml_core = $root.baml_core = (() => { if (!$util.isString(message.name)) return "name: string expected"; if (message.ty != null && message.hasOwnProperty("ty")) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.ty, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.ty, long + 1); if (error) return "ty." + error; } @@ -7733,27 +7733,27 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyAssociatedBinding message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyAssociatedBinding + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedBinding * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyAssociatedBinding} BamlTyAssociatedBinding + * @returns {baml_bridge.cffi.v1.BamlTyAssociatedBinding} BamlTyAssociatedBinding */ BamlTyAssociatedBinding.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyAssociatedBinding) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyAssociatedBinding) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyAssociatedBinding: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyAssociatedBinding: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlTyAssociatedBinding(); + let message = new $root.baml_bridge.cffi.v1.BamlTyAssociatedBinding(); if (object.name != null) message.name = String(object.name); if (object.ty != null) { if (!$util.isObject(object.ty)) - throw TypeError(".baml_core.cffi.v1.BamlTyAssociatedBinding.ty: object expected"); - message.ty = $root.baml_core.cffi.v1.BamlTy.fromObject(object.ty, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTyAssociatedBinding.ty: object expected"); + message.ty = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.ty, long + 1); } return message; }; @@ -7761,9 +7761,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlTyAssociatedBinding message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyAssociatedBinding + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedBinding * @static - * @param {baml_core.cffi.v1.BamlTyAssociatedBinding} message BamlTyAssociatedBinding + * @param {baml_bridge.cffi.v1.BamlTyAssociatedBinding} message BamlTyAssociatedBinding * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -7782,14 +7782,14 @@ export const baml_core = $root.baml_core = (() => { if (message.name != null && message.hasOwnProperty("name")) object.name = message.name; if (message.ty != null && message.hasOwnProperty("ty")) - object.ty = $root.baml_core.cffi.v1.BamlTy.toObject(message.ty, options, q + 1); + object.ty = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.ty, options, q + 1); return object; }; /** * Converts this BamlTyAssociatedBinding to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyAssociatedBinding + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedBinding * @instance * @returns {Object.} JSON object */ @@ -7800,7 +7800,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyAssociatedBinding * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyAssociatedBinding + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedBinding * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -7809,7 +7809,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyAssociatedBinding"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyAssociatedBinding"; }; return BamlTyAssociatedBinding; @@ -7819,7 +7819,7 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyEnumVariant. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyEnumVariant * @property {string|null} [name] BamlTyEnumVariant name * @property {string|null} [variant] BamlTyEnumVariant variant @@ -7827,11 +7827,11 @@ export const baml_core = $root.baml_core = (() => { /** * Constructs a new BamlTyEnumVariant. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyEnumVariant. * @implements IBamlTyEnumVariant * @constructor - * @param {baml_core.cffi.v1.IBamlTyEnumVariant=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyEnumVariant=} [properties] Properties to set */ function BamlTyEnumVariant(properties) { if (properties) @@ -7843,7 +7843,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyEnumVariant name. * @member {string} name - * @memberof baml_core.cffi.v1.BamlTyEnumVariant + * @memberof baml_bridge.cffi.v1.BamlTyEnumVariant * @instance */ BamlTyEnumVariant.prototype.name = ""; @@ -7851,7 +7851,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyEnumVariant variant. * @member {string} variant - * @memberof baml_core.cffi.v1.BamlTyEnumVariant + * @memberof baml_bridge.cffi.v1.BamlTyEnumVariant * @instance */ BamlTyEnumVariant.prototype.variant = ""; @@ -7859,21 +7859,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyEnumVariant instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyEnumVariant + * @memberof baml_bridge.cffi.v1.BamlTyEnumVariant * @static - * @param {baml_core.cffi.v1.IBamlTyEnumVariant=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyEnumVariant} BamlTyEnumVariant instance + * @param {baml_bridge.cffi.v1.IBamlTyEnumVariant=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyEnumVariant} BamlTyEnumVariant instance */ BamlTyEnumVariant.create = function create(properties) { return new BamlTyEnumVariant(properties); }; /** - * Encodes the specified BamlTyEnumVariant message. Does not implicitly {@link baml_core.cffi.v1.BamlTyEnumVariant.verify|verify} messages. + * Encodes the specified BamlTyEnumVariant message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyEnumVariant.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyEnumVariant + * @memberof baml_bridge.cffi.v1.BamlTyEnumVariant * @static - * @param {baml_core.cffi.v1.IBamlTyEnumVariant} message BamlTyEnumVariant message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyEnumVariant} message BamlTyEnumVariant message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -7892,11 +7892,11 @@ export const baml_core = $root.baml_core = (() => { }; /** - * Encodes the specified BamlTyEnumVariant message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyEnumVariant.verify|verify} messages. + * Encodes the specified BamlTyEnumVariant message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyEnumVariant.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyEnumVariant + * @memberof baml_bridge.cffi.v1.BamlTyEnumVariant * @static - * @param {baml_core.cffi.v1.IBamlTyEnumVariant} message BamlTyEnumVariant message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyEnumVariant} message BamlTyEnumVariant message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -7907,11 +7907,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyEnumVariant message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyEnumVariant + * @memberof baml_bridge.cffi.v1.BamlTyEnumVariant * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyEnumVariant} BamlTyEnumVariant + * @returns {baml_bridge.cffi.v1.BamlTyEnumVariant} BamlTyEnumVariant * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -7922,7 +7922,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyEnumVariant(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyEnumVariant(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -7947,10 +7947,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyEnumVariant message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyEnumVariant + * @memberof baml_bridge.cffi.v1.BamlTyEnumVariant * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyEnumVariant} BamlTyEnumVariant + * @returns {baml_bridge.cffi.v1.BamlTyEnumVariant} BamlTyEnumVariant * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -7963,7 +7963,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyEnumVariant message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyEnumVariant + * @memberof baml_bridge.cffi.v1.BamlTyEnumVariant * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -7987,21 +7987,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyEnumVariant message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyEnumVariant + * @memberof baml_bridge.cffi.v1.BamlTyEnumVariant * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyEnumVariant} BamlTyEnumVariant + * @returns {baml_bridge.cffi.v1.BamlTyEnumVariant} BamlTyEnumVariant */ BamlTyEnumVariant.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyEnumVariant) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyEnumVariant) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyEnumVariant: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyEnumVariant: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlTyEnumVariant(); + let message = new $root.baml_bridge.cffi.v1.BamlTyEnumVariant(); if (object.name != null) message.name = String(object.name); if (object.variant != null) @@ -8012,9 +8012,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlTyEnumVariant message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyEnumVariant + * @memberof baml_bridge.cffi.v1.BamlTyEnumVariant * @static - * @param {baml_core.cffi.v1.BamlTyEnumVariant} message BamlTyEnumVariant + * @param {baml_bridge.cffi.v1.BamlTyEnumVariant} message BamlTyEnumVariant * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -8040,7 +8040,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlTyEnumVariant to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyEnumVariant + * @memberof baml_bridge.cffi.v1.BamlTyEnumVariant * @instance * @returns {Object.} JSON object */ @@ -8051,7 +8051,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyEnumVariant * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyEnumVariant + * @memberof baml_bridge.cffi.v1.BamlTyEnumVariant * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -8060,7 +8060,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyEnumVariant"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyEnumVariant"; }; return BamlTyEnumVariant; @@ -8068,7 +8068,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyFunctionParamMode enum. - * @name baml_core.cffi.v1.BamlTyFunctionParamMode + * @name baml_bridge.cffi.v1.BamlTyFunctionParamMode * @enum {number} * @property {number} BAML_TY_FUNCTION_PARAM_MODE_UNSPECIFIED=0 BAML_TY_FUNCTION_PARAM_MODE_UNSPECIFIED value * @property {number} BAML_TY_FUNCTION_PARAM_MODE_REQUIRED=1 BAML_TY_FUNCTION_PARAM_MODE_REQUIRED value @@ -8086,20 +8086,20 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyFunctionParam. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyFunctionParam * @property {string|null} [name] BamlTyFunctionParam name - * @property {baml_core.cffi.v1.IBamlTy|null} [ty] BamlTyFunctionParam ty - * @property {baml_core.cffi.v1.BamlTyFunctionParamMode|null} [mode] BamlTyFunctionParam mode + * @property {baml_bridge.cffi.v1.IBamlTy|null} [ty] BamlTyFunctionParam ty + * @property {baml_bridge.cffi.v1.BamlTyFunctionParamMode|null} [mode] BamlTyFunctionParam mode */ /** * Constructs a new BamlTyFunctionParam. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyFunctionParam. * @implements IBamlTyFunctionParam * @constructor - * @param {baml_core.cffi.v1.IBamlTyFunctionParam=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyFunctionParam=} [properties] Properties to set */ function BamlTyFunctionParam(properties) { if (properties) @@ -8111,23 +8111,23 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyFunctionParam name. * @member {string|null|undefined} name - * @memberof baml_core.cffi.v1.BamlTyFunctionParam + * @memberof baml_bridge.cffi.v1.BamlTyFunctionParam * @instance */ BamlTyFunctionParam.prototype.name = null; /** * BamlTyFunctionParam ty. - * @member {baml_core.cffi.v1.IBamlTy|null|undefined} ty - * @memberof baml_core.cffi.v1.BamlTyFunctionParam + * @member {baml_bridge.cffi.v1.IBamlTy|null|undefined} ty + * @memberof baml_bridge.cffi.v1.BamlTyFunctionParam * @instance */ BamlTyFunctionParam.prototype.ty = null; /** * BamlTyFunctionParam mode. - * @member {baml_core.cffi.v1.BamlTyFunctionParamMode} mode - * @memberof baml_core.cffi.v1.BamlTyFunctionParam + * @member {baml_bridge.cffi.v1.BamlTyFunctionParamMode} mode + * @memberof baml_bridge.cffi.v1.BamlTyFunctionParam * @instance */ BamlTyFunctionParam.prototype.mode = 0; @@ -8144,21 +8144,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyFunctionParam instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyFunctionParam + * @memberof baml_bridge.cffi.v1.BamlTyFunctionParam * @static - * @param {baml_core.cffi.v1.IBamlTyFunctionParam=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyFunctionParam} BamlTyFunctionParam instance + * @param {baml_bridge.cffi.v1.IBamlTyFunctionParam=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyFunctionParam} BamlTyFunctionParam instance */ BamlTyFunctionParam.create = function create(properties) { return new BamlTyFunctionParam(properties); }; /** - * Encodes the specified BamlTyFunctionParam message. Does not implicitly {@link baml_core.cffi.v1.BamlTyFunctionParam.verify|verify} messages. + * Encodes the specified BamlTyFunctionParam message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyFunctionParam.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyFunctionParam + * @memberof baml_bridge.cffi.v1.BamlTyFunctionParam * @static - * @param {baml_core.cffi.v1.IBamlTyFunctionParam} message BamlTyFunctionParam message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyFunctionParam} message BamlTyFunctionParam message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -8172,18 +8172,18 @@ export const baml_core = $root.baml_core = (() => { if (message.name != null && Object.hasOwnProperty.call(message, "name")) writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); if (message.ty != null && Object.hasOwnProperty.call(message, "ty")) - $root.baml_core.cffi.v1.BamlTy.encode(message.ty, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.ty, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); if (message.mode != null && Object.hasOwnProperty.call(message, "mode")) writer.uint32(/* id 3, wireType 0 =*/24).int32(message.mode); return writer; }; /** - * Encodes the specified BamlTyFunctionParam message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyFunctionParam.verify|verify} messages. + * Encodes the specified BamlTyFunctionParam message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyFunctionParam.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyFunctionParam + * @memberof baml_bridge.cffi.v1.BamlTyFunctionParam * @static - * @param {baml_core.cffi.v1.IBamlTyFunctionParam} message BamlTyFunctionParam message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyFunctionParam} message BamlTyFunctionParam message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -8194,11 +8194,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyFunctionParam message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyFunctionParam + * @memberof baml_bridge.cffi.v1.BamlTyFunctionParam * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyFunctionParam} BamlTyFunctionParam + * @returns {baml_bridge.cffi.v1.BamlTyFunctionParam} BamlTyFunctionParam * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -8209,7 +8209,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyFunctionParam(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyFunctionParam(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -8220,7 +8220,7 @@ export const baml_core = $root.baml_core = (() => { break; } case 2: { - message.ty = $root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); + message.ty = $root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); break; } case 3: { @@ -8238,10 +8238,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyFunctionParam message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyFunctionParam + * @memberof baml_bridge.cffi.v1.BamlTyFunctionParam * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyFunctionParam} BamlTyFunctionParam + * @returns {baml_bridge.cffi.v1.BamlTyFunctionParam} BamlTyFunctionParam * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -8254,7 +8254,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyFunctionParam message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyFunctionParam + * @memberof baml_bridge.cffi.v1.BamlTyFunctionParam * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -8273,7 +8273,7 @@ export const baml_core = $root.baml_core = (() => { return "name: string expected"; } if (message.ty != null && message.hasOwnProperty("ty")) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.ty, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.ty, long + 1); if (error) return "ty." + error; } @@ -8292,27 +8292,27 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyFunctionParam message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyFunctionParam + * @memberof baml_bridge.cffi.v1.BamlTyFunctionParam * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyFunctionParam} BamlTyFunctionParam + * @returns {baml_bridge.cffi.v1.BamlTyFunctionParam} BamlTyFunctionParam */ BamlTyFunctionParam.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyFunctionParam) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyFunctionParam) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyFunctionParam: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyFunctionParam: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlTyFunctionParam(); + let message = new $root.baml_bridge.cffi.v1.BamlTyFunctionParam(); if (object.name != null) message.name = String(object.name); if (object.ty != null) { if (!$util.isObject(object.ty)) - throw TypeError(".baml_core.cffi.v1.BamlTyFunctionParam.ty: object expected"); - message.ty = $root.baml_core.cffi.v1.BamlTy.fromObject(object.ty, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTyFunctionParam.ty: object expected"); + message.ty = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.ty, long + 1); } switch (object.mode) { default: @@ -8340,9 +8340,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlTyFunctionParam message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyFunctionParam + * @memberof baml_bridge.cffi.v1.BamlTyFunctionParam * @static - * @param {baml_core.cffi.v1.BamlTyFunctionParam} message BamlTyFunctionParam + * @param {baml_bridge.cffi.v1.BamlTyFunctionParam} message BamlTyFunctionParam * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -8364,16 +8364,16 @@ export const baml_core = $root.baml_core = (() => { object._name = "name"; } if (message.ty != null && message.hasOwnProperty("ty")) - object.ty = $root.baml_core.cffi.v1.BamlTy.toObject(message.ty, options, q + 1); + object.ty = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.ty, options, q + 1); if (message.mode != null && message.hasOwnProperty("mode")) - object.mode = options.enums === String ? $root.baml_core.cffi.v1.BamlTyFunctionParamMode[message.mode] === undefined ? message.mode : $root.baml_core.cffi.v1.BamlTyFunctionParamMode[message.mode] : message.mode; + object.mode = options.enums === String ? $root.baml_bridge.cffi.v1.BamlTyFunctionParamMode[message.mode] === undefined ? message.mode : $root.baml_bridge.cffi.v1.BamlTyFunctionParamMode[message.mode] : message.mode; return object; }; /** * Converts this BamlTyFunctionParam to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyFunctionParam + * @memberof baml_bridge.cffi.v1.BamlTyFunctionParam * @instance * @returns {Object.} JSON object */ @@ -8384,7 +8384,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyFunctionParam * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyFunctionParam + * @memberof baml_bridge.cffi.v1.BamlTyFunctionParam * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -8393,7 +8393,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyFunctionParam"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyFunctionParam"; }; return BamlTyFunctionParam; @@ -8403,21 +8403,21 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyFunction. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyFunction * @property {Array.|null} [genericParams] BamlTyFunction genericParams - * @property {Array.|null} [params] BamlTyFunction params - * @property {baml_core.cffi.v1.IBamlTy|null} [ret] BamlTyFunction ret - * @property {baml_core.cffi.v1.IBamlTy|null} [throws] BamlTyFunction throws + * @property {Array.|null} [params] BamlTyFunction params + * @property {baml_bridge.cffi.v1.IBamlTy|null} [ret] BamlTyFunction ret + * @property {baml_bridge.cffi.v1.IBamlTy|null} [throws] BamlTyFunction throws */ /** * Constructs a new BamlTyFunction. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyFunction. * @implements IBamlTyFunction * @constructor - * @param {baml_core.cffi.v1.IBamlTyFunction=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyFunction=} [properties] Properties to set */ function BamlTyFunction(properties) { this.genericParams = []; @@ -8431,31 +8431,31 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyFunction genericParams. * @member {Array.} genericParams - * @memberof baml_core.cffi.v1.BamlTyFunction + * @memberof baml_bridge.cffi.v1.BamlTyFunction * @instance */ BamlTyFunction.prototype.genericParams = $util.emptyArray; /** * BamlTyFunction params. - * @member {Array.} params - * @memberof baml_core.cffi.v1.BamlTyFunction + * @member {Array.} params + * @memberof baml_bridge.cffi.v1.BamlTyFunction * @instance */ BamlTyFunction.prototype.params = $util.emptyArray; /** * BamlTyFunction ret. - * @member {baml_core.cffi.v1.IBamlTy|null|undefined} ret - * @memberof baml_core.cffi.v1.BamlTyFunction + * @member {baml_bridge.cffi.v1.IBamlTy|null|undefined} ret + * @memberof baml_bridge.cffi.v1.BamlTyFunction * @instance */ BamlTyFunction.prototype.ret = null; /** * BamlTyFunction throws. - * @member {baml_core.cffi.v1.IBamlTy|null|undefined} throws - * @memberof baml_core.cffi.v1.BamlTyFunction + * @member {baml_bridge.cffi.v1.IBamlTy|null|undefined} throws + * @memberof baml_bridge.cffi.v1.BamlTyFunction * @instance */ BamlTyFunction.prototype.throws = null; @@ -8463,21 +8463,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyFunction instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyFunction + * @memberof baml_bridge.cffi.v1.BamlTyFunction * @static - * @param {baml_core.cffi.v1.IBamlTyFunction=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyFunction} BamlTyFunction instance + * @param {baml_bridge.cffi.v1.IBamlTyFunction=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyFunction} BamlTyFunction instance */ BamlTyFunction.create = function create(properties) { return new BamlTyFunction(properties); }; /** - * Encodes the specified BamlTyFunction message. Does not implicitly {@link baml_core.cffi.v1.BamlTyFunction.verify|verify} messages. + * Encodes the specified BamlTyFunction message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyFunction.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyFunction + * @memberof baml_bridge.cffi.v1.BamlTyFunction * @static - * @param {baml_core.cffi.v1.IBamlTyFunction} message BamlTyFunction message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyFunction} message BamlTyFunction message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -8493,20 +8493,20 @@ export const baml_core = $root.baml_core = (() => { writer.uint32(/* id 1, wireType 2 =*/10).string(message.genericParams[i]); if (message.params != null && message.params.length) for (let i = 0; i < message.params.length; ++i) - $root.baml_core.cffi.v1.BamlTyFunctionParam.encode(message.params[i], writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTyFunctionParam.encode(message.params[i], writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim(); if (message.ret != null && Object.hasOwnProperty.call(message, "ret")) - $root.baml_core.cffi.v1.BamlTy.encode(message.ret, writer.uint32(/* id 4, wireType 2 =*/34).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.ret, writer.uint32(/* id 4, wireType 2 =*/34).fork(), q + 1).ldelim(); if (message.throws != null && Object.hasOwnProperty.call(message, "throws")) - $root.baml_core.cffi.v1.BamlTy.encode(message.throws, writer.uint32(/* id 5, wireType 2 =*/42).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.throws, writer.uint32(/* id 5, wireType 2 =*/42).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlTyFunction message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyFunction.verify|verify} messages. + * Encodes the specified BamlTyFunction message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyFunction.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyFunction + * @memberof baml_bridge.cffi.v1.BamlTyFunction * @static - * @param {baml_core.cffi.v1.IBamlTyFunction} message BamlTyFunction message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyFunction} message BamlTyFunction message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -8517,11 +8517,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyFunction message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyFunction + * @memberof baml_bridge.cffi.v1.BamlTyFunction * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyFunction} BamlTyFunction + * @returns {baml_bridge.cffi.v1.BamlTyFunction} BamlTyFunction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -8532,7 +8532,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyFunction(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyFunction(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -8547,15 +8547,15 @@ export const baml_core = $root.baml_core = (() => { case 3: { if (!(message.params && message.params.length)) message.params = []; - message.params.push($root.baml_core.cffi.v1.BamlTyFunctionParam.decode(reader, reader.uint32(), undefined, long + 1)); + message.params.push($root.baml_bridge.cffi.v1.BamlTyFunctionParam.decode(reader, reader.uint32(), undefined, long + 1)); break; } case 4: { - message.ret = $root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); + message.ret = $root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); break; } case 5: { - message.throws = $root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); + message.throws = $root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); break; } default: @@ -8569,10 +8569,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyFunction message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyFunction + * @memberof baml_bridge.cffi.v1.BamlTyFunction * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyFunction} BamlTyFunction + * @returns {baml_bridge.cffi.v1.BamlTyFunction} BamlTyFunction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -8585,7 +8585,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyFunction message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyFunction + * @memberof baml_bridge.cffi.v1.BamlTyFunction * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -8608,18 +8608,18 @@ export const baml_core = $root.baml_core = (() => { if (!Array.isArray(message.params)) return "params: array expected"; for (let i = 0; i < message.params.length; ++i) { - let error = $root.baml_core.cffi.v1.BamlTyFunctionParam.verify(message.params[i], long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTyFunctionParam.verify(message.params[i], long + 1); if (error) return "params." + error; } } if (message.ret != null && message.hasOwnProperty("ret")) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.ret, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.ret, long + 1); if (error) return "ret." + error; } if (message.throws != null && message.hasOwnProperty("throws")) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.throws, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.throws, long + 1); if (error) return "throws." + error; } @@ -8629,47 +8629,47 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyFunction message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyFunction + * @memberof baml_bridge.cffi.v1.BamlTyFunction * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyFunction} BamlTyFunction + * @returns {baml_bridge.cffi.v1.BamlTyFunction} BamlTyFunction */ BamlTyFunction.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyFunction) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyFunction) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyFunction: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyFunction: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlTyFunction(); + let message = new $root.baml_bridge.cffi.v1.BamlTyFunction(); if (object.genericParams) { if (!Array.isArray(object.genericParams)) - throw TypeError(".baml_core.cffi.v1.BamlTyFunction.genericParams: array expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyFunction.genericParams: array expected"); message.genericParams = []; for (let i = 0; i < object.genericParams.length; ++i) message.genericParams[i] = String(object.genericParams[i]); } if (object.params) { if (!Array.isArray(object.params)) - throw TypeError(".baml_core.cffi.v1.BamlTyFunction.params: array expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyFunction.params: array expected"); message.params = []; for (let i = 0; i < object.params.length; ++i) { if (!$util.isObject(object.params[i])) - throw TypeError(".baml_core.cffi.v1.BamlTyFunction.params: object expected"); - message.params[i] = $root.baml_core.cffi.v1.BamlTyFunctionParam.fromObject(object.params[i], long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTyFunction.params: object expected"); + message.params[i] = $root.baml_bridge.cffi.v1.BamlTyFunctionParam.fromObject(object.params[i], long + 1); } } if (object.ret != null) { if (!$util.isObject(object.ret)) - throw TypeError(".baml_core.cffi.v1.BamlTyFunction.ret: object expected"); - message.ret = $root.baml_core.cffi.v1.BamlTy.fromObject(object.ret, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTyFunction.ret: object expected"); + message.ret = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.ret, long + 1); } if (object.throws != null) { if (!$util.isObject(object.throws)) - throw TypeError(".baml_core.cffi.v1.BamlTyFunction.throws: object expected"); - message.throws = $root.baml_core.cffi.v1.BamlTy.fromObject(object.throws, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTyFunction.throws: object expected"); + message.throws = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.throws, long + 1); } return message; }; @@ -8677,9 +8677,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlTyFunction message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyFunction + * @memberof baml_bridge.cffi.v1.BamlTyFunction * @static - * @param {baml_core.cffi.v1.BamlTyFunction} message BamlTyFunction + * @param {baml_bridge.cffi.v1.BamlTyFunction} message BamlTyFunction * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -8707,19 +8707,19 @@ export const baml_core = $root.baml_core = (() => { if (message.params && message.params.length) { object.params = []; for (let j = 0; j < message.params.length; ++j) - object.params[j] = $root.baml_core.cffi.v1.BamlTyFunctionParam.toObject(message.params[j], options, q + 1); + object.params[j] = $root.baml_bridge.cffi.v1.BamlTyFunctionParam.toObject(message.params[j], options, q + 1); } if (message.ret != null && message.hasOwnProperty("ret")) - object.ret = $root.baml_core.cffi.v1.BamlTy.toObject(message.ret, options, q + 1); + object.ret = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.ret, options, q + 1); if (message.throws != null && message.hasOwnProperty("throws")) - object.throws = $root.baml_core.cffi.v1.BamlTy.toObject(message.throws, options, q + 1); + object.throws = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.throws, options, q + 1); return object; }; /** * Converts this BamlTyFunction to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyFunction + * @memberof baml_bridge.cffi.v1.BamlTyFunction * @instance * @returns {Object.} JSON object */ @@ -8730,7 +8730,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyFunction * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyFunction + * @memberof baml_bridge.cffi.v1.BamlTyFunction * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -8739,7 +8739,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyFunction"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyFunction"; }; return BamlTyFunction; @@ -8749,19 +8749,19 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyFuture. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyFuture - * @property {baml_core.cffi.v1.IBamlTy|null} [value] BamlTyFuture value - * @property {baml_core.cffi.v1.IBamlTy|null} [error] BamlTyFuture error + * @property {baml_bridge.cffi.v1.IBamlTy|null} [value] BamlTyFuture value + * @property {baml_bridge.cffi.v1.IBamlTy|null} [error] BamlTyFuture error */ /** * Constructs a new BamlTyFuture. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyFuture. * @implements IBamlTyFuture * @constructor - * @param {baml_core.cffi.v1.IBamlTyFuture=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyFuture=} [properties] Properties to set */ function BamlTyFuture(properties) { if (properties) @@ -8772,16 +8772,16 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyFuture value. - * @member {baml_core.cffi.v1.IBamlTy|null|undefined} value - * @memberof baml_core.cffi.v1.BamlTyFuture + * @member {baml_bridge.cffi.v1.IBamlTy|null|undefined} value + * @memberof baml_bridge.cffi.v1.BamlTyFuture * @instance */ BamlTyFuture.prototype.value = null; /** * BamlTyFuture error. - * @member {baml_core.cffi.v1.IBamlTy|null|undefined} error - * @memberof baml_core.cffi.v1.BamlTyFuture + * @member {baml_bridge.cffi.v1.IBamlTy|null|undefined} error + * @memberof baml_bridge.cffi.v1.BamlTyFuture * @instance */ BamlTyFuture.prototype.error = null; @@ -8789,21 +8789,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyFuture instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyFuture + * @memberof baml_bridge.cffi.v1.BamlTyFuture * @static - * @param {baml_core.cffi.v1.IBamlTyFuture=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyFuture} BamlTyFuture instance + * @param {baml_bridge.cffi.v1.IBamlTyFuture=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyFuture} BamlTyFuture instance */ BamlTyFuture.create = function create(properties) { return new BamlTyFuture(properties); }; /** - * Encodes the specified BamlTyFuture message. Does not implicitly {@link baml_core.cffi.v1.BamlTyFuture.verify|verify} messages. + * Encodes the specified BamlTyFuture message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyFuture.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyFuture + * @memberof baml_bridge.cffi.v1.BamlTyFuture * @static - * @param {baml_core.cffi.v1.IBamlTyFuture} message BamlTyFuture message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyFuture} message BamlTyFuture message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -8815,18 +8815,18 @@ export const baml_core = $root.baml_core = (() => { if (q > $util.recursionLimit) throw Error("max depth exceeded"); if (message.value != null && Object.hasOwnProperty.call(message, "value")) - $root.baml_core.cffi.v1.BamlTy.encode(message.value, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.value, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); if (message.error != null && Object.hasOwnProperty.call(message, "error")) - $root.baml_core.cffi.v1.BamlTy.encode(message.error, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.error, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlTyFuture message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyFuture.verify|verify} messages. + * Encodes the specified BamlTyFuture message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyFuture.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyFuture + * @memberof baml_bridge.cffi.v1.BamlTyFuture * @static - * @param {baml_core.cffi.v1.IBamlTyFuture} message BamlTyFuture message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyFuture} message BamlTyFuture message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -8837,11 +8837,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyFuture message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyFuture + * @memberof baml_bridge.cffi.v1.BamlTyFuture * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyFuture} BamlTyFuture + * @returns {baml_bridge.cffi.v1.BamlTyFuture} BamlTyFuture * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -8852,18 +8852,18 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyFuture(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyFuture(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.value = $root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); + message.value = $root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); break; } case 2: { - message.error = $root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); + message.error = $root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); break; } default: @@ -8877,10 +8877,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyFuture message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyFuture + * @memberof baml_bridge.cffi.v1.BamlTyFuture * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyFuture} BamlTyFuture + * @returns {baml_bridge.cffi.v1.BamlTyFuture} BamlTyFuture * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -8893,7 +8893,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyFuture message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyFuture + * @memberof baml_bridge.cffi.v1.BamlTyFuture * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -8906,12 +8906,12 @@ export const baml_core = $root.baml_core = (() => { if (long > $util.recursionLimit) return "maximum nesting depth exceeded"; if (message.value != null && message.hasOwnProperty("value")) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.value, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.value, long + 1); if (error) return "value." + error; } if (message.error != null && message.hasOwnProperty("error")) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.error, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.error, long + 1); if (error) return "error." + error; } @@ -8921,30 +8921,30 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyFuture message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyFuture + * @memberof baml_bridge.cffi.v1.BamlTyFuture * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyFuture} BamlTyFuture + * @returns {baml_bridge.cffi.v1.BamlTyFuture} BamlTyFuture */ BamlTyFuture.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyFuture) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyFuture) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyFuture: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyFuture: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlTyFuture(); + let message = new $root.baml_bridge.cffi.v1.BamlTyFuture(); if (object.value != null) { if (!$util.isObject(object.value)) - throw TypeError(".baml_core.cffi.v1.BamlTyFuture.value: object expected"); - message.value = $root.baml_core.cffi.v1.BamlTy.fromObject(object.value, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTyFuture.value: object expected"); + message.value = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.value, long + 1); } if (object.error != null) { if (!$util.isObject(object.error)) - throw TypeError(".baml_core.cffi.v1.BamlTyFuture.error: object expected"); - message.error = $root.baml_core.cffi.v1.BamlTy.fromObject(object.error, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTyFuture.error: object expected"); + message.error = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.error, long + 1); } return message; }; @@ -8952,9 +8952,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlTyFuture message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyFuture + * @memberof baml_bridge.cffi.v1.BamlTyFuture * @static - * @param {baml_core.cffi.v1.BamlTyFuture} message BamlTyFuture + * @param {baml_bridge.cffi.v1.BamlTyFuture} message BamlTyFuture * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -8971,16 +8971,16 @@ export const baml_core = $root.baml_core = (() => { object.error = null; } if (message.value != null && message.hasOwnProperty("value")) - object.value = $root.baml_core.cffi.v1.BamlTy.toObject(message.value, options, q + 1); + object.value = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.value, options, q + 1); if (message.error != null && message.hasOwnProperty("error")) - object.error = $root.baml_core.cffi.v1.BamlTy.toObject(message.error, options, q + 1); + object.error = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.error, options, q + 1); return object; }; /** * Converts this BamlTyFuture to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyFuture + * @memberof baml_bridge.cffi.v1.BamlTyFuture * @instance * @returns {Object.} JSON object */ @@ -8991,7 +8991,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyFuture * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyFuture + * @memberof baml_bridge.cffi.v1.BamlTyFuture * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -9000,7 +9000,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyFuture"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyFuture"; }; return BamlTyFuture; @@ -9010,17 +9010,17 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyRustType. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyRustType */ /** * Constructs a new BamlTyRustType. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyRustType. * @implements IBamlTyRustType * @constructor - * @param {baml_core.cffi.v1.IBamlTyRustType=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyRustType=} [properties] Properties to set */ function BamlTyRustType(properties) { if (properties) @@ -9032,21 +9032,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyRustType instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyRustType + * @memberof baml_bridge.cffi.v1.BamlTyRustType * @static - * @param {baml_core.cffi.v1.IBamlTyRustType=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyRustType} BamlTyRustType instance + * @param {baml_bridge.cffi.v1.IBamlTyRustType=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyRustType} BamlTyRustType instance */ BamlTyRustType.create = function create(properties) { return new BamlTyRustType(properties); }; /** - * Encodes the specified BamlTyRustType message. Does not implicitly {@link baml_core.cffi.v1.BamlTyRustType.verify|verify} messages. + * Encodes the specified BamlTyRustType message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyRustType.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyRustType + * @memberof baml_bridge.cffi.v1.BamlTyRustType * @static - * @param {baml_core.cffi.v1.IBamlTyRustType} message BamlTyRustType message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyRustType} message BamlTyRustType message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -9061,11 +9061,11 @@ export const baml_core = $root.baml_core = (() => { }; /** - * Encodes the specified BamlTyRustType message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyRustType.verify|verify} messages. + * Encodes the specified BamlTyRustType message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyRustType.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyRustType + * @memberof baml_bridge.cffi.v1.BamlTyRustType * @static - * @param {baml_core.cffi.v1.IBamlTyRustType} message BamlTyRustType message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyRustType} message BamlTyRustType message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -9076,11 +9076,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyRustType message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyRustType + * @memberof baml_bridge.cffi.v1.BamlTyRustType * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyRustType} BamlTyRustType + * @returns {baml_bridge.cffi.v1.BamlTyRustType} BamlTyRustType * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -9091,7 +9091,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyRustType(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyRustType(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -9108,10 +9108,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyRustType message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyRustType + * @memberof baml_bridge.cffi.v1.BamlTyRustType * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyRustType} BamlTyRustType + * @returns {baml_bridge.cffi.v1.BamlTyRustType} BamlTyRustType * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -9124,7 +9124,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyRustType message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyRustType + * @memberof baml_bridge.cffi.v1.BamlTyRustType * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -9142,29 +9142,29 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyRustType message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyRustType + * @memberof baml_bridge.cffi.v1.BamlTyRustType * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyRustType} BamlTyRustType + * @returns {baml_bridge.cffi.v1.BamlTyRustType} BamlTyRustType */ BamlTyRustType.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyRustType) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyRustType) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyRustType: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyRustType: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - return new $root.baml_core.cffi.v1.BamlTyRustType(); + return new $root.baml_bridge.cffi.v1.BamlTyRustType(); }; /** * Creates a plain object from a BamlTyRustType message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyRustType + * @memberof baml_bridge.cffi.v1.BamlTyRustType * @static - * @param {baml_core.cffi.v1.BamlTyRustType} message BamlTyRustType + * @param {baml_bridge.cffi.v1.BamlTyRustType} message BamlTyRustType * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -9175,7 +9175,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlTyRustType to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyRustType + * @memberof baml_bridge.cffi.v1.BamlTyRustType * @instance * @returns {Object.} JSON object */ @@ -9186,7 +9186,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyRustType * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyRustType + * @memberof baml_bridge.cffi.v1.BamlTyRustType * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -9195,7 +9195,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyRustType"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyRustType"; }; return BamlTyRustType; @@ -9205,17 +9205,17 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyMetaType. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyMetaType */ /** * Constructs a new BamlTyMetaType. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyMetaType. * @implements IBamlTyMetaType * @constructor - * @param {baml_core.cffi.v1.IBamlTyMetaType=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyMetaType=} [properties] Properties to set */ function BamlTyMetaType(properties) { if (properties) @@ -9227,21 +9227,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyMetaType instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyMetaType + * @memberof baml_bridge.cffi.v1.BamlTyMetaType * @static - * @param {baml_core.cffi.v1.IBamlTyMetaType=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyMetaType} BamlTyMetaType instance + * @param {baml_bridge.cffi.v1.IBamlTyMetaType=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyMetaType} BamlTyMetaType instance */ BamlTyMetaType.create = function create(properties) { return new BamlTyMetaType(properties); }; /** - * Encodes the specified BamlTyMetaType message. Does not implicitly {@link baml_core.cffi.v1.BamlTyMetaType.verify|verify} messages. + * Encodes the specified BamlTyMetaType message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyMetaType.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyMetaType + * @memberof baml_bridge.cffi.v1.BamlTyMetaType * @static - * @param {baml_core.cffi.v1.IBamlTyMetaType} message BamlTyMetaType message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyMetaType} message BamlTyMetaType message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -9256,11 +9256,11 @@ export const baml_core = $root.baml_core = (() => { }; /** - * Encodes the specified BamlTyMetaType message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyMetaType.verify|verify} messages. + * Encodes the specified BamlTyMetaType message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyMetaType.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyMetaType + * @memberof baml_bridge.cffi.v1.BamlTyMetaType * @static - * @param {baml_core.cffi.v1.IBamlTyMetaType} message BamlTyMetaType message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyMetaType} message BamlTyMetaType message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -9271,11 +9271,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyMetaType message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyMetaType + * @memberof baml_bridge.cffi.v1.BamlTyMetaType * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyMetaType} BamlTyMetaType + * @returns {baml_bridge.cffi.v1.BamlTyMetaType} BamlTyMetaType * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -9286,7 +9286,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyMetaType(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyMetaType(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -9303,10 +9303,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyMetaType message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyMetaType + * @memberof baml_bridge.cffi.v1.BamlTyMetaType * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyMetaType} BamlTyMetaType + * @returns {baml_bridge.cffi.v1.BamlTyMetaType} BamlTyMetaType * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -9319,7 +9319,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyMetaType message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyMetaType + * @memberof baml_bridge.cffi.v1.BamlTyMetaType * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -9337,29 +9337,29 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyMetaType message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyMetaType + * @memberof baml_bridge.cffi.v1.BamlTyMetaType * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyMetaType} BamlTyMetaType + * @returns {baml_bridge.cffi.v1.BamlTyMetaType} BamlTyMetaType */ BamlTyMetaType.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyMetaType) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyMetaType) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyMetaType: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyMetaType: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - return new $root.baml_core.cffi.v1.BamlTyMetaType(); + return new $root.baml_bridge.cffi.v1.BamlTyMetaType(); }; /** * Creates a plain object from a BamlTyMetaType message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyMetaType + * @memberof baml_bridge.cffi.v1.BamlTyMetaType * @static - * @param {baml_core.cffi.v1.BamlTyMetaType} message BamlTyMetaType + * @param {baml_bridge.cffi.v1.BamlTyMetaType} message BamlTyMetaType * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -9370,7 +9370,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlTyMetaType to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyMetaType + * @memberof baml_bridge.cffi.v1.BamlTyMetaType * @instance * @returns {Object.} JSON object */ @@ -9381,7 +9381,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyMetaType * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyMetaType + * @memberof baml_bridge.cffi.v1.BamlTyMetaType * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -9390,7 +9390,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyMetaType"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyMetaType"; }; return BamlTyMetaType; @@ -9400,17 +9400,17 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyResource. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyResource */ /** * Constructs a new BamlTyResource. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyResource. * @implements IBamlTyResource * @constructor - * @param {baml_core.cffi.v1.IBamlTyResource=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyResource=} [properties] Properties to set */ function BamlTyResource(properties) { if (properties) @@ -9422,21 +9422,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyResource instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyResource + * @memberof baml_bridge.cffi.v1.BamlTyResource * @static - * @param {baml_core.cffi.v1.IBamlTyResource=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyResource} BamlTyResource instance + * @param {baml_bridge.cffi.v1.IBamlTyResource=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyResource} BamlTyResource instance */ BamlTyResource.create = function create(properties) { return new BamlTyResource(properties); }; /** - * Encodes the specified BamlTyResource message. Does not implicitly {@link baml_core.cffi.v1.BamlTyResource.verify|verify} messages. + * Encodes the specified BamlTyResource message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyResource.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyResource + * @memberof baml_bridge.cffi.v1.BamlTyResource * @static - * @param {baml_core.cffi.v1.IBamlTyResource} message BamlTyResource message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyResource} message BamlTyResource message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -9451,11 +9451,11 @@ export const baml_core = $root.baml_core = (() => { }; /** - * Encodes the specified BamlTyResource message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyResource.verify|verify} messages. + * Encodes the specified BamlTyResource message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyResource.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyResource + * @memberof baml_bridge.cffi.v1.BamlTyResource * @static - * @param {baml_core.cffi.v1.IBamlTyResource} message BamlTyResource message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyResource} message BamlTyResource message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -9466,11 +9466,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyResource message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyResource + * @memberof baml_bridge.cffi.v1.BamlTyResource * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyResource} BamlTyResource + * @returns {baml_bridge.cffi.v1.BamlTyResource} BamlTyResource * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -9481,7 +9481,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyResource(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyResource(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -9498,10 +9498,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyResource message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyResource + * @memberof baml_bridge.cffi.v1.BamlTyResource * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyResource} BamlTyResource + * @returns {baml_bridge.cffi.v1.BamlTyResource} BamlTyResource * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -9514,7 +9514,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyResource message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyResource + * @memberof baml_bridge.cffi.v1.BamlTyResource * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -9532,29 +9532,29 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyResource message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyResource + * @memberof baml_bridge.cffi.v1.BamlTyResource * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyResource} BamlTyResource + * @returns {baml_bridge.cffi.v1.BamlTyResource} BamlTyResource */ BamlTyResource.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyResource) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyResource) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyResource: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyResource: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - return new $root.baml_core.cffi.v1.BamlTyResource(); + return new $root.baml_bridge.cffi.v1.BamlTyResource(); }; /** * Creates a plain object from a BamlTyResource message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyResource + * @memberof baml_bridge.cffi.v1.BamlTyResource * @static - * @param {baml_core.cffi.v1.BamlTyResource} message BamlTyResource + * @param {baml_bridge.cffi.v1.BamlTyResource} message BamlTyResource * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -9565,7 +9565,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlTyResource to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyResource + * @memberof baml_bridge.cffi.v1.BamlTyResource * @instance * @returns {Object.} JSON object */ @@ -9576,7 +9576,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyResource * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyResource + * @memberof baml_bridge.cffi.v1.BamlTyResource * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -9585,7 +9585,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyResource"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyResource"; }; return BamlTyResource; @@ -9595,17 +9595,17 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyPromptAst. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyPromptAst */ /** * Constructs a new BamlTyPromptAst. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyPromptAst. * @implements IBamlTyPromptAst * @constructor - * @param {baml_core.cffi.v1.IBamlTyPromptAst=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyPromptAst=} [properties] Properties to set */ function BamlTyPromptAst(properties) { if (properties) @@ -9617,21 +9617,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyPromptAst instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyPromptAst + * @memberof baml_bridge.cffi.v1.BamlTyPromptAst * @static - * @param {baml_core.cffi.v1.IBamlTyPromptAst=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyPromptAst} BamlTyPromptAst instance + * @param {baml_bridge.cffi.v1.IBamlTyPromptAst=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyPromptAst} BamlTyPromptAst instance */ BamlTyPromptAst.create = function create(properties) { return new BamlTyPromptAst(properties); }; /** - * Encodes the specified BamlTyPromptAst message. Does not implicitly {@link baml_core.cffi.v1.BamlTyPromptAst.verify|verify} messages. + * Encodes the specified BamlTyPromptAst message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyPromptAst.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyPromptAst + * @memberof baml_bridge.cffi.v1.BamlTyPromptAst * @static - * @param {baml_core.cffi.v1.IBamlTyPromptAst} message BamlTyPromptAst message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyPromptAst} message BamlTyPromptAst message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -9646,11 +9646,11 @@ export const baml_core = $root.baml_core = (() => { }; /** - * Encodes the specified BamlTyPromptAst message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyPromptAst.verify|verify} messages. + * Encodes the specified BamlTyPromptAst message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyPromptAst.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyPromptAst + * @memberof baml_bridge.cffi.v1.BamlTyPromptAst * @static - * @param {baml_core.cffi.v1.IBamlTyPromptAst} message BamlTyPromptAst message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyPromptAst} message BamlTyPromptAst message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -9661,11 +9661,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyPromptAst message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyPromptAst + * @memberof baml_bridge.cffi.v1.BamlTyPromptAst * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyPromptAst} BamlTyPromptAst + * @returns {baml_bridge.cffi.v1.BamlTyPromptAst} BamlTyPromptAst * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -9676,7 +9676,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyPromptAst(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyPromptAst(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -9693,10 +9693,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyPromptAst message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyPromptAst + * @memberof baml_bridge.cffi.v1.BamlTyPromptAst * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyPromptAst} BamlTyPromptAst + * @returns {baml_bridge.cffi.v1.BamlTyPromptAst} BamlTyPromptAst * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -9709,7 +9709,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyPromptAst message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyPromptAst + * @memberof baml_bridge.cffi.v1.BamlTyPromptAst * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -9727,29 +9727,29 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyPromptAst message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyPromptAst + * @memberof baml_bridge.cffi.v1.BamlTyPromptAst * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyPromptAst} BamlTyPromptAst + * @returns {baml_bridge.cffi.v1.BamlTyPromptAst} BamlTyPromptAst */ BamlTyPromptAst.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyPromptAst) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyPromptAst) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyPromptAst: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyPromptAst: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - return new $root.baml_core.cffi.v1.BamlTyPromptAst(); + return new $root.baml_bridge.cffi.v1.BamlTyPromptAst(); }; /** * Creates a plain object from a BamlTyPromptAst message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyPromptAst + * @memberof baml_bridge.cffi.v1.BamlTyPromptAst * @static - * @param {baml_core.cffi.v1.BamlTyPromptAst} message BamlTyPromptAst + * @param {baml_bridge.cffi.v1.BamlTyPromptAst} message BamlTyPromptAst * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -9760,7 +9760,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlTyPromptAst to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyPromptAst + * @memberof baml_bridge.cffi.v1.BamlTyPromptAst * @instance * @returns {Object.} JSON object */ @@ -9771,7 +9771,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyPromptAst * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyPromptAst + * @memberof baml_bridge.cffi.v1.BamlTyPromptAst * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -9780,7 +9780,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyPromptAst"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyPromptAst"; }; return BamlTyPromptAst; @@ -9790,17 +9790,17 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyVoid. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyVoid */ /** * Constructs a new BamlTyVoid. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyVoid. * @implements IBamlTyVoid * @constructor - * @param {baml_core.cffi.v1.IBamlTyVoid=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyVoid=} [properties] Properties to set */ function BamlTyVoid(properties) { if (properties) @@ -9812,21 +9812,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyVoid instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyVoid + * @memberof baml_bridge.cffi.v1.BamlTyVoid * @static - * @param {baml_core.cffi.v1.IBamlTyVoid=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyVoid} BamlTyVoid instance + * @param {baml_bridge.cffi.v1.IBamlTyVoid=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyVoid} BamlTyVoid instance */ BamlTyVoid.create = function create(properties) { return new BamlTyVoid(properties); }; /** - * Encodes the specified BamlTyVoid message. Does not implicitly {@link baml_core.cffi.v1.BamlTyVoid.verify|verify} messages. + * Encodes the specified BamlTyVoid message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyVoid.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyVoid + * @memberof baml_bridge.cffi.v1.BamlTyVoid * @static - * @param {baml_core.cffi.v1.IBamlTyVoid} message BamlTyVoid message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyVoid} message BamlTyVoid message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -9841,11 +9841,11 @@ export const baml_core = $root.baml_core = (() => { }; /** - * Encodes the specified BamlTyVoid message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyVoid.verify|verify} messages. + * Encodes the specified BamlTyVoid message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyVoid.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyVoid + * @memberof baml_bridge.cffi.v1.BamlTyVoid * @static - * @param {baml_core.cffi.v1.IBamlTyVoid} message BamlTyVoid message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyVoid} message BamlTyVoid message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -9856,11 +9856,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyVoid message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyVoid + * @memberof baml_bridge.cffi.v1.BamlTyVoid * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyVoid} BamlTyVoid + * @returns {baml_bridge.cffi.v1.BamlTyVoid} BamlTyVoid * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -9871,7 +9871,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyVoid(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyVoid(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -9888,10 +9888,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyVoid message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyVoid + * @memberof baml_bridge.cffi.v1.BamlTyVoid * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyVoid} BamlTyVoid + * @returns {baml_bridge.cffi.v1.BamlTyVoid} BamlTyVoid * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -9904,7 +9904,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyVoid message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyVoid + * @memberof baml_bridge.cffi.v1.BamlTyVoid * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -9922,29 +9922,29 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyVoid message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyVoid + * @memberof baml_bridge.cffi.v1.BamlTyVoid * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyVoid} BamlTyVoid + * @returns {baml_bridge.cffi.v1.BamlTyVoid} BamlTyVoid */ BamlTyVoid.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyVoid) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyVoid) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyVoid: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyVoid: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - return new $root.baml_core.cffi.v1.BamlTyVoid(); + return new $root.baml_bridge.cffi.v1.BamlTyVoid(); }; /** * Creates a plain object from a BamlTyVoid message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyVoid + * @memberof baml_bridge.cffi.v1.BamlTyVoid * @static - * @param {baml_core.cffi.v1.BamlTyVoid} message BamlTyVoid + * @param {baml_bridge.cffi.v1.BamlTyVoid} message BamlTyVoid * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -9955,7 +9955,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlTyVoid to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyVoid + * @memberof baml_bridge.cffi.v1.BamlTyVoid * @instance * @returns {Object.} JSON object */ @@ -9966,7 +9966,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyVoid * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyVoid + * @memberof baml_bridge.cffi.v1.BamlTyVoid * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -9975,7 +9975,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyVoid"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyVoid"; }; return BamlTyVoid; @@ -9985,18 +9985,18 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyWatchAccessor. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyWatchAccessor - * @property {baml_core.cffi.v1.IBamlTy|null} [inner] BamlTyWatchAccessor inner + * @property {baml_bridge.cffi.v1.IBamlTy|null} [inner] BamlTyWatchAccessor inner */ /** * Constructs a new BamlTyWatchAccessor. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyWatchAccessor. * @implements IBamlTyWatchAccessor * @constructor - * @param {baml_core.cffi.v1.IBamlTyWatchAccessor=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyWatchAccessor=} [properties] Properties to set */ function BamlTyWatchAccessor(properties) { if (properties) @@ -10007,8 +10007,8 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyWatchAccessor inner. - * @member {baml_core.cffi.v1.IBamlTy|null|undefined} inner - * @memberof baml_core.cffi.v1.BamlTyWatchAccessor + * @member {baml_bridge.cffi.v1.IBamlTy|null|undefined} inner + * @memberof baml_bridge.cffi.v1.BamlTyWatchAccessor * @instance */ BamlTyWatchAccessor.prototype.inner = null; @@ -10016,21 +10016,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyWatchAccessor instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyWatchAccessor + * @memberof baml_bridge.cffi.v1.BamlTyWatchAccessor * @static - * @param {baml_core.cffi.v1.IBamlTyWatchAccessor=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyWatchAccessor} BamlTyWatchAccessor instance + * @param {baml_bridge.cffi.v1.IBamlTyWatchAccessor=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyWatchAccessor} BamlTyWatchAccessor instance */ BamlTyWatchAccessor.create = function create(properties) { return new BamlTyWatchAccessor(properties); }; /** - * Encodes the specified BamlTyWatchAccessor message. Does not implicitly {@link baml_core.cffi.v1.BamlTyWatchAccessor.verify|verify} messages. + * Encodes the specified BamlTyWatchAccessor message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyWatchAccessor.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyWatchAccessor + * @memberof baml_bridge.cffi.v1.BamlTyWatchAccessor * @static - * @param {baml_core.cffi.v1.IBamlTyWatchAccessor} message BamlTyWatchAccessor message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyWatchAccessor} message BamlTyWatchAccessor message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -10042,16 +10042,16 @@ export const baml_core = $root.baml_core = (() => { if (q > $util.recursionLimit) throw Error("max depth exceeded"); if (message.inner != null && Object.hasOwnProperty.call(message, "inner")) - $root.baml_core.cffi.v1.BamlTy.encode(message.inner, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.inner, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlTyWatchAccessor message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyWatchAccessor.verify|verify} messages. + * Encodes the specified BamlTyWatchAccessor message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyWatchAccessor.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyWatchAccessor + * @memberof baml_bridge.cffi.v1.BamlTyWatchAccessor * @static - * @param {baml_core.cffi.v1.IBamlTyWatchAccessor} message BamlTyWatchAccessor message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyWatchAccessor} message BamlTyWatchAccessor message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -10062,11 +10062,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyWatchAccessor message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyWatchAccessor + * @memberof baml_bridge.cffi.v1.BamlTyWatchAccessor * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyWatchAccessor} BamlTyWatchAccessor + * @returns {baml_bridge.cffi.v1.BamlTyWatchAccessor} BamlTyWatchAccessor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -10077,14 +10077,14 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyWatchAccessor(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyWatchAccessor(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.inner = $root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); + message.inner = $root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); break; } default: @@ -10098,10 +10098,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyWatchAccessor message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyWatchAccessor + * @memberof baml_bridge.cffi.v1.BamlTyWatchAccessor * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyWatchAccessor} BamlTyWatchAccessor + * @returns {baml_bridge.cffi.v1.BamlTyWatchAccessor} BamlTyWatchAccessor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -10114,7 +10114,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyWatchAccessor message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyWatchAccessor + * @memberof baml_bridge.cffi.v1.BamlTyWatchAccessor * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -10127,7 +10127,7 @@ export const baml_core = $root.baml_core = (() => { if (long > $util.recursionLimit) return "maximum nesting depth exceeded"; if (message.inner != null && message.hasOwnProperty("inner")) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.inner, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.inner, long + 1); if (error) return "inner." + error; } @@ -10137,25 +10137,25 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyWatchAccessor message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyWatchAccessor + * @memberof baml_bridge.cffi.v1.BamlTyWatchAccessor * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyWatchAccessor} BamlTyWatchAccessor + * @returns {baml_bridge.cffi.v1.BamlTyWatchAccessor} BamlTyWatchAccessor */ BamlTyWatchAccessor.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyWatchAccessor) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyWatchAccessor) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyWatchAccessor: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyWatchAccessor: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlTyWatchAccessor(); + let message = new $root.baml_bridge.cffi.v1.BamlTyWatchAccessor(); if (object.inner != null) { if (!$util.isObject(object.inner)) - throw TypeError(".baml_core.cffi.v1.BamlTyWatchAccessor.inner: object expected"); - message.inner = $root.baml_core.cffi.v1.BamlTy.fromObject(object.inner, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTyWatchAccessor.inner: object expected"); + message.inner = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.inner, long + 1); } return message; }; @@ -10163,9 +10163,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlTyWatchAccessor message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyWatchAccessor + * @memberof baml_bridge.cffi.v1.BamlTyWatchAccessor * @static - * @param {baml_core.cffi.v1.BamlTyWatchAccessor} message BamlTyWatchAccessor + * @param {baml_bridge.cffi.v1.BamlTyWatchAccessor} message BamlTyWatchAccessor * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -10180,14 +10180,14 @@ export const baml_core = $root.baml_core = (() => { if (options.defaults) object.inner = null; if (message.inner != null && message.hasOwnProperty("inner")) - object.inner = $root.baml_core.cffi.v1.BamlTy.toObject(message.inner, options, q + 1); + object.inner = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.inner, options, q + 1); return object; }; /** * Converts this BamlTyWatchAccessor to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyWatchAccessor + * @memberof baml_bridge.cffi.v1.BamlTyWatchAccessor * @instance * @returns {Object.} JSON object */ @@ -10198,7 +10198,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyWatchAccessor * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyWatchAccessor + * @memberof baml_bridge.cffi.v1.BamlTyWatchAccessor * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -10207,7 +10207,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyWatchAccessor"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyWatchAccessor"; }; return BamlTyWatchAccessor; @@ -10217,18 +10217,18 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyTypeVar. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyTypeVar * @property {string|null} [name] BamlTyTypeVar name */ /** * Constructs a new BamlTyTypeVar. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyTypeVar. * @implements IBamlTyTypeVar * @constructor - * @param {baml_core.cffi.v1.IBamlTyTypeVar=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyTypeVar=} [properties] Properties to set */ function BamlTyTypeVar(properties) { if (properties) @@ -10240,7 +10240,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyTypeVar name. * @member {string} name - * @memberof baml_core.cffi.v1.BamlTyTypeVar + * @memberof baml_bridge.cffi.v1.BamlTyTypeVar * @instance */ BamlTyTypeVar.prototype.name = ""; @@ -10248,21 +10248,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyTypeVar instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyTypeVar + * @memberof baml_bridge.cffi.v1.BamlTyTypeVar * @static - * @param {baml_core.cffi.v1.IBamlTyTypeVar=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyTypeVar} BamlTyTypeVar instance + * @param {baml_bridge.cffi.v1.IBamlTyTypeVar=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyTypeVar} BamlTyTypeVar instance */ BamlTyTypeVar.create = function create(properties) { return new BamlTyTypeVar(properties); }; /** - * Encodes the specified BamlTyTypeVar message. Does not implicitly {@link baml_core.cffi.v1.BamlTyTypeVar.verify|verify} messages. + * Encodes the specified BamlTyTypeVar message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyTypeVar.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyTypeVar + * @memberof baml_bridge.cffi.v1.BamlTyTypeVar * @static - * @param {baml_core.cffi.v1.IBamlTyTypeVar} message BamlTyTypeVar message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyTypeVar} message BamlTyTypeVar message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -10279,11 +10279,11 @@ export const baml_core = $root.baml_core = (() => { }; /** - * Encodes the specified BamlTyTypeVar message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyTypeVar.verify|verify} messages. + * Encodes the specified BamlTyTypeVar message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyTypeVar.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyTypeVar + * @memberof baml_bridge.cffi.v1.BamlTyTypeVar * @static - * @param {baml_core.cffi.v1.IBamlTyTypeVar} message BamlTyTypeVar message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyTypeVar} message BamlTyTypeVar message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -10294,11 +10294,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyTypeVar message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyTypeVar + * @memberof baml_bridge.cffi.v1.BamlTyTypeVar * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyTypeVar} BamlTyTypeVar + * @returns {baml_bridge.cffi.v1.BamlTyTypeVar} BamlTyTypeVar * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -10309,7 +10309,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyTypeVar(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyTypeVar(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -10330,10 +10330,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyTypeVar message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyTypeVar + * @memberof baml_bridge.cffi.v1.BamlTyTypeVar * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyTypeVar} BamlTyTypeVar + * @returns {baml_bridge.cffi.v1.BamlTyTypeVar} BamlTyTypeVar * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -10346,7 +10346,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyTypeVar message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyTypeVar + * @memberof baml_bridge.cffi.v1.BamlTyTypeVar * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -10367,21 +10367,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyTypeVar message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyTypeVar + * @memberof baml_bridge.cffi.v1.BamlTyTypeVar * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyTypeVar} BamlTyTypeVar + * @returns {baml_bridge.cffi.v1.BamlTyTypeVar} BamlTyTypeVar */ BamlTyTypeVar.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyTypeVar) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyTypeVar) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyTypeVar: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyTypeVar: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlTyTypeVar(); + let message = new $root.baml_bridge.cffi.v1.BamlTyTypeVar(); if (object.name != null) message.name = String(object.name); return message; @@ -10390,9 +10390,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlTyTypeVar message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyTypeVar + * @memberof baml_bridge.cffi.v1.BamlTyTypeVar * @static - * @param {baml_core.cffi.v1.BamlTyTypeVar} message BamlTyTypeVar + * @param {baml_bridge.cffi.v1.BamlTyTypeVar} message BamlTyTypeVar * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -10414,7 +10414,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlTyTypeVar to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyTypeVar + * @memberof baml_bridge.cffi.v1.BamlTyTypeVar * @instance * @returns {Object.} JSON object */ @@ -10425,7 +10425,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyTypeVar * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyTypeVar + * @memberof baml_bridge.cffi.v1.BamlTyTypeVar * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -10434,7 +10434,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyTypeVar"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyTypeVar"; }; return BamlTyTypeVar; @@ -10444,20 +10444,20 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyAssociatedTypeProjection. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyAssociatedTypeProjection - * @property {baml_core.cffi.v1.IBamlTy|null} [base] BamlTyAssociatedTypeProjection base - * @property {baml_core.cffi.v1.IBamlTy|null} ["interface"] BamlTyAssociatedTypeProjection interface + * @property {baml_bridge.cffi.v1.IBamlTy|null} [base] BamlTyAssociatedTypeProjection base + * @property {baml_bridge.cffi.v1.IBamlTy|null} ["interface"] BamlTyAssociatedTypeProjection interface * @property {string|null} [member] BamlTyAssociatedTypeProjection member */ /** * Constructs a new BamlTyAssociatedTypeProjection. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyAssociatedTypeProjection. * @implements IBamlTyAssociatedTypeProjection * @constructor - * @param {baml_core.cffi.v1.IBamlTyAssociatedTypeProjection=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyAssociatedTypeProjection=} [properties] Properties to set */ function BamlTyAssociatedTypeProjection(properties) { if (properties) @@ -10468,16 +10468,16 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyAssociatedTypeProjection base. - * @member {baml_core.cffi.v1.IBamlTy|null|undefined} base - * @memberof baml_core.cffi.v1.BamlTyAssociatedTypeProjection + * @member {baml_bridge.cffi.v1.IBamlTy|null|undefined} base + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection * @instance */ BamlTyAssociatedTypeProjection.prototype.base = null; /** * BamlTyAssociatedTypeProjection interface. - * @member {baml_core.cffi.v1.IBamlTy|null|undefined} interface - * @memberof baml_core.cffi.v1.BamlTyAssociatedTypeProjection + * @member {baml_bridge.cffi.v1.IBamlTy|null|undefined} interface + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection * @instance */ BamlTyAssociatedTypeProjection.prototype["interface"] = null; @@ -10485,7 +10485,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlTyAssociatedTypeProjection member. * @member {string} member - * @memberof baml_core.cffi.v1.BamlTyAssociatedTypeProjection + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection * @instance */ BamlTyAssociatedTypeProjection.prototype.member = ""; @@ -10493,21 +10493,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyAssociatedTypeProjection instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyAssociatedTypeProjection + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection * @static - * @param {baml_core.cffi.v1.IBamlTyAssociatedTypeProjection=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyAssociatedTypeProjection} BamlTyAssociatedTypeProjection instance + * @param {baml_bridge.cffi.v1.IBamlTyAssociatedTypeProjection=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection} BamlTyAssociatedTypeProjection instance */ BamlTyAssociatedTypeProjection.create = function create(properties) { return new BamlTyAssociatedTypeProjection(properties); }; /** - * Encodes the specified BamlTyAssociatedTypeProjection message. Does not implicitly {@link baml_core.cffi.v1.BamlTyAssociatedTypeProjection.verify|verify} messages. + * Encodes the specified BamlTyAssociatedTypeProjection message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyAssociatedTypeProjection + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection * @static - * @param {baml_core.cffi.v1.IBamlTyAssociatedTypeProjection} message BamlTyAssociatedTypeProjection message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyAssociatedTypeProjection} message BamlTyAssociatedTypeProjection message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -10519,20 +10519,20 @@ export const baml_core = $root.baml_core = (() => { if (q > $util.recursionLimit) throw Error("max depth exceeded"); if (message.base != null && Object.hasOwnProperty.call(message, "base")) - $root.baml_core.cffi.v1.BamlTy.encode(message.base, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.base, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); if (message["interface"] != null && Object.hasOwnProperty.call(message, "interface")) - $root.baml_core.cffi.v1.BamlTy.encode(message["interface"], writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message["interface"], writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); if (message.member != null && Object.hasOwnProperty.call(message, "member")) writer.uint32(/* id 3, wireType 2 =*/26).string(message.member); return writer; }; /** - * Encodes the specified BamlTyAssociatedTypeProjection message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyAssociatedTypeProjection.verify|verify} messages. + * Encodes the specified BamlTyAssociatedTypeProjection message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyAssociatedTypeProjection + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection * @static - * @param {baml_core.cffi.v1.IBamlTyAssociatedTypeProjection} message BamlTyAssociatedTypeProjection message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyAssociatedTypeProjection} message BamlTyAssociatedTypeProjection message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -10543,11 +10543,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyAssociatedTypeProjection message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyAssociatedTypeProjection + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyAssociatedTypeProjection} BamlTyAssociatedTypeProjection + * @returns {baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection} BamlTyAssociatedTypeProjection * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -10558,18 +10558,18 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyAssociatedTypeProjection(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.base = $root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); + message.base = $root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); break; } case 2: { - message["interface"] = $root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); + message["interface"] = $root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); break; } case 3: { @@ -10587,10 +10587,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyAssociatedTypeProjection message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyAssociatedTypeProjection + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyAssociatedTypeProjection} BamlTyAssociatedTypeProjection + * @returns {baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection} BamlTyAssociatedTypeProjection * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -10603,7 +10603,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyAssociatedTypeProjection message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyAssociatedTypeProjection + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -10616,12 +10616,12 @@ export const baml_core = $root.baml_core = (() => { if (long > $util.recursionLimit) return "maximum nesting depth exceeded"; if (message.base != null && message.hasOwnProperty("base")) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.base, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.base, long + 1); if (error) return "base." + error; } if (message["interface"] != null && message.hasOwnProperty("interface")) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message["interface"], long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message["interface"], long + 1); if (error) return "interface." + error; } @@ -10634,30 +10634,30 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyAssociatedTypeProjection message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyAssociatedTypeProjection + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyAssociatedTypeProjection} BamlTyAssociatedTypeProjection + * @returns {baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection} BamlTyAssociatedTypeProjection */ BamlTyAssociatedTypeProjection.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyAssociatedTypeProjection) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyAssociatedTypeProjection: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlTyAssociatedTypeProjection(); + let message = new $root.baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection(); if (object.base != null) { if (!$util.isObject(object.base)) - throw TypeError(".baml_core.cffi.v1.BamlTyAssociatedTypeProjection.base: object expected"); - message.base = $root.baml_core.cffi.v1.BamlTy.fromObject(object.base, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection.base: object expected"); + message.base = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.base, long + 1); } if (object["interface"] != null) { if (!$util.isObject(object["interface"])) - throw TypeError(".baml_core.cffi.v1.BamlTyAssociatedTypeProjection.interface: object expected"); - message["interface"] = $root.baml_core.cffi.v1.BamlTy.fromObject(object["interface"], long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection.interface: object expected"); + message["interface"] = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object["interface"], long + 1); } if (object.member != null) message.member = String(object.member); @@ -10667,9 +10667,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlTyAssociatedTypeProjection message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyAssociatedTypeProjection + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection * @static - * @param {baml_core.cffi.v1.BamlTyAssociatedTypeProjection} message BamlTyAssociatedTypeProjection + * @param {baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection} message BamlTyAssociatedTypeProjection * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -10687,9 +10687,9 @@ export const baml_core = $root.baml_core = (() => { object.member = ""; } if (message.base != null && message.hasOwnProperty("base")) - object.base = $root.baml_core.cffi.v1.BamlTy.toObject(message.base, options, q + 1); + object.base = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.base, options, q + 1); if (message["interface"] != null && message.hasOwnProperty("interface")) - object["interface"] = $root.baml_core.cffi.v1.BamlTy.toObject(message["interface"], options, q + 1); + object["interface"] = $root.baml_bridge.cffi.v1.BamlTy.toObject(message["interface"], options, q + 1); if (message.member != null && message.hasOwnProperty("member")) object.member = message.member; return object; @@ -10698,7 +10698,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlTyAssociatedTypeProjection to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyAssociatedTypeProjection + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection * @instance * @returns {Object.} JSON object */ @@ -10709,7 +10709,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyAssociatedTypeProjection * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyAssociatedTypeProjection + * @memberof baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -10718,7 +10718,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyAssociatedTypeProjection"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyAssociatedTypeProjection"; }; return BamlTyAssociatedTypeProjection; @@ -10728,17 +10728,17 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlTyNever. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlTyNever */ /** * Constructs a new BamlTyNever. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlTyNever. * @implements IBamlTyNever * @constructor - * @param {baml_core.cffi.v1.IBamlTyNever=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlTyNever=} [properties] Properties to set */ function BamlTyNever(properties) { if (properties) @@ -10750,21 +10750,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlTyNever instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlTyNever + * @memberof baml_bridge.cffi.v1.BamlTyNever * @static - * @param {baml_core.cffi.v1.IBamlTyNever=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlTyNever} BamlTyNever instance + * @param {baml_bridge.cffi.v1.IBamlTyNever=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlTyNever} BamlTyNever instance */ BamlTyNever.create = function create(properties) { return new BamlTyNever(properties); }; /** - * Encodes the specified BamlTyNever message. Does not implicitly {@link baml_core.cffi.v1.BamlTyNever.verify|verify} messages. + * Encodes the specified BamlTyNever message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyNever.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlTyNever + * @memberof baml_bridge.cffi.v1.BamlTyNever * @static - * @param {baml_core.cffi.v1.IBamlTyNever} message BamlTyNever message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyNever} message BamlTyNever message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -10779,11 +10779,11 @@ export const baml_core = $root.baml_core = (() => { }; /** - * Encodes the specified BamlTyNever message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlTyNever.verify|verify} messages. + * Encodes the specified BamlTyNever message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyNever.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlTyNever + * @memberof baml_bridge.cffi.v1.BamlTyNever * @static - * @param {baml_core.cffi.v1.IBamlTyNever} message BamlTyNever message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlTyNever} message BamlTyNever message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -10794,11 +10794,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyNever message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlTyNever + * @memberof baml_bridge.cffi.v1.BamlTyNever * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlTyNever} BamlTyNever + * @returns {baml_bridge.cffi.v1.BamlTyNever} BamlTyNever * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -10809,7 +10809,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlTyNever(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyNever(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -10826,10 +10826,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlTyNever message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlTyNever + * @memberof baml_bridge.cffi.v1.BamlTyNever * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlTyNever} BamlTyNever + * @returns {baml_bridge.cffi.v1.BamlTyNever} BamlTyNever * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -10842,7 +10842,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlTyNever message. * @function verify - * @memberof baml_core.cffi.v1.BamlTyNever + * @memberof baml_bridge.cffi.v1.BamlTyNever * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -10860,29 +10860,29 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlTyNever message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlTyNever + * @memberof baml_bridge.cffi.v1.BamlTyNever * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlTyNever} BamlTyNever + * @returns {baml_bridge.cffi.v1.BamlTyNever} BamlTyNever */ BamlTyNever.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlTyNever) + if (object instanceof $root.baml_bridge.cffi.v1.BamlTyNever) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlTyNever: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlTyNever: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - return new $root.baml_core.cffi.v1.BamlTyNever(); + return new $root.baml_bridge.cffi.v1.BamlTyNever(); }; /** * Creates a plain object from a BamlTyNever message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlTyNever + * @memberof baml_bridge.cffi.v1.BamlTyNever * @static - * @param {baml_core.cffi.v1.BamlTyNever} message BamlTyNever + * @param {baml_bridge.cffi.v1.BamlTyNever} message BamlTyNever * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -10893,7 +10893,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlTyNever to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlTyNever + * @memberof baml_bridge.cffi.v1.BamlTyNever * @instance * @returns {Object.} JSON object */ @@ -10904,7 +10904,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlTyNever * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlTyNever + * @memberof baml_bridge.cffi.v1.BamlTyNever * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -10913,7 +10913,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlTyNever"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyNever"; }; return BamlTyNever; @@ -10923,20 +10923,20 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlOutboundResult. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlOutboundResult - * @property {baml_core.cffi.v1.IBamlOutboundValue|null} [ok] BamlOutboundResult ok - * @property {baml_core.cffi.v1.IBamlOutboundError|null} [error] BamlOutboundResult error - * @property {baml_core.cffi.v1.IBamlOutboundPanic|null} [panic] BamlOutboundResult panic + * @property {baml_bridge.cffi.v1.IBamlOutboundValue|null} [ok] BamlOutboundResult ok + * @property {baml_bridge.cffi.v1.IBamlOutboundError|null} [error] BamlOutboundResult error + * @property {baml_bridge.cffi.v1.IBamlOutboundPanic|null} [panic] BamlOutboundResult panic */ /** * Constructs a new BamlOutboundResult. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlOutboundResult. * @implements IBamlOutboundResult * @constructor - * @param {baml_core.cffi.v1.IBamlOutboundResult=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlOutboundResult=} [properties] Properties to set */ function BamlOutboundResult(properties) { if (properties) @@ -10947,24 +10947,24 @@ export const baml_core = $root.baml_core = (() => { /** * BamlOutboundResult ok. - * @member {baml_core.cffi.v1.IBamlOutboundValue|null|undefined} ok - * @memberof baml_core.cffi.v1.BamlOutboundResult + * @member {baml_bridge.cffi.v1.IBamlOutboundValue|null|undefined} ok + * @memberof baml_bridge.cffi.v1.BamlOutboundResult * @instance */ BamlOutboundResult.prototype.ok = null; /** * BamlOutboundResult error. - * @member {baml_core.cffi.v1.IBamlOutboundError|null|undefined} error - * @memberof baml_core.cffi.v1.BamlOutboundResult + * @member {baml_bridge.cffi.v1.IBamlOutboundError|null|undefined} error + * @memberof baml_bridge.cffi.v1.BamlOutboundResult * @instance */ BamlOutboundResult.prototype.error = null; /** * BamlOutboundResult panic. - * @member {baml_core.cffi.v1.IBamlOutboundPanic|null|undefined} panic - * @memberof baml_core.cffi.v1.BamlOutboundResult + * @member {baml_bridge.cffi.v1.IBamlOutboundPanic|null|undefined} panic + * @memberof baml_bridge.cffi.v1.BamlOutboundResult * @instance */ BamlOutboundResult.prototype.panic = null; @@ -10975,7 +10975,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlOutboundResult result. * @member {"ok"|"error"|"panic"|undefined} result - * @memberof baml_core.cffi.v1.BamlOutboundResult + * @memberof baml_bridge.cffi.v1.BamlOutboundResult * @instance */ Object.defineProperty(BamlOutboundResult.prototype, "result", { @@ -10986,21 +10986,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlOutboundResult instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlOutboundResult + * @memberof baml_bridge.cffi.v1.BamlOutboundResult * @static - * @param {baml_core.cffi.v1.IBamlOutboundResult=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlOutboundResult} BamlOutboundResult instance + * @param {baml_bridge.cffi.v1.IBamlOutboundResult=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlOutboundResult} BamlOutboundResult instance */ BamlOutboundResult.create = function create(properties) { return new BamlOutboundResult(properties); }; /** - * Encodes the specified BamlOutboundResult message. Does not implicitly {@link baml_core.cffi.v1.BamlOutboundResult.verify|verify} messages. + * Encodes the specified BamlOutboundResult message. Does not implicitly {@link baml_bridge.cffi.v1.BamlOutboundResult.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlOutboundResult + * @memberof baml_bridge.cffi.v1.BamlOutboundResult * @static - * @param {baml_core.cffi.v1.IBamlOutboundResult} message BamlOutboundResult message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlOutboundResult} message BamlOutboundResult message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -11012,20 +11012,20 @@ export const baml_core = $root.baml_core = (() => { if (q > $util.recursionLimit) throw Error("max depth exceeded"); if (message.ok != null && Object.hasOwnProperty.call(message, "ok")) - $root.baml_core.cffi.v1.BamlOutboundValue.encode(message.ok, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlOutboundValue.encode(message.ok, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); if (message.error != null && Object.hasOwnProperty.call(message, "error")) - $root.baml_core.cffi.v1.BamlOutboundError.encode(message.error, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlOutboundError.encode(message.error, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); if (message.panic != null && Object.hasOwnProperty.call(message, "panic")) - $root.baml_core.cffi.v1.BamlOutboundPanic.encode(message.panic, writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlOutboundPanic.encode(message.panic, writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlOutboundResult message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlOutboundResult.verify|verify} messages. + * Encodes the specified BamlOutboundResult message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlOutboundResult.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlOutboundResult + * @memberof baml_bridge.cffi.v1.BamlOutboundResult * @static - * @param {baml_core.cffi.v1.IBamlOutboundResult} message BamlOutboundResult message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlOutboundResult} message BamlOutboundResult message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -11036,11 +11036,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlOutboundResult message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlOutboundResult + * @memberof baml_bridge.cffi.v1.BamlOutboundResult * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlOutboundResult} BamlOutboundResult + * @returns {baml_bridge.cffi.v1.BamlOutboundResult} BamlOutboundResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -11051,22 +11051,22 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlOutboundResult(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlOutboundResult(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.ok = $root.baml_core.cffi.v1.BamlOutboundValue.decode(reader, reader.uint32(), undefined, long + 1); + message.ok = $root.baml_bridge.cffi.v1.BamlOutboundValue.decode(reader, reader.uint32(), undefined, long + 1); break; } case 2: { - message.error = $root.baml_core.cffi.v1.BamlOutboundError.decode(reader, reader.uint32(), undefined, long + 1); + message.error = $root.baml_bridge.cffi.v1.BamlOutboundError.decode(reader, reader.uint32(), undefined, long + 1); break; } case 3: { - message.panic = $root.baml_core.cffi.v1.BamlOutboundPanic.decode(reader, reader.uint32(), undefined, long + 1); + message.panic = $root.baml_bridge.cffi.v1.BamlOutboundPanic.decode(reader, reader.uint32(), undefined, long + 1); break; } default: @@ -11080,10 +11080,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlOutboundResult message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlOutboundResult + * @memberof baml_bridge.cffi.v1.BamlOutboundResult * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlOutboundResult} BamlOutboundResult + * @returns {baml_bridge.cffi.v1.BamlOutboundResult} BamlOutboundResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -11096,7 +11096,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlOutboundResult message. * @function verify - * @memberof baml_core.cffi.v1.BamlOutboundResult + * @memberof baml_bridge.cffi.v1.BamlOutboundResult * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -11112,7 +11112,7 @@ export const baml_core = $root.baml_core = (() => { if (message.ok != null && message.hasOwnProperty("ok")) { properties.result = 1; { - let error = $root.baml_core.cffi.v1.BamlOutboundValue.verify(message.ok, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlOutboundValue.verify(message.ok, long + 1); if (error) return "ok." + error; } @@ -11122,7 +11122,7 @@ export const baml_core = $root.baml_core = (() => { return "result: multiple values"; properties.result = 1; { - let error = $root.baml_core.cffi.v1.BamlOutboundError.verify(message.error, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlOutboundError.verify(message.error, long + 1); if (error) return "error." + error; } @@ -11132,7 +11132,7 @@ export const baml_core = $root.baml_core = (() => { return "result: multiple values"; properties.result = 1; { - let error = $root.baml_core.cffi.v1.BamlOutboundPanic.verify(message.panic, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlOutboundPanic.verify(message.panic, long + 1); if (error) return "panic." + error; } @@ -11143,35 +11143,35 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlOutboundResult message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlOutboundResult + * @memberof baml_bridge.cffi.v1.BamlOutboundResult * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlOutboundResult} BamlOutboundResult + * @returns {baml_bridge.cffi.v1.BamlOutboundResult} BamlOutboundResult */ BamlOutboundResult.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlOutboundResult) + if (object instanceof $root.baml_bridge.cffi.v1.BamlOutboundResult) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundResult: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundResult: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlOutboundResult(); + let message = new $root.baml_bridge.cffi.v1.BamlOutboundResult(); if (object.ok != null) { if (!$util.isObject(object.ok)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundResult.ok: object expected"); - message.ok = $root.baml_core.cffi.v1.BamlOutboundValue.fromObject(object.ok, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundResult.ok: object expected"); + message.ok = $root.baml_bridge.cffi.v1.BamlOutboundValue.fromObject(object.ok, long + 1); } if (object.error != null) { if (!$util.isObject(object.error)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundResult.error: object expected"); - message.error = $root.baml_core.cffi.v1.BamlOutboundError.fromObject(object.error, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundResult.error: object expected"); + message.error = $root.baml_bridge.cffi.v1.BamlOutboundError.fromObject(object.error, long + 1); } if (object.panic != null) { if (!$util.isObject(object.panic)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundResult.panic: object expected"); - message.panic = $root.baml_core.cffi.v1.BamlOutboundPanic.fromObject(object.panic, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundResult.panic: object expected"); + message.panic = $root.baml_bridge.cffi.v1.BamlOutboundPanic.fromObject(object.panic, long + 1); } return message; }; @@ -11179,9 +11179,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlOutboundResult message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlOutboundResult + * @memberof baml_bridge.cffi.v1.BamlOutboundResult * @static - * @param {baml_core.cffi.v1.BamlOutboundResult} message BamlOutboundResult + * @param {baml_bridge.cffi.v1.BamlOutboundResult} message BamlOutboundResult * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -11194,17 +11194,17 @@ export const baml_core = $root.baml_core = (() => { throw Error("max depth exceeded"); let object = {}; if (message.ok != null && message.hasOwnProperty("ok")) { - object.ok = $root.baml_core.cffi.v1.BamlOutboundValue.toObject(message.ok, options, q + 1); + object.ok = $root.baml_bridge.cffi.v1.BamlOutboundValue.toObject(message.ok, options, q + 1); if (options.oneofs) object.result = "ok"; } if (message.error != null && message.hasOwnProperty("error")) { - object.error = $root.baml_core.cffi.v1.BamlOutboundError.toObject(message.error, options, q + 1); + object.error = $root.baml_bridge.cffi.v1.BamlOutboundError.toObject(message.error, options, q + 1); if (options.oneofs) object.result = "error"; } if (message.panic != null && message.hasOwnProperty("panic")) { - object.panic = $root.baml_core.cffi.v1.BamlOutboundPanic.toObject(message.panic, options, q + 1); + object.panic = $root.baml_bridge.cffi.v1.BamlOutboundPanic.toObject(message.panic, options, q + 1); if (options.oneofs) object.result = "panic"; } @@ -11214,7 +11214,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlOutboundResult to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlOutboundResult + * @memberof baml_bridge.cffi.v1.BamlOutboundResult * @instance * @returns {Object.} JSON object */ @@ -11225,7 +11225,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlOutboundResult * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlOutboundResult + * @memberof baml_bridge.cffi.v1.BamlOutboundResult * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -11234,7 +11234,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlOutboundResult"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlOutboundResult"; }; return BamlOutboundResult; @@ -11244,19 +11244,19 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlOutboundError. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlOutboundError - * @property {baml_core.cffi.v1.IBamlOutboundValue|null} [value] BamlOutboundError value + * @property {baml_bridge.cffi.v1.IBamlOutboundValue|null} [value] BamlOutboundError value * @property {Array.|null} [trace] BamlOutboundError trace */ /** * Constructs a new BamlOutboundError. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlOutboundError. * @implements IBamlOutboundError * @constructor - * @param {baml_core.cffi.v1.IBamlOutboundError=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlOutboundError=} [properties] Properties to set */ function BamlOutboundError(properties) { this.trace = []; @@ -11268,8 +11268,8 @@ export const baml_core = $root.baml_core = (() => { /** * BamlOutboundError value. - * @member {baml_core.cffi.v1.IBamlOutboundValue|null|undefined} value - * @memberof baml_core.cffi.v1.BamlOutboundError + * @member {baml_bridge.cffi.v1.IBamlOutboundValue|null|undefined} value + * @memberof baml_bridge.cffi.v1.BamlOutboundError * @instance */ BamlOutboundError.prototype.value = null; @@ -11277,7 +11277,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlOutboundError trace. * @member {Array.} trace - * @memberof baml_core.cffi.v1.BamlOutboundError + * @memberof baml_bridge.cffi.v1.BamlOutboundError * @instance */ BamlOutboundError.prototype.trace = $util.emptyArray; @@ -11285,21 +11285,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlOutboundError instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlOutboundError + * @memberof baml_bridge.cffi.v1.BamlOutboundError * @static - * @param {baml_core.cffi.v1.IBamlOutboundError=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlOutboundError} BamlOutboundError instance + * @param {baml_bridge.cffi.v1.IBamlOutboundError=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlOutboundError} BamlOutboundError instance */ BamlOutboundError.create = function create(properties) { return new BamlOutboundError(properties); }; /** - * Encodes the specified BamlOutboundError message. Does not implicitly {@link baml_core.cffi.v1.BamlOutboundError.verify|verify} messages. + * Encodes the specified BamlOutboundError message. Does not implicitly {@link baml_bridge.cffi.v1.BamlOutboundError.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlOutboundError + * @memberof baml_bridge.cffi.v1.BamlOutboundError * @static - * @param {baml_core.cffi.v1.IBamlOutboundError} message BamlOutboundError message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlOutboundError} message BamlOutboundError message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -11311,7 +11311,7 @@ export const baml_core = $root.baml_core = (() => { if (q > $util.recursionLimit) throw Error("max depth exceeded"); if (message.value != null && Object.hasOwnProperty.call(message, "value")) - $root.baml_core.cffi.v1.BamlOutboundValue.encode(message.value, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlOutboundValue.encode(message.value, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); if (message.trace != null && message.trace.length) for (let i = 0; i < message.trace.length; ++i) writer.uint32(/* id 2, wireType 2 =*/18).string(message.trace[i]); @@ -11319,11 +11319,11 @@ export const baml_core = $root.baml_core = (() => { }; /** - * Encodes the specified BamlOutboundError message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlOutboundError.verify|verify} messages. + * Encodes the specified BamlOutboundError message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlOutboundError.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlOutboundError + * @memberof baml_bridge.cffi.v1.BamlOutboundError * @static - * @param {baml_core.cffi.v1.IBamlOutboundError} message BamlOutboundError message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlOutboundError} message BamlOutboundError message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -11334,11 +11334,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlOutboundError message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlOutboundError + * @memberof baml_bridge.cffi.v1.BamlOutboundError * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlOutboundError} BamlOutboundError + * @returns {baml_bridge.cffi.v1.BamlOutboundError} BamlOutboundError * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -11349,14 +11349,14 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlOutboundError(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlOutboundError(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.value = $root.baml_core.cffi.v1.BamlOutboundValue.decode(reader, reader.uint32(), undefined, long + 1); + message.value = $root.baml_bridge.cffi.v1.BamlOutboundValue.decode(reader, reader.uint32(), undefined, long + 1); break; } case 2: { @@ -11376,10 +11376,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlOutboundError message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlOutboundError + * @memberof baml_bridge.cffi.v1.BamlOutboundError * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlOutboundError} BamlOutboundError + * @returns {baml_bridge.cffi.v1.BamlOutboundError} BamlOutboundError * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -11392,7 +11392,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlOutboundError message. * @function verify - * @memberof baml_core.cffi.v1.BamlOutboundError + * @memberof baml_bridge.cffi.v1.BamlOutboundError * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -11405,7 +11405,7 @@ export const baml_core = $root.baml_core = (() => { if (long > $util.recursionLimit) return "maximum nesting depth exceeded"; if (message.value != null && message.hasOwnProperty("value")) { - let error = $root.baml_core.cffi.v1.BamlOutboundValue.verify(message.value, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlOutboundValue.verify(message.value, long + 1); if (error) return "value." + error; } @@ -11422,29 +11422,29 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlOutboundError message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlOutboundError + * @memberof baml_bridge.cffi.v1.BamlOutboundError * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlOutboundError} BamlOutboundError + * @returns {baml_bridge.cffi.v1.BamlOutboundError} BamlOutboundError */ BamlOutboundError.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlOutboundError) + if (object instanceof $root.baml_bridge.cffi.v1.BamlOutboundError) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundError: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundError: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlOutboundError(); + let message = new $root.baml_bridge.cffi.v1.BamlOutboundError(); if (object.value != null) { if (!$util.isObject(object.value)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundError.value: object expected"); - message.value = $root.baml_core.cffi.v1.BamlOutboundValue.fromObject(object.value, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundError.value: object expected"); + message.value = $root.baml_bridge.cffi.v1.BamlOutboundValue.fromObject(object.value, long + 1); } if (object.trace) { if (!Array.isArray(object.trace)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundError.trace: array expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundError.trace: array expected"); message.trace = []; for (let i = 0; i < object.trace.length; ++i) message.trace[i] = String(object.trace[i]); @@ -11455,9 +11455,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlOutboundError message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlOutboundError + * @memberof baml_bridge.cffi.v1.BamlOutboundError * @static - * @param {baml_core.cffi.v1.BamlOutboundError} message BamlOutboundError + * @param {baml_bridge.cffi.v1.BamlOutboundError} message BamlOutboundError * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -11474,7 +11474,7 @@ export const baml_core = $root.baml_core = (() => { if (options.defaults) object.value = null; if (message.value != null && message.hasOwnProperty("value")) - object.value = $root.baml_core.cffi.v1.BamlOutboundValue.toObject(message.value, options, q + 1); + object.value = $root.baml_bridge.cffi.v1.BamlOutboundValue.toObject(message.value, options, q + 1); if (message.trace && message.trace.length) { object.trace = []; for (let j = 0; j < message.trace.length; ++j) @@ -11486,7 +11486,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlOutboundError to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlOutboundError + * @memberof baml_bridge.cffi.v1.BamlOutboundError * @instance * @returns {Object.} JSON object */ @@ -11497,7 +11497,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlOutboundError * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlOutboundError + * @memberof baml_bridge.cffi.v1.BamlOutboundError * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -11506,7 +11506,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlOutboundError"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlOutboundError"; }; return BamlOutboundError; @@ -11516,9 +11516,9 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlOutboundPanic. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlOutboundPanic - * @property {baml_core.cffi.v1.IBamlOutboundValue|null} [value] BamlOutboundPanic value + * @property {baml_bridge.cffi.v1.IBamlOutboundValue|null} [value] BamlOutboundPanic value * @property {Array.|null} [trace] BamlOutboundPanic trace * @property {boolean|null} [isExitPanic] BamlOutboundPanic isExitPanic * @property {number|Long|null} [exitCode] BamlOutboundPanic exitCode @@ -11526,11 +11526,11 @@ export const baml_core = $root.baml_core = (() => { /** * Constructs a new BamlOutboundPanic. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlOutboundPanic. * @implements IBamlOutboundPanic * @constructor - * @param {baml_core.cffi.v1.IBamlOutboundPanic=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlOutboundPanic=} [properties] Properties to set */ function BamlOutboundPanic(properties) { this.trace = []; @@ -11542,8 +11542,8 @@ export const baml_core = $root.baml_core = (() => { /** * BamlOutboundPanic value. - * @member {baml_core.cffi.v1.IBamlOutboundValue|null|undefined} value - * @memberof baml_core.cffi.v1.BamlOutboundPanic + * @member {baml_bridge.cffi.v1.IBamlOutboundValue|null|undefined} value + * @memberof baml_bridge.cffi.v1.BamlOutboundPanic * @instance */ BamlOutboundPanic.prototype.value = null; @@ -11551,7 +11551,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlOutboundPanic trace. * @member {Array.} trace - * @memberof baml_core.cffi.v1.BamlOutboundPanic + * @memberof baml_bridge.cffi.v1.BamlOutboundPanic * @instance */ BamlOutboundPanic.prototype.trace = $util.emptyArray; @@ -11559,7 +11559,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlOutboundPanic isExitPanic. * @member {boolean} isExitPanic - * @memberof baml_core.cffi.v1.BamlOutboundPanic + * @memberof baml_bridge.cffi.v1.BamlOutboundPanic * @instance */ BamlOutboundPanic.prototype.isExitPanic = false; @@ -11567,7 +11567,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlOutboundPanic exitCode. * @member {number|Long} exitCode - * @memberof baml_core.cffi.v1.BamlOutboundPanic + * @memberof baml_bridge.cffi.v1.BamlOutboundPanic * @instance */ BamlOutboundPanic.prototype.exitCode = $util.Long ? $util.Long.fromBits(0,0,false) : 0; @@ -11575,21 +11575,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlOutboundPanic instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlOutboundPanic + * @memberof baml_bridge.cffi.v1.BamlOutboundPanic * @static - * @param {baml_core.cffi.v1.IBamlOutboundPanic=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlOutboundPanic} BamlOutboundPanic instance + * @param {baml_bridge.cffi.v1.IBamlOutboundPanic=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlOutboundPanic} BamlOutboundPanic instance */ BamlOutboundPanic.create = function create(properties) { return new BamlOutboundPanic(properties); }; /** - * Encodes the specified BamlOutboundPanic message. Does not implicitly {@link baml_core.cffi.v1.BamlOutboundPanic.verify|verify} messages. + * Encodes the specified BamlOutboundPanic message. Does not implicitly {@link baml_bridge.cffi.v1.BamlOutboundPanic.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlOutboundPanic + * @memberof baml_bridge.cffi.v1.BamlOutboundPanic * @static - * @param {baml_core.cffi.v1.IBamlOutboundPanic} message BamlOutboundPanic message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlOutboundPanic} message BamlOutboundPanic message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -11601,7 +11601,7 @@ export const baml_core = $root.baml_core = (() => { if (q > $util.recursionLimit) throw Error("max depth exceeded"); if (message.value != null && Object.hasOwnProperty.call(message, "value")) - $root.baml_core.cffi.v1.BamlOutboundValue.encode(message.value, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlOutboundValue.encode(message.value, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); if (message.trace != null && message.trace.length) for (let i = 0; i < message.trace.length; ++i) writer.uint32(/* id 2, wireType 2 =*/18).string(message.trace[i]); @@ -11613,11 +11613,11 @@ export const baml_core = $root.baml_core = (() => { }; /** - * Encodes the specified BamlOutboundPanic message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlOutboundPanic.verify|verify} messages. + * Encodes the specified BamlOutboundPanic message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlOutboundPanic.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlOutboundPanic + * @memberof baml_bridge.cffi.v1.BamlOutboundPanic * @static - * @param {baml_core.cffi.v1.IBamlOutboundPanic} message BamlOutboundPanic message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlOutboundPanic} message BamlOutboundPanic message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -11628,11 +11628,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlOutboundPanic message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlOutboundPanic + * @memberof baml_bridge.cffi.v1.BamlOutboundPanic * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlOutboundPanic} BamlOutboundPanic + * @returns {baml_bridge.cffi.v1.BamlOutboundPanic} BamlOutboundPanic * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -11643,14 +11643,14 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlOutboundPanic(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlOutboundPanic(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.value = $root.baml_core.cffi.v1.BamlOutboundValue.decode(reader, reader.uint32(), undefined, long + 1); + message.value = $root.baml_bridge.cffi.v1.BamlOutboundValue.decode(reader, reader.uint32(), undefined, long + 1); break; } case 2: { @@ -11678,10 +11678,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlOutboundPanic message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlOutboundPanic + * @memberof baml_bridge.cffi.v1.BamlOutboundPanic * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlOutboundPanic} BamlOutboundPanic + * @returns {baml_bridge.cffi.v1.BamlOutboundPanic} BamlOutboundPanic * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -11694,7 +11694,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlOutboundPanic message. * @function verify - * @memberof baml_core.cffi.v1.BamlOutboundPanic + * @memberof baml_bridge.cffi.v1.BamlOutboundPanic * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -11707,7 +11707,7 @@ export const baml_core = $root.baml_core = (() => { if (long > $util.recursionLimit) return "maximum nesting depth exceeded"; if (message.value != null && message.hasOwnProperty("value")) { - let error = $root.baml_core.cffi.v1.BamlOutboundValue.verify(message.value, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlOutboundValue.verify(message.value, long + 1); if (error) return "value." + error; } @@ -11730,29 +11730,29 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlOutboundPanic message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlOutboundPanic + * @memberof baml_bridge.cffi.v1.BamlOutboundPanic * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlOutboundPanic} BamlOutboundPanic + * @returns {baml_bridge.cffi.v1.BamlOutboundPanic} BamlOutboundPanic */ BamlOutboundPanic.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlOutboundPanic) + if (object instanceof $root.baml_bridge.cffi.v1.BamlOutboundPanic) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundPanic: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundPanic: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlOutboundPanic(); + let message = new $root.baml_bridge.cffi.v1.BamlOutboundPanic(); if (object.value != null) { if (!$util.isObject(object.value)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundPanic.value: object expected"); - message.value = $root.baml_core.cffi.v1.BamlOutboundValue.fromObject(object.value, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundPanic.value: object expected"); + message.value = $root.baml_bridge.cffi.v1.BamlOutboundValue.fromObject(object.value, long + 1); } if (object.trace) { if (!Array.isArray(object.trace)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundPanic.trace: array expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundPanic.trace: array expected"); message.trace = []; for (let i = 0; i < object.trace.length; ++i) message.trace[i] = String(object.trace[i]); @@ -11774,9 +11774,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlOutboundPanic message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlOutboundPanic + * @memberof baml_bridge.cffi.v1.BamlOutboundPanic * @static - * @param {baml_core.cffi.v1.BamlOutboundPanic} message BamlOutboundPanic + * @param {baml_bridge.cffi.v1.BamlOutboundPanic} message BamlOutboundPanic * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -11800,7 +11800,7 @@ export const baml_core = $root.baml_core = (() => { object.exitCode = options.longs === String ? "0" : typeof BigInt !== "undefined" && options.longs === BigInt ? BigInt("0") : 0; } if (message.value != null && message.hasOwnProperty("value")) - object.value = $root.baml_core.cffi.v1.BamlOutboundValue.toObject(message.value, options, q + 1); + object.value = $root.baml_bridge.cffi.v1.BamlOutboundValue.toObject(message.value, options, q + 1); if (message.trace && message.trace.length) { object.trace = []; for (let j = 0; j < message.trace.length; ++j) @@ -11821,7 +11821,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlOutboundPanic to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlOutboundPanic + * @memberof baml_bridge.cffi.v1.BamlOutboundPanic * @instance * @returns {Object.} JSON object */ @@ -11832,7 +11832,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlOutboundPanic * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlOutboundPanic + * @memberof baml_bridge.cffi.v1.BamlOutboundPanic * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -11841,7 +11841,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlOutboundPanic"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlOutboundPanic"; }; return BamlOutboundPanic; @@ -11851,34 +11851,34 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlOutboundValue. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlOutboundValue - * @property {baml_core.cffi.v1.IBamlValueNull|null} [nullValue] BamlOutboundValue nullValue + * @property {baml_bridge.cffi.v1.IBamlValueNull|null} [nullValue] BamlOutboundValue nullValue * @property {string|null} [stringValue] BamlOutboundValue stringValue * @property {number|Long|null} [intValue] BamlOutboundValue intValue * @property {number|null} [floatValue] BamlOutboundValue floatValue * @property {boolean|null} [boolValue] BamlOutboundValue boolValue - * @property {baml_core.cffi.v1.IBamlValueClass|null} [classValue] BamlOutboundValue classValue - * @property {baml_core.cffi.v1.IBamlValueEnum|null} [enumValue] BamlOutboundValue enumValue - * @property {baml_core.cffi.v1.IBamlLiteralValue|null} [literalValue] BamlOutboundValue literalValue - * @property {baml_core.cffi.v1.IBamlValueList|null} [listValue] BamlOutboundValue listValue - * @property {baml_core.cffi.v1.IBamlValueMap|null} [mapValue] BamlOutboundValue mapValue - * @property {baml_core.cffi.v1.IBamlValueUnionVariant|null} [unionVariantValue] BamlOutboundValue unionVariantValue - * @property {baml_core.cffi.v1.IBamlOutboundHandle|null} [handleValue] BamlOutboundValue handleValue - * @property {baml_core.cffi.v1.IBamlValueMedia|null} [mediaValue] BamlOutboundValue mediaValue - * @property {baml_core.cffi.v1.IBamlValuePromptAst|null} [promptAstValue] BamlOutboundValue promptAstValue + * @property {baml_bridge.cffi.v1.IBamlValueClass|null} [classValue] BamlOutboundValue classValue + * @property {baml_bridge.cffi.v1.IBamlValueEnum|null} [enumValue] BamlOutboundValue enumValue + * @property {baml_bridge.cffi.v1.IBamlLiteralValue|null} [literalValue] BamlOutboundValue literalValue + * @property {baml_bridge.cffi.v1.IBamlValueList|null} [listValue] BamlOutboundValue listValue + * @property {baml_bridge.cffi.v1.IBamlValueMap|null} [mapValue] BamlOutboundValue mapValue + * @property {baml_bridge.cffi.v1.IBamlValueUnionVariant|null} [unionVariantValue] BamlOutboundValue unionVariantValue + * @property {baml_bridge.cffi.v1.IBamlOutboundHandle|null} [handleValue] BamlOutboundValue handleValue + * @property {baml_bridge.cffi.v1.IBamlValueMedia|null} [mediaValue] BamlOutboundValue mediaValue + * @property {baml_bridge.cffi.v1.IBamlValuePromptAst|null} [promptAstValue] BamlOutboundValue promptAstValue * @property {Uint8Array|null} [uint8arrayValue] BamlOutboundValue uint8arrayValue * @property {string|null} [bigintValue] BamlOutboundValue bigintValue - * @property {baml_core.cffi.v1.IBamlTy|null} [tyValue] BamlOutboundValue tyValue + * @property {baml_bridge.cffi.v1.IBamlTy|null} [tyValue] BamlOutboundValue tyValue */ /** * Constructs a new BamlOutboundValue. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlOutboundValue. * @implements IBamlOutboundValue * @constructor - * @param {baml_core.cffi.v1.IBamlOutboundValue=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlOutboundValue=} [properties] Properties to set */ function BamlOutboundValue(properties) { if (properties) @@ -11889,8 +11889,8 @@ export const baml_core = $root.baml_core = (() => { /** * BamlOutboundValue nullValue. - * @member {baml_core.cffi.v1.IBamlValueNull|null|undefined} nullValue - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @member {baml_bridge.cffi.v1.IBamlValueNull|null|undefined} nullValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @instance */ BamlOutboundValue.prototype.nullValue = null; @@ -11898,7 +11898,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlOutboundValue stringValue. * @member {string|null|undefined} stringValue - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @instance */ BamlOutboundValue.prototype.stringValue = null; @@ -11906,7 +11906,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlOutboundValue intValue. * @member {number|Long|null|undefined} intValue - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @instance */ BamlOutboundValue.prototype.intValue = null; @@ -11914,7 +11914,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlOutboundValue floatValue. * @member {number|null|undefined} floatValue - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @instance */ BamlOutboundValue.prototype.floatValue = null; @@ -11922,79 +11922,79 @@ export const baml_core = $root.baml_core = (() => { /** * BamlOutboundValue boolValue. * @member {boolean|null|undefined} boolValue - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @instance */ BamlOutboundValue.prototype.boolValue = null; /** * BamlOutboundValue classValue. - * @member {baml_core.cffi.v1.IBamlValueClass|null|undefined} classValue - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @member {baml_bridge.cffi.v1.IBamlValueClass|null|undefined} classValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @instance */ BamlOutboundValue.prototype.classValue = null; /** * BamlOutboundValue enumValue. - * @member {baml_core.cffi.v1.IBamlValueEnum|null|undefined} enumValue - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @member {baml_bridge.cffi.v1.IBamlValueEnum|null|undefined} enumValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @instance */ BamlOutboundValue.prototype.enumValue = null; /** * BamlOutboundValue literalValue. - * @member {baml_core.cffi.v1.IBamlLiteralValue|null|undefined} literalValue - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @member {baml_bridge.cffi.v1.IBamlLiteralValue|null|undefined} literalValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @instance */ BamlOutboundValue.prototype.literalValue = null; /** * BamlOutboundValue listValue. - * @member {baml_core.cffi.v1.IBamlValueList|null|undefined} listValue - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @member {baml_bridge.cffi.v1.IBamlValueList|null|undefined} listValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @instance */ BamlOutboundValue.prototype.listValue = null; /** * BamlOutboundValue mapValue. - * @member {baml_core.cffi.v1.IBamlValueMap|null|undefined} mapValue - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @member {baml_bridge.cffi.v1.IBamlValueMap|null|undefined} mapValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @instance */ BamlOutboundValue.prototype.mapValue = null; /** * BamlOutboundValue unionVariantValue. - * @member {baml_core.cffi.v1.IBamlValueUnionVariant|null|undefined} unionVariantValue - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @member {baml_bridge.cffi.v1.IBamlValueUnionVariant|null|undefined} unionVariantValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @instance */ BamlOutboundValue.prototype.unionVariantValue = null; /** * BamlOutboundValue handleValue. - * @member {baml_core.cffi.v1.IBamlOutboundHandle|null|undefined} handleValue - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @member {baml_bridge.cffi.v1.IBamlOutboundHandle|null|undefined} handleValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @instance */ BamlOutboundValue.prototype.handleValue = null; /** * BamlOutboundValue mediaValue. - * @member {baml_core.cffi.v1.IBamlValueMedia|null|undefined} mediaValue - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @member {baml_bridge.cffi.v1.IBamlValueMedia|null|undefined} mediaValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @instance */ BamlOutboundValue.prototype.mediaValue = null; /** * BamlOutboundValue promptAstValue. - * @member {baml_core.cffi.v1.IBamlValuePromptAst|null|undefined} promptAstValue - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @member {baml_bridge.cffi.v1.IBamlValuePromptAst|null|undefined} promptAstValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @instance */ BamlOutboundValue.prototype.promptAstValue = null; @@ -12002,7 +12002,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlOutboundValue uint8arrayValue. * @member {Uint8Array|null|undefined} uint8arrayValue - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @instance */ BamlOutboundValue.prototype.uint8arrayValue = null; @@ -12010,15 +12010,15 @@ export const baml_core = $root.baml_core = (() => { /** * BamlOutboundValue bigintValue. * @member {string|null|undefined} bigintValue - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @instance */ BamlOutboundValue.prototype.bigintValue = null; /** * BamlOutboundValue tyValue. - * @member {baml_core.cffi.v1.IBamlTy|null|undefined} tyValue - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @member {baml_bridge.cffi.v1.IBamlTy|null|undefined} tyValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @instance */ BamlOutboundValue.prototype.tyValue = null; @@ -12029,7 +12029,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlOutboundValue value. * @member {"nullValue"|"stringValue"|"intValue"|"floatValue"|"boolValue"|"classValue"|"enumValue"|"literalValue"|"listValue"|"mapValue"|"unionVariantValue"|"handleValue"|"mediaValue"|"promptAstValue"|"uint8arrayValue"|"bigintValue"|"tyValue"|undefined} value - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @instance */ Object.defineProperty(BamlOutboundValue.prototype, "value", { @@ -12040,21 +12040,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlOutboundValue instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @static - * @param {baml_core.cffi.v1.IBamlOutboundValue=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlOutboundValue} BamlOutboundValue instance + * @param {baml_bridge.cffi.v1.IBamlOutboundValue=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlOutboundValue} BamlOutboundValue instance */ BamlOutboundValue.create = function create(properties) { return new BamlOutboundValue(properties); }; /** - * Encodes the specified BamlOutboundValue message. Does not implicitly {@link baml_core.cffi.v1.BamlOutboundValue.verify|verify} messages. + * Encodes the specified BamlOutboundValue message. Does not implicitly {@link baml_bridge.cffi.v1.BamlOutboundValue.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @static - * @param {baml_core.cffi.v1.IBamlOutboundValue} message BamlOutboundValue message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlOutboundValue} message BamlOutboundValue message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -12066,7 +12066,7 @@ export const baml_core = $root.baml_core = (() => { if (q > $util.recursionLimit) throw Error("max depth exceeded"); if (message.nullValue != null && Object.hasOwnProperty.call(message, "nullValue")) - $root.baml_core.cffi.v1.BamlValueNull.encode(message.nullValue, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlValueNull.encode(message.nullValue, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); if (message.stringValue != null && Object.hasOwnProperty.call(message, "stringValue")) writer.uint32(/* id 3, wireType 2 =*/26).string(message.stringValue); if (message.intValue != null && Object.hasOwnProperty.call(message, "intValue")) @@ -12076,38 +12076,38 @@ export const baml_core = $root.baml_core = (() => { if (message.boolValue != null && Object.hasOwnProperty.call(message, "boolValue")) writer.uint32(/* id 6, wireType 0 =*/48).bool(message.boolValue); if (message.classValue != null && Object.hasOwnProperty.call(message, "classValue")) - $root.baml_core.cffi.v1.BamlValueClass.encode(message.classValue, writer.uint32(/* id 7, wireType 2 =*/58).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlValueClass.encode(message.classValue, writer.uint32(/* id 7, wireType 2 =*/58).fork(), q + 1).ldelim(); if (message.enumValue != null && Object.hasOwnProperty.call(message, "enumValue")) - $root.baml_core.cffi.v1.BamlValueEnum.encode(message.enumValue, writer.uint32(/* id 8, wireType 2 =*/66).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlValueEnum.encode(message.enumValue, writer.uint32(/* id 8, wireType 2 =*/66).fork(), q + 1).ldelim(); if (message.literalValue != null && Object.hasOwnProperty.call(message, "literalValue")) - $root.baml_core.cffi.v1.BamlLiteralValue.encode(message.literalValue, writer.uint32(/* id 9, wireType 2 =*/74).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlLiteralValue.encode(message.literalValue, writer.uint32(/* id 9, wireType 2 =*/74).fork(), q + 1).ldelim(); if (message.listValue != null && Object.hasOwnProperty.call(message, "listValue")) - $root.baml_core.cffi.v1.BamlValueList.encode(message.listValue, writer.uint32(/* id 11, wireType 2 =*/90).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlValueList.encode(message.listValue, writer.uint32(/* id 11, wireType 2 =*/90).fork(), q + 1).ldelim(); if (message.mapValue != null && Object.hasOwnProperty.call(message, "mapValue")) - $root.baml_core.cffi.v1.BamlValueMap.encode(message.mapValue, writer.uint32(/* id 12, wireType 2 =*/98).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlValueMap.encode(message.mapValue, writer.uint32(/* id 12, wireType 2 =*/98).fork(), q + 1).ldelim(); if (message.unionVariantValue != null && Object.hasOwnProperty.call(message, "unionVariantValue")) - $root.baml_core.cffi.v1.BamlValueUnionVariant.encode(message.unionVariantValue, writer.uint32(/* id 13, wireType 2 =*/106).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlValueUnionVariant.encode(message.unionVariantValue, writer.uint32(/* id 13, wireType 2 =*/106).fork(), q + 1).ldelim(); if (message.handleValue != null && Object.hasOwnProperty.call(message, "handleValue")) - $root.baml_core.cffi.v1.BamlOutboundHandle.encode(message.handleValue, writer.uint32(/* id 16, wireType 2 =*/130).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlOutboundHandle.encode(message.handleValue, writer.uint32(/* id 16, wireType 2 =*/130).fork(), q + 1).ldelim(); if (message.mediaValue != null && Object.hasOwnProperty.call(message, "mediaValue")) - $root.baml_core.cffi.v1.BamlValueMedia.encode(message.mediaValue, writer.uint32(/* id 17, wireType 2 =*/138).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlValueMedia.encode(message.mediaValue, writer.uint32(/* id 17, wireType 2 =*/138).fork(), q + 1).ldelim(); if (message.promptAstValue != null && Object.hasOwnProperty.call(message, "promptAstValue")) - $root.baml_core.cffi.v1.BamlValuePromptAst.encode(message.promptAstValue, writer.uint32(/* id 18, wireType 2 =*/146).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlValuePromptAst.encode(message.promptAstValue, writer.uint32(/* id 18, wireType 2 =*/146).fork(), q + 1).ldelim(); if (message.uint8arrayValue != null && Object.hasOwnProperty.call(message, "uint8arrayValue")) writer.uint32(/* id 19, wireType 2 =*/154).bytes(message.uint8arrayValue); if (message.bigintValue != null && Object.hasOwnProperty.call(message, "bigintValue")) writer.uint32(/* id 20, wireType 2 =*/162).string(message.bigintValue); if (message.tyValue != null && Object.hasOwnProperty.call(message, "tyValue")) - $root.baml_core.cffi.v1.BamlTy.encode(message.tyValue, writer.uint32(/* id 21, wireType 2 =*/170).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.tyValue, writer.uint32(/* id 21, wireType 2 =*/170).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlOutboundValue message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlOutboundValue.verify|verify} messages. + * Encodes the specified BamlOutboundValue message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlOutboundValue.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @static - * @param {baml_core.cffi.v1.IBamlOutboundValue} message BamlOutboundValue message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlOutboundValue} message BamlOutboundValue message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -12118,11 +12118,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlOutboundValue message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlOutboundValue} BamlOutboundValue + * @returns {baml_bridge.cffi.v1.BamlOutboundValue} BamlOutboundValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -12133,14 +12133,14 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlOutboundValue(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlOutboundValue(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 2: { - message.nullValue = $root.baml_core.cffi.v1.BamlValueNull.decode(reader, reader.uint32(), undefined, long + 1); + message.nullValue = $root.baml_bridge.cffi.v1.BamlValueNull.decode(reader, reader.uint32(), undefined, long + 1); break; } case 3: { @@ -12160,39 +12160,39 @@ export const baml_core = $root.baml_core = (() => { break; } case 7: { - message.classValue = $root.baml_core.cffi.v1.BamlValueClass.decode(reader, reader.uint32(), undefined, long + 1); + message.classValue = $root.baml_bridge.cffi.v1.BamlValueClass.decode(reader, reader.uint32(), undefined, long + 1); break; } case 8: { - message.enumValue = $root.baml_core.cffi.v1.BamlValueEnum.decode(reader, reader.uint32(), undefined, long + 1); + message.enumValue = $root.baml_bridge.cffi.v1.BamlValueEnum.decode(reader, reader.uint32(), undefined, long + 1); break; } case 9: { - message.literalValue = $root.baml_core.cffi.v1.BamlLiteralValue.decode(reader, reader.uint32(), undefined, long + 1); + message.literalValue = $root.baml_bridge.cffi.v1.BamlLiteralValue.decode(reader, reader.uint32(), undefined, long + 1); break; } case 11: { - message.listValue = $root.baml_core.cffi.v1.BamlValueList.decode(reader, reader.uint32(), undefined, long + 1); + message.listValue = $root.baml_bridge.cffi.v1.BamlValueList.decode(reader, reader.uint32(), undefined, long + 1); break; } case 12: { - message.mapValue = $root.baml_core.cffi.v1.BamlValueMap.decode(reader, reader.uint32(), undefined, long + 1); + message.mapValue = $root.baml_bridge.cffi.v1.BamlValueMap.decode(reader, reader.uint32(), undefined, long + 1); break; } case 13: { - message.unionVariantValue = $root.baml_core.cffi.v1.BamlValueUnionVariant.decode(reader, reader.uint32(), undefined, long + 1); + message.unionVariantValue = $root.baml_bridge.cffi.v1.BamlValueUnionVariant.decode(reader, reader.uint32(), undefined, long + 1); break; } case 16: { - message.handleValue = $root.baml_core.cffi.v1.BamlOutboundHandle.decode(reader, reader.uint32(), undefined, long + 1); + message.handleValue = $root.baml_bridge.cffi.v1.BamlOutboundHandle.decode(reader, reader.uint32(), undefined, long + 1); break; } case 17: { - message.mediaValue = $root.baml_core.cffi.v1.BamlValueMedia.decode(reader, reader.uint32(), undefined, long + 1); + message.mediaValue = $root.baml_bridge.cffi.v1.BamlValueMedia.decode(reader, reader.uint32(), undefined, long + 1); break; } case 18: { - message.promptAstValue = $root.baml_core.cffi.v1.BamlValuePromptAst.decode(reader, reader.uint32(), undefined, long + 1); + message.promptAstValue = $root.baml_bridge.cffi.v1.BamlValuePromptAst.decode(reader, reader.uint32(), undefined, long + 1); break; } case 19: { @@ -12204,7 +12204,7 @@ export const baml_core = $root.baml_core = (() => { break; } case 21: { - message.tyValue = $root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); + message.tyValue = $root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); break; } default: @@ -12218,10 +12218,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlOutboundValue message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlOutboundValue} BamlOutboundValue + * @returns {baml_bridge.cffi.v1.BamlOutboundValue} BamlOutboundValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -12234,7 +12234,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlOutboundValue message. * @function verify - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -12250,7 +12250,7 @@ export const baml_core = $root.baml_core = (() => { if (message.nullValue != null && message.hasOwnProperty("nullValue")) { properties.value = 1; { - let error = $root.baml_core.cffi.v1.BamlValueNull.verify(message.nullValue, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlValueNull.verify(message.nullValue, long + 1); if (error) return "nullValue." + error; } @@ -12288,7 +12288,7 @@ export const baml_core = $root.baml_core = (() => { return "value: multiple values"; properties.value = 1; { - let error = $root.baml_core.cffi.v1.BamlValueClass.verify(message.classValue, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlValueClass.verify(message.classValue, long + 1); if (error) return "classValue." + error; } @@ -12298,7 +12298,7 @@ export const baml_core = $root.baml_core = (() => { return "value: multiple values"; properties.value = 1; { - let error = $root.baml_core.cffi.v1.BamlValueEnum.verify(message.enumValue, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlValueEnum.verify(message.enumValue, long + 1); if (error) return "enumValue." + error; } @@ -12308,7 +12308,7 @@ export const baml_core = $root.baml_core = (() => { return "value: multiple values"; properties.value = 1; { - let error = $root.baml_core.cffi.v1.BamlLiteralValue.verify(message.literalValue, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlLiteralValue.verify(message.literalValue, long + 1); if (error) return "literalValue." + error; } @@ -12318,7 +12318,7 @@ export const baml_core = $root.baml_core = (() => { return "value: multiple values"; properties.value = 1; { - let error = $root.baml_core.cffi.v1.BamlValueList.verify(message.listValue, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlValueList.verify(message.listValue, long + 1); if (error) return "listValue." + error; } @@ -12328,7 +12328,7 @@ export const baml_core = $root.baml_core = (() => { return "value: multiple values"; properties.value = 1; { - let error = $root.baml_core.cffi.v1.BamlValueMap.verify(message.mapValue, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlValueMap.verify(message.mapValue, long + 1); if (error) return "mapValue." + error; } @@ -12338,7 +12338,7 @@ export const baml_core = $root.baml_core = (() => { return "value: multiple values"; properties.value = 1; { - let error = $root.baml_core.cffi.v1.BamlValueUnionVariant.verify(message.unionVariantValue, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlValueUnionVariant.verify(message.unionVariantValue, long + 1); if (error) return "unionVariantValue." + error; } @@ -12348,7 +12348,7 @@ export const baml_core = $root.baml_core = (() => { return "value: multiple values"; properties.value = 1; { - let error = $root.baml_core.cffi.v1.BamlOutboundHandle.verify(message.handleValue, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlOutboundHandle.verify(message.handleValue, long + 1); if (error) return "handleValue." + error; } @@ -12358,7 +12358,7 @@ export const baml_core = $root.baml_core = (() => { return "value: multiple values"; properties.value = 1; { - let error = $root.baml_core.cffi.v1.BamlValueMedia.verify(message.mediaValue, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlValueMedia.verify(message.mediaValue, long + 1); if (error) return "mediaValue." + error; } @@ -12368,7 +12368,7 @@ export const baml_core = $root.baml_core = (() => { return "value: multiple values"; properties.value = 1; { - let error = $root.baml_core.cffi.v1.BamlValuePromptAst.verify(message.promptAstValue, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlValuePromptAst.verify(message.promptAstValue, long + 1); if (error) return "promptAstValue." + error; } @@ -12392,7 +12392,7 @@ export const baml_core = $root.baml_core = (() => { return "value: multiple values"; properties.value = 1; { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.tyValue, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.tyValue, long + 1); if (error) return "tyValue." + error; } @@ -12403,25 +12403,25 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlOutboundValue message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlOutboundValue} BamlOutboundValue + * @returns {baml_bridge.cffi.v1.BamlOutboundValue} BamlOutboundValue */ BamlOutboundValue.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlOutboundValue) + if (object instanceof $root.baml_bridge.cffi.v1.BamlOutboundValue) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundValue: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundValue: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlOutboundValue(); + let message = new $root.baml_bridge.cffi.v1.BamlOutboundValue(); if (object.nullValue != null) { if (!$util.isObject(object.nullValue)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundValue.nullValue: object expected"); - message.nullValue = $root.baml_core.cffi.v1.BamlValueNull.fromObject(object.nullValue, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundValue.nullValue: object expected"); + message.nullValue = $root.baml_bridge.cffi.v1.BamlValueNull.fromObject(object.nullValue, long + 1); } if (object.stringValue != null) message.stringValue = String(object.stringValue); @@ -12440,48 +12440,48 @@ export const baml_core = $root.baml_core = (() => { message.boolValue = Boolean(object.boolValue); if (object.classValue != null) { if (!$util.isObject(object.classValue)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundValue.classValue: object expected"); - message.classValue = $root.baml_core.cffi.v1.BamlValueClass.fromObject(object.classValue, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundValue.classValue: object expected"); + message.classValue = $root.baml_bridge.cffi.v1.BamlValueClass.fromObject(object.classValue, long + 1); } if (object.enumValue != null) { if (!$util.isObject(object.enumValue)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundValue.enumValue: object expected"); - message.enumValue = $root.baml_core.cffi.v1.BamlValueEnum.fromObject(object.enumValue, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundValue.enumValue: object expected"); + message.enumValue = $root.baml_bridge.cffi.v1.BamlValueEnum.fromObject(object.enumValue, long + 1); } if (object.literalValue != null) { if (!$util.isObject(object.literalValue)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundValue.literalValue: object expected"); - message.literalValue = $root.baml_core.cffi.v1.BamlLiteralValue.fromObject(object.literalValue, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundValue.literalValue: object expected"); + message.literalValue = $root.baml_bridge.cffi.v1.BamlLiteralValue.fromObject(object.literalValue, long + 1); } if (object.listValue != null) { if (!$util.isObject(object.listValue)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundValue.listValue: object expected"); - message.listValue = $root.baml_core.cffi.v1.BamlValueList.fromObject(object.listValue, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundValue.listValue: object expected"); + message.listValue = $root.baml_bridge.cffi.v1.BamlValueList.fromObject(object.listValue, long + 1); } if (object.mapValue != null) { if (!$util.isObject(object.mapValue)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundValue.mapValue: object expected"); - message.mapValue = $root.baml_core.cffi.v1.BamlValueMap.fromObject(object.mapValue, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundValue.mapValue: object expected"); + message.mapValue = $root.baml_bridge.cffi.v1.BamlValueMap.fromObject(object.mapValue, long + 1); } if (object.unionVariantValue != null) { if (!$util.isObject(object.unionVariantValue)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundValue.unionVariantValue: object expected"); - message.unionVariantValue = $root.baml_core.cffi.v1.BamlValueUnionVariant.fromObject(object.unionVariantValue, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundValue.unionVariantValue: object expected"); + message.unionVariantValue = $root.baml_bridge.cffi.v1.BamlValueUnionVariant.fromObject(object.unionVariantValue, long + 1); } if (object.handleValue != null) { if (!$util.isObject(object.handleValue)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundValue.handleValue: object expected"); - message.handleValue = $root.baml_core.cffi.v1.BamlOutboundHandle.fromObject(object.handleValue, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundValue.handleValue: object expected"); + message.handleValue = $root.baml_bridge.cffi.v1.BamlOutboundHandle.fromObject(object.handleValue, long + 1); } if (object.mediaValue != null) { if (!$util.isObject(object.mediaValue)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundValue.mediaValue: object expected"); - message.mediaValue = $root.baml_core.cffi.v1.BamlValueMedia.fromObject(object.mediaValue, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundValue.mediaValue: object expected"); + message.mediaValue = $root.baml_bridge.cffi.v1.BamlValueMedia.fromObject(object.mediaValue, long + 1); } if (object.promptAstValue != null) { if (!$util.isObject(object.promptAstValue)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundValue.promptAstValue: object expected"); - message.promptAstValue = $root.baml_core.cffi.v1.BamlValuePromptAst.fromObject(object.promptAstValue, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundValue.promptAstValue: object expected"); + message.promptAstValue = $root.baml_bridge.cffi.v1.BamlValuePromptAst.fromObject(object.promptAstValue, long + 1); } if (object.uint8arrayValue != null) if (typeof object.uint8arrayValue === "string") @@ -12492,8 +12492,8 @@ export const baml_core = $root.baml_core = (() => { message.bigintValue = String(object.bigintValue); if (object.tyValue != null) { if (!$util.isObject(object.tyValue)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundValue.tyValue: object expected"); - message.tyValue = $root.baml_core.cffi.v1.BamlTy.fromObject(object.tyValue, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundValue.tyValue: object expected"); + message.tyValue = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.tyValue, long + 1); } return message; }; @@ -12501,9 +12501,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlOutboundValue message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @static - * @param {baml_core.cffi.v1.BamlOutboundValue} message BamlOutboundValue + * @param {baml_bridge.cffi.v1.BamlOutboundValue} message BamlOutboundValue * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -12516,7 +12516,7 @@ export const baml_core = $root.baml_core = (() => { throw Error("max depth exceeded"); let object = {}; if (message.nullValue != null && message.hasOwnProperty("nullValue")) { - object.nullValue = $root.baml_core.cffi.v1.BamlValueNull.toObject(message.nullValue, options, q + 1); + object.nullValue = $root.baml_bridge.cffi.v1.BamlValueNull.toObject(message.nullValue, options, q + 1); if (options.oneofs) object.value = "nullValue"; } @@ -12546,47 +12546,47 @@ export const baml_core = $root.baml_core = (() => { object.value = "boolValue"; } if (message.classValue != null && message.hasOwnProperty("classValue")) { - object.classValue = $root.baml_core.cffi.v1.BamlValueClass.toObject(message.classValue, options, q + 1); + object.classValue = $root.baml_bridge.cffi.v1.BamlValueClass.toObject(message.classValue, options, q + 1); if (options.oneofs) object.value = "classValue"; } if (message.enumValue != null && message.hasOwnProperty("enumValue")) { - object.enumValue = $root.baml_core.cffi.v1.BamlValueEnum.toObject(message.enumValue, options, q + 1); + object.enumValue = $root.baml_bridge.cffi.v1.BamlValueEnum.toObject(message.enumValue, options, q + 1); if (options.oneofs) object.value = "enumValue"; } if (message.literalValue != null && message.hasOwnProperty("literalValue")) { - object.literalValue = $root.baml_core.cffi.v1.BamlLiteralValue.toObject(message.literalValue, options, q + 1); + object.literalValue = $root.baml_bridge.cffi.v1.BamlLiteralValue.toObject(message.literalValue, options, q + 1); if (options.oneofs) object.value = "literalValue"; } if (message.listValue != null && message.hasOwnProperty("listValue")) { - object.listValue = $root.baml_core.cffi.v1.BamlValueList.toObject(message.listValue, options, q + 1); + object.listValue = $root.baml_bridge.cffi.v1.BamlValueList.toObject(message.listValue, options, q + 1); if (options.oneofs) object.value = "listValue"; } if (message.mapValue != null && message.hasOwnProperty("mapValue")) { - object.mapValue = $root.baml_core.cffi.v1.BamlValueMap.toObject(message.mapValue, options, q + 1); + object.mapValue = $root.baml_bridge.cffi.v1.BamlValueMap.toObject(message.mapValue, options, q + 1); if (options.oneofs) object.value = "mapValue"; } if (message.unionVariantValue != null && message.hasOwnProperty("unionVariantValue")) { - object.unionVariantValue = $root.baml_core.cffi.v1.BamlValueUnionVariant.toObject(message.unionVariantValue, options, q + 1); + object.unionVariantValue = $root.baml_bridge.cffi.v1.BamlValueUnionVariant.toObject(message.unionVariantValue, options, q + 1); if (options.oneofs) object.value = "unionVariantValue"; } if (message.handleValue != null && message.hasOwnProperty("handleValue")) { - object.handleValue = $root.baml_core.cffi.v1.BamlOutboundHandle.toObject(message.handleValue, options, q + 1); + object.handleValue = $root.baml_bridge.cffi.v1.BamlOutboundHandle.toObject(message.handleValue, options, q + 1); if (options.oneofs) object.value = "handleValue"; } if (message.mediaValue != null && message.hasOwnProperty("mediaValue")) { - object.mediaValue = $root.baml_core.cffi.v1.BamlValueMedia.toObject(message.mediaValue, options, q + 1); + object.mediaValue = $root.baml_bridge.cffi.v1.BamlValueMedia.toObject(message.mediaValue, options, q + 1); if (options.oneofs) object.value = "mediaValue"; } if (message.promptAstValue != null && message.hasOwnProperty("promptAstValue")) { - object.promptAstValue = $root.baml_core.cffi.v1.BamlValuePromptAst.toObject(message.promptAstValue, options, q + 1); + object.promptAstValue = $root.baml_bridge.cffi.v1.BamlValuePromptAst.toObject(message.promptAstValue, options, q + 1); if (options.oneofs) object.value = "promptAstValue"; } @@ -12601,7 +12601,7 @@ export const baml_core = $root.baml_core = (() => { object.value = "bigintValue"; } if (message.tyValue != null && message.hasOwnProperty("tyValue")) { - object.tyValue = $root.baml_core.cffi.v1.BamlTy.toObject(message.tyValue, options, q + 1); + object.tyValue = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.tyValue, options, q + 1); if (options.oneofs) object.value = "tyValue"; } @@ -12611,7 +12611,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlOutboundValue to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @instance * @returns {Object.} JSON object */ @@ -12622,7 +12622,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlOutboundValue * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlOutboundValue + * @memberof baml_bridge.cffi.v1.BamlOutboundValue * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -12631,7 +12631,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlOutboundValue"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlOutboundValue"; }; return BamlOutboundValue; @@ -12641,20 +12641,20 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlOutboundHandle. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlOutboundHandle * @property {number|Long|null} [key] BamlOutboundHandle key - * @property {baml_core.cffi.v1.BamlHandleType|null} [handleType] BamlOutboundHandle handleType - * @property {baml_core.cffi.v1.IBamlTy|null} [ty] BamlOutboundHandle ty + * @property {baml_bridge.cffi.v1.BamlHandleType|null} [handleType] BamlOutboundHandle handleType + * @property {baml_bridge.cffi.v1.IBamlTy|null} [ty] BamlOutboundHandle ty */ /** * Constructs a new BamlOutboundHandle. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlOutboundHandle. * @implements IBamlOutboundHandle * @constructor - * @param {baml_core.cffi.v1.IBamlOutboundHandle=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlOutboundHandle=} [properties] Properties to set */ function BamlOutboundHandle(properties) { if (properties) @@ -12666,23 +12666,23 @@ export const baml_core = $root.baml_core = (() => { /** * BamlOutboundHandle key. * @member {number|Long} key - * @memberof baml_core.cffi.v1.BamlOutboundHandle + * @memberof baml_bridge.cffi.v1.BamlOutboundHandle * @instance */ BamlOutboundHandle.prototype.key = $util.Long ? $util.Long.fromBits(0,0,true) : 0; /** * BamlOutboundHandle handleType. - * @member {baml_core.cffi.v1.BamlHandleType} handleType - * @memberof baml_core.cffi.v1.BamlOutboundHandle + * @member {baml_bridge.cffi.v1.BamlHandleType} handleType + * @memberof baml_bridge.cffi.v1.BamlOutboundHandle * @instance */ BamlOutboundHandle.prototype.handleType = 0; /** * BamlOutboundHandle ty. - * @member {baml_core.cffi.v1.IBamlTy|null|undefined} ty - * @memberof baml_core.cffi.v1.BamlOutboundHandle + * @member {baml_bridge.cffi.v1.IBamlTy|null|undefined} ty + * @memberof baml_bridge.cffi.v1.BamlOutboundHandle * @instance */ BamlOutboundHandle.prototype.ty = null; @@ -12690,21 +12690,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlOutboundHandle instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlOutboundHandle + * @memberof baml_bridge.cffi.v1.BamlOutboundHandle * @static - * @param {baml_core.cffi.v1.IBamlOutboundHandle=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlOutboundHandle} BamlOutboundHandle instance + * @param {baml_bridge.cffi.v1.IBamlOutboundHandle=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlOutboundHandle} BamlOutboundHandle instance */ BamlOutboundHandle.create = function create(properties) { return new BamlOutboundHandle(properties); }; /** - * Encodes the specified BamlOutboundHandle message. Does not implicitly {@link baml_core.cffi.v1.BamlOutboundHandle.verify|verify} messages. + * Encodes the specified BamlOutboundHandle message. Does not implicitly {@link baml_bridge.cffi.v1.BamlOutboundHandle.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlOutboundHandle + * @memberof baml_bridge.cffi.v1.BamlOutboundHandle * @static - * @param {baml_core.cffi.v1.IBamlOutboundHandle} message BamlOutboundHandle message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlOutboundHandle} message BamlOutboundHandle message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -12720,16 +12720,16 @@ export const baml_core = $root.baml_core = (() => { if (message.handleType != null && Object.hasOwnProperty.call(message, "handleType")) writer.uint32(/* id 2, wireType 0 =*/16).int32(message.handleType); if (message.ty != null && Object.hasOwnProperty.call(message, "ty")) - $root.baml_core.cffi.v1.BamlTy.encode(message.ty, writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.ty, writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlOutboundHandle message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlOutboundHandle.verify|verify} messages. + * Encodes the specified BamlOutboundHandle message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlOutboundHandle.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlOutboundHandle + * @memberof baml_bridge.cffi.v1.BamlOutboundHandle * @static - * @param {baml_core.cffi.v1.IBamlOutboundHandle} message BamlOutboundHandle message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlOutboundHandle} message BamlOutboundHandle message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -12740,11 +12740,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlOutboundHandle message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlOutboundHandle + * @memberof baml_bridge.cffi.v1.BamlOutboundHandle * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlOutboundHandle} BamlOutboundHandle + * @returns {baml_bridge.cffi.v1.BamlOutboundHandle} BamlOutboundHandle * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -12755,7 +12755,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlOutboundHandle(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlOutboundHandle(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -12770,7 +12770,7 @@ export const baml_core = $root.baml_core = (() => { break; } case 3: { - message.ty = $root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); + message.ty = $root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); break; } default: @@ -12784,10 +12784,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlOutboundHandle message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlOutboundHandle + * @memberof baml_bridge.cffi.v1.BamlOutboundHandle * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlOutboundHandle} BamlOutboundHandle + * @returns {baml_bridge.cffi.v1.BamlOutboundHandle} BamlOutboundHandle * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -12800,7 +12800,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlOutboundHandle message. * @function verify - * @memberof baml_core.cffi.v1.BamlOutboundHandle + * @memberof baml_bridge.cffi.v1.BamlOutboundHandle * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -12837,7 +12837,7 @@ export const baml_core = $root.baml_core = (() => { break; } if (message.ty != null && message.hasOwnProperty("ty")) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.ty, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.ty, long + 1); if (error) return "ty." + error; } @@ -12847,21 +12847,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlOutboundHandle message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlOutboundHandle + * @memberof baml_bridge.cffi.v1.BamlOutboundHandle * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlOutboundHandle} BamlOutboundHandle + * @returns {baml_bridge.cffi.v1.BamlOutboundHandle} BamlOutboundHandle */ BamlOutboundHandle.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlOutboundHandle) + if (object instanceof $root.baml_bridge.cffi.v1.BamlOutboundHandle) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundHandle: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundHandle: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlOutboundHandle(); + let message = new $root.baml_bridge.cffi.v1.BamlOutboundHandle(); if (object.key != null) if ($util.Long) message.key = $util.Long.fromValue(object.key, true); @@ -12941,8 +12941,8 @@ export const baml_core = $root.baml_core = (() => { } if (object.ty != null) { if (!$util.isObject(object.ty)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundHandle.ty: object expected"); - message.ty = $root.baml_core.cffi.v1.BamlTy.fromObject(object.ty, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundHandle.ty: object expected"); + message.ty = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.ty, long + 1); } return message; }; @@ -12950,9 +12950,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlOutboundHandle message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlOutboundHandle + * @memberof baml_bridge.cffi.v1.BamlOutboundHandle * @static - * @param {baml_core.cffi.v1.BamlOutboundHandle} message BamlOutboundHandle + * @param {baml_bridge.cffi.v1.BamlOutboundHandle} message BamlOutboundHandle * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -12981,16 +12981,16 @@ export const baml_core = $root.baml_core = (() => { else object.key = options.longs === String ? $util.Long.prototype.toString.call(message.key) : options.longs === Number ? new $util.LongBits(message.key.low >>> 0, message.key.high >>> 0).toNumber(true) : message.key; if (message.handleType != null && message.hasOwnProperty("handleType")) - object.handleType = options.enums === String ? $root.baml_core.cffi.v1.BamlHandleType[message.handleType] === undefined ? message.handleType : $root.baml_core.cffi.v1.BamlHandleType[message.handleType] : message.handleType; + object.handleType = options.enums === String ? $root.baml_bridge.cffi.v1.BamlHandleType[message.handleType] === undefined ? message.handleType : $root.baml_bridge.cffi.v1.BamlHandleType[message.handleType] : message.handleType; if (message.ty != null && message.hasOwnProperty("ty")) - object.ty = $root.baml_core.cffi.v1.BamlTy.toObject(message.ty, options, q + 1); + object.ty = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.ty, options, q + 1); return object; }; /** * Converts this BamlOutboundHandle to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlOutboundHandle + * @memberof baml_bridge.cffi.v1.BamlOutboundHandle * @instance * @returns {Object.} JSON object */ @@ -13001,7 +13001,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlOutboundHandle * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlOutboundHandle + * @memberof baml_bridge.cffi.v1.BamlOutboundHandle * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -13010,7 +13010,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlOutboundHandle"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlOutboundHandle"; }; return BamlOutboundHandle; @@ -13020,17 +13020,17 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlValueNull. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlValueNull */ /** * Constructs a new BamlValueNull. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlValueNull. * @implements IBamlValueNull * @constructor - * @param {baml_core.cffi.v1.IBamlValueNull=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlValueNull=} [properties] Properties to set */ function BamlValueNull(properties) { if (properties) @@ -13042,21 +13042,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlValueNull instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlValueNull + * @memberof baml_bridge.cffi.v1.BamlValueNull * @static - * @param {baml_core.cffi.v1.IBamlValueNull=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlValueNull} BamlValueNull instance + * @param {baml_bridge.cffi.v1.IBamlValueNull=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlValueNull} BamlValueNull instance */ BamlValueNull.create = function create(properties) { return new BamlValueNull(properties); }; /** - * Encodes the specified BamlValueNull message. Does not implicitly {@link baml_core.cffi.v1.BamlValueNull.verify|verify} messages. + * Encodes the specified BamlValueNull message. Does not implicitly {@link baml_bridge.cffi.v1.BamlValueNull.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlValueNull + * @memberof baml_bridge.cffi.v1.BamlValueNull * @static - * @param {baml_core.cffi.v1.IBamlValueNull} message BamlValueNull message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValueNull} message BamlValueNull message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -13071,11 +13071,11 @@ export const baml_core = $root.baml_core = (() => { }; /** - * Encodes the specified BamlValueNull message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlValueNull.verify|verify} messages. + * Encodes the specified BamlValueNull message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlValueNull.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlValueNull + * @memberof baml_bridge.cffi.v1.BamlValueNull * @static - * @param {baml_core.cffi.v1.IBamlValueNull} message BamlValueNull message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValueNull} message BamlValueNull message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -13086,11 +13086,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValueNull message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlValueNull + * @memberof baml_bridge.cffi.v1.BamlValueNull * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlValueNull} BamlValueNull + * @returns {baml_bridge.cffi.v1.BamlValueNull} BamlValueNull * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -13101,7 +13101,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlValueNull(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlValueNull(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -13118,10 +13118,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValueNull message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlValueNull + * @memberof baml_bridge.cffi.v1.BamlValueNull * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlValueNull} BamlValueNull + * @returns {baml_bridge.cffi.v1.BamlValueNull} BamlValueNull * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -13134,7 +13134,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlValueNull message. * @function verify - * @memberof baml_core.cffi.v1.BamlValueNull + * @memberof baml_bridge.cffi.v1.BamlValueNull * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -13152,29 +13152,29 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlValueNull message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlValueNull + * @memberof baml_bridge.cffi.v1.BamlValueNull * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlValueNull} BamlValueNull + * @returns {baml_bridge.cffi.v1.BamlValueNull} BamlValueNull */ BamlValueNull.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlValueNull) + if (object instanceof $root.baml_bridge.cffi.v1.BamlValueNull) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlValueNull: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlValueNull: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - return new $root.baml_core.cffi.v1.BamlValueNull(); + return new $root.baml_bridge.cffi.v1.BamlValueNull(); }; /** * Creates a plain object from a BamlValueNull message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlValueNull + * @memberof baml_bridge.cffi.v1.BamlValueNull * @static - * @param {baml_core.cffi.v1.BamlValueNull} message BamlValueNull + * @param {baml_bridge.cffi.v1.BamlValueNull} message BamlValueNull * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -13185,7 +13185,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlValueNull to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlValueNull + * @memberof baml_bridge.cffi.v1.BamlValueNull * @instance * @returns {Object.} JSON object */ @@ -13196,7 +13196,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlValueNull * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlValueNull + * @memberof baml_bridge.cffi.v1.BamlValueNull * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -13205,7 +13205,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlValueNull"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlValueNull"; }; return BamlValueNull; @@ -13215,19 +13215,19 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlValueList. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlValueList - * @property {baml_core.cffi.v1.IBamlTy|null} [itemType] BamlValueList itemType - * @property {Array.|null} [items] BamlValueList items + * @property {baml_bridge.cffi.v1.IBamlTy|null} [itemType] BamlValueList itemType + * @property {Array.|null} [items] BamlValueList items */ /** * Constructs a new BamlValueList. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlValueList. * @implements IBamlValueList * @constructor - * @param {baml_core.cffi.v1.IBamlValueList=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlValueList=} [properties] Properties to set */ function BamlValueList(properties) { this.items = []; @@ -13239,16 +13239,16 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValueList itemType. - * @member {baml_core.cffi.v1.IBamlTy|null|undefined} itemType - * @memberof baml_core.cffi.v1.BamlValueList + * @member {baml_bridge.cffi.v1.IBamlTy|null|undefined} itemType + * @memberof baml_bridge.cffi.v1.BamlValueList * @instance */ BamlValueList.prototype.itemType = null; /** * BamlValueList items. - * @member {Array.} items - * @memberof baml_core.cffi.v1.BamlValueList + * @member {Array.} items + * @memberof baml_bridge.cffi.v1.BamlValueList * @instance */ BamlValueList.prototype.items = $util.emptyArray; @@ -13256,21 +13256,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlValueList instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlValueList + * @memberof baml_bridge.cffi.v1.BamlValueList * @static - * @param {baml_core.cffi.v1.IBamlValueList=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlValueList} BamlValueList instance + * @param {baml_bridge.cffi.v1.IBamlValueList=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlValueList} BamlValueList instance */ BamlValueList.create = function create(properties) { return new BamlValueList(properties); }; /** - * Encodes the specified BamlValueList message. Does not implicitly {@link baml_core.cffi.v1.BamlValueList.verify|verify} messages. + * Encodes the specified BamlValueList message. Does not implicitly {@link baml_bridge.cffi.v1.BamlValueList.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlValueList + * @memberof baml_bridge.cffi.v1.BamlValueList * @static - * @param {baml_core.cffi.v1.IBamlValueList} message BamlValueList message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValueList} message BamlValueList message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -13282,19 +13282,19 @@ export const baml_core = $root.baml_core = (() => { if (q > $util.recursionLimit) throw Error("max depth exceeded"); if (message.itemType != null && Object.hasOwnProperty.call(message, "itemType")) - $root.baml_core.cffi.v1.BamlTy.encode(message.itemType, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.itemType, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); if (message.items != null && message.items.length) for (let i = 0; i < message.items.length; ++i) - $root.baml_core.cffi.v1.BamlOutboundValue.encode(message.items[i], writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlOutboundValue.encode(message.items[i], writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlValueList message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlValueList.verify|verify} messages. + * Encodes the specified BamlValueList message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlValueList.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlValueList + * @memberof baml_bridge.cffi.v1.BamlValueList * @static - * @param {baml_core.cffi.v1.IBamlValueList} message BamlValueList message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValueList} message BamlValueList message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -13305,11 +13305,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValueList message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlValueList + * @memberof baml_bridge.cffi.v1.BamlValueList * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlValueList} BamlValueList + * @returns {baml_bridge.cffi.v1.BamlValueList} BamlValueList * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -13320,20 +13320,20 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlValueList(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlValueList(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.itemType = $root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); + message.itemType = $root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); break; } case 2: { if (!(message.items && message.items.length)) message.items = []; - message.items.push($root.baml_core.cffi.v1.BamlOutboundValue.decode(reader, reader.uint32(), undefined, long + 1)); + message.items.push($root.baml_bridge.cffi.v1.BamlOutboundValue.decode(reader, reader.uint32(), undefined, long + 1)); break; } default: @@ -13347,10 +13347,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValueList message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlValueList + * @memberof baml_bridge.cffi.v1.BamlValueList * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlValueList} BamlValueList + * @returns {baml_bridge.cffi.v1.BamlValueList} BamlValueList * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -13363,7 +13363,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlValueList message. * @function verify - * @memberof baml_core.cffi.v1.BamlValueList + * @memberof baml_bridge.cffi.v1.BamlValueList * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -13376,7 +13376,7 @@ export const baml_core = $root.baml_core = (() => { if (long > $util.recursionLimit) return "maximum nesting depth exceeded"; if (message.itemType != null && message.hasOwnProperty("itemType")) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.itemType, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.itemType, long + 1); if (error) return "itemType." + error; } @@ -13384,7 +13384,7 @@ export const baml_core = $root.baml_core = (() => { if (!Array.isArray(message.items)) return "items: array expected"; for (let i = 0; i < message.items.length; ++i) { - let error = $root.baml_core.cffi.v1.BamlOutboundValue.verify(message.items[i], long + 1); + let error = $root.baml_bridge.cffi.v1.BamlOutboundValue.verify(message.items[i], long + 1); if (error) return "items." + error; } @@ -13395,34 +13395,34 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlValueList message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlValueList + * @memberof baml_bridge.cffi.v1.BamlValueList * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlValueList} BamlValueList + * @returns {baml_bridge.cffi.v1.BamlValueList} BamlValueList */ BamlValueList.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlValueList) + if (object instanceof $root.baml_bridge.cffi.v1.BamlValueList) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlValueList: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlValueList: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlValueList(); + let message = new $root.baml_bridge.cffi.v1.BamlValueList(); if (object.itemType != null) { if (!$util.isObject(object.itemType)) - throw TypeError(".baml_core.cffi.v1.BamlValueList.itemType: object expected"); - message.itemType = $root.baml_core.cffi.v1.BamlTy.fromObject(object.itemType, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlValueList.itemType: object expected"); + message.itemType = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.itemType, long + 1); } if (object.items) { if (!Array.isArray(object.items)) - throw TypeError(".baml_core.cffi.v1.BamlValueList.items: array expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlValueList.items: array expected"); message.items = []; for (let i = 0; i < object.items.length; ++i) { if (!$util.isObject(object.items[i])) - throw TypeError(".baml_core.cffi.v1.BamlValueList.items: object expected"); - message.items[i] = $root.baml_core.cffi.v1.BamlOutboundValue.fromObject(object.items[i], long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlValueList.items: object expected"); + message.items[i] = $root.baml_bridge.cffi.v1.BamlOutboundValue.fromObject(object.items[i], long + 1); } } return message; @@ -13431,9 +13431,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlValueList message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlValueList + * @memberof baml_bridge.cffi.v1.BamlValueList * @static - * @param {baml_core.cffi.v1.BamlValueList} message BamlValueList + * @param {baml_bridge.cffi.v1.BamlValueList} message BamlValueList * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -13450,11 +13450,11 @@ export const baml_core = $root.baml_core = (() => { if (options.defaults) object.itemType = null; if (message.itemType != null && message.hasOwnProperty("itemType")) - object.itemType = $root.baml_core.cffi.v1.BamlTy.toObject(message.itemType, options, q + 1); + object.itemType = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.itemType, options, q + 1); if (message.items && message.items.length) { object.items = []; for (let j = 0; j < message.items.length; ++j) - object.items[j] = $root.baml_core.cffi.v1.BamlOutboundValue.toObject(message.items[j], options, q + 1); + object.items[j] = $root.baml_bridge.cffi.v1.BamlOutboundValue.toObject(message.items[j], options, q + 1); } return object; }; @@ -13462,7 +13462,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlValueList to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlValueList + * @memberof baml_bridge.cffi.v1.BamlValueList * @instance * @returns {Object.} JSON object */ @@ -13473,7 +13473,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlValueList * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlValueList + * @memberof baml_bridge.cffi.v1.BamlValueList * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -13482,7 +13482,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlValueList"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlValueList"; }; return BamlValueList; @@ -13492,19 +13492,19 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlOutboundMapEntry. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlOutboundMapEntry * @property {string|null} [key] BamlOutboundMapEntry key - * @property {baml_core.cffi.v1.IBamlOutboundValue|null} [value] BamlOutboundMapEntry value + * @property {baml_bridge.cffi.v1.IBamlOutboundValue|null} [value] BamlOutboundMapEntry value */ /** * Constructs a new BamlOutboundMapEntry. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlOutboundMapEntry. * @implements IBamlOutboundMapEntry * @constructor - * @param {baml_core.cffi.v1.IBamlOutboundMapEntry=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlOutboundMapEntry=} [properties] Properties to set */ function BamlOutboundMapEntry(properties) { if (properties) @@ -13516,15 +13516,15 @@ export const baml_core = $root.baml_core = (() => { /** * BamlOutboundMapEntry key. * @member {string} key - * @memberof baml_core.cffi.v1.BamlOutboundMapEntry + * @memberof baml_bridge.cffi.v1.BamlOutboundMapEntry * @instance */ BamlOutboundMapEntry.prototype.key = ""; /** * BamlOutboundMapEntry value. - * @member {baml_core.cffi.v1.IBamlOutboundValue|null|undefined} value - * @memberof baml_core.cffi.v1.BamlOutboundMapEntry + * @member {baml_bridge.cffi.v1.IBamlOutboundValue|null|undefined} value + * @memberof baml_bridge.cffi.v1.BamlOutboundMapEntry * @instance */ BamlOutboundMapEntry.prototype.value = null; @@ -13532,21 +13532,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlOutboundMapEntry instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlOutboundMapEntry + * @memberof baml_bridge.cffi.v1.BamlOutboundMapEntry * @static - * @param {baml_core.cffi.v1.IBamlOutboundMapEntry=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlOutboundMapEntry} BamlOutboundMapEntry instance + * @param {baml_bridge.cffi.v1.IBamlOutboundMapEntry=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlOutboundMapEntry} BamlOutboundMapEntry instance */ BamlOutboundMapEntry.create = function create(properties) { return new BamlOutboundMapEntry(properties); }; /** - * Encodes the specified BamlOutboundMapEntry message. Does not implicitly {@link baml_core.cffi.v1.BamlOutboundMapEntry.verify|verify} messages. + * Encodes the specified BamlOutboundMapEntry message. Does not implicitly {@link baml_bridge.cffi.v1.BamlOutboundMapEntry.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlOutboundMapEntry + * @memberof baml_bridge.cffi.v1.BamlOutboundMapEntry * @static - * @param {baml_core.cffi.v1.IBamlOutboundMapEntry} message BamlOutboundMapEntry message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlOutboundMapEntry} message BamlOutboundMapEntry message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -13560,16 +13560,16 @@ export const baml_core = $root.baml_core = (() => { if (message.key != null && Object.hasOwnProperty.call(message, "key")) writer.uint32(/* id 1, wireType 2 =*/10).string(message.key); if (message.value != null && Object.hasOwnProperty.call(message, "value")) - $root.baml_core.cffi.v1.BamlOutboundValue.encode(message.value, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlOutboundValue.encode(message.value, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlOutboundMapEntry message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlOutboundMapEntry.verify|verify} messages. + * Encodes the specified BamlOutboundMapEntry message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlOutboundMapEntry.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlOutboundMapEntry + * @memberof baml_bridge.cffi.v1.BamlOutboundMapEntry * @static - * @param {baml_core.cffi.v1.IBamlOutboundMapEntry} message BamlOutboundMapEntry message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlOutboundMapEntry} message BamlOutboundMapEntry message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -13580,11 +13580,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlOutboundMapEntry message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlOutboundMapEntry + * @memberof baml_bridge.cffi.v1.BamlOutboundMapEntry * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlOutboundMapEntry} BamlOutboundMapEntry + * @returns {baml_bridge.cffi.v1.BamlOutboundMapEntry} BamlOutboundMapEntry * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -13595,7 +13595,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlOutboundMapEntry(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlOutboundMapEntry(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -13606,7 +13606,7 @@ export const baml_core = $root.baml_core = (() => { break; } case 2: { - message.value = $root.baml_core.cffi.v1.BamlOutboundValue.decode(reader, reader.uint32(), undefined, long + 1); + message.value = $root.baml_bridge.cffi.v1.BamlOutboundValue.decode(reader, reader.uint32(), undefined, long + 1); break; } default: @@ -13620,10 +13620,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlOutboundMapEntry message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlOutboundMapEntry + * @memberof baml_bridge.cffi.v1.BamlOutboundMapEntry * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlOutboundMapEntry} BamlOutboundMapEntry + * @returns {baml_bridge.cffi.v1.BamlOutboundMapEntry} BamlOutboundMapEntry * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -13636,7 +13636,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlOutboundMapEntry message. * @function verify - * @memberof baml_core.cffi.v1.BamlOutboundMapEntry + * @memberof baml_bridge.cffi.v1.BamlOutboundMapEntry * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -13652,7 +13652,7 @@ export const baml_core = $root.baml_core = (() => { if (!$util.isString(message.key)) return "key: string expected"; if (message.value != null && message.hasOwnProperty("value")) { - let error = $root.baml_core.cffi.v1.BamlOutboundValue.verify(message.value, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlOutboundValue.verify(message.value, long + 1); if (error) return "value." + error; } @@ -13662,27 +13662,27 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlOutboundMapEntry message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlOutboundMapEntry + * @memberof baml_bridge.cffi.v1.BamlOutboundMapEntry * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlOutboundMapEntry} BamlOutboundMapEntry + * @returns {baml_bridge.cffi.v1.BamlOutboundMapEntry} BamlOutboundMapEntry */ BamlOutboundMapEntry.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlOutboundMapEntry) + if (object instanceof $root.baml_bridge.cffi.v1.BamlOutboundMapEntry) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundMapEntry: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundMapEntry: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlOutboundMapEntry(); + let message = new $root.baml_bridge.cffi.v1.BamlOutboundMapEntry(); if (object.key != null) message.key = String(object.key); if (object.value != null) { if (!$util.isObject(object.value)) - throw TypeError(".baml_core.cffi.v1.BamlOutboundMapEntry.value: object expected"); - message.value = $root.baml_core.cffi.v1.BamlOutboundValue.fromObject(object.value, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlOutboundMapEntry.value: object expected"); + message.value = $root.baml_bridge.cffi.v1.BamlOutboundValue.fromObject(object.value, long + 1); } return message; }; @@ -13690,9 +13690,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlOutboundMapEntry message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlOutboundMapEntry + * @memberof baml_bridge.cffi.v1.BamlOutboundMapEntry * @static - * @param {baml_core.cffi.v1.BamlOutboundMapEntry} message BamlOutboundMapEntry + * @param {baml_bridge.cffi.v1.BamlOutboundMapEntry} message BamlOutboundMapEntry * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -13711,14 +13711,14 @@ export const baml_core = $root.baml_core = (() => { if (message.key != null && message.hasOwnProperty("key")) object.key = message.key; if (message.value != null && message.hasOwnProperty("value")) - object.value = $root.baml_core.cffi.v1.BamlOutboundValue.toObject(message.value, options, q + 1); + object.value = $root.baml_bridge.cffi.v1.BamlOutboundValue.toObject(message.value, options, q + 1); return object; }; /** * Converts this BamlOutboundMapEntry to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlOutboundMapEntry + * @memberof baml_bridge.cffi.v1.BamlOutboundMapEntry * @instance * @returns {Object.} JSON object */ @@ -13729,7 +13729,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlOutboundMapEntry * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlOutboundMapEntry + * @memberof baml_bridge.cffi.v1.BamlOutboundMapEntry * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -13738,7 +13738,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlOutboundMapEntry"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlOutboundMapEntry"; }; return BamlOutboundMapEntry; @@ -13748,20 +13748,20 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlValueMap. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlValueMap - * @property {baml_core.cffi.v1.IBamlTy|null} [keyType] BamlValueMap keyType - * @property {baml_core.cffi.v1.IBamlTy|null} [valueType] BamlValueMap valueType - * @property {Array.|null} [entries] BamlValueMap entries + * @property {baml_bridge.cffi.v1.IBamlTy|null} [keyType] BamlValueMap keyType + * @property {baml_bridge.cffi.v1.IBamlTy|null} [valueType] BamlValueMap valueType + * @property {Array.|null} [entries] BamlValueMap entries */ /** * Constructs a new BamlValueMap. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlValueMap. * @implements IBamlValueMap * @constructor - * @param {baml_core.cffi.v1.IBamlValueMap=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlValueMap=} [properties] Properties to set */ function BamlValueMap(properties) { this.entries = []; @@ -13773,24 +13773,24 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValueMap keyType. - * @member {baml_core.cffi.v1.IBamlTy|null|undefined} keyType - * @memberof baml_core.cffi.v1.BamlValueMap + * @member {baml_bridge.cffi.v1.IBamlTy|null|undefined} keyType + * @memberof baml_bridge.cffi.v1.BamlValueMap * @instance */ BamlValueMap.prototype.keyType = null; /** * BamlValueMap valueType. - * @member {baml_core.cffi.v1.IBamlTy|null|undefined} valueType - * @memberof baml_core.cffi.v1.BamlValueMap + * @member {baml_bridge.cffi.v1.IBamlTy|null|undefined} valueType + * @memberof baml_bridge.cffi.v1.BamlValueMap * @instance */ BamlValueMap.prototype.valueType = null; /** * BamlValueMap entries. - * @member {Array.} entries - * @memberof baml_core.cffi.v1.BamlValueMap + * @member {Array.} entries + * @memberof baml_bridge.cffi.v1.BamlValueMap * @instance */ BamlValueMap.prototype.entries = $util.emptyArray; @@ -13798,21 +13798,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlValueMap instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlValueMap + * @memberof baml_bridge.cffi.v1.BamlValueMap * @static - * @param {baml_core.cffi.v1.IBamlValueMap=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlValueMap} BamlValueMap instance + * @param {baml_bridge.cffi.v1.IBamlValueMap=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlValueMap} BamlValueMap instance */ BamlValueMap.create = function create(properties) { return new BamlValueMap(properties); }; /** - * Encodes the specified BamlValueMap message. Does not implicitly {@link baml_core.cffi.v1.BamlValueMap.verify|verify} messages. + * Encodes the specified BamlValueMap message. Does not implicitly {@link baml_bridge.cffi.v1.BamlValueMap.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlValueMap + * @memberof baml_bridge.cffi.v1.BamlValueMap * @static - * @param {baml_core.cffi.v1.IBamlValueMap} message BamlValueMap message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValueMap} message BamlValueMap message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -13824,21 +13824,21 @@ export const baml_core = $root.baml_core = (() => { if (q > $util.recursionLimit) throw Error("max depth exceeded"); if (message.keyType != null && Object.hasOwnProperty.call(message, "keyType")) - $root.baml_core.cffi.v1.BamlTy.encode(message.keyType, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.keyType, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); if (message.valueType != null && Object.hasOwnProperty.call(message, "valueType")) - $root.baml_core.cffi.v1.BamlTy.encode(message.valueType, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.valueType, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); if (message.entries != null && message.entries.length) for (let i = 0; i < message.entries.length; ++i) - $root.baml_core.cffi.v1.BamlOutboundMapEntry.encode(message.entries[i], writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlOutboundMapEntry.encode(message.entries[i], writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlValueMap message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlValueMap.verify|verify} messages. + * Encodes the specified BamlValueMap message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlValueMap.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlValueMap + * @memberof baml_bridge.cffi.v1.BamlValueMap * @static - * @param {baml_core.cffi.v1.IBamlValueMap} message BamlValueMap message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValueMap} message BamlValueMap message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -13849,11 +13849,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValueMap message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlValueMap + * @memberof baml_bridge.cffi.v1.BamlValueMap * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlValueMap} BamlValueMap + * @returns {baml_bridge.cffi.v1.BamlValueMap} BamlValueMap * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -13864,24 +13864,24 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlValueMap(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlValueMap(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.keyType = $root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); + message.keyType = $root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); break; } case 2: { - message.valueType = $root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); + message.valueType = $root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); break; } case 3: { if (!(message.entries && message.entries.length)) message.entries = []; - message.entries.push($root.baml_core.cffi.v1.BamlOutboundMapEntry.decode(reader, reader.uint32(), undefined, long + 1)); + message.entries.push($root.baml_bridge.cffi.v1.BamlOutboundMapEntry.decode(reader, reader.uint32(), undefined, long + 1)); break; } default: @@ -13895,10 +13895,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValueMap message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlValueMap + * @memberof baml_bridge.cffi.v1.BamlValueMap * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlValueMap} BamlValueMap + * @returns {baml_bridge.cffi.v1.BamlValueMap} BamlValueMap * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -13911,7 +13911,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlValueMap message. * @function verify - * @memberof baml_core.cffi.v1.BamlValueMap + * @memberof baml_bridge.cffi.v1.BamlValueMap * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -13924,12 +13924,12 @@ export const baml_core = $root.baml_core = (() => { if (long > $util.recursionLimit) return "maximum nesting depth exceeded"; if (message.keyType != null && message.hasOwnProperty("keyType")) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.keyType, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.keyType, long + 1); if (error) return "keyType." + error; } if (message.valueType != null && message.hasOwnProperty("valueType")) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.valueType, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.valueType, long + 1); if (error) return "valueType." + error; } @@ -13937,7 +13937,7 @@ export const baml_core = $root.baml_core = (() => { if (!Array.isArray(message.entries)) return "entries: array expected"; for (let i = 0; i < message.entries.length; ++i) { - let error = $root.baml_core.cffi.v1.BamlOutboundMapEntry.verify(message.entries[i], long + 1); + let error = $root.baml_bridge.cffi.v1.BamlOutboundMapEntry.verify(message.entries[i], long + 1); if (error) return "entries." + error; } @@ -13948,39 +13948,39 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlValueMap message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlValueMap + * @memberof baml_bridge.cffi.v1.BamlValueMap * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlValueMap} BamlValueMap + * @returns {baml_bridge.cffi.v1.BamlValueMap} BamlValueMap */ BamlValueMap.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlValueMap) + if (object instanceof $root.baml_bridge.cffi.v1.BamlValueMap) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlValueMap: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlValueMap: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlValueMap(); + let message = new $root.baml_bridge.cffi.v1.BamlValueMap(); if (object.keyType != null) { if (!$util.isObject(object.keyType)) - throw TypeError(".baml_core.cffi.v1.BamlValueMap.keyType: object expected"); - message.keyType = $root.baml_core.cffi.v1.BamlTy.fromObject(object.keyType, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlValueMap.keyType: object expected"); + message.keyType = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.keyType, long + 1); } if (object.valueType != null) { if (!$util.isObject(object.valueType)) - throw TypeError(".baml_core.cffi.v1.BamlValueMap.valueType: object expected"); - message.valueType = $root.baml_core.cffi.v1.BamlTy.fromObject(object.valueType, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlValueMap.valueType: object expected"); + message.valueType = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.valueType, long + 1); } if (object.entries) { if (!Array.isArray(object.entries)) - throw TypeError(".baml_core.cffi.v1.BamlValueMap.entries: array expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlValueMap.entries: array expected"); message.entries = []; for (let i = 0; i < object.entries.length; ++i) { if (!$util.isObject(object.entries[i])) - throw TypeError(".baml_core.cffi.v1.BamlValueMap.entries: object expected"); - message.entries[i] = $root.baml_core.cffi.v1.BamlOutboundMapEntry.fromObject(object.entries[i], long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlValueMap.entries: object expected"); + message.entries[i] = $root.baml_bridge.cffi.v1.BamlOutboundMapEntry.fromObject(object.entries[i], long + 1); } } return message; @@ -13989,9 +13989,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlValueMap message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlValueMap + * @memberof baml_bridge.cffi.v1.BamlValueMap * @static - * @param {baml_core.cffi.v1.BamlValueMap} message BamlValueMap + * @param {baml_bridge.cffi.v1.BamlValueMap} message BamlValueMap * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -14010,13 +14010,13 @@ export const baml_core = $root.baml_core = (() => { object.valueType = null; } if (message.keyType != null && message.hasOwnProperty("keyType")) - object.keyType = $root.baml_core.cffi.v1.BamlTy.toObject(message.keyType, options, q + 1); + object.keyType = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.keyType, options, q + 1); if (message.valueType != null && message.hasOwnProperty("valueType")) - object.valueType = $root.baml_core.cffi.v1.BamlTy.toObject(message.valueType, options, q + 1); + object.valueType = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.valueType, options, q + 1); if (message.entries && message.entries.length) { object.entries = []; for (let j = 0; j < message.entries.length; ++j) - object.entries[j] = $root.baml_core.cffi.v1.BamlOutboundMapEntry.toObject(message.entries[j], options, q + 1); + object.entries[j] = $root.baml_bridge.cffi.v1.BamlOutboundMapEntry.toObject(message.entries[j], options, q + 1); } return object; }; @@ -14024,7 +14024,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlValueMap to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlValueMap + * @memberof baml_bridge.cffi.v1.BamlValueMap * @instance * @returns {Object.} JSON object */ @@ -14035,7 +14035,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlValueMap * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlValueMap + * @memberof baml_bridge.cffi.v1.BamlValueMap * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -14044,7 +14044,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlValueMap"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlValueMap"; }; return BamlValueMap; @@ -14054,20 +14054,20 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlValueClass. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlValueClass * @property {string|null} [name] BamlValueClass name - * @property {Array.|null} [fields] BamlValueClass fields - * @property {Array.|null} [typeArgs] BamlValueClass typeArgs + * @property {Array.|null} [fields] BamlValueClass fields + * @property {Array.|null} [typeArgs] BamlValueClass typeArgs */ /** * Constructs a new BamlValueClass. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlValueClass. * @implements IBamlValueClass * @constructor - * @param {baml_core.cffi.v1.IBamlValueClass=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlValueClass=} [properties] Properties to set */ function BamlValueClass(properties) { this.fields = []; @@ -14081,23 +14081,23 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValueClass name. * @member {string} name - * @memberof baml_core.cffi.v1.BamlValueClass + * @memberof baml_bridge.cffi.v1.BamlValueClass * @instance */ BamlValueClass.prototype.name = ""; /** * BamlValueClass fields. - * @member {Array.} fields - * @memberof baml_core.cffi.v1.BamlValueClass + * @member {Array.} fields + * @memberof baml_bridge.cffi.v1.BamlValueClass * @instance */ BamlValueClass.prototype.fields = $util.emptyArray; /** * BamlValueClass typeArgs. - * @member {Array.} typeArgs - * @memberof baml_core.cffi.v1.BamlValueClass + * @member {Array.} typeArgs + * @memberof baml_bridge.cffi.v1.BamlValueClass * @instance */ BamlValueClass.prototype.typeArgs = $util.emptyArray; @@ -14105,21 +14105,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlValueClass instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlValueClass + * @memberof baml_bridge.cffi.v1.BamlValueClass * @static - * @param {baml_core.cffi.v1.IBamlValueClass=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlValueClass} BamlValueClass instance + * @param {baml_bridge.cffi.v1.IBamlValueClass=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlValueClass} BamlValueClass instance */ BamlValueClass.create = function create(properties) { return new BamlValueClass(properties); }; /** - * Encodes the specified BamlValueClass message. Does not implicitly {@link baml_core.cffi.v1.BamlValueClass.verify|verify} messages. + * Encodes the specified BamlValueClass message. Does not implicitly {@link baml_bridge.cffi.v1.BamlValueClass.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlValueClass + * @memberof baml_bridge.cffi.v1.BamlValueClass * @static - * @param {baml_core.cffi.v1.IBamlValueClass} message BamlValueClass message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValueClass} message BamlValueClass message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -14134,19 +14134,19 @@ export const baml_core = $root.baml_core = (() => { writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); if (message.fields != null && message.fields.length) for (let i = 0; i < message.fields.length; ++i) - $root.baml_core.cffi.v1.BamlOutboundMapEntry.encode(message.fields[i], writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlOutboundMapEntry.encode(message.fields[i], writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); if (message.typeArgs != null && message.typeArgs.length) for (let i = 0; i < message.typeArgs.length; ++i) - $root.baml_core.cffi.v1.BamlTy.encode(message.typeArgs[i], writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.typeArgs[i], writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlValueClass message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlValueClass.verify|verify} messages. + * Encodes the specified BamlValueClass message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlValueClass.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlValueClass + * @memberof baml_bridge.cffi.v1.BamlValueClass * @static - * @param {baml_core.cffi.v1.IBamlValueClass} message BamlValueClass message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValueClass} message BamlValueClass message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -14157,11 +14157,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValueClass message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlValueClass + * @memberof baml_bridge.cffi.v1.BamlValueClass * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlValueClass} BamlValueClass + * @returns {baml_bridge.cffi.v1.BamlValueClass} BamlValueClass * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -14172,7 +14172,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlValueClass(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlValueClass(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -14185,13 +14185,13 @@ export const baml_core = $root.baml_core = (() => { case 2: { if (!(message.fields && message.fields.length)) message.fields = []; - message.fields.push($root.baml_core.cffi.v1.BamlOutboundMapEntry.decode(reader, reader.uint32(), undefined, long + 1)); + message.fields.push($root.baml_bridge.cffi.v1.BamlOutboundMapEntry.decode(reader, reader.uint32(), undefined, long + 1)); break; } case 3: { if (!(message.typeArgs && message.typeArgs.length)) message.typeArgs = []; - message.typeArgs.push($root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1)); + message.typeArgs.push($root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1)); break; } default: @@ -14205,10 +14205,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValueClass message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlValueClass + * @memberof baml_bridge.cffi.v1.BamlValueClass * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlValueClass} BamlValueClass + * @returns {baml_bridge.cffi.v1.BamlValueClass} BamlValueClass * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -14221,7 +14221,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlValueClass message. * @function verify - * @memberof baml_core.cffi.v1.BamlValueClass + * @memberof baml_bridge.cffi.v1.BamlValueClass * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -14240,7 +14240,7 @@ export const baml_core = $root.baml_core = (() => { if (!Array.isArray(message.fields)) return "fields: array expected"; for (let i = 0; i < message.fields.length; ++i) { - let error = $root.baml_core.cffi.v1.BamlOutboundMapEntry.verify(message.fields[i], long + 1); + let error = $root.baml_bridge.cffi.v1.BamlOutboundMapEntry.verify(message.fields[i], long + 1); if (error) return "fields." + error; } @@ -14249,7 +14249,7 @@ export const baml_core = $root.baml_core = (() => { if (!Array.isArray(message.typeArgs)) return "typeArgs: array expected"; for (let i = 0; i < message.typeArgs.length; ++i) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.typeArgs[i], long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.typeArgs[i], long + 1); if (error) return "typeArgs." + error; } @@ -14260,41 +14260,41 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlValueClass message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlValueClass + * @memberof baml_bridge.cffi.v1.BamlValueClass * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlValueClass} BamlValueClass + * @returns {baml_bridge.cffi.v1.BamlValueClass} BamlValueClass */ BamlValueClass.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlValueClass) + if (object instanceof $root.baml_bridge.cffi.v1.BamlValueClass) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlValueClass: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlValueClass: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlValueClass(); + let message = new $root.baml_bridge.cffi.v1.BamlValueClass(); if (object.name != null) message.name = String(object.name); if (object.fields) { if (!Array.isArray(object.fields)) - throw TypeError(".baml_core.cffi.v1.BamlValueClass.fields: array expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlValueClass.fields: array expected"); message.fields = []; for (let i = 0; i < object.fields.length; ++i) { if (!$util.isObject(object.fields[i])) - throw TypeError(".baml_core.cffi.v1.BamlValueClass.fields: object expected"); - message.fields[i] = $root.baml_core.cffi.v1.BamlOutboundMapEntry.fromObject(object.fields[i], long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlValueClass.fields: object expected"); + message.fields[i] = $root.baml_bridge.cffi.v1.BamlOutboundMapEntry.fromObject(object.fields[i], long + 1); } } if (object.typeArgs) { if (!Array.isArray(object.typeArgs)) - throw TypeError(".baml_core.cffi.v1.BamlValueClass.typeArgs: array expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlValueClass.typeArgs: array expected"); message.typeArgs = []; for (let i = 0; i < object.typeArgs.length; ++i) { if (!$util.isObject(object.typeArgs[i])) - throw TypeError(".baml_core.cffi.v1.BamlValueClass.typeArgs: object expected"); - message.typeArgs[i] = $root.baml_core.cffi.v1.BamlTy.fromObject(object.typeArgs[i], long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlValueClass.typeArgs: object expected"); + message.typeArgs[i] = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.typeArgs[i], long + 1); } } return message; @@ -14303,9 +14303,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlValueClass message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlValueClass + * @memberof baml_bridge.cffi.v1.BamlValueClass * @static - * @param {baml_core.cffi.v1.BamlValueClass} message BamlValueClass + * @param {baml_bridge.cffi.v1.BamlValueClass} message BamlValueClass * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -14328,12 +14328,12 @@ export const baml_core = $root.baml_core = (() => { if (message.fields && message.fields.length) { object.fields = []; for (let j = 0; j < message.fields.length; ++j) - object.fields[j] = $root.baml_core.cffi.v1.BamlOutboundMapEntry.toObject(message.fields[j], options, q + 1); + object.fields[j] = $root.baml_bridge.cffi.v1.BamlOutboundMapEntry.toObject(message.fields[j], options, q + 1); } if (message.typeArgs && message.typeArgs.length) { object.typeArgs = []; for (let j = 0; j < message.typeArgs.length; ++j) - object.typeArgs[j] = $root.baml_core.cffi.v1.BamlTy.toObject(message.typeArgs[j], options, q + 1); + object.typeArgs[j] = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.typeArgs[j], options, q + 1); } return object; }; @@ -14341,7 +14341,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlValueClass to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlValueClass + * @memberof baml_bridge.cffi.v1.BamlValueClass * @instance * @returns {Object.} JSON object */ @@ -14352,7 +14352,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlValueClass * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlValueClass + * @memberof baml_bridge.cffi.v1.BamlValueClass * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -14361,7 +14361,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlValueClass"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlValueClass"; }; return BamlValueClass; @@ -14371,7 +14371,7 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlValueEnum. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlValueEnum * @property {string|null} [name] BamlValueEnum name * @property {string|null} [value] BamlValueEnum value @@ -14380,11 +14380,11 @@ export const baml_core = $root.baml_core = (() => { /** * Constructs a new BamlValueEnum. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlValueEnum. * @implements IBamlValueEnum * @constructor - * @param {baml_core.cffi.v1.IBamlValueEnum=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlValueEnum=} [properties] Properties to set */ function BamlValueEnum(properties) { if (properties) @@ -14396,7 +14396,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValueEnum name. * @member {string} name - * @memberof baml_core.cffi.v1.BamlValueEnum + * @memberof baml_bridge.cffi.v1.BamlValueEnum * @instance */ BamlValueEnum.prototype.name = ""; @@ -14404,7 +14404,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValueEnum value. * @member {string} value - * @memberof baml_core.cffi.v1.BamlValueEnum + * @memberof baml_bridge.cffi.v1.BamlValueEnum * @instance */ BamlValueEnum.prototype.value = ""; @@ -14412,7 +14412,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValueEnum isDynamic. * @member {boolean} isDynamic - * @memberof baml_core.cffi.v1.BamlValueEnum + * @memberof baml_bridge.cffi.v1.BamlValueEnum * @instance */ BamlValueEnum.prototype.isDynamic = false; @@ -14420,21 +14420,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlValueEnum instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlValueEnum + * @memberof baml_bridge.cffi.v1.BamlValueEnum * @static - * @param {baml_core.cffi.v1.IBamlValueEnum=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlValueEnum} BamlValueEnum instance + * @param {baml_bridge.cffi.v1.IBamlValueEnum=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlValueEnum} BamlValueEnum instance */ BamlValueEnum.create = function create(properties) { return new BamlValueEnum(properties); }; /** - * Encodes the specified BamlValueEnum message. Does not implicitly {@link baml_core.cffi.v1.BamlValueEnum.verify|verify} messages. + * Encodes the specified BamlValueEnum message. Does not implicitly {@link baml_bridge.cffi.v1.BamlValueEnum.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlValueEnum + * @memberof baml_bridge.cffi.v1.BamlValueEnum * @static - * @param {baml_core.cffi.v1.IBamlValueEnum} message BamlValueEnum message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValueEnum} message BamlValueEnum message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -14455,11 +14455,11 @@ export const baml_core = $root.baml_core = (() => { }; /** - * Encodes the specified BamlValueEnum message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlValueEnum.verify|verify} messages. + * Encodes the specified BamlValueEnum message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlValueEnum.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlValueEnum + * @memberof baml_bridge.cffi.v1.BamlValueEnum * @static - * @param {baml_core.cffi.v1.IBamlValueEnum} message BamlValueEnum message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValueEnum} message BamlValueEnum message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -14470,11 +14470,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValueEnum message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlValueEnum + * @memberof baml_bridge.cffi.v1.BamlValueEnum * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlValueEnum} BamlValueEnum + * @returns {baml_bridge.cffi.v1.BamlValueEnum} BamlValueEnum * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -14485,7 +14485,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlValueEnum(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlValueEnum(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -14514,10 +14514,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValueEnum message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlValueEnum + * @memberof baml_bridge.cffi.v1.BamlValueEnum * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlValueEnum} BamlValueEnum + * @returns {baml_bridge.cffi.v1.BamlValueEnum} BamlValueEnum * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -14530,7 +14530,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlValueEnum message. * @function verify - * @memberof baml_core.cffi.v1.BamlValueEnum + * @memberof baml_bridge.cffi.v1.BamlValueEnum * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -14557,21 +14557,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlValueEnum message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlValueEnum + * @memberof baml_bridge.cffi.v1.BamlValueEnum * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlValueEnum} BamlValueEnum + * @returns {baml_bridge.cffi.v1.BamlValueEnum} BamlValueEnum */ BamlValueEnum.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlValueEnum) + if (object instanceof $root.baml_bridge.cffi.v1.BamlValueEnum) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlValueEnum: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlValueEnum: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlValueEnum(); + let message = new $root.baml_bridge.cffi.v1.BamlValueEnum(); if (object.name != null) message.name = String(object.name); if (object.value != null) @@ -14584,9 +14584,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlValueEnum message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlValueEnum + * @memberof baml_bridge.cffi.v1.BamlValueEnum * @static - * @param {baml_core.cffi.v1.BamlValueEnum} message BamlValueEnum + * @param {baml_bridge.cffi.v1.BamlValueEnum} message BamlValueEnum * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -14615,7 +14615,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlValueEnum to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlValueEnum + * @memberof baml_bridge.cffi.v1.BamlValueEnum * @instance * @returns {Object.} JSON object */ @@ -14626,7 +14626,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlValueEnum * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlValueEnum + * @memberof baml_bridge.cffi.v1.BamlValueEnum * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -14635,7 +14635,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlValueEnum"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlValueEnum"; }; return BamlValueEnum; @@ -14645,23 +14645,23 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlValueUnionVariant. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlValueUnionVariant * @property {string|null} [name] BamlValueUnionVariant name * @property {boolean|null} [isOptional] BamlValueUnionVariant isOptional * @property {boolean|null} [isSinglePattern] BamlValueUnionVariant isSinglePattern - * @property {baml_core.cffi.v1.IBamlTy|null} [selfType] BamlValueUnionVariant selfType + * @property {baml_bridge.cffi.v1.IBamlTy|null} [selfType] BamlValueUnionVariant selfType * @property {string|null} [valueOptionName] BamlValueUnionVariant valueOptionName - * @property {baml_core.cffi.v1.IBamlOutboundValue|null} [value] BamlValueUnionVariant value + * @property {baml_bridge.cffi.v1.IBamlOutboundValue|null} [value] BamlValueUnionVariant value */ /** * Constructs a new BamlValueUnionVariant. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlValueUnionVariant. * @implements IBamlValueUnionVariant * @constructor - * @param {baml_core.cffi.v1.IBamlValueUnionVariant=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlValueUnionVariant=} [properties] Properties to set */ function BamlValueUnionVariant(properties) { if (properties) @@ -14673,7 +14673,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValueUnionVariant name. * @member {string} name - * @memberof baml_core.cffi.v1.BamlValueUnionVariant + * @memberof baml_bridge.cffi.v1.BamlValueUnionVariant * @instance */ BamlValueUnionVariant.prototype.name = ""; @@ -14681,7 +14681,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValueUnionVariant isOptional. * @member {boolean} isOptional - * @memberof baml_core.cffi.v1.BamlValueUnionVariant + * @memberof baml_bridge.cffi.v1.BamlValueUnionVariant * @instance */ BamlValueUnionVariant.prototype.isOptional = false; @@ -14689,15 +14689,15 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValueUnionVariant isSinglePattern. * @member {boolean} isSinglePattern - * @memberof baml_core.cffi.v1.BamlValueUnionVariant + * @memberof baml_bridge.cffi.v1.BamlValueUnionVariant * @instance */ BamlValueUnionVariant.prototype.isSinglePattern = false; /** * BamlValueUnionVariant selfType. - * @member {baml_core.cffi.v1.IBamlTy|null|undefined} selfType - * @memberof baml_core.cffi.v1.BamlValueUnionVariant + * @member {baml_bridge.cffi.v1.IBamlTy|null|undefined} selfType + * @memberof baml_bridge.cffi.v1.BamlValueUnionVariant * @instance */ BamlValueUnionVariant.prototype.selfType = null; @@ -14705,15 +14705,15 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValueUnionVariant valueOptionName. * @member {string} valueOptionName - * @memberof baml_core.cffi.v1.BamlValueUnionVariant + * @memberof baml_bridge.cffi.v1.BamlValueUnionVariant * @instance */ BamlValueUnionVariant.prototype.valueOptionName = ""; /** * BamlValueUnionVariant value. - * @member {baml_core.cffi.v1.IBamlOutboundValue|null|undefined} value - * @memberof baml_core.cffi.v1.BamlValueUnionVariant + * @member {baml_bridge.cffi.v1.IBamlOutboundValue|null|undefined} value + * @memberof baml_bridge.cffi.v1.BamlValueUnionVariant * @instance */ BamlValueUnionVariant.prototype.value = null; @@ -14721,21 +14721,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlValueUnionVariant instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlValueUnionVariant + * @memberof baml_bridge.cffi.v1.BamlValueUnionVariant * @static - * @param {baml_core.cffi.v1.IBamlValueUnionVariant=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlValueUnionVariant} BamlValueUnionVariant instance + * @param {baml_bridge.cffi.v1.IBamlValueUnionVariant=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlValueUnionVariant} BamlValueUnionVariant instance */ BamlValueUnionVariant.create = function create(properties) { return new BamlValueUnionVariant(properties); }; /** - * Encodes the specified BamlValueUnionVariant message. Does not implicitly {@link baml_core.cffi.v1.BamlValueUnionVariant.verify|verify} messages. + * Encodes the specified BamlValueUnionVariant message. Does not implicitly {@link baml_bridge.cffi.v1.BamlValueUnionVariant.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlValueUnionVariant + * @memberof baml_bridge.cffi.v1.BamlValueUnionVariant * @static - * @param {baml_core.cffi.v1.IBamlValueUnionVariant} message BamlValueUnionVariant message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValueUnionVariant} message BamlValueUnionVariant message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -14753,20 +14753,20 @@ export const baml_core = $root.baml_core = (() => { if (message.isSinglePattern != null && Object.hasOwnProperty.call(message, "isSinglePattern")) writer.uint32(/* id 3, wireType 0 =*/24).bool(message.isSinglePattern); if (message.selfType != null && Object.hasOwnProperty.call(message, "selfType")) - $root.baml_core.cffi.v1.BamlTy.encode(message.selfType, writer.uint32(/* id 4, wireType 2 =*/34).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlTy.encode(message.selfType, writer.uint32(/* id 4, wireType 2 =*/34).fork(), q + 1).ldelim(); if (message.valueOptionName != null && Object.hasOwnProperty.call(message, "valueOptionName")) writer.uint32(/* id 5, wireType 2 =*/42).string(message.valueOptionName); if (message.value != null && Object.hasOwnProperty.call(message, "value")) - $root.baml_core.cffi.v1.BamlOutboundValue.encode(message.value, writer.uint32(/* id 6, wireType 2 =*/50).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlOutboundValue.encode(message.value, writer.uint32(/* id 6, wireType 2 =*/50).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlValueUnionVariant message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlValueUnionVariant.verify|verify} messages. + * Encodes the specified BamlValueUnionVariant message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlValueUnionVariant.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlValueUnionVariant + * @memberof baml_bridge.cffi.v1.BamlValueUnionVariant * @static - * @param {baml_core.cffi.v1.IBamlValueUnionVariant} message BamlValueUnionVariant message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValueUnionVariant} message BamlValueUnionVariant message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -14777,11 +14777,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValueUnionVariant message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlValueUnionVariant + * @memberof baml_bridge.cffi.v1.BamlValueUnionVariant * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlValueUnionVariant} BamlValueUnionVariant + * @returns {baml_bridge.cffi.v1.BamlValueUnionVariant} BamlValueUnionVariant * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -14792,7 +14792,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlValueUnionVariant(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlValueUnionVariant(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -14811,7 +14811,7 @@ export const baml_core = $root.baml_core = (() => { break; } case 4: { - message.selfType = $root.baml_core.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); + message.selfType = $root.baml_bridge.cffi.v1.BamlTy.decode(reader, reader.uint32(), undefined, long + 1); break; } case 5: { @@ -14819,7 +14819,7 @@ export const baml_core = $root.baml_core = (() => { break; } case 6: { - message.value = $root.baml_core.cffi.v1.BamlOutboundValue.decode(reader, reader.uint32(), undefined, long + 1); + message.value = $root.baml_bridge.cffi.v1.BamlOutboundValue.decode(reader, reader.uint32(), undefined, long + 1); break; } default: @@ -14833,10 +14833,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValueUnionVariant message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlValueUnionVariant + * @memberof baml_bridge.cffi.v1.BamlValueUnionVariant * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlValueUnionVariant} BamlValueUnionVariant + * @returns {baml_bridge.cffi.v1.BamlValueUnionVariant} BamlValueUnionVariant * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -14849,7 +14849,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlValueUnionVariant message. * @function verify - * @memberof baml_core.cffi.v1.BamlValueUnionVariant + * @memberof baml_bridge.cffi.v1.BamlValueUnionVariant * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -14871,7 +14871,7 @@ export const baml_core = $root.baml_core = (() => { if (typeof message.isSinglePattern !== "boolean") return "isSinglePattern: boolean expected"; if (message.selfType != null && message.hasOwnProperty("selfType")) { - let error = $root.baml_core.cffi.v1.BamlTy.verify(message.selfType, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlTy.verify(message.selfType, long + 1); if (error) return "selfType." + error; } @@ -14879,7 +14879,7 @@ export const baml_core = $root.baml_core = (() => { if (!$util.isString(message.valueOptionName)) return "valueOptionName: string expected"; if (message.value != null && message.hasOwnProperty("value")) { - let error = $root.baml_core.cffi.v1.BamlOutboundValue.verify(message.value, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlOutboundValue.verify(message.value, long + 1); if (error) return "value." + error; } @@ -14889,21 +14889,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlValueUnionVariant message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlValueUnionVariant + * @memberof baml_bridge.cffi.v1.BamlValueUnionVariant * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlValueUnionVariant} BamlValueUnionVariant + * @returns {baml_bridge.cffi.v1.BamlValueUnionVariant} BamlValueUnionVariant */ BamlValueUnionVariant.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlValueUnionVariant) + if (object instanceof $root.baml_bridge.cffi.v1.BamlValueUnionVariant) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlValueUnionVariant: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlValueUnionVariant: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlValueUnionVariant(); + let message = new $root.baml_bridge.cffi.v1.BamlValueUnionVariant(); if (object.name != null) message.name = String(object.name); if (object.isOptional != null) @@ -14912,15 +14912,15 @@ export const baml_core = $root.baml_core = (() => { message.isSinglePattern = Boolean(object.isSinglePattern); if (object.selfType != null) { if (!$util.isObject(object.selfType)) - throw TypeError(".baml_core.cffi.v1.BamlValueUnionVariant.selfType: object expected"); - message.selfType = $root.baml_core.cffi.v1.BamlTy.fromObject(object.selfType, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlValueUnionVariant.selfType: object expected"); + message.selfType = $root.baml_bridge.cffi.v1.BamlTy.fromObject(object.selfType, long + 1); } if (object.valueOptionName != null) message.valueOptionName = String(object.valueOptionName); if (object.value != null) { if (!$util.isObject(object.value)) - throw TypeError(".baml_core.cffi.v1.BamlValueUnionVariant.value: object expected"); - message.value = $root.baml_core.cffi.v1.BamlOutboundValue.fromObject(object.value, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlValueUnionVariant.value: object expected"); + message.value = $root.baml_bridge.cffi.v1.BamlOutboundValue.fromObject(object.value, long + 1); } return message; }; @@ -14928,9 +14928,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlValueUnionVariant message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlValueUnionVariant + * @memberof baml_bridge.cffi.v1.BamlValueUnionVariant * @static - * @param {baml_core.cffi.v1.BamlValueUnionVariant} message BamlValueUnionVariant + * @param {baml_bridge.cffi.v1.BamlValueUnionVariant} message BamlValueUnionVariant * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -14957,18 +14957,18 @@ export const baml_core = $root.baml_core = (() => { if (message.isSinglePattern != null && message.hasOwnProperty("isSinglePattern")) object.isSinglePattern = message.isSinglePattern; if (message.selfType != null && message.hasOwnProperty("selfType")) - object.selfType = $root.baml_core.cffi.v1.BamlTy.toObject(message.selfType, options, q + 1); + object.selfType = $root.baml_bridge.cffi.v1.BamlTy.toObject(message.selfType, options, q + 1); if (message.valueOptionName != null && message.hasOwnProperty("valueOptionName")) object.valueOptionName = message.valueOptionName; if (message.value != null && message.hasOwnProperty("value")) - object.value = $root.baml_core.cffi.v1.BamlOutboundValue.toObject(message.value, options, q + 1); + object.value = $root.baml_bridge.cffi.v1.BamlOutboundValue.toObject(message.value, options, q + 1); return object; }; /** * Converts this BamlValueUnionVariant to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlValueUnionVariant + * @memberof baml_bridge.cffi.v1.BamlValueUnionVariant * @instance * @returns {Object.} JSON object */ @@ -14979,7 +14979,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlValueUnionVariant * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlValueUnionVariant + * @memberof baml_bridge.cffi.v1.BamlValueUnionVariant * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -14988,7 +14988,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlValueUnionVariant"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlValueUnionVariant"; }; return BamlValueUnionVariant; @@ -14996,7 +14996,7 @@ export const baml_core = $root.baml_core = (() => { /** * MediaTypeEnum enum. - * @name baml_core.cffi.v1.MediaTypeEnum + * @name baml_bridge.cffi.v1.MediaTypeEnum * @enum {number} * @property {number} MEDIA_TYPE_UNSPECIFIED=0 MEDIA_TYPE_UNSPECIFIED value * @property {number} IMAGE=1 IMAGE value @@ -15020,9 +15020,9 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlValueMedia. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlValueMedia - * @property {baml_core.cffi.v1.MediaTypeEnum|null} [media] BamlValueMedia media + * @property {baml_bridge.cffi.v1.MediaTypeEnum|null} [media] BamlValueMedia media * @property {string|null} [mimeType] BamlValueMedia mimeType * @property {string|null} [url] BamlValueMedia url * @property {string|null} [base64] BamlValueMedia base64 @@ -15031,11 +15031,11 @@ export const baml_core = $root.baml_core = (() => { /** * Constructs a new BamlValueMedia. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlValueMedia. * @implements IBamlValueMedia * @constructor - * @param {baml_core.cffi.v1.IBamlValueMedia=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlValueMedia=} [properties] Properties to set */ function BamlValueMedia(properties) { if (properties) @@ -15046,8 +15046,8 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValueMedia media. - * @member {baml_core.cffi.v1.MediaTypeEnum} media - * @memberof baml_core.cffi.v1.BamlValueMedia + * @member {baml_bridge.cffi.v1.MediaTypeEnum} media + * @memberof baml_bridge.cffi.v1.BamlValueMedia * @instance */ BamlValueMedia.prototype.media = 0; @@ -15055,7 +15055,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValueMedia mimeType. * @member {string|null|undefined} mimeType - * @memberof baml_core.cffi.v1.BamlValueMedia + * @memberof baml_bridge.cffi.v1.BamlValueMedia * @instance */ BamlValueMedia.prototype.mimeType = null; @@ -15063,7 +15063,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValueMedia url. * @member {string|null|undefined} url - * @memberof baml_core.cffi.v1.BamlValueMedia + * @memberof baml_bridge.cffi.v1.BamlValueMedia * @instance */ BamlValueMedia.prototype.url = null; @@ -15071,7 +15071,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValueMedia base64. * @member {string|null|undefined} base64 - * @memberof baml_core.cffi.v1.BamlValueMedia + * @memberof baml_bridge.cffi.v1.BamlValueMedia * @instance */ BamlValueMedia.prototype.base64 = null; @@ -15079,7 +15079,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValueMedia file. * @member {string|null|undefined} file - * @memberof baml_core.cffi.v1.BamlValueMedia + * @memberof baml_bridge.cffi.v1.BamlValueMedia * @instance */ BamlValueMedia.prototype.file = null; @@ -15096,7 +15096,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValueMedia value. * @member {"url"|"base64"|"file"|undefined} value - * @memberof baml_core.cffi.v1.BamlValueMedia + * @memberof baml_bridge.cffi.v1.BamlValueMedia * @instance */ Object.defineProperty(BamlValueMedia.prototype, "value", { @@ -15107,21 +15107,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlValueMedia instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlValueMedia + * @memberof baml_bridge.cffi.v1.BamlValueMedia * @static - * @param {baml_core.cffi.v1.IBamlValueMedia=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlValueMedia} BamlValueMedia instance + * @param {baml_bridge.cffi.v1.IBamlValueMedia=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlValueMedia} BamlValueMedia instance */ BamlValueMedia.create = function create(properties) { return new BamlValueMedia(properties); }; /** - * Encodes the specified BamlValueMedia message. Does not implicitly {@link baml_core.cffi.v1.BamlValueMedia.verify|verify} messages. + * Encodes the specified BamlValueMedia message. Does not implicitly {@link baml_bridge.cffi.v1.BamlValueMedia.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlValueMedia + * @memberof baml_bridge.cffi.v1.BamlValueMedia * @static - * @param {baml_core.cffi.v1.IBamlValueMedia} message BamlValueMedia message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValueMedia} message BamlValueMedia message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -15146,11 +15146,11 @@ export const baml_core = $root.baml_core = (() => { }; /** - * Encodes the specified BamlValueMedia message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlValueMedia.verify|verify} messages. + * Encodes the specified BamlValueMedia message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlValueMedia.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlValueMedia + * @memberof baml_bridge.cffi.v1.BamlValueMedia * @static - * @param {baml_core.cffi.v1.IBamlValueMedia} message BamlValueMedia message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValueMedia} message BamlValueMedia message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -15161,11 +15161,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValueMedia message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlValueMedia + * @memberof baml_bridge.cffi.v1.BamlValueMedia * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlValueMedia} BamlValueMedia + * @returns {baml_bridge.cffi.v1.BamlValueMedia} BamlValueMedia * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -15176,7 +15176,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlValueMedia(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlValueMedia(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -15213,10 +15213,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValueMedia message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlValueMedia + * @memberof baml_bridge.cffi.v1.BamlValueMedia * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlValueMedia} BamlValueMedia + * @returns {baml_bridge.cffi.v1.BamlValueMedia} BamlValueMedia * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -15229,7 +15229,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlValueMedia message. * @function verify - * @memberof baml_core.cffi.v1.BamlValueMedia + * @memberof baml_bridge.cffi.v1.BamlValueMedia * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -15284,21 +15284,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlValueMedia message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlValueMedia + * @memberof baml_bridge.cffi.v1.BamlValueMedia * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlValueMedia} BamlValueMedia + * @returns {baml_bridge.cffi.v1.BamlValueMedia} BamlValueMedia */ BamlValueMedia.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlValueMedia) + if (object instanceof $root.baml_bridge.cffi.v1.BamlValueMedia) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlValueMedia: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlValueMedia: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlValueMedia(); + let message = new $root.baml_bridge.cffi.v1.BamlValueMedia(); switch (object.media) { default: if (typeof object.media === "number") { @@ -15345,9 +15345,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlValueMedia message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlValueMedia + * @memberof baml_bridge.cffi.v1.BamlValueMedia * @static - * @param {baml_core.cffi.v1.BamlValueMedia} message BamlValueMedia + * @param {baml_bridge.cffi.v1.BamlValueMedia} message BamlValueMedia * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -15362,7 +15362,7 @@ export const baml_core = $root.baml_core = (() => { if (options.defaults) object.media = options.enums === String ? "MEDIA_TYPE_UNSPECIFIED" : 0; if (message.media != null && message.hasOwnProperty("media")) - object.media = options.enums === String ? $root.baml_core.cffi.v1.MediaTypeEnum[message.media] === undefined ? message.media : $root.baml_core.cffi.v1.MediaTypeEnum[message.media] : message.media; + object.media = options.enums === String ? $root.baml_bridge.cffi.v1.MediaTypeEnum[message.media] === undefined ? message.media : $root.baml_bridge.cffi.v1.MediaTypeEnum[message.media] : message.media; if (message.mimeType != null && message.hasOwnProperty("mimeType")) { object.mimeType = message.mimeType; if (options.oneofs) @@ -15389,7 +15389,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlValueMedia to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlValueMedia + * @memberof baml_bridge.cffi.v1.BamlValueMedia * @instance * @returns {Object.} JSON object */ @@ -15400,7 +15400,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlValueMedia * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlValueMedia + * @memberof baml_bridge.cffi.v1.BamlValueMedia * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -15409,7 +15409,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlValueMedia"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlValueMedia"; }; return BamlValueMedia; @@ -15419,20 +15419,20 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlValuePromptAst. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlValuePromptAst - * @property {baml_core.cffi.v1.IBamlValuePromptAstSimple|null} [simple] BamlValuePromptAst simple - * @property {baml_core.cffi.v1.IBamlValuePromptAstMessage|null} [message] BamlValuePromptAst message - * @property {baml_core.cffi.v1.IBamlValuePromptAstMultiple|null} [multiple] BamlValuePromptAst multiple + * @property {baml_bridge.cffi.v1.IBamlValuePromptAstSimple|null} [simple] BamlValuePromptAst simple + * @property {baml_bridge.cffi.v1.IBamlValuePromptAstMessage|null} [message] BamlValuePromptAst message + * @property {baml_bridge.cffi.v1.IBamlValuePromptAstMultiple|null} [multiple] BamlValuePromptAst multiple */ /** * Constructs a new BamlValuePromptAst. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlValuePromptAst. * @implements IBamlValuePromptAst * @constructor - * @param {baml_core.cffi.v1.IBamlValuePromptAst=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlValuePromptAst=} [properties] Properties to set */ function BamlValuePromptAst(properties) { if (properties) @@ -15443,24 +15443,24 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValuePromptAst simple. - * @member {baml_core.cffi.v1.IBamlValuePromptAstSimple|null|undefined} simple - * @memberof baml_core.cffi.v1.BamlValuePromptAst + * @member {baml_bridge.cffi.v1.IBamlValuePromptAstSimple|null|undefined} simple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAst * @instance */ BamlValuePromptAst.prototype.simple = null; /** * BamlValuePromptAst message. - * @member {baml_core.cffi.v1.IBamlValuePromptAstMessage|null|undefined} message - * @memberof baml_core.cffi.v1.BamlValuePromptAst + * @member {baml_bridge.cffi.v1.IBamlValuePromptAstMessage|null|undefined} message + * @memberof baml_bridge.cffi.v1.BamlValuePromptAst * @instance */ BamlValuePromptAst.prototype.message = null; /** * BamlValuePromptAst multiple. - * @member {baml_core.cffi.v1.IBamlValuePromptAstMultiple|null|undefined} multiple - * @memberof baml_core.cffi.v1.BamlValuePromptAst + * @member {baml_bridge.cffi.v1.IBamlValuePromptAstMultiple|null|undefined} multiple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAst * @instance */ BamlValuePromptAst.prototype.multiple = null; @@ -15471,7 +15471,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValuePromptAst value. * @member {"simple"|"message"|"multiple"|undefined} value - * @memberof baml_core.cffi.v1.BamlValuePromptAst + * @memberof baml_bridge.cffi.v1.BamlValuePromptAst * @instance */ Object.defineProperty(BamlValuePromptAst.prototype, "value", { @@ -15482,21 +15482,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlValuePromptAst instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlValuePromptAst + * @memberof baml_bridge.cffi.v1.BamlValuePromptAst * @static - * @param {baml_core.cffi.v1.IBamlValuePromptAst=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlValuePromptAst} BamlValuePromptAst instance + * @param {baml_bridge.cffi.v1.IBamlValuePromptAst=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlValuePromptAst} BamlValuePromptAst instance */ BamlValuePromptAst.create = function create(properties) { return new BamlValuePromptAst(properties); }; /** - * Encodes the specified BamlValuePromptAst message. Does not implicitly {@link baml_core.cffi.v1.BamlValuePromptAst.verify|verify} messages. + * Encodes the specified BamlValuePromptAst message. Does not implicitly {@link baml_bridge.cffi.v1.BamlValuePromptAst.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlValuePromptAst + * @memberof baml_bridge.cffi.v1.BamlValuePromptAst * @static - * @param {baml_core.cffi.v1.IBamlValuePromptAst} message BamlValuePromptAst message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValuePromptAst} message BamlValuePromptAst message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -15508,20 +15508,20 @@ export const baml_core = $root.baml_core = (() => { if (q > $util.recursionLimit) throw Error("max depth exceeded"); if (message.simple != null && Object.hasOwnProperty.call(message, "simple")) - $root.baml_core.cffi.v1.BamlValuePromptAstSimple.encode(message.simple, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlValuePromptAstSimple.encode(message.simple, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); if (message.message != null && Object.hasOwnProperty.call(message, "message")) - $root.baml_core.cffi.v1.BamlValuePromptAstMessage.encode(message.message, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlValuePromptAstMessage.encode(message.message, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); if (message.multiple != null && Object.hasOwnProperty.call(message, "multiple")) - $root.baml_core.cffi.v1.BamlValuePromptAstMultiple.encode(message.multiple, writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlValuePromptAstMultiple.encode(message.multiple, writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlValuePromptAst message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlValuePromptAst.verify|verify} messages. + * Encodes the specified BamlValuePromptAst message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlValuePromptAst.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlValuePromptAst + * @memberof baml_bridge.cffi.v1.BamlValuePromptAst * @static - * @param {baml_core.cffi.v1.IBamlValuePromptAst} message BamlValuePromptAst message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValuePromptAst} message BamlValuePromptAst message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -15532,11 +15532,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValuePromptAst message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlValuePromptAst + * @memberof baml_bridge.cffi.v1.BamlValuePromptAst * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlValuePromptAst} BamlValuePromptAst + * @returns {baml_bridge.cffi.v1.BamlValuePromptAst} BamlValuePromptAst * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -15547,22 +15547,22 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlValuePromptAst(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlValuePromptAst(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.simple = $root.baml_core.cffi.v1.BamlValuePromptAstSimple.decode(reader, reader.uint32(), undefined, long + 1); + message.simple = $root.baml_bridge.cffi.v1.BamlValuePromptAstSimple.decode(reader, reader.uint32(), undefined, long + 1); break; } case 2: { - message.message = $root.baml_core.cffi.v1.BamlValuePromptAstMessage.decode(reader, reader.uint32(), undefined, long + 1); + message.message = $root.baml_bridge.cffi.v1.BamlValuePromptAstMessage.decode(reader, reader.uint32(), undefined, long + 1); break; } case 3: { - message.multiple = $root.baml_core.cffi.v1.BamlValuePromptAstMultiple.decode(reader, reader.uint32(), undefined, long + 1); + message.multiple = $root.baml_bridge.cffi.v1.BamlValuePromptAstMultiple.decode(reader, reader.uint32(), undefined, long + 1); break; } default: @@ -15576,10 +15576,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValuePromptAst message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlValuePromptAst + * @memberof baml_bridge.cffi.v1.BamlValuePromptAst * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlValuePromptAst} BamlValuePromptAst + * @returns {baml_bridge.cffi.v1.BamlValuePromptAst} BamlValuePromptAst * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -15592,7 +15592,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlValuePromptAst message. * @function verify - * @memberof baml_core.cffi.v1.BamlValuePromptAst + * @memberof baml_bridge.cffi.v1.BamlValuePromptAst * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -15608,7 +15608,7 @@ export const baml_core = $root.baml_core = (() => { if (message.simple != null && message.hasOwnProperty("simple")) { properties.value = 1; { - let error = $root.baml_core.cffi.v1.BamlValuePromptAstSimple.verify(message.simple, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlValuePromptAstSimple.verify(message.simple, long + 1); if (error) return "simple." + error; } @@ -15618,7 +15618,7 @@ export const baml_core = $root.baml_core = (() => { return "value: multiple values"; properties.value = 1; { - let error = $root.baml_core.cffi.v1.BamlValuePromptAstMessage.verify(message.message, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlValuePromptAstMessage.verify(message.message, long + 1); if (error) return "message." + error; } @@ -15628,7 +15628,7 @@ export const baml_core = $root.baml_core = (() => { return "value: multiple values"; properties.value = 1; { - let error = $root.baml_core.cffi.v1.BamlValuePromptAstMultiple.verify(message.multiple, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlValuePromptAstMultiple.verify(message.multiple, long + 1); if (error) return "multiple." + error; } @@ -15639,35 +15639,35 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlValuePromptAst message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlValuePromptAst + * @memberof baml_bridge.cffi.v1.BamlValuePromptAst * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlValuePromptAst} BamlValuePromptAst + * @returns {baml_bridge.cffi.v1.BamlValuePromptAst} BamlValuePromptAst */ BamlValuePromptAst.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlValuePromptAst) + if (object instanceof $root.baml_bridge.cffi.v1.BamlValuePromptAst) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlValuePromptAst: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlValuePromptAst: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlValuePromptAst(); + let message = new $root.baml_bridge.cffi.v1.BamlValuePromptAst(); if (object.simple != null) { if (!$util.isObject(object.simple)) - throw TypeError(".baml_core.cffi.v1.BamlValuePromptAst.simple: object expected"); - message.simple = $root.baml_core.cffi.v1.BamlValuePromptAstSimple.fromObject(object.simple, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlValuePromptAst.simple: object expected"); + message.simple = $root.baml_bridge.cffi.v1.BamlValuePromptAstSimple.fromObject(object.simple, long + 1); } if (object.message != null) { if (!$util.isObject(object.message)) - throw TypeError(".baml_core.cffi.v1.BamlValuePromptAst.message: object expected"); - message.message = $root.baml_core.cffi.v1.BamlValuePromptAstMessage.fromObject(object.message, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlValuePromptAst.message: object expected"); + message.message = $root.baml_bridge.cffi.v1.BamlValuePromptAstMessage.fromObject(object.message, long + 1); } if (object.multiple != null) { if (!$util.isObject(object.multiple)) - throw TypeError(".baml_core.cffi.v1.BamlValuePromptAst.multiple: object expected"); - message.multiple = $root.baml_core.cffi.v1.BamlValuePromptAstMultiple.fromObject(object.multiple, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlValuePromptAst.multiple: object expected"); + message.multiple = $root.baml_bridge.cffi.v1.BamlValuePromptAstMultiple.fromObject(object.multiple, long + 1); } return message; }; @@ -15675,9 +15675,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlValuePromptAst message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlValuePromptAst + * @memberof baml_bridge.cffi.v1.BamlValuePromptAst * @static - * @param {baml_core.cffi.v1.BamlValuePromptAst} message BamlValuePromptAst + * @param {baml_bridge.cffi.v1.BamlValuePromptAst} message BamlValuePromptAst * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -15690,17 +15690,17 @@ export const baml_core = $root.baml_core = (() => { throw Error("max depth exceeded"); let object = {}; if (message.simple != null && message.hasOwnProperty("simple")) { - object.simple = $root.baml_core.cffi.v1.BamlValuePromptAstSimple.toObject(message.simple, options, q + 1); + object.simple = $root.baml_bridge.cffi.v1.BamlValuePromptAstSimple.toObject(message.simple, options, q + 1); if (options.oneofs) object.value = "simple"; } if (message.message != null && message.hasOwnProperty("message")) { - object.message = $root.baml_core.cffi.v1.BamlValuePromptAstMessage.toObject(message.message, options, q + 1); + object.message = $root.baml_bridge.cffi.v1.BamlValuePromptAstMessage.toObject(message.message, options, q + 1); if (options.oneofs) object.value = "message"; } if (message.multiple != null && message.hasOwnProperty("multiple")) { - object.multiple = $root.baml_core.cffi.v1.BamlValuePromptAstMultiple.toObject(message.multiple, options, q + 1); + object.multiple = $root.baml_bridge.cffi.v1.BamlValuePromptAstMultiple.toObject(message.multiple, options, q + 1); if (options.oneofs) object.value = "multiple"; } @@ -15710,7 +15710,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlValuePromptAst to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlValuePromptAst + * @memberof baml_bridge.cffi.v1.BamlValuePromptAst * @instance * @returns {Object.} JSON object */ @@ -15721,7 +15721,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlValuePromptAst * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlValuePromptAst + * @memberof baml_bridge.cffi.v1.BamlValuePromptAst * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -15730,7 +15730,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlValuePromptAst"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlValuePromptAst"; }; return BamlValuePromptAst; @@ -15740,20 +15740,20 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlValuePromptAstMessage. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlValuePromptAstMessage * @property {string|null} [role] BamlValuePromptAstMessage role - * @property {baml_core.cffi.v1.IBamlValuePromptAstSimple|null} [content] BamlValuePromptAstMessage content + * @property {baml_bridge.cffi.v1.IBamlValuePromptAstSimple|null} [content] BamlValuePromptAstMessage content * @property {string|null} [metadataAsJson] BamlValuePromptAstMessage metadataAsJson */ /** * Constructs a new BamlValuePromptAstMessage. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlValuePromptAstMessage. * @implements IBamlValuePromptAstMessage * @constructor - * @param {baml_core.cffi.v1.IBamlValuePromptAstMessage=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlValuePromptAstMessage=} [properties] Properties to set */ function BamlValuePromptAstMessage(properties) { if (properties) @@ -15765,15 +15765,15 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValuePromptAstMessage role. * @member {string} role - * @memberof baml_core.cffi.v1.BamlValuePromptAstMessage + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMessage * @instance */ BamlValuePromptAstMessage.prototype.role = ""; /** * BamlValuePromptAstMessage content. - * @member {baml_core.cffi.v1.IBamlValuePromptAstSimple|null|undefined} content - * @memberof baml_core.cffi.v1.BamlValuePromptAstMessage + * @member {baml_bridge.cffi.v1.IBamlValuePromptAstSimple|null|undefined} content + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMessage * @instance */ BamlValuePromptAstMessage.prototype.content = null; @@ -15781,7 +15781,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValuePromptAstMessage metadataAsJson. * @member {string} metadataAsJson - * @memberof baml_core.cffi.v1.BamlValuePromptAstMessage + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMessage * @instance */ BamlValuePromptAstMessage.prototype.metadataAsJson = ""; @@ -15789,21 +15789,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlValuePromptAstMessage instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlValuePromptAstMessage + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMessage * @static - * @param {baml_core.cffi.v1.IBamlValuePromptAstMessage=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlValuePromptAstMessage} BamlValuePromptAstMessage instance + * @param {baml_bridge.cffi.v1.IBamlValuePromptAstMessage=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlValuePromptAstMessage} BamlValuePromptAstMessage instance */ BamlValuePromptAstMessage.create = function create(properties) { return new BamlValuePromptAstMessage(properties); }; /** - * Encodes the specified BamlValuePromptAstMessage message. Does not implicitly {@link baml_core.cffi.v1.BamlValuePromptAstMessage.verify|verify} messages. + * Encodes the specified BamlValuePromptAstMessage message. Does not implicitly {@link baml_bridge.cffi.v1.BamlValuePromptAstMessage.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlValuePromptAstMessage + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMessage * @static - * @param {baml_core.cffi.v1.IBamlValuePromptAstMessage} message BamlValuePromptAstMessage message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValuePromptAstMessage} message BamlValuePromptAstMessage message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -15817,18 +15817,18 @@ export const baml_core = $root.baml_core = (() => { if (message.role != null && Object.hasOwnProperty.call(message, "role")) writer.uint32(/* id 1, wireType 2 =*/10).string(message.role); if (message.content != null && Object.hasOwnProperty.call(message, "content")) - $root.baml_core.cffi.v1.BamlValuePromptAstSimple.encode(message.content, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlValuePromptAstSimple.encode(message.content, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); if (message.metadataAsJson != null && Object.hasOwnProperty.call(message, "metadataAsJson")) writer.uint32(/* id 3, wireType 2 =*/26).string(message.metadataAsJson); return writer; }; /** - * Encodes the specified BamlValuePromptAstMessage message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlValuePromptAstMessage.verify|verify} messages. + * Encodes the specified BamlValuePromptAstMessage message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlValuePromptAstMessage.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlValuePromptAstMessage + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMessage * @static - * @param {baml_core.cffi.v1.IBamlValuePromptAstMessage} message BamlValuePromptAstMessage message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValuePromptAstMessage} message BamlValuePromptAstMessage message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -15839,11 +15839,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValuePromptAstMessage message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlValuePromptAstMessage + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMessage * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlValuePromptAstMessage} BamlValuePromptAstMessage + * @returns {baml_bridge.cffi.v1.BamlValuePromptAstMessage} BamlValuePromptAstMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -15854,7 +15854,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlValuePromptAstMessage(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlValuePromptAstMessage(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -15865,7 +15865,7 @@ export const baml_core = $root.baml_core = (() => { break; } case 2: { - message.content = $root.baml_core.cffi.v1.BamlValuePromptAstSimple.decode(reader, reader.uint32(), undefined, long + 1); + message.content = $root.baml_bridge.cffi.v1.BamlValuePromptAstSimple.decode(reader, reader.uint32(), undefined, long + 1); break; } case 3: { @@ -15883,10 +15883,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValuePromptAstMessage message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlValuePromptAstMessage + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMessage * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlValuePromptAstMessage} BamlValuePromptAstMessage + * @returns {baml_bridge.cffi.v1.BamlValuePromptAstMessage} BamlValuePromptAstMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -15899,7 +15899,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlValuePromptAstMessage message. * @function verify - * @memberof baml_core.cffi.v1.BamlValuePromptAstMessage + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMessage * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -15915,7 +15915,7 @@ export const baml_core = $root.baml_core = (() => { if (!$util.isString(message.role)) return "role: string expected"; if (message.content != null && message.hasOwnProperty("content")) { - let error = $root.baml_core.cffi.v1.BamlValuePromptAstSimple.verify(message.content, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlValuePromptAstSimple.verify(message.content, long + 1); if (error) return "content." + error; } @@ -15928,27 +15928,27 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlValuePromptAstMessage message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlValuePromptAstMessage + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMessage * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlValuePromptAstMessage} BamlValuePromptAstMessage + * @returns {baml_bridge.cffi.v1.BamlValuePromptAstMessage} BamlValuePromptAstMessage */ BamlValuePromptAstMessage.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlValuePromptAstMessage) + if (object instanceof $root.baml_bridge.cffi.v1.BamlValuePromptAstMessage) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlValuePromptAstMessage: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlValuePromptAstMessage: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlValuePromptAstMessage(); + let message = new $root.baml_bridge.cffi.v1.BamlValuePromptAstMessage(); if (object.role != null) message.role = String(object.role); if (object.content != null) { if (!$util.isObject(object.content)) - throw TypeError(".baml_core.cffi.v1.BamlValuePromptAstMessage.content: object expected"); - message.content = $root.baml_core.cffi.v1.BamlValuePromptAstSimple.fromObject(object.content, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlValuePromptAstMessage.content: object expected"); + message.content = $root.baml_bridge.cffi.v1.BamlValuePromptAstSimple.fromObject(object.content, long + 1); } if (object.metadataAsJson != null) message.metadataAsJson = String(object.metadataAsJson); @@ -15958,9 +15958,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlValuePromptAstMessage message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlValuePromptAstMessage + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMessage * @static - * @param {baml_core.cffi.v1.BamlValuePromptAstMessage} message BamlValuePromptAstMessage + * @param {baml_bridge.cffi.v1.BamlValuePromptAstMessage} message BamlValuePromptAstMessage * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -15980,7 +15980,7 @@ export const baml_core = $root.baml_core = (() => { if (message.role != null && message.hasOwnProperty("role")) object.role = message.role; if (message.content != null && message.hasOwnProperty("content")) - object.content = $root.baml_core.cffi.v1.BamlValuePromptAstSimple.toObject(message.content, options, q + 1); + object.content = $root.baml_bridge.cffi.v1.BamlValuePromptAstSimple.toObject(message.content, options, q + 1); if (message.metadataAsJson != null && message.hasOwnProperty("metadataAsJson")) object.metadataAsJson = message.metadataAsJson; return object; @@ -15989,7 +15989,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlValuePromptAstMessage to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlValuePromptAstMessage + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMessage * @instance * @returns {Object.} JSON object */ @@ -16000,7 +16000,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlValuePromptAstMessage * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlValuePromptAstMessage + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMessage * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -16009,7 +16009,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlValuePromptAstMessage"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlValuePromptAstMessage"; }; return BamlValuePromptAstMessage; @@ -16019,18 +16019,18 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlValuePromptAstMultiple. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlValuePromptAstMultiple - * @property {Array.|null} [items] BamlValuePromptAstMultiple items + * @property {Array.|null} [items] BamlValuePromptAstMultiple items */ /** * Constructs a new BamlValuePromptAstMultiple. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlValuePromptAstMultiple. * @implements IBamlValuePromptAstMultiple * @constructor - * @param {baml_core.cffi.v1.IBamlValuePromptAstMultiple=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlValuePromptAstMultiple=} [properties] Properties to set */ function BamlValuePromptAstMultiple(properties) { this.items = []; @@ -16042,8 +16042,8 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValuePromptAstMultiple items. - * @member {Array.} items - * @memberof baml_core.cffi.v1.BamlValuePromptAstMultiple + * @member {Array.} items + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMultiple * @instance */ BamlValuePromptAstMultiple.prototype.items = $util.emptyArray; @@ -16051,21 +16051,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlValuePromptAstMultiple instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlValuePromptAstMultiple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMultiple * @static - * @param {baml_core.cffi.v1.IBamlValuePromptAstMultiple=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlValuePromptAstMultiple} BamlValuePromptAstMultiple instance + * @param {baml_bridge.cffi.v1.IBamlValuePromptAstMultiple=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlValuePromptAstMultiple} BamlValuePromptAstMultiple instance */ BamlValuePromptAstMultiple.create = function create(properties) { return new BamlValuePromptAstMultiple(properties); }; /** - * Encodes the specified BamlValuePromptAstMultiple message. Does not implicitly {@link baml_core.cffi.v1.BamlValuePromptAstMultiple.verify|verify} messages. + * Encodes the specified BamlValuePromptAstMultiple message. Does not implicitly {@link baml_bridge.cffi.v1.BamlValuePromptAstMultiple.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlValuePromptAstMultiple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMultiple * @static - * @param {baml_core.cffi.v1.IBamlValuePromptAstMultiple} message BamlValuePromptAstMultiple message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValuePromptAstMultiple} message BamlValuePromptAstMultiple message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -16078,16 +16078,16 @@ export const baml_core = $root.baml_core = (() => { throw Error("max depth exceeded"); if (message.items != null && message.items.length) for (let i = 0; i < message.items.length; ++i) - $root.baml_core.cffi.v1.BamlValuePromptAst.encode(message.items[i], writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlValuePromptAst.encode(message.items[i], writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlValuePromptAstMultiple message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlValuePromptAstMultiple.verify|verify} messages. + * Encodes the specified BamlValuePromptAstMultiple message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlValuePromptAstMultiple.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlValuePromptAstMultiple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMultiple * @static - * @param {baml_core.cffi.v1.IBamlValuePromptAstMultiple} message BamlValuePromptAstMultiple message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValuePromptAstMultiple} message BamlValuePromptAstMultiple message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -16098,11 +16098,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValuePromptAstMultiple message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlValuePromptAstMultiple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMultiple * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlValuePromptAstMultiple} BamlValuePromptAstMultiple + * @returns {baml_bridge.cffi.v1.BamlValuePromptAstMultiple} BamlValuePromptAstMultiple * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -16113,7 +16113,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlValuePromptAstMultiple(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlValuePromptAstMultiple(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -16122,7 +16122,7 @@ export const baml_core = $root.baml_core = (() => { case 1: { if (!(message.items && message.items.length)) message.items = []; - message.items.push($root.baml_core.cffi.v1.BamlValuePromptAst.decode(reader, reader.uint32(), undefined, long + 1)); + message.items.push($root.baml_bridge.cffi.v1.BamlValuePromptAst.decode(reader, reader.uint32(), undefined, long + 1)); break; } default: @@ -16136,10 +16136,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValuePromptAstMultiple message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlValuePromptAstMultiple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMultiple * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlValuePromptAstMultiple} BamlValuePromptAstMultiple + * @returns {baml_bridge.cffi.v1.BamlValuePromptAstMultiple} BamlValuePromptAstMultiple * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -16152,7 +16152,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlValuePromptAstMultiple message. * @function verify - * @memberof baml_core.cffi.v1.BamlValuePromptAstMultiple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMultiple * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -16168,7 +16168,7 @@ export const baml_core = $root.baml_core = (() => { if (!Array.isArray(message.items)) return "items: array expected"; for (let i = 0; i < message.items.length; ++i) { - let error = $root.baml_core.cffi.v1.BamlValuePromptAst.verify(message.items[i], long + 1); + let error = $root.baml_bridge.cffi.v1.BamlValuePromptAst.verify(message.items[i], long + 1); if (error) return "items." + error; } @@ -16179,29 +16179,29 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlValuePromptAstMultiple message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlValuePromptAstMultiple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMultiple * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlValuePromptAstMultiple} BamlValuePromptAstMultiple + * @returns {baml_bridge.cffi.v1.BamlValuePromptAstMultiple} BamlValuePromptAstMultiple */ BamlValuePromptAstMultiple.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlValuePromptAstMultiple) + if (object instanceof $root.baml_bridge.cffi.v1.BamlValuePromptAstMultiple) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlValuePromptAstMultiple: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlValuePromptAstMultiple: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlValuePromptAstMultiple(); + let message = new $root.baml_bridge.cffi.v1.BamlValuePromptAstMultiple(); if (object.items) { if (!Array.isArray(object.items)) - throw TypeError(".baml_core.cffi.v1.BamlValuePromptAstMultiple.items: array expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlValuePromptAstMultiple.items: array expected"); message.items = []; for (let i = 0; i < object.items.length; ++i) { if (!$util.isObject(object.items[i])) - throw TypeError(".baml_core.cffi.v1.BamlValuePromptAstMultiple.items: object expected"); - message.items[i] = $root.baml_core.cffi.v1.BamlValuePromptAst.fromObject(object.items[i], long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlValuePromptAstMultiple.items: object expected"); + message.items[i] = $root.baml_bridge.cffi.v1.BamlValuePromptAst.fromObject(object.items[i], long + 1); } } return message; @@ -16210,9 +16210,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlValuePromptAstMultiple message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlValuePromptAstMultiple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMultiple * @static - * @param {baml_core.cffi.v1.BamlValuePromptAstMultiple} message BamlValuePromptAstMultiple + * @param {baml_bridge.cffi.v1.BamlValuePromptAstMultiple} message BamlValuePromptAstMultiple * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -16229,7 +16229,7 @@ export const baml_core = $root.baml_core = (() => { if (message.items && message.items.length) { object.items = []; for (let j = 0; j < message.items.length; ++j) - object.items[j] = $root.baml_core.cffi.v1.BamlValuePromptAst.toObject(message.items[j], options, q + 1); + object.items[j] = $root.baml_bridge.cffi.v1.BamlValuePromptAst.toObject(message.items[j], options, q + 1); } return object; }; @@ -16237,7 +16237,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlValuePromptAstMultiple to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlValuePromptAstMultiple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMultiple * @instance * @returns {Object.} JSON object */ @@ -16248,7 +16248,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlValuePromptAstMultiple * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlValuePromptAstMultiple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstMultiple * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -16257,7 +16257,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlValuePromptAstMultiple"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlValuePromptAstMultiple"; }; return BamlValuePromptAstMultiple; @@ -16267,20 +16267,20 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlValuePromptAstSimple. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlValuePromptAstSimple * @property {string|null} [string] BamlValuePromptAstSimple string - * @property {baml_core.cffi.v1.IBamlValueMedia|null} [media] BamlValuePromptAstSimple media - * @property {baml_core.cffi.v1.IBamlValuePromptAstSimpleMultiple|null} [multiple] BamlValuePromptAstSimple multiple + * @property {baml_bridge.cffi.v1.IBamlValueMedia|null} [media] BamlValuePromptAstSimple media + * @property {baml_bridge.cffi.v1.IBamlValuePromptAstSimpleMultiple|null} [multiple] BamlValuePromptAstSimple multiple */ /** * Constructs a new BamlValuePromptAstSimple. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlValuePromptAstSimple. * @implements IBamlValuePromptAstSimple * @constructor - * @param {baml_core.cffi.v1.IBamlValuePromptAstSimple=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlValuePromptAstSimple=} [properties] Properties to set */ function BamlValuePromptAstSimple(properties) { if (properties) @@ -16292,23 +16292,23 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValuePromptAstSimple string. * @member {string|null|undefined} string - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimple * @instance */ BamlValuePromptAstSimple.prototype.string = null; /** * BamlValuePromptAstSimple media. - * @member {baml_core.cffi.v1.IBamlValueMedia|null|undefined} media - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimple + * @member {baml_bridge.cffi.v1.IBamlValueMedia|null|undefined} media + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimple * @instance */ BamlValuePromptAstSimple.prototype.media = null; /** * BamlValuePromptAstSimple multiple. - * @member {baml_core.cffi.v1.IBamlValuePromptAstSimpleMultiple|null|undefined} multiple - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimple + * @member {baml_bridge.cffi.v1.IBamlValuePromptAstSimpleMultiple|null|undefined} multiple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimple * @instance */ BamlValuePromptAstSimple.prototype.multiple = null; @@ -16319,7 +16319,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValuePromptAstSimple value. * @member {"string"|"media"|"multiple"|undefined} value - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimple * @instance */ Object.defineProperty(BamlValuePromptAstSimple.prototype, "value", { @@ -16330,21 +16330,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlValuePromptAstSimple instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimple * @static - * @param {baml_core.cffi.v1.IBamlValuePromptAstSimple=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlValuePromptAstSimple} BamlValuePromptAstSimple instance + * @param {baml_bridge.cffi.v1.IBamlValuePromptAstSimple=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlValuePromptAstSimple} BamlValuePromptAstSimple instance */ BamlValuePromptAstSimple.create = function create(properties) { return new BamlValuePromptAstSimple(properties); }; /** - * Encodes the specified BamlValuePromptAstSimple message. Does not implicitly {@link baml_core.cffi.v1.BamlValuePromptAstSimple.verify|verify} messages. + * Encodes the specified BamlValuePromptAstSimple message. Does not implicitly {@link baml_bridge.cffi.v1.BamlValuePromptAstSimple.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimple * @static - * @param {baml_core.cffi.v1.IBamlValuePromptAstSimple} message BamlValuePromptAstSimple message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValuePromptAstSimple} message BamlValuePromptAstSimple message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -16358,18 +16358,18 @@ export const baml_core = $root.baml_core = (() => { if (message.string != null && Object.hasOwnProperty.call(message, "string")) writer.uint32(/* id 1, wireType 2 =*/10).string(message.string); if (message.media != null && Object.hasOwnProperty.call(message, "media")) - $root.baml_core.cffi.v1.BamlValueMedia.encode(message.media, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlValueMedia.encode(message.media, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim(); if (message.multiple != null && Object.hasOwnProperty.call(message, "multiple")) - $root.baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple.encode(message.multiple, writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple.encode(message.multiple, writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlValuePromptAstSimple message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlValuePromptAstSimple.verify|verify} messages. + * Encodes the specified BamlValuePromptAstSimple message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlValuePromptAstSimple.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimple * @static - * @param {baml_core.cffi.v1.IBamlValuePromptAstSimple} message BamlValuePromptAstSimple message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValuePromptAstSimple} message BamlValuePromptAstSimple message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -16380,11 +16380,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValuePromptAstSimple message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimple * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlValuePromptAstSimple} BamlValuePromptAstSimple + * @returns {baml_bridge.cffi.v1.BamlValuePromptAstSimple} BamlValuePromptAstSimple * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -16395,7 +16395,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlValuePromptAstSimple(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlValuePromptAstSimple(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -16406,11 +16406,11 @@ export const baml_core = $root.baml_core = (() => { break; } case 2: { - message.media = $root.baml_core.cffi.v1.BamlValueMedia.decode(reader, reader.uint32(), undefined, long + 1); + message.media = $root.baml_bridge.cffi.v1.BamlValueMedia.decode(reader, reader.uint32(), undefined, long + 1); break; } case 3: { - message.multiple = $root.baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple.decode(reader, reader.uint32(), undefined, long + 1); + message.multiple = $root.baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple.decode(reader, reader.uint32(), undefined, long + 1); break; } default: @@ -16424,10 +16424,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValuePromptAstSimple message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimple * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlValuePromptAstSimple} BamlValuePromptAstSimple + * @returns {baml_bridge.cffi.v1.BamlValuePromptAstSimple} BamlValuePromptAstSimple * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -16440,7 +16440,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlValuePromptAstSimple message. * @function verify - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimple * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -16463,7 +16463,7 @@ export const baml_core = $root.baml_core = (() => { return "value: multiple values"; properties.value = 1; { - let error = $root.baml_core.cffi.v1.BamlValueMedia.verify(message.media, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlValueMedia.verify(message.media, long + 1); if (error) return "media." + error; } @@ -16473,7 +16473,7 @@ export const baml_core = $root.baml_core = (() => { return "value: multiple values"; properties.value = 1; { - let error = $root.baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple.verify(message.multiple, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple.verify(message.multiple, long + 1); if (error) return "multiple." + error; } @@ -16484,32 +16484,32 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlValuePromptAstSimple message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimple * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlValuePromptAstSimple} BamlValuePromptAstSimple + * @returns {baml_bridge.cffi.v1.BamlValuePromptAstSimple} BamlValuePromptAstSimple */ BamlValuePromptAstSimple.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlValuePromptAstSimple) + if (object instanceof $root.baml_bridge.cffi.v1.BamlValuePromptAstSimple) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlValuePromptAstSimple: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlValuePromptAstSimple: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlValuePromptAstSimple(); + let message = new $root.baml_bridge.cffi.v1.BamlValuePromptAstSimple(); if (object.string != null) message.string = String(object.string); if (object.media != null) { if (!$util.isObject(object.media)) - throw TypeError(".baml_core.cffi.v1.BamlValuePromptAstSimple.media: object expected"); - message.media = $root.baml_core.cffi.v1.BamlValueMedia.fromObject(object.media, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlValuePromptAstSimple.media: object expected"); + message.media = $root.baml_bridge.cffi.v1.BamlValueMedia.fromObject(object.media, long + 1); } if (object.multiple != null) { if (!$util.isObject(object.multiple)) - throw TypeError(".baml_core.cffi.v1.BamlValuePromptAstSimple.multiple: object expected"); - message.multiple = $root.baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple.fromObject(object.multiple, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlValuePromptAstSimple.multiple: object expected"); + message.multiple = $root.baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple.fromObject(object.multiple, long + 1); } return message; }; @@ -16517,9 +16517,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlValuePromptAstSimple message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimple * @static - * @param {baml_core.cffi.v1.BamlValuePromptAstSimple} message BamlValuePromptAstSimple + * @param {baml_bridge.cffi.v1.BamlValuePromptAstSimple} message BamlValuePromptAstSimple * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -16537,12 +16537,12 @@ export const baml_core = $root.baml_core = (() => { object.value = "string"; } if (message.media != null && message.hasOwnProperty("media")) { - object.media = $root.baml_core.cffi.v1.BamlValueMedia.toObject(message.media, options, q + 1); + object.media = $root.baml_bridge.cffi.v1.BamlValueMedia.toObject(message.media, options, q + 1); if (options.oneofs) object.value = "media"; } if (message.multiple != null && message.hasOwnProperty("multiple")) { - object.multiple = $root.baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple.toObject(message.multiple, options, q + 1); + object.multiple = $root.baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple.toObject(message.multiple, options, q + 1); if (options.oneofs) object.value = "multiple"; } @@ -16552,7 +16552,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlValuePromptAstSimple to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimple * @instance * @returns {Object.} JSON object */ @@ -16563,7 +16563,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlValuePromptAstSimple * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimple * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -16572,7 +16572,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlValuePromptAstSimple"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlValuePromptAstSimple"; }; return BamlValuePromptAstSimple; @@ -16582,18 +16582,18 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlValuePromptAstSimpleMultiple. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlValuePromptAstSimpleMultiple - * @property {Array.|null} [items] BamlValuePromptAstSimpleMultiple items + * @property {Array.|null} [items] BamlValuePromptAstSimpleMultiple items */ /** * Constructs a new BamlValuePromptAstSimpleMultiple. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlValuePromptAstSimpleMultiple. * @implements IBamlValuePromptAstSimpleMultiple * @constructor - * @param {baml_core.cffi.v1.IBamlValuePromptAstSimpleMultiple=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlValuePromptAstSimpleMultiple=} [properties] Properties to set */ function BamlValuePromptAstSimpleMultiple(properties) { this.items = []; @@ -16605,8 +16605,8 @@ export const baml_core = $root.baml_core = (() => { /** * BamlValuePromptAstSimpleMultiple items. - * @member {Array.} items - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple + * @member {Array.} items + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple * @instance */ BamlValuePromptAstSimpleMultiple.prototype.items = $util.emptyArray; @@ -16614,21 +16614,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlValuePromptAstSimpleMultiple instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple * @static - * @param {baml_core.cffi.v1.IBamlValuePromptAstSimpleMultiple=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple} BamlValuePromptAstSimpleMultiple instance + * @param {baml_bridge.cffi.v1.IBamlValuePromptAstSimpleMultiple=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple} BamlValuePromptAstSimpleMultiple instance */ BamlValuePromptAstSimpleMultiple.create = function create(properties) { return new BamlValuePromptAstSimpleMultiple(properties); }; /** - * Encodes the specified BamlValuePromptAstSimpleMultiple message. Does not implicitly {@link baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple.verify|verify} messages. + * Encodes the specified BamlValuePromptAstSimpleMultiple message. Does not implicitly {@link baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple * @static - * @param {baml_core.cffi.v1.IBamlValuePromptAstSimpleMultiple} message BamlValuePromptAstSimpleMultiple message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValuePromptAstSimpleMultiple} message BamlValuePromptAstSimpleMultiple message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -16641,16 +16641,16 @@ export const baml_core = $root.baml_core = (() => { throw Error("max depth exceeded"); if (message.items != null && message.items.length) for (let i = 0; i < message.items.length; ++i) - $root.baml_core.cffi.v1.BamlValuePromptAstSimple.encode(message.items[i], writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlValuePromptAstSimple.encode(message.items[i], writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlValuePromptAstSimpleMultiple message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple.verify|verify} messages. + * Encodes the specified BamlValuePromptAstSimpleMultiple message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple * @static - * @param {baml_core.cffi.v1.IBamlValuePromptAstSimpleMultiple} message BamlValuePromptAstSimpleMultiple message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlValuePromptAstSimpleMultiple} message BamlValuePromptAstSimpleMultiple message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -16661,11 +16661,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValuePromptAstSimpleMultiple message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple} BamlValuePromptAstSimpleMultiple + * @returns {baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple} BamlValuePromptAstSimpleMultiple * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -16676,7 +16676,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -16685,7 +16685,7 @@ export const baml_core = $root.baml_core = (() => { case 1: { if (!(message.items && message.items.length)) message.items = []; - message.items.push($root.baml_core.cffi.v1.BamlValuePromptAstSimple.decode(reader, reader.uint32(), undefined, long + 1)); + message.items.push($root.baml_bridge.cffi.v1.BamlValuePromptAstSimple.decode(reader, reader.uint32(), undefined, long + 1)); break; } default: @@ -16699,10 +16699,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlValuePromptAstSimpleMultiple message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple} BamlValuePromptAstSimpleMultiple + * @returns {baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple} BamlValuePromptAstSimpleMultiple * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -16715,7 +16715,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlValuePromptAstSimpleMultiple message. * @function verify - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -16731,7 +16731,7 @@ export const baml_core = $root.baml_core = (() => { if (!Array.isArray(message.items)) return "items: array expected"; for (let i = 0; i < message.items.length; ++i) { - let error = $root.baml_core.cffi.v1.BamlValuePromptAstSimple.verify(message.items[i], long + 1); + let error = $root.baml_bridge.cffi.v1.BamlValuePromptAstSimple.verify(message.items[i], long + 1); if (error) return "items." + error; } @@ -16742,29 +16742,29 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlValuePromptAstSimpleMultiple message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple} BamlValuePromptAstSimpleMultiple + * @returns {baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple} BamlValuePromptAstSimpleMultiple */ BamlValuePromptAstSimpleMultiple.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple) + if (object instanceof $root.baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple(); + let message = new $root.baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple(); if (object.items) { if (!Array.isArray(object.items)) - throw TypeError(".baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple.items: array expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple.items: array expected"); message.items = []; for (let i = 0; i < object.items.length; ++i) { if (!$util.isObject(object.items[i])) - throw TypeError(".baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple.items: object expected"); - message.items[i] = $root.baml_core.cffi.v1.BamlValuePromptAstSimple.fromObject(object.items[i], long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple.items: object expected"); + message.items[i] = $root.baml_bridge.cffi.v1.BamlValuePromptAstSimple.fromObject(object.items[i], long + 1); } } return message; @@ -16773,9 +16773,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlValuePromptAstSimpleMultiple message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple * @static - * @param {baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple} message BamlValuePromptAstSimpleMultiple + * @param {baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple} message BamlValuePromptAstSimpleMultiple * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -16792,7 +16792,7 @@ export const baml_core = $root.baml_core = (() => { if (message.items && message.items.length) { object.items = []; for (let j = 0; j < message.items.length; ++j) - object.items[j] = $root.baml_core.cffi.v1.BamlValuePromptAstSimple.toObject(message.items[j], options, q + 1); + object.items[j] = $root.baml_bridge.cffi.v1.BamlValuePromptAstSimple.toObject(message.items[j], options, q + 1); } return object; }; @@ -16800,7 +16800,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlValuePromptAstSimpleMultiple to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple * @instance * @returns {Object.} JSON object */ @@ -16811,7 +16811,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlValuePromptAstSimpleMultiple * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple + * @memberof baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -16820,7 +16820,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlValuePromptAstSimpleMultiple"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultiple"; }; return BamlValuePromptAstSimpleMultiple; @@ -16830,18 +16830,18 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlToHostCall. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlToHostCall - * @property {Array.|null} [args] BamlToHostCall args + * @property {Array.|null} [args] BamlToHostCall args */ /** * Constructs a new BamlToHostCall. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlToHostCall. * @implements IBamlToHostCall * @constructor - * @param {baml_core.cffi.v1.IBamlToHostCall=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlToHostCall=} [properties] Properties to set */ function BamlToHostCall(properties) { this.args = []; @@ -16853,8 +16853,8 @@ export const baml_core = $root.baml_core = (() => { /** * BamlToHostCall args. - * @member {Array.} args - * @memberof baml_core.cffi.v1.BamlToHostCall + * @member {Array.} args + * @memberof baml_bridge.cffi.v1.BamlToHostCall * @instance */ BamlToHostCall.prototype.args = $util.emptyArray; @@ -16862,21 +16862,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlToHostCall instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlToHostCall + * @memberof baml_bridge.cffi.v1.BamlToHostCall * @static - * @param {baml_core.cffi.v1.IBamlToHostCall=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlToHostCall} BamlToHostCall instance + * @param {baml_bridge.cffi.v1.IBamlToHostCall=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlToHostCall} BamlToHostCall instance */ BamlToHostCall.create = function create(properties) { return new BamlToHostCall(properties); }; /** - * Encodes the specified BamlToHostCall message. Does not implicitly {@link baml_core.cffi.v1.BamlToHostCall.verify|verify} messages. + * Encodes the specified BamlToHostCall message. Does not implicitly {@link baml_bridge.cffi.v1.BamlToHostCall.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlToHostCall + * @memberof baml_bridge.cffi.v1.BamlToHostCall * @static - * @param {baml_core.cffi.v1.IBamlToHostCall} message BamlToHostCall message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlToHostCall} message BamlToHostCall message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -16889,16 +16889,16 @@ export const baml_core = $root.baml_core = (() => { throw Error("max depth exceeded"); if (message.args != null && message.args.length) for (let i = 0; i < message.args.length; ++i) - $root.baml_core.cffi.v1.BamlToHostArg.encode(message.args[i], writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlToHostArg.encode(message.args[i], writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); return writer; }; /** - * Encodes the specified BamlToHostCall message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlToHostCall.verify|verify} messages. + * Encodes the specified BamlToHostCall message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlToHostCall.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlToHostCall + * @memberof baml_bridge.cffi.v1.BamlToHostCall * @static - * @param {baml_core.cffi.v1.IBamlToHostCall} message BamlToHostCall message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlToHostCall} message BamlToHostCall message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -16909,11 +16909,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlToHostCall message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlToHostCall + * @memberof baml_bridge.cffi.v1.BamlToHostCall * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlToHostCall} BamlToHostCall + * @returns {baml_bridge.cffi.v1.BamlToHostCall} BamlToHostCall * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -16924,7 +16924,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlToHostCall(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlToHostCall(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -16933,7 +16933,7 @@ export const baml_core = $root.baml_core = (() => { case 1: { if (!(message.args && message.args.length)) message.args = []; - message.args.push($root.baml_core.cffi.v1.BamlToHostArg.decode(reader, reader.uint32(), undefined, long + 1)); + message.args.push($root.baml_bridge.cffi.v1.BamlToHostArg.decode(reader, reader.uint32(), undefined, long + 1)); break; } default: @@ -16947,10 +16947,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlToHostCall message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlToHostCall + * @memberof baml_bridge.cffi.v1.BamlToHostCall * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlToHostCall} BamlToHostCall + * @returns {baml_bridge.cffi.v1.BamlToHostCall} BamlToHostCall * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -16963,7 +16963,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlToHostCall message. * @function verify - * @memberof baml_core.cffi.v1.BamlToHostCall + * @memberof baml_bridge.cffi.v1.BamlToHostCall * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -16979,7 +16979,7 @@ export const baml_core = $root.baml_core = (() => { if (!Array.isArray(message.args)) return "args: array expected"; for (let i = 0; i < message.args.length; ++i) { - let error = $root.baml_core.cffi.v1.BamlToHostArg.verify(message.args[i], long + 1); + let error = $root.baml_bridge.cffi.v1.BamlToHostArg.verify(message.args[i], long + 1); if (error) return "args." + error; } @@ -16990,29 +16990,29 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlToHostCall message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlToHostCall + * @memberof baml_bridge.cffi.v1.BamlToHostCall * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlToHostCall} BamlToHostCall + * @returns {baml_bridge.cffi.v1.BamlToHostCall} BamlToHostCall */ BamlToHostCall.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlToHostCall) + if (object instanceof $root.baml_bridge.cffi.v1.BamlToHostCall) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlToHostCall: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlToHostCall: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlToHostCall(); + let message = new $root.baml_bridge.cffi.v1.BamlToHostCall(); if (object.args) { if (!Array.isArray(object.args)) - throw TypeError(".baml_core.cffi.v1.BamlToHostCall.args: array expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlToHostCall.args: array expected"); message.args = []; for (let i = 0; i < object.args.length; ++i) { if (!$util.isObject(object.args[i])) - throw TypeError(".baml_core.cffi.v1.BamlToHostCall.args: object expected"); - message.args[i] = $root.baml_core.cffi.v1.BamlToHostArg.fromObject(object.args[i], long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlToHostCall.args: object expected"); + message.args[i] = $root.baml_bridge.cffi.v1.BamlToHostArg.fromObject(object.args[i], long + 1); } } return message; @@ -17021,9 +17021,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlToHostCall message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlToHostCall + * @memberof baml_bridge.cffi.v1.BamlToHostCall * @static - * @param {baml_core.cffi.v1.BamlToHostCall} message BamlToHostCall + * @param {baml_bridge.cffi.v1.BamlToHostCall} message BamlToHostCall * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -17040,7 +17040,7 @@ export const baml_core = $root.baml_core = (() => { if (message.args && message.args.length) { object.args = []; for (let j = 0; j < message.args.length; ++j) - object.args[j] = $root.baml_core.cffi.v1.BamlToHostArg.toObject(message.args[j], options, q + 1); + object.args[j] = $root.baml_bridge.cffi.v1.BamlToHostArg.toObject(message.args[j], options, q + 1); } return object; }; @@ -17048,7 +17048,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlToHostCall to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlToHostCall + * @memberof baml_bridge.cffi.v1.BamlToHostCall * @instance * @returns {Object.} JSON object */ @@ -17059,7 +17059,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlToHostCall * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlToHostCall + * @memberof baml_bridge.cffi.v1.BamlToHostCall * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -17068,7 +17068,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlToHostCall"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlToHostCall"; }; return BamlToHostCall; @@ -17078,20 +17078,20 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlToHostArg. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlToHostArg - * @property {baml_core.cffi.v1.IBamlOutboundValue|null} [value] BamlToHostArg value + * @property {baml_bridge.cffi.v1.IBamlOutboundValue|null} [value] BamlToHostArg value * @property {string|null} [argName] BamlToHostArg argName * @property {boolean|null} [isOptionalArg] BamlToHostArg isOptionalArg */ /** * Constructs a new BamlToHostArg. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlToHostArg. * @implements IBamlToHostArg * @constructor - * @param {baml_core.cffi.v1.IBamlToHostArg=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlToHostArg=} [properties] Properties to set */ function BamlToHostArg(properties) { if (properties) @@ -17102,8 +17102,8 @@ export const baml_core = $root.baml_core = (() => { /** * BamlToHostArg value. - * @member {baml_core.cffi.v1.IBamlOutboundValue|null|undefined} value - * @memberof baml_core.cffi.v1.BamlToHostArg + * @member {baml_bridge.cffi.v1.IBamlOutboundValue|null|undefined} value + * @memberof baml_bridge.cffi.v1.BamlToHostArg * @instance */ BamlToHostArg.prototype.value = null; @@ -17111,7 +17111,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlToHostArg argName. * @member {string} argName - * @memberof baml_core.cffi.v1.BamlToHostArg + * @memberof baml_bridge.cffi.v1.BamlToHostArg * @instance */ BamlToHostArg.prototype.argName = ""; @@ -17119,7 +17119,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlToHostArg isOptionalArg. * @member {boolean} isOptionalArg - * @memberof baml_core.cffi.v1.BamlToHostArg + * @memberof baml_bridge.cffi.v1.BamlToHostArg * @instance */ BamlToHostArg.prototype.isOptionalArg = false; @@ -17127,21 +17127,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlToHostArg instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlToHostArg + * @memberof baml_bridge.cffi.v1.BamlToHostArg * @static - * @param {baml_core.cffi.v1.IBamlToHostArg=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlToHostArg} BamlToHostArg instance + * @param {baml_bridge.cffi.v1.IBamlToHostArg=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlToHostArg} BamlToHostArg instance */ BamlToHostArg.create = function create(properties) { return new BamlToHostArg(properties); }; /** - * Encodes the specified BamlToHostArg message. Does not implicitly {@link baml_core.cffi.v1.BamlToHostArg.verify|verify} messages. + * Encodes the specified BamlToHostArg message. Does not implicitly {@link baml_bridge.cffi.v1.BamlToHostArg.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlToHostArg + * @memberof baml_bridge.cffi.v1.BamlToHostArg * @static - * @param {baml_core.cffi.v1.IBamlToHostArg} message BamlToHostArg message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlToHostArg} message BamlToHostArg message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -17153,7 +17153,7 @@ export const baml_core = $root.baml_core = (() => { if (q > $util.recursionLimit) throw Error("max depth exceeded"); if (message.value != null && Object.hasOwnProperty.call(message, "value")) - $root.baml_core.cffi.v1.BamlOutboundValue.encode(message.value, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); + $root.baml_bridge.cffi.v1.BamlOutboundValue.encode(message.value, writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim(); if (message.argName != null && Object.hasOwnProperty.call(message, "argName")) writer.uint32(/* id 2, wireType 2 =*/18).string(message.argName); if (message.isOptionalArg != null && Object.hasOwnProperty.call(message, "isOptionalArg")) @@ -17162,11 +17162,11 @@ export const baml_core = $root.baml_core = (() => { }; /** - * Encodes the specified BamlToHostArg message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlToHostArg.verify|verify} messages. + * Encodes the specified BamlToHostArg message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlToHostArg.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlToHostArg + * @memberof baml_bridge.cffi.v1.BamlToHostArg * @static - * @param {baml_core.cffi.v1.IBamlToHostArg} message BamlToHostArg message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlToHostArg} message BamlToHostArg message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -17177,11 +17177,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlToHostArg message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlToHostArg + * @memberof baml_bridge.cffi.v1.BamlToHostArg * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlToHostArg} BamlToHostArg + * @returns {baml_bridge.cffi.v1.BamlToHostArg} BamlToHostArg * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -17192,14 +17192,14 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlToHostArg(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlToHostArg(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.value = $root.baml_core.cffi.v1.BamlOutboundValue.decode(reader, reader.uint32(), undefined, long + 1); + message.value = $root.baml_bridge.cffi.v1.BamlOutboundValue.decode(reader, reader.uint32(), undefined, long + 1); break; } case 2: { @@ -17221,10 +17221,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlToHostArg message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlToHostArg + * @memberof baml_bridge.cffi.v1.BamlToHostArg * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlToHostArg} BamlToHostArg + * @returns {baml_bridge.cffi.v1.BamlToHostArg} BamlToHostArg * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -17237,7 +17237,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlToHostArg message. * @function verify - * @memberof baml_core.cffi.v1.BamlToHostArg + * @memberof baml_bridge.cffi.v1.BamlToHostArg * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -17250,7 +17250,7 @@ export const baml_core = $root.baml_core = (() => { if (long > $util.recursionLimit) return "maximum nesting depth exceeded"; if (message.value != null && message.hasOwnProperty("value")) { - let error = $root.baml_core.cffi.v1.BamlOutboundValue.verify(message.value, long + 1); + let error = $root.baml_bridge.cffi.v1.BamlOutboundValue.verify(message.value, long + 1); if (error) return "value." + error; } @@ -17266,25 +17266,25 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlToHostArg message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlToHostArg + * @memberof baml_bridge.cffi.v1.BamlToHostArg * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlToHostArg} BamlToHostArg + * @returns {baml_bridge.cffi.v1.BamlToHostArg} BamlToHostArg */ BamlToHostArg.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlToHostArg) + if (object instanceof $root.baml_bridge.cffi.v1.BamlToHostArg) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlToHostArg: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlToHostArg: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlToHostArg(); + let message = new $root.baml_bridge.cffi.v1.BamlToHostArg(); if (object.value != null) { if (!$util.isObject(object.value)) - throw TypeError(".baml_core.cffi.v1.BamlToHostArg.value: object expected"); - message.value = $root.baml_core.cffi.v1.BamlOutboundValue.fromObject(object.value, long + 1); + throw TypeError(".baml_bridge.cffi.v1.BamlToHostArg.value: object expected"); + message.value = $root.baml_bridge.cffi.v1.BamlOutboundValue.fromObject(object.value, long + 1); } if (object.argName != null) message.argName = String(object.argName); @@ -17296,9 +17296,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlToHostArg message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlToHostArg + * @memberof baml_bridge.cffi.v1.BamlToHostArg * @static - * @param {baml_core.cffi.v1.BamlToHostArg} message BamlToHostArg + * @param {baml_bridge.cffi.v1.BamlToHostArg} message BamlToHostArg * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -17316,7 +17316,7 @@ export const baml_core = $root.baml_core = (() => { object.isOptionalArg = false; } if (message.value != null && message.hasOwnProperty("value")) - object.value = $root.baml_core.cffi.v1.BamlOutboundValue.toObject(message.value, options, q + 1); + object.value = $root.baml_bridge.cffi.v1.BamlOutboundValue.toObject(message.value, options, q + 1); if (message.argName != null && message.hasOwnProperty("argName")) object.argName = message.argName; if (message.isOptionalArg != null && message.hasOwnProperty("isOptionalArg")) @@ -17327,7 +17327,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlToHostArg to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlToHostArg + * @memberof baml_bridge.cffi.v1.BamlToHostArg * @instance * @returns {Object.} JSON object */ @@ -17338,7 +17338,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlToHostArg * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlToHostArg + * @memberof baml_bridge.cffi.v1.BamlToHostArg * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -17347,7 +17347,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlToHostArg"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlToHostArg"; }; return BamlToHostArg; @@ -17357,7 +17357,7 @@ export const baml_core = $root.baml_core = (() => { /** * Properties of a BamlLiteralValue. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @interface IBamlLiteralValue * @property {string|null} [stringValue] BamlLiteralValue stringValue * @property {number|Long|null} [intValue] BamlLiteralValue intValue @@ -17368,11 +17368,11 @@ export const baml_core = $root.baml_core = (() => { /** * Constructs a new BamlLiteralValue. - * @memberof baml_core.cffi.v1 + * @memberof baml_bridge.cffi.v1 * @classdesc Represents a BamlLiteralValue. * @implements IBamlLiteralValue * @constructor - * @param {baml_core.cffi.v1.IBamlLiteralValue=} [properties] Properties to set + * @param {baml_bridge.cffi.v1.IBamlLiteralValue=} [properties] Properties to set */ function BamlLiteralValue(properties) { if (properties) @@ -17384,7 +17384,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlLiteralValue stringValue. * @member {string|null|undefined} stringValue - * @memberof baml_core.cffi.v1.BamlLiteralValue + * @memberof baml_bridge.cffi.v1.BamlLiteralValue * @instance */ BamlLiteralValue.prototype.stringValue = null; @@ -17392,7 +17392,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlLiteralValue intValue. * @member {number|Long|null|undefined} intValue - * @memberof baml_core.cffi.v1.BamlLiteralValue + * @memberof baml_bridge.cffi.v1.BamlLiteralValue * @instance */ BamlLiteralValue.prototype.intValue = null; @@ -17400,7 +17400,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlLiteralValue boolValue. * @member {boolean|null|undefined} boolValue - * @memberof baml_core.cffi.v1.BamlLiteralValue + * @memberof baml_bridge.cffi.v1.BamlLiteralValue * @instance */ BamlLiteralValue.prototype.boolValue = null; @@ -17408,7 +17408,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlLiteralValue bigintValue. * @member {string|null|undefined} bigintValue - * @memberof baml_core.cffi.v1.BamlLiteralValue + * @memberof baml_bridge.cffi.v1.BamlLiteralValue * @instance */ BamlLiteralValue.prototype.bigintValue = null; @@ -17416,7 +17416,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlLiteralValue floatValue. * @member {string|null|undefined} floatValue - * @memberof baml_core.cffi.v1.BamlLiteralValue + * @memberof baml_bridge.cffi.v1.BamlLiteralValue * @instance */ BamlLiteralValue.prototype.floatValue = null; @@ -17427,7 +17427,7 @@ export const baml_core = $root.baml_core = (() => { /** * BamlLiteralValue literal. * @member {"stringValue"|"intValue"|"boolValue"|"bigintValue"|"floatValue"|undefined} literal - * @memberof baml_core.cffi.v1.BamlLiteralValue + * @memberof baml_bridge.cffi.v1.BamlLiteralValue * @instance */ Object.defineProperty(BamlLiteralValue.prototype, "literal", { @@ -17438,21 +17438,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a new BamlLiteralValue instance using the specified properties. * @function create - * @memberof baml_core.cffi.v1.BamlLiteralValue + * @memberof baml_bridge.cffi.v1.BamlLiteralValue * @static - * @param {baml_core.cffi.v1.IBamlLiteralValue=} [properties] Properties to set - * @returns {baml_core.cffi.v1.BamlLiteralValue} BamlLiteralValue instance + * @param {baml_bridge.cffi.v1.IBamlLiteralValue=} [properties] Properties to set + * @returns {baml_bridge.cffi.v1.BamlLiteralValue} BamlLiteralValue instance */ BamlLiteralValue.create = function create(properties) { return new BamlLiteralValue(properties); }; /** - * Encodes the specified BamlLiteralValue message. Does not implicitly {@link baml_core.cffi.v1.BamlLiteralValue.verify|verify} messages. + * Encodes the specified BamlLiteralValue message. Does not implicitly {@link baml_bridge.cffi.v1.BamlLiteralValue.verify|verify} messages. * @function encode - * @memberof baml_core.cffi.v1.BamlLiteralValue + * @memberof baml_bridge.cffi.v1.BamlLiteralValue * @static - * @param {baml_core.cffi.v1.IBamlLiteralValue} message BamlLiteralValue message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlLiteralValue} message BamlLiteralValue message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -17477,11 +17477,11 @@ export const baml_core = $root.baml_core = (() => { }; /** - * Encodes the specified BamlLiteralValue message, length delimited. Does not implicitly {@link baml_core.cffi.v1.BamlLiteralValue.verify|verify} messages. + * Encodes the specified BamlLiteralValue message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlLiteralValue.verify|verify} messages. * @function encodeDelimited - * @memberof baml_core.cffi.v1.BamlLiteralValue + * @memberof baml_bridge.cffi.v1.BamlLiteralValue * @static - * @param {baml_core.cffi.v1.IBamlLiteralValue} message BamlLiteralValue message or plain object to encode + * @param {baml_bridge.cffi.v1.IBamlLiteralValue} message BamlLiteralValue message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -17492,11 +17492,11 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlLiteralValue message from the specified reader or buffer. * @function decode - * @memberof baml_core.cffi.v1.BamlLiteralValue + * @memberof baml_bridge.cffi.v1.BamlLiteralValue * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {baml_core.cffi.v1.BamlLiteralValue} BamlLiteralValue + * @returns {baml_bridge.cffi.v1.BamlLiteralValue} BamlLiteralValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -17507,7 +17507,7 @@ export const baml_core = $root.baml_core = (() => { long = 0; if (long > $Reader.recursionLimit) throw Error("maximum nesting depth exceeded"); - let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_core.cffi.v1.BamlLiteralValue(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlLiteralValue(); while (reader.pos < end) { let tag = reader.uint32(); if (tag === error) @@ -17544,10 +17544,10 @@ export const baml_core = $root.baml_core = (() => { /** * Decodes a BamlLiteralValue message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof baml_core.cffi.v1.BamlLiteralValue + * @memberof baml_bridge.cffi.v1.BamlLiteralValue * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {baml_core.cffi.v1.BamlLiteralValue} BamlLiteralValue + * @returns {baml_bridge.cffi.v1.BamlLiteralValue} BamlLiteralValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -17560,7 +17560,7 @@ export const baml_core = $root.baml_core = (() => { /** * Verifies a BamlLiteralValue message. * @function verify - * @memberof baml_core.cffi.v1.BamlLiteralValue + * @memberof baml_bridge.cffi.v1.BamlLiteralValue * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not @@ -17612,21 +17612,21 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a BamlLiteralValue message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof baml_core.cffi.v1.BamlLiteralValue + * @memberof baml_bridge.cffi.v1.BamlLiteralValue * @static * @param {Object.} object Plain object - * @returns {baml_core.cffi.v1.BamlLiteralValue} BamlLiteralValue + * @returns {baml_bridge.cffi.v1.BamlLiteralValue} BamlLiteralValue */ BamlLiteralValue.fromObject = function fromObject(object, long) { - if (object instanceof $root.baml_core.cffi.v1.BamlLiteralValue) + if (object instanceof $root.baml_bridge.cffi.v1.BamlLiteralValue) return object; if (!$util.isObject(object)) - throw TypeError(".baml_core.cffi.v1.BamlLiteralValue: object expected"); + throw TypeError(".baml_bridge.cffi.v1.BamlLiteralValue: object expected"); if (long === undefined) long = 0; if (long > $util.recursionLimit) throw Error("maximum nesting depth exceeded"); - let message = new $root.baml_core.cffi.v1.BamlLiteralValue(); + let message = new $root.baml_bridge.cffi.v1.BamlLiteralValue(); if (object.stringValue != null) message.stringValue = String(object.stringValue); if (object.intValue != null) @@ -17650,9 +17650,9 @@ export const baml_core = $root.baml_core = (() => { /** * Creates a plain object from a BamlLiteralValue message. Also converts values to other types if specified. * @function toObject - * @memberof baml_core.cffi.v1.BamlLiteralValue + * @memberof baml_bridge.cffi.v1.BamlLiteralValue * @static - * @param {baml_core.cffi.v1.BamlLiteralValue} message BamlLiteralValue + * @param {baml_bridge.cffi.v1.BamlLiteralValue} message BamlLiteralValue * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ @@ -17700,7 +17700,7 @@ export const baml_core = $root.baml_core = (() => { /** * Converts this BamlLiteralValue to JSON. * @function toJSON - * @memberof baml_core.cffi.v1.BamlLiteralValue + * @memberof baml_bridge.cffi.v1.BamlLiteralValue * @instance * @returns {Object.} JSON object */ @@ -17711,7 +17711,7 @@ export const baml_core = $root.baml_core = (() => { /** * Gets the default type url for BamlLiteralValue * @function getTypeUrl - * @memberof baml_core.cffi.v1.BamlLiteralValue + * @memberof baml_bridge.cffi.v1.BamlLiteralValue * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url @@ -17720,7 +17720,7 @@ export const baml_core = $root.baml_core = (() => { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/baml_core.cffi.v1.BamlLiteralValue"; + return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlLiteralValue"; }; return BamlLiteralValue; @@ -17732,7 +17732,7 @@ export const baml_core = $root.baml_core = (() => { return cffi; })(); - return baml_core; + return baml_bridge; })(); export { $root as default }; diff --git a/baml_language/sdks/nodejs/bridge_nodejs/typescript_src/stream.ts b/baml_language/sdks/nodejs/bridge_nodejs/typescript_src/stream.ts index 75dab29dc08..459e32f9a24 100644 --- a/baml_language/sdks/nodejs/bridge_nodejs/typescript_src/stream.ts +++ b/baml_language/sdks/nodejs/bridge_nodejs/typescript_src/stream.ts @@ -1,4 +1,4 @@ -// stream.ts — pure-TS analog of sdks/python/src/baml_core/_stream.py. +// stream.ts — pure-TS analog of sdks/python/src/baml_bridge/_stream.py. // // BamlStream wraps a BamlHandle whose HANDLE_TABLE row is a // `CffiHandleTableEntry::Adt(BexExternalAdt::TaggedHeapHandle { ty, heap_handle })` diff --git a/baml_language/sdks/nodejs/bridge_nodejs/typescript_src/typemap.ts b/baml_language/sdks/nodejs/bridge_nodejs/typescript_src/typemap.ts index 6784fef1301..ab3888bdac9 100644 --- a/baml_language/sdks/nodejs/bridge_nodejs/typescript_src/typemap.ts +++ b/baml_language/sdks/nodejs/bridge_nodejs/typescript_src/typemap.ts @@ -1,5 +1,5 @@ // typemap.ts — runtime BamlTypeMap, the Node analog of -// sdks/python/src/baml_core/typemap.py. +// sdks/python/src/baml_bridge/typemap.py. // // Codegen emits `_typemap.ts` with `BamlTypeMap.fromLazyEntries({ classes, // enums, typeAliases })` where each entry is a resolver thunk over a statically diff --git a/baml_language/sdks/nodejs/bridge_nodejs/typescript_src/wire_ty.ts b/baml_language/sdks/nodejs/bridge_nodejs/typescript_src/wire_ty.ts index e86dd7518b7..6d25793de03 100644 --- a/baml_language/sdks/nodejs/bridge_nodejs/typescript_src/wire_ty.ts +++ b/baml_language/sdks/nodejs/bridge_nodejs/typescript_src/wire_ty.ts @@ -1,7 +1,7 @@ // wire_ty.ts — lower a host-supplied type token to a wire `Ty` (baml_type.proto). // // The Node analog of `python_type_to_wire_ty` / `_fill_wire_ty` in -// sdks/python/src/baml_core/proto.py. Python recovers a generic instance's +// sdks/python/src/baml_bridge/proto.py. Python recovers a generic instance's // concrete type args from Pydantic's runtime generic metadata and lowers // Python `type` objects (`int`, `str`, `Box[int]`, …) to a wire `Ty`. TypeScript // erases generics at runtime, so there is no metadata to recover and no `type` @@ -13,10 +13,10 @@ // `undefined` / `null` (an absent binding) lowers to the unknown/top type — // the engine treats it as a wildcard, matching Python's `_fill_wire_ty(None)`. -import { baml_core } from './proto/baml_cffi.js'; +import { baml_bridge } from './proto/baml_cffi.js'; import { getTypeMap } from './typemap.js'; -const TyPrimitiveKind = baml_core.cffi.v1.BamlTyPrimitiveKind; +const TyPrimitiveKind = baml_bridge.cffi.v1.BamlTyPrimitiveKind; /** * The bottom type (BAML `never`). Pass as a `$types` binding to bind a TypeVar @@ -76,7 +76,7 @@ const PRIMITIVE_KIND: Record = { * unrecognized or absent token leaves the unknown/top type, which binds * nothing. */ -export function lowerTypeToWireTy(token: BamlType): baml_core.cffi.v1.IBamlTy { +export function lowerTypeToWireTy(token: BamlType): baml_bridge.cffi.v1.IBamlTy { // Absent binding → unknown/top (matches Python's `_fill_wire_ty(None)`). if (token === null || token === undefined) { return { unknown: {} }; @@ -139,7 +139,7 @@ const TY_PRIMITIVE_TOKEN: Record = { * wildcard. */ export function outboundTyToBamlType( - ty: baml_core.cffi.v1.IBamlTy | null | undefined, + ty: baml_bridge.cffi.v1.IBamlTy | null | undefined, ): BamlType { if (!ty) return undefined; if (ty.primitive) { @@ -171,7 +171,7 @@ export function outboundTyToBamlType( * concrete generic args. The FQN comes from the typemap reverse map; an * unmapped constructor lowers to unknown so it can't manufacture a bogus * class reference. */ -function classWireTy(ctor: BamlClassCtor, args: BamlType[]): baml_core.cffi.v1.IBamlTy { +function classWireTy(ctor: BamlClassCtor, args: BamlType[]): baml_bridge.cffi.v1.IBamlTy { const fqn = getTypeMap().jsTypeToBamlType(ctor); if (!fqn) { return { unknown: {} }; diff --git a/baml_language/sdks/nodejs/sdkgen_typescript_node/src/emit/class.rs b/baml_language/sdks/nodejs/sdkgen_typescript_node/src/emit/class.rs index 57dc56e60e8..797cb07bb96 100644 --- a/baml_language/sdks/nodejs/sdkgen_typescript_node/src/emit/class.rs +++ b/baml_language/sdks/nodejs/sdkgen_typescript_node/src/emit/class.rs @@ -3,7 +3,7 @@ //! Covers user-code classes, stdlib classes (`baml.http.Response`, …), //! and `$stream` companion classes. Emits `export class` (with fields and a //! field-object constructor); the five runtime-owned stdlib types -//! (media + stream) instead re-export from `@boundaryml/baml-core-node`. +//! (media + stream) instead re-export from `@boundaryml/baml-bridge`. use baml_codegen_types::{Name, Ty}; diff --git a/baml_language/sdks/nodejs/sdkgen_typescript_node/src/emit/typemap_file.rs b/baml_language/sdks/nodejs/sdkgen_typescript_node/src/emit/typemap_file.rs index a1f7026f203..c6dd767561e 100644 --- a/baml_language/sdks/nodejs/sdkgen_typescript_node/src/emit/typemap_file.rs +++ b/baml_language/sdks/nodejs/sdkgen_typescript_node/src/emit/typemap_file.rs @@ -9,7 +9,7 @@ //! SDK: `() => __leaf_0.Resume`. A thunk (rather than the Python-style //! `[module_path, attr]` pair) is required because resolution must happen in the //! generated SDK's module scope — the runtime `BamlTypeMap` lives in -//! `@boundaryml/baml-core-node` and cannot resolve a `baml_sdk/...` path. +//! `@boundaryml/baml-bridge` and cannot resolve a `baml_sdk/...` path. use std::{collections::BTreeMap, fmt::Write as _}; @@ -53,7 +53,7 @@ pub(crate) fn render_typemap_module( aliases.sort(); let mut out = String::new(); - out.push_str("import { BamlTypeMap } from \"@boundaryml/baml-core-node\";\n"); + out.push_str("import { BamlTypeMap } from \"@boundaryml/baml-bridge\";\n"); for (leaf, module_alias) in &module_aliases { writeln!( out, diff --git a/baml_language/sdks/nodejs/sdkgen_typescript_node/src/leaf.rs b/baml_language/sdks/nodejs/sdkgen_typescript_node/src/leaf.rs index e5d20876d6a..4d200475e0b 100644 --- a/baml_language/sdks/nodejs/sdkgen_typescript_node/src/leaf.rs +++ b/baml_language/sdks/nodejs/sdkgen_typescript_node/src/leaf.rs @@ -5,7 +5,7 @@ //! directory: runtime/cross-leaf imports, child-namespace re-exports, and //! real TS bodies for every top — classes, enums, type aliases, and //! `defineFunction(...)` / `defineInstanceFunction(...)` bindings. The five -//! runtime-owned stdlib types re-export from `@boundaryml/baml-core-node` instead +//! runtime-owned stdlib types re-export from `@boundaryml/baml-bridge` instead //! of getting a generated body. //! //! Codegen emits only `index.ts` — no sibling `index.d.ts`. The generated @@ -35,7 +35,7 @@ use crate::{ translate_ty::{TranslateCtx, TranslatedType, translate_ty}, }; -const RUNTIME_PKG: &str = "@boundaryml/baml-core-node"; +const RUNTIME_PKG: &str = "@boundaryml/baml-bridge"; /// All symbols that land in one leaf's body, in final render order. pub(crate) struct LeafBody { @@ -1100,7 +1100,7 @@ mod tests { ], ); let ts = render_index_ts(&b, &BTreeSet::new(), false); - assert!(ts.contains("import { defineFunction } from \"@boundaryml/baml-core-node\";")); + assert!(ts.contains("import { defineFunction } from \"@boundaryml/baml-bridge\";")); assert!(ts.contains("export const extract = defineFunction(\"user.lorem.extract\", \"sync\", [\"text\"]) as (text: string) => number;")); assert!(ts.contains("export const extract_async = defineFunction(\"user.lorem.extract\", \"async\", [\"text\"]) as (text: string) => Promise;")); } @@ -1166,7 +1166,7 @@ mod tests { )], ); let ts = render_index_ts(&b, &BTreeSet::new(), false); - assert!(ts.contains("import { BamlImage as Image } from \"@boundaryml/baml-core-node\";")); + assert!(ts.contains("import { BamlImage as Image } from \"@boundaryml/baml-bridge\";")); assert!(ts.contains("export { Image };")); // The class binding already provides the type; no separate `export type`. assert!(!ts.contains("export type Image")); @@ -1238,6 +1238,6 @@ mod tests { assert!(ts.contains("setTypeMap(_TYPE_MAP);")); assert!(ts.contains("export * as lorem from \"./lorem/index.js\";")); assert!(ts.contains("export const make_foo = defineFunction(")); - assert!(ts.contains("import { defineFunction, initializeRuntimeFromBytecode, setTypeMap } from \"@boundaryml/baml-core-node\";")); + assert!(ts.contains("import { defineFunction, initializeRuntimeFromBytecode, setTypeMap } from \"@boundaryml/baml-bridge\";")); } } diff --git a/baml_language/sdks/nodejs/sdkgen_typescript_node/src/lib.rs b/baml_language/sdks/nodejs/sdkgen_typescript_node/src/lib.rs index f8ff3b3b76f..ef5e51b987b 100644 --- a/baml_language/sdks/nodejs/sdkgen_typescript_node/src/lib.rs +++ b/baml_language/sdks/nodejs/sdkgen_typescript_node/src/lib.rs @@ -7,7 +7,7 @@ //! `defineFunction(...)` / `defineInstanceFunction(...)` bindings (sync + //! async + companions). Types come from `translate_ty`; cross-leaf //! references resolve through namespace imports. The five runtime-owned -//! stdlib types (media + `Stream`) re-export from `@boundaryml/baml-core-node` +//! stdlib types (media + `Stream`) re-export from `@boundaryml/baml-bridge` //! rather than getting a generated body. //! //! This is a close port of `sdkgen_python_pydantic2`, with two structural @@ -48,7 +48,7 @@ const NODE_BANNER: &str = "\ // // Welcome to Baml! To use this generated code, please run the following: // -// $ pnpm add @boundaryml/baml-core-node +// $ pnpm add @boundaryml/baml-bridge // // ---------------------------------------------------------------------------- // This file was generated by BAML: please do not edit it. Instead, edit the diff --git a/baml_language/sdks/python/README.md b/baml_language/sdks/python/README.md index 72b495ec62e..a0a13aeac88 100644 --- a/baml_language/sdks/python/README.md +++ b/baml_language/sdks/python/README.md @@ -1,14 +1,14 @@ -# baml_core +# baml_bridge Python bindings for the BAML runtime (powered by `bex_engine`). -`baml_core` is the bridge layer that generated `baml_sdk` packages +`baml_bridge` is the bridge layer that generated `baml_sdk` packages import at runtime: it provides the `BamlRuntime` singleton, the protobuf encoder/decoder, the function/method factories, and the `Collector` / `BamlCtxManager` observability primitives. ```python -from baml_core import BamlRuntime +from baml_bridge import BamlRuntime rt = BamlRuntime.initialize_runtime( root_path=".", diff --git a/baml_language/sdks/python/generate_stubs.py b/baml_language/sdks/python/generate_stubs.py index 93bc61eb955..137f2e6994a 100644 --- a/baml_language/sdks/python/generate_stubs.py +++ b/baml_language/sdks/python/generate_stubs.py @@ -70,10 +70,10 @@ def main() -> int: # pyo3-stub-gen writes relative to CARGO_MANIFEST_DIR + python-source. # Since the symlinked pyproject.toml is at rust/bridge_python/, and - # python-source = "src", stubs land at rust/bridge_python/src/baml_core/... + # python-source = "src", stubs land at rust/bridge_python/src/baml_bridge/... # Move them to the real src/ location. - crate_src = PYTHON_DIR / "rust" / "bridge_python" / "src" / "baml_core" - real_src = SRC_DIR / "baml_core" + crate_src = PYTHON_DIR / "rust" / "bridge_python" / "src" / "baml_bridge" + real_src = SRC_DIR / "baml_bridge" # pyo3-stub-gen 0.22 generates baml_py/__init__.pyi (package layout), # but baml_py is a single extension module (.so), not a package. diff --git a/baml_language/sdks/python/pyproject.toml b/baml_language/sdks/python/pyproject.toml index e52162cc56f..d12b5a6b88c 100644 --- a/baml_language/sdks/python/pyproject.toml +++ b/baml_language/sdks/python/pyproject.toml @@ -1,5 +1,5 @@ [project] -name = "baml_core" +name = "baml_bridge" version = "0.13.0" description = "BAML python bindings (new system, bex_engine)" authors = [{ "name" = "Boundary", "email" = "contact@boundaryml.com" }] @@ -46,15 +46,15 @@ build-backend = "maturin" [tool.maturin] python-source = "src" manifest-path = "rust/bridge_python/Cargo.toml" -module-name = "baml_core.baml_py" -include = [{ path = "src/baml_core/py.typed", format = ["sdist", "wheel"] }] +module-name = "baml_bridge.baml_py" +include = [{ path = "src/baml_bridge/py.typed", format = ["sdist", "wheel"] }] [tool.pytest.ini_options] asyncio_mode = "auto" addopts = "-n auto" [tool.ruff] -extend-exclude = ["src/baml_core/cffi/v1/*_pb2.py"] +extend-exclude = ["src/baml_bridge/cffi/v1/*_pb2.py"] [tool.ty.environment] extra-paths = ["tests/sim"] diff --git a/baml_language/sdks/python/rust/bridge_python/src/baml_call_context.rs b/baml_language/sdks/python/rust/bridge_python/src/baml_call_context.rs index bb66987cad7..9838ca80fdb 100644 --- a/baml_language/sdks/python/rust/bridge_python/src/baml_call_context.rs +++ b/baml_language/sdks/python/rust/bridge_python/src/baml_call_context.rs @@ -59,7 +59,7 @@ impl BamlCallContext { } /// Bind this controller to an in-flight CFFI call id for the duration of - /// one host call. Private runtime hook used by `baml_core`. + /// one host call. Private runtime hook used by `baml_bridge`. fn _attach_call_id(&self, call_id: u64) { if let Ok(mut ids) = self.active_call_ids.lock() && !ids.contains(&call_id) diff --git a/baml_language/sdks/python/rust/bridge_python/src/baml_core/baml_py/__init__.pyi b/baml_language/sdks/python/rust/bridge_python/src/baml_core/baml_py/__init__.pyi index d57753ea041..6f20b0db5b9 100644 --- a/baml_language/sdks/python/rust/bridge_python/src/baml_core/baml_py/__init__.pyi +++ b/baml_language/sdks/python/rust/bridge_python/src/baml_core/baml_py/__init__.pyi @@ -442,7 +442,7 @@ def get_runtime() -> BamlRuntime: Return the process-global `BamlRuntime`, or raise `BamlError` if `BamlRuntime.initialize_runtime(...)` has not been called yet. - Used by the pure-Python factories in `baml_core` so generated + Used by the pure-Python factories in `baml_bridge` so generated leaves don't have to thread a runtime reference through every call site. """ @@ -458,7 +458,7 @@ def register_host_callable(callable: typing.Any) -> builtins.int: Insert a Python callable into the registry and return its key. Exposed to Python as `baml_py.register_host_callable(callable) -> int`. - Called from the inbound encoder in `baml_core.proto` whenever a Python + Called from the inbound encoder in `baml_bridge.proto` whenever a Python callable appears as a kwarg. """ diff --git a/baml_language/sdks/python/rust/bridge_python/src/errors.rs b/baml_language/sdks/python/rust/bridge_python/src/errors.rs index 3f2a43731eb..a01c68f2928 100644 --- a/baml_language/sdks/python/rust/bridge_python/src/errors.rs +++ b/baml_language/sdks/python/rust/bridge_python/src/errors.rs @@ -10,21 +10,21 @@ //! bytes — they `raise`. By the 32c decision these SDK-internal *setup* //! failures (e.g. runtime not initialized) are panic-shaped, so they surface //! as a `baml.panics.SdkPanic` wrapped in `BamlPanic`, built by the pure-Python -//! `baml_core.make_sdk_panic`. +//! `baml_bridge.make_sdk_panic`. use pyo3::prelude::*; /// Raise a `BamlPanic` wrapping a `baml.panics.SdkPanic { message }`, built via -/// `baml_core.make_sdk_panic`. +/// `baml_bridge.make_sdk_panic`. /// /// Falls back to whatever import/construction error pyo3 produces if -/// `baml_core.make_sdk_panic` can't be reached (should never happen once the +/// `baml_bridge.make_sdk_panic` can't be reached (should never happen once the /// package is importable). pub fn py_sdk_panic(message: impl Into) -> PyErr { let message = message.into(); Python::attach(|py| { let build = || -> PyResult { - let func = py.import("baml_core")?.getattr("make_sdk_panic")?; + let func = py.import("baml_bridge")?.getattr("make_sdk_panic")?; let inst = func.call1((message.as_str(),))?; Ok(PyErr::from_value(inst)) }; diff --git a/baml_language/sdks/python/rust/bridge_python/src/host_value.rs b/baml_language/sdks/python/rust/bridge_python/src/host_value.rs index e6ed82799c3..9cdc7373095 100644 --- a/baml_language/sdks/python/rust/bridge_python/src/host_value.rs +++ b/baml_language/sdks/python/rust/bridge_python/src/host_value.rs @@ -12,17 +12,17 @@ //! The dispatch callback: //! 1. Looks up the Python callable by `host_value_key`. //! 2. Decodes the `BamlOutboundValue` args into Python values via -//! `baml_core.proto._decode_value_holder` (already a list shape). +//! `baml_bridge.proto._decode_value_holder` (already a list shape). //! 3. Invokes the callable. If the return is a coroutine, runs it to //! completion on a fresh `asyncio` event loop. The dispatch runs on a //! spawned tokio task (see [`host_dispatch_callback`]), so blocking that //! task to drive the coroutine to completion does not stall the engine, //! which concurrently awaits the call's completion. //! 4. Encodes the result into `InboundValue` bytes via -//! `baml_core.proto.encode_call_args`-style serialization, then calls +//! `baml_bridge.proto.encode_call_args`-style serialization, then calls //! `bridge_cffi::complete_host_call(call_id, 0, ptr, len)`. //! 5. On any Python exception, branches on the exception type: -//! - A `baml_core.errors.BamlError` carrying a codegenned BAML value +//! - A `baml_bridge.errors.BamlError` carrying a codegenned BAML value //! is unwrapped (`.value`) and encoded as that real BAML class //! (preserves catch matching against user-declared throws). //! - Anything else (native `ValueError`, `KeyError`, ...) is registered @@ -50,7 +50,7 @@ use std::{ }; use bridge_cffi::complete_host_call; -use bridge_ctypes::baml_core::cffi::{ +use bridge_ctypes::baml_bridge::cffi::{ BamlHandle, BamlHandleType, BamlTyClass, InboundClassValue, InboundMapEntry, InboundValue, inbound_map_entry::Key as InboundMapKey, inbound_value::Value as InboundValueVariant, }; @@ -89,7 +89,7 @@ fn next_key() -> u64 { /// Insert a Python callable into the registry and return its key. /// /// Exposed to Python as `baml_py.register_host_callable(callable) -> int`. -/// Called from the inbound encoder in `baml_core.proto` whenever a Python +/// Called from the inbound encoder in `baml_bridge.proto` whenever a Python /// callable appears as a kwarg. #[gen_stub_pyfunction] #[pyfunction] @@ -155,7 +155,7 @@ pub extern "C" fn host_release_callback(host_value_key: u64) { /// `BamlPyHandle` whose `handle_type` is `HOST_VALUE_CALLABLE` / /// `HOST_VALUE_OPAQUE`, returning a fresh strong reference if the entry /// is still live. Used by the outbound error decoder in -/// `baml_core.proto` to rehydrate a `baml.errors.HostCallable` thrown +/// `baml_bridge.proto` to rehydrate a `baml.errors.HostCallable` thrown /// by BAML back to the original Python exception object on same-host /// round-trip. /// @@ -169,7 +169,7 @@ pub fn lookup_host_value( py: Python<'_>, handle: &crate::py_handle::BamlPyHandle, ) -> Option> { - use bridge_ctypes::baml_core::cffi::BamlHandleType; + use bridge_ctypes::baml_bridge::cffi::BamlHandleType; let ht_i32 = i32::try_from(handle.handle_type).ok()?; if ht_i32 != BamlHandleType::HostValueCallable as i32 && ht_i32 != BamlHandleType::HostValueOpaque as i32 @@ -344,7 +344,7 @@ fn dispatch_in_python(callable: Py, call_id: u32, args_bytes: Vec) { // completion on a fresh asyncio loop. Sync callables fall through. let final_result = run_if_coroutine(py, result_obj)?; - // Encode the result as an `InboundValue` via `baml_core.proto`. + // Encode the result as an `InboundValue` via `baml_bridge.proto`. encode_result_inbound(py, final_result) }); @@ -358,7 +358,7 @@ fn dispatch_in_python(callable: Py, call_id: u32, args_bytes: Vec) { /// Decode the protobuf `BamlToHostCall` into the callable's positional args /// (a `tuple`) and supplied-optional kwargs (a `dict`), each value decoded via -/// `baml_core.proto.decode_value`. The engine already resolved the call against +/// `baml_bridge.proto.decode_value`. The engine already resolved the call against /// the callable's declared params and dropped omitted optionals, so `args` is a /// flat declared-order list; partition it by each arg's `is_optional_arg` flag — /// required args go positional, supplied optionals become kwargs keyed by @@ -368,8 +368,8 @@ fn decode_args<'py>( py: Python<'py>, bytes: &[u8], ) -> PyResult<(Bound<'py, PyTuple>, Bound<'py, PyDict>)> { - let outbound_pb2 = PyModule::import(py, "baml_core.cffi.v1.baml_outbound_pb2")?; - let proto = PyModule::import(py, "baml_core.proto")?; + let outbound_pb2 = PyModule::import(py, "baml_bridge.cffi.v1.baml_outbound_pb2")?; + let proto = PyModule::import(py, "baml_bridge.proto")?; let type_map = proto.getattr("get_type_map")?.call0()?; let decode_value = proto.getattr("decode_value")?; @@ -428,10 +428,10 @@ fn run_if_coroutine(py: Python<'_>, value: Py) -> PyResult> { } /// Encode `value` as an `InboundValue` protobuf using -/// `baml_core.proto._set_inbound_value`, then serialize to bytes. +/// `baml_bridge.proto._set_inbound_value`, then serialize to bytes. fn encode_result_inbound(py: Python<'_>, value: Py) -> PyResult> { - let inbound_pb2 = PyModule::import(py, "baml_core.cffi.v1.baml_inbound_pb2")?; - let proto = PyModule::import(py, "baml_core.proto")?; + let inbound_pb2 = PyModule::import(py, "baml_bridge.cffi.v1.baml_inbound_pb2")?; + let proto = PyModule::import(py, "baml_bridge.proto")?; let holder = inbound_pb2.getattr("InboundValue")?.call0()?; // Track host callables registered while encoding so we can release them on // failure. A callback nested in the result (e.g. `{"cb": lambda x: x}`) @@ -540,7 +540,7 @@ fn send_dispatch_bridge_failure(call_id: u32, message: String) { ); } -/// If `py_err` is a `baml_core.errors.BamlError` *or* `BamlPanic` carrying +/// If `py_err` is a `baml_bridge.errors.BamlError` *or* `BamlPanic` carrying /// a codegenned BAML value, encode the unwrapped value (`e.value`) as an /// `InboundValue` — preserving its real BAML class identity so the BAML /// caller can `catch (e: MyError)` and read fields just like a BAML-thrown @@ -562,7 +562,7 @@ fn send_dispatch_bridge_failure(call_id: u32, message: String) { /// the value) is also collapsed to the opaque path by the caller — the /// call always completes, even if the BAML-class identity is lost. fn try_encode_baml_error_throw(py: Python<'_>, py_err: &pyo3::PyErr) -> PyResult>> { - let errors_mod = match PyModule::import(py, "baml_core.errors") { + let errors_mod = match PyModule::import(py, "baml_bridge.errors") { Ok(m) => m, // Defensive: missing module would be a packaging bug. Fall through. Err(_) => return Ok(None), @@ -587,8 +587,8 @@ fn try_encode_baml_error_throw(py: Python<'_>, py_err: &pyo3::PyErr) -> PyResult // the caller will fall through to the opaque path. return Ok(None); } - let inbound_pb2 = PyModule::import(py, "baml_core.cffi.v1.baml_inbound_pb2")?; - let proto = PyModule::import(py, "baml_core.proto")?; + let inbound_pb2 = PyModule::import(py, "baml_bridge.cffi.v1.baml_inbound_pb2")?; + let proto = PyModule::import(py, "baml_bridge.proto")?; let holder = inbound_pb2.getattr("InboundValue")?.call0()?; let registered = pyo3::types::PyList::empty(py); let kwargs_dict = pyo3::types::PyDict::new(py); @@ -616,7 +616,7 @@ fn try_encode_baml_error_throw(py: Python<'_>, py_err: &pyo3::PyErr) -> PyResult /// `complete_host_call`. Must be called under the GIL. /// /// Branches on the exception type: -/// - `baml_core.errors.BamlError` → unwrap `.value` and emit it as its +/// - `baml_bridge.errors.BamlError` → unwrap `.value` and emit it as its /// real BAML class. The BAML caller's `catch (e: MyError)` matches. /// - Anything else (native `ValueError`, `KeyError`, ...) → emit an /// opaque `baml.errors.HostCallable` Instance carrying the four diff --git a/baml_language/sdks/python/rust/bridge_python/src/media.rs b/baml_language/sdks/python/rust/bridge_python/src/media.rs index be1594cc7f9..922e2fd4aa4 100644 --- a/baml_language/sdks/python/rust/bridge_python/src/media.rs +++ b/baml_language/sdks/python/rust/bridge_python/src/media.rs @@ -20,7 +20,7 @@ use bridge_cffi::{ BamlCffiStatus, Buffer, baml_media_base64, baml_media_file, baml_media_from_base64, baml_media_from_file, baml_media_from_url, baml_media_mime_type, baml_media_url, free_buffer, }; -use bridge_ctypes::baml_core::cffi::{BamlHandleType, MediaTypeEnum}; +use bridge_ctypes::baml_bridge::cffi::{BamlHandleType, MediaTypeEnum}; use pyo3::{ Bound, Py, PyAny, PyResult, Python, exceptions::{PyRuntimeError, PyTypeError, PyValueError}, @@ -128,14 +128,14 @@ macro_rules! define_media_pyclass { ($name:ident, $media_kind:expr, $expected_ht:expr) => { // `module` sets the class's reported `__module__`. PyO3 defaults // it to `"builtins"`, but these types are imported from - // `baml_core.baml_py` (where the extension `.so` lives), and the - // typemap reverse-map seed in `baml_core/typemap.py` keys media - // identity on `("baml_core.baml_py", "Baml{Image,…}")`. Declaring + // `baml_bridge.baml_py` (where the extension `.so` lives), and the + // typemap reverse-map seed in `baml_bridge/typemap.py` keys media + // identity on `("baml_bridge.baml_py", "Baml{Image,…}")`. Declaring // the honest module makes `type(value).__module__` match that // seed, so `py_type_to_baml_type` resolves media values on the // encode path instead of returning `""` (35b "Bug B"). #[gen_stub_pyclass] - #[pyclass(module = "baml_core.baml_py")] + #[pyclass(module = "baml_bridge.baml_py")] pub struct $name { pub(crate) handle: Py, } diff --git a/baml_language/sdks/python/rust/bridge_python/src/py_handle.rs b/baml_language/sdks/python/rust/bridge_python/src/py_handle.rs index 4b3c3dbe9df..34bc2cdb677 100644 --- a/baml_language/sdks/python/rust/bridge_python/src/py_handle.rs +++ b/baml_language/sdks/python/rust/bridge_python/src/py_handle.rs @@ -108,7 +108,7 @@ impl Drop for BamlPyHandle { // variants; the owners drop them through their own release path. // Mirrors `bridge_wasm/src/handle.rs`'s `Drop` for the same // reason. - use bridge_ctypes::baml_core::cffi::BamlHandleType; + use bridge_ctypes::baml_bridge::cffi::BamlHandleType; let ht_i32 = i32::try_from(self.handle_type).unwrap_or(-1); let is_host_value = ht_i32 == BamlHandleType::HostValueCallable as i32 || ht_i32 == BamlHandleType::HostValueOpaque as i32; diff --git a/baml_language/sdks/python/rust/bridge_python/src/runtime.rs b/baml_language/sdks/python/rust/bridge_python/src/runtime.rs index 7b8fbaaf7fe..4a733b495fa 100644 --- a/baml_language/sdks/python/rust/bridge_python/src/runtime.rs +++ b/baml_language/sdks/python/rust/bridge_python/src/runtime.rs @@ -213,7 +213,7 @@ fn decode_args( args_proto: &[u8], _function_name: &str, ) -> Result { - let args = bridge_ctypes::baml_core::cffi::CallFunctionArgs::decode(args_proto) + let args = bridge_ctypes::baml_bridge::cffi::CallFunctionArgs::decode(args_proto) .map_err(bridge_ctypes::CtypesError::from)?; if args.call_id == 0 { @@ -234,7 +234,7 @@ fn decode_args( /// Return the process-global `BamlRuntime`, or raise `BamlError` if /// `BamlRuntime.initialize_runtime(...)` has not been called yet. /// -/// Used by the pure-Python factories in `baml_core` so generated +/// Used by the pure-Python factories in `baml_bridge` so generated /// leaves don't have to thread a runtime reference through every call /// site. #[gen_stub_pyfunction] diff --git a/baml_language/sdks/python/rust/sdkgen_python_pydantic2/src/emit/typemap_file.rs b/baml_language/sdks/python/rust/sdkgen_python_pydantic2/src/emit/typemap_file.rs index c525ab0ad41..58f0cf54db8 100644 --- a/baml_language/sdks/python/rust/sdkgen_python_pydantic2/src/emit/typemap_file.rs +++ b/baml_language/sdks/python/rust/sdkgen_python_pydantic2/src/emit/typemap_file.rs @@ -56,7 +56,7 @@ pub(crate) fn render_typemap_module( let mut out = String::new(); out.push_str("from __future__ import annotations\n\n"); - out.push_str("from baml_core import BamlTypeMap\n\n"); + out.push_str("from baml_bridge import BamlTypeMap\n\n"); write_entries(&mut out, "_CLASS_ENTRIES", &classes); out.push('\n'); diff --git a/baml_language/sdks/python/rust/sdkgen_python_pydantic2/src/leaf.rs b/baml_language/sdks/python/rust/sdkgen_python_pydantic2/src/leaf.rs index 755199cf956..f009c0019d6 100644 --- a/baml_language/sdks/python/rust/sdkgen_python_pydantic2/src/leaf.rs +++ b/baml_language/sdks/python/rust/sdkgen_python_pydantic2/src/leaf.rs @@ -116,7 +116,7 @@ impl LeafBody { /// True when any class field, function/method param, or return type /// in this leaf is `Ty::RustType` — i.e. needs the - /// `from baml_core import BamlPyHandle as _BamlPyHandle` line. + /// `from baml_bridge import BamlPyHandle as _BamlPyHandle` line. pub(crate) fn needs_baml_pyhandle(&self) -> bool { fn ty_uses_rust_type(ty: &Ty) -> bool { match ty { @@ -582,7 +582,7 @@ fn collect_root_imports(ty: &Ty, current: &LeafPath, out: &mut RootImportSets) { // `media` as an attribute of `baml` for the dotted access. // // `Ty::RustType` renders as `_BamlPyHandle` and gets its own - // `from baml_core import BamlPyHandle as _BamlPyHandle` + // `from baml_bridge import BamlPyHandle as _BamlPyHandle` // line via `needs_baml_pyhandle` — it does *not* go through // the cross-leaf segment set. Ty::Media(_) => { @@ -733,10 +733,10 @@ fn render_class_bases(generic_params: &[String]) -> String { /// /// `baml.media.{Image,Video,Audio,Pdf}` (15b §lines 14-19): re-exports /// of `PyO3` types holding `Arc` directly — live in -/// `baml_core.baml_py` (the `PyO3` extension module). +/// `baml_bridge.baml_py` (the `PyO3` extension module). /// -/// `baml.llm.Stream`: pure-Python wrapper re-exported from `baml_core` -/// (`sdks/python/src/baml_core/_stream.py`). Lives outside the `PyO3` +/// `baml.llm.Stream`: pure-Python wrapper re-exported from `baml_bridge` +/// (`sdks/python/src/baml_bridge/_stream.py`). Lives outside the `PyO3` /// module because nothing on the call path needed Rust — the args /// encoder, runtime accessor, and result decoder are all already /// exposed to Python. @@ -744,11 +744,11 @@ fn media_reexport_rust_name( c: &crate::emit::class::PyClass, ) -> Option<(&'static str, &'static str)> { match c.source.to_string().as_str() { - "baml.media.Image" => Some(("baml_core.baml_py", "BamlImage")), - "baml.media.Video" => Some(("baml_core.baml_py", "BamlVideo")), - "baml.media.Audio" => Some(("baml_core.baml_py", "BamlAudio")), - "baml.media.Pdf" => Some(("baml_core.baml_py", "BamlPdf")), - "baml.llm.Stream" => Some(("baml_core", "BamlStream")), + "baml.media.Image" => Some(("baml_bridge.baml_py", "BamlImage")), + "baml.media.Video" => Some(("baml_bridge.baml_py", "BamlVideo")), + "baml.media.Audio" => Some(("baml_bridge.baml_py", "BamlAudio")), + "baml.media.Pdf" => Some(("baml_bridge.baml_py", "BamlPdf")), + "baml.llm.Stream" => Some(("baml_bridge", "BamlStream")), _ => None, } } @@ -921,7 +921,7 @@ fn render_symbol(s: &EmittedSymbol, leaf: &LeafPath) -> String { // 25b2 Phase 4: media re-export is now a pure import // line. The engine FQN lives only in `_TYPE_MAP`'s // reverse map (seeded with the PyO3 identity → - // `baml.media.*` overrides in `baml_core/typemap.py`). + // `baml.media.*` overrides in `baml_bridge/typemap.py`). return format!( "from {module} import {rust_name} as {py_name}\n", py_name = c.py_name, @@ -1325,7 +1325,7 @@ pub(crate) fn render_leaf_body(body: &LeafBody, callable_child_names: &BTreeSet< } } let _ = (root_segments, root_names); - // Factory imports use absolute paths (`baml_core` is a + // Factory imports use absolute paths (`baml_bridge` is a // separate installed package, not reachable from this SDK tree) // with a `_` alias to keep them private to the module. // @@ -1345,9 +1345,9 @@ pub(crate) fn render_leaf_body(body: &LeafBody, callable_child_names: &BTreeSet< out.push('\n'); if runtime_imports.len() == 1 { let (original, alias) = runtime_imports[0]; - writeln!(out, "from baml_core import {original} as {alias}").unwrap(); + writeln!(out, "from baml_bridge import {original} as {alias}").unwrap(); } else { - out.push_str("from baml_core import (\n"); + out.push_str("from baml_bridge import (\n"); for (original, alias) in &runtime_imports { writeln!(out, " {original} as {alias},").unwrap(); } @@ -1356,14 +1356,14 @@ pub(crate) fn render_leaf_body(body: &LeafBody, callable_child_names: &BTreeSet< } // The `BamlError` / `BamlPanic` wrappers and optional-argument sentinel - // are defined in `baml_core` and + // are defined in `baml_bridge` and // re-exported on the top-level `baml` builtins package so user code can // `from baml_sdk.baml import BamlError, BamlPanic, UNSET`. let is_baml_builtins_root = body.leaf.segments == ["baml"]; if is_baml_builtins_root { out.push('\n'); out.push_str( - "from baml_core import BamlError as BamlError, BamlPanic as BamlPanic, UNSET as UNSET\n", + "from baml_bridge import BamlError as BamlError, BamlPanic as BamlPanic, UNSET as UNSET\n", ); } @@ -1930,7 +1930,7 @@ fn render_literal_default(lit: &Literal) -> String { } /// Mirrors `render_leaf_body` with these differences: no -/// `baml_core` factory imports; `typing` is needed whenever a +/// `baml_bridge` factory imports; `typing` is needed whenever a /// signature is present (`needs_typing_pyi`); `enum` and `pydantic` /// follow the `.py` rule. pub(crate) fn render_leaf_body_pyi( @@ -1999,7 +1999,7 @@ pub(crate) fn render_leaf_body_pyi( // can resolve `$rust_type` field annotations. if body.needs_baml_pyhandle() { out.push('\n'); - out.push_str("from baml_core import BamlPyHandle as _BamlPyHandle\n"); + out.push_str("from baml_bridge import BamlPyHandle as _BamlPyHandle\n"); } // Mirror the `.py` re-export so `from baml_sdk.baml import BamlError, @@ -2008,7 +2008,7 @@ pub(crate) fn render_leaf_body_pyi( if is_baml_builtins_root { out.push('\n'); out.push_str( - "from baml_core import BamlError as BamlError, BamlPanic as BamlPanic, UNSET as UNSET\n", + "from baml_bridge import BamlError as BamlError, BamlPanic as BamlPanic, UNSET as UNSET\n", ); } diff --git a/baml_language/sdks/python/rust/sdkgen_python_pydantic2/src/lib.rs b/baml_language/sdks/python/rust/sdkgen_python_pydantic2/src/lib.rs index fedb7d75a3e..c2380472a9f 100644 --- a/baml_language/sdks/python/rust/sdkgen_python_pydantic2/src/lib.rs +++ b/baml_language/sdks/python/rust/sdkgen_python_pydantic2/src/lib.rs @@ -374,7 +374,7 @@ fn append_lazy_children_block(out: &mut String, children: &BTreeSet) { fn render_root_init(top_children: &BTreeSet, use_bytecode: bool) -> String { let mut out = String::new(); out.push_str("from __future__ import annotations\n\n"); - out.push_str("from baml_core import BamlRuntime, set_type_map\n"); + out.push_str("from baml_bridge import BamlRuntime, set_type_map\n"); out.push_str("from . import _inlinedbaml\n"); out.push_str("from ._typemap import _TYPE_MAP\n\n"); if use_bytecode { @@ -687,7 +687,7 @@ mod tests { assert!(out.contains_key(&PathBuf::from("py.typed"))); let root = &out[&PathBuf::from("__init__.py")]; - assert!(root.contains("from baml_core import BamlRuntime, set_type_map")); + assert!(root.contains("from baml_bridge import BamlRuntime, set_type_map")); assert!(root.contains("from . import _inlinedbaml")); assert!(root.contains("from ._typemap import _TYPE_MAP")); assert!(root.contains("set_type_map(_TYPE_MAP)")); @@ -1375,7 +1375,7 @@ mod tests { // per leaf that carries any function/companion binding, and // never in leaves that don't. 25b Phase 2: every leaf with a // class/enum/alias also pulls `register_class`/`register_enum`/ - // `register_type_alias`, so the surrounding `from baml_core ...` + // `register_type_alias`, so the surrounding `from baml_bridge ...` // block is no longer factory-exclusive — we assert on the // factory name itself. let mut pool: SymbolPool = HashMap::new(); @@ -2401,7 +2401,7 @@ mod tests { // `define_function` factory, so the import collapses to one // line — no parenthesized form needed. assert!( - leaf.contains("from baml_core import define_function as _define_function\n"), + leaf.contains("from baml_bridge import define_function as _define_function\n"), "missing single-line factory import:\n{leaf}" ); } @@ -2587,7 +2587,7 @@ mod tests { ); // No factory call, no `_define_function`. assert!(!leaf.contains("_define_function")); - assert!(!leaf.contains("baml_core")); + assert!(!leaf.contains("baml_bridge")); } #[test] @@ -2816,8 +2816,8 @@ mod tests { continue; } assert!( - !content.contains("baml_core"), - "{} must not import baml_core", + !content.contains("baml_bridge"), + "{} must not import baml_bridge", path.display() ); assert!( diff --git a/baml_language/sdks/python/setup.sh b/baml_language/sdks/python/setup.sh index dd741dcb661..a57c332e672 100755 --- a/baml_language/sdks/python/setup.sh +++ b/baml_language/sdks/python/setup.sh @@ -12,14 +12,14 @@ _slow_build_hint() { _slow_build_hint & HINT_PID=$! -# NOTE: a plain `uv sync` does NOT rebuild baml_core after incremental -# Rust edits. baml_core is an editable maturin install, but uv keys the +# NOTE: a plain `uv sync` does NOT rebuild baml_bridge after incremental +# Rust edits. baml_bridge is an editable maturin install, but uv keys the # rebuild on the Python project metadata, not the Rust sources behind it # — so after you change Rust under rust/bridge_python (or any engine # crate), `uv sync` is a no-op and leaves a STALE `baml_py.abi3.so` in # the venv. pytest then imports the old extension and fails on freshly- # added symbols. To pick up Rust changes, force a rebuild with one of: -# uv sync --reinstall-package baml_core # forces maturin to rebuild +# uv sync --reinstall-package baml_bridge # forces maturin to rebuild # maturin develop # faster: reuses cargo's # # incremental cache (~7s vs # # ~70s; uv's build isolation diff --git a/baml_language/sdks/python/src/baml_core/__init__.py b/baml_language/sdks/python/src/baml_bridge/__init__.py similarity index 99% rename from baml_language/sdks/python/src/baml_core/__init__.py rename to baml_language/sdks/python/src/baml_bridge/__init__.py index a79ccde6e75..4f8325e276c 100644 --- a/baml_language/sdks/python/src/baml_core/__init__.py +++ b/baml_language/sdks/python/src/baml_bridge/__init__.py @@ -1,7 +1,7 @@ -# BAML Python runtime surface — the `baml_core` package. +# BAML Python runtime surface — the `baml_bridge` package. # # Everything generated `baml_sdk.*` code imports from the bridge lives here: -# PyO3 runtime classes (re-exported from `baml_core.baml_py`), the protobuf +# PyO3 runtime classes (re-exported from `baml_bridge.baml_py`), the protobuf # encoder/decoder, the three factory entry points, and `get_runtime()`. import atexit diff --git a/baml_language/sdks/python/src/baml_core/_stream.py b/baml_language/sdks/python/src/baml_bridge/_stream.py similarity index 100% rename from baml_language/sdks/python/src/baml_core/_stream.py rename to baml_language/sdks/python/src/baml_bridge/_stream.py diff --git a/baml_language/sdks/python/src/baml_core/baml_py.pyi b/baml_language/sdks/python/src/baml_bridge/baml_py.pyi similarity index 98% rename from baml_language/sdks/python/src/baml_core/baml_py.pyi rename to baml_language/sdks/python/src/baml_bridge/baml_py.pyi index 0437ca13ce7..7273869c291 100644 --- a/baml_language/sdks/python/src/baml_core/baml_py.pyi +++ b/baml_language/sdks/python/src/baml_bridge/baml_py.pyi @@ -436,7 +436,7 @@ def get_runtime() -> BamlRuntime: Return the process-global `BamlRuntime`, or raise `BamlError` if `BamlRuntime.initialize_runtime(...)` has not been called yet. - Used by the pure-Python factories in `baml_core` so generated + Used by the pure-Python factories in `baml_bridge` so generated leaves don't have to thread a runtime reference through every call site. """ @@ -453,7 +453,7 @@ def lookup_host_value(handle: BamlPyHandle) -> typing.Optional[typing.Any]: `BamlPyHandle` whose `handle_type` is `HOST_VALUE_CALLABLE` / `HOST_VALUE_OPAQUE`, returning a fresh strong reference if the entry is still live. Used by the outbound error decoder in - `baml_core.proto` to rehydrate a `baml.errors.HostCallable` thrown + `baml_bridge.proto` to rehydrate a `baml.errors.HostCallable` thrown by BAML back to the original Python exception object on same-host round-trip. @@ -468,7 +468,7 @@ def register_host_callable(callable: typing.Any) -> builtins.int: Insert a Python callable into the registry and return its key. Exposed to Python as `baml_py.register_host_callable(callable) -> int`. - Called from the inbound encoder in `baml_core.proto` whenever a Python + Called from the inbound encoder in `baml_bridge.proto` whenever a Python callable appears as a kwarg. """ diff --git a/baml_language/sdks/python/src/baml_core/cffi/__init__.py b/baml_language/sdks/python/src/baml_bridge/cffi/__init__.py similarity index 100% rename from baml_language/sdks/python/src/baml_core/cffi/__init__.py rename to baml_language/sdks/python/src/baml_bridge/cffi/__init__.py diff --git a/baml_language/sdks/python/src/baml_core/cffi/v1/__init__.py b/baml_language/sdks/python/src/baml_bridge/cffi/v1/__init__.py similarity index 100% rename from baml_language/sdks/python/src/baml_core/cffi/v1/__init__.py rename to baml_language/sdks/python/src/baml_bridge/cffi/v1/__init__.py diff --git a/baml_language/sdks/python/src/baml_bridge/cffi/v1/baml_handle_pb2.py b/baml_language/sdks/python/src/baml_bridge/cffi/v1/baml_handle_pb2.py new file mode 100644 index 00000000000..fa26f0d435a --- /dev/null +++ b/baml_language/sdks/python/src/baml_bridge/cffi/v1/baml_handle_pb2.py @@ -0,0 +1,39 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE +# source: baml_bridge/cffi/v1/baml_handle.proto +# Protobuf Python Version: 6.31.1 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 31, + 1, + '', + 'baml_bridge/cffi/v1/baml_handle.proto' +) +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%baml_bridge/cffi/v1/baml_handle.proto\x12\x13\x62\x61ml_bridge.cffi.v1\"S\n\nBamlHandle\x12\x0b\n\x03key\x18\x01 \x01(\x04\x12\x38\n\x0bhandle_type\x18\x02 \x01(\x0e\x32#.baml_bridge.cffi.v1.BamlHandleType*\xdf\x02\n\x0e\x42\x61mlHandleType\x12\x16\n\x12HANDLE_UNSPECIFIED\x10\x00\x12\x16\n\x12UNTAGGED_RUST_DATA\x10\x01\x12\x15\n\x11UNTAGGED_BEX_HEAP\x10\x02\x12\x10\n\x0c\x46UNCTION_REF\x10\x05\x12\x13\n\x0f\x41\x44T_MEDIA_IMAGE\x10\x06\x12\x13\n\x0f\x41\x44T_MEDIA_AUDIO\x10\x07\x12\x13\n\x0f\x41\x44T_MEDIA_VIDEO\x10\x08\x12\x11\n\rADT_MEDIA_PDF\x10\t\x12\x15\n\x11\x41\x44T_MEDIA_GENERIC\x10\n\x12\x12\n\x0e\x41\x44T_PROMPT_AST\x10\x0b\x12\x11\n\rADT_COLLECTOR\x10\x0c\x12\x0c\n\x08\x41\x44T_TYPE\x10\r\x12\x1a\n\x16\x41\x44T_TAGGED_HEAP_HANDLE\x10\x0e\x12\x17\n\x13HOST_VALUE_CALLABLE\x10\x0f\x12\x15\n\x11HOST_VALUE_OPAQUE\x10\x10\"\x04\x08\x03\x10\x03\"\x04\x08\x04\x10\x04\x42\x08Z\x06./cffib\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'baml_bridge.cffi.v1.baml_handle_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'Z\006./cffi' + _globals['_BAMLHANDLETYPE']._serialized_start=148 + _globals['_BAMLHANDLETYPE']._serialized_end=499 + _globals['_BAMLHANDLE']._serialized_start=62 + _globals['_BAMLHANDLE']._serialized_end=145 +# @@protoc_insertion_point(module_scope) diff --git a/baml_language/sdks/python/src/baml_core/cffi/v1/baml_handle_pb2.pyi b/baml_language/sdks/python/src/baml_bridge/cffi/v1/baml_handle_pb2.pyi similarity index 100% rename from baml_language/sdks/python/src/baml_core/cffi/v1/baml_handle_pb2.pyi rename to baml_language/sdks/python/src/baml_bridge/cffi/v1/baml_handle_pb2.pyi diff --git a/baml_language/sdks/python/src/baml_bridge/cffi/v1/baml_inbound_pb2.py b/baml_language/sdks/python/src/baml_bridge/cffi/v1/baml_inbound_pb2.py new file mode 100644 index 00000000000..3c060f2edde --- /dev/null +++ b/baml_language/sdks/python/src/baml_bridge/cffi/v1/baml_inbound_pb2.py @@ -0,0 +1,55 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE +# source: baml_bridge/cffi/v1/baml_inbound.proto +# Protobuf Python Version: 6.31.1 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 31, + 1, + '', + 'baml_bridge/cffi/v1/baml_inbound.proto' +) +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from baml_bridge.cffi.v1 import baml_handle_pb2 as baml__bridge_dot_cffi_dot_v1_dot_baml__handle__pb2 +from baml_bridge.cffi.v1 import baml_type_pb2 as baml__bridge_dot_cffi_dot_v1_dot_baml__type__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&baml_bridge/cffi/v1/baml_inbound.proto\x12\x13\x62\x61ml_bridge.cffi.v1\x1a%baml_bridge/cffi/v1/baml_handle.proto\x1a#baml_bridge/cffi/v1/baml_type.proto\"\x83\x04\n\x0cInboundValue\x12\x16\n\x0cstring_value\x18\x02 \x01(\tH\x00\x12\x13\n\tint_value\x18\x03 \x01(\x03H\x00\x12\x15\n\x0b\x66loat_value\x18\x04 \x01(\x01H\x00\x12\x14\n\nbool_value\x18\x05 \x01(\x08H\x00\x12;\n\nlist_value\x18\x06 \x01(\x0b\x32%.baml_bridge.cffi.v1.InboundListValueH\x00\x12\x39\n\tmap_value\x18\x07 \x01(\x0b\x32$.baml_bridge.cffi.v1.InboundMapValueH\x00\x12=\n\x0b\x63lass_value\x18\x08 \x01(\x0b\x32&.baml_bridge.cffi.v1.InboundClassValueH\x00\x12;\n\nenum_value\x18\t \x01(\x0b\x32%.baml_bridge.cffi.v1.InboundEnumValueH\x00\x12\x31\n\x06handle\x18\n \x01(\x0b\x32\x1f.baml_bridge.cffi.v1.BamlHandleH\x00\x12\x1a\n\x10uint8array_value\x18\x0b \x01(\x0cH\x00\x12\x16\n\x0c\x62igint_value\x18\x0c \x01(\tH\x00\x12/\n\x08ty_value\x18\r \x01(\x0b\x32\x1b.baml_bridge.cffi.v1.BamlTyH\x00\x42\x07\n\x05valueJ\x04\x08\x01\x10\x02\"E\n\x10InboundListValue\x12\x31\n\x06values\x18\x01 \x03(\x0b\x32!.baml_bridge.cffi.v1.InboundValue\"H\n\x0fInboundMapValue\x12\x35\n\x07\x65ntries\x18\x01 \x03(\x0b\x32$.baml_bridge.cffi.v1.InboundMapEntry\"\xc2\x01\n\x0fInboundMapEntry\x12\x14\n\nstring_key\x18\x01 \x01(\tH\x00\x12\x11\n\x07int_key\x18\x02 \x01(\x03H\x00\x12\x12\n\x08\x62ool_key\x18\x03 \x01(\x08H\x00\x12\x39\n\x08\x65num_key\x18\x05 \x01(\x0b\x32%.baml_bridge.cffi.v1.InboundEnumValueH\x00\x12\x30\n\x05value\x18\x06 \x01(\x0b\x32!.baml_bridge.cffi.v1.InboundValueB\x05\n\x03key\"\x83\x01\n\x11InboundClassValue\x12\x34\n\x06\x66ields\x18\x02 \x03(\x0b\x32$.baml_bridge.cffi.v1.InboundMapEntry\x12\x32\n\x08\x63lass_ty\x18\x03 \x01(\x0b\x32 .baml_bridge.cffi.v1.BamlTyClassJ\x04\x08\x01\x10\x02\"/\n\x10InboundEnumValue\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\"N\n\tBamlTyArg\x12\x10\n\x08type_var\x18\x01 \x01(\t\x12/\n\ntype_value\x18\x02 \x01(\x0b\x32\x1b.baml_bridge.cffi.v1.BamlTy\"\x8c\x01\n\x10\x43\x61llFunctionArgs\x12\x34\n\x06kwargs\x18\x01 \x03(\x0b\x32$.baml_bridge.cffi.v1.InboundMapEntry\x12\x0f\n\x07\x63\x61ll_id\x18\x02 \x01(\x04\x12\x31\n\ttype_args\x18\x03 \x03(\x0b\x32\x1e.baml_bridge.cffi.v1.BamlTyArg\"&\n\x07\x43\x61llAck\x12\x0f\n\x05\x65rror\x18\x01 \x01(\tH\x00\x42\n\n\x08responseB\x08Z\x06./cffib\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'baml_bridge.cffi.v1.baml_inbound_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'Z\006./cffi' + _globals['_INBOUNDVALUE']._serialized_start=140 + _globals['_INBOUNDVALUE']._serialized_end=655 + _globals['_INBOUNDLISTVALUE']._serialized_start=657 + _globals['_INBOUNDLISTVALUE']._serialized_end=726 + _globals['_INBOUNDMAPVALUE']._serialized_start=728 + _globals['_INBOUNDMAPVALUE']._serialized_end=800 + _globals['_INBOUNDMAPENTRY']._serialized_start=803 + _globals['_INBOUNDMAPENTRY']._serialized_end=997 + _globals['_INBOUNDCLASSVALUE']._serialized_start=1000 + _globals['_INBOUNDCLASSVALUE']._serialized_end=1131 + _globals['_INBOUNDENUMVALUE']._serialized_start=1133 + _globals['_INBOUNDENUMVALUE']._serialized_end=1180 + _globals['_BAMLTYARG']._serialized_start=1182 + _globals['_BAMLTYARG']._serialized_end=1260 + _globals['_CALLFUNCTIONARGS']._serialized_start=1263 + _globals['_CALLFUNCTIONARGS']._serialized_end=1403 + _globals['_CALLACK']._serialized_start=1405 + _globals['_CALLACK']._serialized_end=1443 +# @@protoc_insertion_point(module_scope) diff --git a/baml_language/sdks/python/src/baml_core/cffi/v1/baml_inbound_pb2.pyi b/baml_language/sdks/python/src/baml_bridge/cffi/v1/baml_inbound_pb2.pyi similarity index 97% rename from baml_language/sdks/python/src/baml_core/cffi/v1/baml_inbound_pb2.pyi rename to baml_language/sdks/python/src/baml_bridge/cffi/v1/baml_inbound_pb2.pyi index ca8edf9ea6c..5d69b3cf9bd 100644 --- a/baml_language/sdks/python/src/baml_core/cffi/v1/baml_inbound_pb2.pyi +++ b/baml_language/sdks/python/src/baml_bridge/cffi/v1/baml_inbound_pb2.pyi @@ -1,5 +1,5 @@ -from baml_core.cffi.v1 import baml_handle_pb2 as _baml_handle_pb2 -from baml_core.cffi.v1 import baml_type_pb2 as _baml_type_pb2 +from baml_bridge.cffi.v1 import baml_handle_pb2 as _baml_handle_pb2 +from baml_bridge.cffi.v1 import baml_type_pb2 as _baml_type_pb2 from google.protobuf.internal import containers as _containers from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message diff --git a/baml_language/sdks/python/src/baml_bridge/cffi/v1/baml_outbound_pb2.py b/baml_language/sdks/python/src/baml_bridge/cffi/v1/baml_outbound_pb2.py new file mode 100644 index 00000000000..6583373ef16 --- /dev/null +++ b/baml_language/sdks/python/src/baml_bridge/cffi/v1/baml_outbound_pb2.py @@ -0,0 +1,81 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE +# source: baml_bridge/cffi/v1/baml_outbound.proto +# Protobuf Python Version: 6.31.1 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 31, + 1, + '', + 'baml_bridge/cffi/v1/baml_outbound.proto' +) +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from baml_bridge.cffi.v1 import baml_handle_pb2 as baml__bridge_dot_cffi_dot_v1_dot_baml__handle__pb2 +from baml_bridge.cffi.v1 import baml_type_pb2 as baml__bridge_dot_cffi_dot_v1_dot_baml__type__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'baml_bridge/cffi/v1/baml_outbound.proto\x12\x13\x62\x61ml_bridge.cffi.v1\x1a%baml_bridge/cffi/v1/baml_handle.proto\x1a#baml_bridge/cffi/v1/baml_type.proto\"\xc6\x01\n\x12\x42\x61mlOutboundResult\x12\x34\n\x02ok\x18\x01 \x01(\x0b\x32&.baml_bridge.cffi.v1.BamlOutboundValueH\x00\x12\x37\n\x05\x65rror\x18\x02 \x01(\x0b\x32&.baml_bridge.cffi.v1.BamlOutboundErrorH\x00\x12\x37\n\x05panic\x18\x03 \x01(\x0b\x32&.baml_bridge.cffi.v1.BamlOutboundPanicH\x00\x42\x08\n\x06result\"Y\n\x11\x42\x61mlOutboundError\x12\x35\n\x05value\x18\x01 \x01(\x0b\x32&.baml_bridge.cffi.v1.BamlOutboundValue\x12\r\n\x05trace\x18\x02 \x03(\t\"\x83\x01\n\x11\x42\x61mlOutboundPanic\x12\x35\n\x05value\x18\x01 \x01(\x0b\x32&.baml_bridge.cffi.v1.BamlOutboundValue\x12\r\n\x05trace\x18\x02 \x03(\t\x12\x15\n\ris_exit_panic\x18\x03 \x01(\x08\x12\x11\n\texit_code\x18\x04 \x01(\x03\"\xca\x06\n\x11\x42\x61mlOutboundValue\x12\x38\n\nnull_value\x18\x02 \x01(\x0b\x32\".baml_bridge.cffi.v1.BamlValueNullH\x00\x12\x16\n\x0cstring_value\x18\x03 \x01(\tH\x00\x12\x13\n\tint_value\x18\x04 \x01(\x03H\x00\x12\x15\n\x0b\x66loat_value\x18\x05 \x01(\x01H\x00\x12\x14\n\nbool_value\x18\x06 \x01(\x08H\x00\x12:\n\x0b\x63lass_value\x18\x07 \x01(\x0b\x32#.baml_bridge.cffi.v1.BamlValueClassH\x00\x12\x38\n\nenum_value\x18\x08 \x01(\x0b\x32\".baml_bridge.cffi.v1.BamlValueEnumH\x00\x12>\n\rliteral_value\x18\t \x01(\x0b\x32%.baml_bridge.cffi.v1.BamlLiteralValueH\x00\x12\x38\n\nlist_value\x18\x0b \x01(\x0b\x32\".baml_bridge.cffi.v1.BamlValueListH\x00\x12\x36\n\tmap_value\x18\x0c \x01(\x0b\x32!.baml_bridge.cffi.v1.BamlValueMapH\x00\x12I\n\x13union_variant_value\x18\r \x01(\x0b\x32*.baml_bridge.cffi.v1.BamlValueUnionVariantH\x00\x12?\n\x0chandle_value\x18\x10 \x01(\x0b\x32\'.baml_bridge.cffi.v1.BamlOutboundHandleH\x00\x12:\n\x0bmedia_value\x18\x11 \x01(\x0b\x32#.baml_bridge.cffi.v1.BamlValueMediaH\x00\x12\x43\n\x10prompt_ast_value\x18\x12 \x01(\x0b\x32\'.baml_bridge.cffi.v1.BamlValuePromptAstH\x00\x12\x1a\n\x10uint8array_value\x18\x13 \x01(\x0cH\x00\x12\x16\n\x0c\x62igint_value\x18\x14 \x01(\tH\x00\x12/\n\x08ty_value\x18\x15 \x01(\x0b\x32\x1b.baml_bridge.cffi.v1.BamlTyH\x00\x42\x07\n\x05value\"\x84\x01\n\x12\x42\x61mlOutboundHandle\x12\x0b\n\x03key\x18\x01 \x01(\x04\x12\x38\n\x0bhandle_type\x18\x02 \x01(\x0e\x32#.baml_bridge.cffi.v1.BamlHandleType\x12\'\n\x02ty\x18\x03 \x01(\x0b\x32\x1b.baml_bridge.cffi.v1.BamlTy\"\x0f\n\rBamlValueNull\"v\n\rBamlValueList\x12.\n\titem_type\x18\x01 \x01(\x0b\x32\x1b.baml_bridge.cffi.v1.BamlTy\x12\x35\n\x05items\x18\x02 \x03(\x0b\x32&.baml_bridge.cffi.v1.BamlOutboundValue\"Z\n\x14\x42\x61mlOutboundMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x35\n\x05value\x18\x02 \x01(\x0b\x32&.baml_bridge.cffi.v1.BamlOutboundValue\"\xaa\x01\n\x0c\x42\x61mlValueMap\x12-\n\x08key_type\x18\x01 \x01(\x0b\x32\x1b.baml_bridge.cffi.v1.BamlTy\x12/\n\nvalue_type\x18\x02 \x01(\x0b\x32\x1b.baml_bridge.cffi.v1.BamlTy\x12:\n\x07\x65ntries\x18\x03 \x03(\x0b\x32).baml_bridge.cffi.v1.BamlOutboundMapEntry\"\x89\x01\n\x0e\x42\x61mlValueClass\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x39\n\x06\x66ields\x18\x02 \x03(\x0b\x32).baml_bridge.cffi.v1.BamlOutboundMapEntry\x12.\n\ttype_args\x18\x03 \x03(\x0b\x32\x1b.baml_bridge.cffi.v1.BamlTy\"@\n\rBamlValueEnum\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\x12\x12\n\nis_dynamic\x18\x03 \x01(\x08\"\xd7\x01\n\x15\x42\x61mlValueUnionVariant\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0bis_optional\x18\x02 \x01(\x08\x12\x19\n\x11is_single_pattern\x18\x03 \x01(\x08\x12.\n\tself_type\x18\x04 \x01(\x0b\x32\x1b.baml_bridge.cffi.v1.BamlTy\x12\x19\n\x11value_option_name\x18\x05 \x01(\t\x12\x35\n\x05value\x18\x06 \x01(\x0b\x32&.baml_bridge.cffi.v1.BamlOutboundValue\"\xa3\x01\n\x0e\x42\x61mlValueMedia\x12\x31\n\x05media\x18\x01 \x01(\x0e\x32\".baml_bridge.cffi.v1.MediaTypeEnum\x12\x16\n\tmime_type\x18\x02 \x01(\tH\x01\x88\x01\x01\x12\r\n\x03url\x18\x03 \x01(\tH\x00\x12\x10\n\x06\x62\x61se64\x18\x04 \x01(\tH\x00\x12\x0e\n\x04\x66ile\x18\x05 \x01(\tH\x00\x42\x07\n\x05valueB\x0c\n\n_mime_type\"\xe6\x01\n\x12\x42\x61mlValuePromptAst\x12?\n\x06simple\x18\x01 \x01(\x0b\x32-.baml_bridge.cffi.v1.BamlValuePromptAstSimpleH\x00\x12\x41\n\x07message\x18\x02 \x01(\x0b\x32..baml_bridge.cffi.v1.BamlValuePromptAstMessageH\x00\x12\x43\n\x08multiple\x18\x03 \x01(\x0b\x32/.baml_bridge.cffi.v1.BamlValuePromptAstMultipleH\x00\x42\x07\n\x05value\"\x83\x01\n\x19\x42\x61mlValuePromptAstMessage\x12\x0c\n\x04role\x18\x01 \x01(\t\x12>\n\x07\x63ontent\x18\x02 \x01(\x0b\x32-.baml_bridge.cffi.v1.BamlValuePromptAstSimple\x12\x18\n\x10metadata_as_json\x18\x03 \x01(\t\"T\n\x1a\x42\x61mlValuePromptAstMultiple\x12\x36\n\x05items\x18\x01 \x03(\x0b\x32\'.baml_bridge.cffi.v1.BamlValuePromptAst\"\xb6\x01\n\x18\x42\x61mlValuePromptAstSimple\x12\x10\n\x06string\x18\x01 \x01(\tH\x00\x12\x34\n\x05media\x18\x02 \x01(\x0b\x32#.baml_bridge.cffi.v1.BamlValueMediaH\x00\x12I\n\x08multiple\x18\x03 \x01(\x0b\x32\x35.baml_bridge.cffi.v1.BamlValuePromptAstSimpleMultipleH\x00\x42\x07\n\x05value\"`\n BamlValuePromptAstSimpleMultiple\x12<\n\x05items\x18\x01 \x03(\x0b\x32-.baml_bridge.cffi.v1.BamlValuePromptAstSimple\"B\n\x0e\x42\x61mlToHostCall\x12\x30\n\x04\x61rgs\x18\x01 \x03(\x0b\x32\".baml_bridge.cffi.v1.BamlToHostArg\"q\n\rBamlToHostArg\x12\x35\n\x05value\x18\x01 \x01(\x0b\x32&.baml_bridge.cffi.v1.BamlOutboundValue\x12\x10\n\x08\x61rg_name\x18\x02 \x01(\t\x12\x17\n\x0fis_optional_arg\x18\x03 \x01(\x08\"\x8f\x01\n\x10\x42\x61mlLiteralValue\x12\x16\n\x0cstring_value\x18\x01 \x01(\tH\x00\x12\x13\n\tint_value\x18\x02 \x01(\x03H\x00\x12\x14\n\nbool_value\x18\x03 \x01(\x08H\x00\x12\x16\n\x0c\x62igint_value\x18\x04 \x01(\tH\x00\x12\x15\n\x0b\x66loat_value\x18\x05 \x01(\tH\x00\x42\t\n\x07literal*`\n\rMediaTypeEnum\x12\x1a\n\x16MEDIA_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05IMAGE\x10\x01\x12\t\n\x05\x41UDIO\x10\x02\x12\x07\n\x03PDF\x10\x03\x12\t\n\x05VIDEO\x10\x04\x12\t\n\x05OTHER\x10\x05\x42\x08Z\x06./cffib\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'baml_bridge.cffi.v1.baml_outbound_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'Z\006./cffi' + _globals['_MEDIATYPEENUM']._serialized_start=3603 + _globals['_MEDIATYPEENUM']._serialized_end=3699 + _globals['_BAMLOUTBOUNDRESULT']._serialized_start=141 + _globals['_BAMLOUTBOUNDRESULT']._serialized_end=339 + _globals['_BAMLOUTBOUNDERROR']._serialized_start=341 + _globals['_BAMLOUTBOUNDERROR']._serialized_end=430 + _globals['_BAMLOUTBOUNDPANIC']._serialized_start=433 + _globals['_BAMLOUTBOUNDPANIC']._serialized_end=564 + _globals['_BAMLOUTBOUNDVALUE']._serialized_start=567 + _globals['_BAMLOUTBOUNDVALUE']._serialized_end=1409 + _globals['_BAMLOUTBOUNDHANDLE']._serialized_start=1412 + _globals['_BAMLOUTBOUNDHANDLE']._serialized_end=1544 + _globals['_BAMLVALUENULL']._serialized_start=1546 + _globals['_BAMLVALUENULL']._serialized_end=1561 + _globals['_BAMLVALUELIST']._serialized_start=1563 + _globals['_BAMLVALUELIST']._serialized_end=1681 + _globals['_BAMLOUTBOUNDMAPENTRY']._serialized_start=1683 + _globals['_BAMLOUTBOUNDMAPENTRY']._serialized_end=1773 + _globals['_BAMLVALUEMAP']._serialized_start=1776 + _globals['_BAMLVALUEMAP']._serialized_end=1946 + _globals['_BAMLVALUECLASS']._serialized_start=1949 + _globals['_BAMLVALUECLASS']._serialized_end=2086 + _globals['_BAMLVALUEENUM']._serialized_start=2088 + _globals['_BAMLVALUEENUM']._serialized_end=2152 + _globals['_BAMLVALUEUNIONVARIANT']._serialized_start=2155 + _globals['_BAMLVALUEUNIONVARIANT']._serialized_end=2370 + _globals['_BAMLVALUEMEDIA']._serialized_start=2373 + _globals['_BAMLVALUEMEDIA']._serialized_end=2536 + _globals['_BAMLVALUEPROMPTAST']._serialized_start=2539 + _globals['_BAMLVALUEPROMPTAST']._serialized_end=2769 + _globals['_BAMLVALUEPROMPTASTMESSAGE']._serialized_start=2772 + _globals['_BAMLVALUEPROMPTASTMESSAGE']._serialized_end=2903 + _globals['_BAMLVALUEPROMPTASTMULTIPLE']._serialized_start=2905 + _globals['_BAMLVALUEPROMPTASTMULTIPLE']._serialized_end=2989 + _globals['_BAMLVALUEPROMPTASTSIMPLE']._serialized_start=2992 + _globals['_BAMLVALUEPROMPTASTSIMPLE']._serialized_end=3174 + _globals['_BAMLVALUEPROMPTASTSIMPLEMULTIPLE']._serialized_start=3176 + _globals['_BAMLVALUEPROMPTASTSIMPLEMULTIPLE']._serialized_end=3272 + _globals['_BAMLTOHOSTCALL']._serialized_start=3274 + _globals['_BAMLTOHOSTCALL']._serialized_end=3340 + _globals['_BAMLTOHOSTARG']._serialized_start=3342 + _globals['_BAMLTOHOSTARG']._serialized_end=3455 + _globals['_BAMLLITERALVALUE']._serialized_start=3458 + _globals['_BAMLLITERALVALUE']._serialized_end=3601 +# @@protoc_insertion_point(module_scope) diff --git a/baml_language/sdks/python/src/baml_core/cffi/v1/baml_outbound_pb2.pyi b/baml_language/sdks/python/src/baml_bridge/cffi/v1/baml_outbound_pb2.pyi similarity index 98% rename from baml_language/sdks/python/src/baml_core/cffi/v1/baml_outbound_pb2.pyi rename to baml_language/sdks/python/src/baml_bridge/cffi/v1/baml_outbound_pb2.pyi index df3ecfc372b..3dbcf880ef8 100644 --- a/baml_language/sdks/python/src/baml_core/cffi/v1/baml_outbound_pb2.pyi +++ b/baml_language/sdks/python/src/baml_bridge/cffi/v1/baml_outbound_pb2.pyi @@ -1,5 +1,5 @@ -from baml_core.cffi.v1 import baml_handle_pb2 as _baml_handle_pb2 -from baml_core.cffi.v1 import baml_type_pb2 as _baml_type_pb2 +from baml_bridge.cffi.v1 import baml_handle_pb2 as _baml_handle_pb2 +from baml_bridge.cffi.v1 import baml_type_pb2 as _baml_type_pb2 from google.protobuf.internal import containers as _containers from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper from google.protobuf import descriptor as _descriptor diff --git a/baml_language/sdks/python/src/baml_bridge/cffi/v1/baml_type_pb2.py b/baml_language/sdks/python/src/baml_bridge/cffi/v1/baml_type_pb2.py new file mode 100644 index 00000000000..197978fb28d --- /dev/null +++ b/baml_language/sdks/python/src/baml_bridge/cffi/v1/baml_type_pb2.py @@ -0,0 +1,95 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE +# source: baml_bridge/cffi/v1/baml_type.proto +# Protobuf Python Version: 6.31.1 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 31, + 1, + '', + 'baml_bridge/cffi/v1/baml_type.proto' +) +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#baml_bridge/cffi/v1/baml_type.proto\x12\x13\x62\x61ml_bridge.cffi.v1\"\xe6\n\n\x06\x42\x61mlTy\x12\x39\n\tprimitive\x18\x01 \x01(\x0b\x32$.baml_bridge.cffi.v1.BamlTyPrimitiveH\x00\x12\x34\n\x08\x63lass_ty\x18\x02 \x01(\x0b\x32 .baml_bridge.cffi.v1.BamlTyClassH\x00\x12/\n\x04\x65num\x18\x03 \x01(\x0b\x32\x1f.baml_bridge.cffi.v1.BamlTyEnumH\x00\x12/\n\x04list\x18\x04 \x01(\x0b\x32\x1f.baml_bridge.cffi.v1.BamlTyListH\x00\x12-\n\x03map\x18\x05 \x01(\x0b\x32\x1e.baml_bridge.cffi.v1.BamlTyMapH\x00\x12\x37\n\x08optional\x18\x06 \x01(\x0b\x32#.baml_bridge.cffi.v1.BamlTyOptionalH\x00\x12\x31\n\x05union\x18\x07 \x01(\x0b\x32 .baml_bridge.cffi.v1.BamlTyUnionH\x00\x12\x35\n\x07literal\x18\x08 \x01(\x0b\x32\".baml_bridge.cffi.v1.BamlTyLiteralH\x00\x12:\n\ntype_alias\x18\t \x01(\x0b\x32$.baml_bridge.cffi.v1.BamlTyTypeAliasH\x00\x12\x35\n\x07unknown\x18\n \x01(\x0b\x32\".baml_bridge.cffi.v1.BamlTyUnknownH\x00\x12\x31\n\x05media\x18\x0b \x01(\x0b\x32 .baml_bridge.cffi.v1.BamlTyMediaH\x00\x12\x39\n\tinterface\x18\x0c \x01(\x0b\x32$.baml_bridge.cffi.v1.BamlTyInterfaceH\x00\x12>\n\x0c\x65num_variant\x18\r \x01(\x0b\x32&.baml_bridge.cffi.v1.BamlTyEnumVariantH\x00\x12\x37\n\x08\x66unction\x18\x0e \x01(\x0b\x32#.baml_bridge.cffi.v1.BamlTyFunctionH\x00\x12\x33\n\x06\x66uture\x18\x0f \x01(\x0b\x32!.baml_bridge.cffi.v1.BamlTyFutureH\x00\x12\x38\n\trust_type\x18\x10 \x01(\x0b\x32#.baml_bridge.cffi.v1.BamlTyRustTypeH\x00\x12\x38\n\tmeta_type\x18\x11 \x01(\x0b\x32#.baml_bridge.cffi.v1.BamlTyMetaTypeH\x00\x12\x37\n\x08resource\x18\x12 \x01(\x0b\x32#.baml_bridge.cffi.v1.BamlTyResourceH\x00\x12:\n\nprompt_ast\x18\x13 \x01(\x0b\x32$.baml_bridge.cffi.v1.BamlTyPromptAstH\x00\x12/\n\x04void\x18\x14 \x01(\x0b\x32\x1f.baml_bridge.cffi.v1.BamlTyVoidH\x00\x12\x42\n\x0ewatch_accessor\x18\x15 \x01(\x0b\x32(.baml_bridge.cffi.v1.BamlTyWatchAccessorH\x00\x12\x36\n\x08type_var\x18\x16 \x01(\x0b\x32\".baml_bridge.cffi.v1.BamlTyTypeVarH\x00\x12Y\n\x1a\x61ssociated_type_projection\x18\x17 \x01(\x0b\x32\x33.baml_bridge.cffi.v1.BamlTyAssociatedTypeProjectionH\x00\x12\x31\n\x05never\x18\x18 \x01(\x0b\x32 .baml_bridge.cffi.v1.BamlTyNeverH\x00\x42\x04\n\x02ty\"I\n\x0f\x42\x61mlTyPrimitive\x12\x36\n\x04kind\x18\x01 \x01(\x0e\x32(.baml_bridge.cffi.v1.BamlTyPrimitiveKind\"K\n\x0b\x42\x61mlTyClass\x12\x0c\n\x04name\x18\x01 \x01(\t\x12.\n\ttype_args\x18\x02 \x03(\x0b\x32\x1b.baml_bridge.cffi.v1.BamlTy\"O\n\x0f\x42\x61mlTyTypeAlias\x12\x0c\n\x04name\x18\x01 \x01(\t\x12.\n\ttype_args\x18\x02 \x03(\x0b\x32\x1b.baml_bridge.cffi.v1.BamlTy\"\x1a\n\nBamlTyEnum\x12\x0c\n\x04name\x18\x01 \x01(\t\"7\n\nBamlTyList\x12)\n\x04item\x18\x01 \x01(\x0b\x32\x1b.baml_bridge.cffi.v1.BamlTy\"a\n\tBamlTyMap\x12(\n\x03key\x18\x01 \x01(\x0b\x32\x1b.baml_bridge.cffi.v1.BamlTy\x12*\n\x05value\x18\x02 \x01(\x0b\x32\x1b.baml_bridge.cffi.v1.BamlTy\"<\n\x0e\x42\x61mlTyOptional\x12*\n\x05inner\x18\x01 \x01(\x0b\x32\x1b.baml_bridge.cffi.v1.BamlTy\";\n\x0b\x42\x61mlTyUnion\x12,\n\x07options\x18\x01 \x03(\x0b\x32\x1b.baml_bridge.cffi.v1.BamlTy\"\x0f\n\rBamlTyUnknown\"\x8c\x01\n\rBamlTyLiteral\x12\x16\n\x0cstring_value\x18\x01 \x01(\tH\x00\x12\x13\n\tint_value\x18\x02 \x01(\x03H\x00\x12\x14\n\nbool_value\x18\x03 \x01(\x08H\x00\x12\x16\n\x0c\x62igint_value\x18\x04 \x01(\tH\x00\x12\x15\n\x0b\x66loat_value\x18\x05 \x01(\tH\x00\x42\t\n\x07literal\"A\n\x0b\x42\x61mlTyMedia\x12\x32\n\x04kind\x18\x01 \x01(\x0e\x32$.baml_bridge.cffi.v1.BamlTyMediaKind\"\x8f\x01\n\x0f\x42\x61mlTyInterface\x12\x0c\n\x04name\x18\x01 \x01(\t\x12.\n\ttype_args\x18\x02 \x03(\x0b\x32\x1b.baml_bridge.cffi.v1.BamlTy\x12>\n\x08\x62indings\x18\x03 \x03(\x0b\x32,.baml_bridge.cffi.v1.BamlTyAssociatedBinding\"P\n\x17\x42\x61mlTyAssociatedBinding\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\'\n\x02ty\x18\x02 \x01(\x0b\x32\x1b.baml_bridge.cffi.v1.BamlTy\"2\n\x11\x42\x61mlTyEnumVariant\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07variant\x18\x02 \x01(\t\"\x96\x01\n\x13\x42\x61mlTyFunctionParam\x12\x11\n\x04name\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\'\n\x02ty\x18\x02 \x01(\x0b\x32\x1b.baml_bridge.cffi.v1.BamlTy\x12:\n\x04mode\x18\x03 \x01(\x0e\x32,.baml_bridge.cffi.v1.BamlTyFunctionParamModeB\x07\n\x05_name\"\xbf\x01\n\x0e\x42\x61mlTyFunction\x12\x16\n\x0egeneric_params\x18\x01 \x03(\t\x12\x38\n\x06params\x18\x03 \x03(\x0b\x32(.baml_bridge.cffi.v1.BamlTyFunctionParam\x12(\n\x03ret\x18\x04 \x01(\x0b\x32\x1b.baml_bridge.cffi.v1.BamlTy\x12+\n\x06throws\x18\x05 \x01(\x0b\x32\x1b.baml_bridge.cffi.v1.BamlTyJ\x04\x08\x02\x10\x03\"f\n\x0c\x42\x61mlTyFuture\x12*\n\x05value\x18\x01 \x01(\x0b\x32\x1b.baml_bridge.cffi.v1.BamlTy\x12*\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x1b.baml_bridge.cffi.v1.BamlTy\"\x10\n\x0e\x42\x61mlTyRustType\"\x10\n\x0e\x42\x61mlTyMetaType\"\x10\n\x0e\x42\x61mlTyResource\"\x11\n\x0f\x42\x61mlTyPromptAst\"\x0c\n\nBamlTyVoid\"A\n\x13\x42\x61mlTyWatchAccessor\x12*\n\x05inner\x18\x01 \x01(\x0b\x32\x1b.baml_bridge.cffi.v1.BamlTy\"\x1d\n\rBamlTyTypeVar\x12\x0c\n\x04name\x18\x01 \x01(\t\"\x8b\x01\n\x1e\x42\x61mlTyAssociatedTypeProjection\x12)\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1b.baml_bridge.cffi.v1.BamlTy\x12.\n\tinterface\x18\x02 \x01(\x0b\x32\x1b.baml_bridge.cffi.v1.BamlTy\x12\x0e\n\x06member\x18\x03 \x01(\t\"\r\n\x0b\x42\x61mlTyNever*\x81\x02\n\x13\x42\x61mlTyPrimitiveKind\x12!\n\x1d\x42\x41ML_TY_PRIMITIVE_UNSPECIFIED\x10\x00\x12\x1c\n\x18\x42\x41ML_TY_PRIMITIVE_STRING\x10\x01\x12\x19\n\x15\x42\x41ML_TY_PRIMITIVE_INT\x10\x02\x12\x1b\n\x17\x42\x41ML_TY_PRIMITIVE_FLOAT\x10\x03\x12\x1a\n\x16\x42\x41ML_TY_PRIMITIVE_BOOL\x10\x04\x12\x1a\n\x16\x42\x41ML_TY_PRIMITIVE_NULL\x10\x05\x12\x1b\n\x17\x42\x41ML_TY_PRIMITIVE_BYTES\x10\x06\x12\x1c\n\x18\x42\x41ML_TY_PRIMITIVE_BIGINT\x10\x07*\xcb\x01\n\x0f\x42\x61mlTyMediaKind\x12\"\n\x1e\x42\x41ML_TY_MEDIA_KIND_UNSPECIFIED\x10\x00\x12\x1c\n\x18\x42\x41ML_TY_MEDIA_KIND_IMAGE\x10\x01\x12\x1c\n\x18\x42\x41ML_TY_MEDIA_KIND_AUDIO\x10\x02\x12\x1c\n\x18\x42\x41ML_TY_MEDIA_KIND_VIDEO\x10\x03\x12\x1a\n\x16\x42\x41ML_TY_MEDIA_KIND_PDF\x10\x04\x12\x1e\n\x1a\x42\x41ML_TY_MEDIA_KIND_GENERIC\x10\x05*\x9a\x01\n\x17\x42\x61mlTyFunctionParamMode\x12+\n\'BAML_TY_FUNCTION_PARAM_MODE_UNSPECIFIED\x10\x00\x12(\n$BAML_TY_FUNCTION_PARAM_MODE_REQUIRED\x10\x01\x12(\n$BAML_TY_FUNCTION_PARAM_MODE_OPTIONAL\x10\x02\x42\x08Z\x06./cffib\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'baml_bridge.cffi.v1.baml_type_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'Z\006./cffi' + _globals['_BAMLTYPRIMITIVEKIND']._serialized_start=3286 + _globals['_BAMLTYPRIMITIVEKIND']._serialized_end=3543 + _globals['_BAMLTYMEDIAKIND']._serialized_start=3546 + _globals['_BAMLTYMEDIAKIND']._serialized_end=3749 + _globals['_BAMLTYFUNCTIONPARAMMODE']._serialized_start=3752 + _globals['_BAMLTYFUNCTIONPARAMMODE']._serialized_end=3906 + _globals['_BAMLTY']._serialized_start=61 + _globals['_BAMLTY']._serialized_end=1443 + _globals['_BAMLTYPRIMITIVE']._serialized_start=1445 + _globals['_BAMLTYPRIMITIVE']._serialized_end=1518 + _globals['_BAMLTYCLASS']._serialized_start=1520 + _globals['_BAMLTYCLASS']._serialized_end=1595 + _globals['_BAMLTYTYPEALIAS']._serialized_start=1597 + _globals['_BAMLTYTYPEALIAS']._serialized_end=1676 + _globals['_BAMLTYENUM']._serialized_start=1678 + _globals['_BAMLTYENUM']._serialized_end=1704 + _globals['_BAMLTYLIST']._serialized_start=1706 + _globals['_BAMLTYLIST']._serialized_end=1761 + _globals['_BAMLTYMAP']._serialized_start=1763 + _globals['_BAMLTYMAP']._serialized_end=1860 + _globals['_BAMLTYOPTIONAL']._serialized_start=1862 + _globals['_BAMLTYOPTIONAL']._serialized_end=1922 + _globals['_BAMLTYUNION']._serialized_start=1924 + _globals['_BAMLTYUNION']._serialized_end=1983 + _globals['_BAMLTYUNKNOWN']._serialized_start=1985 + _globals['_BAMLTYUNKNOWN']._serialized_end=2000 + _globals['_BAMLTYLITERAL']._serialized_start=2003 + _globals['_BAMLTYLITERAL']._serialized_end=2143 + _globals['_BAMLTYMEDIA']._serialized_start=2145 + _globals['_BAMLTYMEDIA']._serialized_end=2210 + _globals['_BAMLTYINTERFACE']._serialized_start=2213 + _globals['_BAMLTYINTERFACE']._serialized_end=2356 + _globals['_BAMLTYASSOCIATEDBINDING']._serialized_start=2358 + _globals['_BAMLTYASSOCIATEDBINDING']._serialized_end=2438 + _globals['_BAMLTYENUMVARIANT']._serialized_start=2440 + _globals['_BAMLTYENUMVARIANT']._serialized_end=2490 + _globals['_BAMLTYFUNCTIONPARAM']._serialized_start=2493 + _globals['_BAMLTYFUNCTIONPARAM']._serialized_end=2643 + _globals['_BAMLTYFUNCTION']._serialized_start=2646 + _globals['_BAMLTYFUNCTION']._serialized_end=2837 + _globals['_BAMLTYFUTURE']._serialized_start=2839 + _globals['_BAMLTYFUTURE']._serialized_end=2941 + _globals['_BAMLTYRUSTTYPE']._serialized_start=2943 + _globals['_BAMLTYRUSTTYPE']._serialized_end=2959 + _globals['_BAMLTYMETATYPE']._serialized_start=2961 + _globals['_BAMLTYMETATYPE']._serialized_end=2977 + _globals['_BAMLTYRESOURCE']._serialized_start=2979 + _globals['_BAMLTYRESOURCE']._serialized_end=2995 + _globals['_BAMLTYPROMPTAST']._serialized_start=2997 + _globals['_BAMLTYPROMPTAST']._serialized_end=3014 + _globals['_BAMLTYVOID']._serialized_start=3016 + _globals['_BAMLTYVOID']._serialized_end=3028 + _globals['_BAMLTYWATCHACCESSOR']._serialized_start=3030 + _globals['_BAMLTYWATCHACCESSOR']._serialized_end=3095 + _globals['_BAMLTYTYPEVAR']._serialized_start=3097 + _globals['_BAMLTYTYPEVAR']._serialized_end=3126 + _globals['_BAMLTYASSOCIATEDTYPEPROJECTION']._serialized_start=3129 + _globals['_BAMLTYASSOCIATEDTYPEPROJECTION']._serialized_end=3268 + _globals['_BAMLTYNEVER']._serialized_start=3270 + _globals['_BAMLTYNEVER']._serialized_end=3283 +# @@protoc_insertion_point(module_scope) diff --git a/baml_language/sdks/python/src/baml_core/cffi/v1/baml_type_pb2.pyi b/baml_language/sdks/python/src/baml_bridge/cffi/v1/baml_type_pb2.pyi similarity index 100% rename from baml_language/sdks/python/src/baml_core/cffi/v1/baml_type_pb2.pyi rename to baml_language/sdks/python/src/baml_bridge/cffi/v1/baml_type_pb2.pyi diff --git a/baml_language/sdks/python/src/baml_core/ctx_manager.py b/baml_language/sdks/python/src/baml_bridge/ctx_manager.py similarity index 100% rename from baml_language/sdks/python/src/baml_core/ctx_manager.py rename to baml_language/sdks/python/src/baml_bridge/ctx_manager.py diff --git a/baml_language/sdks/python/src/baml_core/errors.py b/baml_language/sdks/python/src/baml_bridge/errors.py similarity index 100% rename from baml_language/sdks/python/src/baml_core/errors.py rename to baml_language/sdks/python/src/baml_bridge/errors.py diff --git a/baml_language/sdks/python/src/baml_core/proto.py b/baml_language/sdks/python/src/baml_bridge/proto.py similarity index 100% rename from baml_language/sdks/python/src/baml_core/proto.py rename to baml_language/sdks/python/src/baml_bridge/proto.py diff --git a/baml_language/sdks/python/src/baml_core/py.typed b/baml_language/sdks/python/src/baml_bridge/py.typed similarity index 100% rename from baml_language/sdks/python/src/baml_core/py.typed rename to baml_language/sdks/python/src/baml_bridge/py.typed diff --git a/baml_language/sdks/python/src/baml_core/typemap.py b/baml_language/sdks/python/src/baml_bridge/typemap.py similarity index 91% rename from baml_language/sdks/python/src/baml_core/typemap.py rename to baml_language/sdks/python/src/baml_bridge/typemap.py index 6eb46d79e7a..0f591bdad86 100644 --- a/baml_language/sdks/python/src/baml_core/typemap.py +++ b/baml_language/sdks/python/src/baml_bridge/typemap.py @@ -16,19 +16,19 @@ _LazyEntry = Tuple[str, str] # (module_path, attr_name) # Hardcoded reverse-map seeds for the five stdlib re-exports whose -# Python class identity sits at baml_core.baml_py.BamlImage etc. +# Python class identity sits at baml_bridge.baml_py.BamlImage etc. # instead of at baml_sdk.baml.media.Image. The forward emit path # (sdkgen_python_pydantic2's `media_reexport_rust_name`) keeps its own # hardcoded match arms; the duplication is small enough that a # shared source of truth isn't worth a cross-crate constant. _STDLIB_REVERSE_OVERRIDES: Dict[Tuple[str, str], str] = { - ("baml_core.baml_py", "BamlImage"): "baml.media.Image", - ("baml_core.baml_py", "BamlAudio"): "baml.media.Audio", - ("baml_core.baml_py", "BamlVideo"): "baml.media.Video", - ("baml_core.baml_py", "BamlPdf"): "baml.media.Pdf", - # `BamlStream` is re-exported from `baml_core` but defined in - # `baml_core._stream`; `__module__` reflects the defining module. - ("baml_core._stream", "BamlStream"): "baml.llm.Stream", + ("baml_bridge.baml_py", "BamlImage"): "baml.media.Image", + ("baml_bridge.baml_py", "BamlAudio"): "baml.media.Audio", + ("baml_bridge.baml_py", "BamlVideo"): "baml.media.Video", + ("baml_bridge.baml_py", "BamlPdf"): "baml.media.Pdf", + # `BamlStream` is re-exported from `baml_bridge` but defined in + # `baml_bridge._stream`; `__module__` reflects the defining module. + ("baml_bridge._stream", "BamlStream"): "baml.llm.Stream", } @@ -53,7 +53,7 @@ def __init__(self) -> None: self._enum_cache: Dict[str, Type] = {} self._alias_cache: Dict[str, object] = {} # Seed with the stdlib identity overrides every typemap needs - # (BamlImage at baml_core.baml_py → "baml.media.Image", etc.). + # (BamlImage at baml_bridge.baml_py → "baml.media.Image", etc.). # Forward entries added by `from_lazy_entries` populate more # keys on top. self._reverse: Dict[Tuple[str, str], str] = dict(_STDLIB_REVERSE_OVERRIDES) diff --git a/baml_language/sdks/python/src/baml_core/cffi/v1/baml_handle_pb2.py b/baml_language/sdks/python/src/baml_core/cffi/v1/baml_handle_pb2.py deleted file mode 100644 index ba42bf93870..00000000000 --- a/baml_language/sdks/python/src/baml_core/cffi/v1/baml_handle_pb2.py +++ /dev/null @@ -1,39 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE -# source: baml_core/cffi/v1/baml_handle.proto -# Protobuf Python Version: 6.31.1 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 31, - 1, - '', - 'baml_core/cffi/v1/baml_handle.proto' -) -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#baml_core/cffi/v1/baml_handle.proto\x12\x11\x62\x61ml_core.cffi.v1\"Q\n\nBamlHandle\x12\x0b\n\x03key\x18\x01 \x01(\x04\x12\x36\n\x0bhandle_type\x18\x02 \x01(\x0e\x32!.baml_core.cffi.v1.BamlHandleType*\xdf\x02\n\x0e\x42\x61mlHandleType\x12\x16\n\x12HANDLE_UNSPECIFIED\x10\x00\x12\x16\n\x12UNTAGGED_RUST_DATA\x10\x01\x12\x15\n\x11UNTAGGED_BEX_HEAP\x10\x02\x12\x10\n\x0c\x46UNCTION_REF\x10\x05\x12\x13\n\x0f\x41\x44T_MEDIA_IMAGE\x10\x06\x12\x13\n\x0f\x41\x44T_MEDIA_AUDIO\x10\x07\x12\x13\n\x0f\x41\x44T_MEDIA_VIDEO\x10\x08\x12\x11\n\rADT_MEDIA_PDF\x10\t\x12\x15\n\x11\x41\x44T_MEDIA_GENERIC\x10\n\x12\x12\n\x0e\x41\x44T_PROMPT_AST\x10\x0b\x12\x11\n\rADT_COLLECTOR\x10\x0c\x12\x0c\n\x08\x41\x44T_TYPE\x10\r\x12\x1a\n\x16\x41\x44T_TAGGED_HEAP_HANDLE\x10\x0e\x12\x17\n\x13HOST_VALUE_CALLABLE\x10\x0f\x12\x15\n\x11HOST_VALUE_OPAQUE\x10\x10\"\x04\x08\x03\x10\x03\"\x04\x08\x04\x10\x04\x42\x08Z\x06./cffib\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'baml_core.cffi.v1.baml_handle_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'Z\006./cffi' - _globals['_BAMLHANDLETYPE']._serialized_start=142 - _globals['_BAMLHANDLETYPE']._serialized_end=493 - _globals['_BAMLHANDLE']._serialized_start=58 - _globals['_BAMLHANDLE']._serialized_end=139 -# @@protoc_insertion_point(module_scope) diff --git a/baml_language/sdks/python/src/baml_core/cffi/v1/baml_inbound_pb2.py b/baml_language/sdks/python/src/baml_core/cffi/v1/baml_inbound_pb2.py deleted file mode 100644 index 6168204839a..00000000000 --- a/baml_language/sdks/python/src/baml_core/cffi/v1/baml_inbound_pb2.py +++ /dev/null @@ -1,55 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE -# source: baml_core/cffi/v1/baml_inbound.proto -# Protobuf Python Version: 6.31.1 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 31, - 1, - '', - 'baml_core/cffi/v1/baml_inbound.proto' -) -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from baml_core.cffi.v1 import baml_handle_pb2 as baml__core_dot_cffi_dot_v1_dot_baml__handle__pb2 -from baml_core.cffi.v1 import baml_type_pb2 as baml__core_dot_cffi_dot_v1_dot_baml__type__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$baml_core/cffi/v1/baml_inbound.proto\x12\x11\x62\x61ml_core.cffi.v1\x1a#baml_core/cffi/v1/baml_handle.proto\x1a!baml_core/cffi/v1/baml_type.proto\"\xf7\x03\n\x0cInboundValue\x12\x16\n\x0cstring_value\x18\x02 \x01(\tH\x00\x12\x13\n\tint_value\x18\x03 \x01(\x03H\x00\x12\x15\n\x0b\x66loat_value\x18\x04 \x01(\x01H\x00\x12\x14\n\nbool_value\x18\x05 \x01(\x08H\x00\x12\x39\n\nlist_value\x18\x06 \x01(\x0b\x32#.baml_core.cffi.v1.InboundListValueH\x00\x12\x37\n\tmap_value\x18\x07 \x01(\x0b\x32\".baml_core.cffi.v1.InboundMapValueH\x00\x12;\n\x0b\x63lass_value\x18\x08 \x01(\x0b\x32$.baml_core.cffi.v1.InboundClassValueH\x00\x12\x39\n\nenum_value\x18\t \x01(\x0b\x32#.baml_core.cffi.v1.InboundEnumValueH\x00\x12/\n\x06handle\x18\n \x01(\x0b\x32\x1d.baml_core.cffi.v1.BamlHandleH\x00\x12\x1a\n\x10uint8array_value\x18\x0b \x01(\x0cH\x00\x12\x16\n\x0c\x62igint_value\x18\x0c \x01(\tH\x00\x12-\n\x08ty_value\x18\r \x01(\x0b\x32\x19.baml_core.cffi.v1.BamlTyH\x00\x42\x07\n\x05valueJ\x04\x08\x01\x10\x02\"C\n\x10InboundListValue\x12/\n\x06values\x18\x01 \x03(\x0b\x32\x1f.baml_core.cffi.v1.InboundValue\"F\n\x0fInboundMapValue\x12\x33\n\x07\x65ntries\x18\x01 \x03(\x0b\x32\".baml_core.cffi.v1.InboundMapEntry\"\xbe\x01\n\x0fInboundMapEntry\x12\x14\n\nstring_key\x18\x01 \x01(\tH\x00\x12\x11\n\x07int_key\x18\x02 \x01(\x03H\x00\x12\x12\n\x08\x62ool_key\x18\x03 \x01(\x08H\x00\x12\x37\n\x08\x65num_key\x18\x05 \x01(\x0b\x32#.baml_core.cffi.v1.InboundEnumValueH\x00\x12.\n\x05value\x18\x06 \x01(\x0b\x32\x1f.baml_core.cffi.v1.InboundValueB\x05\n\x03key\"\x7f\n\x11InboundClassValue\x12\x32\n\x06\x66ields\x18\x02 \x03(\x0b\x32\".baml_core.cffi.v1.InboundMapEntry\x12\x30\n\x08\x63lass_ty\x18\x03 \x01(\x0b\x32\x1e.baml_core.cffi.v1.BamlTyClassJ\x04\x08\x01\x10\x02\"/\n\x10InboundEnumValue\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\"L\n\tBamlTyArg\x12\x10\n\x08type_var\x18\x01 \x01(\t\x12-\n\ntype_value\x18\x02 \x01(\x0b\x32\x19.baml_core.cffi.v1.BamlTy\"\x88\x01\n\x10\x43\x61llFunctionArgs\x12\x32\n\x06kwargs\x18\x01 \x03(\x0b\x32\".baml_core.cffi.v1.InboundMapEntry\x12\x0f\n\x07\x63\x61ll_id\x18\x02 \x01(\x04\x12/\n\ttype_args\x18\x03 \x03(\x0b\x32\x1c.baml_core.cffi.v1.BamlTyArg\"&\n\x07\x43\x61llAck\x12\x0f\n\x05\x65rror\x18\x01 \x01(\tH\x00\x42\n\n\x08responseB\x08Z\x06./cffib\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'baml_core.cffi.v1.baml_inbound_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'Z\006./cffi' - _globals['_INBOUNDVALUE']._serialized_start=132 - _globals['_INBOUNDVALUE']._serialized_end=635 - _globals['_INBOUNDLISTVALUE']._serialized_start=637 - _globals['_INBOUNDLISTVALUE']._serialized_end=704 - _globals['_INBOUNDMAPVALUE']._serialized_start=706 - _globals['_INBOUNDMAPVALUE']._serialized_end=776 - _globals['_INBOUNDMAPENTRY']._serialized_start=779 - _globals['_INBOUNDMAPENTRY']._serialized_end=969 - _globals['_INBOUNDCLASSVALUE']._serialized_start=971 - _globals['_INBOUNDCLASSVALUE']._serialized_end=1098 - _globals['_INBOUNDENUMVALUE']._serialized_start=1100 - _globals['_INBOUNDENUMVALUE']._serialized_end=1147 - _globals['_BAMLTYARG']._serialized_start=1149 - _globals['_BAMLTYARG']._serialized_end=1225 - _globals['_CALLFUNCTIONARGS']._serialized_start=1228 - _globals['_CALLFUNCTIONARGS']._serialized_end=1364 - _globals['_CALLACK']._serialized_start=1366 - _globals['_CALLACK']._serialized_end=1404 -# @@protoc_insertion_point(module_scope) diff --git a/baml_language/sdks/python/src/baml_core/cffi/v1/baml_outbound_pb2.py b/baml_language/sdks/python/src/baml_core/cffi/v1/baml_outbound_pb2.py deleted file mode 100644 index c6961aa788f..00000000000 --- a/baml_language/sdks/python/src/baml_core/cffi/v1/baml_outbound_pb2.py +++ /dev/null @@ -1,81 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE -# source: baml_core/cffi/v1/baml_outbound.proto -# Protobuf Python Version: 6.31.1 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 31, - 1, - '', - 'baml_core/cffi/v1/baml_outbound.proto' -) -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from baml_core.cffi.v1 import baml_handle_pb2 as baml__core_dot_cffi_dot_v1_dot_baml__handle__pb2 -from baml_core.cffi.v1 import baml_type_pb2 as baml__core_dot_cffi_dot_v1_dot_baml__type__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%baml_core/cffi/v1/baml_outbound.proto\x12\x11\x62\x61ml_core.cffi.v1\x1a#baml_core/cffi/v1/baml_handle.proto\x1a!baml_core/cffi/v1/baml_type.proto\"\xc0\x01\n\x12\x42\x61mlOutboundResult\x12\x32\n\x02ok\x18\x01 \x01(\x0b\x32$.baml_core.cffi.v1.BamlOutboundValueH\x00\x12\x35\n\x05\x65rror\x18\x02 \x01(\x0b\x32$.baml_core.cffi.v1.BamlOutboundErrorH\x00\x12\x35\n\x05panic\x18\x03 \x01(\x0b\x32$.baml_core.cffi.v1.BamlOutboundPanicH\x00\x42\x08\n\x06result\"W\n\x11\x42\x61mlOutboundError\x12\x33\n\x05value\x18\x01 \x01(\x0b\x32$.baml_core.cffi.v1.BamlOutboundValue\x12\r\n\x05trace\x18\x02 \x03(\t\"\x81\x01\n\x11\x42\x61mlOutboundPanic\x12\x33\n\x05value\x18\x01 \x01(\x0b\x32$.baml_core.cffi.v1.BamlOutboundValue\x12\r\n\x05trace\x18\x02 \x03(\t\x12\x15\n\ris_exit_panic\x18\x03 \x01(\x08\x12\x11\n\texit_code\x18\x04 \x01(\x03\"\xb4\x06\n\x11\x42\x61mlOutboundValue\x12\x36\n\nnull_value\x18\x02 \x01(\x0b\x32 .baml_core.cffi.v1.BamlValueNullH\x00\x12\x16\n\x0cstring_value\x18\x03 \x01(\tH\x00\x12\x13\n\tint_value\x18\x04 \x01(\x03H\x00\x12\x15\n\x0b\x66loat_value\x18\x05 \x01(\x01H\x00\x12\x14\n\nbool_value\x18\x06 \x01(\x08H\x00\x12\x38\n\x0b\x63lass_value\x18\x07 \x01(\x0b\x32!.baml_core.cffi.v1.BamlValueClassH\x00\x12\x36\n\nenum_value\x18\x08 \x01(\x0b\x32 .baml_core.cffi.v1.BamlValueEnumH\x00\x12<\n\rliteral_value\x18\t \x01(\x0b\x32#.baml_core.cffi.v1.BamlLiteralValueH\x00\x12\x36\n\nlist_value\x18\x0b \x01(\x0b\x32 .baml_core.cffi.v1.BamlValueListH\x00\x12\x34\n\tmap_value\x18\x0c \x01(\x0b\x32\x1f.baml_core.cffi.v1.BamlValueMapH\x00\x12G\n\x13union_variant_value\x18\r \x01(\x0b\x32(.baml_core.cffi.v1.BamlValueUnionVariantH\x00\x12=\n\x0chandle_value\x18\x10 \x01(\x0b\x32%.baml_core.cffi.v1.BamlOutboundHandleH\x00\x12\x38\n\x0bmedia_value\x18\x11 \x01(\x0b\x32!.baml_core.cffi.v1.BamlValueMediaH\x00\x12\x41\n\x10prompt_ast_value\x18\x12 \x01(\x0b\x32%.baml_core.cffi.v1.BamlValuePromptAstH\x00\x12\x1a\n\x10uint8array_value\x18\x13 \x01(\x0cH\x00\x12\x16\n\x0c\x62igint_value\x18\x14 \x01(\tH\x00\x12-\n\x08ty_value\x18\x15 \x01(\x0b\x32\x19.baml_core.cffi.v1.BamlTyH\x00\x42\x07\n\x05value\"\x80\x01\n\x12\x42\x61mlOutboundHandle\x12\x0b\n\x03key\x18\x01 \x01(\x04\x12\x36\n\x0bhandle_type\x18\x02 \x01(\x0e\x32!.baml_core.cffi.v1.BamlHandleType\x12%\n\x02ty\x18\x03 \x01(\x0b\x32\x19.baml_core.cffi.v1.BamlTy\"\x0f\n\rBamlValueNull\"r\n\rBamlValueList\x12,\n\titem_type\x18\x01 \x01(\x0b\x32\x19.baml_core.cffi.v1.BamlTy\x12\x33\n\x05items\x18\x02 \x03(\x0b\x32$.baml_core.cffi.v1.BamlOutboundValue\"X\n\x14\x42\x61mlOutboundMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x33\n\x05value\x18\x02 \x01(\x0b\x32$.baml_core.cffi.v1.BamlOutboundValue\"\xa4\x01\n\x0c\x42\x61mlValueMap\x12+\n\x08key_type\x18\x01 \x01(\x0b\x32\x19.baml_core.cffi.v1.BamlTy\x12-\n\nvalue_type\x18\x02 \x01(\x0b\x32\x19.baml_core.cffi.v1.BamlTy\x12\x38\n\x07\x65ntries\x18\x03 \x03(\x0b\x32\'.baml_core.cffi.v1.BamlOutboundMapEntry\"\x85\x01\n\x0e\x42\x61mlValueClass\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x37\n\x06\x66ields\x18\x02 \x03(\x0b\x32\'.baml_core.cffi.v1.BamlOutboundMapEntry\x12,\n\ttype_args\x18\x03 \x03(\x0b\x32\x19.baml_core.cffi.v1.BamlTy\"@\n\rBamlValueEnum\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\x12\x12\n\nis_dynamic\x18\x03 \x01(\x08\"\xd3\x01\n\x15\x42\x61mlValueUnionVariant\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0bis_optional\x18\x02 \x01(\x08\x12\x19\n\x11is_single_pattern\x18\x03 \x01(\x08\x12,\n\tself_type\x18\x04 \x01(\x0b\x32\x19.baml_core.cffi.v1.BamlTy\x12\x19\n\x11value_option_name\x18\x05 \x01(\t\x12\x33\n\x05value\x18\x06 \x01(\x0b\x32$.baml_core.cffi.v1.BamlOutboundValue\"\xa1\x01\n\x0e\x42\x61mlValueMedia\x12/\n\x05media\x18\x01 \x01(\x0e\x32 .baml_core.cffi.v1.MediaTypeEnum\x12\x16\n\tmime_type\x18\x02 \x01(\tH\x01\x88\x01\x01\x12\r\n\x03url\x18\x03 \x01(\tH\x00\x12\x10\n\x06\x62\x61se64\x18\x04 \x01(\tH\x00\x12\x0e\n\x04\x66ile\x18\x05 \x01(\tH\x00\x42\x07\n\x05valueB\x0c\n\n_mime_type\"\xe0\x01\n\x12\x42\x61mlValuePromptAst\x12=\n\x06simple\x18\x01 \x01(\x0b\x32+.baml_core.cffi.v1.BamlValuePromptAstSimpleH\x00\x12?\n\x07message\x18\x02 \x01(\x0b\x32,.baml_core.cffi.v1.BamlValuePromptAstMessageH\x00\x12\x41\n\x08multiple\x18\x03 \x01(\x0b\x32-.baml_core.cffi.v1.BamlValuePromptAstMultipleH\x00\x42\x07\n\x05value\"\x81\x01\n\x19\x42\x61mlValuePromptAstMessage\x12\x0c\n\x04role\x18\x01 \x01(\t\x12<\n\x07\x63ontent\x18\x02 \x01(\x0b\x32+.baml_core.cffi.v1.BamlValuePromptAstSimple\x12\x18\n\x10metadata_as_json\x18\x03 \x01(\t\"R\n\x1a\x42\x61mlValuePromptAstMultiple\x12\x34\n\x05items\x18\x01 \x03(\x0b\x32%.baml_core.cffi.v1.BamlValuePromptAst\"\xb2\x01\n\x18\x42\x61mlValuePromptAstSimple\x12\x10\n\x06string\x18\x01 \x01(\tH\x00\x12\x32\n\x05media\x18\x02 \x01(\x0b\x32!.baml_core.cffi.v1.BamlValueMediaH\x00\x12G\n\x08multiple\x18\x03 \x01(\x0b\x32\x33.baml_core.cffi.v1.BamlValuePromptAstSimpleMultipleH\x00\x42\x07\n\x05value\"^\n BamlValuePromptAstSimpleMultiple\x12:\n\x05items\x18\x01 \x03(\x0b\x32+.baml_core.cffi.v1.BamlValuePromptAstSimple\"@\n\x0e\x42\x61mlToHostCall\x12.\n\x04\x61rgs\x18\x01 \x03(\x0b\x32 .baml_core.cffi.v1.BamlToHostArg\"o\n\rBamlToHostArg\x12\x33\n\x05value\x18\x01 \x01(\x0b\x32$.baml_core.cffi.v1.BamlOutboundValue\x12\x10\n\x08\x61rg_name\x18\x02 \x01(\t\x12\x17\n\x0fis_optional_arg\x18\x03 \x01(\x08\"\x8f\x01\n\x10\x42\x61mlLiteralValue\x12\x16\n\x0cstring_value\x18\x01 \x01(\tH\x00\x12\x13\n\tint_value\x18\x02 \x01(\x03H\x00\x12\x14\n\nbool_value\x18\x03 \x01(\x08H\x00\x12\x16\n\x0c\x62igint_value\x18\x04 \x01(\tH\x00\x12\x15\n\x0b\x66loat_value\x18\x05 \x01(\tH\x00\x42\t\n\x07literal*`\n\rMediaTypeEnum\x12\x1a\n\x16MEDIA_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05IMAGE\x10\x01\x12\t\n\x05\x41UDIO\x10\x02\x12\x07\n\x03PDF\x10\x03\x12\t\n\x05VIDEO\x10\x04\x12\t\n\x05OTHER\x10\x05\x42\x08Z\x06./cffib\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'baml_core.cffi.v1.baml_outbound_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'Z\006./cffi' - _globals['_MEDIATYPEENUM']._serialized_start=3517 - _globals['_MEDIATYPEENUM']._serialized_end=3613 - _globals['_BAMLOUTBOUNDRESULT']._serialized_start=133 - _globals['_BAMLOUTBOUNDRESULT']._serialized_end=325 - _globals['_BAMLOUTBOUNDERROR']._serialized_start=327 - _globals['_BAMLOUTBOUNDERROR']._serialized_end=414 - _globals['_BAMLOUTBOUNDPANIC']._serialized_start=417 - _globals['_BAMLOUTBOUNDPANIC']._serialized_end=546 - _globals['_BAMLOUTBOUNDVALUE']._serialized_start=549 - _globals['_BAMLOUTBOUNDVALUE']._serialized_end=1369 - _globals['_BAMLOUTBOUNDHANDLE']._serialized_start=1372 - _globals['_BAMLOUTBOUNDHANDLE']._serialized_end=1500 - _globals['_BAMLVALUENULL']._serialized_start=1502 - _globals['_BAMLVALUENULL']._serialized_end=1517 - _globals['_BAMLVALUELIST']._serialized_start=1519 - _globals['_BAMLVALUELIST']._serialized_end=1633 - _globals['_BAMLOUTBOUNDMAPENTRY']._serialized_start=1635 - _globals['_BAMLOUTBOUNDMAPENTRY']._serialized_end=1723 - _globals['_BAMLVALUEMAP']._serialized_start=1726 - _globals['_BAMLVALUEMAP']._serialized_end=1890 - _globals['_BAMLVALUECLASS']._serialized_start=1893 - _globals['_BAMLVALUECLASS']._serialized_end=2026 - _globals['_BAMLVALUEENUM']._serialized_start=2028 - _globals['_BAMLVALUEENUM']._serialized_end=2092 - _globals['_BAMLVALUEUNIONVARIANT']._serialized_start=2095 - _globals['_BAMLVALUEUNIONVARIANT']._serialized_end=2306 - _globals['_BAMLVALUEMEDIA']._serialized_start=2309 - _globals['_BAMLVALUEMEDIA']._serialized_end=2470 - _globals['_BAMLVALUEPROMPTAST']._serialized_start=2473 - _globals['_BAMLVALUEPROMPTAST']._serialized_end=2697 - _globals['_BAMLVALUEPROMPTASTMESSAGE']._serialized_start=2700 - _globals['_BAMLVALUEPROMPTASTMESSAGE']._serialized_end=2829 - _globals['_BAMLVALUEPROMPTASTMULTIPLE']._serialized_start=2831 - _globals['_BAMLVALUEPROMPTASTMULTIPLE']._serialized_end=2913 - _globals['_BAMLVALUEPROMPTASTSIMPLE']._serialized_start=2916 - _globals['_BAMLVALUEPROMPTASTSIMPLE']._serialized_end=3094 - _globals['_BAMLVALUEPROMPTASTSIMPLEMULTIPLE']._serialized_start=3096 - _globals['_BAMLVALUEPROMPTASTSIMPLEMULTIPLE']._serialized_end=3190 - _globals['_BAMLTOHOSTCALL']._serialized_start=3192 - _globals['_BAMLTOHOSTCALL']._serialized_end=3256 - _globals['_BAMLTOHOSTARG']._serialized_start=3258 - _globals['_BAMLTOHOSTARG']._serialized_end=3369 - _globals['_BAMLLITERALVALUE']._serialized_start=3372 - _globals['_BAMLLITERALVALUE']._serialized_end=3515 -# @@protoc_insertion_point(module_scope) diff --git a/baml_language/sdks/python/src/baml_core/cffi/v1/baml_type_pb2.py b/baml_language/sdks/python/src/baml_core/cffi/v1/baml_type_pb2.py deleted file mode 100644 index e2fc1c11991..00000000000 --- a/baml_language/sdks/python/src/baml_core/cffi/v1/baml_type_pb2.py +++ /dev/null @@ -1,95 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE -# source: baml_core/cffi/v1/baml_type.proto -# Protobuf Python Version: 6.31.1 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 31, - 1, - '', - 'baml_core/cffi/v1/baml_type.proto' -) -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!baml_core/cffi/v1/baml_type.proto\x12\x11\x62\x61ml_core.cffi.v1\"\xb6\n\n\x06\x42\x61mlTy\x12\x37\n\tprimitive\x18\x01 \x01(\x0b\x32\".baml_core.cffi.v1.BamlTyPrimitiveH\x00\x12\x32\n\x08\x63lass_ty\x18\x02 \x01(\x0b\x32\x1e.baml_core.cffi.v1.BamlTyClassH\x00\x12-\n\x04\x65num\x18\x03 \x01(\x0b\x32\x1d.baml_core.cffi.v1.BamlTyEnumH\x00\x12-\n\x04list\x18\x04 \x01(\x0b\x32\x1d.baml_core.cffi.v1.BamlTyListH\x00\x12+\n\x03map\x18\x05 \x01(\x0b\x32\x1c.baml_core.cffi.v1.BamlTyMapH\x00\x12\x35\n\x08optional\x18\x06 \x01(\x0b\x32!.baml_core.cffi.v1.BamlTyOptionalH\x00\x12/\n\x05union\x18\x07 \x01(\x0b\x32\x1e.baml_core.cffi.v1.BamlTyUnionH\x00\x12\x33\n\x07literal\x18\x08 \x01(\x0b\x32 .baml_core.cffi.v1.BamlTyLiteralH\x00\x12\x38\n\ntype_alias\x18\t \x01(\x0b\x32\".baml_core.cffi.v1.BamlTyTypeAliasH\x00\x12\x33\n\x07unknown\x18\n \x01(\x0b\x32 .baml_core.cffi.v1.BamlTyUnknownH\x00\x12/\n\x05media\x18\x0b \x01(\x0b\x32\x1e.baml_core.cffi.v1.BamlTyMediaH\x00\x12\x37\n\tinterface\x18\x0c \x01(\x0b\x32\".baml_core.cffi.v1.BamlTyInterfaceH\x00\x12<\n\x0c\x65num_variant\x18\r \x01(\x0b\x32$.baml_core.cffi.v1.BamlTyEnumVariantH\x00\x12\x35\n\x08\x66unction\x18\x0e \x01(\x0b\x32!.baml_core.cffi.v1.BamlTyFunctionH\x00\x12\x31\n\x06\x66uture\x18\x0f \x01(\x0b\x32\x1f.baml_core.cffi.v1.BamlTyFutureH\x00\x12\x36\n\trust_type\x18\x10 \x01(\x0b\x32!.baml_core.cffi.v1.BamlTyRustTypeH\x00\x12\x36\n\tmeta_type\x18\x11 \x01(\x0b\x32!.baml_core.cffi.v1.BamlTyMetaTypeH\x00\x12\x35\n\x08resource\x18\x12 \x01(\x0b\x32!.baml_core.cffi.v1.BamlTyResourceH\x00\x12\x38\n\nprompt_ast\x18\x13 \x01(\x0b\x32\".baml_core.cffi.v1.BamlTyPromptAstH\x00\x12-\n\x04void\x18\x14 \x01(\x0b\x32\x1d.baml_core.cffi.v1.BamlTyVoidH\x00\x12@\n\x0ewatch_accessor\x18\x15 \x01(\x0b\x32&.baml_core.cffi.v1.BamlTyWatchAccessorH\x00\x12\x34\n\x08type_var\x18\x16 \x01(\x0b\x32 .baml_core.cffi.v1.BamlTyTypeVarH\x00\x12W\n\x1a\x61ssociated_type_projection\x18\x17 \x01(\x0b\x32\x31.baml_core.cffi.v1.BamlTyAssociatedTypeProjectionH\x00\x12/\n\x05never\x18\x18 \x01(\x0b\x32\x1e.baml_core.cffi.v1.BamlTyNeverH\x00\x42\x04\n\x02ty\"G\n\x0f\x42\x61mlTyPrimitive\x12\x34\n\x04kind\x18\x01 \x01(\x0e\x32&.baml_core.cffi.v1.BamlTyPrimitiveKind\"I\n\x0b\x42\x61mlTyClass\x12\x0c\n\x04name\x18\x01 \x01(\t\x12,\n\ttype_args\x18\x02 \x03(\x0b\x32\x19.baml_core.cffi.v1.BamlTy\"M\n\x0f\x42\x61mlTyTypeAlias\x12\x0c\n\x04name\x18\x01 \x01(\t\x12,\n\ttype_args\x18\x02 \x03(\x0b\x32\x19.baml_core.cffi.v1.BamlTy\"\x1a\n\nBamlTyEnum\x12\x0c\n\x04name\x18\x01 \x01(\t\"5\n\nBamlTyList\x12\'\n\x04item\x18\x01 \x01(\x0b\x32\x19.baml_core.cffi.v1.BamlTy\"]\n\tBamlTyMap\x12&\n\x03key\x18\x01 \x01(\x0b\x32\x19.baml_core.cffi.v1.BamlTy\x12(\n\x05value\x18\x02 \x01(\x0b\x32\x19.baml_core.cffi.v1.BamlTy\":\n\x0e\x42\x61mlTyOptional\x12(\n\x05inner\x18\x01 \x01(\x0b\x32\x19.baml_core.cffi.v1.BamlTy\"9\n\x0b\x42\x61mlTyUnion\x12*\n\x07options\x18\x01 \x03(\x0b\x32\x19.baml_core.cffi.v1.BamlTy\"\x0f\n\rBamlTyUnknown\"\x8c\x01\n\rBamlTyLiteral\x12\x16\n\x0cstring_value\x18\x01 \x01(\tH\x00\x12\x13\n\tint_value\x18\x02 \x01(\x03H\x00\x12\x14\n\nbool_value\x18\x03 \x01(\x08H\x00\x12\x16\n\x0c\x62igint_value\x18\x04 \x01(\tH\x00\x12\x15\n\x0b\x66loat_value\x18\x05 \x01(\tH\x00\x42\t\n\x07literal\"?\n\x0b\x42\x61mlTyMedia\x12\x30\n\x04kind\x18\x01 \x01(\x0e\x32\".baml_core.cffi.v1.BamlTyMediaKind\"\x8b\x01\n\x0f\x42\x61mlTyInterface\x12\x0c\n\x04name\x18\x01 \x01(\t\x12,\n\ttype_args\x18\x02 \x03(\x0b\x32\x19.baml_core.cffi.v1.BamlTy\x12<\n\x08\x62indings\x18\x03 \x03(\x0b\x32*.baml_core.cffi.v1.BamlTyAssociatedBinding\"N\n\x17\x42\x61mlTyAssociatedBinding\x12\x0c\n\x04name\x18\x01 \x01(\t\x12%\n\x02ty\x18\x02 \x01(\x0b\x32\x19.baml_core.cffi.v1.BamlTy\"2\n\x11\x42\x61mlTyEnumVariant\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07variant\x18\x02 \x01(\t\"\x92\x01\n\x13\x42\x61mlTyFunctionParam\x12\x11\n\x04name\x18\x01 \x01(\tH\x00\x88\x01\x01\x12%\n\x02ty\x18\x02 \x01(\x0b\x32\x19.baml_core.cffi.v1.BamlTy\x12\x38\n\x04mode\x18\x03 \x01(\x0e\x32*.baml_core.cffi.v1.BamlTyFunctionParamModeB\x07\n\x05_name\"\xb9\x01\n\x0e\x42\x61mlTyFunction\x12\x16\n\x0egeneric_params\x18\x01 \x03(\t\x12\x36\n\x06params\x18\x03 \x03(\x0b\x32&.baml_core.cffi.v1.BamlTyFunctionParam\x12&\n\x03ret\x18\x04 \x01(\x0b\x32\x19.baml_core.cffi.v1.BamlTy\x12)\n\x06throws\x18\x05 \x01(\x0b\x32\x19.baml_core.cffi.v1.BamlTyJ\x04\x08\x02\x10\x03\"b\n\x0c\x42\x61mlTyFuture\x12(\n\x05value\x18\x01 \x01(\x0b\x32\x19.baml_core.cffi.v1.BamlTy\x12(\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x19.baml_core.cffi.v1.BamlTy\"\x10\n\x0e\x42\x61mlTyRustType\"\x10\n\x0e\x42\x61mlTyMetaType\"\x10\n\x0e\x42\x61mlTyResource\"\x11\n\x0f\x42\x61mlTyPromptAst\"\x0c\n\nBamlTyVoid\"?\n\x13\x42\x61mlTyWatchAccessor\x12(\n\x05inner\x18\x01 \x01(\x0b\x32\x19.baml_core.cffi.v1.BamlTy\"\x1d\n\rBamlTyTypeVar\x12\x0c\n\x04name\x18\x01 \x01(\t\"\x87\x01\n\x1e\x42\x61mlTyAssociatedTypeProjection\x12\'\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x19.baml_core.cffi.v1.BamlTy\x12,\n\tinterface\x18\x02 \x01(\x0b\x32\x19.baml_core.cffi.v1.BamlTy\x12\x0e\n\x06member\x18\x03 \x01(\t\"\r\n\x0b\x42\x61mlTyNever*\x81\x02\n\x13\x42\x61mlTyPrimitiveKind\x12!\n\x1d\x42\x41ML_TY_PRIMITIVE_UNSPECIFIED\x10\x00\x12\x1c\n\x18\x42\x41ML_TY_PRIMITIVE_STRING\x10\x01\x12\x19\n\x15\x42\x41ML_TY_PRIMITIVE_INT\x10\x02\x12\x1b\n\x17\x42\x41ML_TY_PRIMITIVE_FLOAT\x10\x03\x12\x1a\n\x16\x42\x41ML_TY_PRIMITIVE_BOOL\x10\x04\x12\x1a\n\x16\x42\x41ML_TY_PRIMITIVE_NULL\x10\x05\x12\x1b\n\x17\x42\x41ML_TY_PRIMITIVE_BYTES\x10\x06\x12\x1c\n\x18\x42\x41ML_TY_PRIMITIVE_BIGINT\x10\x07*\xcb\x01\n\x0f\x42\x61mlTyMediaKind\x12\"\n\x1e\x42\x41ML_TY_MEDIA_KIND_UNSPECIFIED\x10\x00\x12\x1c\n\x18\x42\x41ML_TY_MEDIA_KIND_IMAGE\x10\x01\x12\x1c\n\x18\x42\x41ML_TY_MEDIA_KIND_AUDIO\x10\x02\x12\x1c\n\x18\x42\x41ML_TY_MEDIA_KIND_VIDEO\x10\x03\x12\x1a\n\x16\x42\x41ML_TY_MEDIA_KIND_PDF\x10\x04\x12\x1e\n\x1a\x42\x41ML_TY_MEDIA_KIND_GENERIC\x10\x05*\x9a\x01\n\x17\x42\x61mlTyFunctionParamMode\x12+\n\'BAML_TY_FUNCTION_PARAM_MODE_UNSPECIFIED\x10\x00\x12(\n$BAML_TY_FUNCTION_PARAM_MODE_REQUIRED\x10\x01\x12(\n$BAML_TY_FUNCTION_PARAM_MODE_OPTIONAL\x10\x02\x42\x08Z\x06./cffib\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'baml_core.cffi.v1.baml_type_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'Z\006./cffi' - _globals['_BAMLTYPRIMITIVEKIND']._serialized_start=3190 - _globals['_BAMLTYPRIMITIVEKIND']._serialized_end=3447 - _globals['_BAMLTYMEDIAKIND']._serialized_start=3450 - _globals['_BAMLTYMEDIAKIND']._serialized_end=3653 - _globals['_BAMLTYFUNCTIONPARAMMODE']._serialized_start=3656 - _globals['_BAMLTYFUNCTIONPARAMMODE']._serialized_end=3810 - _globals['_BAMLTY']._serialized_start=57 - _globals['_BAMLTY']._serialized_end=1391 - _globals['_BAMLTYPRIMITIVE']._serialized_start=1393 - _globals['_BAMLTYPRIMITIVE']._serialized_end=1464 - _globals['_BAMLTYCLASS']._serialized_start=1466 - _globals['_BAMLTYCLASS']._serialized_end=1539 - _globals['_BAMLTYTYPEALIAS']._serialized_start=1541 - _globals['_BAMLTYTYPEALIAS']._serialized_end=1618 - _globals['_BAMLTYENUM']._serialized_start=1620 - _globals['_BAMLTYENUM']._serialized_end=1646 - _globals['_BAMLTYLIST']._serialized_start=1648 - _globals['_BAMLTYLIST']._serialized_end=1701 - _globals['_BAMLTYMAP']._serialized_start=1703 - _globals['_BAMLTYMAP']._serialized_end=1796 - _globals['_BAMLTYOPTIONAL']._serialized_start=1798 - _globals['_BAMLTYOPTIONAL']._serialized_end=1856 - _globals['_BAMLTYUNION']._serialized_start=1858 - _globals['_BAMLTYUNION']._serialized_end=1915 - _globals['_BAMLTYUNKNOWN']._serialized_start=1917 - _globals['_BAMLTYUNKNOWN']._serialized_end=1932 - _globals['_BAMLTYLITERAL']._serialized_start=1935 - _globals['_BAMLTYLITERAL']._serialized_end=2075 - _globals['_BAMLTYMEDIA']._serialized_start=2077 - _globals['_BAMLTYMEDIA']._serialized_end=2140 - _globals['_BAMLTYINTERFACE']._serialized_start=2143 - _globals['_BAMLTYINTERFACE']._serialized_end=2282 - _globals['_BAMLTYASSOCIATEDBINDING']._serialized_start=2284 - _globals['_BAMLTYASSOCIATEDBINDING']._serialized_end=2362 - _globals['_BAMLTYENUMVARIANT']._serialized_start=2364 - _globals['_BAMLTYENUMVARIANT']._serialized_end=2414 - _globals['_BAMLTYFUNCTIONPARAM']._serialized_start=2417 - _globals['_BAMLTYFUNCTIONPARAM']._serialized_end=2563 - _globals['_BAMLTYFUNCTION']._serialized_start=2566 - _globals['_BAMLTYFUNCTION']._serialized_end=2751 - _globals['_BAMLTYFUTURE']._serialized_start=2753 - _globals['_BAMLTYFUTURE']._serialized_end=2851 - _globals['_BAMLTYRUSTTYPE']._serialized_start=2853 - _globals['_BAMLTYRUSTTYPE']._serialized_end=2869 - _globals['_BAMLTYMETATYPE']._serialized_start=2871 - _globals['_BAMLTYMETATYPE']._serialized_end=2887 - _globals['_BAMLTYRESOURCE']._serialized_start=2889 - _globals['_BAMLTYRESOURCE']._serialized_end=2905 - _globals['_BAMLTYPROMPTAST']._serialized_start=2907 - _globals['_BAMLTYPROMPTAST']._serialized_end=2924 - _globals['_BAMLTYVOID']._serialized_start=2926 - _globals['_BAMLTYVOID']._serialized_end=2938 - _globals['_BAMLTYWATCHACCESSOR']._serialized_start=2940 - _globals['_BAMLTYWATCHACCESSOR']._serialized_end=3003 - _globals['_BAMLTYTYPEVAR']._serialized_start=3005 - _globals['_BAMLTYTYPEVAR']._serialized_end=3034 - _globals['_BAMLTYASSOCIATEDTYPEPROJECTION']._serialized_start=3037 - _globals['_BAMLTYASSOCIATEDTYPEPROJECTION']._serialized_end=3172 - _globals['_BAMLTYNEVER']._serialized_start=3174 - _globals['_BAMLTYNEVER']._serialized_end=3187 -# @@protoc_insertion_point(module_scope) diff --git a/baml_language/sdks/python/tests/conftest.py b/baml_language/sdks/python/tests/conftest.py index d9218ad514f..ec35165ce57 100644 --- a/baml_language/sdks/python/tests/conftest.py +++ b/baml_language/sdks/python/tests/conftest.py @@ -56,6 +56,6 @@ def log_message(self, format, *args): def flush_traces(): """Ensure traces are flushed when pytest exits.""" yield - from baml_core import flush_events + from baml_bridge import flush_events flush_events() diff --git a/baml_language/sdks/python/tests/test_bigint.py b/baml_language/sdks/python/tests/test_bigint.py index f82b7427a95..4320f877707 100644 --- a/baml_language/sdks/python/tests/test_bigint.py +++ b/baml_language/sdks/python/tests/test_bigint.py @@ -6,7 +6,7 @@ through `bigint_value`. """ -from baml_core import BamlRuntime, call_function_sync, call_function +from baml_bridge import BamlRuntime, call_function_sync, call_function BIGINT_BAML = """\ diff --git a/baml_language/sdks/python/tests/test_decode_handle.py b/baml_language/sdks/python/tests/test_decode_handle.py index fd81a8620a4..d28c938135c 100644 --- a/baml_language/sdks/python/tests/test_decode_handle.py +++ b/baml_language/sdks/python/tests/test_decode_handle.py @@ -14,14 +14,14 @@ import pytest -from baml_core import BamlPyHandle -from baml_core.baml_py import ( +from baml_bridge import BamlPyHandle +from baml_bridge.baml_py import ( _seed_function_ref_handle, _seed_generic_media_handle, ) -from baml_core.proto import _decode_handle -from baml_core.typemap import BamlTypeMap -from baml_core.cffi.v1 import baml_handle_pb2 +from baml_bridge.proto import _decode_handle +from baml_bridge.typemap import BamlTypeMap +from baml_bridge.cffi.v1 import baml_handle_pb2 def _make_handle(key: int, handle_type: int) -> "baml_handle_pb2.BamlHandle": diff --git a/baml_language/sdks/python/tests/test_engine.py b/baml_language/sdks/python/tests/test_engine.py index 6c0e65bb1c1..f6bfadbff5d 100644 --- a/baml_language/sdks/python/tests/test_engine.py +++ b/baml_language/sdks/python/tests/test_engine.py @@ -12,7 +12,7 @@ import pytest -from baml_core import BamlRuntime, FunctionResult, HostSpanManager, get_version, call_function, call_function_sync +from baml_bridge import BamlRuntime, FunctionResult, HostSpanManager, get_version, call_function, call_function_sync # ============================================================================ diff --git a/baml_language/sdks/python/tests/test_host_callable.py b/baml_language/sdks/python/tests/test_host_callable.py index 93284787a15..0ce4e6bd7e3 100644 --- a/baml_language/sdks/python/tests/test_host_callable.py +++ b/baml_language/sdks/python/tests/test_host_callable.py @@ -17,9 +17,9 @@ import pytest -import baml_core.proto as _proto +import baml_bridge.proto as _proto -from baml_core import ( +from baml_bridge import ( BamlRuntime, call_function_sync, call_function, @@ -264,7 +264,7 @@ def test_normal_user_exception_routes_to_BamlError_not_BamlPanic(): `Exception`), so the `pytest.raises(Exception)` check below would miss it. """ - from baml_core.errors import BamlError, BamlPanic + from baml_bridge.errors import BamlError, BamlPanic rt = _make_runtime() @@ -291,8 +291,8 @@ def test_sdk_panic_wire_envelope_decodes_to_BamlPanic(): engine-level test that pins the inverse direction (a host `BridgeFailure` produces this envelope). """ - from baml_core.errors import BamlError, BamlPanic - from baml_core.cffi.v1 import baml_outbound_pb2 + from baml_bridge.errors import BamlError, BamlPanic + from baml_bridge.cffi.v1 import baml_outbound_pb2 # `decode_call_result` reads the process-wide typemap to materialize the # panic value's class. `baml.panics.SdkPanic` is part of the BAML std diff --git a/baml_language/sdks/python/tests/test_media.py b/baml_language/sdks/python/tests/test_media.py index 78aaefe9ffa..69ad7ae8227 100644 --- a/baml_language/sdks/python/tests/test_media.py +++ b/baml_language/sdks/python/tests/test_media.py @@ -4,7 +4,7 @@ and accessors (url(), file(), base64(), mime_type()). """ -from baml_core.baml_py import BamlImage, BamlAudio, BamlVideo, BamlPdf +from baml_bridge.baml_py import BamlImage, BamlAudio, BamlVideo, BamlPdf # --------------------------------------------------------------------------- diff --git a/baml_language/sdks/python/tests/test_proto_decode_typemap.py b/baml_language/sdks/python/tests/test_proto_decode_typemap.py index c706799ca89..fcafb420809 100644 --- a/baml_language/sdks/python/tests/test_proto_decode_typemap.py +++ b/baml_language/sdks/python/tests/test_proto_decode_typemap.py @@ -10,10 +10,10 @@ import pydantic import pytest -from baml_core import BamlError -from baml_core.typemap import BamlTypeMap -from baml_core.proto import decode_value -from baml_core.cffi.v1 import baml_outbound_pb2 +from baml_bridge import BamlError +from baml_bridge.typemap import BamlTypeMap +from baml_bridge.proto import decode_value +from baml_bridge.cffi.v1 import baml_outbound_pb2 class _Resume(pydantic.BaseModel): diff --git a/baml_language/sdks/python/tests/test_proto_generics.py b/baml_language/sdks/python/tests/test_proto_generics.py index 1caeec803b6..70fdc9e316d 100644 --- a/baml_language/sdks/python/tests/test_proto_generics.py +++ b/baml_language/sdks/python/tests/test_proto_generics.py @@ -1,6 +1,6 @@ """Unit tests for the generic-aware encoder/decoder helpers added in 13b. -These tests exercise the pure-Python helpers in `baml_core.proto` +These tests exercise the pure-Python helpers in `baml_bridge.proto` directly — they don't go through the Rust FFI, so they isolate the serialization changes from the rest of the bridge. @@ -24,15 +24,15 @@ import pydantic -from baml_core.proto import ( # noqa: E402 +from baml_bridge.proto import ( # noqa: E402 _base_class_for_fqn, _ty_to_python_type, _parameterize_tys, _set_inbound_value, python_type_to_wire_ty, ) -from baml_core.typemap import BamlTypeMap, get_type_map, set_type_map -from baml_core.cffi.v1 import baml_inbound_pb2, baml_outbound_pb2, baml_type_pb2 +from baml_bridge.typemap import BamlTypeMap, get_type_map, set_type_map +from baml_bridge.cffi.v1 import baml_inbound_pb2, baml_outbound_pb2, baml_type_pb2 def _set_primitive(kind): @@ -315,7 +315,7 @@ def _build_class_value(fqn: str, fields: list, type_args: list): def test_decode_class_parameterizes_with_generic_args(): """13b §3.1, §3.4 — a generic class with `type_args = [int]` decodes to a `Box[int]` instance, not bare `Box`.""" - from baml_core import proto as proto_mod + from baml_bridge import proto as proto_mod tm = _fresh_typemap_with(Box) @@ -337,7 +337,7 @@ def test_decode_class_graceful_degradation_when_args_empty(): """13b §3.5 — when the Rust producer hasn't been updated yet, `type_args` is empty. Decode still produces a usable instance — just unparameterized.""" - from baml_core import proto as proto_mod + from baml_bridge import proto as proto_mod tm = _fresh_typemap_with(Box) @@ -356,7 +356,7 @@ def test_decode_class_nested_generic(): Models the `Crate>` shape (Crate's T is bound to `Box`, so `contents: List[T]` becomes `List[Box[int]]`). """ - from baml_core import proto as proto_mod + from baml_bridge import proto as proto_mod tm = _fresh_typemap_with(Box, Crate) @@ -391,8 +391,8 @@ def set_outer_arg(ty): import pytest # noqa: E402 -from baml_core import _resolve_types_kwarg # noqa: E402 -from baml_core.cffi.v1 import baml_type_pb2 # noqa: E402 +from baml_bridge import _resolve_types_kwarg # noqa: E402 +from baml_bridge.cffi.v1 import baml_type_pb2 # noqa: E402 def test_generic_instance_carries_class_ty(): @@ -447,7 +447,7 @@ def test_resolve_types_empty_params_rejects_types_kwarg(): # Phase 6: `fn[...]` subscript desugars to the `_types={...}` dict form # --------------------------------------------------------------------------- -from baml_core import _GenericCallable # noqa: E402 +from baml_bridge import _GenericCallable # noqa: E402 def test_generic_callable_subscript_desugars_to_types_dict(): diff --git a/baml_language/sdks/python/tests/test_typemap.py b/baml_language/sdks/python/tests/test_typemap.py index 0f535242bf6..08161e8a8c1 100644 --- a/baml_language/sdks/python/tests/test_typemap.py +++ b/baml_language/sdks/python/tests/test_typemap.py @@ -1,4 +1,4 @@ -"""Unit tests for baml_core.typemap (25a2 §4.1). +"""Unit tests for baml_bridge.typemap (25a2 §4.1). These tests exercise the FQN → class registry in isolation; no codegen, no proto, no runtime. Each test uses a fresh BamlTypeMap instance to @@ -13,8 +13,8 @@ import pytest -from baml_core import BamlError -from baml_core.typemap import BamlTypeMap +from baml_bridge import BamlError +from baml_bridge.typemap import BamlTypeMap def test_from_lazy_entries_resolves_class_via_importlib(): @@ -94,8 +94,8 @@ class Unrelated: def test_stdlib_reverse_overrides_seeded(): """Every typemap seeds the PyO3-identity → `baml.media.*` / `baml.llm.Stream` reverse-map overrides at construction time.""" - from baml_core.baml_py import BamlImage, BamlAudio, BamlVideo, BamlPdf - from baml_core import BamlStream + from baml_bridge.baml_py import BamlImage, BamlAudio, BamlVideo, BamlPdf + from baml_bridge import BamlStream tm = BamlTypeMap() assert tm.py_type_to_baml_type(BamlImage) == "baml.media.Image" diff --git a/baml_language/sdks/python/uv.lock b/baml_language/sdks/python/uv.lock index c402679b805..9f0cd7d2744 100644 --- a/baml_language/sdks/python/uv.lock +++ b/baml_language/sdks/python/uv.lock @@ -21,8 +21,8 @@ wheels = [ ] [[package]] -name = "baml-core" -version = "0.12.1" +name = "baml-bridge" +version = "0.13.0" source = { editable = "." } dependencies = [ { name = "protobuf" }, diff --git a/scripts/baml-language-version b/scripts/baml-language-version index 63491d644e0..1c2e34e04f6 100755 --- a/scripts/baml-language-version +++ b/scripts/baml-language-version @@ -18,7 +18,7 @@ ROOT = Path(__file__).resolve().parents[1] RELEASE_TOML = ROOT / "baml_language" / "release.toml" BAML_VERSION_RS = ROOT / "baml_language" / "crates" / "baml_version" / "src" / "lib.rs" PYPROJECT = ROOT / "baml_language" / "sdks" / "python" / "pyproject.toml" -PY_INIT = ROOT / "baml_language" / "sdks" / "python" / "src" / "baml_core" / "__init__.py" +PY_INIT = ROOT / "baml_language" / "sdks" / "python" / "src" / "baml_bridge" / "__init__.py" VSIX_PACKAGE = ROOT / "typescript2" / "app-vscode-ext" / "package.json" NODE_PACKAGE = ROOT / "baml_language" / "sdks" / "nodejs" / "bridge_nodejs" / "package.json" NODE_NATIVE_JS = ROOT / "baml_language" / "sdks" / "nodejs" / "bridge_nodejs" / "dist" / "native.js" diff --git a/scripts/baml-release-manifests b/scripts/baml-release-manifests index b4134b967b9..0c7227636f0 100755 --- a/scripts/baml-release-manifests +++ b/scripts/baml-release-manifests @@ -93,7 +93,7 @@ def main() -> None: "url": artifact_url(f"baml-language-{args.version}", vsix), "sha256": sha256(vsix), }, - "baml_core_pypi": { + "baml_bridge_pypi": { "version": args.pypi_version, }, } diff --git a/typescript2/pkg-proto/src/decode.ts b/typescript2/pkg-proto/src/decode.ts index f108dcdd2a7..ae805577a2e 100644 --- a/typescript2/pkg-proto/src/decode.ts +++ b/typescript2/pkg-proto/src/decode.ts @@ -4,9 +4,9 @@ import type { BamlValueMedia, BamlValuePromptAst, BamlValuePromptAstSimple, -} from './generated/baml_core/cffi/v1/baml_outbound'; -import { BamlOutboundValue, MediaTypeEnum } from './generated/baml_core/cffi/v1/baml_outbound'; -import { BamlHandleType } from './generated/baml_core/cffi/v1/baml_handle'; +} from './generated/baml_bridge/cffi/v1/baml_outbound'; +import { BamlOutboundValue, MediaTypeEnum } from './generated/baml_bridge/cffi/v1/baml_outbound'; +import { BamlHandleType } from './generated/baml_bridge/cffi/v1/baml_handle'; import type { BamlJsValue, BamlJsClass, BamlJsHandle, BamlJsMedia, BamlJsPromptAst, BamlJsPromptAstSimple, BamlJsPromptAstMessage } from './types'; const HANDLE_TYPE_NAMES: Record = { diff --git a/typescript2/pkg-proto/src/encode.ts b/typescript2/pkg-proto/src/encode.ts index 85f3b773cc2..0222cac6e1b 100644 --- a/typescript2/pkg-proto/src/encode.ts +++ b/typescript2/pkg-proto/src/encode.ts @@ -2,11 +2,11 @@ import type { InboundValue, InboundMapEntry, CallFunctionArgs as CallFunctionArgsType, -} from './generated/baml_core/cffi/v1/baml_inbound'; +} from './generated/baml_bridge/cffi/v1/baml_inbound'; import { CallFunctionArgs, InboundMapEntry as InboundMapEntryMessage, -} from './generated/baml_core/cffi/v1/baml_inbound'; +} from './generated/baml_bridge/cffi/v1/baml_inbound'; import type { BamlSerializable } from './types'; function isBamlSerializable(val: unknown): val is BamlSerializable { diff --git a/typescript2/pkg-proto/src/index.ts b/typescript2/pkg-proto/src/index.ts index ad610c451b7..2e345634d3d 100644 --- a/typescript2/pkg-proto/src/index.ts +++ b/typescript2/pkg-proto/src/index.ts @@ -13,5 +13,5 @@ export type { InboundListValue, InboundMapValue, CallFunctionArgs, -} from './generated/baml_core/cffi/v1/baml_inbound'; -export { BamlOutboundValue } from './generated/baml_core/cffi/v1/baml_outbound'; +} from './generated/baml_bridge/cffi/v1/baml_inbound'; +export { BamlOutboundValue } from './generated/baml_bridge/cffi/v1/baml_outbound'; diff --git a/typescript2/pkg-proto/src/test/encode-decode.test.ts b/typescript2/pkg-proto/src/test/encode-decode.test.ts index cd7397d3a1b..9c1c391860b 100644 --- a/typescript2/pkg-proto/src/test/encode-decode.test.ts +++ b/typescript2/pkg-proto/src/test/encode-decode.test.ts @@ -1,9 +1,9 @@ import { describe, it, expect } from 'vitest'; import { encodeCallArgs, encodeRunArgs, decodeCallResult, serializeValue, deserializeValue } from '../index'; -import { CallFunctionArgs, InboundMapEntry } from '../generated/baml_core/cffi/v1/baml_inbound'; -import { BamlHandleType } from '../generated/baml_core/cffi/v1/baml_handle'; -import { BamlOutboundValue, MediaTypeEnum } from '../generated/baml_core/cffi/v1/baml_outbound'; -import { BamlTyPrimitiveKind } from '../generated/baml_core/cffi/v1/baml_type'; +import { CallFunctionArgs, InboundMapEntry } from '../generated/baml_bridge/cffi/v1/baml_inbound'; +import { BamlHandleType } from '../generated/baml_bridge/cffi/v1/baml_handle'; +import { BamlOutboundValue, MediaTypeEnum } from '../generated/baml_bridge/cffi/v1/baml_outbound'; +import { BamlTyPrimitiveKind } from '../generated/baml_bridge/cffi/v1/baml_type'; function decodeDelimitedEntries(bytes: Uint8Array): InboundMapEntry[] { const entries: InboundMapEntry[] = []; diff --git a/typescript2/pkg-proto/src/types.ts b/typescript2/pkg-proto/src/types.ts index 218fdd1cf20..7f59a2f34a9 100644 --- a/typescript2/pkg-proto/src/types.ts +++ b/typescript2/pkg-proto/src/types.ts @@ -1,4 +1,4 @@ -import type { InboundValue } from './generated/baml_core/cffi/v1/baml_inbound'; +import type { InboundValue } from './generated/baml_bridge/cffi/v1/baml_inbound'; export type BamlJsValue = | string