Upgrade build libs and fixed lints (#235)
This commit is contained in:
1 parent
8bf60b4b05
commit
03244e096f
197 files changed
+3924
-3714
No files matched your search
@@ -100,7 +100,7 @@ import { applicationOperator } from '@/operators';
|
||||
import Pagination from '@/components/common/Pagination.vue';
|
||||
import CopyToClipboard from '@/components/common/CopyToClipboard.vue';
|
||||
import { ElTable, ElRow, ElCol, ElTableColumn, ElCard, ElButton, ElTag } from 'element-plus';
|
||||
import { ROUTE_CONSOLE_APPLICATION_EXTRA, ROUTE_CONSOLE_APPLICATION_SUBSCRIBE } from '@/router/constants';
|
||||
import { ROUTE_CONSOLE_APPLICATION_EXTRA } from '@/router/constants';
|
||||
import { IApplication, IApplicationListResponse, ICredentialType, IService } from '@/models';
|
||||
|
||||
interface IData {
|
||||
|
||||
@@ -13,10 +13,10 @@
|
||||
import { defineComponent } from 'vue';
|
||||
import Layout from '@/layouts/Flux.vue';
|
||||
import ConfigPanel from '@/components/flux/ConfigPanel.vue';
|
||||
import { applicationOperator, fluxOperator } from '@/operators';
|
||||
import { IApplicationDetailResponse, IFluxGenerateRequest, Status } from '@/models';
|
||||
import { fluxOperator } from '@/operators';
|
||||
import { IFluxGenerateRequest, Status } from '@/models';
|
||||
import { ElMessage } from 'element-plus';
|
||||
import { ERROR_CODE_DUPLICATION, ERROR_CODE_USED_UP } from '@/constants';
|
||||
import { ERROR_CODE_USED_UP } from '@/constants';
|
||||
import RecentPanel from '@/components/flux/RecentPanel.vue';
|
||||
import { IFluxTask } from '@/models';
|
||||
|
||||
@@ -25,7 +25,7 @@ const CALLBACK_URL = 'https://webhook.acedata.cloud/flux';
|
||||
interface IData {
|
||||
task: IFluxTask | undefined;
|
||||
job: number;
|
||||
timer: NodeJS.Timer;
|
||||
timer: any;
|
||||
}
|
||||
|
||||
export default defineComponent({
|
||||
|
||||
@@ -25,7 +25,7 @@ const CALLBACK_URL = 'https://webhook.acedata.cloud/hailuo';
|
||||
interface IData {
|
||||
task: IHailuoTask | undefined;
|
||||
job: number;
|
||||
timer: NodeJS.Timer;
|
||||
timer: any;
|
||||
}
|
||||
|
||||
export default defineComponent({
|
||||
|
||||
@@ -37,7 +37,7 @@ const CALLBACK_URL = 'https://webhook.acedata.cloud/headshots';
|
||||
interface IData {
|
||||
task: IHeadshotsTask | undefined;
|
||||
job: number;
|
||||
timer: NodeJS.Timer;
|
||||
timer: any;
|
||||
}
|
||||
|
||||
export default defineComponent({
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
</el-row>
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="site?.features?.chat?.enabled" id="chat" class="block">
|
||||
<div v-if="site?.features?.chatgpt?.enabled" id="chat" class="block">
|
||||
<div class="container">
|
||||
<el-row>
|
||||
<el-col :md="16" :xs="24" class="preview">
|
||||
@@ -306,7 +306,7 @@ export default defineComponent({
|
||||
},
|
||||
capabilities() {
|
||||
return [
|
||||
...(this.site?.features?.chat?.enabled
|
||||
...(this.site?.features?.chatgpt?.enabled
|
||||
? [
|
||||
{
|
||||
title: this.$t('index.title.chat'),
|
||||
|
||||
@@ -25,7 +25,7 @@ const CALLBACK_URL = 'https://webhook.acedata.cloud/kling';
|
||||
interface IData {
|
||||
task: IKlingTask | undefined;
|
||||
job: number;
|
||||
timer: NodeJS.Timer;
|
||||
timer: any;
|
||||
}
|
||||
|
||||
export default defineComponent({
|
||||
|
||||
@@ -25,7 +25,7 @@ const CALLBACK_URL = 'https://webhook.acedata.cloud/luma';
|
||||
interface IData {
|
||||
task: ILumaTask | undefined;
|
||||
job: number;
|
||||
timer: NodeJS.Timer;
|
||||
timer: any;
|
||||
}
|
||||
|
||||
export default defineComponent({
|
||||
|
||||
@@ -14,11 +14,11 @@ import { defineComponent } from 'vue';
|
||||
import Layout from '@/layouts/Midjourney.vue';
|
||||
import ConfigPanel from '@/components/midjourney/ConfigPanel.vue';
|
||||
import { ElMessage } from 'element-plus';
|
||||
import { applicationOperator, midjourneyOperator } from '@/operators';
|
||||
import { midjourneyOperator } from '@/operators';
|
||||
import TaskList from '@/components/midjourney/tasks/TaskList.vue';
|
||||
import { ERROR_CODE_DUPLICATION, ERROR_CODE_USED_UP } from '@/constants/errorCode';
|
||||
import { ERROR_CODE_USED_UP } from '@/constants/errorCode';
|
||||
import { Status } from '@/models';
|
||||
import { IMidjourneyImagineRequest, IApplicationDetailResponse, MidjourneyImagineAction } from '@/models';
|
||||
import { IMidjourneyImagineRequest, MidjourneyImagineAction } from '@/models';
|
||||
import {
|
||||
MIDJOURNEY_DEFAULT_IMAGE_WEIGHT,
|
||||
MIDJOURNEY_DEFAULT_RATIO,
|
||||
@@ -31,7 +31,7 @@ import {
|
||||
interface IData {
|
||||
operating: boolean;
|
||||
job: number;
|
||||
timer: NodeJS.Timer;
|
||||
timer: any;
|
||||
}
|
||||
|
||||
const CALLBACK_URL = 'https://webhook.acedata.cloud/midjourney';
|
||||
|
||||
@@ -25,7 +25,7 @@ const CALLBACK_URL = 'https://webhook.acedata.cloud/pika';
|
||||
interface IData {
|
||||
task: IPikaTask | undefined;
|
||||
job: number;
|
||||
timer: NodeJS.Timer;
|
||||
timer: any;
|
||||
}
|
||||
|
||||
export default defineComponent({
|
||||
|
||||
@@ -36,7 +36,7 @@ const CALLBACK_URL = 'https://webhook.acedata.cloud/qrart';
|
||||
interface IData {
|
||||
task: IQrartTask | undefined;
|
||||
job: number;
|
||||
timer: NodeJS.Timer;
|
||||
timer: any;
|
||||
}
|
||||
|
||||
export default defineComponent({
|
||||
|
||||
@@ -29,7 +29,7 @@ const CALLBACK_URL = 'https://webhook.acedata.cloud/suno';
|
||||
interface IData {
|
||||
task: ISunoTask | undefined;
|
||||
job: number;
|
||||
timer: NodeJS.Timer;
|
||||
timer: any;
|
||||
}
|
||||
|
||||
export default defineComponent({
|
||||
|
||||
Reference in new issue
Block a user