From 2e83b9a34dfc20c9e96b592bad6d4bdb045d06f0 Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Wed, 11 Sep 2024 14:53:51 +0100 Subject: [PATCH 1/2] add import --- .../src/pages/builder/portal/settings/ai/AISettings.spec.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/builder/src/pages/builder/portal/settings/ai/AISettings.spec.js b/packages/builder/src/pages/builder/portal/settings/ai/AISettings.spec.js index 805739957b..fafead1ebf 100644 --- a/packages/builder/src/pages/builder/portal/settings/ai/AISettings.spec.js +++ b/packages/builder/src/pages/builder/portal/settings/ai/AISettings.spec.js @@ -2,6 +2,7 @@ import { it, expect, describe, vi } from "vitest" import AISettings from "./index.svelte" import { render } from "@testing-library/svelte" import { admin, licensing } from "stores/portal" +import { notifications } from "@budibase/bbui" vi.spyOn(notifications, "error").mockImplementation(vi.fn) vi.spyOn(notifications, "success").mockImplementation(vi.fn) From 8b8595293b9ffc1e9ba0b8478198c4524e85c5e4 Mon Sep 17 00:00:00 2001 From: melohagan <101575380+melohagan@users.noreply.github.com> Date: Wed, 11 Sep 2024 15:02:42 +0100 Subject: [PATCH 2/2] Export publishEvent (#14560) --- packages/backend-core/src/events/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/backend-core/src/events/index.ts b/packages/backend-core/src/events/index.ts index a238d72bac..ac5367b8d9 100644 --- a/packages/backend-core/src/events/index.ts +++ b/packages/backend-core/src/events/index.ts @@ -3,6 +3,7 @@ export * as processors from "./processors" export * as analytics from "./analytics" export { default as identification } from "./identification" export * as backfillCache from "./backfill" +export { publishEvent } from "./events" import { processors } from "./processors"