@boklisten/bl-model

generic classes for use in all boklisten apps

Usage no npm install needed!

<script type="module">
  import boklistenBlModel from 'https://cdn.skypack.dev/@boklisten/bl-model';
</script>

README

Bl-model

A library containing the classes needed for the boklisten ecosystem.

Requires

Typescript 4+

Read more about typescript

Installation

This module can easily be installed by running yarn install `bash yarn install @boklisten/bl-model


## Usage

Every class can now be used by importing it into your project and classes.

Example usage:

```typescript
import { Branch, CustomerItem } from "@boklisten/bl-model";

class SampleClass {
  branch: Branch;
  customerItem: CustomerItem;

  public printBranchName() {
    console.log(this.branch.name);
  }
}