1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-08-02 20:15:24 +02:00

Use composition API for more components, enable more type checking (#914)

* Activate more linting rules from eslint and typescript

* Properly add VForm as type information

* Fix usage of native types

* Fix more linting issues

* Rename vuetify types file, add VTooltip

* Fix some more typing problems

* Use composition API for more components

* Convert RecipeRating

* Convert RecipeNutrition

* Convert more components to composition API

* Fix globals plugin for type checking

* Add missing icon types

* Fix vuetify types in Nuxt context

* Use composition API for RecipeActionMenu

* Convert error.vue to composition API

* Convert RecipeContextMenu to composition API

* Use more composition API and type checking in recipe/create

* Convert AppButtonUpload to composition API

* Fix some type checking in RecipeContextMenu

* Remove unused components BaseAutoForm and BaseColorPicker

* Convert RecipeCategoryTagDialog to composition API

* Convert RecipeCardSection to composition API

* Convert RecipeCategoryTagSelector to composition API

* Properly import vuetify type definitions

* Convert BaseButton to composition API

* Convert AutoForm to composition API

* Remove unused requests API file

* Remove static routes from recipe API

* Fix more type errors

* Convert AppHeader to composition API, fixing some search bar focus problems

* Convert RecipeDialogSearch to composition API

* Update API types from pydantic models, handle undefined values

* Improve more typing problems

* Add types to other plugins

* Properly type the CRUD API access

* Fix typing of static image routes

* Fix more typing stuff

* Fix some more typing problems

* Turn off more rules
This commit is contained in:
Philipp Fischbeck 2022-01-09 07:15:23 +01:00 committed by GitHub
parent d5ab5ec66f
commit 86c99b10a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
114 changed files with 2218 additions and 2033 deletions

View file

@ -1,111 +1,114 @@
export interface Icon {
// Primary
primary: String;
primary: string;
// General
foods: String;
units: String;
alert: String;
alertCircle: String;
api: String;
arrowLeftBold: String;
arrowUpDown: String;
backupRestore: String;
bellAlert: String;
broom: String;
calendar: String;
calendarMinus: String;
calendarMultiselect: String;
calendarToday: String;
calendarWeek: String;
calendarWeekBegin: String;
cartCheck: String;
check: String;
checkboxBlankOutline: String;
checkboxMarkedCircle: String;
clipboardCheck: String;
clockOutline: String;
codeBraces: String;
codeJson: String;
cog: String;
commentTextMultipleOutline: String;
contentCopy: String;
database: String;
desktopTowerMonitor: String;
devTo: String;
diceMultiple: String;
dotsHorizontal: String;
dotsVertical: String;
download: String;
email: String;
externalLink: String;
eye: String;
eyeOff: String;
file: String;
fileImage: String;
filePDF: String;
filter: String;
folderOutline: String;
food: String;
formatColorFill: String;
formatListCheck: String;
formSelect: String;
github: String;
heart: String;
heartOutline: String;
home: String;
import: String;
information: String;
link: String;
lock: String;
logout: String;
menu: String;
newBox: String;
notificationClearAll: String;
openInNew: String;
orderAlphabeticalAscending: String;
pageLayoutBody: String;
printer: String;
refreshCircle: String;
robot: String;
search: String;
shareVariant: String;
shuffleVariant: String;
sort: String;
star: String;
testTube: String;
tools: String;
translate: String;
upload: String;
viewDashboard: String;
viewModule: String;
weatherNight: String;
weatherSunny: String;
webhook: String;
windowClose: String;
zip: String;
foods: string;
units: string;
alert: string;
alertCircle: string;
api: string;
arrowLeftBold: string;
arrowUpDown: string;
backupRestore: string;
bellAlert: string;
broom: string;
calendar: string;
calendarMinus: string;
calendarMultiselect: string;
calendarToday: string;
calendarWeek: string;
calendarWeekBegin: string;
cartCheck: string;
check: string;
checkboxBlankOutline: string;
checkboxMarkedCircle: string;
clipboardCheck: string;
clockOutline: string;
codeBraces: string;
codeJson: string;
cog: string;
commentTextMultipleOutline: string;
contentCopy: string;
database: string;
desktopTowerMonitor: string;
devTo: string;
diceMultiple: string;
dotsHorizontal: string;
dotsVertical: string;
download: string;
email: string;
externalLink: string;
eye: string;
eyeOff: string;
file: string;
fileImage: string;
filePDF: string;
filter: string;
folderOutline: string;
food: string;
formatColorFill: string;
formatListCheck: string;
formSelect: string;
github: string;
heart: string;
heartOutline: string;
home: string;
import: string;
information: string;
link: string;
lock: string;
logout: string;
menu: string;
newBox: string;
notificationClearAll: string;
openInNew: string;
orderAlphabeticalAscending: string;
pageLayoutBody: string;
potSteam: string;
printer: string;
refreshCircle: string;
robot: string;
search: string;
shareVariant: string;
shuffleVariant: string;
sort: string;
star: string;
testTube: string;
tools: string;
translate: string;
upload: string;
viewDashboard: string;
viewModule: string;
weatherNight: string;
weatherSunny: string;
webhook: string;
windowClose: string;
zip: string;
// Crud
backArrow: String;
createAlt: String;
create: String;
delete: String;
save: String;
update: String;
edit: String;
close: String;
minus: String;
backArrow: string;
createAlt: string;
create: string;
delete: string;
save: string;
update: string;
edit: string;
close: string;
minus: string;
// Organization
tags: String;
pages: String;
tags: string;
pages: string;
// Admin
user: String;
admin: String;
group: String;
accountPlusOutline: String;
user: string;
admin: string;
group: string;
accountPlusOutline: string;
forward: String;
back: String;
forward: string;
back: string;
slotMachine: string;
chevronDown: string;
}