mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-04 19:41:02 +08:00
Initial commit: NOFX AI Trading System
- Multi-AI competition mode (Qwen vs DeepSeek) - Binance Futures integration - AI self-learning mechanism - Professional web dashboard - Complete risk management system
This commit is contained in:
7
web/node_modules/swr/dist/immutable/index.d.mts
generated
vendored
Normal file
7
web/node_modules/swr/dist/immutable/index.d.mts
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
import * as ___index from '../index/index.mjs';
|
||||
import { Middleware } from '../index/index.mjs';
|
||||
|
||||
declare const immutable: Middleware;
|
||||
declare const useSWRImmutable: ___index.SWRHook;
|
||||
|
||||
export { useSWRImmutable as default, immutable };
|
||||
7
web/node_modules/swr/dist/immutable/index.d.ts
generated
vendored
Normal file
7
web/node_modules/swr/dist/immutable/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
import * as ___index from '../index/index.js';
|
||||
import { Middleware } from '../index/index.js';
|
||||
|
||||
declare const immutable: Middleware;
|
||||
declare const useSWRImmutable: ___index.SWRHook;
|
||||
|
||||
export { useSWRImmutable as default, immutable };
|
||||
20
web/node_modules/swr/dist/immutable/index.js
generated
vendored
Normal file
20
web/node_modules/swr/dist/immutable/index.js
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
|
||||
var useSWR = require('../index/index.js');
|
||||
var index_js = require('../_internal/index.js');
|
||||
|
||||
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
||||
|
||||
var useSWR__default = /*#__PURE__*/_interopDefault(useSWR);
|
||||
|
||||
const immutable = (useSWRNext)=>(key, fetcher, config)=>{
|
||||
// Always override all revalidate options.
|
||||
config.revalidateOnFocus = false;
|
||||
config.revalidateIfStale = false;
|
||||
config.revalidateOnReconnect = false;
|
||||
return useSWRNext(key, fetcher, config);
|
||||
};
|
||||
const useSWRImmutable = index_js.withMiddleware(useSWR__default.default, immutable);
|
||||
|
||||
exports.default = useSWRImmutable;
|
||||
exports.immutable = immutable;
|
||||
13
web/node_modules/swr/dist/immutable/index.mjs
generated
vendored
Normal file
13
web/node_modules/swr/dist/immutable/index.mjs
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
import useSWR from '../index/index.mjs';
|
||||
import { withMiddleware } from '../_internal/index.mjs';
|
||||
|
||||
const immutable = (useSWRNext)=>(key, fetcher, config)=>{
|
||||
// Always override all revalidate options.
|
||||
config.revalidateOnFocus = false;
|
||||
config.revalidateIfStale = false;
|
||||
config.revalidateOnReconnect = false;
|
||||
return useSWRNext(key, fetcher, config);
|
||||
};
|
||||
const useSWRImmutable = withMiddleware(useSWR, immutable);
|
||||
|
||||
export { useSWRImmutable as default, immutable };
|
||||
Reference in New Issue
Block a user