sequelize-typescript | typeorm | knex | bookshelf | objection
sequelize-typescript | typeorm
// At the top of the file | |
import AuthenticationServices | |
// ... | |
@objc | |
func appleSignIn(resolve: RCTPromiseResolveBlock, reject: RCTPromiseRejectBlock) { | |
if #available(iOS 13.0, *) { | |
let appleIDProvider = ASAuthorizationAppleIDProvider() | |
let request = appleIDProvider.createRequest() | |
request.requestedScopes = [.fullName, .email] |
import * as socketio from 'socket.io'; | |
import { Server } from 'http'; | |
import { logger } from '../../common/logger'; | |
import { server } from '../../server'; | |
/** | |
* Represents a socket server instance. | |
* This class wraps the final technology you will use to implements | |
* sockets, eg.: socket-io | |
* |
#upgrade #rn #59 | |
para pasar de la 57 a la 59 | |
1) setear la version en package.json a la ultima de react y react native | |
2) rm -rf node_modules/ | |
3) rm package-lock.json | |
ios | |
4) rm -rf ios/Pods | |
5) rm ios/Podfile.lock |
import * as winston from 'winston'; | |
import * as moment from 'moment'; | |
const customLevels = { | |
levels: { | |
trace: 5, | |
debug: 4, | |
info: 3, | |
warn: 2, | |
error: 1, |
apply plugin: "com.android.application" | |
import com.android.build.OutputFile | |
project.ext.react = [ | |
entryFile: "index.js" | |
] | |
apply from: "../../node_modules/react-native/react.gradle" |
import axios, { AxiosInstance, AxiosPromise, AxiosRequestConfig } from 'axios'; | |
import { ErrorExtra } from '../models/errores'; | |
export class HttpError extends ErrorExtra { | |
status: HttpErrorCode; | |
constructor(status: HttpErrorCode, mensaje: string = '', extra?: any) { | |
super(mensaje, extra); | |
this.status = status; | |
// Esto quita este constructor del stacktrace pero solo esta disponible en node, no browsers |
{ | |
"Crea nuevo modelo": { | |
"prefix": "snpNuevoModelo", | |
"body": [ | |
"import { Errores } from './errores';", | |
"", | |
"export interface I${1:}Attrs {", | |
" id?: string;", | |
" ${2:};", | |
"}", |
mstore pro (dejado pregunta sobre que tan dificil seria quitarle lo wordpress)
https://codecanyon.net/item/beostore-complete-react-native-template-for-ecommerce/17010642?s_rank=4 https://www.youtube.com/watch?v=JQp2WvMjwwk&list=PLcF-HiQy-jOKIwJy97nNmiJGDpgZ0ckaP&index=2
kstore
###############