refactor: prevent storing entire collection data in the respective handle

This commit is contained in:
jamesgeorge007
2024-02-08 23:08:54 +05:30
parent d6a8e60239
commit f0dab55c99
4 changed files with 70 additions and 31 deletions

View File

@@ -1,10 +1,10 @@
import { HoppCollection, HoppRESTRequest } from "@hoppscotch/data"
import { HoppRESTRequest } from "@hoppscotch/data"
import { Ref } from "vue"
export type RESTCollectionViewCollection = {
collectionID: string
collection: HoppCollection // Should not store children including folders and requests
name: string
}
export type RESTCollectionViewRequest = {