2021-10-10 19:32:07 +01:00
|
|
|
import { Model, UUID } from '@/api/admin/index';
|
|
|
|
|
|
|
|
export interface Egg extends Model {
|
2021-10-10 20:03:28 +01:00
|
|
|
id: number;
|
2021-10-10 19:32:07 +01:00
|
|
|
uuid: UUID;
|
2021-10-10 20:03:28 +01:00
|
|
|
startup: string;
|
2021-10-10 19:32:07 +01:00
|
|
|
relationships: {
|
|
|
|
variables?: EggVariable[];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface EggVariable extends Model {
|
|
|
|
id: number;
|
|
|
|
eggId: number;
|
|
|
|
name: string;
|
|
|
|
description: string;
|
|
|
|
environmentVariable: string;
|
|
|
|
defaultValue: string;
|
|
|
|
isUserViewable: boolean;
|
|
|
|
isUserEditable: boolean;
|
|
|
|
isRequired: boolean;
|
|
|
|
rules: string;
|
|
|
|
createdAt: Date;
|
|
|
|
updatedAt: Date;
|
|
|
|
}
|