Custom column counts for gridstack #613 #660

This commit is contained in:
Manuel
2023-02-05 17:16:03 +01:00
committed by GitHub
parent 5296ce88d2
commit 2539e8cec1
37 changed files with 2064 additions and 745 deletions

View File

@@ -3,7 +3,6 @@ import {
Box,
Card,
Group,
Indicator,
Stack,
Text,
Title,
@@ -41,7 +40,7 @@ const definition = defineWidget({
component: TorrentNetworkTrafficTile,
});
export type ITorrentNetworkTraffic = IWidget<typeof definition['id'], typeof definition>;
export type ITorrentNetworkTraffic = IWidget<(typeof definition)['id'], typeof definition>;
interface TorrentNetworkTrafficTileProps {
widget: ITorrentNetworkTraffic;

View File

@@ -1,4 +1,3 @@
import { TorrentState } from '@ctrl/shared-torrent';
import {
Badge,
Center,
@@ -52,7 +51,7 @@ const definition = defineWidget({
component: TorrentTile,
});
export type ITorrent = IWidget<typeof definition['id'], typeof definition>;
export type ITorrent = IWidget<(typeof definition)['id'], typeof definition>;
interface TorrentTileProps {
widget: ITorrent;