datool 0.0.4 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -16,6 +16,10 @@ Create `datool.config.ts` in your project root:
16
16
  import { defineDatoolConfig, sources } from "datool"
17
17
 
18
18
  export default defineDatoolConfig({
19
+ dateFormat: {
20
+ dateStyle: "short",
21
+ timeStyle: "medium",
22
+ },
19
23
  streams: {
20
24
  file: {
21
25
  ...sources.file({
@@ -77,6 +81,10 @@ The CLI will:
77
81
  import { defineDatoolConfig, sources } from "datool"
78
82
 
79
83
  export default defineDatoolConfig({
84
+ dateFormat: {
85
+ dateStyle: "short",
86
+ timeStyle: "medium",
87
+ },
80
88
  server: {
81
89
  port: 3210,
82
90
  },
@@ -131,6 +139,12 @@ export default defineDatoolConfig({
131
139
  })
132
140
  ```
133
141
 
142
+ Top-level config options include:
143
+
144
+ - `dateFormat`: optional global `Intl.DateTimeFormatOptions` for `kind: "date"` columns
145
+ - `server`: optional server overrides such as `host` and `port`
146
+ - `streams`: stream definitions
147
+
134
148
  Each stream defines:
135
149
 
136
150
  - `label`: UI label