From 355c0a4edaaa8cce73fcad1347b234a4a39be5bd Mon Sep 17 00:00:00 2001 From: Gerald Schmittinger Date: Thu, 6 Mar 2025 13:28:24 +0100 Subject: [PATCH] refactor(backend): Bestanden die enkel types of interfaces exporteren hernoemd naar *.d.ts --- .../{authenticated-request.ts => authenticated-request.d.ts} | 0 .../auth/{authentication-info.ts => authentication-info.d.ts} | 0 frontend/src/services/auth/auth-config-loader.ts | 2 +- frontend/src/services/auth/auth-service.ts | 2 +- frontend/src/services/auth/auth-storage.ts | 2 +- frontend/src/services/auth/{auth-types.ts => auth.d.ts} | 0 6 files changed, 3 insertions(+), 3 deletions(-) rename backend/src/middleware/auth/{authenticated-request.ts => authenticated-request.d.ts} (100%) rename backend/src/middleware/auth/{authentication-info.ts => authentication-info.d.ts} (100%) rename frontend/src/services/auth/{auth-types.ts => auth.d.ts} (100%) diff --git a/backend/src/middleware/auth/authenticated-request.ts b/backend/src/middleware/auth/authenticated-request.d.ts similarity index 100% rename from backend/src/middleware/auth/authenticated-request.ts rename to backend/src/middleware/auth/authenticated-request.d.ts diff --git a/backend/src/middleware/auth/authentication-info.ts b/backend/src/middleware/auth/authentication-info.d.ts similarity index 100% rename from backend/src/middleware/auth/authentication-info.ts rename to backend/src/middleware/auth/authentication-info.d.ts diff --git a/frontend/src/services/auth/auth-config-loader.ts b/frontend/src/services/auth/auth-config-loader.ts index ff46ffe5..d8b862ad 100644 --- a/frontend/src/services/auth/auth-config-loader.ts +++ b/frontend/src/services/auth/auth-config-loader.ts @@ -1,5 +1,5 @@ import apiClient from "@/services/api-client.ts"; -import type {FrontendAuthConfig} from "@/services/auth/auth-types.ts"; +import type {FrontendAuthConfig} from "@/services/auth/auth.d.ts"; /** * Fetch the authentication configuration from the backend. diff --git a/frontend/src/services/auth/auth-service.ts b/frontend/src/services/auth/auth-service.ts index 917df7fc..a38d5f2a 100644 --- a/frontend/src/services/auth/auth-service.ts +++ b/frontend/src/services/auth/auth-service.ts @@ -3,7 +3,7 @@ */ import {computed, reactive} from "vue"; -import type {AuthState, Role, UserManagersForRoles} from "@/services/auth/auth-types.ts"; +import type {AuthState, Role, UserManagersForRoles} from "@/services/auth/auth.d.ts"; import {User, UserManager} from "oidc-client-ts"; import {loadAuthConfig} from "@/services/auth/auth-config-loader.ts"; import authStorage from "./auth-storage.ts" diff --git a/frontend/src/services/auth/auth-storage.ts b/frontend/src/services/auth/auth-storage.ts index f41b6d46..26183451 100644 --- a/frontend/src/services/auth/auth-storage.ts +++ b/frontend/src/services/auth/auth-storage.ts @@ -1,4 +1,4 @@ -import type {Role} from "@/services/auth/auth-types.ts"; +import type {Role} from "@/services/auth/auth.d.ts"; export default { /** diff --git a/frontend/src/services/auth/auth-types.ts b/frontend/src/services/auth/auth.d.ts similarity index 100% rename from frontend/src/services/auth/auth-types.ts rename to frontend/src/services/auth/auth.d.ts