@ai-matrx/records 0.93.1 → 0.93.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 (42) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/dist/{client-D4mLGnph.d.ts → client-DM3dRewB.d.ts} +1 -1
  3. package/dist/{client-BPcc-V2O.d.cts → client-icpxhaRE.d.cts} +1 -1
  4. package/dist/core/index.d.cts +3 -3
  5. package/dist/core/index.d.ts +3 -3
  6. package/dist/data/index.d.cts +2 -2
  7. package/dist/data/index.d.ts +2 -2
  8. package/dist/{declareTable-BSHX1Abl.d.cts → declareTable-BtpsSJCr.d.cts} +1 -1
  9. package/dist/{declareTable-Br_4v6L7.d.ts → declareTable-MN4WuhWK.d.ts} +1 -1
  10. package/dist/first-page/index.cjs +627 -0
  11. package/dist/first-page/index.cjs.map +1 -0
  12. package/dist/first-page/index.d.cts +1298 -0
  13. package/dist/first-page/index.d.ts +1298 -0
  14. package/dist/first-page/index.js +604 -0
  15. package/dist/first-page/index.js.map +1 -0
  16. package/dist/index.d.cts +1 -1
  17. package/dist/index.d.ts +1 -1
  18. package/dist/memory/index.d.cts +2 -2
  19. package/dist/memory/index.d.ts +2 -2
  20. package/dist/questions/index.cjs +7 -2
  21. package/dist/questions/index.cjs.map +1 -1
  22. package/dist/questions/index.d.cts +2 -2
  23. package/dist/questions/index.d.ts +2 -2
  24. package/dist/questions/index.js +7 -2
  25. package/dist/questions/index.js.map +1 -1
  26. package/dist/setup/index.d.cts +2 -2
  27. package/dist/setup/index.d.ts +2 -2
  28. package/dist/{subscription-BGgwsJ8c.d.ts → subscription-DucBLG-Y.d.ts} +1 -1
  29. package/dist/{subscription-DVM2vL4e.d.cts → subscription-ycCVo9e2.d.cts} +1 -1
  30. package/dist/templates/index.d.cts +3 -3
  31. package/dist/templates/index.d.ts +3 -3
  32. package/dist/typed-table/index.d.cts +3 -3
  33. package/dist/typed-table/index.d.ts +3 -3
  34. package/dist/{types-C3ywxkho.d.ts → types-Cl0b_Hy8.d.ts} +1 -1
  35. package/dist/{types-reNR-zMe.d.cts → types-SezYoQ5_.d.cts} +1 -1
  36. package/dist/views/index.cjs +102 -0
  37. package/dist/views/index.cjs.map +1 -1
  38. package/dist/views/index.d.cts +46 -3
  39. package/dist/views/index.d.ts +46 -3
  40. package/dist/views/index.js +102 -0
  41. package/dist/views/index.js.map +1 -1
  42. package/package.json +12 -2
@@ -1,5 +1,5 @@
1
- import { A as AggregateBucket } from '../subscription-DVM2vL4e.cjs';
2
- import { R as RecordsClient } from '../client-BPcc-V2O.cjs';
1
+ import { A as AggregateBucket } from '../subscription-ycCVo9e2.cjs';
2
+ import { R as RecordsClient } from '../client-icpxhaRE.cjs';
3
3
  import { F as Field } from '../field-DjS7iId2.cjs';
4
4
  import { H as HiddenFieldNotice, U as Uuid, R as RecordsResult } from '../record-zwSBU5PQ.cjs';
5
5
  import { R as RuleExpression } from '../rule-CbBXN-FW.cjs';
@@ -1,5 +1,5 @@
1
- import { A as AggregateBucket } from '../subscription-BGgwsJ8c.js';
2
- import { R as RecordsClient } from '../client-D4mLGnph.js';
1
+ import { A as AggregateBucket } from '../subscription-DucBLG-Y.js';
2
+ import { R as RecordsClient } from '../client-DM3dRewB.js';
3
3
  import { F as Field } from '../field-D-1OKy5r.js';
4
4
  import { H as HiddenFieldNotice, U as Uuid, R as RecordsResult } from '../record-zwSBU5PQ.js';
5
5
  import { R as RuleExpression } from '../rule-BVX1C83I.js';
@@ -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);