From 08fff68988353586d160809a0a473c0b139caeeb Mon Sep 17 00:00:00 2001 From: Sharad S <16229739+sharadsw@users.noreply.github.com> Date: Wed, 23 Oct 2024 19:45:55 +0000 Subject: [PATCH] Lint code with ESLint and Prettier Triggered by d437dcb18e073facd434d41dc26a35641745c3e1 on branch refs/heads/production --- .../lib/components/SchemaConfig/README.md | 22 +++++++++++++------ 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/specifyweb/frontend/js_src/lib/components/SchemaConfig/README.md b/specifyweb/frontend/js_src/lib/components/SchemaConfig/README.md index bb1c97adc8a..eeccb2a8f39 100644 --- a/specifyweb/frontend/js_src/lib/components/SchemaConfig/README.md +++ b/specifyweb/frontend/js_src/lib/components/SchemaConfig/README.md @@ -5,14 +5,22 @@ fields and formatters/aggregators. Tables used: -- SpLocaleContainer: Refers to each table in Schema Config. Each Specify table has one `SpLocaleContainer` record for each discipline. -- SpLocaleContainerItem: Contains the entries (fields/relations) for tables in Schema Config. -- SpLocaleItemStr: Contains the name and description strings for each `SpLocaleContainerItem`. +- SpLocaleContainer: Refers to each table in Schema Config. Each Specify table + has one `SpLocaleContainer` record for each discipline. +- SpLocaleContainerItem: Contains the entries (fields/relations) for tables in + Schema Config. +- SpLocaleItemStr: Contains the name and description strings for each + `SpLocaleContainerItem`. Also, the PickList tables: - PickList: Defines a picklist in the database. Picklists can be one of 3 types: - - `type=0`: Refers to user-defined picklists. i.e: picklists containing explicitly specified values. - - `type=1`: Picklists that are related to a table. The values of the picklist are based on a specified formatter. e.g: CollectionObject > CollectionObjectType. - - `type=2`: Picklists that generates its values from a field in a given table. Essentially works as a user-defined picklist, but with autogenerated values. -- PickListItem: Contains the values for user-defined picklists. Only used for `type 1` picklists. + - `type=0`: Refers to user-defined picklists. i.e: picklists containing + explicitly specified values. + - `type=1`: Picklists that are related to a table. The values of the picklist + are based on a specified formatter. e.g: CollectionObject > + CollectionObjectType. + - `type=2`: Picklists that generates its values from a field in a given table. + Essentially works as a user-defined picklist, but with autogenerated values. +- PickListItem: Contains the values for user-defined picklists. Only used for + `type 1` picklists.