chore: format all frontend files (#430)

This commit is contained in:
tecvan
2025-07-31 23:15:48 +08:00
committed by GitHub
parent 8b078ff013
commit 6995cec404
8787 changed files with 11975 additions and 10924 deletions

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { I18n } from '@coze-arch/i18n';
import {

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { type EnumToUnion } from './types/util';
export const enum FileTypeEnum {

View File

@@ -13,5 +13,5 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export { ACCEPT_UPLOAD_TYPES } from '../accept';

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export { FileTypeEnum } from '../const';
export { FILE_TYPE_CONFIG } from '../file-type';
export { getFileInfo } from '../util';

View File

@@ -13,12 +13,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { FileTypeEnum, type TFileTypeConfig } from './const';
/**
* file type
* {@link
* {@link
* {@link https://www.iana.org/assignments/media-types/media-types.xhtml#image}
*/
export const FILE_TYPE_CONFIG: readonly TFileTypeConfig[] = [

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export { default as ZipIcon } from '../assets/file/zip-success.svg';
export { default as XlsxIcon } from '../assets/file/xlsx-success.svg';
export { default as VideoIcon } from '../assets/file/video-success.svg';

View File

@@ -13,5 +13,5 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export type EnumToUnion<T extends Record<string, string>> = T[keyof T];

View File

@@ -13,5 +13,5 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/// <reference types='@coze-arch/bot-typings' />

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { FILE_TYPE_CONFIG } from './file-type';
// Get file information