File tree Expand file tree Collapse file tree 4 files changed +30
-18
lines changed Expand file tree Collapse file tree 4 files changed +30
-18
lines changed Original file line number Diff line number Diff line change 17
17
"description" : " " ,
18
18
"dependencies" : {
19
19
"@adminforth/audit-log" : " ^1.2.0" ,
20
- "@adminforth/bulk-ai-flow" : " ^1.11 .0" ,
20
+ "@adminforth/bulk-ai-flow" : " ^1.13 .0" ,
21
21
"@adminforth/chat-gpt" : " ^1.0.20" ,
22
22
"@adminforth/completion-adapter-open-ai-chat-gpt" : " ^1.0.2" ,
23
23
"@adminforth/email-password-reset" : " ^1.1.0" ,
24
- "@adminforth/foreign-inline-list" : " ^1.3.1 " ,
24
+ "@adminforth/foreign-inline-list" : " ^1.6.2 " ,
25
25
"@adminforth/i18n" : " ^1.2.4" ,
26
26
"@adminforth/image-generation-adapter-openai" : " ^1.0.4" ,
27
27
"@adminforth/image-vision-adapter-openai" : " ^1.0.3" ,
32
32
"@adminforth/two-factors-auth" : " ^1.1.2" ,
33
33
"@adminforth/upload" : " 2.2.1" ,
34
34
"@prisma/client" : " ^6.6.0" ,
35
- "adminforth" : " ^2.4.0-next.122 " ,
35
+ "adminforth" : " ^2.4.0-next.124 " ,
36
36
"better-sqlite3" : " ^10.0.0" ,
37
37
"express" : " ^4.19.2"
38
38
},
Original file line number Diff line number Diff line change @@ -225,7 +225,7 @@ export default {
225
225
} ,
226
226
preview : {
227
227
maxShowWidth : "480px" ,
228
- // previewUrl: ({s3Path }) => `https://demo-static.adminforth.dev/${s3Path }`,
228
+ previewUrl : ( { filePath } ) => `https://demo-static.adminforth.dev/${ filePath } ` ,
229
229
}
230
230
} ) ,
231
231
new UploadPlugin ( {
@@ -244,6 +244,7 @@ export default {
244
244
// You can use next to change preview URLs (if it is image) in list and show views
245
245
preview : {
246
246
maxShowWidth : "480px" ,
247
+ previewUrl : ( { filePath} ) => `https://demo-static.adminforth.dev/${ filePath } ` ,
247
248
}
248
249
} ) ,
249
250
new BulkAiFlowPlugin ( {
Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ export default {
20
20
modifyTableResourceConfig : ( resourceConfig : AdminForthResource ) => {
21
21
// hide column 'square_meter' from both 'list' and 'filter'
22
22
const column = resourceConfig . columns . find ( ( c : AdminForthResourceColumn ) => c . name === 'square_meter' ) ! . showIn = [ ] ;
23
- resourceConfig . options ! . listPageSize = 1 ;
24
23
// feel free to console.log and edit resourceConfig as you need
25
24
} ,
26
25
} ) ,
You can’t perform that action at this time.
0 commit comments