From 7ac1587c95b3ed3c0fc0eb7ce7c21c1d7905ecb1 Mon Sep 17 00:00:00 2001 From: Romein van Buren Date: Sat, 18 Feb 2023 15:58:27 +0100 Subject: [PATCH] Moved mongo JS to its own directory --- .../aggregation-stages.json} | 0 frontend/src/lib/{mongo.js => mongo/index.js} | 4 ++-- frontend/src/lib/{mongo-locales.json => mongo/locales.json} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename frontend/src/lib/{mongo-aggregation-stages.json => mongo/aggregation-stages.json} (100%) rename frontend/src/lib/{mongo.js => mongo/index.js} (91%) rename frontend/src/lib/{mongo-locales.json => mongo/locales.json} (100%) diff --git a/frontend/src/lib/mongo-aggregation-stages.json b/frontend/src/lib/mongo/aggregation-stages.json similarity index 100% rename from frontend/src/lib/mongo-aggregation-stages.json rename to frontend/src/lib/mongo/aggregation-stages.json diff --git a/frontend/src/lib/mongo.js b/frontend/src/lib/mongo/index.js similarity index 91% rename from frontend/src/lib/mongo.js rename to frontend/src/lib/mongo/index.js index f4191e4..4d47039 100644 --- a/frontend/src/lib/mongo.js +++ b/frontend/src/lib/mongo/index.js @@ -1,6 +1,6 @@ import { ObjectId } from 'bson'; -import aggregationStages from './mongo-aggregation-stages.json'; -import locales from './mongo-locales.json'; +import aggregationStages from './aggregation-stages.json'; +import locales from './locales.json'; export { aggregationStages, locales }; diff --git a/frontend/src/lib/mongo-locales.json b/frontend/src/lib/mongo/locales.json similarity index 100% rename from frontend/src/lib/mongo-locales.json rename to frontend/src/lib/mongo/locales.json