@crvouga/mockingbird-service-payload-cms 1.8.0 → 2.0.0
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/CHANGELOG.md +23 -1
- package/DISCOVERY.md +55 -0
- package/README.md +2 -2
- package/SUPPORT.md +12 -0
- package/dist/{chunk-COTVMNU6.js → chunk-JSNSLQM4.js} +622 -235
- package/dist/chunk-JSNSLQM4.js.map +7 -0
- package/dist/{chunk-FBRZZAKE.js → chunk-XIEZRTGW.js} +44 -24
- package/dist/chunk-XIEZRTGW.js.map +7 -0
- package/dist/cli.js +2 -2
- package/dist/index.d.ts +4 -3
- package/dist/index.js +1 -1
- package/dist/server.d.ts +2 -0
- package/dist/server.js +2 -2
- package/openapi.yaml +206 -0
- package/package.json +29 -4
- package/dist/chunk-COTVMNU6.js.map +0 -7
- package/dist/chunk-FBRZZAKE.js.map +0 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crvouga/mockingbird-service-payload-cms",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Stateful mock of the Payload CMS collection REST API: paginated finds with a where-query subset, find by id, a seeded marketing collection and admin-editable documents.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -8,7 +8,10 @@
|
|
|
8
8
|
"files": [
|
|
9
9
|
"dist",
|
|
10
10
|
"README.md",
|
|
11
|
-
"CHANGELOG.md"
|
|
11
|
+
"CHANGELOG.md",
|
|
12
|
+
"DISCOVERY.md",
|
|
13
|
+
"SUPPORT.md",
|
|
14
|
+
"openapi.yaml"
|
|
12
15
|
],
|
|
13
16
|
"main": "./dist/index.js",
|
|
14
17
|
"types": "./dist/index.d.ts",
|
|
@@ -56,7 +59,29 @@
|
|
|
56
59
|
"docs": "https://payloadcms.com/docs/rest-api/overview"
|
|
57
60
|
},
|
|
58
61
|
"parity": "Collection REST",
|
|
59
|
-
"parityTier": "cold"
|
|
62
|
+
"parityTier": "cold",
|
|
63
|
+
"discovery": {
|
|
64
|
+
"guide": "DISCOVERY.md",
|
|
65
|
+
"behavior": "README.md",
|
|
66
|
+
"capabilities": "SUPPORT.md",
|
|
67
|
+
"contract": "openapi.yaml",
|
|
68
|
+
"types": "dist/index.d.ts",
|
|
69
|
+
"oracle": {
|
|
70
|
+
"kind": "Live vendor API or sandbox",
|
|
71
|
+
"command": "bun run parity:service -- payload-cms",
|
|
72
|
+
"note": "Run from a Mockingbird checkout; credentials come only from .env.local or GitHub Actions secrets. Missing credentials exit 2."
|
|
73
|
+
},
|
|
74
|
+
"introspection": [
|
|
75
|
+
"GET /__admin/health",
|
|
76
|
+
"GET /__admin",
|
|
77
|
+
"GET /__admin/state",
|
|
78
|
+
"GET /__admin/requests",
|
|
79
|
+
"GET /__admin/metrics",
|
|
80
|
+
"GET /__admin/faults/presets",
|
|
81
|
+
"GET /__admin/ui"
|
|
82
|
+
],
|
|
83
|
+
"reporting": "https://github.com/crvouga/mockingbird/blob/main/docs/REPORTING_ISSUES.md"
|
|
84
|
+
}
|
|
60
85
|
},
|
|
61
86
|
"scripts": {
|
|
62
87
|
"generate": "bun ../../openapi/codegen/dist/cli.js",
|
|
@@ -71,7 +96,7 @@
|
|
|
71
96
|
"pack:check": "bun ../../../scripts/pack-check.ts"
|
|
72
97
|
},
|
|
73
98
|
"dependencies": {
|
|
74
|
-
"@crvouga/mockingbird-service-sqlite": "
|
|
99
|
+
"@crvouga/mockingbird-service-sqlite": "2.0.0",
|
|
75
100
|
"hono": "4.11.9"
|
|
76
101
|
},
|
|
77
102
|
"devDependencies": {
|