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.
 
 
 
 
 
 

15 lines
394 B

export class Catalog {
constructor(
public name: string,
public example: string,
public accept_types: string,
public properties: object
) {}
static valueOf(
{ name, example, accept_types, properties }:
{ name: string, example: string, accept_types: string, properties: object }
): Catalog {
return new Catalog(name, example, accept_types, properties)
}
}