mirror of
				https://github.com/mealie-recipes/mealie.git
				synced 2025-10-31 10:13:32 -04:00 
			
		
		
		
	Consolidate frontend types (#1245)
This commit is contained in:
		
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							6a88a59981
						
					
				
				
					commit
					479900e912
				
			| @@ -56,7 +56,7 @@ | ||||
| <script lang="ts"> | ||||
| import { defineComponent, ref, toRefs, onMounted, reactive } from "@nuxtjs/composition-api"; | ||||
| import { useUserApi } from "~/composables/api"; | ||||
| import { RecipeComment } from "~/api/class-interfaces/recipes/types"; | ||||
| import { RecipeCommentOut } from "~/types/api-types/recipe"; | ||||
| import UserAvatar from "~/components/Domain/User/UserAvatar.vue"; | ||||
|  | ||||
| export default defineComponent({ | ||||
| @@ -76,7 +76,7 @@ export default defineComponent({ | ||||
|   setup(props) { | ||||
|     const api = useUserApi(); | ||||
|  | ||||
|     const comments = ref<RecipeComment[]>([]); | ||||
|     const comments = ref<RecipeCommentOut[]>([]); | ||||
|  | ||||
|     const state = reactive({ | ||||
|       comment: "", | ||||
|   | ||||
		Reference in New Issue
	
	Block a user