Skip to content

Commit

Permalink
Fix lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentwschau committed Dec 10, 2024
1 parent 379e90e commit f32f845
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ const RAW_TABLE_COLUMNS: string = `
\`affiliateEarnings\` string,
\`referredMakerTrades\` int,
\`referredTakerTrades\` int,
\'totalReferredUsers\' int,
\'firstReferralBlockHeight\' bigint,
\'referredTotalVolume\' string,
\'totalReferredTakerFees\' string,
\'totalReferredMakerFees\' string,
\'totalReferredMakerRebates\' string
\`totalReferredUsers\` int,
\`firstReferralBlockHeight\` bigint,
\`referredTotalVolume\` string,
\`totalReferredTakerFees\` string,
\`totalReferredMakerFees\` string,
\`totalReferredMakerRebates\` string
`;
const TABLE_COLUMNS: string = `
"id",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import {
getAthenaTableCreationStatement,
getExternalAthenaTableCreationStatement,
castToDouble,
} from '../../helpers/sql';

const TABLE_NAME: string = 'affiliate_referred_users';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ const RAW_TABLE_COLUMNS: string = `
\`address\` string,
\`clobPairId\` bigint,
\`status\` string,
\'createdAt\' string,
\'updatedAt\' string
\`createdAt\` string,
\`updatedAt\` string
`;
const TABLE_COLUMNS: string = `
"address",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ import {
startAthenaQuery,
} from '../helpers/aws';
import { AthenaTableDDLQueries } from '../helpers/types';
import * as athenaAffiliateInfo from '../lib/athena-ddl-tables/affiliate_info';
import * as athenaAffiliateReferredUsers from '../lib/athena-ddl-tables/affiliate_referred_users';
import * as athenaAssetPositions from '../lib/athena-ddl-tables/asset_positions';
import * as athenaAssets from '../lib/athena-ddl-tables/assets';
import * as athenaBlocks from '../lib/athena-ddl-tables/blocks';
Expand All @@ -36,10 +38,8 @@ import * as athenaTendermintEvents from '../lib/athena-ddl-tables/tendermint_eve
import * as athenaTradingRewardAggregations from '../lib/athena-ddl-tables/trading_reward_aggregations';
import * as athenaTradingRewards from '../lib/athena-ddl-tables/trading_rewards';
import * as athenaTransfers from '../lib/athena-ddl-tables/transfers';
import * as athenaWallets from '../lib/athena-ddl-tables/wallets';
import * as athenaAffiliateInfo from '../lib/athena-ddl-tables/affiliate_info';
import * as athenaAffiliateReferredUsers from '../lib/athena-ddl-tables/affiliate_referred_users';
import * as athenaVaults from '../lib/athena-ddl-tables/vaults';
import * as athenaWallets from '../lib/athena-ddl-tables/wallets';

export const tablesToAddToAthena: { [table: string]: AthenaTableDDLQueries } = {
asset_positions: athenaAssetPositions,
Expand Down

0 comments on commit f32f845

Please sign in to comment.