diff --git a/apps/api/src/domain/generated/bankAccount/dto/connect-bankAccount.dto.ts b/apps/api/src/domain/generated/bankAccount/dto/connect-bankAccount.dto.ts index 0b746491b..3fd44a13f 100644 --- a/apps/api/src/domain/generated/bankAccount/dto/connect-bankAccount.dto.ts +++ b/apps/api/src/domain/generated/bankAccount/dto/connect-bankAccount.dto.ts @@ -1,5 +1,3 @@ - - export class ConnectBankAccountDto { - id: string; - } - \ No newline at end of file +export class ConnectBankAccountDto { + id: string +} diff --git a/apps/api/src/domain/generated/bankAccount/dto/create-bankAccount.dto.ts b/apps/api/src/domain/generated/bankAccount/dto/create-bankAccount.dto.ts index b81ea593f..47be199e5 100644 --- a/apps/api/src/domain/generated/bankAccount/dto/create-bankAccount.dto.ts +++ b/apps/api/src/domain/generated/bankAccount/dto/create-bankAccount.dto.ts @@ -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 } diff --git a/apps/api/src/domain/generated/bankAccount/dto/index.ts b/apps/api/src/domain/generated/bankAccount/dto/index.ts index 0e27b08bb..7d1b2b955 100644 --- a/apps/api/src/domain/generated/bankAccount/dto/index.ts +++ b/apps/api/src/domain/generated/bankAccount/dto/index.ts @@ -1,4 +1,3 @@ - -export * from './connect-bankAccount.dto'; -export * from './create-bankAccount.dto'; -export * from './update-bankAccount.dto'; \ No newline at end of file +export * from './connect-bankAccount.dto' +export * from './create-bankAccount.dto' +export * from './update-bankAccount.dto' diff --git a/apps/api/src/domain/generated/bankAccount/dto/update-bankAccount.dto.ts b/apps/api/src/domain/generated/bankAccount/dto/update-bankAccount.dto.ts index fef749490..96cf9bdb8 100644 --- a/apps/api/src/domain/generated/bankAccount/dto/update-bankAccount.dto.ts +++ b/apps/api/src/domain/generated/bankAccount/dto/update-bankAccount.dto.ts @@ -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 } diff --git a/apps/api/src/domain/generated/bankAccount/entities/bankAccount.entity.ts b/apps/api/src/domain/generated/bankAccount/entities/bankAccount.entity.ts index a65172090..59208cda9 100644 --- a/apps/api/src/domain/generated/bankAccount/entities/bankAccount.entity.ts +++ b/apps/api/src/domain/generated/bankAccount/entities/bankAccount.entity.ts @@ -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[] } diff --git a/apps/api/src/domain/generated/bankAccount/entities/index.ts b/apps/api/src/domain/generated/bankAccount/entities/index.ts index e5c0a3d53..f1ae59edc 100644 --- a/apps/api/src/domain/generated/bankAccount/entities/index.ts +++ b/apps/api/src/domain/generated/bankAccount/entities/index.ts @@ -1,2 +1 @@ - -export * from './bankAccount.entity'; \ No newline at end of file +export * from './bankAccount.entity' diff --git a/apps/api/src/domain/generated/bankTransactionsFile/dto/connect-bankTransactionsFile.dto.ts b/apps/api/src/domain/generated/bankTransactionsFile/dto/connect-bankTransactionsFile.dto.ts index c383807cf..6cdf90627 100644 --- a/apps/api/src/domain/generated/bankTransactionsFile/dto/connect-bankTransactionsFile.dto.ts +++ b/apps/api/src/domain/generated/bankTransactionsFile/dto/connect-bankTransactionsFile.dto.ts @@ -1,5 +1,3 @@ - - export class ConnectBankTransactionsFileDto { - id: string; - } - \ No newline at end of file +export class ConnectBankTransactionsFileDto { + id: string +} diff --git a/apps/api/src/domain/generated/bankTransactionsFile/dto/index.ts b/apps/api/src/domain/generated/bankTransactionsFile/dto/index.ts index 5b340a88a..20977448f 100644 --- a/apps/api/src/domain/generated/bankTransactionsFile/dto/index.ts +++ b/apps/api/src/domain/generated/bankTransactionsFile/dto/index.ts @@ -1,4 +1,3 @@ - -export * from './connect-bankTransactionsFile.dto'; -export * from './create-bankTransactionsFile.dto'; -export * from './update-bankTransactionsFile.dto'; \ No newline at end of file +export * from './connect-bankTransactionsFile.dto' +export * from './create-bankTransactionsFile.dto' +export * from './update-bankTransactionsFile.dto' diff --git a/apps/api/src/domain/generated/bankTransactionsFile/entities/bankTransactionsFile.entity.ts b/apps/api/src/domain/generated/bankTransactionsFile/entities/bankTransactionsFile.entity.ts index 527fd9fbb..e77fd9cf1 100644 --- a/apps/api/src/domain/generated/bankTransactionsFile/entities/bankTransactionsFile.entity.ts +++ b/apps/api/src/domain/generated/bankTransactionsFile/entities/bankTransactionsFile.entity.ts @@ -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 } diff --git a/apps/api/src/domain/generated/bankTransactionsFile/entities/index.ts b/apps/api/src/domain/generated/bankTransactionsFile/entities/index.ts index 6ccda1bc5..f37c6f255 100644 --- a/apps/api/src/domain/generated/bankTransactionsFile/entities/index.ts +++ b/apps/api/src/domain/generated/bankTransactionsFile/entities/index.ts @@ -1,2 +1 @@ - -export * from './bankTransactionsFile.entity'; \ No newline at end of file +export * from './bankTransactionsFile.entity' diff --git a/apps/api/src/domain/generated/benefactor/dto/connect-benefactor.dto.ts b/apps/api/src/domain/generated/benefactor/dto/connect-benefactor.dto.ts index 21f5ab163..4fe025c7e 100644 --- a/apps/api/src/domain/generated/benefactor/dto/connect-benefactor.dto.ts +++ b/apps/api/src/domain/generated/benefactor/dto/connect-benefactor.dto.ts @@ -1,6 +1,4 @@ - - export class ConnectBenefactorDto { - id?: string; -extCustomerId?: string; - } - \ No newline at end of file +export class ConnectBenefactorDto { + id?: string + extCustomerId?: string +} diff --git a/apps/api/src/domain/generated/benefactor/dto/create-benefactor.dto.ts b/apps/api/src/domain/generated/benefactor/dto/create-benefactor.dto.ts index 612398342..832716f11 100644 --- a/apps/api/src/domain/generated/benefactor/dto/create-benefactor.dto.ts +++ b/apps/api/src/domain/generated/benefactor/dto/create-benefactor.dto.ts @@ -1,9 +1,3 @@ - - - - - - export class CreateBenefactorDto { - extCustomerId?: string; + extCustomerId?: string } diff --git a/apps/api/src/domain/generated/benefactor/dto/index.ts b/apps/api/src/domain/generated/benefactor/dto/index.ts index 38c4268e3..7d1ae714d 100644 --- a/apps/api/src/domain/generated/benefactor/dto/index.ts +++ b/apps/api/src/domain/generated/benefactor/dto/index.ts @@ -1,4 +1,3 @@ - -export * from './connect-benefactor.dto'; -export * from './create-benefactor.dto'; -export * from './update-benefactor.dto'; \ No newline at end of file +export * from './connect-benefactor.dto' +export * from './create-benefactor.dto' +export * from './update-benefactor.dto' diff --git a/apps/api/src/domain/generated/benefactor/dto/update-benefactor.dto.ts b/apps/api/src/domain/generated/benefactor/dto/update-benefactor.dto.ts index 516ffc550..310f1f4c7 100644 --- a/apps/api/src/domain/generated/benefactor/dto/update-benefactor.dto.ts +++ b/apps/api/src/domain/generated/benefactor/dto/update-benefactor.dto.ts @@ -1,9 +1,3 @@ - - - - - - export class UpdateBenefactorDto { - extCustomerId?: string; + extCustomerId?: string } diff --git a/apps/api/src/domain/generated/benefactor/entities/benefactor.entity.ts b/apps/api/src/domain/generated/benefactor/entities/benefactor.entity.ts index 1272e85fa..c5de54418 100644 --- a/apps/api/src/domain/generated/benefactor/entities/benefactor.entity.ts +++ b/apps/api/src/domain/generated/benefactor/entities/benefactor.entity.ts @@ -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 } diff --git a/apps/api/src/domain/generated/benefactor/entities/index.ts b/apps/api/src/domain/generated/benefactor/entities/index.ts index 7eadc8a26..a2fdda115 100644 --- a/apps/api/src/domain/generated/benefactor/entities/index.ts +++ b/apps/api/src/domain/generated/benefactor/entities/index.ts @@ -1,2 +1 @@ - -export * from './benefactor.entity'; \ No newline at end of file +export * from './benefactor.entity' diff --git a/apps/api/src/domain/generated/beneficiary/dto/connect-beneficiary.dto.ts b/apps/api/src/domain/generated/beneficiary/dto/connect-beneficiary.dto.ts index e172843c9..a860abb38 100644 --- a/apps/api/src/domain/generated/beneficiary/dto/connect-beneficiary.dto.ts +++ b/apps/api/src/domain/generated/beneficiary/dto/connect-beneficiary.dto.ts @@ -1,5 +1,3 @@ - - export class ConnectBeneficiaryDto { - id: string; - } - \ No newline at end of file +export class ConnectBeneficiaryDto { + id: string +} diff --git a/apps/api/src/domain/generated/beneficiary/dto/create-beneficiary.dto.ts b/apps/api/src/domain/generated/beneficiary/dto/create-beneficiary.dto.ts index fc915ff5d..6cb1e49be 100644 --- a/apps/api/src/domain/generated/beneficiary/dto/create-beneficiary.dto.ts +++ b/apps/api/src/domain/generated/beneficiary/dto/create-beneficiary.dto.ts @@ -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 } diff --git a/apps/api/src/domain/generated/beneficiary/dto/index.ts b/apps/api/src/domain/generated/beneficiary/dto/index.ts index 5e7aa035a..53b54ab2d 100644 --- a/apps/api/src/domain/generated/beneficiary/dto/index.ts +++ b/apps/api/src/domain/generated/beneficiary/dto/index.ts @@ -1,4 +1,3 @@ - -export * from './connect-beneficiary.dto'; -export * from './create-beneficiary.dto'; -export * from './update-beneficiary.dto'; \ No newline at end of file +export * from './connect-beneficiary.dto' +export * from './create-beneficiary.dto' +export * from './update-beneficiary.dto' diff --git a/apps/api/src/domain/generated/beneficiary/dto/update-beneficiary.dto.ts b/apps/api/src/domain/generated/beneficiary/dto/update-beneficiary.dto.ts index 764bc76a6..cb803cb07 100644 --- a/apps/api/src/domain/generated/beneficiary/dto/update-beneficiary.dto.ts +++ b/apps/api/src/domain/generated/beneficiary/dto/update-beneficiary.dto.ts @@ -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 } diff --git a/apps/api/src/domain/generated/beneficiary/entities/beneficiary.entity.ts b/apps/api/src/domain/generated/beneficiary/entities/beneficiary.entity.ts index cd16bbf53..c4cf25c5a 100644 --- a/apps/api/src/domain/generated/beneficiary/entities/beneficiary.entity.ts +++ b/apps/api/src/domain/generated/beneficiary/entities/beneficiary.entity.ts @@ -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[] } diff --git a/apps/api/src/domain/generated/beneficiary/entities/index.ts b/apps/api/src/domain/generated/beneficiary/entities/index.ts index 1c70ada2d..dfedc52a2 100644 --- a/apps/api/src/domain/generated/beneficiary/entities/index.ts +++ b/apps/api/src/domain/generated/beneficiary/entities/index.ts @@ -1,2 +1 @@ - -export * from './beneficiary.entity'; \ No newline at end of file +export * from './beneficiary.entity' diff --git a/apps/api/src/domain/generated/campaign/dto/connect-campaign.dto.ts b/apps/api/src/domain/generated/campaign/dto/connect-campaign.dto.ts index 8455213fc..b1f28f448 100644 --- a/apps/api/src/domain/generated/campaign/dto/connect-campaign.dto.ts +++ b/apps/api/src/domain/generated/campaign/dto/connect-campaign.dto.ts @@ -1,7 +1,5 @@ - - export class ConnectCampaignDto { - id?: string; -slug?: string; -paymentReference?: string; - } - \ No newline at end of file +export class ConnectCampaignDto { + id?: string + slug?: string + paymentReference?: string +} diff --git a/apps/api/src/domain/generated/campaign/dto/create-campaign.dto.ts b/apps/api/src/domain/generated/campaign/dto/create-campaign.dto.ts index ef04d2a86..20dd31506 100644 --- a/apps/api/src/domain/generated/campaign/dto/create-campaign.dto.ts +++ b/apps/api/src/domain/generated/campaign/dto/create-campaign.dto.ts @@ -1,17 +1,11 @@ - - - - - - export class CreateCampaignDto { - slug: string; -title: string; -essence: string; -description?: string; -targetAmount?: number; -startDate?: Date; -endDate?: Date; -deletedAt?: Date; -paymentReference: string; + slug: string + title: string + essence: string + description?: string + targetAmount?: number + startDate?: Date + endDate?: Date + deletedAt?: Date + paymentReference: string } diff --git a/apps/api/src/domain/generated/campaign/dto/index.ts b/apps/api/src/domain/generated/campaign/dto/index.ts index 241d02034..867889df2 100644 --- a/apps/api/src/domain/generated/campaign/dto/index.ts +++ b/apps/api/src/domain/generated/campaign/dto/index.ts @@ -1,4 +1,3 @@ - -export * from './connect-campaign.dto'; -export * from './create-campaign.dto'; -export * from './update-campaign.dto'; \ No newline at end of file +export * from './connect-campaign.dto' +export * from './create-campaign.dto' +export * from './update-campaign.dto' diff --git a/apps/api/src/domain/generated/campaign/dto/update-campaign.dto.ts b/apps/api/src/domain/generated/campaign/dto/update-campaign.dto.ts index c54f9040b..299525728 100644 --- a/apps/api/src/domain/generated/campaign/dto/update-campaign.dto.ts +++ b/apps/api/src/domain/generated/campaign/dto/update-campaign.dto.ts @@ -1,17 +1,11 @@ - - - - - - export class UpdateCampaignDto { - slug?: string; -title?: string; -essence?: string; -description?: string; -targetAmount?: number; -startDate?: Date; -endDate?: Date; -deletedAt?: Date; -paymentReference?: string; + slug?: string + title?: string + essence?: string + description?: string + targetAmount?: number + startDate?: Date + endDate?: Date + deletedAt?: Date + paymentReference?: string } diff --git a/apps/api/src/domain/generated/campaign/entities/campaign.entity.ts b/apps/api/src/domain/generated/campaign/entities/campaign.entity.ts index 5f09ef129..e167f4fd7 100644 --- a/apps/api/src/domain/generated/campaign/entities/campaign.entity.ts +++ b/apps/api/src/domain/generated/campaign/entities/campaign.entity.ts @@ -1,52 +1,50 @@ - -import {CampaignState,Currency} from '@prisma/client' -import {Person} from '../../person/entities/person.entity' -import {Beneficiary} from '../../beneficiary/entities/beneficiary.entity' -import {CampaignType} from '../../campaignType/entities/campaignType.entity' -import {Coordinator} from '../../coordinator/entities/coordinator.entity' -import {Organizer} from '../../organizer/entities/organizer.entity' -import {Company} from '../../company/entities/company.entity' -import {CampaignFile} from '../../campaignFile/entities/campaignFile.entity' -import {DonationWish} from '../../donationWish/entities/donationWish.entity' -import {Irregularity} from '../../irregularity/entities/irregularity.entity' -import {Transfer} from '../../transfer/entities/transfer.entity' -import {Vault} from '../../vault/entities/vault.entity' -import {Withdrawal} from '../../withdrawal/entities/withdrawal.entity' - +import { CampaignState, Currency } from '@prisma/client' +import { Person } from '../../person/entities/person.entity' +import { Beneficiary } from '../../beneficiary/entities/beneficiary.entity' +import { CampaignType } from '../../campaignType/entities/campaignType.entity' +import { Coordinator } from '../../coordinator/entities/coordinator.entity' +import { Organizer } from '../../organizer/entities/organizer.entity' +import { Company } from '../../company/entities/company.entity' +import { CampaignFile } from '../../campaignFile/entities/campaignFile.entity' +import { DonationWish } from '../../donationWish/entities/donationWish.entity' +import { Irregularity } from '../../irregularity/entities/irregularity.entity' +import { Transfer } from '../../transfer/entities/transfer.entity' +import { Vault } from '../../vault/entities/vault.entity' +import { Withdrawal } from '../../withdrawal/entities/withdrawal.entity' export class Campaign { - id: string ; -state: CampaignState ; -slug: string ; -title: string ; -essence: string ; -coordinatorId: string ; -beneficiaryId: string ; -campaignTypeId: string ; -description: string | null; -targetAmount: number | null; -startDate: Date | null; -endDate: Date | null; -createdAt: Date ; -updatedAt: Date | null; -deletedAt: Date | null; -approvedById: string | null; -currency: Currency ; -allowDonationOnComplete: boolean ; -paymentReference: string ; -organizerId: string | null; -companyId: string | null; -approvedBy?: Person | null; -beneficiary?: Beneficiary ; -campaignType?: CampaignType ; -coordinator?: Coordinator ; -organizer?: Organizer | null; -company?: Company | null; -campaignFiles?: CampaignFile[] ; -donationWish?: DonationWish[] ; -irregularities?: Irregularity[] ; -outgoingTransfers?: Transfer[] ; -incomingTransfers?: Transfer[] ; -vaults?: Vault[] ; -withdrawals?: Withdrawal[] ; + id: string + state: CampaignState + slug: string + title: string + essence: string + coordinatorId: string + beneficiaryId: string + campaignTypeId: string + description: string | null + targetAmount: number | null + startDate: Date | null + endDate: Date | null + createdAt: Date + updatedAt: Date | null + deletedAt: Date | null + approvedById: string | null + currency: Currency + allowDonationOnComplete: boolean + paymentReference: string + organizerId: string | null + companyId: string | null + approvedBy?: Person | null + beneficiary?: Beneficiary + campaignType?: CampaignType + coordinator?: Coordinator + organizer?: Organizer | null + company?: Company | null + campaignFiles?: CampaignFile[] + donationWish?: DonationWish[] + irregularities?: Irregularity[] + outgoingTransfers?: Transfer[] + incomingTransfers?: Transfer[] + vaults?: Vault[] + withdrawals?: Withdrawal[] } diff --git a/apps/api/src/domain/generated/campaign/entities/index.ts b/apps/api/src/domain/generated/campaign/entities/index.ts index 1b36a8a95..60f683cf0 100644 --- a/apps/api/src/domain/generated/campaign/entities/index.ts +++ b/apps/api/src/domain/generated/campaign/entities/index.ts @@ -1,2 +1 @@ - -export * from './campaign.entity'; \ No newline at end of file +export * from './campaign.entity' diff --git a/apps/api/src/domain/generated/campaignFile/dto/connect-campaignFile.dto.ts b/apps/api/src/domain/generated/campaignFile/dto/connect-campaignFile.dto.ts index cff9608ef..6bc075ba1 100644 --- a/apps/api/src/domain/generated/campaignFile/dto/connect-campaignFile.dto.ts +++ b/apps/api/src/domain/generated/campaignFile/dto/connect-campaignFile.dto.ts @@ -1,5 +1,3 @@ - - export class ConnectCampaignFileDto { - id: string; - } - \ No newline at end of file +export class ConnectCampaignFileDto { + id: string +} diff --git a/apps/api/src/domain/generated/campaignFile/dto/create-campaignFile.dto.ts b/apps/api/src/domain/generated/campaignFile/dto/create-campaignFile.dto.ts index 4abc7c4fa..d95e8c8d1 100644 --- a/apps/api/src/domain/generated/campaignFile/dto/create-campaignFile.dto.ts +++ b/apps/api/src/domain/generated/campaignFile/dto/create-campaignFile.dto.ts @@ -1,13 +1,9 @@ - -import {CampaignFileRole} from '@prisma/client' -import {ApiProperty} from '@nestjs/swagger' - - - +import { CampaignFileRole } from '@prisma/client' +import { ApiProperty } from '@nestjs/swagger' export class CreateCampaignFileDto { - filename: string; -mimetype: string; -@ApiProperty({ enum: CampaignFileRole}) -role: CampaignFileRole; + filename: string + mimetype: string + @ApiProperty({ enum: CampaignFileRole }) + role: CampaignFileRole } diff --git a/apps/api/src/domain/generated/campaignFile/dto/index.ts b/apps/api/src/domain/generated/campaignFile/dto/index.ts index 4783677d1..4aee57739 100644 --- a/apps/api/src/domain/generated/campaignFile/dto/index.ts +++ b/apps/api/src/domain/generated/campaignFile/dto/index.ts @@ -1,4 +1,3 @@ - -export * from './connect-campaignFile.dto'; -export * from './create-campaignFile.dto'; -export * from './update-campaignFile.dto'; \ No newline at end of file +export * from './connect-campaignFile.dto' +export * from './create-campaignFile.dto' +export * from './update-campaignFile.dto' diff --git a/apps/api/src/domain/generated/campaignFile/dto/update-campaignFile.dto.ts b/apps/api/src/domain/generated/campaignFile/dto/update-campaignFile.dto.ts index 518c2fb17..91edf0627 100644 --- a/apps/api/src/domain/generated/campaignFile/dto/update-campaignFile.dto.ts +++ b/apps/api/src/domain/generated/campaignFile/dto/update-campaignFile.dto.ts @@ -1,13 +1,9 @@ - -import {CampaignFileRole} from '@prisma/client' -import {ApiProperty} from '@nestjs/swagger' - - - +import { CampaignFileRole } from '@prisma/client' +import { ApiProperty } from '@nestjs/swagger' export class UpdateCampaignFileDto { - filename?: string; -mimetype?: string; -@ApiProperty({ enum: CampaignFileRole}) -role?: CampaignFileRole; + filename?: string + mimetype?: string + @ApiProperty({ enum: CampaignFileRole }) + role?: CampaignFileRole } diff --git a/apps/api/src/domain/generated/campaignFile/entities/campaignFile.entity.ts b/apps/api/src/domain/generated/campaignFile/entities/campaignFile.entity.ts index a2121df59..3d42e1747 100644 --- a/apps/api/src/domain/generated/campaignFile/entities/campaignFile.entity.ts +++ b/apps/api/src/domain/generated/campaignFile/entities/campaignFile.entity.ts @@ -1,16 +1,14 @@ - -import {CampaignFileRole} from '@prisma/client' -import {Campaign} from '../../campaign/entities/campaign.entity' -import {Person} from '../../person/entities/person.entity' - +import { CampaignFileRole } from '@prisma/client' +import { Campaign } from '../../campaign/entities/campaign.entity' +import { Person } from '../../person/entities/person.entity' export class CampaignFile { - id: string ; -filename: string ; -campaignId: string ; -personId: string ; -mimetype: string ; -role: CampaignFileRole ; -campaign?: Campaign ; -person?: Person ; + id: string + filename: string + campaignId: string + personId: string + mimetype: string + role: CampaignFileRole + campaign?: Campaign + person?: Person } diff --git a/apps/api/src/domain/generated/campaignFile/entities/index.ts b/apps/api/src/domain/generated/campaignFile/entities/index.ts index 1177918c9..1b4dd6ad3 100644 --- a/apps/api/src/domain/generated/campaignFile/entities/index.ts +++ b/apps/api/src/domain/generated/campaignFile/entities/index.ts @@ -1,2 +1 @@ - -export * from './campaignFile.entity'; \ No newline at end of file +export * from './campaignFile.entity' diff --git a/apps/api/src/domain/generated/campaignType/dto/connect-campaignType.dto.ts b/apps/api/src/domain/generated/campaignType/dto/connect-campaignType.dto.ts index fa5c9ecf2..7eb88de61 100644 --- a/apps/api/src/domain/generated/campaignType/dto/connect-campaignType.dto.ts +++ b/apps/api/src/domain/generated/campaignType/dto/connect-campaignType.dto.ts @@ -1,6 +1,4 @@ - - export class ConnectCampaignTypeDto { - id?: string; -slug?: string; - } - \ No newline at end of file +export class ConnectCampaignTypeDto { + id?: string + slug?: string +} diff --git a/apps/api/src/domain/generated/campaignType/dto/create-campaignType.dto.ts b/apps/api/src/domain/generated/campaignType/dto/create-campaignType.dto.ts index 588de0cad..3e3c3a04c 100644 --- a/apps/api/src/domain/generated/campaignType/dto/create-campaignType.dto.ts +++ b/apps/api/src/domain/generated/campaignType/dto/create-campaignType.dto.ts @@ -1,11 +1,5 @@ - - - - - - export class CreateCampaignTypeDto { - name: string; -slug: string; -description?: string; + name: string + slug: string + description?: string } diff --git a/apps/api/src/domain/generated/campaignType/dto/index.ts b/apps/api/src/domain/generated/campaignType/dto/index.ts index 6ce9a2e56..a3d17f0f1 100644 --- a/apps/api/src/domain/generated/campaignType/dto/index.ts +++ b/apps/api/src/domain/generated/campaignType/dto/index.ts @@ -1,4 +1,3 @@ - -export * from './connect-campaignType.dto'; -export * from './create-campaignType.dto'; -export * from './update-campaignType.dto'; \ No newline at end of file +export * from './connect-campaignType.dto' +export * from './create-campaignType.dto' +export * from './update-campaignType.dto' diff --git a/apps/api/src/domain/generated/campaignType/dto/update-campaignType.dto.ts b/apps/api/src/domain/generated/campaignType/dto/update-campaignType.dto.ts index 4ccebd4cd..42116f6ff 100644 --- a/apps/api/src/domain/generated/campaignType/dto/update-campaignType.dto.ts +++ b/apps/api/src/domain/generated/campaignType/dto/update-campaignType.dto.ts @@ -1,11 +1,5 @@ - - - - - - export class UpdateCampaignTypeDto { - name?: string; -slug?: string; -description?: string; + name?: string + slug?: string + description?: string } diff --git a/apps/api/src/domain/generated/campaignType/entities/campaignType.entity.ts b/apps/api/src/domain/generated/campaignType/entities/campaignType.entity.ts index d9ff4a1af..eedb6679e 100644 --- a/apps/api/src/domain/generated/campaignType/entities/campaignType.entity.ts +++ b/apps/api/src/domain/generated/campaignType/entities/campaignType.entity.ts @@ -1,16 +1,14 @@ - -import {CampaignTypeCategory} from '@prisma/client' -import {Campaign} from '../../campaign/entities/campaign.entity' - +import { CampaignTypeCategory } from '@prisma/client' +import { Campaign } from '../../campaign/entities/campaign.entity' export class CampaignType { - id: string ; -name: string ; -slug: string ; -description: string | null; -parentId: string | null; -category: CampaignTypeCategory ; -parent?: CampaignType | null; -children?: CampaignType[] ; -campaigns?: Campaign[] ; + id: string + name: string + slug: string + description: string | null + parentId: string | null + category: CampaignTypeCategory + parent?: CampaignType | null + children?: CampaignType[] + campaigns?: Campaign[] } diff --git a/apps/api/src/domain/generated/campaignType/entities/index.ts b/apps/api/src/domain/generated/campaignType/entities/index.ts index fd1c4c73c..69de9cc0f 100644 --- a/apps/api/src/domain/generated/campaignType/entities/index.ts +++ b/apps/api/src/domain/generated/campaignType/entities/index.ts @@ -1,2 +1 @@ - -export * from './campaignType.entity'; \ No newline at end of file +export * from './campaignType.entity' diff --git a/apps/api/src/domain/generated/city/dto/connect-city.dto.ts b/apps/api/src/domain/generated/city/dto/connect-city.dto.ts index 2c8ae2e64..f02778b3e 100644 --- a/apps/api/src/domain/generated/city/dto/connect-city.dto.ts +++ b/apps/api/src/domain/generated/city/dto/connect-city.dto.ts @@ -1,6 +1,4 @@ - - export class ConnectCityDto { - id?: string; -postalCode?: string; - } - \ No newline at end of file +export class ConnectCityDto { + id?: string + postalCode?: string +} diff --git a/apps/api/src/domain/generated/city/dto/create-city.dto.ts b/apps/api/src/domain/generated/city/dto/create-city.dto.ts index 68b2a51f6..56f37e88c 100644 --- a/apps/api/src/domain/generated/city/dto/create-city.dto.ts +++ b/apps/api/src/domain/generated/city/dto/create-city.dto.ts @@ -1,10 +1,4 @@ - - - - - - export class CreateCityDto { - name: string; -postalCode: string; + name: string + postalCode: string } diff --git a/apps/api/src/domain/generated/city/dto/index.ts b/apps/api/src/domain/generated/city/dto/index.ts index 1b6315c72..b823bfd61 100644 --- a/apps/api/src/domain/generated/city/dto/index.ts +++ b/apps/api/src/domain/generated/city/dto/index.ts @@ -1,4 +1,3 @@ - -export * from './connect-city.dto'; -export * from './create-city.dto'; -export * from './update-city.dto'; \ No newline at end of file +export * from './connect-city.dto' +export * from './create-city.dto' +export * from './update-city.dto' diff --git a/apps/api/src/domain/generated/city/dto/update-city.dto.ts b/apps/api/src/domain/generated/city/dto/update-city.dto.ts index fc6630b75..0099660af 100644 --- a/apps/api/src/domain/generated/city/dto/update-city.dto.ts +++ b/apps/api/src/domain/generated/city/dto/update-city.dto.ts @@ -1,10 +1,4 @@ - - - - - - export class UpdateCityDto { - name?: string; -postalCode?: string; + name?: string + postalCode?: string } diff --git a/apps/api/src/domain/generated/city/entities/city.entity.ts b/apps/api/src/domain/generated/city/entities/city.entity.ts index 004ec33f2..99ef221ca 100644 --- a/apps/api/src/domain/generated/city/entities/city.entity.ts +++ b/apps/api/src/domain/generated/city/entities/city.entity.ts @@ -1,13 +1,11 @@ - -import {Country} from '../../country/entities/country.entity' -import {Beneficiary} from '../../beneficiary/entities/beneficiary.entity' - +import { Country } from '../../country/entities/country.entity' +import { Beneficiary } from '../../beneficiary/entities/beneficiary.entity' export class City { - id: string ; -name: string ; -postalCode: string ; -countryId: string ; -countryCode?: Country ; -beneficiaries?: Beneficiary[] ; + id: string + name: string + postalCode: string + countryId: string + countryCode?: Country + beneficiaries?: Beneficiary[] } diff --git a/apps/api/src/domain/generated/city/entities/index.ts b/apps/api/src/domain/generated/city/entities/index.ts index 9e9cd504e..ddeee0cf1 100644 --- a/apps/api/src/domain/generated/city/entities/index.ts +++ b/apps/api/src/domain/generated/city/entities/index.ts @@ -1,2 +1 @@ - -export * from './city.entity'; \ No newline at end of file +export * from './city.entity' diff --git a/apps/api/src/domain/generated/company/dto/connect-company.dto.ts b/apps/api/src/domain/generated/company/dto/connect-company.dto.ts index f294baa89..6a9934cb6 100644 --- a/apps/api/src/domain/generated/company/dto/connect-company.dto.ts +++ b/apps/api/src/domain/generated/company/dto/connect-company.dto.ts @@ -1,6 +1,4 @@ - - export class ConnectCompanyDto { - id?: string; -companyNumber?: string; - } - \ No newline at end of file +export class ConnectCompanyDto { + id?: string + companyNumber?: string +} diff --git a/apps/api/src/domain/generated/company/dto/create-company.dto.ts b/apps/api/src/domain/generated/company/dto/create-company.dto.ts index 112541f83..b07f75937 100644 --- a/apps/api/src/domain/generated/company/dto/create-company.dto.ts +++ b/apps/api/src/domain/generated/company/dto/create-company.dto.ts @@ -1,13 +1,7 @@ - - - - - - export class CreateCompanyDto { - companyName: string; -companyNumber: string; -legalPersonName?: string; -countryCode?: string; -cityId?: string; + companyName: string + companyNumber: string + legalPersonName?: string + countryCode?: string + cityId?: string } diff --git a/apps/api/src/domain/generated/company/dto/index.ts b/apps/api/src/domain/generated/company/dto/index.ts index 5532e5f94..3ad34072c 100644 --- a/apps/api/src/domain/generated/company/dto/index.ts +++ b/apps/api/src/domain/generated/company/dto/index.ts @@ -1,4 +1,3 @@ - -export * from './connect-company.dto'; -export * from './create-company.dto'; -export * from './update-company.dto'; \ No newline at end of file +export * from './connect-company.dto' +export * from './create-company.dto' +export * from './update-company.dto' diff --git a/apps/api/src/domain/generated/company/dto/update-company.dto.ts b/apps/api/src/domain/generated/company/dto/update-company.dto.ts index b80c9f08f..d392ddae9 100644 --- a/apps/api/src/domain/generated/company/dto/update-company.dto.ts +++ b/apps/api/src/domain/generated/company/dto/update-company.dto.ts @@ -1,13 +1,7 @@ - - - - - - export class UpdateCompanyDto { - companyName?: string; -companyNumber?: string; -legalPersonName?: string; -countryCode?: string; -cityId?: string; + companyName?: string + companyNumber?: string + legalPersonName?: string + countryCode?: string + cityId?: string } diff --git a/apps/api/src/domain/generated/company/entities/company.entity.ts b/apps/api/src/domain/generated/company/entities/company.entity.ts index 0b7923743..d51860fdc 100644 --- a/apps/api/src/domain/generated/company/entities/company.entity.ts +++ b/apps/api/src/domain/generated/company/entities/company.entity.ts @@ -1,17 +1,15 @@ - -import {Beneficiary} from '../../beneficiary/entities/beneficiary.entity' -import {Campaign} from '../../campaign/entities/campaign.entity' - +import { Beneficiary } from '../../beneficiary/entities/beneficiary.entity' +import { Campaign } from '../../campaign/entities/campaign.entity' export class Company { - id: string ; -companyName: string ; -companyNumber: string ; -legalPersonName: string | null; -countryCode: string | null; -cityId: string | null; -createdAt: Date ; -updatedAt: Date | null; -beneficiaries?: Beneficiary[] ; -Campaign?: Campaign[] ; + id: string + companyName: string + companyNumber: string + legalPersonName: string | null + countryCode: string | null + cityId: string | null + createdAt: Date + updatedAt: Date | null + beneficiaries?: Beneficiary[] + Campaign?: Campaign[] } diff --git a/apps/api/src/domain/generated/company/entities/index.ts b/apps/api/src/domain/generated/company/entities/index.ts index 7635c0271..9c8b84bf6 100644 --- a/apps/api/src/domain/generated/company/entities/index.ts +++ b/apps/api/src/domain/generated/company/entities/index.ts @@ -1,2 +1 @@ - -export * from './company.entity'; \ No newline at end of file +export * from './company.entity' diff --git a/apps/api/src/domain/generated/coordinator/dto/connect-coordinator.dto.ts b/apps/api/src/domain/generated/coordinator/dto/connect-coordinator.dto.ts index 10f4bcbf0..dd9430f4e 100644 --- a/apps/api/src/domain/generated/coordinator/dto/connect-coordinator.dto.ts +++ b/apps/api/src/domain/generated/coordinator/dto/connect-coordinator.dto.ts @@ -1,6 +1,4 @@ - - export class ConnectCoordinatorDto { - id?: string; -personId?: string; - } - \ No newline at end of file +export class ConnectCoordinatorDto { + id?: string + personId?: string +} diff --git a/apps/api/src/domain/generated/coordinator/dto/create-coordinator.dto.ts b/apps/api/src/domain/generated/coordinator/dto/create-coordinator.dto.ts index f45f8e364..bfb4f7a4f 100644 --- a/apps/api/src/domain/generated/coordinator/dto/create-coordinator.dto.ts +++ b/apps/api/src/domain/generated/coordinator/dto/create-coordinator.dto.ts @@ -1,9 +1 @@ - - - - - - -export class CreateCoordinatorDto { - -} +export class CreateCoordinatorDto {} diff --git a/apps/api/src/domain/generated/coordinator/dto/index.ts b/apps/api/src/domain/generated/coordinator/dto/index.ts index 912f2a219..e52a4a99f 100644 --- a/apps/api/src/domain/generated/coordinator/dto/index.ts +++ b/apps/api/src/domain/generated/coordinator/dto/index.ts @@ -1,4 +1,3 @@ - -export * from './connect-coordinator.dto'; -export * from './create-coordinator.dto'; -export * from './update-coordinator.dto'; \ No newline at end of file +export * from './connect-coordinator.dto' +export * from './create-coordinator.dto' +export * from './update-coordinator.dto' diff --git a/apps/api/src/domain/generated/coordinator/dto/update-coordinator.dto.ts b/apps/api/src/domain/generated/coordinator/dto/update-coordinator.dto.ts index 87b6a5c64..6824eaff4 100644 --- a/apps/api/src/domain/generated/coordinator/dto/update-coordinator.dto.ts +++ b/apps/api/src/domain/generated/coordinator/dto/update-coordinator.dto.ts @@ -1,9 +1 @@ - - - - - - -export class UpdateCoordinatorDto { - -} +export class UpdateCoordinatorDto {} diff --git a/apps/api/src/domain/generated/coordinator/entities/coordinator.entity.ts b/apps/api/src/domain/generated/coordinator/entities/coordinator.entity.ts index deeb9fa2c..1cc86fdc1 100644 --- a/apps/api/src/domain/generated/coordinator/entities/coordinator.entity.ts +++ b/apps/api/src/domain/generated/coordinator/entities/coordinator.entity.ts @@ -1,15 +1,13 @@ - -import {Person} from '../../person/entities/person.entity' -import {Beneficiary} from '../../beneficiary/entities/beneficiary.entity' -import {Campaign} from '../../campaign/entities/campaign.entity' - +import { Person } from '../../person/entities/person.entity' +import { Beneficiary } from '../../beneficiary/entities/beneficiary.entity' +import { Campaign } from '../../campaign/entities/campaign.entity' export class Coordinator { - id: string ; -personId: string ; -createdAt: Date ; -updatedAt: Date | null; -person?: Person ; -beneficiaries?: Beneficiary[] ; -campaigns?: Campaign[] ; + id: string + personId: string + createdAt: Date + updatedAt: Date | null + person?: Person + beneficiaries?: Beneficiary[] + campaigns?: Campaign[] } diff --git a/apps/api/src/domain/generated/coordinator/entities/index.ts b/apps/api/src/domain/generated/coordinator/entities/index.ts index 49b128a1a..c0710e67a 100644 --- a/apps/api/src/domain/generated/coordinator/entities/index.ts +++ b/apps/api/src/domain/generated/coordinator/entities/index.ts @@ -1,2 +1 @@ - -export * from './coordinator.entity'; \ No newline at end of file +export * from './coordinator.entity' diff --git a/apps/api/src/domain/generated/country/dto/connect-country.dto.ts b/apps/api/src/domain/generated/country/dto/connect-country.dto.ts index 7fdcf366f..7f793b9f6 100644 --- a/apps/api/src/domain/generated/country/dto/connect-country.dto.ts +++ b/apps/api/src/domain/generated/country/dto/connect-country.dto.ts @@ -1,6 +1,4 @@ - - export class ConnectCountryDto { - id?: string; -countryCode?: string; - } - \ No newline at end of file +export class ConnectCountryDto { + id?: string + countryCode?: string +} diff --git a/apps/api/src/domain/generated/country/dto/create-country.dto.ts b/apps/api/src/domain/generated/country/dto/create-country.dto.ts index b16cd9dbc..0e823c597 100644 --- a/apps/api/src/domain/generated/country/dto/create-country.dto.ts +++ b/apps/api/src/domain/generated/country/dto/create-country.dto.ts @@ -1,10 +1,4 @@ - - - - - - export class CreateCountryDto { - name: string; -countryCode: string; + name: string + countryCode: string } diff --git a/apps/api/src/domain/generated/country/dto/index.ts b/apps/api/src/domain/generated/country/dto/index.ts index 22d45c644..9284b8275 100644 --- a/apps/api/src/domain/generated/country/dto/index.ts +++ b/apps/api/src/domain/generated/country/dto/index.ts @@ -1,4 +1,3 @@ - -export * from './connect-country.dto'; -export * from './create-country.dto'; -export * from './update-country.dto'; \ No newline at end of file +export * from './connect-country.dto' +export * from './create-country.dto' +export * from './update-country.dto' diff --git a/apps/api/src/domain/generated/country/dto/update-country.dto.ts b/apps/api/src/domain/generated/country/dto/update-country.dto.ts index f502eb44b..b3406fd6c 100644 --- a/apps/api/src/domain/generated/country/dto/update-country.dto.ts +++ b/apps/api/src/domain/generated/country/dto/update-country.dto.ts @@ -1,10 +1,4 @@ - - - - - - export class UpdateCountryDto { - name?: string; -countryCode?: string; + name?: string + countryCode?: string } diff --git a/apps/api/src/domain/generated/country/entities/country.entity.ts b/apps/api/src/domain/generated/country/entities/country.entity.ts index b71be4438..4b45fd1fa 100644 --- a/apps/api/src/domain/generated/country/entities/country.entity.ts +++ b/apps/api/src/domain/generated/country/entities/country.entity.ts @@ -1,10 +1,8 @@ - -import {City} from '../../city/entities/city.entity' - +import { City } from '../../city/entities/city.entity' export class Country { - id: string ; -name: string ; -countryCode: string ; -cities?: City[] ; + id: string + name: string + countryCode: string + cities?: City[] } diff --git a/apps/api/src/domain/generated/country/entities/index.ts b/apps/api/src/domain/generated/country/entities/index.ts index d160a811d..1e3b72c86 100644 --- a/apps/api/src/domain/generated/country/entities/index.ts +++ b/apps/api/src/domain/generated/country/entities/index.ts @@ -1,2 +1 @@ - -export * from './country.entity'; \ No newline at end of file +export * from './country.entity' diff --git a/apps/api/src/domain/generated/document/dto/connect-document.dto.ts b/apps/api/src/domain/generated/document/dto/connect-document.dto.ts index a03a5c496..3a84611a9 100644 --- a/apps/api/src/domain/generated/document/dto/connect-document.dto.ts +++ b/apps/api/src/domain/generated/document/dto/connect-document.dto.ts @@ -1,5 +1,3 @@ - - export class ConnectDocumentDto { - id: string; - } - \ No newline at end of file +export class ConnectDocumentDto { + id: string +} diff --git a/apps/api/src/domain/generated/document/dto/create-document.dto.ts b/apps/api/src/domain/generated/document/dto/create-document.dto.ts index 4e9aadf14..3a627f38c 100644 --- a/apps/api/src/domain/generated/document/dto/create-document.dto.ts +++ b/apps/api/src/domain/generated/document/dto/create-document.dto.ts @@ -1,16 +1,12 @@ - -import {DocumentType} from '@prisma/client' -import {ApiProperty} from '@nestjs/swagger' - - - +import { DocumentType } from '@prisma/client' +import { ApiProperty } from '@nestjs/swagger' export class CreateDocumentDto { - @ApiProperty({ enum: DocumentType}) -type: DocumentType; -name: string; -filename: string; -filetype?: string; -description?: string; -sourceUrl: string; + @ApiProperty({ enum: DocumentType }) + type: DocumentType + name: string + filename: string + filetype?: string + description?: string + sourceUrl: string } diff --git a/apps/api/src/domain/generated/document/dto/index.ts b/apps/api/src/domain/generated/document/dto/index.ts index 23dc27179..5bc2bdf4a 100644 --- a/apps/api/src/domain/generated/document/dto/index.ts +++ b/apps/api/src/domain/generated/document/dto/index.ts @@ -1,4 +1,3 @@ - -export * from './connect-document.dto'; -export * from './create-document.dto'; -export * from './update-document.dto'; \ No newline at end of file +export * from './connect-document.dto' +export * from './create-document.dto' +export * from './update-document.dto' diff --git a/apps/api/src/domain/generated/document/dto/update-document.dto.ts b/apps/api/src/domain/generated/document/dto/update-document.dto.ts index 5af3aa1b0..71d92c7ea 100644 --- a/apps/api/src/domain/generated/document/dto/update-document.dto.ts +++ b/apps/api/src/domain/generated/document/dto/update-document.dto.ts @@ -1,16 +1,12 @@ - -import {DocumentType} from '@prisma/client' -import {ApiProperty} from '@nestjs/swagger' - - - +import { DocumentType } from '@prisma/client' +import { ApiProperty } from '@nestjs/swagger' export class UpdateDocumentDto { - @ApiProperty({ enum: DocumentType}) -type?: DocumentType; -name?: string; -filename?: string; -filetype?: string; -description?: string; -sourceUrl?: string; + @ApiProperty({ enum: DocumentType }) + type?: DocumentType + name?: string + filename?: string + filetype?: string + description?: string + sourceUrl?: string } diff --git a/apps/api/src/domain/generated/document/entities/document.entity.ts b/apps/api/src/domain/generated/document/entities/document.entity.ts index 7dc06e018..460b25233 100644 --- a/apps/api/src/domain/generated/document/entities/document.entity.ts +++ b/apps/api/src/domain/generated/document/entities/document.entity.ts @@ -1,18 +1,16 @@ - -import {DocumentType} from '@prisma/client' -import {Person} from '../../person/entities/person.entity' -import {Expense} from '../../expense/entities/expense.entity' - +import { DocumentType } from '@prisma/client' +import { Person } from '../../person/entities/person.entity' +import { Expense } from '../../expense/entities/expense.entity' export class Document { - id: string ; -type: DocumentType ; -name: string ; -filename: string ; -filetype: string | null; -description: string | null; -sourceUrl: string ; -ownerId: string ; -owner?: Person ; -expenses?: Expense[] ; + id: string + type: DocumentType + name: string + filename: string + filetype: string | null + description: string | null + sourceUrl: string + ownerId: string + owner?: Person + expenses?: Expense[] } diff --git a/apps/api/src/domain/generated/document/entities/index.ts b/apps/api/src/domain/generated/document/entities/index.ts index e56503c0c..5170971ae 100644 --- a/apps/api/src/domain/generated/document/entities/index.ts +++ b/apps/api/src/domain/generated/document/entities/index.ts @@ -1,2 +1 @@ - -export * from './document.entity'; \ No newline at end of file +export * from './document.entity' diff --git a/apps/api/src/domain/generated/donation/dto/connect-donation.dto.ts b/apps/api/src/domain/generated/donation/dto/connect-donation.dto.ts index 36fcb2358..a5015856d 100644 --- a/apps/api/src/domain/generated/donation/dto/connect-donation.dto.ts +++ b/apps/api/src/domain/generated/donation/dto/connect-donation.dto.ts @@ -1,6 +1,4 @@ - - export class ConnectDonationDto { - id?: string; -extPaymentIntentId?: string; - } - \ No newline at end of file +export class ConnectDonationDto { + id?: string + extPaymentIntentId?: string +} diff --git a/apps/api/src/domain/generated/donation/dto/create-donation.dto.ts b/apps/api/src/domain/generated/donation/dto/create-donation.dto.ts index 3d93f8af7..e447208dc 100644 --- a/apps/api/src/domain/generated/donation/dto/create-donation.dto.ts +++ b/apps/api/src/domain/generated/donation/dto/create-donation.dto.ts @@ -1,16 +1,12 @@ - -import {DonationType} from '@prisma/client' -import {ApiProperty} from '@nestjs/swagger' - - - +import { DonationType } from '@prisma/client' +import { ApiProperty } from '@nestjs/swagger' export class CreateDonationDto { - @ApiProperty({ enum: DonationType}) -type: DonationType; -extCustomerId: string; -extPaymentIntentId: string; -extPaymentMethodId: string; -billingEmail?: string; -billingName?: string; + @ApiProperty({ enum: DonationType }) + type: DonationType + extCustomerId: string + extPaymentIntentId: string + extPaymentMethodId: string + billingEmail?: string + billingName?: string } diff --git a/apps/api/src/domain/generated/donation/dto/index.ts b/apps/api/src/domain/generated/donation/dto/index.ts index b0e424478..4c9722733 100644 --- a/apps/api/src/domain/generated/donation/dto/index.ts +++ b/apps/api/src/domain/generated/donation/dto/index.ts @@ -1,4 +1,3 @@ - -export * from './connect-donation.dto'; -export * from './create-donation.dto'; -export * from './update-donation.dto'; \ No newline at end of file +export * from './connect-donation.dto' +export * from './create-donation.dto' +export * from './update-donation.dto' diff --git a/apps/api/src/domain/generated/donation/dto/update-donation.dto.ts b/apps/api/src/domain/generated/donation/dto/update-donation.dto.ts index 7caea543d..c88603166 100644 --- a/apps/api/src/domain/generated/donation/dto/update-donation.dto.ts +++ b/apps/api/src/domain/generated/donation/dto/update-donation.dto.ts @@ -1,16 +1,12 @@ - -import {DonationType} from '@prisma/client' -import {ApiProperty} from '@nestjs/swagger' - - - +import { DonationType } from '@prisma/client' +import { ApiProperty } from '@nestjs/swagger' export class UpdateDonationDto { - @ApiProperty({ enum: DonationType}) -type?: DonationType; -extCustomerId?: string; -extPaymentIntentId?: string; -extPaymentMethodId?: string; -billingEmail?: string; -billingName?: string; + @ApiProperty({ enum: DonationType }) + type?: DonationType + extCustomerId?: string + extPaymentIntentId?: string + extPaymentMethodId?: string + billingEmail?: string + billingName?: string } diff --git a/apps/api/src/domain/generated/donation/entities/donation.entity.ts b/apps/api/src/domain/generated/donation/entities/donation.entity.ts index df81f94ad..c7db03740 100644 --- a/apps/api/src/domain/generated/donation/entities/donation.entity.ts +++ b/apps/api/src/domain/generated/donation/entities/donation.entity.ts @@ -1,26 +1,24 @@ - -import {DonationType,DonationStatus,PaymentProvider,Currency} from '@prisma/client' -import {Person} from '../../person/entities/person.entity' -import {Vault} from '../../vault/entities/vault.entity' - +import { DonationType, DonationStatus, PaymentProvider, Currency } from '@prisma/client' +import { Person } from '../../person/entities/person.entity' +import { Vault } from '../../vault/entities/vault.entity' export class Donation { - id: string ; -type: DonationType ; -status: DonationStatus ; -provider: PaymentProvider ; -targetVaultId: string ; -extCustomerId: string ; -extPaymentIntentId: string ; -extPaymentMethodId: string ; -createdAt: Date ; -updatedAt: Date | null; -amount: number ; -currency: Currency ; -personId: string | null; -billingEmail: string | null; -billingName: string | null; -chargedAmount: number ; -person?: Person | null; -targetVault?: Vault ; + id: string + type: DonationType + status: DonationStatus + provider: PaymentProvider + targetVaultId: string + extCustomerId: string + extPaymentIntentId: string + extPaymentMethodId: string + createdAt: Date + updatedAt: Date | null + amount: number + currency: Currency + personId: string | null + billingEmail: string | null + billingName: string | null + chargedAmount: number + person?: Person | null + targetVault?: Vault } diff --git a/apps/api/src/domain/generated/donation/entities/index.ts b/apps/api/src/domain/generated/donation/entities/index.ts index 19345a833..f1cd626f7 100644 --- a/apps/api/src/domain/generated/donation/entities/index.ts +++ b/apps/api/src/domain/generated/donation/entities/index.ts @@ -1,2 +1 @@ - -export * from './donation.entity'; \ No newline at end of file +export * from './donation.entity' diff --git a/apps/api/src/domain/generated/donationWish/dto/connect-donationWish.dto.ts b/apps/api/src/domain/generated/donationWish/dto/connect-donationWish.dto.ts index 0a22fdacb..1db39f218 100644 --- a/apps/api/src/domain/generated/donationWish/dto/connect-donationWish.dto.ts +++ b/apps/api/src/domain/generated/donationWish/dto/connect-donationWish.dto.ts @@ -1,6 +1,4 @@ - - export class ConnectDonationWishDto { - id?: string; -donationId?: string; - } - \ No newline at end of file +export class ConnectDonationWishDto { + id?: string + donationId?: string +} diff --git a/apps/api/src/domain/generated/donationWish/dto/create-donationWish.dto.ts b/apps/api/src/domain/generated/donationWish/dto/create-donationWish.dto.ts index cdbe7770b..819815ff0 100644 --- a/apps/api/src/domain/generated/donationWish/dto/create-donationWish.dto.ts +++ b/apps/api/src/domain/generated/donationWish/dto/create-donationWish.dto.ts @@ -1,10 +1,4 @@ - - - - - - export class CreateDonationWishDto { - message: string; -donationId?: string; + message: string + donationId?: string } diff --git a/apps/api/src/domain/generated/donationWish/dto/index.ts b/apps/api/src/domain/generated/donationWish/dto/index.ts index 4f6533391..5e71d99de 100644 --- a/apps/api/src/domain/generated/donationWish/dto/index.ts +++ b/apps/api/src/domain/generated/donationWish/dto/index.ts @@ -1,4 +1,3 @@ - -export * from './connect-donationWish.dto'; -export * from './create-donationWish.dto'; -export * from './update-donationWish.dto'; \ No newline at end of file +export * from './connect-donationWish.dto' +export * from './create-donationWish.dto' +export * from './update-donationWish.dto' diff --git a/apps/api/src/domain/generated/donationWish/dto/update-donationWish.dto.ts b/apps/api/src/domain/generated/donationWish/dto/update-donationWish.dto.ts index 9485696c1..d1c5fb3c8 100644 --- a/apps/api/src/domain/generated/donationWish/dto/update-donationWish.dto.ts +++ b/apps/api/src/domain/generated/donationWish/dto/update-donationWish.dto.ts @@ -1,10 +1,4 @@ - - - - - - export class UpdateDonationWishDto { - message?: string; -donationId?: string; + message?: string + donationId?: string } diff --git a/apps/api/src/domain/generated/donationWish/entities/donationWish.entity.ts b/apps/api/src/domain/generated/donationWish/entities/donationWish.entity.ts index f460e527c..692483d53 100644 --- a/apps/api/src/domain/generated/donationWish/entities/donationWish.entity.ts +++ b/apps/api/src/domain/generated/donationWish/entities/donationWish.entity.ts @@ -1,16 +1,14 @@ - -import {Campaign} from '../../campaign/entities/campaign.entity' -import {Person} from '../../person/entities/person.entity' - +import { Campaign } from '../../campaign/entities/campaign.entity' +import { Person } from '../../person/entities/person.entity' export class DonationWish { - id: string ; -message: string ; -campaignId: string ; -personId: string | null; -donationId: string | null; -createdAt: Date ; -updatedAt: Date | null; -campaign?: Campaign ; -person?: Person | null; + id: string + message: string + campaignId: string + personId: string | null + donationId: string | null + createdAt: Date + updatedAt: Date | null + campaign?: Campaign + person?: Person | null } diff --git a/apps/api/src/domain/generated/donationWish/entities/index.ts b/apps/api/src/domain/generated/donationWish/entities/index.ts index fb2d563dd..3603a8ab3 100644 --- a/apps/api/src/domain/generated/donationWish/entities/index.ts +++ b/apps/api/src/domain/generated/donationWish/entities/index.ts @@ -1,2 +1 @@ - -export * from './donationWish.entity'; \ No newline at end of file +export * from './donationWish.entity' diff --git a/apps/api/src/domain/generated/expense/dto/connect-expense.dto.ts b/apps/api/src/domain/generated/expense/dto/connect-expense.dto.ts index 765441b8b..232d459d5 100644 --- a/apps/api/src/domain/generated/expense/dto/connect-expense.dto.ts +++ b/apps/api/src/domain/generated/expense/dto/connect-expense.dto.ts @@ -1,5 +1,3 @@ - - export class ConnectExpenseDto { - id: string; - } - \ No newline at end of file +export class ConnectExpenseDto { + id: string +} diff --git a/apps/api/src/domain/generated/expense/dto/create-expense.dto.ts b/apps/api/src/domain/generated/expense/dto/create-expense.dto.ts index 44a9d9fbd..f5dbe6346 100644 --- a/apps/api/src/domain/generated/expense/dto/create-expense.dto.ts +++ b/apps/api/src/domain/generated/expense/dto/create-expense.dto.ts @@ -1,14 +1,10 @@ - -import {ExpenseType,ExpenseStatus} from '@prisma/client' -import {ApiProperty} from '@nestjs/swagger' - - - +import { ExpenseType, ExpenseStatus } from '@prisma/client' +import { ApiProperty } from '@nestjs/swagger' export class CreateExpenseDto { - @ApiProperty({ enum: ExpenseType}) -type: ExpenseType; -description?: string; -@ApiProperty({ enum: ExpenseStatus}) -status: ExpenseStatus; + @ApiProperty({ enum: ExpenseType }) + type: ExpenseType + description?: string + @ApiProperty({ enum: ExpenseStatus }) + status: ExpenseStatus } diff --git a/apps/api/src/domain/generated/expense/dto/index.ts b/apps/api/src/domain/generated/expense/dto/index.ts index 6271ca029..a83042912 100644 --- a/apps/api/src/domain/generated/expense/dto/index.ts +++ b/apps/api/src/domain/generated/expense/dto/index.ts @@ -1,4 +1,3 @@ - -export * from './connect-expense.dto'; -export * from './create-expense.dto'; -export * from './update-expense.dto'; \ No newline at end of file +export * from './connect-expense.dto' +export * from './create-expense.dto' +export * from './update-expense.dto' diff --git a/apps/api/src/domain/generated/expense/dto/update-expense.dto.ts b/apps/api/src/domain/generated/expense/dto/update-expense.dto.ts index 48031311e..0cb9cfdcb 100644 --- a/apps/api/src/domain/generated/expense/dto/update-expense.dto.ts +++ b/apps/api/src/domain/generated/expense/dto/update-expense.dto.ts @@ -1,14 +1,10 @@ - -import {ExpenseType,ExpenseStatus} from '@prisma/client' -import {ApiProperty} from '@nestjs/swagger' - - - +import { ExpenseType, ExpenseStatus } from '@prisma/client' +import { ApiProperty } from '@nestjs/swagger' export class UpdateExpenseDto { - @ApiProperty({ enum: ExpenseType}) -type?: ExpenseType; -description?: string; -@ApiProperty({ enum: ExpenseStatus}) -status?: ExpenseStatus; + @ApiProperty({ enum: ExpenseType }) + type?: ExpenseType + description?: string + @ApiProperty({ enum: ExpenseStatus }) + status?: ExpenseStatus } diff --git a/apps/api/src/domain/generated/expense/entities/expense.entity.ts b/apps/api/src/domain/generated/expense/entities/expense.entity.ts index 25aec2e86..8a9cc71f2 100644 --- a/apps/api/src/domain/generated/expense/entities/expense.entity.ts +++ b/apps/api/src/domain/generated/expense/entities/expense.entity.ts @@ -1,22 +1,20 @@ - -import {ExpenseType,Currency,ExpenseStatus} from '@prisma/client' -import {Person} from '../../person/entities/person.entity' -import {Document} from '../../document/entities/document.entity' -import {Vault} from '../../vault/entities/vault.entity' - +import { ExpenseType, Currency, ExpenseStatus } from '@prisma/client' +import { Person } from '../../person/entities/person.entity' +import { Document } from '../../document/entities/document.entity' +import { Vault } from '../../vault/entities/vault.entity' export class Expense { - id: string ; -type: ExpenseType ; -description: string | null; -vaultId: string ; -documentId: string | null; -approvedById: string | null; -amount: number ; -currency: Currency ; -status: ExpenseStatus ; -deleted: boolean ; -approvedBy?: Person | null; -document?: Document | null; -vault?: Vault ; + id: string + type: ExpenseType + description: string | null + vaultId: string + documentId: string | null + approvedById: string | null + amount: number + currency: Currency + status: ExpenseStatus + deleted: boolean + approvedBy?: Person | null + document?: Document | null + vault?: Vault } diff --git a/apps/api/src/domain/generated/expense/entities/index.ts b/apps/api/src/domain/generated/expense/entities/index.ts index 3ff675058..92a38afcb 100644 --- a/apps/api/src/domain/generated/expense/entities/index.ts +++ b/apps/api/src/domain/generated/expense/entities/index.ts @@ -1,2 +1 @@ - -export * from './expense.entity'; \ No newline at end of file +export * from './expense.entity' diff --git a/apps/api/src/domain/generated/infoRequest/dto/connect-infoRequest.dto.ts b/apps/api/src/domain/generated/infoRequest/dto/connect-infoRequest.dto.ts index b0f67d810..6f64361bf 100644 --- a/apps/api/src/domain/generated/infoRequest/dto/connect-infoRequest.dto.ts +++ b/apps/api/src/domain/generated/infoRequest/dto/connect-infoRequest.dto.ts @@ -1,5 +1,3 @@ - - export class ConnectInfoRequestDto { - id: string; - } - \ No newline at end of file +export class ConnectInfoRequestDto { + id: string +} diff --git a/apps/api/src/domain/generated/infoRequest/dto/create-infoRequest.dto.ts b/apps/api/src/domain/generated/infoRequest/dto/create-infoRequest.dto.ts index 36ea6f3ca..0fb8b87ae 100644 --- a/apps/api/src/domain/generated/infoRequest/dto/create-infoRequest.dto.ts +++ b/apps/api/src/domain/generated/infoRequest/dto/create-infoRequest.dto.ts @@ -1,10 +1,4 @@ - - - - - - export class CreateInfoRequestDto { - message: string; -deletedAt?: Date; + message: string + deletedAt?: Date } diff --git a/apps/api/src/domain/generated/infoRequest/dto/index.ts b/apps/api/src/domain/generated/infoRequest/dto/index.ts index f51868edf..5ed53ece6 100644 --- a/apps/api/src/domain/generated/infoRequest/dto/index.ts +++ b/apps/api/src/domain/generated/infoRequest/dto/index.ts @@ -1,4 +1,3 @@ - -export * from './connect-infoRequest.dto'; -export * from './create-infoRequest.dto'; -export * from './update-infoRequest.dto'; \ No newline at end of file +export * from './connect-infoRequest.dto' +export * from './create-infoRequest.dto' +export * from './update-infoRequest.dto' diff --git a/apps/api/src/domain/generated/infoRequest/dto/update-infoRequest.dto.ts b/apps/api/src/domain/generated/infoRequest/dto/update-infoRequest.dto.ts index 3e3bafbd5..591f3cfb9 100644 --- a/apps/api/src/domain/generated/infoRequest/dto/update-infoRequest.dto.ts +++ b/apps/api/src/domain/generated/infoRequest/dto/update-infoRequest.dto.ts @@ -1,10 +1,4 @@ - - - - - - export class UpdateInfoRequestDto { - message?: string; -deletedAt?: Date; + message?: string + deletedAt?: Date } diff --git a/apps/api/src/domain/generated/infoRequest/entities/index.ts b/apps/api/src/domain/generated/infoRequest/entities/index.ts index ed02c039a..86407b245 100644 --- a/apps/api/src/domain/generated/infoRequest/entities/index.ts +++ b/apps/api/src/domain/generated/infoRequest/entities/index.ts @@ -1,2 +1 @@ - -export * from './infoRequest.entity'; \ No newline at end of file +export * from './infoRequest.entity' diff --git a/apps/api/src/domain/generated/infoRequest/entities/infoRequest.entity.ts b/apps/api/src/domain/generated/infoRequest/entities/infoRequest.entity.ts index a4bf957dd..310939146 100644 --- a/apps/api/src/domain/generated/infoRequest/entities/infoRequest.entity.ts +++ b/apps/api/src/domain/generated/infoRequest/entities/infoRequest.entity.ts @@ -1,13 +1,11 @@ - -import {Person} from '../../person/entities/person.entity' - +import { Person } from '../../person/entities/person.entity' export class InfoRequest { - id: string ; -personId: string ; -message: string ; -createdAt: Date ; -updatedAt: Date | null; -deletedAt: Date | null; -person?: Person ; + id: string + personId: string + message: string + createdAt: Date + updatedAt: Date | null + deletedAt: Date | null + person?: Person } diff --git a/apps/api/src/domain/generated/irregularity/dto/connect-irregularity.dto.ts b/apps/api/src/domain/generated/irregularity/dto/connect-irregularity.dto.ts index 6d38ef2fb..2de4c0e8b 100644 --- a/apps/api/src/domain/generated/irregularity/dto/connect-irregularity.dto.ts +++ b/apps/api/src/domain/generated/irregularity/dto/connect-irregularity.dto.ts @@ -1,5 +1,3 @@ - - export class ConnectIrregularityDto { - id: string; - } - \ No newline at end of file +export class ConnectIrregularityDto { + id: string +} diff --git a/apps/api/src/domain/generated/irregularity/dto/create-irregularity.dto.ts b/apps/api/src/domain/generated/irregularity/dto/create-irregularity.dto.ts index 3d4740615..08f2f775f 100644 --- a/apps/api/src/domain/generated/irregularity/dto/create-irregularity.dto.ts +++ b/apps/api/src/domain/generated/irregularity/dto/create-irregularity.dto.ts @@ -1,9 +1,3 @@ - - - - - - export class CreateIrregularityDto { - description: string; + description: string } diff --git a/apps/api/src/domain/generated/irregularity/dto/index.ts b/apps/api/src/domain/generated/irregularity/dto/index.ts index 4e164346b..b8b329e0e 100644 --- a/apps/api/src/domain/generated/irregularity/dto/index.ts +++ b/apps/api/src/domain/generated/irregularity/dto/index.ts @@ -1,4 +1,3 @@ - -export * from './connect-irregularity.dto'; -export * from './create-irregularity.dto'; -export * from './update-irregularity.dto'; \ No newline at end of file +export * from './connect-irregularity.dto' +export * from './create-irregularity.dto' +export * from './update-irregularity.dto' diff --git a/apps/api/src/domain/generated/irregularity/dto/update-irregularity.dto.ts b/apps/api/src/domain/generated/irregularity/dto/update-irregularity.dto.ts index 078567749..fbc3856e1 100644 --- a/apps/api/src/domain/generated/irregularity/dto/update-irregularity.dto.ts +++ b/apps/api/src/domain/generated/irregularity/dto/update-irregularity.dto.ts @@ -1,9 +1,3 @@ - - - - - - export class UpdateIrregularityDto { - description?: string; + description?: string } diff --git a/apps/api/src/domain/generated/irregularity/entities/index.ts b/apps/api/src/domain/generated/irregularity/entities/index.ts index 27e5f7ffa..0a00f6ec4 100644 --- a/apps/api/src/domain/generated/irregularity/entities/index.ts +++ b/apps/api/src/domain/generated/irregularity/entities/index.ts @@ -1,2 +1 @@ - -export * from './irregularity.entity'; \ No newline at end of file +export * from './irregularity.entity' diff --git a/apps/api/src/domain/generated/irregularity/entities/irregularity.entity.ts b/apps/api/src/domain/generated/irregularity/entities/irregularity.entity.ts index 816a28d3f..f08e89a79 100644 --- a/apps/api/src/domain/generated/irregularity/entities/irregularity.entity.ts +++ b/apps/api/src/domain/generated/irregularity/entities/irregularity.entity.ts @@ -1,21 +1,19 @@ - -import {IrregularityStatus,IrregularityReason,NotifierType} from '@prisma/client' -import {Campaign} from '../../campaign/entities/campaign.entity' -import {Person} from '../../person/entities/person.entity' -import {IrregularityFile} from '../../irregularityFile/entities/irregularityFile.entity' - +import { IrregularityStatus, IrregularityReason, NotifierType } from '@prisma/client' +import { Campaign } from '../../campaign/entities/campaign.entity' +import { Person } from '../../person/entities/person.entity' +import { IrregularityFile } from '../../irregularityFile/entities/irregularityFile.entity' export class Irregularity { - id: string ; -campaignId: string ; -personId: string ; -createdAt: Date ; -updatedAt: Date | null; -status: IrregularityStatus ; -reason: IrregularityReason ; -description: string ; -notifierType: NotifierType ; -campaign?: Campaign ; -person?: Person ; -files?: IrregularityFile[] ; + id: string + campaignId: string + personId: string + createdAt: Date + updatedAt: Date | null + status: IrregularityStatus + reason: IrregularityReason + description: string + notifierType: NotifierType + campaign?: Campaign + person?: Person + files?: IrregularityFile[] } diff --git a/apps/api/src/domain/generated/irregularityFile/dto/connect-irregularityFile.dto.ts b/apps/api/src/domain/generated/irregularityFile/dto/connect-irregularityFile.dto.ts index 7204df495..cb3ce82fc 100644 --- a/apps/api/src/domain/generated/irregularityFile/dto/connect-irregularityFile.dto.ts +++ b/apps/api/src/domain/generated/irregularityFile/dto/connect-irregularityFile.dto.ts @@ -1,5 +1,3 @@ - - export class ConnectIrregularityFileDto { - id: string; - } - \ No newline at end of file +export class ConnectIrregularityFileDto { + id: string +} diff --git a/apps/api/src/domain/generated/irregularityFile/dto/create-irregularityFile.dto.ts b/apps/api/src/domain/generated/irregularityFile/dto/create-irregularityFile.dto.ts index ca6f20e8e..c14303b3f 100644 --- a/apps/api/src/domain/generated/irregularityFile/dto/create-irregularityFile.dto.ts +++ b/apps/api/src/domain/generated/irregularityFile/dto/create-irregularityFile.dto.ts @@ -1,10 +1,4 @@ - - - - - - export class CreateIrregularityFileDto { - filename: string; -mimetype: string; + filename: string + mimetype: string } diff --git a/apps/api/src/domain/generated/irregularityFile/dto/index.ts b/apps/api/src/domain/generated/irregularityFile/dto/index.ts index c001d3b5b..b45d1392e 100644 --- a/apps/api/src/domain/generated/irregularityFile/dto/index.ts +++ b/apps/api/src/domain/generated/irregularityFile/dto/index.ts @@ -1,4 +1,3 @@ - -export * from './connect-irregularityFile.dto'; -export * from './create-irregularityFile.dto'; -export * from './update-irregularityFile.dto'; \ No newline at end of file +export * from './connect-irregularityFile.dto' +export * from './create-irregularityFile.dto' +export * from './update-irregularityFile.dto' diff --git a/apps/api/src/domain/generated/irregularityFile/dto/update-irregularityFile.dto.ts b/apps/api/src/domain/generated/irregularityFile/dto/update-irregularityFile.dto.ts index e43884a7d..22d768766 100644 --- a/apps/api/src/domain/generated/irregularityFile/dto/update-irregularityFile.dto.ts +++ b/apps/api/src/domain/generated/irregularityFile/dto/update-irregularityFile.dto.ts @@ -1,10 +1,4 @@ - - - - - - export class UpdateIrregularityFileDto { - filename?: string; -mimetype?: string; + filename?: string + mimetype?: string } diff --git a/apps/api/src/domain/generated/irregularityFile/entities/index.ts b/apps/api/src/domain/generated/irregularityFile/entities/index.ts index 95ce5229f..9bba8bd90 100644 --- a/apps/api/src/domain/generated/irregularityFile/entities/index.ts +++ b/apps/api/src/domain/generated/irregularityFile/entities/index.ts @@ -1,2 +1 @@ - -export * from './irregularityFile.entity'; \ No newline at end of file +export * from './irregularityFile.entity' diff --git a/apps/api/src/domain/generated/irregularityFile/entities/irregularityFile.entity.ts b/apps/api/src/domain/generated/irregularityFile/entities/irregularityFile.entity.ts index 58cc1e972..27eca21f7 100644 --- a/apps/api/src/domain/generated/irregularityFile/entities/irregularityFile.entity.ts +++ b/apps/api/src/domain/generated/irregularityFile/entities/irregularityFile.entity.ts @@ -1,14 +1,12 @@ - -import {Irregularity} from '../../irregularity/entities/irregularity.entity' -import {Person} from '../../person/entities/person.entity' - +import { Irregularity } from '../../irregularity/entities/irregularity.entity' +import { Person } from '../../person/entities/person.entity' export class IrregularityFile { - id: string ; -filename: string ; -mimetype: string ; -irregularityId: string ; -uploaderId: string ; -irregularity?: Irregularity ; -uploadedBy?: Person ; + id: string + filename: string + mimetype: string + irregularityId: string + uploaderId: string + irregularity?: Irregularity + uploadedBy?: Person } diff --git a/apps/api/src/domain/generated/organizer/dto/connect-organizer.dto.ts b/apps/api/src/domain/generated/organizer/dto/connect-organizer.dto.ts index e76265e8d..0912ea81b 100644 --- a/apps/api/src/domain/generated/organizer/dto/connect-organizer.dto.ts +++ b/apps/api/src/domain/generated/organizer/dto/connect-organizer.dto.ts @@ -1,6 +1,4 @@ - - export class ConnectOrganizerDto { - id?: string; -personId?: string; - } - \ No newline at end of file +export class ConnectOrganizerDto { + id?: string + personId?: string +} diff --git a/apps/api/src/domain/generated/organizer/dto/create-organizer.dto.ts b/apps/api/src/domain/generated/organizer/dto/create-organizer.dto.ts index c73a10796..a64aa07d6 100644 --- a/apps/api/src/domain/generated/organizer/dto/create-organizer.dto.ts +++ b/apps/api/src/domain/generated/organizer/dto/create-organizer.dto.ts @@ -1,9 +1 @@ - - - - - - -export class CreateOrganizerDto { - -} +export class CreateOrganizerDto {} diff --git a/apps/api/src/domain/generated/organizer/dto/index.ts b/apps/api/src/domain/generated/organizer/dto/index.ts index 9d5057716..488fe3a2f 100644 --- a/apps/api/src/domain/generated/organizer/dto/index.ts +++ b/apps/api/src/domain/generated/organizer/dto/index.ts @@ -1,4 +1,3 @@ - -export * from './connect-organizer.dto'; -export * from './create-organizer.dto'; -export * from './update-organizer.dto'; \ No newline at end of file +export * from './connect-organizer.dto' +export * from './create-organizer.dto' +export * from './update-organizer.dto' diff --git a/apps/api/src/domain/generated/organizer/dto/update-organizer.dto.ts b/apps/api/src/domain/generated/organizer/dto/update-organizer.dto.ts index db8e6fa3f..b334c4f2f 100644 --- a/apps/api/src/domain/generated/organizer/dto/update-organizer.dto.ts +++ b/apps/api/src/domain/generated/organizer/dto/update-organizer.dto.ts @@ -1,9 +1 @@ - - - - - - -export class UpdateOrganizerDto { - -} +export class UpdateOrganizerDto {} diff --git a/apps/api/src/domain/generated/organizer/entities/index.ts b/apps/api/src/domain/generated/organizer/entities/index.ts index 38cb2c301..4df8a09c3 100644 --- a/apps/api/src/domain/generated/organizer/entities/index.ts +++ b/apps/api/src/domain/generated/organizer/entities/index.ts @@ -1,2 +1 @@ - -export * from './organizer.entity'; \ No newline at end of file +export * from './organizer.entity' diff --git a/apps/api/src/domain/generated/organizer/entities/organizer.entity.ts b/apps/api/src/domain/generated/organizer/entities/organizer.entity.ts index c9aa03e4e..0380fd930 100644 --- a/apps/api/src/domain/generated/organizer/entities/organizer.entity.ts +++ b/apps/api/src/domain/generated/organizer/entities/organizer.entity.ts @@ -1,15 +1,13 @@ - -import {Person} from '../../person/entities/person.entity' -import {Beneficiary} from '../../beneficiary/entities/beneficiary.entity' -import {Campaign} from '../../campaign/entities/campaign.entity' - +import { Person } from '../../person/entities/person.entity' +import { Beneficiary } from '../../beneficiary/entities/beneficiary.entity' +import { Campaign } from '../../campaign/entities/campaign.entity' export class Organizer { - id: string ; -personId: string ; -createdAt: Date ; -updatedAt: Date | null; -person?: Person ; -beneficiaries?: Beneficiary[] ; -campaigns?: Campaign[] ; + id: string + personId: string + createdAt: Date + updatedAt: Date | null + person?: Person + beneficiaries?: Beneficiary[] + campaigns?: Campaign[] } diff --git a/apps/api/src/domain/generated/person/dto/connect-person.dto.ts b/apps/api/src/domain/generated/person/dto/connect-person.dto.ts index 86d1a1669..d55e53344 100644 --- a/apps/api/src/domain/generated/person/dto/connect-person.dto.ts +++ b/apps/api/src/domain/generated/person/dto/connect-person.dto.ts @@ -1,9 +1,7 @@ - - export class ConnectPersonDto { - id?: string; -email?: string; -personalNumber?: string; -keycloakId?: string; -stripeCustomerId?: string; - } - \ No newline at end of file +export class ConnectPersonDto { + id?: string + email?: string + personalNumber?: string + keycloakId?: string + stripeCustomerId?: string +} diff --git a/apps/api/src/domain/generated/person/dto/create-person.dto.ts b/apps/api/src/domain/generated/person/dto/create-person.dto.ts index cc9294bfc..12fd44d47 100644 --- a/apps/api/src/domain/generated/person/dto/create-person.dto.ts +++ b/apps/api/src/domain/generated/person/dto/create-person.dto.ts @@ -1,21 +1,15 @@ - - - - - - export class CreatePersonDto { - firstName: string; -lastName: string; -email: string; -phone?: string; -company?: string; -newsletter?: boolean; -address?: string; -birthday?: Date; -emailConfirmed?: boolean; -personalNumber?: string; -keycloakId?: string; -stripeCustomerId?: string; -picture?: string; + firstName: string + lastName: string + email: string + phone?: string + company?: string + newsletter?: boolean + address?: string + birthday?: Date + emailConfirmed?: boolean + personalNumber?: string + keycloakId?: string + stripeCustomerId?: string + picture?: string } diff --git a/apps/api/src/domain/generated/person/dto/index.ts b/apps/api/src/domain/generated/person/dto/index.ts index 7dba19b87..bfa27bbeb 100644 --- a/apps/api/src/domain/generated/person/dto/index.ts +++ b/apps/api/src/domain/generated/person/dto/index.ts @@ -1,4 +1,3 @@ - -export * from './connect-person.dto'; -export * from './create-person.dto'; -export * from './update-person.dto'; \ No newline at end of file +export * from './connect-person.dto' +export * from './create-person.dto' +export * from './update-person.dto' diff --git a/apps/api/src/domain/generated/person/dto/update-person.dto.ts b/apps/api/src/domain/generated/person/dto/update-person.dto.ts index 6fda2553f..8ab942283 100644 --- a/apps/api/src/domain/generated/person/dto/update-person.dto.ts +++ b/apps/api/src/domain/generated/person/dto/update-person.dto.ts @@ -1,21 +1,15 @@ - - - - - - export class UpdatePersonDto { - firstName?: string; -lastName?: string; -email?: string; -phone?: string; -company?: string; -newsletter?: boolean; -address?: string; -birthday?: Date; -emailConfirmed?: boolean; -personalNumber?: string; -keycloakId?: string; -stripeCustomerId?: string; -picture?: string; + firstName?: string + lastName?: string + email?: string + phone?: string + company?: string + newsletter?: boolean + address?: string + birthday?: Date + emailConfirmed?: boolean + personalNumber?: string + keycloakId?: string + stripeCustomerId?: string + picture?: string } diff --git a/apps/api/src/domain/generated/person/entities/index.ts b/apps/api/src/domain/generated/person/entities/index.ts index ec47361d3..5b9ca3f82 100644 --- a/apps/api/src/domain/generated/person/entities/index.ts +++ b/apps/api/src/domain/generated/person/entities/index.ts @@ -1,2 +1 @@ - -export * from './person.entity'; \ No newline at end of file +export * from './person.entity' diff --git a/apps/api/src/domain/generated/person/entities/person.entity.ts b/apps/api/src/domain/generated/person/entities/person.entity.ts index 54111100d..84daf2538 100644 --- a/apps/api/src/domain/generated/person/entities/person.entity.ts +++ b/apps/api/src/domain/generated/person/entities/person.entity.ts @@ -1,55 +1,53 @@ - -import {Benefactor} from '../../benefactor/entities/benefactor.entity' -import {Beneficiary} from '../../beneficiary/entities/beneficiary.entity' -import {CampaignFile} from '../../campaignFile/entities/campaignFile.entity' -import {Campaign} from '../../campaign/entities/campaign.entity' -import {Coordinator} from '../../coordinator/entities/coordinator.entity' -import {Document} from '../../document/entities/document.entity' -import {DonationWish} from '../../donationWish/entities/donationWish.entity' -import {Donation} from '../../donation/entities/donation.entity' -import {Expense} from '../../expense/entities/expense.entity' -import {InfoRequest} from '../../infoRequest/entities/infoRequest.entity' -import {Irregularity} from '../../irregularity/entities/irregularity.entity' -import {IrregularityFile} from '../../irregularityFile/entities/irregularityFile.entity' -import {Organizer} from '../../organizer/entities/organizer.entity' -import {RecurringDonation} from '../../recurringDonation/entities/recurringDonation.entity' -import {Supporter} from '../../supporter/entities/supporter.entity' -import {Transfer} from '../../transfer/entities/transfer.entity' -import {Withdrawal} from '../../withdrawal/entities/withdrawal.entity' - +import { Benefactor } from '../../benefactor/entities/benefactor.entity' +import { Beneficiary } from '../../beneficiary/entities/beneficiary.entity' +import { CampaignFile } from '../../campaignFile/entities/campaignFile.entity' +import { Campaign } from '../../campaign/entities/campaign.entity' +import { Coordinator } from '../../coordinator/entities/coordinator.entity' +import { Document } from '../../document/entities/document.entity' +import { DonationWish } from '../../donationWish/entities/donationWish.entity' +import { Donation } from '../../donation/entities/donation.entity' +import { Expense } from '../../expense/entities/expense.entity' +import { InfoRequest } from '../../infoRequest/entities/infoRequest.entity' +import { Irregularity } from '../../irregularity/entities/irregularity.entity' +import { IrregularityFile } from '../../irregularityFile/entities/irregularityFile.entity' +import { Organizer } from '../../organizer/entities/organizer.entity' +import { RecurringDonation } from '../../recurringDonation/entities/recurringDonation.entity' +import { Supporter } from '../../supporter/entities/supporter.entity' +import { Transfer } from '../../transfer/entities/transfer.entity' +import { Withdrawal } from '../../withdrawal/entities/withdrawal.entity' export class Person { - id: string ; -firstName: string ; -lastName: string ; -email: string ; -phone: string | null; -company: string | null; -createdAt: Date ; -updatedAt: Date | null; -newsletter: boolean | null; -address: string | null; -birthday: Date | null; -emailConfirmed: boolean | null; -personalNumber: string | null; -keycloakId: string | null; -stripeCustomerId: string | null; -picture: string | null; -benefactors?: Benefactor[] ; -beneficiaries?: Beneficiary[] ; -campaignFiles?: CampaignFile[] ; -campaigns?: Campaign[] ; -coordinators?: Coordinator | null; -documents?: Document[] ; -donationWish?: DonationWish[] ; -Donation?: Donation[] ; -expenses?: Expense[] ; -infoRequests?: InfoRequest[] ; -irregularities?: Irregularity[] ; -irregularityFiles?: IrregularityFile[] ; -organizer?: Organizer | null; -recurringDonations?: RecurringDonation[] ; -supporters?: Supporter[] ; -transfers?: Transfer[] ; -withdrawals?: Withdrawal[] ; + id: string + firstName: string + lastName: string + email: string + phone: string | null + company: string | null + createdAt: Date + updatedAt: Date | null + newsletter: boolean | null + address: string | null + birthday: Date | null + emailConfirmed: boolean | null + personalNumber: string | null + keycloakId: string | null + stripeCustomerId: string | null + picture: string | null + benefactors?: Benefactor[] + beneficiaries?: Beneficiary[] + campaignFiles?: CampaignFile[] + campaigns?: Campaign[] + coordinators?: Coordinator | null + documents?: Document[] + donationWish?: DonationWish[] + Donation?: Donation[] + expenses?: Expense[] + infoRequests?: InfoRequest[] + irregularities?: Irregularity[] + irregularityFiles?: IrregularityFile[] + organizer?: Organizer | null + recurringDonations?: RecurringDonation[] + supporters?: Supporter[] + transfers?: Transfer[] + withdrawals?: Withdrawal[] } diff --git a/apps/api/src/domain/generated/recurringDonation/dto/connect-recurringDonation.dto.ts b/apps/api/src/domain/generated/recurringDonation/dto/connect-recurringDonation.dto.ts index c8381e96b..e7c8b1ee2 100644 --- a/apps/api/src/domain/generated/recurringDonation/dto/connect-recurringDonation.dto.ts +++ b/apps/api/src/domain/generated/recurringDonation/dto/connect-recurringDonation.dto.ts @@ -1,5 +1,3 @@ - - export class ConnectRecurringDonationDto { - id: string; - } - \ No newline at end of file +export class ConnectRecurringDonationDto { + id: string +} diff --git a/apps/api/src/domain/generated/recurringDonation/dto/create-recurringDonation.dto.ts b/apps/api/src/domain/generated/recurringDonation/dto/create-recurringDonation.dto.ts index 9fb01dee4..38f5fb77e 100644 --- a/apps/api/src/domain/generated/recurringDonation/dto/create-recurringDonation.dto.ts +++ b/apps/api/src/domain/generated/recurringDonation/dto/create-recurringDonation.dto.ts @@ -1,13 +1,9 @@ - -import {RecurringDonationStatus} from '@prisma/client' -import {ApiProperty} from '@nestjs/swagger' - - - +import { RecurringDonationStatus } from '@prisma/client' +import { ApiProperty } from '@nestjs/swagger' export class CreateRecurringDonationDto { - @ApiProperty({ enum: RecurringDonationStatus}) -status: RecurringDonationStatus; -extSubscriptionId: string; -extCustomerId?: string; + @ApiProperty({ enum: RecurringDonationStatus }) + status: RecurringDonationStatus + extSubscriptionId: string + extCustomerId?: string } diff --git a/apps/api/src/domain/generated/recurringDonation/dto/index.ts b/apps/api/src/domain/generated/recurringDonation/dto/index.ts index 06d6c41cb..cef88b511 100644 --- a/apps/api/src/domain/generated/recurringDonation/dto/index.ts +++ b/apps/api/src/domain/generated/recurringDonation/dto/index.ts @@ -1,4 +1,3 @@ - -export * from './connect-recurringDonation.dto'; -export * from './create-recurringDonation.dto'; -export * from './update-recurringDonation.dto'; \ No newline at end of file +export * from './connect-recurringDonation.dto' +export * from './create-recurringDonation.dto' +export * from './update-recurringDonation.dto' diff --git a/apps/api/src/domain/generated/recurringDonation/dto/update-recurringDonation.dto.ts b/apps/api/src/domain/generated/recurringDonation/dto/update-recurringDonation.dto.ts index dc833d941..32b6b324a 100644 --- a/apps/api/src/domain/generated/recurringDonation/dto/update-recurringDonation.dto.ts +++ b/apps/api/src/domain/generated/recurringDonation/dto/update-recurringDonation.dto.ts @@ -1,13 +1,9 @@ - -import {RecurringDonationStatus} from '@prisma/client' -import {ApiProperty} from '@nestjs/swagger' - - - +import { RecurringDonationStatus } from '@prisma/client' +import { ApiProperty } from '@nestjs/swagger' export class UpdateRecurringDonationDto { - @ApiProperty({ enum: RecurringDonationStatus}) -status?: RecurringDonationStatus; -extSubscriptionId?: string; -extCustomerId?: string; + @ApiProperty({ enum: RecurringDonationStatus }) + status?: RecurringDonationStatus + extSubscriptionId?: string + extCustomerId?: string } diff --git a/apps/api/src/domain/generated/recurringDonation/entities/index.ts b/apps/api/src/domain/generated/recurringDonation/entities/index.ts index 758fcb4c3..1c3896c43 100644 --- a/apps/api/src/domain/generated/recurringDonation/entities/index.ts +++ b/apps/api/src/domain/generated/recurringDonation/entities/index.ts @@ -1,2 +1 @@ - -export * from './recurringDonation.entity'; \ No newline at end of file +export * from './recurringDonation.entity' diff --git a/apps/api/src/domain/generated/recurringDonation/entities/recurringDonation.entity.ts b/apps/api/src/domain/generated/recurringDonation/entities/recurringDonation.entity.ts index f4ab5c6f2..efe07a4cf 100644 --- a/apps/api/src/domain/generated/recurringDonation/entities/recurringDonation.entity.ts +++ b/apps/api/src/domain/generated/recurringDonation/entities/recurringDonation.entity.ts @@ -1,20 +1,18 @@ - -import {RecurringDonationStatus,Currency} from '@prisma/client' -import {Person} from '../../person/entities/person.entity' -import {Vault} from '../../vault/entities/vault.entity' - +import { RecurringDonationStatus, Currency } from '@prisma/client' +import { Person } from '../../person/entities/person.entity' +import { Vault } from '../../vault/entities/vault.entity' export class RecurringDonation { - id: string ; -status: RecurringDonationStatus ; -vaultId: string ; -personId: string ; -extSubscriptionId: string ; -extCustomerId: string | null; -createdAt: Date ; -updatedAt: Date | null; -amount: number ; -currency: Currency ; -person?: Person ; -sourceVault?: Vault ; + id: string + status: RecurringDonationStatus + vaultId: string + personId: string + extSubscriptionId: string + extCustomerId: string | null + createdAt: Date + updatedAt: Date | null + amount: number + currency: Currency + person?: Person + sourceVault?: Vault } diff --git a/apps/api/src/domain/generated/supporter/dto/connect-supporter.dto.ts b/apps/api/src/domain/generated/supporter/dto/connect-supporter.dto.ts index 38ad6fc21..d31620c7f 100644 --- a/apps/api/src/domain/generated/supporter/dto/connect-supporter.dto.ts +++ b/apps/api/src/domain/generated/supporter/dto/connect-supporter.dto.ts @@ -1,5 +1,3 @@ - - export class ConnectSupporterDto { - id: string; - } - \ No newline at end of file +export class ConnectSupporterDto { + id: string +} diff --git a/apps/api/src/domain/generated/supporter/dto/create-supporter.dto.ts b/apps/api/src/domain/generated/supporter/dto/create-supporter.dto.ts index 75ad30ffc..d7f05942d 100644 --- a/apps/api/src/domain/generated/supporter/dto/create-supporter.dto.ts +++ b/apps/api/src/domain/generated/supporter/dto/create-supporter.dto.ts @@ -1,12 +1,6 @@ - - - - - - export class CreateSupporterDto { - deletedAt?: Date; -comment?: string; -companyOtherText?: string; -partnerOtherText?: string; + deletedAt?: Date + comment?: string + companyOtherText?: string + partnerOtherText?: string } diff --git a/apps/api/src/domain/generated/supporter/dto/index.ts b/apps/api/src/domain/generated/supporter/dto/index.ts index 66a26f281..172086739 100644 --- a/apps/api/src/domain/generated/supporter/dto/index.ts +++ b/apps/api/src/domain/generated/supporter/dto/index.ts @@ -1,4 +1,3 @@ - -export * from './connect-supporter.dto'; -export * from './create-supporter.dto'; -export * from './update-supporter.dto'; \ No newline at end of file +export * from './connect-supporter.dto' +export * from './create-supporter.dto' +export * from './update-supporter.dto' diff --git a/apps/api/src/domain/generated/supporter/dto/update-supporter.dto.ts b/apps/api/src/domain/generated/supporter/dto/update-supporter.dto.ts index 490949427..decdb280d 100644 --- a/apps/api/src/domain/generated/supporter/dto/update-supporter.dto.ts +++ b/apps/api/src/domain/generated/supporter/dto/update-supporter.dto.ts @@ -1,12 +1,6 @@ - - - - - - export class UpdateSupporterDto { - deletedAt?: Date; -comment?: string; -companyOtherText?: string; -partnerOtherText?: string; + deletedAt?: Date + comment?: string + companyOtherText?: string + partnerOtherText?: string } diff --git a/apps/api/src/domain/generated/supporter/entities/index.ts b/apps/api/src/domain/generated/supporter/entities/index.ts index 96ec7848b..bc0137560 100644 --- a/apps/api/src/domain/generated/supporter/entities/index.ts +++ b/apps/api/src/domain/generated/supporter/entities/index.ts @@ -1,2 +1 @@ - -export * from './supporter.entity'; \ No newline at end of file +export * from './supporter.entity' diff --git a/apps/api/src/domain/generated/supporter/entities/supporter.entity.ts b/apps/api/src/domain/generated/supporter/entities/supporter.entity.ts index cea9df0f1..7d56bd057 100644 --- a/apps/api/src/domain/generated/supporter/entities/supporter.entity.ts +++ b/apps/api/src/domain/generated/supporter/entities/supporter.entity.ts @@ -1,37 +1,35 @@ - -import {Person} from '../../person/entities/person.entity' - +import { Person } from '../../person/entities/person.entity' export class Supporter { - id: string ; -personId: string ; -createdAt: Date ; -updatedAt: Date | null; -deletedAt: Date | null; -comment: string | null; -associationMember: boolean ; -benefactorCampaign: boolean ; -benefactorPlatform: boolean ; -companyOtherText: string | null; -companySponsor: boolean ; -companyVolunteer: boolean ; -partnerBussiness: boolean ; -partnerNpo: boolean ; -partnerOtherText: string | null; -roleAssociationMember: boolean ; -roleBenefactor: boolean ; -roleCompany: boolean ; -rolePartner: boolean ; -roleVolunteer: boolean ; -volunteerBackend: boolean ; -volunteerDesigner: boolean ; -volunteerDevOps: boolean ; -volunteerFinancesAndAccounts: boolean ; -volunteerFrontend: boolean ; -volunteerLawyer: boolean ; -volunteerMarketing: boolean ; -volunteerProjectManager: boolean ; -volunteerQa: boolean ; -volunteerSecurity: boolean ; -person?: Person ; + id: string + personId: string + createdAt: Date + updatedAt: Date | null + deletedAt: Date | null + comment: string | null + associationMember: boolean + benefactorCampaign: boolean + benefactorPlatform: boolean + companyOtherText: string | null + companySponsor: boolean + companyVolunteer: boolean + partnerBussiness: boolean + partnerNpo: boolean + partnerOtherText: string | null + roleAssociationMember: boolean + roleBenefactor: boolean + roleCompany: boolean + rolePartner: boolean + roleVolunteer: boolean + volunteerBackend: boolean + volunteerDesigner: boolean + volunteerDevOps: boolean + volunteerFinancesAndAccounts: boolean + volunteerFrontend: boolean + volunteerLawyer: boolean + volunteerMarketing: boolean + volunteerProjectManager: boolean + volunteerQa: boolean + volunteerSecurity: boolean + person?: Person } diff --git a/apps/api/src/domain/generated/transfer/dto/connect-transfer.dto.ts b/apps/api/src/domain/generated/transfer/dto/connect-transfer.dto.ts index 25ed941d6..72390a1a1 100644 --- a/apps/api/src/domain/generated/transfer/dto/connect-transfer.dto.ts +++ b/apps/api/src/domain/generated/transfer/dto/connect-transfer.dto.ts @@ -1,5 +1,3 @@ - - export class ConnectTransferDto { - id: string; - } - \ No newline at end of file +export class ConnectTransferDto { + id: string +} diff --git a/apps/api/src/domain/generated/transfer/dto/create-transfer.dto.ts b/apps/api/src/domain/generated/transfer/dto/create-transfer.dto.ts index 4e2e5e94b..31205e070 100644 --- a/apps/api/src/domain/generated/transfer/dto/create-transfer.dto.ts +++ b/apps/api/src/domain/generated/transfer/dto/create-transfer.dto.ts @@ -1,14 +1,10 @@ - -import {Currency} from '@prisma/client' -import {ApiProperty} from '@nestjs/swagger' - - - +import { Currency } from '@prisma/client' +import { ApiProperty } from '@nestjs/swagger' export class CreateTransferDto { - @ApiProperty({ enum: Currency}) -currency: Currency; -reason: string; -documentId?: string; -targetDate?: Date; + @ApiProperty({ enum: Currency }) + currency: Currency + reason: string + documentId?: string + targetDate?: Date } diff --git a/apps/api/src/domain/generated/transfer/dto/index.ts b/apps/api/src/domain/generated/transfer/dto/index.ts index 2b6eeb644..a63c3138d 100644 --- a/apps/api/src/domain/generated/transfer/dto/index.ts +++ b/apps/api/src/domain/generated/transfer/dto/index.ts @@ -1,4 +1,3 @@ - -export * from './connect-transfer.dto'; -export * from './create-transfer.dto'; -export * from './update-transfer.dto'; \ No newline at end of file +export * from './connect-transfer.dto' +export * from './create-transfer.dto' +export * from './update-transfer.dto' diff --git a/apps/api/src/domain/generated/transfer/dto/update-transfer.dto.ts b/apps/api/src/domain/generated/transfer/dto/update-transfer.dto.ts index 899e35287..254083e1c 100644 --- a/apps/api/src/domain/generated/transfer/dto/update-transfer.dto.ts +++ b/apps/api/src/domain/generated/transfer/dto/update-transfer.dto.ts @@ -1,14 +1,10 @@ - -import {Currency} from '@prisma/client' -import {ApiProperty} from '@nestjs/swagger' - - - +import { Currency } from '@prisma/client' +import { ApiProperty } from '@nestjs/swagger' export class UpdateTransferDto { - @ApiProperty({ enum: Currency}) -currency?: Currency; -reason?: string; -documentId?: string; -targetDate?: Date; + @ApiProperty({ enum: Currency }) + currency?: Currency + reason?: string + documentId?: string + targetDate?: Date } diff --git a/apps/api/src/domain/generated/transfer/entities/index.ts b/apps/api/src/domain/generated/transfer/entities/index.ts index 96b88004b..350bb7593 100644 --- a/apps/api/src/domain/generated/transfer/entities/index.ts +++ b/apps/api/src/domain/generated/transfer/entities/index.ts @@ -1,2 +1 @@ - -export * from './transfer.entity'; \ No newline at end of file +export * from './transfer.entity' diff --git a/apps/api/src/domain/generated/transfer/entities/transfer.entity.ts b/apps/api/src/domain/generated/transfer/entities/transfer.entity.ts index 67c1f2503..060e116ec 100644 --- a/apps/api/src/domain/generated/transfer/entities/transfer.entity.ts +++ b/apps/api/src/domain/generated/transfer/entities/transfer.entity.ts @@ -1,28 +1,26 @@ - -import {TransferStatus,Currency} from '@prisma/client' -import {Person} from '../../person/entities/person.entity' -import {Campaign} from '../../campaign/entities/campaign.entity' -import {Vault} from '../../vault/entities/vault.entity' - +import { TransferStatus, Currency } from '@prisma/client' +import { Person } from '../../person/entities/person.entity' +import { Campaign } from '../../campaign/entities/campaign.entity' +import { Vault } from '../../vault/entities/vault.entity' export class Transfer { - id: string ; -status: TransferStatus ; -currency: Currency ; -amount: number ; -reason: string ; -sourceVaultId: string ; -sourceCampaignId: string ; -targetVaultId: string ; -targetCampaignId: string ; -approvedById: string | null; -documentId: string | null; -targetDate: Date | null; -createdAt: Date ; -updatedAt: Date | null; -approvedBy?: Person | null; -sourceCampaign?: Campaign ; -sourceVault?: Vault ; -targetCampaign?: Campaign ; -targetVault?: Vault ; + id: string + status: TransferStatus + currency: Currency + amount: number + reason: string + sourceVaultId: string + sourceCampaignId: string + targetVaultId: string + targetCampaignId: string + approvedById: string | null + documentId: string | null + targetDate: Date | null + createdAt: Date + updatedAt: Date | null + approvedBy?: Person | null + sourceCampaign?: Campaign + sourceVault?: Vault + targetCampaign?: Campaign + targetVault?: Vault } diff --git a/apps/api/src/domain/generated/vault/dto/connect-vault.dto.ts b/apps/api/src/domain/generated/vault/dto/connect-vault.dto.ts index 4e4502295..73327627b 100644 --- a/apps/api/src/domain/generated/vault/dto/connect-vault.dto.ts +++ b/apps/api/src/domain/generated/vault/dto/connect-vault.dto.ts @@ -1,5 +1,3 @@ - - export class ConnectVaultDto { - id: string; - } - \ No newline at end of file +export class ConnectVaultDto { + id: string +} diff --git a/apps/api/src/domain/generated/vault/dto/create-vault.dto.ts b/apps/api/src/domain/generated/vault/dto/create-vault.dto.ts index 403b00ac8..48b2ddb78 100644 --- a/apps/api/src/domain/generated/vault/dto/create-vault.dto.ts +++ b/apps/api/src/domain/generated/vault/dto/create-vault.dto.ts @@ -1,9 +1 @@ - - - - - - -export class CreateVaultDto { - -} +export class CreateVaultDto {} diff --git a/apps/api/src/domain/generated/vault/dto/index.ts b/apps/api/src/domain/generated/vault/dto/index.ts index 47c6d1100..8a655273b 100644 --- a/apps/api/src/domain/generated/vault/dto/index.ts +++ b/apps/api/src/domain/generated/vault/dto/index.ts @@ -1,4 +1,3 @@ - -export * from './connect-vault.dto'; -export * from './create-vault.dto'; -export * from './update-vault.dto'; \ No newline at end of file +export * from './connect-vault.dto' +export * from './create-vault.dto' +export * from './update-vault.dto' diff --git a/apps/api/src/domain/generated/vault/dto/update-vault.dto.ts b/apps/api/src/domain/generated/vault/dto/update-vault.dto.ts index dd8a83a83..0110a3058 100644 --- a/apps/api/src/domain/generated/vault/dto/update-vault.dto.ts +++ b/apps/api/src/domain/generated/vault/dto/update-vault.dto.ts @@ -1,9 +1 @@ - - - - - - -export class UpdateVaultDto { - -} +export class UpdateVaultDto {} diff --git a/apps/api/src/domain/generated/vault/entities/index.ts b/apps/api/src/domain/generated/vault/entities/index.ts index 10628d9cd..6b947cc5e 100644 --- a/apps/api/src/domain/generated/vault/entities/index.ts +++ b/apps/api/src/domain/generated/vault/entities/index.ts @@ -1,2 +1 @@ - -export * from './vault.entity'; \ No newline at end of file +export * from './vault.entity' diff --git a/apps/api/src/domain/generated/vault/entities/vault.entity.ts b/apps/api/src/domain/generated/vault/entities/vault.entity.ts index 4af8a1991..83d9b3692 100644 --- a/apps/api/src/domain/generated/vault/entities/vault.entity.ts +++ b/apps/api/src/domain/generated/vault/entities/vault.entity.ts @@ -1,27 +1,25 @@ - -import {Currency} from '@prisma/client' -import {Campaign} from '../../campaign/entities/campaign.entity' -import {Donation} from '../../donation/entities/donation.entity' -import {Expense} from '../../expense/entities/expense.entity' -import {RecurringDonation} from '../../recurringDonation/entities/recurringDonation.entity' -import {Transfer} from '../../transfer/entities/transfer.entity' -import {Withdrawal} from '../../withdrawal/entities/withdrawal.entity' - +import { Currency } from '@prisma/client' +import { Campaign } from '../../campaign/entities/campaign.entity' +import { Donation } from '../../donation/entities/donation.entity' +import { Expense } from '../../expense/entities/expense.entity' +import { RecurringDonation } from '../../recurringDonation/entities/recurringDonation.entity' +import { Transfer } from '../../transfer/entities/transfer.entity' +import { Withdrawal } from '../../withdrawal/entities/withdrawal.entity' export class Vault { - id: string ; -currency: Currency ; -amount: number ; -campaignId: string ; -createdAt: Date ; -updatedAt: Date | null; -name: string ; -blockedAmount: number ; -campaign?: Campaign ; -donations?: Donation[] ; -expenses?: Expense[] ; -recurringDonations?: RecurringDonation[] ; -sourceTransfers?: Transfer[] ; -targetTransfers?: Transfer[] ; -withdraws?: Withdrawal[] ; + id: string + currency: Currency + amount: number + campaignId: string + createdAt: Date + updatedAt: Date | null + name: string + blockedAmount: number + campaign?: Campaign + donations?: Donation[] + expenses?: Expense[] + recurringDonations?: RecurringDonation[] + sourceTransfers?: Transfer[] + targetTransfers?: Transfer[] + withdraws?: Withdrawal[] } diff --git a/apps/api/src/domain/generated/withdrawal/dto/connect-withdrawal.dto.ts b/apps/api/src/domain/generated/withdrawal/dto/connect-withdrawal.dto.ts index 701535cb9..0076282d6 100644 --- a/apps/api/src/domain/generated/withdrawal/dto/connect-withdrawal.dto.ts +++ b/apps/api/src/domain/generated/withdrawal/dto/connect-withdrawal.dto.ts @@ -1,5 +1,3 @@ - - export class ConnectWithdrawalDto { - id: string; - } - \ No newline at end of file +export class ConnectWithdrawalDto { + id: string +} diff --git a/apps/api/src/domain/generated/withdrawal/dto/create-withdrawal.dto.ts b/apps/api/src/domain/generated/withdrawal/dto/create-withdrawal.dto.ts index 872db5eb6..45972ac91 100644 --- a/apps/api/src/domain/generated/withdrawal/dto/create-withdrawal.dto.ts +++ b/apps/api/src/domain/generated/withdrawal/dto/create-withdrawal.dto.ts @@ -1,14 +1,10 @@ - -import {Currency} from '@prisma/client' -import {ApiProperty} from '@nestjs/swagger' - - - +import { Currency } from '@prisma/client' +import { ApiProperty } from '@nestjs/swagger' export class CreateWithdrawalDto { - @ApiProperty({ enum: Currency}) -currency: Currency; -reason: string; -documentId?: string; -targetDate?: Date; + @ApiProperty({ enum: Currency }) + currency: Currency + reason: string + documentId?: string + targetDate?: Date } diff --git a/apps/api/src/domain/generated/withdrawal/dto/index.ts b/apps/api/src/domain/generated/withdrawal/dto/index.ts index 0850f1280..09efa0678 100644 --- a/apps/api/src/domain/generated/withdrawal/dto/index.ts +++ b/apps/api/src/domain/generated/withdrawal/dto/index.ts @@ -1,4 +1,3 @@ - -export * from './connect-withdrawal.dto'; -export * from './create-withdrawal.dto'; -export * from './update-withdrawal.dto'; \ No newline at end of file +export * from './connect-withdrawal.dto' +export * from './create-withdrawal.dto' +export * from './update-withdrawal.dto' diff --git a/apps/api/src/domain/generated/withdrawal/dto/update-withdrawal.dto.ts b/apps/api/src/domain/generated/withdrawal/dto/update-withdrawal.dto.ts index 32d048ab3..d74c388fe 100644 --- a/apps/api/src/domain/generated/withdrawal/dto/update-withdrawal.dto.ts +++ b/apps/api/src/domain/generated/withdrawal/dto/update-withdrawal.dto.ts @@ -1,14 +1,10 @@ - -import {Currency} from '@prisma/client' -import {ApiProperty} from '@nestjs/swagger' - - - +import { Currency } from '@prisma/client' +import { ApiProperty } from '@nestjs/swagger' export class UpdateWithdrawalDto { - @ApiProperty({ enum: Currency}) -currency?: Currency; -reason?: string; -documentId?: string; -targetDate?: Date; + @ApiProperty({ enum: Currency }) + currency?: Currency + reason?: string + documentId?: string + targetDate?: Date } diff --git a/apps/api/src/domain/generated/withdrawal/entities/index.ts b/apps/api/src/domain/generated/withdrawal/entities/index.ts index f9504dcee..a167ff4f9 100644 --- a/apps/api/src/domain/generated/withdrawal/entities/index.ts +++ b/apps/api/src/domain/generated/withdrawal/entities/index.ts @@ -1,2 +1 @@ - -export * from './withdrawal.entity'; \ No newline at end of file +export * from './withdrawal.entity' diff --git a/apps/api/src/domain/generated/withdrawal/entities/withdrawal.entity.ts b/apps/api/src/domain/generated/withdrawal/entities/withdrawal.entity.ts index 26d3b50e2..eeb74f327 100644 --- a/apps/api/src/domain/generated/withdrawal/entities/withdrawal.entity.ts +++ b/apps/api/src/domain/generated/withdrawal/entities/withdrawal.entity.ts @@ -1,27 +1,25 @@ - -import {WithdrawStatus,Currency} from '@prisma/client' -import {Person} from '../../person/entities/person.entity' -import {BankAccount} from '../../bankAccount/entities/bankAccount.entity' -import {Campaign} from '../../campaign/entities/campaign.entity' -import {Vault} from '../../vault/entities/vault.entity' - +import { WithdrawStatus, Currency } from '@prisma/client' +import { Person } from '../../person/entities/person.entity' +import { BankAccount } from '../../bankAccount/entities/bankAccount.entity' +import { Campaign } from '../../campaign/entities/campaign.entity' +import { Vault } from '../../vault/entities/vault.entity' export class Withdrawal { - id: string ; -status: WithdrawStatus ; -currency: Currency ; -amount: number ; -reason: string ; -sourceVaultId: string ; -sourceCampaignId: string ; -bankAccountId: string ; -documentId: string | null; -approvedById: string | null; -targetDate: Date | null; -createdAt: Date ; -updatedAt: Date | null; -approvedBy?: Person | null; -bankAccount?: BankAccount ; -sourceCampaign?: Campaign ; -sourceVault?: Vault ; + id: string + status: WithdrawStatus + currency: Currency + amount: number + reason: string + sourceVaultId: string + sourceCampaignId: string + bankAccountId: string + documentId: string | null + approvedById: string | null + targetDate: Date | null + createdAt: Date + updatedAt: Date | null + approvedBy?: Person | null + bankAccount?: BankAccount + sourceCampaign?: Campaign + sourceVault?: Vault }