Skip to content

Commit

Permalink
1087 - run formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitur2204 committed Nov 18, 2022
1 parent 33b29f0 commit d9c3a0b
Show file tree
Hide file tree
Showing 148 changed files with 860 additions and 1,274 deletions.
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 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
}
7 changes: 3 additions & 4 deletions apps/api/src/domain/generated/benefactor/dto/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

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






export class UpdateBenefactorDto {
extCustomerId?: string;
extCustomerId?: string
}
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@

import {Person} from '../../person/entities/person.entity'

import { Person } from '../../person/entities/person.entity'

export class Benefactor {
id: string ;
personId: string ;
extCustomerId: string | null;
createdAt: Date ;
updatedAt: Date | null;
person?: Person ;
id: string
personId: string
extCustomerId: string | null
createdAt: Date
updatedAt: Date | null
person?: Person
}
3 changes: 1 addition & 2 deletions apps/api/src/domain/generated/benefactor/entities/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@

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

export class ConnectBeneficiaryDto {
id: string;
}

export class ConnectBeneficiaryDto {
id: string
}
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@

import {Prisma,BeneficiaryType,PersonRelation} from '@prisma/client'
import {ApiProperty} from '@nestjs/swagger'



import { Prisma, BeneficiaryType, PersonRelation } from '@prisma/client'
import { ApiProperty } from '@nestjs/swagger'

export class CreateBeneficiaryDto {
@ApiProperty({ enum: BeneficiaryType})
type: BeneficiaryType;
countryCode: string;
@ApiProperty({ enum: PersonRelation})
coordinatorRelation?: PersonRelation;
description?: string;
privateData?: Prisma.InputJsonValue;
publicData?: Prisma.InputJsonValue;
@ApiProperty({ enum: PersonRelation})
organizerRelation?: PersonRelation;
@ApiProperty({ enum: BeneficiaryType })
type: BeneficiaryType
countryCode: string
@ApiProperty({ enum: PersonRelation })
coordinatorRelation?: PersonRelation
description?: string
privateData?: Prisma.InputJsonValue
publicData?: Prisma.InputJsonValue
@ApiProperty({ enum: PersonRelation })
organizerRelation?: PersonRelation
}
7 changes: 3 additions & 4 deletions apps/api/src/domain/generated/beneficiary/dto/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

export * from './connect-beneficiary.dto';
export * from './create-beneficiary.dto';
export * from './update-beneficiary.dto';
export * from './connect-beneficiary.dto'
export * from './create-beneficiary.dto'
export * from './update-beneficiary.dto'
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@

import {Prisma,BeneficiaryType,PersonRelation} from '@prisma/client'
import {ApiProperty} from '@nestjs/swagger'



import { Prisma, BeneficiaryType, PersonRelation } from '@prisma/client'
import { ApiProperty } from '@nestjs/swagger'

export class UpdateBeneficiaryDto {
@ApiProperty({ enum: BeneficiaryType})
type?: BeneficiaryType;
countryCode?: string;
@ApiProperty({ enum: PersonRelation})
coordinatorRelation?: PersonRelation;
description?: string;
privateData?: Prisma.InputJsonValue;
publicData?: Prisma.InputJsonValue;
@ApiProperty({ enum: PersonRelation})
organizerRelation?: PersonRelation;
@ApiProperty({ enum: BeneficiaryType })
type?: BeneficiaryType
countryCode?: string
@ApiProperty({ enum: PersonRelation })
coordinatorRelation?: PersonRelation
description?: string
privateData?: Prisma.InputJsonValue
publicData?: Prisma.InputJsonValue
@ApiProperty({ enum: PersonRelation })
organizerRelation?: PersonRelation
}
Original file line number Diff line number Diff line change
@@ -1,33 +1,31 @@

import {Prisma,BeneficiaryType,PersonRelation} from '@prisma/client'
import {City} from '../../city/entities/city.entity'
import {Company} from '../../company/entities/company.entity'
import {Coordinator} from '../../coordinator/entities/coordinator.entity'
import {Organizer} from '../../organizer/entities/organizer.entity'
import {Person} from '../../person/entities/person.entity'
import {Campaign} from '../../campaign/entities/campaign.entity'

import { Prisma, BeneficiaryType, PersonRelation } from '@prisma/client'
import { City } from '../../city/entities/city.entity'
import { Company } from '../../company/entities/company.entity'
import { Coordinator } from '../../coordinator/entities/coordinator.entity'
import { Organizer } from '../../organizer/entities/organizer.entity'
import { Person } from '../../person/entities/person.entity'
import { Campaign } from '../../campaign/entities/campaign.entity'

export class Beneficiary {
id: string ;
type: BeneficiaryType ;
personId: string | null;
coordinatorId: string | null;
countryCode: string ;
cityId: string ;
createdAt: Date ;
updatedAt: Date | null;
coordinatorRelation: PersonRelation | null;
description: string | null;
privateData: Prisma.JsonValue | null;
publicData: Prisma.JsonValue | null;
companyId: string | null;
organizerId: string | null;
organizerRelation: PersonRelation | null;
city?: City ;
company?: Company | null;
coordinator?: Coordinator | null;
organizer?: Organizer | null;
person?: Person | null;
campaigns?: Campaign[] ;
id: string
type: BeneficiaryType
personId: string | null
coordinatorId: string | null
countryCode: string
cityId: string
createdAt: Date
updatedAt: Date | null
coordinatorRelation: PersonRelation | null
description: string | null
privateData: Prisma.JsonValue | null
publicData: Prisma.JsonValue | null
companyId: string | null
organizerId: string | null
organizerRelation: PersonRelation | null
city?: City
company?: Company | null
coordinator?: Coordinator | null
organizer?: Organizer | null
person?: Person | null
campaigns?: Campaign[]
}
3 changes: 1 addition & 2 deletions apps/api/src/domain/generated/beneficiary/entities/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@

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

export class ConnectCampaignDto {
id?: string;
slug?: string;
paymentReference?: string;
}

export class ConnectCampaignDto {
id?: string
slug?: string
paymentReference?: string
}
Loading

0 comments on commit d9c3a0b

Please sign in to comment.