@happyvertical/smrt-analytics 0.60.9 → 0.60.11

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.
@@ -2,7 +2,7 @@
2
2
  "version": "1.0.0",
3
3
  "timestamp": 0,
4
4
  "packageName": "@happyvertical/smrt-analytics",
5
- "packageVersion": "0.60.9",
5
+ "packageVersion": "0.60.11",
6
6
  "objects": {
7
7
  "@happyvertical/smrt-analytics:AnalyticsDataStreamCollection": {
8
8
  "name": "analyticsdatastreamcollection",
@@ -165,8 +165,14 @@
165
165
  ],
166
166
  "schema": {
167
167
  "tableName": "analytics_data_streams",
168
- "ddl": "CREATE TABLE IF NOT EXISTS \"analytics_data_streams\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"property_id\" UUID,\n \"display_name\" TEXT DEFAULT '',\n \"stream_type\" TEXT,\n \"external_id\" TEXT DEFAULT '',\n \"measurement_id\" TEXT DEFAULT '',\n \"firebase_app_id\" TEXT DEFAULT '',\n \"default_uri\" TEXT DEFAULT '',\n \"bundle_id\" TEXT DEFAULT '',\n \"package_name\" TEXT DEFAULT '',\n \"status\" TEXT,\n \"enhanced_measurement\" BOOLEAN DEFAULT TRUE\n);",
168
+ "ddl": "CREATE TABLE IF NOT EXISTS \"analytics_data_streams\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"property_id\" UUID,\n \"display_name\" TEXT DEFAULT '',\n \"stream_type\" TEXT,\n \"external_id\" TEXT DEFAULT '',\n \"measurement_id\" TEXT DEFAULT '',\n \"firebase_app_id\" TEXT DEFAULT '',\n \"default_uri\" TEXT DEFAULT '',\n \"bundle_id\" TEXT DEFAULT '',\n \"package_name\" TEXT DEFAULT '',\n \"status\" TEXT,\n \"enhanced_measurement\" BOOLEAN DEFAULT TRUE\n);",
169
169
  "columns": {
170
+ "_sync_origin_device_id": {
171
+ "type": "TEXT"
172
+ },
173
+ "_sync_revision": {
174
+ "type": "INTEGER"
175
+ },
170
176
  "id": {
171
177
  "type": "UUID",
172
178
  "primaryKey": true,
@@ -297,7 +303,7 @@
297
303
  ]
298
304
  }
299
305
  ],
300
- "version": "851609ba"
306
+ "version": "547079cd"
301
307
  },
302
308
  "importPath": "@happyvertical/smrt-analytics"
303
309
  },
@@ -584,8 +590,14 @@
584
590
  ],
585
591
  "schema": {
586
592
  "tableName": "analytics_events",
587
- "ddl": "CREATE TABLE IF NOT EXISTS \"analytics_events\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"property_id\" UUID,\n \"event_name\" TEXT DEFAULT '',\n \"client_id\" TEXT DEFAULT '',\n \"user_id\" TEXT DEFAULT '',\n \"params\" TEXT DEFAULT '{}',\n \"event_timestamp\" TIMESTAMP,\n \"status\" TEXT,\n \"sent_at\" TIMESTAMP,\n \"error_message\" TEXT DEFAULT '',\n \"retry_count\" INTEGER DEFAULT 0,\n \"non_personalized_ads\" BOOLEAN DEFAULT FALSE,\n \"session_id\" TEXT DEFAULT '',\n \"page_path\" TEXT DEFAULT '',\n \"page_title\" TEXT DEFAULT '',\n \"user_agent\" TEXT DEFAULT '',\n \"ip_address\" TEXT DEFAULT ''\n);",
593
+ "ddl": "CREATE TABLE IF NOT EXISTS \"analytics_events\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"property_id\" UUID,\n \"event_name\" TEXT DEFAULT '',\n \"client_id\" TEXT DEFAULT '',\n \"user_id\" TEXT DEFAULT '',\n \"params\" TEXT DEFAULT '{}',\n \"event_timestamp\" TIMESTAMP,\n \"status\" TEXT,\n \"sent_at\" TIMESTAMP,\n \"error_message\" TEXT DEFAULT '',\n \"retry_count\" INTEGER DEFAULT 0,\n \"non_personalized_ads\" BOOLEAN DEFAULT FALSE,\n \"session_id\" TEXT DEFAULT '',\n \"page_path\" TEXT DEFAULT '',\n \"page_title\" TEXT DEFAULT '',\n \"user_agent\" TEXT DEFAULT '',\n \"ip_address\" TEXT DEFAULT ''\n);",
588
594
  "columns": {
595
+ "_sync_origin_device_id": {
596
+ "type": "TEXT"
597
+ },
598
+ "_sync_revision": {
599
+ "type": "INTEGER"
600
+ },
589
601
  "id": {
590
602
  "type": "UUID",
591
603
  "primaryKey": true,
@@ -740,7 +752,7 @@
740
752
  ]
741
753
  }
742
754
  ],
743
- "version": "bee09e1d"
755
+ "version": "3178d25a"
744
756
  },
745
757
  "importPath": "@happyvertical/smrt-analytics"
746
758
  },
@@ -902,8 +914,14 @@
902
914
  ],
903
915
  "schema": {
904
916
  "tableName": "analytics_properties",
905
- "ddl": "CREATE TABLE IF NOT EXISTS \"analytics_properties\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"name\" TEXT DEFAULT '',\n \"display_name\" TEXT DEFAULT '',\n \"provider\" TEXT,\n \"external_id\" TEXT DEFAULT '',\n \"measurement_id\" TEXT DEFAULT '',\n \"api_secret\" TEXT DEFAULT '',\n \"site_domain\" TEXT DEFAULT '',\n \"time_zone\" TEXT DEFAULT 'America/Los_Angeles',\n \"currency_code\" TEXT DEFAULT 'USD',\n \"industry_category\" TEXT DEFAULT '',\n \"service_level\" TEXT DEFAULT 'STANDARD',\n \"status\" TEXT,\n \"last_sync_at\" TIMESTAMP,\n \"provider_metadata\" TEXT DEFAULT '{}'\n);",
917
+ "ddl": "CREATE TABLE IF NOT EXISTS \"analytics_properties\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"name\" TEXT DEFAULT '',\n \"display_name\" TEXT DEFAULT '',\n \"provider\" TEXT,\n \"external_id\" TEXT DEFAULT '',\n \"measurement_id\" TEXT DEFAULT '',\n \"api_secret\" TEXT DEFAULT '',\n \"site_domain\" TEXT DEFAULT '',\n \"time_zone\" TEXT DEFAULT 'America/Los_Angeles',\n \"currency_code\" TEXT DEFAULT 'USD',\n \"industry_category\" TEXT DEFAULT '',\n \"service_level\" TEXT DEFAULT 'STANDARD',\n \"status\" TEXT,\n \"last_sync_at\" TIMESTAMP,\n \"provider_metadata\" TEXT DEFAULT '{}'\n);",
906
918
  "columns": {
919
+ "_sync_origin_device_id": {
920
+ "type": "TEXT"
921
+ },
922
+ "_sync_revision": {
923
+ "type": "INTEGER"
924
+ },
907
925
  "id": {
908
926
  "type": "UUID",
909
927
  "primaryKey": true,
@@ -1036,7 +1054,7 @@
1036
1054
  ]
1037
1055
  }
1038
1056
  ],
1039
- "version": "f38a20b9"
1057
+ "version": "f0acdbc7"
1040
1058
  },
1041
1059
  "importPath": "@happyvertical/smrt-analytics"
1042
1060
  },
@@ -1200,8 +1218,14 @@
1200
1218
  ],
1201
1219
  "schema": {
1202
1220
  "tableName": "analytics_reports",
1203
- "ddl": "CREATE TABLE IF NOT EXISTS \"analytics_reports\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"property_id\" UUID,\n \"name\" TEXT DEFAULT '',\n \"description\" TEXT DEFAULT '',\n \"dimensions\" TEXT DEFAULT '[]',\n \"metrics\" TEXT DEFAULT '[]',\n \"date_range_start\" TEXT DEFAULT '7daysAgo',\n \"date_range_end\" TEXT DEFAULT 'today',\n \"dimension_filter\" TEXT DEFAULT '',\n \"metric_filter\" TEXT DEFAULT '',\n \"order_by\" TEXT DEFAULT '[]',\n \"max_results\" INTEGER DEFAULT 0,\n \"status\" TEXT,\n \"frequency\" TEXT,\n \"last_run_at\" TIMESTAMP,\n \"next_run_at\" TIMESTAMP,\n \"result_data\" TEXT DEFAULT '',\n \"row_count\" INTEGER DEFAULT 0,\n \"last_error\" TEXT DEFAULT ''\n);",
1221
+ "ddl": "CREATE TABLE IF NOT EXISTS \"analytics_reports\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"property_id\" UUID,\n \"name\" TEXT DEFAULT '',\n \"description\" TEXT DEFAULT '',\n \"dimensions\" TEXT DEFAULT '[]',\n \"metrics\" TEXT DEFAULT '[]',\n \"date_range_start\" TEXT DEFAULT '7daysAgo',\n \"date_range_end\" TEXT DEFAULT 'today',\n \"dimension_filter\" TEXT DEFAULT '',\n \"metric_filter\" TEXT DEFAULT '',\n \"order_by\" TEXT DEFAULT '[]',\n \"max_results\" INTEGER DEFAULT 0,\n \"status\" TEXT,\n \"frequency\" TEXT,\n \"last_run_at\" TIMESTAMP,\n \"next_run_at\" TIMESTAMP,\n \"result_data\" TEXT DEFAULT '',\n \"row_count\" INTEGER DEFAULT 0,\n \"last_error\" TEXT DEFAULT ''\n);",
1204
1222
  "columns": {
1223
+ "_sync_origin_device_id": {
1224
+ "type": "TEXT"
1225
+ },
1226
+ "_sync_revision": {
1227
+ "type": "INTEGER"
1228
+ },
1205
1229
  "id": {
1206
1230
  "type": "UUID",
1207
1231
  "primaryKey": true,
@@ -1365,7 +1389,7 @@
1365
1389
  ]
1366
1390
  }
1367
1391
  ],
1368
- "version": "22ce0f1c"
1392
+ "version": "4eb922b8"
1369
1393
  },
1370
1394
  "importPath": "@happyvertical/smrt-analytics"
1371
1395
  },
@@ -1543,8 +1567,14 @@
1543
1567
  "collectionExportName": "AnalyticsDataStreamCollection",
1544
1568
  "schema": {
1545
1569
  "tableName": "analytics_data_streams",
1546
- "ddl": "CREATE TABLE IF NOT EXISTS \"analytics_data_streams\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"property_id\" UUID,\n \"display_name\" TEXT DEFAULT '',\n \"stream_type\" TEXT,\n \"external_id\" TEXT DEFAULT '',\n \"measurement_id\" TEXT DEFAULT '',\n \"firebase_app_id\" TEXT DEFAULT '',\n \"default_uri\" TEXT DEFAULT '',\n \"bundle_id\" TEXT DEFAULT '',\n \"package_name\" TEXT DEFAULT '',\n \"status\" TEXT,\n \"enhanced_measurement\" BOOLEAN DEFAULT TRUE\n);",
1570
+ "ddl": "CREATE TABLE IF NOT EXISTS \"analytics_data_streams\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"property_id\" UUID,\n \"display_name\" TEXT DEFAULT '',\n \"stream_type\" TEXT,\n \"external_id\" TEXT DEFAULT '',\n \"measurement_id\" TEXT DEFAULT '',\n \"firebase_app_id\" TEXT DEFAULT '',\n \"default_uri\" TEXT DEFAULT '',\n \"bundle_id\" TEXT DEFAULT '',\n \"package_name\" TEXT DEFAULT '',\n \"status\" TEXT,\n \"enhanced_measurement\" BOOLEAN DEFAULT TRUE\n);",
1547
1571
  "columns": {
1572
+ "_sync_origin_device_id": {
1573
+ "type": "TEXT"
1574
+ },
1575
+ "_sync_revision": {
1576
+ "type": "INTEGER"
1577
+ },
1548
1578
  "id": {
1549
1579
  "type": "UUID",
1550
1580
  "primaryKey": true,
@@ -1675,7 +1705,7 @@
1675
1705
  ]
1676
1706
  }
1677
1707
  ],
1678
- "version": "851609ba"
1708
+ "version": "547079cd"
1679
1709
  },
1680
1710
  "importPath": "@happyvertical/smrt-analytics"
1681
1711
  },
@@ -1953,8 +1983,14 @@
1953
1983
  "collectionExportName": "AnalyticsEventCollection",
1954
1984
  "schema": {
1955
1985
  "tableName": "analytics_events",
1956
- "ddl": "CREATE TABLE IF NOT EXISTS \"analytics_events\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"property_id\" UUID,\n \"event_name\" TEXT DEFAULT '',\n \"client_id\" TEXT DEFAULT '',\n \"user_id\" TEXT DEFAULT '',\n \"params\" TEXT DEFAULT '{}',\n \"event_timestamp\" TIMESTAMP,\n \"status\" TEXT,\n \"sent_at\" TIMESTAMP,\n \"error_message\" TEXT DEFAULT '',\n \"retry_count\" INTEGER DEFAULT 0,\n \"non_personalized_ads\" BOOLEAN DEFAULT FALSE,\n \"session_id\" TEXT DEFAULT '',\n \"page_path\" TEXT DEFAULT '',\n \"page_title\" TEXT DEFAULT '',\n \"user_agent\" TEXT DEFAULT '',\n \"ip_address\" TEXT DEFAULT ''\n);",
1986
+ "ddl": "CREATE TABLE IF NOT EXISTS \"analytics_events\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"property_id\" UUID,\n \"event_name\" TEXT DEFAULT '',\n \"client_id\" TEXT DEFAULT '',\n \"user_id\" TEXT DEFAULT '',\n \"params\" TEXT DEFAULT '{}',\n \"event_timestamp\" TIMESTAMP,\n \"status\" TEXT,\n \"sent_at\" TIMESTAMP,\n \"error_message\" TEXT DEFAULT '',\n \"retry_count\" INTEGER DEFAULT 0,\n \"non_personalized_ads\" BOOLEAN DEFAULT FALSE,\n \"session_id\" TEXT DEFAULT '',\n \"page_path\" TEXT DEFAULT '',\n \"page_title\" TEXT DEFAULT '',\n \"user_agent\" TEXT DEFAULT '',\n \"ip_address\" TEXT DEFAULT ''\n);",
1957
1987
  "columns": {
1988
+ "_sync_origin_device_id": {
1989
+ "type": "TEXT"
1990
+ },
1991
+ "_sync_revision": {
1992
+ "type": "INTEGER"
1993
+ },
1958
1994
  "id": {
1959
1995
  "type": "UUID",
1960
1996
  "primaryKey": true,
@@ -2109,7 +2145,7 @@
2109
2145
  ]
2110
2146
  }
2111
2147
  ],
2112
- "version": "bee09e1d"
2148
+ "version": "3178d25a"
2113
2149
  },
2114
2150
  "importPath": "@happyvertical/smrt-analytics"
2115
2151
  },
@@ -2392,8 +2428,14 @@
2392
2428
  "displayLabelField": "name",
2393
2429
  "schema": {
2394
2430
  "tableName": "analytics_properties",
2395
- "ddl": "CREATE TABLE IF NOT EXISTS \"analytics_properties\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"name\" TEXT DEFAULT '',\n \"display_name\" TEXT DEFAULT '',\n \"provider\" TEXT,\n \"external_id\" TEXT DEFAULT '',\n \"measurement_id\" TEXT DEFAULT '',\n \"api_secret\" TEXT DEFAULT '',\n \"site_domain\" TEXT DEFAULT '',\n \"time_zone\" TEXT DEFAULT 'America/Los_Angeles',\n \"currency_code\" TEXT DEFAULT 'USD',\n \"industry_category\" TEXT DEFAULT '',\n \"service_level\" TEXT DEFAULT 'STANDARD',\n \"status\" TEXT,\n \"last_sync_at\" TIMESTAMP,\n \"provider_metadata\" TEXT DEFAULT '{}'\n);",
2431
+ "ddl": "CREATE TABLE IF NOT EXISTS \"analytics_properties\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"name\" TEXT DEFAULT '',\n \"display_name\" TEXT DEFAULT '',\n \"provider\" TEXT,\n \"external_id\" TEXT DEFAULT '',\n \"measurement_id\" TEXT DEFAULT '',\n \"api_secret\" TEXT DEFAULT '',\n \"site_domain\" TEXT DEFAULT '',\n \"time_zone\" TEXT DEFAULT 'America/Los_Angeles',\n \"currency_code\" TEXT DEFAULT 'USD',\n \"industry_category\" TEXT DEFAULT '',\n \"service_level\" TEXT DEFAULT 'STANDARD',\n \"status\" TEXT,\n \"last_sync_at\" TIMESTAMP,\n \"provider_metadata\" TEXT DEFAULT '{}'\n);",
2396
2432
  "columns": {
2433
+ "_sync_origin_device_id": {
2434
+ "type": "TEXT"
2435
+ },
2436
+ "_sync_revision": {
2437
+ "type": "INTEGER"
2438
+ },
2397
2439
  "id": {
2398
2440
  "type": "UUID",
2399
2441
  "primaryKey": true,
@@ -2526,7 +2568,7 @@
2526
2568
  ]
2527
2569
  }
2528
2570
  ],
2529
- "version": "f38a20b9"
2571
+ "version": "f0acdbc7"
2530
2572
  },
2531
2573
  "importPath": "@happyvertical/smrt-analytics"
2532
2574
  },
@@ -2899,8 +2941,14 @@
2899
2941
  "displayLabelField": "name",
2900
2942
  "schema": {
2901
2943
  "tableName": "analytics_reports",
2902
- "ddl": "CREATE TABLE IF NOT EXISTS \"analytics_reports\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"property_id\" UUID,\n \"name\" TEXT DEFAULT '',\n \"description\" TEXT DEFAULT '',\n \"dimensions\" TEXT DEFAULT '[]',\n \"metrics\" TEXT DEFAULT '[]',\n \"date_range_start\" TEXT DEFAULT '7daysAgo',\n \"date_range_end\" TEXT DEFAULT 'today',\n \"dimension_filter\" TEXT DEFAULT '',\n \"metric_filter\" TEXT DEFAULT '',\n \"order_by\" TEXT DEFAULT '[]',\n \"max_results\" INTEGER DEFAULT 0,\n \"status\" TEXT,\n \"frequency\" TEXT,\n \"last_run_at\" TIMESTAMP,\n \"next_run_at\" TIMESTAMP,\n \"result_data\" TEXT DEFAULT '',\n \"row_count\" INTEGER DEFAULT 0,\n \"last_error\" TEXT DEFAULT ''\n);",
2944
+ "ddl": "CREATE TABLE IF NOT EXISTS \"analytics_reports\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"property_id\" UUID,\n \"name\" TEXT DEFAULT '',\n \"description\" TEXT DEFAULT '',\n \"dimensions\" TEXT DEFAULT '[]',\n \"metrics\" TEXT DEFAULT '[]',\n \"date_range_start\" TEXT DEFAULT '7daysAgo',\n \"date_range_end\" TEXT DEFAULT 'today',\n \"dimension_filter\" TEXT DEFAULT '',\n \"metric_filter\" TEXT DEFAULT '',\n \"order_by\" TEXT DEFAULT '[]',\n \"max_results\" INTEGER DEFAULT 0,\n \"status\" TEXT,\n \"frequency\" TEXT,\n \"last_run_at\" TIMESTAMP,\n \"next_run_at\" TIMESTAMP,\n \"result_data\" TEXT DEFAULT '',\n \"row_count\" INTEGER DEFAULT 0,\n \"last_error\" TEXT DEFAULT ''\n);",
2903
2945
  "columns": {
2946
+ "_sync_origin_device_id": {
2947
+ "type": "TEXT"
2948
+ },
2949
+ "_sync_revision": {
2950
+ "type": "INTEGER"
2951
+ },
2904
2952
  "id": {
2905
2953
  "type": "UUID",
2906
2954
  "primaryKey": true,
@@ -3064,7 +3112,7 @@
3064
3112
  ]
3065
3113
  }
3066
3114
  ],
3067
- "version": "22ce0f1c"
3115
+ "version": "4eb922b8"
3068
3116
  },
3069
3117
  "importPath": "@happyvertical/smrt-analytics"
3070
3118
  }
@@ -3,12 +3,12 @@
3
3
  "sensitiveFieldsExcluded": true,
4
4
  "generatedAt": "1970-01-01T00:00:00.000Z",
5
5
  "packageName": "@happyvertical/smrt-analytics",
6
- "packageVersion": "0.60.9",
6
+ "packageVersion": "0.60.11",
7
7
  "sourceManifestPath": "dist/manifest.json",
8
8
  "agentDocPath": "AGENTS.md",
9
9
  "sourceHashes": {
10
- "manifest": "dfbd8223bec69bdc642d11c23ed8bc130c4bc684a2262c6ecff4760ef2cc9d8d",
11
- "packageJson": "2f43c4779910ef9a3fce2ff86355ae254276529a37b7f8b45c94fe132ae7e9df",
10
+ "manifest": "688ea42b0b90eded4bfc6548188ebbcb7977223f2786e63d35c6c971a4171721",
11
+ "packageJson": "f5420a1d9dafc2fd60c7bbd695e52ca508f984c86dd8bc29b7b51b2b258fb2fd",
12
12
  "agents": "0738e00081ba0afec63eead2120be90659465f3daf4fbd15948594d062448677",
13
13
  "moduleDoc:agents/browser.md": "af729304f8ffe8106261665b23f7bbeedcf64fdb08a46f22df1f0bea100ab21b"
14
14
  },
@@ -0,0 +1,82 @@
1
+ ---
2
+ type: "Component"
3
+ title: "@happyvertical/smrt-analytics"
4
+ description: "Analytics integration models for SMRT framework"
5
+ status: "stable"
6
+ generated:
7
+ by: "smrt/scripts/generate-knowledge-okf.ts"
8
+ at: "2026-11-05T15:48:19Z"
9
+ audience: "internal"
10
+ evidence_level: "source-inspected"
11
+ source_revision: "sha256:0956cf7e880461b1b116bcd6d83f48e2a3a3c07a31c2ce7e7fb5b0ff3ca39a2f"
12
+ sources:
13
+ - id: "manifest"
14
+ resource: "https://github.com/happyvertical/smrt/blob/main/packages/analytics/package.json"
15
+ title: "@happyvertical/smrt-analytics package manifest"
16
+ - id: "agents"
17
+ resource: "https://github.com/happyvertical/smrt/blob/main/packages/analytics/AGENTS.md"
18
+ title: "@happyvertical/smrt-analytics packages/analytics/AGENTS.md"
19
+ - id: "agents-2"
20
+ resource: "https://github.com/happyvertical/smrt/blob/main/packages/analytics/agents/browser.md"
21
+ title: "@happyvertical/smrt-analytics packages/analytics/agents/browser.md"
22
+ ---
23
+
24
+ # @happyvertical/smrt-analytics
25
+
26
+ ## Package
27
+
28
+ - Directory: `packages/analytics`
29
+ - Private: no
30
+ - Object source: `domain-artifact`
31
+ - Evidence level: `source-inspected`
32
+
33
+ ## Documentation
34
+
35
+ - `packages/analytics/AGENTS.md`
36
+ - `packages/analytics/agents/browser.md`
37
+
38
+ ## Framework dependencies
39
+
40
+ - [smrt-core](/components/smrt-core.md)
41
+ - [smrt-prompts](/components/smrt-prompts.md)
42
+ - [smrt-scanner](/components/smrt-scanner.md)
43
+ - [smrt-tenancy](/components/smrt-tenancy.md)
44
+ - [smrt-types](/components/smrt-types.md)
45
+ - [smrt-ui](/components/smrt-ui.md)
46
+ - [smrt-vitest](/components/smrt-vitest.md)
47
+
48
+ ## SDK dependencies
49
+
50
+ - `@happyvertical/sql`
51
+
52
+ ## Exports
53
+
54
+ - `.`
55
+ - `./browser`
56
+ - `./manifest`
57
+ - `./manifest.json`
58
+ - `./playground`
59
+ - `./svelte`
60
+ - `./ui`
61
+
62
+ ## Models
63
+
64
+ - `AnalyticsDataStream` (collection `analyticsdatastreams`, extends `SmrtObject`, STI table)
65
+ - `AnalyticsDataStreamCollection` (collection `analyticsdatastreams`, extends `SmrtCollection`)
66
+ - `AnalyticsEvent` (collection `analyticsevents`, extends `SmrtObject`, STI table)
67
+ - `AnalyticsEventCollection` (collection `analyticsevents`, extends `SmrtCollection`)
68
+ - `AnalyticsProperty` (collection `analyticsproperties`, extends `SmrtObject`, STI table)
69
+ - `AnalyticsPropertyCollection` (collection `analyticsproperties`, extends `SmrtCollection`)
70
+ - `AnalyticsReport` (collection `analyticsreports`, extends `SmrtObject`, STI table)
71
+ - `AnalyticsReportCollection` (collection `analyticsreports`, extends `SmrtCollection`)
72
+
73
+ ## MCP tools
74
+
75
+ - `analyticsdatastream_get`: get on `@happyvertical/smrt-analytics:AnalyticsDataStream`
76
+ - `analyticsdatastream_list`: list on `@happyvertical/smrt-analytics:AnalyticsDataStream`
77
+ - `analyticsevent_get`: get on `@happyvertical/smrt-analytics:AnalyticsEvent`
78
+ - `analyticsevent_list`: list on `@happyvertical/smrt-analytics:AnalyticsEvent`
79
+ - `analyticsproperty_get`: get on `@happyvertical/smrt-analytics:AnalyticsProperty`
80
+ - `analyticsproperty_list`: list on `@happyvertical/smrt-analytics:AnalyticsProperty`
81
+ - `analyticsreport_get`: get on `@happyvertical/smrt-analytics:AnalyticsReport`
82
+ - `analyticsreport_list`: list on `@happyvertical/smrt-analytics:AnalyticsReport`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@happyvertical/smrt-analytics",
3
- "version": "0.60.9",
3
+ "version": "0.60.11",
4
4
  "smrtJsdoc": "strict",
5
5
  "description": "Analytics integration models for SMRT framework",
6
6
  "type": "module",
@@ -38,11 +38,11 @@
38
38
  }
39
39
  },
40
40
  "dependencies": {
41
- "@happyvertical/smrt-core": "0.60.9",
42
- "@happyvertical/smrt-prompts": "0.60.9",
43
- "@happyvertical/smrt-tenancy": "0.60.9",
44
- "@happyvertical/smrt-types": "0.60.9",
45
- "@happyvertical/smrt-ui": "0.60.9"
41
+ "@happyvertical/smrt-core": "0.60.11",
42
+ "@happyvertical/smrt-prompts": "0.60.11",
43
+ "@happyvertical/smrt-tenancy": "0.60.11",
44
+ "@happyvertical/smrt-types": "0.60.11",
45
+ "@happyvertical/smrt-ui": "0.60.11"
46
46
  },
47
47
  "peerDependencies": {
48
48
  "svelte": "^5.57.0"
@@ -53,9 +53,9 @@
53
53
  }
54
54
  },
55
55
  "devDependencies": {
56
- "@happyvertical/smrt-scanner": "0.60.9",
57
- "@happyvertical/smrt-vitest": "0.60.9",
58
- "@happyvertical/sql": "^0.111.3",
56
+ "@happyvertical/smrt-scanner": "0.60.11",
57
+ "@happyvertical/smrt-vitest": "0.60.11",
58
+ "@happyvertical/sql": "^0.111.5",
59
59
  "@sveltejs/package": "^2.5.8",
60
60
  "@types/node": "24.13.6",
61
61
  "svelte-check": "^4.7.6",