@dereekb/firebase 9.11.11 → 9.11.13

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 CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [9.11.13](https://github.com/dereekb/dbx-components/compare/v9.11.12-dev...v9.11.13) (2022-11-05)
6
+
7
+
8
+
9
+ ## [9.11.12](https://github.com/dereekb/dbx-components/compare/v9.11.11-dev...v9.11.12) (2022-11-04)
10
+
11
+
12
+
5
13
  ## [9.11.11](https://github.com/dereekb/dbx-components/compare/v9.11.10-dev...v9.11.11) (2022-11-01)
6
14
 
7
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dereekb/firebase",
3
- "version": "9.11.11",
3
+ "version": "9.11.13",
4
4
  "devDependencies": {
5
5
  "@firebase/rules-unit-testing": "^2.0.0"
6
6
  },
@@ -22,17 +22,17 @@
22
22
  "peerDependencies": {
23
23
  "rxjs": "^7.5.0",
24
24
  "firebase": "^9.9.2",
25
- "@dereekb/util": "9.11.11",
25
+ "@dereekb/util": "9.11.13",
26
26
  "lodash.isequal": "^4.5.0",
27
27
  "make-error": "^1.3.0",
28
28
  "class-validator": "^0.13.2",
29
29
  "ts-essentials": "^9.1.2",
30
30
  "extra-set": "^2.2.11",
31
31
  "class-transformer": "^0.5.1",
32
- "@dereekb/rxjs": "9.11.11",
32
+ "@dereekb/rxjs": "9.11.13",
33
33
  "ms": "^3.0.0-canary.1",
34
- "@dereekb/model": "9.11.11",
35
- "@dereekb/date": "9.11.11",
34
+ "@dereekb/model": "9.11.13",
35
+ "@dereekb/date": "9.11.13",
36
36
  "date-fns": "^2.29.0",
37
37
  "date-fns-tz": "^1.3.0",
38
38
  "rrule": "git+https://git@github.com/dereekb/rrule#2b13b1ea881059ba2ecfec380e12ef244ef54570",
@@ -1 +1,2 @@
1
1
  export * from './system';
2
+ export * from './system.action';
@@ -2,4 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./system"), exports);
5
+ tslib_1.__exportStar(require("./system.action"), exports);
5
6
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/firebase/src/lib/model/system/index.ts"],"names":[],"mappings":";;;AAAA,mDAAyB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/firebase/src/lib/model/system/index.ts"],"names":[],"mappings":";;;AAAA,mDAAyB;AACzB,0DAAgC"}
@@ -0,0 +1,8 @@
1
+ import { AsyncFirebaseFunctionCreateAction, AsyncFirebaseFunctionDeleteAction, AsyncFirebaseFunctionUpdateAction, FirebaseFunctionCreateAction, FirebaseFunctionDeleteAction, FirebaseFunctionUpdateAction } from '@dereekb/firebase';
2
+ import { SystemStateDocument } from './system';
3
+ export declare type SystemStateCreateAction<P extends object> = FirebaseFunctionCreateAction<P, SystemStateDocument>;
4
+ export declare type AsyncSystemStateCreateAction<P extends object> = AsyncFirebaseFunctionCreateAction<P, SystemStateDocument>;
5
+ export declare type SystemStateUpdateAction<P extends object> = FirebaseFunctionUpdateAction<P, SystemStateDocument>;
6
+ export declare type AsyncSystemStateUpdateAction<P extends object> = AsyncFirebaseFunctionUpdateAction<P, SystemStateDocument>;
7
+ export declare type SystemStateDeleteAction<P extends object> = FirebaseFunctionDeleteAction<P, SystemStateDocument>;
8
+ export declare type AsyncSystemStateDeleteAction<P extends object> = AsyncFirebaseFunctionDeleteAction<P, SystemStateDocument>;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=system.action.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"system.action.js","sourceRoot":"","sources":["../../../../../../../packages/firebase/src/lib/model/system/system.action.ts"],"names":[],"mappings":""}
@@ -4,8 +4,8 @@ import { FirestoreCollection } from '../../common/firestore/collection/collectio
4
4
  import { FirestoreContext } from '../../common/firestore/context';
5
5
  import { CollectionReference } from '../../common/firestore/types';
6
6
  import { ModelFieldMapFunctionsConfig } from '@dereekb/util';
7
- export interface SystemStateFirestoreCollections {
8
- readonly systemStateCollection: SystemStateFirestoreCollection;
7
+ export declare abstract class SystemStateFirestoreCollections {
8
+ abstract readonly systemStateCollection: SystemStateFirestoreCollection;
9
9
  }
10
10
  export declare type SystemStateTypes = typeof systemStateIdentity;
11
11
  export declare const systemStateIdentity: import("../../common/firestore/collection/collection").RootFirestoreModelIdentity<"systemState", "sys">;
@@ -38,7 +38,7 @@ export declare class SystemStateDocument<T extends SystemStateStoredData = Syste
38
38
  }
39
39
  export declare const systemStateConverter: import("../..").SnapshotConverterFunctions<SystemState<SystemStateStoredData>, Partial<import("@dereekb/util").ReplaceType<SystemState<SystemStateStoredData>, import("@dereekb/util").MaybeMap<object>, any>>>;
40
40
  export declare function systemStateCollectionReference(context: FirestoreContext): CollectionReference<SystemState>;
41
- export declare type SystemStateFirestoreCollection = FirestoreCollection<SystemState, SystemStateDocument>;
41
+ export declare type SystemStateFirestoreCollection<T extends SystemStateStoredData = SystemStateStoredData> = FirestoreCollection<SystemState<T>, SystemStateDocument<T>>;
42
42
  /**
43
43
  * A ModelFieldMapFunctionsConfig used for data conversion.
44
44
  */
@@ -1,11 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.systemStateFirestoreCollection = exports.systemStateCollectionReference = exports.systemStateConverter = exports.SystemStateDocument = exports.systemStateIdentity = void 0;
3
+ exports.systemStateFirestoreCollection = exports.systemStateCollectionReference = exports.systemStateConverter = exports.SystemStateDocument = exports.systemStateIdentity = exports.SystemStateFirestoreCollections = void 0;
4
4
  const document_1 = require("../../common/firestore/accessor/document");
5
5
  const collection_1 = require("../../common/firestore/collection/collection");
6
6
  const snapshot_1 = require("../../common/firestore/snapshot/snapshot");
7
7
  const snapshot_field_1 = require("../../common/firestore/snapshot/snapshot.field");
8
8
  const util_1 = require("@dereekb/util");
9
+ // MARK: Collection
10
+ class SystemStateFirestoreCollections {
11
+ }
12
+ exports.SystemStateFirestoreCollections = SystemStateFirestoreCollections;
9
13
  // MARK: Mock Item
10
14
  exports.systemStateIdentity = (0, collection_1.firestoreModelIdentity)('systemState', 'sys');
11
15
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"system.js","sourceRoot":"","sources":["../../../../../../../packages/firebase/src/lib/model/system/system.ts"],"names":[],"mappings":";;;AACA,uEAAqF;AACrF,6EAA2G;AAE3G,uEAAsF;AAEtF,mFAA2F;AAC3F,wCAAyF;AASzF,kBAAkB;AACL,QAAA,mBAAmB,GAAG,IAAA,mCAAsB,EAAC,aAAa,EAAE,KAAK,CAAC,CAAC;AA4BhF;;GAEG;AACH,MAAa,mBAA6E,SAAQ,oCAA6F;IAC7L,IAAI,aAAa;QACf,OAAO,2BAAmB,CAAC;IAC7B,CAAC;CACF;AAJD,kDAIC;AAEY,QAAA,oBAAoB,GAAG,IAAA,qCAA0B,EAAc;IAC1E,MAAM,EAAE;QACN,IAAI,EAAE,IAAA,0CAAyB,GAAE;KAClC;CACF,CAAC,CAAC;AAEH,SAAgB,8BAA8B,CAAC,OAAyB;IACtE,OAAO,OAAO,CAAC,UAAU,CAAC,2BAAmB,CAAC,cAAc,CAAC,CAAC;AAChE,CAAC;AAFD,wEAEC;AAaD,SAAgB,8BAA8B,CAAC,gBAAkC,EAAE,UAA6C;IAC9H,MAAM,sBAAsB,GAAG,IAAA,mBAAY,EAAC,GAAG,EAAE,CAC/C,IAAA,mBAAY,EAAC,UAAU,EAAE,CAAC,aAAa,EAAE,EAAE;QACzC,OAAO,IAAA,qCAA0B,EAAc;YAC7C,MAAM,EAAE;gBACN,IAAI,EAAE,aAAa;aACpB;SACF,CAAC,CAAC;IACL,CAAC,CAAC,CACH,CAAC;IAEF,OAAO,gBAAgB,CAAC,mBAAmB,CAAC;QAC1C,SAAS,EAAE,4BAAoB;QAC/B,gBAAgB,EAAE,CAAC,GAAG,EAAE,EAAE;YACxB,MAAM,IAAI,GAA8B,GAAG,CAAC,EAAE,CAAC;YAC/C,OAAO,sBAAsB,EAAE,CAAC,IAAI,CAAC,CAAC;QACxC,CAAC;QACD,aAAa,EAAE,2BAAmB;QAClC,UAAU,EAAE,8BAA8B,CAAC,gBAAgB,CAAC;QAC5D,YAAY,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;YACrB,OAAO,IAAI,mBAAmB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;QACvC,CAAC;QACD,gBAAgB;KACjB,CAAC,CAAC;AACL,CAAC;AAxBD,wEAwBC"}
1
+ {"version":3,"file":"system.js","sourceRoot":"","sources":["../../../../../../../packages/firebase/src/lib/model/system/system.ts"],"names":[],"mappings":";;;AACA,uEAAqF;AACrF,6EAA2G;AAE3G,uEAAsF;AAEtF,mFAA2F;AAC3F,wCAAyF;AAEzF,mBAAmB;AACnB,MAAsB,+BAA+B;CAEpD;AAFD,0EAEC;AAID,kBAAkB;AACL,QAAA,mBAAmB,GAAG,IAAA,mCAAsB,EAAC,aAAa,EAAE,KAAK,CAAC,CAAC;AA4BhF;;GAEG;AACH,MAAa,mBAA6E,SAAQ,oCAA6F;IAC7L,IAAI,aAAa;QACf,OAAO,2BAAmB,CAAC;IAC7B,CAAC;CACF;AAJD,kDAIC;AAEY,QAAA,oBAAoB,GAAG,IAAA,qCAA0B,EAAc;IAC1E,MAAM,EAAE;QACN,IAAI,EAAE,IAAA,0CAAyB,GAAE;KAClC;CACF,CAAC,CAAC;AAEH,SAAgB,8BAA8B,CAAC,OAAyB;IACtE,OAAO,OAAO,CAAC,UAAU,CAAC,2BAAmB,CAAC,cAAc,CAAC,CAAC;AAChE,CAAC;AAFD,wEAEC;AAaD,SAAgB,8BAA8B,CAAC,gBAAkC,EAAE,UAA6C;IAC9H,MAAM,sBAAsB,GAAG,IAAA,mBAAY,EAAC,GAAG,EAAE,CAC/C,IAAA,mBAAY,EAAC,UAAU,EAAE,CAAC,aAAa,EAAE,EAAE;QACzC,OAAO,IAAA,qCAA0B,EAAc;YAC7C,MAAM,EAAE;gBACN,IAAI,EAAE,aAAa;aACpB;SACF,CAAC,CAAC;IACL,CAAC,CAAC,CACH,CAAC;IAEF,OAAO,gBAAgB,CAAC,mBAAmB,CAAC;QAC1C,SAAS,EAAE,4BAAoB;QAC/B,gBAAgB,EAAE,CAAC,GAAG,EAAE,EAAE;YACxB,MAAM,IAAI,GAA8B,GAAG,CAAC,EAAE,CAAC;YAC/C,OAAO,sBAAsB,EAAE,CAAC,IAAI,CAAC,CAAC;QACxC,CAAC;QACD,aAAa,EAAE,2BAAmB;QAClC,UAAU,EAAE,8BAA8B,CAAC,gBAAgB,CAAC;QAC5D,YAAY,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;YACrB,OAAO,IAAI,mBAAmB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;QACvC,CAAC;QACD,gBAAgB;KACjB,CAAC,CAAC;AACL,CAAC;AAxBD,wEAwBC"}
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
+ ## [9.11.13](https://github.com/dereekb/dbx-components/compare/v9.11.12-dev...v9.11.13) (2022-11-05)
6
+
7
+
8
+
9
+ ## [9.11.12](https://github.com/dereekb/dbx-components/compare/v9.11.11-dev...v9.11.12) (2022-11-04)
10
+
11
+
12
+
5
13
  ## [9.11.11](https://github.com/dereekb/dbx-components/compare/v9.11.10-dev...v9.11.11) (2022-11-01)
6
14
 
7
15
 
package/test/package.json CHANGED
@@ -1,26 +1,26 @@
1
1
  {
2
2
  "name": "@dereekb/firebase/test",
3
- "version": "9.11.11",
3
+ "version": "9.11.13",
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": "9.11.11",
10
- "@dereekb/util": "9.11.11",
9
+ "@dereekb/util/test": "9.11.13",
10
+ "@dereekb/util": "9.11.13",
11
11
  "lodash.isequal": "^4.5.0",
12
12
  "make-error": "^1.3.0",
13
13
  "class-validator": "^0.13.2",
14
14
  "ts-essentials": "^9.1.2",
15
15
  "extra-set": "^2.2.11",
16
- "@dereekb/firebase": "9.11.11",
16
+ "@dereekb/firebase": "9.11.13",
17
17
  "rxjs": "^7.5.0",
18
18
  "firebase": "^9.9.2",
19
19
  "class-transformer": "^0.5.1",
20
- "@dereekb/rxjs": "9.11.11",
20
+ "@dereekb/rxjs": "9.11.13",
21
21
  "ms": "^3.0.0-canary.1",
22
- "@dereekb/model": "9.11.11",
23
- "@dereekb/date": "9.11.11",
22
+ "@dereekb/model": "9.11.13",
23
+ "@dereekb/date": "9.11.13",
24
24
  "date-fns": "^2.29.0",
25
25
  "date-fns-tz": "^1.3.0",
26
26
  "rrule": "git+https://git@github.com/dereekb/rrule#2b13b1ea881059ba2ecfec380e12ef244ef54570",