Add comments

This commit is contained in:
Adria Navarro 2024-04-25 16:57:47 +02:00
parent 4b0e389526
commit 92b3cb2d92
1 changed files with 4 additions and 2 deletions

View File

@ -100,14 +100,16 @@ export enum FieldType {
*/ */
BIGINT = "bigint", BIGINT = "bigint",
/** /**
* a JSON type, called User within Budibase. This type is used to represent a link to an internal Budibase * an JSON type, called Users within Budibase. It will hold an array of strings. This type is used to represent a link to an internal Budibase
* resource, like a user or group, today only users are supported. This type will be represented as an * resource, like a user or group, today only users are supported. This type will be represented as an
* array of internal resource IDs (e.g. user IDs) within the row - this ID list will be enriched with * array of internal resource IDs (e.g. user IDs) within the row - this ID list will be enriched with
* the full resources when rows are returned from the API. The full resources can be input to the API, or * the full resources when rows are returned from the API. The full resources can be input to the API, or
* an array of resource IDs, the API will squash these down and validate them before saving the row. * an array of resource IDs, the API will squash these down and validate them before saving the row.
*/ */
BB_REFERENCE = "bb_reference", BB_REFERENCE = "bb_reference",
// TODO /**
* a string type, called User within Budibase. Same logic as `bb_reference`, storing a single id as string instead of an array
*/
BB_REFERENCE_SINGLE = "bb_reference_single", BB_REFERENCE_SINGLE = "bb_reference_single",
} }