-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add endpoints, hooks and types generated by orval.
I am unsure, if this should be commit here, or added in in another fashion. It is generated on the target: https://raw.githubusercontent.com/danskernesdigitalebibliotek/dpl-cms/opening-hours-api/openapi.json Includes not only the necessary GET endpoint etc for this ticket, but also other CRUD. DDFFORM-417
- Loading branch information
1 parent
a709ae0
commit 8f71c33
Showing
55 changed files
with
1,282 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/** | ||
* Generated by orval v6.8.1 🍺 | ||
* Do not edit manually. | ||
* DPL CMS - REST API | ||
* The REST API provide by the core REST module. | ||
* OpenAPI spec version: Versioning not supported | ||
*/ | ||
import type { DplOpeningHoursCreatePOST200Category } from "./dplOpeningHoursCreatePOST200Category"; | ||
|
||
export type DplOpeningHoursCreatePOST200 = { | ||
/** An serial unique id of the opening hours instance. */ | ||
id: number; | ||
category: DplOpeningHoursCreatePOST200Category; | ||
/** The date which the opening hours applies to. In ISO 8601 format. */ | ||
date: string; | ||
/** When the opening hours start. In format HH:MM */ | ||
start_time: string; | ||
/** When the opening hours end. In format HH:MM */ | ||
end_time: string; | ||
/** The id for the branch the instance belongs to */ | ||
branch_id: number; | ||
}; |
Oops, something went wrong.