UNPKG

@citrineos/data

Version:

The OCPP data module which includes all persistence layer implementation.

12 lines (11 loc) 607 B
import { SequelizeRepository } from './Base.js'; import type { ITenantRepository } from '../../../interfaces/index.js'; import type { BootstrapConfig } from '@citrineos/base'; import { Sequelize } from 'sequelize-typescript'; import type { ILogObj } from 'tslog'; import { Logger } from 'tslog'; import { Tenant } from '../model/Tenant.js'; export declare class SequelizeTenantRepository extends SequelizeRepository<Tenant> implements ITenantRepository { constructor(config: BootstrapConfig, logger?: Logger<ILogObj>, sequelizeInstance?: Sequelize); createTenant(tenant: Tenant): Promise<Tenant>; }