ftdsy-attr 1.0.3 → 2.0.0
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/ftdsy-attr.cjs.js +2 -0
- package/dist/ftdsy-attr.cjs.js.map +1 -0
- package/dist/ftdsy-attr.d.ts +93 -0
- package/dist/ftdsy-attr.esm.js +2 -0
- package/dist/ftdsy-attr.esm.js.map +1 -0
- package/dist/index.html +831 -2563
- package/dist/types/api/tb/index.d.ts +3 -0
- package/dist/types/category/bags/bags_leather.d.ts +16 -0
- package/dist/types/category/bags/bags_motion.d.ts +16 -0
- package/dist/types/category/clothing/clothing_accessory.d.ts +16 -0
- package/dist/types/category/clothing/clothing_children.d.ts +16 -0
- package/dist/types/category/clothing/clothing_jewelry.d.ts +16 -0
- package/dist/types/category/clothing/clothing_men.d.ts +16 -0
- package/dist/types/category/clothing/clothing_motion.d.ts +16 -0
- package/dist/types/category/clothing/clothing_underwear.d.ts +16 -0
- package/dist/types/category/clothing/clothing_women.d.ts +16 -0
- package/dist/types/category/departmentStore/departmentStore_bedding.d.ts +16 -0
- package/dist/types/category/departmentStore/departmentStore_flower.d.ts +16 -0
- package/dist/types/category/departmentStore/departmentStore_homefabric.d.ts +16 -0
- package/dist/types/category/departmentStore/departmentStore_petanimal.d.ts +16 -0
- package/dist/types/category/departmentStore/departmentStore_storage.d.ts +16 -0
- package/dist/types/category/index.d.ts +7 -0
- package/dist/types/category/motherBaby/motherBaby_bady.d.ts +16 -0
- package/dist/types/category/motherBaby/motherBaby_gravida.d.ts +16 -0
- package/dist/types/category/numeral/numeral_accessory.d.ts +16 -0
- package/dist/types/category/numeral/numeral_camera.d.ts +16 -0
- package/dist/types/category/numeral/numeral_computer.d.ts +16 -0
- package/dist/types/category/shoes/shoes_children.d.ts +16 -0
- package/dist/types/category/shoes/shoes_men.d.ts +16 -0
- package/dist/types/category/shoes/shoes_motion.d.ts +16 -0
- package/dist/types/category/shoes/shoes_women.d.ts +16 -0
- package/dist/types/category/sportsOutdoor/sportsOutdoor_outdoors.d.ts +16 -0
- package/dist/types/category/sportsOutdoor/sportsOutdoor_sports.d.ts +16 -0
- package/dist/types/category/vehicle/vehicle_cycling.d.ts +16 -0
- package/dist/types/category/vehicle/vehicle_electricvehicle.d.ts +16 -0
- package/dist/types/category/vehicle/vehicle_motorcycle.d.ts +16 -0
- package/dist/types/main.d.ts +21 -0
- package/dist/types/models/defaultModel.d.ts +16 -0
- package/dist/types/models/index.d.ts +11 -0
- package/dist/types/models/modal.d.ts +11 -0
- package/dist/types/platform/index.d.ts +6 -0
- package/dist/types/platform/platform/albb.d.ts +6 -0
- package/dist/types/platform/platform/dy.d.ts +6 -0
- package/dist/types/platform/platform/jd.d.ts +6 -0
- package/dist/types/platform/platform/ks.d.ts +6 -0
- package/dist/types/platform/platform/pdd.d.ts +9 -0
- package/dist/types/platform/platform/shopee.d.ts +6 -0
- package/dist/types/platform/platform/tb.d.ts +6 -0
- package/dist/types/platform/platform/tiktok.d.ts +6 -0
- package/dist/types/platform/platform/tm.d.ts +6 -0
- package/dist/types/platform/platform/wxsph.d.ts +6 -0
- package/dist/types/platform/platform/xhs.d.ts +6 -0
- package/dist/types/platform/type.d.ts +70 -0
- package/dist/types/property/index.d.ts +10 -0
- package/dist/types/property/matchProperty.d.ts +6 -0
- package/dist/types/property/perpareProperty.d.ts +9 -0
- package/dist/types/property/predictionProperty.d.ts +9 -0
- package/dist/types/type.d.ts +36 -0
- package/dist/types/utils/axios.d.ts +15 -0
- package/dist/types/utils/error.d.ts +12 -0
- package/dist/types/utils/utils.d.ts +46 -0
- package/package.json +24 -19
- package/dist/ftdsy-attr.js +0 -13903
- package/dist/ftdsy-attr.js.map +0 -1
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const bags_leather: {
|
|
2
|
+
title: string;
|
|
3
|
+
pdd: string;
|
|
4
|
+
tb: string;
|
|
5
|
+
tm: string;
|
|
6
|
+
jd: string;
|
|
7
|
+
dy: string;
|
|
8
|
+
shopee: string;
|
|
9
|
+
xhs: string;
|
|
10
|
+
ks: string;
|
|
11
|
+
albb: string;
|
|
12
|
+
wxsph: string;
|
|
13
|
+
tiktok: string;
|
|
14
|
+
tiktokUs: string;
|
|
15
|
+
}[];
|
|
16
|
+
export default bags_leather;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const bags_motion: {
|
|
2
|
+
title: string;
|
|
3
|
+
pdd: string;
|
|
4
|
+
tb: string;
|
|
5
|
+
tm: string;
|
|
6
|
+
jd: string;
|
|
7
|
+
dy: string;
|
|
8
|
+
shopee: string;
|
|
9
|
+
xhs: string;
|
|
10
|
+
ks: string;
|
|
11
|
+
albb: string;
|
|
12
|
+
wxsph: string;
|
|
13
|
+
tiktok: string;
|
|
14
|
+
tiktokUs: string;
|
|
15
|
+
}[];
|
|
16
|
+
export default bags_motion;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const clothing_accessory: {
|
|
2
|
+
title: string;
|
|
3
|
+
pdd: string;
|
|
4
|
+
tb: string;
|
|
5
|
+
tm: string;
|
|
6
|
+
jd: string;
|
|
7
|
+
dy: string;
|
|
8
|
+
shopee: string;
|
|
9
|
+
xhs: string;
|
|
10
|
+
ks: string;
|
|
11
|
+
albb: string;
|
|
12
|
+
wxsph: string;
|
|
13
|
+
tiktok: string;
|
|
14
|
+
tiktokUs: string;
|
|
15
|
+
}[];
|
|
16
|
+
export default clothing_accessory;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const clothing_children: {
|
|
2
|
+
title: string;
|
|
3
|
+
pdd: string;
|
|
4
|
+
tb: string;
|
|
5
|
+
jd: string;
|
|
6
|
+
dy: string;
|
|
7
|
+
tm: string;
|
|
8
|
+
ks: string;
|
|
9
|
+
xhs: string;
|
|
10
|
+
albb: string;
|
|
11
|
+
wxsph: string;
|
|
12
|
+
shopee: string;
|
|
13
|
+
tiktok: string;
|
|
14
|
+
tiktokUs: string;
|
|
15
|
+
}[];
|
|
16
|
+
export default clothing_children;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const clothing_jewelry: {
|
|
2
|
+
title: string;
|
|
3
|
+
pdd: string;
|
|
4
|
+
tb: string;
|
|
5
|
+
tm: string;
|
|
6
|
+
jd: string;
|
|
7
|
+
dy: string;
|
|
8
|
+
shopee: string;
|
|
9
|
+
xhs: string;
|
|
10
|
+
ks: string;
|
|
11
|
+
albb: string;
|
|
12
|
+
wxsph: string;
|
|
13
|
+
tiktok: string;
|
|
14
|
+
tiktokUs: string;
|
|
15
|
+
}[];
|
|
16
|
+
export default clothing_jewelry;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const clothing_men: {
|
|
2
|
+
title: string;
|
|
3
|
+
pdd: string;
|
|
4
|
+
tb: string;
|
|
5
|
+
jd: string;
|
|
6
|
+
dy: string;
|
|
7
|
+
tm: string;
|
|
8
|
+
ks: string;
|
|
9
|
+
xhs: string;
|
|
10
|
+
albb: string;
|
|
11
|
+
wxsph: string;
|
|
12
|
+
shopee: string;
|
|
13
|
+
tiktok: string;
|
|
14
|
+
tiktokUs: string;
|
|
15
|
+
}[];
|
|
16
|
+
export default clothing_men;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const clothing_motion: {
|
|
2
|
+
title: string;
|
|
3
|
+
pdd: string;
|
|
4
|
+
tb: string;
|
|
5
|
+
tm: string;
|
|
6
|
+
jd: string;
|
|
7
|
+
dy: string;
|
|
8
|
+
shopee: string;
|
|
9
|
+
xhs: string;
|
|
10
|
+
ks: string;
|
|
11
|
+
albb: string;
|
|
12
|
+
wxsph: string;
|
|
13
|
+
tiktok: string;
|
|
14
|
+
tiktokUs: string;
|
|
15
|
+
}[];
|
|
16
|
+
export default clothing_motion;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const clothing_underwear: {
|
|
2
|
+
title: string;
|
|
3
|
+
pdd: string;
|
|
4
|
+
tb: string;
|
|
5
|
+
tm: string;
|
|
6
|
+
jd: string;
|
|
7
|
+
dy: string;
|
|
8
|
+
shopee: string;
|
|
9
|
+
xhs: string;
|
|
10
|
+
ks: string;
|
|
11
|
+
albb: string;
|
|
12
|
+
wxsph: string;
|
|
13
|
+
tiktok: string;
|
|
14
|
+
tiktokUs: string;
|
|
15
|
+
}[];
|
|
16
|
+
export default clothing_underwear;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const clothing_women: {
|
|
2
|
+
title: string;
|
|
3
|
+
pdd: string;
|
|
4
|
+
tb: string;
|
|
5
|
+
jd: string;
|
|
6
|
+
dy: string;
|
|
7
|
+
tm: string;
|
|
8
|
+
ks: string;
|
|
9
|
+
xhs: string;
|
|
10
|
+
albb: string;
|
|
11
|
+
wxsph: string;
|
|
12
|
+
shopee: string;
|
|
13
|
+
tiktok: string;
|
|
14
|
+
tiktokUs: string;
|
|
15
|
+
}[];
|
|
16
|
+
export default clothing_women;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const departmentStore_bedding: {
|
|
2
|
+
title: string;
|
|
3
|
+
pdd: string;
|
|
4
|
+
tb: string;
|
|
5
|
+
tm: string;
|
|
6
|
+
jd: string;
|
|
7
|
+
dy: string;
|
|
8
|
+
shopee: string;
|
|
9
|
+
xhs: string;
|
|
10
|
+
ks: string;
|
|
11
|
+
albb: string;
|
|
12
|
+
wxsph: string;
|
|
13
|
+
tiktok: string;
|
|
14
|
+
tiktokUs: string;
|
|
15
|
+
}[];
|
|
16
|
+
export default departmentStore_bedding;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const departmentStore_flower: {
|
|
2
|
+
title: string;
|
|
3
|
+
pdd: string;
|
|
4
|
+
tb: string;
|
|
5
|
+
tm: string;
|
|
6
|
+
jd: string;
|
|
7
|
+
dy: string;
|
|
8
|
+
shopee: string;
|
|
9
|
+
xhs: string;
|
|
10
|
+
ks: string;
|
|
11
|
+
albb: string;
|
|
12
|
+
wxsph: string;
|
|
13
|
+
tiktok: string;
|
|
14
|
+
tiktokUs: string;
|
|
15
|
+
}[];
|
|
16
|
+
export default departmentStore_flower;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const departmentStore_homefabric: {
|
|
2
|
+
title: string;
|
|
3
|
+
pdd: string;
|
|
4
|
+
tb: string;
|
|
5
|
+
tm: string;
|
|
6
|
+
jd: string;
|
|
7
|
+
dy: string;
|
|
8
|
+
shopee: string;
|
|
9
|
+
xhs: string;
|
|
10
|
+
ks: string;
|
|
11
|
+
albb: string;
|
|
12
|
+
wxsph: string;
|
|
13
|
+
tiktok: string;
|
|
14
|
+
tiktokUs: string;
|
|
15
|
+
}[];
|
|
16
|
+
export default departmentStore_homefabric;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const departmentStore_petanimal: {
|
|
2
|
+
title: string;
|
|
3
|
+
pdd: string;
|
|
4
|
+
tb: string;
|
|
5
|
+
tm: string;
|
|
6
|
+
jd: string;
|
|
7
|
+
dy: string;
|
|
8
|
+
shopee: string;
|
|
9
|
+
xhs: string;
|
|
10
|
+
ks: string;
|
|
11
|
+
albb: string;
|
|
12
|
+
wxsph: string;
|
|
13
|
+
tiktok: string;
|
|
14
|
+
tiktokUs: string;
|
|
15
|
+
}[];
|
|
16
|
+
export default departmentStore_petanimal;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const departmentStoreStorage: {
|
|
2
|
+
title: string;
|
|
3
|
+
pdd: string;
|
|
4
|
+
tb: string;
|
|
5
|
+
tm: string;
|
|
6
|
+
jd: string;
|
|
7
|
+
dy: string;
|
|
8
|
+
shopee: string;
|
|
9
|
+
xhs: string;
|
|
10
|
+
ks: string;
|
|
11
|
+
albb: string;
|
|
12
|
+
wxsph: string;
|
|
13
|
+
tiktok: string;
|
|
14
|
+
tiktokUs: string;
|
|
15
|
+
}[];
|
|
16
|
+
export default departmentStoreStorage;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const motherBaby_bady: {
|
|
2
|
+
title: string;
|
|
3
|
+
pdd: string;
|
|
4
|
+
tb: string;
|
|
5
|
+
tm: string;
|
|
6
|
+
jd: string;
|
|
7
|
+
dy: string;
|
|
8
|
+
shopee: string;
|
|
9
|
+
xhs: string;
|
|
10
|
+
ks: string;
|
|
11
|
+
albb: string;
|
|
12
|
+
wxsph: string;
|
|
13
|
+
tiktok: string;
|
|
14
|
+
tiktokUs: string;
|
|
15
|
+
}[];
|
|
16
|
+
export default motherBaby_bady;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const motherBaby_gravida: {
|
|
2
|
+
title: string;
|
|
3
|
+
pdd: string;
|
|
4
|
+
tb: string;
|
|
5
|
+
tm: string;
|
|
6
|
+
jd: string;
|
|
7
|
+
dy: string;
|
|
8
|
+
shopee: string;
|
|
9
|
+
xhs: string;
|
|
10
|
+
ks: string;
|
|
11
|
+
albb: string;
|
|
12
|
+
wxsph: string;
|
|
13
|
+
tiktok: string;
|
|
14
|
+
tiktokUs: string;
|
|
15
|
+
}[];
|
|
16
|
+
export default motherBaby_gravida;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const numeral_accessory: {
|
|
2
|
+
title: string;
|
|
3
|
+
pdd: string;
|
|
4
|
+
tb: string;
|
|
5
|
+
tm: string;
|
|
6
|
+
jd: string;
|
|
7
|
+
dy: string;
|
|
8
|
+
shopee: string;
|
|
9
|
+
xhs: string;
|
|
10
|
+
ks: string;
|
|
11
|
+
albb: string;
|
|
12
|
+
wxsph: string;
|
|
13
|
+
tiktok: string;
|
|
14
|
+
tiktokUs: string;
|
|
15
|
+
}[];
|
|
16
|
+
export default numeral_accessory;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const numeral_camera: {
|
|
2
|
+
title: string;
|
|
3
|
+
pdd: string;
|
|
4
|
+
tb: string;
|
|
5
|
+
tm: string;
|
|
6
|
+
jd: string;
|
|
7
|
+
dy: string;
|
|
8
|
+
shopee: string;
|
|
9
|
+
xhs: string;
|
|
10
|
+
ks: string;
|
|
11
|
+
albb: string;
|
|
12
|
+
wxsph: string;
|
|
13
|
+
tiktok: string;
|
|
14
|
+
tiktokUs: string;
|
|
15
|
+
}[];
|
|
16
|
+
export default numeral_camera;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const numeral_computer: {
|
|
2
|
+
title: string;
|
|
3
|
+
pdd: string;
|
|
4
|
+
tb: string;
|
|
5
|
+
tm: string;
|
|
6
|
+
jd: string;
|
|
7
|
+
dy: string;
|
|
8
|
+
shopee: string;
|
|
9
|
+
xhs: string;
|
|
10
|
+
ks: string;
|
|
11
|
+
albb: string;
|
|
12
|
+
wxsph: string;
|
|
13
|
+
tiktok: string;
|
|
14
|
+
tiktokUs: string;
|
|
15
|
+
}[];
|
|
16
|
+
export default numeral_computer;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const shoes_children: {
|
|
2
|
+
title: string;
|
|
3
|
+
pdd: string;
|
|
4
|
+
tb: string;
|
|
5
|
+
tm: string;
|
|
6
|
+
jd: string;
|
|
7
|
+
dy: string;
|
|
8
|
+
shopee: string;
|
|
9
|
+
xhs: string;
|
|
10
|
+
ks: string;
|
|
11
|
+
albb: string;
|
|
12
|
+
wxsph: string;
|
|
13
|
+
tiktok: string;
|
|
14
|
+
tiktokUs: string;
|
|
15
|
+
}[];
|
|
16
|
+
export default shoes_children;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const shoes_men: {
|
|
2
|
+
title: string;
|
|
3
|
+
pdd: string;
|
|
4
|
+
tb: string;
|
|
5
|
+
tm: string;
|
|
6
|
+
jd: string;
|
|
7
|
+
dy: string;
|
|
8
|
+
shopee: string;
|
|
9
|
+
xhs: string;
|
|
10
|
+
ks: string;
|
|
11
|
+
albb: string;
|
|
12
|
+
wxsph: string;
|
|
13
|
+
tiktok: string;
|
|
14
|
+
tiktokUs: string;
|
|
15
|
+
}[];
|
|
16
|
+
export default shoes_men;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const shoes_motion: {
|
|
2
|
+
title: string;
|
|
3
|
+
pdd: string;
|
|
4
|
+
tb: string;
|
|
5
|
+
tm: string;
|
|
6
|
+
jd: string;
|
|
7
|
+
dy: string;
|
|
8
|
+
shopee: string;
|
|
9
|
+
xhs: string;
|
|
10
|
+
ks: string;
|
|
11
|
+
albb: string;
|
|
12
|
+
wxsph: string;
|
|
13
|
+
tiktok: string;
|
|
14
|
+
tiktokUs: string;
|
|
15
|
+
}[];
|
|
16
|
+
export default shoes_motion;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const shoes_women: {
|
|
2
|
+
title: string;
|
|
3
|
+
pdd: string;
|
|
4
|
+
tb: string;
|
|
5
|
+
tm: string;
|
|
6
|
+
jd: string;
|
|
7
|
+
dy: string;
|
|
8
|
+
shopee: string;
|
|
9
|
+
xhs: string;
|
|
10
|
+
ks: string;
|
|
11
|
+
albb: string;
|
|
12
|
+
wxsph: string;
|
|
13
|
+
tiktok: string;
|
|
14
|
+
tiktokUs: string;
|
|
15
|
+
}[];
|
|
16
|
+
export default shoes_women;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const sportsOutdoor_outdoors: {
|
|
2
|
+
title: string;
|
|
3
|
+
pdd: string;
|
|
4
|
+
tb: string;
|
|
5
|
+
tm: string;
|
|
6
|
+
jd: string;
|
|
7
|
+
dy: string;
|
|
8
|
+
shopee: string;
|
|
9
|
+
xhs: string;
|
|
10
|
+
ks: string;
|
|
11
|
+
albb: string;
|
|
12
|
+
wxsph: string;
|
|
13
|
+
tiktok: string;
|
|
14
|
+
tiktokUs: string;
|
|
15
|
+
}[];
|
|
16
|
+
export default sportsOutdoor_outdoors;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const sportsOutdoor_sports: {
|
|
2
|
+
title: string;
|
|
3
|
+
pdd: string;
|
|
4
|
+
tb: string;
|
|
5
|
+
tm: string;
|
|
6
|
+
jd: string;
|
|
7
|
+
dy: string;
|
|
8
|
+
shopee: string;
|
|
9
|
+
xhs: string;
|
|
10
|
+
ks: string;
|
|
11
|
+
albb: string;
|
|
12
|
+
wxsph: string;
|
|
13
|
+
tiktok: string;
|
|
14
|
+
tiktokUs: string;
|
|
15
|
+
}[];
|
|
16
|
+
export default sportsOutdoor_sports;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const vehicle_cycling: {
|
|
2
|
+
title: string;
|
|
3
|
+
pdd: string;
|
|
4
|
+
tb: string;
|
|
5
|
+
tm: string;
|
|
6
|
+
jd: string;
|
|
7
|
+
dy: string;
|
|
8
|
+
shopee: string;
|
|
9
|
+
xhs: string;
|
|
10
|
+
ks: string;
|
|
11
|
+
albb: string;
|
|
12
|
+
wxsph: string;
|
|
13
|
+
tiktok: string;
|
|
14
|
+
tiktokUs: string;
|
|
15
|
+
}[];
|
|
16
|
+
export default vehicle_cycling;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const vehicle_electricvehicle: {
|
|
2
|
+
title: string;
|
|
3
|
+
pdd: string;
|
|
4
|
+
tb: string;
|
|
5
|
+
tm: string;
|
|
6
|
+
jd: string;
|
|
7
|
+
dy: string;
|
|
8
|
+
shopee: string;
|
|
9
|
+
xhs: string;
|
|
10
|
+
ks: string;
|
|
11
|
+
albb: string;
|
|
12
|
+
wxsph: string;
|
|
13
|
+
tiktok: string;
|
|
14
|
+
tiktokUs: string;
|
|
15
|
+
}[];
|
|
16
|
+
export default vehicle_electricvehicle;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const vehicle_motorcycle: {
|
|
2
|
+
title: string;
|
|
3
|
+
pdd: string;
|
|
4
|
+
tb: string;
|
|
5
|
+
tm: string;
|
|
6
|
+
jd: string;
|
|
7
|
+
dy: string;
|
|
8
|
+
shopee: string;
|
|
9
|
+
xhs: string;
|
|
10
|
+
ks: string;
|
|
11
|
+
albb: string;
|
|
12
|
+
wxsph: string;
|
|
13
|
+
tiktok: string;
|
|
14
|
+
tiktokUs: string;
|
|
15
|
+
}[];
|
|
16
|
+
export default vehicle_motorcycle;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { createCategoryProperties } from './platform';
|
|
2
|
+
import { GoodsAttr } from "./platform/type";
|
|
3
|
+
import { MatchDatas } from './type';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
version: string;
|
|
6
|
+
matchCategoryProperties: typeof matchCategoryProperties;
|
|
7
|
+
createCategoryProperties: typeof createCategoryProperties;
|
|
8
|
+
createCategoryPropertyTemplate: typeof createCategoryPropertyTemplate;
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
/**
|
|
12
|
+
* 匹配属性值
|
|
13
|
+
* @param matchDatas 匹配数据
|
|
14
|
+
* @param matchLevel 匹配等级
|
|
15
|
+
* @param outType 匹配结果输出类型 group: 分组,template: 模板
|
|
16
|
+
* */
|
|
17
|
+
declare function matchCategoryProperties(matchDatas: MatchDatas, matchLevel?: number, outType?: string): Promise<unknown>;
|
|
18
|
+
/**
|
|
19
|
+
* 创建分类属性模板
|
|
20
|
+
* */
|
|
21
|
+
declare function createCategoryPropertyTemplate(properties: any[]): GoodsAttr[];
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type FieldValue = {
|
|
2
|
+
value: string[];
|
|
3
|
+
pt_limit: any[];
|
|
4
|
+
sort: number;
|
|
5
|
+
};
|
|
6
|
+
type FieldsType = {
|
|
7
|
+
[key: string]: FieldValue[];
|
|
8
|
+
};
|
|
9
|
+
export type defaultItem = {
|
|
10
|
+
attr: string[];
|
|
11
|
+
fields: FieldsType;
|
|
12
|
+
};
|
|
13
|
+
declare const _default: {
|
|
14
|
+
map: defaultItem[];
|
|
15
|
+
};
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { MatchInfo } from "@/type";
|
|
2
|
+
import { PropertyItem } from "@/platform/type";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
getAttrDefaultValue: typeof getAttrDefaultValue;
|
|
5
|
+
attrSimilarity: typeof attrSimilarity;
|
|
6
|
+
attrValueSimilarity: typeof attrValueSimilarity;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
declare function getAttrDefaultValue(matchInfo: MatchInfo, propertyItem: PropertyItem): any;
|
|
10
|
+
declare function attrSimilarity(attr_name1: string, attr_name2: string): number;
|
|
11
|
+
declare function attrValueSimilarity(attr: string, attr_value1: string, attr_value2: string, min_similarity?: number): number;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PropertyItem } from "../type";
|
|
2
|
+
declare const _default: {
|
|
3
|
+
createCategoryProperties: typeof createCategoryProperties;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
/**
|
|
7
|
+
* 根据拼多多分类规则与属性,生成自定义 上货属性
|
|
8
|
+
* */
|
|
9
|
+
declare function createCategoryProperties(categoryProperties: any[]): PropertyItem[];
|