@topogram/starter-hello-api 0.1.10 → 0.1.12
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@topogram/starter-hello-api",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.12",
|
|
4
4
|
"description": "Hono API-only Topogram starter.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"private": false,
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"README.md"
|
|
18
18
|
],
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@topogram/generator-hono-api": "0.2.
|
|
20
|
+
"@topogram/generator-hono-api": "0.2.9"
|
|
21
21
|
},
|
|
22
22
|
"publishConfig": {
|
|
23
23
|
"registry": "https://registry.npmjs.org",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
projection proj_api {
|
|
2
2
|
name "Hello API"
|
|
3
3
|
description "HTTP API realization for the hello API starter"
|
|
4
|
-
|
|
4
|
+
type api_contract
|
|
5
5
|
|
|
6
6
|
realizes [cap_get_hello]
|
|
7
7
|
outputs [request_contracts, response_contracts, endpoints]
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
endpoints {
|
|
10
10
|
cap_get_hello method GET path /hello success 200 auth none request none
|
|
11
11
|
}
|
|
12
12
|
|
package/topogram-template.json
CHANGED
package/topogram.project.json
CHANGED
|
@@ -7,17 +7,17 @@
|
|
|
7
7
|
}
|
|
8
8
|
},
|
|
9
9
|
"topology": {
|
|
10
|
-
"
|
|
10
|
+
"runtimes": [
|
|
11
11
|
{
|
|
12
12
|
"id": "app_api",
|
|
13
|
-
"type": "api",
|
|
14
13
|
"projection": "proj_api",
|
|
15
14
|
"generator": {
|
|
16
15
|
"id": "@topogram/generator-hono-api",
|
|
17
16
|
"version": "1",
|
|
18
17
|
"package": "@topogram/generator-hono-api"
|
|
19
18
|
},
|
|
20
|
-
"port": 3000
|
|
19
|
+
"port": 3000,
|
|
20
|
+
"kind": "api_service"
|
|
21
21
|
}
|
|
22
22
|
]
|
|
23
23
|
}
|