[improvement] rename packages dir to src (#3659)

This commit is contained in:
neverland
2019-06-27 11:25:57 +08:00
committed by GitHub
parent 8489918dca
commit 75c79b7044
619 changed files with 21 additions and 21 deletions
+52
View File
@@ -0,0 +1,52 @@
/* eslint-disable camelcase */
export type SkuData = {
price: string;
none_sku: boolean;
stock_num: number;
hide_stock: boolean;
collection_id: number;
tree: SkuTreeItemData[];
list: SkuListItemData[];
messages: SkuMessageData[];
};
export type SkuTreeItemData = {
k: string;
v: SkuTreeItemValueData[];
k_s: string;
};
export type SkuTreeItemValueData = {
id: string;
name: string;
imgUrl?: string;
img_url?: string;
};
export type SkuListItemData = {
id: number;
s1: string;
s2: string;
s3: string;
price: number;
stock_num: number;
};
export type SkuMessageData = {
name: string;
type: string;
required?: string;
datetime?: string;
multiple?: string;
};
export type SkuGoodsData = {
title: string;
picture: string;
};
export type SelectedSkuData = {
s1: string;
s2: string;
};