@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.
- package/CHANGELOG.md +6 -0
- package/dist/{client-D4mLGnph.d.ts → client-BKhJ6Ezn.d.ts} +8 -8
- package/dist/{client-BPcc-V2O.d.cts → client-DJFcYJ8I.d.cts} +8 -8
- package/dist/core/index.d.cts +17 -50
- package/dist/core/index.d.ts +17 -50
- package/dist/data/index.d.cts +11 -11
- package/dist/data/index.d.ts +11 -11
- package/dist/{declareTable-Br_4v6L7.d.ts → declareTable-BVvld0W6.d.ts} +4 -4
- package/dist/{declareTable-BSHX1Abl.d.cts → declareTable-y5e-Qasq.d.cts} +4 -4
- package/dist/entity/index.d.cts +7 -7
- package/dist/entity/index.d.ts +7 -7
- package/dist/{field-DjS7iId2.d.cts → field-F9BK-aUO.d.cts} +1 -1
- package/dist/{field-D-1OKy5r.d.ts → field-GR--cya9.d.ts} +1 -1
- package/dist/first-page/index.cjs +7276 -0
- package/dist/first-page/index.cjs.map +1 -0
- package/dist/first-page/index.d.cts +213 -0
- package/dist/first-page/index.d.ts +213 -0
- package/dist/first-page/index.js +7246 -0
- package/dist/first-page/index.js.map +1 -0
- package/dist/forms/index.d.cts +3 -3
- package/dist/forms/index.d.ts +3 -3
- package/dist/index.d.cts +12 -12
- package/dist/index.d.ts +12 -12
- package/dist/memory/index.d.cts +7 -7
- package/dist/memory/index.d.ts +7 -7
- package/dist/{objectOrganization-IBxZqFZQ.d.ts → objectOrganization-C2RtRmci.d.ts} +1 -1
- package/dist/{objectOrganization-CDAoE7Ft.d.cts → objectOrganization-Cec0G7mm.d.cts} +1 -1
- package/dist/{port-DyZ0GfxE.d.ts → port-Bhl_rn5k.d.ts} +3 -3
- package/dist/{port-B3UeC536.d.cts → port-CiDvXxG7.d.cts} +3 -3
- package/dist/{portal-CUwIsXsx.d.cts → portal-CL2Qtc-G.d.cts} +1 -1
- package/dist/{portal-DDOmQR1f.d.ts → portal-o9FhryoU.d.ts} +1 -1
- package/dist/{ports-DEkN-WfA.d.cts → ports-BTDZ9ydi.d.cts} +3 -3
- package/dist/{ports-YOhD5T7h.d.ts → ports-CCPhsr-V.d.ts} +3 -3
- package/dist/questions/index.cjs +7 -2
- package/dist/questions/index.cjs.map +1 -1
- package/dist/questions/index.d.cts +9 -9
- package/dist/questions/index.d.ts +9 -9
- package/dist/questions/index.js +7 -2
- package/dist/questions/index.js.map +1 -1
- package/dist/realtime/index.d.cts +3 -3
- package/dist/realtime/index.d.ts +3 -3
- package/dist/{record-zwSBU5PQ.d.cts → record-Bo1ahH3_.d.cts} +1 -1
- package/dist/{record-zwSBU5PQ.d.ts → record-Bo1ahH3_.d.ts} +1 -1
- package/dist/{relation-BbPDcXp5.d.cts → relation-BTww_Cby.d.cts} +2 -2
- package/dist/{relation-Dk9-VzY0.d.ts → relation-D8UmOxPh.d.ts} +2 -2
- package/dist/{rule-BVX1C83I.d.ts → rule-BojwTDvi.d.ts} +1 -1
- package/dist/{rule-CbBXN-FW.d.cts → rule-G4UQndi-.d.cts} +1 -1
- package/dist/search/index.d.cts +1 -1
- package/dist/search/index.d.ts +1 -1
- package/dist/seed-CQkIf8UR.d.cts +37 -0
- package/dist/seed-Dz8Hi2LZ.d.ts +37 -0
- package/dist/setup/index.d.cts +12 -12
- package/dist/setup/index.d.ts +12 -12
- package/dist/{subscription-BGgwsJ8c.d.ts → subscription-1ik9orQK.d.ts} +3 -3
- package/dist/{subscription-DVM2vL4e.d.cts → subscription-x61fFv_7.d.cts} +3 -3
- package/dist/{table-kind-BGokuDJj.d.ts → table-kind-C2bMlOaV.d.ts} +4 -4
- package/dist/{table-kind-C5ZLyOxE.d.cts → table-kind-C3PlCE9_.d.cts} +4 -4
- package/dist/templates/index.d.cts +10 -10
- package/dist/templates/index.d.ts +10 -10
- package/dist/typed-table/index.d.cts +10 -10
- package/dist/typed-table/index.d.ts +10 -10
- package/dist/{types-DB4J-zIt.d.ts → types-BBwIxf_z.d.ts} +2 -2
- package/dist/{types-reNR-zMe.d.cts → types-BTydwrlW.d.cts} +2 -2
- package/dist/{types-Bg1q6qwq.d.cts → types-C433sVT-.d.cts} +2 -2
- package/dist/{types-D31PewA2.d.ts → types-DYXymeSx.d.ts} +2 -2
- package/dist/{types-C3ywxkho.d.ts → types-Gur64NY0.d.ts} +2 -2
- package/dist/{types-DtEP7XLv.d.cts → types-_D768Jzt.d.cts} +2 -2
- package/dist/use-cases/index.d.cts +5 -5
- package/dist/use-cases/index.d.ts +5 -5
- package/dist/{validate-BWqeG2sK.d.ts → validate-BRfOuXKD.d.ts} +1 -1
- package/dist/{validate-QdnFP97_.d.cts → validate-CmZ93paU.d.cts} +1 -1
- package/dist/views/index.cjs +102 -0
- package/dist/views/index.cjs.map +1 -1
- package/dist/views/index.d.cts +51 -396
- package/dist/views/index.d.ts +51 -396
- package/dist/views/index.js +102 -0
- package/dist/views/index.js.map +1 -1
- package/dist/views-B156FsIH.d.cts +396 -0
- package/dist/views-Bny6SBX0.d.ts +396 -0
- package/package.json +12 -2
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { A as AggregateBucket } from '../subscription-
|
|
2
|
-
import { R as RecordsClient } from '../client-
|
|
3
|
-
import { F as Field } from '../field-
|
|
4
|
-
import { H as HiddenFieldNotice, U as Uuid, R as RecordsResult } from '../record-
|
|
5
|
-
import { R as RuleExpression } from '../rule-
|
|
6
|
-
import '../table-kind-
|
|
7
|
-
import '../ports-
|
|
8
|
-
import '../relation-
|
|
9
|
-
import '../portal-
|
|
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-
|
|
2
|
-
import { R as RecordsClient } from '../client-
|
|
3
|
-
import { F as Field } from '../field-
|
|
4
|
-
import { H as HiddenFieldNotice, U as Uuid, R as RecordsResult } from '../record-
|
|
5
|
-
import { R as RuleExpression } from '../rule-
|
|
6
|
-
import '../table-kind-
|
|
7
|
-
import '../ports-
|
|
8
|
-
import '../relation-
|
|
9
|
-
import '../portal-
|
|
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[];
|
package/dist/questions/index.js
CHANGED
|
@@ -229,12 +229,17 @@ var KERNEL_TABLES = [
|
|
|
229
229
|
{ id: "11111111-0000-4000-8000-000000000008", name: "Widget" }
|
|
230
230
|
];
|
|
231
231
|
|
|
232
|
-
// src/
|
|
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
|
|
242
|
+
return storeFieldKind(field);
|
|
238
243
|
}
|
|
239
244
|
function isNumericField(field) {
|
|
240
245
|
const kind = kindOf(field);
|