@happyvertical/smrt-content 0.54.2 → 0.54.4

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.
Files changed (92) hide show
  1. package/dist/chunks/{content-corrections-CKuY-MSv.js → content-corrections-DBYUJDaD.js} +9 -1
  2. package/dist/chunks/content-corrections-DBYUJDaD.js.map +1 -0
  3. package/dist/chunks/content-query-ChszuIuV.js +4196 -0
  4. package/dist/chunks/content-query-ChszuIuV.js.map +1 -0
  5. package/dist/chunks/{content-reviews-D6o0zK8s.js → content-reviews-B6h2aJ9m.js} +9 -1
  6. package/dist/chunks/content-reviews-B6h2aJ9m.js.map +1 -0
  7. package/dist/chunks/{content-versions-BaQTegRz.js → content-versions-BrfgO59T.js} +10 -2
  8. package/dist/chunks/content-versions-BrfgO59T.js.map +1 -0
  9. package/dist/chunks/{contents-DJTz9BlQ.js → contents-CuWts3Lz.js} +3 -2
  10. package/dist/chunks/contents-CuWts3Lz.js.map +1 -0
  11. package/dist/content-assets.d.ts +1 -1
  12. package/dist/content-assets.d.ts.map +1 -1
  13. package/dist/content-contribution-attachment.d.ts +1 -1
  14. package/dist/content-contribution-attachment.d.ts.map +1 -1
  15. package/dist/content-contribution-attachments.d.ts +1 -1
  16. package/dist/content-contribution-attachments.d.ts.map +1 -1
  17. package/dist/content-contribution-revision.d.ts +1 -1
  18. package/dist/content-contribution-revision.d.ts.map +1 -1
  19. package/dist/content-contribution-revisions.d.ts +1 -1
  20. package/dist/content-contribution-revisions.d.ts.map +1 -1
  21. package/dist/content-contribution-type.d.ts +1 -1
  22. package/dist/content-contribution-type.d.ts.map +1 -1
  23. package/dist/content-contribution-types.d.ts +1 -1
  24. package/dist/content-contribution-types.d.ts.map +1 -1
  25. package/dist/content-contribution.d.ts +4 -4
  26. package/dist/content-contribution.d.ts.map +1 -1
  27. package/dist/content-contributions.d.ts +7 -7
  28. package/dist/content-contributions.d.ts.map +1 -1
  29. package/dist/content-contributor.d.ts +1 -1
  30. package/dist/content-contributor.d.ts.map +1 -1
  31. package/dist/content-contributors.d.ts +1 -1
  32. package/dist/content-contributors.d.ts.map +1 -1
  33. package/dist/content-correction.d.ts +1 -1
  34. package/dist/content-correction.d.ts.map +1 -1
  35. package/dist/content-corrections.d.ts +1 -1
  36. package/dist/content-corrections.d.ts.map +1 -1
  37. package/dist/content-feed-source.d.ts +1 -1
  38. package/dist/content-feed-source.d.ts.map +1 -1
  39. package/dist/content-feed-sources.d.ts +1 -1
  40. package/dist/content-feed-sources.d.ts.map +1 -1
  41. package/dist/content-feed-sync.d.ts +2 -2
  42. package/dist/content-feed-sync.d.ts.map +1 -1
  43. package/dist/content-governance-assignment.d.ts +1 -1
  44. package/dist/content-governance-assignment.d.ts.map +1 -1
  45. package/dist/content-governance-assignments.d.ts +1 -1
  46. package/dist/content-governance-assignments.d.ts.map +1 -1
  47. package/dist/content-governance-policies.d.ts +1 -1
  48. package/dist/content-governance-policies.d.ts.map +1 -1
  49. package/dist/content-governance-policy.d.ts +1 -1
  50. package/dist/content-governance-policy.d.ts.map +1 -1
  51. package/dist/content-governance-profile.d.ts +1 -1
  52. package/dist/content-governance-profile.d.ts.map +1 -1
  53. package/dist/content-governance-profiles.d.ts +1 -1
  54. package/dist/content-governance-profiles.d.ts.map +1 -1
  55. package/dist/content-governance.d.ts +1 -1
  56. package/dist/content-governance.d.ts.map +1 -1
  57. package/dist/content-references.d.ts +1 -1
  58. package/dist/content-references.d.ts.map +1 -1
  59. package/dist/content-review.d.ts +1 -1
  60. package/dist/content-review.d.ts.map +1 -1
  61. package/dist/content-reviews.d.ts +2 -2
  62. package/dist/content-reviews.d.ts.map +1 -1
  63. package/dist/content-types.d.ts +1 -1
  64. package/dist/content-types.d.ts.map +1 -1
  65. package/dist/content-version.d.ts +3 -3
  66. package/dist/content-version.d.ts.map +1 -1
  67. package/dist/content-versions.d.ts +3 -3
  68. package/dist/content-versions.d.ts.map +1 -1
  69. package/dist/content.d.ts +14 -14
  70. package/dist/content.d.ts.map +1 -1
  71. package/dist/contents.d.ts +9 -9
  72. package/dist/contents.d.ts.map +1 -1
  73. package/dist/index.d.ts +81 -81
  74. package/dist/index.d.ts.map +1 -1
  75. package/dist/index.js +92 -9
  76. package/dist/index.js.map +1 -1
  77. package/dist/manifest.json +15 -14
  78. package/dist/mock-smrt-client.d.ts +1 -1
  79. package/dist/mock-smrt-client.d.ts.map +1 -1
  80. package/dist/server.js +1 -1
  81. package/dist/smrt-knowledge.json +31 -31
  82. package/dist/thumbnail-generator.d.ts +1 -1
  83. package/dist/thumbnail-generator.d.ts.map +1 -1
  84. package/dist/utils.d.ts +1 -1
  85. package/dist/utils.d.ts.map +1 -1
  86. package/package.json +24 -24
  87. package/dist/chunks/content-corrections-CKuY-MSv.js.map +0 -1
  88. package/dist/chunks/content-query-CySNL0lU.js +0 -4170
  89. package/dist/chunks/content-query-CySNL0lU.js.map +0 -1
  90. package/dist/chunks/content-reviews-D6o0zK8s.js.map +0 -1
  91. package/dist/chunks/content-versions-BaQTegRz.js.map +0 -1
  92. package/dist/chunks/contents-DJTz9BlQ.js.map +0 -1
package/dist/index.d.ts CHANGED
@@ -5,85 +5,85 @@
5
5
  * utilities.
6
6
  */
7
7
  import './__smrt-register__.js';
8
- export type { AssetAssociable, MetadataAccessor, } from './asset-associable';
9
- export { isAssetAssociable, isMetadataAccessor } from './asset-associable';
10
- export type { ContentBodyFormat, ContentBodyImage, ContentBodyThumbnail, ContentBodyThumbnailPlacement, ContentMainPicture, ContentMainPictureMode, RenderContentBodyOptions, } from './body-format';
11
- export { BODY_MAIN_IMAGE_ATTRIBUTE, BODY_THUMBNAIL_ATTRIBUTE, bodyHasImage, bodyHasThumbnail, bodyToEditorHtml, DEFAULT_CONTENT_BODY_FORMAT, editorHtmlToBody, extractBodyImages, htmlToMarkdown, placeThumbnailInBody, removeThumbnailFromBody, renderContentBodyHtml, renderMarkdownToHtml, resolveBodyFormat, resolveBodyMainPicture, sanitizeHtml, setBodyMainImage, stripHtml, THUMBNAIL_WIDE_ASPECT_RATIO, thumbnailPlacementForSize, } from './body-format';
12
- export type { ContentOptions } from './content';
13
- export { Content } from './content';
14
- export type { ContentAssetOptions } from './content-asset';
15
- export { ContentAsset } from './content-asset';
16
- export { ContentAssetCollection } from './content-assets';
17
- export type { ContentChatAIConfig, ContentChatCollectionLike, ContentChatSessionInput, CreateContentChatThreadInput, ListContentChatThreadMessagesInput, ResolveContentChatAIInput, ResolvedContentChatAI, SendContentChatThreadMessageInput, } from './content-chat-handlers';
18
- export { contentChatMessageToJSON, contentChatSessionIsAuthorized, contentChatSessionKey, contentChatSessionMatchesContent, createContentEditorChatThread, getOrCreateContentEditorChatSession, listContentEditorChatThreadMessages, resolveDefaultContentChatAI, sendContentEditorChatThreadMessage, serializeContentChatMessageForUI, } from './content-chat-handlers';
19
- export { contentEditorInteractionPrompt, contentEditorSessionPrompt, } from './content-chat-prompts';
20
- export type { ContentChatAISelection, ContentEditorInteractionInput, } from './content-chat-session';
21
- export { buildContentChatModelUpdates, buildContentEditorInteractionVariables, buildContentEditorSessionContext, getContentChatAISelection, inferProviderFromModel, resolveContentChatModelSelection, } from './content-chat-session';
22
- export type { AppendContentContributionRevisionOptions, ApproveContentContributionOptions, ContentContributionAttachmentInput, ContentContributionOptions, PromoteContentContributionOptions, RejectContentContributionOptions, RequestChangesContentContributionOptions, WithdrawContentContributionOptions, } from './content-contribution';
23
- export { ContentContribution } from './content-contribution';
24
- export type { ContentContributionAttachmentOptions } from './content-contribution-attachment';
25
- export { ContentContributionAttachment } from './content-contribution-attachment';
26
- export { ContentContributionAttachmentCollection } from './content-contribution-attachments';
27
- export type { ContentContributionChannel, ContentContributionConfig, ContentContributionIntakeDecision, ContentContributionIntakeRules, ContentContributionPromotionMapping, ContentContributionStatus, ContentContributionTypeDefinition, ContentContributorTrustLevel, EvaluateContributionIntakeOptions, EvaluateContributionIntakeResult, PersistedContentContributionTypeRecord, ResolvedContentContributionType, } from './content-contribution-config';
28
- export { configureContentContributions, evaluateContributionIntake, getContentContributionConfig, getContentContributionTypeConfigState, getEffectiveContentContributionConfig, hasStaticContentContributionType, loadPersistedContentContributionTypes, resetContentContributionConfig, resolveEffectiveContentContributionType, } from './content-contribution-config';
29
- export type { ContentContributionRevisionOptions } from './content-contribution-revision';
30
- export { ContentContributionRevision } from './content-contribution-revision';
31
- export { ContentContributionRevisionCollection } from './content-contribution-revisions';
32
- export type { ContentContributionTypeOptions } from './content-contribution-type';
33
- export { ContentContributionType } from './content-contribution-type';
34
- export { ContentContributionTypeCollection } from './content-contribution-types';
35
- export type { IngestEmailContentContributionOptions, SubmitWebContentContributionOptions, } from './content-contributions';
36
- export { ContentContributions } from './content-contributions';
37
- export type { ContentContributorOptions } from './content-contributor';
38
- export { ContentContributor } from './content-contributor';
39
- export { ContentContributorCollection } from './content-contributors';
40
- export type { ContentCorrectionOptions } from './content-correction';
41
- export { ContentCorrection } from './content-correction';
42
- export { ContentCorrectionCollection } from './content-corrections';
43
- export type { ContentEditorAssistantActions, ContentEditorAssistantChatProps, ContentEditorAssistantContext, ContentEditorAssistantContextChange, ContentEditorAssistantContextData, ContentEditorAssistantEditorKind, ContentEditorAssistantFactSummary, ContentEditorAssistantFields, ContentEditorAssistantFieldUpdateAllowList, ContentEditorAssistantGovernanceSummary, ContentEditorAssistantRegistration, CreateContentEditorAssistantContextInput, } from './content-editor-assistant';
44
- export { contentEditorAssistantContextToChatProps, createContentEditorAssistantContext, sanitizeContentEditorAssistantFieldUpdates, } from './content-editor-assistant';
45
- export type { ContentFeedFormat, ParsedContentFeed, ParsedContentFeedItem, } from './content-feed-parser';
46
- export { parseContentFeed } from './content-feed-parser';
47
- export type { ContentFeedSourceOptions, ContentFeedSourceStatus, } from './content-feed-source';
48
- export { ContentFeedSource } from './content-feed-source';
49
- export type { ContentFeedSourceCollectionOptions } from './content-feed-sources';
50
- export { ContentFeedSourceCollection } from './content-feed-sources';
51
- export type { ContentFeedSyncOptions, ContentFeedSyncResult, } from './content-feed-sync';
52
- export { syncContentFeedSource } from './content-feed-sync';
53
- export type { ContentCorrectionStatus, ContentCorrectionType, ContentGovernanceAssignmentDefinition, ContentGovernanceConfig, ContentGovernanceProfileDefinition, ContentGovernanceState, ContentReviewFinding, ContentReviewKind, ContentReviewPolicyDefinition, ContentReviewProfileEvaluation, ContentReviewProfileEvaluationItem, ContentReviewRequirement, ContentReviewResult, ContentReviewSeverity, ContentReviewStatus, ContentVersionKind, CreateContentVersionOptions, IssueContentCorrectionOptions, ResolvedContentGovernance, RunContentReviewOptions, } from './content-governance';
54
- export { buildContentGovernanceAssignmentKey, buildContentReviewPrompt, configureContentGovernance, getAcceptedContentReviewStatuses, getContentGovernanceConfig, getContentReviewKind, getContentReviewPolicies, getContentReviewPolicy, getContentReviewProfile, getContentReviewProfileKeys, getContentReviewRequirements, getEffectiveContentGovernanceConfig, hasStaticContentGovernancePolicy, hasStaticContentGovernanceProfile, parseContentReviewResponse, resetContentGovernanceConfig, resolveConfiguredContentGovernance, resolveEffectiveContentGovernance, } from './content-governance';
55
- export type { ContentGovernanceAssignmentOptions } from './content-governance-assignment';
56
- export { ContentGovernanceAssignment } from './content-governance-assignment';
57
- export { ContentGovernanceAssignmentCollection } from './content-governance-assignments';
58
- export { ContentGovernancePolicyCollection } from './content-governance-policies';
59
- export type { ContentGovernancePolicyOptions } from './content-governance-policy';
60
- export { ContentGovernancePolicy } from './content-governance-policy';
61
- export type { ContentGovernanceProfileOptions } from './content-governance-profile';
62
- export { ContentGovernanceProfile } from './content-governance-profile';
63
- export { ContentGovernanceProfileCollection } from './content-governance-profiles';
64
- export { promptMessageOptions, smrtContentApplyCorrectionPrompt, smrtContentReviewPrompt, smrtContentThumbnailAIGeneratePrompt, } from './content-prompts';
65
- export type { ContentQueryCollection, ContentQueryOptions, ContentQueryScope, } from './content-query';
66
- export { assertContentQuerySchema, buildContentQuerySchema, buildDataQuerySchemaForClass, CONTENT_QUERY_CLASS_NAME, CONTENT_QUERY_DEFAULT_PAGE_LIMIT, CONTENT_QUERY_DEFAULT_SORT, CONTENT_QUERY_EXCLUDED_FIELD_IDS, CONTENT_QUERY_IDENTITY_FIELD, CONTENT_QUERY_MAX_PAGE_LIMIT, CONTENT_QUERY_MAX_RESULT_BYTES, CONTENT_QUERY_MIN_RESULT_BYTES, clearContentQuerySchemaCache, DATA_QUERY_FORBIDDEN_JSON_KEYS, DATA_QUERY_MAX_JSON_CONTAINER_ITEMS, DATA_QUERY_MAX_JSON_DEPTH, DATA_QUERY_MAX_JSON_STRING_LENGTH, DATA_QUERY_MAX_STRING_LENGTH, DATA_QUERY_MAX_WARNING_LENGTH, DATA_QUERY_MAX_WARNINGS, executeContentQuery, MAX_CONTENT_QUERY_OR_BRANCHES, mergeContentQueryScope, resolveContentTenantReadScope, } from './content-query';
67
- export type { ContentReferenceOptions } from './content-reference';
68
- export { ContentReference } from './content-reference';
69
- export type { ContentReferencesOptions } from './content-references';
70
- export { ContentReferences } from './content-references';
71
- export type { ContentReviewOptions } from './content-review';
72
- export { ContentReview } from './content-review';
73
- export { ContentReviewCollection } from './content-reviews';
74
- export type { ContentTransparencyData, ContentTransparencyFact, ContentTransparencyGeneration, ContentTransparencyPublicationVersion, ContentTransparencyReference, ContentTransparencySource, ContentTransparencyVersionHistoryItem, } from './content-transparency';
75
- export { normalizeContentTransparency } from './content-transparency';
76
- export type { MirrorOptions } from './content-types';
77
- export { Article, ContentDocument, Mirror, } from './content-types';
78
- export type { ContentVersionOptions } from './content-version';
79
- export { ContentVersion } from './content-version';
80
- export { ContentVersionCollection } from './content-versions';
81
- export type { ContentsOptions } from './contents';
82
- export { Contents } from './contents';
83
- export type { ContentPublishReadinessState, EvaluateContentPublishReadinessOptions, PublishReadinessProfile, PublishReadinessRequirement, } from './publish-readiness';
84
- export { evaluateContentPublishReadiness } from './publish-readiness';
85
- export type { SafeRemoteFetchOptions, SafeRemoteFetchResult, } from './safe-remote-url';
86
- export { fetchSafeRemoteUrl } from './safe-remote-url';
87
- export { type AIGenerateThumbnailOptions, type HeadlineCardThumbnailOptions, type StaticMapThumbnailOptions, ThumbnailGenerator, type ThumbnailOptions, type ThumbnailStrategy, } from './thumbnail-generator';
88
- export { contentToString, stringToContent } from './utils';
8
+ export type { AssetAssociable, MetadataAccessor, } from "./asset-associable.js";
9
+ export { isAssetAssociable, isMetadataAccessor } from "./asset-associable.js";
10
+ export type { ContentBodyFormat, ContentBodyImage, ContentBodyThumbnail, ContentBodyThumbnailPlacement, ContentMainPicture, ContentMainPictureMode, RenderContentBodyOptions, } from "./body-format.js";
11
+ export { BODY_MAIN_IMAGE_ATTRIBUTE, BODY_THUMBNAIL_ATTRIBUTE, bodyHasImage, bodyHasThumbnail, bodyToEditorHtml, DEFAULT_CONTENT_BODY_FORMAT, editorHtmlToBody, extractBodyImages, htmlToMarkdown, placeThumbnailInBody, removeThumbnailFromBody, renderContentBodyHtml, renderMarkdownToHtml, resolveBodyFormat, resolveBodyMainPicture, sanitizeHtml, setBodyMainImage, stripHtml, THUMBNAIL_WIDE_ASPECT_RATIO, thumbnailPlacementForSize, } from "./body-format.js";
12
+ export type { ContentOptions } from "./content.js";
13
+ export { Content } from "./content.js";
14
+ export type { ContentAssetOptions } from "./content-asset.js";
15
+ export { ContentAsset } from "./content-asset.js";
16
+ export { ContentAssetCollection } from "./content-assets.js";
17
+ export type { ContentChatAIConfig, ContentChatCollectionLike, ContentChatSessionInput, CreateContentChatThreadInput, ListContentChatThreadMessagesInput, ResolveContentChatAIInput, ResolvedContentChatAI, SendContentChatThreadMessageInput, } from "./content-chat-handlers.js";
18
+ export { contentChatMessageToJSON, contentChatSessionIsAuthorized, contentChatSessionKey, contentChatSessionMatchesContent, createContentEditorChatThread, getOrCreateContentEditorChatSession, listContentEditorChatThreadMessages, resolveDefaultContentChatAI, sendContentEditorChatThreadMessage, serializeContentChatMessageForUI, } from "./content-chat-handlers.js";
19
+ export { contentEditorInteractionPrompt, contentEditorSessionPrompt, } from "./content-chat-prompts.js";
20
+ export type { ContentChatAISelection, ContentEditorInteractionInput, } from "./content-chat-session.js";
21
+ export { buildContentChatModelUpdates, buildContentEditorInteractionVariables, buildContentEditorSessionContext, getContentChatAISelection, inferProviderFromModel, resolveContentChatModelSelection, } from "./content-chat-session.js";
22
+ export type { AppendContentContributionRevisionOptions, ApproveContentContributionOptions, ContentContributionAttachmentInput, ContentContributionOptions, PromoteContentContributionOptions, RejectContentContributionOptions, RequestChangesContentContributionOptions, WithdrawContentContributionOptions, } from "./content-contribution.js";
23
+ export { ContentContribution } from "./content-contribution.js";
24
+ export type { ContentContributionAttachmentOptions } from "./content-contribution-attachment.js";
25
+ export { ContentContributionAttachment } from "./content-contribution-attachment.js";
26
+ export { ContentContributionAttachmentCollection } from "./content-contribution-attachments.js";
27
+ export type { ContentContributionChannel, ContentContributionConfig, ContentContributionIntakeDecision, ContentContributionIntakeRules, ContentContributionPromotionMapping, ContentContributionStatus, ContentContributionTypeDefinition, ContentContributorTrustLevel, EvaluateContributionIntakeOptions, EvaluateContributionIntakeResult, PersistedContentContributionTypeRecord, ResolvedContentContributionType, } from "./content-contribution-config.js";
28
+ export { configureContentContributions, evaluateContributionIntake, getContentContributionConfig, getContentContributionTypeConfigState, getEffectiveContentContributionConfig, hasStaticContentContributionType, loadPersistedContentContributionTypes, resetContentContributionConfig, resolveEffectiveContentContributionType, } from "./content-contribution-config.js";
29
+ export type { ContentContributionRevisionOptions } from "./content-contribution-revision.js";
30
+ export { ContentContributionRevision } from "./content-contribution-revision.js";
31
+ export { ContentContributionRevisionCollection } from "./content-contribution-revisions.js";
32
+ export type { ContentContributionTypeOptions } from "./content-contribution-type.js";
33
+ export { ContentContributionType } from "./content-contribution-type.js";
34
+ export { ContentContributionTypeCollection } from "./content-contribution-types.js";
35
+ export type { IngestEmailContentContributionOptions, SubmitWebContentContributionOptions, } from "./content-contributions.js";
36
+ export { ContentContributions } from "./content-contributions.js";
37
+ export type { ContentContributorOptions } from "./content-contributor.js";
38
+ export { ContentContributor } from "./content-contributor.js";
39
+ export { ContentContributorCollection } from "./content-contributors.js";
40
+ export type { ContentCorrectionOptions } from "./content-correction.js";
41
+ export { ContentCorrection } from "./content-correction.js";
42
+ export { ContentCorrectionCollection } from "./content-corrections.js";
43
+ export type { ContentEditorAssistantActions, ContentEditorAssistantChatProps, ContentEditorAssistantContext, ContentEditorAssistantContextChange, ContentEditorAssistantContextData, ContentEditorAssistantEditorKind, ContentEditorAssistantFactSummary, ContentEditorAssistantFields, ContentEditorAssistantFieldUpdateAllowList, ContentEditorAssistantGovernanceSummary, ContentEditorAssistantRegistration, CreateContentEditorAssistantContextInput, } from "./content-editor-assistant.js";
44
+ export { contentEditorAssistantContextToChatProps, createContentEditorAssistantContext, sanitizeContentEditorAssistantFieldUpdates, } from "./content-editor-assistant.js";
45
+ export type { ContentFeedFormat, ParsedContentFeed, ParsedContentFeedItem, } from "./content-feed-parser.js";
46
+ export { parseContentFeed } from "./content-feed-parser.js";
47
+ export type { ContentFeedSourceOptions, ContentFeedSourceStatus, } from "./content-feed-source.js";
48
+ export { ContentFeedSource } from "./content-feed-source.js";
49
+ export type { ContentFeedSourceCollectionOptions } from "./content-feed-sources.js";
50
+ export { ContentFeedSourceCollection } from "./content-feed-sources.js";
51
+ export type { ContentFeedSyncOptions, ContentFeedSyncResult, } from "./content-feed-sync.js";
52
+ export { syncContentFeedSource } from "./content-feed-sync.js";
53
+ export type { ContentCorrectionStatus, ContentCorrectionType, ContentGovernanceAssignmentDefinition, ContentGovernanceConfig, ContentGovernanceProfileDefinition, ContentGovernanceState, ContentReviewFinding, ContentReviewKind, ContentReviewPolicyDefinition, ContentReviewProfileEvaluation, ContentReviewProfileEvaluationItem, ContentReviewRequirement, ContentReviewResult, ContentReviewSeverity, ContentReviewStatus, ContentVersionKind, CreateContentVersionOptions, IssueContentCorrectionOptions, ResolvedContentGovernance, RunContentReviewOptions, } from "./content-governance.js";
54
+ export { buildContentGovernanceAssignmentKey, buildContentReviewPrompt, configureContentGovernance, getAcceptedContentReviewStatuses, getContentGovernanceConfig, getContentReviewKind, getContentReviewPolicies, getContentReviewPolicy, getContentReviewProfile, getContentReviewProfileKeys, getContentReviewRequirements, getEffectiveContentGovernanceConfig, hasStaticContentGovernancePolicy, hasStaticContentGovernanceProfile, parseContentReviewResponse, resetContentGovernanceConfig, resolveConfiguredContentGovernance, resolveEffectiveContentGovernance, } from "./content-governance.js";
55
+ export type { ContentGovernanceAssignmentOptions } from "./content-governance-assignment.js";
56
+ export { ContentGovernanceAssignment } from "./content-governance-assignment.js";
57
+ export { ContentGovernanceAssignmentCollection } from "./content-governance-assignments.js";
58
+ export { ContentGovernancePolicyCollection } from "./content-governance-policies.js";
59
+ export type { ContentGovernancePolicyOptions } from "./content-governance-policy.js";
60
+ export { ContentGovernancePolicy } from "./content-governance-policy.js";
61
+ export type { ContentGovernanceProfileOptions } from "./content-governance-profile.js";
62
+ export { ContentGovernanceProfile } from "./content-governance-profile.js";
63
+ export { ContentGovernanceProfileCollection } from "./content-governance-profiles.js";
64
+ export { promptMessageOptions, smrtContentApplyCorrectionPrompt, smrtContentReviewPrompt, smrtContentThumbnailAIGeneratePrompt, } from "./content-prompts.js";
65
+ export type { ContentQueryCollection, ContentQueryOptions, ContentQueryScope, } from "./content-query.js";
66
+ export { assertContentQuerySchema, buildContentQuerySchema, buildDataQuerySchemaForClass, CONTENT_QUERY_CLASS_NAME, CONTENT_QUERY_DEFAULT_PAGE_LIMIT, CONTENT_QUERY_DEFAULT_SORT, CONTENT_QUERY_EXCLUDED_FIELD_IDS, CONTENT_QUERY_IDENTITY_FIELD, CONTENT_QUERY_MAX_PAGE_LIMIT, CONTENT_QUERY_MAX_RESULT_BYTES, CONTENT_QUERY_MIN_RESULT_BYTES, clearContentQuerySchemaCache, DATA_QUERY_FORBIDDEN_JSON_KEYS, DATA_QUERY_MAX_JSON_CONTAINER_ITEMS, DATA_QUERY_MAX_JSON_DEPTH, DATA_QUERY_MAX_JSON_STRING_LENGTH, DATA_QUERY_MAX_STRING_LENGTH, DATA_QUERY_MAX_WARNING_LENGTH, DATA_QUERY_MAX_WARNINGS, executeContentQuery, MAX_CONTENT_QUERY_OR_BRANCHES, mergeContentQueryScope, resolveContentTenantReadScope, } from "./content-query.js";
67
+ export type { ContentReferenceOptions } from "./content-reference.js";
68
+ export { ContentReference } from "./content-reference.js";
69
+ export type { ContentReferencesOptions } from "./content-references.js";
70
+ export { ContentReferences } from "./content-references.js";
71
+ export type { ContentReviewOptions } from "./content-review.js";
72
+ export { ContentReview } from "./content-review.js";
73
+ export { ContentReviewCollection } from "./content-reviews.js";
74
+ export type { ContentTransparencyData, ContentTransparencyFact, ContentTransparencyGeneration, ContentTransparencyPublicationVersion, ContentTransparencyReference, ContentTransparencySource, ContentTransparencyVersionHistoryItem, } from "./content-transparency.js";
75
+ export { normalizeContentTransparency } from "./content-transparency.js";
76
+ export type { MirrorOptions } from "./content-types.js";
77
+ export { Article, ContentDocument, Mirror, } from "./content-types.js";
78
+ export type { ContentVersionOptions } from "./content-version.js";
79
+ export { ContentVersion } from "./content-version.js";
80
+ export { ContentVersionCollection } from "./content-versions.js";
81
+ export type { ContentsOptions } from "./contents.js";
82
+ export { Contents } from "./contents.js";
83
+ export type { ContentPublishReadinessState, EvaluateContentPublishReadinessOptions, PublishReadinessProfile, PublishReadinessRequirement, } from "./publish-readiness.js";
84
+ export { evaluateContentPublishReadiness } from "./publish-readiness.js";
85
+ export type { SafeRemoteFetchOptions, SafeRemoteFetchResult, } from "./safe-remote-url.js";
86
+ export { fetchSafeRemoteUrl } from "./safe-remote-url.js";
87
+ export { type AIGenerateThumbnailOptions, type HeadlineCardThumbnailOptions, type StaticMapThumbnailOptions, ThumbnailGenerator, type ThumbnailOptions, type ThumbnailStrategy, } from "./thumbnail-generator.js";
88
+ export { contentToString, stringToContent } from "./utils.js";
89
89
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AA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B,CAAC;AAC3B,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAmB,CAAC;AAEvD,OAAO,EACL,KAAK,0BAA0B,EAC/B,KAAK,4BAA4B,EACjC,KAAK,yBAAyB,EAC9B,kBAAkB,EAClB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,GACvB,MAAM,0BAAuB,CAAC;AAC/B,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,YAAS,CAAC"}
package/dist/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { t as __exportAll } from "./chunks/rolldown-runtime-D7D4PA-g.js";
2
- import { $ as parseContentReviewResponse, A as normalizeContentTransparency, B as getAcceptedContentReviewStatuses, C as resolveContentTenantReadScope, F as smrtContentReviewPrompt, G as getContentReviewProfile, H as getContentReviewKind, I as smrtContentThumbnailAIGeneratePrompt, J as getEffectiveContentGovernanceConfig, K as getContentReviewProfileKeys, L as buildContentGovernanceAssignmentKey, M as ContentReference, N as promptMessageOptions, O as getQueryRows, P as smrtContentApplyCorrectionPrompt, R as buildContentReviewPrompt, S as mergeContentQueryScope, T as ThumbnailGenerator, U as getContentReviewPolicies, V as getContentGovernanceConfig, W as getContentReviewPolicy, X as hasStaticContentGovernancePolicy, Y as getFallbackPolicyKind, Z as hasStaticContentGovernanceProfile, _ as assertContentQuerySchema, a as CONTENT_QUERY_IDENTITY_FIELD, at as isAssetAssociable, b as clearContentQuerySchemaCache, c as CONTENT_QUERY_MIN_RESULT_BYTES, d as DATA_QUERY_MAX_JSON_DEPTH, et as resetContentGovernanceConfig, f as DATA_QUERY_MAX_JSON_STRING_LENGTH, g as MAX_CONTENT_QUERY_OR_BRANCHES, h as DATA_QUERY_MAX_WARNING_LENGTH, i as CONTENT_QUERY_EXCLUDED_FIELD_IDS, it as ContentAsset, j as ContentReferences, k as isMissingTableError, l as DATA_QUERY_FORBIDDEN_JSON_KEYS, m as DATA_QUERY_MAX_WARNINGS, n as CONTENT_QUERY_DEFAULT_PAGE_LIMIT, nt as resolveEffectiveContentGovernance, o as CONTENT_QUERY_MAX_PAGE_LIMIT, ot as isMetadataAccessor, p as DATA_QUERY_MAX_STRING_LENGTH, q as getContentReviewRequirements, r as CONTENT_QUERY_DEFAULT_SORT, rt as ContentAssetCollection, s as CONTENT_QUERY_MAX_RESULT_BYTES, t as CONTENT_QUERY_CLASS_NAME, tt as resolveConfiguredContentGovernance, u as DATA_QUERY_MAX_JSON_CONTAINER_ITEMS, v as buildContentQuerySchema, w as Content, x as executeContentQuery, y as buildDataQuerySchemaForClass, z as configureContentGovernance } from "./chunks/content-query-CySNL0lU.js";
2
+ import { $ as parseContentReviewResponse, A as normalizeContentTransparency, B as getAcceptedContentReviewStatuses, C as resolveContentTenantReadScope, F as smrtContentReviewPrompt, G as getContentReviewProfile, H as getContentReviewKind, I as smrtContentThumbnailAIGeneratePrompt, J as getEffectiveContentGovernanceConfig, K as getContentReviewProfileKeys, L as buildContentGovernanceAssignmentKey, M as ContentReference, N as promptMessageOptions, O as getQueryRows, P as smrtContentApplyCorrectionPrompt, R as buildContentReviewPrompt, S as mergeContentQueryScope, T as ThumbnailGenerator, U as getContentReviewPolicies, V as getContentGovernanceConfig, W as getContentReviewPolicy, X as hasStaticContentGovernancePolicy, Y as getFallbackPolicyKind, Z as hasStaticContentGovernanceProfile, _ as assertContentQuerySchema, a as CONTENT_QUERY_IDENTITY_FIELD, at as isAssetAssociable, b as clearContentQuerySchemaCache, c as CONTENT_QUERY_MIN_RESULT_BYTES, d as DATA_QUERY_MAX_JSON_DEPTH, et as resetContentGovernanceConfig, f as DATA_QUERY_MAX_JSON_STRING_LENGTH, g as MAX_CONTENT_QUERY_OR_BRANCHES, h as DATA_QUERY_MAX_WARNING_LENGTH, i as CONTENT_QUERY_EXCLUDED_FIELD_IDS, it as ContentAsset, j as ContentReferences, k as isMissingTableError, l as DATA_QUERY_FORBIDDEN_JSON_KEYS, m as DATA_QUERY_MAX_WARNINGS, n as CONTENT_QUERY_DEFAULT_PAGE_LIMIT, nt as resolveEffectiveContentGovernance, o as CONTENT_QUERY_MAX_PAGE_LIMIT, ot as isMetadataAccessor, p as DATA_QUERY_MAX_STRING_LENGTH, q as getContentReviewRequirements, r as CONTENT_QUERY_DEFAULT_SORT, rt as ContentAssetCollection, s as CONTENT_QUERY_MAX_RESULT_BYTES, t as CONTENT_QUERY_CLASS_NAME, tt as resolveConfiguredContentGovernance, u as DATA_QUERY_MAX_JSON_CONTAINER_ITEMS, v as buildContentQuerySchema, w as Content, x as executeContentQuery, y as buildDataQuerySchemaForClass, z as configureContentGovernance } from "./chunks/content-query-ChszuIuV.js";
3
3
  import { BODY_MAIN_IMAGE_ATTRIBUTE, BODY_THUMBNAIL_ATTRIBUTE, DEFAULT_CONTENT_BODY_FORMAT, THUMBNAIL_WIDE_ASPECT_RATIO, bodyHasImage, bodyHasThumbnail, bodyToEditorHtml, editorHtmlToBody, extractBodyImages, htmlToMarkdown, placeThumbnailInBody, removeThumbnailFromBody, renderContentBodyHtml, renderMarkdownToHtml, resolveBodyFormat, resolveBodyMainPicture, sanitizeHtml, setBodyMainImage, stripHtml, thumbnailPlacementForSize } from "./body-format.js";
4
- import { r as ContentCorrection, t as ContentCorrectionCollection } from "./chunks/content-corrections-CKuY-MSv.js";
4
+ import { r as ContentCorrection, t as ContentCorrectionCollection } from "./chunks/content-corrections-DBYUJDaD.js";
5
5
  import { contentEditorAssistantContextToChatProps, createContentEditorAssistantContext, sanitizeContentEditorAssistantFieldUpdates } from "./content-editor-assistant.js";
6
- import { i as fetchSafeRemoteUrlInternal, r as fetchSafeRemoteUrl, t as Contents } from "./chunks/contents-DJTz9BlQ.js";
7
- import { r as ContentReview, t as ContentReviewCollection } from "./chunks/content-reviews-D6o0zK8s.js";
8
- import { r as ContentVersion, t as ContentVersionCollection } from "./chunks/content-versions-BaQTegRz.js";
6
+ import { i as fetchSafeRemoteUrlInternal, r as fetchSafeRemoteUrl, t as Contents } from "./chunks/contents-CuWts3Lz.js";
7
+ import { r as ContentReview, t as ContentReviewCollection } from "./chunks/content-reviews-B6h2aJ9m.js";
8
+ import { r as ContentVersion, t as ContentVersionCollection } from "./chunks/content-versions-BrfgO59T.js";
9
9
  import { evaluateContentPublishReadiness } from "./publish-readiness.js";
10
10
  import { ObjectRegistry, SmrtCollection, SmrtObject, crossPackageRef, field, foreignKey, smrt } from "@happyvertical/smrt-core";
11
11
  import { AssetCollection, AssetStatusCollection, AssetTypeCollection } from "@happyvertical/smrt-assets";
@@ -780,12 +780,19 @@ function evaluateContributionIntake(options) {
780
780
  //#region src/content-contribution.ts
781
781
  var __defProp$10 = Object.defineProperty;
782
782
  var __getOwnPropDesc$10 = Object.getOwnPropertyDescriptor;
783
+ var __defNormalProp$10 = (obj, key, value) => key in obj ? __defProp$10(obj, key, {
784
+ enumerable: true,
785
+ configurable: true,
786
+ writable: true,
787
+ value
788
+ }) : obj[key] = value;
783
789
  var __decorateClass$10 = (decorators, target, key, kind) => {
784
790
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$10(target, key) : target;
785
791
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
786
792
  if (kind && result) __defProp$10(target, key, result);
787
793
  return result;
788
794
  };
795
+ var __publicField$10 = (obj, key, value) => __defNormalProp$10(obj, typeof key !== "symbol" ? key + "" : key, value);
789
796
  function parseMetadata$4(raw) {
790
797
  if (!raw) return {};
791
798
  if (typeof raw === "object") return { ...raw };
@@ -888,7 +895,7 @@ var ContentContribution = class extends SmrtObject {
888
895
  return ContentContributorCollection.create(this.options);
889
896
  }
890
897
  async getContentsCollection() {
891
- const { Contents } = await import("./chunks/contents-DJTz9BlQ.js").then((n) => n.n);
898
+ const { Contents } = await import("./chunks/contents-CuWts3Lz.js").then((n) => n.n);
892
899
  return Contents.create({ db: this.db });
893
900
  }
894
901
  async getAssetCollection() {
@@ -1153,6 +1160,7 @@ var ContentContribution = class extends SmrtObject {
1153
1160
  };
1154
1161
  }
1155
1162
  };
1163
+ __publicField$10(ContentContribution, "__smrtPackage__", "@happyvertical/smrt-content");
1156
1164
  __decorateClass$10([foreignKey("ContentContributor", { required: true })], ContentContribution.prototype, "contributorId", 2);
1157
1165
  __decorateClass$10([field({ required: true })], ContentContribution.prototype, "contributionTypeKey", 2);
1158
1166
  __decorateClass$10([crossPackageRef("@happyvertical/smrt-messages:Message")], ContentContribution.prototype, "sourceMessageId", 2);
@@ -1217,12 +1225,19 @@ ContentContribution = __decorateClass$10([TenantScoped({ mode: "optional" }), sm
1217
1225
  //#region src/content-contribution-attachment.ts
1218
1226
  var __defProp$9 = Object.defineProperty;
1219
1227
  var __getOwnPropDesc$9 = Object.getOwnPropertyDescriptor;
1228
+ var __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, {
1229
+ enumerable: true,
1230
+ configurable: true,
1231
+ writable: true,
1232
+ value
1233
+ }) : obj[key] = value;
1220
1234
  var __decorateClass$9 = (decorators, target, key, kind) => {
1221
1235
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$9(target, key) : target;
1222
1236
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
1223
1237
  if (kind && result) __defProp$9(target, key, result);
1224
1238
  return result;
1225
1239
  };
1240
+ var __publicField$9 = (obj, key, value) => __defNormalProp$9(obj, typeof key !== "symbol" ? key + "" : key, value);
1226
1241
  function parseMetadata$3(raw) {
1227
1242
  if (!raw) return {};
1228
1243
  if (typeof raw === "object") return { ...raw };
@@ -1278,6 +1293,7 @@ var ContentContributionAttachment = class extends SmrtObject {
1278
1293
  };
1279
1294
  }
1280
1295
  };
1296
+ __publicField$9(ContentContributionAttachment, "__smrtPackage__", "@happyvertical/smrt-content");
1281
1297
  __decorateClass$9([foreignKey("ContentContribution", { required: true })], ContentContributionAttachment.prototype, "contributionId", 2);
1282
1298
  __decorateClass$9([foreignKey("ContentContributionRevision")], ContentContributionAttachment.prototype, "revisionId", 2);
1283
1299
  __decorateClass$9([crossPackageRef("@happyvertical/smrt-assets:Asset")], ContentContributionAttachment.prototype, "promotedAssetId", 2);
@@ -1323,12 +1339,19 @@ var ContentContributionAttachmentCollection = class extends SmrtCollection {
1323
1339
  //#region src/content-contribution-revision.ts
1324
1340
  var __defProp$8 = Object.defineProperty;
1325
1341
  var __getOwnPropDesc$8 = Object.getOwnPropertyDescriptor;
1342
+ var __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, {
1343
+ enumerable: true,
1344
+ configurable: true,
1345
+ writable: true,
1346
+ value
1347
+ }) : obj[key] = value;
1326
1348
  var __decorateClass$8 = (decorators, target, key, kind) => {
1327
1349
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$8(target, key) : target;
1328
1350
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
1329
1351
  if (kind && result) __defProp$8(target, key, result);
1330
1352
  return result;
1331
1353
  };
1354
+ var __publicField$8 = (obj, key, value) => __defNormalProp$8(obj, typeof key !== "symbol" ? key + "" : key, value);
1332
1355
  function parseMetadata$2(raw) {
1333
1356
  if (!raw) return {};
1334
1357
  if (typeof raw === "object") return { ...raw };
@@ -1380,6 +1403,7 @@ var ContentContributionRevision = class extends SmrtObject {
1380
1403
  };
1381
1404
  }
1382
1405
  };
1406
+ __publicField$8(ContentContributionRevision, "__smrtPackage__", "@happyvertical/smrt-content");
1383
1407
  __decorateClass$8([foreignKey("ContentContribution", { required: true })], ContentContributionRevision.prototype, "contributionId", 2);
1384
1408
  __decorateClass$8([crossPackageRef("@happyvertical/smrt-messages:Message")], ContentContributionRevision.prototype, "sourceMessageId", 2);
1385
1409
  __decorateClass$8([tenantId({ nullable: true })], ContentContributionRevision.prototype, "tenantId", 2);
@@ -1425,12 +1449,19 @@ var ContentContributionRevisionCollection = class extends SmrtCollection {
1425
1449
  //#region src/content-contribution-type.ts
1426
1450
  var __defProp$7 = Object.defineProperty;
1427
1451
  var __getOwnPropDesc$7 = Object.getOwnPropertyDescriptor;
1452
+ var __defNormalProp$7 = (obj, key, value) => key in obj ? __defProp$7(obj, key, {
1453
+ enumerable: true,
1454
+ configurable: true,
1455
+ writable: true,
1456
+ value
1457
+ }) : obj[key] = value;
1428
1458
  var __decorateClass$7 = (decorators, target, key, kind) => {
1429
1459
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$7(target, key) : target;
1430
1460
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
1431
1461
  if (kind && result) __defProp$7(target, key, result);
1432
1462
  return result;
1433
1463
  };
1464
+ var __publicField$7 = (obj, key, value) => __defNormalProp$7(obj, typeof key !== "symbol" ? key + "" : key, value);
1434
1465
  function parseJSON(raw, fallback) {
1435
1466
  if (!raw) return fallback;
1436
1467
  if (typeof raw === "object") return structuredClone(raw);
@@ -1536,6 +1567,7 @@ var ContentContributionType = class extends SmrtObject {
1536
1567
  return super.delete();
1537
1568
  }
1538
1569
  };
1570
+ __publicField$7(ContentContributionType, "__smrtPackage__", "@happyvertical/smrt-content");
1539
1571
  __decorateClass$7([field({ required: true })], ContentContributionType.prototype, "key", 2);
1540
1572
  __decorateClass$7([tenantId({ nullable: true })], ContentContributionType.prototype, "tenantId", 2);
1541
1573
  ContentContributionType = __decorateClass$7([TenantScoped({ mode: "optional" }), smrt({
@@ -1577,12 +1609,19 @@ var ContentContributionTypeCollection = class extends SmrtCollection {
1577
1609
  //#region src/content-contributor.ts
1578
1610
  var __defProp$6 = Object.defineProperty;
1579
1611
  var __getOwnPropDesc$6 = Object.getOwnPropertyDescriptor;
1612
+ var __defNormalProp$6 = (obj, key, value) => key in obj ? __defProp$6(obj, key, {
1613
+ enumerable: true,
1614
+ configurable: true,
1615
+ writable: true,
1616
+ value
1617
+ }) : obj[key] = value;
1580
1618
  var __decorateClass$6 = (decorators, target, key, kind) => {
1581
1619
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$6(target, key) : target;
1582
1620
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
1583
1621
  if (kind && result) __defProp$6(target, key, result);
1584
1622
  return result;
1585
1623
  };
1624
+ var __publicField$6 = (obj, key, value) => __defNormalProp$6(obj, typeof key !== "symbol" ? key + "" : key, value);
1586
1625
  function parseMetadata$1(raw) {
1587
1626
  if (!raw) return {};
1588
1627
  if (typeof raw === "object") return { ...raw };
@@ -1628,6 +1667,7 @@ var ContentContributor = class extends SmrtObject {
1628
1667
  };
1629
1668
  }
1630
1669
  };
1670
+ __publicField$6(ContentContributor, "__smrtPackage__", "@happyvertical/smrt-content");
1631
1671
  __decorateClass$6([crossPackageRef("@happyvertical/smrt-profiles:Profile")], ContentContributor.prototype, "profileId", 2);
1632
1672
  __decorateClass$6([field({ required: true })], ContentContributor.prototype, "email", 2);
1633
1673
  __decorateClass$6([tenantId({ nullable: true })], ContentContributor.prototype, "tenantId", 2);
@@ -1701,7 +1741,7 @@ var ContentContributorCollection = class extends SmrtCollection {
1701
1741
  //#region src/content-contributions.ts
1702
1742
  var __defProp$5 = Object.defineProperty;
1703
1743
  var __getOwnPropDesc$5 = Object.getOwnPropertyDescriptor;
1704
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp$5(obj, key, {
1744
+ var __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, {
1705
1745
  enumerable: true,
1706
1746
  configurable: true,
1707
1747
  writable: true,
@@ -1713,7 +1753,7 @@ var __decorateClass$5 = (decorators, target, key, kind) => {
1713
1753
  if (kind && result) __defProp$5(target, key, result);
1714
1754
  return result;
1715
1755
  };
1716
- var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
1756
+ var __publicField$5 = (obj, key, value) => __defNormalProp$5(obj, typeof key !== "symbol" ? key + "" : key, value);
1717
1757
  function toContributionStatus(decision) {
1718
1758
  if (decision === "quarantined") return "quarantined";
1719
1759
  if (decision === "rejected") return "rejected";
@@ -1955,7 +1995,8 @@ var ContentContributions = class extends SmrtCollection {
1955
1995
  };
1956
1996
  }
1957
1997
  };
1958
- __publicField(ContentContributions, "_itemClass", ContentContribution);
1998
+ __publicField$5(ContentContributions, "__smrtPackage__", "@happyvertical/smrt-content");
1999
+ __publicField$5(ContentContributions, "_itemClass", ContentContribution);
1959
2000
  ContentContributions = __decorateClass$5([smrt({
1960
2001
  api: {
1961
2002
  include: [
@@ -6089,12 +6130,19 @@ function parseContentFeed(xml, baseUrl) {
6089
6130
  //#region src/content-feed-source.ts
6090
6131
  var __defProp$4 = Object.defineProperty;
6091
6132
  var __getOwnPropDesc$4 = Object.getOwnPropertyDescriptor;
6133
+ var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, {
6134
+ enumerable: true,
6135
+ configurable: true,
6136
+ writable: true,
6137
+ value
6138
+ }) : obj[key] = value;
6092
6139
  var __decorateClass$4 = (decorators, target, key, kind) => {
6093
6140
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$4(target, key) : target;
6094
6141
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
6095
6142
  if (kind && result) __defProp$4(target, key, result);
6096
6143
  return result;
6097
6144
  };
6145
+ var __publicField$4 = (obj, key, value) => __defNormalProp$4(obj, typeof key !== "symbol" ? key + "" : key, value);
6098
6146
  var SOURCE_STATUSES = /* @__PURE__ */ new Set([
6099
6147
  "active",
6100
6148
  "paused",
@@ -6211,6 +6259,7 @@ var ContentFeedSource = class extends SmrtObject {
6211
6259
  };
6212
6260
  }
6213
6261
  };
6262
+ __publicField$4(ContentFeedSource, "__smrtPackage__", "@happyvertical/smrt-content");
6214
6263
  __decorateClass$4([tenantId({ nullable: true })], ContentFeedSource.prototype, "tenantId", 2);
6215
6264
  __decorateClass$4([field({ required: true })], ContentFeedSource.prototype, "name", 2);
6216
6265
  __decorateClass$4([field({ required: true })], ContentFeedSource.prototype, "feedUrl", 2);
@@ -6271,17 +6320,25 @@ var ContentFeedSourceCollection = class extends SmrtCollection {
6271
6320
  //#region src/content-types.ts
6272
6321
  var __defProp$3 = Object.defineProperty;
6273
6322
  var __getOwnPropDesc$3 = Object.getOwnPropertyDescriptor;
6323
+ var __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, {
6324
+ enumerable: true,
6325
+ configurable: true,
6326
+ writable: true,
6327
+ value
6328
+ }) : obj[key] = value;
6274
6329
  var __decorateClass$3 = (decorators, target, key, kind) => {
6275
6330
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$3(target, key) : target;
6276
6331
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
6277
6332
  if (kind && result) __defProp$3(target, key, result);
6278
6333
  return result;
6279
6334
  };
6335
+ var __publicField$3 = (obj, key, value) => __defNormalProp$3(obj, typeof key !== "symbol" ? key + "" : key, value);
6280
6336
  var Article = class extends Content {
6281
6337
  constructor(options = {}) {
6282
6338
  super(options);
6283
6339
  }
6284
6340
  };
6341
+ __publicField$3(Article, "__smrtPackage__", "@happyvertical/smrt-content");
6285
6342
  Article = __decorateClass$3([smrt({
6286
6343
  tableStrategy: "sti",
6287
6344
  api: false,
@@ -6293,6 +6350,7 @@ var ContentDocument = class extends Content {
6293
6350
  super(options);
6294
6351
  }
6295
6352
  };
6353
+ __publicField$3(ContentDocument, "__smrtPackage__", "@happyvertical/smrt-content");
6296
6354
  ContentDocument = __decorateClass$3([smrt({
6297
6355
  tableStrategy: "sti",
6298
6356
  api: false,
@@ -6336,6 +6394,7 @@ var Mirror = class extends Content {
6336
6394
  };
6337
6395
  }
6338
6396
  };
6397
+ __publicField$3(Mirror, "__smrtPackage__", "@happyvertical/smrt-content");
6339
6398
  __decorateClass$3([foreignKey("ContentFeedSource")], Mirror.prototype, "feedSourceId", 2);
6340
6399
  Mirror = __decorateClass$3([smrt({
6341
6400
  tableStrategy: "sti",
@@ -6569,12 +6628,19 @@ async function syncContentFeedSource(source, options = {}) {
6569
6628
  //#region src/content-governance-assignment.ts
6570
6629
  var __defProp$2 = Object.defineProperty;
6571
6630
  var __getOwnPropDesc$2 = Object.getOwnPropertyDescriptor;
6631
+ var __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, {
6632
+ enumerable: true,
6633
+ configurable: true,
6634
+ writable: true,
6635
+ value
6636
+ }) : obj[key] = value;
6572
6637
  var __decorateClass$2 = (decorators, target, key, kind) => {
6573
6638
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$2(target, key) : target;
6574
6639
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
6575
6640
  if (kind && result) __defProp$2(target, key, result);
6576
6641
  return result;
6577
6642
  };
6643
+ var __publicField$2 = (obj, key, value) => __defNormalProp$2(obj, typeof key !== "symbol" ? key + "" : key, value);
6578
6644
  var ContentGovernanceAssignment = class extends SmrtObject {
6579
6645
  key = "";
6580
6646
  label = "";
@@ -6642,6 +6708,7 @@ var ContentGovernanceAssignment = class extends SmrtObject {
6642
6708
  if (missingProfiles.length > 0) throw new Error(`Cannot save governance assignment "${this.key}" because these profiles are missing: ${missingProfiles.join(", ")}`);
6643
6709
  }
6644
6710
  };
6711
+ __publicField$2(ContentGovernanceAssignment, "__smrtPackage__", "@happyvertical/smrt-content");
6645
6712
  __decorateClass$2([field({ required: true })], ContentGovernanceAssignment.prototype, "key", 2);
6646
6713
  __decorateClass$2([field({ required: true })], ContentGovernanceAssignment.prototype, "contentType", 2);
6647
6714
  __decorateClass$2([tenantId({ nullable: true })], ContentGovernanceAssignment.prototype, "tenantId", 2);
@@ -6681,12 +6748,19 @@ var ContentGovernanceAssignmentCollection = class extends SmrtCollection {
6681
6748
  //#region src/content-governance-policy.ts
6682
6749
  var __defProp$1 = Object.defineProperty;
6683
6750
  var __getOwnPropDesc$1 = Object.getOwnPropertyDescriptor;
6751
+ var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, {
6752
+ enumerable: true,
6753
+ configurable: true,
6754
+ writable: true,
6755
+ value
6756
+ }) : obj[key] = value;
6684
6757
  var __decorateClass$1 = (decorators, target, key, kind) => {
6685
6758
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$1(target, key) : target;
6686
6759
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
6687
6760
  if (kind && result) __defProp$1(target, key, result);
6688
6761
  return result;
6689
6762
  };
6763
+ var __publicField$1 = (obj, key, value) => __defNormalProp$1(obj, typeof key !== "symbol" ? key + "" : key, value);
6690
6764
  var ContentGovernancePolicy = class extends SmrtObject {
6691
6765
  key = "";
6692
6766
  label = "";
@@ -6735,6 +6809,7 @@ var ContentGovernancePolicy = class extends SmrtObject {
6735
6809
  return super.delete();
6736
6810
  }
6737
6811
  };
6812
+ __publicField$1(ContentGovernancePolicy, "__smrtPackage__", "@happyvertical/smrt-content");
6738
6813
  __decorateClass$1([field({ required: true })], ContentGovernancePolicy.prototype, "key", 2);
6739
6814
  __decorateClass$1([tenantId({ nullable: true })], ContentGovernancePolicy.prototype, "tenantId", 2);
6740
6815
  ContentGovernancePolicy = __decorateClass$1([TenantScoped({ mode: "optional" }), smrt({
@@ -6768,12 +6843,19 @@ var ContentGovernancePolicyCollection = class extends SmrtCollection {
6768
6843
  //#region src/content-governance-profile.ts
6769
6844
  var __defProp = Object.defineProperty;
6770
6845
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6846
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, {
6847
+ enumerable: true,
6848
+ configurable: true,
6849
+ writable: true,
6850
+ value
6851
+ }) : obj[key] = value;
6771
6852
  var __decorateClass = (decorators, target, key, kind) => {
6772
6853
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
6773
6854
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
6774
6855
  if (kind && result) __defProp(target, key, result);
6775
6856
  return result;
6776
6857
  };
6858
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
6777
6859
  var ContentGovernanceProfile = class extends SmrtObject {
6778
6860
  key = "";
6779
6861
  label = "";
@@ -6837,6 +6919,7 @@ var ContentGovernanceProfile = class extends SmrtObject {
6837
6919
  return super.delete();
6838
6920
  }
6839
6921
  };
6922
+ __publicField(ContentGovernanceProfile, "__smrtPackage__", "@happyvertical/smrt-content");
6840
6923
  __decorateClass([field({ required: true })], ContentGovernanceProfile.prototype, "key", 2);
6841
6924
  __decorateClass([tenantId({ nullable: true })], ContentGovernanceProfile.prototype, "tenantId", 2);
6842
6925
  ContentGovernanceProfile = __decorateClass([TenantScoped({ mode: "optional" }), smrt({