Skip to content

Commit

Permalink
Run nx format
Browse files Browse the repository at this point in the history
  • Loading branch information
sashko9807 committed Oct 21, 2023
1 parent 505a210 commit 9afc6e9
Show file tree
Hide file tree
Showing 202 changed files with 1,120 additions and 1,688 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@

export class ConnectAffiliateDto {
id?: string;
affiliateCode?: string;
companyId?: string;
}

export class ConnectAffiliateDto {
id?: string
affiliateCode?: string
companyId?: string
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@






export class CreateAffiliateDto {
affiliateCode?: string;
affiliateCode?: string
}
7 changes: 3 additions & 4 deletions apps/api/src/domain/generated/affiliate/dto/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

export * from './connect-affiliate.dto';
export * from './create-affiliate.dto';
export * from './update-affiliate.dto';
export * from './connect-affiliate.dto'
export * from './create-affiliate.dto'
export * from './update-affiliate.dto'
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@






export class UpdateAffiliateDto {
affiliateCode?: string;
affiliateCode?: string
}
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@

import {AffiliateStatus} from '@prisma/client'
import {Company} from '../../company/entities/company.entity'
import {Donation} from '../../donation/entities/donation.entity'

import { AffiliateStatus } from '@prisma/client'
import { Company } from '../../company/entities/company.entity'
import { Donation } from '../../donation/entities/donation.entity'

export class Affiliate {
id: string ;
status: AffiliateStatus ;
affiliateCode: string | null;
companyId: string | null;
company?: Company | null;
donations?: Donation[] ;
id: string
status: AffiliateStatus
affiliateCode: string | null
companyId: string | null
company?: Company | null
donations?: Donation[]
}
3 changes: 1 addition & 2 deletions apps/api/src/domain/generated/affiliate/entities/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@

export * from './affiliate.entity';
export * from './affiliate.entity'
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@

export class ConnectBankAccountDto {
id: string;
}

export class ConnectBankAccountDto {
id: string
}
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@

import {AccountHolderType} from '@prisma/client'
import {ApiProperty} from '@nestjs/swagger'



import { AccountHolderType } from '@prisma/client'
import { ApiProperty } from '@nestjs/swagger'

export class CreateBankAccountDto {
ibanNumber: string;
accountHolderName: string;
@ApiProperty({ enum: AccountHolderType})
accountHolderType: AccountHolderType;
bankName?: string;
bankIdCode?: string;
fingerprint?: string;
ibanNumber: string
accountHolderName: string
@ApiProperty({ enum: AccountHolderType })
accountHolderType: AccountHolderType
bankName?: string
bankIdCode?: string
fingerprint?: string
}
7 changes: 3 additions & 4 deletions apps/api/src/domain/generated/bankAccount/dto/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

export * from './connect-bankAccount.dto';
export * from './create-bankAccount.dto';
export * from './update-bankAccount.dto';
export * from './connect-bankAccount.dto'
export * from './create-bankAccount.dto'
export * from './update-bankAccount.dto'
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@

import {AccountHolderType} from '@prisma/client'
import {ApiProperty} from '@nestjs/swagger'



import { AccountHolderType } from '@prisma/client'
import { ApiProperty } from '@nestjs/swagger'

export class UpdateBankAccountDto {
ibanNumber?: string;
accountHolderName?: string;
@ApiProperty({ enum: AccountHolderType})
accountHolderType?: AccountHolderType;
bankName?: string;
bankIdCode?: string;
fingerprint?: string;
ibanNumber?: string
accountHolderName?: string
@ApiProperty({ enum: AccountHolderType })
accountHolderType?: AccountHolderType
bankName?: string
bankIdCode?: string
fingerprint?: string
}
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@

import {BankAccountStatus,AccountHolderType} from '@prisma/client'
import {Withdrawal} from '../../withdrawal/entities/withdrawal.entity'

import { BankAccountStatus, AccountHolderType } from '@prisma/client'
import { Withdrawal } from '../../withdrawal/entities/withdrawal.entity'

export class BankAccount {
id: string ;
status: BankAccountStatus ;
ibanNumber: string ;
accountHolderName: string ;
accountHolderType: AccountHolderType ;
bankName: string | null;
bankIdCode: string | null;
fingerprint: string | null;
createdAt: Date ;
updatedAt: Date | null;
withdraws?: Withdrawal[] ;
id: string
status: BankAccountStatus
ibanNumber: string
accountHolderName: string
accountHolderType: AccountHolderType
bankName: string | null
bankIdCode: string | null
fingerprint: string | null
createdAt: Date
updatedAt: Date | null
withdraws?: Withdrawal[]
}
3 changes: 1 addition & 2 deletions apps/api/src/domain/generated/bankAccount/entities/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@

export * from './bankAccount.entity';
export * from './bankAccount.entity'
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@

export class ConnectBankTransactionDto {
id: string;
}

export class ConnectBankTransactionDto {
id: string
}
Original file line number Diff line number Diff line change
@@ -1,25 +1,21 @@

import {BankTransactionType,BankDonationStatus} from '@prisma/client'
import {ApiProperty} from '@nestjs/swagger'



import { BankTransactionType, BankDonationStatus } from '@prisma/client'
import { ApiProperty } from '@nestjs/swagger'

export class CreateBankTransactionDto {
id: string;
ibanNumber: string;
bankName: string;
bankIdCode: string;
transactionDate: Date;
senderName?: string;
recipientName?: string;
senderIban?: string;
recipientIban?: string;
description: string;
matchedRef?: string;
@ApiProperty({ enum: BankTransactionType})
type: BankTransactionType;
@ApiProperty({ enum: BankDonationStatus})
bankDonationStatus?: BankDonationStatus;
notified?: boolean;
id: string
ibanNumber: string
bankName: string
bankIdCode: string
transactionDate: Date
senderName?: string
recipientName?: string
senderIban?: string
recipientIban?: string
description: string
matchedRef?: string
@ApiProperty({ enum: BankTransactionType })
type: BankTransactionType
@ApiProperty({ enum: BankDonationStatus })
bankDonationStatus?: BankDonationStatus
notified?: boolean
}
7 changes: 3 additions & 4 deletions apps/api/src/domain/generated/bankTransaction/dto/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

export * from './connect-bankTransaction.dto';
export * from './create-bankTransaction.dto';
export * from './update-bankTransaction.dto';
export * from './connect-bankTransaction.dto'
export * from './create-bankTransaction.dto'
export * from './update-bankTransaction.dto'
Original file line number Diff line number Diff line change
@@ -1,24 +1,20 @@

import {BankTransactionType,BankDonationStatus} from '@prisma/client'
import {ApiProperty} from '@nestjs/swagger'



import { BankTransactionType, BankDonationStatus } from '@prisma/client'
import { ApiProperty } from '@nestjs/swagger'

export class UpdateBankTransactionDto {
ibanNumber?: string;
bankName?: string;
bankIdCode?: string;
transactionDate?: Date;
senderName?: string;
recipientName?: string;
senderIban?: string;
recipientIban?: string;
description?: string;
matchedRef?: string;
@ApiProperty({ enum: BankTransactionType})
type?: BankTransactionType;
@ApiProperty({ enum: BankDonationStatus})
bankDonationStatus?: BankDonationStatus;
notified?: boolean;
ibanNumber?: string
bankName?: string
bankIdCode?: string
transactionDate?: Date
senderName?: string
recipientName?: string
senderIban?: string
recipientIban?: string
description?: string
matchedRef?: string
@ApiProperty({ enum: BankTransactionType })
type?: BankTransactionType
@ApiProperty({ enum: BankDonationStatus })
bankDonationStatus?: BankDonationStatus
notified?: boolean
}
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@

import {Currency,BankTransactionType,BankDonationStatus} from '@prisma/client'

import { Currency, BankTransactionType, BankDonationStatus } from '@prisma/client'

export class BankTransaction {
id: string ;
ibanNumber: string ;
bankName: string ;
bankIdCode: string ;
transactionDate: Date ;
senderName: string | null;
recipientName: string | null;
senderIban: string | null;
recipientIban: string | null;
amount: number ;
currency: Currency ;
description: string ;
matchedRef: string | null;
type: BankTransactionType ;
bankDonationStatus: BankDonationStatus | null;
notified: boolean | null;
id: string
ibanNumber: string
bankName: string
bankIdCode: string
transactionDate: Date
senderName: string | null
recipientName: string | null
senderIban: string | null
recipientIban: string | null
amount: number
currency: Currency
description: string
matchedRef: string | null
type: BankTransactionType
bankDonationStatus: BankDonationStatus | null
notified: boolean | null
}
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@

export * from './bankTransaction.entity';
export * from './bankTransaction.entity'
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@

export class ConnectBankTransactionsFileDto {
id: string;
}

export class ConnectBankTransactionsFileDto {
id: string
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

export * from './connect-bankTransactionsFile.dto';
export * from './create-bankTransactionsFile.dto';
export * from './update-bankTransactionsFile.dto';
export * from './connect-bankTransactionsFile.dto'
export * from './create-bankTransactionsFile.dto'
export * from './update-bankTransactionsFile.dto'
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@

import {BankTransactionsFileType} from '@prisma/client'

import { BankTransactionsFileType } from '@prisma/client'

export class BankTransactionsFile {
id: string ;
filename: string ;
mimetype: string ;
bankTransactionsFileId: string ;
type: BankTransactionsFileType ;
personId: string ;
id: string
filename: string
mimetype: string
bankTransactionsFileId: string
type: BankTransactionsFileType
personId: string
}
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@

export * from './bankTransactionsFile.entity';
export * from './bankTransactionsFile.entity'
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@

export class ConnectBenefactorDto {
id?: string;
extCustomerId?: string;
}

export class ConnectBenefactorDto {
id?: string
extCustomerId?: string
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@






export class CreateBenefactorDto {
extCustomerId?: string;
extCustomerId?: string
}
Loading

0 comments on commit 9afc6e9

Please sign in to comment.