@dereekb/firebase 12.6.9 → 12.6.11
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/package.json
CHANGED
|
@@ -10,9 +10,9 @@ import { type ArrayOrValue, type Maybe, type ModelKey, type ModelTypeString } fr
|
|
|
10
10
|
*
|
|
11
11
|
* This represents the entity type in the domain model and is used for type identification.
|
|
12
12
|
* Model types should follow standard TypeScript naming conventions (typically PascalCase
|
|
13
|
-
* or camelCase) and represent the singular form of the entity (e.g., 'user', '
|
|
13
|
+
* or camelCase) and represent the singular form of the entity (e.g., 'user', 'post').
|
|
14
14
|
*
|
|
15
|
-
* @example 'user', '
|
|
15
|
+
* @example 'user', 'post', 'order'
|
|
16
16
|
*/
|
|
17
17
|
export type FirestoreModelType = ModelTypeString;
|
|
18
18
|
/**
|
|
@@ -24,7 +24,7 @@ export type FirestoreModelType = ModelTypeString;
|
|
|
24
24
|
* Each collection name in the app should be unique, as usage of CollectionGroups would cause collections
|
|
25
25
|
* with the same name to be returned regardless of their location in the document hierarchy.
|
|
26
26
|
*
|
|
27
|
-
* @example '
|
|
27
|
+
* @example 'u', 'ps', 'or'
|
|
28
28
|
*/
|
|
29
29
|
export type FirestoreCollectionName = string;
|
|
30
30
|
/**
|
|
@@ -39,7 +39,7 @@ export declare const FIRESTORE_COLLECTION_NAME_SEPARATOR = "/";
|
|
|
39
39
|
* the entire Firestore database. It's used for collection group queries and for distinguishing between
|
|
40
40
|
* collections with the same name but at different hierarchy levels.
|
|
41
41
|
*
|
|
42
|
-
* @example '
|
|
42
|
+
* @example 'u', 'u/ps', 'u/or'
|
|
43
43
|
*/
|
|
44
44
|
export type FirestoreCollectionType = ModelTypeString;
|
|
45
45
|
/**
|
|
@@ -73,8 +73,8 @@ export type FirestoreModelIdentityType = 'root' | 'nested';
|
|
|
73
73
|
* The identity is used for creating collections, documents, and queries with the
|
|
74
74
|
* correct types and paths.
|
|
75
75
|
*
|
|
76
|
-
* @template M - The model type (e.g., '
|
|
77
|
-
* @template C - The collection name (e.g., '
|
|
76
|
+
* @template M - The model type (e.g., 'profile', 'post')
|
|
77
|
+
* @template C - The collection name (e.g., 'pr', 'po')
|
|
78
78
|
*/
|
|
79
79
|
export type FirestoreModelIdentity<M extends FirestoreModelType = FirestoreModelType, C extends FirestoreCollectionName = FirestoreCollectionName> = FirestoreModelTypeRef<M> & FirestoreCollectionNameRef<C> & FirestoreCollectionTypeRef & {
|
|
80
80
|
/**
|
package/test/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [12.6.11](https://github.com/dereekb/dbx-components/compare/v12.6.10-dev...v12.6.11) (2026-02-03)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
## [12.6.10](https://github.com/dereekb/dbx-components/compare/v12.6.9-dev...v12.6.10) (2026-01-30)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
5
13
|
## [12.6.9](https://github.com/dereekb/dbx-components/compare/v12.6.8-dev...v12.6.9) (2026-01-26)
|
|
6
14
|
|
|
7
15
|
|