dmencu 3.2.21 → 3.4.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.
Files changed (258) hide show
  1. package/README.md +42 -42
  2. package/ayuda/asignacion.md +16 -0
  3. package/ayuda/circuito-encuesta.md +27 -0
  4. package/ayuda/control.md +13 -0
  5. package/ayuda/dm-cambiar-modo.md +16 -0
  6. package/ayuda/dm-relevamiento.md +20 -0
  7. package/ayuda/dm-sincronizar.md +18 -0
  8. package/ayuda/fin-de-campo.md +14 -0
  9. package/ayuda/metadatos.md +14 -0
  10. package/ayuda/procesar.md +13 -0
  11. package/ayuda/recepcion.md +20 -0
  12. package/ayuda/supervision.md +9 -0
  13. package/ayuda/usuarios.md +12 -0
  14. package/ayuda/varios.md +23 -0
  15. package/dist/client/client/client.js +101 -4
  16. package/dist/client/client/css/menu.styl +29 -0
  17. package/dist/client/unlogged/abrir-formulario.js +1 -1
  18. package/dist/client/unlogged/bypass-formulario.d.ts +6 -42
  19. package/dist/client/unlogged/bypass-formulario.js +84 -219
  20. package/dist/client/unlogged/calculos-encuesta.js +112 -38
  21. package/dist/client/unlogged/css/formulario-react.styl +9 -0
  22. package/dist/client/unlogged/helpers-casilleros.d.ts +1 -1
  23. package/dist/client/unlogged/helpers-casilleros.js +12 -18
  24. package/dist/client/unlogged/helpers-formulario.d.ts +16 -0
  25. package/dist/client/unlogged/helpers-formulario.js +88 -0
  26. package/dist/client/unlogged/redux-formulario.d.ts +1 -2
  27. package/dist/client/unlogged/redux-formulario.js +21 -31
  28. package/dist/client/unlogged/render-config.d.ts +5 -1
  29. package/dist/client/unlogged/render-config.js +14 -1
  30. package/dist/client/unlogged/render-formulario.d.ts +3 -6
  31. package/dist/client/unlogged/render-formulario.js +71 -69
  32. package/dist/client/unlogged/render-formulario.tsx +100 -57
  33. package/dist/client/unlogged/render-general.d.ts +2 -0
  34. package/dist/client/unlogged/render-general.js +2 -1
  35. package/dist/client/unlogged/render-general.tsx +2 -1
  36. package/dist/client/unlogged/render-init.d.ts +1 -0
  37. package/dist/client/unlogged/render-init.js +9 -2
  38. package/dist/client/unlogged/tipos.d.ts +93 -41
  39. package/dist/client/unlogged/tipos.js +1 -1
  40. package/dist/server/app-dmencu.d.ts +1435 -0
  41. package/dist/server/app-dmencu.js +1091 -0
  42. package/dist/server/ayuda.d.ts +19 -0
  43. package/dist/server/ayuda.js +224 -0
  44. package/dist/server/def-config.d.ts +1 -0
  45. package/dist/server/def-config.js +123 -0
  46. package/dist/server/procedures-dmencu.d.ts +43 -0
  47. package/dist/server/procedures-dmencu.js +2313 -0
  48. package/dist/server/server/app-dmencu.d.ts +49 -91
  49. package/dist/server/server/app-dmencu.js +151 -52
  50. package/dist/server/server/ayuda.d.ts +19 -0
  51. package/dist/server/server/ayuda.js +224 -0
  52. package/dist/server/server/procedures-dmencu.d.ts +34 -2
  53. package/dist/server/server/procedures-dmencu.js +93 -51
  54. package/dist/server/server/setters-rea-no-rea.d.ts +13 -0
  55. package/dist/server/server/setters-rea-no-rea.js +35 -0
  56. package/dist/server/server/table-areas.js +4 -4
  57. package/dist/server/server/table-areas_asignacion_general.js +2 -1
  58. package/dist/server/server/table-control_campo.js +4 -4
  59. package/dist/server/server/table-no_rea.js +4 -2
  60. package/dist/server/server/table-no_rea_sup.js +7 -3
  61. package/dist/server/server/table-personal.js +1 -1
  62. package/dist/server/server/table-tareas_tem.js +2 -2
  63. package/dist/server/server/table-tem.js +2 -2
  64. package/dist/server/server/types-dmencu.d.ts +53 -2
  65. package/dist/server/server/types-dmencu.js +2 -1
  66. package/dist/server/setters-rea-no-rea.d.ts +13 -0
  67. package/dist/server/setters-rea-no-rea.js +35 -0
  68. package/dist/server/table-acciones.d.ts +2 -0
  69. package/dist/server/table-acciones.js +45 -0
  70. package/dist/server/table-area_enc_proximas.d.ts +2 -0
  71. package/dist/server/table-area_enc_proximas.js +30 -0
  72. package/dist/server/table-areas.d.ts +4 -0
  73. package/dist/server/table-areas.js +112 -0
  74. package/dist/server/table-areas_asignacion_general.d.ts +2 -0
  75. package/dist/server/table-areas_asignacion_general.js +86 -0
  76. package/dist/server/table-barrios.d.ts +2 -0
  77. package/dist/server/table-barrios.js +35 -0
  78. package/dist/server/table-comunas.d.ts +2 -0
  79. package/dist/server/table-comunas.js +33 -0
  80. package/dist/server/table-control_campo.d.ts +12 -0
  81. package/dist/server/table-control_campo.js +119 -0
  82. package/dist/server/table-control_dias_carga.d.ts +2 -0
  83. package/dist/server/table-control_dias_carga.js +63 -0
  84. package/dist/server/table-control_resumen.d.ts +2 -0
  85. package/dist/server/table-control_resumen.js +19 -0
  86. package/dist/server/table-diccionario.d.ts +2 -0
  87. package/dist/server/table-diccionario.js +32 -0
  88. package/dist/server/table-dictra.d.ts +2 -0
  89. package/dist/server/table-dictra.js +46 -0
  90. package/dist/server/table-dicvar.d.ts +2 -0
  91. package/dist/server/table-dicvar.js +32 -0
  92. package/dist/server/table-encuestadores.d.ts +13 -0
  93. package/dist/server/table-encuestadores.js +75 -0
  94. package/dist/server/table-estados.d.ts +2 -0
  95. package/dist/server/table-estados.js +47 -0
  96. package/dist/server/table-estados_acciones.d.ts +2 -0
  97. package/dist/server/table-estados_acciones.js +40 -0
  98. package/dist/server/table-fracciones.d.ts +2 -0
  99. package/dist/server/table-fracciones.js +37 -0
  100. package/dist/server/table-grilla_hoja_ruta.d.ts +2 -0
  101. package/dist/server/table-grilla_hoja_ruta.js +93 -0
  102. package/dist/server/table-historial_tem.d.ts +2 -0
  103. package/dist/server/table-historial_tem.js +57 -0
  104. package/dist/server/table-hogares.d.ts +2 -0
  105. package/dist/server/table-hogares.js +156 -0
  106. package/dist/server/table-hogares_sup.d.ts +2 -0
  107. package/dist/server/table-hogares_sup.js +191 -0
  108. package/dist/server/table-inconsistencias_cumplen_condicion.d.ts +2 -0
  109. package/dist/server/table-inconsistencias_cumplen_condicion.js +33 -0
  110. package/dist/server/table-manzanas.d.ts +2 -0
  111. package/dist/server/table-manzanas.js +36 -0
  112. package/dist/server/table-mis_encuestadores.d.ts +2 -0
  113. package/dist/server/table-mis_encuestadores.js +77 -0
  114. package/dist/server/table-mis_tareas.d.ts +2 -0
  115. package/dist/server/table-mis_tareas.js +18 -0
  116. package/dist/server/table-mis_tareas_areas.d.ts +2 -0
  117. package/dist/server/table-mis_tareas_areas.js +20 -0
  118. package/dist/server/table-modos_dm.d.ts +2 -0
  119. package/dist/server/table-modos_dm.js +28 -0
  120. package/dist/server/table-no_rea.js +38 -0
  121. package/dist/server/table-no_rea_sup.js +36 -0
  122. package/dist/server/table-operaciones.d.ts +2 -0
  123. package/dist/server/table-operaciones.js +30 -0
  124. package/dist/server/table-parametros.d.ts +2 -0
  125. package/dist/server/table-parametros.js +40 -0
  126. package/dist/server/table-permisos.d.ts +2 -0
  127. package/dist/server/table-permisos.js +31 -0
  128. package/dist/server/table-personal.d.ts +5 -0
  129. package/dist/server/table-personal.js +62 -0
  130. package/dist/server/table-personal_rol.d.ts +2 -0
  131. package/dist/server/table-personal_rol.js +42 -0
  132. package/dist/server/table-personas.d.ts +2 -0
  133. package/dist/server/table-personas.js +448 -0
  134. package/dist/server/table-personas_sup.d.ts +2 -0
  135. package/dist/server/table-personas_sup.js +93 -0
  136. package/dist/server/table-radios.d.ts +2 -0
  137. package/dist/server/table-radios.js +37 -0
  138. package/dist/server/table-rea.d.ts +2 -0
  139. package/dist/server/table-rea.js +38 -0
  140. package/dist/server/table-rea_sup.d.ts +2 -0
  141. package/dist/server/table-rea_sup.js +38 -0
  142. package/dist/server/table-recepcionistas.d.ts +2 -0
  143. package/dist/server/table-recepcionistas.js +18 -0
  144. package/dist/server/table-recuperadores.d.ts +2 -0
  145. package/dist/server/table-recuperadores.js +18 -0
  146. package/dist/server/table-roles.d.ts +2 -0
  147. package/dist/server/table-roles.js +33 -0
  148. package/dist/server/table-roles_permisos.d.ts +2 -0
  149. package/dist/server/table-roles_permisos.js +36 -0
  150. package/dist/server/table-roles_subordinados.d.ts +2 -0
  151. package/dist/server/table-roles_subordinados.js +31 -0
  152. package/dist/server/table-semanas.d.ts +2 -0
  153. package/dist/server/table-semanas.js +42 -0
  154. package/dist/server/table-sincronizaciones.d.ts +2 -0
  155. package/dist/server/table-sincronizaciones.js +30 -0
  156. package/dist/server/table-supervisores.d.ts +2 -0
  157. package/dist/server/table-supervisores.js +18 -0
  158. package/dist/server/table-tareas.d.ts +2 -0
  159. package/dist/server/table-tareas.js +48 -0
  160. package/dist/server/table-tareas_areas.d.ts +7 -0
  161. package/dist/server/table-tareas_areas.js +112 -0
  162. package/dist/server/table-tareas_proximas.d.ts +2 -0
  163. package/dist/server/table-tareas_proximas.js +48 -0
  164. package/dist/server/table-tareas_tem.d.ts +14 -0
  165. package/dist/server/table-tareas_tem.js +206 -0
  166. package/dist/server/table-tareas_tem_analisis_campo.d.ts +2 -0
  167. package/dist/server/table-tareas_tem_analisis_campo.js +31 -0
  168. package/dist/server/table-tareas_tem_fin_campo.d.ts +3 -0
  169. package/dist/server/table-tareas_tem_fin_campo.js +56 -0
  170. package/dist/server/table-tareas_tem_ingreso.d.ts +2 -0
  171. package/dist/server/table-tareas_tem_ingreso.js +31 -0
  172. package/dist/server/table-tareas_tem_procesamiento.d.ts +2 -0
  173. package/dist/server/table-tareas_tem_procesamiento.js +34 -0
  174. package/dist/server/table-tareas_tem_recepcion.d.ts +6 -0
  175. package/dist/server/table-tareas_tem_recepcion.js +59 -0
  176. package/dist/server/table-tem.d.ts +3 -0
  177. package/dist/server/table-tem.js +247 -0
  178. package/dist/server/table-tem_asignacion.d.ts +2 -0
  179. package/dist/server/table-tem_asignacion.js +50 -0
  180. package/dist/server/table-tem_borradas.d.ts +2 -0
  181. package/dist/server/table-tem_borradas.js +35 -0
  182. package/dist/server/table-usuarios.d.ts +2 -0
  183. package/dist/server/table-usuarios.js +63 -0
  184. package/dist/server/table-visitas.d.ts +2 -0
  185. package/dist/server/table-visitas.js +91 -0
  186. package/dist/server/table-visitas_sup.d.ts +2 -0
  187. package/dist/server/table-visitas_sup.js +91 -0
  188. package/dist/server/table-viviendas.d.ts +2 -0
  189. package/dist/server/table-viviendas.js +299 -0
  190. package/dist/server/types-dmencu.d.ts +114 -0
  191. package/dist/server/types-dmencu.js +34 -0
  192. package/dist/server/unlogged/tipos.d.ts +93 -41
  193. package/dist/server/unlogged/tipos.js +1 -1
  194. package/dist/test/app-para-tests.d.ts +1117 -0
  195. package/dist/test/app-para-tests.js +95 -0
  196. package/dist/test/test-ayuda.d.ts +1 -0
  197. package/dist/test/test-ayuda.js +183 -0
  198. package/dist/test/test-caches-rea.d.ts +1 -0
  199. package/dist/test/test-caches-rea.js +243 -0
  200. package/dist/test/test-helpers-casilleros.d.ts +1 -0
  201. package/dist/test/test-helpers-casilleros.js +154 -0
  202. package/dist/test/test-helpers-formulario.d.ts +1 -0
  203. package/dist/test/test-helpers-formulario.js +95 -0
  204. package/dist/test/test-impacto-rea-no-rea-en-bd.d.ts +1 -0
  205. package/dist/test/test-impacto-rea-no-rea-en-bd.js +243 -0
  206. package/dist/test/test-menu-segun-rol.d.ts +1 -0
  207. package/dist/test/test-menu-segun-rol.js +170 -0
  208. package/dist/test/test-setters-rea-no-rea.d.ts +1 -0
  209. package/dist/test/test-setters-rea-no-rea.js +95 -0
  210. package/dist/test/test.d.ts +7 -0
  211. package/dist/test/test.js +9 -2
  212. package/dist/unlogged/helpers-casilleros.d.ts +1 -1
  213. package/dist/unlogged/helpers-casilleros.js +12 -18
  214. package/dist/unlogged/helpers-formulario.d.ts +16 -0
  215. package/dist/unlogged/helpers-formulario.js +88 -0
  216. package/dist/unlogged/tipos.d.ts +20 -2
  217. package/dist/unlogged/tipos.js +1 -1
  218. package/dist/unlogged/unlogged/abrir-formulario.js +1 -1
  219. package/dist/unlogged/unlogged/bypass-formulario.d.ts +6 -42
  220. package/dist/unlogged/unlogged/bypass-formulario.js +84 -219
  221. package/dist/unlogged/unlogged/css/formulario-react.styl +9 -0
  222. package/dist/unlogged/unlogged/helpers-casilleros.js +7 -14
  223. package/dist/unlogged/unlogged/helpers-formulario.d.ts +16 -0
  224. package/dist/unlogged/unlogged/helpers-formulario.js +88 -0
  225. package/dist/unlogged/unlogged/redux-formulario.d.ts +1 -2
  226. package/dist/unlogged/unlogged/redux-formulario.js +21 -31
  227. package/dist/unlogged/unlogged/render-config.d.ts +5 -1
  228. package/dist/unlogged/unlogged/render-config.js +14 -1
  229. package/dist/unlogged/unlogged/render-formulario.d.ts +3 -6
  230. package/dist/unlogged/unlogged/render-formulario.js +71 -69
  231. package/dist/unlogged/unlogged/render-formulario.tsx +100 -57
  232. package/dist/unlogged/unlogged/render-general.d.ts +2 -0
  233. package/dist/unlogged/unlogged/render-general.js +2 -1
  234. package/dist/unlogged/unlogged/render-general.tsx +2 -1
  235. package/dist/unlogged/unlogged/render-init.d.ts +1 -0
  236. package/dist/unlogged/unlogged/render-init.js +9 -2
  237. package/dist/unlogged/unlogged/tipos.d.ts +93 -41
  238. package/dist/unlogged/unlogged/tipos.js +1 -1
  239. package/dist/unlogged/unlogged/unlogged.js +15 -2
  240. package/install/accion_cumple_condicion.sql +1 -1
  241. package/install/generador_accion_cumple_condicion.sql +2 -2
  242. package/install/tarea_cumple_condicion.sql +1 -1
  243. package/install/xcalcular_resultado_trg.sql +1 -1
  244. package/package.json +24 -18
  245. package/dist/server/server/table-no_rea copy.js +0 -38
  246. package/dist/server/server/table-no_rea_sup copy.js +0 -36
  247. package/dist/unlogged/bypass-formulario.d.ts +0 -198
  248. package/dist/unlogged/bypass-formulario.js +0 -1226
  249. package/dist/unlogged/redux-formulario.d.ts +0 -440
  250. package/dist/unlogged/redux-formulario.js +0 -324
  251. package/dist/unlogged/render-config.d.ts +0 -52
  252. package/dist/unlogged/render-config.js +0 -161
  253. package/dist/unlogged/unlogged/bypass-formulario copy.d.ts +0 -198
  254. package/dist/unlogged/unlogged/bypass-formulario copy.js +0 -1226
  255. package/dist/unlogged/unlogged/helpers.d.ts +0 -14
  256. package/dist/unlogged/unlogged/helpers.js +0 -129
  257. /package/dist/server/{server/table-no_rea copy.d.ts → table-no_rea.d.ts} +0 -0
  258. /package/dist/server/{server/table-no_rea_sup copy.d.ts → table-no_rea_sup.d.ts} +0 -0
@@ -0,0 +1,1435 @@
1
+ import * as procesamiento from "procesamiento";
2
+ import { AppBackend, ClientModuleDefinition, OptsClientPage } from "procesamiento";
3
+ import { QuienConsultaAyuda } from "./ayuda";
4
+ import * as pg from "pg-promise-strict";
5
+ import { AyudaFuente, Client, Context, MenuInfoBase, Puede, Request, SufijosAmbiente } from "./types-dmencu";
6
+ export * from "./types-dmencu";
7
+ export * from "./ayuda";
8
+ import { ProcedureDef } from "backend-plus";
9
+ import { ProcedureContext } from "backend-plus";
10
+ export declare function getModoByPolicy(be: AppBackend): "RELEVAMIENTO" | "GABINETE";
11
+ export declare function permisosSegunUsuario(caches: Pick<AppBackend['caches'], 'permisosRol' | 'permisosSuperuser' | 'permisosParaNadie'>, user: Context['user'] | undefined): {
12
+ superuser?: true;
13
+ puede?: Puede;
14
+ };
15
+ export declare function quienConsultaAyuda(context: Context): QuienConsultaAyuda;
16
+ export type ConsultaDb = {
17
+ fetchAll(): Promise<pg.ResultRows>;
18
+ fetchUniqueRow(): Promise<pg.ResultOneRow>;
19
+ };
20
+ export type ClienteDb = {
21
+ query(sql: string): ConsultaDb;
22
+ };
23
+ export declare const TABLAS_ESTRUCTURA: string[];
24
+ export declare const TABLAS_REA_NO_REA: string[];
25
+ export type RefrescadorEstructura = {
26
+ caches: {
27
+ timestampEstructura: number;
28
+ };
29
+ refreshCaches(client: ClienteDb): Promise<void>;
30
+ };
31
+ export declare function refrescarEstructuraAlModificarTabla<C extends {
32
+ client: ClienteDb;
33
+ }, P extends {
34
+ table: string;
35
+ }, R, Resto extends (object | undefined)[]>(be: RefrescadorEstructura, coreFunction: (context: C, parameters: P, ...resto: Resto) => Promise<R>): (context: C, parameters: P, ...resto: Resto) => Promise<R>;
36
+ export declare function emergeAppDmEncu<T extends procesamiento.Constructor<procesamiento.AppProcesamientoType>>(Base: T): {
37
+ new (...args: any[]): {
38
+ getSufijoFrombaseUrl: (baseUrl: string) => "" | "_test" | "_capa";
39
+ getAppName: () => Promise<string>;
40
+ canChangePass(reqOrContext?: Request | Context, userToChangePass?: string | null): Promise<boolean>;
41
+ getProcedures(): Promise<procesamiento.ProcedureDef<any>[]>;
42
+ checkDatabaseStructure(_client: Client): Promise<void>;
43
+ addSchrödingerServices(mainApp: procesamiento.Express, baseUrl: string): void;
44
+ getColorsJson(_sufijo: SufijosAmbiente): {
45
+ start_url: string;
46
+ display: string;
47
+ theme_color: string;
48
+ background_color: string;
49
+ };
50
+ addLoggedServices(): void;
51
+ postConfig(): Promise<void>;
52
+ getAyudaFuentes(): AyudaFuente[];
53
+ problemasDeAyuda(): string[];
54
+ configStaticConfig(): void;
55
+ clientIncludes(req: Request, opts: OptsClientPage): ClientModuleDefinition[];
56
+ refreshCaches(client?: ClienteDb | null): Promise<void>;
57
+ getContext(req: Request): Context;
58
+ getContextForDump(): Context;
59
+ getClientSetupForSendToFrontEnd(req: Request): Promise<{
60
+ idper: string | undefined;
61
+ config: procesamiento.AppConfigClientSetup;
62
+ setup: Record<string, any>;
63
+ procedures: ProcedureDef[];
64
+ }>;
65
+ createResourcesForCacheJson(): Promise<{
66
+ version: string;
67
+ appName: string;
68
+ cache: string[];
69
+ fallbacks: {
70
+ path: string;
71
+ fallback: string;
72
+ }[];
73
+ defaultFallback: string;
74
+ }>;
75
+ getMenuControles(_context: Context): MenuInfoBase[];
76
+ getMenuVarios(context: Context): MenuInfoBase;
77
+ getMenuAsignacion(context: Context): MenuInfoBase;
78
+ getMenuRecepcion(context: Context): MenuInfoBase;
79
+ getMenuCarto(context: Context): MenuInfoBase | null;
80
+ getMenuConfigurar(context: Context): MenuInfoBase[];
81
+ getMenu(context?: Context): {
82
+ menu: procesamiento.MenuInfoBase[];
83
+ };
84
+ prepareGetTables(): void;
85
+ config: import("consistencias").ConsistenciasAppConfig & import("backend-plus").AppConfig;
86
+ tablasDatos: import("consistencias").TablaDatos[];
87
+ procedures: import("backend-plus").ProcedureDef[];
88
+ procedure: {
89
+ [key: string]: procesamiento.ProcedureDef<any>;
90
+ } & {
91
+ [key: string]: procesamiento.ProcedureDef<any>;
92
+ } & {
93
+ [key: string]: procesamiento.ProcedureDef<any>;
94
+ } & {
95
+ [key: string]: procesamiento.ProcedureDef<any>;
96
+ } & {
97
+ [key: string]: procesamiento.ProcedureDef<any>;
98
+ } & {
99
+ [key: string]: procesamiento.ProcedureDef<any>;
100
+ } & {
101
+ [key: string]: procesamiento.ProcedureDef<any>;
102
+ } & {
103
+ [key: string]: procesamiento.ProcedureDef<any>;
104
+ } & {
105
+ [key: string]: procesamiento.ProcedureDef<any>;
106
+ } & {
107
+ [key: string]: procesamiento.ProcedureDef<any>;
108
+ } & {
109
+ [key: string]: procesamiento.ProcedureDef<any>;
110
+ } & {
111
+ [key: string]: procesamiento.ProcedureDef<any>;
112
+ } & {
113
+ [key: string]: procesamiento.ProcedureDef<any>;
114
+ } & {
115
+ [key: string]: procesamiento.ProcedureDef<any>;
116
+ } & {
117
+ [key: string]: procesamiento.ProcedureDef<any>;
118
+ } & {
119
+ [key: string]: procesamiento.ProcedureDef<any>;
120
+ } & {
121
+ [key: string]: procesamiento.ProcedureDef<any>;
122
+ } & {
123
+ [key: string]: procesamiento.ProcedureDef<any>;
124
+ };
125
+ app: import("backend-plus").ExpressPlus;
126
+ getTableDefinition: import("backend-plus").TableDefinitionsGetters;
127
+ tableStructures: import("backend-plus").TableDefinitions;
128
+ db: import("backend-plus").MotorDb;
129
+ rootPath: string;
130
+ caches: import("backend-plus").Caches;
131
+ fieldDomain: {
132
+ [k: string]: Partial<procesamiento.FieldDefinition>;
133
+ } & {
134
+ [k: string]: Partial<procesamiento.FieldDefinition>;
135
+ } & {
136
+ [k: string]: Partial<procesamiento.FieldDefinition>;
137
+ } & {
138
+ [k: string]: Partial<procesamiento.FieldDefinition>;
139
+ } & {
140
+ [k: string]: Partial<procesamiento.FieldDefinition>;
141
+ } & {
142
+ [k: string]: Partial<procesamiento.FieldDefinition>;
143
+ } & {
144
+ [k: string]: Partial<procesamiento.FieldDefinition>;
145
+ } & {
146
+ [k: string]: Partial<procesamiento.FieldDefinition>;
147
+ } & {
148
+ [k: string]: Partial<procesamiento.FieldDefinition>;
149
+ } & {
150
+ [k: string]: Partial<procesamiento.FieldDefinition>;
151
+ } & {
152
+ [k: string]: Partial<procesamiento.FieldDefinition>;
153
+ } & {
154
+ [k: string]: Partial<procesamiento.FieldDefinition>;
155
+ } & {
156
+ [k: string]: Partial<procesamiento.FieldDefinition>;
157
+ } & {
158
+ [k: string]: Partial<procesamiento.FieldDefinition>;
159
+ } & {
160
+ [k: string]: Partial<procesamiento.FieldDefinition>;
161
+ } & {
162
+ [k: string]: Partial<procesamiento.FieldDefinition>;
163
+ } & {
164
+ [k: string]: Partial<procesamiento.FieldDefinition>;
165
+ } & {
166
+ [k: string]: Partial<procesamiento.FieldDefinition>;
167
+ };
168
+ exts: {
169
+ img: string[];
170
+ normal: string[];
171
+ } & {
172
+ img: string[];
173
+ normal: string[];
174
+ } & {
175
+ img: string[];
176
+ normal: string[];
177
+ } & {
178
+ img: string[];
179
+ normal: string[];
180
+ } & {
181
+ img: string[];
182
+ normal: string[];
183
+ } & {
184
+ img: string[];
185
+ normal: string[];
186
+ } & {
187
+ img: string[];
188
+ normal: string[];
189
+ } & {
190
+ img: string[];
191
+ normal: string[];
192
+ } & {
193
+ img: string[];
194
+ normal: string[];
195
+ } & {
196
+ img: string[];
197
+ normal: string[];
198
+ } & {
199
+ img: string[];
200
+ normal: string[];
201
+ } & {
202
+ img: string[];
203
+ normal: string[];
204
+ } & {
205
+ img: string[];
206
+ normal: string[];
207
+ } & {
208
+ img: string[];
209
+ normal: string[];
210
+ } & {
211
+ img: string[];
212
+ normal: string[];
213
+ } & {
214
+ img: string[];
215
+ normal: string[];
216
+ } & {
217
+ img: string[];
218
+ normal: string[];
219
+ } & {
220
+ img: string[];
221
+ normal: string[];
222
+ };
223
+ optsGenericForAll: {
224
+ allowedExts?: string[];
225
+ } & {
226
+ allowedExts?: string[];
227
+ } & {
228
+ allowedExts?: string[];
229
+ } & {
230
+ allowedExts?: string[];
231
+ } & {
232
+ allowedExts?: string[];
233
+ } & {
234
+ allowedExts?: string[];
235
+ } & {
236
+ allowedExts?: string[];
237
+ } & {
238
+ allowedExts?: string[];
239
+ } & {
240
+ allowedExts?: string[];
241
+ } & {
242
+ allowedExts?: string[];
243
+ } & {
244
+ allowedExts?: string[];
245
+ } & {
246
+ allowedExts?: string[];
247
+ } & {
248
+ allowedExts?: string[];
249
+ } & {
250
+ allowedExts?: string[];
251
+ } & {
252
+ allowedExts?: string[];
253
+ } & {
254
+ allowedExts?: string[];
255
+ } & {
256
+ allowedExts?: string[];
257
+ } & {
258
+ allowedExts?: string[];
259
+ };
260
+ sqls: {
261
+ [k: string]: string;
262
+ } & {
263
+ [k: string]: string;
264
+ } & {
265
+ [k: string]: string;
266
+ } & {
267
+ [k: string]: string;
268
+ } & {
269
+ [k: string]: string;
270
+ } & {
271
+ [k: string]: string;
272
+ } & {
273
+ [k: string]: string;
274
+ } & {
275
+ [k: string]: string;
276
+ } & {
277
+ [k: string]: string;
278
+ } & {
279
+ [k: string]: string;
280
+ } & {
281
+ [k: string]: string;
282
+ } & {
283
+ [k: string]: string;
284
+ } & {
285
+ [k: string]: string;
286
+ } & {
287
+ [k: string]: string;
288
+ } & {
289
+ [k: string]: string;
290
+ } & {
291
+ [k: string]: string;
292
+ } & {
293
+ [k: string]: string;
294
+ } & {
295
+ [k: string]: string;
296
+ };
297
+ messages: {
298
+ [k: string]: string;
299
+ } & {
300
+ [k: string]: string;
301
+ } & {
302
+ [k: string]: string;
303
+ } & {
304
+ [k: string]: string;
305
+ } & {
306
+ [k: string]: string;
307
+ } & {
308
+ [k: string]: string;
309
+ } & {
310
+ [k: string]: string;
311
+ } & {
312
+ [k: string]: string;
313
+ } & {
314
+ [k: string]: string;
315
+ } & {
316
+ [k: string]: string;
317
+ } & {
318
+ [k: string]: string;
319
+ } & {
320
+ [k: string]: string;
321
+ } & {
322
+ [k: string]: string;
323
+ } & {
324
+ [k: string]: string;
325
+ } & {
326
+ [k: string]: string;
327
+ } & {
328
+ [k: string]: string;
329
+ } & {
330
+ [k: string]: string;
331
+ } & {
332
+ [k: string]: string;
333
+ };
334
+ dbUserNameExpr: string;
335
+ dbUserRolExpr: string;
336
+ specialValueWhenInsert: {
337
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
338
+ } & {
339
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
340
+ } & {
341
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
342
+ } & {
343
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
344
+ } & {
345
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
346
+ } & {
347
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
348
+ } & {
349
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
350
+ } & {
351
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
352
+ } & {
353
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
354
+ } & {
355
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
356
+ } & {
357
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
358
+ } & {
359
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
360
+ } & {
361
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
362
+ } & {
363
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
364
+ } & {
365
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
366
+ } & {
367
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
368
+ } & {
369
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
370
+ } & {
371
+ [k: string]: (context: ProcedureContext, defField: procesamiento.FieldDefinition, parameters: object) => any;
372
+ };
373
+ specialSqlDefaultExpressions: Record<string, string>;
374
+ i18n: {
375
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
376
+ } & {
377
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
378
+ } & {
379
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
380
+ } & {
381
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
382
+ } & {
383
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
384
+ } & {
385
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
386
+ } & {
387
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
388
+ } & {
389
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
390
+ } & {
391
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
392
+ } & {
393
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
394
+ } & {
395
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
396
+ } & {
397
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
398
+ } & {
399
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
400
+ } & {
401
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
402
+ } & {
403
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
404
+ } & {
405
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
406
+ } & {
407
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
408
+ } & {
409
+ messages: Record<procesamiento.LangId, Record<string, string>>;
410
+ };
411
+ activeSkinFiles: Set<string>;
412
+ generateAndLoadTableDefs: (() => import("backend-plus").TableDefinitions) & (() => import("backend-plus").TableDefinitions);
413
+ generateBaseTableDef: ((tablaDatos: import("consistencias").TablaDatos) => import("backend-plus").TableDefinition) & ((tablaDatos: import("consistencias").TablaDatos) => import("backend-plus").TableDefinition) & ((tablaDatos: import("consistencias").TablaDatos) => import("backend-plus").TableDefinition);
414
+ cargarGenerados: ((client: import("pg-promise-strict").Client) => Promise<string>) & ((client: import("pg-promise-strict").Client) => Promise<string>) & ((client: import("pg-promise-strict").Client) => Promise<string>);
415
+ getTableDefFunction: ((tableDef: import("backend-plus").TableDefinition) => import("backend-plus").TableDefinitionFunction) & ((tableDef: import("backend-plus").TableDefinition) => import("backend-plus").TableDefinitionFunction) & ((tableDef: import("backend-plus").TableDefinition) => import("backend-plus").TableDefinitionFunction);
416
+ loadTableDef: ((tableDef: import("backend-plus").TableDefinition) => import("backend-plus").TableDefinitionFunction) & ((tableDef: import("backend-plus").TableDefinition) => import("backend-plus").TableDefinitionFunction) & ((tableDef: import("backend-plus").TableDefinition) => import("backend-plus").TableDefinitionFunction);
417
+ generateAndLoadTableDef: ((tablaDatos: import("consistencias").TablaDatos) => import("backend-plus").TableDefinitionFunction) & ((tablaDatos: import("consistencias").TablaDatos) => import("backend-plus").TableDefinitionFunction) & ((tablaDatos: import("consistencias").TablaDatos) => import("backend-plus").TableDefinitionFunction);
418
+ getDbFunctions: ((opts: import("backend-plus").DumpOptions) => Promise<{
419
+ dumpText: string;
420
+ }[]>) & ((opts: procesamiento.DumpOptions) => Promise<{
421
+ dumpText: string;
422
+ }[]>);
423
+ clearCaches: (() => void) & (() => void);
424
+ start: ((opts?: import("backend-plus").StartOptions) => Promise<void>) & ((opts?: procesamiento.StartOptions) => Promise<void>);
425
+ getTables: (() => import("backend-plus").TableItemDef[]) & (() => procesamiento.TableItemDef[]);
426
+ appendToTableDefinition: ((tableName: string, appenderFunction: (tableDef: import("backend-plus").TableDefinition, context?: import("backend-plus").TableContext) => void) => void) & ((tableName: string, appenderFunction: (tableDef: procesamiento.TableDefinition, context?: procesamiento.TableContext) => void) => void);
427
+ addUnloggedServices: ((mainApp: import("backend-plus").ExpressPlus, baseUrl: string) => void) & ((mainApp: procesamiento.ExpressPlus, baseUrl: string) => void);
428
+ isAdmin: ((reqOrContext: Request | import("backend-plus").Context) => boolean) & ((reqOrContext: Request | Context) => boolean);
429
+ inDbClient: (<T_1>(req: import("backend-plus").RequestDb | null, doThisWithDbClient: (client: import("pg-promise-strict").Client) => Promise<T_1>) => Promise<T_1>) & (<T_1>(req: procesamiento.RequestDb | null, doThisWithDbClient: (client: Client) => Promise<T_1>) => Promise<T_1>);
430
+ inTransaction: (<T_1>(req: import("backend-plus").RequestDb | null, doThisWithDbTransaction: (client: import("pg-promise-strict").Client) => Promise<T_1>) => Promise<T_1>) & (<T_1>(req: procesamiento.RequestDb | null, doThisWithDbTransaction: (client: Client) => Promise<T_1>) => Promise<T_1>);
431
+ inTransactionProcedureContext: (<T_1>(req: Request | null, coreFunction: (context: import("backend-plus").ProcedureContext) => Promise<T_1>) => Promise<T_1>) & (<T_1>(req: Request | null, coreFunction: (context: ProcedureContext) => Promise<T_1>) => Promise<T_1>);
432
+ procedureDefCompleter: (<T_1>(procedureDef: import("backend-plus").ProcedureDef) => import("backend-plus").ProcedureDef<T_1>) & (<T_1>(procedureDef: ProcedureDef) => ProcedureDef<T_1>);
433
+ tableDefAdapt: ((tableDef: import("backend-plus").TableDefinition, context: import("backend-plus").Context) => import("backend-plus").TableDefinition) & ((tableDef: procesamiento.TableDefinition, context: Context) => procesamiento.TableDefinition);
434
+ pushApp: ((dirname: string) => void) & ((dirname: string) => void);
435
+ dumpDbTableFields: ((tableDefinition: import("backend-plus").TableDefinition) => string[]) & ((tableDefinition: procesamiento.TableDefinition) => string[]);
436
+ dumpDbSchemaPartial: ((partialTableStructures: import("backend-plus").TableDefinitions, opts?: import("backend-plus").DumpOptions) => Promise<{
437
+ mainSql: string;
438
+ enancePart: string;
439
+ }>) & ((partialTableStructures: procesamiento.TableDefinitions, opts?: procesamiento.DumpOptions) => Promise<{
440
+ mainSql: string;
441
+ enancePart: string;
442
+ }>);
443
+ configList: (() => (object | string)[]) & (() => (object | string)[]);
444
+ setStaticConfig: ((defConfigYamlString: string) => void) & ((defConfigYamlString: string) => void);
445
+ mainPage: ((req: Request | {}, offlineMode?: boolean, opts?: OptsClientPage) => {
446
+ toHtmlDoc: () => string;
447
+ }) & ((req: Request | {}, offlineMode?: boolean, opts?: OptsClientPage) => {
448
+ toHtmlDoc: () => string;
449
+ });
450
+ isThisProcedureAllowed: (<T_1>(context: import("backend-plus").Context, procedureDef: import("backend-plus").ProcedureDef, params: {
451
+ [key: string]: T_1;
452
+ }) => Promise<boolean>) & (<T_1>(context: Context, procedureDef: ProcedureDef, params: {
453
+ [key: string]: T_1;
454
+ }) => Promise<boolean>);
455
+ shutdownCallbackListAdd: ((param: {
456
+ message: string;
457
+ fun: () => Promise<void>;
458
+ }) => void) & ((param: {
459
+ message: string;
460
+ fun: () => Promise<void>;
461
+ }) => void);
462
+ shutdownBackend: ((opts?: {
463
+ skipTurnOff?: boolean;
464
+ onlyTurnOff?: boolean;
465
+ }) => Promise<void>) & ((opts?: {
466
+ skipTurnOff?: boolean;
467
+ onlyTurnOff?: boolean;
468
+ }) => Promise<void>);
469
+ setLog: ((opts: {
470
+ until: string;
471
+ results?: boolean;
472
+ }) => void) & ((opts: {
473
+ until: string;
474
+ results?: boolean;
475
+ }) => void);
476
+ getDataDumpTransformations: ((rawData: string) => Promise<{
477
+ rawData: string;
478
+ prepareTransformationSql: string[];
479
+ endTransformationSql: string[];
480
+ }>) & ((rawData: string) => Promise<{
481
+ rawData: string;
482
+ prepareTransformationSql: string[];
483
+ endTransformationSql: string[];
484
+ }>);
485
+ transformInput: (<T_1>(fieldDefinition: import("backend-plus").FieldDefinitionInternal, value: T_1) => T_1) & (<T_1>(fieldDefinition: procesamiento.FieldDefinitionInternal, value: T_1) => T_1);
486
+ };
487
+ } & T;
488
+ export declare var AppDmEncu: {
489
+ new (...args: any[]): {
490
+ getSufijoFrombaseUrl: (baseUrl: string) => "" | "_test" | "_capa";
491
+ getAppName: () => Promise<string>;
492
+ canChangePass(reqOrContext?: Request | Context, userToChangePass?: string | null): Promise<boolean>;
493
+ getProcedures(): Promise<procesamiento.ProcedureDef<any>[]>;
494
+ checkDatabaseStructure(_client: Client): Promise<void>;
495
+ addSchrödingerServices(mainApp: procesamiento.Express, baseUrl: string): void;
496
+ getColorsJson(_sufijo: SufijosAmbiente): {
497
+ start_url: string;
498
+ display: string;
499
+ theme_color: string;
500
+ background_color: string;
501
+ };
502
+ addLoggedServices(): void;
503
+ postConfig(): Promise<void>;
504
+ getAyudaFuentes(): AyudaFuente[];
505
+ problemasDeAyuda(): string[];
506
+ configStaticConfig(): void;
507
+ clientIncludes(req: Request, opts: OptsClientPage): ClientModuleDefinition[];
508
+ refreshCaches(client?: ClienteDb | null): Promise<void>;
509
+ getContext(req: Request): Context;
510
+ getContextForDump(): Context;
511
+ getClientSetupForSendToFrontEnd(req: Request): Promise<{
512
+ idper: string | undefined;
513
+ config: procesamiento.AppConfigClientSetup;
514
+ setup: Record<string, any>;
515
+ procedures: ProcedureDef[];
516
+ }>;
517
+ createResourcesForCacheJson(): Promise<{
518
+ version: string;
519
+ appName: string;
520
+ cache: string[];
521
+ fallbacks: {
522
+ path: string;
523
+ fallback: string;
524
+ }[];
525
+ defaultFallback: string;
526
+ }>;
527
+ getMenuControles(_context: Context): MenuInfoBase[];
528
+ getMenuVarios(context: Context): MenuInfoBase;
529
+ getMenuAsignacion(context: Context): MenuInfoBase;
530
+ getMenuRecepcion(context: Context): MenuInfoBase;
531
+ getMenuCarto(context: Context): MenuInfoBase | null;
532
+ getMenuConfigurar(context: Context): MenuInfoBase[];
533
+ getMenu(context?: Context): {
534
+ menu: procesamiento.MenuInfoBase[];
535
+ };
536
+ prepareGetTables(): void;
537
+ config: import("consistencias").ConsistenciasAppConfig & import("backend-plus").AppConfig;
538
+ tablasDatos: import("consistencias").TablaDatos[];
539
+ procedures: import("backend-plus").ProcedureDef[];
540
+ procedure: {
541
+ [key: string]: procesamiento.ProcedureDef<any>;
542
+ } & {
543
+ [key: string]: procesamiento.ProcedureDef<any>;
544
+ } & {
545
+ [key: string]: procesamiento.ProcedureDef<any>;
546
+ } & {
547
+ [key: string]: procesamiento.ProcedureDef<any>;
548
+ } & {
549
+ [key: string]: procesamiento.ProcedureDef<any>;
550
+ } & {
551
+ [key: string]: procesamiento.ProcedureDef<any>;
552
+ } & {
553
+ [key: string]: procesamiento.ProcedureDef<any>;
554
+ } & {
555
+ [key: string]: procesamiento.ProcedureDef<any>;
556
+ } & {
557
+ [key: string]: procesamiento.ProcedureDef<any>;
558
+ } & {
559
+ [key: string]: procesamiento.ProcedureDef<any>;
560
+ } & {
561
+ [key: string]: procesamiento.ProcedureDef<any>;
562
+ } & {
563
+ [key: string]: procesamiento.ProcedureDef<any>;
564
+ } & {
565
+ [key: string]: procesamiento.ProcedureDef<any>;
566
+ } & {
567
+ [key: string]: procesamiento.ProcedureDef<any>;
568
+ } & {
569
+ [key: string]: procesamiento.ProcedureDef<any>;
570
+ } & {
571
+ [key: string]: procesamiento.ProcedureDef<any>;
572
+ } & {
573
+ [key: string]: procesamiento.ProcedureDef<any>;
574
+ } & {
575
+ [key: string]: procesamiento.ProcedureDef<any>;
576
+ };
577
+ app: import("backend-plus").ExpressPlus;
578
+ getTableDefinition: import("backend-plus").TableDefinitionsGetters;
579
+ tableStructures: import("backend-plus").TableDefinitions;
580
+ db: import("backend-plus").MotorDb;
581
+ rootPath: string;
582
+ caches: import("backend-plus").Caches;
583
+ fieldDomain: {
584
+ [k: string]: Partial<procesamiento.FieldDefinition>;
585
+ } & {
586
+ [k: string]: Partial<procesamiento.FieldDefinition>;
587
+ } & {
588
+ [k: string]: Partial<procesamiento.FieldDefinition>;
589
+ } & {
590
+ [k: string]: Partial<procesamiento.FieldDefinition>;
591
+ } & {
592
+ [k: string]: Partial<procesamiento.FieldDefinition>;
593
+ } & {
594
+ [k: string]: Partial<procesamiento.FieldDefinition>;
595
+ } & {
596
+ [k: string]: Partial<procesamiento.FieldDefinition>;
597
+ } & {
598
+ [k: string]: Partial<procesamiento.FieldDefinition>;
599
+ } & {
600
+ [k: string]: Partial<procesamiento.FieldDefinition>;
601
+ } & {
602
+ [k: string]: Partial<procesamiento.FieldDefinition>;
603
+ } & {
604
+ [k: string]: Partial<procesamiento.FieldDefinition>;
605
+ } & {
606
+ [k: string]: Partial<procesamiento.FieldDefinition>;
607
+ } & {
608
+ [k: string]: Partial<procesamiento.FieldDefinition>;
609
+ } & {
610
+ [k: string]: Partial<procesamiento.FieldDefinition>;
611
+ } & {
612
+ [k: string]: Partial<procesamiento.FieldDefinition>;
613
+ } & {
614
+ [k: string]: Partial<procesamiento.FieldDefinition>;
615
+ } & {
616
+ [k: string]: Partial<procesamiento.FieldDefinition>;
617
+ } & {
618
+ [k: string]: Partial<procesamiento.FieldDefinition>;
619
+ };
620
+ exts: {
621
+ img: string[];
622
+ normal: string[];
623
+ } & {
624
+ img: string[];
625
+ normal: string[];
626
+ } & {
627
+ img: string[];
628
+ normal: string[];
629
+ } & {
630
+ img: string[];
631
+ normal: string[];
632
+ } & {
633
+ img: string[];
634
+ normal: string[];
635
+ } & {
636
+ img: string[];
637
+ normal: string[];
638
+ } & {
639
+ img: string[];
640
+ normal: string[];
641
+ } & {
642
+ img: string[];
643
+ normal: string[];
644
+ } & {
645
+ img: string[];
646
+ normal: string[];
647
+ } & {
648
+ img: string[];
649
+ normal: string[];
650
+ } & {
651
+ img: string[];
652
+ normal: string[];
653
+ } & {
654
+ img: string[];
655
+ normal: string[];
656
+ } & {
657
+ img: string[];
658
+ normal: string[];
659
+ } & {
660
+ img: string[];
661
+ normal: string[];
662
+ } & {
663
+ img: string[];
664
+ normal: string[];
665
+ } & {
666
+ img: string[];
667
+ normal: string[];
668
+ } & {
669
+ img: string[];
670
+ normal: string[];
671
+ } & {
672
+ img: string[];
673
+ normal: string[];
674
+ };
675
+ optsGenericForAll: {
676
+ allowedExts?: string[];
677
+ } & {
678
+ allowedExts?: string[];
679
+ } & {
680
+ allowedExts?: string[];
681
+ } & {
682
+ allowedExts?: string[];
683
+ } & {
684
+ allowedExts?: string[];
685
+ } & {
686
+ allowedExts?: string[];
687
+ } & {
688
+ allowedExts?: string[];
689
+ } & {
690
+ allowedExts?: string[];
691
+ } & {
692
+ allowedExts?: string[];
693
+ } & {
694
+ allowedExts?: string[];
695
+ } & {
696
+ allowedExts?: string[];
697
+ } & {
698
+ allowedExts?: string[];
699
+ } & {
700
+ allowedExts?: string[];
701
+ } & {
702
+ allowedExts?: string[];
703
+ } & {
704
+ allowedExts?: string[];
705
+ } & {
706
+ allowedExts?: string[];
707
+ } & {
708
+ allowedExts?: string[];
709
+ } & {
710
+ allowedExts?: string[];
711
+ };
712
+ sqls: {
713
+ [k: string]: string;
714
+ } & {
715
+ [k: string]: string;
716
+ } & {
717
+ [k: string]: string;
718
+ } & {
719
+ [k: string]: string;
720
+ } & {
721
+ [k: string]: string;
722
+ } & {
723
+ [k: string]: string;
724
+ } & {
725
+ [k: string]: string;
726
+ } & {
727
+ [k: string]: string;
728
+ } & {
729
+ [k: string]: string;
730
+ } & {
731
+ [k: string]: string;
732
+ } & {
733
+ [k: string]: string;
734
+ } & {
735
+ [k: string]: string;
736
+ } & {
737
+ [k: string]: string;
738
+ } & {
739
+ [k: string]: string;
740
+ } & {
741
+ [k: string]: string;
742
+ } & {
743
+ [k: string]: string;
744
+ } & {
745
+ [k: string]: string;
746
+ } & {
747
+ [k: string]: string;
748
+ };
749
+ messages: {
750
+ [k: string]: string;
751
+ } & {
752
+ [k: string]: string;
753
+ } & {
754
+ [k: string]: string;
755
+ } & {
756
+ [k: string]: string;
757
+ } & {
758
+ [k: string]: string;
759
+ } & {
760
+ [k: string]: string;
761
+ } & {
762
+ [k: string]: string;
763
+ } & {
764
+ [k: string]: string;
765
+ } & {
766
+ [k: string]: string;
767
+ } & {
768
+ [k: string]: string;
769
+ } & {
770
+ [k: string]: string;
771
+ } & {
772
+ [k: string]: string;
773
+ } & {
774
+ [k: string]: string;
775
+ } & {
776
+ [k: string]: string;
777
+ } & {
778
+ [k: string]: string;
779
+ } & {
780
+ [k: string]: string;
781
+ } & {
782
+ [k: string]: string;
783
+ } & {
784
+ [k: string]: string;
785
+ };
786
+ dbUserNameExpr: string;
787
+ dbUserRolExpr: string;
788
+ specialValueWhenInsert: {
789
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
790
+ } & {
791
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
792
+ } & {
793
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
794
+ } & {
795
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
796
+ } & {
797
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
798
+ } & {
799
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
800
+ } & {
801
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
802
+ } & {
803
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
804
+ } & {
805
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
806
+ } & {
807
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
808
+ } & {
809
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
810
+ } & {
811
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
812
+ } & {
813
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
814
+ } & {
815
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
816
+ } & {
817
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
818
+ } & {
819
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
820
+ } & {
821
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
822
+ } & {
823
+ [k: string]: (context: ProcedureContext, defField: procesamiento.FieldDefinition, parameters: object) => any;
824
+ };
825
+ specialSqlDefaultExpressions: Record<string, string>;
826
+ i18n: {
827
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
828
+ } & {
829
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
830
+ } & {
831
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
832
+ } & {
833
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
834
+ } & {
835
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
836
+ } & {
837
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
838
+ } & {
839
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
840
+ } & {
841
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
842
+ } & {
843
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
844
+ } & {
845
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
846
+ } & {
847
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
848
+ } & {
849
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
850
+ } & {
851
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
852
+ } & {
853
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
854
+ } & {
855
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
856
+ } & {
857
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
858
+ } & {
859
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
860
+ } & {
861
+ messages: Record<procesamiento.LangId, Record<string, string>>;
862
+ };
863
+ activeSkinFiles: Set<string>;
864
+ generateAndLoadTableDefs: (() => import("backend-plus").TableDefinitions) & (() => import("backend-plus").TableDefinitions);
865
+ generateBaseTableDef: ((tablaDatos: import("consistencias").TablaDatos) => import("backend-plus").TableDefinition) & ((tablaDatos: import("consistencias").TablaDatos) => import("backend-plus").TableDefinition) & ((tablaDatos: import("consistencias").TablaDatos) => import("backend-plus").TableDefinition);
866
+ cargarGenerados: ((client: import("pg-promise-strict").Client) => Promise<string>) & ((client: import("pg-promise-strict").Client) => Promise<string>) & ((client: import("pg-promise-strict").Client) => Promise<string>);
867
+ getTableDefFunction: ((tableDef: import("backend-plus").TableDefinition) => import("backend-plus").TableDefinitionFunction) & ((tableDef: import("backend-plus").TableDefinition) => import("backend-plus").TableDefinitionFunction) & ((tableDef: import("backend-plus").TableDefinition) => import("backend-plus").TableDefinitionFunction);
868
+ loadTableDef: ((tableDef: import("backend-plus").TableDefinition) => import("backend-plus").TableDefinitionFunction) & ((tableDef: import("backend-plus").TableDefinition) => import("backend-plus").TableDefinitionFunction) & ((tableDef: import("backend-plus").TableDefinition) => import("backend-plus").TableDefinitionFunction);
869
+ generateAndLoadTableDef: ((tablaDatos: import("consistencias").TablaDatos) => import("backend-plus").TableDefinitionFunction) & ((tablaDatos: import("consistencias").TablaDatos) => import("backend-plus").TableDefinitionFunction) & ((tablaDatos: import("consistencias").TablaDatos) => import("backend-plus").TableDefinitionFunction);
870
+ getDbFunctions: ((opts: import("backend-plus").DumpOptions) => Promise<{
871
+ dumpText: string;
872
+ }[]>) & ((opts: procesamiento.DumpOptions) => Promise<{
873
+ dumpText: string;
874
+ }[]>);
875
+ clearCaches: (() => void) & (() => void);
876
+ start: ((opts?: import("backend-plus").StartOptions) => Promise<void>) & ((opts?: procesamiento.StartOptions) => Promise<void>);
877
+ getTables: (() => import("backend-plus").TableItemDef[]) & (() => procesamiento.TableItemDef[]);
878
+ appendToTableDefinition: ((tableName: string, appenderFunction: (tableDef: import("backend-plus").TableDefinition, context?: import("backend-plus").TableContext) => void) => void) & ((tableName: string, appenderFunction: (tableDef: procesamiento.TableDefinition, context?: procesamiento.TableContext) => void) => void);
879
+ addUnloggedServices: ((mainApp: import("backend-plus").ExpressPlus, baseUrl: string) => void) & ((mainApp: procesamiento.ExpressPlus, baseUrl: string) => void);
880
+ isAdmin: ((reqOrContext: Request | import("backend-plus").Context) => boolean) & ((reqOrContext: Request | Context) => boolean);
881
+ inDbClient: (<T_1>(req: import("backend-plus").RequestDb | null, doThisWithDbClient: (client: import("pg-promise-strict").Client) => Promise<T_1>) => Promise<T_1>) & (<T>(req: procesamiento.RequestDb | null, doThisWithDbClient: (client: Client) => Promise<T>) => Promise<T>);
882
+ inTransaction: (<T_1>(req: import("backend-plus").RequestDb | null, doThisWithDbTransaction: (client: import("pg-promise-strict").Client) => Promise<T_1>) => Promise<T_1>) & (<T>(req: procesamiento.RequestDb | null, doThisWithDbTransaction: (client: Client) => Promise<T>) => Promise<T>);
883
+ inTransactionProcedureContext: (<T_1>(req: Request | null, coreFunction: (context: import("backend-plus").ProcedureContext) => Promise<T_1>) => Promise<T_1>) & (<T>(req: Request | null, coreFunction: (context: ProcedureContext) => Promise<T>) => Promise<T>);
884
+ procedureDefCompleter: (<T_1>(procedureDef: import("backend-plus").ProcedureDef) => import("backend-plus").ProcedureDef<T_1>) & (<T>(procedureDef: ProcedureDef) => ProcedureDef<T>);
885
+ tableDefAdapt: ((tableDef: import("backend-plus").TableDefinition, context: import("backend-plus").Context) => import("backend-plus").TableDefinition) & ((tableDef: procesamiento.TableDefinition, context: Context) => procesamiento.TableDefinition);
886
+ pushApp: ((dirname: string) => void) & ((dirname: string) => void);
887
+ dumpDbTableFields: ((tableDefinition: import("backend-plus").TableDefinition) => string[]) & ((tableDefinition: procesamiento.TableDefinition) => string[]);
888
+ dumpDbSchemaPartial: ((partialTableStructures: import("backend-plus").TableDefinitions, opts?: import("backend-plus").DumpOptions) => Promise<{
889
+ mainSql: string;
890
+ enancePart: string;
891
+ }>) & ((partialTableStructures: procesamiento.TableDefinitions, opts?: procesamiento.DumpOptions) => Promise<{
892
+ mainSql: string;
893
+ enancePart: string;
894
+ }>);
895
+ configList: (() => (object | string)[]) & (() => (object | string)[]);
896
+ setStaticConfig: ((defConfigYamlString: string) => void) & ((defConfigYamlString: string) => void);
897
+ mainPage: ((req: Request | {}, offlineMode?: boolean, opts?: OptsClientPage) => {
898
+ toHtmlDoc: () => string;
899
+ }) & ((req: Request | {}, offlineMode?: boolean, opts?: OptsClientPage) => {
900
+ toHtmlDoc: () => string;
901
+ });
902
+ isThisProcedureAllowed: (<T_1>(context: import("backend-plus").Context, procedureDef: import("backend-plus").ProcedureDef, params: {
903
+ [key: string]: T_1;
904
+ }) => Promise<boolean>) & (<T>(context: Context, procedureDef: ProcedureDef, params: {
905
+ [key: string]: T;
906
+ }) => Promise<boolean>);
907
+ shutdownCallbackListAdd: ((param: {
908
+ message: string;
909
+ fun: () => Promise<void>;
910
+ }) => void) & ((param: {
911
+ message: string;
912
+ fun: () => Promise<void>;
913
+ }) => void);
914
+ shutdownBackend: ((opts?: {
915
+ skipTurnOff?: boolean;
916
+ onlyTurnOff?: boolean;
917
+ }) => Promise<void>) & ((opts?: {
918
+ skipTurnOff?: boolean;
919
+ onlyTurnOff?: boolean;
920
+ }) => Promise<void>);
921
+ setLog: ((opts: {
922
+ until: string;
923
+ results?: boolean;
924
+ }) => void) & ((opts: {
925
+ until: string;
926
+ results?: boolean;
927
+ }) => void);
928
+ getDataDumpTransformations: ((rawData: string) => Promise<{
929
+ rawData: string;
930
+ prepareTransformationSql: string[];
931
+ endTransformationSql: string[];
932
+ }>) & ((rawData: string) => Promise<{
933
+ rawData: string;
934
+ prepareTransformationSql: string[];
935
+ endTransformationSql: string[];
936
+ }>);
937
+ transformInput: (<T_1>(fieldDefinition: import("backend-plus").FieldDefinitionInternal, value: T_1) => T_1) & (<T>(fieldDefinition: procesamiento.FieldDefinitionInternal, value: T) => T);
938
+ };
939
+ } & (new (...args: any[]) => {
940
+ getProcedures(): Promise<import("backend-plus").ProcedureDef<any>[]>;
941
+ clientIncludes(req: Request, hideBEPlusInclusions: OptsClientPage): import("backend-plus").ClientModuleDefinition[];
942
+ configStaticConfig(): void;
943
+ config: import("consistencias").ConsistenciasAppConfig & import("backend-plus").AppConfig;
944
+ tablasDatos: import("consistencias").TablaDatos[];
945
+ procedures: import("backend-plus").ProcedureDef[];
946
+ procedure: {
947
+ [key: string]: import("backend-plus").ProcedureDef<any>;
948
+ } & {
949
+ [key: string]: import("backend-plus").ProcedureDef<any>;
950
+ } & {
951
+ [key: string]: import("backend-plus").ProcedureDef<any>;
952
+ } & {
953
+ [key: string]: import("backend-plus").ProcedureDef<any>;
954
+ } & {
955
+ [key: string]: import("backend-plus").ProcedureDef<any>;
956
+ } & {
957
+ [key: string]: import("backend-plus").ProcedureDef<any>;
958
+ } & {
959
+ [key: string]: import("backend-plus").ProcedureDef<any>;
960
+ } & {
961
+ [key: string]: import("backend-plus").ProcedureDef<any>;
962
+ };
963
+ app: import("backend-plus").ExpressPlus;
964
+ getTableDefinition: import("backend-plus").TableDefinitionsGetters;
965
+ tableStructures: import("backend-plus").TableDefinitions;
966
+ db: import("backend-plus").MotorDb;
967
+ rootPath: string;
968
+ caches: import("backend-plus").Caches;
969
+ fieldDomain: {
970
+ [k: string]: Partial<import("backend-plus").FieldDefinition>;
971
+ } & {
972
+ [k: string]: Partial<import("backend-plus").FieldDefinition>;
973
+ } & {
974
+ [k: string]: Partial<import("backend-plus").FieldDefinition>;
975
+ } & {
976
+ [k: string]: Partial<import("backend-plus").FieldDefinition>;
977
+ } & {
978
+ [k: string]: Partial<import("backend-plus").FieldDefinition>;
979
+ } & {
980
+ [k: string]: Partial<import("backend-plus").FieldDefinition>;
981
+ } & {
982
+ [k: string]: Partial<import("backend-plus").FieldDefinition>;
983
+ } & {
984
+ [k: string]: Partial<import("backend-plus").FieldDefinition>;
985
+ };
986
+ exts: {
987
+ img: string[];
988
+ normal: string[];
989
+ } & {
990
+ img: string[];
991
+ normal: string[];
992
+ } & {
993
+ img: string[];
994
+ normal: string[];
995
+ } & {
996
+ img: string[];
997
+ normal: string[];
998
+ } & {
999
+ img: string[];
1000
+ normal: string[];
1001
+ } & {
1002
+ img: string[];
1003
+ normal: string[];
1004
+ } & {
1005
+ img: string[];
1006
+ normal: string[];
1007
+ } & {
1008
+ img: string[];
1009
+ normal: string[];
1010
+ };
1011
+ optsGenericForAll: {
1012
+ allowedExts?: string[];
1013
+ } & {
1014
+ allowedExts?: string[];
1015
+ } & {
1016
+ allowedExts?: string[];
1017
+ } & {
1018
+ allowedExts?: string[];
1019
+ } & {
1020
+ allowedExts?: string[];
1021
+ } & {
1022
+ allowedExts?: string[];
1023
+ } & {
1024
+ allowedExts?: string[];
1025
+ } & {
1026
+ allowedExts?: string[];
1027
+ };
1028
+ sqls: {
1029
+ [k: string]: string;
1030
+ } & {
1031
+ [k: string]: string;
1032
+ } & {
1033
+ [k: string]: string;
1034
+ } & {
1035
+ [k: string]: string;
1036
+ } & {
1037
+ [k: string]: string;
1038
+ } & {
1039
+ [k: string]: string;
1040
+ } & {
1041
+ [k: string]: string;
1042
+ } & {
1043
+ [k: string]: string;
1044
+ };
1045
+ messages: {
1046
+ [k: string]: string;
1047
+ } & {
1048
+ [k: string]: string;
1049
+ } & {
1050
+ [k: string]: string;
1051
+ } & {
1052
+ [k: string]: string;
1053
+ } & {
1054
+ [k: string]: string;
1055
+ } & {
1056
+ [k: string]: string;
1057
+ } & {
1058
+ [k: string]: string;
1059
+ } & {
1060
+ [k: string]: string;
1061
+ };
1062
+ dbUserNameExpr: string;
1063
+ dbUserRolExpr: string;
1064
+ specialValueWhenInsert: {
1065
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
1066
+ } & {
1067
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
1068
+ } & {
1069
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
1070
+ } & {
1071
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
1072
+ } & {
1073
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
1074
+ } & {
1075
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
1076
+ } & {
1077
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
1078
+ } & {
1079
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
1080
+ };
1081
+ specialSqlDefaultExpressions: Record<string, string>;
1082
+ i18n: {
1083
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
1084
+ } & {
1085
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
1086
+ } & {
1087
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
1088
+ } & {
1089
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
1090
+ } & {
1091
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
1092
+ } & {
1093
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
1094
+ } & {
1095
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
1096
+ } & {
1097
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
1098
+ };
1099
+ activeSkinFiles: Set<string>;
1100
+ }) & (new (...args: any[]) => {
1101
+ config: procesamiento.ConsistenciasAppConfig;
1102
+ getProcedures(): Promise<import("backend-plus").ProcedureDef<any>[]>;
1103
+ clientIncludes(req: Request, hideBEPlusInclusions: OptsClientPage): import("backend-plus").ClientModuleDefinition[];
1104
+ configStaticConfig(): void;
1105
+ getMenu(): procesamiento.MenuDefinition;
1106
+ postConfig(): Promise<void>;
1107
+ prepareGetTables(): void;
1108
+ generateAndLoadTableDefs(): import("backend-plus").TableDefinitions;
1109
+ tablasDatos: import("varcal").TablaDatos[];
1110
+ procedures: import("backend-plus").ProcedureDef[];
1111
+ procedure: {
1112
+ [key: string]: import("backend-plus").ProcedureDef<any>;
1113
+ } & {
1114
+ [key: string]: import("backend-plus").ProcedureDef<any>;
1115
+ } & {
1116
+ [key: string]: import("backend-plus").ProcedureDef<any>;
1117
+ } & {
1118
+ [key: string]: import("backend-plus").ProcedureDef<any>;
1119
+ };
1120
+ app: import("backend-plus").ExpressPlus;
1121
+ getTableDefinition: import("backend-plus").TableDefinitionsGetters;
1122
+ tableStructures: import("backend-plus").TableDefinitions;
1123
+ db: import("backend-plus").MotorDb;
1124
+ rootPath: string;
1125
+ caches: import("backend-plus").Caches;
1126
+ fieldDomain: {
1127
+ [k: string]: Partial<import("backend-plus").FieldDefinition>;
1128
+ } & {
1129
+ [k: string]: Partial<import("backend-plus").FieldDefinition>;
1130
+ } & {
1131
+ [k: string]: Partial<import("backend-plus").FieldDefinition>;
1132
+ } & {
1133
+ [k: string]: Partial<import("backend-plus").FieldDefinition>;
1134
+ };
1135
+ exts: {
1136
+ img: string[];
1137
+ normal: string[];
1138
+ } & {
1139
+ img: string[];
1140
+ normal: string[];
1141
+ } & {
1142
+ img: string[];
1143
+ normal: string[];
1144
+ } & {
1145
+ img: string[];
1146
+ normal: string[];
1147
+ };
1148
+ optsGenericForAll: {
1149
+ allowedExts?: string[];
1150
+ } & {
1151
+ allowedExts?: string[];
1152
+ } & {
1153
+ allowedExts?: string[];
1154
+ } & {
1155
+ allowedExts?: string[];
1156
+ };
1157
+ sqls: {
1158
+ [k: string]: string;
1159
+ } & {
1160
+ [k: string]: string;
1161
+ } & {
1162
+ [k: string]: string;
1163
+ } & {
1164
+ [k: string]: string;
1165
+ };
1166
+ messages: {
1167
+ [k: string]: string;
1168
+ } & {
1169
+ [k: string]: string;
1170
+ } & {
1171
+ [k: string]: string;
1172
+ } & {
1173
+ [k: string]: string;
1174
+ };
1175
+ dbUserNameExpr: string;
1176
+ dbUserRolExpr: string;
1177
+ specialValueWhenInsert: {
1178
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
1179
+ } & {
1180
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
1181
+ } & {
1182
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
1183
+ } & {
1184
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
1185
+ };
1186
+ specialSqlDefaultExpressions: Record<string, string>;
1187
+ i18n: {
1188
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
1189
+ } & {
1190
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
1191
+ } & {
1192
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
1193
+ } & {
1194
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
1195
+ };
1196
+ activeSkinFiles: Set<string>;
1197
+ }) & (new (...args: any[]) => {
1198
+ configStaticConfig(): void;
1199
+ getProcedures(): Promise<import("backend-plus").ProcedureDef<any>[]>;
1200
+ clientIncludes(req: Request, hideBEPlusInclusions: OptsClientPage): import("backend-plus").ClientModuleDefinition[];
1201
+ generateAndLoadTableDefs(): procesamiento.TableDefinitions;
1202
+ generateBaseTableDef(tablaDatos: procesamiento.TablaDatos): procesamiento.TableDefinition;
1203
+ prepareGetTables(): void;
1204
+ tablasDatos: procesamiento.TablaDatos[];
1205
+ cargarGenerados(client: import("pg-promise-strict").Client): Promise<string>;
1206
+ getTableDefFunction(tableDef: procesamiento.TableDefinition): import("backend-plus").TableDefinitionFunction;
1207
+ loadTableDef(tableDef: procesamiento.TableDefinition): import("backend-plus").TableDefinitionFunction;
1208
+ generateAndLoadTableDef(tablaDatos: procesamiento.TablaDatos): import("backend-plus").TableDefinitionFunction;
1209
+ procedures: import("backend-plus").ProcedureDef[];
1210
+ procedure: {
1211
+ [key: string]: import("backend-plus").ProcedureDef<any>;
1212
+ } & {
1213
+ [key: string]: import("backend-plus").ProcedureDef<any>;
1214
+ };
1215
+ app: import("backend-plus").ExpressPlus;
1216
+ getTableDefinition: import("backend-plus").TableDefinitionsGetters;
1217
+ tableStructures: import("backend-plus").TableDefinitions;
1218
+ db: import("backend-plus").MotorDb;
1219
+ config: import("backend-plus").AppConfig;
1220
+ rootPath: string;
1221
+ caches: import("backend-plus").Caches;
1222
+ fieldDomain: {
1223
+ [k: string]: Partial<import("backend-plus").FieldDefinition>;
1224
+ } & {
1225
+ [k: string]: Partial<import("backend-plus").FieldDefinition>;
1226
+ };
1227
+ exts: {
1228
+ img: string[];
1229
+ normal: string[];
1230
+ } & {
1231
+ img: string[];
1232
+ normal: string[];
1233
+ };
1234
+ optsGenericForAll: {
1235
+ allowedExts?: string[];
1236
+ } & {
1237
+ allowedExts?: string[];
1238
+ };
1239
+ sqls: {
1240
+ [k: string]: string;
1241
+ } & {
1242
+ [k: string]: string;
1243
+ };
1244
+ messages: {
1245
+ [k: string]: string;
1246
+ } & {
1247
+ [k: string]: string;
1248
+ };
1249
+ dbUserNameExpr: string;
1250
+ dbUserRolExpr: string;
1251
+ specialValueWhenInsert: {
1252
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
1253
+ } & {
1254
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
1255
+ };
1256
+ specialSqlDefaultExpressions: Record<string, string>;
1257
+ i18n: {
1258
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
1259
+ } & {
1260
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
1261
+ };
1262
+ activeSkinFiles: Set<string>;
1263
+ }) & (new (...args: any[]) => {
1264
+ configStaticConfig(): void;
1265
+ generateBaseTableDef(tablaDatos: procesamiento.TablaDatos): import("backend-plus").TableDefinition;
1266
+ getProcedures(): Promise<import("backend-plus").ProcedureDef<any>[]>;
1267
+ clientIncludes(req: Request, hideBEPlusInclusions: OptsClientPage): import("backend-plus").ClientModuleDefinition[];
1268
+ prepareGetTables(): void;
1269
+ tablasDatos: procesamiento.TablaDatos[];
1270
+ cargarGenerados(client: import("pg-promise-strict").Client): Promise<string>;
1271
+ getTableDefFunction(tableDef: import("backend-plus").TableDefinition): import("backend-plus").TableDefinitionFunction;
1272
+ loadTableDef(tableDef: import("backend-plus").TableDefinition): import("backend-plus").TableDefinitionFunction;
1273
+ generateAndLoadTableDef(tablaDatos: procesamiento.TablaDatos): import("backend-plus").TableDefinitionFunction;
1274
+ procedures: import("backend-plus").ProcedureDef[];
1275
+ procedure: {
1276
+ [key: string]: import("backend-plus").ProcedureDef<any>;
1277
+ } & {
1278
+ [key: string]: import("backend-plus").ProcedureDef<any>;
1279
+ };
1280
+ app: import("backend-plus").ExpressPlus;
1281
+ getTableDefinition: import("backend-plus").TableDefinitionsGetters;
1282
+ tableStructures: import("backend-plus").TableDefinitions;
1283
+ db: import("backend-plus").MotorDb;
1284
+ config: import("backend-plus").AppConfig;
1285
+ rootPath: string;
1286
+ caches: import("backend-plus").Caches;
1287
+ fieldDomain: {
1288
+ [k: string]: Partial<import("backend-plus").FieldDefinition>;
1289
+ } & {
1290
+ [k: string]: Partial<import("backend-plus").FieldDefinition>;
1291
+ };
1292
+ exts: {
1293
+ img: string[];
1294
+ normal: string[];
1295
+ } & {
1296
+ img: string[];
1297
+ normal: string[];
1298
+ };
1299
+ optsGenericForAll: {
1300
+ allowedExts?: string[];
1301
+ } & {
1302
+ allowedExts?: string[];
1303
+ };
1304
+ sqls: {
1305
+ [k: string]: string;
1306
+ } & {
1307
+ [k: string]: string;
1308
+ };
1309
+ messages: {
1310
+ [k: string]: string;
1311
+ } & {
1312
+ [k: string]: string;
1313
+ };
1314
+ dbUserNameExpr: string;
1315
+ dbUserRolExpr: string;
1316
+ specialValueWhenInsert: {
1317
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
1318
+ } & {
1319
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
1320
+ };
1321
+ specialSqlDefaultExpressions: Record<string, string>;
1322
+ i18n: {
1323
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
1324
+ } & {
1325
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
1326
+ };
1327
+ activeSkinFiles: Set<string>;
1328
+ }) & {
1329
+ new (...args: any[]): {
1330
+ tablasDatos: procesamiento.TablaDatos[];
1331
+ configStaticConfig(): void;
1332
+ cargarGenerados(client: Client): Promise<string>;
1333
+ postConfig(): Promise<void>;
1334
+ generateBaseTableDef(tablaDatos: procesamiento.TablaDatos): procesamiento.TableDefinition;
1335
+ getTableDefFunction(tableDef: procesamiento.TableDefinition): procesamiento.TableDefinitionFunction;
1336
+ loadTableDef(tableDef: procesamiento.TableDefinition): procesamiento.TableDefinitionFunction;
1337
+ generateAndLoadTableDef(tablaDatos: procesamiento.TablaDatos): procesamiento.TableDefinitionFunction;
1338
+ clientIncludes(req: Request, hideBEPlusInclusions: OptsClientPage): import("backend-plus").ClientModuleDefinition[];
1339
+ getMenu(): procesamiento.MenuDefinition;
1340
+ prepareGetTables(): void;
1341
+ checkDatabaseStructure(client: Client): Promise<void>;
1342
+ getDbFunctions(opts: procesamiento.DumpOptions): Promise<{
1343
+ dumpText: string;
1344
+ }[]>;
1345
+ procedures: import("backend-plus").ProcedureDef[];
1346
+ procedure: {
1347
+ [key: string]: import("backend-plus").ProcedureDef;
1348
+ };
1349
+ app: import("backend-plus").ExpressPlus;
1350
+ getTableDefinition: import("backend-plus").TableDefinitionsGetters;
1351
+ tableStructures: import("backend-plus").TableDefinitions;
1352
+ db: import("backend-plus").MotorDb;
1353
+ config: import("backend-plus").AppConfig;
1354
+ rootPath: string;
1355
+ caches: import("backend-plus").Caches;
1356
+ fieldDomain: {
1357
+ [k: string]: Partial<import("backend-plus").FieldDefinition>;
1358
+ };
1359
+ exts: {
1360
+ img: string[];
1361
+ normal: string[];
1362
+ };
1363
+ optsGenericForAll: {
1364
+ allowedExts?: string[];
1365
+ };
1366
+ sqls: {
1367
+ [k: string]: string;
1368
+ };
1369
+ messages: {
1370
+ [k: string]: string;
1371
+ };
1372
+ dbUserNameExpr: string;
1373
+ dbUserRolExpr: string;
1374
+ specialValueWhenInsert: {
1375
+ [k: string]: (context: import("backend-plus").ProcedureContext, defField: import("backend-plus").FieldDefinition, parameters: object) => any;
1376
+ };
1377
+ specialSqlDefaultExpressions: Record<string, string>;
1378
+ clearCaches(): void;
1379
+ start(opts?: import("backend-plus").StartOptions): Promise<void>;
1380
+ getTables(): import("backend-plus").TableItemDef[];
1381
+ appendToTableDefinition(tableName: string, appenderFunction: (tableDef: procesamiento.TableDefinition, context?: import("backend-plus").TableContext) => void): void;
1382
+ getContext(req: Request): Context;
1383
+ addSchrödingerServices(mainApp: import("backend-plus").ExpressPlus, baseUrl: string): void;
1384
+ addUnloggedServices(mainApp: import("backend-plus").ExpressPlus, baseUrl: string): void;
1385
+ addLoggedServices(): void;
1386
+ getProcedures(): Promise<import("backend-plus").ProcedureDef[]>;
1387
+ isAdmin(reqOrContext: Request | Context): boolean;
1388
+ canChangePass(): Promise<boolean>;
1389
+ inDbClient<T_1>(req: import("backend-plus").RequestDb | null, doThisWithDbClient: (client: Client) => Promise<T_1>): Promise<T_1>;
1390
+ inTransaction<T_1>(req: import("backend-plus").RequestDb | null, doThisWithDbTransaction: (client: Client) => Promise<T_1>): Promise<T_1>;
1391
+ inTransactionProcedureContext<T_1>(req: Request | null, coreFunction: (context: import("backend-plus").ProcedureContext) => Promise<T_1>): Promise<T_1>;
1392
+ procedureDefCompleter<T_1>(procedureDef: import("backend-plus").ProcedureDef): import("backend-plus").ProcedureDef<T_1>;
1393
+ tableDefAdapt(tableDef: procesamiento.TableDefinition, context: Context): procesamiento.TableDefinition;
1394
+ pushApp(dirname: string): void;
1395
+ dumpDbTableFields(tableDefinition: procesamiento.TableDefinition): string[];
1396
+ dumpDbSchemaPartial(partialTableStructures: import("backend-plus").TableDefinitions, opts?: procesamiento.DumpOptions): Promise<{
1397
+ mainSql: string;
1398
+ enancePart: string;
1399
+ }>;
1400
+ getContextForDump(): import("backend-plus").ContextForDump;
1401
+ getClientSetupForSendToFrontEnd(req: Request): Promise<import("backend-plus").ClientSetup>;
1402
+ configList(): (object | string)[];
1403
+ setStaticConfig(defConfigYamlString: string): void;
1404
+ mainPage(req: Request | {}, offlineMode?: boolean, opts?: OptsClientPage): {
1405
+ toHtmlDoc: () => string;
1406
+ };
1407
+ isThisProcedureAllowed<T_1>(context: Context, procedureDef: import("backend-plus").ProcedureDef, params: {
1408
+ [key: string]: T_1;
1409
+ }): Promise<boolean>;
1410
+ i18n: {
1411
+ messages: Record<import("backend-plus").LangId, Record<string, string>>;
1412
+ };
1413
+ shutdownCallbackListAdd(param: {
1414
+ message: string;
1415
+ fun: () => Promise<void>;
1416
+ }): void;
1417
+ shutdownBackend(opts?: {
1418
+ skipTurnOff?: boolean;
1419
+ onlyTurnOff?: boolean;
1420
+ }): Promise<void>;
1421
+ setLog(opts: {
1422
+ until: string;
1423
+ results?: boolean;
1424
+ }): void;
1425
+ getDataDumpTransformations(rawData: string): Promise<{
1426
+ rawData: string;
1427
+ prepareTransformationSql: string[];
1428
+ endTransformationSql: string[];
1429
+ }>;
1430
+ activeSkinFiles: Set<string>;
1431
+ transformInput: <T_1>(fieldDefinition: import("backend-plus").FieldDefinitionInternal, value: T_1) => T_1;
1432
+ };
1433
+ prefixTableName(tableName: string, prefix: string): string;
1434
+ } & typeof procesamiento.AppBackend;
1435
+ export type AppAppDmEncuType = InstanceType<typeof AppDmEncu>;