mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-11 09:07:12 -05:00
lots of shopping tweaks
This commit is contained in:
@@ -114,10 +114,15 @@ export function ExportLogFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
||||
};
|
||||
}
|
||||
|
||||
export function ExportLogToJSON(value?: Omit<ExportLog, 'created_by'|'created_at'> | null): any {
|
||||
export function ExportLogToJSON(json: any): ExportLog {
|
||||
return ExportLogToJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function ExportLogToJSONTyped(value?: Omit<ExportLog, 'created_by'|'created_at'> | null, ignoreDiscriminator: boolean = false): any {
|
||||
if (value == null) {
|
||||
return value;
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
'id': value['id'],
|
||||
@@ -130,15 +135,4 @@ export function ExportLogToJSON(value?: Omit<ExportLog, 'created_by'|'created_at
|
||||
'possibly_not_expired': value['possiblyNotExpired'],
|
||||
};
|
||||
}
|
||||
// ----------------------------------------------------------------------
|
||||
// Custom model functions added by custom openapi-generator template
|
||||
// ----------------------------------------------------------------------
|
||||
import {ApiApi, ApiExportLogListRequest, PaginatedExportLogList} from "@/openapi";
|
||||
|
||||
/**
|
||||
* query list endpoint using the provided request parameters
|
||||
*/
|
||||
export function list(requestParameters: ApiExportLogListRequest = {}): Promise<PaginatedExportLogList> {
|
||||
const api = new ApiApi()
|
||||
return api.apiExportLogList(requestParameters)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user