Basic concept for the EULA feature to demo how this will all work
This commit is contained in:
parent
505a9a6cbd
commit
aba7df3afa
8 changed files with 90 additions and 2 deletions
|
@ -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,
|
||||
|
|
Reference in a new issue