package wrappers

type ScaPackageCollection struct {
	ID                      string             `json:"id,omitempty"`
	FixLink                 string             `json:"fixLink,omitempty"`
	BestPackageLink         string             `json:"bestPackageLink,omitempty"`
	Locations               []*string          `json:"locations,omitempty"`
	DependencyPathArray     [][]DependencyPath `json:"dependencyPaths,omitempty"`
	Outdated                bool               `json:"outdated,omitempty"`
	SupportsQuickFix        bool               `json:"supportsQuickFix"`
	IsDirectDependency      bool               `json:"isDirectDependency"`
	TypeOfDependency        string             `json:"typeOfDependency"`
	IsDevelopmentDependency bool               `json:"isDevelopmentDependency"`
	IsTestDependency        bool               `json:"isTestDependency"`
}

type DependencyPath struct {
	ID               string    `json:"id,omitempty"`
	Name             string    `json:"name,omitempty"`
	Version          string    `json:"version,omitempty"`
	IsResolved       bool      `json:"isResolved,omitempty"`
	IsDevelopment    bool      `json:"isDevelopment,omitempty"`
	Locations        []*string `json:"locations,omitempty"`
	SupportsQuickFix bool      `json:"supportsQuickFix,omitempty"`
}

type ScaTypeCollection struct {
	ID        string `json:"id,omitempty"`
	Type      string `json:"type,omitempty"`
	IsIgnored bool   `json:"isIgnored,omitempty"`
	PackageID string `json:"omitempty"`
}
