Skip to content

Commit

Permalink
Lint code with ESLint and Prettier
Browse files Browse the repository at this point in the history
Triggered by d437dcb on branch refs/heads/production
  • Loading branch information
sharadsw authored and github-actions[bot] committed Oct 23, 2024
1 parent d437dcb commit 08fff68
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions specifyweb/frontend/js_src/lib/components/SchemaConfig/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit 08fff68

Please sign in to comment.