Skip to content

0.1.10

Latest

Choose a tag to compare

@xtrinch xtrinch released this 19 Apr 15:04

What's Changed

Backwards compat

Display dto should now be passed, can be copied from e.g. create dto for existing users.

@AdminResource({
  model: User,
  list: ['id', 'email', 'role', 'active', 'createdAt'],
  search: ['email'],
  filters: ['role', 'active'],
  readonly: ['createdAt'],
  schema: adminSchemaFromClassValidator({
            displayDto: CategoryDisplayDto,
   }),
})

Full Changelog: 0.1.8...0.1.9