You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
335 B

  1. import { Catalog } from '~/domain/models/upload/catalog'
  2. export class CatalogDTO {
  3. name: string
  4. example: string
  5. acceptTypes: string
  6. properties: object
  7. constructor(item: Catalog) {
  8. this.name = item.name
  9. this.example = item.example
  10. this.acceptTypes = item.acceptTypes
  11. this.properties = item.properties
  12. }
  13. }