Skip to content

Commit

Permalink
refactor: Run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
elldritch committed Dec 3, 2024
1 parent 4934ae1 commit 36fd01c
Show file tree
Hide file tree
Showing 2 changed files with 305 additions and 996 deletions.
34 changes: 28 additions & 6 deletions frontend/src/gen-types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,15 +160,26 @@ export type Action =
PlayCardsWithHint: [Card[], TrickUnit[]];
};
export type Number = string;
export type FriendSelectionPolicy = "Unrestricted" | "TrumpsIncluded" | "HighestCardNotAllowed" | "PointCardNotAllowed";
export type FriendSelectionPolicy =
| "Unrestricted"
| "TrumpsIncluded"
| "HighestCardNotAllowed"
| "PointCardNotAllowed";
export type MultipleJoinPolicy = "Unrestricted" | "NoDoubleJoin";
export type FirstLandlordSelectionPolicy = "ByWinningBid" | "ByFirstBid";
export type BidPolicy = "JokerOrHigherSuit" | "JokerOrGreaterLength" | "GreaterLength";
export type BidPolicy =
| "JokerOrHigherSuit"
| "JokerOrGreaterLength"
| "GreaterLength";
export type BidReinforcementPolicy =
| "ReinforceWhileWinning"
| "OverturnOrReinforceWhileWinning"
| "ReinforceWhileEquivalent";
export type JokerBidPolicy = "BothTwoOrMore" | "BothNumDecks" | "LJNumDecksHJNumDecksLessOne" | "Disabled";
export type JokerBidPolicy =
| "BothTwoOrMore"
| "BothNumDecks"
| "LJNumDecksHJNumDecksLessOne"
| "Disabled";
export type MaxRank = string;
export type GameModeSettings =
| "Tractor"
Expand All @@ -178,8 +189,13 @@ export type GameModeSettings =
[k: string]: unknown;
};
};
export type AdvancementPolicy = "Unrestricted" | "FullyUnrestricted" | "DefendPoints";
export type BonusLevelPolicy = "NoBonusLevel" | "BonusLevelForSmallerLandlordTeam";
export type AdvancementPolicy =
| "Unrestricted"
| "FullyUnrestricted"
| "DefendPoints";
export type BonusLevelPolicy =
| "NoBonusLevel"
| "BonusLevelForSmallerLandlordTeam";
export type KittyPenalty = "Times" | "Power";
export type KittyBidPolicy = "FirstCard" | "FirstCardOfLevelOrHighest";
export type TrickDrawPolicy =
Expand Down Expand Up @@ -226,7 +242,13 @@ export type Trump =
};
};
export type Suit = string;
export type EffectiveSuit = "Unknown" | "Clubs" | "Diamonds" | "Spades" | "Hearts" | "Trump";
export type EffectiveSuit =
| "Unknown"
| "Clubs"
| "Diamonds"
| "Spades"
| "Hearts"
| "Trump";
export type GameMessage =
| {
State: {
Expand Down
Loading

0 comments on commit 36fd01c

Please sign in to comment.