expo-backend-types 0.4.0-EXPO-248-EB-GrupoEtiqueta.2 → 0.4.0-EXPO-248-EB-GrupoEtiqueta.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/i18n/es.d.ts +168 -0
- package/dist/src/i18n/es.js +170 -0
- package/dist/src/i18n/es.js.map +1 -0
- package/dist/src/i18n/translate.d.ts +9 -2
- package/dist/src/i18n/translate.js +3 -3
- package/dist/src/i18n/translate.js.map +1 -1
- package/package.json +1 -1
- package/dist/src/i18n/es.json +0 -145
@@ -0,0 +1,168 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
readonly prisma: {
|
3
|
+
readonly model: {
|
4
|
+
readonly account: "Cuenta";
|
5
|
+
readonly tag: "Etiqueta";
|
6
|
+
readonly tagGroup: "Grupo de etiquetas";
|
7
|
+
readonly event: "Evento";
|
8
|
+
readonly eventFolder: "Carpeta de eventos";
|
9
|
+
readonly comment: "Comentario";
|
10
|
+
readonly profile: "Perfil";
|
11
|
+
readonly location: "Ubicación";
|
12
|
+
readonly cannedResponse: "Respuesta enlatada";
|
13
|
+
readonly message: "Mensaje";
|
14
|
+
};
|
15
|
+
readonly conflict: "Ya existe un registro con el campo {{field}} '{{value}}' en la tabla de {{model}}";
|
16
|
+
readonly 'not-found': "No se encontró un registro con el campo {{field}} '{{value}}' en la tabla de {{model}}";
|
17
|
+
};
|
18
|
+
readonly model: {
|
19
|
+
readonly comment: {
|
20
|
+
readonly id: {
|
21
|
+
readonly uuid: "El ID debe ser un UUID";
|
22
|
+
};
|
23
|
+
readonly content: {
|
24
|
+
readonly min: "El contenido debe tener al menos 1 caracter";
|
25
|
+
};
|
26
|
+
};
|
27
|
+
readonly account: {
|
28
|
+
readonly id: {
|
29
|
+
readonly required: "El ID es requerido";
|
30
|
+
readonly uuid: "El ID debe ser un UUID";
|
31
|
+
};
|
32
|
+
readonly username: {
|
33
|
+
readonly required: "El nombre de usuario es requerido";
|
34
|
+
};
|
35
|
+
readonly email: {
|
36
|
+
readonly required: "El email es requerido";
|
37
|
+
readonly email: "El email debe ser un email válido";
|
38
|
+
};
|
39
|
+
readonly password: {
|
40
|
+
readonly required: "La contraseña es requerida";
|
41
|
+
readonly min: "La contraseña debe tener al menos 6 caracteres";
|
42
|
+
};
|
43
|
+
readonly role: {
|
44
|
+
readonly required: "El rol es requerido";
|
45
|
+
readonly invalid: "El rol es inválido";
|
46
|
+
};
|
47
|
+
};
|
48
|
+
readonly tag: {
|
49
|
+
readonly id: {
|
50
|
+
readonly uuid: "El ID debe ser un UUID";
|
51
|
+
};
|
52
|
+
readonly name: {
|
53
|
+
readonly required: "El nombre es requerido";
|
54
|
+
readonly min: "El nombre debe tener al menos 1 caracter";
|
55
|
+
};
|
56
|
+
readonly type: {
|
57
|
+
readonly invalid: "El tipo de etiqueta es inválido";
|
58
|
+
};
|
59
|
+
};
|
60
|
+
readonly event: {
|
61
|
+
readonly id: {
|
62
|
+
readonly uuid: "El ID debe ser un UUID";
|
63
|
+
};
|
64
|
+
readonly name: {
|
65
|
+
readonly required: "El nombre es requerido";
|
66
|
+
};
|
67
|
+
readonly date: {
|
68
|
+
readonly required: "La fecha es requerida";
|
69
|
+
readonly invalid: "La fecha debe ser una fecha válida";
|
70
|
+
};
|
71
|
+
readonly location: {
|
72
|
+
readonly required: "La ubicación es requerida";
|
73
|
+
};
|
74
|
+
};
|
75
|
+
readonly tagGroup: {
|
76
|
+
readonly id: {
|
77
|
+
readonly uuid: "El ID debe ser un UUID";
|
78
|
+
};
|
79
|
+
readonly name: {
|
80
|
+
readonly required: "El nombre es requerido";
|
81
|
+
};
|
82
|
+
readonly color: {
|
83
|
+
readonly invalid: "El color debe tener el formato hexadecimal (#ABCDEF)";
|
84
|
+
};
|
85
|
+
};
|
86
|
+
readonly eventFolder: {
|
87
|
+
readonly id: {
|
88
|
+
readonly uuid: "El ID debe ser un UUID";
|
89
|
+
};
|
90
|
+
readonly color: {
|
91
|
+
readonly invalid: "El color debe tener el formato hexadecimal (#ABCDEF)";
|
92
|
+
};
|
93
|
+
};
|
94
|
+
};
|
95
|
+
readonly route: {
|
96
|
+
readonly auth: {
|
97
|
+
readonly 'invalid-credentials': "Credenciales inválidas";
|
98
|
+
readonly 'no-token': "No se encontró un token";
|
99
|
+
readonly 'invalid-token': "Token inválido";
|
100
|
+
readonly 'user-not-found': "Usuario no encontrado";
|
101
|
+
};
|
102
|
+
readonly account: {
|
103
|
+
readonly create: {
|
104
|
+
readonly success: "Cuenta creada con éxito";
|
105
|
+
readonly conflict: "Cuenta ya existente";
|
106
|
+
};
|
107
|
+
readonly 'global-filter-patch': {
|
108
|
+
readonly success: "Filtro base actualizado";
|
109
|
+
readonly conflict: "Etiquetas Inválidas";
|
110
|
+
};
|
111
|
+
readonly 'global-filter-get': {
|
112
|
+
readonly success: "Filtro base obtenido";
|
113
|
+
readonly 'not-found': "Cuenta no encontrada";
|
114
|
+
};
|
115
|
+
readonly me: {
|
116
|
+
readonly success: "Cuenta obtenida";
|
117
|
+
};
|
118
|
+
};
|
119
|
+
readonly tag: {
|
120
|
+
readonly create: {
|
121
|
+
readonly success: "Etiqueta creada con éxito";
|
122
|
+
};
|
123
|
+
readonly 'find-all': {
|
124
|
+
readonly success: "Etiquetas obtenidas";
|
125
|
+
};
|
126
|
+
readonly 'find-one': {
|
127
|
+
readonly success: "Etiqueta obtenida";
|
128
|
+
readonly 'not-found': "Etiqueta no encontrada";
|
129
|
+
};
|
130
|
+
readonly update: {
|
131
|
+
readonly success: "Etiqueta actualizada";
|
132
|
+
readonly 'not-found': "Etiqueta no encontrada";
|
133
|
+
};
|
134
|
+
readonly delete: {
|
135
|
+
readonly success: "Etiqueta eliminada";
|
136
|
+
readonly 'not-found': "Etiqueta no encontrada";
|
137
|
+
};
|
138
|
+
readonly 'find-by-group': {
|
139
|
+
readonly success: "Etiquetas obtenidas";
|
140
|
+
readonly 'not-found': "Grupo de etiquetas no encontrado";
|
141
|
+
};
|
142
|
+
readonly 'find-all-grouped': {
|
143
|
+
readonly success: "Etiquetas obtenidas";
|
144
|
+
};
|
145
|
+
};
|
146
|
+
readonly 'tag-group': {
|
147
|
+
readonly create: {
|
148
|
+
readonly success: "Grupo de etiquetas creado con éxito";
|
149
|
+
};
|
150
|
+
readonly 'find-all': {
|
151
|
+
readonly success: "Grupos de etiquetas obtenidos";
|
152
|
+
};
|
153
|
+
readonly 'find-one': {
|
154
|
+
readonly success: "Grupo de etiquetas obtenido";
|
155
|
+
readonly 'not-found': "Grupo de etiquetas no encontrado";
|
156
|
+
};
|
157
|
+
readonly update: {
|
158
|
+
readonly success: "Grupo de etiquetas actualizado";
|
159
|
+
readonly 'not-found': "Grupo de etiquetas no encontrado";
|
160
|
+
};
|
161
|
+
readonly delete: {
|
162
|
+
readonly success: "Grupo de etiquetas eliminado";
|
163
|
+
readonly 'not-found': "Grupo de etiquetas no encontrado";
|
164
|
+
};
|
165
|
+
};
|
166
|
+
};
|
167
|
+
};
|
168
|
+
export default _default;
|
@@ -0,0 +1,170 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.default = {
|
4
|
+
prisma: {
|
5
|
+
model: {
|
6
|
+
account: 'Cuenta',
|
7
|
+
tag: 'Etiqueta',
|
8
|
+
tagGroup: 'Grupo de etiquetas',
|
9
|
+
event: 'Evento',
|
10
|
+
eventFolder: 'Carpeta de eventos',
|
11
|
+
comment: 'Comentario',
|
12
|
+
profile: 'Perfil',
|
13
|
+
location: 'Ubicación',
|
14
|
+
cannedResponse: 'Respuesta enlatada',
|
15
|
+
message: 'Mensaje',
|
16
|
+
},
|
17
|
+
conflict: `Ya existe un registro con el campo \{\{field\}\} '\{\{value\}\}' en la tabla de \{\{model\}\}`,
|
18
|
+
'not-found': `No se encontró un registro con el campo \{\{field\}\} '\{\{value\}\}' en la tabla de \{\{model\}\}`,
|
19
|
+
},
|
20
|
+
model: {
|
21
|
+
comment: {
|
22
|
+
id: {
|
23
|
+
uuid: 'El ID debe ser un UUID',
|
24
|
+
},
|
25
|
+
content: {
|
26
|
+
min: 'El contenido debe tener al menos 1 caracter',
|
27
|
+
},
|
28
|
+
},
|
29
|
+
account: {
|
30
|
+
id: {
|
31
|
+
required: 'El ID es requerido',
|
32
|
+
uuid: 'El ID debe ser un UUID',
|
33
|
+
},
|
34
|
+
username: {
|
35
|
+
required: 'El nombre de usuario es requerido',
|
36
|
+
},
|
37
|
+
email: {
|
38
|
+
required: 'El email es requerido',
|
39
|
+
email: 'El email debe ser un email válido',
|
40
|
+
},
|
41
|
+
password: {
|
42
|
+
required: 'La contraseña es requerida',
|
43
|
+
min: 'La contraseña debe tener al menos 6 caracteres',
|
44
|
+
},
|
45
|
+
role: {
|
46
|
+
required: 'El rol es requerido',
|
47
|
+
invalid: 'El rol es inválido',
|
48
|
+
},
|
49
|
+
},
|
50
|
+
tag: {
|
51
|
+
id: {
|
52
|
+
uuid: 'El ID debe ser un UUID',
|
53
|
+
},
|
54
|
+
name: {
|
55
|
+
required: 'El nombre es requerido',
|
56
|
+
min: 'El nombre debe tener al menos 1 caracter',
|
57
|
+
},
|
58
|
+
type: {
|
59
|
+
invalid: 'El tipo de etiqueta es inválido',
|
60
|
+
},
|
61
|
+
},
|
62
|
+
event: {
|
63
|
+
id: {
|
64
|
+
uuid: 'El ID debe ser un UUID',
|
65
|
+
},
|
66
|
+
name: {
|
67
|
+
required: 'El nombre es requerido',
|
68
|
+
},
|
69
|
+
date: {
|
70
|
+
required: 'La fecha es requerida',
|
71
|
+
invalid: 'La fecha debe ser una fecha válida',
|
72
|
+
},
|
73
|
+
location: {
|
74
|
+
required: 'La ubicación es requerida',
|
75
|
+
},
|
76
|
+
},
|
77
|
+
tagGroup: {
|
78
|
+
id: {
|
79
|
+
uuid: 'El ID debe ser un UUID',
|
80
|
+
},
|
81
|
+
name: {
|
82
|
+
required: 'El nombre es requerido',
|
83
|
+
},
|
84
|
+
color: {
|
85
|
+
invalid: 'El color debe tener el formato hexadecimal (#ABCDEF)',
|
86
|
+
},
|
87
|
+
},
|
88
|
+
eventFolder: {
|
89
|
+
id: {
|
90
|
+
uuid: 'El ID debe ser un UUID',
|
91
|
+
},
|
92
|
+
color: {
|
93
|
+
invalid: 'El color debe tener el formato hexadecimal (#ABCDEF)',
|
94
|
+
},
|
95
|
+
},
|
96
|
+
},
|
97
|
+
route: {
|
98
|
+
auth: {
|
99
|
+
'invalid-credentials': 'Credenciales inválidas',
|
100
|
+
'no-token': 'No se encontró un token',
|
101
|
+
'invalid-token': 'Token inválido',
|
102
|
+
'user-not-found': 'Usuario no encontrado',
|
103
|
+
},
|
104
|
+
account: {
|
105
|
+
create: {
|
106
|
+
success: 'Cuenta creada con éxito',
|
107
|
+
conflict: 'Cuenta ya existente',
|
108
|
+
},
|
109
|
+
'global-filter-patch': {
|
110
|
+
success: 'Filtro base actualizado',
|
111
|
+
conflict: 'Etiquetas Inválidas',
|
112
|
+
},
|
113
|
+
'global-filter-get': {
|
114
|
+
success: 'Filtro base obtenido',
|
115
|
+
'not-found': 'Cuenta no encontrada',
|
116
|
+
},
|
117
|
+
me: {
|
118
|
+
success: 'Cuenta obtenida',
|
119
|
+
},
|
120
|
+
},
|
121
|
+
tag: {
|
122
|
+
create: {
|
123
|
+
success: 'Etiqueta creada con éxito',
|
124
|
+
},
|
125
|
+
'find-all': {
|
126
|
+
success: 'Etiquetas obtenidas',
|
127
|
+
},
|
128
|
+
'find-one': {
|
129
|
+
success: 'Etiqueta obtenida',
|
130
|
+
'not-found': 'Etiqueta no encontrada',
|
131
|
+
},
|
132
|
+
update: {
|
133
|
+
success: 'Etiqueta actualizada',
|
134
|
+
'not-found': 'Etiqueta no encontrada',
|
135
|
+
},
|
136
|
+
delete: {
|
137
|
+
success: 'Etiqueta eliminada',
|
138
|
+
'not-found': 'Etiqueta no encontrada',
|
139
|
+
},
|
140
|
+
'find-by-group': {
|
141
|
+
success: 'Etiquetas obtenidas',
|
142
|
+
'not-found': 'Grupo de etiquetas no encontrado',
|
143
|
+
},
|
144
|
+
'find-all-grouped': {
|
145
|
+
success: 'Etiquetas obtenidas',
|
146
|
+
},
|
147
|
+
},
|
148
|
+
'tag-group': {
|
149
|
+
create: {
|
150
|
+
success: 'Grupo de etiquetas creado con éxito',
|
151
|
+
},
|
152
|
+
'find-all': {
|
153
|
+
success: 'Grupos de etiquetas obtenidos',
|
154
|
+
},
|
155
|
+
'find-one': {
|
156
|
+
success: 'Grupo de etiquetas obtenido',
|
157
|
+
'not-found': 'Grupo de etiquetas no encontrado',
|
158
|
+
},
|
159
|
+
update: {
|
160
|
+
success: 'Grupo de etiquetas actualizado',
|
161
|
+
'not-found': 'Grupo de etiquetas no encontrado',
|
162
|
+
},
|
163
|
+
delete: {
|
164
|
+
success: 'Grupo de etiquetas eliminado',
|
165
|
+
'not-found': 'Grupo de etiquetas no encontrado',
|
166
|
+
},
|
167
|
+
},
|
168
|
+
},
|
169
|
+
};
|
170
|
+
//# sourceMappingURL=es.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"es.js","sourceRoot":"","sources":["../../../src/i18n/es.ts"],"names":[],"mappings":";;AAAA,kBAAe;IACb,MAAM,EAAE;QACN,KAAK,EAAE;YACL,OAAO,EAAE,QAAQ;YACjB,GAAG,EAAE,UAAU;YACf,QAAQ,EAAE,oBAAoB;YAC9B,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,oBAAoB;YACjC,OAAO,EAAE,YAAY;YACrB,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,WAAW;YACrB,cAAc,EAAE,oBAAoB;YACpC,OAAO,EAAE,SAAS;SACnB;QACD,QAAQ,EAAE,+FAA+F;QACzG,WAAW,EAAE,oGAAoG;KAClH;IACD,KAAK,EAAE;QACL,OAAO,EAAE;YACP,EAAE,EAAE;gBACF,IAAI,EAAE,wBAAwB;aAC/B;YACD,OAAO,EAAE;gBACP,GAAG,EAAE,6CAA6C;aACnD;SACF;QACD,OAAO,EAAE;YACP,EAAE,EAAE;gBACF,QAAQ,EAAE,oBAAoB;gB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Options } from 'i18n-js';
|
2
|
-
import esJson from '@/i18n/es
|
2
|
+
import esJson from '@/i18n/es';
|
3
3
|
import { Paths } from '@/shared/errors/dotType';
|
4
4
|
declare const translations: Record<string, typeof esJson>;
|
5
5
|
export declare const i18n: I18n;
|
6
6
|
type Translations = Paths<(typeof translations)['es']>;
|
7
|
-
|
7
|
+
type VariablesFromString<S extends string> = S extends `${string}{{${infer Var}}}${infer Rest}` ? Var | VariablesFromString<Rest> : never;
|
8
|
+
type ValueFromPath<T, P extends string> = P extends `${infer K}.${infer Rest}` ? K extends keyof T ? ValueFromPath<T[K], Rest> : never : P extends keyof T ? T[P] : never;
|
9
|
+
type VariablesFromKey<K extends Translations> = VariablesFromString<ValueFromPath<typeof esJson, K>>;
|
10
|
+
type CleanTranslateOptions = Pick<TranslateOptions, 'defaultValue' | 'count' | 'scope' | 'defaults' | 'missingBehavior'>;
|
11
|
+
type CustomTranslateOptions<Keys extends Translations> = CleanTranslateOptions & {
|
12
|
+
[K in VariablesFromKey<Keys>]: string;
|
13
|
+
};
|
14
|
+
export declare function translate<Keys extends Translations>(key: Keys extends `${string}.${string}` ? Keys : never, params?: VariablesFromKey<Keys> extends never ? CleanTranslateOptions : CustomTranslateOptions<Keys>): string;
|
8
15
|
export {};
|
@@ -5,16 +5,16 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
exports.translate = exports.i18n = void 0;
|
7
7
|
const i18n_js_1 = require("i18n-js");
|
8
|
-
const
|
8
|
+
const es_1 = __importDefault(require("./es"));
|
9
9
|
const translations = {
|
10
|
-
es:
|
10
|
+
es: es_1.default,
|
11
11
|
};
|
12
12
|
exports.i18n = new i18n_js_1.I18n(translations, {
|
13
13
|
defaultLocale: 'es',
|
14
14
|
locale: 'es',
|
15
15
|
missingTranslationPrefix: 'TRANSLATION MISSING: ',
|
16
16
|
});
|
17
|
-
function translate(key, params
|
17
|
+
function translate(key, params) {
|
18
18
|
return exports.i18n.t(key, params);
|
19
19
|
}
|
20
20
|
exports.translate = translate;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"translate.js","sourceRoot":"","sources":["../../../src/i18n/translate.ts"],"names":[],"mappings":";;;;;;AAAA,qCAAwD;AAExD,
|
1
|
+
{"version":3,"file":"translate.js","sourceRoot":"","sources":["../../../src/i18n/translate.ts"],"names":[],"mappings":";;;;;;AAAA,qCAAwD;AAExD,8CAA+B;AAG/B,MAAM,YAAY,GAAkC;IAClD,EAAE,EAAE,YAAM;CACX,CAAC;AAEW,QAAA,IAAI,GAAG,IAAI,cAAI,CAAC,YAAY,EAAE;IACzC,aAAa,EAAE,IAAI;IACnB,MAAM,EAAE,IAAI;IACZ,wBAAwB,EAAE,uBAAuB;CAClD,CAAC,CAAC;AAoCH,SAAgB,SAAS,CACvB,GAAsD,EACtD,MAEgC;IAEhC,OAAO,YAAI,CAAC,CAAC,CAAC,GAAY,EAAE,MAAM,CAAC,CAAC;AACtC,CAAC;AAPD,8BAOC"}
|
package/package.json
CHANGED
package/dist/src/i18n/es.json
DELETED
@@ -1,145 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"model": {
|
3
|
-
"comment": {
|
4
|
-
"id": {
|
5
|
-
"uuid": "El ID debe ser un UUID"
|
6
|
-
},
|
7
|
-
"content": {
|
8
|
-
"min": "El contenido debe tener al menos 1 caracter"
|
9
|
-
}
|
10
|
-
},
|
11
|
-
"account": {
|
12
|
-
"id": {
|
13
|
-
"required": "El ID es requerido",
|
14
|
-
"uuid": "El ID debe ser un UUID"
|
15
|
-
},
|
16
|
-
"username": {
|
17
|
-
"required": "El nombre de usuario es requerido"
|
18
|
-
},
|
19
|
-
"email": {
|
20
|
-
"required": "El email es requerido",
|
21
|
-
"email": "El email debe ser un email válido"
|
22
|
-
},
|
23
|
-
"password": {
|
24
|
-
"required": "La contraseña es requerida",
|
25
|
-
"min": "La contraseña debe tener al menos 6 caracteres"
|
26
|
-
},
|
27
|
-
"role": {
|
28
|
-
"required": "El rol es requerido",
|
29
|
-
"invalid": "El rol es inválido"
|
30
|
-
}
|
31
|
-
},
|
32
|
-
"tag": {
|
33
|
-
"id": {
|
34
|
-
"uuid": "El ID debe ser un UUID"
|
35
|
-
},
|
36
|
-
"name": {
|
37
|
-
"required": "El nombre es requerido",
|
38
|
-
"min": "El nombre debe tener al menos 1 caracter"
|
39
|
-
},
|
40
|
-
"type": {
|
41
|
-
"invalid": "El tipo de etiqueta es inválido"
|
42
|
-
}
|
43
|
-
},
|
44
|
-
"event": {
|
45
|
-
"id": {
|
46
|
-
"uuid": "El ID debe ser un UUID"
|
47
|
-
},
|
48
|
-
"name": {
|
49
|
-
"required": "El nombre es requerido"
|
50
|
-
},
|
51
|
-
"date": {
|
52
|
-
"required": "La fecha es requerida",
|
53
|
-
"invalid": "La fecha debe ser una fecha válida"
|
54
|
-
},
|
55
|
-
"location": {
|
56
|
-
"required": "La ubicación es requerida"
|
57
|
-
}
|
58
|
-
},
|
59
|
-
"tagGroup": {
|
60
|
-
"id": {
|
61
|
-
"uuid": "El ID debe ser un UUID"
|
62
|
-
},
|
63
|
-
"name": {
|
64
|
-
"required": "El nombre es requerido"
|
65
|
-
},
|
66
|
-
"color": {
|
67
|
-
"invalid": "El color debe tener el formato hexadecimal (#ABCDEF)"
|
68
|
-
}
|
69
|
-
},
|
70
|
-
"eventFolder": {
|
71
|
-
"id": {
|
72
|
-
"uuid": "El ID debe ser un UUID"
|
73
|
-
},
|
74
|
-
"color": {
|
75
|
-
"invalid": "El color debe tener el formato hexadecimal (#ABCDEF)"
|
76
|
-
}
|
77
|
-
}
|
78
|
-
},
|
79
|
-
"route": {
|
80
|
-
"account": {
|
81
|
-
"create": {
|
82
|
-
"success": "Cuenta creada con éxito",
|
83
|
-
"conflict": "Cuenta ya existente"
|
84
|
-
},
|
85
|
-
"global-filter-patch": {
|
86
|
-
"success": "Filtro base actualizado",
|
87
|
-
"conflict": "Etiquetas Inválidas"
|
88
|
-
},
|
89
|
-
"global-filter-get": {
|
90
|
-
"success": "Filtro base obtenido",
|
91
|
-
"not-found": "Cuenta no encontrada"
|
92
|
-
},
|
93
|
-
"me": {
|
94
|
-
"success": "Cuenta obtenida"
|
95
|
-
}
|
96
|
-
},
|
97
|
-
"tag": {
|
98
|
-
"create": {
|
99
|
-
"success": "Etiqueta creada con éxito"
|
100
|
-
},
|
101
|
-
"find-all": {
|
102
|
-
"success": "Etiquetas obtenidas"
|
103
|
-
},
|
104
|
-
"find-one": {
|
105
|
-
"success": "Etiqueta obtenida",
|
106
|
-
"not-found": "Etiqueta no encontrada"
|
107
|
-
},
|
108
|
-
"update": {
|
109
|
-
"success": "Etiqueta actualizada",
|
110
|
-
"not-found": "Etiqueta no encontrada"
|
111
|
-
},
|
112
|
-
"delete": {
|
113
|
-
"success": "Etiqueta eliminada",
|
114
|
-
"not-found": "Etiqueta no encontrada"
|
115
|
-
},
|
116
|
-
"find-by-group": {
|
117
|
-
"success": "Etiquetas obtenidas",
|
118
|
-
"not-found": "Grupo de etiquetas no encontrado"
|
119
|
-
},
|
120
|
-
"find-all-grouped": {
|
121
|
-
"success": "Etiquetas obtenidas"
|
122
|
-
}
|
123
|
-
},
|
124
|
-
"tag-group": {
|
125
|
-
"create": {
|
126
|
-
"success": "Grupo de etiquetas creado con éxito"
|
127
|
-
},
|
128
|
-
"find-all": {
|
129
|
-
"success": "Grupos de etiquetas obtenidos"
|
130
|
-
},
|
131
|
-
"find-one": {
|
132
|
-
"success": "Grupo de etiquetas obtenido",
|
133
|
-
"not-found": "Grupo de etiquetas no encontrado"
|
134
|
-
},
|
135
|
-
"update": {
|
136
|
-
"success": "Grupo de etiquetas actualizado",
|
137
|
-
"not-found": "Grupo de etiquetas no encontrado"
|
138
|
-
},
|
139
|
-
"delete": {
|
140
|
-
"success": "Grupo de etiquetas eliminado",
|
141
|
-
"not-found": "Grupo de etiquetas no encontrado"
|
142
|
-
}
|
143
|
-
}
|
144
|
-
}
|
145
|
-
}
|