Move all source files into 'src' folder.
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
var Parse = require('parse/node').Parse;
|
var Parse = require('parse/node').Parse;
|
||||||
var transform = require('./transform');
|
var transform = require('./transform');
|
||||||
|
|
||||||
defaultColumns = {
|
var defaultColumns = {
|
||||||
// Contain the default columns for every parse object type (except _Join collection)
|
// Contain the default columns for every parse object type (except _Join collection)
|
||||||
_Default: {
|
_Default: {
|
||||||
"objectId": {type:'String'},
|
"objectId": {type:'String'},
|
||||||
@@ -21,7 +21,7 @@ var Parse = require('parse/node').Parse;
|
|||||||
// validate: true indicates that key names are to be validated.
|
// validate: true indicates that key names are to be validated.
|
||||||
//
|
//
|
||||||
// Returns an object with {key: key, value: value}.
|
// Returns an object with {key: key, value: value}.
|
||||||
function transformKeyValue(schema, className, restKey, restValue, options) {
|
export function transformKeyValue(schema, className, restKey, restValue, options) {
|
||||||
options = options || {};
|
options = options || {};
|
||||||
|
|
||||||
// Check if the schema is known since it's a built-in field.
|
// Check if the schema is known since it's a built-in field.
|
||||||
Reference in New Issue
Block a user