Commit Graph

53 Commits

Author SHA1 Message Date
Elliot DeNolf
fa49811377 fix: properly label arrays/blocks with plural and singular 2021-04-20 09:07:58 -04:00
Elliot DeNolf
b383eb65c6 feat: autolabel fields when label is omitted (#42)
* feat: autolabel fields when omitted

* feat: handle autolabel in graphql mutation build

* feat: autolabel blocks

* test: add required slug field to blocks

* feat: handle graphql names when label is false

* feat: adds relationship field to test searchable input

* feat: handle block cell type labeling pluralization

* docs: remove all explicit labeling, no longer needed

* fix: falsey column labels, allows false array labels

* fix: client tests

* fix: auto-labels globals

* docs: globals auto-labeling and hooks clarification

* fix; proper object type naming

Co-authored-by: James <james@trbl.design>
2021-04-16 22:37:08 -04:00
James
988d0a4b08 feat: remembers conditional field values after removing / readding 2021-04-02 11:15:28 -04:00
James
c4a66c2cd9 fix: handles empty indices within array field data 2021-03-24 16:05:20 -04:00
James
50b99370d2 fix: validation consistency within admin 2021-03-24 12:38:50 -04:00
James
339f7503a4 feat: provides field access control with document data 2021-03-14 13:40:45 -04:00
Dan Ribbens
06ddab1249 fix: field valiation type can return promise 2021-01-27 00:54:41 -05:00
James
e056348850 feat: exposes further types 2021-01-24 10:29:57 -05:00
Elliot DeNolf
2c98087c6f fix: add minLength and maxLength to textarea field validations 2021-01-16 21:23:26 -05:00
James
cd0becb7ba docs: field types 2020-12-31 11:19:59 -05:00
James
c572057706 fix: config validation of block imageURL 2020-12-31 09:53:19 -05:00
James
ffa0ea4756 chore: better names block image types 2020-12-31 09:30:25 -05:00
Jarrod Flesch
4fa942f3a0 fix: removes delete and unlock from baseField type and schema 2020-12-30 17:48:52 -05:00
Jarrod Flesch
36d51de201 fix: adds delete and unlock to joi baseField schema 2020-12-30 14:59:54 -05:00
Jarrod Flesch
e263a9c9d4 chore: removes blank line 2020-12-29 12:52:58 -05:00
Jarrod Flesch
5100fd35dc fix: updates typing on DatePicker component and joi schema 2020-12-29 12:41:15 -05:00
James
b8ad84c525 fix: allows config validation to accept esmodules as components 2020-12-27 21:47:09 -05:00
James
db135129d8 fix: improves field schema validation 2020-12-27 21:01:39 -05:00
James
b4fd2b1976 adds default value to block field schema validation 2020-12-27 13:06:53 -05:00
James
3d08222c29 resolves remaining type errors 2020-12-26 21:04:41 -05:00
James
f6c0251a6c types operations, GraphQL 2020-12-26 20:24:28 -05:00
James
cf32ee460c lays operation type pattern 2020-12-26 16:25:58 -05:00
James
e2d370a415 field typing changes due to useFieldType updates 2020-12-26 13:12:29 -05:00
James
152799ecc7 finishes admin field typing 2020-12-26 12:23:08 -05:00
James
b184b26a4e types RichText 2020-12-24 12:15:00 -05:00
James
d29f6775a8 streamlines Select, ReactSelect, Relationship 2020-12-20 17:19:38 -05:00
James
4528586849 typing progress, refactor Relationship 2020-12-20 15:17:33 -05:00
James
757c8647bf adds option type 2020-12-20 11:36:24 -05:00
James
ba6c1b9439 progress to field typing 2020-12-20 11:11:35 -05:00
James
ac92e1289b further typing 2020-12-20 09:13:25 -05:00
Elliot DeNolf
4cb8bbd2f4 type traverseFields and other misc 2020-12-08 11:36:00 -05:00
Elliot DeNolf
4ac08dac65 type some collection operations 2020-12-01 16:38:27 -05:00
James
8c8c49c66d builds a type guard for determining if field has subfields 2020-12-01 08:04:25 -05:00
James
bb7c829c5e progress to typing Blocks and Arrays 2020-11-30 20:12:15 -05:00
James
100d1e7220 further types 2020-11-30 17:31:05 -05:00
James
98b62df792 further types 2020-11-30 14:16:55 -05:00
James
7644b031c1 further typing 2020-11-30 08:42:06 -05:00
James
3d282d2523 revises payload.authenticate type 2020-11-29 17:52:17 -05:00
James
0fcd3d8f28 further types 2020-11-29 15:40:11 -05:00
James
fd7cd0324d validates field types 2020-11-28 17:34:32 -05:00
James
aa795d19d5 converts demo to ts 2020-11-28 16:07:54 -05:00
James
9019cc9101 merges and WIP - field types 2020-11-27 14:40:16 -05:00
James
cd64238a51 progress to joi validation 2020-11-27 13:05:22 -05:00
James
a00809db8e further types frontend 2020-11-25 15:10:59 -05:00
Elliot DeNolf
e36be704a5 add types for most of graphql 2020-11-24 20:03:41 -05:00
Elliot DeNolf
5b6392009d add types for buildQuery 2020-11-23 20:56:36 -05:00
Elliot DeNolf
7670a23611 more types and intellisense comments 2020-11-22 18:29:27 -05:00
Dan Ribbens
2a4b821c34 merge ts-final 2020-11-22 01:35:16 -05:00
Dan Ribbens
4a4c4223e6 more typescript types 2020-11-22 01:30:38 -05:00
Elliot DeNolf
314ea43e6d revise field types and type buildSchema 2020-11-22 01:22:28 -05:00