payload-live-preview 2.0.3 → 2.0.4
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 +2 -0
- package/dist/adapters/astro/index.js +1 -1
- package/dist/adapters/astro/index.js.map +1 -1
- package/dist/adapters/astro/middleware-entry.js +1 -1
- package/dist/adapters/astro/middleware-entry.js.map +1 -1
- package/dist/adapters/nextjs/index.js +1 -1
- package/dist/adapters/nextjs/index.js.map +1 -1
- package/dist/adapters/nuxt/index.js +1 -1
- package/dist/adapters/nuxt/index.js.map +1 -1
- package/dist/adapters/sveltekit/index.js +1 -1
- package/dist/adapters/sveltekit/index.js.map +1 -1
- package/dist/client.cjs +1 -1
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +10 -3
- package/dist/client.d.ts +10 -3
- package/dist/client.js +1 -1
- package/dist/client.js.map +1 -1
- package/dist/codegen-astro.js.map +1 -1
- package/dist/codegen-cli.js.map +1 -1
- package/dist/codegen.cjs +1 -1
- package/dist/codegen.cjs.map +1 -1
- package/dist/codegen.d.cts +1 -16
- package/dist/codegen.d.ts +1 -16
- package/dist/codegen.js +1 -1
- package/dist/codegen.js.map +1 -1
- package/dist/core.cjs +1 -1
- package/dist/core.cjs.map +1 -1
- package/dist/core.d.cts +10 -3
- package/dist/core.d.ts +10 -3
- package/dist/core.js +1 -1
- package/dist/core.js.map +1 -1
- package/dist/doctor-cli.d.ts +1 -1
- package/dist/doctor-cli.js +1 -1
- package/dist/doctor-cli.js.map +1 -1
- package/dist/doctor.d.ts +2 -2
- package/dist/doctor.js +1 -1
- package/dist/doctor.js.map +1 -1
- package/dist/fragment.cjs +1 -1
- package/dist/fragment.cjs.map +1 -1
- package/dist/fragment.d.cts +5 -1
- package/dist/fragment.d.ts +5 -1
- package/dist/fragment.js +1 -1
- package/dist/fragment.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -3
- package/dist/index.d.ts +10 -3
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/lean.cjs +1 -1
- package/dist/lean.cjs.map +1 -1
- package/dist/lean.js +1 -1
- package/dist/lean.js.map +1 -1
- package/dist/plugins.cjs +1 -1
- package/dist/plugins.cjs.map +1 -1
- package/dist/plugins.d.cts +5 -1
- package/dist/plugins.d.ts +5 -1
- package/dist/plugins.js +1 -1
- package/dist/plugins.js.map +1 -1
- package/dist/{probe-DX_4wsBu.d.ts → probe-Bzm4fYFL.d.ts} +5 -1
- package/package.json +1 -1
|
@@ -27,10 +27,12 @@ declare const DIAGNOSTIC_CODES: Readonly<{
|
|
|
27
27
|
readonly PluginIncompatible: "LP0103";
|
|
28
28
|
/** The page carries the lean runtime and needs a feature that profile leaves out. */
|
|
29
29
|
readonly ProfileFeatureOmitted: "LP0104";
|
|
30
|
-
/** An update named
|
|
30
|
+
/** An update named an empty field with no binding anchor on the page; an edit to it has nowhere to land. */
|
|
31
31
|
readonly OrphanField: "LP0201";
|
|
32
32
|
/** Owner scoping is on and the update names no document it could belong to. */
|
|
33
33
|
readonly UnattributableUpdate: "LP0202";
|
|
34
|
+
/** An update carried a value for a field the page binds nowhere; editing it changes nothing on this page. */
|
|
35
|
+
readonly UnboundField: "LP0203";
|
|
34
36
|
/** The visibility gate held offscreen writes back until they scroll into view. */
|
|
35
37
|
readonly VisibilityGateDeferred: "LP0301";
|
|
36
38
|
/** A value was refused because the attribute or the value itself is unsafe. */
|
|
@@ -107,6 +109,8 @@ declare const DIAGNOSTIC_CODES: Readonly<{
|
|
|
107
109
|
readonly FragmentStrategyUnavailable: "LP0806";
|
|
108
110
|
/** A revision changed a field with no binding; `onUnfaithfulPatch` refreshed the route. */
|
|
109
111
|
readonly UnboundChangeRefresh: "LP0807";
|
|
112
|
+
/** `onUnfaithfulPatch: 'escalate'` found no route or fragment strategy to hand an unfaithful patch to; the page keeps it. */
|
|
113
|
+
readonly EscalationUnavailable: "LP0808";
|
|
110
114
|
/** A readiness row is not yet at its 2.0 value; `pll doctor --v2` reports it. */
|
|
111
115
|
readonly V2ReadinessGap: "LP0709";
|
|
112
116
|
/** The preview runtime is served to anonymous visitors, not only inside the admin frame. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "payload-live-preview",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"description": "Live preview for Payload CMS on server-rendered and static frontends (Astro, Next.js, SvelteKit, Nuxt, plain HTML): DOM patches, server-rendered fragments, React and Vue hooks. Strict by default, zero dependencies.",
|
|
5
5
|
"author": "relative23",
|
|
6
6
|
"license": "MIT",
|