lucid-extension-sdk 0.0.392 → 0.0.394
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.
|
@@ -41,7 +41,11 @@ export declare enum FieldDisplayType {
|
|
|
41
41
|
* Given or string of name or an object containing iconUrl and name, display as
|
|
42
42
|
* an as a full name or an ImageBadge with full name (if name is present).
|
|
43
43
|
*/
|
|
44
|
-
UserProfile = "UserProfile"
|
|
44
|
+
UserProfile = "UserProfile",
|
|
45
|
+
/**
|
|
46
|
+
* Given an enum value, display the string representation of the enum value.
|
|
47
|
+
*/
|
|
48
|
+
CustomSingleSelectField = "CustomSingleSelectField"
|
|
45
49
|
}
|
|
46
50
|
export declare const isFieldDisplayType: (x: unknown) => x is FieldDisplayType;
|
|
47
51
|
/**
|
|
@@ -47,6 +47,10 @@ var FieldDisplayType;
|
|
|
47
47
|
* an as a full name or an ImageBadge with full name (if name is present).
|
|
48
48
|
*/
|
|
49
49
|
FieldDisplayType["UserProfile"] = "UserProfile";
|
|
50
|
+
/**
|
|
51
|
+
* Given an enum value, display the string representation of the enum value.
|
|
52
|
+
*/
|
|
53
|
+
FieldDisplayType["CustomSingleSelectField"] = "CustomSingleSelectField";
|
|
50
54
|
})(FieldDisplayType || (exports.FieldDisplayType = FieldDisplayType = {}));
|
|
51
55
|
exports.isFieldDisplayType = (0, validators_1.enumValidator)(FieldDisplayType);
|
|
52
56
|
/**
|
|
@@ -12,6 +12,11 @@ import { LucidCardIntegrationStandardImportModal } from './lucidcardintegrations
|
|
|
12
12
|
export interface FieldDescriptor {
|
|
13
13
|
name: string;
|
|
14
14
|
label?: string | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* If true, the checkbox for this field is disabled in the card settings panel
|
|
17
|
+
* and visibility cannot be toggled.
|
|
18
|
+
* This is useful for fields that should always be shown, such as a "name" field.
|
|
19
|
+
*/
|
|
15
20
|
locked?: boolean | undefined;
|
|
16
21
|
}
|
|
17
22
|
export declare const isFieldDescriptor: (subject: unknown) => subject is import("../guards").DestructureGuardedTypeObj<{
|