@dereekb/firebase 8.8.1 → 8.9.0
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/CHANGELOG.md +9 -0
- package/package.json +5 -5
- package/src/lib/common/firestore/snapshot/snapshot.field.d.ts +25 -4
- package/src/lib/common/firestore/snapshot/snapshot.field.js +28 -3
- package/src/lib/common/firestore/snapshot/snapshot.field.js.map +1 -1
- package/test/CHANGELOG.md +4 -0
- package/test/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
# [8.9.0](https://github.com/dereekb/dbx-components/compare/v8.8.1-dev...v8.9.0) (2022-06-30)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* added firestoreLatLngString() ([2af3e5f](https://github.com/dereekb/dbx-components/commit/2af3e5fcbcae665994df5cc68d1c246b5417a07d))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
5
14
|
## [8.8.1](https://github.com/dereekb/dbx-components/compare/v8.8.0-dev...v8.8.1) (2022-06-29)
|
|
6
15
|
|
|
7
16
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/firebase",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.9.0",
|
|
4
4
|
"devDependencies": {
|
|
5
5
|
"@firebase/rules-unit-testing": "^2.0.0"
|
|
6
6
|
},
|
|
@@ -23,16 +23,16 @@
|
|
|
23
23
|
"rxfire": "^6.0.3",
|
|
24
24
|
"rxjs": "^7.0.0",
|
|
25
25
|
"firebase": "^9.8.0",
|
|
26
|
-
"@dereekb/util": "8.
|
|
26
|
+
"@dereekb/util": "8.9.0",
|
|
27
27
|
"make-error": "^1.3.0",
|
|
28
28
|
"ts-essentials": "^9.1.2",
|
|
29
29
|
"extra-set": "^2.2.11",
|
|
30
|
-
"@dereekb/rxjs": "8.
|
|
30
|
+
"@dereekb/rxjs": "8.9.0",
|
|
31
31
|
"ms": "^3.0.0-canary.1",
|
|
32
|
-
"@dereekb/model": "8.
|
|
32
|
+
"@dereekb/model": "8.9.0",
|
|
33
33
|
"class-transformer": "^0.5.1",
|
|
34
34
|
"class-validator": "^0.13.2",
|
|
35
|
-
"@dereekb/date": "8.
|
|
35
|
+
"@dereekb/date": "8.9.0",
|
|
36
36
|
"date-fns": "^2.28.0",
|
|
37
37
|
"date-fns-tz": "^1.3.0",
|
|
38
38
|
"rrule": "2.7.0",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GrantedRole } from '@dereekb/model';
|
|
2
|
-
import { ModelFieldMapFunctionsConfig, GetterOrValue, Maybe, ModelFieldMapConvertFunction, PrimativeKey, ReadKeyFunction, ModelFieldMapFunctionsWithDefaultsConfig, FindUniqueFunction, FindUniqueStringsTransformConfig, MapFunction, FilterKeyValueTuplesInput, ModelKey, ToModelMapFunctionsInput, ModelMapFunctinosRef } from '@dereekb/util';
|
|
2
|
+
import { ModelFieldMapFunctionsConfig, GetterOrValue, Maybe, ModelFieldMapConvertFunction, PrimativeKey, ReadKeyFunction, ModelFieldMapFunctionsWithDefaultsConfig, FindUniqueFunction, FindUniqueStringsTransformConfig, MapFunction, FilterKeyValueTuplesInput, ModelKey, ToModelMapFunctionsInput, ModelMapFunctinosRef, TransformStringFunctionConfig, LatLngPrecision, TransformStringFunction, LatLngString } from '@dereekb/util';
|
|
3
3
|
import { FirestoreModelData } from './snapshot.type';
|
|
4
4
|
export interface BaseFirestoreFieldConfig<V, D = unknown> {
|
|
5
5
|
fromData: ModelFieldMapConvertFunction<D, V>;
|
|
@@ -30,11 +30,15 @@ export declare type MapConfiguredFirestoreFieldConfigWithDefaultData<V, D = unkn
|
|
|
30
30
|
export declare type MapConfiguredFirestoreFieldConfig<V, D = unknown> = MapConfiguredFirestoreFieldConfigWithDefault<V, D> | MapConfiguredFirestoreFieldConfigWithDefaultData<V, D>;
|
|
31
31
|
export declare type DefaultMapConfiguredFirestoreFieldConfig<V, D = unknown> = Omit<FirestoreFieldConfigWithDefault<V, D>, 'fromData' | 'toData' | 'default'> & Partial<Pick<FirestoreFieldConfigWithDefault<V, D>, 'default'>>;
|
|
32
32
|
export declare type OptionalMapConfiguredFirestoreFieldConfig<V, D = unknown> = Omit<BaseFirestoreFieldConfig<V, D>, 'fromData' | 'toData' | 'defaultBeforeSave'>;
|
|
33
|
-
export
|
|
33
|
+
export declare type FirestoreStringTransformOptions<S extends string = string> = TransformStringFunctionConfig | TransformStringFunction<S>;
|
|
34
|
+
export interface FirestoreStringConfig<S extends string = string> extends DefaultMapConfiguredFirestoreFieldConfig<S, S> {
|
|
35
|
+
transform?: FirestoreStringTransformOptions;
|
|
36
|
+
/**
|
|
37
|
+
* @deprecated: use transform field instead.
|
|
38
|
+
*/
|
|
34
39
|
trim?: boolean;
|
|
35
40
|
}
|
|
36
|
-
export
|
|
37
|
-
}
|
|
41
|
+
export declare const DEFAULT_FIRESTORE_STRING_FIELD_VALUE = "";
|
|
38
42
|
export declare function firestoreString<S extends string = string>(config?: FirestoreStringConfig<S>): FirestoreModelFieldMapFunctionsConfig<S, S>;
|
|
39
43
|
export declare function optionalFirestoreString(): ModelFieldMapFunctionsConfig<Maybe<string>, Maybe<string>>;
|
|
40
44
|
export declare type FirestoreEnumConfig<S extends string | number> = MapConfiguredFirestoreFieldConfigWithDefault<S, S>;
|
|
@@ -187,6 +191,23 @@ export declare type FirestoreSubObjectFieldMapFunctionsConfig<T extends object,
|
|
|
187
191
|
* A nested object field that uses other FirestoreFieldConfig configurations to map a field.
|
|
188
192
|
*/
|
|
189
193
|
export declare function firestoreSubObject<T extends object, O extends object = FirestoreModelData<T>>(config: FirestoreSubObjectFieldConfig<T, O>): FirestoreSubObjectFieldMapFunctionsConfig<T, O>;
|
|
194
|
+
export interface FirestoreLatLngStringConfig extends DefaultMapConfiguredFirestoreFieldConfig<LatLngString, LatLngString> {
|
|
195
|
+
precision?: LatLngPrecision;
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* Default value used by firestoreLatLngString
|
|
199
|
+
*/
|
|
200
|
+
export declare const DEFAULT_FIRESTORE_LAT_LNG_STRING_VALUE = "0,0";
|
|
201
|
+
/**
|
|
202
|
+
* Configuration for a LatLngString field.
|
|
203
|
+
*
|
|
204
|
+
* NOTE: The preference is to store LatLng values as strings as opposed to a lat/lng object or value pair as we could not sort/search lat and lng together, so indexing on them is useless.
|
|
205
|
+
* By storing them as a string we can add lat/lng to an object (implements the LatLngStringRef interface) using a single field, and can easily utilize the data object(s) using latLngDataPointFunction() to map the input.
|
|
206
|
+
*
|
|
207
|
+
* @param config
|
|
208
|
+
* @returns
|
|
209
|
+
*/
|
|
210
|
+
export declare function firestoreLatLngString(config?: FirestoreLatLngStringConfig): FirestoreModelFieldMapFunctionsConfig<`${number},${number}`, `${number},${number}`>;
|
|
190
211
|
export declare type FirestoreSetFieldConfig<T extends string | number> = DefaultMapConfiguredFirestoreFieldConfig<Set<T>, T[]>;
|
|
191
212
|
/**
|
|
192
213
|
* Do not use.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.firestoreSet = exports.firestoreSubObject = exports.firestoreObjectArray = exports.firestoreModelIdGrantedRoleArrayMap = exports.firestoreModelKeyGrantedRoleArrayMap = exports.firestoreArrayMap = exports.firestoreModelIdGrantedRoleMap = exports.firestoreModelKeyGrantedRoleMap = exports.firestoreMap = exports.firestoreEncodedArray = exports.firestoreModelIdArrayField = exports.firestoreModelKeyArrayField = exports.firestoreUniqueStringArray = exports.firestoreEnumArray = exports.firestoreUniqueKeyedArray = exports.firestoreUniqueArray = exports.optionalFirestoreArray = exports.firestoreArray = exports.optionalFirestoreNumber = exports.firestoreNumber = exports.optionalFirestoreBoolean = exports.firestoreBoolean = exports.optionalFirestoreDate = exports.firestoreDate = exports.firestoreModelIdString = exports.firestoreModelKeyString = exports.optionalFirestoreUID = exports.firestoreUID = exports.optionalFirestoreEnum = exports.firestoreEnum = exports.optionalFirestoreString = exports.firestoreString = exports.firestorePassThroughField = exports.FIRESTORE_PASSTHROUGH_FIELD = exports.firestoreField = void 0;
|
|
3
|
+
exports.firestoreSet = exports.firestoreLatLngString = exports.DEFAULT_FIRESTORE_LAT_LNG_STRING_VALUE = exports.firestoreSubObject = exports.firestoreObjectArray = exports.firestoreModelIdGrantedRoleArrayMap = exports.firestoreModelKeyGrantedRoleArrayMap = exports.firestoreArrayMap = exports.firestoreModelIdGrantedRoleMap = exports.firestoreModelKeyGrantedRoleMap = exports.firestoreMap = exports.firestoreEncodedArray = exports.firestoreModelIdArrayField = exports.firestoreModelKeyArrayField = exports.firestoreUniqueStringArray = exports.firestoreEnumArray = exports.firestoreUniqueKeyedArray = exports.firestoreUniqueArray = exports.optionalFirestoreArray = exports.firestoreArray = exports.optionalFirestoreNumber = exports.firestoreNumber = exports.optionalFirestoreBoolean = exports.firestoreBoolean = exports.optionalFirestoreDate = exports.firestoreDate = exports.firestoreModelIdString = exports.firestoreModelKeyString = exports.optionalFirestoreUID = exports.firestoreUID = exports.optionalFirestoreEnum = exports.firestoreEnum = exports.optionalFirestoreString = exports.firestoreString = exports.DEFAULT_FIRESTORE_STRING_FIELD_VALUE = exports.firestorePassThroughField = exports.FIRESTORE_PASSTHROUGH_FIELD = exports.firestoreField = void 0;
|
|
4
4
|
const date_1 = require("@dereekb/date");
|
|
5
5
|
const util_1 = require("@dereekb/util");
|
|
6
6
|
const snapshot_type_1 = require("./snapshot.type");
|
|
@@ -32,9 +32,11 @@ function firestorePassThroughField() {
|
|
|
32
32
|
return exports.FIRESTORE_PASSTHROUGH_FIELD;
|
|
33
33
|
}
|
|
34
34
|
exports.firestorePassThroughField = firestorePassThroughField;
|
|
35
|
+
exports.DEFAULT_FIRESTORE_STRING_FIELD_VALUE = '';
|
|
35
36
|
function firestoreString(config) {
|
|
36
|
-
const
|
|
37
|
-
|
|
37
|
+
const transform = (config === null || config === void 0 ? void 0 : config.transform) ? (typeof config.transform === 'function' ? { transform: config === null || config === void 0 ? void 0 : config.transform } : config === null || config === void 0 ? void 0 : config.transform) : (config === null || config === void 0 ? void 0 : config.trim) ? { trim: true } : undefined;
|
|
38
|
+
const transformData = transform ? (0, util_1.transformStringFunction)(transform) : util_1.passThrough;
|
|
39
|
+
return firestoreField(Object.assign(Object.assign({ default: exports.DEFAULT_FIRESTORE_STRING_FIELD_VALUE }, config), { fromData: transformData, toData: transformData }));
|
|
38
40
|
}
|
|
39
41
|
exports.firestoreString = firestoreString;
|
|
40
42
|
function optionalFirestoreString() {
|
|
@@ -272,6 +274,29 @@ function firestoreSubObject(config) {
|
|
|
272
274
|
return mapFunctionsConfig;
|
|
273
275
|
}
|
|
274
276
|
exports.firestoreSubObject = firestoreSubObject;
|
|
277
|
+
/**
|
|
278
|
+
* Default value used by firestoreLatLngString
|
|
279
|
+
*/
|
|
280
|
+
exports.DEFAULT_FIRESTORE_LAT_LNG_STRING_VALUE = '0,0';
|
|
281
|
+
/**
|
|
282
|
+
* Configuration for a LatLngString field.
|
|
283
|
+
*
|
|
284
|
+
* NOTE: The preference is to store LatLng values as strings as opposed to a lat/lng object or value pair as we could not sort/search lat and lng together, so indexing on them is useless.
|
|
285
|
+
* By storing them as a string we can add lat/lng to an object (implements the LatLngStringRef interface) using a single field, and can easily utilize the data object(s) using latLngDataPointFunction() to map the input.
|
|
286
|
+
*
|
|
287
|
+
* @param config
|
|
288
|
+
* @returns
|
|
289
|
+
*/
|
|
290
|
+
function firestoreLatLngString(config) {
|
|
291
|
+
const { default: defaultValue, defaultBeforeSave, precision } = config !== null && config !== void 0 ? config : {};
|
|
292
|
+
const transform = (0, util_1.latLngStringFunction)({ precision, validate: true });
|
|
293
|
+
return firestoreString({
|
|
294
|
+
default: defaultValue || exports.DEFAULT_FIRESTORE_LAT_LNG_STRING_VALUE,
|
|
295
|
+
defaultBeforeSave,
|
|
296
|
+
transform
|
|
297
|
+
});
|
|
298
|
+
}
|
|
299
|
+
exports.firestoreLatLngString = firestoreLatLngString;
|
|
275
300
|
/**
|
|
276
301
|
* Do not use.
|
|
277
302
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"snapshot.field.js","sourceRoot":"","sources":["../../../../../../../../packages/firebase/src/lib/common/firestore/snapshot/snapshot.field.ts"],"names":[],"mappings":";;;AAEA,wCAA4E;AAC5E,
|
|
1
|
+
{"version":3,"file":"snapshot.field.js","sourceRoot":"","sources":["../../../../../../../../packages/firebase/src/lib/common/firestore/snapshot/snapshot.field.ts"],"names":[],"mappings":";;;AAEA,wCAA4E;AAC5E,wCAoCuB;AACvB,mDAA4E;AA6B5E,SAAgB,cAAc,CAAiB,MAAkC;;IAC/E,OAAO;QACL,IAAI,EACD,MAAgD,CAAC,OAAO,IAAI,IAAI;YAC/D,CAAC,CAAC;gBACE,OAAO,EAAG,MAAgD,CAAC,OAAO;gBAClE,OAAO,EAAE,MAAM,CAAC,QAAQ;aACzB;YACH,CAAC,CAAC;gBACE,YAAY,EAAG,MAAoD,CAAC,WAAW;gBAC/E,OAAO,EAAE,MAAM,CAAC,QAAQ;aACzB;QACP,EAAE,EAAE;YACF,OAAO,EAAE,CAAC,MAAA,MAAM,CAAC,iBAAiB,mCAAI,qCAAqB,CAAqB;YAChF,OAAO,EAAE,MAAM,CAAC,MAAM;SACvB;KAC6C,CAAC;AACnD,CAAC;AAjBD,wCAiBC;AAEY,QAAA,2BAA2B,GAAG,cAAc,CAAmB;IAC1E,OAAO,EAAE,IAAI;IACb,QAAQ,EAAE,kBAAW;IACrB,MAAM,EAAE,kBAAW;CACpB,CAAC,CAAC;AAEH,SAAgB,yBAAyB;IACvC,OAAO,mCAAiE,CAAC;AAC3E,CAAC;AAFD,8DAEC;AAmBY,QAAA,oCAAoC,G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C5B,CAAC;AApBD,gDAoBC;AAMD;;GAEG;AACU,QAAA,sCAAsC,GAAG,KAAK,CAAC;AAE5D;;;;;;;;GAQG;AACH,SAAgB,qBAAqB,CAAC,MAAoC;IACxE,MAAM,EAAE,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,SAAS,EAAE,GAAG,MAAM,aAAN,MAAM,cAAN,MAAM,GAAI,EAAE,CAAC;IAC7E,MAAM,SAAS,GAAG,IAAA,2BAAoB,EAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC;IAEtE,OAAO,eAAe,CAAe;QACnC,OAAO,EAAE,YAAY,IAAI,8CAAsC;QAC/D,iBAAiB;QACjB,SAAS;KACV,CAAC,CAAC;AACL,CAAC;AATD,sDASC;AAKD;;;;;;;GAOG;AACH,SAAgB,YAAY,CAA4B,MAAkC;;IACxF,OAAO,cAAc,CAAc;QACjC,OAAO,EAAE,MAAA,MAAM,CAAC,OAAO,mCAAI,CAAC,GAAG,EAAE,CAAC,IAAI,GAAG,EAAE,CAAC;QAC5C,QAAQ,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,GAAG,CAAC,IAAI,CAAC;QACjC,MAAM,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC;KACjC,CAAC,CAAC;AACL,CAAC;AAND,oCAMC"}
|
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
|
+
# [8.9.0](https://github.com/dereekb/dbx-components/compare/v8.8.1-dev...v8.9.0) (2022-06-30)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
5
9
|
## [8.8.1](https://github.com/dereekb/dbx-components/compare/v8.8.0-dev...v8.8.1) (2022-06-29)
|
|
6
10
|
|
|
7
11
|
|
package/test/package.json
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/firebase/test",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.9.0",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"main": "./src/index.js",
|
|
6
6
|
"typings": "./src/index.d.ts",
|
|
7
7
|
"dependencies": {},
|
|
8
8
|
"peerDependencies": {
|
|
9
|
-
"@dereekb/util/test": "8.
|
|
10
|
-
"@dereekb/util": "8.
|
|
9
|
+
"@dereekb/util/test": "8.9.0",
|
|
10
|
+
"@dereekb/util": "8.9.0",
|
|
11
11
|
"make-error": "^1.3.0",
|
|
12
12
|
"ts-essentials": "^9.1.2",
|
|
13
13
|
"extra-set": "^2.2.11",
|
|
14
|
-
"@dereekb/firebase": "8.
|
|
14
|
+
"@dereekb/firebase": "8.9.0",
|
|
15
15
|
"rxfire": "^6.0.3",
|
|
16
16
|
"rxjs": "^7.0.0",
|
|
17
17
|
"firebase": "^9.8.0",
|
|
18
|
-
"@dereekb/rxjs": "8.
|
|
18
|
+
"@dereekb/rxjs": "8.9.0",
|
|
19
19
|
"ms": "^3.0.0-canary.1",
|
|
20
|
-
"@dereekb/model": "8.
|
|
20
|
+
"@dereekb/model": "8.9.0",
|
|
21
21
|
"class-transformer": "^0.5.1",
|
|
22
22
|
"class-validator": "^0.13.2",
|
|
23
|
-
"@dereekb/date": "8.
|
|
23
|
+
"@dereekb/date": "8.9.0",
|
|
24
24
|
"date-fns": "^2.28.0",
|
|
25
25
|
"date-fns-tz": "^1.3.0",
|
|
26
26
|
"rrule": "2.7.0",
|