@obelism/content 0.19.1 → 0.20.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/README.md +26 -0
- package/dist/bridge.d.mts +11 -2
- package/dist/bridge.d.mts.map +1 -1
- package/dist/bridge.d.ts +11 -2
- package/dist/bridge.d.ts.map +1 -1
- package/dist/bridge.global.js +17 -4
- package/dist/bridge.js +246 -27
- package/dist/bridge.mjs +246 -27
- package/dist/index.d.mts +9 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.mjs +1 -1
- package/dist/{preview-jcmxxj92.mjs → preview-fu3qtgfx.mjs} +15 -1
- package/dist/{preview-ijk3ixwb.js → preview-ooq8w3jv.js} +17 -0
- package/dist/site.js +6 -1
- package/dist/site.mjs +6 -1
- package/package.json +1 -1
package/dist/site.js
CHANGED
|
@@ -94,11 +94,16 @@ const PROXY_ROUTES = [
|
|
|
94
94
|
method: 'POST',
|
|
95
95
|
pattern: /^entries$/
|
|
96
96
|
},
|
|
97
|
-
// "Add a product page" on a product the site marks (editableProduct)
|
|
97
|
+
// "Add a product page" on a product the site marks (editableProduct),
|
|
98
|
+
// "Add a collection page" on a collection (editableCollection).
|
|
98
99
|
{
|
|
99
100
|
method: 'POST',
|
|
100
101
|
pattern: /^product-pages$/
|
|
101
102
|
},
|
|
103
|
+
{
|
|
104
|
+
method: 'POST',
|
|
105
|
+
pattern: /^collection-pages$/
|
|
106
|
+
},
|
|
102
107
|
// The one-time address of the CMS's entry form (the prompt box's Form).
|
|
103
108
|
{
|
|
104
109
|
method: 'POST',
|
package/dist/site.mjs
CHANGED
|
@@ -92,11 +92,16 @@ const PROXY_ROUTES = [
|
|
|
92
92
|
method: 'POST',
|
|
93
93
|
pattern: /^entries$/
|
|
94
94
|
},
|
|
95
|
-
// "Add a product page" on a product the site marks (editableProduct)
|
|
95
|
+
// "Add a product page" on a product the site marks (editableProduct),
|
|
96
|
+
// "Add a collection page" on a collection (editableCollection).
|
|
96
97
|
{
|
|
97
98
|
method: 'POST',
|
|
98
99
|
pattern: /^product-pages$/
|
|
99
100
|
},
|
|
101
|
+
{
|
|
102
|
+
method: 'POST',
|
|
103
|
+
pattern: /^collection-pages$/
|
|
104
|
+
},
|
|
100
105
|
// The one-time address of the CMS's entry form (the prompt box's Form).
|
|
101
106
|
{
|
|
102
107
|
method: 'POST',
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@obelism/content",
|
|
3
3
|
"description": "Obelism Content SDK: the delivery API client, the visual editor bridge with prompt editing, editing on your own site, webhook verification, and the content model CLI",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.20.0",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cms",
|
|
7
7
|
"headless-cms",
|