@aristid/leav-types 0.0.7-dd8f9e8 → 0.0.7-e0c1773
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.
|
@@ -16,7 +16,6 @@ export declare const mockAttrTree: {
|
|
|
16
16
|
system?: boolean;
|
|
17
17
|
readonly?: boolean;
|
|
18
18
|
required?: boolean;
|
|
19
|
-
character_limit?: number;
|
|
20
19
|
format?: AttributeFormats;
|
|
21
20
|
linked_library?: string;
|
|
22
21
|
embedded_fields?: import("../../_types/attribute").IEmbeddedAttribute[];
|
|
@@ -28,6 +27,7 @@ export declare const mockAttrTree: {
|
|
|
28
27
|
values_list?: import("../../_types/attribute").IValuesListConf;
|
|
29
28
|
reverse_link?: string | IAttribute;
|
|
30
29
|
unique?: boolean;
|
|
30
|
+
maxLength?: number;
|
|
31
31
|
description?: import("../../_types/systemTranslation").ISystemTranslation;
|
|
32
32
|
label?: import("../../_types/systemTranslation").ISystemTranslation | string;
|
|
33
33
|
};
|
|
@@ -9,7 +9,6 @@ export interface IAttribute extends ICoreEntity {
|
|
|
9
9
|
system?: boolean;
|
|
10
10
|
readonly?: boolean;
|
|
11
11
|
required?: boolean;
|
|
12
|
-
character_limit?: number;
|
|
13
12
|
type: AttributeTypes;
|
|
14
13
|
format?: AttributeFormats;
|
|
15
14
|
linked_library?: string;
|
|
@@ -23,6 +22,7 @@ export interface IAttribute extends ICoreEntity {
|
|
|
23
22
|
values_list?: IValuesListConf;
|
|
24
23
|
reverse_link?: string | IAttribute;
|
|
25
24
|
unique?: boolean;
|
|
25
|
+
maxLength?: number;
|
|
26
26
|
description?: ISystemTranslation;
|
|
27
27
|
}
|
|
28
28
|
export declare enum ValueVersionMode {
|
|
@@ -97,8 +97,7 @@ export declare enum Errors {
|
|
|
97
97
|
UNKNOWN_VERSION_TREE = "UNKNOWN_VERSION_TREE",
|
|
98
98
|
UNKNOWN_VIEW = "UNKNOWN_VIEW",
|
|
99
99
|
USER_IS_NOT_VIEW_OWNER = "USER_IS_NOT_VIEW_OWNER",
|
|
100
|
-
VALUE_NOT_UNIQUE = "VALUE_NOT_UNIQUE"
|
|
101
|
-
VALUE_EXCEEDS_CHARACTER_LIMIT = "VALUE_EXCEEDS_CHARACTER_LIMIT"
|
|
100
|
+
VALUE_NOT_UNIQUE = "VALUE_NOT_UNIQUE"
|
|
102
101
|
}
|
|
103
102
|
export interface IExtendedErrorMsg {
|
|
104
103
|
msg: Errors | string;
|