UNPKG

sp-formgen-react

Version:

Formula generator for SharePoint with JSON for react. UI Fabric controls are used for rendering

19 lines (15 loc) 531 B
import { JsonProperty, JsonObject } from "json2typescript"; import { ObjectTranslate } from "formgen-react/dist/objects/ObjectTranslate"; import { ListConfig } from "./ListConfig"; /** * Definition for the a SharePoint List */ @JsonObject export class List { @JsonProperty("key", String) Key: string = ""; @JsonProperty("config", ListConfig) ListConfig: ListConfig = undefined; @JsonProperty("config_trans", ObjectTranslate, true) ConfigTranslation?: ObjectTranslate = undefined }