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
@@ -4,7 +4,6 @@ import { ActionContext } from 'vuex';
|
||||
import { IChatState } from './models';
|
||||
import { IApplication, IChatConversation, IChatModel, IChatModelGroup, ICredential, IService, Status } from '@/models';
|
||||
import { CHAT_SERVICE_ID } from '@/constants';
|
||||
import { getFinalApplication } from '@/utils';
|
||||
|
||||
export const resetAll = ({ commit }: ActionContext<IChatState, IRootState>): void => {
|
||||
commit('resetAll');
|
||||
|
||||
@@ -74,7 +74,7 @@ export const getFingerprint = async ({ commit }: ActionContext<IRootState, IRoot
|
||||
return visitorId;
|
||||
};
|
||||
|
||||
export const getToken = async ({ commit }: ActionContext<IRootState, IRootState>, code: string): Promise<IToken> => {
|
||||
export const getToken = async ({ commit }: ActionContext<IRootState, IRootState>, code: string) => {
|
||||
console.debug('start to get token using code', code);
|
||||
try {
|
||||
commit('resetToken');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { IApplication, ICredential, ISite, IToken, IUser, Status } from '@/models';
|
||||
import { IApplication, ISite, IToken, IUser, Status } from '@/models';
|
||||
import { IMidjourneyState } from '../midjourney/models';
|
||||
import { IChatState } from '../chat/models';
|
||||
import { IQrartState } from '../qrart/models';
|
||||
|
||||
@@ -79,7 +79,6 @@ export const getService = async ({
|
||||
|
||||
export const getApplications = async ({
|
||||
commit,
|
||||
dispatch,
|
||||
state,
|
||||
rootState
|
||||
}: ActionContext<IFluxState, IRootState>): Promise<IApplication[] | undefined> => {
|
||||
|
||||
@@ -79,7 +79,6 @@ export const getService = async ({
|
||||
|
||||
export const getApplications = async ({
|
||||
commit,
|
||||
dispatch,
|
||||
state,
|
||||
rootState
|
||||
}: ActionContext<IHailuoState, IRootState>): Promise<IApplication[] | undefined> => {
|
||||
|
||||
@@ -79,7 +79,6 @@ export const getService = async ({
|
||||
|
||||
export const getApplications = async ({
|
||||
commit,
|
||||
dispatch,
|
||||
state,
|
||||
rootState
|
||||
}: ActionContext<IHeadshotsState, IRootState>): Promise<IApplication[] | undefined> => {
|
||||
|
||||
@@ -79,7 +79,6 @@ export const getService = async ({
|
||||
|
||||
export const getApplications = async ({
|
||||
commit,
|
||||
dispatch,
|
||||
state,
|
||||
rootState
|
||||
}: ActionContext<IKlingState, IRootState>): Promise<IApplication[] | undefined> => {
|
||||
|
||||
@@ -79,7 +79,6 @@ export const getService = async ({
|
||||
|
||||
export const getApplications = async ({
|
||||
commit,
|
||||
dispatch,
|
||||
state,
|
||||
rootState
|
||||
}: ActionContext<ILumaState, IRootState>): Promise<IApplication[] | undefined> => {
|
||||
|
||||
@@ -79,7 +79,6 @@ export const getService = async ({
|
||||
|
||||
export const getApplications = async ({
|
||||
commit,
|
||||
dispatch,
|
||||
state,
|
||||
rootState
|
||||
}: ActionContext<IMidjourneyState, IRootState>): Promise<IApplication[] | undefined> => {
|
||||
|
||||
@@ -79,7 +79,6 @@ export const getService = async ({
|
||||
|
||||
export const getApplications = async ({
|
||||
commit,
|
||||
dispatch,
|
||||
state,
|
||||
rootState
|
||||
}: ActionContext<IPikaState, IRootState>): Promise<IApplication[] | undefined> => {
|
||||
|
||||
@@ -79,7 +79,6 @@ export const getService = async ({
|
||||
|
||||
export const getApplications = async ({
|
||||
commit,
|
||||
dispatch,
|
||||
state,
|
||||
rootState
|
||||
}: ActionContext<IQrartState, IRootState>): Promise<IApplication[] | undefined> => {
|
||||
|
||||
@@ -79,7 +79,6 @@ export const getService = async ({
|
||||
|
||||
export const getApplications = async ({
|
||||
commit,
|
||||
dispatch,
|
||||
state,
|
||||
rootState
|
||||
}: ActionContext<ISunoState, IRootState>): Promise<IApplication[] | undefined> => {
|
||||
|
||||
Reference in new issue
Block a user