@happyvertical/smrt-content 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.
- package/dist/content-contribution.d.ts +14 -14
- package/dist/content-contributions.d.ts +20 -13
- package/dist/content-contributions.d.ts.map +1 -1
- package/dist/manifest.json +106 -30
- package/dist/smrt-knowledge.json +8 -4
- package/package.json +14 -14
|
@@ -120,38 +120,38 @@ export declare class ContentContribution extends SmrtObject {
|
|
|
120
120
|
private createRevision;
|
|
121
121
|
private createHeldAttachments;
|
|
122
122
|
appendRevisionAction(options?: AppendContentContributionRevisionOptions): Promise<{
|
|
123
|
-
contribution:
|
|
124
|
-
revision:
|
|
125
|
-
attachments:
|
|
123
|
+
contribution: Record<string, unknown>;
|
|
124
|
+
revision: Record<string, unknown>;
|
|
125
|
+
attachments: Record<string, unknown>[];
|
|
126
126
|
}>;
|
|
127
|
-
requestChangesAction(options?: RequestChangesContentContributionOptions): Promise<
|
|
128
|
-
rejectAction(options?: RejectContentContributionOptions): Promise<
|
|
129
|
-
withdrawAction(options?: WithdrawContentContributionOptions): Promise<
|
|
127
|
+
requestChangesAction(options?: RequestChangesContentContributionOptions): Promise<Record<string, unknown>>;
|
|
128
|
+
rejectAction(options?: RejectContentContributionOptions): Promise<Record<string, unknown>>;
|
|
129
|
+
withdrawAction(options?: WithdrawContentContributionOptions): Promise<Record<string, unknown>>;
|
|
130
130
|
approveAction(options?: ApproveContentContributionOptions): Promise<{
|
|
131
|
-
contribution:
|
|
132
|
-
content:
|
|
131
|
+
contribution: Record<string, unknown>;
|
|
132
|
+
content: Record<string, unknown> | null;
|
|
133
133
|
assets: {
|
|
134
134
|
attachmentId: string | null | undefined;
|
|
135
135
|
assetId: string;
|
|
136
136
|
}[];
|
|
137
137
|
} | {
|
|
138
|
-
contribution:
|
|
139
|
-
content:
|
|
138
|
+
contribution: Record<string, unknown>;
|
|
139
|
+
content: Record<string, unknown>;
|
|
140
140
|
assets: {
|
|
141
141
|
attachmentId: string | null;
|
|
142
142
|
assetId: string | null;
|
|
143
143
|
}[];
|
|
144
144
|
}>;
|
|
145
145
|
promoteAction(options?: PromoteContentContributionOptions): Promise<{
|
|
146
|
-
contribution:
|
|
147
|
-
content:
|
|
146
|
+
contribution: Record<string, unknown>;
|
|
147
|
+
content: Record<string, unknown> | null;
|
|
148
148
|
assets: {
|
|
149
149
|
attachmentId: string | null | undefined;
|
|
150
150
|
assetId: string;
|
|
151
151
|
}[];
|
|
152
152
|
} | {
|
|
153
|
-
contribution:
|
|
154
|
-
content:
|
|
153
|
+
contribution: Record<string, unknown>;
|
|
154
|
+
content: Record<string, unknown>;
|
|
155
155
|
assets: {
|
|
156
156
|
attachmentId: string | null;
|
|
157
157
|
assetId: string | null;
|
|
@@ -31,45 +31,52 @@ export declare class ContentContributions extends SmrtCollection<ContentContribu
|
|
|
31
31
|
statuses?: string | string[];
|
|
32
32
|
}): Promise<ContentContribution[]>;
|
|
33
33
|
submitWebContribution(options: SubmitWebContentContributionOptions): Promise<{
|
|
34
|
-
contribution:
|
|
35
|
-
content:
|
|
34
|
+
contribution: Record<string, unknown>;
|
|
35
|
+
content: Record<string, unknown> | null;
|
|
36
36
|
assets: {
|
|
37
37
|
attachmentId: string | null | undefined;
|
|
38
38
|
assetId: string;
|
|
39
39
|
}[];
|
|
40
40
|
} | {
|
|
41
|
-
contribution:
|
|
42
|
-
content:
|
|
41
|
+
contribution: Record<string, unknown>;
|
|
42
|
+
content: Record<string, unknown>;
|
|
43
43
|
assets: {
|
|
44
44
|
attachmentId: string | null;
|
|
45
45
|
assetId: string | null;
|
|
46
46
|
}[];
|
|
47
47
|
} | {
|
|
48
|
-
contribution:
|
|
48
|
+
contribution: Record<string, unknown>;
|
|
49
49
|
intake: import('./content-contribution-config').EvaluateContributionIntakeResult;
|
|
50
50
|
}>;
|
|
51
51
|
ingestEmailContribution(options: IngestEmailContentContributionOptions): Promise<{
|
|
52
|
-
contribution:
|
|
53
|
-
content:
|
|
52
|
+
contribution: Record<string, unknown>;
|
|
53
|
+
content: Record<string, unknown> | null;
|
|
54
54
|
assets: {
|
|
55
55
|
attachmentId: string | null | undefined;
|
|
56
56
|
assetId: string;
|
|
57
57
|
}[];
|
|
58
58
|
} | {
|
|
59
|
-
contribution:
|
|
60
|
-
content:
|
|
59
|
+
contribution: Record<string, unknown>;
|
|
60
|
+
content: Record<string, unknown>;
|
|
61
61
|
assets: {
|
|
62
62
|
attachmentId: string | null;
|
|
63
63
|
assetId: string | null;
|
|
64
64
|
}[];
|
|
65
65
|
} | {
|
|
66
|
+
contribution: Record<string, unknown>;
|
|
66
67
|
intake: import('./content-contribution-config').EvaluateContributionIntakeResult;
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
attachments: any[];
|
|
68
|
+
revision: null;
|
|
69
|
+
attachments: Record<string, unknown>[];
|
|
70
70
|
} | {
|
|
71
|
-
contribution: any;
|
|
72
71
|
intake: import('./content-contribution-config').EvaluateContributionIntakeResult;
|
|
72
|
+
contribution: Record<string, unknown>;
|
|
73
|
+
revision: Record<string, unknown>;
|
|
74
|
+
attachments: Record<string, unknown>[];
|
|
75
|
+
} | {
|
|
76
|
+
contribution: Record<string, unknown>;
|
|
77
|
+
intake: import('./content-contribution-config').EvaluateContributionIntakeResult;
|
|
78
|
+
revision?: undefined;
|
|
79
|
+
attachments?: undefined;
|
|
73
80
|
}>;
|
|
74
81
|
}
|
|
75
82
|
//# sourceMappingURL=content-contributions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content-contributions.d.ts","sourceRoot":"","sources":["../src/content-contributions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAQ,MAAM,0BAA0B,CAAC;AAMhE,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,wBAAwB,CAAC;AACjF,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAS7D,MAAM,WAAW,mCAAmC;IAClD,OAAO,EA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IAwElE,uBAAuB,CAC3B,OAAO,EAAE,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuKjD"}
|
package/dist/manifest.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "1.0.0",
|
|
3
|
-
"timestamp":
|
|
3
|
+
"timestamp": 1782683585664,
|
|
4
4
|
"packageName": "@happyvertical/smrt-content",
|
|
5
|
-
"packageVersion": "0.
|
|
5
|
+
"packageVersion": "0.37.0",
|
|
6
6
|
"objects": {
|
|
7
7
|
"@happyvertical/smrt-content:ContentAsset": {
|
|
8
8
|
"name": "contentasset",
|
|
@@ -5257,7 +5257,7 @@
|
|
|
5257
5257
|
"parameters": [
|
|
5258
5258
|
{
|
|
5259
5259
|
"name": "data",
|
|
5260
|
-
"type": "
|
|
5260
|
+
"type": "Record<string>",
|
|
5261
5261
|
"optional": false
|
|
5262
5262
|
}
|
|
5263
5263
|
],
|
|
@@ -5269,7 +5269,7 @@
|
|
|
5269
5269
|
"name": "getFields",
|
|
5270
5270
|
"async": true,
|
|
5271
5271
|
"parameters": [],
|
|
5272
|
-
"returnType": "any",
|
|
5272
|
+
"returnType": "Promise<any>",
|
|
5273
5273
|
"isStatic": false,
|
|
5274
5274
|
"isPublic": true
|
|
5275
5275
|
},
|
|
@@ -5378,7 +5378,7 @@
|
|
|
5378
5378
|
},
|
|
5379
5379
|
{
|
|
5380
5380
|
"name": "options",
|
|
5381
|
-
"type": "
|
|
5381
|
+
"type": "AiOperationOptions",
|
|
5382
5382
|
"optional": true
|
|
5383
5383
|
}
|
|
5384
5384
|
],
|
|
@@ -5397,7 +5397,7 @@
|
|
|
5397
5397
|
},
|
|
5398
5398
|
{
|
|
5399
5399
|
"name": "options",
|
|
5400
|
-
"type": "
|
|
5400
|
+
"type": "AiOperationOptions",
|
|
5401
5401
|
"optional": true
|
|
5402
5402
|
}
|
|
5403
5403
|
],
|
|
@@ -5411,7 +5411,7 @@
|
|
|
5411
5411
|
"parameters": [
|
|
5412
5412
|
{
|
|
5413
5413
|
"name": "options",
|
|
5414
|
-
"type": "
|
|
5414
|
+
"type": "AiOperationOptions",
|
|
5415
5415
|
"optional": true
|
|
5416
5416
|
}
|
|
5417
5417
|
],
|
|
@@ -5441,6 +5441,25 @@
|
|
|
5441
5441
|
"isStatic": false,
|
|
5442
5442
|
"isPublic": true
|
|
5443
5443
|
},
|
|
5444
|
+
"_setLoadedRelationship": {
|
|
5445
|
+
"name": "_setLoadedRelationship",
|
|
5446
|
+
"async": false,
|
|
5447
|
+
"parameters": [
|
|
5448
|
+
{
|
|
5449
|
+
"name": "fieldName",
|
|
5450
|
+
"type": "string",
|
|
5451
|
+
"optional": false
|
|
5452
|
+
},
|
|
5453
|
+
{
|
|
5454
|
+
"name": "value",
|
|
5455
|
+
"type": "any",
|
|
5456
|
+
"optional": false
|
|
5457
|
+
}
|
|
5458
|
+
],
|
|
5459
|
+
"returnType": "void",
|
|
5460
|
+
"isStatic": false,
|
|
5461
|
+
"isPublic": true
|
|
5462
|
+
},
|
|
5444
5463
|
"loadRelated": {
|
|
5445
5464
|
"name": "loadRelated",
|
|
5446
5465
|
"async": true,
|
|
@@ -5544,7 +5563,7 @@
|
|
|
5544
5563
|
"optional": false
|
|
5545
5564
|
}
|
|
5546
5565
|
],
|
|
5547
|
-
"returnType": "Promise
|
|
5566
|
+
"returnType": "Promise",
|
|
5548
5567
|
"isStatic": false,
|
|
5549
5568
|
"isPublic": true
|
|
5550
5569
|
},
|
|
@@ -5558,7 +5577,7 @@
|
|
|
5558
5577
|
"optional": true
|
|
5559
5578
|
}
|
|
5560
5579
|
],
|
|
5561
|
-
"returnType": "Promise<Map<string
|
|
5580
|
+
"returnType": "Promise<Map<string>>",
|
|
5562
5581
|
"isStatic": false,
|
|
5563
5582
|
"isPublic": true
|
|
5564
5583
|
},
|
|
@@ -6839,7 +6858,7 @@
|
|
|
6839
6858
|
"parameters": [
|
|
6840
6859
|
{
|
|
6841
6860
|
"name": "data",
|
|
6842
|
-
"type": "
|
|
6861
|
+
"type": "Record<string>",
|
|
6843
6862
|
"optional": false
|
|
6844
6863
|
}
|
|
6845
6864
|
],
|
|
@@ -6851,7 +6870,7 @@
|
|
|
6851
6870
|
"name": "getFields",
|
|
6852
6871
|
"async": true,
|
|
6853
6872
|
"parameters": [],
|
|
6854
|
-
"returnType": "any",
|
|
6873
|
+
"returnType": "Promise<any>",
|
|
6855
6874
|
"isStatic": false,
|
|
6856
6875
|
"isPublic": true
|
|
6857
6876
|
},
|
|
@@ -6960,7 +6979,7 @@
|
|
|
6960
6979
|
},
|
|
6961
6980
|
{
|
|
6962
6981
|
"name": "options",
|
|
6963
|
-
"type": "
|
|
6982
|
+
"type": "AiOperationOptions",
|
|
6964
6983
|
"optional": true
|
|
6965
6984
|
}
|
|
6966
6985
|
],
|
|
@@ -6979,7 +6998,7 @@
|
|
|
6979
6998
|
},
|
|
6980
6999
|
{
|
|
6981
7000
|
"name": "options",
|
|
6982
|
-
"type": "
|
|
7001
|
+
"type": "AiOperationOptions",
|
|
6983
7002
|
"optional": true
|
|
6984
7003
|
}
|
|
6985
7004
|
],
|
|
@@ -6993,7 +7012,7 @@
|
|
|
6993
7012
|
"parameters": [
|
|
6994
7013
|
{
|
|
6995
7014
|
"name": "options",
|
|
6996
|
-
"type": "
|
|
7015
|
+
"type": "AiOperationOptions",
|
|
6997
7016
|
"optional": true
|
|
6998
7017
|
}
|
|
6999
7018
|
],
|
|
@@ -7023,6 +7042,25 @@
|
|
|
7023
7042
|
"isStatic": false,
|
|
7024
7043
|
"isPublic": true
|
|
7025
7044
|
},
|
|
7045
|
+
"_setLoadedRelationship": {
|
|
7046
|
+
"name": "_setLoadedRelationship",
|
|
7047
|
+
"async": false,
|
|
7048
|
+
"parameters": [
|
|
7049
|
+
{
|
|
7050
|
+
"name": "fieldName",
|
|
7051
|
+
"type": "string",
|
|
7052
|
+
"optional": false
|
|
7053
|
+
},
|
|
7054
|
+
{
|
|
7055
|
+
"name": "value",
|
|
7056
|
+
"type": "any",
|
|
7057
|
+
"optional": false
|
|
7058
|
+
}
|
|
7059
|
+
],
|
|
7060
|
+
"returnType": "void",
|
|
7061
|
+
"isStatic": false,
|
|
7062
|
+
"isPublic": true
|
|
7063
|
+
},
|
|
7026
7064
|
"loadRelated": {
|
|
7027
7065
|
"name": "loadRelated",
|
|
7028
7066
|
"async": true,
|
|
@@ -7126,7 +7164,7 @@
|
|
|
7126
7164
|
"optional": false
|
|
7127
7165
|
}
|
|
7128
7166
|
],
|
|
7129
|
-
"returnType": "Promise
|
|
7167
|
+
"returnType": "Promise",
|
|
7130
7168
|
"isStatic": false,
|
|
7131
7169
|
"isPublic": true
|
|
7132
7170
|
},
|
|
@@ -7140,7 +7178,7 @@
|
|
|
7140
7178
|
"optional": true
|
|
7141
7179
|
}
|
|
7142
7180
|
],
|
|
7143
|
-
"returnType": "Promise<Map<string
|
|
7181
|
+
"returnType": "Promise<Map<string>>",
|
|
7144
7182
|
"isStatic": false,
|
|
7145
7183
|
"isPublic": true
|
|
7146
7184
|
},
|
|
@@ -8450,7 +8488,7 @@
|
|
|
8450
8488
|
"parameters": [
|
|
8451
8489
|
{
|
|
8452
8490
|
"name": "data",
|
|
8453
|
-
"type": "
|
|
8491
|
+
"type": "Record<string>",
|
|
8454
8492
|
"optional": false
|
|
8455
8493
|
}
|
|
8456
8494
|
],
|
|
@@ -8462,7 +8500,7 @@
|
|
|
8462
8500
|
"name": "getFields",
|
|
8463
8501
|
"async": true,
|
|
8464
8502
|
"parameters": [],
|
|
8465
|
-
"returnType": "any",
|
|
8503
|
+
"returnType": "Promise<any>",
|
|
8466
8504
|
"isStatic": false,
|
|
8467
8505
|
"isPublic": true
|
|
8468
8506
|
},
|
|
@@ -8571,7 +8609,7 @@
|
|
|
8571
8609
|
},
|
|
8572
8610
|
{
|
|
8573
8611
|
"name": "options",
|
|
8574
|
-
"type": "
|
|
8612
|
+
"type": "AiOperationOptions",
|
|
8575
8613
|
"optional": true
|
|
8576
8614
|
}
|
|
8577
8615
|
],
|
|
@@ -8590,7 +8628,7 @@
|
|
|
8590
8628
|
},
|
|
8591
8629
|
{
|
|
8592
8630
|
"name": "options",
|
|
8593
|
-
"type": "
|
|
8631
|
+
"type": "AiOperationOptions",
|
|
8594
8632
|
"optional": true
|
|
8595
8633
|
}
|
|
8596
8634
|
],
|
|
@@ -8604,7 +8642,7 @@
|
|
|
8604
8642
|
"parameters": [
|
|
8605
8643
|
{
|
|
8606
8644
|
"name": "options",
|
|
8607
|
-
"type": "
|
|
8645
|
+
"type": "AiOperationOptions",
|
|
8608
8646
|
"optional": true
|
|
8609
8647
|
}
|
|
8610
8648
|
],
|
|
@@ -8634,6 +8672,25 @@
|
|
|
8634
8672
|
"isStatic": false,
|
|
8635
8673
|
"isPublic": true
|
|
8636
8674
|
},
|
|
8675
|
+
"_setLoadedRelationship": {
|
|
8676
|
+
"name": "_setLoadedRelationship",
|
|
8677
|
+
"async": false,
|
|
8678
|
+
"parameters": [
|
|
8679
|
+
{
|
|
8680
|
+
"name": "fieldName",
|
|
8681
|
+
"type": "string",
|
|
8682
|
+
"optional": false
|
|
8683
|
+
},
|
|
8684
|
+
{
|
|
8685
|
+
"name": "value",
|
|
8686
|
+
"type": "any",
|
|
8687
|
+
"optional": false
|
|
8688
|
+
}
|
|
8689
|
+
],
|
|
8690
|
+
"returnType": "void",
|
|
8691
|
+
"isStatic": false,
|
|
8692
|
+
"isPublic": true
|
|
8693
|
+
},
|
|
8637
8694
|
"loadRelated": {
|
|
8638
8695
|
"name": "loadRelated",
|
|
8639
8696
|
"async": true,
|
|
@@ -8737,7 +8794,7 @@
|
|
|
8737
8794
|
"optional": false
|
|
8738
8795
|
}
|
|
8739
8796
|
],
|
|
8740
|
-
"returnType": "Promise
|
|
8797
|
+
"returnType": "Promise",
|
|
8741
8798
|
"isStatic": false,
|
|
8742
8799
|
"isPublic": true
|
|
8743
8800
|
},
|
|
@@ -8751,7 +8808,7 @@
|
|
|
8751
8808
|
"optional": true
|
|
8752
8809
|
}
|
|
8753
8810
|
],
|
|
8754
|
-
"returnType": "Promise<Map<string
|
|
8811
|
+
"returnType": "Promise<Map<string>>",
|
|
8755
8812
|
"isStatic": false,
|
|
8756
8813
|
"isPublic": true
|
|
8757
8814
|
},
|
|
@@ -10513,7 +10570,7 @@
|
|
|
10513
10570
|
"parameters": [
|
|
10514
10571
|
{
|
|
10515
10572
|
"name": "data",
|
|
10516
|
-
"type": "
|
|
10573
|
+
"type": "Record<string>",
|
|
10517
10574
|
"optional": false
|
|
10518
10575
|
}
|
|
10519
10576
|
],
|
|
@@ -10525,7 +10582,7 @@
|
|
|
10525
10582
|
"name": "getFields",
|
|
10526
10583
|
"async": true,
|
|
10527
10584
|
"parameters": [],
|
|
10528
|
-
"returnType": "any",
|
|
10585
|
+
"returnType": "Promise<any>",
|
|
10529
10586
|
"isStatic": false,
|
|
10530
10587
|
"isPublic": true
|
|
10531
10588
|
},
|
|
@@ -10634,7 +10691,7 @@
|
|
|
10634
10691
|
},
|
|
10635
10692
|
{
|
|
10636
10693
|
"name": "options",
|
|
10637
|
-
"type": "
|
|
10694
|
+
"type": "AiOperationOptions",
|
|
10638
10695
|
"optional": true
|
|
10639
10696
|
}
|
|
10640
10697
|
],
|
|
@@ -10653,7 +10710,7 @@
|
|
|
10653
10710
|
},
|
|
10654
10711
|
{
|
|
10655
10712
|
"name": "options",
|
|
10656
|
-
"type": "
|
|
10713
|
+
"type": "AiOperationOptions",
|
|
10657
10714
|
"optional": true
|
|
10658
10715
|
}
|
|
10659
10716
|
],
|
|
@@ -10667,7 +10724,7 @@
|
|
|
10667
10724
|
"parameters": [
|
|
10668
10725
|
{
|
|
10669
10726
|
"name": "options",
|
|
10670
|
-
"type": "
|
|
10727
|
+
"type": "AiOperationOptions",
|
|
10671
10728
|
"optional": true
|
|
10672
10729
|
}
|
|
10673
10730
|
],
|
|
@@ -10697,6 +10754,25 @@
|
|
|
10697
10754
|
"isStatic": false,
|
|
10698
10755
|
"isPublic": true
|
|
10699
10756
|
},
|
|
10757
|
+
"_setLoadedRelationship": {
|
|
10758
|
+
"name": "_setLoadedRelationship",
|
|
10759
|
+
"async": false,
|
|
10760
|
+
"parameters": [
|
|
10761
|
+
{
|
|
10762
|
+
"name": "fieldName",
|
|
10763
|
+
"type": "string",
|
|
10764
|
+
"optional": false
|
|
10765
|
+
},
|
|
10766
|
+
{
|
|
10767
|
+
"name": "value",
|
|
10768
|
+
"type": "any",
|
|
10769
|
+
"optional": false
|
|
10770
|
+
}
|
|
10771
|
+
],
|
|
10772
|
+
"returnType": "void",
|
|
10773
|
+
"isStatic": false,
|
|
10774
|
+
"isPublic": true
|
|
10775
|
+
},
|
|
10700
10776
|
"loadRelated": {
|
|
10701
10777
|
"name": "loadRelated",
|
|
10702
10778
|
"async": true,
|
|
@@ -10800,7 +10876,7 @@
|
|
|
10800
10876
|
"optional": false
|
|
10801
10877
|
}
|
|
10802
10878
|
],
|
|
10803
|
-
"returnType": "Promise
|
|
10879
|
+
"returnType": "Promise",
|
|
10804
10880
|
"isStatic": false,
|
|
10805
10881
|
"isPublic": true
|
|
10806
10882
|
},
|
|
@@ -10814,7 +10890,7 @@
|
|
|
10814
10890
|
"optional": true
|
|
10815
10891
|
}
|
|
10816
10892
|
],
|
|
10817
|
-
"returnType": "Promise<Map<string
|
|
10893
|
+
"returnType": "Promise<Map<string>>",
|
|
10818
10894
|
"isStatic": false,
|
|
10819
10895
|
"isPublic": true
|
|
10820
10896
|
},
|
package/dist/smrt-knowledge.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"generatedAt": "2026-06-
|
|
3
|
+
"generatedAt": "2026-06-28T21:53:07.175Z",
|
|
4
4
|
"packageName": "@happyvertical/smrt-content",
|
|
5
|
-
"packageVersion": "0.
|
|
5
|
+
"packageVersion": "0.37.0",
|
|
6
6
|
"sourceManifestPath": "dist/manifest.json",
|
|
7
7
|
"agentDocPath": "AGENTS.md",
|
|
8
8
|
"sourceHashes": {
|
|
9
|
-
"manifest": "
|
|
10
|
-
"packageJson": "
|
|
9
|
+
"manifest": "08bea2c80f32231f464c6073d021ab5114fac3149e568b9d898575d5b634607a",
|
|
10
|
+
"packageJson": "0c5deeac2c4227ef2c96a9344a7690acd1cf4d9a965d2f972508cdf3103c907e",
|
|
11
11
|
"agents": "d3e1fdba8cf8c8f393e682616c56fefcc789c44018407bbdf7332d5f06cfbb5c"
|
|
12
12
|
},
|
|
13
13
|
"exports": [
|
|
@@ -3093,6 +3093,7 @@
|
|
|
3093
3093
|
}
|
|
3094
3094
|
],
|
|
3095
3095
|
"methods": [
|
|
3096
|
+
"_setLoadedRelationship",
|
|
3096
3097
|
"addAsset",
|
|
3097
3098
|
"addFact",
|
|
3098
3099
|
"addReference",
|
|
@@ -3365,6 +3366,7 @@
|
|
|
3365
3366
|
}
|
|
3366
3367
|
],
|
|
3367
3368
|
"methods": [
|
|
3369
|
+
"_setLoadedRelationship",
|
|
3368
3370
|
"addAsset",
|
|
3369
3371
|
"addFact",
|
|
3370
3372
|
"addReference",
|
|
@@ -3687,6 +3689,7 @@
|
|
|
3687
3689
|
}
|
|
3688
3690
|
],
|
|
3689
3691
|
"methods": [
|
|
3692
|
+
"_setLoadedRelationship",
|
|
3690
3693
|
"addAsset",
|
|
3691
3694
|
"addFact",
|
|
3692
3695
|
"addReference",
|
|
@@ -4177,6 +4180,7 @@
|
|
|
4177
4180
|
}
|
|
4178
4181
|
],
|
|
4179
4182
|
"methods": [
|
|
4183
|
+
"_setLoadedRelationship",
|
|
4180
4184
|
"addAsset",
|
|
4181
4185
|
"addFact",
|
|
4182
4186
|
"addReference",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@happyvertical/smrt-content",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.37.0",
|
|
4
4
|
"description": "Content processing module for SMRT framework - handles documents, web content, and media",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"smrtRawPrimitives": "strict",
|
|
@@ -50,17 +50,17 @@
|
|
|
50
50
|
"@happyvertical/utils": "^0.74.10",
|
|
51
51
|
"fast-xml-parser": "^5.7.2",
|
|
52
52
|
"yaml": "^2.8.2",
|
|
53
|
-
"@happyvertical/smrt-
|
|
54
|
-
"@happyvertical/smrt-
|
|
55
|
-
"@happyvertical/smrt-
|
|
56
|
-
"@happyvertical/smrt-images": "0.
|
|
57
|
-
"@happyvertical/smrt-
|
|
58
|
-
"@happyvertical/smrt-messages": "0.
|
|
59
|
-
"@happyvertical/smrt-prompts": "0.
|
|
60
|
-
"@happyvertical/smrt-profiles": "0.
|
|
61
|
-
"@happyvertical/smrt-tenancy": "0.
|
|
62
|
-
"@happyvertical/smrt-types": "0.
|
|
63
|
-
"@happyvertical/smrt-ui": "0.
|
|
53
|
+
"@happyvertical/smrt-assets": "0.37.0",
|
|
54
|
+
"@happyvertical/smrt-chat": "0.37.0",
|
|
55
|
+
"@happyvertical/smrt-core": "0.37.0",
|
|
56
|
+
"@happyvertical/smrt-images": "0.37.0",
|
|
57
|
+
"@happyvertical/smrt-facts": "0.37.0",
|
|
58
|
+
"@happyvertical/smrt-messages": "0.37.0",
|
|
59
|
+
"@happyvertical/smrt-prompts": "0.37.0",
|
|
60
|
+
"@happyvertical/smrt-profiles": "0.37.0",
|
|
61
|
+
"@happyvertical/smrt-tenancy": "0.37.0",
|
|
62
|
+
"@happyvertical/smrt-types": "0.37.0",
|
|
63
|
+
"@happyvertical/smrt-ui": "0.37.0"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
|
66
66
|
"svelte": "^5.18.0"
|
|
@@ -81,8 +81,8 @@
|
|
|
81
81
|
"typescript": "^5.9.3",
|
|
82
82
|
"vite": "^7.3.1",
|
|
83
83
|
"vitest": "^4.0.17",
|
|
84
|
-
"@happyvertical/smrt-playground": "0.
|
|
85
|
-
"@happyvertical/smrt-vitest": "0.
|
|
84
|
+
"@happyvertical/smrt-playground": "0.37.0",
|
|
85
|
+
"@happyvertical/smrt-vitest": "0.37.0"
|
|
86
86
|
},
|
|
87
87
|
"keywords": [
|
|
88
88
|
"ai",
|