@ai-matrx/records 0.93.5 → 0.94.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.
Files changed (58) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/data/index.cjs +17 -0
  3. package/dist/data/index.cjs.map +1 -1
  4. package/dist/data/index.d.cts +2 -2
  5. package/dist/data/index.d.ts +2 -2
  6. package/dist/data/index.js +17 -0
  7. package/dist/data/index.js.map +1 -1
  8. package/dist/data/react.cjs +16 -3
  9. package/dist/data/react.cjs.map +1 -1
  10. package/dist/data/react.d.cts +10 -0
  11. package/dist/data/react.d.ts +10 -0
  12. package/dist/data/react.js +16 -3
  13. package/dist/data/react.js.map +1 -1
  14. package/dist/entity/index.cjs +1 -1
  15. package/dist/entity/index.cjs.map +1 -1
  16. package/dist/entity/index.d.cts +3 -3
  17. package/dist/entity/index.d.ts +3 -3
  18. package/dist/entity/index.js +1 -1
  19. package/dist/entity/index.js.map +1 -1
  20. package/dist/entity/react.cjs +1 -1
  21. package/dist/entity/react.cjs.map +1 -1
  22. package/dist/entity/react.d.cts +10 -0
  23. package/dist/entity/react.d.ts +10 -0
  24. package/dist/entity/react.js +1 -1
  25. package/dist/entity/react.js.map +1 -1
  26. package/dist/first-page/index.cjs +1 -0
  27. package/dist/first-page/index.cjs.map +1 -1
  28. package/dist/first-page/index.d.cts +6 -0
  29. package/dist/first-page/index.d.ts +6 -0
  30. package/dist/first-page/index.js +1 -0
  31. package/dist/first-page/index.js.map +1 -1
  32. package/dist/memory/index.cjs.map +1 -1
  33. package/dist/memory/index.js.map +1 -1
  34. package/dist/{port-DyZ0GfxE.d.ts → port-BNXXJINy.d.ts} +1 -1
  35. package/dist/{port-B3UeC536.d.cts → port-CEf9hsW4.d.cts} +1 -1
  36. package/dist/react/index.cjs +17 -0
  37. package/dist/react/index.cjs.map +1 -1
  38. package/dist/react/index.js +17 -0
  39. package/dist/react/index.js.map +1 -1
  40. package/dist/setup/index.cjs +1 -1
  41. package/dist/setup/index.cjs.map +1 -1
  42. package/dist/setup/index.d.cts +2 -2
  43. package/dist/setup/index.d.ts +2 -2
  44. package/dist/setup/index.js +1 -1
  45. package/dist/setup/index.js.map +1 -1
  46. package/dist/templates/index.cjs +1 -1
  47. package/dist/templates/index.cjs.map +1 -1
  48. package/dist/templates/index.d.cts +1 -1
  49. package/dist/templates/index.d.ts +1 -1
  50. package/dist/templates/index.js +1 -1
  51. package/dist/templates/index.js.map +1 -1
  52. package/dist/{types-DB4J-zIt.d.ts → types-Du4Q9Rvi.d.ts} +10 -0
  53. package/dist/{types-Bg1q6qwq.d.cts → types-Dxc8Pt7Y.d.cts} +10 -0
  54. package/dist/views/index.cjs +1 -0
  55. package/dist/views/index.cjs.map +1 -1
  56. package/dist/views/index.js +1 -0
  57. package/dist/views/index.js.map +1 -1
  58. package/package.json +4 -4
@@ -1,6 +1,6 @@
1
1
  import { RealtimeManager } from '@ai-matrx/realtime';
2
2
  import { R as RecordsClient } from '../client-CEX4WdvX.cjs';
3
- import { C as CreateEntityDataPortOptions, E as EntityDataPort } from '../port-B3UeC536.cjs';
3
+ import { C as CreateEntityDataPortOptions, E as EntityDataPort } from '../port-CEf9hsW4.cjs';
4
4
  import { R as RecordOrganizationPort, O as ObjectOrganizationAnswer } from '../objectOrganization-CDAoE7Ft.cjs';
5
5
  import { a as RecordsConfig, b as RowAgentPort, c as RecordsErrorSink, d as RecordsDataSource, e as RecordsChangeSink, f as RowAgentTarget } from '../ports-DEkN-WfA.cjs';
6
6
  import { U as Uuid, R as RecordsResult } from '../record-zwSBU5PQ.cjs';
@@ -11,7 +11,7 @@ import '../subscription-ycCVo9e2.cjs';
11
11
  import '../rule-CbBXN-FW.cjs';
12
12
  import '../relation-BbPDcXp5.cjs';
13
13
  import '../portal-CUwIsXsx.cjs';
14
- import '../types-Bg1q6qwq.cjs';
14
+ import '../types-Dxc8Pt7Y.cjs';
15
15
 
16
16
  /** A signed-in database identity: the client every door and live change rides, and who it is. */
17
17
  interface RecordsSession {
@@ -1,6 +1,6 @@
1
1
  import { RealtimeManager } from '@ai-matrx/realtime';
2
2
  import { R as RecordsClient } from '../client-DQWdJeFM.js';
3
- import { C as CreateEntityDataPortOptions, E as EntityDataPort } from '../port-DyZ0GfxE.js';
3
+ import { C as CreateEntityDataPortOptions, E as EntityDataPort } from '../port-BNXXJINy.js';
4
4
  import { R as RecordOrganizationPort, O as ObjectOrganizationAnswer } from '../objectOrganization-IBxZqFZQ.js';
5
5
  import { a as RecordsConfig, b as RowAgentPort, c as RecordsErrorSink, d as RecordsDataSource, e as RecordsChangeSink, f as RowAgentTarget } from '../ports-YOhD5T7h.js';
6
6
  import { U as Uuid, R as RecordsResult } from '../record-zwSBU5PQ.js';
@@ -11,7 +11,7 @@ import '../subscription-DucBLG-Y.js';
11
11
  import '../rule-BVX1C83I.js';
12
12
  import '../relation-Dk9-VzY0.js';
13
13
  import '../portal-DDOmQR1f.js';
14
- import '../types-DB4J-zIt.js';
14
+ import '../types-Du4Q9Rvi.js';
15
15
 
16
16
  /** A signed-in database identity: the client every door and live change rides, and who it is. */
17
17
  interface RecordsSession {
@@ -6517,7 +6517,7 @@ function createEntityDataPort(options) {
6517
6517
  }
6518
6518
  const wire = toWire(q, customKeys);
6519
6519
  if (binding.organizationId) wire.scope = { ...wire.scope, organization_id: binding.organizationId };
6520
- const answer = await client.list({ token: binding.token, ...wire, after: cursor ?? null });
6520
+ const answer = await client.list({ token: binding.token, ...wire, after: cursor ?? null, ...q.archived === true ? { archived: "archived" } : {} });
6521
6521
  if (!answer.ok) return answer;
6522
6522
  const { data } = answer;
6523
6523
  if (data.sort_ignored.length > 0) {