@contrail/types
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -7,2 +7,3 @@ import { PropertyType } from "."; | ||
formula?: string; | ||
formulaFormat?: NumberFormatingOption; | ||
options?: Array<TypePropertyOption>; | ||
@@ -14,1 +15,13 @@ } | ||
} | ||
export interface NumberFormatingOption { | ||
format: NumberFormat; | ||
precision: number; | ||
currency: string; | ||
} | ||
export declare enum NumberFormat { | ||
Currency = "currency", | ||
Percent = "percent", | ||
Integer = "integer", | ||
Decimal = "decimal", | ||
Duration = "duration" | ||
} |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.NumberFormat = void 0; | ||
var NumberFormat; | ||
(function (NumberFormat) { | ||
NumberFormat["Currency"] = "currency"; | ||
NumberFormat["Percent"] = "percent"; | ||
NumberFormat["Integer"] = "integer"; | ||
NumberFormat["Decimal"] = "decimal"; | ||
NumberFormat["Duration"] = "duration"; | ||
})(NumberFormat = exports.NumberFormat || (exports.NumberFormat = {})); |
{ | ||
"name": "@contrail/types", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"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
15066
368