lucid-extension-sdk
Advanced tools
Comparing version 0.0.273 to 0.0.274
@@ -6,4 +6,5 @@ import { BaseFieldTypeDefinition, SerializedBaseFieldTypeDefinition } from './basefieldtypedefinition'; | ||
export declare function serializeFieldTypeDefinition(fieldType: FieldTypeDefinition): SerializedFieldTypeDefinition; | ||
export declare const deserializeFieldTypeDefinition: (serializedFieldType: SerializedFieldTypeDefinition) => FieldTypeDefinition; | ||
export declare function deserializeFieldTypeDefinition(fieldType: SerializedBaseFieldTypeDefinition[]): BaseFieldTypeDefinition[]; | ||
export declare function deserializeFieldTypeDefinition(fieldType: SerializedFieldTypeDefinition): FieldTypeDefinition; | ||
export type SerializedFieldTypeDefinition = SerializedBaseFieldTypeDefinition | SerializedBaseFieldTypeDefinition[]; | ||
export declare function isSerializedFieldTypeDefinition(definition: any): definition is SerializedFieldTypeDefinition; |
@@ -65,3 +65,3 @@ "use strict"; | ||
exports.serializeFieldTypeDefinition = serializeFieldTypeDefinition; | ||
const deserializeFieldTypeDefinition = (serializedFieldType) => { | ||
function deserializeFieldTypeDefinition(serializedFieldType) { | ||
if ((0, checks_1.isArray)(serializedFieldType)) { | ||
@@ -71,3 +71,3 @@ return serializedFieldType.map(basefieldtypedefinition_1.deserializeBaseFieldTypeDefinition); | ||
return (0, basefieldtypedefinition_1.deserializeBaseFieldTypeDefinition)(serializedFieldType); | ||
}; | ||
} | ||
exports.deserializeFieldTypeDefinition = deserializeFieldTypeDefinition; | ||
@@ -74,0 +74,0 @@ function isSerializedFieldTypeDefinition(definition) { |
{ | ||
"name": "lucid-extension-sdk", | ||
"version": "0.0.273", | ||
"version": "0.0.274", | ||
"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
763040
17679