UNPKG

terraform-cloud

Version:
29 lines (28 loc) 556 B
export interface Data { id: string; type: string; } export interface Links { self?: string; related?: string; jsonOutput?: string; } export declare type Relationship = { data: Data; links: Links; }; export declare type TerraformCloudData<Attributes> = Data & { attributes: Attributes; relationships?: [Relationship]; links?: Links; }; export declare type Page = { number: number; size: number; }; export interface Params<T, Attributes> { data: { type: T; attributes: Attributes; }; }