You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
647 B
25 lines
647 B
/**
|
|
* 1. DEFINICIÓN DEL ESQUEMA GLOBAL
|
|
* Reúne todas las claves posibles de tu aplicación o librería.
|
|
* Si usas módulos opcionales, puedes definirlos como parciales.
|
|
*/
|
|
export type AppSchema = {
|
|
// Diccionario base (siempre presente)
|
|
core: {
|
|
error: string;
|
|
loading: string;
|
|
};
|
|
// Diccionarios de módulos (se pueden llenar vía addResource)
|
|
jsonLogic?: {
|
|
errors: {
|
|
UNKNOWN_OPERATOR: (op: string) => string;
|
|
MISSING_DATA: (field: string) => string;
|
|
};
|
|
};
|
|
ui?: {
|
|
buttons: {
|
|
save: string;
|
|
delete: string;
|
|
};
|
|
};
|
|
}; |