lucid-extension-sdk 0.0.407 → 0.0.408
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -18,12 +18,12 @@ export declare const isFieldConstraintType: (x: unknown) => x is FieldConstraint
|
|
|
18
18
|
export type SerializedFieldConstraint = {
|
|
19
19
|
'Type': FieldConstraintType;
|
|
20
20
|
'Details'?: UnsafeJsonSerializableOrUndefined;
|
|
21
|
-
'Reason'?: string | undefined;
|
|
21
|
+
'Reason'?: string | undefined | null;
|
|
22
22
|
};
|
|
23
23
|
export declare const isSerializedFieldConstraint: (subject: unknown) => subject is import("../../guards").DestructureGuardedTypeObj<{
|
|
24
24
|
Type: (x: unknown) => x is FieldConstraintType;
|
|
25
25
|
Details: (x: unknown) => x is any;
|
|
26
|
-
Reason: (x: unknown) => x is string | undefined;
|
|
26
|
+
Reason: (x: unknown) => x is string | null | undefined;
|
|
27
27
|
}>;
|
|
28
28
|
export type SerializedFieldDefinition = {
|
|
29
29
|
'Name': string;
|
|
@@ -38,7 +38,7 @@ export declare const isSerializedFieldDefinition: (subject: unknown) => subject
|
|
|
38
38
|
Constraints: (x: unknown) => x is import("../../guards").DestructureGuardedTypeObj<{
|
|
39
39
|
Type: (x: unknown) => x is FieldConstraintType;
|
|
40
40
|
Details: (x: unknown) => x is any;
|
|
41
|
-
Reason: (x: unknown) => x is string | undefined;
|
|
41
|
+
Reason: (x: unknown) => x is string | null | undefined;
|
|
42
42
|
}>[] | undefined;
|
|
43
43
|
SyncSchema: (x: unknown) => x is string | undefined;
|
|
44
44
|
Mapping: (x: unknown) => x is LucidFields[] | SemanticKind[] | undefined;
|
|
@@ -22,7 +22,7 @@ exports.isFieldConstraintType = (0, validators_1.enumValidator)(FieldConstraintT
|
|
|
22
22
|
exports.isSerializedFieldConstraint = (0, validators_1.objectValidator)({
|
|
23
23
|
'Type': (0, validators_1.enumValidator)(FieldConstraintType),
|
|
24
24
|
'Details': (0, validators_1.option)(checks_1.isAny),
|
|
25
|
-
'Reason': (0, validators_1.
|
|
25
|
+
'Reason': (0, validators_1.nullableOption)(checks_1.isString),
|
|
26
26
|
});
|
|
27
27
|
exports.isSerializedFieldDefinition = (0, validators_1.strictObjectValidator)({
|
|
28
28
|
'Name': checks_1.isString,
|
|
@@ -105,8 +105,9 @@ export declare const isSerializedExtensionCardFieldDefinition: (subject: unknown
|
|
|
105
105
|
Type: typeof isSerializedFieldTypeDefinition;
|
|
106
106
|
Constraints: (x: unknown) => x is import("../guards").DestructureGuardedTypeObj<{
|
|
107
107
|
Type: (x: unknown) => x is import("../data/serializedfield/serializedfielddefinition").FieldConstraintType;
|
|
108
|
-
|
|
109
|
-
|
|
108
|
+
/** If defined, the default value for this field */
|
|
109
|
+
Details: (x: unknown) => x is any;
|
|
110
|
+
Reason: (x: unknown) => x is string | null | undefined;
|
|
110
111
|
}>[] | undefined;
|
|
111
112
|
l: typeof isString;
|
|
112
113
|
d: (x: unknown) => x is string | undefined;
|