@ssafy-mhk/e-ver 1.0.0 → 1.0.2
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/README.md +170 -5
- package/dist/api/EverClient.d.ts +168 -0
- package/dist/components/AvatarModel.d.ts +11 -0
- package/dist/components/CameraView.d.ts +10 -0
- package/dist/components/EverCanvas.d.ts +10 -0
- package/dist/components/EverProvider.d.ts +17 -0
- package/dist/components/GarmentModel.d.ts +10 -0
- package/dist/hooks/useBodyMeasurer.d.ts +11 -0
- package/dist/hooks/useEverGeneration.d.ts +17 -0
- package/dist/hooks/usePoseMapper.d.ts +7 -0
- package/dist/hooks/usePoseMapper.test.d.ts +1 -0
- package/dist/hooks/usePoseTracker.d.ts +7 -0
- package/dist/index.d.ts +11 -1
- package/dist/index.es.js +40791 -3
- package/dist/index.umd.js +4415 -1
- package/dist/store/useEverStore.d.ts +17 -0
- package/dist/store/useEverStore.test.d.ts +1 -0
- package/dist/test/setup.d.ts +1 -0
- package/package.json +34 -28
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface EverState {
|
|
2
|
+
isWebcamActive: boolean;
|
|
3
|
+
activeAvatarUrl: string | null;
|
|
4
|
+
activeGarmentUrl: string | null;
|
|
5
|
+
landmarks: any | null;
|
|
6
|
+
worldLandmarks: any | null;
|
|
7
|
+
fitResult: {
|
|
8
|
+
type: "slim" | "regular" | "oversize" | null;
|
|
9
|
+
suitability: number;
|
|
10
|
+
} | null;
|
|
11
|
+
setWebcamActive: (active: boolean) => void;
|
|
12
|
+
setActiveAvatarUrl: (url: string | null) => void;
|
|
13
|
+
setActiveGarmentUrl: (url: string | null) => void;
|
|
14
|
+
setLandmarks: (landmarks: any, worldLandmarks: any) => void;
|
|
15
|
+
setFitResult: (result: EverState["fitResult"]) => void;
|
|
16
|
+
}
|
|
17
|
+
export declare const useEverStore: import("zustand").UseBoundStore<import("zustand").StoreApi<EverState>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,35 +1,18 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "@ssafy-mhk/e-ver",
|
|
3
|
-
"version": "1.0.0",
|
|
4
|
-
"type": "module",
|
|
5
|
-
|
|
6
|
-
"main": "./dist/index.umd.js",
|
|
7
|
-
"module": "./dist/index.js",
|
|
8
|
-
"types": "./dist/index.d.ts",
|
|
9
|
-
"exports": {
|
|
10
|
-
".": {
|
|
11
|
-
"import": "./dist/index.js",
|
|
12
|
-
"require": "./dist/index.umd.js",
|
|
13
|
-
"types": "./dist/index.d.ts"
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
"files": [
|
|
17
|
-
"dist"
|
|
18
|
-
],
|
|
19
|
-
|
|
20
|
-
"scripts": {
|
|
21
|
-
"dev": "vite",
|
|
22
|
-
"build": "tsc -b && vite build",
|
|
23
|
-
"lint": "eslint .",
|
|
24
|
-
"preview": "vite preview"
|
|
25
|
-
},
|
|
26
2
|
"dependencies": {
|
|
27
|
-
"
|
|
28
|
-
"
|
|
3
|
+
"@mediapipe/tasks-vision": "^0.10.32",
|
|
4
|
+
"@pixiv/three-vrm": "^3.5.1",
|
|
5
|
+
"@react-three/drei": "^10.7.7",
|
|
6
|
+
"@react-three/fiber": "^9.5.0",
|
|
7
|
+
"@types/three": "^0.183.1",
|
|
8
|
+
"axios": "^1.13.6",
|
|
9
|
+
"three": "^0.183.2",
|
|
10
|
+
"zustand": "^5.0.12"
|
|
29
11
|
},
|
|
30
12
|
"devDependencies": {
|
|
31
13
|
"@eslint/js": "^9.39.4",
|
|
32
14
|
"@testing-library/dom": "^10.4.1",
|
|
15
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
33
16
|
"@testing-library/react": "^16.3.2",
|
|
34
17
|
"@types/node": "^24.12.0",
|
|
35
18
|
"@types/react": "^19.2.14",
|
|
@@ -46,7 +29,30 @@
|
|
|
46
29
|
"vite-plugin-dts": "^4.5.4",
|
|
47
30
|
"vitest": "^4.1.0"
|
|
48
31
|
},
|
|
32
|
+
"exports": {
|
|
33
|
+
".": {
|
|
34
|
+
"import": "./dist/index.es.js",
|
|
35
|
+
"require": "./dist/index.umd.js",
|
|
36
|
+
"types": "./dist/index.d.ts"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"files": [
|
|
40
|
+
"dist"
|
|
41
|
+
],
|
|
42
|
+
"main": "./dist/index.umd.js",
|
|
43
|
+
"module": "./dist/index.es.js",
|
|
44
|
+
"name": "@ssafy-mhk/e-ver",
|
|
49
45
|
"peerDependencies": {
|
|
50
|
-
"react": ">=16.8.0"
|
|
51
|
-
|
|
46
|
+
"react": ">=16.8.0",
|
|
47
|
+
"react-dom": ">=16.8.0"
|
|
48
|
+
},
|
|
49
|
+
"scripts": {
|
|
50
|
+
"build": "vite build && tsc -p tsconfig.app.json",
|
|
51
|
+
"dev": "vite",
|
|
52
|
+
"lint": "eslint .",
|
|
53
|
+
"preview": "vite preview"
|
|
54
|
+
},
|
|
55
|
+
"type": "module",
|
|
56
|
+
"types": "./dist/index.d.ts",
|
|
57
|
+
"version": "1.0.2"
|
|
52
58
|
}
|