@happyvertical/smrt-content 0.51.31 → 0.51.33
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/asset-associable.d.ts +1 -1
- package/dist/chunks/{content-query-DX8CRWAq.js → content-query-CWC3HxZK.js} +4 -4
- package/dist/chunks/{content-query-DX8CRWAq.js.map → content-query-CWC3HxZK.js.map} +1 -1
- package/dist/chunks/{content-versions-DcryvK2p.js → content-versions-Cz_q3X0w.js} +2 -2
- package/dist/chunks/{content-versions-DcryvK2p.js.map → content-versions-Cz_q3X0w.js.map} +1 -1
- package/dist/chunks/{contents-DBIVAURB.js → contents-B4BMhx7k.js} +2 -2
- package/dist/chunks/{contents-DBIVAURB.js.map → contents-B4BMhx7k.js.map} +1 -1
- package/dist/content-asset.d.ts +2 -1
- package/dist/content-assets.d.ts +2 -1
- package/dist/content-chat-handlers.d.ts +12 -12
- package/dist/content-chat-prompts.d.ts +2 -2
- package/dist/content-chat-route-helpers.d.ts +10 -0
- package/dist/content-chat-route-helpers.d.ts.map +1 -0
- package/dist/content-chat-session.d.ts +1 -1
- package/dist/content-contribution-attachment.d.ts +3 -2
- package/dist/content-contribution-config.d.ts +1 -1
- package/dist/content-contribution-revision.d.ts +3 -2
- package/dist/content-contribution-type.d.ts +3 -2
- package/dist/content-contribution.d.ts +6 -5
- package/dist/content-contributions.d.ts +7 -6
- package/dist/content-contributor.d.ts +3 -2
- package/dist/content-correction.d.ts +3 -2
- package/dist/content-feed-source.d.ts +3 -2
- package/dist/content-feed-sources.d.ts +3 -2
- package/dist/content-feed-sync.d.ts +3 -3
- package/dist/content-governance-assignment.d.ts +4 -3
- package/dist/content-governance-policy.d.ts +3 -2
- package/dist/content-governance-profile.d.ts +3 -2
- package/dist/content-governance.d.ts +3 -3
- package/dist/content-prompts.d.ts +4 -4
- package/dist/content-query.d.ts +23 -1
- package/dist/content-reference.d.ts +2 -1
- package/dist/content-references.d.ts +2 -1
- package/dist/content-review.d.ts +3 -2
- package/dist/content-reviews.d.ts +1 -1
- package/dist/content-types.d.ts +7 -1
- package/dist/content-version.d.ts +5 -4
- package/dist/content-versions.d.ts +2 -2
- package/dist/content.d.ts +19 -18
- package/dist/contents.d.ts +14 -13
- package/dist/index.d.ts +7 -0
- package/dist/index.js +4 -4
- package/dist/manifest.json +1 -1
- package/dist/mock-smrt-client.d.ts +7 -1
- package/dist/route-loaders.d.ts +1 -1
- package/dist/route-module.d.ts +31 -3
- package/dist/server/content-list-actions.d.ts +16 -6
- package/dist/server/content-list-data-surface.d.ts +3 -2
- package/dist/server/content-list-lifecycle.d.ts +12 -3
- package/dist/server.d.ts +7 -0
- package/dist/server.js +1 -1
- package/dist/smrt-knowledge.json +4 -4
- package/dist/thumbnail-generator.d.ts +14 -6
- package/dist/ui.d.ts +7 -1
- package/dist/utils.d.ts +1 -1
- package/dist/workbench.d.ts +32 -32
- package/package.json +17 -17
package/dist/workbench.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ApiResponse, ContentContributionData, ContentContributionTypeConfigStateData, ContentContributionTypeData, ContentContributorData, ContentData, ContentGovernanceAssignmentData, ContentGovernanceDefinitionsData, ContentGovernanceProfileData, ContentReviewPolicyData, FactData, ResolvedContentGovernanceData } from './mock-smrt-client.js';
|
|
2
|
-
import
|
|
1
|
+
import type { ApiResponse, ContentContributionData, ContentContributionTypeConfigStateData, ContentContributionTypeData, ContentContributorData, ContentData, ContentGovernanceAssignmentData, ContentGovernanceDefinitionsData, ContentGovernanceProfileData, ContentReviewPolicyData, FactData, ResolvedContentGovernanceData } from './mock-smrt-client.js';
|
|
2
|
+
import playground from './svelte/playground.js';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
packageName: string;
|
|
5
5
|
displayName: string;
|
|
@@ -79,8 +79,8 @@ declare const _default: {
|
|
|
79
79
|
createdAt?: string | undefined;
|
|
80
80
|
updatedAt?: string | undefined;
|
|
81
81
|
contributor?: (ContentContributorData | null) | undefined;
|
|
82
|
-
revisions?: import(
|
|
83
|
-
attachments?: import(
|
|
82
|
+
revisions?: import("./mock-smrt-client.js").ContentContributionRevisionData[] | undefined;
|
|
83
|
+
attachments?: import("./mock-smrt-client.js").ContentContributionAttachmentData[] | undefined;
|
|
84
84
|
};
|
|
85
85
|
}>>;
|
|
86
86
|
appendRevision: (id: string) => Promise<ApiResponse<ContentContributionData | null>>;
|
|
@@ -102,18 +102,18 @@ declare const _default: {
|
|
|
102
102
|
delete: (id: string) => Promise<ApiResponse<undefined>>;
|
|
103
103
|
};
|
|
104
104
|
};
|
|
105
|
-
navigation: import(
|
|
105
|
+
navigation: import("./route-module.js").ContentRouteNavigationItem[];
|
|
106
106
|
};
|
|
107
107
|
id: string;
|
|
108
108
|
title: string;
|
|
109
109
|
description?: string;
|
|
110
110
|
defaultPath: string;
|
|
111
|
-
component: import(
|
|
111
|
+
component: import("@happyvertical/smrt-types").ModuleComponentType<{
|
|
112
112
|
data?: unknown;
|
|
113
113
|
}>;
|
|
114
114
|
load?: ((input: unknown) => unknown) | undefined;
|
|
115
|
-
loadKind?: import(
|
|
116
|
-
nav?: import(
|
|
115
|
+
loadKind?: import("@happyvertical/smrt-types").SmrtRouteLoadKind;
|
|
116
|
+
nav?: import("@happyvertical/smrt-types").SmrtRouteNavigationMeta;
|
|
117
117
|
tags?: string[];
|
|
118
118
|
};
|
|
119
119
|
facts: {
|
|
@@ -189,8 +189,8 @@ declare const _default: {
|
|
|
189
189
|
createdAt?: string | undefined;
|
|
190
190
|
updatedAt?: string | undefined;
|
|
191
191
|
contributor?: (ContentContributorData | null) | undefined;
|
|
192
|
-
revisions?: import(
|
|
193
|
-
attachments?: import(
|
|
192
|
+
revisions?: import("./mock-smrt-client.js").ContentContributionRevisionData[] | undefined;
|
|
193
|
+
attachments?: import("./mock-smrt-client.js").ContentContributionAttachmentData[] | undefined;
|
|
194
194
|
};
|
|
195
195
|
}>>;
|
|
196
196
|
appendRevision: (id: string) => Promise<ApiResponse<ContentContributionData | null>>;
|
|
@@ -212,18 +212,18 @@ declare const _default: {
|
|
|
212
212
|
delete: (id: string) => Promise<ApiResponse<undefined>>;
|
|
213
213
|
};
|
|
214
214
|
};
|
|
215
|
-
navigation: import(
|
|
215
|
+
navigation: import("./route-module.js").ContentRouteNavigationItem[];
|
|
216
216
|
};
|
|
217
217
|
id: string;
|
|
218
218
|
title: string;
|
|
219
219
|
description?: string;
|
|
220
220
|
defaultPath: string;
|
|
221
|
-
component: import(
|
|
221
|
+
component: import("@happyvertical/smrt-types").ModuleComponentType<{
|
|
222
222
|
data?: unknown;
|
|
223
223
|
}>;
|
|
224
224
|
load?: ((input: unknown) => unknown) | undefined;
|
|
225
|
-
loadKind?: import(
|
|
226
|
-
nav?: import(
|
|
225
|
+
loadKind?: import("@happyvertical/smrt-types").SmrtRouteLoadKind;
|
|
226
|
+
nav?: import("@happyvertical/smrt-types").SmrtRouteNavigationMeta;
|
|
227
227
|
tags?: string[];
|
|
228
228
|
};
|
|
229
229
|
governance: {
|
|
@@ -299,8 +299,8 @@ declare const _default: {
|
|
|
299
299
|
createdAt?: string | undefined;
|
|
300
300
|
updatedAt?: string | undefined;
|
|
301
301
|
contributor?: (ContentContributorData | null) | undefined;
|
|
302
|
-
revisions?: import(
|
|
303
|
-
attachments?: import(
|
|
302
|
+
revisions?: import("./mock-smrt-client.js").ContentContributionRevisionData[] | undefined;
|
|
303
|
+
attachments?: import("./mock-smrt-client.js").ContentContributionAttachmentData[] | undefined;
|
|
304
304
|
};
|
|
305
305
|
}>>;
|
|
306
306
|
appendRevision: (id: string) => Promise<ApiResponse<ContentContributionData | null>>;
|
|
@@ -322,18 +322,18 @@ declare const _default: {
|
|
|
322
322
|
delete: (id: string) => Promise<ApiResponse<undefined>>;
|
|
323
323
|
};
|
|
324
324
|
};
|
|
325
|
-
navigation: import(
|
|
325
|
+
navigation: import("./route-module.js").ContentRouteNavigationItem[];
|
|
326
326
|
};
|
|
327
327
|
id: string;
|
|
328
328
|
title: string;
|
|
329
329
|
description?: string;
|
|
330
330
|
defaultPath: string;
|
|
331
|
-
component: import(
|
|
331
|
+
component: import("@happyvertical/smrt-types").ModuleComponentType<{
|
|
332
332
|
data?: unknown;
|
|
333
333
|
}>;
|
|
334
334
|
load?: ((input: unknown) => unknown) | undefined;
|
|
335
|
-
loadKind?: import(
|
|
336
|
-
nav?: import(
|
|
335
|
+
loadKind?: import("@happyvertical/smrt-types").SmrtRouteLoadKind;
|
|
336
|
+
nav?: import("@happyvertical/smrt-types").SmrtRouteNavigationMeta;
|
|
337
337
|
tags?: string[];
|
|
338
338
|
};
|
|
339
339
|
contributions: {
|
|
@@ -409,8 +409,8 @@ declare const _default: {
|
|
|
409
409
|
createdAt?: string | undefined;
|
|
410
410
|
updatedAt?: string | undefined;
|
|
411
411
|
contributor?: (ContentContributorData | null) | undefined;
|
|
412
|
-
revisions?: import(
|
|
413
|
-
attachments?: import(
|
|
412
|
+
revisions?: import("./mock-smrt-client.js").ContentContributionRevisionData[] | undefined;
|
|
413
|
+
attachments?: import("./mock-smrt-client.js").ContentContributionAttachmentData[] | undefined;
|
|
414
414
|
};
|
|
415
415
|
}>>;
|
|
416
416
|
appendRevision: (id: string) => Promise<ApiResponse<ContentContributionData | null>>;
|
|
@@ -432,18 +432,18 @@ declare const _default: {
|
|
|
432
432
|
delete: (id: string) => Promise<ApiResponse<undefined>>;
|
|
433
433
|
};
|
|
434
434
|
};
|
|
435
|
-
navigation: import(
|
|
435
|
+
navigation: import("./route-module.js").ContentRouteNavigationItem[];
|
|
436
436
|
};
|
|
437
437
|
id: string;
|
|
438
438
|
title: string;
|
|
439
439
|
description?: string;
|
|
440
440
|
defaultPath: string;
|
|
441
|
-
component: import(
|
|
441
|
+
component: import("@happyvertical/smrt-types").ModuleComponentType<{
|
|
442
442
|
data?: unknown;
|
|
443
443
|
}>;
|
|
444
444
|
load?: ((input: unknown) => unknown) | undefined;
|
|
445
|
-
loadKind?: import(
|
|
446
|
-
nav?: import(
|
|
445
|
+
loadKind?: import("@happyvertical/smrt-types").SmrtRouteLoadKind;
|
|
446
|
+
nav?: import("@happyvertical/smrt-types").SmrtRouteNavigationMeta;
|
|
447
447
|
tags?: string[];
|
|
448
448
|
};
|
|
449
449
|
article: {
|
|
@@ -468,17 +468,17 @@ declare const _default: {
|
|
|
468
468
|
title: string;
|
|
469
469
|
description?: string;
|
|
470
470
|
defaultPath: string;
|
|
471
|
-
component: import(
|
|
472
|
-
data?: import(
|
|
471
|
+
component: import("@happyvertical/smrt-types").ModuleComponentType<{
|
|
472
|
+
data?: import("./route-module.js").PublishedContentArticleRouteData | undefined;
|
|
473
473
|
}>;
|
|
474
|
-
load?: ((input: import(
|
|
475
|
-
loadKind?: import(
|
|
476
|
-
nav?: import(
|
|
474
|
+
load?: ((input: import("./route-module.js").LoadPublishedArticleRouteInput) => import("./route-module.js").PublishedContentArticleRouteData | Promise<import("./route-module.js").PublishedContentArticleRouteData>) | undefined;
|
|
475
|
+
loadKind?: import("@happyvertical/smrt-types").SmrtRouteLoadKind;
|
|
476
|
+
nav?: import("@happyvertical/smrt-types").SmrtRouteNavigationMeta;
|
|
477
477
|
tags?: string[];
|
|
478
478
|
};
|
|
479
479
|
};
|
|
480
|
-
packageName: string;
|
|
481
480
|
description?: string | undefined;
|
|
481
|
+
packageName: string;
|
|
482
482
|
displayName: string;
|
|
483
483
|
}[];
|
|
484
484
|
recommendedCommands: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@happyvertical/smrt-content",
|
|
3
|
-
"version": "0.51.
|
|
3
|
+
"version": "0.51.33",
|
|
4
4
|
"smrtJsdoc": "strict",
|
|
5
5
|
"description": "Content processing module for SMRT framework - handles documents, web content, and media",
|
|
6
6
|
"type": "module",
|
|
@@ -55,18 +55,18 @@
|
|
|
55
55
|
"@happyvertical/logger": "^0.94.1",
|
|
56
56
|
"@happyvertical/ocr": "^0.61.6",
|
|
57
57
|
"@happyvertical/pdf": "^0.65.9",
|
|
58
|
-
"@happyvertical/smrt-assets": "0.51.
|
|
59
|
-
"@happyvertical/smrt-agents": "0.51.
|
|
60
|
-
"@happyvertical/smrt-chat": "0.51.
|
|
61
|
-
"@happyvertical/smrt-core": "0.51.
|
|
62
|
-
"@happyvertical/smrt-facts": "0.51.
|
|
63
|
-
"@happyvertical/smrt-images": "0.51.
|
|
64
|
-
"@happyvertical/smrt-messages": "0.51.
|
|
65
|
-
"@happyvertical/smrt-prompts": "0.51.
|
|
66
|
-
"@happyvertical/smrt-profiles": "0.51.
|
|
67
|
-
"@happyvertical/smrt-tenancy": "0.51.
|
|
68
|
-
"@happyvertical/smrt-types": "0.51.
|
|
69
|
-
"@happyvertical/smrt-ui": "0.51.
|
|
58
|
+
"@happyvertical/smrt-assets": "0.51.33",
|
|
59
|
+
"@happyvertical/smrt-agents": "0.51.33",
|
|
60
|
+
"@happyvertical/smrt-chat": "0.51.33",
|
|
61
|
+
"@happyvertical/smrt-core": "0.51.33",
|
|
62
|
+
"@happyvertical/smrt-facts": "0.51.33",
|
|
63
|
+
"@happyvertical/smrt-images": "0.51.33",
|
|
64
|
+
"@happyvertical/smrt-messages": "0.51.33",
|
|
65
|
+
"@happyvertical/smrt-prompts": "0.51.33",
|
|
66
|
+
"@happyvertical/smrt-profiles": "0.51.33",
|
|
67
|
+
"@happyvertical/smrt-tenancy": "0.51.33",
|
|
68
|
+
"@happyvertical/smrt-types": "0.51.33",
|
|
69
|
+
"@happyvertical/smrt-ui": "0.51.33",
|
|
70
70
|
"@happyvertical/spider": "^1.1.13",
|
|
71
71
|
"@happyvertical/sql": "^0.94.1",
|
|
72
72
|
"@happyvertical/utils": "^0.94.1",
|
|
@@ -83,16 +83,16 @@
|
|
|
83
83
|
},
|
|
84
84
|
"devDependencies": {
|
|
85
85
|
"@faker-js/faker": "^10.6.0",
|
|
86
|
-
"@happyvertical/smrt-playground": "0.51.
|
|
87
|
-
"@happyvertical/smrt-users": "0.51.
|
|
88
|
-
"@happyvertical/smrt-vitest": "0.51.
|
|
86
|
+
"@happyvertical/smrt-playground": "0.51.33",
|
|
87
|
+
"@happyvertical/smrt-users": "0.51.33",
|
|
88
|
+
"@happyvertical/smrt-vitest": "0.51.33",
|
|
89
89
|
"@sveltejs/kit": "2.69.1",
|
|
90
90
|
"@sveltejs/package": "^2.5.8",
|
|
91
91
|
"@sveltejs/vite-plugin-svelte": "^7.3.0",
|
|
92
92
|
"@types/node": "24.13.6",
|
|
93
93
|
"svelte": "^5.57.1",
|
|
94
94
|
"svelte-check": "^4.7.6",
|
|
95
|
-
"typescript": "
|
|
95
|
+
"typescript": "6.0.3",
|
|
96
96
|
"vite": "8.1.4",
|
|
97
97
|
"vitest": "4.1.10"
|
|
98
98
|
},
|