lucid-extension-sdk
Advanced tools
Comparing version 0.0.49 to 0.0.50
{ | ||
"name": "lucid-extension-sdk", | ||
"version": "0.0.49", | ||
"version": "0.0.50", | ||
"description": "Utility classes for writing Lucid Software editor extensions", | ||
@@ -5,0 +5,0 @@ "main": "sdk/index.js", |
@@ -7,3 +7,3 @@ import { CollectionEnumFieldType, SerializedCollectionEnumFieldType } from './collectionenumfieldtype'; | ||
constructor(validTypesArray: Type[]); | ||
protected abstract serializeType(t: Type): SerializedFieldTypeArray['validTypes']['0']; | ||
protected abstract serializeType(t: Type): SerializedFieldTypeArraySubTypes; | ||
getInnerTypes(): Type[]; | ||
@@ -14,2 +14,3 @@ getInnerNonArrayTypes(): Exclude<Type, BaseFieldTypeArray<Type>>[]; | ||
export declare type FieldTypeArraySubTypes = ScalarFieldTypeEnum | CollectionEnumFieldType | LiteralFieldType | FieldTypeArray; | ||
export declare type SerializedFieldTypeArraySubTypes = ScalarFieldTypeEnum | SerializedLiteralFieldType | SerializedFieldTypeArray | SerializedCollectionEnumFieldType; | ||
export declare class FieldTypeArray extends BaseFieldTypeArray<FieldTypeArraySubTypes> { | ||
@@ -20,5 +21,5 @@ protected serializeType(t: FieldTypeArraySubTypes): string | SerializedCollectionEnumFieldType | ScalarFieldTypeEnum | SerializedFieldTypeArray; | ||
'ND': false; | ||
'validTypes': (ScalarFieldTypeEnum | SerializedLiteralFieldType | SerializedFieldTypeArray | SerializedCollectionEnumFieldType)[]; | ||
'validTypes': SerializedFieldTypeArraySubTypes[]; | ||
}; | ||
export declare function isSerializedFieldTypeArray(fieldType: any, validateTypeCheck: (t: unknown) => boolean): fieldType is SerializedFieldTypeArray; | ||
export declare function deserializeFieldTypeArray(serializedFieldTypeArray: SerializedFieldTypeArray): FieldTypeArray; |
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
370123
8792