@lemoncloud/ssocio-kiosk-api 0.25.902 → 0.25.914
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/dist/modules/goods/types.d.ts +2 -0
- package/dist/modules/option/model.d.ts +4 -3
- package/dist/modules/option/options-types.d.ts +4 -0
- package/dist/modules/option/types.d.ts +10 -10
- package/dist/modules/stock/types.d.ts +3 -1
- package/dist/modules/store/model.d.ts +2 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/view/transformer.d.ts +5 -0
- package/package.json +1 -1
|
@@ -308,6 +308,8 @@ export interface ProdListParam extends PaginateParam {
|
|
|
308
308
|
optionId?: string;
|
|
309
309
|
/** filter `isDisplay` condition (default true) */
|
|
310
310
|
display?: boolean | '' | 'true' | 'false';
|
|
311
|
+
/** filter `isOwn` condition (default false) */
|
|
312
|
+
own?: boolean | '' | 'true' | 'false';
|
|
311
313
|
/**
|
|
312
314
|
* where to view
|
|
313
315
|
* - main에서는 `priceSale`이 `isSale`과 상관없이 최종 구매가로 설정되도록 (false일때 `price`와 동일)
|
|
@@ -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;
|