Guest User

Untitled

a guest
Jan 19th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. /**
  2. * Add a table
  3. * @param {Object} requestDetails - Request information.
  4. * @param {Number} requestDetails.appId - Required. The Id of the app that the table is attached to
  5. * @param {String} requestDetails.name - Required. The name of the table
  6. * @param {Boolean} requestDetails.dirty - Dirty flag.
  7. * @param {Array.<Object>} requestDetails.fields - An array of field objects that will
  8. * be created along with the the table. At least one field must be included to set the id
  9. * field on the table.
  10. * @param {String} requestDetails.fields[].name - Name of the field. Required.
  11. * @param {String} requestDetails.fields[].displayName - Display name of the field. Required.
  12. * @param {String} requestDetails.fields[].group - the group type of the field (e.g. text)
  13. * @param {String} requestDetails.fields[].type - field type (e.g. shortAnswer, relationship), required
  14. * @param {String} requestDetails.fields[].discriminatorType - required.
  15. * @param {Boolean} requestDetails.fields[].showInTableDesigner - not sure what this does
  16. * @param {Object} requestDetails.fields[].table - not sure what this does
  17. * @param {String} parsedIdentifierTemplate - Required. Format: [ID_FIELD_NAME]
  18. * @param {String} tempIdentifierTemplate - Required. Format: ${ID_FIELD_NAME}
  19. * @return {Promise} - Promise that resolves to an object containing the newly created table
  20. */
Add Comment
Please, Sign In to add comment