-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into SFEQS-2071-refactor-new-ds-component
- Loading branch information
Showing
14 changed files
with
189 additions
and
164 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export const skipToastShowingDueToE2ECrash = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export const skipToastShowingDueToE2ECrash = false; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
import * as t from "io-ts"; | ||
import { | ||
WalletInfoDetails1, | ||
WalletInfoDetails2, | ||
WalletInfoDetails3 | ||
} from "../../../../../definitions/pagopa/walletv3/WalletInfoDetails"; | ||
|
||
/** | ||
* Transforms all required props from WalletInfoDetails1 to partial | ||
*/ | ||
export const UIWalletInfoDetails1 = t.partial({ | ||
...WalletInfoDetails1.types[0].props, | ||
...WalletInfoDetails1.types[0].props | ||
}); | ||
|
||
/** | ||
* Transforms all required props from WalletInfoDetails2 to partial | ||
*/ | ||
export const UIWalletInfoDetails2 = t.partial({ | ||
...WalletInfoDetails2.types[0].props, | ||
...WalletInfoDetails2.types[1].props | ||
}); | ||
|
||
/** | ||
* Transforms all required props from WalletInfoDetails3 to partial | ||
*/ | ||
export const UIWalletInfoDetails3 = t.partial({ | ||
...WalletInfoDetails3.types[0].props, | ||
...WalletInfoDetails3.types[1].props | ||
}); | ||
|
||
/** | ||
* This type is used to bypass the `type` props of {@see WalletInfoDetails} | ||
*/ | ||
export const UIWalletInfoDetails = t.intersection( | ||
[UIWalletInfoDetails1, UIWalletInfoDetails2, UIWalletInfoDetails3], | ||
"UIWalletInfoDetails" | ||
); | ||
|
||
export type UIWalletInfoDetails = t.TypeOf<typeof UIWalletInfoDetails>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.