@dereekb/firebase 10.0.11 → 10.0.12

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.
package/index.esm.js CHANGED
@@ -3800,6 +3800,19 @@ const FIRESTORE_EMPTY_VALUE = null;
3800
3800
  *
3801
3801
  */
3802
3802
 
3803
+ // MARK: Other Types
3804
+ /**
3805
+ * A boolean that is only stored if it's value is true.
3806
+ *
3807
+ * Used with Firebase types to better indicate to the developer that this value is not stored to Firebase when true.
3808
+ */
3809
+
3810
+ /**
3811
+ * A boolean that is only stored if it's value is false.
3812
+ *
3813
+ * Used with Firebase types to better indicate to the developer that this value is not stored to Firebase when false.
3814
+ */
3815
+
3803
3816
  /**
3804
3817
  * Default value for firestoreField().
3805
3818
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dereekb/firebase",
3
- "version": "10.0.11",
3
+ "version": "10.0.12",
4
4
  "exports": {
5
5
  ".": {
6
6
  "types": "./src/index.d.ts",
@@ -59,3 +59,15 @@ export interface SnapshotConverterFunctions<T extends object, O extends object =
59
59
  export type SnapshotConverterFromFirestoreFunction<T extends object, O extends object = FirestoreModelData<T>> = (snapshot: DocumentSnapshot<O>, options?: SnapshotOptions) => T;
60
60
  export type SnapshotConverterFromFunction<T extends object, O extends object = FirestoreModelData<T>> = ApplyMapFunctionWithOptions<DocumentSnapshot<O>, T, SnapshotOptions>;
61
61
  export type SnapshotConverterToFunction<T extends object, O extends object = FirestoreModelData<T>> = ApplyMapFunctionWithOptions<T, O, SetOptions>;
62
+ /**
63
+ * A boolean that is only stored if it's value is true.
64
+ *
65
+ * Used with Firebase types to better indicate to the developer that this value is not stored to Firebase when true.
66
+ */
67
+ export type SavedToFirestoreIfTrue = boolean;
68
+ /**
69
+ * A boolean that is only stored if it's value is false.
70
+ *
71
+ * Used with Firebase types to better indicate to the developer that this value is not stored to Firebase when false.
72
+ */
73
+ export type SavedToFirestoreIfFalse = boolean;
package/test/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [10.0.12](https://github.com/dereekb/dbx-components/compare/v10.0.11-dev...v10.0.12) (2024-01-27)
6
+
7
+
8
+
5
9
  ## [10.0.11](https://github.com/dereekb/dbx-components/compare/v10.0.10-dev...v10.0.11) (2024-01-25)
6
10
 
7
11
 
package/test/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dereekb/firebase/test",
3
- "version": "10.0.11",
3
+ "version": "10.0.12",
4
4
  "type": "commonjs",
5
5
  "peerDependencies": {
6
6
  "@dereekb/util": "*",