This repository contains the NPM package bo4e-dotnet-ts-models
.
The package contains typescript interfaces that are inherently consistent with the BO4E-dotnet data model which is used by many Hochfrequenz services (namely transformer.bee/edifact-bo4e-converter).
This repository contains no logic, just types for ease of use in any frontend project.
The files in src are completly autogenerated from JSON Schemas, so they're inherently consistent with the BO4E.NET data model. Any push to the C# repos json-schema-files
directory creates a commit in this repository.
npm install bo4e-dotnet-ts-models
- Update the source code (happens automatically via the .NET repo for
/src
) - iff there are any new BO classes, re-export the autogenerated models in index.d.ts
- manually bump the the version in
package.json
; It's best to choose the same version as the respective BO4E.net version that was used to generate the .ts models unless there's good reason to not do so. - click on "Draft a new Release" in the right sidebar on Github
- Choose a tag that has the form
v1.2.3
an the main branch wherev1.2.3
is the same version as the one you manually set inindex.d.ts
- Autogenerate Release Notes