From d173fcdfa3ad6f6aee721c8553f25f4db38fa302 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Thu, 5 Oct 2023 16:06:19 +0200 Subject: [chore] Convert some settings / admin panel JS to TypeScript (#2247) * initial conversion of STUFF to typescript * more stuff * update babel deps, include commonjs transform * update bundler & eslint configuration * eslint --fix * upgrade deps * update docs, build stuff, peripheral stuff --------- Co-authored-by: f0x --- web/source/settings/lib/query/admin/index.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'web/source/settings/lib/query/admin/index.js') diff --git a/web/source/settings/lib/query/admin/index.js b/web/source/settings/lib/query/admin/index.js index 7b46e6ba4..7a55389d3 100644 --- a/web/source/settings/lib/query/admin/index.js +++ b/web/source/settings/lib/query/admin/index.js @@ -17,15 +17,13 @@ along with this program. If not, see . */ -"use strict"; - const { replaceCacheOnMutation, removeFromCacheOnMutation, domainListToObject, idListToObject } = require("../lib"); -const base = require("../base"); +const { gtsApi } = require("../gts-api"); const endpoints = (build) => ({ updateInstance: build.mutation({ @@ -164,4 +162,4 @@ const endpoints = (build) => ({ ...require("./reports")(build) }); -module.exports = base.injectEndpoints({ endpoints }); \ No newline at end of file +module.exports = gtsApi.injectEndpoints({ endpoints }); \ No newline at end of file -- cgit v1.2.3