@cryptorobot.ai/client 1.26.0-dev.999 → 1.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/src/client.d.ts +0 -8
- package/lib/src/client.js +0 -10
- package/lib/src/services/advisor/advisor.class.d.ts +2 -2
- package/lib/src/services/advisor/advisor.schema.d.ts +1 -1
- package/lib/src/services/advisor/advisor.shared.js +0 -1
- package/lib/src/services/advisor/messages/messages.class.d.ts +2 -2
- package/lib/src/services/advisor/messages/messages.schema.d.ts +144 -144
- package/lib/src/services/advisor/messages/messages.shared.js +0 -1
- package/lib/src/services/affiliates/affiliates.class.d.ts +2 -5
- package/lib/src/services/affiliates/affiliates.shared.js +0 -1
- package/lib/src/services/affiliates/clicks/clicks.class.d.ts +2 -2
- package/lib/src/services/affiliates/clicks/clicks.shared.js +0 -1
- package/lib/src/services/affiliates/comissions/comissions.class.d.ts +2 -2
- package/lib/src/services/affiliates/comissions/comissions.shared.js +0 -1
- package/lib/src/services/affiliates/contracts/contracts.class.d.ts +2 -2
- package/lib/src/services/affiliates/contracts/contracts.shared.js +0 -1
- package/lib/src/services/affiliates/coupons/coupons.class.d.ts +2 -2
- package/lib/src/services/affiliates/coupons/coupons.shared.js +0 -1
- package/lib/src/services/affiliates/links/links.class.d.ts +2 -2
- package/lib/src/services/affiliates/links/links.shared.js +7 -2
- package/lib/src/services/affiliates/payouts/payouts.class.d.ts +2 -2
- package/lib/src/services/affiliates/payouts/payouts.shared.js +0 -1
- package/lib/src/services/agents/agents.class.d.ts +2 -2
- package/lib/src/services/agents/agents.schema.d.ts +1 -1
- package/lib/src/services/agents/agents.shared.js +0 -1
- package/lib/src/services/agents/delete-agent-triggers.hooks.d.ts +0 -3
- package/lib/src/services/agents/prepare/prepare.shared.js +0 -1
- package/lib/src/services/agents/sessions/conversations/conversations.class.d.ts +2 -2
- package/lib/src/services/agents/sessions/conversations/conversations.schema.d.ts +85 -3
- package/lib/src/services/agents/sessions/conversations/conversations.shared.js +0 -1
- package/lib/src/services/agents/sessions/sessions.class.d.ts +2 -2
- package/lib/src/services/agents/sessions/sessions.schema.d.ts +143 -143
- package/lib/src/services/agents/sessions/sessions.shared.js +0 -1
- package/lib/src/services/agents/update-trigger-rules-with-agent-info.hooks.d.ts +0 -3
- package/lib/src/services/auth-management/auth-management.shared.js +0 -2
- package/lib/src/services/autotune/apply-params.d.ts +0 -39
- package/lib/src/services/autotune/optuna-bridge.d.ts +0 -3
- package/lib/src/services/autotune/score.d.ts +0 -25
- package/lib/src/services/autotune/storage.d.ts +0 -2
- package/lib/src/services/autotune/studies/studies.class.d.ts +2 -2
- package/lib/src/services/autotune/studies/studies.shared.js +0 -1
- package/lib/src/services/autotune/trials/trials.class.d.ts +2 -2
- package/lib/src/services/autotune/trials/trials.shared.js +0 -1
- package/lib/src/services/autotune/usage/usage.class.d.ts +2 -2
- package/lib/src/services/autotune/usage/usage.schema.d.ts +3 -3
- package/lib/src/services/autotune/usage/usage.shared.js +0 -1
- package/lib/src/services/blog/actions/actions.shared.js +0 -1
- package/lib/src/services/blog/calendar/calendar.shared.js +0 -1
- package/lib/src/services/blog/integrations/integrations.shared.js +0 -1
- package/lib/src/services/blog/posts/posts.shared.js +0 -1
- package/lib/src/services/blog/queries/queries.shared.js +0 -1
- package/lib/src/services/blog/sitemaps/pages/pages.shared.js +0 -1
- package/lib/src/services/blog/sitemaps/sitemaps.shared.js +0 -1
- package/lib/src/services/blog/suggestions/suggestions.shared.js +0 -1
- package/lib/src/services/changelog/changelog.class.d.ts +0 -3
- package/lib/src/services/changelog/changelog.helper.d.ts +0 -27
- package/lib/src/services/changelog/changelog.shared.js +0 -1
- package/lib/src/services/changelog/hooks/parse-from-file.d.ts +0 -4
- package/lib/src/services/config/config.class.d.ts +2 -2
- package/lib/src/services/config/config.shared.js +0 -1
- package/lib/src/services/copilot/concerns/concerns.class.d.ts +2 -2
- package/lib/src/services/copilot/concerns/concerns.schema.d.ts +8 -8
- package/lib/src/services/copilot/concerns/concerns.shared.js +7 -2
- package/lib/src/services/copilot/decisions/decisions.class.d.ts +2 -2
- package/lib/src/services/copilot/decisions/decisions.shared.js +0 -1
- package/lib/src/services/copilot/help/help.shared.js +0 -1
- package/lib/src/services/copilot/recommendations/recommendations.class.d.ts +2 -2
- package/lib/src/services/copilot/recommendations/recommendations.hooks.d.ts +4 -0
- package/lib/src/services/copilot/recommendations/recommendations.shared.js +0 -1
- package/lib/src/services/currencies/currencies.class.d.ts +2 -2
- package/lib/src/services/currencies/currencies.shared.js +0 -1
- package/lib/src/services/custom/custom.shared.js +0 -1
- package/lib/src/services/emails/emails.class.d.ts +2 -2
- package/lib/src/services/emails/emails.shared.js +0 -1
- package/lib/src/services/events/events.class.d.ts +2 -2
- package/lib/src/services/events/events.shared.js +0 -1
- package/lib/src/services/events/triggers/triggers.class.d.ts +2 -2
- package/lib/src/services/events/triggers/triggers.shared.js +0 -1
- package/lib/src/services/events/types/types.class.d.ts +2 -2
- package/lib/src/services/events/types/types.shared.js +0 -1
- package/lib/src/services/exchanges/arb-signals/arb-signals.class.d.ts +0 -10
- package/lib/src/services/exchanges/arb-signals/arb-signals.shared.js +0 -1
- package/lib/src/services/exchanges/arbitrage/opportunities/opportunities.class.d.ts +0 -10
- package/lib/src/services/exchanges/arbitrage/opportunities/opportunities.shared.js +0 -1
- package/lib/src/services/exchanges/balance/balance.class.d.ts +2 -2
- package/lib/src/services/exchanges/balance/balance.shared.js +0 -1
- package/lib/src/services/exchanges/deposits/deposits.class.d.ts +2 -2
- package/lib/src/services/exchanges/deposits/deposits.shared.js +0 -1
- package/lib/src/services/exchanges/deposits/sync/sync.class.d.ts +2 -2
- package/lib/src/services/exchanges/deposits/sync/sync.shared.js +1 -8
- package/lib/src/services/exchanges/download/download.class.d.ts +2 -2
- package/lib/src/services/exchanges/download/download.shared.js +0 -1
- package/lib/src/services/exchanges/download/webhooks/webhooks.class.d.ts +2 -2
- package/lib/src/services/exchanges/download/webhooks/webhooks.shared.js +0 -1
- package/lib/src/services/exchanges/exchanges.class.d.ts +2 -2
- package/lib/src/services/exchanges/exchanges.shared.js +0 -1
- package/lib/src/services/exchanges/ledger/ledger.class.d.ts +2 -2
- package/lib/src/services/exchanges/ledger/ledger.shared.js +7 -2
- package/lib/src/services/exchanges/ledger/sync/sync.class.d.ts +2 -2
- package/lib/src/services/exchanges/ledger/sync/sync.shared.js +0 -1
- package/lib/src/services/exchanges/markets-stats/markets-stats.class.d.ts +0 -5
- package/lib/src/services/exchanges/markets-stats/markets-stats.shared.js +0 -1
- package/lib/src/services/exchanges/ohlcv/history/history.class.d.ts +2 -2
- package/lib/src/services/exchanges/ohlcv/history/history.shared.js +0 -1
- package/lib/src/services/exchanges/ohlcv/ohlcv.shared.js +0 -1
- package/lib/src/services/exchanges/orderbook/orderbook.class.d.ts +0 -11
- package/lib/src/services/exchanges/orderbook/orderbook.shared.js +0 -1
- package/lib/src/services/exchanges/ticker/ticker.class.d.ts +2 -2
- package/lib/src/services/exchanges/ticker/ticker.shared.js +0 -1
- package/lib/src/services/exchanges/transactions/sync/sync.class.d.ts +2 -2
- package/lib/src/services/exchanges/transactions/sync/sync.shared.js +0 -1
- package/lib/src/services/exchanges/transactions/transactions.class.d.ts +2 -2
- package/lib/src/services/exchanges/transactions/transactions.shared.js +0 -1
- package/lib/src/services/extensions/extensions.class.d.ts +2 -2
- package/lib/src/services/extensions/extensions.shared.js +0 -1
- package/lib/src/services/homepage/homepage.shared.d.ts +2 -1
- package/lib/src/services/homepage/homepage.shared.js +0 -1
- package/lib/src/services/insights/crypto-stress-index/crypto-stress-index.class.d.ts +2 -14
- package/lib/src/services/insights/crypto-stress-index/crypto-stress-index.shared.js +0 -1
- package/lib/src/services/insights/etf-flow/etf-flow.class.d.ts +2 -2
- package/lib/src/services/insights/etf-flow/etf-flow.shared.js +7 -2
- package/lib/src/services/insights/fear-and-greed/fear-and-greed.class.d.ts +2 -2
- package/lib/src/services/insights/fear-and-greed/fear-and-greed.shared.js +0 -1
- package/lib/src/services/insights/global/global.class.d.ts +2 -2
- package/lib/src/services/insights/global/global.shared.js +0 -1
- package/lib/src/services/insights/insights.class.d.ts +2 -2
- package/lib/src/services/insights/insights.hooks.d.ts +0 -11
- package/lib/src/services/insights/insights.shared.js +0 -1
- package/lib/src/services/insights/news/news.class.d.ts +2 -5
- package/lib/src/services/insights/news/news.shared.js +0 -1
- package/lib/src/services/keys/KeysService.d.ts +2 -2
- package/lib/src/services/keys/keys.class.d.ts +2 -2
- package/lib/src/services/keys/keys.shared.js +0 -1
- package/lib/src/services/knowledges/knowledges.class.d.ts +0 -15
- package/lib/src/services/knowledges/knowledges.shared.js +0 -1
- package/lib/src/services/mailer/mailer.shared.js +0 -1
- package/lib/src/services/marketplaces/marketplaces.class.d.ts +2 -2
- package/lib/src/services/marketplaces/marketplaces.shared.js +0 -1
- package/lib/src/services/markets/markets.class.d.ts +2 -2
- package/lib/src/services/markets/markets.shared.js +0 -1
- package/lib/src/services/messages/messages.class.d.ts +2 -2
- package/lib/src/services/messages/messages.shared.js +0 -1
- package/lib/src/services/models/pods/events/events.class.d.ts +2 -2
- package/lib/src/services/models/pods/events/events.schema.d.ts +3 -3
- package/lib/src/services/models/pods/events/events.shared.js +0 -1
- package/lib/src/services/models/pods/pods.class.d.ts +2 -2
- package/lib/src/services/models/pods/pods.shared.js +0 -1
- package/lib/src/services/models/presets/presets.class.d.ts +2 -2
- package/lib/src/services/models/presets/presets.shared.js +0 -1
- package/lib/src/services/models/signals/history/history.class.d.ts +2 -2
- package/lib/src/services/models/signals/history/history.shared.js +0 -1
- package/lib/src/services/models/signals/signals-proxy-router.d.ts +0 -19
- package/lib/src/services/models/signals/signals.class.d.ts +2 -2
- package/lib/src/services/models/signals/signals.shared.js +0 -1
- package/lib/src/services/models/signals/subscriptions/subscriptions.class.d.ts +2 -2
- package/lib/src/services/models/signals/subscriptions/subscriptions.schema.d.ts +3 -3
- package/lib/src/services/models/signals/subscriptions/subscriptions.shared.js +0 -3
- package/lib/src/services/objectives/objectives.class.d.ts +2 -2
- package/lib/src/services/objectives/objectives.hooks.d.ts +0 -9
- package/lib/src/services/objectives/objectives.shared.js +0 -1
- package/lib/src/services/plans/plans.shared.js +0 -1
- package/lib/src/services/referrals/referrals.class.d.ts +2 -2
- package/lib/src/services/referrals/referrals.shared.js +0 -1
- package/lib/src/services/restricted/restricted.d.ts +0 -11
- package/lib/src/services/restricted/restricted.shared.js +0 -1
- package/lib/src/services/security/events/security-events.schema.d.ts +71 -71
- package/lib/src/services/security/events/security-events.shared.js +0 -1
- package/lib/src/services/series/balance/balance.class.d.ts +2 -2
- package/lib/src/services/series/balance/balance.shared.js +7 -2
- package/lib/src/services/series/performance/performance.class.d.ts +2 -2
- package/lib/src/services/series/performance/performance.shared.js +0 -1
- package/lib/src/services/series/performance/performance.usage.examples.d.ts +0 -6
- package/lib/src/services/snapshot/snapshot.class.d.ts +2 -2
- package/lib/src/services/snapshot/snapshot.schema.d.ts +1040 -336
- package/lib/src/services/snapshot/snapshot.shared.js +0 -2
- package/lib/src/services/store/items/items.class.d.ts +2 -2
- package/lib/src/services/store/items/items.shared.js +0 -1
- package/lib/src/services/strategies/ai/ai.class.d.ts +2 -2
- package/lib/src/services/strategies/ai/ai.shared.js +0 -1
- package/lib/src/services/strategies/ai/stream/stream.shared.js +0 -1
- package/lib/src/services/strategies/backtest/backtest.class.d.ts +2 -2
- package/lib/src/services/strategies/backtest/backtest.schema.d.ts +234 -134
- package/lib/src/services/strategies/backtest/backtest.shared.js +0 -1
- package/lib/src/services/strategies/backtest/preflight/preflight.class.d.ts +0 -23
- package/lib/src/services/strategies/backtest/preflight/preflight.shared.js +0 -1
- package/lib/src/services/strategies/backtest/results/results.class.d.ts +2 -2
- package/lib/src/services/strategies/backtest/results/results.shared.js +0 -1
- package/lib/src/services/strategies/blob/blob.shared.js +0 -1
- package/lib/src/services/strategies/follow/follow.class.d.ts +2 -2
- package/lib/src/services/strategies/follow/follow.shared.js +0 -1
- package/lib/src/services/strategies/generate/generate.class.d.ts +2 -2
- package/lib/src/services/strategies/generate/generate.schema.d.ts +80 -84
- package/lib/src/services/strategies/generate/generate.shared.js +0 -1
- package/lib/src/services/strategies/history/history.class.d.ts +2 -2
- package/lib/src/services/strategies/history/history.schema.d.ts +152 -152
- package/lib/src/services/strategies/history/history.shared.js +0 -1
- package/lib/src/services/strategies/hyperopt/hyperopt-generate-exchange-config.hooks.d.ts +0 -6
- package/lib/src/services/strategies/hyperopt/hyperopt-populate-exchange.hooks.d.ts +0 -5
- package/lib/src/services/strategies/hyperopt/hyperopt-promote-template.hooks.d.ts +0 -7
- package/lib/src/services/strategies/hyperopt/hyperopt-validate-exchange-whitelist.hooks.d.ts +0 -8
- package/lib/src/services/strategies/hyperopt/hyperopt-validate-historical-data.hooks.d.ts +0 -7
- package/lib/src/services/strategies/hyperopt/hyperopt-validate-stake-balance.hooks.d.ts +0 -5
- package/lib/src/services/strategies/hyperopt/hyperopt-validate-stake-currency.hooks.d.ts +0 -7
- package/lib/src/services/strategies/hyperopt/hyperopt-validate.hooks.d.ts +0 -5
- package/lib/src/services/strategies/hyperopt/hyperopt-verify-subscription-limits.hooks.d.ts +0 -4
- package/lib/src/services/strategies/hyperopt/hyperopt.class.d.ts +2 -2
- package/lib/src/services/strategies/hyperopt/hyperopt.shared.js +0 -1
- package/lib/src/services/strategies/indicators/indicators.class.d.ts +2 -2
- package/lib/src/services/strategies/indicators/indicators.shared.js +0 -1
- package/lib/src/services/strategies/indicators/talib/talib.class.d.ts +2 -2
- package/lib/src/services/strategies/indicators/talib/talib.schema.d.ts +0 -4
- package/lib/src/services/strategies/indicators/talib/talib.shared.js +0 -1
- package/lib/src/services/strategies/research/research.class.d.ts +2 -2
- package/lib/src/services/strategies/research/research.schema.d.ts +72 -87
- package/lib/src/services/strategies/research/research.shared.js +0 -1
- package/lib/src/services/strategies/strategies.class.d.ts +2 -2
- package/lib/src/services/strategies/strategies.schema.d.ts +455 -36
- package/lib/src/services/strategies/strategies.shared.js +0 -1
- package/lib/src/services/strategies/templates/templates.class.d.ts +2 -2
- package/lib/src/services/strategies/templates/templates.schema.d.ts +2464 -0
- package/lib/src/services/strategies/templates/templates.shared.js +0 -1
- package/lib/src/services/stripe/charges/charges.shared.js +0 -1
- package/lib/src/services/stripe/customers/cards/cards.shared.js +0 -1
- package/lib/src/services/stripe/customers/customers.shared.js +0 -1
- package/lib/src/services/stripe/customers/paymentintent/paymentintent.shared.js +0 -1
- package/lib/src/services/stripe/customers/paymentmethods/paymentmethods.shared.js +0 -1
- package/lib/src/services/stripe/customers/subscriptions/subscriptions.shared.js +0 -1
- package/lib/src/services/stripe/products/products.shared.js +0 -1
- package/lib/src/services/stripe/webhooks/webhooks.shared.js +0 -1
- package/lib/src/services/support/support.shared.js +0 -1
- package/lib/src/services/tasks/comments/comments.class.d.ts +2 -2
- package/lib/src/services/tasks/comments/comments.shared.js +0 -1
- package/lib/src/services/tasks/tasks.class.d.ts +2 -2
- package/lib/src/services/tasks/tasks.hooks.d.ts +0 -73
- package/lib/src/services/tasks/tasks.shared.js +0 -1
- package/lib/src/services/tax/research/research.class.d.ts +2 -2
- package/lib/src/services/tax/research/research.shared.js +7 -2
- package/lib/src/services/tax/sessions/conversations/conversations.class.d.ts +2 -2
- package/lib/src/services/tax/sessions/conversations/conversations.shared.js +0 -1
- package/lib/src/services/tax/sessions/sessions.class.d.ts +2 -2
- package/lib/src/services/tax/sessions/sessions.schema.d.ts +72 -72
- package/lib/src/services/tax/sessions/sessions.shared.js +7 -2
- package/lib/src/services/telegram/link/link.class.d.ts +0 -8
- package/lib/src/services/telegram/link/link.shared.js +0 -1
- package/lib/src/services/telegram/telegram.class.d.ts +0 -5
- package/lib/src/services/telegram/telegram.shared.js +0 -1
- package/lib/src/services/toggles/toggles.shared.js +0 -1
- package/lib/src/services/tokens/tokens.class.d.ts +2 -2
- package/lib/src/services/tokens/tokens.schema.d.ts +72 -72
- package/lib/src/services/tokens/tokens.shared.js +0 -1
- package/lib/src/services/traders/pods/api/api.class.d.ts +2 -2
- package/lib/src/services/traders/pods/api/api.schema.d.ts +496 -48
- package/lib/src/services/traders/pods/api/api.shared.js +0 -1
- package/lib/src/services/traders/pods/blob/blob.shared.js +0 -1
- package/lib/src/services/traders/pods/events/events.class.d.ts +2 -2
- package/lib/src/services/traders/pods/events/events.schema.d.ts +144 -144
- package/lib/src/services/traders/pods/events/events.shared.js +0 -1
- package/lib/src/services/traders/pods/pods.class.d.ts +2 -2
- package/lib/src/services/traders/pods/pods.schema.d.ts +621 -117
- package/lib/src/services/traders/pods/pods.shared.js +0 -1
- package/lib/src/services/traders/pods/webhooks/webhooks.class.d.ts +2 -2
- package/lib/src/services/traders/pods/webhooks/webhooks.schema.d.ts +144 -144
- package/lib/src/services/traders/pods/webhooks/webhooks.shared.js +0 -1
- package/lib/src/services/traders/traders.class.d.ts +2 -2
- package/lib/src/services/traders/traders.shared.js +0 -1
- package/lib/src/services/trades/trades.class.d.ts +2 -2
- package/lib/src/services/trades/trades.shared.js +0 -1
- package/lib/src/services/users/access/access.class.d.ts +2 -2
- package/lib/src/services/users/access/access.schema.d.ts +70 -70
- package/lib/src/services/users/access/access.shared.js +7 -2
- package/lib/src/services/users/marketing/campaigns/12-bot-no-trades.campaign.d.ts +3 -0
- package/lib/src/services/users/marketing/campaigns/13-trial-ending-cold.campaign.d.ts +3 -0
- package/lib/src/services/users/marketing/campaigns/14-trial-ending-engaged.campaign.d.ts +3 -0
- package/lib/src/services/users/marketing/campaigns/15-eve-followup-14d.campaign.d.ts +3 -0
- package/lib/src/services/users/marketing/campaigns/16-eve-followup-30d.campaign.d.ts +3 -0
- package/lib/src/services/users/marketing/campaigns/trial.context.d.ts +1 -11
- package/lib/src/services/users/marketing/marketing.class.d.ts +2 -6
- package/lib/src/services/users/marketing/marketing.engine.d.ts +0 -20
- package/lib/src/services/users/marketing/marketing.shared.js +0 -1
- package/lib/src/services/users/onboarding/onboarding.class.d.ts +2 -2
- package/lib/src/services/users/onboarding/onboarding.hooks.d.ts +0 -38
- package/lib/src/services/users/onboarding/onboarding.shared.js +0 -1
- package/lib/src/services/users/onboarding/steps/exchanges.processor.d.ts +0 -5
- package/lib/src/services/users/onboarding/steps/notifications.processor.d.ts +0 -4
- package/lib/src/services/users/onboarding/steps/preferences.processor.d.ts +0 -4
- package/lib/src/services/users/onboarding/steps/strategy.processor.d.ts +0 -5
- package/lib/src/services/users/onboarding/steps/traders.processor.d.ts +0 -5
- package/lib/src/services/users/sessions/sessions.class.d.ts +0 -6
- package/lib/src/services/users/sessions/sessions.schema.d.ts +70 -78
- package/lib/src/services/users/sessions/sessions.shared.js +0 -1
- package/lib/src/services/users/users.class.d.ts +0 -1
- package/lib/src/services/users/users.schema.d.ts +0 -13
- package/lib/src/services/users/users.shared.d.ts +1 -3
- package/lib/src/services/users/users.shared.js +0 -1
- package/lib/src/services/version/version.shared.js +0 -1
- package/package.json +1 -1
- package/lib/src/services/advisor/advisor.hooks.d.ts +0 -9
- package/lib/src/services/agents/sessions/conversations/conversations.hooks.d.ts +0 -11
- package/lib/src/services/agents/sessions/sessions.hooks.d.ts +0 -11
- package/lib/src/services/tax/sessions/conversations/conversations.hooks.d.ts +0 -11
- package/lib/src/services/tax/sessions/sessions.hooks.d.ts +0 -11
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { Params } from '@feathersjs/feathers';
|
|
2
2
|
import type { MongoDBAdapterOptions, MongoDBAdapterParams } from '@feathersjs/mongodb';
|
|
3
|
-
import {
|
|
3
|
+
import { MongoDBService } from '@feathersjs/mongodb';
|
|
4
4
|
import type { Application } from '../../../declarations';
|
|
5
5
|
import type { ExchangesBalance, ExchangesBalanceData, ExchangesBalancePatch, ExchangesBalanceQuery } from './balance.schema';
|
|
6
6
|
export type { ExchangesBalance, ExchangesBalanceData, ExchangesBalancePatch, ExchangesBalanceQuery };
|
|
7
7
|
export interface ExchangesBalanceParams extends MongoDBAdapterParams<ExchangesBalanceQuery> {
|
|
8
8
|
user?: any;
|
|
9
9
|
}
|
|
10
|
-
export declare class ExchangesBalanceService<ServiceParams extends Params = ExchangesBalanceParams> extends
|
|
10
|
+
export declare class ExchangesBalanceService<ServiceParams extends Params = ExchangesBalanceParams> extends MongoDBService<ExchangesBalance, ExchangesBalanceData, ExchangesBalanceParams, ExchangesBalancePatch> {
|
|
11
11
|
}
|
|
12
12
|
export declare const getOptions: (app: Application) => MongoDBAdapterOptions;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { Params } from '@feathersjs/feathers';
|
|
2
2
|
import type { MongoDBAdapterOptions, MongoDBAdapterParams } from '@feathersjs/mongodb';
|
|
3
|
-
import {
|
|
3
|
+
import { MongoDBService } from '@feathersjs/mongodb';
|
|
4
4
|
import type { Application } from '../../../declarations';
|
|
5
5
|
import type { ExchangesDeposits, ExchangesDepositsData, ExchangesDepositsPatch, ExchangesDepositsQuery } from './deposits.schema';
|
|
6
6
|
export type { ExchangesDeposits, ExchangesDepositsData, ExchangesDepositsPatch, ExchangesDepositsQuery };
|
|
7
7
|
export interface ExchangesDepositsParams extends MongoDBAdapterParams<ExchangesDepositsQuery> {
|
|
8
8
|
}
|
|
9
|
-
export declare class ExchangesDepositsService<ServiceParams extends Params = ExchangesDepositsParams> extends
|
|
9
|
+
export declare class ExchangesDepositsService<ServiceParams extends Params = ExchangesDepositsParams> extends MongoDBService<ExchangesDeposits, ExchangesDepositsData, ExchangesDepositsParams, ExchangesDepositsPatch> {
|
|
10
10
|
}
|
|
11
11
|
export declare const getOptions: (app: Application) => MongoDBAdapterOptions;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { Params } from '@feathersjs/feathers';
|
|
2
2
|
import type { MongoDBAdapterOptions, MongoDBAdapterParams } from '@feathersjs/mongodb';
|
|
3
|
-
import {
|
|
3
|
+
import { MongoDBService } from '@feathersjs/mongodb';
|
|
4
4
|
import type { Application } from '../../../../declarations';
|
|
5
5
|
import type { ExchangesDepositsSync, ExchangesDepositsSyncData, ExchangesDepositsSyncPatch, ExchangesDepositsSyncQuery } from './sync.schema';
|
|
6
6
|
export type { ExchangesDepositsSync, ExchangesDepositsSyncData, ExchangesDepositsSyncPatch, ExchangesDepositsSyncQuery };
|
|
7
7
|
export interface ExchangesDepositsSyncParams extends MongoDBAdapterParams<ExchangesDepositsSyncQuery> {
|
|
8
8
|
}
|
|
9
|
-
export declare class ExchangesDepositsSyncService<ServiceParams extends Params = ExchangesDepositsSyncParams> extends
|
|
9
|
+
export declare class ExchangesDepositsSyncService<ServiceParams extends Params = ExchangesDepositsSyncParams> extends MongoDBService<ExchangesDepositsSync, ExchangesDepositsSyncData, ExchangesDepositsSyncParams, ExchangesDepositsSyncPatch> {
|
|
10
10
|
}
|
|
11
11
|
export declare const getOptions: (app: Application) => MongoDBAdapterOptions;
|
|
@@ -2,13 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.exchangesDepositsSyncClient = exports.exchangesDepositsSyncMethods = exports.exchangesDepositsSyncPath = void 0;
|
|
4
4
|
exports.exchangesDepositsSyncPath = 'exchanges/deposits/sync';
|
|
5
|
-
exports.exchangesDepositsSyncMethods = [
|
|
6
|
-
'find',
|
|
7
|
-
'get',
|
|
8
|
-
'create',
|
|
9
|
-
'patch',
|
|
10
|
-
'remove'
|
|
11
|
-
];
|
|
5
|
+
exports.exchangesDepositsSyncMethods = ['find', 'get', 'create', 'patch', 'remove'];
|
|
12
6
|
const exchangesDepositsSyncClient = (client) => {
|
|
13
7
|
const connection = client.get('connection');
|
|
14
8
|
client.use(exports.exchangesDepositsSyncPath, connection.service(exports.exchangesDepositsSyncPath), {
|
|
@@ -16,4 +10,3 @@ const exchangesDepositsSyncClient = (client) => {
|
|
|
16
10
|
});
|
|
17
11
|
};
|
|
18
12
|
exports.exchangesDepositsSyncClient = exchangesDepositsSyncClient;
|
|
19
|
-
//# sourceMappingURL=sync.shared.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { Params } from '@feathersjs/feathers';
|
|
2
2
|
import type { MongoDBAdapterOptions, MongoDBAdapterParams } from '@feathersjs/mongodb';
|
|
3
|
-
import {
|
|
3
|
+
import { MongoDBService } from '@feathersjs/mongodb';
|
|
4
4
|
import type { Application } from '../../../declarations';
|
|
5
5
|
import type { ExchangesDownload, ExchangesDownloadData, ExchangesDownloadPatch, ExchangesDownloadQuery } from './download.schema';
|
|
6
6
|
export type { ExchangesDownload, ExchangesDownloadData, ExchangesDownloadPatch, ExchangesDownloadQuery };
|
|
7
7
|
export interface ExchangesDownloadParams extends MongoDBAdapterParams<ExchangesDownloadQuery> {
|
|
8
8
|
user?: any;
|
|
9
9
|
}
|
|
10
|
-
export declare class ExchangesDownloadService<ServiceParams extends Params = ExchangesDownloadParams> extends
|
|
10
|
+
export declare class ExchangesDownloadService<ServiceParams extends Params = ExchangesDownloadParams> extends MongoDBService<ExchangesDownload, ExchangesDownloadData, ExchangesDownloadParams, ExchangesDownloadPatch> {
|
|
11
11
|
}
|
|
12
12
|
export declare const getOptions: (app: Application) => MongoDBAdapterOptions;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { Params } from '@feathersjs/feathers';
|
|
2
2
|
import type { MongoDBAdapterOptions, MongoDBAdapterParams } from '@feathersjs/mongodb';
|
|
3
|
-
import {
|
|
3
|
+
import { MongoDBService } from '@feathersjs/mongodb';
|
|
4
4
|
import type { Application } from '../../../../declarations';
|
|
5
5
|
import type { ExchangesDownloadWebhooks, ExchangesDownloadWebhooksData, ExchangesDownloadWebhooksPatch, ExchangesDownloadWebhooksQuery } from './webhooks.schema';
|
|
6
6
|
export type { ExchangesDownloadWebhooks, ExchangesDownloadWebhooksData, ExchangesDownloadWebhooksPatch, ExchangesDownloadWebhooksQuery };
|
|
7
7
|
export interface ExchangesDownloadWebhooksParams extends MongoDBAdapterParams<ExchangesDownloadWebhooksQuery> {
|
|
8
8
|
}
|
|
9
|
-
export declare class ExchangesDownloadWebhooksService<ServiceParams extends Params = ExchangesDownloadWebhooksParams> extends
|
|
9
|
+
export declare class ExchangesDownloadWebhooksService<ServiceParams extends Params = ExchangesDownloadWebhooksParams> extends MongoDBService<ExchangesDownloadWebhooks, ExchangesDownloadWebhooksData, ExchangesDownloadWebhooksParams, ExchangesDownloadWebhooksPatch> {
|
|
10
10
|
}
|
|
11
11
|
export declare const getOptions: (app: Application) => MongoDBAdapterOptions;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { Params } from '@feathersjs/feathers';
|
|
2
2
|
import type { MongoDBAdapterOptions, MongoDBAdapterParams } from '@feathersjs/mongodb';
|
|
3
|
-
import {
|
|
3
|
+
import { MongoDBService } from '@feathersjs/mongodb';
|
|
4
4
|
import type { Application } from '../../declarations';
|
|
5
5
|
import type { Exchanges, ExchangesData, ExchangesPatch, ExchangesQuery } from './exchanges.schema';
|
|
6
6
|
export type { Exchanges, ExchangesData, ExchangesPatch, ExchangesQuery };
|
|
7
7
|
export interface ExchangesParams extends MongoDBAdapterParams<ExchangesQuery> {
|
|
8
8
|
user?: any;
|
|
9
9
|
}
|
|
10
|
-
export declare class ExchangesService<ServiceParams extends Params = ExchangesParams> extends
|
|
10
|
+
export declare class ExchangesService<ServiceParams extends Params = ExchangesParams> extends MongoDBService<Exchanges, ExchangesData, ExchangesParams, ExchangesPatch> {
|
|
11
11
|
}
|
|
12
12
|
export declare const getOptions: (app: Application) => MongoDBAdapterOptions;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { Params } from '@feathersjs/feathers';
|
|
2
2
|
import type { MongoDBAdapterOptions, MongoDBAdapterParams } from '@feathersjs/mongodb';
|
|
3
|
-
import {
|
|
3
|
+
import { MongoDBService } from '@feathersjs/mongodb';
|
|
4
4
|
import type { Application } from '../../../declarations';
|
|
5
5
|
import type { ExchangesLedger, ExchangesLedgerData, ExchangesLedgerPatch, ExchangesLedgerQuery } from './ledger.schema';
|
|
6
6
|
export type { ExchangesLedger, ExchangesLedgerData, ExchangesLedgerPatch, ExchangesLedgerQuery };
|
|
7
7
|
export interface ExchangesLedgerParams extends MongoDBAdapterParams<ExchangesLedgerQuery> {
|
|
8
8
|
}
|
|
9
|
-
export declare class ExchangesLedgerService<ServiceParams extends Params = ExchangesLedgerParams> extends
|
|
9
|
+
export declare class ExchangesLedgerService<ServiceParams extends Params = ExchangesLedgerParams> extends MongoDBService<ExchangesLedger, ExchangesLedgerData, ExchangesLedgerParams, ExchangesLedgerPatch> {
|
|
10
10
|
}
|
|
11
11
|
export declare const getOptions: (app: Application) => MongoDBAdapterOptions;
|
|
@@ -2,7 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.exchangesLedgerClient = exports.exchangesLedgerMethods = exports.exchangesLedgerPath = void 0;
|
|
4
4
|
exports.exchangesLedgerPath = 'exchanges/ledger';
|
|
5
|
-
exports.exchangesLedgerMethods = [
|
|
5
|
+
exports.exchangesLedgerMethods = [
|
|
6
|
+
'find',
|
|
7
|
+
'get',
|
|
8
|
+
'create',
|
|
9
|
+
'patch',
|
|
10
|
+
'remove'
|
|
11
|
+
];
|
|
6
12
|
const exchangesLedgerClient = (client) => {
|
|
7
13
|
const connection = client.get('connection');
|
|
8
14
|
client.use(exports.exchangesLedgerPath, connection.service(exports.exchangesLedgerPath), {
|
|
@@ -10,4 +16,3 @@ const exchangesLedgerClient = (client) => {
|
|
|
10
16
|
});
|
|
11
17
|
};
|
|
12
18
|
exports.exchangesLedgerClient = exchangesLedgerClient;
|
|
13
|
-
//# sourceMappingURL=ledger.shared.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { Params } from '@feathersjs/feathers';
|
|
2
2
|
import type { MongoDBAdapterOptions, MongoDBAdapterParams } from '@feathersjs/mongodb';
|
|
3
|
-
import {
|
|
3
|
+
import { MongoDBService } from '@feathersjs/mongodb';
|
|
4
4
|
import type { Application } from '../../../../declarations';
|
|
5
5
|
import type { ExchangesLedgerSync, ExchangesLedgerSyncData, ExchangesLedgerSyncPatch, ExchangesLedgerSyncQuery } from './sync.schema';
|
|
6
6
|
export type { ExchangesLedgerSync, ExchangesLedgerSyncData, ExchangesLedgerSyncPatch, ExchangesLedgerSyncQuery };
|
|
7
7
|
export interface ExchangesLedgerSyncParams extends MongoDBAdapterParams<ExchangesLedgerSyncQuery> {
|
|
8
8
|
}
|
|
9
|
-
export declare class ExchangesLedgerSyncService<ServiceParams extends Params = ExchangesLedgerSyncParams> extends
|
|
9
|
+
export declare class ExchangesLedgerSyncService<ServiceParams extends Params = ExchangesLedgerSyncParams> extends MongoDBService<ExchangesLedgerSync, ExchangesLedgerSyncData, ExchangesLedgerSyncParams, ExchangesLedgerSyncPatch> {
|
|
10
10
|
}
|
|
11
11
|
export declare const getOptions: (app: Application) => MongoDBAdapterOptions;
|
|
@@ -10,11 +10,6 @@ export interface ExchangesMarketsStatsParams extends Params<ExchangesMarketsStat
|
|
|
10
10
|
export declare class ExchangesMarketsStatsService<ServiceParams extends ExchangesMarketsStatsParams = ExchangesMarketsStatsParams> implements ServiceInterface<ExchangesMarketsStats, ExchangesMarketsStatsData, ServiceParams> {
|
|
11
11
|
options: ExchangesMarketsStatsServiceOptions;
|
|
12
12
|
constructor(options: ExchangesMarketsStatsServiceOptions);
|
|
13
|
-
/**
|
|
14
|
-
* find() — returns realtime per-symbol stats (24h volume + listing date) for the
|
|
15
|
-
* requested exchange. Wrapped through the shared cache helper so we hit CCXT at
|
|
16
|
-
* most once per `CACHE_TTL_MS` per exchange across all instances.
|
|
17
|
-
*/
|
|
18
13
|
find(params?: ServiceParams): Promise<ExchangesMarketsStats>;
|
|
19
14
|
private _fetch;
|
|
20
15
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { Params } from '@feathersjs/feathers';
|
|
2
2
|
import type { MongoDBAdapterOptions, MongoDBAdapterParams } from '@feathersjs/mongodb';
|
|
3
|
-
import {
|
|
3
|
+
import { MongoDBService } from '@feathersjs/mongodb';
|
|
4
4
|
import type { Application } from '../../../../declarations';
|
|
5
5
|
import type { ExchangesOhlcvHistory, ExchangesOhlcvHistoryData, ExchangesOhlcvHistoryPatch, ExchangesOhlcvHistoryQuery } from './history.schema';
|
|
6
6
|
export type { ExchangesOhlcvHistory, ExchangesOhlcvHistoryData, ExchangesOhlcvHistoryPatch, ExchangesOhlcvHistoryQuery };
|
|
7
7
|
export interface ExchangesOhlcvHistoryParams extends MongoDBAdapterParams<ExchangesOhlcvHistoryQuery> {
|
|
8
8
|
}
|
|
9
|
-
export declare class ExchangesOhlcvHistoryService<ServiceParams extends Params = ExchangesOhlcvHistoryParams> extends
|
|
9
|
+
export declare class ExchangesOhlcvHistoryService<ServiceParams extends Params = ExchangesOhlcvHistoryParams> extends MongoDBService<ExchangesOhlcvHistory, ExchangesOhlcvHistoryData, ExchangesOhlcvHistoryParams, ExchangesOhlcvHistoryPatch> {
|
|
10
10
|
}
|
|
11
11
|
export declare const getOptions: (app: Application) => MongoDBAdapterOptions;
|
|
@@ -10,19 +10,8 @@ export interface ExchangesOrderbookParams extends Params<ExchangesOrderbookQuery
|
|
|
10
10
|
export declare class ExchangesOrderbookService<ServiceParams extends ExchangesOrderbookParams = ExchangesOrderbookParams> implements ServiceInterface<ExchangesOrderbook, ExchangesOrderbookData, ServiceParams> {
|
|
11
11
|
options: ExchangesOrderbookServiceOptions;
|
|
12
12
|
constructor(options: ExchangesOrderbookServiceOptions);
|
|
13
|
-
/**
|
|
14
|
-
* find() — returns current snapshots from the in-memory book map.
|
|
15
|
-
* Query by exchange, symbol, or both. No query returns all books.
|
|
16
|
-
*/
|
|
17
13
|
find(params?: ServiceParams): Promise<ExchangesOrderbook[]>;
|
|
18
|
-
/**
|
|
19
|
-
* create() — subscribe to a specific exchange:symbol channel.
|
|
20
|
-
* Joins the Socket.IO connection to the orderbook channel so it receives real-time updates.
|
|
21
|
-
*/
|
|
22
14
|
create(data: ExchangesOrderbookData, params?: ServiceParams): Promise<any>;
|
|
23
|
-
/**
|
|
24
|
-
* remove() — unsubscribe from a specific exchange:symbol channel.
|
|
25
|
-
*/
|
|
26
15
|
remove(_id: NullableId, params?: ServiceParams): Promise<any>;
|
|
27
16
|
}
|
|
28
17
|
export declare const getOptions: (app: Application) => {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { Params } from '@feathersjs/feathers';
|
|
2
2
|
import type { MongoDBAdapterOptions, MongoDBAdapterParams } from '@feathersjs/mongodb';
|
|
3
|
-
import {
|
|
3
|
+
import { MongoDBService } from '@feathersjs/mongodb';
|
|
4
4
|
import type { Application } from '../../../declarations';
|
|
5
5
|
import type { ExchangesTicker, ExchangesTickerData, ExchangesTickerPatch, ExchangesTickerQuery } from './ticker.schema';
|
|
6
6
|
export type { ExchangesTicker, ExchangesTickerData, ExchangesTickerPatch, ExchangesTickerQuery };
|
|
7
7
|
export interface ExchangesTickerParams extends MongoDBAdapterParams<ExchangesTickerQuery> {
|
|
8
8
|
user?: any;
|
|
9
9
|
}
|
|
10
|
-
export declare class ExchangesTickerService<ServiceParams extends Params = ExchangesTickerParams> extends
|
|
10
|
+
export declare class ExchangesTickerService<ServiceParams extends Params = ExchangesTickerParams> extends MongoDBService<ExchangesTicker, ExchangesTickerData, ExchangesTickerParams, ExchangesTickerPatch> {
|
|
11
11
|
}
|
|
12
12
|
export declare const getOptions: (app: Application) => MongoDBAdapterOptions;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { Params } from '@feathersjs/feathers';
|
|
2
2
|
import type { MongoDBAdapterOptions, MongoDBAdapterParams } from '@feathersjs/mongodb';
|
|
3
|
-
import {
|
|
3
|
+
import { MongoDBService } from '@feathersjs/mongodb';
|
|
4
4
|
import type { Application } from '../../../../declarations';
|
|
5
5
|
import type { ExchangesTransactionsSync, ExchangesTransactionsSyncData, ExchangesTransactionsSyncPatch, ExchangesTransactionsSyncQuery } from './sync.schema';
|
|
6
6
|
export type { ExchangesTransactionsSync, ExchangesTransactionsSyncData, ExchangesTransactionsSyncPatch, ExchangesTransactionsSyncQuery };
|
|
7
7
|
export interface ExchangesTransactionsSyncParams extends MongoDBAdapterParams<ExchangesTransactionsSyncQuery> {
|
|
8
8
|
}
|
|
9
|
-
export declare class ExchangesTransactionsSyncService<ServiceParams extends Params = ExchangesTransactionsSyncParams> extends
|
|
9
|
+
export declare class ExchangesTransactionsSyncService<ServiceParams extends Params = ExchangesTransactionsSyncParams> extends MongoDBService<ExchangesTransactionsSync, ExchangesTransactionsSyncData, ExchangesTransactionsSyncParams, ExchangesTransactionsSyncPatch> {
|
|
10
10
|
}
|
|
11
11
|
export declare const getOptions: (app: Application) => MongoDBAdapterOptions;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { Params } from '@feathersjs/feathers';
|
|
2
2
|
import type { MongoDBAdapterOptions, MongoDBAdapterParams } from '@feathersjs/mongodb';
|
|
3
|
-
import {
|
|
3
|
+
import { MongoDBService } from '@feathersjs/mongodb';
|
|
4
4
|
import type { Application } from '../../../declarations';
|
|
5
5
|
import type { ExchangesTransactions, ExchangesTransactionsData, ExchangesTransactionsPatch, ExchangesTransactionsQuery } from './transactions.schema';
|
|
6
6
|
export type { ExchangesTransactions, ExchangesTransactionsData, ExchangesTransactionsPatch, ExchangesTransactionsQuery };
|
|
7
7
|
export interface ExchangesTransactionsParams extends MongoDBAdapterParams<ExchangesTransactionsQuery> {
|
|
8
8
|
}
|
|
9
|
-
export declare class ExchangesTransactionsService<ServiceParams extends Params = ExchangesTransactionsParams> extends
|
|
9
|
+
export declare class ExchangesTransactionsService<ServiceParams extends Params = ExchangesTransactionsParams> extends MongoDBService<ExchangesTransactions, ExchangesTransactionsData, ExchangesTransactionsParams, ExchangesTransactionsPatch> {
|
|
10
10
|
}
|
|
11
11
|
export declare const getOptions: (app: Application) => MongoDBAdapterOptions;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { Params } from '@feathersjs/feathers';
|
|
2
2
|
import type { MongoDBAdapterOptions, MongoDBAdapterParams } from '@feathersjs/mongodb';
|
|
3
|
-
import {
|
|
3
|
+
import { MongoDBService } from '@feathersjs/mongodb';
|
|
4
4
|
import type { Application } from '../../declarations';
|
|
5
5
|
import type { Extensions, ExtensionsData, ExtensionsPatch, ExtensionsQuery } from './extensions.schema';
|
|
6
6
|
export type { Extensions, ExtensionsData, ExtensionsPatch, ExtensionsQuery };
|
|
7
7
|
export interface ExtensionsParams extends MongoDBAdapterParams<ExtensionsQuery> {
|
|
8
8
|
user?: any;
|
|
9
9
|
}
|
|
10
|
-
export declare class ExtensionsService<ServiceParams extends Params = ExtensionsParams> extends
|
|
10
|
+
export declare class ExtensionsService<ServiceParams extends Params = ExtensionsParams> extends MongoDBService<Extensions, ExtensionsData, ExtensionsParams, ExtensionsPatch> {
|
|
11
11
|
}
|
|
12
12
|
export declare const getOptions: (app: Application) => MongoDBAdapterOptions;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ClientApplication } from '../../client';
|
|
2
|
-
import type {
|
|
2
|
+
import type { HomepageService } from './homepage.class';
|
|
3
|
+
import type { Homepage, HomepageData, HomepagePatch, HomepageQuery } from './homepage.class';
|
|
3
4
|
export type { Homepage, HomepageData, HomepagePatch, HomepageQuery };
|
|
4
5
|
export type HomepageClientService = Pick<HomepageService, (typeof homepageMethods)[number]>;
|
|
5
6
|
export declare const homepagePath = "homepage";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Id, Params } from '@feathersjs/feathers';
|
|
2
2
|
import type { MongoDBAdapterOptions, MongoDBAdapterParams } from '@feathersjs/mongodb';
|
|
3
|
-
import {
|
|
3
|
+
import { MongoDBService } from '@feathersjs/mongodb';
|
|
4
4
|
import type { Application } from '../../../declarations';
|
|
5
5
|
import type { InsightsCryptoStressIndex, InsightsCryptoStressIndexData, InsightsCryptoStressIndexPatch, InsightsCryptoStressIndexQuery } from './crypto-stress-index.schema';
|
|
6
6
|
export type { InsightsCryptoStressIndex, InsightsCryptoStressIndexData, InsightsCryptoStressIndexPatch, InsightsCryptoStressIndexQuery };
|
|
@@ -24,29 +24,17 @@ export interface ConfirmedStressResponse {
|
|
|
24
24
|
blockEntries: boolean;
|
|
25
25
|
exitMode: 'none' | 'exit_losers' | 'exit_all';
|
|
26
26
|
}
|
|
27
|
-
export declare class InsightsCryptoStressIndexService<ServiceParams extends Params = InsightsCryptoStressIndexParams> extends
|
|
27
|
+
export declare class InsightsCryptoStressIndexService<ServiceParams extends Params = InsightsCryptoStressIndexParams> extends MongoDBService<InsightsCryptoStressIndex, InsightsCryptoStressIndexData, InsightsCryptoStressIndexParams, InsightsCryptoStressIndexPatch> {
|
|
28
28
|
private _emaScore;
|
|
29
29
|
private _confirmedBand;
|
|
30
30
|
private _pendingBand;
|
|
31
31
|
private _pendingCount;
|
|
32
|
-
/**
|
|
33
|
-
* Called by the 5-min cron after each raw score computation.
|
|
34
|
-
* Updates the EMA and evaluates hysteresis for band transitions.
|
|
35
|
-
*/
|
|
36
32
|
updateConfirmedState(rawScore: number): {
|
|
37
33
|
bandChanged: boolean;
|
|
38
34
|
previousBand: Band;
|
|
39
35
|
newBand: Band;
|
|
40
36
|
};
|
|
41
|
-
/**
|
|
42
|
-
* Returns the current confirmed stress state with pre-computed multipliers.
|
|
43
|
-
*/
|
|
44
37
|
getConfirmedState(): ConfirmedStressResponse;
|
|
45
|
-
/**
|
|
46
|
-
* get('latest') — returns the current stress snapshot + sparkline from Valkey.
|
|
47
|
-
* get('confirmed') — returns the smoothed confirmed band + multipliers.
|
|
48
|
-
* Any other id falls through to the MongoDB adapter.
|
|
49
|
-
*/
|
|
50
38
|
get(id: Id, params?: ServiceParams): Promise<any>;
|
|
51
39
|
}
|
|
52
40
|
export declare const getOptions: (app: Application) => MongoDBAdapterOptions;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { Params } from '@feathersjs/feathers';
|
|
2
2
|
import type { MongoDBAdapterOptions, MongoDBAdapterParams } from '@feathersjs/mongodb';
|
|
3
|
-
import {
|
|
3
|
+
import { MongoDBService } from '@feathersjs/mongodb';
|
|
4
4
|
import type { Application } from '../../../declarations';
|
|
5
5
|
import type { InsightsEtfFlow, InsightsEtfFlowData, InsightsEtfFlowPatch, InsightsEtfFlowQuery } from './etf-flow.schema';
|
|
6
6
|
export type { InsightsEtfFlow, InsightsEtfFlowData, InsightsEtfFlowPatch, InsightsEtfFlowQuery };
|
|
7
7
|
export interface InsightsEtfFlowParams extends MongoDBAdapterParams<InsightsEtfFlowQuery> {
|
|
8
8
|
}
|
|
9
|
-
export declare class InsightsEtfFlowService<ServiceParams extends Params = InsightsEtfFlowParams> extends
|
|
9
|
+
export declare class InsightsEtfFlowService<ServiceParams extends Params = InsightsEtfFlowParams> extends MongoDBService<InsightsEtfFlow, InsightsEtfFlowData, InsightsEtfFlowParams, InsightsEtfFlowPatch> {
|
|
10
10
|
}
|
|
11
11
|
export declare const getOptions: (app: Application) => MongoDBAdapterOptions;
|
|
@@ -2,7 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.insightsEtfFlowClient = exports.insightsEtfFlowMethods = exports.insightsEtfFlowPath = void 0;
|
|
4
4
|
exports.insightsEtfFlowPath = 'insights/etf-flow';
|
|
5
|
-
exports.insightsEtfFlowMethods = [
|
|
5
|
+
exports.insightsEtfFlowMethods = [
|
|
6
|
+
'find',
|
|
7
|
+
'get',
|
|
8
|
+
'create',
|
|
9
|
+
'patch',
|
|
10
|
+
'remove'
|
|
11
|
+
];
|
|
6
12
|
const insightsEtfFlowClient = (client) => {
|
|
7
13
|
const connection = client.get('connection');
|
|
8
14
|
client.use(exports.insightsEtfFlowPath, connection.service(exports.insightsEtfFlowPath), {
|
|
@@ -10,4 +16,3 @@ const insightsEtfFlowClient = (client) => {
|
|
|
10
16
|
});
|
|
11
17
|
};
|
|
12
18
|
exports.insightsEtfFlowClient = insightsEtfFlowClient;
|
|
13
|
-
//# sourceMappingURL=etf-flow.shared.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { Params } from '@feathersjs/feathers';
|
|
2
2
|
import type { MongoDBAdapterOptions, MongoDBAdapterParams } from '@feathersjs/mongodb';
|
|
3
|
-
import {
|
|
3
|
+
import { MongoDBService } from '@feathersjs/mongodb';
|
|
4
4
|
import type { Application } from '../../../declarations';
|
|
5
5
|
import type { InsightsFearAndGreed, InsightsFearAndGreedData, InsightsFearAndGreedPatch, InsightsFearAndGreedQuery } from './fear-and-greed.schema';
|
|
6
6
|
export type { InsightsFearAndGreed, InsightsFearAndGreedData, InsightsFearAndGreedPatch, InsightsFearAndGreedQuery };
|
|
7
7
|
export interface InsightsFearAndGreedParams extends MongoDBAdapterParams<InsightsFearAndGreedQuery> {
|
|
8
8
|
}
|
|
9
|
-
export declare class InsightsFearAndGreedService<ServiceParams extends Params = InsightsFearAndGreedParams> extends
|
|
9
|
+
export declare class InsightsFearAndGreedService<ServiceParams extends Params = InsightsFearAndGreedParams> extends MongoDBService<InsightsFearAndGreed, InsightsFearAndGreedData, InsightsFearAndGreedParams, InsightsFearAndGreedPatch> {
|
|
10
10
|
}
|
|
11
11
|
export declare const getOptions: (app: Application) => MongoDBAdapterOptions;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { Params } from '@feathersjs/feathers';
|
|
2
2
|
import type { MongoDBAdapterOptions, MongoDBAdapterParams } from '@feathersjs/mongodb';
|
|
3
|
-
import {
|
|
3
|
+
import { MongoDBService } from '@feathersjs/mongodb';
|
|
4
4
|
import type { Application } from '../../../declarations';
|
|
5
5
|
import type { InsightsGlobal, InsightsGlobalData, InsightsGlobalPatch, InsightsGlobalQuery } from './global.schema';
|
|
6
6
|
export type { InsightsGlobal, InsightsGlobalData, InsightsGlobalPatch, InsightsGlobalQuery };
|
|
7
7
|
export interface InsightsGlobalParams extends MongoDBAdapterParams<InsightsGlobalQuery> {
|
|
8
8
|
}
|
|
9
|
-
export declare class InsightsGlobalService<ServiceParams extends Params = InsightsGlobalParams> extends
|
|
9
|
+
export declare class InsightsGlobalService<ServiceParams extends Params = InsightsGlobalParams> extends MongoDBService<InsightsGlobal, InsightsGlobalData, InsightsGlobalParams, InsightsGlobalPatch> {
|
|
10
10
|
}
|
|
11
11
|
export declare const getOptions: (app: Application) => MongoDBAdapterOptions;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { Params } from '@feathersjs/feathers';
|
|
2
2
|
import type { MongoDBAdapterOptions, MongoDBAdapterParams } from '@feathersjs/mongodb';
|
|
3
|
-
import {
|
|
3
|
+
import { MongoDBService } from '@feathersjs/mongodb';
|
|
4
4
|
import type { Application } from '../../declarations';
|
|
5
5
|
import type { Insights, InsightsData, InsightsPatch, InsightsQuery } from './insights.schema';
|
|
6
6
|
export type { Insights, InsightsData, InsightsPatch, InsightsQuery };
|
|
7
7
|
export interface InsightsParams extends MongoDBAdapterParams<InsightsQuery> {
|
|
8
8
|
}
|
|
9
|
-
export declare class InsightsService<ServiceParams extends Params = InsightsParams> extends
|
|
9
|
+
export declare class InsightsService<ServiceParams extends Params = InsightsParams> extends MongoDBService<Insights, InsightsData, InsightsParams, InsightsPatch> {
|
|
10
10
|
}
|
|
11
11
|
export declare const getOptions: (app: Application) => MongoDBAdapterOptions;
|
|
@@ -1,20 +1,9 @@
|
|
|
1
1
|
import type { HookContext } from '@feathersjs/feathers';
|
|
2
|
-
/**
|
|
3
|
-
* Hook to fetch market data from CoinStats API and populate the context data
|
|
4
|
-
* This hook fetches data from the CoinStats API
|
|
5
|
-
*/
|
|
6
2
|
export declare const fetchCoinstatsData: (context: HookContext) => Promise<HookContext<import("@feathersjs/feathers").Application<any, any>, any>>;
|
|
7
|
-
/**
|
|
8
|
-
* Hook to fetch fear and greed data from CoinStats API and populate the context data
|
|
9
|
-
* This hook fetches data from the CoinStats API
|
|
10
|
-
*/
|
|
11
3
|
export declare const fetchFearAndGreedData: (context: HookContext) => Promise<HookContext<import("@feathersjs/feathers").Application<any, any>, any>>;
|
|
12
4
|
export interface NewsApiResponse {
|
|
13
5
|
data: any[];
|
|
14
6
|
hasMore: boolean;
|
|
15
7
|
totalPages: number;
|
|
16
8
|
}
|
|
17
|
-
/**
|
|
18
|
-
* Hook to fetch news data from CoinStats API with pagination support
|
|
19
|
-
*/
|
|
20
9
|
export declare const fetchNewsData: (context: HookContext) => Promise<HookContext>;
|
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
import type { Params } from '@feathersjs/feathers';
|
|
2
2
|
import type { MongoDBAdapterOptions, MongoDBAdapterParams } from '@feathersjs/mongodb';
|
|
3
|
-
import {
|
|
3
|
+
import { MongoDBService } from '@feathersjs/mongodb';
|
|
4
4
|
import type { Application } from '../../../declarations';
|
|
5
5
|
import type { InsightsNews, InsightsNewsData, InsightsNewsPatch, InsightsNewsQuery } from './news.schema';
|
|
6
6
|
export type { InsightsNews, InsightsNewsData, InsightsNewsPatch, InsightsNewsQuery };
|
|
7
7
|
export interface InsightsNewsParams extends MongoDBAdapterParams<InsightsNewsQuery> {
|
|
8
8
|
}
|
|
9
|
-
export declare class InsightsNewsService<ServiceParams extends Params = InsightsNewsParams> extends
|
|
10
|
-
/**
|
|
11
|
-
* Bulk upsert news items, respecting high-water marks per news type
|
|
12
|
-
*/
|
|
9
|
+
export declare class InsightsNewsService<ServiceParams extends Params = InsightsNewsParams> extends MongoDBService<InsightsNews, InsightsNewsData, InsightsNewsParams, InsightsNewsPatch> {
|
|
13
10
|
upsert(data: {
|
|
14
11
|
newsType: string;
|
|
15
12
|
newsItems: any[];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { Params } from '@feathersjs/feathers';
|
|
2
|
-
import {
|
|
2
|
+
import { MongoDBService } from '@feathersjs/mongodb';
|
|
3
3
|
import { KeysParams } from './keys.class';
|
|
4
4
|
import type { Keys, KeysData, KeysPatch } from './keys.schema';
|
|
5
|
-
export declare class KeysService<ServiceParams extends Params = KeysParams> extends
|
|
5
|
+
export declare class KeysService<ServiceParams extends Params = KeysParams> extends MongoDBService<Keys, KeysData, KeysParams, KeysPatch> {
|
|
6
6
|
constructor(options: any);
|
|
7
7
|
create(data: KeysData & {
|
|
8
8
|
_rawApiKey?: string;
|