@sfxcode/nuxt-ui-mongocamp 1.3.1 → 1.3.3
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 +1 -1
- package/dist/module.d.mts +12 -0
- package/dist/module.json +1 -1
- package/dist/module.mjs +18 -5
- package/dist/runtime/components/MongocampAggregationBuilder.d.vue.ts +6 -0
- package/dist/runtime/components/MongocampAggregationBuilder.vue +390 -0
- package/dist/runtime/components/MongocampAggregationBuilder.vue.d.ts +6 -0
- package/dist/runtime/components/MongocampBulkDelete.d.vue.ts +11 -1
- package/dist/runtime/components/MongocampBulkDelete.vue +1 -0
- package/dist/runtime/components/MongocampBulkDelete.vue.d.ts +11 -1
- package/dist/runtime/components/MongocampBulkEdit.d.vue.ts +29 -0
- package/dist/runtime/components/MongocampBulkEdit.vue +138 -0
- package/dist/runtime/components/MongocampBulkEdit.vue.d.ts +29 -0
- package/dist/runtime/components/MongocampCollectionData.d.vue.ts +4 -1
- package/dist/runtime/components/MongocampCollectionData.vue +167 -4
- package/dist/runtime/components/MongocampCollectionData.vue.d.ts +4 -1
- package/dist/runtime/components/MongocampCollectionInfos.vue +266 -8
- package/dist/runtime/components/MongocampCollections.d.vue.ts +8 -1
- package/dist/runtime/components/MongocampCollections.vue +84 -72
- package/dist/runtime/components/MongocampCollections.vue.d.ts +8 -1
- package/dist/runtime/components/MongocampConfirmByName.d.vue.ts +23 -0
- package/dist/runtime/components/MongocampConfirmByName.vue +92 -0
- package/dist/runtime/components/MongocampConfirmByName.vue.d.ts +23 -0
- package/dist/runtime/components/MongocampErrorAlert.vue +28 -5
- package/dist/runtime/components/MongocampFilterBuilder.d.vue.ts +1 -0
- package/dist/runtime/components/MongocampFilterBuilder.vue +33 -2
- package/dist/runtime/components/MongocampFilterBuilder.vue.d.ts +1 -0
- package/dist/runtime/components/MongocampGrantList.d.vue.ts +7 -0
- package/dist/runtime/components/MongocampGrantList.vue +38 -0
- package/dist/runtime/components/MongocampGrantList.vue.d.ts +7 -0
- package/dist/runtime/components/MongocampImport.d.vue.ts +10 -0
- package/dist/runtime/components/MongocampImport.vue +479 -0
- package/dist/runtime/components/MongocampImport.vue.d.ts +10 -0
- package/dist/runtime/components/MongocampRoles.vue +45 -0
- package/dist/runtime/components/MongocampSettings.d.vue.ts +3 -0
- package/dist/runtime/components/MongocampSettings.vue +179 -0
- package/dist/runtime/components/MongocampSettings.vue.d.ts +3 -0
- package/dist/runtime/components/MongocampUsers.vue +183 -3
- package/dist/runtime/composables/useMongocampAdmin.d.ts +7 -1
- package/dist/runtime/composables/useMongocampAdmin.js +24 -1
- package/dist/runtime/composables/useMongocampAggregation.d.ts +28 -0
- package/dist/runtime/composables/useMongocampAggregation.js +100 -0
- package/dist/runtime/composables/useMongocampBucket.js +1 -1
- package/dist/runtime/composables/useMongocampBulkDelete.d.ts +1 -1
- package/dist/runtime/composables/useMongocampImport.d.ts +14 -0
- package/dist/runtime/composables/useMongocampImport.js +25 -0
- package/dist/runtime/composables/useMongocampIndex.d.ts +1 -0
- package/dist/runtime/composables/useMongocampIndex.js +8 -1
- package/dist/runtime/composables/useMongocampRoles.d.ts +1 -0
- package/dist/runtime/composables/useMongocampRoles.js +3 -2
- package/dist/runtime/composables/useMongocampSession.d.ts +8 -0
- package/dist/runtime/composables/useMongocampSession.js +45 -0
- package/dist/runtime/composables/useMongocampSystem.d.ts +15 -3
- package/dist/runtime/composables/useMongocampSystem.js +19 -2
- package/dist/runtime/locales/de.json +200 -3
- package/dist/runtime/locales/en.json +200 -3
- package/dist/runtime/plugin.js +19 -0
- package/dist/runtime/utils/aggregationErrors.d.ts +10 -0
- package/dist/runtime/utils/aggregationErrors.js +17 -0
- package/dist/runtime/utils/aggregationPipeline.d.ts +42 -0
- package/dist/runtime/utils/aggregationPipeline.js +118 -0
- package/dist/runtime/utils/aggregationResult.d.ts +5 -0
- package/dist/runtime/utils/aggregationResult.js +17 -0
- package/dist/runtime/utils/analyzeSamples.d.ts +27 -0
- package/dist/runtime/utils/analyzeSamples.js +92 -0
- package/dist/runtime/utils/batchInsert.d.ts +22 -0
- package/dist/runtime/utils/batchInsert.js +24 -0
- package/dist/runtime/utils/bulkDelete.d.ts +6 -1
- package/dist/runtime/utils/bulkDelete.js +28 -4
- package/dist/runtime/utils/bulkEdit.d.ts +27 -0
- package/dist/runtime/utils/bulkEdit.js +45 -0
- package/dist/runtime/utils/collectionProtection.d.ts +3 -0
- package/dist/runtime/utils/collectionProtection.js +7 -0
- package/dist/runtime/utils/configRows.d.ts +11 -0
- package/dist/runtime/utils/configRows.js +53 -0
- package/dist/runtime/utils/failureKind.d.ts +3 -0
- package/dist/runtime/utils/failureKind.js +11 -0
- package/dist/runtime/utils/filterSuggestions.d.ts +8 -0
- package/dist/runtime/utils/filterSuggestions.js +15 -0
- package/dist/runtime/utils/importPipeline.d.ts +21 -0
- package/dist/runtime/utils/importPipeline.js +52 -0
- package/dist/runtime/utils/importRows.d.ts +36 -0
- package/dist/runtime/utils/importRows.js +228 -0
- package/dist/runtime/utils/jwtExpiry.d.ts +3 -0
- package/dist/runtime/utils/jwtExpiry.js +31 -0
- package/dist/runtime/utils/objectId.d.ts +1 -0
- package/dist/runtime/utils/objectId.js +4 -0
- package/dist/runtime/utils/serverProbe.d.ts +10 -0
- package/dist/runtime/utils/serverProbe.js +25 -0
- package/dist/runtime/utils/sessionGuard.d.ts +10 -0
- package/dist/runtime/utils/sessionGuard.js +10 -0
- package/dist/runtime/utils/throttled.d.ts +6 -0
- package/dist/runtime/utils/throttled.js +16 -0
- package/package.json +1 -1
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { useMongocampClientApi } from "#imports";
|
|
2
|
+
const REQUEST_TIMEOUT_MS = 15e3;
|
|
3
|
+
function withTimeout() {
|
|
4
|
+
return { signal: AbortSignal.timeout(REQUEST_TIMEOUT_MS) };
|
|
5
|
+
}
|
|
2
6
|
export function useMongocampIndex() {
|
|
3
7
|
const { indexApi } = useMongocampClientApi();
|
|
4
8
|
async function listIndexes(collectionName) {
|
|
@@ -7,6 +11,9 @@ export function useMongocampIndex() {
|
|
|
7
11
|
async function createIndex(collectionName, keys, options) {
|
|
8
12
|
return indexApi.createIndex({ collectionName, indexCreateRequest: { keys, indexOptionsRequest: options } });
|
|
9
13
|
}
|
|
14
|
+
async function createIndexForField(collectionName, fieldName, sortAscending = true) {
|
|
15
|
+
return indexApi.createIndexForField({ collectionName, fieldName, sortAscending }, withTimeout());
|
|
16
|
+
}
|
|
10
17
|
async function createUniqueIndex(collectionName, fieldName, sortAscending) {
|
|
11
18
|
return indexApi.createUniqueIndex({ collectionName, fieldName, sortAscending });
|
|
12
19
|
}
|
|
@@ -19,5 +26,5 @@ export function useMongocampIndex() {
|
|
|
19
26
|
async function deleteIndex(collectionName, indexName) {
|
|
20
27
|
return indexApi.deleteIndex({ collectionName, indexName });
|
|
21
28
|
}
|
|
22
|
-
return { listIndexes, createIndex, createUniqueIndex, createTextIndex, createExpiringIndex, deleteIndex };
|
|
29
|
+
return { listIndexes, createIndex, createIndexForField, createUniqueIndex, createTextIndex, createExpiringIndex, deleteIndex };
|
|
23
30
|
}
|
|
@@ -9,6 +9,7 @@ export function useMongocampRoles() {
|
|
|
9
9
|
const notAllowedPath = config.public.nuxtUiMongocampOptions.notAllowedPath ?? "/";
|
|
10
10
|
const logoutRedirectPath = config.public.nuxtUiMongocampOptions.logoutRedirectPath ?? "/";
|
|
11
11
|
const logoutPath = config.public.nuxtUiMongocampOptions.logoutPath ?? "/logout";
|
|
12
|
+
const loginPath = config.public.nuxtUiMongocampOptions.loginPath ?? "/";
|
|
12
13
|
const managerRoles = config.public.nuxtUiMongocampOptions.managerRoles ?? [];
|
|
13
14
|
const securedRouteParts = config.public.nuxtUiMongocampOptions.securedRouteParts ?? [];
|
|
14
15
|
const managementRouteParts = config.public.nuxtUiMongocampOptions.managementRouteParts ?? [];
|
|
@@ -23,7 +24,7 @@ export function useMongocampRoles() {
|
|
|
23
24
|
return patterns.some((pattern) => minimatch(route, pattern) || minimatch(`${route}/`, pattern));
|
|
24
25
|
}
|
|
25
26
|
function isAllowedPathForRoute(route) {
|
|
26
|
-
if (route === notAllowedPath || route === logoutRedirectPath) {
|
|
27
|
+
if (route === notAllowedPath || route === logoutRedirectPath || route === loginPath) {
|
|
27
28
|
return true;
|
|
28
29
|
}
|
|
29
30
|
if (!isLoggedIn.value && matchesAnyPattern(route, securedRouteParts)) {
|
|
@@ -35,5 +36,5 @@ export function useMongocampRoles() {
|
|
|
35
36
|
}
|
|
36
37
|
return true;
|
|
37
38
|
}
|
|
38
|
-
return { isLoggedIn, isAdmin, isManager, notAllowedPath, logoutRedirectPath, logoutPath, isAllowedPathForRoute };
|
|
39
|
+
return { isLoggedIn, isAdmin, isManager, notAllowedPath, logoutRedirectPath, logoutPath, loginPath, isAllowedPathForRoute };
|
|
39
40
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { TokenExpiryState } from '../utils/jwtExpiry.js';
|
|
2
|
+
export type SessionState = 'active' | 'expired' | 'rejected' | 'unknown';
|
|
3
|
+
export declare function useMongocampSession(): {
|
|
4
|
+
checkExpiry: () => TokenExpiryState;
|
|
5
|
+
currentState: () => SessionState;
|
|
6
|
+
diagnoseFailure: () => Promise<SessionState>;
|
|
7
|
+
invalidateSession: () => Promise<void>;
|
|
8
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { useRuntimeConfig } from "#app";
|
|
2
|
+
import { useMongocampAuth, useMongocampClientApi, useMongocampStorage } from "#imports";
|
|
3
|
+
import { tokenExpiryState } from "../utils/jwtExpiry.js";
|
|
4
|
+
import { createServerProbe } from "../utils/serverProbe.js";
|
|
5
|
+
import { createThrottled } from "../utils/throttled.js";
|
|
6
|
+
let probe;
|
|
7
|
+
let tokenAccepted;
|
|
8
|
+
let authApi;
|
|
9
|
+
const TOKEN_CHECK_TIMEOUT_MS = 5e3;
|
|
10
|
+
export function useMongocampSession() {
|
|
11
|
+
const config = useRuntimeConfig();
|
|
12
|
+
const { logout } = useMongocampAuth();
|
|
13
|
+
const storage = useMongocampStorage();
|
|
14
|
+
const isProxyMode = config.public.nuxtUiMongocampOptions?.useServerProxy ?? false;
|
|
15
|
+
probe ??= createServerProbe({ getUrl: () => config.public.mongocamp?.url });
|
|
16
|
+
if (!isProxyMode) authApi = useMongocampClientApi().authApi;
|
|
17
|
+
tokenAccepted ??= createThrottled(async () => {
|
|
18
|
+
try {
|
|
19
|
+
return (await authApi.isAuthenticated({ signal: AbortSignal.timeout(TOKEN_CHECK_TIMEOUT_MS) })).value === true;
|
|
20
|
+
} catch {
|
|
21
|
+
return false;
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
function checkExpiry() {
|
|
25
|
+
if (isProxyMode) return "unknown";
|
|
26
|
+
const token = storage.value?.token;
|
|
27
|
+
return typeof token === "string" && token ? tokenExpiryState(token) : "unknown";
|
|
28
|
+
}
|
|
29
|
+
function currentState() {
|
|
30
|
+
const expiry = checkExpiry();
|
|
31
|
+
return expiry === "valid" ? "active" : expiry;
|
|
32
|
+
}
|
|
33
|
+
async function diagnoseFailure() {
|
|
34
|
+
const expiry = checkExpiry();
|
|
35
|
+
if (expiry === "expired") return "expired";
|
|
36
|
+
if (isProxyMode || !storage.value?.token) return "unknown";
|
|
37
|
+
if (await probe() !== "reachable") return "unknown";
|
|
38
|
+
return await tokenAccepted() ? "active" : "rejected";
|
|
39
|
+
}
|
|
40
|
+
async function invalidateSession() {
|
|
41
|
+
if (isProxyMode) return;
|
|
42
|
+
await logout();
|
|
43
|
+
}
|
|
44
|
+
return { checkExpiry, currentState, diagnoseFailure, invalidateSession };
|
|
45
|
+
}
|
|
@@ -1,12 +1,24 @@
|
|
|
1
1
|
import type { DatabaseInfo } from '@sfxcode/nuxt-mongocamp-server';
|
|
2
|
+
import type { ConfigRow } from '../utils/configRows.js';
|
|
3
|
+
export interface ServerPlugins {
|
|
4
|
+
routesPlugins: string[];
|
|
5
|
+
filePlugins: string[];
|
|
6
|
+
ignoredPlugins: string[];
|
|
7
|
+
}
|
|
2
8
|
/**
|
|
3
|
-
* Read-only wrapper for databaseApi. Deliberately
|
|
4
|
-
* deleteDatabase
|
|
5
|
-
*
|
|
9
|
+
* Read-only wrapper for databaseApi and applicationApi. Deliberately read-only —
|
|
10
|
+
* deleteDatabase, shutdown and updateConfiguration are out of scope (cross-cutting, highly
|
|
11
|
+
* destructive) and not exposed. The server's settings and configuration payloads contain real secrets
|
|
12
|
+
* (auth secret, database credentials and host), so the settings methods never hand them out:
|
|
13
|
+
* `getSettings` returns the plugin lists only, and the configuration methods return rows that are
|
|
14
|
+
* already masked (see utils/configRows.ts).
|
|
6
15
|
*/
|
|
7
16
|
export declare function useMongocampSystem(): {
|
|
8
17
|
listDatabases: () => Promise<string[]>;
|
|
9
18
|
getDatabaseInfos: () => Promise<DatabaseInfo[]>;
|
|
10
19
|
getDatabaseInfo: (databaseName: string) => Promise<DatabaseInfo>;
|
|
11
20
|
listCollectionsByDatabase: (databaseName: string) => Promise<string[]>;
|
|
21
|
+
getSettings: () => Promise<ServerPlugins>;
|
|
22
|
+
listConfigurations: () => Promise<ConfigRow[]>;
|
|
23
|
+
getConfig: (configurationKey: string) => Promise<ConfigRow>;
|
|
12
24
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { useMongocampClientApi } from "#imports";
|
|
2
|
+
import { buildConfigRows } from "../utils/configRows.js";
|
|
2
3
|
const REQUEST_TIMEOUT_MS = 15e3;
|
|
3
4
|
function withTimeout() {
|
|
4
5
|
return { signal: AbortSignal.timeout(REQUEST_TIMEOUT_MS) };
|
|
5
6
|
}
|
|
6
7
|
export function useMongocampSystem() {
|
|
7
|
-
const { databaseApi } = useMongocampClientApi();
|
|
8
|
+
const { databaseApi, applicationApi } = useMongocampClientApi();
|
|
8
9
|
async function listDatabases() {
|
|
9
10
|
return databaseApi.listDatabases(withTimeout());
|
|
10
11
|
}
|
|
@@ -17,5 +18,21 @@ export function useMongocampSystem() {
|
|
|
17
18
|
async function listCollectionsByDatabase(databaseName) {
|
|
18
19
|
return databaseApi.listCollectionsByDatabase({ databaseName }, withTimeout());
|
|
19
20
|
}
|
|
20
|
-
|
|
21
|
+
async function getSettings() {
|
|
22
|
+
const settings = await applicationApi.settings(withTimeout());
|
|
23
|
+
return {
|
|
24
|
+
routesPlugins: settings.routesPlugins ?? [],
|
|
25
|
+
filePlugins: settings.filePlugins ?? [],
|
|
26
|
+
ignoredPlugins: settings.ignoredPlugins ?? []
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
async function listConfigurations() {
|
|
30
|
+
return buildConfigRows(await applicationApi.listConfigurations(withTimeout()));
|
|
31
|
+
}
|
|
32
|
+
async function getConfig(configurationKey) {
|
|
33
|
+
const [row] = buildConfigRows([await applicationApi.getConfig({ configurationKey }, withTimeout())]);
|
|
34
|
+
if (!row) throw new Error(`The server returned no usable configuration for "${configurationKey}"`);
|
|
35
|
+
return row;
|
|
36
|
+
}
|
|
37
|
+
return { listDatabases, getDatabaseInfos, getDatabaseInfo, listCollectionsByDatabase, getSettings, listConfigurations, getConfig };
|
|
21
38
|
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"nuxtUiMongocamp": {
|
|
3
|
+
"confirmByName": {
|
|
4
|
+
"prompt": "Zur Bestätigung \"{name}\" eingeben"
|
|
5
|
+
},
|
|
3
6
|
"common": {
|
|
4
7
|
"cancel": "Abbrechen",
|
|
5
8
|
"delete": "Löschen",
|
|
@@ -27,6 +30,15 @@
|
|
|
27
30
|
"addUser": "Benutzer hinzufügen",
|
|
28
31
|
"editUserTitle": "Benutzer bearbeiten: {userId}",
|
|
29
32
|
"deleteUserTitle": "Benutzer löschen",
|
|
33
|
+
"detailsTooltip": "Details",
|
|
34
|
+
"detailsTitle": "Benutzer: {userId}",
|
|
35
|
+
"detailsRoles": "Rollen",
|
|
36
|
+
"detailsNoRoles": "Keine Rollen zugewiesen",
|
|
37
|
+
"detailsGrants": "Wirksame Berechtigungen",
|
|
38
|
+
"regenerateKeyTooltip": "API-Schlüssel neu erzeugen",
|
|
39
|
+
"regenerateKeyTitle": "API-Schlüssel neu erzeugen: {userId}",
|
|
40
|
+
"confirmRegenerateKey": "Möchten Sie den API-Schlüssel von {userId} wirklich neu erzeugen? Der bisherige Schlüssel ist sofort ungültig, und alles, was ihn noch verwendet, wird abgewiesen.",
|
|
41
|
+
"newApiKeyLabel": "Neuer API-Schlüssel",
|
|
30
42
|
"confirmDelete": "Möchten Sie den Benutzer {userId} wirklich löschen? Diese Aktion kann nicht rückgängig gemacht werden.",
|
|
31
43
|
"email": "E-Mail",
|
|
32
44
|
"password": "Passwort",
|
|
@@ -52,6 +64,9 @@
|
|
|
52
64
|
"addRole": "Rolle hinzufügen",
|
|
53
65
|
"editRoleTitle": "Rolle bearbeiten: {roleName}",
|
|
54
66
|
"deleteRoleTitle": "Rolle löschen",
|
|
67
|
+
"detailsTooltip": "Details",
|
|
68
|
+
"detailsTitle": "Rolle: {roleName}",
|
|
69
|
+
"detailsGrants": "Berechtigungen",
|
|
55
70
|
"confirmDelete": "Möchten Sie die Rolle {roleName} wirklich löschen? Diese Aktion kann nicht rückgängig gemacht werden.",
|
|
56
71
|
"roleName": "Rollenname",
|
|
57
72
|
"adminRole": "Admin-Rolle",
|
|
@@ -105,7 +120,18 @@
|
|
|
105
120
|
"clearBucketTitle": "Bucket leeren",
|
|
106
121
|
"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.",
|
|
107
122
|
"deleteBucketTitle": "Bucket löschen",
|
|
108
|
-
"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."
|
|
123
|
+
"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.",
|
|
124
|
+
"clearTooltip": "Collection leeren",
|
|
125
|
+
"dropTooltip": "Collection löschen",
|
|
126
|
+
"clearTitle": "Collection leeren",
|
|
127
|
+
"dropTitle": "Collection löschen",
|
|
128
|
+
"confirmClear": "Dadurch werden alle Dokumente in \"{name}\" dauerhaft gelöscht. Die Collection selbst bleibt erhalten. Diese Aktion kann nicht rückgängig gemacht werden.",
|
|
129
|
+
"confirmDrop": "Dadurch wird die Collection \"{name}\" samt allen Dokumenten und Indizes dauerhaft gelöscht. Diese Aktion kann nicht rückgängig gemacht werden.",
|
|
130
|
+
"clearedTitle": "Collection geleert",
|
|
131
|
+
"clearedDescription": "Alle Dokumente in \"{name}\" wurden gelöscht.",
|
|
132
|
+
"droppedTitle": "Collection gelöscht",
|
|
133
|
+
"droppedDescription": "Die Collection \"{name}\" wurde gelöscht.",
|
|
134
|
+
"bucketActionFailed": "Die Aktion für den Bucket \"{bucketName}\" ist fehlgeschlagen."
|
|
109
135
|
},
|
|
110
136
|
"collectionInfos": {
|
|
111
137
|
"documents": "Dokumente",
|
|
@@ -119,6 +145,11 @@
|
|
|
119
145
|
"copyAsTs": "Als TS-Interface kopieren",
|
|
120
146
|
"copiedTitle": "In die Zwischenablage kopiert",
|
|
121
147
|
"copiedDescription": "TypeScript-Interface kopiert.",
|
|
148
|
+
"jsonSchema": "JSON-Schema",
|
|
149
|
+
"jsonSchemaTitle": "JSON-Schema von {name}",
|
|
150
|
+
"jsonSchemaFailedTitle": "Das JSON-Schema konnte nicht geladen werden",
|
|
151
|
+
"downloadSchema": "Herunterladen",
|
|
152
|
+
"schemaCopiedDescription": "JSON-Schema kopiert.",
|
|
122
153
|
"fieldsCount": "{count} Felder",
|
|
123
154
|
"columnField": "Feld",
|
|
124
155
|
"columnType": "Typ",
|
|
@@ -137,7 +168,19 @@
|
|
|
137
168
|
"confirmDeleteIndex": "Möchten Sie den Index \"{indexName}\" wirklich löschen? Diese Aktion kann nicht rückgängig gemacht werden.",
|
|
138
169
|
"errorCreateIndex": "Fehler beim Erstellen des Index",
|
|
139
170
|
"errorDeleteIndex": "Fehler beim Löschen des Index",
|
|
140
|
-
"typeStandard": "Standard"
|
|
171
|
+
"typeStandard": "Standard",
|
|
172
|
+
"statsTitle": "Feldstatistik",
|
|
173
|
+
"statsAnalyze": "Felder analysieren",
|
|
174
|
+
"statsSampleSize": "Stichprobengröße",
|
|
175
|
+
"statsSampled": "{sampled} von {total} Dokumenten geprüft",
|
|
176
|
+
"statsHint": "Zählt, wie oft jedes Feld vorkommt und welche Werte es enthält, anhand einer zufälligen Stichprobe von Dokumenten.",
|
|
177
|
+
"statsNote": "Aus einer zufälligen Stichprobe berechnet, nicht aus der gesamten Collection.",
|
|
178
|
+
"statsTruncated": "Es werden nur die ersten {count} Felder angezeigt.",
|
|
179
|
+
"statsColumnPresent": "Vorhanden",
|
|
180
|
+
"statsPresentTitle": "In {present} von {sampled} geprüften Dokumenten",
|
|
181
|
+
"statsColumnValues": "Häufige Werte",
|
|
182
|
+
"statsEmpty": "Keine Dokumente zum Analysieren",
|
|
183
|
+
"statsFailed": "Die Feldstatistik konnte nicht geladen werden"
|
|
141
184
|
},
|
|
142
185
|
"collectionData": {
|
|
143
186
|
"filterPlaceholder": "Zeilen filtern...",
|
|
@@ -145,6 +188,13 @@
|
|
|
145
188
|
"uploadFileTooltip": "Datei hochladen",
|
|
146
189
|
"insertDocumentTooltip": "Dokument einfügen",
|
|
147
190
|
"reloadTooltip": "Neu laden",
|
|
191
|
+
"indexFieldTooltip": "{field} indizieren",
|
|
192
|
+
"indexAscending": "Aufsteigenden Index anlegen",
|
|
193
|
+
"indexDescending": "Absteigenden Index anlegen",
|
|
194
|
+
"indexCreatedTitle": "Index angelegt",
|
|
195
|
+
"indexCreatedDescription": "Der Index {name} auf {collection} wurde angelegt.",
|
|
196
|
+
"viewIndexes": "Indizes anzeigen",
|
|
197
|
+
"indexFailedTitle": "{field} konnte nicht indiziert werden",
|
|
148
198
|
"detailsTitle": "Details",
|
|
149
199
|
"insertDocumentTitle": "Dokument einfügen",
|
|
150
200
|
"editDocumentTitle": "Dokument bearbeiten",
|
|
@@ -244,6 +294,25 @@
|
|
|
244
294
|
"changeFailedTitle": "Änderung fehlgeschlagen",
|
|
245
295
|
"changeFailedFallback": "Ihr Passwort konnte nicht geändert werden."
|
|
246
296
|
},
|
|
297
|
+
"settings": {
|
|
298
|
+
"heading": "Servereinstellungen",
|
|
299
|
+
"loadFailedTitle": "Die Servereinstellungen konnten nicht geladen werden",
|
|
300
|
+
"adminOnly": "Nur Administratoren können die Servereinstellungen einsehen.",
|
|
301
|
+
"pluginsHeading": "Plugins",
|
|
302
|
+
"routesPlugins": "Routen-Plugins",
|
|
303
|
+
"filePlugins": "Datei-Plugins",
|
|
304
|
+
"ignoredPlugins": "Ignorierte Plugins",
|
|
305
|
+
"noPlugins": "Keine",
|
|
306
|
+
"searchPlaceholder": "Einstellungen durchsuchen...",
|
|
307
|
+
"maskedNote": "Geheime Werte (Passwörter, Schlüssel, Zugangsdaten, Hosts) werden nie angezeigt.",
|
|
308
|
+
"maskedHint": "Verborgen: dieser Wert ist geheim",
|
|
309
|
+
"columnKey": "Einstellung",
|
|
310
|
+
"columnValue": "Wert",
|
|
311
|
+
"columnType": "Typ",
|
|
312
|
+
"columnRestart": "Neustart",
|
|
313
|
+
"restartNeeded": "Neustart nötig",
|
|
314
|
+
"empty": "Keine Einstellungen gefunden"
|
|
315
|
+
},
|
|
247
316
|
"databases": {
|
|
248
317
|
"heading": "Datenbanken",
|
|
249
318
|
"columnDatabase": "Datenbank",
|
|
@@ -286,6 +355,7 @@
|
|
|
286
355
|
"forbidden": "Dafür fehlt dir die Berechtigung.",
|
|
287
356
|
"generic": "Etwas ist schiefgelaufen.",
|
|
288
357
|
"loginAgain": "Erneut anmelden",
|
|
358
|
+
"requestRefused": "Der Server ist erreichbar und Ihre Sitzung ist gültig, hat diese Anfrage aber abgelehnt. Versuchen Sie es erneut oder ändern Sie Ihre Anfrage.",
|
|
289
359
|
"filterRejectedTitle": "Der Filter konnte nicht angewendet werden",
|
|
290
360
|
"filterRejected": "Der Server hat die aktuelle Suche oder die Filter abgelehnt, obwohl die Collection selbst lädt. Setze sie zurück oder entferne die letzte Bedingung und versuche es erneut.",
|
|
291
361
|
"clearFilters": "Filter zurücksetzen"
|
|
@@ -319,7 +389,21 @@
|
|
|
319
389
|
"selectAll": "Alle Zeilen dieser Seite auswählen",
|
|
320
390
|
"selectRow": "Zeile auswählen",
|
|
321
391
|
"partialFailure": "{failed} von {total} konnten nicht gelöscht werden: {reason}",
|
|
322
|
-
"cannotSelectSelf": "Du kannst dein eigenes Konto nicht löschen"
|
|
392
|
+
"cannotSelectSelf": "Du kannst dein eigenes Konto nicht löschen",
|
|
393
|
+
"editSelected": "Auswahl bearbeiten",
|
|
394
|
+
"editTitle": "{count} ausgewähltes Dokument bearbeiten | {count} ausgewählte Dokumente bearbeiten",
|
|
395
|
+
"editDescription": "Setzt ein Feld in allen ausgewählten Dokumenten auf denselben Wert.",
|
|
396
|
+
"editField": "Feld",
|
|
397
|
+
"editType": "Werttyp",
|
|
398
|
+
"editValue": "Wert",
|
|
399
|
+
"editTrue": "true",
|
|
400
|
+
"editFalse": "false",
|
|
401
|
+
"editValueRequired": "Wert eingeben",
|
|
402
|
+
"editSummary": "Setzt \"{field}\" in {count} Dokument. | Setzt \"{field}\" in {count} Dokumenten.",
|
|
403
|
+
"confirmEdit": "{count} aktualisieren",
|
|
404
|
+
"editPartialFailure": "{failed} von {total} konnten nicht aktualisiert werden: {reason}",
|
|
405
|
+
"editShortfall": "nur {matched} von {expected} ausgewählten Dokumenten wurden gefunden",
|
|
406
|
+
"editUnaddressable": "diese Dokument-ID kann nicht gesammelt aktualisiert werden"
|
|
323
407
|
},
|
|
324
408
|
"filterBuilder": {
|
|
325
409
|
"matchLabel": "Treffer bei",
|
|
@@ -357,6 +441,119 @@
|
|
|
357
441
|
"isEmpty": "existiert nicht",
|
|
358
442
|
"isNotEmpty": "existiert"
|
|
359
443
|
}
|
|
444
|
+
},
|
|
445
|
+
"import": {
|
|
446
|
+
"trigger": "Dokumente importieren",
|
|
447
|
+
"title": "Dokumente importieren",
|
|
448
|
+
"chooseFile": "JSON- oder CSV-Datei auswählen",
|
|
449
|
+
"hint": "Ein JSON-Array von Objekten oder eine CSV-Datei mit Kopfzeile. Bis zu {maxRows} Zeilen und {maxMb} MB.",
|
|
450
|
+
"chooseButton": "Datei auswählen",
|
|
451
|
+
"readError": "Die Datei konnte nicht gelesen werden",
|
|
452
|
+
"format": "Format",
|
|
453
|
+
"formatJson": "JSON",
|
|
454
|
+
"formatCsv": "CSV",
|
|
455
|
+
"delimiter": "Trennzeichen",
|
|
456
|
+
"delimiterComma": "Komma (,)",
|
|
457
|
+
"delimiterSemicolon": "Semikolon (;)",
|
|
458
|
+
"delimiterTab": "Tabulator",
|
|
459
|
+
"columnTypes": "Spaltentypen",
|
|
460
|
+
"typeString": "Text",
|
|
461
|
+
"typeNumber": "Zahl",
|
|
462
|
+
"typeBoolean": "Boolean",
|
|
463
|
+
"typeDate": "Datum",
|
|
464
|
+
"typeJson": "JSON",
|
|
465
|
+
"emptyAsText": "Leere Textzellen als leere Zeichenkette behalten",
|
|
466
|
+
"stampMetadata": "Erstellt-/Geändert-Informationen hinzufügen",
|
|
467
|
+
"summary": "{ready} von {total} Zeilen bereit zum Import",
|
|
468
|
+
"problems": "1 Zeile hat ein Problem und wird übersprungen | {count} Zeilen haben Probleme und werden übersprungen",
|
|
469
|
+
"truncated": "Es werden nur die ersten {maxRows} Zeilen importiert.",
|
|
470
|
+
"previewTitle": "Vorschau (erste {count} Zeilen)",
|
|
471
|
+
"moreErrors": "…und {count} weitere",
|
|
472
|
+
"errorRow": "Zeile {row}",
|
|
473
|
+
"errorRowColumn": "Zeile {row}, Spalte {column}",
|
|
474
|
+
"back": "Andere Datei wählen",
|
|
475
|
+
"close": "Schließen",
|
|
476
|
+
"importButton": "{count} Zeile importieren | {count} Zeilen importieren",
|
|
477
|
+
"importing": "Importiere… {done} von {total}",
|
|
478
|
+
"stop": "Stopp",
|
|
479
|
+
"result": "{count} Zeile importiert | {count} Zeilen importiert",
|
|
480
|
+
"failedBatch": "Zeilen {from}–{to} konnten nicht importiert werden: {reason}",
|
|
481
|
+
"maybePartial": "Ein Teil dieser Zeilen wurde möglicherweise schon hinzugefügt — ein erneuter Versuch kann Duplikate erzeugen.",
|
|
482
|
+
"retryFailed": "Fehlgeschlagene Zeilen erneut versuchen",
|
|
483
|
+
"aborted": "Import gestoppt. {count} Zeilen wurden nicht gesendet.",
|
|
484
|
+
"error": {
|
|
485
|
+
"file-too-large": "Die Datei ist zu groß",
|
|
486
|
+
"invalid-json": "Die Datei ist kein gültiges JSON",
|
|
487
|
+
"not-array": "Ein JSON-Array von Objekten wurde erwartet",
|
|
488
|
+
"not-object": "Dieser Eintrag ist kein Objekt",
|
|
489
|
+
"invalid-delimiter": "Ungültiges Trennzeichen",
|
|
490
|
+
"invalid-csv": "Die CSV-Datei konnte nicht gelesen werden (nicht geschlossenes Anführungszeichen oder leere Datei)",
|
|
491
|
+
"invalid-header": "Die Kopfzeile enthält einen leeren oder doppelten Spaltennamen",
|
|
492
|
+
"field-count": "Diese Zeile hat mehr Felder als die Kopfzeile",
|
|
493
|
+
"too-many-rows": "Zu viele Zeilen — die überzähligen werden ignoriert",
|
|
494
|
+
"empty-row": "Diese Zeile hat keine Felder",
|
|
495
|
+
"forbidden-key": "Feldnamen dürfen nicht mit $ beginnen oder __proto__ heißen",
|
|
496
|
+
"too-deep": "Diese Zeile ist zu tief verschachtelt",
|
|
497
|
+
"invalid-number": "Keine gültige Zahl",
|
|
498
|
+
"unsafe-integer": "Ganzzahl zu groß, um exakt gespeichert zu werden — als Text importieren",
|
|
499
|
+
"invalid-id": "_id muss eine 24-stellige Hex-Zeichenkette sein",
|
|
500
|
+
"invalid-boolean": "Erwartet true/false, yes/no oder 1/0",
|
|
501
|
+
"invalid-date": "Kein gültiges ISO-Datum",
|
|
502
|
+
"invalid-json-value": "Kein gültiges JSON"
|
|
503
|
+
}
|
|
504
|
+
},
|
|
505
|
+
"aggregation": {
|
|
506
|
+
"errors": {
|
|
507
|
+
"forbidden": "Diese Pipeline verwendet {operator}, was hier nicht erlaubt ist.",
|
|
508
|
+
"retryable": "Die Anfrage wurde auf dem Weg zum Server blockiert. Bitte erneut versuchen.",
|
|
509
|
+
"unavailable": "Der Server hat diese Anfrage nicht beantwortet. Möglicherweise liefert die Pipeline keine Ergebnisse; versuche es erneut oder lockere den Filter."
|
|
510
|
+
},
|
|
511
|
+
"modeVisual": "Stufen",
|
|
512
|
+
"modeJson": "JSON",
|
|
513
|
+
"addStage": "Stufe hinzufügen",
|
|
514
|
+
"newStageType": "Stufentyp",
|
|
515
|
+
"stageTitle": "Stufe {n}",
|
|
516
|
+
"stageValue": "JSON der Stufe {type}",
|
|
517
|
+
"moveUp": "Stufe nach oben",
|
|
518
|
+
"moveDown": "Stufe nach unten",
|
|
519
|
+
"removeStage": "Stufe entfernen",
|
|
520
|
+
"jsonLabel": "Pipeline (JSON-Array)",
|
|
521
|
+
"run": "Ausführen",
|
|
522
|
+
"resultsCount": "{count} Ergebnis | {count} Ergebnisse",
|
|
523
|
+
"pageSize": "Zeilen pro Seite",
|
|
524
|
+
"exportTooltip": "Diese Seite exportieren",
|
|
525
|
+
"exportJson": "Seite als JSON exportieren",
|
|
526
|
+
"exportCsv": "Seite als CSV exportieren",
|
|
527
|
+
"noResults": "Die Pipeline hat keine Ergebnisse geliefert",
|
|
528
|
+
"precisionNote": "Die Ergebnisse sind reines JSON: Datumswerte erscheinen als ISO-Text, ganze Zahlen über 2^53 können gerundet sein.",
|
|
529
|
+
"runFailedTitle": "Die Pipeline konnte nicht ausgeführt werden",
|
|
530
|
+
"fixStages": "Bitte zuerst die unten markierten Stufen korrigieren.",
|
|
531
|
+
"fixStagesFirst": "Bitte zuerst die fehlerhaften Stufen korrigieren, bevor zu JSON gewechselt wird.",
|
|
532
|
+
"cannotShowVisually": "Diese Pipeline verwendet Stufen, für die der Stufen-Editor kein Formular hat. Bitte in der JSON-Ansicht bleiben.",
|
|
533
|
+
"stageTypes": {
|
|
534
|
+
"$match": "$match — Dokumente filtern",
|
|
535
|
+
"$group": "$group — gruppieren und aggregieren",
|
|
536
|
+
"$sort": "$sort — sortieren",
|
|
537
|
+
"$project": "$project — Felder wählen oder berechnen",
|
|
538
|
+
"$limit": "$limit — die ersten N behalten"
|
|
539
|
+
},
|
|
540
|
+
"stageErrors": {
|
|
541
|
+
"invalid-json": "Kein gültiges JSON",
|
|
542
|
+
"not-object": "Diese Stufe braucht ein JSON-Objekt",
|
|
543
|
+
"invalid-limit": "Das Limit muss eine ganze Zahl ab 1 sein",
|
|
544
|
+
"invalid-sort": "Sortierrichtungen müssen 1 oder -1 sein",
|
|
545
|
+
"group-needs-id": "$group braucht eine _id (null gruppiert alles)",
|
|
546
|
+
"forbidden": "{operator} ist nicht erlaubt"
|
|
547
|
+
},
|
|
548
|
+
"pipelineErrors": {
|
|
549
|
+
"too-large": "Die Pipeline ist zu groß",
|
|
550
|
+
"invalid-json": "Die Pipeline ist kein gültiges JSON",
|
|
551
|
+
"not-array": "Die Pipeline muss ein JSON-Array von Stufen sein",
|
|
552
|
+
"too-many-stages": "Eine Pipeline darf höchstens 50 Stufen haben",
|
|
553
|
+
"stage-shape": "Stufe {n} muss ein Objekt mit genau einem Schlüssel sein, der mit $ beginnt, zum Beispiel \"$match\"",
|
|
554
|
+
"forbidden-operator": "{operator} ist nicht erlaubt (Stufe {n})",
|
|
555
|
+
"too-deep": "Stufe {n} ist zu tief verschachtelt"
|
|
556
|
+
}
|
|
360
557
|
}
|
|
361
558
|
}
|
|
362
559
|
}
|