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
[ | |
{ | |
"id": 14, | |
"order": 1, | |
"data": { | |
"records": [], | |
"outcome": { | |
"id": 2, | |
"title": "", | |
"text": "", |
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
{ | |
id: 1, | |
name: 'string - required/validate', | |
email: 'email - required/validate', | |
phoneNumber 'string', | |
theme: { | |
logo: { // File upload | |
id: 1, | |
storageKey: 'string', | |
extension: 'string', |
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
MIME Type: application/x-www-form-urlencoded | |
grant_type: refresh_token | |
client_id: LifeDriveIdentityClient | |
client_secret: life-drive-identity-client-secret | |
refresh_token: 833281d3446ab91742e14860552c8df6389abddef9aa1bd8a6f213fbb14470ee |
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
namespace LifeDrive.Core.DTOs.Feed | |
{ | |
public class CompletedCardDto | |
{ | |
public int Id { get; set; } | |
public CompletedQuestionDto CompletedQuestion { get; set; } | |
public CompletedFeedTaskDto CompletedTask { get; set; } | |
} | |
} |
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 from 'react'; | |
import { connect } from 'react-redux'; | |
import { makeStyles } from '@material-ui/core/styles'; | |
import { Box, Paper, Button, TextField } from '@material-ui/core'; | |
import * as MainBarActionCreators from '../Reducers/main'; | |
import * as ActionCreators from '../Reducers/Auth/login'; | |
import * as ThunkActionCreators from '../Thunks/LoginThunk'; | |
import { CircularProgress }from '@material-ui/core'; | |
const useStyles = makeStyles(theme => ({ |
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
putFile(url: string, file: any) { | |
return new Promise<FileUploadResponse>((resolve, reject) => { | |
const xhr = new XMLHttpRequest() | |
xhr.onreadystatechange = function() { | |
if (xhr.readyState === 4) { | |
if (xhr.status === 200) { | |
resolve ({ok: true, status: xhr.status, message: xhr.responseText}); | |
} else { | |
reject({ok: false, status: xhr.status, message: xhr.responseText}); | |
} |
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 from 'react'; | |
import { Button, Box } from '@material-ui/core'; | |
import { makeStyles } from '@material-ui/core/styles'; | |
import CloudDownloadIcon from '@material-ui/icons/CloudDownload'; | |
import CloudUploadIcon from '@material-ui/icons/CloudUpload'; | |
import DeleteIcon from '@material-ui/icons/Delete'; | |
import CoreService from '../../Services/CoreService'; | |
import FileService from '../../Services/FileService'; | |
const useStyles = makeStyles(theme => ({ |