Licence
Apache-2.0
Version
7.0.3
Deps
3
Size
110 kB
Vulns
0
Weekly
978
@lokalise/projects-engine-contracts
Shared API contracts and domain schemas for the Projects Engine service.
Contents
src/apiContracts/
schemas.ts— Zod schemas for request/response validation:AUTH_HEADERS,GET_PROJECTS_LIST_PATH_PARAMS_SCHEMA,GET_PROJECTS_LIST_SUCCESS_RESPONSE_BODYprojectsContracts.ts— typed route contracts built with@lokalise/api-contracts:getProjectsListContract
src/project/
schemas.ts— core project domain schemas:PROJECT_SCHEMA,LANGUAGE_SCHEMA,ContentSourceEnum,WorkflowTypeEnum
Publishing
This package is published to NPM automatically when a PR that modifies packages/** is merged to main. The version bump is driven by the PR label:
| Label | Effect |
|---|---|
major |
Bumps major version and publishes |
minor |
Bumps minor version and publishes |
patch |
Bumps patch version and publishes |
skip-release |
Skips publishing entirely |
Every PR touching this package must carry exactly one of these labels (enforced by CI).
Peer dependencies
This package requires zod@^4.0.0 as a peer dependency.
Installation
npm install @lokalise/projects-engine-contracts