1.2.1 • Published 5 years ago

stix-wetland v1.2.1

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

Stix wetland

Slack Status

A stix module for Wetland ORM.

Setup

If you initialized a new stix project using the boards cli stix preset, stix-wetland will already be included in your project and you can move on to the using section. If not, keep reading.

  1. In your stix project, simply run yarn add stix-wetland.
  2. Add the module to your project's src/config/modules.ts:
import { ModuleManagerConfigInterface } from 'stix';
import { Wetland } from 'stix-wetland';

export const modules: ModuleManagerConfigInterface = [
  Wetland,
  // Your other modules.
];

Setting up wetland

Configuring wetland can be done by adding a wetland key to your config.

  1. Add export * from './wetland'; to your src/config/index.ts.
  2. Create a file at src/config/wetland.ts and add export const wetland = {} to it.
  3. Configure wetland to your heart's desire.

You can find more info about the configuration options in the wetland documentation.

Note: Due to the nature of stix's module system, all configs conveniently get merged. This means that you could add a config/wetland.ts to each of your modules specifying the entityPaths[] for those module's entities.

Documentation

Take a look at the doc/ directory to find documentation.

License

MIT.

1.2.1

5 years ago

1.2.0

5 years ago

1.1.10

5 years ago

1.1.9

5 years ago

1.1.7

6 years ago

1.1.6

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.0

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago