Skip to content

Commit 522423c

Browse files
committed
dev-demo: make import-export use exportBigDataset param
1 parent 9f197da commit 522423c

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

dev-demo/resources/cars_resources/carsResourseTemplate.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ import { logger } from '../../../adminforth/modules/logger.js';
2727
import { afLogger } from '../../../adminforth/modules/logger.js';
2828
import ForeignInlineListPlugin from '../../../plugins/adminforth-foreign-inline-list/index.js';
2929
// import JsonFormPlugin from '../../../plugins/adminforth-json-form/index.js';
30+
import { s3StorageAdapter } from '../../utils.js';
3031

3132
const CAR_RESOURCE_DB_LABELS = {
3233
sqlite: 'SQLite',
@@ -271,7 +272,11 @@ export default function carsResourseTemplate(resourceId: string, dataSource: Car
271272
// fieldName: 'specifications',
272273
// schema: carSpecificationsSchema,
273274
// }),
274-
new importExport({}),
275+
new importExport({
276+
exportBigDataset: {
277+
storageAdapter: s3StorageAdapter as any
278+
}
279+
}),
275280
// new InlineCreatePlugin({}),
276281
new ListInPlaceEditPlugin({
277282
columns: ["model", "engine_type", "price"],

0 commit comments

Comments
 (0)