import { f } from '@marcj/marshal' ; export class User { constructor ( id , name , avatarUrl ) { this . id = id ; this . name = name ; this . avatarUrl = avatarUrl ; } @ f avatarUrl : string ; @ f . primary ( ) id : string ; @ f name : string ; }