mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-02 20:59:28 -05:00
lots of shopping tweaks
This commit is contained in:
@@ -111,10 +111,15 @@ export function PatchedExportLogFromJSONTyped(json: any, ignoreDiscriminator: bo
|
||||
};
|
||||
}
|
||||
|
||||
export function PatchedExportLogToJSON(value?: Omit<PatchedExportLog, 'created_by'|'created_at'> | null): any {
|
||||
export function PatchedExportLogToJSON(json: any): PatchedExportLog {
|
||||
return PatchedExportLogToJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function PatchedExportLogToJSONTyped(value?: Omit<PatchedExportLog, 'created_by'|'created_at'> | null, ignoreDiscriminator: boolean = false): any {
|
||||
if (value == null) {
|
||||
return value;
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
'id': value['id'],
|
||||
@@ -127,15 +132,4 @@ export function PatchedExportLogToJSON(value?: Omit<PatchedExportLog, 'created_b
|
||||
'possibly_not_expired': value['possiblyNotExpired'],
|
||||
};
|
||||
}
|
||||
// ----------------------------------------------------------------------
|
||||
// Custom model functions added by custom openapi-generator template
|
||||
// ----------------------------------------------------------------------
|
||||
import {ApiApi, ApiPatchedExportLogListRequest, PaginatedPatchedExportLogList} from "@/openapi";
|
||||
|
||||
/**
|
||||
* query list endpoint using the provided request parameters
|
||||
*/
|
||||
export function list(requestParameters: ApiPatchedExportLogListRequest = {}): Promise<PaginatedPatchedExportLogList> {
|
||||
const api = new ApiApi()
|
||||
return api.apiPatchedExportLogList(requestParameters)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user