web_lib

Common web application libraries
git clone https://radroots.dev/git/web_lib.git
Log | Files | Refs | LICENSE

commit 42723560b2cf61e3917be65ac6c1b8b40e164d85
parent 3f6ab785db54df12dc3808bff36bbafde92e7e24
Author: triesap <137732411+triesap@users.noreply.github.com>
Date:   Sun, 25 Aug 2024 12:02:11 +0000

client: add verbatimmodulesyntax type imports

Diffstat:
Mclient/src/capacitor/camera.ts | 2+-
Mclient/src/capacitor/keystore.ts | 2+-
Mclient/src/types.ts | 2+-
3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/client/src/capacitor/camera.ts b/client/src/capacitor/camera.ts @@ -1,7 +1,7 @@ import { Camera, CameraResultType } from '@capacitor/camera'; import { err_msg, type ErrorResponse } from '@radroots/utils'; -import { IClientCamera, OsPhoto, OsPhotoGallery, OsPhotoGallerySelectOptions, OsPhotoSelectOptions, OsPhotosPermissions } from '../types'; +import type { IClientCamera, OsPhoto, OsPhotoGallery, OsPhotoGallerySelectOptions, OsPhotoSelectOptions, OsPhotosPermissions } from '../types'; export class CapacitorClientCamera implements IClientCamera { private parse_camera_result_type(value: string): CameraResultType { diff --git a/client/src/capacitor/keystore.ts b/client/src/capacitor/keystore.ts @@ -1,5 +1,5 @@ import { SecureStorage } from "@radroots/capacitor-secure-storage"; -import { IClientKeystore } from "../types"; +import type { IClientKeystore } from "../types"; export class CapacitorClientKeystore implements IClientKeystore { public async init() { diff --git a/client/src/types.ts b/client/src/types.ts @@ -1,6 +1,6 @@ import { type BatteryInfo, type DeviceInfo } from '@capacitor/device'; import { type ScanResult } from '@radroots/capacitor-bluetooth-le'; -import { ConnectToWifiResult, type GetCurrentWifiResult, type ScanWifiResult } from '@radroots/capacitor-wifi'; +import { type ConnectToWifiResult, type GetCurrentWifiResult, type ScanWifiResult } from '@radroots/capacitor-wifi'; import { type ErrorResponse } from '@radroots/utils'; export type IClient = {