@happyvertical/smrt-products 0.36.8 → 0.37.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.
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "version": "1.0.0",
3
- "timestamp": 1782522898684,
3
+ "timestamp": 1782683509257,
4
4
  "packageName": "@happyvertical/smrt-products",
5
- "packageVersion": "0.36.8",
5
+ "packageVersion": "0.37.0",
6
6
  "objects": {
7
7
  "@happyvertical/smrt-products:CategoryCollection": {
8
8
  "name": "categorycollection",
@@ -939,7 +939,7 @@
939
939
  "parameters": [
940
940
  {
941
941
  "name": "data",
942
- "type": "any",
942
+ "type": "Record<string>",
943
943
  "optional": false
944
944
  }
945
945
  ],
@@ -951,7 +951,7 @@
951
951
  "name": "getFields",
952
952
  "async": true,
953
953
  "parameters": [],
954
- "returnType": "any",
954
+ "returnType": "Promise<any>",
955
955
  "isStatic": false,
956
956
  "isPublic": true
957
957
  },
@@ -1060,7 +1060,7 @@
1060
1060
  },
1061
1061
  {
1062
1062
  "name": "options",
1063
- "type": "any",
1063
+ "type": "AiOperationOptions",
1064
1064
  "optional": true
1065
1065
  }
1066
1066
  ],
@@ -1079,7 +1079,7 @@
1079
1079
  },
1080
1080
  {
1081
1081
  "name": "options",
1082
- "type": "any",
1082
+ "type": "AiOperationOptions",
1083
1083
  "optional": true
1084
1084
  }
1085
1085
  ],
@@ -1093,7 +1093,7 @@
1093
1093
  "parameters": [
1094
1094
  {
1095
1095
  "name": "options",
1096
- "type": "any",
1096
+ "type": "AiOperationOptions",
1097
1097
  "optional": true
1098
1098
  }
1099
1099
  ],
@@ -1123,6 +1123,25 @@
1123
1123
  "isStatic": false,
1124
1124
  "isPublic": true
1125
1125
  },
1126
+ "_setLoadedRelationship": {
1127
+ "name": "_setLoadedRelationship",
1128
+ "async": false,
1129
+ "parameters": [
1130
+ {
1131
+ "name": "fieldName",
1132
+ "type": "string",
1133
+ "optional": false
1134
+ },
1135
+ {
1136
+ "name": "value",
1137
+ "type": "any",
1138
+ "optional": false
1139
+ }
1140
+ ],
1141
+ "returnType": "void",
1142
+ "isStatic": false,
1143
+ "isPublic": true
1144
+ },
1126
1145
  "loadRelated": {
1127
1146
  "name": "loadRelated",
1128
1147
  "async": true,
@@ -1226,7 +1245,7 @@
1226
1245
  "optional": false
1227
1246
  }
1228
1247
  ],
1229
- "returnType": "Promise<any | null>",
1248
+ "returnType": "Promise",
1230
1249
  "isStatic": false,
1231
1250
  "isPublic": true
1232
1251
  },
@@ -1240,7 +1259,7 @@
1240
1259
  "optional": true
1241
1260
  }
1242
1261
  ],
1243
- "returnType": "Promise<Map<string, any>>",
1262
+ "returnType": "Promise<Map<string>>",
1244
1263
  "isStatic": false,
1245
1264
  "isPublic": true
1246
1265
  },
@@ -1638,7 +1657,7 @@
1638
1657
  "parameters": [
1639
1658
  {
1640
1659
  "name": "data",
1641
- "type": "any",
1660
+ "type": "Record<string>",
1642
1661
  "optional": false
1643
1662
  }
1644
1663
  ],
@@ -1650,7 +1669,7 @@
1650
1669
  "name": "getFields",
1651
1670
  "async": true,
1652
1671
  "parameters": [],
1653
- "returnType": "any",
1672
+ "returnType": "Promise<any>",
1654
1673
  "isStatic": false,
1655
1674
  "isPublic": true
1656
1675
  },
@@ -1759,7 +1778,7 @@
1759
1778
  },
1760
1779
  {
1761
1780
  "name": "options",
1762
- "type": "any",
1781
+ "type": "AiOperationOptions",
1763
1782
  "optional": true
1764
1783
  }
1765
1784
  ],
@@ -1778,7 +1797,7 @@
1778
1797
  },
1779
1798
  {
1780
1799
  "name": "options",
1781
- "type": "any",
1800
+ "type": "AiOperationOptions",
1782
1801
  "optional": true
1783
1802
  }
1784
1803
  ],
@@ -1792,7 +1811,7 @@
1792
1811
  "parameters": [
1793
1812
  {
1794
1813
  "name": "options",
1795
- "type": "any",
1814
+ "type": "AiOperationOptions",
1796
1815
  "optional": true
1797
1816
  }
1798
1817
  ],
@@ -1822,6 +1841,25 @@
1822
1841
  "isStatic": false,
1823
1842
  "isPublic": true
1824
1843
  },
1844
+ "_setLoadedRelationship": {
1845
+ "name": "_setLoadedRelationship",
1846
+ "async": false,
1847
+ "parameters": [
1848
+ {
1849
+ "name": "fieldName",
1850
+ "type": "string",
1851
+ "optional": false
1852
+ },
1853
+ {
1854
+ "name": "value",
1855
+ "type": "any",
1856
+ "optional": false
1857
+ }
1858
+ ],
1859
+ "returnType": "void",
1860
+ "isStatic": false,
1861
+ "isPublic": true
1862
+ },
1825
1863
  "loadRelated": {
1826
1864
  "name": "loadRelated",
1827
1865
  "async": true,
@@ -1925,7 +1963,7 @@
1925
1963
  "optional": false
1926
1964
  }
1927
1965
  ],
1928
- "returnType": "Promise<any | null>",
1966
+ "returnType": "Promise",
1929
1967
  "isStatic": false,
1930
1968
  "isPublic": true
1931
1969
  },
@@ -1939,7 +1977,7 @@
1939
1977
  "optional": true
1940
1978
  }
1941
1979
  ],
1942
- "returnType": "Promise<Map<string, any>>",
1980
+ "returnType": "Promise<Map<string>>",
1943
1981
  "isStatic": false,
1944
1982
  "isPublic": true
1945
1983
  },
@@ -2416,7 +2454,7 @@
2416
2454
  "parameters": [
2417
2455
  {
2418
2456
  "name": "data",
2419
- "type": "any",
2457
+ "type": "Record<string>",
2420
2458
  "optional": false
2421
2459
  }
2422
2460
  ],
@@ -2428,7 +2466,7 @@
2428
2466
  "name": "getFields",
2429
2467
  "async": true,
2430
2468
  "parameters": [],
2431
- "returnType": "any",
2469
+ "returnType": "Promise<any>",
2432
2470
  "isStatic": false,
2433
2471
  "isPublic": true
2434
2472
  },
@@ -2537,7 +2575,7 @@
2537
2575
  },
2538
2576
  {
2539
2577
  "name": "options",
2540
- "type": "any",
2578
+ "type": "AiOperationOptions",
2541
2579
  "optional": true
2542
2580
  }
2543
2581
  ],
@@ -2556,7 +2594,7 @@
2556
2594
  },
2557
2595
  {
2558
2596
  "name": "options",
2559
- "type": "any",
2597
+ "type": "AiOperationOptions",
2560
2598
  "optional": true
2561
2599
  }
2562
2600
  ],
@@ -2570,7 +2608,7 @@
2570
2608
  "parameters": [
2571
2609
  {
2572
2610
  "name": "options",
2573
- "type": "any",
2611
+ "type": "AiOperationOptions",
2574
2612
  "optional": true
2575
2613
  }
2576
2614
  ],
@@ -2600,6 +2638,25 @@
2600
2638
  "isStatic": false,
2601
2639
  "isPublic": true
2602
2640
  },
2641
+ "_setLoadedRelationship": {
2642
+ "name": "_setLoadedRelationship",
2643
+ "async": false,
2644
+ "parameters": [
2645
+ {
2646
+ "name": "fieldName",
2647
+ "type": "string",
2648
+ "optional": false
2649
+ },
2650
+ {
2651
+ "name": "value",
2652
+ "type": "any",
2653
+ "optional": false
2654
+ }
2655
+ ],
2656
+ "returnType": "void",
2657
+ "isStatic": false,
2658
+ "isPublic": true
2659
+ },
2603
2660
  "loadRelated": {
2604
2661
  "name": "loadRelated",
2605
2662
  "async": true,
@@ -2703,7 +2760,7 @@
2703
2760
  "optional": false
2704
2761
  }
2705
2762
  ],
2706
- "returnType": "Promise<any | null>",
2763
+ "returnType": "Promise",
2707
2764
  "isStatic": false,
2708
2765
  "isPublic": true
2709
2766
  },
@@ -2717,7 +2774,7 @@
2717
2774
  "optional": true
2718
2775
  }
2719
2776
  ],
2720
- "returnType": "Promise<Map<string, any>>",
2777
+ "returnType": "Promise<Map<string>>",
2721
2778
  "isStatic": false,
2722
2779
  "isPublic": true
2723
2780
  },
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "generatedAt": "2026-06-27T01:14:59.288Z",
3
+ "generatedAt": "2026-06-28T21:51:50.490Z",
4
4
  "packageName": "@happyvertical/smrt-products",
5
- "packageVersion": "0.36.8",
5
+ "packageVersion": "0.37.0",
6
6
  "sourceManifestPath": "dist/lib/manifest.json",
7
7
  "agentDocPath": "AGENTS.md",
8
8
  "sourceHashes": {
9
- "manifest": "3e6eb63c82e65311c0c9d0f5d996c58c2b6e221b2abd8a7857b16493e274762c",
10
- "packageJson": "197651096ad6db1df0886be4799bf4a75284db4b8140d82bda1acda1edf78639",
9
+ "manifest": "bddbd95ed7a4467602172668eda87b38d03c5827faaf16498fff0f73f7e3ea42",
10
+ "packageJson": "67b962531290c6e7bc96b623a680cea724a76aae139d64b14e00b34ba87e9f12",
11
11
  "agents": "ede6063b72600b84908e1e32216fbbdd69d70d309f0b23c2add338ad080702d4"
12
12
  },
13
13
  "exports": [
@@ -271,6 +271,7 @@
271
271
  }
272
272
  ],
273
273
  "methods": [
274
+ "_setLoadedRelationship",
274
275
  "classifyConstraintError",
275
276
  "clearEmbeddings",
276
277
  "delete",
@@ -498,6 +499,7 @@
498
499
  ],
499
500
  "relationships": [],
500
501
  "methods": [
502
+ "_setLoadedRelationship",
501
503
  "addAsset",
502
504
  "classifyConstraintError",
503
505
  "clearEmbeddings",
@@ -714,6 +716,7 @@
714
716
  ],
715
717
  "relationships": [],
716
718
  "methods": [
719
+ "_setLoadedRelationship",
717
720
  "addAsset",
718
721
  "classifyConstraintError",
719
722
  "clearEmbeddings",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@happyvertical/smrt-products",
3
- "version": "0.36.8",
3
+ "version": "0.37.0",
4
4
  "description": "SMRT products module: triple-purpose microservice template for standalone apps, federated modules, and NPM libraries",
5
5
  "author": "HappyVertical",
6
6
  "type": "module",
@@ -55,11 +55,11 @@
55
55
  "@happyvertical/utils": "^0.74.10",
56
56
  "cors": "^2.8.5",
57
57
  "express": "^5.2.1",
58
- "@happyvertical/smrt-assets": "0.36.8",
59
- "@happyvertical/smrt-core": "0.36.8",
60
- "@happyvertical/smrt-scanner": "0.36.8",
61
- "@happyvertical/smrt-tenancy": "0.36.8",
62
- "@happyvertical/smrt-ui": "0.36.8"
58
+ "@happyvertical/smrt-assets": "0.37.0",
59
+ "@happyvertical/smrt-tenancy": "0.37.0",
60
+ "@happyvertical/smrt-core": "0.37.0",
61
+ "@happyvertical/smrt-ui": "0.37.0",
62
+ "@happyvertical/smrt-scanner": "0.37.0"
63
63
  },
64
64
  "peerDependencies": {
65
65
  "svelte": "^5.46.4"
@@ -82,7 +82,7 @@
82
82
  "typescript": "^5.9.3",
83
83
  "vite": "^7.3.1",
84
84
  "vitest": "^4.0.17",
85
- "@happyvertical/smrt-vitest": "0.36.8"
85
+ "@happyvertical/smrt-vitest": "0.37.0"
86
86
  },
87
87
  "keywords": [
88
88
  "smrt",