Sfoglia il codice sorgente

docs(common): Add relation docs to CustomFieldType

Michael Bromley 4 anni fa
parent
commit
65f8b09739
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      packages/common/src/shared-types.ts

+ 1 - 0
packages/common/src/shared-types.ts

@@ -86,6 +86,7 @@ export type ID = string | number;
  * float        | double precision                      | Float
  * boolean      | tinyint (m), bool (p), boolean (s)    | Boolean
  * datetime     | datetime (m,s), timestamp (p)         | DateTime
+ * relation     | many-to-one / many-to-many relation   | As specified in config
  *
  * Additionally, the CustomFieldType also dictates which [configuration options](/docs/typescript-api/custom-fields/#configuration-options)
  * are available for that custom field.