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
package com.seelix.api.config; | |
import org.springframework.boot.context.properties.ConfigurationProperties; | |
/** | |
* Properties specific to Seelix. | |
* <p> | |
* Properties are configured in the application.yml file. See | |
* {@link io.github.jhipster.config.JHipsterProperties} for a good example. | |
*/ |
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
package com.seelix.api.config; | |
import org.springframework.context.annotation.Bean; | |
import org.springframework.context.annotation.Configuration; | |
import com.auth0.client.auth.AuthAPI; | |
import com.auth0.client.mgmt.ManagementAPI; | |
import com.auth0.exception.Auth0Exception; | |
import com.auth0.json.auth.TokenHolder; |
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
package com.seelix.api.service.dto; | |
import java.time.Instant; | |
import java.util.ArrayList; | |
import java.util.Set; | |
import java.util.stream.Collectors; | |
import javax.validation.constraints.Email; | |
import javax.validation.constraints.NotBlank; | |
import javax.validation.constraints.Pattern; |
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
package com.seelix.api.service; | |
import java.util.Arrays; | |
import java.util.HashMap; | |
import java.util.List; | |
import java.util.Map; | |
import java.util.Optional; | |
import java.util.stream.Collectors; | |
import org.apache.commons.lang3.RandomStringUtils; |
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
{ | |
"extends": [ | |
"tslint:recommended", | |
"tslint-config-standard", | |
"tslint-etc", | |
"tslint-react", | |
"tslint-react-hooks", | |
"tslint-config-prettier" | |
], | |
"rules": { |
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
{ | |
// See http://go.microsoft.com/fwlink/?LinkId=827846 | |
// for the documentation about the extensions.json format | |
"recommendations": [ | |
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp | |
"ms-vscode.vscode-typescript-tslint-plugin", | |
"esbenp.prettier-vscode", | |
"codezombiech.gitignore" | |
] | |
} |
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
// Place your settings in this file to overwrite default and user settings. | |
{ | |
"editor.formatOnSave": true, | |
"editor.codeActionsOnSave": { | |
"source.organizeImports": true | |
}, | |
"typescript.format.enable": false, | |
"javascript.format.enable": false, | |
"typescript.implementationsCodeLens.enabled": true, | |
"editor.trimAutoWhitespace": 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
import React, { PureComponent } from "react"; | |
import { StyleSheet, Text, View } from "react-native"; | |
import { NavigationScreenProps } from "react-navigation"; | |
/** | |
* The Details screen | |
*/ | |
export class DetailScreen extends PureComponent<NavigationScreenProps> { | |
render() { | |
return ( |
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 React, { PureComponent } from "react"; | |
import { GestureResponderEvent, StyleSheet, Text, View } from "react-native"; | |
import Icon from "react-native-vector-icons/MaterialCommunityIcons"; | |
import { | |
NavigationScreenProps, | |
NavigationStackScreenOptions | |
} from "react-navigation"; | |
import { ROUTES } from "../../routes"; | |
/** |
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 React, { PureComponent } from "react"; | |
import { GestureResponderEvent, StyleSheet, Text, View } from "react-native"; | |
import Icon from "react-native-vector-icons/MaterialCommunityIcons"; | |
import { | |
NavigationScreenProps, | |
NavigationStackScreenOptions | |
} from "react-navigation"; | |
import { ROUTES } from "../../routes"; | |
/** |