@roomstay/core 0.1.19 → 0.1.20
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.
|
@@ -5,7 +5,16 @@
|
|
|
5
5
|
*/
|
|
6
6
|
export type IAuxiliaryFilter = {
|
|
7
7
|
type: 'select';
|
|
8
|
+
/**
|
|
9
|
+
* If the target value can have multiple values specified (i.e if room can both have "tend", and "caravan" as a type)
|
|
10
|
+
*/
|
|
11
|
+
allowSourceMultiple?: boolean;
|
|
12
|
+
/** If a room is selected with this value, require that the user enters the specific value at checkout */
|
|
13
|
+
requireInput?: boolean;
|
|
8
14
|
/** If set to true, and user decides to filter by 3rd entry, 1st & 2nd also works */
|
|
9
15
|
includeAllAbove: boolean;
|
|
10
|
-
options: string[]
|
|
16
|
+
options: string[] | {
|
|
17
|
+
value: string | number;
|
|
18
|
+
label: string;
|
|
19
|
+
}[];
|
|
11
20
|
};
|