@cromwell/core-backend
v3.0.4
Published
CromwellCMS Backend SDK
Downloads
35
Readme
CromwellCMS Backend SDK
Exports backend helpers, ORM repositories and entities.
Install
npm i @cromwell/core-backend
Use
Example of usage
import { ProductRepository } from '@cromwell/core-backend';
import { getCustomRepository } from 'typeorm';
const products = await getCustomRepository(ProductRepository).getProducts();