import { HttpClient, HttpStatusCode } from '@/data/protocols'
import { InvalidCredentialError, UnexpectedError } from '@/domain/errors'
import { LoginUsecase } from '@/domain/usecases'
export class RemoteLogin implements LoginUsecase {
constructor (
private readonly url: string,
private readonly httpClient: HttpClient
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
{ | |
"_beagleComponent_": "beagle:container", | |
"style": { | |
"backgroundColor": "#FF0000", | |
"padding": { | |
"all": { | |
"value": 60, | |
"type": "REAL" | |
} | |
} |
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": "Thiago", | |
"email": "[email protected]" | |
} |
import { HttpClient, HttpStatusCode } from '@/data/protocols'
import { InvalidCredentialError, UnexpectedError } from '@/domain/errors'
import { LoginUsecase } from '@/domain/usecases'
export class RemoteLogin implements LoginUsecase {
constructor (
private readonly url: string,
private readonly httpClient: HttpClient
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
/** | |
* This file is part of the Softbank Robotics tutorial project, specifically focused on animating | |
* the Pepper robot using the QiSDK framework. It demonstrates how to build and run animations | |
* alongside playing sound effects and handling robot lifecycle callbacks. | |
* | |
* @file AnimateTutorialActivity.kt | |
* @author Softbank Robotics Europe | |
* @since 2018 | |
*/ |
OlderNewer