@contrail/types
Advanced tools
Comparing version 1.0.16 to 1.0.17
export interface Relation { | ||
entityType: string; | ||
name: string; | ||
cardinality: string; | ||
entityType?: string; | ||
entityInterface?: string; | ||
name?: string; | ||
cardinality?: string; | ||
} |
@@ -24,1 +24,8 @@ export declare enum PropertyType { | ||
} | ||
export interface PropertyTypeMetaData { | ||
label: string; | ||
propertyType: PropertyType; | ||
createable?: boolean; | ||
} | ||
export declare const ActivePropertyTypes: Array<PropertyTypeMetaData>; | ||
export declare const PropertyTypeMeta: Map<PropertyType, PropertyTypeMetaData>; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.PropertyType = void 0; | ||
exports.PropertyTypeMeta = exports.ActivePropertyTypes = exports.PropertyType = void 0; | ||
var PropertyType; | ||
@@ -28,1 +28,28 @@ (function (PropertyType) { | ||
})(PropertyType = exports.PropertyType || (exports.PropertyType = {})); | ||
exports.ActivePropertyTypes = [ | ||
{ label: 'Text', propertyType: PropertyType.Text, createable: true }, | ||
{ label: 'String', propertyType: PropertyType.String, createable: true }, | ||
{ label: 'Number', propertyType: PropertyType.Number, createable: true }, | ||
{ label: 'Date', propertyType: PropertyType.Date, createable: true }, | ||
{ label: 'Boolean', propertyType: PropertyType.Boolean, createable: true }, | ||
{ label: 'MultiSelect', propertyType: PropertyType.MultiSelect, createable: true }, | ||
{ label: 'SingleSelect', propertyType: PropertyType.SingleSelect, createable: true }, | ||
{ label: 'Url', propertyType: PropertyType.Url, createable: true }, | ||
{ label: 'Currency', propertyType: PropertyType.Currency, createable: true }, | ||
{ label: 'Percent', propertyType: PropertyType.Percent, createable: true }, | ||
{ label: 'Rating', propertyType: PropertyType.Rating, createable: true }, | ||
{ label: 'Formula', propertyType: PropertyType.Formula, createable: true }, | ||
{ label: 'ObjectReference', propertyType: PropertyType.ObjectReference, createable: true }, | ||
{ label: 'ObjectReferenceList', propertyType: PropertyType.ObjectReferenceList, createable: true }, | ||
{ label: 'DataGrid', propertyType: PropertyType.DataGrid, createable: true }, | ||
{ label: 'CascadingSelect', propertyType: PropertyType.CascadingSelect, createable: true }, | ||
{ label: 'Sequence', propertyType: PropertyType.Sequence, createable: true }, | ||
{ label: 'Constant', propertyType: PropertyType.Constant, createable: true }, | ||
{ label: 'Composite', propertyType: PropertyType.Composite, createable: true }, | ||
{ label: 'UserList', propertyType: PropertyType.UserList, createable: true }, | ||
{ label: 'Image', propertyType: PropertyType.Image, createable: true }, | ||
]; | ||
exports.PropertyTypeMeta = new Map(); | ||
exports.ActivePropertyTypes.forEach(propDef => { | ||
exports.PropertyTypeMeta.set(propDef.propertyType, propDef); | ||
}); |
{ | ||
"name": "@contrail/types", | ||
"version": "1.0.16", | ||
"version": "1.0.17", | ||
"description": "Types Utility module", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26011
593