Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
214 changes: 214 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"peerDependencies": {
"@nestjs/common": "^10 || ^11",
"@nestjs/core": "^10 || ^11",
"mongoose": "^8",
"reflect-metadata": "^0.2.2",
"rxjs": "^7"
},
Expand All @@ -61,6 +62,7 @@
"husky": "^9.1.7",
"jest": "^29.7.0",
"lint-staged": "^16.2.7",
"mongoose": "^8.11.3",
"prettier": "^3.4.2",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
Expand Down
9 changes: 9 additions & 0 deletions src/core/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,9 @@ export interface AuditLogFilters {
/** Filter by action type */
action?: AuditActionType | string;

/** Filter by multiple actions (OR condition) */
actions?: (AuditActionType | string)[];

/** Filter by resource type */
resourceType?: string;

Expand All @@ -331,6 +334,12 @@ export interface AuditLogFilters {
/** Filter by IP address */
ipAddress?: string;

/** Filter by request ID */
requestId?: string;

/** Filter by session ID */
sessionId?: string;

/** Free-text search across multiple fields */
search?: string;

Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
export * from "./core";
export * from "./infra";
export * from "./nest";
17 changes: 17 additions & 0 deletions src/infra/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/**
* ============================================================================
* INFRASTRUCTURE LAYER - PUBLIC EXPORTS
* ============================================================================
*
* Exports for all infrastructure adapters.
*
* Components:
* - Repositories: Persistence implementations
* - Senders: (Future) Channel delivery implementations
* - Providers: (Future) Utility implementations
*
* @packageDocumentation
*/

// Repository implementations
export * from "./repositories";
Loading
Loading