@stoker-platform/types 0.5.47 → 0.5.48

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/types/app.ts +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stoker-platform/types",
3
- "version": "0.5.47",
3
+ "version": "0.5.48",
4
4
  "type": "module",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "src/main.ts",
package/src/types/app.ts CHANGED
@@ -29,7 +29,7 @@ import type { Firestore, Timestamp, WhereFilterOp } from "firebase/firestore"
29
29
  import type { AnalyticsSettings, ConsentSettings } from "firebase/analytics"
30
30
  import type { AppCheck } from "firebase/app-check"
31
31
 
32
- import type { FieldValue } from "firebase-admin/firestore"
32
+ import type { FieldValue, Firestore as AdminFirestore } from "firebase-admin/firestore"
33
33
  import { FirebaseError } from "firebase-admin"
34
34
 
35
35
  export interface AuthConfig {
@@ -372,6 +372,7 @@ export interface NodeUtilities {
372
372
  getCustomizationFile: (collection: string, schema: CollectionsSchema) => CollectionCustomization
373
373
  getVersionInfo: () => VersionInfo | undefined
374
374
  getMaintenanceInfo: () => { active: boolean } | undefined
375
+ getStokerFirestore: () => AdminFirestore
375
376
  }
376
377
 
377
378
  export interface StokerState {