fixed file upload, styling, boolean/date/output inputs

This commit is contained in:
lotte
2020-03-24 18:05:22 +01:00
committed by Art Lowel
parent 3e4704af0d
commit e38aec831f
34 changed files with 291 additions and 69 deletions

View File

@@ -32,6 +32,8 @@ export enum IdentifierType {
export abstract class RestRequest {
public responseMsToLive = 10 * 1000;
public forceBypassCache = false;
public isMultipart = false;
constructor(
public uuid: string,
public href: string,
@@ -74,6 +76,18 @@ export class PostRequest extends RestRequest {
}
}
export class MultipartPostRequest extends RestRequest {
public isMultipart = true;
constructor(
public uuid: string,
public href: string,
public body?: any,
public options?: HttpOptions
) {
super(uuid, href, RestRequestMethod.POST, body)
}
}
export class PutRequest extends RestRequest {
constructor(
public uuid: string,