unlayer-types 1.462.0 → 1.463.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.
Files changed (2) hide show
  1. package/embed.d.ts +8 -0
  2. package/package.json +1 -1
package/embed.d.ts CHANGED
@@ -1729,6 +1729,7 @@ declare module "packages/editor/src/state/types/types" {
1729
1729
  brandStyleGuide?: boolean;
1730
1730
  collaboration?: boolean;
1731
1731
  countdownTimer?: boolean;
1732
+ customAuditValidators?: number;
1732
1733
  customBlocks?: number;
1733
1734
  customBlocksProvider?: boolean;
1734
1735
  customCSS?: boolean;
@@ -2997,6 +2998,13 @@ declare module "packages/editor/src/engine/config/tools" {
2997
2998
  export type ValidatorsMap = {
2998
2999
  [id: string]: Validator;
2999
3000
  };
3001
+ /**
3002
+ * How many embedder-supplied validators are registered right now — the union of
3003
+ * the active and fallback ids, so one validator reachable through both maps
3004
+ * counts once. Built-in image/button/menu validators are never counted: they
3005
+ * ship with the editor and say nothing about a project's use of the feature.
3006
+ */
3007
+ export function getCustomValidatorsCount(): number;
3000
3008
  export function loadOptions(newOptions: ToolOptionGroupConfigMap): void;
3001
3009
  export function overrideOptions(newOverrideOptions: ToolOptionGroupConfigMap): void;
3002
3010
  export function getOptionOverrides(): {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "unlayer-types",
3
- "version": "1.462.0",
3
+ "version": "1.463.0",
4
4
  "license": "MIT"
5
5
  }