autosync WIP

This commit is contained in:
vabene1111
2024-11-25 18:36:11 +01:00
parent 0485e5192b
commit d91a3080d5
41 changed files with 413 additions and 1876 deletions

View File

@@ -50,6 +50,12 @@ export interface PaginatedUserSpaceList {
* @memberof PaginatedUserSpaceList
*/
results: Array<UserSpace>;
/**
*
* @type {Date}
* @memberof PaginatedUserSpaceList
*/
timestamp?: Date;
}
/**
@@ -75,6 +81,7 @@ export function PaginatedUserSpaceListFromJSONTyped(json: any, ignoreDiscriminat
'next': json['next'] == null ? undefined : json['next'],
'previous': json['previous'] == null ? undefined : json['previous'],
'results': ((json['results'] as Array<any>).map(UserSpaceFromJSON)),
'timestamp': json['timestamp'] == null ? undefined : (new Date(json['timestamp'])),
};
}
@@ -88,6 +95,7 @@ export function PaginatedUserSpaceListToJSON(value?: PaginatedUserSpaceList | nu
'next': value['next'],
'previous': value['previous'],
'results': ((value['results'] as Array<any>).map(UserSpaceToJSON)),
'timestamp': value['timestamp'] == null ? undefined : ((value['timestamp']).toISOString()),
};
}
// ----------------------------------------------------------------------