@happyvertical/smrt-social 0.60.9 → 0.60.10
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/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/manifest.json +65 -17
- package/dist/smrt-knowledge.json +3 -3
- package/dist/smrt-knowledge.okf.md +77 -0
- package/package.json +12 -12
package/dist/manifest.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"version": "1.0.0",
|
|
3
3
|
"timestamp": 0,
|
|
4
4
|
"packageName": "@happyvertical/smrt-social",
|
|
5
|
-
"packageVersion": "0.60.
|
|
5
|
+
"packageVersion": "0.60.10",
|
|
6
6
|
"objects": {
|
|
7
7
|
"@happyvertical/smrt-social:OAuthStateCollection": {
|
|
8
8
|
"name": "oauthstatecollection",
|
|
@@ -92,8 +92,14 @@
|
|
|
92
92
|
],
|
|
93
93
|
"schema": {
|
|
94
94
|
"tableName": "oauth_states",
|
|
95
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"oauth_states\" (\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 \"platform\" TEXT DEFAULT 'youtube',\n \"state\" TEXT DEFAULT '',\n \"code_verifier\" TEXT,\n \"redirect_uri\" TEXT DEFAULT '',\n \"scopes\" JSON DEFAULT '[]',\n \"expires_at\" TIMESTAMP,\n \"created_by_user_id\" UUID,\n \"return_to\" TEXT\n);",
|
|
95
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"oauth_states\" (\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 \"platform\" TEXT DEFAULT 'youtube',\n \"state\" TEXT DEFAULT '',\n \"code_verifier\" TEXT,\n \"redirect_uri\" TEXT DEFAULT '',\n \"scopes\" JSON DEFAULT '[]',\n \"expires_at\" TIMESTAMP,\n \"created_by_user_id\" UUID,\n \"return_to\" TEXT\n);",
|
|
96
96
|
"columns": {
|
|
97
|
+
"_sync_origin_device_id": {
|
|
98
|
+
"type": "TEXT"
|
|
99
|
+
},
|
|
100
|
+
"_sync_revision": {
|
|
101
|
+
"type": "INTEGER"
|
|
102
|
+
},
|
|
97
103
|
"id": {
|
|
98
104
|
"type": "UUID",
|
|
99
105
|
"primaryKey": true,
|
|
@@ -202,7 +208,7 @@
|
|
|
202
208
|
]
|
|
203
209
|
}
|
|
204
210
|
],
|
|
205
|
-
"version": "
|
|
211
|
+
"version": "46b1e275"
|
|
206
212
|
},
|
|
207
213
|
"importPath": "@happyvertical/smrt-social"
|
|
208
214
|
},
|
|
@@ -280,8 +286,14 @@
|
|
|
280
286
|
],
|
|
281
287
|
"schema": {
|
|
282
288
|
"tableName": "social_accounts",
|
|
283
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"social_accounts\" (\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 \"platform\" TEXT DEFAULT 'youtube',\n \"platform_user_id\" TEXT,\n \"platform_username\" TEXT,\n \"platform_url\" TEXT,\n \"access_token\" TEXT,\n \"refresh_token\" TEXT,\n \"credential_secret_id\" TEXT,\n \"access_token_secret_name\" TEXT,\n \"refresh_token_secret_name\" TEXT,\n \"token_expires_at\" TIMESTAMP,\n \"is_active\" BOOLEAN DEFAULT TRUE,\n \"default_hashtags\" JSON DEFAULT '[]',\n \"scopes\" JSON DEFAULT '[]',\n \"missing_permissions\" JSON DEFAULT '[]',\n \"link_behavior\" TEXT DEFAULT 'description',\n \"publish_mode\" TEXT DEFAULT 'dry_run',\n \"public_publishing_allowed\" BOOLEAN DEFAULT FALSE,\n \"status\" TEXT DEFAULT 'connected',\n \"error_message\" TEXT\n);",
|
|
289
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"social_accounts\" (\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 \"platform\" TEXT DEFAULT 'youtube',\n \"platform_user_id\" TEXT,\n \"platform_username\" TEXT,\n \"platform_url\" TEXT,\n \"access_token\" TEXT,\n \"refresh_token\" TEXT,\n \"credential_secret_id\" TEXT,\n \"access_token_secret_name\" TEXT,\n \"refresh_token_secret_name\" TEXT,\n \"token_expires_at\" TIMESTAMP,\n \"is_active\" BOOLEAN DEFAULT TRUE,\n \"default_hashtags\" JSON DEFAULT '[]',\n \"scopes\" JSON DEFAULT '[]',\n \"missing_permissions\" JSON DEFAULT '[]',\n \"link_behavior\" TEXT DEFAULT 'description',\n \"publish_mode\" TEXT DEFAULT 'dry_run',\n \"public_publishing_allowed\" BOOLEAN DEFAULT FALSE,\n \"status\" TEXT DEFAULT 'connected',\n \"error_message\" TEXT\n);",
|
|
284
290
|
"columns": {
|
|
291
|
+
"_sync_origin_device_id": {
|
|
292
|
+
"type": "TEXT"
|
|
293
|
+
},
|
|
294
|
+
"_sync_revision": {
|
|
295
|
+
"type": "INTEGER"
|
|
296
|
+
},
|
|
285
297
|
"id": {
|
|
286
298
|
"type": "UUID",
|
|
287
299
|
"primaryKey": true,
|
|
@@ -437,7 +449,7 @@
|
|
|
437
449
|
]
|
|
438
450
|
}
|
|
439
451
|
],
|
|
440
|
-
"version": "
|
|
452
|
+
"version": "973c4ad8"
|
|
441
453
|
},
|
|
442
454
|
"importPath": "@happyvertical/smrt-social"
|
|
443
455
|
},
|
|
@@ -528,8 +540,14 @@
|
|
|
528
540
|
],
|
|
529
541
|
"schema": {
|
|
530
542
|
"tableName": "social_post_analytics_snapshots",
|
|
531
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"social_post_analytics_snapshots\" (\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 \"social_post_id\" UUID,\n \"platform\" TEXT,\n \"analytics\" JSON,\n \"raw\" JSON,\n \"captured_at\" TIMESTAMP\n);",
|
|
543
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"social_post_analytics_snapshots\" (\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 \"social_post_id\" UUID,\n \"platform\" TEXT,\n \"analytics\" JSON,\n \"raw\" JSON,\n \"captured_at\" TIMESTAMP\n);",
|
|
532
544
|
"columns": {
|
|
545
|
+
"_sync_origin_device_id": {
|
|
546
|
+
"type": "TEXT"
|
|
547
|
+
},
|
|
548
|
+
"_sync_revision": {
|
|
549
|
+
"type": "INTEGER"
|
|
550
|
+
},
|
|
533
551
|
"id": {
|
|
534
552
|
"type": "UUID",
|
|
535
553
|
"primaryKey": true,
|
|
@@ -628,7 +646,7 @@
|
|
|
628
646
|
]
|
|
629
647
|
}
|
|
630
648
|
],
|
|
631
|
-
"version": "
|
|
649
|
+
"version": "0f4b8270"
|
|
632
650
|
},
|
|
633
651
|
"importPath": "@happyvertical/smrt-social"
|
|
634
652
|
},
|
|
@@ -796,8 +814,14 @@
|
|
|
796
814
|
],
|
|
797
815
|
"schema": {
|
|
798
816
|
"tableName": "social_posts",
|
|
799
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"social_posts\" (\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 \"social_account_id\" UUID,\n \"created_by_user_id\" UUID,\n \"video_content_id\" UUID,\n \"content_id\" UUID,\n \"post_type\" TEXT DEFAULT 'text',\n \"media_url\" TEXT,\n \"title\" TEXT,\n \"description\" TEXT DEFAULT '',\n \"hashtags\" JSON DEFAULT '[]',\n \"link_url\" TEXT,\n \"platform_post_id\" TEXT,\n \"platform_url\" TEXT,\n \"scheduled_at\" TIMESTAMP,\n \"published_at\" TIMESTAMP,\n \"status\" TEXT DEFAULT 'draft',\n \"error_message\" TEXT,\n \"analytics\" JSON,\n \"analytics_last_synced_at\" TIMESTAMP\n);",
|
|
817
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"social_posts\" (\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 \"social_account_id\" UUID,\n \"created_by_user_id\" UUID,\n \"video_content_id\" UUID,\n \"content_id\" UUID,\n \"post_type\" TEXT DEFAULT 'text',\n \"media_url\" TEXT,\n \"title\" TEXT,\n \"description\" TEXT DEFAULT '',\n \"hashtags\" JSON DEFAULT '[]',\n \"link_url\" TEXT,\n \"platform_post_id\" TEXT,\n \"platform_url\" TEXT,\n \"scheduled_at\" TIMESTAMP,\n \"published_at\" TIMESTAMP,\n \"status\" TEXT DEFAULT 'draft',\n \"error_message\" TEXT,\n \"analytics\" JSON,\n \"analytics_last_synced_at\" TIMESTAMP\n);",
|
|
800
818
|
"columns": {
|
|
819
|
+
"_sync_origin_device_id": {
|
|
820
|
+
"type": "TEXT"
|
|
821
|
+
},
|
|
822
|
+
"_sync_revision": {
|
|
823
|
+
"type": "INTEGER"
|
|
824
|
+
},
|
|
801
825
|
"id": {
|
|
802
826
|
"type": "UUID",
|
|
803
827
|
"primaryKey": true,
|
|
@@ -973,7 +997,7 @@
|
|
|
973
997
|
]
|
|
974
998
|
}
|
|
975
999
|
],
|
|
976
|
-
"version": "
|
|
1000
|
+
"version": "1006bafa"
|
|
977
1001
|
},
|
|
978
1002
|
"importPath": "@happyvertical/smrt-social"
|
|
979
1003
|
},
|
|
@@ -1132,8 +1156,14 @@
|
|
|
1132
1156
|
"collectionExportName": "OAuthStateCollection",
|
|
1133
1157
|
"schema": {
|
|
1134
1158
|
"tableName": "oauth_states",
|
|
1135
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"oauth_states\" (\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 \"platform\" TEXT DEFAULT 'youtube',\n \"state\" TEXT DEFAULT '',\n \"code_verifier\" TEXT,\n \"redirect_uri\" TEXT DEFAULT '',\n \"scopes\" JSON DEFAULT '[]',\n \"expires_at\" TIMESTAMP,\n \"created_by_user_id\" UUID,\n \"return_to\" TEXT\n);",
|
|
1159
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"oauth_states\" (\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 \"platform\" TEXT DEFAULT 'youtube',\n \"state\" TEXT DEFAULT '',\n \"code_verifier\" TEXT,\n \"redirect_uri\" TEXT DEFAULT '',\n \"scopes\" JSON DEFAULT '[]',\n \"expires_at\" TIMESTAMP,\n \"created_by_user_id\" UUID,\n \"return_to\" TEXT\n);",
|
|
1136
1160
|
"columns": {
|
|
1161
|
+
"_sync_origin_device_id": {
|
|
1162
|
+
"type": "TEXT"
|
|
1163
|
+
},
|
|
1164
|
+
"_sync_revision": {
|
|
1165
|
+
"type": "INTEGER"
|
|
1166
|
+
},
|
|
1137
1167
|
"id": {
|
|
1138
1168
|
"type": "UUID",
|
|
1139
1169
|
"primaryKey": true,
|
|
@@ -1242,7 +1272,7 @@
|
|
|
1242
1272
|
]
|
|
1243
1273
|
}
|
|
1244
1274
|
],
|
|
1245
|
-
"version": "
|
|
1275
|
+
"version": "46b1e275"
|
|
1246
1276
|
},
|
|
1247
1277
|
"importPath": "@happyvertical/smrt-social"
|
|
1248
1278
|
},
|
|
@@ -1507,8 +1537,14 @@
|
|
|
1507
1537
|
"displayLabelField": "name",
|
|
1508
1538
|
"schema": {
|
|
1509
1539
|
"tableName": "social_accounts",
|
|
1510
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"social_accounts\" (\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 \"platform\" TEXT DEFAULT 'youtube',\n \"platform_user_id\" TEXT,\n \"platform_username\" TEXT,\n \"platform_url\" TEXT,\n \"access_token\" TEXT,\n \"refresh_token\" TEXT,\n \"credential_secret_id\" TEXT,\n \"access_token_secret_name\" TEXT,\n \"refresh_token_secret_name\" TEXT,\n \"token_expires_at\" TIMESTAMP,\n \"is_active\" BOOLEAN DEFAULT TRUE,\n \"default_hashtags\" JSON DEFAULT '[]',\n \"scopes\" JSON DEFAULT '[]',\n \"missing_permissions\" JSON DEFAULT '[]',\n \"link_behavior\" TEXT DEFAULT 'description',\n \"publish_mode\" TEXT DEFAULT 'dry_run',\n \"public_publishing_allowed\" BOOLEAN DEFAULT FALSE,\n \"status\" TEXT DEFAULT 'connected',\n \"error_message\" TEXT\n);",
|
|
1540
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"social_accounts\" (\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 \"platform\" TEXT DEFAULT 'youtube',\n \"platform_user_id\" TEXT,\n \"platform_username\" TEXT,\n \"platform_url\" TEXT,\n \"access_token\" TEXT,\n \"refresh_token\" TEXT,\n \"credential_secret_id\" TEXT,\n \"access_token_secret_name\" TEXT,\n \"refresh_token_secret_name\" TEXT,\n \"token_expires_at\" TIMESTAMP,\n \"is_active\" BOOLEAN DEFAULT TRUE,\n \"default_hashtags\" JSON DEFAULT '[]',\n \"scopes\" JSON DEFAULT '[]',\n \"missing_permissions\" JSON DEFAULT '[]',\n \"link_behavior\" TEXT DEFAULT 'description',\n \"publish_mode\" TEXT DEFAULT 'dry_run',\n \"public_publishing_allowed\" BOOLEAN DEFAULT FALSE,\n \"status\" TEXT DEFAULT 'connected',\n \"error_message\" TEXT\n);",
|
|
1511
1541
|
"columns": {
|
|
1542
|
+
"_sync_origin_device_id": {
|
|
1543
|
+
"type": "TEXT"
|
|
1544
|
+
},
|
|
1545
|
+
"_sync_revision": {
|
|
1546
|
+
"type": "INTEGER"
|
|
1547
|
+
},
|
|
1512
1548
|
"id": {
|
|
1513
1549
|
"type": "UUID",
|
|
1514
1550
|
"primaryKey": true,
|
|
@@ -1664,7 +1700,7 @@
|
|
|
1664
1700
|
]
|
|
1665
1701
|
}
|
|
1666
1702
|
],
|
|
1667
|
-
"version": "
|
|
1703
|
+
"version": "973c4ad8"
|
|
1668
1704
|
},
|
|
1669
1705
|
"importPath": "@happyvertical/smrt-social"
|
|
1670
1706
|
},
|
|
@@ -1791,8 +1827,14 @@
|
|
|
1791
1827
|
],
|
|
1792
1828
|
"schema": {
|
|
1793
1829
|
"tableName": "social_post_analytics_snapshots",
|
|
1794
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"social_post_analytics_snapshots\" (\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 \"social_post_id\" UUID,\n \"platform\" TEXT,\n \"analytics\" JSON,\n \"raw\" JSON,\n \"captured_at\" TIMESTAMP\n);",
|
|
1830
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"social_post_analytics_snapshots\" (\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 \"social_post_id\" UUID,\n \"platform\" TEXT,\n \"analytics\" JSON,\n \"raw\" JSON,\n \"captured_at\" TIMESTAMP\n);",
|
|
1795
1831
|
"columns": {
|
|
1832
|
+
"_sync_origin_device_id": {
|
|
1833
|
+
"type": "TEXT"
|
|
1834
|
+
},
|
|
1835
|
+
"_sync_revision": {
|
|
1836
|
+
"type": "INTEGER"
|
|
1837
|
+
},
|
|
1796
1838
|
"id": {
|
|
1797
1839
|
"type": "UUID",
|
|
1798
1840
|
"primaryKey": true,
|
|
@@ -1891,7 +1933,7 @@
|
|
|
1891
1933
|
]
|
|
1892
1934
|
}
|
|
1893
1935
|
],
|
|
1894
|
-
"version": "
|
|
1936
|
+
"version": "0f4b8270"
|
|
1895
1937
|
},
|
|
1896
1938
|
"importPath": "@happyvertical/smrt-social"
|
|
1897
1939
|
},
|
|
@@ -2104,8 +2146,14 @@
|
|
|
2104
2146
|
"displayLabelField": "title",
|
|
2105
2147
|
"schema": {
|
|
2106
2148
|
"tableName": "social_posts",
|
|
2107
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"social_posts\" (\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 \"social_account_id\" UUID,\n \"created_by_user_id\" UUID,\n \"video_content_id\" UUID,\n \"content_id\" UUID,\n \"post_type\" TEXT DEFAULT 'text',\n \"media_url\" TEXT,\n \"title\" TEXT,\n \"description\" TEXT DEFAULT '',\n \"hashtags\" JSON DEFAULT '[]',\n \"link_url\" TEXT,\n \"platform_post_id\" TEXT,\n \"platform_url\" TEXT,\n \"scheduled_at\" TIMESTAMP,\n \"published_at\" TIMESTAMP,\n \"status\" TEXT DEFAULT 'draft',\n \"error_message\" TEXT,\n \"analytics\" JSON,\n \"analytics_last_synced_at\" TIMESTAMP\n);",
|
|
2149
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"social_posts\" (\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 \"social_account_id\" UUID,\n \"created_by_user_id\" UUID,\n \"video_content_id\" UUID,\n \"content_id\" UUID,\n \"post_type\" TEXT DEFAULT 'text',\n \"media_url\" TEXT,\n \"title\" TEXT,\n \"description\" TEXT DEFAULT '',\n \"hashtags\" JSON DEFAULT '[]',\n \"link_url\" TEXT,\n \"platform_post_id\" TEXT,\n \"platform_url\" TEXT,\n \"scheduled_at\" TIMESTAMP,\n \"published_at\" TIMESTAMP,\n \"status\" TEXT DEFAULT 'draft',\n \"error_message\" TEXT,\n \"analytics\" JSON,\n \"analytics_last_synced_at\" TIMESTAMP\n);",
|
|
2108
2150
|
"columns": {
|
|
2151
|
+
"_sync_origin_device_id": {
|
|
2152
|
+
"type": "TEXT"
|
|
2153
|
+
},
|
|
2154
|
+
"_sync_revision": {
|
|
2155
|
+
"type": "INTEGER"
|
|
2156
|
+
},
|
|
2109
2157
|
"id": {
|
|
2110
2158
|
"type": "UUID",
|
|
2111
2159
|
"primaryKey": true,
|
|
@@ -2281,7 +2329,7 @@
|
|
|
2281
2329
|
]
|
|
2282
2330
|
}
|
|
2283
2331
|
],
|
|
2284
|
-
"version": "
|
|
2332
|
+
"version": "1006bafa"
|
|
2285
2333
|
},
|
|
2286
2334
|
"importPath": "@happyvertical/smrt-social"
|
|
2287
2335
|
}
|
package/dist/smrt-knowledge.json
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
"sensitiveFieldsExcluded": true,
|
|
4
4
|
"generatedAt": "1970-01-01T00:00:00.000Z",
|
|
5
5
|
"packageName": "@happyvertical/smrt-social",
|
|
6
|
-
"packageVersion": "0.60.
|
|
6
|
+
"packageVersion": "0.60.10",
|
|
7
7
|
"sourceManifestPath": "dist/manifest.json",
|
|
8
8
|
"agentDocPath": "AGENTS.md",
|
|
9
9
|
"sourceHashes": {
|
|
10
|
-
"manifest": "
|
|
11
|
-
"packageJson": "
|
|
10
|
+
"manifest": "3bf579f1f9ea487102a5f58ceb4e81c85b52ea3abc6163a6a21909bcda9daeb8",
|
|
11
|
+
"packageJson": "633646b54cc8e76550ab9e59041d51ba8f61672b27dfc9731894aabf42b6210c",
|
|
12
12
|
"agents": "dc8a1a9b42e272ff4c9c313dc9d3b6ed0db58d3dece18a2ac23d7f0610645f58"
|
|
13
13
|
},
|
|
14
14
|
"exports": [
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: "Component"
|
|
3
|
+
title: "@happyvertical/smrt-social"
|
|
4
|
+
description: "Social media account management for multi-platform publishing in the SMRT ecosystem"
|
|
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:f81d87d03150b588572c2850f888ad4a5e354e9c64f5e6fcd0d078b4154ea1f8"
|
|
12
|
+
sources:
|
|
13
|
+
- id: "manifest"
|
|
14
|
+
resource: "https://github.com/happyvertical/smrt/blob/main/packages/social/package.json"
|
|
15
|
+
title: "@happyvertical/smrt-social package manifest"
|
|
16
|
+
- id: "agents"
|
|
17
|
+
resource: "https://github.com/happyvertical/smrt/blob/main/packages/social/AGENTS.md"
|
|
18
|
+
title: "@happyvertical/smrt-social packages/social/AGENTS.md"
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
# @happyvertical/smrt-social
|
|
22
|
+
|
|
23
|
+
## Package
|
|
24
|
+
|
|
25
|
+
- Directory: `packages/social`
|
|
26
|
+
- Private: no
|
|
27
|
+
- Object source: `domain-artifact`
|
|
28
|
+
- Evidence level: `source-inspected`
|
|
29
|
+
|
|
30
|
+
## Documentation
|
|
31
|
+
|
|
32
|
+
- `packages/social/AGENTS.md`
|
|
33
|
+
|
|
34
|
+
## Framework dependencies
|
|
35
|
+
|
|
36
|
+
- [smrt-config](/components/smrt-config.md)
|
|
37
|
+
- [smrt-content](/components/smrt-content.md)
|
|
38
|
+
- [smrt-core](/components/smrt-core.md)
|
|
39
|
+
- [smrt-secrets](/components/smrt-secrets.md)
|
|
40
|
+
- [smrt-tenancy](/components/smrt-tenancy.md)
|
|
41
|
+
- [smrt-ui](/components/smrt-ui.md)
|
|
42
|
+
- [smrt-video](/components/smrt-video.md)
|
|
43
|
+
- [smrt-vitest](/components/smrt-vitest.md)
|
|
44
|
+
|
|
45
|
+
## SDK dependencies
|
|
46
|
+
|
|
47
|
+
- `@happyvertical/logger`
|
|
48
|
+
- `@happyvertical/sql`
|
|
49
|
+
- `@happyvertical/utils`
|
|
50
|
+
|
|
51
|
+
## Exports
|
|
52
|
+
|
|
53
|
+
- `.`
|
|
54
|
+
- `./manifest`
|
|
55
|
+
- `./manifest.json`
|
|
56
|
+
- `./server`
|
|
57
|
+
- `./svelte`
|
|
58
|
+
|
|
59
|
+
## Models
|
|
60
|
+
|
|
61
|
+
- `OAuthState` (collection `oauthstates`, extends `SmrtObject`, STI table)
|
|
62
|
+
- `OAuthStateCollection` (collection `oauthstates`, extends `SmrtCollection`)
|
|
63
|
+
- `SocialAccount` (collection `socialaccounts`, extends `SmrtObject`, STI table)
|
|
64
|
+
- `SocialAccountCollection` (collection `socialaccounts`, extends `SmrtCollection`)
|
|
65
|
+
- `SocialPost` (collection `socialposts`, extends `SmrtObject`, STI table)
|
|
66
|
+
- `SocialPostAnalyticsSnapshot` (collection `socialpostanalyticssnapshots`, extends `SmrtObject`, STI table)
|
|
67
|
+
- `SocialPostAnalyticsSnapshotCollection` (collection `socialpostanalyticssnapshots`, extends `SmrtCollection`)
|
|
68
|
+
- `SocialPostCollection` (collection `socialposts`, extends `SmrtCollection`)
|
|
69
|
+
|
|
70
|
+
## MCP tools
|
|
71
|
+
|
|
72
|
+
- `socialaccount_get`: get on `@happyvertical/smrt-social:SocialAccount`
|
|
73
|
+
- `socialaccount_list`: list on `@happyvertical/smrt-social:SocialAccount`
|
|
74
|
+
- `socialpost_get`: get on `@happyvertical/smrt-social:SocialPost`
|
|
75
|
+
- `socialpost_list`: list on `@happyvertical/smrt-social:SocialPost`
|
|
76
|
+
- `socialpostanalyticssnapshot_get`: get on `@happyvertical/smrt-social:SocialPostAnalyticsSnapshot`
|
|
77
|
+
- `socialpostanalyticssnapshot_list`: list on `@happyvertical/smrt-social:SocialPostAnalyticsSnapshot`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@happyvertical/smrt-social",
|
|
3
|
-
"version": "0.60.
|
|
3
|
+
"version": "0.60.10",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"smrtRawPrimitives": "strict",
|
|
6
6
|
"description": "Social media account management for multi-platform publishing in the SMRT ecosystem",
|
|
@@ -39,19 +39,19 @@
|
|
|
39
39
|
"AGENTS.md"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@happyvertical/smrt-config": "0.60.
|
|
43
|
-
"@happyvertical/smrt-content": "0.60.
|
|
44
|
-
"@happyvertical/smrt-core": "0.60.
|
|
45
|
-
"@happyvertical/smrt-secrets": "0.60.
|
|
46
|
-
"@happyvertical/smrt-tenancy": "0.60.
|
|
47
|
-
"@happyvertical/smrt-ui": "0.60.
|
|
48
|
-
"@happyvertical/smrt-video": "0.60.
|
|
49
|
-
"@happyvertical/utils": "^0.111.
|
|
42
|
+
"@happyvertical/smrt-config": "0.60.10",
|
|
43
|
+
"@happyvertical/smrt-content": "0.60.10",
|
|
44
|
+
"@happyvertical/smrt-core": "0.60.10",
|
|
45
|
+
"@happyvertical/smrt-secrets": "0.60.10",
|
|
46
|
+
"@happyvertical/smrt-tenancy": "0.60.10",
|
|
47
|
+
"@happyvertical/smrt-ui": "0.60.10",
|
|
48
|
+
"@happyvertical/smrt-video": "0.60.10",
|
|
49
|
+
"@happyvertical/utils": "^0.111.5"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@happyvertical/logger": "^0.111.
|
|
53
|
-
"@happyvertical/smrt-vitest": "0.60.
|
|
54
|
-
"@happyvertical/sql": "^0.111.
|
|
52
|
+
"@happyvertical/logger": "^0.111.5",
|
|
53
|
+
"@happyvertical/smrt-vitest": "0.60.10",
|
|
54
|
+
"@happyvertical/sql": "^0.111.5",
|
|
55
55
|
"@sveltejs/package": "^2.5.8",
|
|
56
56
|
"@types/node": "24.13.6",
|
|
57
57
|
"svelte": "^5.57.1",
|