@czudisk/models
TypeScript icon, indicating that this package has built-in type declarations

1.0.65 • Public • Published

Database schemas

This repository contains database schemas, separated from the ČZU Disk repository in order to make the schemas available to other repositories (Discord bot).

Schemas and types are then imported to various apps.

import { accountSchema } from "@czudisk/models";
import type { Account } from "@czudisk/models";

How to

  • Clone the repository
  • Run npm install
  • Make needed changes in src folder mainly
  • Run npx tsc or npm run compile in order to compile the src folder to dist folder
  • Compiling will transfer TypeScript files to JavaScript files
  • Increase version in package.json according to https://semver.org/lang/cs/ if possible
  • Run git add .
  • Run git commit -m "Commit message"
  • Run git push
  • Create release on GitHub
  • Automatic deploy to NPM sohuld start

Not needed due to auto deploy to NPM

  • Run npm login if not logged in
  • Run npm publish (only a package owner or developer in organization can do that)`
  • If the package is correctly published to npm run git add . to add your changes to git

Readme

Keywords

none

Package Sidebar

Install

npm i @czudisk/models

Weekly Downloads

1

Version

1.0.65

License

ISC

Unpacked Size

74.2 kB

Total Files

58

Last publish

Collaborators

  • choutkamartin