@malloy-publisher/app 0.0.88 → 0.0.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-doc.yaml +43 -5
- package/dist/index.cjs.js +62 -62
- package/dist/index.es.js +4272 -4299
- package/package.json +2 -2
package/dist/api-doc.yaml
CHANGED
|
@@ -10,6 +10,20 @@ servers:
|
|
|
10
10
|
- url: /api/v0/
|
|
11
11
|
|
|
12
12
|
paths:
|
|
13
|
+
/status:
|
|
14
|
+
get:
|
|
15
|
+
tags:
|
|
16
|
+
- publisher
|
|
17
|
+
operationId: get-status
|
|
18
|
+
summary: Server status
|
|
19
|
+
responses:
|
|
20
|
+
'200':
|
|
21
|
+
description: Returns server status
|
|
22
|
+
content:
|
|
23
|
+
application/json:
|
|
24
|
+
schema:
|
|
25
|
+
$ref: '#/components/schemas/ServerStatus'
|
|
26
|
+
|
|
13
27
|
/projects:
|
|
14
28
|
get:
|
|
15
29
|
tags:
|
|
@@ -224,7 +238,11 @@ paths:
|
|
|
224
238
|
type: string
|
|
225
239
|
responses:
|
|
226
240
|
"200":
|
|
227
|
-
description:
|
|
241
|
+
description: OK
|
|
242
|
+
content:
|
|
243
|
+
application/json:
|
|
244
|
+
schema:
|
|
245
|
+
$ref: '#/components/schemas/ConnectionStatus'
|
|
228
246
|
"401":
|
|
229
247
|
$ref: "#/components/responses/UnauthorizedError"
|
|
230
248
|
"404":
|
|
@@ -1086,12 +1104,15 @@ components:
|
|
|
1086
1104
|
$ref: "#/components/schemas/Error"
|
|
1087
1105
|
|
|
1088
1106
|
schemas:
|
|
1089
|
-
|
|
1107
|
+
ServerStatus:
|
|
1090
1108
|
type: object
|
|
1091
1109
|
properties:
|
|
1092
|
-
|
|
1093
|
-
type:
|
|
1094
|
-
|
|
1110
|
+
timestamp:
|
|
1111
|
+
type: number
|
|
1112
|
+
projects:
|
|
1113
|
+
type: array
|
|
1114
|
+
items:
|
|
1115
|
+
$ref: '#/components/schemas/Project'
|
|
1095
1116
|
|
|
1096
1117
|
Project:
|
|
1097
1118
|
type: object
|
|
@@ -1108,6 +1129,14 @@ components:
|
|
|
1108
1129
|
location:
|
|
1109
1130
|
type: string
|
|
1110
1131
|
description: Project location, it can be an absolute path or an URI (e.g. github, s3, gcs, etc.).
|
|
1132
|
+
connections:
|
|
1133
|
+
type: array
|
|
1134
|
+
items:
|
|
1135
|
+
$ref: '#/components/schemas/Connection'
|
|
1136
|
+
packages:
|
|
1137
|
+
type: array
|
|
1138
|
+
items:
|
|
1139
|
+
$ref: '#/components/schemas/Package'
|
|
1111
1140
|
|
|
1112
1141
|
Package:
|
|
1113
1142
|
type: object
|
|
@@ -1542,3 +1571,12 @@ components:
|
|
|
1542
1571
|
description: Name of the project to watch
|
|
1543
1572
|
required:
|
|
1544
1573
|
- projectName
|
|
1574
|
+
|
|
1575
|
+
ConnectionStatus:
|
|
1576
|
+
type: object
|
|
1577
|
+
properties:
|
|
1578
|
+
status:
|
|
1579
|
+
type: string
|
|
1580
|
+
enum: ["ok", "failed"]
|
|
1581
|
+
errorMessage:
|
|
1582
|
+
type: string
|