@stoker-platform/types 0.5.62 → 0.5.64

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.62",
3
+ "version": "0.5.64",
4
4
  "type": "module",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "src/main.ts",
@@ -252,7 +252,7 @@ export type PostReadHookArgs = {
252
252
  export type PreDuplicateHookArgs = { data: Partial<StokerRecord> }
253
253
  export type PreValidateHookArgs = {
254
254
  operation: "create" | "update"
255
- record: StokerRecord
255
+ data: StokerRecord
256
256
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
257
257
  context: any
258
258
  batch?: WriteBatch
@@ -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 = {