Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Add a table
- * @param {Object} requestDetails - Request information.
- * @param {Number} requestDetails.appId - Required. The Id of the app that the table is attached to
- * @param {String} requestDetails.name - Required. The name of the table
- * @param {Boolean} requestDetails.dirty - Dirty flag.
- * @param {Array.<Object>} requestDetails.fields - An array of field objects that will
- * be created along with the the table. At least one field must be included to set the id
- * field on the table.
- * @param {String} requestDetails.fields[].name - Name of the field. Required.
- * @param {String} requestDetails.fields[].displayName - Display name of the field. Required.
- * @param {String} requestDetails.fields[].group - the group type of the field (e.g. text)
- * @param {String} requestDetails.fields[].type - field type (e.g. shortAnswer, relationship), required
- * @param {String} requestDetails.fields[].discriminatorType - required.
- * @param {Boolean} requestDetails.fields[].showInTableDesigner - not sure what this does
- * @param {Object} requestDetails.fields[].table - not sure what this does
- * @param {String} parsedIdentifierTemplate - Required. Format: [ID_FIELD_NAME]
- * @param {String} tempIdentifierTemplate - Required. Format: ${ID_FIELD_NAME}
- * @return {Promise} - Promise that resolves to an object containing the newly created table
- */
Add Comment
Please, Sign In to add comment