@sourceloop/ctrl-plane-tenant-management-service
Version:
Tenant Management microservice for SaaS control plane
16 lines (15 loc) • 977 B
TypeScript
import { Count, Filter, FilterExcludingWhere, Where } from '@loopback/repository';
import { TenantMgmtConfig } from '../models';
import { TenantMgmtConfigRepository } from '../repositories';
export declare class TenantMgmtConfigController {
tenantConfigRepository: TenantMgmtConfigRepository;
constructor(tenantConfigRepository: TenantMgmtConfigRepository);
create(tenantConfig: Omit<TenantMgmtConfig, 'id'>): Promise<TenantMgmtConfig>;
count(where?: Where<TenantMgmtConfig>): Promise<Count>;
find(filter?: Filter<TenantMgmtConfig>): Promise<TenantMgmtConfig[]>;
updateAll(tenantConfig: TenantMgmtConfig, where?: Where<TenantMgmtConfig>): Promise<Count>;
findById(id: string, filter?: FilterExcludingWhere<TenantMgmtConfig>): Promise<TenantMgmtConfig>;
updateById(id: string, tenantConfig: TenantMgmtConfig): Promise<void>;
replaceById(id: string, tenantConfig: TenantMgmtConfig): Promise<void>;
deleteById(id: string): Promise<void>;
}