Support modifying the primary allocation for a server

This commit is contained in:
Dane Everitt 2020-07-09 19:56:46 -07:00
parent bfb28f949d
commit fc9054312d
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
17 changed files with 230 additions and 87 deletions

View file

@ -75,12 +75,15 @@ export interface FractalResponseData {
object: string;
attributes: {
[k: string]: any;
relationships?: {
[k: string]: FractalResponseData;
};
relationships?: Record<string, FractalResponseData | FractalResponseList>;
};
}
export interface FractalResponseList {
object: 'list';
data: FractalResponseData[];
}
export interface PaginatedResult<T> {
items: T[];
pagination: PaginationDataSet;