drapcode-constant 1.0.0

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.
@@ -0,0 +1,270 @@
1
+ export declare const FieldTypes: {
2
+ text: {
3
+ id: string;
4
+ name: string;
5
+ validation: {
6
+ min: number;
7
+ max: number;
8
+ };
9
+ show: boolean;
10
+ compositeKey: boolean;
11
+ sortOrder: number;
12
+ };
13
+ large_text: {
14
+ id: string;
15
+ name: string;
16
+ validation: {
17
+ min: number;
18
+ max: number;
19
+ };
20
+ show: boolean;
21
+ compositeKey: boolean;
22
+ sortOrder: number;
23
+ };
24
+ number: {
25
+ id: string;
26
+ name: string;
27
+ validation: {
28
+ min: number;
29
+ max: number;
30
+ };
31
+ show: boolean;
32
+ compositeKey: boolean;
33
+ sortOrder: number;
34
+ };
35
+ date: {
36
+ id: string;
37
+ name: string;
38
+ show: boolean;
39
+ compositeKey: boolean;
40
+ sortOrder: number;
41
+ };
42
+ password: {
43
+ id: string;
44
+ name: string;
45
+ show: boolean;
46
+ compositeKey: boolean;
47
+ sortOrder: number;
48
+ };
49
+ color: {
50
+ id: string;
51
+ name: string;
52
+ show: boolean;
53
+ compositeKey: boolean;
54
+ };
55
+ file: {
56
+ id: string;
57
+ name: string;
58
+ show: boolean;
59
+ compositeKey: boolean;
60
+ multipleTrueName: string;
61
+ sortOrder: number;
62
+ };
63
+ reference: {
64
+ id: string;
65
+ name: string;
66
+ show: boolean;
67
+ compositeKey: boolean;
68
+ multipleTrueName: string;
69
+ sortOrder: number;
70
+ };
71
+ belongsTo: {
72
+ id: string;
73
+ name: string;
74
+ show: boolean;
75
+ compositeKey: boolean;
76
+ sortOrder: number;
77
+ };
78
+ multi_reference: {
79
+ id: string;
80
+ name: string;
81
+ show: boolean;
82
+ compositeKey: boolean;
83
+ };
84
+ image: {
85
+ id: string;
86
+ name: string;
87
+ show: boolean;
88
+ compositeKey: boolean;
89
+ };
90
+ multi_image: {
91
+ id: string;
92
+ name: string;
93
+ show: boolean;
94
+ compositeKey: boolean;
95
+ };
96
+ video_link: {
97
+ id: string;
98
+ name: string;
99
+ show: boolean;
100
+ compositeKey: boolean;
101
+ };
102
+ url: {
103
+ id: string;
104
+ name: string;
105
+ show: boolean;
106
+ compositeKey: boolean;
107
+ sortOrder: number;
108
+ };
109
+ tel: {
110
+ id: string;
111
+ name: string;
112
+ show: boolean;
113
+ compositeKey: boolean;
114
+ sortOrder: number;
115
+ };
116
+ email: {
117
+ id: string;
118
+ name: string;
119
+ show: boolean;
120
+ compositeKey: boolean;
121
+ sortOrder: number;
122
+ };
123
+ boolean: {
124
+ id: string;
125
+ name: string;
126
+ show: boolean;
127
+ compositeKey: boolean;
128
+ sortOrder: number;
129
+ };
130
+ createdAt: {
131
+ id: string;
132
+ name: string;
133
+ show: boolean;
134
+ compositeKey: boolean;
135
+ };
136
+ updatedAt: {
137
+ id: string;
138
+ name: string;
139
+ show: boolean;
140
+ compositeKey: boolean;
141
+ };
142
+ createdBy: {
143
+ id: string;
144
+ name: string;
145
+ show: boolean;
146
+ compositeKey: boolean;
147
+ };
148
+ isDeleted: {
149
+ id: string;
150
+ name: string;
151
+ show: boolean;
152
+ compositeKey: boolean;
153
+ };
154
+ dynamic_option: {
155
+ id: string;
156
+ name: string;
157
+ show: boolean;
158
+ compositeKey: boolean;
159
+ multipleTrueName: string;
160
+ sortOrder: number;
161
+ };
162
+ static_option: {
163
+ id: string;
164
+ name: string;
165
+ show: boolean;
166
+ compositeKey: boolean;
167
+ multipleTrueName: string;
168
+ sortOrder: number;
169
+ };
170
+ uuid: {
171
+ id: string;
172
+ name: string;
173
+ show: boolean;
174
+ compositeKey: boolean;
175
+ };
176
+ custom_uuid: {
177
+ id: string;
178
+ name: string;
179
+ prepend: string;
180
+ append: string;
181
+ algorithm: string;
182
+ show: boolean;
183
+ sortOrder: number;
184
+ };
185
+ object: {
186
+ id: string;
187
+ name: string;
188
+ show: boolean;
189
+ sortOrder: boolean;
190
+ };
191
+ unix_timestamp: {
192
+ id: string;
193
+ name: string;
194
+ validation: {
195
+ min: number;
196
+ max: number;
197
+ };
198
+ miliSec: boolean;
199
+ show: boolean;
200
+ advancedOptions: boolean;
201
+ advSortOrder: number;
202
+ };
203
+ };
204
+ export declare const defaultFields: string[];
205
+ export declare const crudKeys: string[];
206
+ export declare const fieldType: (itemName: string, type: string) => string;
207
+ export declare const filterFieldsForForm: (fields: any[]) => any[];
208
+ /** TWO */
209
+ export declare const OptionTypeFields: string[];
210
+ export declare const onlyReferenceField: string[];
211
+ export declare const childDataField: string[];
212
+ export declare const ImageFields: string[];
213
+ export declare const URLFields: string[];
214
+ export declare const FileUrlFields: string[];
215
+ export declare const systemDateField: string[];
216
+ export declare const emailField: string[];
217
+ export declare const passwordField: string[];
218
+ export declare const uuidField: string[];
219
+ export declare const exportHideField: string[];
220
+ export declare const numberTextField: string[];
221
+ export declare const linkField: string[];
222
+ /** THREE */
223
+ export declare const systemHideField: string[];
224
+ export declare const mixedField: string[];
225
+ export declare const pureTextField: string[];
226
+ export declare const simpleTextFeild: string[];
227
+ export declare const textEmailPasswordField: string[];
228
+ export declare const NoRefFields: string[];
229
+ export declare const textField1: string[];
230
+ /** Usage of uuidField */
231
+ export declare const pageCollectionFields: string[];
232
+ export declare const referenceTextField: string[];
233
+ /** Usage of textEmailPasswordField */
234
+ export declare const StringFields: string[];
235
+ /** Usage of ImageFields */
236
+ export declare const ImageUrlFields: string[];
237
+ /** Usage of onlyReferenceField */
238
+ export declare const BelongsToReferenceField: string[];
239
+ export declare const referenceAndDynamicField: string[];
240
+ export declare const ReferenceCreatedByFields: string[];
241
+ export declare const placeholderField: string[];
242
+ /** Usage of systemDateField and systemHideField */
243
+ export declare const systemAndRefField: string[];
244
+ export declare const DefaultPrivateField: string[];
245
+ export declare const hiddenFormField: string[];
246
+ export declare const notFieldForExport: string[];
247
+ export declare const notFieldForImport: string[];
248
+ /** Usage of BelongsToReferenceField */
249
+ export declare const BelongsCreatedByRefField: string[];
250
+ export declare const level3ReferenceField2: string[];
251
+ export declare const level3ReferenceField: string[];
252
+ /** Usage of OptionTypeFields */
253
+ export declare const SelectOptionFields: string[];
254
+ export declare const MultiSelectOptionFields: string[];
255
+ export declare const NonBelongsSelectOptionFields: string[];
256
+ export declare const nonReferenceField: string[];
257
+ export declare const AllSelectOptionFields: string[];
258
+ export declare const collectionDefaultFieldSortOrder: {
259
+ order: number;
260
+ field: string;
261
+ }[];
262
+ export declare const filterFieldForCommandObj: () => string[];
263
+ export declare const fieldToShow: (type: string) => boolean;
264
+ export declare const filterFieldsForDataTable: (fields: any[]) => any[];
265
+ export declare const filterFieldsForItemList: (fields: any[]) => any[];
266
+ export declare const filterSystemCreatedFieldsForItemList: (fields: any[]) => any[];
267
+ export declare const filterFieldForItemTemplate: (fieldName: string) => boolean;
268
+ export declare const filterFieldsForItemTemplate: (fields: any[]) => any[];
269
+ export declare const filterFieldsForPlaceholderModal: (fields: any[]) => any[];
270
+ export declare const filterIndexFields: (fields: any[]) => any[];