# models

Workspace data models: projects, workspace config, and project-level query helpers.

[`Project`](https://www.hyperfrontend.dev/docs/libraries/versioning/workspace/models/#api-Project) is the per-package shape (name, version, path, dependencies, declared changelog) carried throughout the workspace operations; [`createProject`](https://www.hyperfrontend.dev/docs/libraries/versioning/workspace/models/#api-createProject) is the factory. [`Workspace`](https://www.hyperfrontend.dev/docs/libraries/versioning/workspace/models/#api-Workspace), [`WorkspaceConfig`](https://www.hyperfrontend.dev/docs/libraries/versioning/workspace/models/#api-WorkspaceConfig), and [`WorkspaceType`](https://www.hyperfrontend.dev/docs/libraries/versioning/workspace/models/#api-WorkspaceType) describe the workspace as a whole. The project-level predicates ([`isPublishable`](https://www.hyperfrontend.dev/docs/libraries/versioning/workspace/models/#api-isPublishable), [`isPrivate`](https://www.hyperfrontend.dev/docs/libraries/versioning/workspace/models/#api-isPrivate), [`hasChangelog`](https://www.hyperfrontend.dev/docs/libraries/versioning/workspace/models/#api-hasChangelog), [`hasInternalDependencies`](https://www.hyperfrontend.dev/docs/libraries/versioning/workspace/models/#api-hasInternalDependencies), [`hasInternalDependents`](https://www.hyperfrontend.dev/docs/libraries/versioning/workspace/models/#api-hasInternalDependents)) and accessors ([`getDependencyCount`](https://www.hyperfrontend.dev/docs/libraries/versioning/workspace/models/#api-getDependencyCount)) cover the common questions consumers ask of a [`Project`](https://www.hyperfrontend.dev/docs/libraries/versioning/workspace/models/#api-Project) without reaching into its raw fields.

---

Canonical page: https://www.hyperfrontend.dev/docs/libraries/versioning/workspace/models/
This file: https://www.hyperfrontend.dev/docs/libraries/versioning/workspace/models.md
Documentation index: https://www.hyperfrontend.dev/llms.txt
