@sfxcode/nuxt-ui-mongocamp 1.1.3 → 1.2.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 (43) hide show
  1. package/README.md +31 -9
  2. package/dist/module.d.mts +22 -0
  3. package/dist/module.json +1 -1
  4. package/dist/module.mjs +41 -5
  5. package/dist/runtime/components/MongocampAccount.vue +21 -20
  6. package/dist/runtime/components/MongocampBucketFiles.d.vue.ts +6 -0
  7. package/dist/runtime/components/MongocampBucketFiles.vue +364 -0
  8. package/dist/runtime/components/MongocampBucketFiles.vue.d.ts +6 -0
  9. package/dist/runtime/components/MongocampCollectionData.vue +36 -35
  10. package/dist/runtime/components/MongocampCollectionInfos.vue +37 -36
  11. package/dist/runtime/components/MongocampCollections.d.vue.ts +1 -0
  12. package/dist/runtime/components/MongocampCollections.vue +38 -28
  13. package/dist/runtime/components/MongocampCollections.vue.d.ts +1 -0
  14. package/dist/runtime/components/MongocampDatabases.vue +13 -12
  15. package/dist/runtime/components/MongocampJobs.vue +43 -45
  16. package/dist/runtime/components/MongocampLogin.d.vue.ts +4 -1
  17. package/dist/runtime/components/MongocampLogin.vue +13 -9
  18. package/dist/runtime/components/MongocampLogin.vue.d.ts +4 -1
  19. package/dist/runtime/components/MongocampRoleGrants.vue +30 -28
  20. package/dist/runtime/components/MongocampRoles.vue +30 -31
  21. package/dist/runtime/components/MongocampUsers.vue +35 -36
  22. package/dist/runtime/components/MongocampVersion.vue +3 -1
  23. package/dist/runtime/composables/useMongocampAccount.js +6 -5
  24. package/dist/runtime/composables/useMongocampAdmin.js +2 -2
  25. package/dist/runtime/composables/useMongocampBucket.d.ts +20 -1
  26. package/dist/runtime/composables/useMongocampBucket.js +62 -13
  27. package/dist/runtime/composables/useMongocampClientApi.d.ts +13 -0
  28. package/dist/runtime/composables/useMongocampClientApi.js +8 -0
  29. package/dist/runtime/composables/useMongocampIndex.js +2 -2
  30. package/dist/runtime/composables/useMongocampJobs.js +2 -2
  31. package/dist/runtime/composables/useMongocampProxyApi.d.ts +13 -0
  32. package/dist/runtime/composables/useMongocampProxyApi.js +9 -0
  33. package/dist/runtime/composables/useMongocampRoles.d.ts +2 -0
  34. package/dist/runtime/composables/useMongocampRoles.js +4 -2
  35. package/dist/runtime/composables/useMongocampSystem.js +2 -2
  36. package/dist/runtime/locales/de.json +265 -0
  37. package/dist/runtime/locales/en.json +265 -0
  38. package/dist/runtime/plugin.js +8 -8
  39. package/dist/runtime/server/handlers/mongocampProxy.d.ts +2 -0
  40. package/dist/runtime/server/handlers/mongocampProxy.js +45 -0
  41. package/dist/runtime/utils/createProxyMongocampApis.d.ts +15 -0
  42. package/dist/runtime/utils/createProxyMongocampApis.js +28 -0
  43. package/package.json +13 -6
@@ -0,0 +1,13 @@
1
+ export declare function useMongocampClientApi(): {
2
+ adminApi: import("@sfxcode/nuxt-mongocamp-server").AdminApi;
3
+ applicationApi: import("@sfxcode/nuxt-mongocamp-server").ApplicationApi;
4
+ authApi: import("@sfxcode/nuxt-mongocamp-server").AuthApi;
5
+ bucketApi: import("@sfxcode/nuxt-mongocamp-server").BucketApi;
6
+ collectionApi: import("@sfxcode/nuxt-mongocamp-server").CollectionApi;
7
+ databaseApi: import("@sfxcode/nuxt-mongocamp-server").DatabaseApi;
8
+ documentApi: import("@sfxcode/nuxt-mongocamp-server").DocumentApi;
9
+ fileApi: import("@sfxcode/nuxt-mongocamp-server").FileApi;
10
+ indexApi: import("@sfxcode/nuxt-mongocamp-server").IndexApi;
11
+ informationApi: import("@sfxcode/nuxt-mongocamp-server").InformationApi;
12
+ jobApi: import("@sfxcode/nuxt-mongocamp-server").JobsApi;
13
+ };
@@ -0,0 +1,8 @@
1
+ import { useRuntimeConfig } from "#app";
2
+ import { useMongocampApi } from "#imports";
3
+ import { useMongocampProxyApi } from "./useMongocampProxyApi.js";
4
+ export function useMongocampClientApi() {
5
+ const config = useRuntimeConfig();
6
+ const useServerProxy = config.public.nuxtUiMongocampOptions?.useServerProxy ?? false;
7
+ return useServerProxy ? useMongocampProxyApi() : useMongocampApi();
8
+ }
@@ -1,6 +1,6 @@
1
- import { useMongocampApi } from "#imports";
1
+ import { useMongocampClientApi } from "#imports";
2
2
  export function useMongocampIndex() {
3
- const { indexApi } = useMongocampApi();
3
+ const { indexApi } = useMongocampClientApi();
4
4
  async function listIndexes(collectionName) {
5
5
  return indexApi.listIndices({ collectionName });
6
6
  }
@@ -1,6 +1,6 @@
1
- import { useMongocampApi } from "#imports";
1
+ import { useMongocampClientApi } from "#imports";
2
2
  export function useMongocampJobs() {
3
- const { jobApi } = useMongocampApi();
3
+ const { jobApi } = useMongocampClientApi();
4
4
  async function listJobs() {
5
5
  return jobApi.jobsList();
6
6
  }
@@ -0,0 +1,13 @@
1
+ export declare function useMongocampProxyApi(): {
2
+ adminApi: import("@sfxcode/nuxt-mongocamp-server").AdminApi;
3
+ applicationApi: import("@sfxcode/nuxt-mongocamp-server").ApplicationApi;
4
+ authApi: import("@sfxcode/nuxt-mongocamp-server").AuthApi;
5
+ bucketApi: import("@sfxcode/nuxt-mongocamp-server").BucketApi;
6
+ collectionApi: import("@sfxcode/nuxt-mongocamp-server").CollectionApi;
7
+ databaseApi: import("@sfxcode/nuxt-mongocamp-server").DatabaseApi;
8
+ documentApi: import("@sfxcode/nuxt-mongocamp-server").DocumentApi;
9
+ fileApi: import("@sfxcode/nuxt-mongocamp-server").FileApi;
10
+ indexApi: import("@sfxcode/nuxt-mongocamp-server").IndexApi;
11
+ informationApi: import("@sfxcode/nuxt-mongocamp-server").InformationApi;
12
+ jobApi: import("@sfxcode/nuxt-mongocamp-server").JobsApi;
13
+ };
@@ -0,0 +1,9 @@
1
+ import { useRuntimeConfig } from "#app";
2
+ import { Configuration } from "@sfxcode/nuxt-mongocamp-server/api";
3
+ import { createProxyMongocampApis } from "../utils/createProxyMongocampApis.js";
4
+ export function useMongocampProxyApi() {
5
+ const config = useRuntimeConfig();
6
+ const serverProxyPath = config.public.nuxtUiMongocampOptions.serverProxyPath ?? "/api/_mongocamp";
7
+ const configuration = new Configuration({ basePath: serverProxyPath });
8
+ return createProxyMongocampApis(configuration);
9
+ }
@@ -3,5 +3,7 @@ export declare function useMongocampRoles(): {
3
3
  isAdmin: import("vue").ComputedRef<boolean>;
4
4
  isManager: import("vue").ComputedRef<boolean>;
5
5
  notAllowedPath: string;
6
+ logoutRedirectPath: string;
7
+ logoutPath: string;
6
8
  isAllowedPathForRoute: (route: string) => boolean;
7
9
  };
@@ -7,6 +7,8 @@ export function useMongocampRoles() {
7
7
  const { isLoggedIn } = useMongocampAuth();
8
8
  const state = useMongocampStorage();
9
9
  const notAllowedPath = config.public.nuxtUiMongocampOptions.notAllowedPath ?? "/";
10
+ const logoutRedirectPath = config.public.nuxtUiMongocampOptions.logoutRedirectPath ?? "/";
11
+ const logoutPath = config.public.nuxtUiMongocampOptions.logoutPath ?? "/logout";
10
12
  const managerRoles = config.public.nuxtUiMongocampOptions.managerRoles ?? [];
11
13
  const securedRouteParts = config.public.nuxtUiMongocampOptions.securedRouteParts ?? [];
12
14
  const managementRouteParts = config.public.nuxtUiMongocampOptions.managementRouteParts ?? [];
@@ -21,7 +23,7 @@ export function useMongocampRoles() {
21
23
  return patterns.some((pattern) => minimatch(route, pattern) || minimatch(`${route}/`, pattern));
22
24
  }
23
25
  function isAllowedPathForRoute(route) {
24
- if (route === notAllowedPath) {
26
+ if (route === notAllowedPath || route === logoutRedirectPath) {
25
27
  return true;
26
28
  }
27
29
  if (!isLoggedIn.value && matchesAnyPattern(route, securedRouteParts)) {
@@ -33,5 +35,5 @@ export function useMongocampRoles() {
33
35
  }
34
36
  return true;
35
37
  }
36
- return { isLoggedIn, isAdmin, isManager, notAllowedPath, isAllowedPathForRoute };
38
+ return { isLoggedIn, isAdmin, isManager, notAllowedPath, logoutRedirectPath, logoutPath, isAllowedPathForRoute };
37
39
  }
@@ -1,10 +1,10 @@
1
- import { useMongocampApi } from "#imports";
1
+ import { useMongocampClientApi } from "#imports";
2
2
  const REQUEST_TIMEOUT_MS = 15e3;
3
3
  function withTimeout() {
4
4
  return { signal: AbortSignal.timeout(REQUEST_TIMEOUT_MS) };
5
5
  }
6
6
  export function useMongocampSystem() {
7
- const { databaseApi } = useMongocampApi();
7
+ const { databaseApi } = useMongocampClientApi();
8
8
  async function listDatabases() {
9
9
  return databaseApi.listDatabases(withTimeout());
10
10
  }
@@ -0,0 +1,265 @@
1
+ {
2
+ "nuxtUiMongocamp": {
3
+ "common": {
4
+ "cancel": "Abbrechen",
5
+ "delete": "Löschen",
6
+ "save": "Speichern",
7
+ "saveChanges": "Änderungen speichern",
8
+ "refresh": "Aktualisieren",
9
+ "retry": "Wiederholen",
10
+ "copy": "Kopieren",
11
+ "dismiss": "Verwerfen",
12
+ "yes": "Ja",
13
+ "no": "Nein",
14
+ "admin": "Admin",
15
+ "standard": "Standard"
16
+ },
17
+ "login": {
18
+ "heading": "Mongocamp-Anmeldung",
19
+ "email": "E-Mail",
20
+ "password": "Passwort",
21
+ "submit": "Anmelden",
22
+ "error": "Falscher Benutzername oder falsches Passwort!"
23
+ },
24
+ "users": {
25
+ "heading": "Benutzer",
26
+ "searchPlaceholder": "Benutzer suchen...",
27
+ "addUser": "Benutzer hinzufügen",
28
+ "editUserTitle": "Benutzer bearbeiten: {userId}",
29
+ "deleteUserTitle": "Benutzer löschen",
30
+ "confirmDelete": "Möchten Sie den Benutzer {userId} wirklich löschen? Diese Aktion kann nicht rückgängig gemacht werden.",
31
+ "email": "E-Mail",
32
+ "password": "Passwort",
33
+ "newPassword": "Neues Passwort",
34
+ "newPasswordHelp": "Leer lassen, um das aktuelle Passwort beizubehalten",
35
+ "roles": "Rollen",
36
+ "available": "Verfügbar",
37
+ "assigned": "Zugewiesen",
38
+ "columnUser": "Benutzer",
39
+ "columnAdmin": "Admin",
40
+ "columnRoles": "Rollen",
41
+ "roleAdmin": "Admin",
42
+ "roleUser": "Benutzer",
43
+ "editUserTooltip": "Benutzer bearbeiten",
44
+ "deleteUserTooltip": "Benutzer löschen",
45
+ "errorAddUser": "Benutzer konnte nicht hinzugefügt werden",
46
+ "errorEditUser": "Benutzer konnte nicht aktualisiert werden"
47
+ },
48
+ "roles": {
49
+ "heading": "Rollen",
50
+ "searchPlaceholder": "Rollen suchen...",
51
+ "addRole": "Rolle hinzufügen",
52
+ "editRoleTitle": "Rolle bearbeiten: {roleName}",
53
+ "deleteRoleTitle": "Rolle löschen",
54
+ "confirmDelete": "Möchten Sie die Rolle {roleName} wirklich löschen? Diese Aktion kann nicht rückgängig gemacht werden.",
55
+ "roleName": "Rollenname",
56
+ "adminRole": "Admin-Rolle",
57
+ "columnRole": "Rolle",
58
+ "columnAdmin": "Admin",
59
+ "columnGrants": "Berechtigungen",
60
+ "manageGrantsTooltip": "Berechtigungen verwalten",
61
+ "editRoleTooltip": "Rolle bearbeiten",
62
+ "deleteRoleTooltip": "Rolle löschen",
63
+ "errorAddRole": "Rolle konnte nicht hinzugefügt werden",
64
+ "errorEditRole": "Rolle konnte nicht aktualisiert werden"
65
+ },
66
+ "roleGrants": {
67
+ "heading": "Berechtigungen: {roleName}",
68
+ "addGrant": "Berechtigung hinzufügen",
69
+ "editGrantTitle": "Berechtigung bearbeiten: {name}",
70
+ "collection": "Collection",
71
+ "read": "Lesen",
72
+ "write": "Schreiben",
73
+ "administrate": "Verwalten",
74
+ "columnCollection": "Collection",
75
+ "columnType": "Typ",
76
+ "columnRead": "Lesen",
77
+ "columnWrite": "Schreiben",
78
+ "columnAdmin": "Admin",
79
+ "editGrantTooltip": "Berechtigung bearbeiten",
80
+ "removeGrantTooltip": "Berechtigung entfernen",
81
+ "errorSave": "Berechtigungen konnten nicht gespeichert werden"
82
+ },
83
+ "collections": {
84
+ "heading": "Collections",
85
+ "filterPlaceholder": "Collections filtern...",
86
+ "columnCollection": "Collection",
87
+ "columnDocuments": "Dokumente",
88
+ "columnSize": "Größe (KB)",
89
+ "columnIndexes": "Indizes",
90
+ "bucketBadge": "Bucket",
91
+ "infoTooltip": "Collection-Info",
92
+ "dataTooltip": "Collection-Daten",
93
+ "browseFilesTooltip": "Dateien durchsuchen",
94
+ "clearBucketTooltip": "Bucket leeren",
95
+ "deleteBucketTooltip": "Bucket löschen",
96
+ "clearBucketTitle": "Bucket leeren",
97
+ "confirmClearBucket": "Möchten Sie wirklich alle Dateien im Bucket \"{bucketName}\" löschen? Der Bucket selbst bleibt erhalten, aber alle darin enthaltenen Dateien werden dauerhaft entfernt. Diese Aktion kann nicht rückgängig gemacht werden.",
98
+ "deleteBucketTitle": "Bucket löschen",
99
+ "confirmDeleteBucket": "Möchten Sie den Bucket \"{bucketName}\" wirklich löschen? Dadurch werden sowohl die Collection \"{bucketName}.files\" als auch \"{bucketName}.chunks\" dauerhaft entfernt. Diese Aktion kann nicht rückgängig gemacht werden."
100
+ },
101
+ "collectionInfos": {
102
+ "documents": "Dokumente",
103
+ "dataSize": "Datengröße",
104
+ "storageSize": "Speichergröße",
105
+ "avgDocSize": "Ø Dokumentgröße",
106
+ "indexes": "Indizes",
107
+ "indexSize": "Indexgröße",
108
+ "indexesCount": "{count} Indizes",
109
+ "createIndex": "Index erstellen",
110
+ "copyAsTs": "Als TS-Interface kopieren",
111
+ "copiedTitle": "In die Zwischenablage kopiert",
112
+ "copiedDescription": "TypeScript-Interface kopiert.",
113
+ "fieldsCount": "{count} Felder",
114
+ "columnField": "Feld",
115
+ "columnType": "Typ",
116
+ "columnInAllSamples": "In allen Stichproben",
117
+ "columnIndex": "Index",
118
+ "columnKeys": "Schlüssel",
119
+ "columnSizeKb": "Größe (KB)",
120
+ "deleteIndexTooltip": "Index löschen",
121
+ "fieldName": "Feldname",
122
+ "ascending": "Aufsteigend",
123
+ "indexType": "Indextyp",
124
+ "expireAfter": "Ablauf nach (z. B. 3600s)",
125
+ "expireAfterHelp": "Wird nur für den Indextyp \"expiring\" verwendet.",
126
+ "createIndexTitle": "Index erstellen",
127
+ "deleteIndexTitle": "Index löschen",
128
+ "confirmDeleteIndex": "Möchten Sie den Index \"{indexName}\" wirklich löschen? Diese Aktion kann nicht rückgängig gemacht werden.",
129
+ "errorCreateIndex": "Fehler beim Erstellen des Index",
130
+ "errorDeleteIndex": "Fehler beim Löschen des Index"
131
+ },
132
+ "collectionData": {
133
+ "filterPlaceholder": "Zeilen filtern...",
134
+ "documentsCount": "{count} Dokumente",
135
+ "uploadFileTooltip": "Datei hochladen",
136
+ "insertDocumentTooltip": "Dokument einfügen",
137
+ "reloadTooltip": "Neu laden",
138
+ "detailsTitle": "Details",
139
+ "insertDocumentTitle": "Dokument einfügen",
140
+ "editDocumentTitle": "Dokument bearbeiten",
141
+ "deleteDocumentTitle": "Dokument löschen",
142
+ "confirmDeleteDocument": "Möchten Sie dieses Dokument wirklich löschen? Diese Aktion kann nicht rückgängig gemacht werden.",
143
+ "invalidJson": "Ungültiges JSON",
144
+ "errorSave": "Fehler beim Speichern des Dokuments",
145
+ "errorDelete": "Fehler beim Löschen des Dokuments",
146
+ "insert": "Einfügen",
147
+ "downloadFileTooltip": "Datei herunterladen",
148
+ "editDocumentTooltip": "Dokument bearbeiten",
149
+ "deleteDocumentTooltip": "Dokument löschen",
150
+ "viewArray": "Array anzeigen",
151
+ "viewObject": "Objekt anzeigen",
152
+ "createdByPrefix": "erstellt: ",
153
+ "updatedByPrefix": "aktualisiert: ",
154
+ "byPrefix": "von: "
155
+ },
156
+ "bucketFiles": {
157
+ "filterPlaceholder": "Nach Dateiname filtern...",
158
+ "filesCount": "{count} Dateien",
159
+ "uploadFileTooltip": "Datei hochladen",
160
+ "reloadTooltip": "Neu laden",
161
+ "metadataTitle": "Metadaten",
162
+ "renameTitle": "Umbenennen / Metadaten bearbeiten",
163
+ "deleteFileTitle": "Datei löschen",
164
+ "confirmDeleteFile": "Möchten Sie diese Datei wirklich löschen? Diese Aktion kann nicht rückgängig gemacht werden.",
165
+ "filename": "Dateiname",
166
+ "keyCount": "1 Schlüssel",
167
+ "keysCount": "{count} Schlüssel",
168
+ "viewMetadataTooltip": "Metadaten anzeigen",
169
+ "columnFilename": "Dateiname",
170
+ "columnSize": "Größe",
171
+ "columnUploaded": "Hochgeladen",
172
+ "columnMetadata": "Metadaten",
173
+ "downloadFileTooltip": "Datei herunterladen",
174
+ "renameTooltip": "Umbenennen / Metadaten bearbeiten",
175
+ "deleteFileTooltip": "Datei löschen",
176
+ "metadataKey": "Schlüssel",
177
+ "metadataValue": "Wert"
178
+ },
179
+ "jobs": {
180
+ "heading": "Jobs",
181
+ "addJob": "Job hinzufügen",
182
+ "editJobTitle": "Job bearbeiten: {name}",
183
+ "deleteJobTitle": "Job löschen",
184
+ "confirmDelete": "Möchten Sie den Job {name} wirklich löschen? Diese Aktion kann nicht rückgängig gemacht werden.",
185
+ "name": "Name",
186
+ "group": "Gruppe",
187
+ "jobClass": "Job-Klasse",
188
+ "description": "Beschreibung",
189
+ "cronExpression": "Cron-Ausdruck",
190
+ "cronExpressionHelp": "Quartz-Cron-Syntax, z. B. 0 0 * * * ?",
191
+ "priority": "Priorität",
192
+ "columnName": "Name",
193
+ "columnGroup": "Gruppe",
194
+ "columnCron": "Cron-Ausdruck",
195
+ "columnNextFireTime": "Nächste Ausführung",
196
+ "columnPriority": "Priorität",
197
+ "executeNowTooltip": "Jetzt ausführen",
198
+ "editJobTooltip": "Job bearbeiten",
199
+ "deleteJobTooltip": "Job löschen",
200
+ "executedTitle": "Job ausgeführt",
201
+ "executedDescription": "\"{name}\" wurde ausgelöst.",
202
+ "executionFailedTitle": "Ausführung fehlgeschlagen",
203
+ "executionFailedDescription": "\"{name}\" konnte nicht ausgeführt werden.",
204
+ "errorAdd": "Job konnte nicht registriert werden",
205
+ "errorEdit": "Job konnte nicht aktualisiert werden"
206
+ },
207
+ "account": {
208
+ "heading": "Konto",
209
+ "user": "Benutzer",
210
+ "role": "Rolle",
211
+ "roles": "Rollen",
212
+ "changePasswordHeading": "Passwort ändern",
213
+ "newPassword": "Neues Passwort",
214
+ "changePassword": "Passwort ändern",
215
+ "apiKeyHeading": "API-Schlüssel",
216
+ "apiKeyOnceWarning": "Dieser Schlüssel wird nur einmal angezeigt. Kopieren Sie ihn jetzt — er kann später nicht erneut abgerufen werden.",
217
+ "regenerateWarning": "Das Neugenerieren Ihres API-Schlüssels macht den aktuellen Schlüssel sofort ungültig.",
218
+ "regenerateApiKey": "API-Schlüssel neu generieren",
219
+ "confirmRegenerate": "Möchten Sie Ihren API-Schlüssel wirklich neu generieren? Ihr aktueller Schlüssel funktioniert danach sofort nicht mehr.",
220
+ "regenerate": "Neu generieren",
221
+ "copiedTitle": "In die Zwischenablage kopiert",
222
+ "copiedDescription": "API-Schlüssel kopiert.",
223
+ "passwordChangedTitle": "Passwort geändert",
224
+ "passwordChangedDescription": "Ihr Passwort wurde aktualisiert.",
225
+ "changeFailedTitle": "Änderung fehlgeschlagen",
226
+ "changeFailedFallback": "Ihr Passwort konnte nicht geändert werden."
227
+ },
228
+ "databases": {
229
+ "heading": "Datenbanken",
230
+ "columnDatabase": "Datenbank",
231
+ "columnSize": "Größe (KB)",
232
+ "columnCollections": "Collections",
233
+ "columnEmpty": "Leer",
234
+ "emptyBadge": "Leer",
235
+ "loadFailedTitle": "Datenbanken konnten nicht geladen werden",
236
+ "errorLoad": "Datenbanken konnten nicht geladen werden"
237
+ },
238
+ "version": {
239
+ "unavailable": "MongoCamp nicht verfügbar"
240
+ },
241
+ "bucket": {
242
+ "downloadFailedTitle": "Download fehlgeschlagen",
243
+ "downloadFailedFallback": "Die Datei konnte nicht heruntergeladen werden.",
244
+ "uploadedTitle": "Datei hochgeladen",
245
+ "uploadedDescription": "\"{fileName}\" wurde hochgeladen.",
246
+ "uploadFailedTitle": "Upload fehlgeschlagen",
247
+ "uploadFailedFallback": "Die Datei konnte nicht hochgeladen werden.",
248
+ "deletedTitle": "Datei gelöscht",
249
+ "deletedDescription": "Die Datei wurde gelöscht.",
250
+ "deleteFailedTitle": "Löschen fehlgeschlagen",
251
+ "deleteFailedFallback": "Die Datei konnte nicht gelöscht werden.",
252
+ "updatedTitle": "Datei aktualisiert",
253
+ "updatedDescription": "Die Dateiinformationen wurden aktualisiert.",
254
+ "updateFailedTitle": "Aktualisierung fehlgeschlagen",
255
+ "updateFailedFallback": "Die Dateiinformationen konnten nicht aktualisiert werden.",
256
+ "bucketClearedTitle": "Bucket geleert",
257
+ "bucketClearedDescription": "Alle Dateien in \"{bucketName}\" wurden gelöscht.",
258
+ "clearFailedTitle": "Leeren fehlgeschlagen",
259
+ "clearFailedFallback": "Bucket \"{bucketName}\" konnte nicht geleert werden.",
260
+ "bucketDeletedTitle": "Bucket gelöscht",
261
+ "bucketDeletedDescription": "Bucket \"{bucketName}\" wurde gelöscht.",
262
+ "deleteFailedBucketFallback": "Bucket \"{bucketName}\" konnte nicht gelöscht werden."
263
+ }
264
+ }
265
+ }
@@ -0,0 +1,265 @@
1
+ {
2
+ "nuxtUiMongocamp": {
3
+ "common": {
4
+ "cancel": "Cancel",
5
+ "delete": "Delete",
6
+ "save": "Save",
7
+ "saveChanges": "Save Changes",
8
+ "refresh": "Refresh",
9
+ "retry": "Retry",
10
+ "copy": "Copy",
11
+ "dismiss": "Dismiss",
12
+ "yes": "Yes",
13
+ "no": "No",
14
+ "admin": "Admin",
15
+ "standard": "Standard"
16
+ },
17
+ "login": {
18
+ "heading": "Mongocamp Login",
19
+ "email": "Email",
20
+ "password": "Password",
21
+ "submit": "Login",
22
+ "error": "Wrong Login or Password !"
23
+ },
24
+ "users": {
25
+ "heading": "Users",
26
+ "searchPlaceholder": "Search users...",
27
+ "addUser": "Add User",
28
+ "editUserTitle": "Edit User: {userId}",
29
+ "deleteUserTitle": "Delete User",
30
+ "confirmDelete": "Are you sure you want to delete user {userId}? This action cannot be undone.",
31
+ "email": "Email",
32
+ "password": "Password",
33
+ "newPassword": "New Password",
34
+ "newPasswordHelp": "Leave empty to keep current password",
35
+ "roles": "Roles",
36
+ "available": "Available",
37
+ "assigned": "Assigned",
38
+ "columnUser": "User",
39
+ "columnAdmin": "Admin",
40
+ "columnRoles": "Roles",
41
+ "roleAdmin": "Admin",
42
+ "roleUser": "User",
43
+ "editUserTooltip": "Edit user",
44
+ "deleteUserTooltip": "Delete user",
45
+ "errorAddUser": "Failed to add user",
46
+ "errorEditUser": "Failed to update user"
47
+ },
48
+ "roles": {
49
+ "heading": "Roles",
50
+ "searchPlaceholder": "Search roles...",
51
+ "addRole": "Add Role",
52
+ "editRoleTitle": "Edit Role: {roleName}",
53
+ "deleteRoleTitle": "Delete Role",
54
+ "confirmDelete": "Are you sure you want to delete role {roleName}? This action cannot be undone.",
55
+ "roleName": "Role Name",
56
+ "adminRole": "Admin Role",
57
+ "columnRole": "Role",
58
+ "columnAdmin": "Admin",
59
+ "columnGrants": "Grants",
60
+ "manageGrantsTooltip": "Manage grants",
61
+ "editRoleTooltip": "Edit role",
62
+ "deleteRoleTooltip": "Delete role",
63
+ "errorAddRole": "Failed to add role",
64
+ "errorEditRole": "Failed to update role"
65
+ },
66
+ "roleGrants": {
67
+ "heading": "Grants: {roleName}",
68
+ "addGrant": "Add Grant",
69
+ "editGrantTitle": "Edit Grant: {name}",
70
+ "collection": "Collection",
71
+ "read": "Read",
72
+ "write": "Write",
73
+ "administrate": "Administrate",
74
+ "columnCollection": "Collection",
75
+ "columnType": "Type",
76
+ "columnRead": "Read",
77
+ "columnWrite": "Write",
78
+ "columnAdmin": "Admin",
79
+ "editGrantTooltip": "Edit grant",
80
+ "removeGrantTooltip": "Remove grant",
81
+ "errorSave": "Failed to save grants"
82
+ },
83
+ "collections": {
84
+ "heading": "Collections",
85
+ "filterPlaceholder": "Filter collections...",
86
+ "columnCollection": "Collection",
87
+ "columnDocuments": "Documents",
88
+ "columnSize": "Size (KB)",
89
+ "columnIndexes": "Indexes",
90
+ "bucketBadge": "bucket",
91
+ "infoTooltip": "Collection info",
92
+ "dataTooltip": "Collection data",
93
+ "browseFilesTooltip": "Browse files",
94
+ "clearBucketTooltip": "Clear bucket",
95
+ "deleteBucketTooltip": "Delete bucket",
96
+ "clearBucketTitle": "Clear Bucket",
97
+ "confirmClearBucket": "Are you sure you want to delete every file in the \"{bucketName}\" bucket? The bucket itself is kept, but all files in it are permanently removed. This action cannot be undone.",
98
+ "deleteBucketTitle": "Delete Bucket",
99
+ "confirmDeleteBucket": "Are you sure you want to delete the \"{bucketName}\" bucket? This permanently removes both the \"{bucketName}.files\" and \"{bucketName}.chunks\" collections. This action cannot be undone."
100
+ },
101
+ "collectionInfos": {
102
+ "documents": "Documents",
103
+ "dataSize": "Data Size",
104
+ "storageSize": "Storage Size",
105
+ "avgDocSize": "Avg Doc Size",
106
+ "indexes": "Indexes",
107
+ "indexSize": "Index Size",
108
+ "indexesCount": "{count} indexes",
109
+ "createIndex": "Create Index",
110
+ "copyAsTs": "Copy as TS Interface",
111
+ "copiedTitle": "Copied to clipboard",
112
+ "copiedDescription": "TypeScript interface copied.",
113
+ "fieldsCount": "{count} fields",
114
+ "columnField": "Field",
115
+ "columnType": "Type",
116
+ "columnInAllSamples": "In all samples",
117
+ "columnIndex": "Index",
118
+ "columnKeys": "Keys",
119
+ "columnSizeKb": "Size (KB)",
120
+ "deleteIndexTooltip": "Delete index",
121
+ "fieldName": "Field Name",
122
+ "ascending": "Ascending",
123
+ "indexType": "Index Type",
124
+ "expireAfter": "Expire After (e.g. 3600s)",
125
+ "expireAfterHelp": "Only used for the expiring index type.",
126
+ "createIndexTitle": "Create Index",
127
+ "deleteIndexTitle": "Delete Index",
128
+ "confirmDeleteIndex": "Are you sure you want to delete the index \"{indexName}\"? This action cannot be undone.",
129
+ "errorCreateIndex": "Error creating index",
130
+ "errorDeleteIndex": "Error deleting index"
131
+ },
132
+ "collectionData": {
133
+ "filterPlaceholder": "Filter rows...",
134
+ "documentsCount": "{count} documents",
135
+ "uploadFileTooltip": "Upload file",
136
+ "insertDocumentTooltip": "Insert document",
137
+ "reloadTooltip": "Reload",
138
+ "detailsTitle": "Details",
139
+ "insertDocumentTitle": "Insert Document",
140
+ "editDocumentTitle": "Edit Document",
141
+ "deleteDocumentTitle": "Delete Document",
142
+ "confirmDeleteDocument": "Are you sure you want to delete this document? This action cannot be undone.",
143
+ "invalidJson": "Invalid JSON",
144
+ "errorSave": "Error saving document",
145
+ "errorDelete": "Error deleting document",
146
+ "insert": "Insert",
147
+ "downloadFileTooltip": "Download file",
148
+ "editDocumentTooltip": "Edit document",
149
+ "deleteDocumentTooltip": "Delete document",
150
+ "viewArray": "View array",
151
+ "viewObject": "View object",
152
+ "createdByPrefix": "created: ",
153
+ "updatedByPrefix": "updated: ",
154
+ "byPrefix": "by: "
155
+ },
156
+ "bucketFiles": {
157
+ "filterPlaceholder": "Filter by filename...",
158
+ "filesCount": "{count} files",
159
+ "uploadFileTooltip": "Upload file",
160
+ "reloadTooltip": "Reload",
161
+ "metadataTitle": "Metadata",
162
+ "renameTitle": "Rename / edit metadata",
163
+ "deleteFileTitle": "Delete File",
164
+ "confirmDeleteFile": "Are you sure you want to delete this file? This action cannot be undone.",
165
+ "filename": "Filename",
166
+ "keyCount": "1 key",
167
+ "keysCount": "{count} keys",
168
+ "viewMetadataTooltip": "View metadata",
169
+ "columnFilename": "Filename",
170
+ "columnSize": "Size",
171
+ "columnUploaded": "Uploaded",
172
+ "columnMetadata": "Metadata",
173
+ "downloadFileTooltip": "Download file",
174
+ "renameTooltip": "Rename / edit metadata",
175
+ "deleteFileTooltip": "Delete file",
176
+ "metadataKey": "Key",
177
+ "metadataValue": "Value"
178
+ },
179
+ "jobs": {
180
+ "heading": "Jobs",
181
+ "addJob": "Add Job",
182
+ "editJobTitle": "Edit Job: {name}",
183
+ "deleteJobTitle": "Delete Job",
184
+ "confirmDelete": "Are you sure you want to delete job {name}? This action cannot be undone.",
185
+ "name": "Name",
186
+ "group": "Group",
187
+ "jobClass": "Job Class",
188
+ "description": "Description",
189
+ "cronExpression": "Cron Expression",
190
+ "cronExpressionHelp": "Quartz cron syntax, e.g. 0 0 * * * ?",
191
+ "priority": "Priority",
192
+ "columnName": "Name",
193
+ "columnGroup": "Group",
194
+ "columnCron": "Cron Expression",
195
+ "columnNextFireTime": "Next Fire Time",
196
+ "columnPriority": "Priority",
197
+ "executeNowTooltip": "Execute now",
198
+ "editJobTooltip": "Edit job",
199
+ "deleteJobTooltip": "Delete job",
200
+ "executedTitle": "Job executed",
201
+ "executedDescription": "\"{name}\" was triggered.",
202
+ "executionFailedTitle": "Execution failed",
203
+ "executionFailedDescription": "Could not execute \"{name}\".",
204
+ "errorAdd": "Failed to register job",
205
+ "errorEdit": "Failed to update job"
206
+ },
207
+ "account": {
208
+ "heading": "Account",
209
+ "user": "User",
210
+ "role": "Role",
211
+ "roles": "Roles",
212
+ "changePasswordHeading": "Change Password",
213
+ "newPassword": "New Password",
214
+ "changePassword": "Change Password",
215
+ "apiKeyHeading": "API Key",
216
+ "apiKeyOnceWarning": "This key is shown only once. Copy it now — it cannot be retrieved again.",
217
+ "regenerateWarning": "Regenerating your API key immediately invalidates the current one.",
218
+ "regenerateApiKey": "Regenerate API Key",
219
+ "confirmRegenerate": "Are you sure you want to regenerate your API key? Your current key will stop working immediately.",
220
+ "regenerate": "Regenerate",
221
+ "copiedTitle": "Copied to clipboard",
222
+ "copiedDescription": "API key copied.",
223
+ "passwordChangedTitle": "Password changed",
224
+ "passwordChangedDescription": "Your password was updated.",
225
+ "changeFailedTitle": "Change failed",
226
+ "changeFailedFallback": "Could not change your password."
227
+ },
228
+ "databases": {
229
+ "heading": "Databases",
230
+ "columnDatabase": "Database",
231
+ "columnSize": "Size (KB)",
232
+ "columnCollections": "Collections",
233
+ "columnEmpty": "Empty",
234
+ "emptyBadge": "Empty",
235
+ "loadFailedTitle": "Failed to load databases",
236
+ "errorLoad": "Failed to load databases"
237
+ },
238
+ "version": {
239
+ "unavailable": "MongoCamp unavailable"
240
+ },
241
+ "bucket": {
242
+ "downloadFailedTitle": "Download failed",
243
+ "downloadFailedFallback": "Could not download the file.",
244
+ "uploadedTitle": "File uploaded",
245
+ "uploadedDescription": "\"{fileName}\" was uploaded.",
246
+ "uploadFailedTitle": "Upload failed",
247
+ "uploadFailedFallback": "Could not upload the file.",
248
+ "deletedTitle": "File deleted",
249
+ "deletedDescription": "The file was deleted.",
250
+ "deleteFailedTitle": "Delete failed",
251
+ "deleteFailedFallback": "Could not delete the file.",
252
+ "updatedTitle": "File updated",
253
+ "updatedDescription": "The file information was updated.",
254
+ "updateFailedTitle": "Update failed",
255
+ "updateFailedFallback": "Could not update the file information.",
256
+ "bucketClearedTitle": "Bucket cleared",
257
+ "bucketClearedDescription": "All files in \"{bucketName}\" were deleted.",
258
+ "clearFailedTitle": "Clear failed",
259
+ "clearFailedFallback": "Could not clear bucket \"{bucketName}\".",
260
+ "bucketDeletedTitle": "Bucket deleted",
261
+ "bucketDeletedDescription": "Bucket \"{bucketName}\" was deleted.",
262
+ "deleteFailedBucketFallback": "Could not delete bucket \"{bucketName}\"."
263
+ }
264
+ }
265
+ }