@happyvertical/smrt-analytics 0.36.8 → 0.37.1

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": 1782522887162,
3
+ "timestamp": 1782792485083,
4
4
  "packageName": "@happyvertical/smrt-analytics",
5
- "packageVersion": "0.36.8",
5
+ "packageVersion": "0.37.1",
6
6
  "objects": {
7
7
  "@happyvertical/smrt-analytics:AnalyticsDataStreamCollection": {
8
8
  "name": "analyticsdatastreamcollection",
@@ -1038,7 +1038,7 @@
1038
1038
  "parameters": [
1039
1039
  {
1040
1040
  "name": "data",
1041
- "type": "any",
1041
+ "type": "Record<string>",
1042
1042
  "optional": false
1043
1043
  }
1044
1044
  ],
@@ -1050,7 +1050,7 @@
1050
1050
  "name": "getFields",
1051
1051
  "async": true,
1052
1052
  "parameters": [],
1053
- "returnType": "any",
1053
+ "returnType": "Promise<any>",
1054
1054
  "isStatic": false,
1055
1055
  "isPublic": true
1056
1056
  },
@@ -1159,7 +1159,7 @@
1159
1159
  },
1160
1160
  {
1161
1161
  "name": "options",
1162
- "type": "any",
1162
+ "type": "AiOperationOptions",
1163
1163
  "optional": true
1164
1164
  }
1165
1165
  ],
@@ -1178,7 +1178,7 @@
1178
1178
  },
1179
1179
  {
1180
1180
  "name": "options",
1181
- "type": "any",
1181
+ "type": "AiOperationOptions",
1182
1182
  "optional": true
1183
1183
  }
1184
1184
  ],
@@ -1192,7 +1192,7 @@
1192
1192
  "parameters": [
1193
1193
  {
1194
1194
  "name": "options",
1195
- "type": "any",
1195
+ "type": "AiOperationOptions",
1196
1196
  "optional": true
1197
1197
  }
1198
1198
  ],
@@ -1222,6 +1222,25 @@
1222
1222
  "isStatic": false,
1223
1223
  "isPublic": true
1224
1224
  },
1225
+ "_setLoadedRelationship": {
1226
+ "name": "_setLoadedRelationship",
1227
+ "async": false,
1228
+ "parameters": [
1229
+ {
1230
+ "name": "fieldName",
1231
+ "type": "string",
1232
+ "optional": false
1233
+ },
1234
+ {
1235
+ "name": "value",
1236
+ "type": "any",
1237
+ "optional": false
1238
+ }
1239
+ ],
1240
+ "returnType": "void",
1241
+ "isStatic": false,
1242
+ "isPublic": true
1243
+ },
1225
1244
  "loadRelated": {
1226
1245
  "name": "loadRelated",
1227
1246
  "async": true,
@@ -1325,7 +1344,7 @@
1325
1344
  "optional": false
1326
1345
  }
1327
1346
  ],
1328
- "returnType": "Promise<any | null>",
1347
+ "returnType": "Promise",
1329
1348
  "isStatic": false,
1330
1349
  "isPublic": true
1331
1350
  },
@@ -1339,7 +1358,7 @@
1339
1358
  "optional": true
1340
1359
  }
1341
1360
  ],
1342
- "returnType": "Promise<Map<string, any>>",
1361
+ "returnType": "Promise<Map<string>>",
1343
1362
  "isStatic": false,
1344
1363
  "isPublic": true
1345
1364
  },
@@ -1794,7 +1813,7 @@
1794
1813
  "parameters": [
1795
1814
  {
1796
1815
  "name": "data",
1797
- "type": "any",
1816
+ "type": "Record<string>",
1798
1817
  "optional": false
1799
1818
  }
1800
1819
  ],
@@ -1806,7 +1825,7 @@
1806
1825
  "name": "getFields",
1807
1826
  "async": true,
1808
1827
  "parameters": [],
1809
- "returnType": "any",
1828
+ "returnType": "Promise<any>",
1810
1829
  "isStatic": false,
1811
1830
  "isPublic": true
1812
1831
  },
@@ -1915,7 +1934,7 @@
1915
1934
  },
1916
1935
  {
1917
1936
  "name": "options",
1918
- "type": "any",
1937
+ "type": "AiOperationOptions",
1919
1938
  "optional": true
1920
1939
  }
1921
1940
  ],
@@ -1934,7 +1953,7 @@
1934
1953
  },
1935
1954
  {
1936
1955
  "name": "options",
1937
- "type": "any",
1956
+ "type": "AiOperationOptions",
1938
1957
  "optional": true
1939
1958
  }
1940
1959
  ],
@@ -1948,7 +1967,7 @@
1948
1967
  "parameters": [
1949
1968
  {
1950
1969
  "name": "options",
1951
- "type": "any",
1970
+ "type": "AiOperationOptions",
1952
1971
  "optional": true
1953
1972
  }
1954
1973
  ],
@@ -1978,6 +1997,25 @@
1978
1997
  "isStatic": false,
1979
1998
  "isPublic": true
1980
1999
  },
2000
+ "_setLoadedRelationship": {
2001
+ "name": "_setLoadedRelationship",
2002
+ "async": false,
2003
+ "parameters": [
2004
+ {
2005
+ "name": "fieldName",
2006
+ "type": "string",
2007
+ "optional": false
2008
+ },
2009
+ {
2010
+ "name": "value",
2011
+ "type": "any",
2012
+ "optional": false
2013
+ }
2014
+ ],
2015
+ "returnType": "void",
2016
+ "isStatic": false,
2017
+ "isPublic": true
2018
+ },
1981
2019
  "loadRelated": {
1982
2020
  "name": "loadRelated",
1983
2021
  "async": true,
@@ -2081,7 +2119,7 @@
2081
2119
  "optional": false
2082
2120
  }
2083
2121
  ],
2084
- "returnType": "Promise<any | null>",
2122
+ "returnType": "Promise",
2085
2123
  "isStatic": false,
2086
2124
  "isPublic": true
2087
2125
  },
@@ -2095,7 +2133,7 @@
2095
2133
  "optional": true
2096
2134
  }
2097
2135
  ],
2098
- "returnType": "Promise<Map<string, any>>",
2136
+ "returnType": "Promise<Map<string>>",
2099
2137
  "isStatic": false,
2100
2138
  "isPublic": true
2101
2139
  },
@@ -2641,7 +2679,7 @@
2641
2679
  "parameters": [
2642
2680
  {
2643
2681
  "name": "data",
2644
- "type": "any",
2682
+ "type": "Record<string>",
2645
2683
  "optional": false
2646
2684
  }
2647
2685
  ],
@@ -2653,7 +2691,7 @@
2653
2691
  "name": "getFields",
2654
2692
  "async": true,
2655
2693
  "parameters": [],
2656
- "returnType": "any",
2694
+ "returnType": "Promise<any>",
2657
2695
  "isStatic": false,
2658
2696
  "isPublic": true
2659
2697
  },
@@ -2762,7 +2800,7 @@
2762
2800
  },
2763
2801
  {
2764
2802
  "name": "options",
2765
- "type": "any",
2803
+ "type": "AiOperationOptions",
2766
2804
  "optional": true
2767
2805
  }
2768
2806
  ],
@@ -2781,7 +2819,7 @@
2781
2819
  },
2782
2820
  {
2783
2821
  "name": "options",
2784
- "type": "any",
2822
+ "type": "AiOperationOptions",
2785
2823
  "optional": true
2786
2824
  }
2787
2825
  ],
@@ -2795,7 +2833,7 @@
2795
2833
  "parameters": [
2796
2834
  {
2797
2835
  "name": "options",
2798
- "type": "any",
2836
+ "type": "AiOperationOptions",
2799
2837
  "optional": true
2800
2838
  }
2801
2839
  ],
@@ -2825,6 +2863,25 @@
2825
2863
  "isStatic": false,
2826
2864
  "isPublic": true
2827
2865
  },
2866
+ "_setLoadedRelationship": {
2867
+ "name": "_setLoadedRelationship",
2868
+ "async": false,
2869
+ "parameters": [
2870
+ {
2871
+ "name": "fieldName",
2872
+ "type": "string",
2873
+ "optional": false
2874
+ },
2875
+ {
2876
+ "name": "value",
2877
+ "type": "any",
2878
+ "optional": false
2879
+ }
2880
+ ],
2881
+ "returnType": "void",
2882
+ "isStatic": false,
2883
+ "isPublic": true
2884
+ },
2828
2885
  "loadRelated": {
2829
2886
  "name": "loadRelated",
2830
2887
  "async": true,
@@ -2928,7 +2985,7 @@
2928
2985
  "optional": false
2929
2986
  }
2930
2987
  ],
2931
- "returnType": "Promise<any | null>",
2988
+ "returnType": "Promise",
2932
2989
  "isStatic": false,
2933
2990
  "isPublic": true
2934
2991
  },
@@ -2942,7 +2999,7 @@
2942
2999
  "optional": true
2943
3000
  }
2944
3001
  ],
2945
- "returnType": "Promise<Map<string, any>>",
3002
+ "returnType": "Promise<Map<string>>",
2946
3003
  "isStatic": false,
2947
3004
  "isPublic": true
2948
3005
  },
@@ -3458,7 +3515,7 @@
3458
3515
  "parameters": [
3459
3516
  {
3460
3517
  "name": "data",
3461
- "type": "any",
3518
+ "type": "Record<string>",
3462
3519
  "optional": false
3463
3520
  }
3464
3521
  ],
@@ -3470,7 +3527,7 @@
3470
3527
  "name": "getFields",
3471
3528
  "async": true,
3472
3529
  "parameters": [],
3473
- "returnType": "any",
3530
+ "returnType": "Promise<any>",
3474
3531
  "isStatic": false,
3475
3532
  "isPublic": true
3476
3533
  },
@@ -3579,7 +3636,7 @@
3579
3636
  },
3580
3637
  {
3581
3638
  "name": "options",
3582
- "type": "any",
3639
+ "type": "AiOperationOptions",
3583
3640
  "optional": true
3584
3641
  }
3585
3642
  ],
@@ -3598,7 +3655,7 @@
3598
3655
  },
3599
3656
  {
3600
3657
  "name": "options",
3601
- "type": "any",
3658
+ "type": "AiOperationOptions",
3602
3659
  "optional": true
3603
3660
  }
3604
3661
  ],
@@ -3612,7 +3669,7 @@
3612
3669
  "parameters": [
3613
3670
  {
3614
3671
  "name": "options",
3615
- "type": "any",
3672
+ "type": "AiOperationOptions",
3616
3673
  "optional": true
3617
3674
  }
3618
3675
  ],
@@ -3642,6 +3699,25 @@
3642
3699
  "isStatic": false,
3643
3700
  "isPublic": true
3644
3701
  },
3702
+ "_setLoadedRelationship": {
3703
+ "name": "_setLoadedRelationship",
3704
+ "async": false,
3705
+ "parameters": [
3706
+ {
3707
+ "name": "fieldName",
3708
+ "type": "string",
3709
+ "optional": false
3710
+ },
3711
+ {
3712
+ "name": "value",
3713
+ "type": "any",
3714
+ "optional": false
3715
+ }
3716
+ ],
3717
+ "returnType": "void",
3718
+ "isStatic": false,
3719
+ "isPublic": true
3720
+ },
3645
3721
  "loadRelated": {
3646
3722
  "name": "loadRelated",
3647
3723
  "async": true,
@@ -3745,7 +3821,7 @@
3745
3821
  "optional": false
3746
3822
  }
3747
3823
  ],
3748
- "returnType": "Promise<any | null>",
3824
+ "returnType": "Promise",
3749
3825
  "isStatic": false,
3750
3826
  "isPublic": true
3751
3827
  },
@@ -3759,7 +3835,7 @@
3759
3835
  "optional": true
3760
3836
  }
3761
3837
  ],
3762
- "returnType": "Promise<Map<string, any>>",
3838
+ "returnType": "Promise<Map<string>>",
3763
3839
  "isStatic": false,
3764
3840
  "isPublic": true
3765
3841
  },
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "generatedAt": "2026-06-27T01:14:47.713Z",
3
+ "generatedAt": "2026-06-30T04:08:07.244Z",
4
4
  "packageName": "@happyvertical/smrt-analytics",
5
- "packageVersion": "0.36.8",
5
+ "packageVersion": "0.37.1",
6
6
  "sourceManifestPath": "dist/manifest.json",
7
7
  "agentDocPath": "AGENTS.md",
8
8
  "sourceHashes": {
9
- "manifest": "804a36a7cddf5621c752cc91a067c2ac6f57209b869b40b9a5d477be540fbd63",
10
- "packageJson": "5444ae574cc4e82968c36290565b2a8271bb9272ee6bcd55e02993c6107baa44",
9
+ "manifest": "98ef008ece633b494bd349e8226be3a16328609e821d5d16c5b8eb45e0ce29ab",
10
+ "packageJson": "6e9d32fa099a70bf52b421b0176a081c26d749739854bbe3f131920d53c557d6",
11
11
  "agents": "c529837279bd11914a91124b475e177a17fab2a572cc5341589a4d4f122f6b8b"
12
12
  },
13
13
  "exports": [
@@ -32,7 +32,7 @@
32
32
  "svelte-check": "^4.3.5",
33
33
  "svelte": "^5.18.0",
34
34
  "typescript": "^5.9.3",
35
- "vite": "^7.3.1",
35
+ "vite": "^7.3.6",
36
36
  "vitest": "^4.0.17"
37
37
  },
38
38
  "smrtDependencies": [
@@ -274,6 +274,7 @@
274
274
  }
275
275
  ],
276
276
  "methods": [
277
+ "_setLoadedRelationship",
277
278
  "classifyConstraintError",
278
279
  "clearEmbeddings",
279
280
  "delete",
@@ -536,6 +537,7 @@
536
537
  }
537
538
  ],
538
539
  "methods": [
540
+ "_setLoadedRelationship",
539
541
  "addParam",
540
542
  "classifyConstraintError",
541
543
  "clearEmbeddings",
@@ -780,6 +782,7 @@
780
782
  ],
781
783
  "relationships": [],
782
784
  "methods": [
785
+ "_setLoadedRelationship",
783
786
  "analyzePerformance",
784
787
  "classifyConstraintError",
785
788
  "clearEmbeddings",
@@ -1068,6 +1071,7 @@
1068
1071
  }
1069
1072
  ],
1070
1073
  "methods": [
1074
+ "_setLoadedRelationship",
1071
1075
  "analyzeResults",
1072
1076
  "calculateNextRun",
1073
1077
  "classifyConstraintError",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@happyvertical/smrt-analytics",
3
- "version": "0.36.8",
3
+ "version": "0.37.1",
4
4
  "description": "Analytics integration models for SMRT framework",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -32,11 +32,11 @@
32
32
  }
33
33
  },
34
34
  "dependencies": {
35
- "@happyvertical/smrt-core": "0.36.8",
36
- "@happyvertical/smrt-prompts": "0.36.8",
37
- "@happyvertical/smrt-tenancy": "0.36.8",
38
- "@happyvertical/smrt-ui": "0.36.8",
39
- "@happyvertical/smrt-types": "0.36.8"
35
+ "@happyvertical/smrt-core": "0.37.1",
36
+ "@happyvertical/smrt-prompts": "0.37.1",
37
+ "@happyvertical/smrt-tenancy": "0.37.1",
38
+ "@happyvertical/smrt-types": "0.37.1",
39
+ "@happyvertical/smrt-ui": "0.37.1"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "svelte": "^5.18.0"
@@ -54,9 +54,9 @@
54
54
  "svelte-check": "^4.3.5",
55
55
  "svelte": "^5.18.0",
56
56
  "typescript": "^5.9.3",
57
- "vite": "^7.3.1",
57
+ "vite": "^7.3.6",
58
58
  "vitest": "^4.0.17",
59
- "@happyvertical/smrt-vitest": "0.36.8"
59
+ "@happyvertical/smrt-vitest": "0.37.1"
60
60
  },
61
61
  "keywords": [
62
62
  "ai",