mirror of
https://github.com/FoxxMD/multi-scrobbler.git
synced 2026-09-03 05:10:00 +03:00
fix remaining type imports preventing docker container from running with tsx
This commit is contained in:
@@ -3,8 +3,8 @@ import { useSSEContext, useSSEEvent } from "@flamefrontend/sse-runtime-react";
|
||||
import { useQuery, useQueryClient, type InfiniteData } from '@tanstack/react-query';
|
||||
import React, { Fragment, useEffect, useState } from "react";
|
||||
import { LuChevronRight } from "react-icons/lu";
|
||||
import { type MarkOptional } from "ts-essentials";
|
||||
import { type MsSseEvent, type PaginatedResponse, type PlayApiCommonDetailed, type QueryPlaysOptsJson, type SortPlaysByProps } from "../../core/Api";
|
||||
import type { MarkOptional } from "ts-essentials";
|
||||
import type { MsSseEvent, PaginatedResponse, PlayApiCommonDetailed, QueryPlaysOptsJson, SortPlaysByProps } from "../../core/Api";
|
||||
import { CLIENT_DEAD_QUEUE, type ComponentType, type Second } from "../../core/Atomic";
|
||||
import { tanQueries } from "../queries";
|
||||
import { activityTimelineHasIssue } from "../utils/ComponentUtils";
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { ClientOnly, CodeBlock, IconButton } from "@chakra-ui/react";
|
||||
import { type ComponentProps, useMemo } from "react";
|
||||
import { type MarkOptional } from "ts-essentials";
|
||||
import type { MarkOptional } from "ts-essentials";
|
||||
import { safeStringify } from "../../core/StringUtils";
|
||||
import { shikiAdapter } from "./shikiAdapter";
|
||||
|
||||
|
||||
@@ -7,8 +7,8 @@ import {
|
||||
type FileDiffProps,
|
||||
FileDiff,
|
||||
} from '@pierre/diffs/react';
|
||||
import { type MarkRequired } from 'ts-essentials';
|
||||
import { type Changeset } from 'json-diff-ts';
|
||||
import type { MarkRequired } from 'ts-essentials';
|
||||
import type { Changeset } from 'json-diff-ts';
|
||||
import { MSErrorBoundary } from '../ErrorBoundary';
|
||||
import { patchObject } from "../../../core/DataUtils";
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
import type { Dayjs } from "dayjs";
|
||||
import type { AdditionalTrackInfoResponse } from "../backend/common/vendor/listenbrainz/interfaces.ts";
|
||||
import { type Merge, type RequiredKeys, type StrictOmit } from "ts-essentials";
|
||||
import type { Merge, RequiredKeys, StrictOmit } from "ts-essentials";
|
||||
import { type ErrorObject } from "serialize-error";
|
||||
import type { FlowControlTerm, TransformHook } from "../backend/common/infrastructure/Transform.ts";
|
||||
import { type Changeset } from "json-diff-ts";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { type MarkOptional } from "ts-essentials";
|
||||
import type { MarkOptional } from "ts-essentials";
|
||||
import { truncateStringToLength } from "./StringUtils.ts";
|
||||
import { type ErrorLike, isErrorLike } from 'serialize-error';
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ import { ListenRange } from '../backend/sources/PlayerState/ListenRange.ts';
|
||||
import { type AmbPlayObject, type DateLike, type JsonPlayObject, type PlayObject, REGEX_ISO8601_LOOSE, type Replace } from './Atomic.ts';
|
||||
import type { ElementOf, MarkOptional } from 'ts-essentials';
|
||||
import { type ErrorObject, serializeError } from 'serialize-error';
|
||||
import { type PlayApiCommonDetailed } from './Api.ts';
|
||||
import type { PlayApiCommonDetailed } from './Api.ts';
|
||||
|
||||
interface BlockPath { key: string, parent: string };
|
||||
type BlockPaths = BlockPath[];
|
||||
|
||||
Reference in New Issue
Block a user