mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-11 01:36:37 +08:00
fix(frontend): break service layer circular imports for build
Point service implementations at @/lib/services/core for BaseService instead of the barrel index, fixing static export prerender failure on ConfigService initialization.
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import {BaseService} from '@/lib/services';
|
import {BaseService} from '@/lib/services/core';
|
||||||
import type {
|
import type {
|
||||||
AdminUser,
|
AdminUser,
|
||||||
AppUpdateStatus,
|
AppUpdateStatus,
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import type {InternalAxiosRequestConfig} from 'axios';
|
import type {InternalAxiosRequestConfig} from 'axios';
|
||||||
import {BaseService} from '@/lib/services';
|
import {BaseService} from '@/lib/services/core';
|
||||||
import type {
|
import type {
|
||||||
AuthSource,
|
AuthSource,
|
||||||
ChangePasswordRequest,
|
ChangePasswordRequest,
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import {BaseService} from '@/lib/services';
|
import {BaseService} from '@/lib/services/core';
|
||||||
import type {PublicConfigResponse} from './types';
|
import type {PublicConfigResponse} from './types';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import {BaseService} from '@/lib/services';
|
import {BaseService} from '@/lib/services/core';
|
||||||
import type {DBOverview, ExecuteSQLResponse, TableDataResponse} from './types';
|
import type {DBOverview, ExecuteSQLResponse, TableDataResponse} from './types';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
// Copyright 2026 Arctel.net
|
// Copyright 2026 Arctel.net
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
import {BaseService} from '@/lib/services';
|
import {BaseService} from '@/lib/services/core';
|
||||||
import type {
|
import type {
|
||||||
ChannelDefinition,
|
ChannelDefinition,
|
||||||
CreateChannelRequest,
|
CreateChannelRequest,
|
||||||
|
|||||||
Reference in New Issue
Block a user