@stoker-platform/types 0.5.61 → 0.5.63

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.61",
3
+ "version": "0.5.63",
4
4
  "type": "module",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "src/main.ts",
@@ -566,6 +566,7 @@ export interface CalendarConfig {
566
566
  color?: string | ((record: StokerRecord) => string)
567
567
  eventTitle?: (record: StokerRecord) => string
568
568
  filterRecords?: (record: StokerRecord) => boolean
569
+ additionalCollections?: StokerCollection[]
569
570
  }
570
571
 
571
572
  export type StatusFilter = {
@@ -798,7 +799,7 @@ export interface CollectionAdmin {
798
799
  direction?: "asc" | "desc"
799
800
  }>)
800
801
  itemsPerPage?: number | (() => number | Promise<number>)
801
- searchOptions?: SearchOptions
802
+ searchOptions?: SearchOptions & { hitsPerPage?: number }
802
803
  list?: ListConfig | (() => ListConfig | Promise<ListConfig>)
803
804
  cards?: CardsConfig | (() => CardsConfig | Promise<CardsConfig>)
804
805
  images?: ImagesConfig | (() => ImagesConfig | Promise<ImagesConfig>)
@@ -871,7 +872,7 @@ export interface CollectionAdminCache {
871
872
  field: string
872
873
  direction?: "asc" | "desc"
873
874
  }
874
- searchOptions?: SearchOptions
875
+ searchOptions?: SearchOptions & { hitsPerPage?: number }
875
876
  itemsPerPage?: number
876
877
  list?: ListConfig
877
878
  cards?: CardsConfig