chore: format all frontend files (#430)
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -13,5 +13,5 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
|
||||
export { ACCEPT_UPLOAD_TYPES } from '../accept';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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[] = [
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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];
|
||||
|
||||
@@ -13,5 +13,5 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
|
||||
/// <reference types='@coze-arch/bot-typings' />
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user