@textyly/crossly-private-persistence-contracts
v0.0.2
Published
Shared contracts (pattern data model + HATEOAS links) for the Crossly Private Persistence service, consumable by clients such as crossly.ui.
Maintainers
Readme
@textyly/crossly-private-persistence-contracts
Shared TypeScript contracts for the Crossly Private Persistence service — the cross-stitch pattern data model exchanged over its API plus the HATEOAS link shapes it returns.
These mirror the data model of crossly.persistence.service (the .NET app this service replaces)
and are meant to be consumed by clients such as crossly.ui.
Install
npm install @textyly/crossly-private-persistence-contractsUsage
import type {
CrosslyDataModel,
Link,
GetAllResponse,
} from '@textyly/crossly-private-persistence-contracts';The package ships only type declarations and has no runtime or server dependencies.
License
Apache-2.0 — part of the textyly / crossly open-source project.
