From 664d3c56250ad4e09c02e3cf6b90746a581d9f55 Mon Sep 17 00:00:00 2001 From: Bluefox Date: Wed, 27 Nov 2024 19:27:19 +0000 Subject: [PATCH] Javascript Blocks Types (#2975) Co-authored-by: Max Hauser --- packages/types-dev/objects.d.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/packages/types-dev/objects.d.ts b/packages/types-dev/objects.d.ts index 6e141570ae..0448096eb0 100644 --- a/packages/types-dev/objects.d.ts +++ b/packages/types-dev/objects.d.ts @@ -797,6 +797,15 @@ declare global { ignoreVersion?: string; /** Sentry and other plugins */ plugins?: { [pluginName: string]: Record }; + /** Rules blocks for Javascript rules */ + javascriptRules?: { + /** Translations */ + i18n?: boolean | Record> | Record; + /** Where to load the blocks */ + url: string; + /** Blocks names */ + name: string; + }; // Make it possible to narrow the object type using the custom property custom?: undefined;