-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.js
More file actions
28 lines (28 loc) · 893 Bytes
/
types.js
File metadata and controls
28 lines (28 loc) · 893 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/**
* @typedef NavLink
* @property {String} text
* @property {String} url
*
* @typedef BaseUiViewModel
* @property {NavLink[]} navLevels
* @property {String} title
*
* @typedef Grooklet
* @property {string} [title]
* @property {string} body
*
* @typedef Weeknote
* @property {String} bodyAsHtml
* @property {Date} date
* @property {String} titleAsText
* @property {String} uid
*
* @typedef {import('@prismicio/client').Client<import("./types.generated.js").AllDocumentTypes>} PrismicClient
* @typedef {import('./types.generated.js').WeeknotesDocument} WeeknoteDbDoc
* @typedef {import('@supabase/supabase-js').SupabaseClient} SupabaseClient
*
* @typedef {import('express').Request} ExpressRequest
* @typedef {import('express').Response} ExpressResponse
* @typedef {import('express').NextFunction} NextFunction
* @typedef {Error & { status: number }} ExpressError
*/