mirror of
https://github.com/langgenius/dify.git
synced 2026-04-05 20:09:20 +08:00
56 lines
1003 B
TypeScript
56 lines
1003 B
TypeScript
export interface IconifyJSON {
|
|
prefix: string
|
|
icons: Record<string, IconifyIcon>
|
|
aliases?: Record<string, IconifyAlias>
|
|
width?: number
|
|
height?: number
|
|
lastModified?: number
|
|
}
|
|
|
|
export interface IconifyIcon {
|
|
body: string
|
|
left?: number
|
|
top?: number
|
|
width?: number
|
|
height?: number
|
|
rotate?: 0 | 1 | 2 | 3
|
|
hFlip?: boolean
|
|
vFlip?: boolean
|
|
}
|
|
|
|
export interface IconifyAlias extends Omit<IconifyIcon, 'body'> {
|
|
parent: string
|
|
}
|
|
|
|
export interface IconifyInfo {
|
|
prefix: string
|
|
name: string
|
|
total: number
|
|
version: string
|
|
author?: {
|
|
name: string
|
|
url?: string
|
|
}
|
|
license?: {
|
|
title: string
|
|
spdx?: string
|
|
url?: string
|
|
}
|
|
samples?: string[]
|
|
palette?: boolean
|
|
}
|
|
|
|
export interface IconifyMetaData {
|
|
[key: string]: unknown
|
|
}
|
|
|
|
export interface IconifyChars {
|
|
[key: string]: string
|
|
}
|
|
|
|
export declare const icons: IconifyJSON
|
|
export declare const info: IconifyInfo
|
|
export declare const metadata: IconifyMetaData
|
|
export declare const chars: IconifyChars
|
|
|