First commit.

Signed-off-by: Chen Xiao <abigwc@gmail.com>
This commit is contained in:
Chen Xiao
2026-05-08 14:43:16 +08:00
commit 0b64e2de94
10989 changed files with 2253791 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
import { IconifyInfo } from "@iconify/types";
/**
* Item provided by API or loaded from collections.json, slightly different from IconifyInfo
*/
interface LegacyIconifyInfo {
name: string;
total?: number;
version?: string;
author?: string;
url?: string;
license?: string;
licenseURL?: string;
licenseSPDX?: string;
samples?: string[];
height?: number | number[];
displayHeight?: number;
samplesHeight?: number;
category?: string;
palette?: 'Colorless' | 'Colorful';
hidden?: boolean;
}
/**
* Convert data to valid CollectionInfo
*/
declare function convertIconSetInfo(data: unknown, expectedPrefix?: string): IconifyInfo | null;
export { LegacyIconifyInfo, convertIconSetInfo };