@travetto/model-firestore 7.0.4 → 7.0.5

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/README.md CHANGED
@@ -24,7 +24,7 @@ Out of the box, by installing the module, everything should be wired up by defau
24
24
  **Code: Wiring up a custom Model Source**
25
25
  ```typescript
26
26
  import { InjectableFactory } from '@travetto/di';
27
- import { FirestoreModelConfig, FirestoreModelService } from '@travetto/model-firestore';
27
+ import { type FirestoreModelConfig, FirestoreModelService } from '@travetto/model-firestore';
28
28
 
29
29
  export class Init {
30
30
  @InjectableFactory({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@travetto/model-firestore",
3
- "version": "7.0.4",
3
+ "version": "7.0.5",
4
4
  "description": "Firestore backing for the travetto model module.",
5
5
  "keywords": [
6
6
  "typescript",
@@ -25,13 +25,13 @@
25
25
  "directory": "module/model-firestore"
26
26
  },
27
27
  "dependencies": {
28
- "@google-cloud/firestore": "^8.0.0",
29
- "@travetto/config": "^7.0.4",
30
- "@travetto/model": "^7.0.4",
31
- "@travetto/runtime": "^7.0.3"
28
+ "@google-cloud/firestore": "^8.1.0",
29
+ "@travetto/config": "^7.0.5",
30
+ "@travetto/model": "^7.0.5",
31
+ "@travetto/runtime": "^7.0.4"
32
32
  },
33
33
  "peerDependencies": {
34
- "@travetto/cli": "^7.0.4"
34
+ "@travetto/cli": "^7.0.6"
35
35
  },
36
36
  "peerDependenciesMeta": {
37
37
  "@travetto/cli": {
package/src/service.ts CHANGED
@@ -1,14 +1,14 @@
1
- import { DocumentData, FieldValue, Firestore, PartialWithFieldValue, Query } from '@google-cloud/firestore';
1
+ import { type DocumentData, FieldValue, Firestore, type PartialWithFieldValue, type Query } from '@google-cloud/firestore';
2
2
 
3
3
  import { JSONUtil, ShutdownManager, type Class, type DeepPartial } from '@travetto/runtime';
4
4
  import { Injectable } from '@travetto/di';
5
5
  import {
6
- ModelCrudSupport, ModelRegistryIndex, ModelStorageSupport,
7
- ModelIndexedSupport, ModelType, NotFoundError, OptionalId,
6
+ type ModelCrudSupport, ModelRegistryIndex, type ModelStorageSupport,
7
+ type ModelIndexedSupport, type ModelType, NotFoundError, type OptionalId,
8
8
  ModelCrudUtil, ModelIndexedUtil,
9
9
  } from '@travetto/model';
10
10
 
11
- import { FirestoreModelConfig } from './config.ts';
11
+ import type { FirestoreModelConfig } from './config.ts';
12
12
 
13
13
  const clone = structuredClone;
14
14