@goldstack/utils-package
Version:
Utilities to work with Goldstack package configurations.
42 lines • 862 B
TypeScript
import type { Deployment } from '@goldstack/infra';
/**
* Name of the template used for creating this package.
*
* @title Template
* @pattern ^[^\s]*$
*/
export type Template = string;
/**
* Latest template version that was applied to this package.
*
* @title Template Version
*/
export type TemplateVersion = string;
/**
* Name of this package.
*
* @title Package Name
*/
export type Name = string;
/**
* Configuration of this package
*
* @title Configuration
*/
export interface PackageConfiguration {
[propName: string]: any;
}
/**
* Definition for a Goldstack Package.
*
* @title Package
*/
export interface Package {
template: Template;
templateVersion: TemplateVersion;
name: Name;
configuration: PackageConfiguration;
deployments: Deployment[];
$schema: string;
}
//# sourceMappingURL=packageTypes.d.ts.map