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,6 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export const IS_DEV = process.env.NODE_ENV === 'development';
export const PACKAGE_NAMESPACE = '@flow-arch/flags';

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/** ************************************************* */
/** This file is auto generate by `rush flags` */
/** Please don't update manually. */
@@ -3336,7 +3336,7 @@ export interface FEATURE_FLAGS extends Record<string, boolean> {
/**
*
* coze2.0 评测
*
*
*
* Creator: ** zhangyifei.sky **
*
@@ -4457,7 +4457,7 @@ export interface FEATURE_FLAGS extends Record<string, boolean> {
/**
*
* 付费配置
*
*
*
* Creator: ** zhanghaochen.z **
*

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { featureFlagStorage } from './utils/storage';
export const getFlags = () => {

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.
*/
export { type FEATURE_FLAGS, type FetchFeatureGatingFunction } from './types';
export { getFlags } from './get-flags';

View File

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

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { type FEATURE_FLAGS as ORIGIN_FEATURE_FLAGS } from './feature-flags';
// eslint-disable-next-line @typescript-eslint/naming-convention

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { useState, useEffect } from 'react';
import { featureFlagStorage } from './utils/storage';

View File

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

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { type FEATURE_FLAGS } from '../types';
export const readFgPromiseFromContext = async (): Promise<

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { reporter as originReporter } from '@coze-arch/logger';
import { PACKAGE_NAMESPACE } from '../constant';

View File

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

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export const isObject = (obj: unknown) => typeof obj === 'object';
export const isEqual = (

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export const ONE_SEC = 1000;
export const wait = (ms: number) =>