@dereekb/firebase 13.11.2 → 13.11.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.
Files changed (75) hide show
  1. package/index.cjs.js +2440 -575
  2. package/index.esm.js +2419 -579
  3. package/package.json +5 -5
  4. package/src/lib/client/firestore/array.d.ts +1 -0
  5. package/src/lib/client/firestore/driver.accessor.batch.d.ts +1 -0
  6. package/src/lib/client/firestore/driver.accessor.create.d.ts +1 -0
  7. package/src/lib/client/firestore/driver.accessor.d.ts +1 -0
  8. package/src/lib/client/firestore/driver.accessor.default.d.ts +1 -0
  9. package/src/lib/client/firestore/driver.accessor.transaction.d.ts +1 -0
  10. package/src/lib/client/firestore/increment.d.ts +1 -0
  11. package/src/lib/client/function/development.function.factory.d.ts +1 -0
  12. package/src/lib/client/function/function.factory.d.ts +2 -0
  13. package/src/lib/client/function/model.function.factory.d.ts +1 -0
  14. package/src/lib/common/firestore/accessor/accessor.d.ts +1 -0
  15. package/src/lib/common/firestore/accessor/accessor.wrap.d.ts +1 -0
  16. package/src/lib/common/firestore/accessor/accessor.wrap.modify.d.ts +4 -0
  17. package/src/lib/common/firestore/accessor/array.d.ts +1 -0
  18. package/src/lib/common/firestore/accessor/document.d.ts +4 -0
  19. package/src/lib/common/firestore/accessor/document.paged.d.ts +134 -0
  20. package/src/lib/common/firestore/accessor/document.utility.d.ts +195 -0
  21. package/src/lib/common/firestore/accessor/increment.d.ts +1 -0
  22. package/src/lib/common/firestore/accessor/index.d.ts +1 -0
  23. package/src/lib/common/firestore/cache/cache.d.ts +1 -0
  24. package/src/lib/common/firestore/cache/cache.memory.d.ts +3 -0
  25. package/src/lib/common/firestore/collection/collection.d.ts +29 -2
  26. package/src/lib/common/firestore/collection/collection.group.d.ts +1 -0
  27. package/src/lib/common/firestore/collection/collection.query.d.ts +1 -0
  28. package/src/lib/common/firestore/collection/collection.single.d.ts +1 -0
  29. package/src/lib/common/firestore/collection/collection.util.d.ts +1 -0
  30. package/src/lib/common/firestore/collection/index.d.ts +1 -0
  31. package/src/lib/common/firestore/collection/subcollection.d.ts +1 -0
  32. package/src/lib/common/firestore/collection/subcollection.paged.d.ts +226 -0
  33. package/src/lib/common/firestore/collection/subcollection.single.d.ts +1 -0
  34. package/src/lib/common/firestore/context.d.ts +37 -1
  35. package/src/lib/common/firestore/driver/query.handler.d.ts +1 -0
  36. package/src/lib/common/firestore/error.d.ts +1 -0
  37. package/src/lib/common/firestore/query/constraint.d.ts +2 -0
  38. package/src/lib/common/firestore/query/iterator.d.ts +5 -0
  39. package/src/lib/common/firestore/query/query.d.ts +1 -0
  40. package/src/lib/common/firestore/snapshot/snapshot.d.ts +1 -0
  41. package/src/lib/common/firestore/snapshot/snapshot.field.d.ts +262 -0
  42. package/src/lib/common/firestore/util/id.batch.d.ts +1 -0
  43. package/src/lib/common/model/function.d.ts +1 -0
  44. package/src/lib/common/model/model.service.d.ts +8 -0
  45. package/src/lib/common/model/permission/permission.service.d.ts +1 -0
  46. package/src/lib/common/model/permission/permission.service.grant.d.ts +6 -0
  47. package/src/lib/common/storage/accessor/path.model.d.ts +1 -0
  48. package/src/lib/common/storage/context.d.ts +1 -0
  49. package/src/lib/common/storage/driver/accessor.iterate.d.ts +1 -0
  50. package/src/lib/common/storage/driver/list.d.ts +1 -0
  51. package/src/lib/common/storage/storage.d.ts +1 -0
  52. package/src/lib/model/notification/index.d.ts +2 -0
  53. package/src/lib/model/notification/notification.api.d.ts +36 -1
  54. package/src/lib/model/notification/notification.config.d.ts +1 -0
  55. package/src/lib/model/notification/notification.create.d.ts +2 -0
  56. package/src/lib/model/notification/notification.create.loggedevent.d.ts +33 -0
  57. package/src/lib/model/notification/notification.create.task.d.ts +1 -0
  58. package/src/lib/model/notification/notification.d.ts +179 -3
  59. package/src/lib/model/notification/notification.details.d.ts +1 -0
  60. package/src/lib/model/notification/notification.id.d.ts +23 -1
  61. package/src/lib/model/notification/notification.loggedevent.loader.d.ts +82 -0
  62. package/src/lib/model/notification/notification.message.d.ts +2 -0
  63. package/src/lib/model/notification/notification.query.d.ts +17 -0
  64. package/src/lib/model/notification/notification.util.d.ts +12 -1
  65. package/src/lib/model/storagefile/storagefile.create.d.ts +1 -0
  66. package/src/lib/model/storagefile/storagefile.d.ts +1 -0
  67. package/src/lib/model/storagefile/storagefile.file.d.ts +1 -0
  68. package/src/lib/model/storagefile/storagefile.permission.d.ts +1 -0
  69. package/src/lib/model/storagefile/storagefile.upload.d.ts +2 -0
  70. package/src/lib/model/storagefile/storagefile.upload.determiner.d.ts +2 -0
  71. package/test/index.cjs.js +1038 -1
  72. package/test/index.esm.js +1031 -3
  73. package/test/package.json +6 -6
  74. package/test/src/lib/common/mock/mock.item.d.ts +119 -2
  75. package/test/src/lib/common/mock/mock.item.service.d.ts +21 -1
@@ -123,6 +123,10 @@ export type FirestoreModelFieldMapFunctionsConfig<V, D> = ModelFieldMapFunctions
123
123
  * @param config - Configuration for the Firestore field
124
124
  * @returns A configured mapping between model and Firestore data
125
125
  *
126
+ * @dbxModelSnapshotField
127
+ * @dbxModelSnapshotFieldCategory primitive
128
+ * @dbxModelSnapshotFieldTags base, custom, transform, default, factory
129
+ * @dbxModelSnapshotFieldRelated optional-firestore-field
126
130
  * @example
127
131
  * ```ts
128
132
  * // Custom field that stores a Set<string> as a comma-separated string
@@ -132,6 +136,7 @@ export type FirestoreModelFieldMapFunctionsConfig<V, D> = ModelFieldMapFunctions
132
136
  * toData: (set) => [...set].join(',')
133
137
  * });
134
138
  * ```
139
+ * @__NO_SIDE_EFFECTS__
135
140
  */
136
141
  export declare function firestoreField<V, D = unknown>(config: FirestoreFieldConfig<V, D>): FirestoreModelFieldMapFunctionsConfig<V, D>;
137
142
  /**
@@ -139,6 +144,16 @@ export declare function firestoreField<V, D = unknown>(config: FirestoreFieldCon
139
144
  *
140
145
  * Defaults to `null` when the field is missing. Used internally by {@link firestorePassThroughField}
141
146
  * and as a fallback for {@link optionalFirestoreField} when no config is provided.
147
+ *
148
+ * @dbxModelSnapshotField
149
+ * @dbxModelSnapshotFieldCategory primitive
150
+ * @dbxModelSnapshotFieldTags passthrough, identity, raw, untransformed, builtin
151
+ * @example
152
+ * ```ts
153
+ * fields: {
154
+ * raw: FIRESTORE_PASSTHROUGH_FIELD
155
+ * }
156
+ * ```
142
157
  */
143
158
  export declare const FIRESTORE_PASSTHROUGH_FIELD: FirestoreModelFieldMapFunctionsConfig<unknown, unknown>;
144
159
  /**
@@ -149,6 +164,16 @@ export declare const FIRESTORE_PASSTHROUGH_FIELD: FirestoreModelFieldMapFunction
149
164
  *
150
165
  * @template T - Type for both the model field and Firestore field
151
166
  * @returns A field mapping configuration that passes values through unchanged
167
+ * @dbxModelSnapshotField
168
+ * @dbxModelSnapshotFieldCategory primitive
169
+ * @dbxModelSnapshotFieldTags passthrough, identity, raw, untransformed, factory
170
+ * @example
171
+ * ```ts
172
+ * fields: {
173
+ * payload: firestorePassThroughField<MyType>()
174
+ * }
175
+ * ```
176
+ * @__NO_SIDE_EFFECTS__
152
177
  */
153
178
  export declare function firestorePassThroughField<T>(): ModelFieldMapFunctionsConfig<T, T>;
154
179
  /**
@@ -267,6 +292,12 @@ export interface OptionalFirestoreFieldConfigWithOneTypeTransform<T> extends Opt
267
292
  * transformToData: toISODateString
268
293
  * });
269
294
  * ```
295
+ * @dbxModelSnapshotField
296
+ * @dbxModelSnapshotFieldCategory primitive
297
+ * @dbxModelSnapshotFieldOptional true
298
+ * @dbxModelSnapshotFieldTags base, optional, dontstore, transform, factory
299
+ * @dbxModelSnapshotFieldRelated firestore-field
300
+ * @__NO_SIDE_EFFECTS__
270
301
  */
271
302
  export declare function optionalFirestoreField<V, D>(config?: OptionalFirestoreFieldConfigWithTwoTypeTransform<V, D>): FirestoreModelFieldMapFunctionsConfig<Maybe<V>, Maybe<D>>;
272
303
  /**
@@ -347,6 +378,11 @@ export declare const DEFAULT_FIRESTORE_STRING_FIELD_VALUE = "";
347
378
  * // String field with lowercase transformation
348
379
  * const emailField = firestoreString({ transform: 'lowercase' });
349
380
  * ```
381
+ * @dbxModelSnapshotField
382
+ * @dbxModelSnapshotFieldCategory primitive
383
+ * @dbxModelSnapshotFieldTags string, text, transform, lowercase, factory
384
+ * @dbxModelSnapshotFieldRelated optional-firestore-string
385
+ * @__NO_SIDE_EFFECTS__
350
386
  */
351
387
  export declare function firestoreString<S extends string = string>(config?: FirestoreStringConfig<S>): FirestoreModelFieldMapFunctionsConfig<S, S>;
352
388
  /**
@@ -361,6 +397,18 @@ export type OptionalFirestoreString<S extends string = string> = OptionalOneType
361
397
  * @template S - String type for the field (defaults to string)
362
398
  * @param config - Configuration for the optional string field
363
399
  * @returns A field mapping configuration for optional string values
400
+ * @dbxModelSnapshotField
401
+ * @dbxModelSnapshotFieldCategory primitive
402
+ * @dbxModelSnapshotFieldOptional true
403
+ * @dbxModelSnapshotFieldTags string, text, optional, transform, factory
404
+ * @dbxModelSnapshotFieldRelated firestore-string
405
+ * @example
406
+ * ```ts
407
+ * fields: {
408
+ * nickname: optionalFirestoreString()
409
+ * }
410
+ * ```
411
+ * @__NO_SIDE_EFFECTS__
364
412
  */
365
413
  export declare function optionalFirestoreString<S extends string = string>(config?: OptionalFirestoreString<S>): FirestoreModelFieldMapFunctionsConfig<Maybe<S>, Maybe<S>>;
366
414
  /**
@@ -375,6 +423,17 @@ export type FirestoreEnumConfig<S extends string | number> = MapConfiguredFirest
375
423
  * @template S - Enum type (string or number)
376
424
  * @param config - Configuration for the enum field
377
425
  * @returns A field mapping configuration for enum values
426
+ * @dbxModelSnapshotField
427
+ * @dbxModelSnapshotFieldCategory primitive
428
+ * @dbxModelSnapshotFieldTags enum, string, number, factory
429
+ * @dbxModelSnapshotFieldRelated optional-firestore-enum
430
+ * @example
431
+ * ```ts
432
+ * fields: {
433
+ * status: firestoreEnum<UserStatus>({ default: UserStatus.Pending })
434
+ * }
435
+ * ```
436
+ * @__NO_SIDE_EFFECTS__
378
437
  */
379
438
  export declare function firestoreEnum<S extends string | number>(config: FirestoreEnumConfig<S>): FirestoreModelFieldMapFunctionsConfig<S, S>;
380
439
  /**
@@ -389,26 +448,69 @@ export type OptionalFirestoreEnumConfig<S extends string | number> = OptionalOne
389
448
  * @template S - Enum type (string or number)
390
449
  * @param config - Configuration for the optional enum field
391
450
  * @returns A field mapping configuration for optional enum values
451
+ * @dbxModelSnapshotField
452
+ * @dbxModelSnapshotFieldCategory primitive
453
+ * @dbxModelSnapshotFieldOptional true
454
+ * @dbxModelSnapshotFieldTags enum, optional, string, number, factory
455
+ * @dbxModelSnapshotFieldRelated firestore-enum
456
+ * @__NO_SIDE_EFFECTS__
392
457
  */
393
458
  export declare function optionalFirestoreEnum<S extends string | number>(config?: OptionalFirestoreEnumConfig<S>): FirestoreModelFieldMapFunctionsConfig<Maybe<S>, Maybe<S>>;
394
459
  /**
395
460
  * Creates a field mapping configuration for Firestore UID fields.
396
461
  *
397
462
  * @returns A field mapping configuration for Firebase Auth user IDs
463
+ * @dbxModelSnapshotField
464
+ * @dbxModelSnapshotFieldCategory model-key
465
+ * @dbxModelSnapshotFieldTags uid, user, owner, account, auth, string, factory
466
+ * @dbxModelSnapshotFieldRelated optional-firestore-uid
467
+ * @example
468
+ * ```ts
469
+ * fields: {
470
+ * uid: firestoreUID()
471
+ * }
472
+ * ```
473
+ * @__NO_SIDE_EFFECTS__
398
474
  */
399
475
  export declare function firestoreUID(): FirestoreModelFieldMapFunctionsConfig<string, string>;
400
476
  /**
401
477
  * Creates a field mapping configuration for optional Firestore UID fields.
402
478
  *
403
479
  * @returns A field mapping configuration for optional Firebase Auth user IDs
480
+ * @dbxModelSnapshotField
481
+ * @dbxModelSnapshotFieldCategory model-key
482
+ * @dbxModelSnapshotFieldOptional true
483
+ * @dbxModelSnapshotFieldTags uid, user, owner, account, auth, optional, string, factory
484
+ * @dbxModelSnapshotFieldRelated firestore-uid
485
+ * @__NO_SIDE_EFFECTS__
404
486
  */
405
487
  export declare function optionalFirestoreUID(): FirestoreModelFieldMapFunctionsConfig<Maybe<string>, Maybe<string>>;
406
488
  /**
407
489
  * Pre-built field mapping for Firestore model key strings. Defaults to empty string.
490
+ *
491
+ * @dbxModelSnapshotField
492
+ * @dbxModelSnapshotFieldCategory model-key
493
+ * @dbxModelSnapshotFieldTags model, key, string, reference, ref, pointer, builtin
494
+ * @example
495
+ * ```ts
496
+ * fields: {
497
+ * m: firestoreModelKeyString
498
+ * }
499
+ * ```
408
500
  */
409
501
  export declare const firestoreModelKeyString: FirestoreModelFieldMapFunctionsConfig<string, string>;
410
502
  /**
411
503
  * Pre-built field mapping for Firestore model ID strings. Defaults to empty string.
504
+ *
505
+ * @dbxModelSnapshotField
506
+ * @dbxModelSnapshotFieldCategory model-key
507
+ * @dbxModelSnapshotFieldTags model, id, string, reference, pointer, builtin
508
+ * @example
509
+ * ```ts
510
+ * fields: {
511
+ * id: firestoreModelIdString
512
+ * }
513
+ * ```
412
514
  */
413
515
  export declare const firestoreModelIdString: FirestoreModelFieldMapFunctionsConfig<string, string>;
414
516
  /**
@@ -441,6 +543,11 @@ export type FirestoreDateFieldConfig = DefaultMapConfiguredFirestoreFieldConfig<
441
543
  * // Date field with a fixed default
442
544
  * const startDateField = firestoreDate({ default: new Date('2020-01-01') });
443
545
  * ```
546
+ * @dbxModelSnapshotField
547
+ * @dbxModelSnapshotFieldCategory date
548
+ * @dbxModelSnapshotFieldTags date, time, iso, timestamp, factory
549
+ * @dbxModelSnapshotFieldRelated optional-firestore-date, firestore-date-number
550
+ * @__NO_SIDE_EFFECTS__
444
551
  */
445
552
  export declare function firestoreDate(config?: FirestoreDateFieldConfig): FirestoreModelFieldMapFunctionsConfig<Date, string>;
446
553
  /**
@@ -457,6 +564,18 @@ export type OptionalFirestoreDateFieldConfig = OptionalFirestoreFieldConfig<Date
457
564
  *
458
565
  * @param config - Configuration for the optional date field
459
566
  * @returns A field mapping configuration for optional Date values
567
+ * @dbxModelSnapshotField
568
+ * @dbxModelSnapshotFieldCategory date
569
+ * @dbxModelSnapshotFieldOptional true
570
+ * @dbxModelSnapshotFieldTags date, time, iso, optional, factory
571
+ * @dbxModelSnapshotFieldRelated firestore-date
572
+ * @example
573
+ * ```ts
574
+ * fields: {
575
+ * deletedAt: optionalFirestoreDate()
576
+ * }
577
+ * ```
578
+ * @__NO_SIDE_EFFECTS__
460
579
  */
461
580
  export declare function optionalFirestoreDate(config?: OptionalFirestoreDateFieldConfig): FirestoreModelFieldMapFunctionsConfig<Maybe<Date>, Maybe<string>>;
462
581
  /**
@@ -484,6 +603,11 @@ export type FirestoreDateNumberFieldConfig = DefaultMapConfiguredFirestoreFieldC
484
603
  *
485
604
  * @param config - Configuration including custom Date-to-number conversion functions
486
605
  * @returns A field mapping configuration for Date values stored as numbers
606
+ * @dbxModelSnapshotField
607
+ * @dbxModelSnapshotFieldCategory date
608
+ * @dbxModelSnapshotFieldTags date, number, timestamp, factory
609
+ * @dbxModelSnapshotFieldRelated optional-firestore-date-number, firestore-unix-date-time-seconds-number
610
+ * @__NO_SIDE_EFFECTS__
487
611
  */
488
612
  export declare function firestoreDateNumber(config: FirestoreDateNumberFieldConfig): FirestoreModelFieldMapFunctionsConfig<Date, number>;
489
613
  /**
@@ -498,6 +622,12 @@ export type OptionalFirestoreDateNumberFieldConfig = OptionalFirestoreFieldConfi
498
622
  *
499
623
  * @param config - Configuration for the optional date field
500
624
  * @returns A field mapping configuration for optional Date values
625
+ * @dbxModelSnapshotField
626
+ * @dbxModelSnapshotFieldCategory date
627
+ * @dbxModelSnapshotFieldOptional true
628
+ * @dbxModelSnapshotFieldTags date, number, timestamp, optional, factory
629
+ * @dbxModelSnapshotFieldRelated firestore-date-number
630
+ * @__NO_SIDE_EFFECTS__
501
631
  */
502
632
  export declare function optionalFirestoreDateNumber(config: OptionalFirestoreDateNumberFieldConfig): FirestoreModelFieldMapFunctionsConfig<Maybe<Date>, Maybe<number>>;
503
633
  export type FirestoreUnixDateTimeSecondsNumberFieldConfig = Omit<FirestoreDateNumberFieldConfig, 'fromDate' | 'toDate'>;
@@ -506,6 +636,7 @@ export type FirestoreUnixDateTimeSecondsNumberFieldConfig = Omit<FirestoreDateNu
506
636
  *
507
637
  * @param config - Configuration for the date field
508
638
  * @returns A field mapping configuration for Date values
639
+ * @__NO_SIDE_EFFECTS__
509
640
  */
510
641
  export declare function firestoreUnixDateTimeSecondsNumber(config: FirestoreUnixDateTimeSecondsNumberFieldConfig): FirestoreModelFieldMapFunctionsConfig<Date, number>;
511
642
  export type OptionalFirestoreUnixDateTimeSecondsNumberFieldConfig = Omit<OptionalFirestoreDateNumberFieldConfig, 'fromDate' | 'toDate'>;
@@ -514,6 +645,7 @@ export type OptionalFirestoreUnixDateTimeSecondsNumberFieldConfig = Omit<Optiona
514
645
  *
515
646
  * @param config - Configuration for the optional date field
516
647
  * @returns A field mapping configuration for optional Date values
648
+ * @__NO_SIDE_EFFECTS__
517
649
  */
518
650
  export declare function optionalFirestoreUnixDateTimeSecondsNumber(config?: OptionalFirestoreUnixDateTimeSecondsNumberFieldConfig): FirestoreModelFieldMapFunctionsConfig<Maybe<Date>, Maybe<number>>;
519
651
  /**
@@ -525,6 +657,17 @@ export type FirestoreBooleanFieldConfig = MapConfiguredFirestoreFieldConfigWithD
525
657
  *
526
658
  * @param config - Configuration for the boolean field
527
659
  * @returns A field mapping configuration for boolean values
660
+ * @dbxModelSnapshotField
661
+ * @dbxModelSnapshotFieldCategory primitive
662
+ * @dbxModelSnapshotFieldTags boolean, flag, factory
663
+ * @dbxModelSnapshotFieldRelated optional-firestore-boolean
664
+ * @example
665
+ * ```ts
666
+ * fields: {
667
+ * active: firestoreBoolean({ default: true })
668
+ * }
669
+ * ```
670
+ * @__NO_SIDE_EFFECTS__
528
671
  */
529
672
  export declare function firestoreBoolean(config: FirestoreBooleanFieldConfig): FirestoreModelFieldMapFunctionsConfig<boolean, boolean>;
530
673
  /**
@@ -536,6 +679,18 @@ export type OptionalFirestoreBooleanFieldConfig = OptionalOneTypeFirestoreFieldC
536
679
  *
537
680
  * @param config - Configuration for the optional boolean field
538
681
  * @returns A field mapping configuration for optional boolean values
682
+ * @dbxModelSnapshotField
683
+ * @dbxModelSnapshotFieldCategory primitive
684
+ * @dbxModelSnapshotFieldOptional true
685
+ * @dbxModelSnapshotFieldTags boolean, flag, optional, dontstore, factory
686
+ * @dbxModelSnapshotFieldRelated firestore-boolean
687
+ * @example
688
+ * ```ts
689
+ * fields: {
690
+ * ns: optionalFirestoreBoolean()
691
+ * }
692
+ * ```
693
+ * @__NO_SIDE_EFFECTS__
539
694
  */
540
695
  export declare function optionalFirestoreBoolean(config?: OptionalFirestoreBooleanFieldConfig): FirestoreModelFieldMapFunctionsConfig<Maybe<boolean>, Maybe<boolean>>;
541
696
  /**
@@ -559,6 +714,17 @@ export interface FirestoreNumberConfig<N extends number = number> extends MapCon
559
714
  * @template N - Number type for the field (defaults to number)
560
715
  * @param config - Configuration for the number field
561
716
  * @returns A field mapping configuration for number values
717
+ * @dbxModelSnapshotField
718
+ * @dbxModelSnapshotFieldCategory primitive
719
+ * @dbxModelSnapshotFieldTags number, integer, transform, factory
720
+ * @dbxModelSnapshotFieldRelated optional-firestore-number
721
+ * @example
722
+ * ```ts
723
+ * fields: {
724
+ * count: firestoreNumber({ default: 0 })
725
+ * }
726
+ * ```
727
+ * @__NO_SIDE_EFFECTS__
562
728
  */
563
729
  export declare function firestoreNumber<N extends number = number>(config: FirestoreNumberConfig<N>): FirestoreModelFieldMapFunctionsConfig<N, N>;
564
730
  /**
@@ -573,6 +739,12 @@ export type OptionalFirestoreNumberFieldConfig<N extends number = number> = Opti
573
739
  * @template N - Number type for the field (defaults to number)
574
740
  * @param config - Configuration for the optional number field
575
741
  * @returns A field mapping configuration for optional number values
742
+ * @dbxModelSnapshotField
743
+ * @dbxModelSnapshotFieldCategory primitive
744
+ * @dbxModelSnapshotFieldOptional true
745
+ * @dbxModelSnapshotFieldTags number, integer, optional, transform, factory
746
+ * @dbxModelSnapshotFieldRelated firestore-number
747
+ * @__NO_SIDE_EFFECTS__
576
748
  */
577
749
  export declare function optionalFirestoreNumber<N extends number = number>(config?: OptionalFirestoreNumberFieldConfig<N>): FirestoreModelFieldMapFunctionsConfig<Maybe<N>, Maybe<N>>;
578
750
  /**
@@ -598,6 +770,11 @@ export type FirestoreArrayFieldConfig<T> = DefaultMapConfiguredFirestoreFieldCon
598
770
  * sortWith: (a, b) => a.localeCompare(b)
599
771
  * });
600
772
  * ```
773
+ * @dbxModelSnapshotField
774
+ * @dbxModelSnapshotFieldCategory array
775
+ * @dbxModelSnapshotFieldTags array, list, sort, factory
776
+ * @dbxModelSnapshotFieldRelated optional-firestore-array, firestore-unique-array
777
+ * @__NO_SIDE_EFFECTS__
601
778
  */
602
779
  export declare function firestoreArray<T>(config: FirestoreArrayFieldConfig<T>): FirestoreModelFieldMapFunctionsConfig<T[], T[]>;
603
780
  /**
@@ -629,6 +806,18 @@ export type OptionalFirestoreArrayFieldConfig<T> = Omit<OptionalFirestoreFieldCo
629
806
  * @template T - Type of elements in the array
630
807
  * @param config - Configuration for the optional array field
631
808
  * @returns A field mapping configuration for optional array values
809
+ * @dbxModelSnapshotField
810
+ * @dbxModelSnapshotFieldCategory array
811
+ * @dbxModelSnapshotFieldOptional true
812
+ * @dbxModelSnapshotFieldTags array, list, optional, unique, dontstore, factory
813
+ * @dbxModelSnapshotFieldRelated firestore-array
814
+ * @example
815
+ * ```ts
816
+ * fields: {
817
+ * tags: optionalFirestoreArray<string>({ filterUnique: true, dontStoreIfEmpty: true })
818
+ * }
819
+ * ```
820
+ * @__NO_SIDE_EFFECTS__
632
821
  */
633
822
  export declare function optionalFirestoreArray<T>(config?: OptionalFirestoreArrayFieldConfig<T>): FirestoreModelFieldMapFunctionsConfig<Maybe<T[]>, Maybe<T[]>>;
634
823
  /**
@@ -650,6 +839,7 @@ export type FirestoreUniqueArrayFieldConfig<T, K extends PrimativeKey = T extend
650
839
  * @template K - Key type for filtering uniqueness
651
840
  * @param config - Configuration for the unique array field
652
841
  * @returns A field mapping configuration for unique array values
842
+ * @__NO_SIDE_EFFECTS__
653
843
  */
654
844
  export declare function firestoreUniqueArray<T, K extends PrimativeKey = T extends PrimativeKey ? T : PrimativeKey>(config: FirestoreUniqueArrayFieldConfig<T, K>): FirestoreModelFieldMapFunctionsConfig<T[], T[]>;
655
845
  /**
@@ -671,6 +861,7 @@ export type FirestoreUniqueKeyedArrayFieldConfig<T, K extends PrimativeKey = Pri
671
861
  * @template K - Type of the key used for uniqueness
672
862
  * @param config - Configuration for the keyed unique array field
673
863
  * @returns A field mapping configuration for keyed unique array values
864
+ * @__NO_SIDE_EFFECTS__
674
865
  */
675
866
  export declare function firestoreUniqueKeyedArray<T, K extends PrimativeKey = PrimativeKey>(config: FirestoreUniqueKeyedArrayFieldConfig<T, K>): FirestoreModelFieldMapFunctionsConfig<T[], T[]>;
676
867
  /**
@@ -685,6 +876,10 @@ export type FirestoreEnumArrayFieldConfig<S extends string | number> = Omit<Fire
685
876
  * @template S - Enum type (string or number)
686
877
  * @param config - Configuration for the enum array field
687
878
  * @returns A field mapping configuration for enum array values
879
+ * @dbxModelSnapshotField
880
+ * @dbxModelSnapshotFieldCategory array
881
+ * @dbxModelSnapshotFieldTags array, enum, unique, flags, tags, factory
882
+ * @__NO_SIDE_EFFECTS__
688
883
  */
689
884
  export declare function firestoreEnumArray<S extends string | number>(config?: FirestoreEnumArrayFieldConfig<S>): FirestoreModelFieldMapFunctionsConfig<S[], S[]>;
690
885
  /**
@@ -699,15 +894,30 @@ export type FirestoreUniqueStringArrayFieldConfig<S extends string = string> = O
699
894
  * @template S - String type (defaults to string)
700
895
  * @param config - Configuration for the unique string array field
701
896
  * @returns A field mapping configuration for unique string array values
897
+ * @__NO_SIDE_EFFECTS__
702
898
  */
703
899
  export declare function firestoreUniqueStringArray<S extends string = string>(config?: FirestoreUniqueStringArrayFieldConfig<S>): FirestoreModelFieldMapFunctionsConfig<S[], S[]>;
704
900
  /**
705
901
  * Pre-built field mapping for arrays of unique Firestore model key strings.
902
+ *
903
+ * @dbxModelSnapshotField
904
+ * @dbxModelSnapshotFieldCategory model-key
905
+ * @dbxModelSnapshotFieldTags model, key, array, unique, reference, ref, pointer, builtin
906
+ * @example
907
+ * ```ts
908
+ * fields: {
909
+ * b: firestoreModelKeyArrayField
910
+ * }
911
+ * ```
706
912
  */
707
913
  export declare const firestoreModelKeyArrayField: FirestoreModelFieldMapFunctionsConfig<string[], string[]>;
708
914
  /**
709
915
  * Pre-built field mapping for arrays of unique Firestore model ID strings.
710
916
  * Alias for {@link firestoreModelKeyArrayField}.
917
+ *
918
+ * @dbxModelSnapshotField
919
+ * @dbxModelSnapshotFieldCategory model-key
920
+ * @dbxModelSnapshotFieldTags model, id, array, unique, reference, pointer, builtin
711
921
  */
712
922
  export declare const firestoreModelIdArrayField: FirestoreModelFieldMapFunctionsConfig<string[], string[]>;
713
923
  /**
@@ -722,6 +932,7 @@ export type FirestoreUniqueNumberArrayFieldConfig<S extends number = number> = O
722
932
  * @template S - Number type (defaults to number)
723
933
  * @param config - Configuration for the unique number array field
724
934
  * @returns A field mapping configuration for unique number array values
935
+ * @__NO_SIDE_EFFECTS__
725
936
  */
726
937
  export declare function firestoreUniqueNumberArray<S extends number = number>(config?: FirestoreUniqueNumberArrayFieldConfig<S>): FirestoreModelFieldMapFunctionsConfig<S[], S[]>;
727
938
  /**
@@ -755,6 +966,7 @@ export type FirestoreEncodedArrayFieldConfig<T, E extends string | number> = Def
755
966
  * @template E - Type of encoded elements in Firestore (string or number)
756
967
  * @param config - Configuration for the encoded array field
757
968
  * @returns A field mapping configuration for encoded array values
969
+ * @__NO_SIDE_EFFECTS__
758
970
  */
759
971
  export declare function firestoreEncodedArray<T, E extends string | number>(config: FirestoreEncodedArrayFieldConfig<T, E>): FirestoreModelFieldMapFunctionsConfig<T[], E[]>;
760
972
  /**
@@ -779,6 +991,7 @@ export type FirestoreDencoderArrayFieldConfig<D extends PrimativeKey, E extends
779
991
  * @template E - Type of encoded elements in Firestore
780
992
  * @param config - Configuration for the decoder array field
781
993
  * @returns A field mapping configuration for encoded primative key array values
994
+ * @__NO_SIDE_EFFECTS__
782
995
  */
783
996
  export declare function firestoreDencoderArray<D extends PrimativeKey, E extends PrimativeKey>(config: FirestoreDencoderArrayFieldConfig<D, E>): FirestoreModelFieldMapFunctionsConfig<D[], E[]>;
784
997
  /**
@@ -804,6 +1017,7 @@ export type FirestoreDencoderStringArrayFieldConfig<D extends PrimativeKey, E ex
804
1017
  * @template S - String type for storage in Firestore
805
1018
  * @param config - Configuration for the string decoder array field
806
1019
  * @returns A field mapping configuration for string-encoded primative key array values
1020
+ * @__NO_SIDE_EFFECTS__
807
1021
  */
808
1022
  export declare function firestoreDencoderStringArray<D extends PrimativeKey, E extends PrimativeKey, S extends string = string>(config: FirestoreDencoderStringArrayFieldConfig<D, E, S>): FirestoreModelFieldMapFunctionsConfig<D[], S>;
809
1023
  /**
@@ -846,6 +1060,10 @@ export type FirestoreMapFieldConfig<T, K extends string = string> = DefaultMapCo
846
1060
  * mapFilter: KeyValueTypleValueFilter.EMPTY
847
1061
  * });
848
1062
  * ```
1063
+ * @dbxModelSnapshotField
1064
+ * @dbxModelSnapshotFieldCategory map
1065
+ * @dbxModelSnapshotFieldTags map, record, dictionary, dict, factory
1066
+ * @__NO_SIDE_EFFECTS__
849
1067
  */
850
1068
  export declare function firestoreMap<T, K extends string = string>(config?: FirestoreMapFieldConfig<T, K>): FirestoreModelFieldMapFunctionsConfig<FirestoreMapFieldType<T, K>, FirestoreMapFieldType<T, K>>;
851
1069
  /**
@@ -854,6 +1072,7 @@ export declare function firestoreMap<T, K extends string = string>(config?: Fire
854
1072
  * Filters out models with no/null roles by default.
855
1073
  *
856
1074
  * @returns A field mapping configuration for a map of granted roles keyed by FirestoreModelKey
1075
+ * @__NO_SIDE_EFFECTS__
857
1076
  */
858
1077
  export declare function firestoreModelKeyGrantedRoleMap<R extends GrantedRole>(): FirestoreModelFieldMapFunctionsConfig<FirestoreMapFieldType<R, string>, FirestoreMapFieldType<R, string>>;
859
1078
  /**
@@ -893,6 +1112,7 @@ export type FirestoreEncodedObjectMapFieldConfig<T, E, S extends string = string
893
1112
  * @template S - Key type (string, defaults to string)
894
1113
  * @param config - Configuration including encoder/decoder functions
895
1114
  * @returns A field mapping configuration for encoded map values
1115
+ * @__NO_SIDE_EFFECTS__
896
1116
  */
897
1117
  export declare function firestoreEncodedObjectMap<T, E, S extends string = string>(config: FirestoreEncodedObjectMapFieldConfig<T, E, S>): FirestoreModelFieldMapFunctionsConfig<FirestoreEncodedObjectMapFieldValueType<T, S>, FirestoreMapFieldType<E, S>>;
898
1118
  export type FirestoreDencoderMapFieldValueType<D extends PrimativeKey, S extends string = string> = FirestoreEncodedObjectMapFieldValueType<D[], S>;
@@ -913,6 +1133,7 @@ export type FirestoreDencoderMapFieldConfig<D extends PrimativeKey, E extends Pr
913
1133
  * @template S - Key type for the map (string, defaults to string)
914
1134
  * @param config - Configuration including the dencoder function
915
1135
  * @returns A field mapping configuration for dencoder-mapped values
1136
+ * @__NO_SIDE_EFFECTS__
916
1137
  */
917
1138
  export declare function firestoreDencoderMap<D extends PrimativeKey, E extends PrimativeKey, S extends string = string>(config: FirestoreDencoderMapFieldConfig<D, E, S>): FirestoreModelFieldMapFunctionsConfig<FirestoreEncodedObjectMapFieldValueType<D[], S>, FirestoreMapFieldType<E, S>>;
918
1139
  /**
@@ -922,6 +1143,7 @@ export declare function firestoreDencoderMap<D extends PrimativeKey, E extends P
922
1143
  *
923
1144
  * @param dencoder - The dencoder function used to encode and decode the role values
924
1145
  * @returns A field mapping configuration for an encoded granted role map keyed by FirestoreModelKey
1146
+ * @__NO_SIDE_EFFECTS__
925
1147
  */
926
1148
  export declare function firestoreModelKeyEncodedGrantedRoleMap<D extends GrantedRole, E extends string>(dencoder: PrimativeKeyStringDencoderFunction<D, E>): FirestoreModelFieldMapFunctionsConfig<FirestoreEncodedObjectMapFieldValueType<D[], string>, FirestoreMapFieldType<E, string>>;
927
1149
  /**
@@ -938,6 +1160,10 @@ export type FirestoreArrayMapFieldConfig<T, K extends string = string> = Firesto
938
1160
  * @template K - Key type for the map (string)
939
1161
  * @param config - Configuration for the array map field
940
1162
  * @returns A field mapping configuration for map values with array entries
1163
+ * @dbxModelSnapshotField
1164
+ * @dbxModelSnapshotFieldCategory map
1165
+ * @dbxModelSnapshotFieldTags map, array, lookup, multi-value, factory
1166
+ * @__NO_SIDE_EFFECTS__
941
1167
  */
942
1168
  export declare function firestoreArrayMap<T, K extends string = string>(config?: FirestoreArrayMapFieldConfig<T, K>): FirestoreModelFieldMapFunctionsConfig<FirestoreMapFieldType<T[], K>, FirestoreMapFieldType<T[], K>>;
943
1169
  /**
@@ -946,6 +1172,7 @@ export declare function firestoreArrayMap<T, K extends string = string>(config?:
946
1172
  * Filters empty roles/arrays by default.
947
1173
  *
948
1174
  * @returns A field mapping configuration for a map of granted role arrays keyed by FirestoreModelKey
1175
+ * @__NO_SIDE_EFFECTS__
949
1176
  */
950
1177
  export declare function firestoreModelKeyGrantedRoleArrayMap<R extends GrantedRole>(): FirestoreModelFieldMapFunctionsConfig<FirestoreMapFieldType<R[], string>, FirestoreMapFieldType<R[], string>>;
951
1178
  /**
@@ -987,6 +1214,7 @@ export type FirestoreObjectArrayFieldConfigFirestoreFieldInput<T extends object,
987
1214
  *
988
1215
  * @param config - The FirestoreModelFieldMapFunctionsConfig to convert
989
1216
  * @returns A ModelMapFunctionsRef wrapping the derived map functions
1217
+ * @__NO_SIDE_EFFECTS__
990
1218
  */
991
1219
  export declare function firestoreFieldConfigToModelMapFunctionsRef<T extends object, O extends object = FirestoreModelData<T>>(config: FirestoreModelFieldMapFunctionsConfig<T, O>): ModelMapFunctionsRef<T, O>;
992
1220
  /**
@@ -1011,6 +1239,11 @@ export declare function firestoreFieldConfigToModelMapFunctionsRef<T extends obj
1011
1239
  * sortWith: sortAscendingIndexNumberRefFunction()
1012
1240
  * });
1013
1241
  * ```
1242
+ * @dbxModelSnapshotField
1243
+ * @dbxModelSnapshotFieldCategory object
1244
+ * @dbxModelSnapshotFieldTags array, object, embedded, nested, structured, factory
1245
+ * @dbxModelSnapshotFieldRelated firestore-sub-object
1246
+ * @__NO_SIDE_EFFECTS__
1014
1247
  */
1015
1248
  export declare function firestoreObjectArray<T extends object, O extends object = FirestoreModelData<T>>(config: FirestoreObjectArrayFieldConfig<T, O>): FirestoreModelFieldMapFunctionsConfig<T[], O[]>;
1016
1249
  /**
@@ -1052,6 +1285,11 @@ export type FirestoreSubObjectFieldMapFunctionsConfig<T extends object, O extend
1052
1285
  * }
1053
1286
  * });
1054
1287
  * ```
1288
+ * @dbxModelSnapshotField
1289
+ * @dbxModelSnapshotFieldCategory object
1290
+ * @dbxModelSnapshotFieldTags object, nested, embedded, structured, factory
1291
+ * @dbxModelSnapshotFieldRelated firestore-object-array
1292
+ * @__NO_SIDE_EFFECTS__
1055
1293
  */
1056
1294
  export declare function firestoreSubObject<T extends object, O extends object = FirestoreModelData<T>>(config: FirestoreSubObjectFieldConfig<T, O>): FirestoreSubObjectFieldMapFunctionsConfig<T, O>;
1057
1295
  export interface FirestoreLatLngStringConfig extends DefaultMapConfiguredFirestoreFieldConfig<LatLngString, LatLngString> {
@@ -1069,6 +1307,16 @@ export interface FirestoreLatLngStringConfig extends DefaultMapConfiguredFiresto
1069
1307
  *
1070
1308
  * @param config - Optional precision and default value configuration
1071
1309
  * @returns A field mapping configuration for LatLngString values
1310
+ * @dbxModelSnapshotField
1311
+ * @dbxModelSnapshotFieldCategory geo
1312
+ * @dbxModelSnapshotFieldTags geo, latlng, location, coordinates, coords, geolocation, factory
1313
+ * @example
1314
+ * ```ts
1315
+ * fields: {
1316
+ * loc: firestoreLatLngString()
1317
+ * }
1318
+ * ```
1319
+ * @__NO_SIDE_EFFECTS__
1072
1320
  */
1073
1321
  export declare function firestoreLatLngString(config?: FirestoreLatLngStringConfig): FirestoreModelFieldMapFunctionsConfig<`${number},${number}`, `${number},${number}`>;
1074
1322
  export type FirestoreTimezoneStringConfig = DefaultMapConfiguredFirestoreFieldConfig<TimezoneString, TimezoneString>;
@@ -1079,6 +1327,7 @@ export type FirestoreTimezoneStringConfig = DefaultMapConfiguredFirestoreFieldCo
1079
1327
  *
1080
1328
  * @param config - Optional configuration for the timezone string field, including default value and pre-save default.
1081
1329
  * @returns A configured Firestore field that stores a TimezoneString value.
1330
+ * @__NO_SIDE_EFFECTS__
1082
1331
  */
1083
1332
  export declare function firestoreTimezoneString(config?: FirestoreTimezoneStringConfig): FirestoreModelFieldMapFunctionsConfig<string, string>;
1084
1333
  export declare const DEFAULT_WEBSITE_LINK: WebsiteLink;
@@ -1088,12 +1337,14 @@ export declare const firestoreWebsiteLinkAssignFn: MapFunction<WebsiteLink, Webs
1088
1337
  * Creates a field mapping configuration for Firestore website link fields.
1089
1338
  *
1090
1339
  * @returns A field mapping configuration for website link values
1340
+ * @__NO_SIDE_EFFECTS__
1091
1341
  */
1092
1342
  export declare function firestoreWebsiteLink(): FirestoreModelFieldMapFunctionsConfig<WebsiteLink, WebsiteLink>;
1093
1343
  /**
1094
1344
  * Creates a field mapping configuration for Firestore arrays of WebsiteLink values.
1095
1345
  *
1096
1346
  * @returns A field mapping configuration for WebsiteLink array values
1347
+ * @__NO_SIDE_EFFECTS__
1097
1348
  */
1098
1349
  export declare function firestoreWebsiteLinkArray(): FirestoreModelFieldMapFunctionsConfig<WebsiteLink[], WebsiteLink[]>;
1099
1350
  export declare const DEFAULT_FIRESTORE_WEBSITE_FILE_LINK_VALUE: WebsiteFileLink;
@@ -1103,18 +1354,21 @@ export declare const firestoreWebsiteFileLinkAssignFn: MapFunction<WebsiteFileLi
1103
1354
  * Creates a field mapping configuration for Firestore website file link fields.
1104
1355
  *
1105
1356
  * @returns A field mapping configuration for website file link values
1357
+ * @__NO_SIDE_EFFECTS__
1106
1358
  */
1107
1359
  export declare function firestoreWebsiteFileLink(): FirestoreModelFieldMapFunctionsConfig<WebsiteFileLink, WebsiteFileLink>;
1108
1360
  /**
1109
1361
  * Stores the array of WebsiteFileLink values as an array of objects.
1110
1362
  *
1111
1363
  * @returns A field mapping configuration for WebsiteFileLink array values stored as objects
1364
+ * @__NO_SIDE_EFFECTS__
1112
1365
  */
1113
1366
  export declare function firestoreWebsiteFileLinkObjectArray(): FirestoreModelFieldMapFunctionsConfig<WebsiteFileLink[], WebsiteFileLink[]>;
1114
1367
  /**
1115
1368
  * Stores the array of WebsiteFileLink values as an array of EncodedWebsiteFileLink values.
1116
1369
  *
1117
1370
  * @returns A field mapping configuration for WebsiteFileLink array values stored in encoded form
1371
+ * @__NO_SIDE_EFFECTS__
1118
1372
  */
1119
1373
  export declare function firestoreWebsiteFileLinkEncodedArray(): FirestoreModelFieldMapFunctionsConfig<WebsiteFileLink[], string[]>;
1120
1374
  export declare const DEFAULT_DATE_CELL_RANGE_VALUE: DateCellRange;
@@ -1124,6 +1378,7 @@ export declare const firestoreDateCellRangeAssignFn: MapFunction<DateCellRange,
1124
1378
  * Creates a field mapping configuration for Firestore date cell range fields.
1125
1379
  *
1126
1380
  * @returns A field mapping configuration for date cell range values
1381
+ * @__NO_SIDE_EFFECTS__
1127
1382
  */
1128
1383
  export declare function firestoreDateCellRange(): FirestoreModelFieldMapFunctionsConfig<DateCellRange, DateCellRange>;
1129
1384
  /**
@@ -1131,6 +1386,7 @@ export declare function firestoreDateCellRange(): FirestoreModelFieldMapFunction
1131
1386
  *
1132
1387
  * @param sort - Whether to sort the array by index number; defaults to true
1133
1388
  * @returns A field mapping configuration for DateCellRange array values
1389
+ * @__NO_SIDE_EFFECTS__
1134
1390
  */
1135
1391
  export declare function firestoreDateCellRangeArray(sort?: boolean): FirestoreModelFieldMapFunctionsConfig<DateCellRange[], DateCellRange[]>;
1136
1392
  export declare const DEFAULT_FIRESTORE_DATE_CELL_SCHEDULE_VALUE: DateCellSchedule;
@@ -1140,6 +1396,7 @@ export declare const firestoreDateCellScheduleAssignFn: MapFunction<DateCellSche
1140
1396
  * Creates a field mapping configuration for Firestore date cell schedule fields.
1141
1397
  *
1142
1398
  * @returns A field mapping configuration for date cell schedule values
1399
+ * @__NO_SIDE_EFFECTS__
1143
1400
  */
1144
1401
  export declare function firestoreDateCellSchedule(): FirestoreModelFieldMapFunctionsConfig<DateCellSchedule, DateCellSchedule>;
1145
1402
  export declare const DEFAULT_FIRESTORE_UNITED_STATES_ADDRESS_VALUE: UnitedStatesAddress;
@@ -1158,12 +1415,14 @@ export declare const firestoreUnitedStatesAddressAssignFn: MapFunction<UnitedSta
1158
1415
  * Creates a field mapping configuration for Firestore United States address fields.
1159
1416
  *
1160
1417
  * @returns A field mapping configuration for United States address values
1418
+ * @__NO_SIDE_EFFECTS__
1161
1419
  */
1162
1420
  export declare function firestoreUnitedStatesAddress(): FirestoreModelFieldMapFunctionsConfig<UnitedStatesAddress, UnitedStatesAddress>;
1163
1421
  /**
1164
1422
  * Creates a field mapping configuration for optional Firestore United States address fields.
1165
1423
  *
1166
1424
  * @returns A field mapping configuration for optional United States address values
1425
+ * @__NO_SIDE_EFFECTS__
1167
1426
  */
1168
1427
  export declare function optionalFirestoreUnitedStatesAddress(): FirestoreModelFieldMapFunctionsConfig<Maybe<UnitedStatesAddress>, Maybe<UnitedStatesAddress>>;
1169
1428
  export declare const MIN_FIRESTORE_MAP_ZOOM_LEVEL_VALUE: ZoomLevel;
@@ -1191,6 +1450,7 @@ export interface FirestoreBitwiseSetConfig<D extends number = number> extends De
1191
1450
  * @template D - Type of number elements in the set (defaults to number)
1192
1451
  * @param config - Configuration for the bitwise set field
1193
1452
  * @returns A field mapping configuration for bitwise-encoded set values
1453
+ * @__NO_SIDE_EFFECTS__
1194
1454
  */
1195
1455
  export declare function firestoreBitwiseSet<D extends number = number>(config: FirestoreBitwiseSetConfig<D>): FirestoreModelFieldMapFunctionsConfig<Set<D>, number>;
1196
1456
  /**
@@ -1212,6 +1472,7 @@ export interface FirestoreBitwiseSetMapConfig<D extends number = number, K exten
1212
1472
  * @template K - Type of keys in the object (string)
1213
1473
  * @param config - Configuration for the bitwise set map field
1214
1474
  * @returns A field mapping configuration for object maps with bitwise-encoded set values
1475
+ * @__NO_SIDE_EFFECTS__
1215
1476
  */
1216
1477
  export declare function firestoreBitwiseSetMap<D extends number = number, K extends string = string>(config: FirestoreBitwiseSetMapConfig<D, K>): FirestoreModelFieldMapFunctionsConfig<FirestoreEncodedObjectMapFieldValueType<Set<D>, K>, FirestoreMapFieldType<number, K>>;
1217
1478
  /**
@@ -1233,5 +1494,6 @@ export interface FirestoreBitwiseObjectMapConfig<T extends object, K extends str
1233
1494
  * @template K - Type of keys in the object (string)
1234
1495
  * @param config - Configuration for the bitwise object map field
1235
1496
  * @returns A field mapping configuration for object maps with bitwise-encoded object values
1497
+ * @__NO_SIDE_EFFECTS__
1236
1498
  */
1237
1499
  export declare function firestoreBitwiseObjectMap<T extends object, K extends string = string>(config: FirestoreBitwiseObjectMapConfig<T, K>): FirestoreModelFieldMapFunctionsConfig<FirestoreEncodedObjectMapFieldValueType<T, K>, FirestoreMapFieldType<number, K>>;
@@ -73,5 +73,6 @@ export type FirestoreIdBatchVerifierFactory<T, I extends PrimativeKey> = Factory
73
73
  * const verifier = factory(myCollection);
74
74
  * // verifier can now check batches of IDs for uniqueness
75
75
  * ```
76
+ * @__NO_SIDE_EFFECTS__
76
77
  */
77
78
  export declare function firestoreIdBatchVerifierFactory<T, I extends PrimativeKey>(config: FirestoreIdBatchVerifierFactoryConfig<T, I>): FirestoreIdBatchVerifierFactory<T, I>;
@@ -50,6 +50,7 @@ export type OnCallTypeModelParamsFunction = <T>(modelTypeInput: FirestoreModelTy
50
50
  * const params = createParams('notification', { title: 'Hello' });
51
51
  * // params === { call: 'create', modelType: 'notification', data: { title: 'Hello' } }
52
52
  * ```
53
+ * @__NO_SIDE_EFFECTS__
53
54
  */
54
55
  export declare function onCallTypedModelParamsFunction(call?: Maybe<OnCallFunctionType>): OnCallTypeModelParamsFunction;
55
56
  /**