meta-enc 1.4.6 → 1.4.7
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/dist/client/meta-enc.js +1 -1
- package/dist/server/app-meta-enc.d.ts +71 -700
- package/dist/server/app-meta-enc.js +6 -2
- package/dist/server/types-meta-enc.js +6 -2
- package/install/tipoc_tipoc.tab +1 -0
- package/package.json +1 -1
- package/dist/client/meta-enc.d.ts.map +0 -1
- package/dist/client/meta-enc.ts +0 -334
- package/dist/server/app-meta-enc.d.ts.map +0 -1
- package/dist/server/app-meta-enc.ts +0 -96
- package/dist/server/def-config.d.ts.map +0 -1
- package/dist/server/def-config.ts +0 -59
- package/dist/server/procedures-meta-enc.d.ts.map +0 -1
- package/dist/server/procedures-meta-enc.ts +0 -398
- package/dist/server/server-meta-enc.d.ts.map +0 -1
- package/dist/server/server-meta-enc.ts +0 -7
- package/dist/server/table-casilleros.d.ts.map +0 -1
- package/dist/server/table-casilleros.ts +0 -88
- package/dist/server/table-casilleros_principales.d.ts.map +0 -1
- package/dist/server/table-casilleros_principales.ts +0 -10
- package/dist/server/table-formularios_json.d.ts.map +0 -1
- package/dist/server/table-formularios_json.ts +0 -15
- package/dist/server/table-tipoc.d.ts.map +0 -1
- package/dist/server/table-tipoc.ts +0 -25
- package/dist/server/table-tipoc_tipoc.d.ts.map +0 -1
- package/dist/server/table-tipoc_tipoc.ts +0 -20
- package/dist/server/table-unidad_analisis.d.ts.map +0 -1
- package/dist/server/table-unidad_analisis.ts +0 -29
- package/dist/server/types-meta-enc.d.ts.map +0 -1
- package/dist/server/types-meta-enc.ts +0 -2
- package/install/tipoc_tipoc.tab.bak +0 -23
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import * as relEnc from "rel-enc";
|
|
3
3
|
export * from "./types-meta-enc";
|
|
4
4
|
import { MenuDefinition, Request, OptsClientPage } from "./types-meta-enc";
|
|
5
|
-
export
|
|
5
|
+
export type Constructor<T> = new (...args: any[]) => T;
|
|
6
6
|
export declare function emergeAppMetaEnc<T extends Constructor<relEnc.AppRelEncType>>(Base: T): {
|
|
7
7
|
new (...args: any[]): {
|
|
8
8
|
metaEncIncluirCasillerosSaltoREL: boolean;
|
|
@@ -65,244 +65,26 @@ export declare function emergeAppMetaEnc<T extends Constructor<relEnc.AppRelEncT
|
|
|
65
65
|
};
|
|
66
66
|
};
|
|
67
67
|
fieldDomain: {
|
|
68
|
-
[k: string]: Partial<relEnc.
|
|
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
|
-
}>;
|
|
68
|
+
[k: string]: Partial<relEnc.FieldDefinition>;
|
|
143
69
|
} & {
|
|
144
|
-
[k: string]: Partial<relEnc.
|
|
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
|
-
}>;
|
|
70
|
+
[k: string]: Partial<relEnc.FieldDefinition>;
|
|
219
71
|
} & {
|
|
220
|
-
[k: string]: Partial<relEnc.
|
|
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
|
-
}>;
|
|
72
|
+
[k: string]: Partial<relEnc.FieldDefinition>;
|
|
295
73
|
} & {
|
|
296
74
|
[k: string]: Partial<relEnc.FieldDefinition>;
|
|
297
75
|
};
|
|
298
76
|
exts: {
|
|
299
|
-
img
|
|
77
|
+
img: string[];
|
|
78
|
+
normal: string[];
|
|
300
79
|
} & {
|
|
301
|
-
img
|
|
80
|
+
img: string[];
|
|
81
|
+
normal: string[];
|
|
302
82
|
} & {
|
|
303
|
-
img
|
|
83
|
+
img: string[];
|
|
84
|
+
normal: string[];
|
|
304
85
|
} & {
|
|
305
|
-
img
|
|
86
|
+
img: string[];
|
|
87
|
+
normal: string[];
|
|
306
88
|
};
|
|
307
89
|
optsGenericForAll: {
|
|
308
90
|
allowedExts?: string[] | undefined;
|
|
@@ -333,7 +115,16 @@ export declare function emergeAppMetaEnc<T extends Constructor<relEnc.AppRelEncT
|
|
|
333
115
|
};
|
|
334
116
|
dbUserNameExpr: string;
|
|
335
117
|
dbUserRolExpr: string;
|
|
336
|
-
|
|
118
|
+
specialValueWhenInsert: {
|
|
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>); */
|
|
337
128
|
/* mixin-patch: checkDatabaseStructure: ((client: relEnc.Client) => Promise<void>) & ((client: relEnc.Client) => Promise<void>); */
|
|
338
129
|
/* mixin-patch: getDbFunctions: ((opts: relEnc.DumpOptions) => Promise<{
|
|
339
130
|
dumpText: string;
|
|
@@ -346,8 +137,8 @@ export declare function emergeAppMetaEnc<T extends Constructor<relEnc.AppRelEncT
|
|
|
346
137
|
/* mixin-patch: getContext: ((req: relEnc.Request) => relEnc.Context) & ((req: relEnc.Request) => relEnc.Context); */
|
|
347
138
|
/* mixin-patch: addSchrödingerServices: ((mainApp: relEnc.ExpressPlus, baseUrl: string) => void) & ((mainApp: relEnc.ExpressPlus, baseUrl: string) => void); */
|
|
348
139
|
/* mixin-patch: addUnloggedServices: ((mainApp: relEnc.ExpressPlus, baseUrl: string) => void) & ((mainApp: relEnc.ExpressPlus, baseUrl: string) => void); */
|
|
349
|
-
/* mixin-patch: inDbClient: (<
|
|
350
|
-
/* mixin-patch: inTransaction: (<
|
|
140
|
+
/* mixin-patch: inDbClient: (<T_1_1>(req: relEnc.Request | null, doThisWithDbClient: (client: relEnc.Client) => Promise<T_1_1>) => Promise<T_1_1>) & (<T_1>(req: relEnc.Request | null, doThisWithDbClient: (client: relEnc.Client) => Promise<T_1>) => Promise<T_1>); */
|
|
141
|
+
/* mixin-patch: inTransaction: (<T_2_1>(req: relEnc.Request | null, doThisWithDbTransaction: (client: relEnc.Client) => Promise<T_2_1>) => Promise<T_2_1>) & (<T_2>(req: relEnc.Request | null, doThisWithDbTransaction: (client: relEnc.Client) => Promise<T_2>) => Promise<T_2>); */
|
|
351
142
|
/* mixin-patch: procedureDefCompleter: ((procedureDef: relEnc.ProcedureDef) => relEnc.ProcedureDef) & ((procedureDef: relEnc.ProcedureDef) => relEnc.ProcedureDef); */
|
|
352
143
|
/* mixin-patch: tableDefAdapt: ((tableDef: relEnc.TableDefinition, context: relEnc.Context) => relEnc.TableDefinition) & ((tableDef: relEnc.TableDefinition, context: relEnc.Context) => relEnc.TableDefinition); */
|
|
353
144
|
/* mixin-patch: pushApp: ((dirname: string) => void) & ((dirname: string) => void); */
|
|
@@ -367,10 +158,10 @@ export declare function emergeAppMetaEnc<T extends Constructor<relEnc.AppRelEncT
|
|
|
367
158
|
}) & ((req: {} | relEnc.Request, offlineMode?: boolean | undefined, opts?: relEnc.OptsClientPage | undefined) => {
|
|
368
159
|
toHtmlDoc: () => string;
|
|
369
160
|
}); */
|
|
370
|
-
/* mixin-patch: isThisProcedureAllowed: (<
|
|
371
|
-
[key: string]: T_3_1;
|
|
372
|
-
}) => Promise<boolean>) & (<T_3>(context: relEnc.Context, procedureDef: relEnc.ProcedureDef, params: {
|
|
161
|
+
/* mixin-patch: isThisProcedureAllowed: (<T_3>(context: relEnc.Context, procedureDef: relEnc.ProcedureDef, params: {
|
|
373
162
|
[key: string]: T_3;
|
|
163
|
+
}) => Promise<boolean>) & (<T_4>(context: relEnc.Context, procedureDef: relEnc.ProcedureDef, params: {
|
|
164
|
+
[key: string]: T_4;
|
|
374
165
|
}) => Promise<boolean>); */
|
|
375
166
|
};
|
|
376
167
|
} & T;
|
|
@@ -436,244 +227,26 @@ export declare var AppMetaEnc: {
|
|
|
436
227
|
};
|
|
437
228
|
};
|
|
438
229
|
fieldDomain: {
|
|
439
|
-
[k: string]: Partial<relEnc.
|
|
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
|
-
}>;
|
|
230
|
+
[k: string]: Partial<relEnc.FieldDefinition>;
|
|
514
231
|
} & {
|
|
515
|
-
[k: string]: Partial<relEnc.
|
|
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
|
-
}>;
|
|
232
|
+
[k: string]: Partial<relEnc.FieldDefinition>;
|
|
590
233
|
} & {
|
|
591
|
-
[k: string]: Partial<relEnc.
|
|
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
|
-
}>;
|
|
234
|
+
[k: string]: Partial<relEnc.FieldDefinition>;
|
|
666
235
|
} & {
|
|
667
236
|
[k: string]: Partial<relEnc.FieldDefinition>;
|
|
668
237
|
};
|
|
669
238
|
exts: {
|
|
670
|
-
img
|
|
239
|
+
img: string[];
|
|
240
|
+
normal: string[];
|
|
671
241
|
} & {
|
|
672
|
-
img
|
|
242
|
+
img: string[];
|
|
243
|
+
normal: string[];
|
|
673
244
|
} & {
|
|
674
|
-
img
|
|
245
|
+
img: string[];
|
|
246
|
+
normal: string[];
|
|
675
247
|
} & {
|
|
676
|
-
img
|
|
248
|
+
img: string[];
|
|
249
|
+
normal: string[];
|
|
677
250
|
};
|
|
678
251
|
optsGenericForAll: {
|
|
679
252
|
allowedExts?: string[] | undefined;
|
|
@@ -704,7 +277,16 @@ export declare var AppMetaEnc: {
|
|
|
704
277
|
};
|
|
705
278
|
dbUserNameExpr: string;
|
|
706
279
|
dbUserRolExpr: string;
|
|
707
|
-
|
|
280
|
+
specialValueWhenInsert: {
|
|
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>); */
|
|
708
290
|
/* mixin-patch: checkDatabaseStructure: ((client: relEnc.Client) => Promise<void>) & ((client: relEnc.Client) => Promise<void>); */
|
|
709
291
|
/* mixin-patch: getDbFunctions: ((opts: relEnc.DumpOptions) => Promise<{
|
|
710
292
|
dumpText: string;
|
|
@@ -717,8 +299,8 @@ export declare var AppMetaEnc: {
|
|
|
717
299
|
/* mixin-patch: getContext: ((req: relEnc.Request) => relEnc.Context) & ((req: relEnc.Request) => relEnc.Context); */
|
|
718
300
|
/* mixin-patch: addSchrödingerServices: ((mainApp: relEnc.ExpressPlus, baseUrl: string) => void) & ((mainApp: relEnc.ExpressPlus, baseUrl: string) => void); */
|
|
719
301
|
/* mixin-patch: addUnloggedServices: ((mainApp: relEnc.ExpressPlus, baseUrl: string) => void) & ((mainApp: relEnc.ExpressPlus, baseUrl: string) => void); */
|
|
720
|
-
/* mixin-patch: inDbClient: (<
|
|
721
|
-
/* mixin-patch: inTransaction: (<
|
|
302
|
+
/* mixin-patch: inDbClient: (<T_1_1>(req: relEnc.Request | null, doThisWithDbClient: (client: relEnc.Client) => Promise<T_1_1>) => Promise<T_1_1>) & (<T>(req: relEnc.Request | null, doThisWithDbClient: (client: relEnc.Client) => Promise<T>) => Promise<T>); */
|
|
303
|
+
/* mixin-patch: inTransaction: (<T_2_1>(req: relEnc.Request | null, doThisWithDbTransaction: (client: relEnc.Client) => Promise<T_2_1>) => Promise<T_2_1>) & (<T_1>(req: relEnc.Request | null, doThisWithDbTransaction: (client: relEnc.Client) => Promise<T_1>) => Promise<T_1>); */
|
|
722
304
|
/* mixin-patch: procedureDefCompleter: ((procedureDef: relEnc.ProcedureDef) => relEnc.ProcedureDef) & ((procedureDef: relEnc.ProcedureDef) => relEnc.ProcedureDef); */
|
|
723
305
|
/* mixin-patch: tableDefAdapt: ((tableDef: relEnc.TableDefinition, context: relEnc.Context) => relEnc.TableDefinition) & ((tableDef: relEnc.TableDefinition, context: relEnc.Context) => relEnc.TableDefinition); */
|
|
724
306
|
/* mixin-patch: pushApp: ((dirname: string) => void) & ((dirname: string) => void); */
|
|
@@ -738,8 +320,8 @@ export declare var AppMetaEnc: {
|
|
|
738
320
|
}) & ((req: {} | relEnc.Request, offlineMode?: boolean | undefined, opts?: relEnc.OptsClientPage | undefined) => {
|
|
739
321
|
toHtmlDoc: () => string;
|
|
740
322
|
}); */
|
|
741
|
-
/* mixin-patch: isThisProcedureAllowed: (<
|
|
742
|
-
[key: string]:
|
|
323
|
+
/* mixin-patch: isThisProcedureAllowed: (<T_3>(context: relEnc.Context, procedureDef: relEnc.ProcedureDef, params: {
|
|
324
|
+
[key: string]: T_3;
|
|
743
325
|
}) => Promise<boolean>) & (<T_2>(context: relEnc.Context, procedureDef: relEnc.ProcedureDef, params: {
|
|
744
326
|
[key: string]: T_2;
|
|
745
327
|
}) => Promise<boolean>); */
|
|
@@ -781,162 +363,16 @@ export declare var AppMetaEnc: {
|
|
|
781
363
|
};
|
|
782
364
|
};
|
|
783
365
|
fieldDomain: {
|
|
784
|
-
[k: string]: Partial<relEnc.
|
|
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
|
-
}>;
|
|
366
|
+
[k: string]: Partial<relEnc.FieldDefinition>;
|
|
859
367
|
} & {
|
|
860
|
-
[k: string]: Partial<relEnc.
|
|
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
|
-
}>;
|
|
368
|
+
[k: string]: Partial<relEnc.FieldDefinition>;
|
|
935
369
|
};
|
|
936
370
|
exts: {
|
|
937
|
-
img
|
|
371
|
+
img: string[];
|
|
372
|
+
normal: string[];
|
|
938
373
|
} & {
|
|
939
|
-
img
|
|
374
|
+
img: string[];
|
|
375
|
+
normal: string[];
|
|
940
376
|
};
|
|
941
377
|
optsGenericForAll: {
|
|
942
378
|
allowedExts?: string[] | undefined;
|
|
@@ -955,6 +391,11 @@ export declare var AppMetaEnc: {
|
|
|
955
391
|
};
|
|
956
392
|
dbUserNameExpr: string;
|
|
957
393
|
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
|
+
};
|
|
958
399
|
}) & {
|
|
959
400
|
new (...args: any[]): {
|
|
960
401
|
tablasDatos: relEnc.TablaDatos[];
|
|
@@ -991,84 +432,11 @@ export declare var AppMetaEnc: {
|
|
|
991
432
|
};
|
|
992
433
|
};
|
|
993
434
|
fieldDomain: {
|
|
994
|
-
[k: string]: Partial<relEnc.
|
|
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
|
-
}>;
|
|
435
|
+
[k: string]: Partial<relEnc.FieldDefinition>;
|
|
1069
436
|
};
|
|
1070
437
|
exts: {
|
|
1071
|
-
img
|
|
438
|
+
img: string[];
|
|
439
|
+
normal: string[];
|
|
1072
440
|
};
|
|
1073
441
|
optsGenericForAll: {
|
|
1074
442
|
allowedExts?: string[] | undefined;
|
|
@@ -1081,6 +449,9 @@ export declare var AppMetaEnc: {
|
|
|
1081
449
|
};
|
|
1082
450
|
dbUserNameExpr: string;
|
|
1083
451
|
dbUserRolExpr: string;
|
|
452
|
+
specialValueWhenInsert: {
|
|
453
|
+
[k: string]: (context: relEnc.ProcedureContext, defField: relEnc.FieldDefinition, parameters: object) => any;
|
|
454
|
+
};
|
|
1084
455
|
clearCaches(): void;
|
|
1085
456
|
start(opts?: relEnc.StartOptions | undefined): Promise<void>;
|
|
1086
457
|
getTables(): relEnc.TableItemDef[];
|
|
@@ -1090,7 +461,7 @@ export declare var AppMetaEnc: {
|
|
|
1090
461
|
addUnloggedServices(mainApp: relEnc.ExpressPlus, baseUrl: string): void;
|
|
1091
462
|
addLoggedServices(): void;
|
|
1092
463
|
getProcedures(): Promise<relEnc.ProcedureDef[]>;
|
|
1093
|
-
inDbClient<
|
|
464
|
+
inDbClient<T_4>(req: relEnc.Request | null, doThisWithDbClient: (client: relEnc.Client) => Promise<T_4>): Promise<T_4>;
|
|
1094
465
|
inTransaction<T_1>(req: relEnc.Request | null, doThisWithDbTransaction: (client: relEnc.Client) => Promise<T_1>): Promise<T_1>;
|
|
1095
466
|
procedureDefCompleter(procedureDef: relEnc.ProcedureDef): relEnc.ProcedureDef;
|
|
1096
467
|
tableDefAdapt(tableDef: relEnc.TableDefinition, context: relEnc.Context): relEnc.TableDefinition;
|
|
@@ -1112,4 +483,4 @@ export declare var AppMetaEnc: {
|
|
|
1112
483
|
};
|
|
1113
484
|
prefixTableName(tableName: string, prefix: string): string;
|
|
1114
485
|
} & typeof relEnc.AppBackend;
|
|
1115
|
-
export
|
|
486
|
+
export type AppMetaEncType = InstanceType<typeof AppMetaEnc>;
|