@ai-matrx/records 0.95.0 → 0.96.0
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/CHANGELOG.md +23 -0
- package/dist/{client-DQWdJeFM.d.ts → client-D7bvxEZW.d.ts} +9 -0
- package/dist/{client-CEX4WdvX.d.cts → client-DKgbZUNt.d.cts} +9 -0
- package/dist/core/index.cjs +4 -0
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +3 -2
- package/dist/core/index.d.ts +3 -2
- package/dist/core/index.js +4 -0
- package/dist/core/index.js.map +1 -1
- package/dist/data/index.cjs +4 -0
- package/dist/data/index.cjs.map +1 -1
- package/dist/data/index.d.cts +1 -1
- package/dist/data/index.d.ts +1 -1
- package/dist/data/index.js +4 -0
- package/dist/data/index.js.map +1 -1
- package/dist/{declareTable-Bkh3C1Ao.d.ts → declareTable-D_CiMnXM.d.ts} +1 -1
- package/dist/{declareTable-DeQ9_TMb.d.cts → declareTable-VoNRi_j_.d.cts} +1 -1
- package/dist/questions/index.d.cts +1 -1
- package/dist/questions/index.d.ts +1 -1
- package/dist/react/index.cjs +4 -0
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.cts +9 -0
- package/dist/react/index.d.ts +9 -0
- package/dist/react/index.js +4 -0
- package/dist/react/index.js.map +1 -1
- package/dist/setup/index.cjs +4 -0
- package/dist/setup/index.cjs.map +1 -1
- package/dist/setup/index.d.cts +1 -1
- package/dist/setup/index.d.ts +1 -1
- package/dist/setup/index.js +4 -0
- package/dist/setup/index.js.map +1 -1
- package/dist/templates/index.cjs +124 -65
- package/dist/templates/index.cjs.map +1 -1
- package/dist/templates/index.d.cts +6 -1
- package/dist/templates/index.d.ts +6 -1
- package/dist/templates/index.js +124 -65
- package/dist/templates/index.js.map +1 -1
- package/dist/typed-table/index.cjs +4 -0
- package/dist/typed-table/index.cjs.map +1 -1
- package/dist/typed-table/index.d.cts +2 -2
- package/dist/typed-table/index.d.ts +2 -2
- package/dist/typed-table/index.js +4 -0
- package/dist/typed-table/index.js.map +1 -1
- package/dist/views/index.d.cts +1 -1
- package/dist/views/index.d.ts +1 -1
- package/package.json +3 -3
package/dist/react/index.d.cts
CHANGED
|
@@ -13853,6 +13853,15 @@ interface RecordsClient {
|
|
|
13853
13853
|
aggOperations(): Promise<RecordsResult<string[]>>;
|
|
13854
13854
|
/** The periods the store itself buckets by. */
|
|
13855
13855
|
aggBuckets(): Promise<RecordsResult<string[]>>;
|
|
13856
|
+
/**
|
|
13857
|
+
* The organization's calendar (knobs `custom/time_zone`, `custom/week_start`), cut by the SAME door the
|
|
13858
|
+
* relative date filters and the chart buckets use. A calendar or timeline reads its first day of the week
|
|
13859
|
+
* from here, never from a constant of its own (lane NOTION-SMALL-4).
|
|
13860
|
+
*/
|
|
13861
|
+
aggCalendar(): Promise<RecordsResult<{
|
|
13862
|
+
time_zone: string;
|
|
13863
|
+
week_start: string;
|
|
13864
|
+
}>>;
|
|
13856
13865
|
/**
|
|
13857
13866
|
* A source's drill definition — its Dimensions, Measures, drill paths and first screen.
|
|
13858
13867
|
* `{kind: "table", id}` is a custom Table; `{kind: "entity", token}` a standard table by its
|
package/dist/react/index.d.ts
CHANGED
|
@@ -13853,6 +13853,15 @@ interface RecordsClient {
|
|
|
13853
13853
|
aggOperations(): Promise<RecordsResult<string[]>>;
|
|
13854
13854
|
/** The periods the store itself buckets by. */
|
|
13855
13855
|
aggBuckets(): Promise<RecordsResult<string[]>>;
|
|
13856
|
+
/**
|
|
13857
|
+
* The organization's calendar (knobs `custom/time_zone`, `custom/week_start`), cut by the SAME door the
|
|
13858
|
+
* relative date filters and the chart buckets use. A calendar or timeline reads its first day of the week
|
|
13859
|
+
* from here, never from a constant of its own (lane NOTION-SMALL-4).
|
|
13860
|
+
*/
|
|
13861
|
+
aggCalendar(): Promise<RecordsResult<{
|
|
13862
|
+
time_zone: string;
|
|
13863
|
+
week_start: string;
|
|
13864
|
+
}>>;
|
|
13856
13865
|
/**
|
|
13857
13866
|
* A source's drill definition — its Dimensions, Measures, drill paths and first screen.
|
|
13858
13867
|
* `{kind: "table", id}` is a custom Table; `{kind: "entity", token}` a standard table by its
|
package/dist/react/index.js
CHANGED
|
@@ -3872,6 +3872,7 @@ var DOORS = {
|
|
|
3872
3872
|
recordAggregateAsOf: "record_aggregate_as_of",
|
|
3873
3873
|
aggOperations: "agg_operations",
|
|
3874
3874
|
aggBuckets: "agg_buckets",
|
|
3875
|
+
aggCalendar: "agg_calendar",
|
|
3875
3876
|
// DOOR-18: a subscription is a Rule record carrying a `subscription` block
|
|
3876
3877
|
// over a saved view. There is no subscription TABLE and no second notifier.
|
|
3877
3878
|
aggSubscriptions: "agg_subscriptions",
|
|
@@ -6530,6 +6531,9 @@ function createRecordsClient(given) {
|
|
|
6530
6531
|
async aggBuckets() {
|
|
6531
6532
|
return callDoor(DOORS.aggBuckets, {}, "aggBuckets");
|
|
6532
6533
|
},
|
|
6534
|
+
async aggCalendar() {
|
|
6535
|
+
return callDoor(DOORS.aggCalendar, { p_organization_id: org }, "aggCalendar");
|
|
6536
|
+
},
|
|
6533
6537
|
async drillDescribe({ source }) {
|
|
6534
6538
|
return drillDoor(DRILL_DOORS.describe, { p_organization_id: org, p_source: source }, "drillDescribe");
|
|
6535
6539
|
},
|