mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 22:33:44 +02:00
Basic concept for the EULA feature to demo how this will all work
This commit is contained in:
@@ -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 New Issue
Block a user