@protobase/schema 0.22.2 → 0.22.3

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.
Files changed (2) hide show
  1. package/dist/model.d.ts +2 -2
  2. package/package.json +1 -1
package/dist/model.d.ts CHANGED
@@ -560,8 +560,8 @@ export type RelatedColumnModel = {
560
560
  /** The enum field of `resource` whose value colours each dot, by its view's `valueColors`. */
561
561
  status: string;
562
562
  };
563
- /** A button of a date range filter: today, yesterday, the last 7, 30 or 90 days, or this month, quarter or year. */
564
- export type DatePreset = 'today' | 'yesterday' | '7d' | '30d' | '90d' | 'month' | 'quarter' | 'year';
563
+ /** A button of a date range filter: today, yesterday, the last 24 hours, 7, 30 or 90 days, or this month, quarter or year. */
564
+ export type DatePreset = 'today' | 'yesterday' | '24h' | '7d' | '30d' | '90d' | 'month' | 'quarter' | 'year';
565
565
  /**
566
566
  * A filter widget above a list (`.filters((r, w) => ...)`), on a filterable field; see
567
567
  * [Filters and the chart](website/src/content/docs/reference/ui-config.mdx#filters-and-the-chart).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@protobase/schema",
3
- "version": "0.22.2",
3
+ "version": "0.22.3",
4
4
  "description": "Resource, field, view and access definitions for Protobase configs.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {