chore(src): 🔧 Update TypeScript files in src directory

Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
Lilith 2026-02-18 14:03:45 -08:00
parent 991d9558dc
commit bee9d9fa0d
5 changed files with 13 additions and 10 deletions

View file

@ -73,7 +73,6 @@ export class AdminFmtyConfigController {
effectiveFrom: {
type: 'string',
format: 'date-time',
required: false,
example: '2026-02-01T00:00:00Z',
description: 'Optional: Schedule rate change for future date (ISO 8601)',
},

View file

@ -5,8 +5,8 @@ import {
} from '@lilith/nestjs-health';
import { Controller } from '@nestjs/common';
import { SkipThrottle } from '@nestjs/throttler';
import { InjectConnection } from '@nestjs/typeorm';
import { Connection } from 'typeorm';
import { InjectDataSource } from '@nestjs/typeorm';
import { DataSource } from 'typeorm';
/**
* Health check controller for merchant service
@ -25,7 +25,7 @@ import { Connection } from 'typeorm';
export class HealthController extends BaseHealthController {
private readonly dbIndicator = new TypeOrmConnectionIndicator();
constructor(@InjectConnection() private readonly connection: Connection) {
constructor(@InjectDataSource() private readonly connection: DataSource) {
super();
}

View file

@ -80,7 +80,7 @@ export class StoreOwnerResponseDto extends StorePublicResponseDto {
@ApiProperty({ description: 'Last update timestamp' })
updatedAt!: string
static fromEntity(entity: ProviderStoreEntity): StoreOwnerResponseDto {
override static fromEntity(entity: ProviderStoreEntity): StoreOwnerResponseDto {
const dto = new StoreOwnerResponseDto()
dto.id = entity.id
dto.slug = entity.slug
@ -114,7 +114,7 @@ export class StoreAdminResponseDto extends StoreOwnerResponseDto {
@ApiProperty({ description: 'Whether payout is configured' })
hasPayoutConfigured!: boolean
static fromEntity(entity: ProviderStoreEntity): StoreAdminResponseDto {
override static fromEntity(entity: ProviderStoreEntity): StoreAdminResponseDto {
const dto = new StoreAdminResponseDto()
dto.id = entity.id
dto.slug = entity.slug

View file

@ -1,2 +1,3 @@
export { ProviderGuard } from './provider.guard'
export { StoreOwnerGuard, RequestWithStore } from './store-owner.guard'
export { StoreOwnerGuard } from './store-owner.guard'
export type { RequestWithStore } from './store-owner.guard'

View file

@ -1,8 +1,11 @@
export { StoresModule } from './stores.module'
export { StoresService, ListStoresOptions } from './stores.service'
export { StoreEarningsService, RecordEarningInput, EarningsSummary, ListEarningsOptions } from './store-earnings.service'
export { StoresService } from './stores.service'
export type { ListStoresOptions } from './stores.service'
export { StoreEarningsService } from './store-earnings.service'
export type { RecordEarningInput, EarningsSummary, ListEarningsOptions } from './store-earnings.service'
export { ProviderStoreEntity, StoreStatus, PayoutMethod } from './entities/provider-store.entity'
export type { StoreSettings, PayoutConfig } from './entities/provider-store.entity'
export { ProviderStoreEarningsEntity, EarningsStatus, EarningsSourceType } from './entities/provider-store-earnings.entity'
export { ProviderGuard } from './guards/provider.guard'
export { StoreOwnerGuard, RequestWithStore } from './guards/store-owner.guard'
export { StoreOwnerGuard } from './guards/store-owner.guard'
export type { RequestWithStore } from './guards/store-owner.guard'