@sfxcode/nuxt-ui-mongocamp 1.1.4 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -4
- package/dist/module.d.mts +22 -0
- package/dist/module.json +1 -1
- package/dist/module.mjs +41 -5
- package/dist/runtime/components/MongocampAccount.vue +21 -20
- package/dist/runtime/components/MongocampBucketFiles.vue +34 -32
- package/dist/runtime/components/MongocampCollectionData.vue +36 -35
- package/dist/runtime/components/MongocampCollectionInfos.vue +37 -36
- package/dist/runtime/components/MongocampCollections.vue +30 -29
- package/dist/runtime/components/MongocampDatabases.vue +13 -12
- package/dist/runtime/components/MongocampJobs.vue +43 -45
- package/dist/runtime/components/MongocampLogin.d.vue.ts +4 -1
- package/dist/runtime/components/MongocampLogin.vue +13 -9
- package/dist/runtime/components/MongocampLogin.vue.d.ts +4 -1
- package/dist/runtime/components/MongocampRoleGrants.vue +30 -28
- package/dist/runtime/components/MongocampRoles.vue +30 -31
- package/dist/runtime/components/MongocampUsers.vue +35 -36
- package/dist/runtime/components/MongocampVersion.vue +3 -1
- package/dist/runtime/composables/useMongocampAccount.js +6 -5
- package/dist/runtime/composables/useMongocampAdmin.js +2 -2
- package/dist/runtime/composables/useMongocampBucket.js +20 -19
- package/dist/runtime/composables/useMongocampClientApi.d.ts +13 -0
- package/dist/runtime/composables/useMongocampClientApi.js +8 -0
- package/dist/runtime/composables/useMongocampIndex.js +2 -2
- package/dist/runtime/composables/useMongocampJobs.js +2 -2
- package/dist/runtime/composables/useMongocampProxyApi.d.ts +13 -0
- package/dist/runtime/composables/useMongocampProxyApi.js +9 -0
- package/dist/runtime/composables/useMongocampRoles.d.ts +2 -0
- package/dist/runtime/composables/useMongocampRoles.js +4 -2
- package/dist/runtime/composables/useMongocampSystem.js +2 -2
- package/dist/runtime/locales/de.json +265 -0
- package/dist/runtime/locales/en.json +265 -0
- package/dist/runtime/plugin.js +8 -8
- package/dist/runtime/server/handlers/mongocampProxy.d.ts +2 -0
- package/dist/runtime/server/handlers/mongocampProxy.js +45 -0
- package/dist/runtime/utils/createProxyMongocampApis.d.ts +15 -0
- package/dist/runtime/utils/createProxyMongocampApis.js +28 -0
- package/package.json +11 -8
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ref } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { useI18n, useMongocampClientApi, useToast } from "#imports";
|
|
3
3
|
export function useMongocampAccount() {
|
|
4
|
-
const {
|
|
4
|
+
const { t } = useI18n();
|
|
5
|
+
const { authApi } = useMongocampClientApi();
|
|
5
6
|
const toast = useToast();
|
|
6
7
|
const changingPassword = ref(false);
|
|
7
8
|
async function fetchProfile() {
|
|
@@ -11,10 +12,10 @@ export function useMongocampAccount() {
|
|
|
11
12
|
changingPassword.value = true;
|
|
12
13
|
try {
|
|
13
14
|
const result = await authApi.updatePassword({ passwordUpdateRequest: { password } });
|
|
14
|
-
toast.add({ title: "
|
|
15
|
+
toast.add({ title: t("nuxtUiMongocamp.account.passwordChangedTitle"), description: t("nuxtUiMongocamp.account.passwordChangedDescription"), color: "success" });
|
|
15
16
|
return result.value;
|
|
16
|
-
} catch {
|
|
17
|
-
toast.add({ title: "
|
|
17
|
+
} catch (e) {
|
|
18
|
+
toast.add({ title: t("nuxtUiMongocamp.account.changeFailedTitle"), description: e instanceof Error ? e.message : t("nuxtUiMongocamp.account.changeFailedFallback"), color: "error" });
|
|
18
19
|
return false;
|
|
19
20
|
} finally {
|
|
20
21
|
changingPassword.value = false;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { useMongocampClientApi } from "#imports";
|
|
2
2
|
export default () => {
|
|
3
|
-
const { adminApi, collectionApi } =
|
|
3
|
+
const { adminApi, collectionApi } = useMongocampClientApi();
|
|
4
4
|
async function listUsers(filter = "") {
|
|
5
5
|
return adminApi.listUsers({ filter });
|
|
6
6
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { useI18n, useMongocampClientApi, useToast } from "#imports";
|
|
3
3
|
const BUCKET_COLLECTION_SUFFIX = /\.(?:files|chunks)$/;
|
|
4
4
|
function unwrapId(value) {
|
|
5
5
|
if (typeof value === "string") return value;
|
|
@@ -19,7 +19,8 @@ function triggerBrowserDownload(blob, filename) {
|
|
|
19
19
|
URL.revokeObjectURL(url);
|
|
20
20
|
}
|
|
21
21
|
export function useMongocampBucket() {
|
|
22
|
-
const {
|
|
22
|
+
const { t } = useI18n();
|
|
23
|
+
const { fileApi, bucketApi } = useMongocampClientApi();
|
|
23
24
|
const toast = useToast();
|
|
24
25
|
const downloadingFileIds = ref(/* @__PURE__ */ new Set());
|
|
25
26
|
const uploading = ref(false);
|
|
@@ -41,8 +42,8 @@ export function useMongocampBucket() {
|
|
|
41
42
|
const info = await fileApi.getFileInformation({ bucketName, fileId });
|
|
42
43
|
const blob = await fileApi.getFile({ bucketName, fileId });
|
|
43
44
|
triggerBrowserDownload(blob, info.filename || fileId);
|
|
44
|
-
} catch {
|
|
45
|
-
toast.add({ title: "
|
|
45
|
+
} catch (e) {
|
|
46
|
+
toast.add({ title: t("nuxtUiMongocamp.bucket.downloadFailedTitle"), description: e instanceof Error ? e.message : t("nuxtUiMongocamp.bucket.downloadFailedFallback"), color: "error" });
|
|
46
47
|
} finally {
|
|
47
48
|
downloadingFileIds.value.delete(fileId);
|
|
48
49
|
}
|
|
@@ -52,10 +53,10 @@ export function useMongocampBucket() {
|
|
|
52
53
|
uploading.value = true;
|
|
53
54
|
try {
|
|
54
55
|
await fileApi.insertFile({ bucketName, file, fileName: file.name, metaData: "{}" });
|
|
55
|
-
toast.add({ title: "
|
|
56
|
+
toast.add({ title: t("nuxtUiMongocamp.bucket.uploadedTitle"), description: t("nuxtUiMongocamp.bucket.uploadedDescription", { fileName: file.name }), color: "success" });
|
|
56
57
|
return true;
|
|
57
|
-
} catch {
|
|
58
|
-
toast.add({ title: "
|
|
58
|
+
} catch (e) {
|
|
59
|
+
toast.add({ title: t("nuxtUiMongocamp.bucket.uploadFailedTitle"), description: e instanceof Error ? e.message : t("nuxtUiMongocamp.bucket.uploadFailedFallback"), color: "error" });
|
|
59
60
|
return false;
|
|
60
61
|
} finally {
|
|
61
62
|
uploading.value = false;
|
|
@@ -78,10 +79,10 @@ export function useMongocampBucket() {
|
|
|
78
79
|
fileActionInFlight.value.add(fileId);
|
|
79
80
|
try {
|
|
80
81
|
const result = await fileApi.deleteFile({ bucketName, fileId });
|
|
81
|
-
toast.add({ title: "
|
|
82
|
+
toast.add({ title: t("nuxtUiMongocamp.bucket.deletedTitle"), description: t("nuxtUiMongocamp.bucket.deletedDescription"), color: "success" });
|
|
82
83
|
return result.wasAcknowledged;
|
|
83
|
-
} catch {
|
|
84
|
-
toast.add({ title: "
|
|
84
|
+
} catch (e) {
|
|
85
|
+
toast.add({ title: t("nuxtUiMongocamp.bucket.deleteFailedTitle"), description: e instanceof Error ? e.message : t("nuxtUiMongocamp.bucket.deleteFailedFallback"), color: "error" });
|
|
85
86
|
return false;
|
|
86
87
|
} finally {
|
|
87
88
|
fileActionInFlight.value.delete(fileId);
|
|
@@ -95,10 +96,10 @@ export function useMongocampBucket() {
|
|
|
95
96
|
fileId,
|
|
96
97
|
updateFileInformationRequest: { filename: options.filename, metadata: options.metadata }
|
|
97
98
|
});
|
|
98
|
-
toast.add({ title: "
|
|
99
|
+
toast.add({ title: t("nuxtUiMongocamp.bucket.updatedTitle"), description: t("nuxtUiMongocamp.bucket.updatedDescription"), color: "success" });
|
|
99
100
|
return result.wasAcknowledged;
|
|
100
|
-
} catch {
|
|
101
|
-
toast.add({ title: "
|
|
101
|
+
} catch (e) {
|
|
102
|
+
toast.add({ title: t("nuxtUiMongocamp.bucket.updateFailedTitle"), description: e instanceof Error ? e.message : t("nuxtUiMongocamp.bucket.updateFailedFallback"), color: "error" });
|
|
102
103
|
return false;
|
|
103
104
|
} finally {
|
|
104
105
|
fileActionInFlight.value.delete(fileId);
|
|
@@ -114,10 +115,10 @@ export function useMongocampBucket() {
|
|
|
114
115
|
bucketActionInFlight.value.add(bucketName);
|
|
115
116
|
try {
|
|
116
117
|
const result = await bucketApi.clearBucket({ bucketName });
|
|
117
|
-
toast.add({ title: "
|
|
118
|
+
toast.add({ title: t("nuxtUiMongocamp.bucket.bucketClearedTitle"), description: t("nuxtUiMongocamp.bucket.bucketClearedDescription", { bucketName }), color: "success" });
|
|
118
119
|
return result.value;
|
|
119
|
-
} catch {
|
|
120
|
-
toast.add({ title: "
|
|
120
|
+
} catch (e) {
|
|
121
|
+
toast.add({ title: t("nuxtUiMongocamp.bucket.clearFailedTitle"), description: e instanceof Error ? e.message : t("nuxtUiMongocamp.bucket.clearFailedFallback", { bucketName }), color: "error" });
|
|
121
122
|
return false;
|
|
122
123
|
} finally {
|
|
123
124
|
bucketActionInFlight.value.delete(bucketName);
|
|
@@ -127,10 +128,10 @@ export function useMongocampBucket() {
|
|
|
127
128
|
bucketActionInFlight.value.add(bucketName);
|
|
128
129
|
try {
|
|
129
130
|
const result = await bucketApi.deleteBucket({ bucketName });
|
|
130
|
-
toast.add({ title: "
|
|
131
|
+
toast.add({ title: t("nuxtUiMongocamp.bucket.bucketDeletedTitle"), description: t("nuxtUiMongocamp.bucket.bucketDeletedDescription", { bucketName }), color: "success" });
|
|
131
132
|
return result.value;
|
|
132
|
-
} catch {
|
|
133
|
-
toast.add({ title: "
|
|
133
|
+
} catch (e) {
|
|
134
|
+
toast.add({ title: t("nuxtUiMongocamp.bucket.deleteFailedTitle"), description: e instanceof Error ? e.message : t("nuxtUiMongocamp.bucket.deleteFailedBucketFallback", { bucketName }), color: "error" });
|
|
134
135
|
return false;
|
|
135
136
|
} finally {
|
|
136
137
|
bucketActionInFlight.value.delete(bucketName);
|
|
@@ -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 {
|
|
1
|
+
import { useMongocampClientApi } from "#imports";
|
|
2
2
|
export function useMongocampIndex() {
|
|
3
|
-
const { indexApi } =
|
|
3
|
+
const { indexApi } = useMongocampClientApi();
|
|
4
4
|
async function listIndexes(collectionName) {
|
|
5
5
|
return indexApi.listIndices({ collectionName });
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { useMongocampClientApi } from "#imports";
|
|
2
2
|
export function useMongocampJobs() {
|
|
3
|
-
const { jobApi } =
|
|
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 {
|
|
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 } =
|
|
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
|
+
}
|