dev-api: add developer portal, OpenAPI spec, and Flatenbadet case study
- New /developers/ page with API docs, SDKs, pricing, use cases - OpenAPI 3.0 spec for Orders, Missions, Photos, Analytics - Case study: Glasskiosken i Flatenbadet — complete ROI analysis - Updated /order/ with recurring missions and frequency dropdown
This commit is contained in:
+28
@@ -0,0 +1,28 @@
|
||||
/**
|
||||
* Represents default log level values
|
||||
*
|
||||
* @enum {number}
|
||||
*/
|
||||
const DEFAULT_LEVELS = {
|
||||
trace: 10,
|
||||
debug: 20,
|
||||
info: 30,
|
||||
warn: 40,
|
||||
error: 50,
|
||||
fatal: 60
|
||||
}
|
||||
|
||||
/**
|
||||
* Represents sort order direction: `ascending` or `descending`
|
||||
*
|
||||
* @enum {string}
|
||||
*/
|
||||
const SORTING_ORDER = {
|
||||
ASC: 'ASC',
|
||||
DESC: 'DESC'
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
DEFAULT_LEVELS,
|
||||
SORTING_ORDER
|
||||
}
|
||||
Reference in New Issue
Block a user