posprocessing hook for DRF

This commit is contained in:
vabene1111
2024-03-30 11:01:37 +01:00
parent cb98b6723f
commit dfd9f7b066
156 changed files with 11621 additions and 1118 deletions

View File

@@ -24,7 +24,7 @@ export interface SyncLog {
* @type {number}
* @memberof SyncLog
*/
readonly id: number;
id?: number;
/**
*
* @type {number}
@@ -55,7 +55,6 @@ export interface SyncLog {
* Check if a given object implements the SyncLog interface.
*/
export function instanceOfSyncLog(value: object): boolean {
if (!('id' in value)) return false;
if (!('sync' in value)) return false;
if (!('status' in value)) return false;
if (!('createdAt' in value)) return false;
@@ -72,7 +71,7 @@ export function SyncLogFromJSONTyped(json: any, ignoreDiscriminator: boolean): S
}
return {
'id': json['id'],
'id': json['id'] == null ? undefined : json['id'],
'sync': json['sync'],
'status': json['status'],
'msg': json['msg'] == null ? undefined : json['msg'],
@@ -86,6 +85,7 @@ export function SyncLogToJSON(value?: SyncLog | null): any {
}
return {
'id': value['id'],
'sync': value['sync'],
'status': value['status'],
'msg': value['msg'],