diff --git a/.github/workflows/check-lint.yml b/.github/workflows/check-lint.yml deleted file mode 100644 index 59506548..00000000 --- a/.github/workflows/check-lint.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: "Check Lint" - -on: - pull_request: - push: - branches: - - "dev" - - "main" - -jobs: - lint: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: 22.x - - - name: Install Dependencies - run: | - echo "installing pnpm" - npm install -g pnpm - echo "installing deps for packages" - pnpm i - - - name: Check Lint - run: pnpm check-lint diff --git a/infrastructure/control-panel/src/routes/evaults/[namespace]/[pod]/+page.svelte b/infrastructure/control-panel/src/routes/evaults/[namespace]/[pod]/+page.svelte index 392b711d..1eccdfc2 100644 --- a/infrastructure/control-panel/src/routes/evaults/[namespace]/[pod]/+page.svelte +++ b/infrastructure/control-panel/src/routes/evaults/[namespace]/[pod]/+page.svelte @@ -26,7 +26,7 @@ const [logsData, detailsData] = await Promise.all([ EVaultService.getEVaultLogs(namespace, podName), - EVaultService.getEVaultDetails(namespace, podName) + EVaultService.getEVaultMetrics(namespace, podName) ]); logs = logsData; diff --git a/infrastructure/eid-wallet/src/lib/crypto/HardwareKeyManager.ts b/infrastructure/eid-wallet/src/lib/crypto/HardwareKeyManager.ts index dd30733a..98f9d9b0 100644 --- a/infrastructure/eid-wallet/src/lib/crypto/HardwareKeyManager.ts +++ b/infrastructure/eid-wallet/src/lib/crypto/HardwareKeyManager.ts @@ -1,5 +1,3 @@ -import type { KeyManager } from "./types"; -import { KeyManagerError, KeyManagerErrorCodes } from "./types"; import { exists as hwExists, generate as hwGenerate, @@ -7,6 +5,8 @@ import { signPayload as hwSignPayload, verifySignature as hwVerifySignature, } from "@auvo/tauri-plugin-crypto-hw-api"; +import type { KeyManager } from "./types"; +import { KeyManagerError, KeyManagerErrorCodes } from "./types"; /** * Hardware key manager implementation using Tauri crypto hardware API diff --git a/infrastructure/eid-wallet/src/lib/crypto/KeyManagerFactory.ts b/infrastructure/eid-wallet/src/lib/crypto/KeyManagerFactory.ts index a8f59787..1cc3dfea 100644 --- a/infrastructure/eid-wallet/src/lib/crypto/KeyManagerFactory.ts +++ b/infrastructure/eid-wallet/src/lib/crypto/KeyManagerFactory.ts @@ -1,6 +1,6 @@ -import type { KeyManager, KeyManagerConfig } from "./types"; import { HardwareKeyManager } from "./HardwareKeyManager"; import { SoftwareKeyManager } from "./SoftwareKeyManager"; +import type { KeyManager, KeyManagerConfig } from "./types"; import { KeyManagerError, KeyManagerErrorCodes } from "./types"; /** diff --git a/infrastructure/eid-wallet/src/lib/global/controllers/evault.ts b/infrastructure/eid-wallet/src/lib/global/controllers/evault.ts index 0f7e069c..75e17ea3 100644 --- a/infrastructure/eid-wallet/src/lib/global/controllers/evault.ts +++ b/infrastructure/eid-wallet/src/lib/global/controllers/evault.ts @@ -2,8 +2,8 @@ import { PUBLIC_REGISTRY_URL } from "$env/static/public"; import type { Store } from "@tauri-apps/plugin-store"; import axios from "axios"; import { GraphQLClient } from "graphql-request"; -import type { UserController } from "./user"; import NotificationService from "../../services/NotificationService"; +import type { UserController } from "./user"; const STORE_META_ENVELOPE = ` mutation StoreMetaEnvelope($input: MetaEnvelopeInput!) { diff --git a/infrastructure/eid-wallet/src/lib/global/state.ts b/infrastructure/eid-wallet/src/lib/global/state.ts index f2d77b36..eb9f6b51 100644 --- a/infrastructure/eid-wallet/src/lib/global/state.ts +++ b/infrastructure/eid-wallet/src/lib/global/state.ts @@ -1,8 +1,8 @@ import { Store } from "@tauri-apps/plugin-store"; +import NotificationService from "../services/NotificationService"; import { VaultController } from "./controllers/evault"; import { SecurityController } from "./controllers/security"; import { UserController } from "./controllers/user"; -import NotificationService from "../services/NotificationService"; /** * @author SoSweetHam * @description A centralized state that can be used to control the global state of the application, meant to be used as a singleton through the main layout component. diff --git a/infrastructure/eid-wallet/src/lib/services/NotificationService.ts b/infrastructure/eid-wallet/src/lib/services/NotificationService.ts index aff04897..24fb22c2 100644 --- a/infrastructure/eid-wallet/src/lib/services/NotificationService.ts +++ b/infrastructure/eid-wallet/src/lib/services/NotificationService.ts @@ -1,10 +1,10 @@ +import { PUBLIC_PROVISIONER_URL } from "$env/static/public"; +import { invoke } from "@tauri-apps/api/core"; import { - requestPermission, isPermissionGranted, + requestPermission, sendNotification, } from "@tauri-apps/plugin-notification"; -import { invoke } from "@tauri-apps/api/core"; -import { PUBLIC_PROVISIONER_URL } from "$env/static/public"; export interface DeviceRegistration { eName: string; diff --git a/infrastructure/eid-wallet/src/routes/(app)/+layout.svelte b/infrastructure/eid-wallet/src/routes/(app)/+layout.svelte index 0b34079c..a9ed5b2a 100644 --- a/infrastructure/eid-wallet/src/routes/(app)/+layout.svelte +++ b/infrastructure/eid-wallet/src/routes/(app)/+layout.svelte @@ -1,10 +1,10 @@