meta-enc 1.4.4 → 1.4.6
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.
- package/LICENSE +21 -21
- package/README.md +18 -18
- package/dist/client/meta-enc.d.ts.map +1 -0
- package/dist/client/meta-enc.ts +334 -0
- package/dist/server/app-meta-enc.d.ts +698 -69
- package/dist/server/app-meta-enc.d.ts.map +1 -0
- package/dist/server/app-meta-enc.ts +96 -0
- package/dist/server/def-config.d.ts.map +1 -0
- package/dist/server/def-config.ts +59 -0
- package/dist/server/procedures-meta-enc.d.ts.map +1 -0
- package/dist/server/procedures-meta-enc.ts +398 -0
- package/dist/server/server-meta-enc.d.ts.map +1 -0
- package/dist/server/server-meta-enc.ts +7 -0
- package/dist/server/table-casilleros.d.ts.map +1 -0
- package/dist/server/table-casilleros.js +23 -23
- package/dist/server/table-casilleros.ts +88 -0
- package/dist/server/table-casilleros_principales.d.ts.map +1 -0
- package/dist/server/table-casilleros_principales.js +1 -1
- package/dist/server/table-casilleros_principales.ts +10 -0
- package/dist/server/table-formularios_json.d.ts.map +1 -0
- package/dist/server/table-formularios_json.js +1 -1
- package/dist/server/table-formularios_json.ts +15 -0
- package/dist/server/table-subcasilleros.js +13 -13
- package/dist/server/table-tipoc.d.ts.map +1 -0
- package/dist/server/table-tipoc.ts +25 -0
- package/dist/server/table-tipoc_tipoc.d.ts.map +1 -0
- package/dist/server/table-tipoc_tipoc.ts +20 -0
- package/dist/server/table-unidad_analisis.d.ts.map +1 -0
- package/dist/server/table-unidad_analisis.js +1 -1
- package/dist/server/table-unidad_analisis.ts +29 -0
- package/dist/server/types-meta-enc.d.ts.map +1 -0
- package/dist/server/types-meta-enc.ts +2 -0
- package/install/example-casilleros.tab-ejemplo +26 -26
- package/install/prepare.sql +59 -59
- package/install/tipoc_tipoc.tab +6 -0
- package/install/tipoc_tipoc.tab.bak +23 -0
- package/package.json +51 -52
|
@@ -65,26 +65,244 @@ export declare function emergeAppMetaEnc<T extends Constructor<relEnc.AppRelEncT
|
|
|
65
65
|
};
|
|
66
66
|
};
|
|
67
67
|
fieldDomain: {
|
|
68
|
-
[k: string]: Partial<relEnc.
|
|
68
|
+
[k: string]: Partial<relEnc.EditableDbDefinition & {
|
|
69
|
+
name: string;
|
|
70
|
+
typeName: relEnc.PgKnownTypes;
|
|
71
|
+
label?: string | undefined;
|
|
72
|
+
title?: string | undefined;
|
|
73
|
+
nullable?: boolean | undefined;
|
|
74
|
+
dbNullable?: boolean | undefined;
|
|
75
|
+
defaultValue?: any;
|
|
76
|
+
defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
|
|
77
|
+
clientSide?: string | undefined;
|
|
78
|
+
isName?: boolean | undefined;
|
|
79
|
+
isPk?: number | undefined;
|
|
80
|
+
serverSide?: boolean | undefined;
|
|
81
|
+
inTable?: boolean | undefined;
|
|
82
|
+
allowEmtpyText?: boolean | undefined;
|
|
83
|
+
mobileInputType?: string | undefined;
|
|
84
|
+
extraRow?: number | undefined;
|
|
85
|
+
inexactNumber?: number | undefined;
|
|
86
|
+
visible?: boolean | undefined;
|
|
87
|
+
width?: number | undefined;
|
|
88
|
+
references?: string | undefined;
|
|
89
|
+
referencesField?: string | undefined;
|
|
90
|
+
aggregate?: string | undefined;
|
|
91
|
+
specialDefaultValue?: string | undefined;
|
|
92
|
+
specialValueWhenInsert?: string | undefined;
|
|
93
|
+
exportMetadata?: relEnc.ExportMetadataDefinition | undefined;
|
|
94
|
+
description?: string | undefined;
|
|
95
|
+
dataLength?: number | undefined;
|
|
96
|
+
options?: (string | {
|
|
97
|
+
option: string | number;
|
|
98
|
+
label: string;
|
|
99
|
+
})[] | undefined;
|
|
100
|
+
inView?: boolean | undefined;
|
|
101
|
+
sortMethod?: string | undefined;
|
|
102
|
+
generatedAs?: string | undefined;
|
|
103
|
+
}> | Partial<relEnc.EditableDbDefinition & {
|
|
104
|
+
name: string;
|
|
105
|
+
typeName: relEnc.PgKnownTypes;
|
|
106
|
+
label?: string | undefined;
|
|
107
|
+
title?: string | undefined;
|
|
108
|
+
nullable?: boolean | undefined;
|
|
109
|
+
dbNullable?: boolean | undefined;
|
|
110
|
+
defaultValue?: any;
|
|
111
|
+
defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
|
|
112
|
+
clientSide?: string | undefined;
|
|
113
|
+
isName?: boolean | undefined;
|
|
114
|
+
isPk?: number | undefined;
|
|
115
|
+
serverSide?: boolean | undefined;
|
|
116
|
+
inTable?: boolean | undefined;
|
|
117
|
+
allowEmtpyText?: boolean | undefined;
|
|
118
|
+
mobileInputType?: string | undefined;
|
|
119
|
+
extraRow?: number | undefined;
|
|
120
|
+
inexactNumber?: number | undefined;
|
|
121
|
+
visible?: boolean | undefined;
|
|
122
|
+
width?: number | undefined;
|
|
123
|
+
references?: string | undefined;
|
|
124
|
+
referencesField?: string | undefined;
|
|
125
|
+
aggregate?: string | undefined;
|
|
126
|
+
specialDefaultValue?: string | undefined;
|
|
127
|
+
specialValueWhenInsert?: string | undefined;
|
|
128
|
+
exportMetadata?: relEnc.ExportMetadataDefinition | undefined;
|
|
129
|
+
description?: string | undefined;
|
|
130
|
+
dataLength?: number | undefined;
|
|
131
|
+
options?: (string | {
|
|
132
|
+
option: string | number;
|
|
133
|
+
label: string;
|
|
134
|
+
})[] | undefined;
|
|
135
|
+
inView?: boolean | undefined;
|
|
136
|
+
sortMethod?: string | undefined;
|
|
137
|
+
generatedAs?: string | undefined;
|
|
138
|
+
} & {
|
|
139
|
+
sequence: relEnc.SequenceDefinition;
|
|
140
|
+
nullable: true;
|
|
141
|
+
editable: false;
|
|
142
|
+
}>;
|
|
69
143
|
} & {
|
|
70
|
-
[k: string]: Partial<relEnc.
|
|
144
|
+
[k: string]: Partial<relEnc.EditableDbDefinition & {
|
|
145
|
+
name: string;
|
|
146
|
+
typeName: relEnc.PgKnownTypes;
|
|
147
|
+
label?: string | undefined;
|
|
148
|
+
title?: string | undefined;
|
|
149
|
+
nullable?: boolean | undefined;
|
|
150
|
+
dbNullable?: boolean | undefined;
|
|
151
|
+
defaultValue?: any;
|
|
152
|
+
defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
|
|
153
|
+
clientSide?: string | undefined;
|
|
154
|
+
isName?: boolean | undefined;
|
|
155
|
+
isPk?: number | undefined;
|
|
156
|
+
serverSide?: boolean | undefined;
|
|
157
|
+
inTable?: boolean | undefined;
|
|
158
|
+
allowEmtpyText?: boolean | undefined;
|
|
159
|
+
mobileInputType?: string | undefined;
|
|
160
|
+
extraRow?: number | undefined;
|
|
161
|
+
inexactNumber?: number | undefined;
|
|
162
|
+
visible?: boolean | undefined;
|
|
163
|
+
width?: number | undefined;
|
|
164
|
+
references?: string | undefined;
|
|
165
|
+
referencesField?: string | undefined;
|
|
166
|
+
aggregate?: string | undefined;
|
|
167
|
+
specialDefaultValue?: string | undefined;
|
|
168
|
+
specialValueWhenInsert?: string | undefined;
|
|
169
|
+
exportMetadata?: relEnc.ExportMetadataDefinition | undefined;
|
|
170
|
+
description?: string | undefined;
|
|
171
|
+
dataLength?: number | undefined;
|
|
172
|
+
options?: (string | {
|
|
173
|
+
option: string | number;
|
|
174
|
+
label: string;
|
|
175
|
+
})[] | undefined;
|
|
176
|
+
inView?: boolean | undefined;
|
|
177
|
+
sortMethod?: string | undefined;
|
|
178
|
+
generatedAs?: string | undefined;
|
|
179
|
+
}> | Partial<relEnc.EditableDbDefinition & {
|
|
180
|
+
name: string;
|
|
181
|
+
typeName: relEnc.PgKnownTypes;
|
|
182
|
+
label?: string | undefined;
|
|
183
|
+
title?: string | undefined;
|
|
184
|
+
nullable?: boolean | undefined;
|
|
185
|
+
dbNullable?: boolean | undefined;
|
|
186
|
+
defaultValue?: any;
|
|
187
|
+
defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
|
|
188
|
+
clientSide?: string | undefined;
|
|
189
|
+
isName?: boolean | undefined;
|
|
190
|
+
isPk?: number | undefined;
|
|
191
|
+
serverSide?: boolean | undefined;
|
|
192
|
+
inTable?: boolean | undefined;
|
|
193
|
+
allowEmtpyText?: boolean | undefined;
|
|
194
|
+
mobileInputType?: string | undefined;
|
|
195
|
+
extraRow?: number | undefined;
|
|
196
|
+
inexactNumber?: number | undefined;
|
|
197
|
+
visible?: boolean | undefined;
|
|
198
|
+
width?: number | undefined;
|
|
199
|
+
references?: string | undefined;
|
|
200
|
+
referencesField?: string | undefined;
|
|
201
|
+
aggregate?: string | undefined;
|
|
202
|
+
specialDefaultValue?: string | undefined;
|
|
203
|
+
specialValueWhenInsert?: string | undefined;
|
|
204
|
+
exportMetadata?: relEnc.ExportMetadataDefinition | undefined;
|
|
205
|
+
description?: string | undefined;
|
|
206
|
+
dataLength?: number | undefined;
|
|
207
|
+
options?: (string | {
|
|
208
|
+
option: string | number;
|
|
209
|
+
label: string;
|
|
210
|
+
})[] | undefined;
|
|
211
|
+
inView?: boolean | undefined;
|
|
212
|
+
sortMethod?: string | undefined;
|
|
213
|
+
generatedAs?: string | undefined;
|
|
214
|
+
} & {
|
|
215
|
+
sequence: relEnc.SequenceDefinition;
|
|
216
|
+
nullable: true;
|
|
217
|
+
editable: false;
|
|
218
|
+
}>;
|
|
71
219
|
} & {
|
|
72
|
-
[k: string]: Partial<relEnc.
|
|
220
|
+
[k: string]: Partial<relEnc.EditableDbDefinition & {
|
|
221
|
+
name: string;
|
|
222
|
+
typeName: relEnc.PgKnownTypes;
|
|
223
|
+
label?: string | undefined;
|
|
224
|
+
title?: string | undefined;
|
|
225
|
+
nullable?: boolean | undefined;
|
|
226
|
+
dbNullable?: boolean | undefined;
|
|
227
|
+
defaultValue?: any;
|
|
228
|
+
defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
|
|
229
|
+
clientSide?: string | undefined;
|
|
230
|
+
isName?: boolean | undefined;
|
|
231
|
+
isPk?: number | undefined;
|
|
232
|
+
serverSide?: boolean | undefined;
|
|
233
|
+
inTable?: boolean | undefined;
|
|
234
|
+
allowEmtpyText?: boolean | undefined;
|
|
235
|
+
mobileInputType?: string | undefined;
|
|
236
|
+
extraRow?: number | undefined;
|
|
237
|
+
inexactNumber?: number | undefined;
|
|
238
|
+
visible?: boolean | undefined;
|
|
239
|
+
width?: number | undefined;
|
|
240
|
+
references?: string | undefined;
|
|
241
|
+
referencesField?: string | undefined;
|
|
242
|
+
aggregate?: string | undefined;
|
|
243
|
+
specialDefaultValue?: string | undefined;
|
|
244
|
+
specialValueWhenInsert?: string | undefined;
|
|
245
|
+
exportMetadata?: relEnc.ExportMetadataDefinition | undefined;
|
|
246
|
+
description?: string | undefined;
|
|
247
|
+
dataLength?: number | undefined;
|
|
248
|
+
options?: (string | {
|
|
249
|
+
option: string | number;
|
|
250
|
+
label: string;
|
|
251
|
+
})[] | undefined;
|
|
252
|
+
inView?: boolean | undefined;
|
|
253
|
+
sortMethod?: string | undefined;
|
|
254
|
+
generatedAs?: string | undefined;
|
|
255
|
+
}> | Partial<relEnc.EditableDbDefinition & {
|
|
256
|
+
name: string;
|
|
257
|
+
typeName: relEnc.PgKnownTypes;
|
|
258
|
+
label?: string | undefined;
|
|
259
|
+
title?: string | undefined;
|
|
260
|
+
nullable?: boolean | undefined;
|
|
261
|
+
dbNullable?: boolean | undefined;
|
|
262
|
+
defaultValue?: any;
|
|
263
|
+
defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
|
|
264
|
+
clientSide?: string | undefined;
|
|
265
|
+
isName?: boolean | undefined;
|
|
266
|
+
isPk?: number | undefined;
|
|
267
|
+
serverSide?: boolean | undefined;
|
|
268
|
+
inTable?: boolean | undefined;
|
|
269
|
+
allowEmtpyText?: boolean | undefined;
|
|
270
|
+
mobileInputType?: string | undefined;
|
|
271
|
+
extraRow?: number | undefined;
|
|
272
|
+
inexactNumber?: number | undefined;
|
|
273
|
+
visible?: boolean | undefined;
|
|
274
|
+
width?: number | undefined;
|
|
275
|
+
references?: string | undefined;
|
|
276
|
+
referencesField?: string | undefined;
|
|
277
|
+
aggregate?: string | undefined;
|
|
278
|
+
specialDefaultValue?: string | undefined;
|
|
279
|
+
specialValueWhenInsert?: string | undefined;
|
|
280
|
+
exportMetadata?: relEnc.ExportMetadataDefinition | undefined;
|
|
281
|
+
description?: string | undefined;
|
|
282
|
+
dataLength?: number | undefined;
|
|
283
|
+
options?: (string | {
|
|
284
|
+
option: string | number;
|
|
285
|
+
label: string;
|
|
286
|
+
})[] | undefined;
|
|
287
|
+
inView?: boolean | undefined;
|
|
288
|
+
sortMethod?: string | undefined;
|
|
289
|
+
generatedAs?: string | undefined;
|
|
290
|
+
} & {
|
|
291
|
+
sequence: relEnc.SequenceDefinition;
|
|
292
|
+
nullable: true;
|
|
293
|
+
editable: false;
|
|
294
|
+
}>;
|
|
73
295
|
} & {
|
|
74
296
|
[k: string]: Partial<relEnc.FieldDefinition>;
|
|
75
297
|
};
|
|
76
298
|
exts: {
|
|
77
|
-
img
|
|
78
|
-
normal: string[];
|
|
299
|
+
img?: string[] | undefined;
|
|
79
300
|
} & {
|
|
80
|
-
img
|
|
81
|
-
normal: string[];
|
|
301
|
+
img?: string[] | undefined;
|
|
82
302
|
} & {
|
|
83
|
-
img
|
|
84
|
-
normal: string[];
|
|
303
|
+
img?: string[] | undefined;
|
|
85
304
|
} & {
|
|
86
|
-
img
|
|
87
|
-
normal: string[];
|
|
305
|
+
img?: string[] | undefined;
|
|
88
306
|
};
|
|
89
307
|
optsGenericForAll: {
|
|
90
308
|
allowedExts?: string[] | undefined;
|
|
@@ -115,16 +333,7 @@ export declare function emergeAppMetaEnc<T extends Constructor<relEnc.AppRelEncT
|
|
|
115
333
|
};
|
|
116
334
|
dbUserNameExpr: string;
|
|
117
335
|
dbUserRolExpr: string;
|
|
118
|
-
|
|
119
|
-
[k: string]: (context: relEnc.ProcedureContext, defField: relEnc.FieldDefinition, parameters: object) => any;
|
|
120
|
-
} & {
|
|
121
|
-
[k: string]: (context: relEnc.ProcedureContext, defField: relEnc.FieldDefinition, parameters: object) => any;
|
|
122
|
-
} & {
|
|
123
|
-
[k: string]: (context: relEnc.ProcedureContext, defField: relEnc.FieldDefinition, parameters: object) => any;
|
|
124
|
-
} & {
|
|
125
|
-
[k: string]: (context: relEnc.ProcedureContext, defField: relEnc.FieldDefinition, parameters: object) => any;
|
|
126
|
-
};
|
|
127
|
-
/* mixin-patch: postConfig: (() => Promise<void>) & ((...params: any[]) => Promise<void>); */
|
|
336
|
+
/* mixin-patch: postConfig: (() => Promise<void>) & ((...params: any[]) => any); */
|
|
128
337
|
/* mixin-patch: checkDatabaseStructure: ((client: relEnc.Client) => Promise<void>) & ((client: relEnc.Client) => Promise<void>); */
|
|
129
338
|
/* mixin-patch: getDbFunctions: ((opts: relEnc.DumpOptions) => Promise<{
|
|
130
339
|
dumpText: string;
|
|
@@ -137,8 +346,8 @@ export declare function emergeAppMetaEnc<T extends Constructor<relEnc.AppRelEncT
|
|
|
137
346
|
/* mixin-patch: getContext: ((req: relEnc.Request) => relEnc.Context) & ((req: relEnc.Request) => relEnc.Context); */
|
|
138
347
|
/* mixin-patch: addSchrödingerServices: ((mainApp: relEnc.ExpressPlus, baseUrl: string) => void) & ((mainApp: relEnc.ExpressPlus, baseUrl: string) => void); */
|
|
139
348
|
/* mixin-patch: addUnloggedServices: ((mainApp: relEnc.ExpressPlus, baseUrl: string) => void) & ((mainApp: relEnc.ExpressPlus, baseUrl: string) => void); */
|
|
140
|
-
/* mixin-patch: inDbClient: (<
|
|
141
|
-
/* mixin-patch: inTransaction: (<
|
|
349
|
+
/* mixin-patch: inDbClient: (<T_1_2>(req: relEnc.Request | null, doThisWithDbClient: (client: relEnc.Client) => Promise<T_1_2>) => Promise<T_1_2>) & (<T_1>(req: relEnc.Request | null, doThisWithDbClient: (client: relEnc.Client) => Promise<T_1>) => Promise<T_1>); */
|
|
350
|
+
/* mixin-patch: inTransaction: (<T_2_2>(req: relEnc.Request | null, doThisWithDbTransaction: (client: relEnc.Client) => Promise<T_2_2>) => Promise<T_2_2>) & (<T_2>(req: relEnc.Request | null, doThisWithDbTransaction: (client: relEnc.Client) => Promise<T_2>) => Promise<T_2>); */
|
|
142
351
|
/* mixin-patch: procedureDefCompleter: ((procedureDef: relEnc.ProcedureDef) => relEnc.ProcedureDef) & ((procedureDef: relEnc.ProcedureDef) => relEnc.ProcedureDef); */
|
|
143
352
|
/* mixin-patch: tableDefAdapt: ((tableDef: relEnc.TableDefinition, context: relEnc.Context) => relEnc.TableDefinition) & ((tableDef: relEnc.TableDefinition, context: relEnc.Context) => relEnc.TableDefinition); */
|
|
144
353
|
/* mixin-patch: pushApp: ((dirname: string) => void) & ((dirname: string) => void); */
|
|
@@ -158,10 +367,10 @@ export declare function emergeAppMetaEnc<T extends Constructor<relEnc.AppRelEncT
|
|
|
158
367
|
}) & ((req: {} | relEnc.Request, offlineMode?: boolean | undefined, opts?: relEnc.OptsClientPage | undefined) => {
|
|
159
368
|
toHtmlDoc: () => string;
|
|
160
369
|
}); */
|
|
161
|
-
/* mixin-patch: isThisProcedureAllowed: (<
|
|
370
|
+
/* mixin-patch: isThisProcedureAllowed: (<T_3_1>(context: relEnc.Context, procedureDef: relEnc.ProcedureDef, params: {
|
|
371
|
+
[key: string]: T_3_1;
|
|
372
|
+
}) => Promise<boolean>) & (<T_3>(context: relEnc.Context, procedureDef: relEnc.ProcedureDef, params: {
|
|
162
373
|
[key: string]: T_3;
|
|
163
|
-
}) => Promise<boolean>) & (<T_4>(context: relEnc.Context, procedureDef: relEnc.ProcedureDef, params: {
|
|
164
|
-
[key: string]: T_4;
|
|
165
374
|
}) => Promise<boolean>); */
|
|
166
375
|
};
|
|
167
376
|
} & T;
|
|
@@ -227,26 +436,244 @@ export declare var AppMetaEnc: {
|
|
|
227
436
|
};
|
|
228
437
|
};
|
|
229
438
|
fieldDomain: {
|
|
230
|
-
[k: string]: Partial<relEnc.
|
|
439
|
+
[k: string]: Partial<relEnc.EditableDbDefinition & {
|
|
440
|
+
name: string;
|
|
441
|
+
typeName: relEnc.PgKnownTypes;
|
|
442
|
+
label?: string | undefined;
|
|
443
|
+
title?: string | undefined;
|
|
444
|
+
nullable?: boolean | undefined;
|
|
445
|
+
dbNullable?: boolean | undefined;
|
|
446
|
+
defaultValue?: any;
|
|
447
|
+
defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
|
|
448
|
+
clientSide?: string | undefined;
|
|
449
|
+
isName?: boolean | undefined;
|
|
450
|
+
isPk?: number | undefined;
|
|
451
|
+
serverSide?: boolean | undefined;
|
|
452
|
+
inTable?: boolean | undefined;
|
|
453
|
+
allowEmtpyText?: boolean | undefined;
|
|
454
|
+
mobileInputType?: string | undefined;
|
|
455
|
+
extraRow?: number | undefined;
|
|
456
|
+
inexactNumber?: number | undefined;
|
|
457
|
+
visible?: boolean | undefined;
|
|
458
|
+
width?: number | undefined;
|
|
459
|
+
references?: string | undefined;
|
|
460
|
+
referencesField?: string | undefined;
|
|
461
|
+
aggregate?: string | undefined;
|
|
462
|
+
specialDefaultValue?: string | undefined;
|
|
463
|
+
specialValueWhenInsert?: string | undefined;
|
|
464
|
+
exportMetadata?: relEnc.ExportMetadataDefinition | undefined;
|
|
465
|
+
description?: string | undefined;
|
|
466
|
+
dataLength?: number | undefined;
|
|
467
|
+
options?: (string | {
|
|
468
|
+
option: string | number;
|
|
469
|
+
label: string;
|
|
470
|
+
})[] | undefined;
|
|
471
|
+
inView?: boolean | undefined;
|
|
472
|
+
sortMethod?: string | undefined;
|
|
473
|
+
generatedAs?: string | undefined;
|
|
474
|
+
}> | Partial<relEnc.EditableDbDefinition & {
|
|
475
|
+
name: string;
|
|
476
|
+
typeName: relEnc.PgKnownTypes;
|
|
477
|
+
label?: string | undefined;
|
|
478
|
+
title?: string | undefined;
|
|
479
|
+
nullable?: boolean | undefined;
|
|
480
|
+
dbNullable?: boolean | undefined;
|
|
481
|
+
defaultValue?: any;
|
|
482
|
+
defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
|
|
483
|
+
clientSide?: string | undefined;
|
|
484
|
+
isName?: boolean | undefined;
|
|
485
|
+
isPk?: number | undefined;
|
|
486
|
+
serverSide?: boolean | undefined;
|
|
487
|
+
inTable?: boolean | undefined;
|
|
488
|
+
allowEmtpyText?: boolean | undefined;
|
|
489
|
+
mobileInputType?: string | undefined;
|
|
490
|
+
extraRow?: number | undefined;
|
|
491
|
+
inexactNumber?: number | undefined;
|
|
492
|
+
visible?: boolean | undefined;
|
|
493
|
+
width?: number | undefined;
|
|
494
|
+
references?: string | undefined;
|
|
495
|
+
referencesField?: string | undefined;
|
|
496
|
+
aggregate?: string | undefined;
|
|
497
|
+
specialDefaultValue?: string | undefined;
|
|
498
|
+
specialValueWhenInsert?: string | undefined;
|
|
499
|
+
exportMetadata?: relEnc.ExportMetadataDefinition | undefined;
|
|
500
|
+
description?: string | undefined;
|
|
501
|
+
dataLength?: number | undefined;
|
|
502
|
+
options?: (string | {
|
|
503
|
+
option: string | number;
|
|
504
|
+
label: string;
|
|
505
|
+
})[] | undefined;
|
|
506
|
+
inView?: boolean | undefined;
|
|
507
|
+
sortMethod?: string | undefined;
|
|
508
|
+
generatedAs?: string | undefined;
|
|
509
|
+
} & {
|
|
510
|
+
sequence: relEnc.SequenceDefinition;
|
|
511
|
+
nullable: true;
|
|
512
|
+
editable: false;
|
|
513
|
+
}>;
|
|
231
514
|
} & {
|
|
232
|
-
[k: string]: Partial<relEnc.
|
|
515
|
+
[k: string]: Partial<relEnc.EditableDbDefinition & {
|
|
516
|
+
name: string;
|
|
517
|
+
typeName: relEnc.PgKnownTypes;
|
|
518
|
+
label?: string | undefined;
|
|
519
|
+
title?: string | undefined;
|
|
520
|
+
nullable?: boolean | undefined;
|
|
521
|
+
dbNullable?: boolean | undefined;
|
|
522
|
+
defaultValue?: any;
|
|
523
|
+
defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
|
|
524
|
+
clientSide?: string | undefined;
|
|
525
|
+
isName?: boolean | undefined;
|
|
526
|
+
isPk?: number | undefined;
|
|
527
|
+
serverSide?: boolean | undefined;
|
|
528
|
+
inTable?: boolean | undefined;
|
|
529
|
+
allowEmtpyText?: boolean | undefined;
|
|
530
|
+
mobileInputType?: string | undefined;
|
|
531
|
+
extraRow?: number | undefined;
|
|
532
|
+
inexactNumber?: number | undefined;
|
|
533
|
+
visible?: boolean | undefined;
|
|
534
|
+
width?: number | undefined;
|
|
535
|
+
references?: string | undefined;
|
|
536
|
+
referencesField?: string | undefined;
|
|
537
|
+
aggregate?: string | undefined;
|
|
538
|
+
specialDefaultValue?: string | undefined;
|
|
539
|
+
specialValueWhenInsert?: string | undefined;
|
|
540
|
+
exportMetadata?: relEnc.ExportMetadataDefinition | undefined;
|
|
541
|
+
description?: string | undefined;
|
|
542
|
+
dataLength?: number | undefined;
|
|
543
|
+
options?: (string | {
|
|
544
|
+
option: string | number;
|
|
545
|
+
label: string;
|
|
546
|
+
})[] | undefined;
|
|
547
|
+
inView?: boolean | undefined;
|
|
548
|
+
sortMethod?: string | undefined;
|
|
549
|
+
generatedAs?: string | undefined;
|
|
550
|
+
}> | Partial<relEnc.EditableDbDefinition & {
|
|
551
|
+
name: string;
|
|
552
|
+
typeName: relEnc.PgKnownTypes;
|
|
553
|
+
label?: string | undefined;
|
|
554
|
+
title?: string | undefined;
|
|
555
|
+
nullable?: boolean | undefined;
|
|
556
|
+
dbNullable?: boolean | undefined;
|
|
557
|
+
defaultValue?: any;
|
|
558
|
+
defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
|
|
559
|
+
clientSide?: string | undefined;
|
|
560
|
+
isName?: boolean | undefined;
|
|
561
|
+
isPk?: number | undefined;
|
|
562
|
+
serverSide?: boolean | undefined;
|
|
563
|
+
inTable?: boolean | undefined;
|
|
564
|
+
allowEmtpyText?: boolean | undefined;
|
|
565
|
+
mobileInputType?: string | undefined;
|
|
566
|
+
extraRow?: number | undefined;
|
|
567
|
+
inexactNumber?: number | undefined;
|
|
568
|
+
visible?: boolean | undefined;
|
|
569
|
+
width?: number | undefined;
|
|
570
|
+
references?: string | undefined;
|
|
571
|
+
referencesField?: string | undefined;
|
|
572
|
+
aggregate?: string | undefined;
|
|
573
|
+
specialDefaultValue?: string | undefined;
|
|
574
|
+
specialValueWhenInsert?: string | undefined;
|
|
575
|
+
exportMetadata?: relEnc.ExportMetadataDefinition | undefined;
|
|
576
|
+
description?: string | undefined;
|
|
577
|
+
dataLength?: number | undefined;
|
|
578
|
+
options?: (string | {
|
|
579
|
+
option: string | number;
|
|
580
|
+
label: string;
|
|
581
|
+
})[] | undefined;
|
|
582
|
+
inView?: boolean | undefined;
|
|
583
|
+
sortMethod?: string | undefined;
|
|
584
|
+
generatedAs?: string | undefined;
|
|
585
|
+
} & {
|
|
586
|
+
sequence: relEnc.SequenceDefinition;
|
|
587
|
+
nullable: true;
|
|
588
|
+
editable: false;
|
|
589
|
+
}>;
|
|
233
590
|
} & {
|
|
234
|
-
[k: string]: Partial<relEnc.
|
|
591
|
+
[k: string]: Partial<relEnc.EditableDbDefinition & {
|
|
592
|
+
name: string;
|
|
593
|
+
typeName: relEnc.PgKnownTypes;
|
|
594
|
+
label?: string | undefined;
|
|
595
|
+
title?: string | undefined;
|
|
596
|
+
nullable?: boolean | undefined;
|
|
597
|
+
dbNullable?: boolean | undefined;
|
|
598
|
+
defaultValue?: any;
|
|
599
|
+
defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
|
|
600
|
+
clientSide?: string | undefined;
|
|
601
|
+
isName?: boolean | undefined;
|
|
602
|
+
isPk?: number | undefined;
|
|
603
|
+
serverSide?: boolean | undefined;
|
|
604
|
+
inTable?: boolean | undefined;
|
|
605
|
+
allowEmtpyText?: boolean | undefined;
|
|
606
|
+
mobileInputType?: string | undefined;
|
|
607
|
+
extraRow?: number | undefined;
|
|
608
|
+
inexactNumber?: number | undefined;
|
|
609
|
+
visible?: boolean | undefined;
|
|
610
|
+
width?: number | undefined;
|
|
611
|
+
references?: string | undefined;
|
|
612
|
+
referencesField?: string | undefined;
|
|
613
|
+
aggregate?: string | undefined;
|
|
614
|
+
specialDefaultValue?: string | undefined;
|
|
615
|
+
specialValueWhenInsert?: string | undefined;
|
|
616
|
+
exportMetadata?: relEnc.ExportMetadataDefinition | undefined;
|
|
617
|
+
description?: string | undefined;
|
|
618
|
+
dataLength?: number | undefined;
|
|
619
|
+
options?: (string | {
|
|
620
|
+
option: string | number;
|
|
621
|
+
label: string;
|
|
622
|
+
})[] | undefined;
|
|
623
|
+
inView?: boolean | undefined;
|
|
624
|
+
sortMethod?: string | undefined;
|
|
625
|
+
generatedAs?: string | undefined;
|
|
626
|
+
}> | Partial<relEnc.EditableDbDefinition & {
|
|
627
|
+
name: string;
|
|
628
|
+
typeName: relEnc.PgKnownTypes;
|
|
629
|
+
label?: string | undefined;
|
|
630
|
+
title?: string | undefined;
|
|
631
|
+
nullable?: boolean | undefined;
|
|
632
|
+
dbNullable?: boolean | undefined;
|
|
633
|
+
defaultValue?: any;
|
|
634
|
+
defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
|
|
635
|
+
clientSide?: string | undefined;
|
|
636
|
+
isName?: boolean | undefined;
|
|
637
|
+
isPk?: number | undefined;
|
|
638
|
+
serverSide?: boolean | undefined;
|
|
639
|
+
inTable?: boolean | undefined;
|
|
640
|
+
allowEmtpyText?: boolean | undefined;
|
|
641
|
+
mobileInputType?: string | undefined;
|
|
642
|
+
extraRow?: number | undefined;
|
|
643
|
+
inexactNumber?: number | undefined;
|
|
644
|
+
visible?: boolean | undefined;
|
|
645
|
+
width?: number | undefined;
|
|
646
|
+
references?: string | undefined;
|
|
647
|
+
referencesField?: string | undefined;
|
|
648
|
+
aggregate?: string | undefined;
|
|
649
|
+
specialDefaultValue?: string | undefined;
|
|
650
|
+
specialValueWhenInsert?: string | undefined;
|
|
651
|
+
exportMetadata?: relEnc.ExportMetadataDefinition | undefined;
|
|
652
|
+
description?: string | undefined;
|
|
653
|
+
dataLength?: number | undefined;
|
|
654
|
+
options?: (string | {
|
|
655
|
+
option: string | number;
|
|
656
|
+
label: string;
|
|
657
|
+
})[] | undefined;
|
|
658
|
+
inView?: boolean | undefined;
|
|
659
|
+
sortMethod?: string | undefined;
|
|
660
|
+
generatedAs?: string | undefined;
|
|
661
|
+
} & {
|
|
662
|
+
sequence: relEnc.SequenceDefinition;
|
|
663
|
+
nullable: true;
|
|
664
|
+
editable: false;
|
|
665
|
+
}>;
|
|
235
666
|
} & {
|
|
236
667
|
[k: string]: Partial<relEnc.FieldDefinition>;
|
|
237
668
|
};
|
|
238
669
|
exts: {
|
|
239
|
-
img
|
|
240
|
-
normal: string[];
|
|
670
|
+
img?: string[] | undefined;
|
|
241
671
|
} & {
|
|
242
|
-
img
|
|
243
|
-
normal: string[];
|
|
672
|
+
img?: string[] | undefined;
|
|
244
673
|
} & {
|
|
245
|
-
img
|
|
246
|
-
normal: string[];
|
|
674
|
+
img?: string[] | undefined;
|
|
247
675
|
} & {
|
|
248
|
-
img
|
|
249
|
-
normal: string[];
|
|
676
|
+
img?: string[] | undefined;
|
|
250
677
|
};
|
|
251
678
|
optsGenericForAll: {
|
|
252
679
|
allowedExts?: string[] | undefined;
|
|
@@ -277,16 +704,7 @@ export declare var AppMetaEnc: {
|
|
|
277
704
|
};
|
|
278
705
|
dbUserNameExpr: string;
|
|
279
706
|
dbUserRolExpr: string;
|
|
280
|
-
|
|
281
|
-
[k: string]: (context: relEnc.ProcedureContext, defField: relEnc.FieldDefinition, parameters: object) => any;
|
|
282
|
-
} & {
|
|
283
|
-
[k: string]: (context: relEnc.ProcedureContext, defField: relEnc.FieldDefinition, parameters: object) => any;
|
|
284
|
-
} & {
|
|
285
|
-
[k: string]: (context: relEnc.ProcedureContext, defField: relEnc.FieldDefinition, parameters: object) => any;
|
|
286
|
-
} & {
|
|
287
|
-
[k: string]: (context: relEnc.ProcedureContext, defField: relEnc.FieldDefinition, parameters: object) => any;
|
|
288
|
-
};
|
|
289
|
-
/* mixin-patch: postConfig: (() => Promise<void>) & ((...params: any[]) => Promise<void>); */
|
|
707
|
+
/* mixin-patch: postConfig: (() => Promise<void>) & ((...params: any[]) => any); */
|
|
290
708
|
/* mixin-patch: checkDatabaseStructure: ((client: relEnc.Client) => Promise<void>) & ((client: relEnc.Client) => Promise<void>); */
|
|
291
709
|
/* mixin-patch: getDbFunctions: ((opts: relEnc.DumpOptions) => Promise<{
|
|
292
710
|
dumpText: string;
|
|
@@ -299,8 +717,8 @@ export declare var AppMetaEnc: {
|
|
|
299
717
|
/* mixin-patch: getContext: ((req: relEnc.Request) => relEnc.Context) & ((req: relEnc.Request) => relEnc.Context); */
|
|
300
718
|
/* mixin-patch: addSchrödingerServices: ((mainApp: relEnc.ExpressPlus, baseUrl: string) => void) & ((mainApp: relEnc.ExpressPlus, baseUrl: string) => void); */
|
|
301
719
|
/* mixin-patch: addUnloggedServices: ((mainApp: relEnc.ExpressPlus, baseUrl: string) => void) & ((mainApp: relEnc.ExpressPlus, baseUrl: string) => void); */
|
|
302
|
-
/* mixin-patch: inDbClient: (<
|
|
303
|
-
/* mixin-patch: inTransaction: (<
|
|
720
|
+
/* mixin-patch: inDbClient: (<T_1_2>(req: relEnc.Request | null, doThisWithDbClient: (client: relEnc.Client) => Promise<T_1_2>) => Promise<T_1_2>) & (<T>(req: relEnc.Request | null, doThisWithDbClient: (client: relEnc.Client) => Promise<T>) => Promise<T>); */
|
|
721
|
+
/* mixin-patch: inTransaction: (<T_2_2>(req: relEnc.Request | null, doThisWithDbTransaction: (client: relEnc.Client) => Promise<T_2_2>) => Promise<T_2_2>) & (<T_1>(req: relEnc.Request | null, doThisWithDbTransaction: (client: relEnc.Client) => Promise<T_1>) => Promise<T_1>); */
|
|
304
722
|
/* mixin-patch: procedureDefCompleter: ((procedureDef: relEnc.ProcedureDef) => relEnc.ProcedureDef) & ((procedureDef: relEnc.ProcedureDef) => relEnc.ProcedureDef); */
|
|
305
723
|
/* mixin-patch: tableDefAdapt: ((tableDef: relEnc.TableDefinition, context: relEnc.Context) => relEnc.TableDefinition) & ((tableDef: relEnc.TableDefinition, context: relEnc.Context) => relEnc.TableDefinition); */
|
|
306
724
|
/* mixin-patch: pushApp: ((dirname: string) => void) & ((dirname: string) => void); */
|
|
@@ -320,8 +738,8 @@ export declare var AppMetaEnc: {
|
|
|
320
738
|
}) & ((req: {} | relEnc.Request, offlineMode?: boolean | undefined, opts?: relEnc.OptsClientPage | undefined) => {
|
|
321
739
|
toHtmlDoc: () => string;
|
|
322
740
|
}); */
|
|
323
|
-
/* mixin-patch: isThisProcedureAllowed: (<
|
|
324
|
-
[key: string]:
|
|
741
|
+
/* mixin-patch: isThisProcedureAllowed: (<T_3_1>(context: relEnc.Context, procedureDef: relEnc.ProcedureDef, params: {
|
|
742
|
+
[key: string]: T_3_1;
|
|
325
743
|
}) => Promise<boolean>) & (<T_2>(context: relEnc.Context, procedureDef: relEnc.ProcedureDef, params: {
|
|
326
744
|
[key: string]: T_2;
|
|
327
745
|
}) => Promise<boolean>); */
|
|
@@ -363,16 +781,162 @@ export declare var AppMetaEnc: {
|
|
|
363
781
|
};
|
|
364
782
|
};
|
|
365
783
|
fieldDomain: {
|
|
366
|
-
[k: string]: Partial<relEnc.
|
|
784
|
+
[k: string]: Partial<relEnc.EditableDbDefinition & {
|
|
785
|
+
name: string;
|
|
786
|
+
typeName: relEnc.PgKnownTypes;
|
|
787
|
+
label?: string | undefined;
|
|
788
|
+
title?: string | undefined;
|
|
789
|
+
nullable?: boolean | undefined;
|
|
790
|
+
dbNullable?: boolean | undefined;
|
|
791
|
+
defaultValue?: any;
|
|
792
|
+
defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
|
|
793
|
+
clientSide?: string | undefined;
|
|
794
|
+
isName?: boolean | undefined;
|
|
795
|
+
isPk?: number | undefined;
|
|
796
|
+
serverSide?: boolean | undefined;
|
|
797
|
+
inTable?: boolean | undefined;
|
|
798
|
+
allowEmtpyText?: boolean | undefined;
|
|
799
|
+
mobileInputType?: string | undefined;
|
|
800
|
+
extraRow?: number | undefined;
|
|
801
|
+
inexactNumber?: number | undefined;
|
|
802
|
+
visible?: boolean | undefined;
|
|
803
|
+
width?: number | undefined;
|
|
804
|
+
references?: string | undefined;
|
|
805
|
+
referencesField?: string | undefined;
|
|
806
|
+
aggregate?: string | undefined;
|
|
807
|
+
specialDefaultValue?: string | undefined;
|
|
808
|
+
specialValueWhenInsert?: string | undefined;
|
|
809
|
+
exportMetadata?: relEnc.ExportMetadataDefinition | undefined;
|
|
810
|
+
description?: string | undefined;
|
|
811
|
+
dataLength?: number | undefined;
|
|
812
|
+
options?: (string | {
|
|
813
|
+
option: string | number;
|
|
814
|
+
label: string;
|
|
815
|
+
})[] | undefined;
|
|
816
|
+
inView?: boolean | undefined;
|
|
817
|
+
sortMethod?: string | undefined;
|
|
818
|
+
generatedAs?: string | undefined;
|
|
819
|
+
}> | Partial<relEnc.EditableDbDefinition & {
|
|
820
|
+
name: string;
|
|
821
|
+
typeName: relEnc.PgKnownTypes;
|
|
822
|
+
label?: string | undefined;
|
|
823
|
+
title?: string | undefined;
|
|
824
|
+
nullable?: boolean | undefined;
|
|
825
|
+
dbNullable?: boolean | undefined;
|
|
826
|
+
defaultValue?: any;
|
|
827
|
+
defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
|
|
828
|
+
clientSide?: string | undefined;
|
|
829
|
+
isName?: boolean | undefined;
|
|
830
|
+
isPk?: number | undefined;
|
|
831
|
+
serverSide?: boolean | undefined;
|
|
832
|
+
inTable?: boolean | undefined;
|
|
833
|
+
allowEmtpyText?: boolean | undefined;
|
|
834
|
+
mobileInputType?: string | undefined;
|
|
835
|
+
extraRow?: number | undefined;
|
|
836
|
+
inexactNumber?: number | undefined;
|
|
837
|
+
visible?: boolean | undefined;
|
|
838
|
+
width?: number | undefined;
|
|
839
|
+
references?: string | undefined;
|
|
840
|
+
referencesField?: string | undefined;
|
|
841
|
+
aggregate?: string | undefined;
|
|
842
|
+
specialDefaultValue?: string | undefined;
|
|
843
|
+
specialValueWhenInsert?: string | undefined;
|
|
844
|
+
exportMetadata?: relEnc.ExportMetadataDefinition | undefined;
|
|
845
|
+
description?: string | undefined;
|
|
846
|
+
dataLength?: number | undefined;
|
|
847
|
+
options?: (string | {
|
|
848
|
+
option: string | number;
|
|
849
|
+
label: string;
|
|
850
|
+
})[] | undefined;
|
|
851
|
+
inView?: boolean | undefined;
|
|
852
|
+
sortMethod?: string | undefined;
|
|
853
|
+
generatedAs?: string | undefined;
|
|
854
|
+
} & {
|
|
855
|
+
sequence: relEnc.SequenceDefinition;
|
|
856
|
+
nullable: true;
|
|
857
|
+
editable: false;
|
|
858
|
+
}>;
|
|
367
859
|
} & {
|
|
368
|
-
[k: string]: Partial<relEnc.
|
|
860
|
+
[k: string]: Partial<relEnc.EditableDbDefinition & {
|
|
861
|
+
name: string;
|
|
862
|
+
typeName: relEnc.PgKnownTypes;
|
|
863
|
+
label?: string | undefined;
|
|
864
|
+
title?: string | undefined;
|
|
865
|
+
nullable?: boolean | undefined;
|
|
866
|
+
dbNullable?: boolean | undefined;
|
|
867
|
+
defaultValue?: any;
|
|
868
|
+
defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
|
|
869
|
+
clientSide?: string | undefined;
|
|
870
|
+
isName?: boolean | undefined;
|
|
871
|
+
isPk?: number | undefined;
|
|
872
|
+
serverSide?: boolean | undefined;
|
|
873
|
+
inTable?: boolean | undefined;
|
|
874
|
+
allowEmtpyText?: boolean | undefined;
|
|
875
|
+
mobileInputType?: string | undefined;
|
|
876
|
+
extraRow?: number | undefined;
|
|
877
|
+
inexactNumber?: number | undefined;
|
|
878
|
+
visible?: boolean | undefined;
|
|
879
|
+
width?: number | undefined;
|
|
880
|
+
references?: string | undefined;
|
|
881
|
+
referencesField?: string | undefined;
|
|
882
|
+
aggregate?: string | undefined;
|
|
883
|
+
specialDefaultValue?: string | undefined;
|
|
884
|
+
specialValueWhenInsert?: string | undefined;
|
|
885
|
+
exportMetadata?: relEnc.ExportMetadataDefinition | undefined;
|
|
886
|
+
description?: string | undefined;
|
|
887
|
+
dataLength?: number | undefined;
|
|
888
|
+
options?: (string | {
|
|
889
|
+
option: string | number;
|
|
890
|
+
label: string;
|
|
891
|
+
})[] | undefined;
|
|
892
|
+
inView?: boolean | undefined;
|
|
893
|
+
sortMethod?: string | undefined;
|
|
894
|
+
generatedAs?: string | undefined;
|
|
895
|
+
}> | Partial<relEnc.EditableDbDefinition & {
|
|
896
|
+
name: string;
|
|
897
|
+
typeName: relEnc.PgKnownTypes;
|
|
898
|
+
label?: string | undefined;
|
|
899
|
+
title?: string | undefined;
|
|
900
|
+
nullable?: boolean | undefined;
|
|
901
|
+
dbNullable?: boolean | undefined;
|
|
902
|
+
defaultValue?: any;
|
|
903
|
+
defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
|
|
904
|
+
clientSide?: string | undefined;
|
|
905
|
+
isName?: boolean | undefined;
|
|
906
|
+
isPk?: number | undefined;
|
|
907
|
+
serverSide?: boolean | undefined;
|
|
908
|
+
inTable?: boolean | undefined;
|
|
909
|
+
allowEmtpyText?: boolean | undefined;
|
|
910
|
+
mobileInputType?: string | undefined;
|
|
911
|
+
extraRow?: number | undefined;
|
|
912
|
+
inexactNumber?: number | undefined;
|
|
913
|
+
visible?: boolean | undefined;
|
|
914
|
+
width?: number | undefined;
|
|
915
|
+
references?: string | undefined;
|
|
916
|
+
referencesField?: string | undefined;
|
|
917
|
+
aggregate?: string | undefined;
|
|
918
|
+
specialDefaultValue?: string | undefined;
|
|
919
|
+
specialValueWhenInsert?: string | undefined;
|
|
920
|
+
exportMetadata?: relEnc.ExportMetadataDefinition | undefined;
|
|
921
|
+
description?: string | undefined;
|
|
922
|
+
dataLength?: number | undefined;
|
|
923
|
+
options?: (string | {
|
|
924
|
+
option: string | number;
|
|
925
|
+
label: string;
|
|
926
|
+
})[] | undefined;
|
|
927
|
+
inView?: boolean | undefined;
|
|
928
|
+
sortMethod?: string | undefined;
|
|
929
|
+
generatedAs?: string | undefined;
|
|
930
|
+
} & {
|
|
931
|
+
sequence: relEnc.SequenceDefinition;
|
|
932
|
+
nullable: true;
|
|
933
|
+
editable: false;
|
|
934
|
+
}>;
|
|
369
935
|
};
|
|
370
936
|
exts: {
|
|
371
|
-
img
|
|
372
|
-
normal: string[];
|
|
937
|
+
img?: string[] | undefined;
|
|
373
938
|
} & {
|
|
374
|
-
img
|
|
375
|
-
normal: string[];
|
|
939
|
+
img?: string[] | undefined;
|
|
376
940
|
};
|
|
377
941
|
optsGenericForAll: {
|
|
378
942
|
allowedExts?: string[] | undefined;
|
|
@@ -391,11 +955,6 @@ export declare var AppMetaEnc: {
|
|
|
391
955
|
};
|
|
392
956
|
dbUserNameExpr: string;
|
|
393
957
|
dbUserRolExpr: string;
|
|
394
|
-
specialValueWhenInsert: {
|
|
395
|
-
[k: string]: (context: relEnc.ProcedureContext, defField: relEnc.FieldDefinition, parameters: object) => any;
|
|
396
|
-
} & {
|
|
397
|
-
[k: string]: (context: relEnc.ProcedureContext, defField: relEnc.FieldDefinition, parameters: object) => any;
|
|
398
|
-
};
|
|
399
958
|
}) & {
|
|
400
959
|
new (...args: any[]): {
|
|
401
960
|
tablasDatos: relEnc.TablaDatos[];
|
|
@@ -432,11 +991,84 @@ export declare var AppMetaEnc: {
|
|
|
432
991
|
};
|
|
433
992
|
};
|
|
434
993
|
fieldDomain: {
|
|
435
|
-
[k: string]: Partial<relEnc.
|
|
994
|
+
[k: string]: Partial<relEnc.EditableDbDefinition & {
|
|
995
|
+
name: string;
|
|
996
|
+
typeName: relEnc.PgKnownTypes;
|
|
997
|
+
label?: string | undefined;
|
|
998
|
+
title?: string | undefined;
|
|
999
|
+
nullable?: boolean | undefined;
|
|
1000
|
+
dbNullable?: boolean | undefined;
|
|
1001
|
+
defaultValue?: any;
|
|
1002
|
+
defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
|
|
1003
|
+
clientSide?: string | undefined;
|
|
1004
|
+
isName?: boolean | undefined;
|
|
1005
|
+
isPk?: number | undefined;
|
|
1006
|
+
serverSide?: boolean | undefined;
|
|
1007
|
+
inTable?: boolean | undefined;
|
|
1008
|
+
allowEmtpyText?: boolean | undefined;
|
|
1009
|
+
mobileInputType?: string | undefined;
|
|
1010
|
+
extraRow?: number | undefined;
|
|
1011
|
+
inexactNumber?: number | undefined;
|
|
1012
|
+
visible?: boolean | undefined;
|
|
1013
|
+
width?: number | undefined;
|
|
1014
|
+
references?: string | undefined;
|
|
1015
|
+
referencesField?: string | undefined;
|
|
1016
|
+
aggregate?: string | undefined;
|
|
1017
|
+
specialDefaultValue?: string | undefined;
|
|
1018
|
+
specialValueWhenInsert?: string | undefined;
|
|
1019
|
+
exportMetadata?: relEnc.ExportMetadataDefinition | undefined;
|
|
1020
|
+
description?: string | undefined;
|
|
1021
|
+
dataLength?: number | undefined;
|
|
1022
|
+
options?: (string | {
|
|
1023
|
+
option: string | number;
|
|
1024
|
+
label: string;
|
|
1025
|
+
})[] | undefined;
|
|
1026
|
+
inView?: boolean | undefined;
|
|
1027
|
+
sortMethod?: string | undefined;
|
|
1028
|
+
generatedAs?: string | undefined;
|
|
1029
|
+
}> | Partial<relEnc.EditableDbDefinition & {
|
|
1030
|
+
name: string;
|
|
1031
|
+
typeName: relEnc.PgKnownTypes;
|
|
1032
|
+
label?: string | undefined;
|
|
1033
|
+
title?: string | undefined;
|
|
1034
|
+
nullable?: boolean | undefined;
|
|
1035
|
+
dbNullable?: boolean | undefined;
|
|
1036
|
+
defaultValue?: any;
|
|
1037
|
+
defaultDbValue?: "current_timestamp" | "current_user" | "session_user" | undefined;
|
|
1038
|
+
clientSide?: string | undefined;
|
|
1039
|
+
isName?: boolean | undefined;
|
|
1040
|
+
isPk?: number | undefined;
|
|
1041
|
+
serverSide?: boolean | undefined;
|
|
1042
|
+
inTable?: boolean | undefined;
|
|
1043
|
+
allowEmtpyText?: boolean | undefined;
|
|
1044
|
+
mobileInputType?: string | undefined;
|
|
1045
|
+
extraRow?: number | undefined;
|
|
1046
|
+
inexactNumber?: number | undefined;
|
|
1047
|
+
visible?: boolean | undefined;
|
|
1048
|
+
width?: number | undefined;
|
|
1049
|
+
references?: string | undefined;
|
|
1050
|
+
referencesField?: string | undefined;
|
|
1051
|
+
aggregate?: string | undefined;
|
|
1052
|
+
specialDefaultValue?: string | undefined;
|
|
1053
|
+
specialValueWhenInsert?: string | undefined;
|
|
1054
|
+
exportMetadata?: relEnc.ExportMetadataDefinition | undefined;
|
|
1055
|
+
description?: string | undefined;
|
|
1056
|
+
dataLength?: number | undefined;
|
|
1057
|
+
options?: (string | {
|
|
1058
|
+
option: string | number;
|
|
1059
|
+
label: string;
|
|
1060
|
+
})[] | undefined;
|
|
1061
|
+
inView?: boolean | undefined;
|
|
1062
|
+
sortMethod?: string | undefined;
|
|
1063
|
+
generatedAs?: string | undefined;
|
|
1064
|
+
} & {
|
|
1065
|
+
sequence: relEnc.SequenceDefinition;
|
|
1066
|
+
nullable: true;
|
|
1067
|
+
editable: false;
|
|
1068
|
+
}>;
|
|
436
1069
|
};
|
|
437
1070
|
exts: {
|
|
438
|
-
img
|
|
439
|
-
normal: string[];
|
|
1071
|
+
img?: string[] | undefined;
|
|
440
1072
|
};
|
|
441
1073
|
optsGenericForAll: {
|
|
442
1074
|
allowedExts?: string[] | undefined;
|
|
@@ -449,9 +1081,6 @@ export declare var AppMetaEnc: {
|
|
|
449
1081
|
};
|
|
450
1082
|
dbUserNameExpr: string;
|
|
451
1083
|
dbUserRolExpr: string;
|
|
452
|
-
specialValueWhenInsert: {
|
|
453
|
-
[k: string]: (context: relEnc.ProcedureContext, defField: relEnc.FieldDefinition, parameters: object) => any;
|
|
454
|
-
};
|
|
455
1084
|
clearCaches(): void;
|
|
456
1085
|
start(opts?: relEnc.StartOptions | undefined): Promise<void>;
|
|
457
1086
|
getTables(): relEnc.TableItemDef[];
|
|
@@ -461,7 +1090,7 @@ export declare var AppMetaEnc: {
|
|
|
461
1090
|
addUnloggedServices(mainApp: relEnc.ExpressPlus, baseUrl: string): void;
|
|
462
1091
|
addLoggedServices(): void;
|
|
463
1092
|
getProcedures(): Promise<relEnc.ProcedureDef[]>;
|
|
464
|
-
inDbClient<
|
|
1093
|
+
inDbClient<T_3>(req: relEnc.Request | null, doThisWithDbClient: (client: relEnc.Client) => Promise<T_3>): Promise<T_3>;
|
|
465
1094
|
inTransaction<T_1>(req: relEnc.Request | null, doThisWithDbTransaction: (client: relEnc.Client) => Promise<T_1>): Promise<T_1>;
|
|
466
1095
|
procedureDefCompleter(procedureDef: relEnc.ProcedureDef): relEnc.ProcedureDef;
|
|
467
1096
|
tableDefAdapt(tableDef: relEnc.TableDefinition, context: relEnc.Context): relEnc.TableDefinition;
|