@cancia/toolbar 0.1.0 → 0.4.2
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/dist/cancia.d.ts +6 -2
- package/dist/cancia.iife.js +59 -59
- package/dist/cancia.js +16 -8
- package/dist/cancia.js.map +1 -1
- package/package.json +2 -2
package/dist/cancia.d.ts
CHANGED
|
@@ -11,8 +11,12 @@ interface CanciaConfig {
|
|
|
11
11
|
accentColor?: string;
|
|
12
12
|
/** Skip session auth and always show the toolbar (demo/public mode) */
|
|
13
13
|
public?: boolean;
|
|
14
|
-
/**
|
|
15
|
-
|
|
14
|
+
/**
|
|
15
|
+
* Whether a publish mechanism is configured (deploy hook OR dispatch repo) —
|
|
16
|
+
* controls the Publish button's enabled state. Defaults to enabled when the
|
|
17
|
+
* integration doesn't inject it (older setups).
|
|
18
|
+
*/
|
|
19
|
+
canPublish?: boolean;
|
|
16
20
|
}
|
|
17
21
|
interface CMSEntry {
|
|
18
22
|
/** Full flat key: page.section.field */
|