Files
Umbraco-CMS/src/Umbraco.Web.UI.Client/temp-schema-generator/models.ts

30 lines
510 B
TypeScript

export type ServerStatus = 'running' | 'must-install' | 'must-upgrade';
export interface StatusResponse {
serverStatus: ServerStatus;
}
export interface VersionResponse {
version: string;
}
export interface UserResponse {
username: string;
role: string;
}
export interface UserLoginRequest {
username: string;
password: string;
persist: boolean;
}
export interface ProblemDetails {
type: string;
status: number;
title?: string;
detail?: string;
instance?: string;
errors?: {};
}