Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@contrail/types

Package Overview
Dependencies
Maintainers
4
Versions
179
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contrail/types - npm Package Compare versions

Comparing version 1.0.16 to 1.0.17

7

lib/relations/relation.d.ts
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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc