terriajs
Version:
Geospatial data visualization platform.
63 lines (55 loc) • 1.57 kB
text/typescript
import primitiveTrait from "../Decorators/primitiveTrait";
import mixTraits from "../mixTraits";
import ReferenceTraits from "./ReferenceTraits";
export default class CatalogMemberReferenceTraits extends mixTraits(
ReferenceTraits
) {
({
name: "Name",
description:
"The name to use for this catalog member before the reference is loaded.",
type: "string"
})
name?: string;
({
type: "string",
name: "Description",
description:
"The description to use for this catalog member before the reference is loaded. Markdown and HTML may be used."
})
description?: string;
({
name: "Data Custodian",
type: "string",
description:
"Gets or sets a description of the custodian of this data item."
})
dataCustodian?: string;
({
name: "Is a Group",
description:
"Is the target of this reference expected to be a catalog group?",
type: "boolean"
})
isGroup?: boolean;
({
name: "Is a Function",
description:
"Is the target of this reference expected to be a catalog function?",
type: "boolean"
})
isFunction?: boolean;
({
name: "Is Mappable",
description: "Is the target of this reference expected to have map items?",
type: "boolean"
})
isMappable?: boolean;
({
name: "Is Chartable",
description:
"Is the target of this reference expected to have chart items?",
type: "boolean"
})
isChartable?: boolean;
}