From 33cece0cd1e18523757060bbeadaa3fec5ac37b5 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Wed, 14 Jun 2023 18:51:32 +0300 Subject: [PATCH] fix naming --- client/src/collection-factory.js | 4 ++-- client/src/model-factory.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/client/src/collection-factory.js b/client/src/collection-factory.js index 20fe61882c..49dc5f1902 100644 --- a/client/src/collection-factory.js +++ b/client/src/collection-factory.js @@ -31,7 +31,7 @@ /** * A collection factory. */ -class Class { +class CollectionFactory { /** * @param {module:model-factory} modelFactory * @param {module:models/settings} config @@ -93,4 +93,4 @@ class Class { } } -export default Class; +export default CollectionFactory; diff --git a/client/src/model-factory.js b/client/src/model-factory.js index d06585266e..63029ba4e2 100644 --- a/client/src/model-factory.js +++ b/client/src/model-factory.js @@ -31,7 +31,7 @@ /** * A model factory. */ -class Class { +class ModelFactory { /** * @param {module:metadata} metadata */ @@ -89,4 +89,4 @@ class Class { } } -export default Class; +export default ModelFactory;