models/ChocolateyPackage.ps1
class ChocolateyISOPackage { [string] $Name [string] $Path [RemoteFile] $IsoFile [PackageManifest] $Manifest [ChocolateyPackage] $MetaPackage [ChocolateyPackage[]] $Packages } class ChocolateyPackage { [string] $Name [string] $Path [string] $ProcessScript [bool] $Shim [PackageInstaller] $Installer [PackageManifest] $Manifest [LocalFile[]] $LocalFiles [RemoteFile[]] $RemoteFiles } class LocalFile { [string] $LocalPath [string] $ImportPath } class RemoteFile { [string] $Url [string] $Sha1 [string] $ImportPath } class PackageManifest { [PackageMetadata] $Metadata [PackageFile[]] $Files } class PackageMetadata { [string] $Id [string] $Title [string] $Version [string] $Authors [string] $Owners [string] $Summary [string] $Description [string] $ProjectUrl [string] $PackageSourceUrl [string] $Tags [string] $Copyright [string] $LicenseUrl [string] $RequireLicenseAcceptance [PackageDependency[]] $Dependencies } class PackageDependency { [string] $Id [string] $Version } class PackageFile { [string] $Src [string] $Target } class PackageInstaller { [string] $ScriptPath [string] $InstallerPath [string] $InstallerPath64 [string] $InstallerType [int[]] $ExitCodes [string] $Flags [hashtable] $Arguments } |