@happyvertical/smrt-content 0.56.1 → 0.56.2
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/chunks/{content-corrections-DBYUJDaD.js → content-corrections-BYT3Qdw5.js} +51 -16
- package/dist/chunks/content-corrections-BYT3Qdw5.js.map +1 -0
- package/dist/chunks/{content-query-GKyj_m0n.js → content-query-Cad5-JBU.js} +5 -5
- package/dist/chunks/content-query-Cad5-JBU.js.map +1 -0
- package/dist/chunks/{content-versions-DGXxL4VF.js → content-versions-Dk8AHf7r.js} +2 -2
- package/dist/chunks/{content-versions-DGXxL4VF.js.map → content-versions-Dk8AHf7r.js.map} +1 -1
- package/dist/chunks/{contents-BfOgYyph.js → contents-xluc3iyj.js} +2 -2
- package/dist/chunks/{contents-BfOgYyph.js.map → contents-xluc3iyj.js.map} +1 -1
- package/dist/content-contribution-attachments.d.ts.map +1 -1
- package/dist/content-contributors.d.ts.map +1 -1
- package/dist/content-corrections.d.ts.map +1 -1
- package/dist/index.js +145 -69
- package/dist/index.js.map +1 -1
- package/dist/manifest.json +220 -12
- package/dist/server.js +1 -1
- package/dist/smrt-knowledge.json +116 -571
- package/package.json +16 -16
- package/dist/chunks/content-corrections-DBYUJDaD.js.map +0 -1
- package/dist/chunks/content-query-GKyj_m0n.js.map +0 -1
package/dist/manifest.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"version": "1.0.0",
|
|
3
3
|
"timestamp": 0,
|
|
4
4
|
"packageName": "@happyvertical/smrt-content",
|
|
5
|
-
"packageVersion": "0.56.
|
|
5
|
+
"packageVersion": "0.56.2",
|
|
6
6
|
"objects": {
|
|
7
7
|
"@happyvertical/smrt-content:ContentAsset": {
|
|
8
8
|
"name": "contentasset",
|
|
@@ -748,7 +748,32 @@
|
|
|
748
748
|
}
|
|
749
749
|
},
|
|
750
750
|
"decoratorConfig": {
|
|
751
|
-
"tableName": "content_contribution_attachments"
|
|
751
|
+
"tableName": "content_contribution_attachments",
|
|
752
|
+
"conflictColumns": [
|
|
753
|
+
"id"
|
|
754
|
+
],
|
|
755
|
+
"api": {
|
|
756
|
+
"include": [
|
|
757
|
+
"list",
|
|
758
|
+
"get",
|
|
759
|
+
"create",
|
|
760
|
+
"update",
|
|
761
|
+
"delete",
|
|
762
|
+
"listForContribution",
|
|
763
|
+
"listForRevision"
|
|
764
|
+
]
|
|
765
|
+
},
|
|
766
|
+
"mcp": {
|
|
767
|
+
"include": [
|
|
768
|
+
"list",
|
|
769
|
+
"get",
|
|
770
|
+
"create",
|
|
771
|
+
"update",
|
|
772
|
+
"delete",
|
|
773
|
+
"listForContribution",
|
|
774
|
+
"listForRevision"
|
|
775
|
+
]
|
|
776
|
+
}
|
|
752
777
|
},
|
|
753
778
|
"extends": "SmrtCollection",
|
|
754
779
|
"extendsTypeArg": "ContentContributionAttachment",
|
|
@@ -1198,7 +1223,25 @@
|
|
|
1198
1223
|
}
|
|
1199
1224
|
},
|
|
1200
1225
|
"decoratorConfig": {
|
|
1201
|
-
"tableName": "content_contribution_revisions"
|
|
1226
|
+
"tableName": "content_contribution_revisions",
|
|
1227
|
+
"api": {
|
|
1228
|
+
"include": [
|
|
1229
|
+
"list",
|
|
1230
|
+
"get",
|
|
1231
|
+
"create",
|
|
1232
|
+
"update",
|
|
1233
|
+
"delete"
|
|
1234
|
+
]
|
|
1235
|
+
},
|
|
1236
|
+
"mcp": {
|
|
1237
|
+
"include": [
|
|
1238
|
+
"list",
|
|
1239
|
+
"get",
|
|
1240
|
+
"create",
|
|
1241
|
+
"update",
|
|
1242
|
+
"delete"
|
|
1243
|
+
]
|
|
1244
|
+
}
|
|
1202
1245
|
},
|
|
1203
1246
|
"extends": "SmrtCollection",
|
|
1204
1247
|
"extendsTypeArg": "ContentContributionRevision",
|
|
@@ -1723,7 +1766,25 @@
|
|
|
1723
1766
|
}
|
|
1724
1767
|
},
|
|
1725
1768
|
"decoratorConfig": {
|
|
1726
|
-
"tableName": "content_contribution_types"
|
|
1769
|
+
"tableName": "content_contribution_types",
|
|
1770
|
+
"api": {
|
|
1771
|
+
"include": [
|
|
1772
|
+
"list",
|
|
1773
|
+
"get",
|
|
1774
|
+
"create",
|
|
1775
|
+
"update",
|
|
1776
|
+
"delete"
|
|
1777
|
+
]
|
|
1778
|
+
},
|
|
1779
|
+
"mcp": {
|
|
1780
|
+
"include": [
|
|
1781
|
+
"list",
|
|
1782
|
+
"get",
|
|
1783
|
+
"create",
|
|
1784
|
+
"update",
|
|
1785
|
+
"delete"
|
|
1786
|
+
]
|
|
1787
|
+
}
|
|
1727
1788
|
},
|
|
1728
1789
|
"extends": "SmrtCollection",
|
|
1729
1790
|
"extendsTypeArg": "ContentContributionType",
|
|
@@ -3047,7 +3108,32 @@
|
|
|
3047
3108
|
}
|
|
3048
3109
|
},
|
|
3049
3110
|
"decoratorConfig": {
|
|
3050
|
-
"tableName": "content_contributors"
|
|
3111
|
+
"tableName": "content_contributors",
|
|
3112
|
+
"conflictColumns": [
|
|
3113
|
+
"email"
|
|
3114
|
+
],
|
|
3115
|
+
"api": {
|
|
3116
|
+
"include": [
|
|
3117
|
+
"list",
|
|
3118
|
+
"get",
|
|
3119
|
+
"create",
|
|
3120
|
+
"update",
|
|
3121
|
+
"delete",
|
|
3122
|
+
"getByEmail",
|
|
3123
|
+
"getByProfileId"
|
|
3124
|
+
]
|
|
3125
|
+
},
|
|
3126
|
+
"mcp": {
|
|
3127
|
+
"include": [
|
|
3128
|
+
"list",
|
|
3129
|
+
"get",
|
|
3130
|
+
"create",
|
|
3131
|
+
"update",
|
|
3132
|
+
"delete",
|
|
3133
|
+
"getByEmail",
|
|
3134
|
+
"getByProfileId"
|
|
3135
|
+
]
|
|
3136
|
+
}
|
|
3051
3137
|
},
|
|
3052
3138
|
"extends": "SmrtCollection",
|
|
3053
3139
|
"extendsTypeArg": "ContentContributor",
|
|
@@ -3521,7 +3607,27 @@
|
|
|
3521
3607
|
}
|
|
3522
3608
|
},
|
|
3523
3609
|
"decoratorConfig": {
|
|
3524
|
-
"tableName": "content_corrections"
|
|
3610
|
+
"tableName": "content_corrections",
|
|
3611
|
+
"api": {
|
|
3612
|
+
"include": [
|
|
3613
|
+
"list",
|
|
3614
|
+
"get",
|
|
3615
|
+
"create",
|
|
3616
|
+
"update",
|
|
3617
|
+
"listForContent",
|
|
3618
|
+
"getPublishedForContent"
|
|
3619
|
+
]
|
|
3620
|
+
},
|
|
3621
|
+
"mcp": {
|
|
3622
|
+
"include": [
|
|
3623
|
+
"list",
|
|
3624
|
+
"get",
|
|
3625
|
+
"create",
|
|
3626
|
+
"update",
|
|
3627
|
+
"listForContent",
|
|
3628
|
+
"getPublishedForContent"
|
|
3629
|
+
]
|
|
3630
|
+
}
|
|
3525
3631
|
},
|
|
3526
3632
|
"extends": "SmrtCollection",
|
|
3527
3633
|
"extendsTypeArg": "ContentCorrection",
|
|
@@ -4163,7 +4269,25 @@
|
|
|
4163
4269
|
}
|
|
4164
4270
|
},
|
|
4165
4271
|
"decoratorConfig": {
|
|
4166
|
-
"tableName": "content_feed_sources"
|
|
4272
|
+
"tableName": "content_feed_sources",
|
|
4273
|
+
"api": {
|
|
4274
|
+
"include": [
|
|
4275
|
+
"list",
|
|
4276
|
+
"get",
|
|
4277
|
+
"create",
|
|
4278
|
+
"update",
|
|
4279
|
+
"delete"
|
|
4280
|
+
]
|
|
4281
|
+
},
|
|
4282
|
+
"mcp": {
|
|
4283
|
+
"include": [
|
|
4284
|
+
"list",
|
|
4285
|
+
"get",
|
|
4286
|
+
"create",
|
|
4287
|
+
"update",
|
|
4288
|
+
"delete"
|
|
4289
|
+
]
|
|
4290
|
+
}
|
|
4167
4291
|
},
|
|
4168
4292
|
"extends": "SmrtCollection",
|
|
4169
4293
|
"extendsTypeArg": "ContentFeedSource",
|
|
@@ -4656,7 +4780,25 @@
|
|
|
4656
4780
|
}
|
|
4657
4781
|
},
|
|
4658
4782
|
"decoratorConfig": {
|
|
4659
|
-
"tableName": "content_governance_assignments"
|
|
4783
|
+
"tableName": "content_governance_assignments",
|
|
4784
|
+
"api": {
|
|
4785
|
+
"include": [
|
|
4786
|
+
"list",
|
|
4787
|
+
"get",
|
|
4788
|
+
"create",
|
|
4789
|
+
"update",
|
|
4790
|
+
"delete"
|
|
4791
|
+
]
|
|
4792
|
+
},
|
|
4793
|
+
"mcp": {
|
|
4794
|
+
"include": [
|
|
4795
|
+
"list",
|
|
4796
|
+
"get",
|
|
4797
|
+
"create",
|
|
4798
|
+
"update",
|
|
4799
|
+
"delete"
|
|
4800
|
+
]
|
|
4801
|
+
}
|
|
4660
4802
|
},
|
|
4661
4803
|
"extends": "SmrtCollection",
|
|
4662
4804
|
"extendsTypeArg": "ContentGovernanceAssignment",
|
|
@@ -4815,7 +4957,25 @@
|
|
|
4815
4957
|
}
|
|
4816
4958
|
},
|
|
4817
4959
|
"decoratorConfig": {
|
|
4818
|
-
"tableName": "content_governance_policies"
|
|
4960
|
+
"tableName": "content_governance_policies",
|
|
4961
|
+
"api": {
|
|
4962
|
+
"include": [
|
|
4963
|
+
"list",
|
|
4964
|
+
"get",
|
|
4965
|
+
"create",
|
|
4966
|
+
"update",
|
|
4967
|
+
"delete"
|
|
4968
|
+
]
|
|
4969
|
+
},
|
|
4970
|
+
"mcp": {
|
|
4971
|
+
"include": [
|
|
4972
|
+
"list",
|
|
4973
|
+
"get",
|
|
4974
|
+
"create",
|
|
4975
|
+
"update",
|
|
4976
|
+
"delete"
|
|
4977
|
+
]
|
|
4978
|
+
}
|
|
4819
4979
|
},
|
|
4820
4980
|
"extends": "SmrtCollection",
|
|
4821
4981
|
"extendsTypeArg": "ContentGovernancePolicy",
|
|
@@ -5414,7 +5574,25 @@
|
|
|
5414
5574
|
}
|
|
5415
5575
|
},
|
|
5416
5576
|
"decoratorConfig": {
|
|
5417
|
-
"tableName": "content_governance_profiles"
|
|
5577
|
+
"tableName": "content_governance_profiles",
|
|
5578
|
+
"api": {
|
|
5579
|
+
"include": [
|
|
5580
|
+
"list",
|
|
5581
|
+
"get",
|
|
5582
|
+
"create",
|
|
5583
|
+
"update",
|
|
5584
|
+
"delete"
|
|
5585
|
+
]
|
|
5586
|
+
},
|
|
5587
|
+
"mcp": {
|
|
5588
|
+
"include": [
|
|
5589
|
+
"list",
|
|
5590
|
+
"get",
|
|
5591
|
+
"create",
|
|
5592
|
+
"update",
|
|
5593
|
+
"delete"
|
|
5594
|
+
]
|
|
5595
|
+
}
|
|
5418
5596
|
},
|
|
5419
5597
|
"extends": "SmrtCollection",
|
|
5420
5598
|
"extendsTypeArg": "ContentGovernanceProfile",
|
|
@@ -6358,7 +6536,23 @@
|
|
|
6358
6536
|
}
|
|
6359
6537
|
},
|
|
6360
6538
|
"decoratorConfig": {
|
|
6361
|
-
"tableName": "content_reviews"
|
|
6539
|
+
"tableName": "content_reviews",
|
|
6540
|
+
"api": {
|
|
6541
|
+
"include": [
|
|
6542
|
+
"list",
|
|
6543
|
+
"get",
|
|
6544
|
+
"create",
|
|
6545
|
+
"update"
|
|
6546
|
+
]
|
|
6547
|
+
},
|
|
6548
|
+
"mcp": {
|
|
6549
|
+
"include": [
|
|
6550
|
+
"list",
|
|
6551
|
+
"get",
|
|
6552
|
+
"create",
|
|
6553
|
+
"update"
|
|
6554
|
+
]
|
|
6555
|
+
}
|
|
6362
6556
|
},
|
|
6363
6557
|
"extends": "SmrtCollection",
|
|
6364
6558
|
"extendsTypeArg": "ContentReview",
|
|
@@ -10862,7 +11056,21 @@
|
|
|
10862
11056
|
}
|
|
10863
11057
|
},
|
|
10864
11058
|
"decoratorConfig": {
|
|
10865
|
-
"tableName": "content_versions"
|
|
11059
|
+
"tableName": "content_versions",
|
|
11060
|
+
"api": {
|
|
11061
|
+
"include": [
|
|
11062
|
+
"list",
|
|
11063
|
+
"get",
|
|
11064
|
+
"create"
|
|
11065
|
+
]
|
|
11066
|
+
},
|
|
11067
|
+
"mcp": {
|
|
11068
|
+
"include": [
|
|
11069
|
+
"list",
|
|
11070
|
+
"get",
|
|
11071
|
+
"create"
|
|
11072
|
+
]
|
|
11073
|
+
}
|
|
10866
11074
|
},
|
|
10867
11075
|
"extends": "SmrtCollection",
|
|
10868
11076
|
"extendsTypeArg": "ContentVersion",
|
package/dist/server.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as assertContentQuerySchema, t as CONTENT_QUERY_CLASS_NAME, v as buildContentQuerySchema, w as Content, x as executeContentQuery } from "./chunks/content-query-
|
|
1
|
+
import { _ as assertContentQuerySchema, t as CONTENT_QUERY_CLASS_NAME, v as buildContentQuerySchema, w as Content, x as executeContentQuery } from "./chunks/content-query-Cad5-JBU.js";
|
|
2
2
|
import { MAX_DATA_QUERY_PAGE_LIMIT, createDataQueryFingerprint, normalizeDataQueryRequest, startRestServer } from "@happyvertical/smrt-core";
|
|
3
3
|
import { createHash } from "node:crypto";
|
|
4
4
|
import { AsyncLocalStorage } from "node:async_hooks";
|