@microcosmmoney/auth-core 1.2.1 → 1.3.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/dist/index.d.ts +1 -1
- package/dist/types.d.ts +42 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -4,4 +4,4 @@ export { Storage, STORAGE_KEYS } from './storage';
|
|
|
4
4
|
export { ApiClient } from './api-client';
|
|
5
5
|
export { MicrocosmAPI } from './open-api';
|
|
6
6
|
export type { MicrocosmAPIConfig } from './open-api';
|
|
7
|
-
export type { MicrocosmAuthConfig, ResolvedConfig, User, TokenData, AuthState, LoginOptions, TokenExchangeResponse, UserProfileResponse, ApiResponse, MCDBalance, MCCBalance, MCCWalletBalance, MCCPrice, Wallet, TokenPortfolio, MCCLock, MiningRatio, MiningDistribution, BuybackQuote, BuybackRecord, Territory, TerritorySummary, TerritoryStats, TerritoryMember, Proposal, ProposalDetail, VoteResult, VotePower, AuctionBid, MCDTransaction, MCDReward, MiningRequest, MiningConfirmData, MiningRequestResult, MiningConfig, BuybackRecordInput, ReincarnationConfig, MCCHistoryRecord, CycleHistory, AuctionHistory, PaginatedResult, MCCStats, MiningStats, TechTreeNode, TechTree, TechTreeBonus, UserStats, Organization, OrganizationTreeNode, MiningRecord, MiningHistoryItem, PriceHistoryPoint, Auction, AuctionDetail, AuctionCreateInput, TerritoryIncome, TerritoryKPI, UserLevel, DashboardMarketSummary, DashboardUserSummary, PublicMiningRequest, UnitType, } from './types';
|
|
7
|
+
export type { MicrocosmAuthConfig, ResolvedConfig, User, TokenData, AuthState, LoginOptions, TokenExchangeResponse, UserProfileResponse, ApiResponse, MCDBalance, MCCBalance, MCCWalletBalance, MCCPrice, Wallet, TokenPortfolio, MCCLock, MiningRatio, MiningDistribution, BuybackQuote, BuybackRecord, Territory, TerritorySummary, TerritoryStats, TerritoryMember, Proposal, ProposalDetail, VoteResult, VotePower, AuctionBid, MCDTransaction, MCDReward, MiningRequest, MiningConfirmData, MiningRequestResult, MiningConfig, BuybackRecordInput, ReincarnationConfig, MCCHistoryRecord, CycleHistory, AuctionHistory, PaginatedResult, MCCStats, MiningStats, TechTreeNode, TechTree, TechTreeBonus, UserStats, Organization, OrganizationTreeNode, MiningRecord, MiningHistoryItem, PriceHistoryPoint, Auction, AuctionDetail, AuctionCreateInput, TerritoryIncome, TerritoryKPI, UserLevel, DashboardMarketSummary, DashboardUserSummary, PublicMiningRequest, UnitType, Notification, OrganizationSummary, TerritoryDetailedStats, ManagerIncomeRecord, TeamCustodySummary, } from './types';
|
package/dist/types.d.ts
CHANGED
|
@@ -480,3 +480,45 @@ export interface PublicMiningRequest {
|
|
|
480
480
|
mcc_amount: number;
|
|
481
481
|
stablecoin?: string;
|
|
482
482
|
}
|
|
483
|
+
export interface Notification {
|
|
484
|
+
id: string;
|
|
485
|
+
type: string;
|
|
486
|
+
title?: string;
|
|
487
|
+
message: string;
|
|
488
|
+
status: 'unread' | 'read';
|
|
489
|
+
created_at: string;
|
|
490
|
+
data?: Record<string, any>;
|
|
491
|
+
}
|
|
492
|
+
export interface OrganizationSummary {
|
|
493
|
+
total_stations: number;
|
|
494
|
+
total_matrices: number;
|
|
495
|
+
total_sectors: number;
|
|
496
|
+
total_systems: number;
|
|
497
|
+
total_units: number;
|
|
498
|
+
total_members: number;
|
|
499
|
+
}
|
|
500
|
+
export interface TerritoryDetailedStats {
|
|
501
|
+
territory_id: string;
|
|
502
|
+
member_count: number;
|
|
503
|
+
max_capacity: number;
|
|
504
|
+
vault_mcd: number;
|
|
505
|
+
occupancy_rate: number;
|
|
506
|
+
total_mined: number;
|
|
507
|
+
mining_count: number;
|
|
508
|
+
daily_distribution: number;
|
|
509
|
+
kpi_score?: number;
|
|
510
|
+
}
|
|
511
|
+
export interface ManagerIncomeRecord {
|
|
512
|
+
date: string;
|
|
513
|
+
amount: number;
|
|
514
|
+
source: string;
|
|
515
|
+
territory_id?: string;
|
|
516
|
+
}
|
|
517
|
+
export interface TeamCustodySummary {
|
|
518
|
+
total_balance: number;
|
|
519
|
+
wallets: {
|
|
520
|
+
wallet_type: string;
|
|
521
|
+
balance: number;
|
|
522
|
+
address: string;
|
|
523
|
+
}[];
|
|
524
|
+
}
|