mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-10 07:25:35 +00:00
feat: recreate dashboard page from previous version
This commit is contained in:
2
inertia/types/emotion.d.ts
vendored
2
inertia/types/emotion.d.ts
vendored
@@ -29,6 +29,8 @@ declare module '@emotion/react' {
|
||||
|
||||
lightGreen: string;
|
||||
green: string;
|
||||
|
||||
yellow: string;
|
||||
};
|
||||
|
||||
border: {
|
||||
|
||||
6
inertia/types/favicon.d.ts
vendored
Normal file
6
inertia/types/favicon.d.ts
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
interface Favicon {
|
||||
buffer: Buffer;
|
||||
url: string;
|
||||
type: string;
|
||||
size: number;
|
||||
}
|
||||
17
inertia/types/search.d.ts
vendored
Normal file
17
inertia/types/search.d.ts
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
import type Link from '#models/link';
|
||||
|
||||
export interface SearchItem {
|
||||
id: string;
|
||||
name: string;
|
||||
url: string;
|
||||
type: 'collection' | 'link';
|
||||
collection?: undefined | Link['collection'];
|
||||
}
|
||||
|
||||
export interface SearchResult {
|
||||
id: string;
|
||||
name: React.ReactNode; // React node to support bold text
|
||||
url: string;
|
||||
type: 'collection' | 'link';
|
||||
collection?: undefined | Link['collection'];
|
||||
}
|
||||
Reference in New Issue
Block a user