mirror of
https://github.com/hex248/ob248.com.git
synced 2026-02-08 02:33:02 +00:00
merge new into master
This commit is contained in:
59
node_modules/simple-icons/data/simple-icons.d.ts
generated
vendored
Normal file
59
node_modules/simple-icons/data/simple-icons.d.ts
generated
vendored
Normal file
@@ -0,0 +1,59 @@
|
||||
// @ts-check
|
||||
/**
|
||||
* @file Type definitions for icons JSON data.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The data for a Simple Icon.
|
||||
*/
|
||||
export type IconData = {
|
||||
title: string;
|
||||
hex: string;
|
||||
source: string;
|
||||
slug: string;
|
||||
guidelines?: string;
|
||||
license?: Omit<SPDXLicense, 'url'> | CustomLicense;
|
||||
aliases?: Aliases;
|
||||
};
|
||||
|
||||
/**
|
||||
* The aliases for a Simple Icon.
|
||||
*
|
||||
* Corresponds to the `aliases` property in the *data/simple-icons.json* file.
|
||||
* @see {@link https://github.com/simple-icons/simple-icons/blob/develop/CONTRIBUTING.md#aliases Aliases}
|
||||
*/
|
||||
export type Aliases = {
|
||||
aka?: string[];
|
||||
dup?: DuplicateAlias[];
|
||||
loc?: Record<string, string>;
|
||||
old?: string[];
|
||||
};
|
||||
|
||||
export type DuplicateAlias = {
|
||||
title: string;
|
||||
hex?: string;
|
||||
guidelines?: string;
|
||||
loc?: Record<string, string>;
|
||||
};
|
||||
|
||||
/**
|
||||
* The license for a Simple Icon.
|
||||
* @see {@link https://github.com/simple-icons/simple-icons/blob/develop/CONTRIBUTING.md#optional-data Optional Data}
|
||||
*/
|
||||
export type License = SPDXLicense | CustomLicense;
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/naming-convention
|
||||
export type SPDXLicense = {
|
||||
type: string;
|
||||
url: string;
|
||||
};
|
||||
|
||||
export type CustomLicense = {
|
||||
type: 'custom';
|
||||
url: string;
|
||||
};
|
||||
|
||||
declare const icons: IconData[];
|
||||
|
||||
export default icons;
|
||||
export = icons;
|
||||
1
node_modules/simple-icons/data/simple-icons.json
generated
vendored
Normal file
1
node_modules/simple-icons/data/simple-icons.json
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user