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 { Inject, Injectable } from '@angular/core'; | |
import { MatDialog } from '@angular/material/dialog'; | |
import { MatSnackBar } from '@angular/material/snack-bar'; | |
import { ShopFacade, UserCartService, UserFacade } from '@rr/player/da'; | |
import { InformationPopupComponent, InvalidLocationPopupComponent, ThanksForOrderPopUpComponent } from '@rr/player/ui'; | |
import { SidenavService } from '@rr/player/util'; | |
import { AuthFacade } from '@rr/shared/da-auth'; | |
import { CheckoutPayee, PaymentGatewayEnum, StoreCheckout } from '@rr/shared/graphql/data-access'; | |
import { checkGraphQlErrorByCategory } from '@rr/shared/graphql/util'; | |
import { LOGGER_SERVICE, LoggerService, DeviceDetection } from '@rr/shared/util-angular'; |
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'; | |
/** | |
* @ngdoc controller | |
* @name sdtp_project.controller:profileController | |
* @description | |
* Controller of client profile. Has methods for edit/save/update profile | |
* and methods to work with additional sections | |
*/ | |
angular.module('sdtp_project') |
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
module.exports = function(sequelize, DataTypes) { | |
var | |
User; | |
User = sequelize.define('User', { | |
name: { | |
type: DataTypes.STRING, | |
unique: false, | |
allowNull: true | |
}, |