©️
Cross api
En-US
En-US
  • Introduction
  • Compatibility
  • Extensions
  • Usage
    • Tools
      • Config
      • ListProvider
      • Language
      • Help
    • Structure
      • MakeApi
      • MakeModule
      • MakeProvider
      • Revert
  • Structure
    • Root
    • Src
    • @Types
    • Assets
    • Config
    • Dtos
    • Jobs
    • Keys
    • Middlewares
    • Modules
    • Routes
    • Shared
    • Utils
  • Services
    • Transactions
    • Exists
    • FindBy
    • FindIn
    • FindLike
    • FindAll
    • Create
    • CreateMany
    • Update
    • UpdateMany
    • Delete
    • DeleteMany
    • SoftDelete
    • SoftDeleteMany
  • Mappers
    • CloneAttribute
    • UpdateAttribute
    • PatchAttribute
    • UpdateString
    • PatchString
    • InsertAttribute
  • Providers
    • Cache
    • Crypto
    • Hash
    • Lead
    • MailTemplate
    • Mail
    • Queue
    • Notification
    • Storage
Powered by GitBook
On this page

Was this helpful?

  1. Structure

Shared

It is where modules, providers, error handlers, connection configuration, app and server are located.

.
└── shared
    ├── container
    │   ├── modules
    │   │   ├── entities
    │   │   │   └── Entity.ts
    │   │   ├── migrations
    │   │   │   └── BaseMigration.ts 
    │   │   ├── repositories
    │   │   │   ├── fakes
    │   │   │   │   └── FakeBaseRepository.ts
    │   │   │   ├── BaseRepository.ts
    │   │   │   └── IBaseRepository.ts
    │   │   └── validators
    │   │       └── baseSchema.ts
    │   ├── providers
    │   │   ├── [name]
    │   │   │   ├── dtos
    │   │   │   │   └── IProviderDTO.ts
    │   │   │   ├── fakes
    │   │   │   │   └── FakeImplementation.ts
    │   │   │   ├── implementations
    │   │   │   │   └── Implementation.ts
    │   │   │   ├── models
    │   │   │   │   └── IProvider.ts
    │   │   │   ├── public
    │   │   │   │   ├── jobs.ts
    │   │   │   │   └── [something-shareable].ts
    │   │   │   └── index.ts
    │   │   └── index.ts
    │   └── index.ts
    ├── errors
    │   └── AppError.ts
    ├── typeorm
    │   ├── migrations
    │   │   └── hash.default.ts
    │   ├── seeds
    │   │   └── [name].ts
    │   ├── dataSources
    │   │   ├── fakes
    │   │   │   └── FakeDataSource.ts
    │   │   ├── mysqlDataSource.ts
    │   │   └── [name]DataSource.ts
    │   ├── index.ts
    │   └── runMigrations.ts
    ├── app.ts
    └── server.ts

PreviousRoutesNextUtils

Last updated 5 months ago

Was this helpful?