@lemoncloud/ssocio-kiosk-api 0.25.902 → 0.25.903
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.
|
@@ -12,9 +12,10 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import { CoreModel } from 'lemon-model';
|
|
14
14
|
import { ModelType } from '../../service/backend-types';
|
|
15
|
-
import { OptionStereo
|
|
15
|
+
import { OptionStereo } from './types';
|
|
16
16
|
import { StockModel } from '../stock/model';
|
|
17
17
|
import { CurrencyType, PriceInfo } from '../../lib/currency-types';
|
|
18
|
+
import { OptionCategoryType } from './options-types';
|
|
18
19
|
export { ModelType };
|
|
19
20
|
/**
|
|
20
21
|
* type: `Model`: common model
|
|
@@ -93,9 +94,9 @@ export interface OptionModel extends Model, OptionHead {
|
|
|
93
94
|
*/
|
|
94
95
|
stereo?: OptionStereo;
|
|
95
96
|
/**
|
|
96
|
-
* 옵션 상품
|
|
97
|
+
* 옵션 상품 분류 항목
|
|
97
98
|
*/
|
|
98
|
-
|
|
99
|
+
category?: OptionCategoryType;
|
|
99
100
|
/**
|
|
100
101
|
* parent-id (:= id of option-group)
|
|
101
102
|
*/
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import { SimpleSet } from 'lemon-model';
|
|
14
14
|
import { PaginateParam } from '../../cores/types';
|
|
15
|
+
import { OptionCategoryType } from './options-types';
|
|
15
16
|
export { SimpleSet };
|
|
16
17
|
/**
|
|
17
18
|
* type: boolean style number.
|
|
@@ -86,22 +87,19 @@ export declare const $LUT: {
|
|
|
86
87
|
/** 토요일 */
|
|
87
88
|
sat: string;
|
|
88
89
|
};
|
|
89
|
-
/**
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
zone: string;
|
|
90
|
+
/** OptionCategoryType */
|
|
91
|
+
OptionCategoryType: {
|
|
92
|
+
'': string;
|
|
93
|
+
category: string;
|
|
94
|
+
day: string;
|
|
95
|
+
zone: string; /** tue (Tuesday): 2 */
|
|
96
|
+
product: string; /** wed (Wednesday): 3 */
|
|
95
97
|
};
|
|
96
98
|
};
|
|
97
99
|
/**
|
|
98
100
|
* type: `OptionStereo`
|
|
99
101
|
*/
|
|
100
102
|
export declare type OptionStereo = keyof typeof $LUT.OptionStereo;
|
|
101
|
-
/**
|
|
102
|
-
* type: `OptionType`
|
|
103
|
-
*/
|
|
104
|
-
export declare type OptionType = keyof typeof $LUT.OptionType;
|
|
105
103
|
/**
|
|
106
104
|
* type: `WeekDayNumType`
|
|
107
105
|
*/
|
|
@@ -118,6 +116,8 @@ export interface OptionListParam extends PaginateParam {
|
|
|
118
116
|
sort?: 'latest' | 'popular' | 'lowPrice' | 'highPrice' | 'ranking' | 'order';
|
|
119
117
|
/** stereo */
|
|
120
118
|
stereo?: string | OptionStereo;
|
|
119
|
+
/** category */
|
|
120
|
+
category?: string | OptionCategoryType;
|
|
121
121
|
}
|
|
122
122
|
/** must export $LUT as default */
|
|
123
123
|
export default $LUT;
|