mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
10 lines
235 B
TypeScript
10 lines
235 B
TypeScript
export const getOneNamespaceEffectsLoading = (
|
|
namespace: string,
|
|
effects: Record<string, boolean>,
|
|
effectNames: Array<string>,
|
|
) => {
|
|
return effectNames.some(
|
|
(effectName) => effects[`${namespace}/${effectName}`],
|
|
);
|
|
};
|