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
import 'package:news/models/player.dart'; | |
import 'game.dart'; | |
class Fantasy { | |
String id; | |
String name; | |
DateTime openAt; | |
DateTime closeAt; | |
Game game; |
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
<View> | |
<Text accessibilityHint="Botão para realizar um cadastro">Cadastro</Text> | |
</View> |
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
<View> | |
<Text accessibilityRole="text">Cadastro</Text> | |
</View> |
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
<View accessible={true} accessibilityLabel={"Realizar Cadastro"}> | |
<Text onPress={() => ...}>Cadastro</Text> | |
</View> |
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
<View accessible={true}> | |
<Text>Linha um</Text> | |
<Text>Linha dois</Text> | |
</View> |
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
const Example = () => ( | |
<View> //Esse elemento vai ser lido pelo leitor de tela | |
<Text>Começar contador</Text> | |
<View> //Esse elemento vai ser lido pelo leitor de tela | |
<Button>Começar</Button> //O leitor vai ler 'Começar' quando poderia ser 'Começar o contaodor' | |
</View> | |
</View> | |
) |
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
default: &default | |
adapter: postgresql | |
encoding: utf8 | |
host: localhost | |
username: postgres | |
password: 123456789 | |
test: | |
<<: *default | |
username: test_user |
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
const mocks = [ | |
{ | |
request: { | |
query: funnelGQL(), | |
variables: { | |
input: {} | |
} | |
}, | |
result: { | |
data: { |
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
"use strict"; | |
const sgMail = require("@sendgrid/mail"); | |
module.exports.hello = function(context) { | |
context.log("JavaScript HTTP trigger function processed a request."); | |
sgMail.setApiKey(process.env.SENDGRID_API_KEY); | |
const msg = { |
NewerOlder