@dereekb/dbx-firebase 12.4.1 → 12.4.3

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.
@@ -1,4 +1,8 @@
1
1
  export * from './notification.item.store';
2
+ export * from './notification.document.store';
3
+ export * from './notification.document.store.directive';
4
+ export * from './notification.collection.store';
5
+ export * from './notification.collection.store.directive';
2
6
  export * from './notificationbox.document.store.directive';
3
7
  export * from './notificationbox.document.store';
4
8
  export * from './notificationbox.collection.store.directive';
@@ -0,0 +1,9 @@
1
+ import { AbstractDbxFirebaseCollectionWithParentStore } from '../../../model/modules/store/store.subcollection';
2
+ import { NotificationFirestoreCollections, type NotificationBox, type NotificationBoxDocument, type Notification, type NotificationDocument } from '@dereekb/firebase';
3
+ import { NotificationBoxDocumentStore } from './notificationbox.document.store';
4
+ import * as i0 from "@angular/core";
5
+ export declare class NotificationCollectionStore extends AbstractDbxFirebaseCollectionWithParentStore<Notification, NotificationBox, NotificationDocument, NotificationBoxDocument> {
6
+ constructor(collections: NotificationFirestoreCollections, parent: NotificationBoxDocumentStore);
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<NotificationCollectionStore, [null, { optional: true; }]>;
8
+ static ɵprov: i0.ɵɵInjectableDeclaration<NotificationCollectionStore>;
9
+ }
@@ -0,0 +1,9 @@
1
+ import { type NotificationBox, type NotificationBoxDocument, type Notification, type NotificationDocument } from '@dereekb/firebase';
2
+ import { NotificationCollectionStore } from './notification.collection.store';
3
+ import { DbxFirebaseCollectionWithParentStoreDirective } from '../../../model/modules/store/store.subcollection.directive';
4
+ import * as i0 from "@angular/core";
5
+ export declare class DbxFirebaseNotificationCollectionStoreDirective extends DbxFirebaseCollectionWithParentStoreDirective<Notification, NotificationBox, NotificationDocument, NotificationBoxDocument, NotificationCollectionStore> {
6
+ constructor(store: NotificationCollectionStore);
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxFirebaseNotificationCollectionStoreDirective, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFirebaseNotificationCollectionStoreDirective, "[dbxFirebaseNotificationCollection]", never, {}, {}, never, never, true, never>;
9
+ }
@@ -0,0 +1,16 @@
1
+ import { AbstractDbxFirebaseDocumentWithParentStore } from '../../../model/modules/store/store.subcollection.document';
2
+ import { NotificationBoxDocumentStore } from './notificationbox.document.store';
3
+ import { Notification, NotificationBox, NotificationBoxDocument, NotificationDocument, NotificationFirestoreCollections, NotificationFunctions } from '@dereekb/firebase';
4
+ import * as i0 from "@angular/core";
5
+ export declare class NotificationDocumentStore extends AbstractDbxFirebaseDocumentWithParentStore<Notification, NotificationBox, NotificationDocument, NotificationBoxDocument> {
6
+ readonly notificationFunctions: NotificationFunctions;
7
+ constructor(collections: NotificationFirestoreCollections, parent: NotificationBoxDocumentStore);
8
+ readonly createdAt$: import("rxjs").Observable<import("dist/packages/util/src").Maybe<Date>>;
9
+ readonly nextSendAt$: import("rxjs").Observable<import("dist/packages/util/src").Maybe<Date>>;
10
+ readonly sendType$: import("rxjs").Observable<import("@dereekb/firebase").NotificationSendType>;
11
+ readonly sendAttemptsCount$: import("rxjs").Observable<number>;
12
+ readonly isUnique$: import("rxjs").Observable<import("dist/packages/util/src").Maybe<boolean>>;
13
+ readonly sendNotification: import("../../../model/modules/store/store.document.crud").DbxFirebaseDocumentStoreFunction<import("@dereekb/firebase").SendNotificationParams, import("@dereekb/firebase").SendNotificationResult>;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<NotificationDocumentStore, [null, { optional: true; }]>;
15
+ static ɵprov: i0.ɵɵInjectableDeclaration<NotificationDocumentStore>;
16
+ }
@@ -0,0 +1,9 @@
1
+ import { DbxFirebaseDocumentStoreDirective } from '../../../model/modules/store/store.document.directive';
2
+ import { type Notification, type NotificationDocument } from '@dereekb/firebase';
3
+ import { NotificationDocumentStore } from './notification.document.store';
4
+ import * as i0 from "@angular/core";
5
+ export declare class DbxFirebaseNotificationDocumentStoreDirective extends DbxFirebaseDocumentStoreDirective<Notification, NotificationDocument, NotificationDocumentStore> {
6
+ constructor(store: NotificationDocumentStore);
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxFirebaseNotificationDocumentStoreDirective, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFirebaseNotificationDocumentStoreDirective, "[dbxFirebaseNotificationDocument]", never, {}, {}, never, never, true, never>;
9
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dereekb/dbx-firebase",
3
- "version": "12.4.1",
3
+ "version": "12.4.3",
4
4
  "peerDependencies": {
5
5
  "@angular/core": "^18.0.0",
6
6
  "@dereekb/dbx-analytics": "*",