@sfxcode/nuxt-ui-mongocamp 1.4.0 → 1.5.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 (93) hide show
  1. package/README.md +1 -1
  2. package/dist/module.json +1 -1
  3. package/dist/runtime/components/MongocampAggregationBuilder.d.vue.ts +1 -0
  4. package/dist/runtime/components/MongocampAggregationBuilder.vue +29 -2
  5. package/dist/runtime/components/MongocampAggregationBuilder.vue.d.ts +1 -0
  6. package/dist/runtime/components/MongocampAggregationStagePreview.d.vue.ts +1 -0
  7. package/dist/runtime/components/MongocampAggregationStagePreview.vue +4 -3
  8. package/dist/runtime/components/MongocampAggregationStagePreview.vue.d.ts +1 -0
  9. package/dist/runtime/components/MongocampBucketFiles.vue +61 -0
  10. package/dist/runtime/components/MongocampBulkDelete.d.vue.ts +2 -12
  11. package/dist/runtime/components/MongocampBulkDelete.vue +14 -40
  12. package/dist/runtime/components/MongocampBulkDelete.vue.d.ts +2 -12
  13. package/dist/runtime/components/MongocampBulkEdit.d.vue.ts +5 -6
  14. package/dist/runtime/components/MongocampBulkEdit.vue +43 -26
  15. package/dist/runtime/components/MongocampBulkEdit.vue.d.ts +5 -6
  16. package/dist/runtime/components/MongocampCollectionCharts.d.vue.ts +2 -0
  17. package/dist/runtime/components/MongocampCollectionCharts.vue +9 -8
  18. package/dist/runtime/components/MongocampCollectionCharts.vue.d.ts +2 -0
  19. package/dist/runtime/components/MongocampCollectionCopy.vue +19 -258
  20. package/dist/runtime/components/MongocampCollectionData.d.vue.ts +2 -0
  21. package/dist/runtime/components/MongocampCollectionData.vue +206 -126
  22. package/dist/runtime/components/MongocampCollectionData.vue.d.ts +2 -0
  23. package/dist/runtime/components/MongocampCollectionRename.d.vue.ts +22 -0
  24. package/dist/runtime/components/MongocampCollectionRename.vue +116 -0
  25. package/dist/runtime/components/MongocampCollectionRename.vue.d.ts +22 -0
  26. package/dist/runtime/components/MongocampCollections.vue +31 -12
  27. package/dist/runtime/components/MongocampCommandPalette.vue +2 -2
  28. package/dist/runtime/components/MongocampDashboard.vue +19 -4
  29. package/dist/runtime/components/MongocampDatabases.vue +13 -2
  30. package/dist/runtime/components/MongocampExportAll.vue +13 -26
  31. package/dist/runtime/components/MongocampImport.vue +169 -3
  32. package/dist/runtime/components/MongocampIndexes.vue +54 -13
  33. package/dist/runtime/components/MongocampJobs.vue +14 -3
  34. package/dist/runtime/components/MongocampRoleGrants.vue +16 -3
  35. package/dist/runtime/components/MongocampRoles.vue +13 -2
  36. package/dist/runtime/components/MongocampServerOverview.vue +16 -39
  37. package/dist/runtime/components/MongocampSettings.d.vue.ts +3 -0
  38. package/dist/runtime/components/MongocampSettings.vue +14 -2
  39. package/dist/runtime/components/MongocampSettings.vue.d.ts +3 -0
  40. package/dist/runtime/components/MongocampUsers.vue +16 -3
  41. package/dist/runtime/composables/useMongocampAdminGate.d.ts +12 -0
  42. package/dist/runtime/composables/useMongocampAdminGate.js +12 -0
  43. package/dist/runtime/composables/useMongocampAggregation.d.ts +11 -0
  44. package/dist/runtime/composables/useMongocampAggregation.js +12 -5
  45. package/dist/runtime/composables/useMongocampBulkByFilter.d.ts +15 -0
  46. package/dist/runtime/composables/useMongocampBulkByFilter.js +32 -0
  47. package/dist/runtime/composables/useMongocampCollectionCopy.d.ts +25 -65
  48. package/dist/runtime/composables/useMongocampCollectionCopy.js +27 -84
  49. package/dist/runtime/composables/useMongocampExportAll.d.ts +27 -21
  50. package/dist/runtime/composables/useMongocampExportAll.js +51 -21
  51. package/dist/runtime/composables/useMongocampExtendedJson.d.ts +2 -1
  52. package/dist/runtime/composables/useMongocampExtendedJson.js +32 -5
  53. package/dist/runtime/composables/useMongocampFetchAll.js +1 -1
  54. package/dist/runtime/composables/useMongocampFieldTypes.d.ts +24 -0
  55. package/dist/runtime/composables/useMongocampFieldTypes.js +44 -0
  56. package/dist/runtime/composables/useMongocampImport.d.ts +4 -0
  57. package/dist/runtime/composables/useMongocampImport.js +5 -2
  58. package/dist/runtime/composables/useMongocampIndex.d.ts +6 -1
  59. package/dist/runtime/composables/useMongocampIndex.js +7 -1
  60. package/dist/runtime/composables/useMongocampPermissions.d.ts +8 -5
  61. package/dist/runtime/composables/useMongocampPermissions.js +24 -2
  62. package/dist/runtime/composables/useMongocampQuery.d.ts +3 -3
  63. package/dist/runtime/composables/useMongocampServerOverview.d.ts +4 -11
  64. package/dist/runtime/composables/useMongocampServerOverview.js +12 -22
  65. package/dist/runtime/locales/de.json +69 -71
  66. package/dist/runtime/locales/en.json +69 -71
  67. package/dist/runtime/utils/aggregationErrors.d.ts +4 -0
  68. package/dist/runtime/utils/aggregationErrors.js +7 -0
  69. package/dist/runtime/utils/batchInsert.d.ts +6 -0
  70. package/dist/runtime/utils/batchInsert.js +31 -3
  71. package/dist/runtime/utils/bsonTypes.d.ts +10 -0
  72. package/dist/runtime/utils/bsonTypes.js +42 -0
  73. package/dist/runtime/utils/collectionCopy.d.ts +0 -2
  74. package/dist/runtime/utils/collectionCopy.js +0 -1
  75. package/dist/runtime/utils/configRows.d.ts +7 -0
  76. package/dist/runtime/utils/configRows.js +4 -0
  77. package/dist/runtime/utils/documentCompare.js +2 -1
  78. package/dist/runtime/utils/documentPaths.d.ts +5 -8
  79. package/dist/runtime/utils/documentPaths.js +5 -10
  80. package/dist/runtime/utils/documentTree.js +9 -1
  81. package/dist/runtime/utils/exportDocuments.d.ts +0 -2
  82. package/dist/runtime/utils/exportDocuments.js +0 -1
  83. package/dist/runtime/utils/exportRows.d.ts +2 -0
  84. package/dist/runtime/utils/exportRows.js +5 -2
  85. package/dist/runtime/utils/fieldDetails.d.ts +51 -0
  86. package/dist/runtime/utils/fieldDetails.js +113 -0
  87. package/dist/runtime/utils/indexForm.d.ts +47 -33
  88. package/dist/runtime/utils/indexForm.js +32 -21
  89. package/package.json +8 -8
  90. package/dist/runtime/utils/indexCopy.d.ts +0 -26
  91. package/dist/runtime/utils/indexCopy.js +0 -22
  92. package/dist/runtime/utils/limitedMap.d.ts +0 -17
  93. package/dist/runtime/utils/limitedMap.js +0 -19
@@ -15,7 +15,8 @@
15
15
  "yes": "Ja",
16
16
  "no": "Nein",
17
17
  "admin": "Admin",
18
- "standard": "Standard"
18
+ "standard": "Standard",
19
+ "adminOnly": "Dieser Bereich ist nur für Administratoren."
19
20
  },
20
21
  "login": {
21
22
  "heading": "Mongocamp-Anmeldung",
@@ -139,7 +140,8 @@
139
140
  "chartDocuments": "Dokumente",
140
141
  "chartOther": "Rest",
141
142
  "chartLabel": "{metric} je Collection",
142
- "chartDescription": "Die {count} größten Collections"
143
+ "chartDescription": "Die {count} größten Collections",
144
+ "renameTooltip": "Sammlung umbenennen"
143
145
  },
144
146
  "collectionInfos": {
145
147
  "documents": "Dokumente",
@@ -164,18 +166,9 @@
164
166
  "columnInAllSamples": "In allen Stichproben",
165
167
  "columnIndex": "Index",
166
168
  "columnKeys": "Schlüssel",
167
- "columnSizeKb": "Größe (KB)",
168
169
  "deleteIndexTooltip": "Index löschen",
169
- "fieldName": "Feldname",
170
- "ascending": "Aufsteigend",
171
- "indexType": "Indextyp",
172
- "expireAfter": "Ablauf nach (z. B. 3600s)",
173
- "expireAfterHelp": "Wird nur für den Indextyp \"expiring\" verwendet.",
174
170
  "createIndexTitle": "Index erstellen",
175
- "deleteIndexTitle": "Index löschen",
176
- "confirmDeleteIndex": "Möchten Sie den Index \"{indexName}\" wirklich löschen? Diese Aktion kann nicht rückgängig gemacht werden.",
177
171
  "errorCreateIndex": "Fehler beim Erstellen des Index",
178
- "errorDeleteIndex": "Fehler beim Löschen des Index",
179
172
  "typeStandard": "Standard",
180
173
  "statsTitle": "Feldstatistik",
181
174
  "statsAnalyze": "Felder analysieren",
@@ -249,7 +242,15 @@
249
242
  "viewJson": "JSON",
250
243
  "viewModeLabel": "Seitenansicht",
251
244
  "editLoadFailed": "Das vollständige Dokument konnte zum Bearbeiten nicht geladen werden",
252
- "projectedNote": "Es werden nur einige Felder geladen"
245
+ "compareLoading": "Die Dokumente werden geladen …",
246
+ "compareUntyped": "Die Dokumente konnten nicht mit ihren Typen gelesen werden, daher werden die Werte der Tabelle verglichen: Ein Typwechsel (ein int und ein long mit derselben Zahl) wird nicht gezeigt.",
247
+ "chartTooltip": "Ein Feld darstellen",
248
+ "chartTitle": "Ein Feld der passenden Dokumente darstellen",
249
+ "chartField": "Feld",
250
+ "chartScopeAll": "Alle {count} Dokumente der Sammlung. | Alle {count} Dokumente der Sammlung.",
251
+ "chartScopeFiltered": "Das {count} Dokument, das zum aktuellen Filter passt. | Die {count} Dokumente, die zum aktuellen Filter passen.",
252
+ "chartTooLong": "Der aktuelle Filter ist zu lang für eine Diagrammanfrage. Bitte zuerst einschränken.",
253
+ "aggregateTooltip": "Die passenden Dokumente aggregieren"
253
254
  },
254
255
  "bucketFiles": {
255
256
  "filterPlaceholder": "Nach Dateiname filtern...",
@@ -271,15 +272,16 @@
271
272
  "downloadFileTooltip": "Datei herunterladen",
272
273
  "renameTooltip": "Umbenennen / Metadaten bearbeiten",
273
274
  "deleteFileTooltip": "Datei löschen",
274
- "metadataKey": "Schlüssel",
275
- "metadataValue": "Wert",
276
275
  "previewTooltip": "Datei ansehen",
277
276
  "dropHere": "Dateien zum Hochladen ablegen",
278
277
  "uploadProgress": "Lade {done} von {total} hoch…",
279
278
  "uploadSummary": "{uploaded} hochgeladen, {failed} fehlgeschlagen",
280
279
  "metadataInvalidJson": "Kein gültiges JSON",
281
280
  "metadataNotObject": "Metadaten müssen ein JSON-Objekt sein",
282
- "metadataHelp": "Ein JSON-Objekt; leer lassen für keine Metadaten"
281
+ "metadataHelp": "Ein JSON-Objekt; leer lassen für keine Metadaten",
282
+ "distribution": "Verteilung der gespeicherten Dateien",
283
+ "distributionField": "Feld",
284
+ "distributionNone": "Kein Feld der gespeicherten Dateien lässt sich darstellen."
283
285
  },
284
286
  "jobs": {
285
287
  "heading": "Jobs",
@@ -351,7 +353,9 @@
351
353
  "columnType": "Typ",
352
354
  "columnRestart": "Neustart",
353
355
  "restartNeeded": "Neustart nötig",
354
- "empty": "Keine Einstellungen gefunden"
356
+ "empty": "Keine Einstellungen gefunden",
357
+ "grantHintTitle": "Ein fehlendes Recht wird mit 401 beantwortet",
358
+ "grantHint": "AUTH_GRANT_DENIED_STATUS ist 401 (der Standard). Der generierte Client hält ein 401 für eine abgelaufene Sitzung, deshalb macht dieses Modul daraus selbst ein 403 und niemand wird abgemeldet. Mit AUTH_GRANT_DENIED_STATUS=403 am Server wird 403 die eigene Antwort des Servers."
355
359
  },
356
360
  "databases": {
357
361
  "heading": "Datenbanken",
@@ -453,22 +457,18 @@
453
457
  "pageSelected": "Alle {count} Dokumente dieser Seite sind ausgewählt.",
454
458
  "selectAllMatching": "Alle {total} passenden Dokumente auswählen",
455
459
  "allMatchingSelected": "Alle {count} passenden Dokumente sind ausgewählt.",
456
- "collecting": "IDs werden gesammelt: {loaded} von {target}",
457
- "collectingUnknown": "IDs werden gesammelt: {loaded}",
458
- "cancelCollecting": "Abbrechen",
459
- "matchingTooMany": "{total} Dokumente passen, mehr als die {cap}, die auf einmal bearbeitet werden können. Grenzen Sie zuerst den Filter ein.",
460
- "matchingChanged": "Die Sammlung hat sich beim Sammeln der IDs geändert, daher wurde nichts ausgewählt. Bitte erneut versuchen.",
461
- "matchingDrift": "{collected} Dokumente wurden gefunden; die Liste meldete {reported}. Zwischenzeitlich wurden Dokumente hinzugefügt oder entfernt.",
460
+ "matchingDrift": "Jetzt passen {counted} Dokumente; die Liste zeigte {reported}. Zwischenzeitlich wurden Dokumente hinzugefügt oder entfernt.",
462
461
  "typeToConfirm": "Um alle passenden Dokumente zu löschen, geben Sie den Sammlungsnamen {name} ein.",
463
462
  "typeToConfirmLabel": "Name der Sammlung",
464
- "progressDelete": "{done} von {total} gelöscht",
465
- "progressEdit": "{done} von {total} aktualisiert",
466
- "stop": "Stopp",
467
- "stoppedDelete": "Gestoppt: {done} von {total} gelöscht. Die anderen {left} wurden nicht angefasst.",
468
- "stoppedEdit": "Gestoppt: {done} von {total} aktualisiert. Die anderen {left} wurden nicht angefasst.",
469
463
  "matchingDeleted": "{deleted} von {total} Dokumenten gelöscht",
470
464
  "matchingUpdated": "{updated} von {total} Dokumenten aktualisiert",
471
- "compareSelected": "Auswahl vergleichen"
465
+ "compareSelected": "Auswahl vergleichen",
466
+ "counting": "Zähle passende Dokumente…",
467
+ "typeInt": "Ganzzahl (int32)",
468
+ "typeLong": "Long (int64)",
469
+ "typeDouble": "Double",
470
+ "typeDecimal": "Decimal128",
471
+ "editMixed": "Die Werte dieses Feldes haben mehr als einen Typ. Bitte den Typ des neuen Wertes wählen."
472
472
  },
473
473
  "filterBuilder": {
474
474
  "matchLabel": "Treffer bei",
@@ -512,8 +512,8 @@
512
512
  "import": {
513
513
  "trigger": "Dokumente importieren",
514
514
  "title": "Dokumente importieren",
515
- "chooseFile": "JSON- oder CSV-Datei auswählen",
516
- "hint": "Ein JSON-Array von Objekten oder eine CSV-Datei mit Kopfzeile. Bis zu {maxRows} Zeilen und {maxMb} MB.",
515
+ "chooseFile": "JSON-, NDJSON- oder CSV-Datei wählen",
516
+ "hint": "Ein JSON-Array aus Objekten, eine CSV-Datei mit Kopfzeile (bis zu {maxRows} Zeilen und {maxMb} MB) oder eine NDJSON-Datei — ein JSON-Dokument pro Zeile, wie der Export sie schreibt —, die unverändert und ohne diese Grenze an den Server geht.",
517
517
  "chooseButton": "Datei auswählen",
518
518
  "readError": "Die Datei konnte nicht gelesen werden",
519
519
  "format": "Format",
@@ -567,13 +567,21 @@
567
567
  "invalid-boolean": "Erwartet true/false, yes/no oder 1/0",
568
568
  "invalid-date": "Kein gültiges ISO-Datum",
569
569
  "invalid-json-value": "Kein gültiges JSON"
570
- }
570
+ },
571
+ "ndjsonNote": "Die Datei geht unverändert Zeile für Zeile an den Server: Es gibt keine Zeilengrenze und nichts wird im Browser gehalten. Die Typen folgen den Regeln des Servers (Extended-JSON-Wrapper werden beachtet, ein Text in Zeitstempelform wird zum Datum), Metadaten werden nicht gesetzt. Eine Zeile, die nicht gespeichert werden kann, hält die anderen nicht auf.",
572
+ "ndjsonUnreadable": "{count} der ersten Zeilen ist kein JSON-Objekt. | {count} der ersten Zeilen sind keine JSON-Objekte.",
573
+ "importFile": "Datei importieren",
574
+ "ndjsonImporting": "Der Server liest die Datei …",
575
+ "ndjsonFailed": "{failed} von {read} Zeilen konnten nicht importiert werden",
576
+ "ndjsonLine": "Zeile {line}: {reason}",
577
+ "ndjsonMoreErrors": "Nur die ersten fehlgeschlagenen Zeilen werden genannt."
571
578
  },
572
579
  "aggregation": {
573
580
  "errors": {
574
581
  "forbidden": "Diese Pipeline verwendet {operator}, was hier nicht erlaubt ist.",
575
582
  "retryable": "Die Anfrage wurde auf dem Weg zum Server blockiert. Bitte erneut versuchen.",
576
- "unavailable": "Der Server hat diese Anfrage nicht beantwortet. Versuche es erneut."
583
+ "unavailable": "Der Server hat diese Anfrage nicht beantwortet. Versuche es erneut.",
584
+ "filterTooLong": "Der Filter ist zu lang für ein Diagramm (höchstens {max} Zeichen). Bitte zuerst einschränken."
577
585
  },
578
586
  "modeVisual": "Stufen",
579
587
  "modeJson": "JSON",
@@ -666,10 +674,11 @@
666
674
  "saveFailedLimit": "Es können höchstens 50 Pipelines gespeichert werden — löschen Sie zuerst eine",
667
675
  "saveFailedSize": "Die gespeicherten Pipelines sind zu groß — löschen Sie zuerst eine",
668
676
  "savedNote": "Nur in diesem Browser gespeichert.",
669
- "unitYear": "Jahr"
677
+ "unitYear": "Jahr",
678
+ "appliesTo": "Gilt für:",
679
+ "removeFilter": "Filter entfernen"
670
680
  },
671
681
  "documentView": {
672
- "heading": "Dokument",
673
682
  "modeTree": "Baum",
674
683
  "modeJson": "JSON",
675
684
  "modeLabel": "Ansicht",
@@ -750,7 +759,7 @@
750
759
  "expireLabel": "Läuft ab nach",
751
760
  "expireHelp": "Eine Zahl und s, m, h oder d, zum Beispiel 3600s oder 7d.",
752
761
  "compoundNote": "Bei mehreren Feldern zählt die Reihenfolge: Abfragen müssen nach dem ersten Feld filtern.",
753
- "textNote": "Ein Textindex deckt ein Feld ab.",
762
+ "textNote": "Ein Textindex kann mehrere Felder abdecken; eine Sammlung hat höchstens einen.",
754
763
  "create": "Index erstellen",
755
764
  "problemNoField": "Geben Sie mindestens ein Feld an",
756
765
  "problemEmptyField": "Ein Feldname ist leer",
@@ -770,7 +779,15 @@
770
779
  "chartSize": "Indexgröße",
771
780
  "chartUsage": "Indexnutzung",
772
781
  "chartSizeDescription": "Größe von {count} Indizes, größte zuerst",
773
- "chartUsageDescription": "Nutzungen seit dem Serverstart für {count} Indizes, meistgenutzte zuerst"
782
+ "chartUsageDescription": "Nutzungen seit dem Serverstart für {count} Indizes, meistgenutzte zuerst",
783
+ "sparseLabel": "Sparse",
784
+ "sparseHelp": "Nur Dokumente indizieren, die das Feld haben.",
785
+ "hiddenLabel": "Versteckt",
786
+ "hiddenHelp": "Den Index pflegen, aber nicht für Abfragen verwenden.",
787
+ "partialLabel": "Partieller Filter (optional)",
788
+ "partialHelp": "Ein MongoDB-Filter als JSON: Nur passende Dokumente werden indiziert. Nicht zusammen mit Sparse.",
789
+ "problemPartialJson": "Der partielle Filter muss ein JSON-Objekt sein, zum Beispiel der Filter einer Abfrage",
790
+ "problemSparsePartial": "Sparse und ein partieller Filter lassen sich nicht kombinieren"
774
791
  },
775
792
  "collectionCopy": {
776
793
  "title": "Sammlung {source} kopieren",
@@ -783,7 +800,6 @@
783
800
  "countFiltered": "{count} passendes Dokument wird kopiert. | {count} passende Dokumente werden kopiert.",
784
801
  "countLoading": "Dokumente werden gezählt…",
785
802
  "countFailed": "Die Dokumente konnten nicht gezählt werden",
786
- "tooMany": "Diese Sammlung enthält {count} Dokumente; hier können höchstens {cap} kopiert werden.",
787
803
  "problemEmpty": "Geben Sie einen Namen ein",
788
804
  "problemTooLong": "Höchstens {max} Zeichen",
789
805
  "problemInvalid": "Nur Buchstaben, Ziffern und _ - . verwenden, beginnend mit Buchstabe, Ziffer oder _",
@@ -791,38 +807,25 @@
791
807
  "problemSame": "Wählen Sie einen anderen Namen als die Quelle",
792
808
  "problemExists": "Eine Sammlung mit diesem Namen existiert bereits",
793
809
  "start": "Kopieren",
794
- "stop": "Stopp",
795
- "retry": "Fehlgeschlagene Blöcke wiederholen",
796
810
  "close": "Schließen",
797
- "reading": "{done} von {total} gelesen",
798
- "writing": "{done} von {total} geschrieben",
799
811
  "doneTitle": "{count} Dokument nach {target} kopiert. | {count} Dokumente nach {target} kopiert.",
800
- "verified": "Die neue Sammlung enthält {count} Dokumente.",
801
- "verifyMismatch": "Die neue Sammlung enthält {actual} Dokumente, kopiert wurden aber {expected}. Prüfen Sie sie, bevor Sie sich auf die Kopie verlassen.",
802
- "failedTitle": "{failed} von {total} Dokumenten konnten nicht kopiert werden",
803
- "failedRange": "Dokumente {from}–{to}: {reason}",
804
- "maybePartial": "Ein fehlgeschlagener Block wurde möglicherweise teilweise geschrieben. Eine Wiederholung kann dann an bereits vorhandenen Dokumenten scheitern; löschen Sie in dem Fall die neue Sammlung und kopieren Sie erneut.",
805
- "incomplete": "Die neue Sammlung {target} ist unvollständig.",
806
- "stopped": "Gestoppt: {done} von {total} Dokumenten wurden kopiert, {skipped} nicht gesendet. Die neue Sammlung {target} ist unvollständig.",
807
- "changed": "Die Quelle hat sich beim Lesen geändert, die Kopie kann ein Dokument auslassen oder doppelt enthalten.",
808
812
  "refusedExists": "Eine Sammlung namens {target} existiert jetzt. Wählen Sie einen anderen Namen.",
809
813
  "failedGeneric": "Das Kopieren ist fehlgeschlagen",
810
814
  "quickBackup": "Schnelle Sicherung",
811
815
  "quickBackupHint": "Kopiert sofort alles in eine neue Sammlung namens {name}, ohne nach einem Namen zu fragen.",
812
- "quickBackupFailed": "Diese Sammlung kann nicht kopiert werden",
813
816
  "withIndexes": "Auch dieselben Indizes anlegen",
814
- "withIndexesHelp": "Die Indizes der Quelle werden nach dem Schreiben der Dokumente auf der neuen Sammlung angelegt. Einige Arten lassen sich nicht kopieren und werden danach aufgelistet.",
815
- "indexes": "Indizes werden angelegt: {done} von {total}",
817
+ "withIndexesHelp": "Der Server legt dieselben Indizes auf der neuen Sammlung aus den echten Indexdefinitionen an.",
816
818
  "indexesCopied": "Angelegte Indizes: {count}",
817
819
  "indexesNone": "Die Quelle hat außer dem Standardindex keine Indizes.",
818
- "indexSkipped": "Nicht kopiert: {name} — {reason}",
819
- "indexFailed": "{name} konnte nicht angelegt werden: {reason}",
820
- "skipMultiText": "ein Textindex über mehrere Felder lässt sich hier nicht anlegen",
821
- "skipWeights": "seine Textgewichte lassen sich nicht kopieren",
822
- "skipKeyType": "diese Art von Index lässt sich hier nicht anlegen",
823
- "skipOrder": "die Feldreihenfolge dieses Index ist nicht bekannt",
824
- "indexesError": "Die Indizes der Quelle konnten nicht gelesen werden, daher wurden keine angelegt.",
825
- "indexesPending": "Die Indizes werden nach einer erfolgreichen Wiederholung angelegt."
820
+ "running": "{count} Dokument wird in der Datenbank kopiert … | {count} Dokumente werden in der Datenbank kopiert …"
821
+ },
822
+ "collectionRename": {
823
+ "title": "Sammlung {source} umbenennen",
824
+ "grantsWarning": "Berechtigungen gelten für den Namen: Jede Berechtigung für den alten Namen entfällt, für den neuen gibt es keine. Dokumente und Indizes bleiben erhalten.",
825
+ "targetLabel": "Neuer Name",
826
+ "confirm": "Umbenennen",
827
+ "refusedExists": "Eine Sammlung namens {target} existiert jetzt. Bitte einen anderen Namen wählen.",
828
+ "failedGeneric": "Die Sammlung konnte nicht umbenannt werden"
826
829
  },
827
830
  "exportAll": {
828
831
  "title": "Alle passenden exportieren",
@@ -834,17 +837,17 @@
834
837
  "formatJson": "JSON (ein Array)",
835
838
  "formatNdjson": "NDJSON (ein Dokument pro Zeile)",
836
839
  "formatCsv": "CSV",
837
- "cap": "Es werden höchstens {cap} Dokumente exportiert; weitere werden abgeschnitten und das wird hier gemeldet.",
838
840
  "start": "Exportieren",
839
841
  "stop": "Abbrechen",
840
842
  "close": "Schließen",
841
- "reading": "{done} von {total} gelesen",
842
843
  "done": "{count} Dokument nach {file} exportiert. | {count} Dokumente nach {file} exportiert.",
843
- "truncated": "Die Datei ist unvollständig: nur die ersten {count} von {total} Dokumenten wurden exportiert. Grenzen Sie den Filter ein.",
844
- "changed": "Während des Lesens wurden Dokumente hinzugefügt oder entfernt, die Datei kann eines auslassen oder doppelt enthalten.",
845
844
  "cancelled": "Abgebrochen — nichts wurde heruntergeladen.",
846
845
  "failed": "Der Export ist fehlgeschlagen",
847
- "menuItem": "Alle passenden exportieren…"
846
+ "menuItem": "Alle passenden exportieren…",
847
+ "streamNote": "Der Server liefert die Datei als Datenstrom: Die Anzahl der Dokumente ist nicht begrenzt.",
848
+ "receiving": "Datei wird empfangen: {size}",
849
+ "incomplete": "Der Server hat vor dem Ende abgebrochen, daher ist {file} unvollständig. Bitte erneut versuchen.",
850
+ "doneSize": "{file} exportiert ({size})."
848
851
  },
849
852
  "charts": {
850
853
  "titleValues": "Häufigste Werte",
@@ -893,8 +896,6 @@
893
896
  "statIndexes": "Indexgewicht",
894
897
  "statIndexesHint": "{share} der Größe auf der Platte",
895
898
  "statDisk": "{size} auf der Platte",
896
- "reading": "Sammlungen werden gelesen: {done} von {total}",
897
- "stop": "Stopp",
898
899
  "partial": "{read} von {total} Sammlungen wurden gelesen, {skipped} ausgelassen (das Limit ist {max}).",
899
900
  "failedCollections": "{count} Sammlungen konnten nicht gelesen werden: {names}",
900
901
  "biggestTitle": "Größte Sammlungen",
@@ -914,7 +915,6 @@
914
915
  "clusterTitle": "Cluster",
915
916
  "coordinator": "Koordinator",
916
917
  "siteMaster": "Site-Master",
917
- "member": "Mitglied",
918
918
  "jobsTitle": "Nächste Jobs",
919
919
  "jobsNone": "Kein Job hat einen nächsten Lauf",
920
920
  "allJobs": "Alle Jobs",
@@ -1019,9 +1019,7 @@
1019
1019
  "changed": "geändert",
1020
1020
  "added": "hinzugefügt",
1021
1021
  "removed": "entfernt"
1022
- },
1023
- "first": "Erstes Dokument",
1024
- "second": "Zweites Dokument"
1022
+ }
1025
1023
  },
1026
1024
  "aggregationChart": {
1027
1025
  "viewTable": "Tabelle",
@@ -15,7 +15,8 @@
15
15
  "yes": "Yes",
16
16
  "no": "No",
17
17
  "admin": "Admin",
18
- "standard": "Standard"
18
+ "standard": "Standard",
19
+ "adminOnly": "This area is for administrators only."
19
20
  },
20
21
  "login": {
21
22
  "heading": "Mongocamp Login",
@@ -139,7 +140,8 @@
139
140
  "chartDocuments": "Documents",
140
141
  "chartOther": "other",
141
142
  "chartLabel": "{metric} per collection",
142
- "chartDescription": "The {count} biggest collections"
143
+ "chartDescription": "The {count} biggest collections",
144
+ "renameTooltip": "Rename collection"
143
145
  },
144
146
  "collectionInfos": {
145
147
  "documents": "Documents",
@@ -164,18 +166,9 @@
164
166
  "columnInAllSamples": "In all samples",
165
167
  "columnIndex": "Index",
166
168
  "columnKeys": "Keys",
167
- "columnSizeKb": "Size (KB)",
168
169
  "deleteIndexTooltip": "Delete index",
169
- "fieldName": "Field Name",
170
- "ascending": "Ascending",
171
- "indexType": "Index Type",
172
- "expireAfter": "Expire After (e.g. 3600s)",
173
- "expireAfterHelp": "Only used for the expiring index type.",
174
170
  "createIndexTitle": "Create Index",
175
- "deleteIndexTitle": "Delete Index",
176
- "confirmDeleteIndex": "Are you sure you want to delete the index \"{indexName}\"? This action cannot be undone.",
177
171
  "errorCreateIndex": "Error creating index",
178
- "errorDeleteIndex": "Error deleting index",
179
172
  "typeStandard": "standard",
180
173
  "statsTitle": "Field statistics",
181
174
  "statsAnalyze": "Analyze fields",
@@ -249,7 +242,15 @@
249
242
  "viewJson": "JSON",
250
243
  "viewModeLabel": "Page view",
251
244
  "editLoadFailed": "The full document could not be loaded for editing",
252
- "projectedNote": "Only some fields are loaded"
245
+ "compareLoading": "Loading the documents…",
246
+ "compareUntyped": "The documents could not be read with their types, so the table's values are compared: a change of type (an int and a long with the same number) is not shown.",
247
+ "chartTooltip": "Chart a field",
248
+ "chartTitle": "Chart a field of the matching documents",
249
+ "chartField": "Field",
250
+ "chartScopeAll": "All {count} document of the collection. | All {count} documents of the collection.",
251
+ "chartScopeFiltered": "The {count} document that match the current filter. | The {count} documents that match the current filter.",
252
+ "chartTooLong": "The current filter is too long to send with a chart request. Narrow it first.",
253
+ "aggregateTooltip": "Aggregate the matching documents"
253
254
  },
254
255
  "bucketFiles": {
255
256
  "filterPlaceholder": "Filter by filename...",
@@ -271,15 +272,16 @@
271
272
  "downloadFileTooltip": "Download file",
272
273
  "renameTooltip": "Rename / edit metadata",
273
274
  "deleteFileTooltip": "Delete file",
274
- "metadataKey": "Key",
275
- "metadataValue": "Value",
276
275
  "previewTooltip": "Preview file",
277
276
  "dropHere": "Drop files to upload",
278
277
  "uploadProgress": "Uploading {done} of {total}…",
279
278
  "uploadSummary": "{uploaded} uploaded, {failed} failed",
280
279
  "metadataInvalidJson": "Not valid JSON",
281
280
  "metadataNotObject": "Metadata must be a JSON object",
282
- "metadataHelp": "A JSON object; leave empty for no metadata"
281
+ "metadataHelp": "A JSON object; leave empty for no metadata",
282
+ "distribution": "Distribution of the stored files",
283
+ "distributionField": "Field",
284
+ "distributionNone": "No field of the stored files can be charted."
283
285
  },
284
286
  "jobs": {
285
287
  "heading": "Jobs",
@@ -351,7 +353,9 @@
351
353
  "columnType": "Type",
352
354
  "columnRestart": "Restart",
353
355
  "restartNeeded": "needs restart",
354
- "empty": "No settings found"
356
+ "empty": "No settings found",
357
+ "grantHintTitle": "A missing grant is answered with 401",
358
+ "grantHint": "AUTH_GRANT_DENIED_STATUS is 401 (the default). The generated client treats a 401 as a dead session, so this module turns that answer into a 403 itself and nobody is logged out. Set AUTH_GRANT_DENIED_STATUS to 403 on the server to make 403 the server's own answer."
355
359
  },
356
360
  "databases": {
357
361
  "heading": "Databases",
@@ -453,22 +457,18 @@
453
457
  "pageSelected": "All {count} documents on this page are selected.",
454
458
  "selectAllMatching": "Select all {total} matching documents",
455
459
  "allMatchingSelected": "All {count} matching documents are selected.",
456
- "collecting": "Collecting ids: {loaded} of {target}",
457
- "collectingUnknown": "Collecting ids: {loaded}",
458
- "cancelCollecting": "Cancel",
459
- "matchingTooMany": "{total} documents match, more than the {cap} that can be handled at once. Narrow the filter first.",
460
- "matchingChanged": "The collection changed while the ids were collected, so nothing was selected. Try again.",
461
- "matchingDrift": "{collected} documents were found; the list reported {reported}. Documents were added or removed meanwhile.",
460
+ "matchingDrift": "{counted} documents match now; the list showed {reported}. Documents were added or removed meanwhile.",
462
461
  "typeToConfirm": "To delete every matching document, type the collection name {name}.",
463
462
  "typeToConfirmLabel": "Collection name",
464
- "progressDelete": "Deleted {done} of {total}",
465
- "progressEdit": "Updated {done} of {total}",
466
- "stop": "Stop",
467
- "stoppedDelete": "Stopped: {done} of {total} deleted. The other {left} were not touched.",
468
- "stoppedEdit": "Stopped: {done} of {total} updated. The other {left} were not touched.",
469
463
  "matchingDeleted": "Deleted {deleted} of {total} documents",
470
464
  "matchingUpdated": "Updated {updated} of {total} documents",
471
- "compareSelected": "Compare selected"
465
+ "compareSelected": "Compare selected",
466
+ "counting": "Counting matching documents…",
467
+ "typeInt": "Integer (int32)",
468
+ "typeLong": "Long (int64)",
469
+ "typeDouble": "Double",
470
+ "typeDecimal": "Decimal128",
471
+ "editMixed": "The values of this field have more than one type. Choose the type the new value should have."
472
472
  },
473
473
  "filterBuilder": {
474
474
  "matchLabel": "Match",
@@ -512,8 +512,8 @@
512
512
  "import": {
513
513
  "trigger": "Import documents",
514
514
  "title": "Import documents",
515
- "chooseFile": "Choose a JSON or CSV file",
516
- "hint": "A JSON array of objects, or a CSV file with a header row. Up to {maxRows} rows and {maxMb} MB.",
515
+ "chooseFile": "Choose a JSON, NDJSON or CSV file",
516
+ "hint": "A JSON array of objects, a CSV file with a header row (up to {maxRows} rows and {maxMb} MB), or a NDJSON file — one JSON document per line, as the export writes it — which goes to the server as it is, without that limit.",
517
517
  "chooseButton": "Choose file",
518
518
  "readError": "The file could not be read",
519
519
  "format": "Format",
@@ -567,13 +567,21 @@
567
567
  "invalid-boolean": "Expected true/false, yes/no or 1/0",
568
568
  "invalid-date": "Not a valid ISO date",
569
569
  "invalid-json-value": "Not valid JSON"
570
- }
570
+ },
571
+ "ndjsonNote": "The file is sent to the server as it is, line by line: there is no row limit and nothing is held in the browser. Types follow the server's rules (extended JSON wrappers are honoured, a timestamp-shaped text becomes a date) and no metadata is stamped. A line that cannot be stored does not stop the others.",
572
+ "ndjsonUnreadable": "{count} of the first lines is not a JSON object. | {count} of the first lines are not JSON objects.",
573
+ "importFile": "Import file",
574
+ "ndjsonImporting": "The server is reading the file…",
575
+ "ndjsonFailed": "{failed} of {read} lines could not be imported",
576
+ "ndjsonLine": "Line {line}: {reason}",
577
+ "ndjsonMoreErrors": "Only the first failed lines are named."
571
578
  },
572
579
  "aggregation": {
573
580
  "errors": {
574
581
  "forbidden": "This pipeline uses {operator}, which is not allowed here.",
575
582
  "retryable": "The request was blocked on its way to the server. Try again.",
576
- "unavailable": "The server did not answer this request. Try again."
583
+ "unavailable": "The server did not answer this request. Try again.",
584
+ "filterTooLong": "The filter is too long to chart ({max} characters at most). Narrow it first."
577
585
  },
578
586
  "modeVisual": "Stages",
579
587
  "modeJson": "JSON",
@@ -666,10 +674,11 @@
666
674
  "saveFailedLimit": "At most 50 pipelines can be saved — delete one first",
667
675
  "saveFailedSize": "The saved pipelines are too large — delete one first",
668
676
  "savedNote": "Saved in this browser only.",
669
- "unitYear": "Year"
677
+ "unitYear": "Year",
678
+ "appliesTo": "Applies to:",
679
+ "removeFilter": "Remove the filter"
670
680
  },
671
681
  "documentView": {
672
- "heading": "Document",
673
682
  "modeTree": "Tree",
674
683
  "modeJson": "JSON",
675
684
  "modeLabel": "View mode",
@@ -750,7 +759,7 @@
750
759
  "expireLabel": "Expire after",
751
760
  "expireHelp": "A number and s, m, h or d, for example 3600s or 7d.",
752
761
  "compoundNote": "With several fields the order matters: the first field is the one queries must filter on.",
753
- "textNote": "A text index covers one field.",
762
+ "textNote": "A text index can cover several fields; a collection has at most one.",
754
763
  "create": "Create index",
755
764
  "problemNoField": "Enter at least one field",
756
765
  "problemEmptyField": "A field name is empty",
@@ -770,7 +779,15 @@
770
779
  "chartSize": "Index size",
771
780
  "chartUsage": "Index uses",
772
781
  "chartSizeDescription": "Size of {count} indexes, biggest first",
773
- "chartUsageDescription": "Uses since the server started, for {count} indexes, most used first"
782
+ "chartUsageDescription": "Uses since the server started, for {count} indexes, most used first",
783
+ "sparseLabel": "Sparse",
784
+ "sparseHelp": "Only index documents that have the field.",
785
+ "hiddenLabel": "Hidden",
786
+ "hiddenHelp": "Keep the index up to date but do not use it for queries.",
787
+ "partialLabel": "Partial filter (optional)",
788
+ "partialHelp": "A MongoDB filter as JSON: only the documents it matches are indexed. Not together with Sparse.",
789
+ "problemPartialJson": "The partial filter must be a JSON object, for example the filter of a query",
790
+ "problemSparsePartial": "Sparse and a partial filter cannot be combined"
774
791
  },
775
792
  "collectionCopy": {
776
793
  "title": "Copy collection {source}",
@@ -783,7 +800,6 @@
783
800
  "countFiltered": "{count} matching document will be copied. | {count} matching documents will be copied.",
784
801
  "countLoading": "Counting documents…",
785
802
  "countFailed": "The documents could not be counted",
786
- "tooMany": "This collection holds {count} documents; at most {cap} can be copied here.",
787
803
  "problemEmpty": "Enter a name",
788
804
  "problemTooLong": "At most {max} characters",
789
805
  "problemInvalid": "Use letters, digits and _ - . only, starting with a letter, digit or _",
@@ -791,38 +807,25 @@
791
807
  "problemSame": "Choose a name other than the source",
792
808
  "problemExists": "A collection with this name already exists",
793
809
  "start": "Copy",
794
- "stop": "Stop",
795
- "retry": "Retry failed batches",
796
810
  "close": "Close",
797
- "reading": "Reading {done} of {total}",
798
- "writing": "Writing {done} of {total}",
799
811
  "doneTitle": "Copied {count} document to {target}. | Copied {count} documents to {target}.",
800
- "verified": "The new collection holds {count} documents.",
801
- "verifyMismatch": "The new collection holds {actual} documents, but {expected} were copied. Check it before relying on the copy.",
802
- "failedTitle": "{failed} of {total} documents could not be copied",
803
- "failedRange": "Documents {from}–{to}: {reason}",
804
- "maybePartial": "A failed batch may have been partly written. Retrying can then fail on documents that already exist; in that case drop the new collection and copy again.",
805
- "incomplete": "The new collection {target} is incomplete.",
806
- "stopped": "Stopped: {done} of {total} documents were copied; {skipped} were not sent. The new collection {target} is incomplete.",
807
- "changed": "The source changed while it was read, so the copy may miss or repeat a document.",
808
812
  "refusedExists": "A collection named {target} exists now. Choose another name.",
809
813
  "failedGeneric": "The copy failed",
810
814
  "quickBackup": "Quick backup",
811
815
  "quickBackupHint": "Copies everything now into a new collection named {name}, without asking for a name.",
812
- "quickBackupFailed": "This collection cannot be copied",
813
816
  "withIndexes": "Also create the same indexes",
814
- "withIndexesHelp": "The indexes of the source are created on the new collection after the documents are written. A few kinds cannot be copied and are listed afterwards.",
815
- "indexes": "Creating indexes {done} of {total}",
817
+ "withIndexesHelp": "The server creates the same indexes on the new collection from the real index definitions.",
816
818
  "indexesCopied": "Indexes created: {count}",
817
819
  "indexesNone": "The source has no indexes besides the default one.",
818
- "indexSkipped": "Not copied: {name} — {reason}",
819
- "indexFailed": "Could not create {name}: {reason}",
820
- "skipMultiText": "a text index over several fields cannot be created here",
821
- "skipWeights": "its text weights cannot be copied",
822
- "skipKeyType": "this kind of index cannot be created here",
823
- "skipOrder": "the field order of this index is not known",
824
- "indexesError": "The indexes of the source could not be read, so none were created.",
825
- "indexesPending": "The indexes are created after a successful retry."
820
+ "running": "Copying {count} document inside the database… | Copying {count} documents inside the database…"
821
+ },
822
+ "collectionRename": {
823
+ "title": "Rename collection {source}",
824
+ "grantsWarning": "Grants are matched by name: every grant for the old name stops applying and none exists for the new one. Documents and indexes stay.",
825
+ "targetLabel": "New name",
826
+ "confirm": "Rename",
827
+ "refusedExists": "A collection named {target} exists now. Choose another name.",
828
+ "failedGeneric": "The collection could not be renamed"
826
829
  },
827
830
  "exportAll": {
828
831
  "title": "Export all matching",
@@ -834,17 +837,17 @@
834
837
  "formatJson": "JSON (one array)",
835
838
  "formatNdjson": "NDJSON (one document per line)",
836
839
  "formatCsv": "CSV",
837
- "cap": "At most {cap} documents are exported; more are cut off and the file says so here.",
838
840
  "start": "Export",
839
841
  "stop": "Cancel",
840
842
  "close": "Close",
841
- "reading": "Reading {done} of {total}",
842
843
  "done": "Exported {count} document to {file}. | Exported {count} documents to {file}.",
843
- "truncated": "The file is incomplete: only the first {count} of {total} documents were exported. Narrow the filter.",
844
- "changed": "Documents were added or removed while reading, so the file may miss or repeat one.",
845
844
  "cancelled": "Cancelled — nothing was downloaded.",
846
845
  "failed": "The export failed",
847
- "menuItem": "Export all matching…"
846
+ "menuItem": "Export all matching…",
847
+ "streamNote": "The server streams the file: there is no limit on the number of documents.",
848
+ "receiving": "Receiving the file: {size}",
849
+ "incomplete": "The server stopped before the end, so {file} is incomplete. Try again.",
850
+ "doneSize": "Exported {file} ({size})."
848
851
  },
849
852
  "charts": {
850
853
  "titleValues": "Most common values",
@@ -893,8 +896,6 @@
893
896
  "statIndexes": "Index weight",
894
897
  "statIndexesHint": "{share} of the size on disk",
895
898
  "statDisk": "{size} on disk",
896
- "reading": "Reading collections: {done} of {total}",
897
- "stop": "Stop",
898
899
  "partial": "{read} of {total} collections were read; {skipped} were left out (the limit is {max}).",
899
900
  "failedCollections": "{count} collections could not be read: {names}",
900
901
  "biggestTitle": "Biggest collections",
@@ -914,7 +915,6 @@
914
915
  "clusterTitle": "Cluster",
915
916
  "coordinator": "Coordinator",
916
917
  "siteMaster": "Site master",
917
- "member": "Member",
918
918
  "jobsTitle": "Next jobs",
919
919
  "jobsNone": "No job has a next run",
920
920
  "allJobs": "All jobs",
@@ -1019,9 +1019,7 @@
1019
1019
  "changed": "changed",
1020
1020
  "added": "added",
1021
1021
  "removed": "removed"
1022
- },
1023
- "first": "First document",
1024
- "second": "Second document"
1022
+ }
1025
1023
  },
1026
1024
  "aggregationChart": {
1027
1025
  "viewTable": "Table",
@@ -3,6 +3,10 @@ export declare class ForbiddenPipelineError extends Error {
3
3
  findings: ForbiddenUse[];
4
4
  constructor(findings: ForbiddenUse[]);
5
5
  }
6
+ export declare class FilterTooLongError extends Error {
7
+ max: number;
8
+ constructor(max: number);
9
+ }
6
10
  export interface ServerErrorInfo {
7
11
  kind: 'mongo' | 'other';
8
12
  message: string;
@@ -5,6 +5,13 @@ export class ForbiddenPipelineError extends Error {
5
5
  this.name = "ForbiddenPipelineError";
6
6
  }
7
7
  }
8
+ export class FilterTooLongError extends Error {
9
+ constructor(max) {
10
+ super(`The filter is longer than ${max} characters`);
11
+ this.max = max;
12
+ this.name = "FilterTooLongError";
13
+ }
14
+ }
8
15
  const MONGO_COMMAND_FAILED = /^Command failed with error \d+ \([^)]*\): '([\s\S]*?)' on server \S+?\.\s+The full response is[\s\S]*$/;
9
16
  const SERVER_ADDRESS = / on server \S+?(?=\.(?:\s|$)|\s|$)/g;
10
17
  const BARE_ADDRESS = /\b(?:\d{1,3}\.){3}\d{1,3}(?::\d+)?\b|\b[a-z0-9-]+(?:\.[a-z0-9-]+)+:\d{2,5}\b/gi;