Skip to content

Commit

Permalink
fix(todos): fux display, close button
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbeckers committed Feb 3, 2023
1 parent fad3f09 commit c27712a
Show file tree
Hide file tree
Showing 13 changed files with 1,737 additions and 79 deletions.
40 changes: 30 additions & 10 deletions app/.graphclient/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ export type Evaluation_filter = {
ratings_not_contains_nocase?: InputMaybe<Array<Scalars['BigInt']>>;
/** Filter for the block changed event. */
_change_block?: InputMaybe<BlockChangedFilter>;
and?: InputMaybe<Array<InputMaybe<Evaluation_filter>>>;
or?: InputMaybe<Array<InputMaybe<Evaluation_filter>>>;
};

export type Evaluation_orderBy =
Expand Down Expand Up @@ -213,6 +215,8 @@ export type FuxGiven_filter = {
balance_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
/** Filter for the block changed event. */
_change_block?: InputMaybe<BlockChangedFilter>;
and?: InputMaybe<Array<InputMaybe<FuxGiven_filter>>>;
or?: InputMaybe<Array<InputMaybe<FuxGiven_filter>>>;
};

export type FuxGiven_orderBy =
Expand Down Expand Up @@ -650,6 +654,8 @@ export type TokenBalance_filter = {
balance_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
/** Filter for the block changed event. */
_change_block?: InputMaybe<BlockChangedFilter>;
and?: InputMaybe<Array<InputMaybe<TokenBalance_filter>>>;
or?: InputMaybe<Array<InputMaybe<TokenBalance_filter>>>;
};

export type TokenBalance_orderBy =
Expand Down Expand Up @@ -710,6 +716,8 @@ export type Token_filter = {
tokenBalances_?: InputMaybe<TokenBalance_filter>;
/** Filter for the block changed event. */
_change_block?: InputMaybe<BlockChangedFilter>;
and?: InputMaybe<Array<InputMaybe<Token_filter>>>;
or?: InputMaybe<Array<InputMaybe<Token_filter>>>;
};

export type Token_orderBy =
Expand Down Expand Up @@ -813,6 +821,8 @@ export type UserWorkstream_filter = {
workstream_?: InputMaybe<Workstream_filter>;
/** Filter for the block changed event. */
_change_block?: InputMaybe<BlockChangedFilter>;
and?: InputMaybe<Array<InputMaybe<UserWorkstream_filter>>>;
or?: InputMaybe<Array<InputMaybe<UserWorkstream_filter>>>;
};

export type UserWorkstream_orderBy =
Expand Down Expand Up @@ -846,6 +856,8 @@ export type User_filter = {
rewards_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
/** Filter for the block changed event. */
_change_block?: InputMaybe<BlockChangedFilter>;
and?: InputMaybe<Array<InputMaybe<User_filter>>>;
or?: InputMaybe<Array<InputMaybe<User_filter>>>;
};

export type User_orderBy =
Expand Down Expand Up @@ -924,6 +936,8 @@ export type VFuxWorkstream_filter = {
balance_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
/** Filter for the block changed event. */
_change_block?: InputMaybe<BlockChangedFilter>;
and?: InputMaybe<Array<InputMaybe<VFuxWorkstream_filter>>>;
or?: InputMaybe<Array<InputMaybe<VFuxWorkstream_filter>>>;
};

export type VFuxWorkstream_orderBy =
Expand Down Expand Up @@ -1046,6 +1060,8 @@ export type Workstream_filter = {
resolved_not_in?: InputMaybe<Array<Scalars['Boolean']>>;
/** Filter for the block changed event. */
_change_block?: InputMaybe<BlockChangedFilter>;
and?: InputMaybe<Array<InputMaybe<Workstream_filter>>>;
or?: InputMaybe<Array<InputMaybe<Workstream_filter>>>;
};

export type Workstream_orderBy =
Expand Down Expand Up @@ -1729,9 +1745,12 @@ export type WorkstreamByIDQueryVariables = Exact<{

export type WorkstreamByIDQuery = { workstream?: Maybe<(
Pick<Workstream, 'deadline' | 'funding' | 'id' | 'name' | 'resolved'>
& { contributors?: Maybe<Array<Pick<UserWorkstream, 'id'>>>, coordinator?: Maybe<Pick<User, 'id'>>, evaluations?: Maybe<Array<(
& { contributors?: Maybe<Array<(
Pick<UserWorkstream, 'id'>
& { user: Pick<User, 'id'> }
)>>, coordinator?: Maybe<Pick<User, 'id'>>, evaluations?: Maybe<Array<(
Pick<Evaluation, 'ratings'>
& { contributors: Array<Pick<User, 'id'>> }
& { creator: Pick<User, 'id'>, contributors: Array<Pick<User, 'id'>> }
)>>, fuxGiven?: Maybe<Array<(
Pick<FuxGiven, 'balance'>
& { user: Pick<User, 'id'> }
Expand All @@ -1740,9 +1759,12 @@ export type WorkstreamByIDQuery = { workstream?: Maybe<(

export type WorkstreamByIDFragmentFragment = (
Pick<Workstream, 'deadline' | 'funding' | 'id' | 'name' | 'resolved'>
& { contributors?: Maybe<Array<Pick<UserWorkstream, 'id'>>>, coordinator?: Maybe<Pick<User, 'id'>>, evaluations?: Maybe<Array<(
& { contributors?: Maybe<Array<(
Pick<UserWorkstream, 'id'>
& { user: Pick<User, 'id'> }
)>>, coordinator?: Maybe<Pick<User, 'id'>>, evaluations?: Maybe<Array<(
Pick<Evaluation, 'ratings'>
& { contributors: Array<Pick<User, 'id'>> }
& { creator: Pick<User, 'id'>, contributors: Array<Pick<User, 'id'>> }
)>>, fuxGiven?: Maybe<Array<(
Pick<FuxGiven, 'balance'>
& { user: Pick<User, 'id'> }
Expand Down Expand Up @@ -1855,7 +1877,7 @@ export const WorkstreamsByUserFragmentFragmentDoc = gql`
export const WorkstreamByIDFragmentFragmentDoc = gql`
fragment WorkstreamByIDFragment on Workstream {
contributors {
id
...ContributorFragment
}
coordinator {
id
Expand All @@ -1866,10 +1888,7 @@ export const WorkstreamByIDFragmentFragmentDoc = gql`
name
resolved
evaluations {
contributors {
id
}
ratings
...EvaluationFragment
}
fuxGiven {
balance
Expand All @@ -1878,7 +1897,8 @@ export const WorkstreamByIDFragmentFragmentDoc = gql`
}
}
}
` as unknown as DocumentNode<WorkstreamByIDFragmentFragment, unknown>;
${ContributorFragmentFragmentDoc}
${EvaluationFragmentFragmentDoc}` as unknown as DocumentNode<WorkstreamByIDFragmentFragment, unknown>;
export const BalancesDocument = gql`
query Balances($address: ID!) @live {
user(id: $address) {
Expand Down
16 changes: 16 additions & 0 deletions app/.graphclient/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ input Evaluation_filter {
ratings_not_contains_nocase: [BigInt!]
"""Filter for the block changed event."""
_change_block: BlockChangedFilter
and: [Evaluation_filter]
or: [Evaluation_filter]
}

enum Evaluation_orderBy {
Expand Down Expand Up @@ -180,6 +182,8 @@ input FuxGiven_filter {
balance_not_in: [BigInt!]
"""Filter for the block changed event."""
_change_block: BlockChangedFilter
and: [FuxGiven_filter]
or: [FuxGiven_filter]
}

enum FuxGiven_orderBy {
Expand Down Expand Up @@ -696,6 +700,8 @@ input TokenBalance_filter {
balance_not_in: [BigInt!]
"""Filter for the block changed event."""
_change_block: BlockChangedFilter
and: [TokenBalance_filter]
or: [TokenBalance_filter]
}

enum TokenBalance_orderBy {
Expand Down Expand Up @@ -757,6 +763,8 @@ input Token_filter {
tokenBalances_: TokenBalance_filter
"""Filter for the block changed event."""
_change_block: BlockChangedFilter
and: [Token_filter]
or: [Token_filter]
}

enum Token_orderBy {
Expand Down Expand Up @@ -834,6 +842,8 @@ input UserWorkstream_filter {
workstream_: Workstream_filter
"""Filter for the block changed event."""
_change_block: BlockChangedFilter
and: [UserWorkstream_filter]
or: [UserWorkstream_filter]
}

enum UserWorkstream_orderBy {
Expand Down Expand Up @@ -868,6 +878,8 @@ input User_filter {
rewards_not_in: [BigInt!]
"""Filter for the block changed event."""
_change_block: BlockChangedFilter
and: [User_filter]
or: [User_filter]
}

enum User_orderBy {
Expand Down Expand Up @@ -947,6 +959,8 @@ input VFuxWorkstream_filter {
balance_not_in: [BigInt!]
"""Filter for the block changed event."""
_change_block: BlockChangedFilter
and: [VFuxWorkstream_filter]
or: [VFuxWorkstream_filter]
}

enum VFuxWorkstream_orderBy {
Expand Down Expand Up @@ -1043,6 +1057,8 @@ input Workstream_filter {
resolved_not_in: [Boolean!]
"""Filter for the block changed event."""
_change_block: BlockChangedFilter
and: [Workstream_filter]
or: [Workstream_filter]
}

enum Workstream_orderBy {
Expand Down
Loading

0 comments on commit c27712a

Please sign in to comment.