Basic concept for the EULA feature to demo how this will all work

This commit is contained in:
Dane Everitt 2020-11-02 20:52:41 -08:00
parent 505a9a6cbd
commit aba7df3afa
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
8 changed files with 90 additions and 2 deletions

View file

@ -30,6 +30,7 @@ export interface Server {
cpu: number;
threads: string;
};
eggFeatures: string[];
featureLimits: {
databases: number;
allocations: number;
@ -53,6 +54,7 @@ export const rawDataToServerObject = ({ attributes: data }: FractalResponseData)
},
description: data.description ? ((data.description.length > 0) ? data.description : null) : null,
limits: { ...data.limits },
eggFeatures: data.egg_features || [],
featureLimits: { ...data.feature_limits },
isSuspended: data.is_suspended,
isInstalling: data.is_installing,