@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 +1 -1
- package/src/types/app.ts +2 -1
- package/src/types/schema.ts +1 -0
package/package.json
CHANGED
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 {
|
package/src/types/schema.ts
CHANGED
|
@@ -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
|
}
|