stentor-models 1.59.100 → 1.59.102

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.
@@ -124,11 +124,36 @@ export interface FormCardInput extends FormInput {
124
124
  color?: string;
125
125
  align?: string;
126
126
  }
127
+ export interface BusyDayDescription {
128
+ /**
129
+ * Blocks all weekends
130
+ */
131
+ readonly blockWeekends?: boolean;
132
+ /**
133
+ * Blocks the current day.
134
+ *
135
+ * If it is a weekend and weekends are not blocked, it will be blocked.
136
+ * If it is a weekend and weekends are blocked, the it will be disregarded.
137
+ */
138
+ readonly blockCurrentDay?: boolean;
139
+ /**
140
+ * Blocks the next number of business days.
141
+ *
142
+ * One business day will bock the next business day.
143
+ */
144
+ readonly blockNextBusinessDays?: number;
145
+ }
127
146
  /**
128
147
  * Single date
129
148
  */
130
149
  export interface FormDateInput extends FormInput {
131
150
  preselecteDate?: Date;
151
+ /**
152
+ * Default busy days that will show as unavailable.
153
+ *
154
+ * These are only used when busy days are not provided by the FSM
155
+ */
156
+ defaultBusyDays?: BusyDayDescription;
132
157
  }
133
158
  /**
134
159
  * Date range
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "1.59.100",
7
+ "version": "1.59.102",
8
8
  "description": "Models for 📣 stentor",
9
9
  "types": "lib/index",
10
10
  "typings": "lib/index",
@@ -17,7 +17,7 @@
17
17
  "node": "^12 || ^14 || ^16 || ^18 || ^20.0.0"
18
18
  },
19
19
  "devDependencies": {
20
- "@microsoft/api-extractor": "7.47.6",
20
+ "@microsoft/api-extractor": "7.47.7",
21
21
  "@rollup/plugin-typescript": "11.1.6",
22
22
  "@xapp/config": "0.2.3",
23
23
  "rollup": "3.29.4",
@@ -33,5 +33,5 @@
33
33
  "dependencies": {
34
34
  "@xapp/patterns": "2.0.2"
35
35
  },
36
- "gitHead": "d9639e8688b87aa5fa4b7d1daee8250855db653d"
36
+ "gitHead": "73b6228be17984e2d447c3cb64ffd323f7914523"
37
37
  }