@plyaz/types 1.34.0 → 1.34.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Core Services Types
|
|
3
3
|
* Type definitions for @plyaz/core services
|
|
4
4
|
*/
|
|
5
|
-
import type { DrizzleConfig, SupabaseConfig, SqlConfig, SoftDeleteConfig, DBCacheConfig, AuditConfig, DBEncryptionConfig } from '../../db';
|
|
5
|
+
import type { DrizzleConfig, SupabaseConfig, SqlConfig, SoftDeleteConfig, DBCacheConfig, AuditConfig, DBEncryptionConfig, DatabaseEvents } from '../../db';
|
|
6
6
|
import type { ReactNode } from 'react';
|
|
7
7
|
import type { ApiClientOptions } from '../../api/client';
|
|
8
8
|
import type { StorageServiceConfig, StorageServiceInstance } from '../../storage';
|
|
@@ -532,6 +532,11 @@ export interface CoreDbServiceConfig {
|
|
|
532
532
|
* ```
|
|
533
533
|
*/
|
|
534
534
|
encryption?: DBEncryptionConfig;
|
|
535
|
+
/**
|
|
536
|
+
* Database event handlers for lifecycle hooks
|
|
537
|
+
* Core will merge user handlers with internal Core handlers
|
|
538
|
+
*/
|
|
539
|
+
events?: DatabaseEvents;
|
|
535
540
|
}
|
|
536
541
|
/**
|
|
537
542
|
* Core's DbService instance interface
|
package/package.json
CHANGED