1.0.7 • Published 4 years ago

@aacassandra/parse-cloud-code v1.0.7

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

Parse Cloud Code

If you are using this library, make sure the @aacassandra/parse-lib has installed on your project

Usage

On your parse server, you must install this plugin:

npm i @aacassandra@parse-cloud-code

next, on your cloud code file, for example my cloud code file available in ./cloud/main.js

paste this code in your main.js file

var ParseCloud = require("@aacassandra/parse-cloud-code");

Parse.Cloud.define("cloud", async request => {
  return new Promise(resolve => {
    ParseCloud(Parse, request, callback => {
      resolve(callback);
    });
  });
});

Example Call Function

on your project, don't forget to installing @aacassandra/parse-lib and

export { ParseCloudUpdateUser, ParseCloudUpdate } from '@aacassandra/parse-lib'

and follow function code suggestion (vscode recommended) for more available parameter
1.0.7

4 years ago

1.0.6

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago