@stoker-platform/types 0.5.60 → 0.5.62
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/schema.ts +3 -2
package/package.json
CHANGED
package/src/types/schema.ts
CHANGED
|
@@ -522,6 +522,7 @@ export interface ImagesConfig {
|
|
|
522
522
|
hooks: any
|
|
523
523
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
524
524
|
utils: any
|
|
525
|
+
setGlobalLoading: (operation: "+" | "-", id: string, server?: boolean, cache?: boolean) => void
|
|
525
526
|
}>
|
|
526
527
|
height: number
|
|
527
528
|
condition?: (parentCollection?: CollectionSchema, parentRecord?: StokerRecord, isAssigning?: boolean) => boolean
|
|
@@ -797,7 +798,7 @@ export interface CollectionAdmin {
|
|
|
797
798
|
direction?: "asc" | "desc"
|
|
798
799
|
}>)
|
|
799
800
|
itemsPerPage?: number | (() => number | Promise<number>)
|
|
800
|
-
searchOptions?: SearchOptions
|
|
801
|
+
searchOptions?: SearchOptions & { hitsPerPage?: number }
|
|
801
802
|
list?: ListConfig | (() => ListConfig | Promise<ListConfig>)
|
|
802
803
|
cards?: CardsConfig | (() => CardsConfig | Promise<CardsConfig>)
|
|
803
804
|
images?: ImagesConfig | (() => ImagesConfig | Promise<ImagesConfig>)
|
|
@@ -870,7 +871,7 @@ export interface CollectionAdminCache {
|
|
|
870
871
|
field: string
|
|
871
872
|
direction?: "asc" | "desc"
|
|
872
873
|
}
|
|
873
|
-
searchOptions?: SearchOptions
|
|
874
|
+
searchOptions?: SearchOptions & { hitsPerPage?: number }
|
|
874
875
|
itemsPerPage?: number
|
|
875
876
|
list?: ListConfig
|
|
876
877
|
cards?: CardsConfig
|