@stoker-platform/types 0.5.15 → 0.5.17
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 +2 -0
package/package.json
CHANGED
package/src/types/schema.ts
CHANGED
|
@@ -517,6 +517,7 @@ export interface CalendarConfig {
|
|
|
517
517
|
roles?: StokerRole[]
|
|
518
518
|
startField: string
|
|
519
519
|
endField?: string
|
|
520
|
+
additionalFields?: string[]
|
|
520
521
|
allDayField?: string
|
|
521
522
|
fullCalendarLarge?: CalendarOptions
|
|
522
523
|
fullCalendarSmall?: CalendarOptions
|
|
@@ -533,6 +534,7 @@ export interface CalendarConfig {
|
|
|
533
534
|
dataEndOffset?: { days: number } | { weeks: number } | { months: number } | { years: number }
|
|
534
535
|
color?: string | ((record: StokerRecord) => string)
|
|
535
536
|
eventTitle?: (record: StokerRecord) => string
|
|
537
|
+
filterRecords?: (record: StokerRecord) => boolean
|
|
536
538
|
}
|
|
537
539
|
|
|
538
540
|
export type StatusFilter = {
|