dependencies

font-awesome-v5-icons now includes typescript definitions
deepsource-autofix-76c6eb20
Dan Gowans 2022-12-28 11:06:30 -05:00
parent fe8250ecd9
commit ca85bc3dd8
4 changed files with 498 additions and 785 deletions

1219
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -37,7 +37,7 @@
"@cityssm/bulma-webapp-js": "^1.5.0",
"@cityssm/date-diff": "^2.2.3",
"@cityssm/expressjs-server-js": "^2.3.3",
"@cityssm/ntfy-publish": "^0.2.0",
"@cityssm/ntfy-publish": "^0.2.1",
"@cityssm/pdf-puppeteer": "^2.0.0-beta.1",
"@fortawesome/fontawesome-free": "^5.15.4",
"activedirectory2": "^2.1.0",
@ -54,9 +54,9 @@
"express": "^4.18.2",
"express-rate-limit": "^6.7.0",
"express-session": "^1.17.3",
"font-awesome-v5-icons": "^1.2.1",
"font-awesome-v5-icons": "^1.3.0",
"http-errors": "^2.0.0",
"ical-generator": "^3.6.0",
"ical-generator": "^3.6.1",
"leaflet": "^1.9.3",
"papaparse": "^5.3.2",
"randomcolor": "^0.6.2",
@ -68,7 +68,7 @@
"@cityssm/bulma-sticky-table": "^2.0.1",
"@cityssm/bulma-webapp-css": "^0.12.0",
"@cityssm/fa-glow": "^0.1.0",
"@cityssm/mssql-multi-pool": "^2.1.6",
"@cityssm/mssql-multi-pool": "^2.2.0",
"@cityssm/simple-fa5-checkbox": "^0.2.1",
"@types/activedirectory2": "^1.2.3",
"@types/better-sqlite3": "^7.6.3",
@ -91,8 +91,8 @@
"@types/randomcolor": "^0.5.7",
"@types/session-file-store": "^1.2.2",
"@types/uuid": "^9.0.0",
"@typescript-eslint/eslint-plugin": "^5.47.0",
"@typescript-eslint/parser": "^5.47.0",
"@typescript-eslint/eslint-plugin": "^5.47.1",
"@typescript-eslint/parser": "^5.47.1",
"bulma": "^0.9.4",
"bulma-divider": "^0.2.0",
"bulma-helpers": "^0.4.3",

View File

@ -1,17 +0,0 @@
declare module "font-awesome-v5-icons" {
type FontAwesomeV5Styles = "solid" | "regular" | "brands";
type FontAwesomeV5Keys = "name" | "changes" | "label" | "search" | "styles" | "unicode" | "voted";
interface FontAwesomeV5Icon {
name?: string;
changes?: string[];
label?: string;
search?: {
terms: string[];
};
styles?: FontAwesomeV5Styles[];
unicode?: string;
voted?: boolean;
}
function getList(): Promise<FontAwesomeV5Icon[]>;
function getListByKeys(arrayOfNeededKeys: FontAwesomeV5Keys[]): Promise<FontAwesomeV5Icon[]>;
}

View File

@ -1,35 +0,0 @@
declare module "font-awesome-v5-icons" {
type FontAwesomeV5Styles = "solid" | "regular" | "brands";
type FontAwesomeV5Keys =
| "name"
| "changes"
| "label"
| "search"
| "styles"
| "unicode"
| "voted";
interface FontAwesomeV5Icon {
name?: string;
changes?: string[];
label?: string;
search?: { terms: string[] };
styles?: FontAwesomeV5Styles[];
unicode?: string;
voted?: boolean;
}
/**
* Returns a promise with a full list of actual Font Awesome v5 icons.
*/
export function getList(): Promise<FontAwesomeV5Icon[]>;
/**
* Returns a promise with a full list of Font Awesome icons with needed keys only.
* @param arrayOfNeededKeys
*/
export function getListByKeys(
arrayOfNeededKeys: FontAwesomeV5Keys[]
): Promise<FontAwesomeV5Icon[]>;
}