@@ -184,91 +184,52 @@ notifylog/
184184├── apps/
185185│ ├── notifylog-api/
186186│ │ ├── src/
187- │ │ │ ├── application/
188- │ │ │ │ ├── factories/
189- │ │ │ │ │ └── notification.factory.ts
190- │ │ │ │ └── strategies/
191- │ │ │ │ ├── email-notification.strategy.ts
192- │ │ │ │ └── sms-notification.strategy.ts
193- │ │ │ ├── domain/
194- │ │ │ │ └── interfaces/
195- │ │ │ │ ├── notification-repository.interface.ts
196- │ │ │ │ └── webhook-repository.interface.ts
197- │ │ │ ├── infrastructure/
198- │ │ │ │ └── repositories/
199- │ │ │ │ ├── notification.repository.ts
200- │ │ │ │ └── webhook.repository.ts
201- │ │ │ ├── presentation/
202- │ │ │ │ └── resolvers/
203- │ │ │ │ ├── notification.resolver.ts
204- │ │ │ │ ├── webhook.resolver.ts
205- │ │ │ │ └── log.resolver.ts
206- │ │ │ ├── dto/
207- │ │ │ │ └── notification.dto.ts
208- │ │ │ ├── services/
209- │ │ │ │ └── log.service.ts
187+ │ │ │ ├── config/
188+ │ │ │ │ └── notification.config.ts # Shared enums (NotificationType, NotificationChannel)
189+ │ │ │ ├── common/
190+ │ │ │ │ └── validation/
191+ │ │ │ │ └── joi-validation.pipe.ts
192+ │ │ │ ├── logger/
193+ │ │ │ │ ├── domain/
194+ │ │ │ │ ├── infrastructure/
195+ │ │ │ │ ├── presentation/
196+ │ │ │ │ └── application/
197+ │ │ │ ├── notification/
198+ │ │ │ │ ├── application/
199+ │ │ │ │ │ ├── factories/
200+ │ │ │ │ │ │ └── notification.factory.ts
201+ │ │ │ │ │ └── strategies/
202+ │ │ │ │ │ ├── email-notification.strategy.ts
203+ │ │ │ │ │ └── sms-notification.strategy.ts
204+ │ │ │ │ ├── domain/
205+ │ │ │ │ │ ├── entities/
206+ │ │ │ │ │ │ └── notification.entity.ts
207+ │ │ │ │ │ ├── errors/
208+ │ │ │ │ │ │ └── notification.error.ts # Example error class
209+ │ │ │ │ │ └── interfaces/
210+ │ │ │ │ │ ├── notification-repository.interface.ts
211+ │ │ │ │ │ ├── notification-strategy.interface.ts
212+ │ │ │ │ │ └── webhook-repository.interface.ts
213+ │ │ │ │ ├── infrastructure/
214+ │ │ │ │ │ ├── repositories/
215+ │ │ │ │ │ │ ├── notification.repository.ts
216+ │ │ │ │ │ │ └── webhook.repository.ts
217+ │ │ │ │ │ └── persistence/
218+ │ │ │ │ │ ├── mongodb/
219+ │ │ │ │ │ │ └── notification.schema.ts
220+ │ │ │ │ │ └── postgresql/
221+ │ │ │ │ │ └── webhook.schema.ts # Example for PostgreSQL
222+ │ │ │ │ ├── presentation/
223+ │ │ │ │ │ ├── controllers/
224+ │ │ │ │ │ │ ├── notification.controller.ts
225+ │ │ │ │ │ │ └── webhook.controller.ts
226+ │ │ │ │ │ └── dto/
227+ │ │ │ │ │ ├── send-notification.dto.ts
228+ │ │ │ │ │ └── create-webhook.dto.ts
210229│ │ │ ├── app.module.ts
211- │ │ │ └── main.ts
230+ │ │ │ ├── main.ts
231+ │ │ │ └── services/
232+ │ │ │ └── log.service.ts
212233│ │ ├── package.json
213234│ │ ├── tsconfig.json
214235│ │ └── .env.example
215- │ └── notifylog-ui/
216- │ ├── src/
217- │ │ ├── app/
218- │ │ │ ├── page.tsx
219- │ │ │ ├── notifications/
220- │ │ │ │ └── page.tsx
221- │ │ │ ├── errors/
222- │ │ │ │ └── page.tsx
223- │ │ │ ├── layout.tsx
224- │ │ │ └── globals.css
225- │ │ ├── components/
226- │ │ │ ├── Header.tsx
227- │ │ │ ├── NotificationTable.tsx
228- │ │ │ └── ErrorTable.tsx
229- │ │ └── lib/
230- │ │ ├── api.ts
231- │ │ └── types.ts
232- │ ├── public/
233- │ ├── package.json
234- │ └── next.config.js
235- ├── libs/
236- │ ├── logger/
237- │ │ ├── src/
238- │ │ │ ├── interfaces/
239- │ │ │ │ └── log-repository.interface.ts
240- │ │ │ ├── persistence/
241- │ │ │ │ └── logger.schema.ts
242- │ │ │ ├── repositories/
243- │ │ │ │ └── log.repository.ts
244- │ │ │ └── services/
245- │ │ │ ├── logger.service.file.ts
246- │ │ │ └── logger.service.db.ts
247- │ │ ├── package.json
248- │ │ └── tsconfig.json
249- │ └── utils/
250- │ ├── src/
251- │ │ ├── helpers/
252- │ │ │ ├── string.utils.ts
253- │ │ │ └── validation.utils.ts
254- │ │ ├── interceptors/
255- │ │ │ └── logging.interceptor.ts
256- │ │ └── constants/
257- │ │ └── app.constants.ts
258- │ ├── package.json
259- │ └── tsconfig.json
260- ├── prisma/
261- │ ├── schema.prisma
262- │ └── migrations/
263- ├── docker/
264- │ ├── Dockerfile.api
265- │ ├── Dockerfile.ui
266- │ └── docker-compose.yml
267- ├── .github/
268- │ ├── ISSUE\_ TEMPLATE/
269- │ └── workflows/
270- │ └── ci.yml
271- ├── README.md
272- ├── CONTRIBUTING.md
273- ├── CODE\_ OF\_ CONDUCT.md
274- ├── LICENSE
0 commit comments