import { upload } from "./index" ; import { ResourceType } from "./types" ; import { argv } from "./util/getConfig" ; const resources = [ "schema" , "data" , "functions" , "indexes" , "providers" , "roles" ] ; const ignoreAll = argv . ignoreAll ; const useResources = resources . filter ( resource => argv [ resource ] ) ; upload ( { override : argv . override , resources : ignoreAll ? [ ] : ( useResources . length > 0 ? useResources : undefined ) } ) ;