File tree 4 files changed +115
-291
lines changed
4 files changed +115
-291
lines changed Original file line number Diff line number Diff line change 5
5
"author" : " Adobe Inc" ,
6
6
"license" : " Apache-2.0" ,
7
7
"dependencies" : {
8
- "@types/photoshop" : " ^24.5.1" ,
9
- "@types/react" : " ^18.2.6" ,
10
- "@types/react-dom" : " ^18.2.4" ,
11
8
"changedpi" : " ^1.0.4" ,
9
+ "diffusion-chain" : " ^1.0.4" ,
12
10
"fastify" : " ^4.10.2" ,
13
11
"jimp" : " ^0.16.2" ,
14
12
"madge" : " ^6.0.0" ,
24
22
"test" : " test"
25
23
},
26
24
"devDependencies" : {
25
+ "@types/mkdirp" : " ^2.0.0" ,
26
+ "@types/photoshop" : " ^24.5.1" ,
27
+ "@types/react" : " ^18.2.6" ,
28
+ "@types/react-dom" : " ^18.2.4" ,
27
29
"@babel/core" : " ^7.21.8" ,
28
30
"@babel/plugin-proposal-object-rest-spread" : " ^7.20.7" ,
29
31
"@babel/plugin-syntax-class-properties" : " ^7.12.13" ,
30
32
"@babel/plugin-transform-react-jsx" : " ^7.21.5" ,
31
33
"@svgr/webpack" : " ^8.0.1" ,
32
34
"babel-loader" : " ^9.1.2" ,
35
+ "chalk" : " ^5.3.0" ,
33
36
"clean-webpack-plugin" : " ^4.0.0" ,
34
37
"commander" : " ^11.0.0" ,
35
38
"copy-webpack-plugin" : " ^11.0.0" ,
45
48
"url-loader" : " ^4.1.1" ,
46
49
"webpack" : " ^5.82.1" ,
47
50
"webpack-cli" : " ^5.1.1" ,
48
- "chalk" : " ^5.3.0" ,
49
51
"yazl" : " ^2.5.1"
50
52
},
51
53
"scripts" : {
64
66
"url" : " https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin/issues"
65
67
},
66
68
"homepage" : " https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin#readme"
67
- }
69
+ }
Original file line number Diff line number Diff line change @@ -118,6 +118,9 @@ function getEnableControlNet(index: number) {
118
118
)
119
119
else return store . controlNetUnitData [ index || 0 ] . enabled
120
120
}
121
+ function getControlNetDatas ( ) {
122
+ return store . controlNetUnitData ;
123
+ }
121
124
function mapPluginSettingsToControlNet ( plugin_settings : any ) {
122
125
const ps = plugin_settings // for shortness
123
126
let controlnet_units : any [ ] = [ ]
@@ -291,5 +294,6 @@ export {
291
294
setControlInputImageSrc ,
292
295
isControlNetModeEnable ,
293
296
getModuleDetail ,
297
+ getControlNetDatas ,
294
298
store ,
295
299
}
You can’t perform that action at this time.
0 commit comments