This file contains hidden or 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
| for(TestStep step : listOfTestStep) | |
| { | |
| WsdlTestStep stepWithConfig; | |
| SamplerTestStep stepWithRequest; | |
| if(setp instanceOf WsdlTestStep) stepWithConfig = (WsdlTestStep) step | |
| if(setp instanceOf SampleTestStep) stepWithRequest = (SampleTestStep) step | |
| //Tu fait des trucs ma bite | |
| if(stepWithConfig) { | |
| //Tu fait des trucs mon zboub mais que si c'est du WsdlTestStep |
This file contains hidden or 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
| { | |
| plugins: [ | |
| { | |
| "name": "Plugin 1", | |
| "description": "A short description for documentation purpose", | |
| "elementName": "plugin-1", | |
| "icon": "picture_in_picture_alt", | |
| "props": [ | |
| { | |
| "name": "prop1", |
This file contains hidden or 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
| { | |
| "name": "Dahsboard 1", | |
| "description": "Some description", | |
| "rows": 20, | |
| "cols": 20, | |
| "styles" : { | |
| "primary-color": "#FFF", | |
| "secondary-color": "#F00", | |
| "background-color": "#000", | |
| "font-family": "Roboto" |
This file contains hidden or 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
| { | |
| "explorer.openEditors.visible": 0, | |
| "editor.fontFamily": "Operator Mono, Menlo, Monaco, 'Courier New', monospace", | |
| "window.zoomLevel": 1, | |
| "workbench.colorTheme": "Oceanic Next Italic", | |
| "editor.fontSize": 12, | |
| "javascript.validate.enable": false, | |
| "flow.useNPMPackagedFlow": true, | |
| "editor.renderIndentGuides": false, | |
| "files.autoSave": "afterDelay", |
This file contains hidden or 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
| Query { | |
| login(suername: String!, password: String!): UserAuthentication | |
| } | |
| type UserAuthentication { | |
| token: String! | |
| user: user! | |
| } |
This file contains hidden or 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
| { | |
| login(username: "Valentin", password: "MotDePasseSecret") { | |
| token | |
| user { | |
| id | |
| username | |
| } | |
| } | |
| } |
This file contains hidden or 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
| { | |
| "token": "mon super token", | |
| "user": { | |
| "id": 1234 | |
| } | |
| } |
This file contains hidden or 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
| const DnD = () => { | |
| const [draging, setDraging] = useState(false) | |
| const handleDragStart = useCallback(() => { | |
| setDraging(true) | |
| // [Record starting point] | |
| }, [setDraging]) | |
| const handleDragMove = useCallback(() => { | |
| // [Calc the current position] |
This file contains hidden or 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
| const useDnD = ({ onStart, onMove, onComplete }) => { | |
| const [draging, setDraging] = useState(false) | |
| const handleDragStart = useCallback(() => { | |
| setDraging(true) | |
| // [Record starting point] | |
| onStart ?? onStart() | |
| }, [setDraging, onStart]) | |
| const handleDragMove = useCallback(() => { |
This file contains hidden or 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
| function coucou() { | |
| console.log(t) | |
| var t = 'a' | |
| } | |
| console.log(x) | |
| if (coucou()) { | |
| var x = 1 | |
| } |
OlderNewer