@gadmin2n/prisma-react-generator 0.0.59 → 0.0.61

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.
@@ -205,9 +205,14 @@ export const ${model.name}List: React.FC<IResourceComponentsProps> = () => {
205
205
  ),
206
206
  extra: (
207
207
  <ListPageHeader
208
+ actions={[
209
+ ...tableConfig.toolbar.actions,
210
+ ...tableConfig.rowSelection.actions,
211
+ ]}
208
212
  importProps={importProps}
209
213
  onExport={triggerExport}
210
214
  exportLoading={exportLoading}
215
+ onRefresh={() => tableQueryResult.refetch()}
211
216
  resourceName={resourceName}
212
217
  />
213
218
  ),
@@ -238,6 +243,7 @@ export const ${model.name}List: React.FC<IResourceComponentsProps> = () => {
238
243
  <RowActions
239
244
  record={record}
240
245
  actions={tableConfig.rowActions.actions}
246
+ visibleNum={tableConfig.rowActions.visibleNum}
241
247
  onUpdate={batchOps.updateOne}
242
248
  updateLoading={batchOps.updateManyIsLoading}
243
249
  t={t}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gadmin2n/prisma-react-generator",
3
3
  "description": "Generates react props and components from Prisma Schema for Tea/Antd ui lib.",
4
- "version": "0.0.59",
4
+ "version": "0.0.61",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
7
7
  "name": "kavenma",