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
var timeStamp = new Date().getTime(); | |
var filename = 'MoTracker_' + timeStamp + '.mov'; | |
var movTargetFile = moTrackerImagesFolderExports.nativePath.substring(16) + filename; | |
var framesPerSecond = 4; | |
var movSize = 320; | |
Ti.API.info(JSON.stringify(moTrackImagesArray)); | |
Ti.API.info(movTargetFile); | |
var movOutput = gifmaker.createMOV(moTrackImagesArray, movTargetFile, framesPerSecond, movSize); | |
Ti.API.info(movOutput); //Output if true is successful, false if there was a failure | |
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'; | |
/** | |
* `isOwner` policy. | |
*/ | |
var pluralize = require('pluralize') | |
module.exports = async (ctx, next) => { | |
try { | |
let errMsg = "You are not allowed to perform this action."; |
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'; | |
/** | |
* `isOwners` policy that allows for many owners and a private field == false individual querying or sharing with multiple users as readonly | |
*/ | |
const _ = require('lodash'); | |
let compareIDs = (a, b) => { | |
return a.toString() === b.toString(); | |
} |