-
Notifications
You must be signed in to change notification settings - Fork 4
[DRAFT] Move contingency lists to SA parameters #3711
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
| studyUuid: UUID | null, // ça peut pas être null ? | ||
| currentNodeUuid: UUID | null, | ||
| currentRootNetworkUuid: UUID | null, | ||
| contingencyListNames: string[] | null |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| contingencyListNames: string[] | null | |
| contingencyListIds: UUID[] | null |
clean notion contingencyListNames i think it is historically.. and change type to UUID
| ); | ||
|
|
||
| const contingencyListNamesParams = getRequestParamFromList(contingencyListNames, 'contingencyListName'); | ||
| const contingencyListNamesParams = getRequestParamFromList(contingencyListNames ?? [], 'contingencyListName'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| const contingencyListNamesParams = getRequestParamFromList(contingencyListNames ?? [], 'contingencyListName'); | |
| const contingencyListIdsParams = getRequestParamFromList(contingencyListIds ?? [], 'contingencyListIds'); |
To rectify also in the backend of study-server
| <SecurityAnalysisParametersInline | ||
| studyUuid={studyUuid} | ||
| parametersBackend={securityAnalysisParametersBackend} | ||
| fetchContingencyCount={(contingencyLists: string[] | null) => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| fetchContingencyCount={(contingencyLists: string[] | null) => | |
| fetchContingencyCount={(contingencyListIds: UUID[] | null) => |
PR Summary