minor revision

This commit is contained in:
Tben 2023-07-27 05:13:37 +01:00
parent 969a654146
commit f5a24511a3
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "datasquirel", "name": "datasquirel",
"version": "1.1.89", "version": "1.1.90",
"description": "Cloud-based SQL data management tool", "description": "Cloud-based SQL data management tool",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {

View File

@ -20,8 +20,8 @@ const https = require("https");
* @typedef {object} PostDataPayload * @typedef {object} PostDataPayload
* @property {"insert" | "update" | "delete"} action - The target action to take * @property {"insert" | "update" | "delete"} action - The target action to take
* @property {string} table - Table name(slug) eg "blog_posts" * @property {string} table - Table name(slug) eg "blog_posts"
* @property {string} identifierColumnName - Table identifier field name => eg. "id" OR "email" * @property {string?} identifierColumnName - Table identifier field name => eg. "id" OR "email"
* @property {string} identifierValue - Corresponding value of the selected field name => This * @property {string?} identifierValue - Corresponding value of the selected field name => This
* checks identifies a the target row for "update" or "delete". Not needed for "insert" * checks identifies a the target row for "update" or "delete". Not needed for "insert"
* @property {object} data - Table insert payload object => This must have keys that match * @property {object} data - Table insert payload object => This must have keys that match
* table fields * table fields