UNPKG

@amirmarmul/waba-common

Version:

![GitHub release](https://img.shields.io/github/v/release/amirmarmul/waba-common?style=flat-square)

17 lines (16 loc) 589 B
export declare class JsonResource { [property: string]: any; protected hidden: string[]; protected fillable: string[]; protected attributes: any; constructor(attributes: object); protected fill(attributes: any): void; protected isAttribute(key: string): boolean; protected getAttribute(key: string): any; protected setAttribute(key: string, value: any): void; protected getHidden(): string[]; protected setHidden(keys: string[]): void; protected getFillable(): string[]; protected setFillable(keys: string[]): void; toJSON(): any; }