From b368b359d8c9add4680aab93f2cda5a7ff70b501 Mon Sep 17 00:00:00 2001 From: Eugene Serb <46799701+eugene-serb@users.noreply.github.com> Date: Sat, 10 Sep 2022 20:48:33 +0300 Subject: [PATCH] - recoded MetaTagUpdater. - added metas array with metas. - added interfaces IRouteMeta, IMeta, ITag. - deleted metas from routes. - modified metas by types. - updated router index. - up minor version. --- docs/index.html | 2 +- docs/js/app.5845d133.js | 2 ++ docs/js/app.5845d133.js.map | 1 + docs/js/app.c1a049b3.js | 2 -- docs/js/app.c1a049b3.js.map | 1 - package-lock.json | 4 +-- package.json | 3 +- src/router/assets/metas.ts | 46 +++++++++++++++++++++++++++ src/router/assets/metas/404.ts | 4 ++- src/router/assets/metas/About.ts | 4 ++- src/router/assets/metas/Custom.ts | 4 ++- src/router/assets/metas/Diagnostic.ts | 4 ++- src/router/assets/metas/Donate.ts | 4 ++- src/router/assets/metas/Faq.ts | 4 ++- src/router/assets/metas/Manual.ts | 4 ++- src/router/assets/metas/Patterns.ts | 4 ++- src/router/assets/routes.ts | 16 ---------- src/router/index.ts | 3 +- src/router/models/IMeta.ts | 9 ++++++ src/router/models/IRouteMeta.ts | 8 +++++ src/router/models/ITag.ts | 5 +++ src/router/modules/MetaTagUpdater.ts | 45 ++++++++++++-------------- 22 files changed, 122 insertions(+), 57 deletions(-) create mode 100644 docs/js/app.5845d133.js create mode 100644 docs/js/app.5845d133.js.map delete mode 100644 docs/js/app.c1a049b3.js delete mode 100644 docs/js/app.c1a049b3.js.map create mode 100644 src/router/assets/metas.ts create mode 100644 src/router/models/IMeta.ts create mode 100644 src/router/models/IRouteMeta.ts create mode 100644 src/router/models/ITag.ts diff --git a/docs/index.html b/docs/index.html index 57e22cf..bd4b5d9 100644 --- a/docs/index.html +++ b/docs/index.html @@ -15,4 +15,4 @@ webvisor: true });