From 861af70ee029e1e461071dca17de437bc58f08e6 Mon Sep 17 00:00:00 2001 From: Ashley Mulligan Date: Wed, 3 Apr 2024 10:48:02 -0500 Subject: [PATCH 1/5] Update plugins/autocast/README.md Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- plugins/autocast/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/autocast/README.md b/plugins/autocast/README.md index e47e1325a..3cc7c021f 100644 --- a/plugins/autocast/README.md +++ b/plugins/autocast/README.md @@ -73,7 +73,7 @@ are interpreted as numbers. ### Dates -Date strings and numbers are cast to a UTC string. These are example of dates that will be cast (note: `YYYY-MM-DD...` is interpreted as an ISO 8601 date and is treated as treated as UTC, while other formats are treated as local time and converted to UTC): +Date strings and numbers are cast to a UTC string. These are examples of dates that will be cast (note: `YYYY-MM-DD...` is interpreted as an ISO 8601 date and is treated as UTC, while other formats are treated as local time and converted to UTC): - `'2023-08-16'` => `'Wed, 16 Aug 2023 00:00:00 GMT'` - `'08-16-2023'` => `'Wed, 16 Aug 2023 00:00:00 GMT'` From 084a00b635b50acd7c3c5d94db55b74529998b3f Mon Sep 17 00:00:00 2001 From: Ashley Mulligan Date: Wed, 3 Apr 2024 10:48:21 -0500 Subject: [PATCH 2/5] Update plugins/autocast/README.md Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- plugins/autocast/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/autocast/README.md b/plugins/autocast/README.md index 3cc7c021f..c6d7010ba 100644 --- a/plugins/autocast/README.md +++ b/plugins/autocast/README.md @@ -58,7 +58,7 @@ listen for the same event type. Plugins will fire in the order they are placed i ### Strings -Numbers and booleans are cast to strings (i.e `'1'` -> `1`, `true` -> `"true"`). +Numbers and booleans are cast from strings to their respective types (i.e., `'1'` to `1`, `"true"` to `true`). ### Numbers From b9b393d479f80b091b3a6d0a2feb3428a712b44d Mon Sep 17 00:00:00 2001 From: Ashley Mulligan Date: Wed, 3 Apr 2024 10:48:52 -0500 Subject: [PATCH 3/5] Update plugins/autocast/README.md Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- plugins/autocast/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/autocast/README.md b/plugins/autocast/README.md index c6d7010ba..df26bf632 100644 --- a/plugins/autocast/README.md +++ b/plugins/autocast/README.md @@ -1,5 +1,5 @@ # @flatfile/plugin-autocast -**A plugin for automatically casting values in Flatfile.** +**This plugin automatically casts values in Flatfile to their appropriate types.** The `@flatfile/plugin-autocast` plugin is an opinionated transformer that will From b6b8878175422c32683f78414aa1a07f446a1b96 Mon Sep 17 00:00:00 2001 From: Ashley Mulligan Date: Wed, 3 Apr 2024 10:55:14 -0500 Subject: [PATCH 4/5] Update plugins/autocast/README.md Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- plugins/autocast/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/autocast/README.md b/plugins/autocast/README.md index df26bf632..4e238db63 100644 --- a/plugins/autocast/README.md +++ b/plugins/autocast/README.md @@ -58,7 +58,7 @@ listen for the same event type. Plugins will fire in the order they are placed i ### Strings -Numbers and booleans are cast from strings to their respective types (i.e., `'1'` to `1`, `"true"` to `true`). +Numbers and booleans are transformed from strings to their respective types (i.e., `'1'` to `1`, `"true"` to `true`). ### Numbers From af607b47e8e9042172acf782d998d69484891572 Mon Sep 17 00:00:00 2001 From: Ashley Mulligan Date: Wed, 3 Apr 2024 10:55:33 -0500 Subject: [PATCH 5/5] Update plugins/autocast/README.md Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- plugins/autocast/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/autocast/README.md b/plugins/autocast/README.md index 4e238db63..966dc7cb2 100644 --- a/plugins/autocast/README.md +++ b/plugins/autocast/README.md @@ -73,7 +73,7 @@ are interpreted as numbers. ### Dates -Date strings and numbers are cast to a UTC string. These are examples of dates that will be cast (note: `YYYY-MM-DD...` is interpreted as an ISO 8601 date and is treated as UTC, while other formats are treated as local time and converted to UTC): +Date strings and numbers are cast to a UTC string. The following are examples of date transformations (note: `YYYY-MM-DD...` is interpreted as an ISO 8601 date and is treated as UTC, while other formats are treated as local time and converted to UTC): - `'2023-08-16'` => `'Wed, 16 Aug 2023 00:00:00 GMT'` - `'08-16-2023'` => `'Wed, 16 Aug 2023 00:00:00 GMT'`