chore: format all frontend files (#430)
This commit is contained in:
@@ -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';
|
||||
|
||||
@@ -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 **
|
||||
*
|
||||
|
||||
@@ -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 = () => {
|
||||
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
|
||||
export { type FEATURE_FLAGS, type FetchFeatureGatingFunction } from './types';
|
||||
|
||||
export { getFlags } from './get-flags';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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<
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
|
||||
@@ -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 = (
|
||||
|
||||
@@ -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) =>
|
||||
|
||||
Reference in New Issue
Block a user