@stoker-platform/types 0.5.47 → 0.5.49

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stoker-platform/types",
3
- "version": "0.5.47",
3
+ "version": "0.5.49",
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 {
@@ -687,6 +687,7 @@ export interface CustomRecordPage {
687
687
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
688
688
  utils: any
689
689
  }>
690
+ props?: Record<string, unknown>
690
691
  condition?: (record: StokerRecord | undefined) => boolean
691
692
  icon?: React.FC<{ className?: string }>
692
693
  }