This repository contains a TypeScript client for interacting with the Scenes API.
Getting started? Begin with the Scenes API Overview, then dive into Schema Docs for implementation details.
- Client Usage - Installation, configuration, and code examples
- Scene Object Schemas - JSON schema definitions and examples for scene objects
pnpm install # Install dependencies
pnpm run test:client # Run tests
pnpm run build:client # Build the packagescenes-client/
├── docs/ # Scene documentation
│ ├── README.md # Schema guide with examples
│ └── schemas/ # JSON schema definitions
├── packages/
│ └── scenes-client/ # Main client package
│ ├── src/ # Source code
│ ├── tests/ # Tests
│ └── README.md # Usage docs
├── .changeset/ # Versioning config
└── README.md
- Node >=20 : Node installation also includes the npm package manager.
- pnpm >=9: Package manager used for this repository. Install with
npm install -g pnpm@9.
This is a pnpm workspace. All commands should be run from the repository root:
pnpm install # Install all dependencies
pnpm run build:client # Build client
pnpm run test:client:unit # Run client unit tests
pnpm run test:client:integration # Run client integration tests
pnpm run lint:client # Lint code
pnpm run typecheck:client # Type check- Create an
.envfile in the scenes-client/tests folder based on .env.template - Run tests using the commands above or use the Vitest extension in VS Code
For information on how to contribute to this project, please see CONTRIBUTING.md.
Copyright © Bentley Systems, Incorporated. All rights reserved. See LICENSE.md for license terms and full copyright notice.