schema-2.0
v2.0.0-beta.1
Published
Generator scripts for Schema repository for ObserveRTC
Downloads
1
Readme
ObserveRTC Schemas
This repository contains schemas for ObserveRTC.
Use the Schema
For npm projects:
npm i @observertc/schemas
Change the schema
Schema change requests
Create an issue and state the request.
Create PR for schema changes
Discussion is good to request a schema, PR is better. Step to create a PR (after you cloned the repo):
- create your branch
- change the source of the schemas,
sources/version.txt
, trace the change in thesources/CHANGELOG.md
. - Generate
npm-lib
typescripts (see below) - open the PR
Generate npm-lib typescripts
To run the schema generator for npm-lib:
git clone https://github.com/observertc/schemas && \
cd schemas && \
npm i && \
node index.js