Skip to content

Commit

Permalink
chore: linting, locales, gql
Browse files Browse the repository at this point in the history
  • Loading branch information
toniocodo committed Jul 26, 2024
1 parent 7707a2e commit 42dc1df
Show file tree
Hide file tree
Showing 7 changed files with 78 additions and 4 deletions.
6 changes: 6 additions & 0 deletions apps/defi/src/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,12 @@
"value": "No activity"
}
],
"1Ia8qN": [
{
"type": 0,
"value": "Processing"
}
],
"1Og5F/": [
{
"type": 0,
Expand Down
3 changes: 3 additions & 0 deletions apps/defi/src/lang/extracts/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@
"17g+HZ": {
"defaultMessage": "No activity"
},
"1Ia8qN": {
"defaultMessage": "Processing"
},
"1Og5F/": {
"defaultMessage": "Migration"
},
Expand Down
1 change: 1 addition & 0 deletions libs/defi/oeth/src/redeem/components/ClaimForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ export const ClaimForm = (props: StackProps) => {
[requests, selectedClaimIds],
);
const { params, callbacks, gasPrice, isWriteGasLoading } = useTxButton({
// eslint-disable-next-line @typescript-eslint/no-explicit-any
params: args as any,
callbacks: {
onWriteSuccess: () => {
Expand Down
18 changes: 17 additions & 1 deletion libs/defi/shared/src/generated/graphql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18969,7 +18969,8 @@ export type StrategyBalance = {
asset: Scalars['String']['output'];
balance: Scalars['BigInt']['output'];
blockNumber: Scalars['Int']['output'];
/** Format: 'strategy:asset:blockNumber' */
chainId: Scalars['Int']['output'];
/** Format: 'chainId:strategy:asset:blockNumber' */
id: Scalars['String']['output'];
strategy: Scalars['String']['output'];
timestamp: Scalars['DateTime']['output'];
Expand Down Expand Up @@ -19000,6 +19001,12 @@ export enum StrategyBalanceOrderByInput {
BlockNumberDesc = 'blockNumber_DESC',
BlockNumberDescNullsFirst = 'blockNumber_DESC_NULLS_FIRST',
BlockNumberDescNullsLast = 'blockNumber_DESC_NULLS_LAST',
ChainIdAsc = 'chainId_ASC',
ChainIdAscNullsFirst = 'chainId_ASC_NULLS_FIRST',
ChainIdAscNullsLast = 'chainId_ASC_NULLS_LAST',
ChainIdDesc = 'chainId_DESC',
ChainIdDescNullsFirst = 'chainId_DESC_NULLS_FIRST',
ChainIdDescNullsLast = 'chainId_DESC_NULLS_LAST',
IdAsc = 'id_ASC',
IdAscNullsFirst = 'id_ASC_NULLS_FIRST',
IdAscNullsLast = 'id_ASC_NULLS_LAST',
Expand Down Expand Up @@ -19058,6 +19065,15 @@ export type StrategyBalanceWhereInput = {
blockNumber_lte?: InputMaybe<Scalars['Int']['input']>;
blockNumber_not_eq?: InputMaybe<Scalars['Int']['input']>;
blockNumber_not_in?: InputMaybe<Array<Scalars['Int']['input']>>;
chainId_eq?: InputMaybe<Scalars['Int']['input']>;
chainId_gt?: InputMaybe<Scalars['Int']['input']>;
chainId_gte?: InputMaybe<Scalars['Int']['input']>;
chainId_in?: InputMaybe<Array<Scalars['Int']['input']>>;
chainId_isNull?: InputMaybe<Scalars['Boolean']['input']>;
chainId_lt?: InputMaybe<Scalars['Int']['input']>;
chainId_lte?: InputMaybe<Scalars['Int']['input']>;
chainId_not_eq?: InputMaybe<Scalars['Int']['input']>;
chainId_not_in?: InputMaybe<Array<Scalars['Int']['input']>>;
id_contains?: InputMaybe<Scalars['String']['input']>;
id_containsInsensitive?: InputMaybe<Scalars['String']['input']>;
id_endsWith?: InputMaybe<Scalars['String']['input']>;
Expand Down
18 changes: 17 additions & 1 deletion libs/governance/shared/src/generated/graphql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18969,7 +18969,8 @@ export type StrategyBalance = {
asset: Scalars['String']['output'];
balance: Scalars['BigInt']['output'];
blockNumber: Scalars['Int']['output'];
/** Format: 'strategy:asset:blockNumber' */
chainId: Scalars['Int']['output'];
/** Format: 'chainId:strategy:asset:blockNumber' */
id: Scalars['String']['output'];
strategy: Scalars['String']['output'];
timestamp: Scalars['DateTime']['output'];
Expand Down Expand Up @@ -19000,6 +19001,12 @@ export enum StrategyBalanceOrderByInput {
BlockNumberDesc = 'blockNumber_DESC',
BlockNumberDescNullsFirst = 'blockNumber_DESC_NULLS_FIRST',
BlockNumberDescNullsLast = 'blockNumber_DESC_NULLS_LAST',
ChainIdAsc = 'chainId_ASC',
ChainIdAscNullsFirst = 'chainId_ASC_NULLS_FIRST',
ChainIdAscNullsLast = 'chainId_ASC_NULLS_LAST',
ChainIdDesc = 'chainId_DESC',
ChainIdDescNullsFirst = 'chainId_DESC_NULLS_FIRST',
ChainIdDescNullsLast = 'chainId_DESC_NULLS_LAST',
IdAsc = 'id_ASC',
IdAscNullsFirst = 'id_ASC_NULLS_FIRST',
IdAscNullsLast = 'id_ASC_NULLS_LAST',
Expand Down Expand Up @@ -19058,6 +19065,15 @@ export type StrategyBalanceWhereInput = {
blockNumber_lte?: InputMaybe<Scalars['Int']['input']>;
blockNumber_not_eq?: InputMaybe<Scalars['Int']['input']>;
blockNumber_not_in?: InputMaybe<Array<Scalars['Int']['input']>>;
chainId_eq?: InputMaybe<Scalars['Int']['input']>;
chainId_gt?: InputMaybe<Scalars['Int']['input']>;
chainId_gte?: InputMaybe<Scalars['Int']['input']>;
chainId_in?: InputMaybe<Array<Scalars['Int']['input']>>;
chainId_isNull?: InputMaybe<Scalars['Boolean']['input']>;
chainId_lt?: InputMaybe<Scalars['Int']['input']>;
chainId_lte?: InputMaybe<Scalars['Int']['input']>;
chainId_not_eq?: InputMaybe<Scalars['Int']['input']>;
chainId_not_in?: InputMaybe<Array<Scalars['Int']['input']>>;
id_contains?: InputMaybe<Scalars['String']['input']>;
id_containsInsensitive?: InputMaybe<Scalars['String']['input']>;
id_endsWith?: InputMaybe<Scalars['String']['input']>;
Expand Down
18 changes: 17 additions & 1 deletion libs/oeth/shared/src/generated/graphql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18969,7 +18969,8 @@ export type StrategyBalance = {
asset: Scalars['String']['output'];
balance: Scalars['BigInt']['output'];
blockNumber: Scalars['Int']['output'];
/** Format: 'strategy:asset:blockNumber' */
chainId: Scalars['Int']['output'];
/** Format: 'chainId:strategy:asset:blockNumber' */
id: Scalars['String']['output'];
strategy: Scalars['String']['output'];
timestamp: Scalars['DateTime']['output'];
Expand Down Expand Up @@ -19000,6 +19001,12 @@ export enum StrategyBalanceOrderByInput {
BlockNumberDesc = 'blockNumber_DESC',
BlockNumberDescNullsFirst = 'blockNumber_DESC_NULLS_FIRST',
BlockNumberDescNullsLast = 'blockNumber_DESC_NULLS_LAST',
ChainIdAsc = 'chainId_ASC',
ChainIdAscNullsFirst = 'chainId_ASC_NULLS_FIRST',
ChainIdAscNullsLast = 'chainId_ASC_NULLS_LAST',
ChainIdDesc = 'chainId_DESC',
ChainIdDescNullsFirst = 'chainId_DESC_NULLS_FIRST',
ChainIdDescNullsLast = 'chainId_DESC_NULLS_LAST',
IdAsc = 'id_ASC',
IdAscNullsFirst = 'id_ASC_NULLS_FIRST',
IdAscNullsLast = 'id_ASC_NULLS_LAST',
Expand Down Expand Up @@ -19058,6 +19065,15 @@ export type StrategyBalanceWhereInput = {
blockNumber_lte?: InputMaybe<Scalars['Int']['input']>;
blockNumber_not_eq?: InputMaybe<Scalars['Int']['input']>;
blockNumber_not_in?: InputMaybe<Array<Scalars['Int']['input']>>;
chainId_eq?: InputMaybe<Scalars['Int']['input']>;
chainId_gt?: InputMaybe<Scalars['Int']['input']>;
chainId_gte?: InputMaybe<Scalars['Int']['input']>;
chainId_in?: InputMaybe<Array<Scalars['Int']['input']>>;
chainId_isNull?: InputMaybe<Scalars['Boolean']['input']>;
chainId_lt?: InputMaybe<Scalars['Int']['input']>;
chainId_lte?: InputMaybe<Scalars['Int']['input']>;
chainId_not_eq?: InputMaybe<Scalars['Int']['input']>;
chainId_not_in?: InputMaybe<Array<Scalars['Int']['input']>>;
id_contains?: InputMaybe<Scalars['String']['input']>;
id_containsInsensitive?: InputMaybe<Scalars['String']['input']>;
id_endsWith?: InputMaybe<Scalars['String']['input']>;
Expand Down
18 changes: 17 additions & 1 deletion libs/ousd/shared/src/generated/graphql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18969,7 +18969,8 @@ export type StrategyBalance = {
asset: Scalars['String']['output'];
balance: Scalars['BigInt']['output'];
blockNumber: Scalars['Int']['output'];
/** Format: 'strategy:asset:blockNumber' */
chainId: Scalars['Int']['output'];
/** Format: 'chainId:strategy:asset:blockNumber' */
id: Scalars['String']['output'];
strategy: Scalars['String']['output'];
timestamp: Scalars['DateTime']['output'];
Expand Down Expand Up @@ -19000,6 +19001,12 @@ export enum StrategyBalanceOrderByInput {
BlockNumberDesc = 'blockNumber_DESC',
BlockNumberDescNullsFirst = 'blockNumber_DESC_NULLS_FIRST',
BlockNumberDescNullsLast = 'blockNumber_DESC_NULLS_LAST',
ChainIdAsc = 'chainId_ASC',
ChainIdAscNullsFirst = 'chainId_ASC_NULLS_FIRST',
ChainIdAscNullsLast = 'chainId_ASC_NULLS_LAST',
ChainIdDesc = 'chainId_DESC',
ChainIdDescNullsFirst = 'chainId_DESC_NULLS_FIRST',
ChainIdDescNullsLast = 'chainId_DESC_NULLS_LAST',
IdAsc = 'id_ASC',
IdAscNullsFirst = 'id_ASC_NULLS_FIRST',
IdAscNullsLast = 'id_ASC_NULLS_LAST',
Expand Down Expand Up @@ -19058,6 +19065,15 @@ export type StrategyBalanceWhereInput = {
blockNumber_lte?: InputMaybe<Scalars['Int']['input']>;
blockNumber_not_eq?: InputMaybe<Scalars['Int']['input']>;
blockNumber_not_in?: InputMaybe<Array<Scalars['Int']['input']>>;
chainId_eq?: InputMaybe<Scalars['Int']['input']>;
chainId_gt?: InputMaybe<Scalars['Int']['input']>;
chainId_gte?: InputMaybe<Scalars['Int']['input']>;
chainId_in?: InputMaybe<Array<Scalars['Int']['input']>>;
chainId_isNull?: InputMaybe<Scalars['Boolean']['input']>;
chainId_lt?: InputMaybe<Scalars['Int']['input']>;
chainId_lte?: InputMaybe<Scalars['Int']['input']>;
chainId_not_eq?: InputMaybe<Scalars['Int']['input']>;
chainId_not_in?: InputMaybe<Array<Scalars['Int']['input']>>;
id_contains?: InputMaybe<Scalars['String']['input']>;
id_containsInsensitive?: InputMaybe<Scalars['String']['input']>;
id_endsWith?: InputMaybe<Scalars['String']['input']>;
Expand Down

0 comments on commit 42dc1df

Please sign in to comment.