@ai-matrx/records 0.93.1 → 0.93.2

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 (80) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/{client-D4mLGnph.d.ts → client-BKhJ6Ezn.d.ts} +8 -8
  3. package/dist/{client-BPcc-V2O.d.cts → client-DJFcYJ8I.d.cts} +8 -8
  4. package/dist/core/index.d.cts +17 -50
  5. package/dist/core/index.d.ts +17 -50
  6. package/dist/data/index.d.cts +11 -11
  7. package/dist/data/index.d.ts +11 -11
  8. package/dist/{declareTable-Br_4v6L7.d.ts → declareTable-BVvld0W6.d.ts} +4 -4
  9. package/dist/{declareTable-BSHX1Abl.d.cts → declareTable-y5e-Qasq.d.cts} +4 -4
  10. package/dist/entity/index.d.cts +7 -7
  11. package/dist/entity/index.d.ts +7 -7
  12. package/dist/{field-DjS7iId2.d.cts → field-F9BK-aUO.d.cts} +1 -1
  13. package/dist/{field-D-1OKy5r.d.ts → field-GR--cya9.d.ts} +1 -1
  14. package/dist/first-page/index.cjs +7276 -0
  15. package/dist/first-page/index.cjs.map +1 -0
  16. package/dist/first-page/index.d.cts +213 -0
  17. package/dist/first-page/index.d.ts +213 -0
  18. package/dist/first-page/index.js +7246 -0
  19. package/dist/first-page/index.js.map +1 -0
  20. package/dist/forms/index.d.cts +3 -3
  21. package/dist/forms/index.d.ts +3 -3
  22. package/dist/index.d.cts +12 -12
  23. package/dist/index.d.ts +12 -12
  24. package/dist/memory/index.d.cts +7 -7
  25. package/dist/memory/index.d.ts +7 -7
  26. package/dist/{objectOrganization-IBxZqFZQ.d.ts → objectOrganization-C2RtRmci.d.ts} +1 -1
  27. package/dist/{objectOrganization-CDAoE7Ft.d.cts → objectOrganization-Cec0G7mm.d.cts} +1 -1
  28. package/dist/{port-DyZ0GfxE.d.ts → port-Bhl_rn5k.d.ts} +3 -3
  29. package/dist/{port-B3UeC536.d.cts → port-CiDvXxG7.d.cts} +3 -3
  30. package/dist/{portal-CUwIsXsx.d.cts → portal-CL2Qtc-G.d.cts} +1 -1
  31. package/dist/{portal-DDOmQR1f.d.ts → portal-o9FhryoU.d.ts} +1 -1
  32. package/dist/{ports-DEkN-WfA.d.cts → ports-BTDZ9ydi.d.cts} +3 -3
  33. package/dist/{ports-YOhD5T7h.d.ts → ports-CCPhsr-V.d.ts} +3 -3
  34. package/dist/questions/index.cjs +7 -2
  35. package/dist/questions/index.cjs.map +1 -1
  36. package/dist/questions/index.d.cts +9 -9
  37. package/dist/questions/index.d.ts +9 -9
  38. package/dist/questions/index.js +7 -2
  39. package/dist/questions/index.js.map +1 -1
  40. package/dist/realtime/index.d.cts +3 -3
  41. package/dist/realtime/index.d.ts +3 -3
  42. package/dist/{record-zwSBU5PQ.d.cts → record-Bo1ahH3_.d.cts} +1 -1
  43. package/dist/{record-zwSBU5PQ.d.ts → record-Bo1ahH3_.d.ts} +1 -1
  44. package/dist/{relation-BbPDcXp5.d.cts → relation-BTww_Cby.d.cts} +2 -2
  45. package/dist/{relation-Dk9-VzY0.d.ts → relation-D8UmOxPh.d.ts} +2 -2
  46. package/dist/{rule-BVX1C83I.d.ts → rule-BojwTDvi.d.ts} +1 -1
  47. package/dist/{rule-CbBXN-FW.d.cts → rule-G4UQndi-.d.cts} +1 -1
  48. package/dist/search/index.d.cts +1 -1
  49. package/dist/search/index.d.ts +1 -1
  50. package/dist/seed-CQkIf8UR.d.cts +37 -0
  51. package/dist/seed-Dz8Hi2LZ.d.ts +37 -0
  52. package/dist/setup/index.d.cts +12 -12
  53. package/dist/setup/index.d.ts +12 -12
  54. package/dist/{subscription-BGgwsJ8c.d.ts → subscription-1ik9orQK.d.ts} +3 -3
  55. package/dist/{subscription-DVM2vL4e.d.cts → subscription-x61fFv_7.d.cts} +3 -3
  56. package/dist/{table-kind-BGokuDJj.d.ts → table-kind-C2bMlOaV.d.ts} +4 -4
  57. package/dist/{table-kind-C5ZLyOxE.d.cts → table-kind-C3PlCE9_.d.cts} +4 -4
  58. package/dist/templates/index.d.cts +10 -10
  59. package/dist/templates/index.d.ts +10 -10
  60. package/dist/typed-table/index.d.cts +10 -10
  61. package/dist/typed-table/index.d.ts +10 -10
  62. package/dist/{types-DB4J-zIt.d.ts → types-BBwIxf_z.d.ts} +2 -2
  63. package/dist/{types-reNR-zMe.d.cts → types-BTydwrlW.d.cts} +2 -2
  64. package/dist/{types-Bg1q6qwq.d.cts → types-C433sVT-.d.cts} +2 -2
  65. package/dist/{types-D31PewA2.d.ts → types-DYXymeSx.d.ts} +2 -2
  66. package/dist/{types-C3ywxkho.d.ts → types-Gur64NY0.d.ts} +2 -2
  67. package/dist/{types-DtEP7XLv.d.cts → types-_D768Jzt.d.cts} +2 -2
  68. package/dist/use-cases/index.d.cts +5 -5
  69. package/dist/use-cases/index.d.ts +5 -5
  70. package/dist/{validate-BWqeG2sK.d.ts → validate-BRfOuXKD.d.ts} +1 -1
  71. package/dist/{validate-QdnFP97_.d.cts → validate-CmZ93paU.d.cts} +1 -1
  72. package/dist/views/index.cjs +102 -0
  73. package/dist/views/index.cjs.map +1 -1
  74. package/dist/views/index.d.cts +51 -396
  75. package/dist/views/index.d.ts +51 -396
  76. package/dist/views/index.js +102 -0
  77. package/dist/views/index.js.map +1 -1
  78. package/dist/views-B156FsIH.d.cts +396 -0
  79. package/dist/views-Bny6SBX0.d.ts +396 -0
  80. package/package.json +12 -2
@@ -1,12 +1,12 @@
1
- import { A as AggregateBucket } from '../subscription-DVM2vL4e.cjs';
2
- import { R as RecordsClient } from '../client-BPcc-V2O.cjs';
3
- import { F as Field } from '../field-DjS7iId2.cjs';
4
- import { H as HiddenFieldNotice, U as Uuid, R as RecordsResult } from '../record-zwSBU5PQ.cjs';
5
- import { R as RuleExpression } from '../rule-CbBXN-FW.cjs';
6
- import '../table-kind-C5ZLyOxE.cjs';
7
- import '../ports-DEkN-WfA.cjs';
8
- import '../relation-BbPDcXp5.cjs';
9
- import '../portal-CUwIsXsx.cjs';
1
+ import { A as AggregateBucket } from '../subscription-x61fFv_7.cjs';
2
+ import { R as RecordsClient } from '../client-DJFcYJ8I.cjs';
3
+ import { F as Field } from '../field-F9BK-aUO.cjs';
4
+ import { H as HiddenFieldNotice, U as Uuid, R as RecordsResult } from '../record-Bo1ahH3_.cjs';
5
+ import { R as RuleExpression } from '../rule-G4UQndi-.cjs';
6
+ import '../table-kind-C3PlCE9_.cjs';
7
+ import '../ports-BTDZ9ydi.cjs';
8
+ import '../relation-BTww_Cby.cjs';
9
+ import '../portal-CL2Qtc-G.cjs';
10
10
 
11
11
  type QuestionOp = "count" | "sum" | "avg" | "min" | "max";
12
12
  declare const QUESTION_OPS: readonly QuestionOp[];
@@ -1,12 +1,12 @@
1
- import { A as AggregateBucket } from '../subscription-BGgwsJ8c.js';
2
- import { R as RecordsClient } from '../client-D4mLGnph.js';
3
- import { F as Field } from '../field-D-1OKy5r.js';
4
- import { H as HiddenFieldNotice, U as Uuid, R as RecordsResult } from '../record-zwSBU5PQ.js';
5
- import { R as RuleExpression } from '../rule-BVX1C83I.js';
6
- import '../table-kind-BGokuDJj.js';
7
- import '../ports-YOhD5T7h.js';
8
- import '../relation-Dk9-VzY0.js';
9
- import '../portal-DDOmQR1f.js';
1
+ import { A as AggregateBucket } from '../subscription-1ik9orQK.js';
2
+ import { R as RecordsClient } from '../client-BKhJ6Ezn.js';
3
+ import { F as Field } from '../field-GR--cya9.js';
4
+ import { H as HiddenFieldNotice, U as Uuid, R as RecordsResult } from '../record-Bo1ahH3_.js';
5
+ import { R as RuleExpression } from '../rule-BojwTDvi.js';
6
+ import '../table-kind-C2bMlOaV.js';
7
+ import '../ports-CCPhsr-V.js';
8
+ import '../relation-D8UmOxPh.js';
9
+ import '../portal-o9FhryoU.js';
10
10
 
11
11
  type QuestionOp = "count" | "sum" | "avg" | "min" | "max";
12
12
  declare const QUESTION_OPS: readonly QuestionOp[];
@@ -229,12 +229,17 @@ var KERNEL_TABLES = [
229
229
  { id: "11111111-0000-4000-8000-000000000008", name: "Widget" }
230
230
  ];
231
231
 
232
- // src/questions/index.ts
232
+ // src/fieldKind.ts
233
233
  var kernelId = (name) => KERNEL_TABLES.find((t) => t.name === name)?.id ?? "";
234
234
  var KERNEL = { file: kernelId("File"), person: kernelId("Person") };
235
+ function storeFieldKind(field) {
236
+ return fieldKindFor(field, KERNEL);
237
+ }
238
+
239
+ // src/questions/index.ts
235
240
  var ARITHMETIC = /* @__PURE__ */ new Set(["add", "sub", "mul", "div", "mod", "power", "sum", "average", "round", "abs", "min", "max", "ceiling", "floor"]);
236
241
  function kindOf(field) {
237
- return fieldKindFor(field, KERNEL);
242
+ return storeFieldKind(field);
238
243
  }
239
244
  function isNumericField(field) {
240
245
  const kind = kindOf(field);