-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtree-en.txt
More file actions
52 lines (52 loc) · 6.79 KB
/
tree-en.txt
File metadata and controls
52 lines (52 loc) · 6.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
D:\PROJECTS\BACKLOG-GAMES\SRC
└───app
├───gameCollection # Domain / Use case of the requirement
│ ├───controller # Controllers
│ │ gameCollectionController.tsx # Game collection controller
│ │ gameCollectionState.ts # Interface for the collection state
│ │ useGameCollection.tsx # Custom hook to use the controller
│ │
│ ├───data # Adapters for database connections
│ │ gameCollectionPB.ts # PocketBase adapter of the repository interface
│ │ gameCollectionLS.ts # LocalStorage adapter of the repository interface
│ │
│ ├───domain # Domain
│ │ game.ts # Game model
│ │ gameCollection.ts # Game collection model
│ │ gameCollectionRepo.ts # Game collection repository interface
│ │
│ ├───schemas # Validation schemas
│ │ gameSchema.ts # Game validation schema
│ │
│ ├───useCases # Use cases
│ │ │ addGame.ts # Use case to add a game to the collection
│ │ │ modifyGame.ts # Use case to modify a game in the collection
│ │ │ removeGame.ts # Use case to remove a game from the collection
│ │ │
│ │ └───types # Use case interfaces
│ │ GameCollectionPresenter.ts # Game collection presenter interface
│ │ GameCollectionUseCase.ts # Game collection use case interface
│ │
│ └───view # UI application elements
│ ├───components # App components
│ │ ├───GameCard\ # Game information container
│ │ ├───GameCardPlaceholder\ # Loading state game container
│ │ ├───GameForm\ # Form to add / modify game
│ │ ├───GameGrid\ # Game containers grid
│ │ └───GameRemoveForm\ # Form to remove game
│ │
│ └───pages
│ └───Collection\ # Page that renders all components in a structured way
│
└───main # Elements used by all domains / use cases
├───request # Request handling
│ httpClient.ts # Definition of an HTTP request client
│
├───useCases # Use cases
│ └───types # Interfaces
│ PresenterProps.ts # Use case presenter interface
│ UseCaseProps.ts # Use case interface
│
└───view # UI elements
└───components # Components
└───ErrorModal\ # Modal window shown in case of error