diff --git a/frontend/src/app/core/turbo/turbo-requests.service.ts b/frontend/src/app/core/turbo/turbo-requests.service.ts index 3c1c9795c2e..fd0ab86deac 100644 --- a/frontend/src/app/core/turbo/turbo-requests.service.ts +++ b/frontend/src/app/core/turbo/turbo-requests.service.ts @@ -2,7 +2,7 @@ import { Injectable } from '@angular/core'; import { renderStreamMessage } from '@hotwired/turbo'; import { ToastService } from 'core-app/shared/components/toaster/toast.service'; import { debugLog } from 'core-app/shared/helpers/debug_output'; -import { TurboHelpers } from 'turbo/helpers'; +import { TurboHelpers } from 'core-turbo/helpers'; @Injectable({ providedIn: 'root' }) export class TurboRequestsService { diff --git a/frontend/src/stimulus/controllers/async-dialog.controller.ts b/frontend/src/stimulus/controllers/async-dialog.controller.ts index e8ff7561b58..3b39612c782 100644 --- a/frontend/src/stimulus/controllers/async-dialog.controller.ts +++ b/frontend/src/stimulus/controllers/async-dialog.controller.ts @@ -30,7 +30,7 @@ import { ApplicationController } from 'stimulus-use'; import { renderStreamMessage } from '@hotwired/turbo'; -import { TurboHelpers } from '../../turbo/helpers'; +import { TurboHelpers } from 'core-turbo/helpers'; export default class AsyncDialogController extends ApplicationController { connect() { diff --git a/frontend/src/test.ts b/frontend/src/test.ts index 733987b3ce7..4519f147ad5 100644 --- a/frontend/src/test.ts +++ b/frontend/src/test.ts @@ -11,7 +11,7 @@ import { platformBrowserDynamicTesting, } from '@angular/platform-browser-dynamic/testing'; import { I18n } from 'i18n-js'; -import { registerDialogStreamAction } from 'turbo/dialog-stream-action'; +import { registerDialogStreamAction } from 'core-turbo/dialog-stream-action'; registerDialogStreamAction(); diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json index bb7efc8c21d..525559e018f 100644 --- a/frontend/tsconfig.json +++ b/frontend/tsconfig.json @@ -22,6 +22,7 @@ "core-app/*": ["./src/app/*"], "core-components/*": ["./src/app/components/*"], "core-stimulus/*": ["./src/stimulus/*"], + "core-turbo/*": ["./src/turbo/*"], "core-typings/*": ["./src/typings/*"], "core-vendor/*": ["./src/vendor/*"] }