@molecule/api-resource-status-page 1.0.4 → 1.0.6
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/README.md +6 -6
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +7 -7
- /package/{setup → src/__setup__}/checks.sql +0 -0
- /package/{setup → src/__setup__}/incidents.sql +0 -0
- /package/{setup → src/__setup__}/services.sql +0 -0
- /package/{setup → src/__setup__}/uptimeWindows.sql +0 -0
package/README.md
CHANGED
|
@@ -3,15 +3,11 @@ AUTO-GENERATED — DO NOT EDIT THIS FILE.
|
|
|
3
3
|
Generated by `mlcl sync-docs` from the package's src/index.ts JSDoc + mlcl/registry.json.
|
|
4
4
|
Edits here are overwritten on the next commit (molecule's pre-commit hook regenerates).
|
|
5
5
|
To change this document, edit the module-level JSDoc in src/index.ts.
|
|
6
|
-
Generated: 2026-10-
|
|
6
|
+
Generated: 2026-10-17T19:17:38.780Z
|
|
7
7
|
-->
|
|
8
8
|
|
|
9
9
|
# @molecule/api-resource-status-page
|
|
10
10
|
|
|
11
|
-
> **Auto-generated, AI-first package reference** for the [molecule.dev](https://molecule.dev) ecosystem.
|
|
12
|
-
> It is written to be read by coding agents as much as by people, and is generated from this
|
|
13
|
-
> package's source — edit `src/index.ts` JSDoc, not this file.
|
|
14
|
-
|
|
15
11
|
Status page resource for molecule.dev.
|
|
16
12
|
|
|
17
13
|
Public status-page backend: monitored services, incidents with lifecycle
|
|
@@ -36,6 +32,10 @@ res.status(statusCode).send(body)
|
|
|
36
32
|
Monkey-patching `res.json` to re-shape a handler's answer intercepts nothing the handler
|
|
37
33
|
produces, so the request it was meant to answer is left unanswered and hangs.
|
|
38
34
|
|
|
35
|
+
> **Auto-generated, AI-first package reference** for the [molecule.dev](https://molecule.dev) ecosystem.
|
|
36
|
+
> It is written to be read by coding agents as much as by people, and is generated from this
|
|
37
|
+
> package's source — edit `src/index.ts` JSDoc, not this file.
|
|
38
|
+
|
|
39
39
|
## Quick Start
|
|
40
40
|
|
|
41
41
|
```typescript
|
|
@@ -943,7 +943,7 @@ deface the public status page (fabricate outages, delete services).
|
|
|
943
943
|
Handler text flows through `t()` with English defaults; the companion
|
|
944
944
|
locale bond `@molecule/api-locales-status-page` provides translations.
|
|
945
945
|
|
|
946
|
-
Tables: `
|
|
946
|
+
Tables: `src/__setup__/*.sql` creates `services`, `incidents`, `checks`, and
|
|
947
947
|
`uptimeWindows`. An mlcl-scaffolded API replays these setup files
|
|
948
948
|
automatically on migrate; anywhere else run them once — nothing at runtime
|
|
949
949
|
creates them.
|
package/dist/index.d.ts
CHANGED
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
* Handler text flows through `t()` with English defaults; the companion
|
|
97
97
|
* locale bond `@molecule/api-locales-status-page` provides translations.
|
|
98
98
|
*
|
|
99
|
-
* Tables: `
|
|
99
|
+
* Tables: `src/__setup__/*.sql` creates `services`, `incidents`, `checks`, and
|
|
100
100
|
* `uptimeWindows`. An mlcl-scaffolded API replays these setup files
|
|
101
101
|
* automatically on migrate; anywhere else run them once — nothing at runtime
|
|
102
102
|
* creates them.
|
package/dist/index.js
CHANGED
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
* Handler text flows through `t()` with English defaults; the companion
|
|
97
97
|
* locale bond `@molecule/api-locales-status-page` provides translations.
|
|
98
98
|
*
|
|
99
|
-
* Tables: `
|
|
99
|
+
* Tables: `src/__setup__/*.sql` creates `services`, `incidents`, `checks`, and
|
|
100
100
|
* `uptimeWindows`. An mlcl-scaffolded API replays these setup files
|
|
101
101
|
* automatically on migrate; anywhere else run them once — nothing at runtime
|
|
102
102
|
* creates them.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@molecule/api-resource-status-page",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "System status page resource for molecule.dev.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
},
|
|
19
19
|
"files": [
|
|
20
20
|
"dist",
|
|
21
|
-
"
|
|
21
|
+
"src/__setup__",
|
|
22
22
|
"README.md"
|
|
23
23
|
],
|
|
24
24
|
"keywords": [
|
|
@@ -29,14 +29,14 @@
|
|
|
29
29
|
],
|
|
30
30
|
"license": "Apache-2.0",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"zod": "4.
|
|
32
|
+
"zod": "4.6.7"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@molecule/api-bond": "1.0.
|
|
36
|
-
"@molecule/api-permissions": "1.0.
|
|
37
|
-
"@types/node": "26.
|
|
35
|
+
"@molecule/api-bond": "1.0.3",
|
|
36
|
+
"@molecule/api-permissions": "1.0.4",
|
|
37
|
+
"@types/node": "26.6.5",
|
|
38
38
|
"typescript": "6.0.3",
|
|
39
|
-
"vitest": "4.1.
|
|
39
|
+
"vitest": "4.1.12",
|
|
40
40
|
"@molecule/api-locales-status-page": "1.0.2"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|