@stoker-platform/types 0.5.46 → 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 +3 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stoker-platform/types",
3
- "version": "0.5.46",
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 {
@@ -358,6 +358,7 @@ export interface WebUtilities {
358
358
  getAppCheck: () => AppCheck
359
359
  getAppCheckFirestoreWrite: () => AppCheck
360
360
  getFirestoreWriteAuth: () => Auth
361
+ getStokerFirestore: () => Firestore
361
362
  getFirestoreWrite: () => Firestore
362
363
  getFirestoreMaintenance: () => Firestore
363
364
  }
@@ -371,6 +372,7 @@ export interface NodeUtilities {
371
372
  getCustomizationFile: (collection: string, schema: CollectionsSchema) => CollectionCustomization
372
373
  getVersionInfo: () => VersionInfo | undefined
373
374
  getMaintenanceInfo: () => { active: boolean } | undefined
375
+ getStokerFirestore: () => AdminFirestore
374
376
  }
375
377
 
376
378
  export interface StokerState {