Skip to content
@archipel/platform-database Auto-generated

@breadstone/archipel-platform-database

Classes

ClassDescription
DatabaseHealthIndicatorHealth indicator for database connectivity.
DatabaseModuleRepresents the database module.
DatabaseServiceRepresents the database service.
PrismaServiceRepresents the prisma service.
RepositoryBaseThe base class for all repositories.
RepositoryExceptionFilterRepresents the Prisma client exception filter.

Interfaces

InterfaceDescription
IDatabaseModuleConfigRepresents the database module configuration.
IPaginatedResult-
IPaginateOptions-
IRepositoryQueryRepresents a reusable query definition for repositories.
ITransactionalRepositoryQueryRepresents a repository query that requires a Prisma TransactionClient to access multiple delegates.

Type Aliases

Type AliasDescription
DelegateArgs-
DelegateReturnTypes-
PaginateFunction-
QueryResultTypeExtracts the result type from a repository query. Useful for type-safe mapping without duplicating query result types.
TransactionalQueryResultTypeExtracts the result type from a transactional repository query.

Functions

FunctionDescription
pageable-
paginator-
queryCreates a new repository query.
skipUtility function that returns the provided value or undefined if the value is undefined. In Prisma 6+, passing undefined for a field in a query signals Prisma to skip that field.
transactionalQueryFactory to create a transactional repository query.

Released under the MIT License.