dependencies
font-awesome-v5-icons now includes typescript definitionsdeepsource-autofix-76c6eb20
parent
fe8250ecd9
commit
ca85bc3dd8
File diff suppressed because it is too large
Load Diff
12
package.json
12
package.json
|
|
@ -37,7 +37,7 @@
|
||||||
"@cityssm/bulma-webapp-js": "^1.5.0",
|
"@cityssm/bulma-webapp-js": "^1.5.0",
|
||||||
"@cityssm/date-diff": "^2.2.3",
|
"@cityssm/date-diff": "^2.2.3",
|
||||||
"@cityssm/expressjs-server-js": "^2.3.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",
|
"@cityssm/pdf-puppeteer": "^2.0.0-beta.1",
|
||||||
"@fortawesome/fontawesome-free": "^5.15.4",
|
"@fortawesome/fontawesome-free": "^5.15.4",
|
||||||
"activedirectory2": "^2.1.0",
|
"activedirectory2": "^2.1.0",
|
||||||
|
|
@ -54,9 +54,9 @@
|
||||||
"express": "^4.18.2",
|
"express": "^4.18.2",
|
||||||
"express-rate-limit": "^6.7.0",
|
"express-rate-limit": "^6.7.0",
|
||||||
"express-session": "^1.17.3",
|
"express-session": "^1.17.3",
|
||||||
"font-awesome-v5-icons": "^1.2.1",
|
"font-awesome-v5-icons": "^1.3.0",
|
||||||
"http-errors": "^2.0.0",
|
"http-errors": "^2.0.0",
|
||||||
"ical-generator": "^3.6.0",
|
"ical-generator": "^3.6.1",
|
||||||
"leaflet": "^1.9.3",
|
"leaflet": "^1.9.3",
|
||||||
"papaparse": "^5.3.2",
|
"papaparse": "^5.3.2",
|
||||||
"randomcolor": "^0.6.2",
|
"randomcolor": "^0.6.2",
|
||||||
|
|
@ -68,7 +68,7 @@
|
||||||
"@cityssm/bulma-sticky-table": "^2.0.1",
|
"@cityssm/bulma-sticky-table": "^2.0.1",
|
||||||
"@cityssm/bulma-webapp-css": "^0.12.0",
|
"@cityssm/bulma-webapp-css": "^0.12.0",
|
||||||
"@cityssm/fa-glow": "^0.1.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",
|
"@cityssm/simple-fa5-checkbox": "^0.2.1",
|
||||||
"@types/activedirectory2": "^1.2.3",
|
"@types/activedirectory2": "^1.2.3",
|
||||||
"@types/better-sqlite3": "^7.6.3",
|
"@types/better-sqlite3": "^7.6.3",
|
||||||
|
|
@ -91,8 +91,8 @@
|
||||||
"@types/randomcolor": "^0.5.7",
|
"@types/randomcolor": "^0.5.7",
|
||||||
"@types/session-file-store": "^1.2.2",
|
"@types/session-file-store": "^1.2.2",
|
||||||
"@types/uuid": "^9.0.0",
|
"@types/uuid": "^9.0.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.47.0",
|
"@typescript-eslint/eslint-plugin": "^5.47.1",
|
||||||
"@typescript-eslint/parser": "^5.47.0",
|
"@typescript-eslint/parser": "^5.47.1",
|
||||||
"bulma": "^0.9.4",
|
"bulma": "^0.9.4",
|
||||||
"bulma-divider": "^0.2.0",
|
"bulma-divider": "^0.2.0",
|
||||||
"bulma-helpers": "^0.4.3",
|
"bulma-helpers": "^0.4.3",
|
||||||
|
|
|
||||||
|
|
@ -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[]>;
|
|
||||||
}
|
|
||||||
|
|
@ -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[]>;
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue