This repository was archived by the owner on Feb 6, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +46
-2
lines changed Expand file tree Collapse file tree 1 file changed +46
-2
lines changed Original file line number Diff line number Diff line change 66| ---| ---| ---| ---| ---| ---|
77| login | X | [ Link] ( #login ) | | | |
88| logout | X | [ Link] ( #logout ) | | | |
9- | decks | X | [ Link] ( #decks ) | POST PUT | POST PUT | Meta still TODO |
10- | slides | X | | | | |
9+ | decks | X | [ Link] ( #decks ) | POST PUT | POST PUT | Meta and guard still TODO |
10+ | slides | X | [ Link ] ( #slides ) | POST PUT DELETE | POST | Furthermore than guard and missing routes, content should be saved outside the db |
1111| publish | X | | | | |
1212| feed | | | | | |
1313
@@ -109,3 +109,47 @@ export interface Deck {
109109Questions:
110110
111111- do we want to duplicate the author name (= user name) in the meta data? for performance reason maybe?
112+
113+ Notes:
114+
115+ - basically the corresponding DeckDeckGo core Web Component is ` <deckgo-deck/> `
116+
117+ ### Slides
118+
119+ | <!-- --> | <!-- --> |
120+ | -------------| -------------|
121+ | Title | Slides |
122+ | Description | The slides of the presentation |
123+ | URL | /slides |
124+ | Method | POST PUT DELETE |
125+ | Body | see sample |
126+
127+ * Sample
128+
129+ ```
130+ export enum SlideTemplate {
131+ TITLE = 'title',
132+ CONTENT = 'content',
133+ SPLIT = 'split'
134+ }
135+
136+ export interface SlideAttributes {
137+ style?: string;
138+ }
139+
140+ export interface Deck {
141+ slide_id?: string;
142+
143+ slide_content?: string;
144+ slide_template: SlideTemplate,
145+ slide_attributes?: SlideAttributes;
146+
147+ created_at: Date;
148+ updated_at: Date;
149+ }
150+ ```
151+
152+ Notes:
153+
154+ - basically the corresponding DeckDeckGo core Web Components are all ` <deckgo-slide-xxxxxx/> ` and their content
155+ - ` SlideTemplate ` and ` SlideAttributes ` will be extended in the future
You can’t perform that action at this time.
0 commit comments