lucid-extension-sdk
Advanced tools
Comparing version 0.0.293 to 0.0.294
@@ -100,2 +100,6 @@ import { isNumber, isString } from '../../checks'; | ||
}>; | ||
export declare const isSerializedIsoDateObject: (subject: unknown) => subject is import("../../guards").DestructureGuardedTypeObj<{ | ||
isoDate: typeof isString; | ||
displayTimezone: (x: unknown) => x is string | null | undefined; | ||
}>; | ||
export declare const isSerializedLucidDateObject: (x: unknown) => x is import("../../guards").DestructureGuardedTypeObj<{ | ||
@@ -102,0 +106,0 @@ ms: typeof isNumber; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.isSerializedFields = exports.isSerializedJsonFieldType = exports.isSerializedFieldType = exports.isSerializedTimeObject = exports.isSerializedLucidDateObject = exports.isSerializedMillisecondsDateObject = exports.isSerializedLucidCurrency = exports.isSerializedLucidDictionary = exports.isJsonSerializedLucidDictionary = exports.isNestedSerializedLucidDictionary = exports.isSerializedColorObjectFieldType = void 0; | ||
exports.isSerializedFields = exports.isSerializedJsonFieldType = exports.isSerializedFieldType = exports.isSerializedTimeObject = exports.isSerializedLucidDateObject = exports.isSerializedIsoDateObject = exports.isSerializedMillisecondsDateObject = exports.isSerializedLucidCurrency = exports.isSerializedLucidDictionary = exports.isJsonSerializedLucidDictionary = exports.isNestedSerializedLucidDictionary = exports.isSerializedColorObjectFieldType = void 0; | ||
const checks_1 = require("../../checks"); | ||
@@ -27,7 +27,7 @@ const validators_1 = require("../../validators/validators"); | ||
}); | ||
const isSerializedIsoDateObject = (0, validators_1.objectValidator)({ | ||
exports.isSerializedIsoDateObject = (0, validators_1.objectValidator)({ | ||
'isoDate': checks_1.isString, | ||
'displayTimezone': (0, validators_1.nullableOption)(checks_1.isString), | ||
}); | ||
exports.isSerializedLucidDateObject = (0, validators_1.either)(exports.isSerializedMillisecondsDateObject, isSerializedIsoDateObject); | ||
exports.isSerializedLucidDateObject = (0, validators_1.either)(exports.isSerializedMillisecondsDateObject, exports.isSerializedIsoDateObject); | ||
exports.isSerializedTimeObject = (0, validators_1.objectValidator)({ | ||
@@ -34,0 +34,0 @@ 'hours': checks_1.isNumber, |
{ | ||
"name": "lucid-extension-sdk", | ||
"version": "0.0.293", | ||
"version": "0.0.294", | ||
"description": "Utility classes for writing Lucid Software editor extensions", | ||
@@ -5,0 +5,0 @@ "main": "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
788005
18193