aboutsummaryrefslogtreecommitdiff
path: root/src/new_fields/RichTextField.ts
blob: 0fa3cf73ccfc93e5cd50e780aee0d7a3841f5181 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import { ObjectField } from "./ObjectField";
import { serializable } from "serializr";

export class RichTextField extends ObjectField {
    @serializable(true)
    readonly Data: string;

    constructor(data: string) {
        super();
        this.Data = data;
    }
}