@bachelornation/schemas 1.0.5 → 3.0.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/CHANGELOG.md +21 -6
- package/bachelornation/apollo/PollAnswerV1.js +16 -12
- package/bachelornation/apollo/command/CastVoteV1.js +59 -16
- package/bachelornation/apollo/command/CreatePollV1.js +57 -13
- package/bachelornation/apollo/command/DeletePollV1.js +57 -13
- package/bachelornation/apollo/command/ExpirePollV1.js +57 -13
- package/bachelornation/apollo/command/MarkPollAsDraftV1.js +57 -13
- package/bachelornation/apollo/command/MarkPollAsPendingV1.js +57 -13
- package/bachelornation/apollo/command/PublishPollV1.js +57 -13
- package/bachelornation/apollo/command/UnpublishPollV1.js +57 -13
- package/bachelornation/apollo/command/UpdatePollV1.js +66 -13
- package/bachelornation/apollo/event/PollCreatedV1.js +36 -13
- package/bachelornation/apollo/event/PollDeletedV1.js +36 -13
- package/bachelornation/apollo/event/PollExpiredV1.js +36 -13
- package/bachelornation/apollo/event/PollMarkedAsDraftV1.js +36 -13
- package/bachelornation/apollo/event/PollMarkedAsPendingV1.js +36 -13
- package/bachelornation/apollo/event/PollPublishedV1.js +38 -16
- package/bachelornation/apollo/event/PollScheduledV1.js +38 -16
- package/bachelornation/apollo/event/PollUnpublishedV1.js +38 -16
- package/bachelornation/apollo/event/PollUpdatedV1.js +45 -13
- package/bachelornation/apollo/event/VoteCastedV1.js +53 -19
- package/bachelornation/apollo/node/PollStatsV1.js +46 -16
- package/bachelornation/apollo/node/PollV1.js +60 -25
- package/bachelornation/apollo/request/GetPollHistoryRequestV1.js +56 -13
- package/bachelornation/apollo/request/GetPollHistoryResponseV1.js +43 -13
- package/bachelornation/apollo/request/GetPollRequestV1.js +59 -13
- package/bachelornation/apollo/request/GetPollResponseV1.js +38 -13
- package/bachelornation/apollo/request/SearchPollsRequestV1.js +66 -14
- package/bachelornation/apollo/request/SearchPollsResponseV1.js +55 -14
- package/bachelornation/boost/command/CreateSponsorV1.js +57 -13
- package/bachelornation/boost/command/DeleteSponsorV1.js +57 -13
- package/bachelornation/boost/command/ExpireSponsorV1.js +57 -13
- package/bachelornation/boost/command/MarkSponsorAsDraftV1.js +57 -13
- package/bachelornation/boost/command/MarkSponsorAsPendingV1.js +57 -13
- package/bachelornation/boost/command/PublishSponsorV1.js +57 -13
- package/bachelornation/boost/command/RenameSponsorV1.js +58 -13
- package/bachelornation/boost/command/UnpublishSponsorV1.js +57 -13
- package/bachelornation/boost/command/UpdateSponsorV1.js +66 -13
- package/bachelornation/boost/event/SponsorCreatedV1.js +36 -13
- package/bachelornation/boost/event/SponsorDeletedV1.js +36 -13
- package/bachelornation/boost/event/SponsorExpiredV1.js +36 -13
- package/bachelornation/boost/event/SponsorMarkedAsDraftV1.js +36 -13
- package/bachelornation/boost/event/SponsorMarkedAsPendingV1.js +36 -13
- package/bachelornation/boost/event/SponsorPublishedV1.js +38 -16
- package/bachelornation/boost/event/SponsorRenamedV1.js +37 -13
- package/bachelornation/boost/event/SponsorScheduledV1.js +38 -16
- package/bachelornation/boost/event/SponsorUnpublishedV1.js +38 -16
- package/bachelornation/boost/event/SponsorUpdatedV1.js +45 -13
- package/bachelornation/boost/node/SponsorV1.js +73 -20
- package/bachelornation/boost/request/GetSponsorHistoryRequestV1.js +56 -13
- package/bachelornation/boost/request/GetSponsorHistoryResponseV1.js +43 -13
- package/bachelornation/boost/request/GetSponsorRequestV1.js +59 -13
- package/bachelornation/boost/request/GetSponsorResponseV1.js +38 -13
- package/bachelornation/boost/request/SearchSponsorsRequestV1.js +66 -14
- package/bachelornation/boost/request/SearchSponsorsResponseV1.js +55 -14
- package/bachelornation/canvas/block/ArticleBlockV1.js +43 -16
- package/bachelornation/canvas/block/AudioBlockV1.js +48 -16
- package/bachelornation/canvas/block/CodeBlockV1.js +35 -15
- package/bachelornation/canvas/block/DividerBlockV1.js +36 -15
- package/bachelornation/canvas/block/DocumentBlockV1.js +49 -16
- package/bachelornation/canvas/block/EmeFormBlockV1.js +35 -15
- package/bachelornation/canvas/block/FacebookPostBlockV1.js +36 -15
- package/bachelornation/canvas/block/FacebookVideoBlockV1.js +41 -15
- package/bachelornation/canvas/block/GalleryBlockV1.js +50 -16
- package/bachelornation/canvas/block/GoogleMapBlockV1.js +35 -15
- package/bachelornation/canvas/block/HeadingBlockV1.js +36 -15
- package/bachelornation/canvas/block/IframeBlockV1.js +40 -15
- package/bachelornation/canvas/block/ImageBlockV1.js +45 -16
- package/bachelornation/canvas/block/ImgurPostBlockV1.js +39 -15
- package/bachelornation/canvas/block/InstagramMediaBlockV1.js +35 -15
- package/bachelornation/canvas/block/PageBreakBlockV1.js +35 -15
- package/bachelornation/canvas/block/PinterestPinBlockV1.js +40 -15
- package/bachelornation/canvas/block/PollBlockV1.js +39 -16
- package/bachelornation/canvas/block/PollGridBlockV1.js +40 -15
- package/bachelornation/canvas/block/QuoteBlockV1.js +36 -15
- package/bachelornation/canvas/block/SoundcloudAudioBlockV1.js +44 -15
- package/bachelornation/canvas/block/SpotifyEmbedBlockV1.js +40 -15
- package/bachelornation/canvas/block/SpotifyTrackBlockV1.js +35 -15
- package/bachelornation/canvas/block/TextBlockV1.js +35 -15
- package/bachelornation/canvas/block/TiktokEmbedBlockV1.js +35 -15
- package/bachelornation/canvas/block/TumblrPostBlockV1.js +36 -15
- package/bachelornation/canvas/block/TwitterTweetBlockV1.js +35 -15
- package/bachelornation/canvas/block/VideoBlockV1.js +44 -16
- package/bachelornation/canvas/block/VimeoVideoBlockV1.js +52 -15
- package/bachelornation/canvas/block/YoutubePlaylistBlockV1.js +40 -15
- package/bachelornation/canvas/block/YoutubeVideoBlockV1.js +40 -15
- package/bachelornation/canvas/command/CreatePageV1.js +57 -13
- package/bachelornation/canvas/command/DeletePageV1.js +57 -13
- package/bachelornation/canvas/command/ExpirePageV1.js +57 -13
- package/bachelornation/canvas/command/MarkPageAsDraftV1.js +57 -13
- package/bachelornation/canvas/command/MarkPageAsPendingV1.js +57 -13
- package/bachelornation/canvas/command/PublishPageV1.js +57 -13
- package/bachelornation/canvas/command/RenamePageV1.js +58 -13
- package/bachelornation/canvas/command/UnpublishPageV1.js +57 -13
- package/bachelornation/canvas/command/UpdatePageV1.js +66 -13
- package/bachelornation/canvas/event/PageCreatedV1.js +36 -13
- package/bachelornation/canvas/event/PageDeletedV1.js +36 -13
- package/bachelornation/canvas/event/PageExpiredV1.js +36 -13
- package/bachelornation/canvas/event/PageMarkedAsDraftV1.js +36 -13
- package/bachelornation/canvas/event/PageMarkedAsPendingV1.js +36 -13
- package/bachelornation/canvas/event/PagePublishedV1.js +38 -16
- package/bachelornation/canvas/event/PageRenamedV1.js +37 -13
- package/bachelornation/canvas/event/PageScheduledV1.js +38 -16
- package/bachelornation/canvas/event/PageUnpublishedV1.js +38 -16
- package/bachelornation/canvas/event/PageUpdatedV1.js +45 -13
- package/bachelornation/canvas/node/PageV1.js +116 -34
- package/bachelornation/canvas/request/GetPageHistoryRequestV1.js +56 -13
- package/bachelornation/canvas/request/GetPageHistoryResponseV1.js +43 -13
- package/bachelornation/canvas/request/GetPageRequestV1.js +59 -13
- package/bachelornation/canvas/request/GetPageResponseV1.js +38 -13
- package/bachelornation/canvas/request/SearchPagesRequestV1.js +66 -14
- package/bachelornation/canvas/request/SearchPagesResponseV1.js +55 -14
- package/bachelornation/curator/command/CreateGalleryV1.js +57 -13
- package/bachelornation/curator/command/CreatePromotionV1.js +57 -13
- package/bachelornation/curator/command/CreateTeaserV1.js +57 -13
- package/bachelornation/curator/command/CreateTimelineV1.js +57 -13
- package/bachelornation/curator/command/CreateWidgetV1.js +57 -13
- package/bachelornation/curator/command/DeleteGalleryV1.js +57 -13
- package/bachelornation/curator/command/DeletePromotionV1.js +57 -13
- package/bachelornation/curator/command/DeleteTeaserV1.js +57 -13
- package/bachelornation/curator/command/DeleteTimelineV1.js +57 -13
- package/bachelornation/curator/command/DeleteWidgetV1.js +57 -13
- package/bachelornation/curator/command/ExpireGalleryV1.js +57 -13
- package/bachelornation/curator/command/ExpirePromotionV1.js +57 -13
- package/bachelornation/curator/command/ExpireTeaserV1.js +57 -13
- package/bachelornation/curator/command/ExpireTimelineV1.js +57 -13
- package/bachelornation/curator/command/MarkGalleryAsDraftV1.js +57 -13
- package/bachelornation/curator/command/MarkGalleryAsPendingV1.js +57 -13
- package/bachelornation/curator/command/MarkPromotionAsDraftV1.js +57 -13
- package/bachelornation/curator/command/MarkPromotionAsPendingV1.js +57 -13
- package/bachelornation/curator/command/MarkTeaserAsDraftV1.js +57 -13
- package/bachelornation/curator/command/MarkTeaserAsPendingV1.js +57 -13
- package/bachelornation/curator/command/MarkTimelineAsDraftV1.js +57 -13
- package/bachelornation/curator/command/MarkTimelineAsPendingV1.js +57 -13
- package/bachelornation/curator/command/PublishGalleryV1.js +57 -13
- package/bachelornation/curator/command/PublishPromotionV1.js +57 -13
- package/bachelornation/curator/command/PublishTeaserV1.js +57 -13
- package/bachelornation/curator/command/PublishTimelineV1.js +57 -13
- package/bachelornation/curator/command/RemoveTeaserSlottingV1.js +66 -13
- package/bachelornation/curator/command/RenameGalleryV1.js +58 -13
- package/bachelornation/curator/command/RenameTimelineV1.js +58 -13
- package/bachelornation/curator/command/SyncTeaserV1.js +66 -13
- package/bachelornation/curator/command/UnpublishGalleryV1.js +57 -13
- package/bachelornation/curator/command/UnpublishPromotionV1.js +57 -13
- package/bachelornation/curator/command/UnpublishTeaserV1.js +57 -13
- package/bachelornation/curator/command/UnpublishTimelineV1.js +57 -13
- package/bachelornation/curator/command/UpdateGalleryImageCountV1.js +61 -13
- package/bachelornation/curator/command/UpdateGalleryV1.js +66 -13
- package/bachelornation/curator/command/UpdatePromotionV1.js +66 -13
- package/bachelornation/curator/command/UpdateTeaserV1.js +66 -13
- package/bachelornation/curator/command/UpdateTimelineV1.js +66 -13
- package/bachelornation/curator/command/UpdateWidgetV1.js +66 -13
- package/bachelornation/curator/event/GalleryCreatedV1.js +36 -13
- package/bachelornation/curator/event/GalleryDeletedV1.js +36 -13
- package/bachelornation/curator/event/GalleryExpiredV1.js +36 -13
- package/bachelornation/curator/event/GalleryImageCountUpdatedV1.js +40 -13
- package/bachelornation/curator/event/GalleryMarkedAsDraftV1.js +36 -13
- package/bachelornation/curator/event/GalleryMarkedAsPendingV1.js +36 -13
- package/bachelornation/curator/event/GalleryPublishedV1.js +38 -16
- package/bachelornation/curator/event/GalleryRenamedV1.js +37 -13
- package/bachelornation/curator/event/GalleryScheduledV1.js +38 -16
- package/bachelornation/curator/event/GalleryUnpublishedV1.js +38 -16
- package/bachelornation/curator/event/GalleryUpdatedV1.js +45 -13
- package/bachelornation/curator/event/PromotionCreatedV1.js +36 -13
- package/bachelornation/curator/event/PromotionDeletedV1.js +36 -13
- package/bachelornation/curator/event/PromotionExpiredV1.js +36 -13
- package/bachelornation/curator/event/PromotionMarkedAsDraftV1.js +36 -13
- package/bachelornation/curator/event/PromotionMarkedAsPendingV1.js +36 -13
- package/bachelornation/curator/event/PromotionPublishedV1.js +38 -16
- package/bachelornation/curator/event/PromotionScheduledV1.js +38 -16
- package/bachelornation/curator/event/PromotionUnpublishedV1.js +38 -16
- package/bachelornation/curator/event/PromotionUpdatedV1.js +45 -13
- package/bachelornation/curator/event/TeaserCreatedV1.js +36 -13
- package/bachelornation/curator/event/TeaserDeletedV1.js +36 -13
- package/bachelornation/curator/event/TeaserExpiredV1.js +36 -13
- package/bachelornation/curator/event/TeaserMarkedAsDraftV1.js +36 -13
- package/bachelornation/curator/event/TeaserMarkedAsPendingV1.js +36 -13
- package/bachelornation/curator/event/TeaserPublishedV1.js +38 -16
- package/bachelornation/curator/event/TeaserScheduledV1.js +38 -16
- package/bachelornation/curator/event/TeaserSlottingRemovedV1.js +36 -13
- package/bachelornation/curator/event/TeaserUnpublishedV1.js +38 -16
- package/bachelornation/curator/event/TeaserUpdatedV1.js +45 -13
- package/bachelornation/curator/event/TimelineCreatedV1.js +36 -13
- package/bachelornation/curator/event/TimelineDeletedV1.js +36 -13
- package/bachelornation/curator/event/TimelineExpiredV1.js +36 -13
- package/bachelornation/curator/event/TimelineMarkedAsDraftV1.js +36 -13
- package/bachelornation/curator/event/TimelineMarkedAsPendingV1.js +36 -13
- package/bachelornation/curator/event/TimelinePublishedV1.js +38 -16
- package/bachelornation/curator/event/TimelineRenamedV1.js +37 -13
- package/bachelornation/curator/event/TimelineScheduledV1.js +38 -16
- package/bachelornation/curator/event/TimelineUnpublishedV1.js +38 -16
- package/bachelornation/curator/event/TimelineUpdatedV1.js +45 -13
- package/bachelornation/curator/event/WidgetCreatedV1.js +36 -13
- package/bachelornation/curator/event/WidgetDeletedV1.js +36 -13
- package/bachelornation/curator/event/WidgetUpdatedV1.js +45 -13
- package/bachelornation/curator/node/AdWidgetV1.js +60 -18
- package/bachelornation/curator/node/AlertWidgetV1.js +69 -20
- package/bachelornation/curator/node/ArticleTeaserV1.js +126 -30
- package/bachelornation/curator/node/AssetTeaserV1.js +126 -30
- package/bachelornation/curator/node/BlogrollWidgetV1.js +74 -20
- package/bachelornation/curator/node/CarouselWidgetV1.js +69 -20
- package/bachelornation/curator/node/CategoryTeaserV1.js +126 -30
- package/bachelornation/curator/node/ChannelTeaserV1.js +126 -30
- package/bachelornation/curator/node/CodeWidgetV1.js +59 -18
- package/bachelornation/curator/node/GalleryTeaserV1.js +126 -30
- package/bachelornation/curator/node/GalleryV1.js +129 -31
- package/bachelornation/curator/node/GalleryWidgetV1.js +69 -20
- package/bachelornation/curator/node/GridlerWidgetV1.js +69 -20
- package/bachelornation/curator/node/HeroBarWidgetV1.js +69 -20
- package/bachelornation/curator/node/LinkTeaserV1.js +117 -29
- package/bachelornation/curator/node/MediaListWidgetV1.js +69 -20
- package/bachelornation/curator/node/PageTeaserV1.js +126 -30
- package/bachelornation/curator/node/PersonTeaserV1.js +126 -30
- package/bachelornation/curator/node/PlaylistWidgetV1.js +69 -20
- package/bachelornation/curator/node/PollTeaserV1.js +126 -30
- package/bachelornation/curator/node/PromotionV1.js +73 -19
- package/bachelornation/curator/node/ShowtimesWidgetV1.js +68 -19
- package/bachelornation/curator/node/SliderWidgetV1.js +69 -20
- package/bachelornation/curator/node/SpotlightWidgetV1.js +69 -20
- package/bachelornation/curator/node/TagCloudWidgetV1.js +69 -20
- package/bachelornation/curator/node/TetrisWidgetV1.js +69 -20
- package/bachelornation/curator/node/TimelineTeaserV1.js +126 -30
- package/bachelornation/curator/node/TimelineV1.js +103 -30
- package/bachelornation/curator/node/VideoTeaserV1.js +126 -30
- package/bachelornation/curator/node/YoutubeVideoTeaserV1.js +117 -29
- package/bachelornation/curator/request/GetGalleryHistoryRequestV1.js +56 -13
- package/bachelornation/curator/request/GetGalleryHistoryResponseV1.js +43 -13
- package/bachelornation/curator/request/GetGalleryRequestV1.js +59 -13
- package/bachelornation/curator/request/GetGalleryResponseV1.js +38 -13
- package/bachelornation/curator/request/GetPromotionHistoryRequestV1.js +56 -13
- package/bachelornation/curator/request/GetPromotionHistoryResponseV1.js +43 -13
- package/bachelornation/curator/request/GetPromotionRequestV1.js +59 -13
- package/bachelornation/curator/request/GetPromotionResponseV1.js +38 -13
- package/bachelornation/curator/request/GetTeaserHistoryRequestV1.js +56 -13
- package/bachelornation/curator/request/GetTeaserHistoryResponseV1.js +43 -13
- package/bachelornation/curator/request/GetTeaserRequestV1.js +59 -13
- package/bachelornation/curator/request/GetTeaserResponseV1.js +38 -13
- package/bachelornation/curator/request/GetTimelineHistoryRequestV1.js +56 -13
- package/bachelornation/curator/request/GetTimelineHistoryResponseV1.js +43 -13
- package/bachelornation/curator/request/GetTimelineRequestV1.js +59 -13
- package/bachelornation/curator/request/GetTimelineResponseV1.js +38 -13
- package/bachelornation/curator/request/GetWidgetHistoryRequestV1.js +56 -13
- package/bachelornation/curator/request/GetWidgetHistoryResponseV1.js +43 -13
- package/bachelornation/curator/request/GetWidgetRequestV1.js +59 -13
- package/bachelornation/curator/request/GetWidgetResponseV1.js +38 -13
- package/bachelornation/curator/request/RenderPromotionRequestV1.js +53 -13
- package/bachelornation/curator/request/RenderPromotionResponseV1.js +38 -13
- package/bachelornation/curator/request/RenderWidgetRequestV1.js +43 -13
- package/bachelornation/curator/request/RenderWidgetResponseV1.js +38 -13
- package/bachelornation/curator/request/SearchGalleriesRequestV1.js +66 -15
- package/bachelornation/curator/request/SearchGalleriesResponseV1.js +55 -15
- package/bachelornation/curator/request/SearchPromotionsRequestV1.js +70 -14
- package/bachelornation/curator/request/SearchPromotionsResponseV1.js +55 -14
- package/bachelornation/curator/request/SearchTeasersRequestV1.js +84 -15
- package/bachelornation/curator/request/SearchTeasersResponseV1.js +55 -15
- package/bachelornation/curator/request/SearchTimelinesRequestV1.js +66 -14
- package/bachelornation/curator/request/SearchTimelinesResponseV1.js +55 -14
- package/bachelornation/curator/request/SearchWidgetsRequestV1.js +71 -14
- package/bachelornation/curator/request/SearchWidgetsResponseV1.js +55 -14
- package/bachelornation/dam/command/CreateAssetV1.js +57 -13
- package/bachelornation/dam/command/DeleteAssetV1.js +57 -13
- package/bachelornation/dam/command/ExpireAssetV1.js +57 -13
- package/bachelornation/dam/command/LinkAssetsV1.js +61 -13
- package/bachelornation/dam/command/PatchAssetsV1.js +62 -14
- package/bachelornation/dam/command/ReorderGalleryAssetsV1.js +69 -13
- package/bachelornation/dam/command/UnlinkAssetsV1.js +61 -13
- package/bachelornation/dam/command/UpdateAssetV1.js +66 -13
- package/bachelornation/dam/event/AssetCreatedV1.js +38 -18
- package/bachelornation/dam/event/AssetDeletedV1.js +36 -13
- package/bachelornation/dam/event/AssetExpiredV1.js +36 -13
- package/bachelornation/dam/event/AssetLinkedV1.js +40 -13
- package/bachelornation/dam/event/AssetPatchedV1.js +41 -14
- package/bachelornation/dam/event/AssetUnlinkedV1.js +40 -13
- package/bachelornation/dam/event/AssetUpdatedV1.js +45 -13
- package/bachelornation/dam/event/GalleryAssetReorderedV1.js +48 -13
- package/bachelornation/dam/node/ArchiveAssetV1.js +86 -20
- package/bachelornation/dam/node/AudioAssetV1.js +90 -21
- package/bachelornation/dam/node/CodeAssetV1.js +86 -20
- package/bachelornation/dam/node/DocumentAssetV1.js +86 -21
- package/bachelornation/dam/node/ImageAssetV1.js +98 -22
- package/bachelornation/dam/node/UnknownAssetV1.js +86 -20
- package/bachelornation/dam/node/VideoAssetV1.js +90 -21
- package/bachelornation/dam/request/GetAssetHistoryRequestV1.js +56 -13
- package/bachelornation/dam/request/GetAssetHistoryResponseV1.js +43 -13
- package/bachelornation/dam/request/GetAssetRequestV1.js +59 -13
- package/bachelornation/dam/request/GetAssetResponseV1.js +38 -13
- package/bachelornation/dam/request/GetUploadUrlsRequestV1.js +51 -18
- package/bachelornation/dam/request/GetUploadUrlsResponseV1.js +50 -13
- package/bachelornation/dam/request/SearchAssetsRequestV1.js +89 -14
- package/bachelornation/dam/request/SearchAssetsResponseV1.js +55 -14
- package/bachelornation/iam/command/CreateAppV1.js +57 -13
- package/bachelornation/iam/command/CreateRoleV1.js +57 -13
- package/bachelornation/iam/command/CreateUserV1.js +57 -13
- package/bachelornation/iam/command/DeleteAppV1.js +57 -13
- package/bachelornation/iam/command/DeleteRoleV1.js +57 -13
- package/bachelornation/iam/command/DeleteUserV1.js +57 -13
- package/bachelornation/iam/command/GrantRolesToAppV1.js +61 -13
- package/bachelornation/iam/command/GrantRolesToUserV1.js +61 -13
- package/bachelornation/iam/command/RevokeRolesFromAppV1.js +61 -13
- package/bachelornation/iam/command/RevokeRolesFromUserV1.js +61 -13
- package/bachelornation/iam/command/UpdateAppV1.js +66 -13
- package/bachelornation/iam/command/UpdateRoleV1.js +66 -13
- package/bachelornation/iam/command/UpdateUserV1.js +66 -13
- package/bachelornation/iam/event/AppCreatedV1.js +38 -18
- package/bachelornation/iam/event/AppDeletedV1.js +38 -18
- package/bachelornation/iam/event/AppRolesGrantedV1.js +42 -18
- package/bachelornation/iam/event/AppRolesRevokedV1.js +42 -18
- package/bachelornation/iam/event/AppUpdatedV1.js +47 -18
- package/bachelornation/iam/event/RoleCreatedV1.js +38 -18
- package/bachelornation/iam/event/RoleDeletedV1.js +38 -18
- package/bachelornation/iam/event/RoleUpdatedV1.js +47 -18
- package/bachelornation/iam/event/UserCreatedV1.js +38 -18
- package/bachelornation/iam/event/UserDeletedV1.js +38 -18
- package/bachelornation/iam/event/UserRolesGrantedV1.js +42 -18
- package/bachelornation/iam/event/UserRolesRevokedV1.js +42 -18
- package/bachelornation/iam/event/UserUpdatedV1.js +47 -18
- package/bachelornation/iam/node/AlexaAppV1.js +47 -16
- package/bachelornation/iam/node/AndroidAppV1.js +74 -16
- package/bachelornation/iam/node/AppleNewsAppV1.js +62 -16
- package/bachelornation/iam/node/BrowserAppV1.js +74 -16
- package/bachelornation/iam/node/EmailAppV1.js +67 -16
- package/bachelornation/iam/node/IosAppV1.js +74 -16
- package/bachelornation/iam/node/RoleV1.js +48 -15
- package/bachelornation/iam/node/SlackAppV1.js +47 -16
- package/bachelornation/iam/node/SmsAppV1.js +47 -16
- package/bachelornation/iam/node/TwitterAppV1.js +71 -16
- package/bachelornation/iam/node/UserV1.js +68 -17
- package/bachelornation/iam/request/GetAllAppsRequestV1.js +43 -13
- package/bachelornation/iam/request/GetAllAppsResponseV1.js +38 -13
- package/bachelornation/iam/request/GetAppHistoryRequestV1.js +56 -13
- package/bachelornation/iam/request/GetAppHistoryResponseV1.js +43 -13
- package/bachelornation/iam/request/GetAppRequestV1.js +59 -13
- package/bachelornation/iam/request/GetAppResponseV1.js +38 -13
- package/bachelornation/iam/request/GetRoleHistoryRequestV1.js +56 -13
- package/bachelornation/iam/request/GetRoleHistoryResponseV1.js +43 -13
- package/bachelornation/iam/request/GetRoleRequestV1.js +59 -13
- package/bachelornation/iam/request/GetRoleResponseV1.js +38 -13
- package/bachelornation/iam/request/GetUserHistoryRequestV1.js +56 -13
- package/bachelornation/iam/request/GetUserHistoryResponseV1.js +43 -13
- package/bachelornation/iam/request/GetUserRequestV1.js +59 -14
- package/bachelornation/iam/request/GetUserResponseV1.js +38 -14
- package/bachelornation/iam/request/ListAllRolesRequestV1.js +43 -13
- package/bachelornation/iam/request/ListAllRolesResponseV1.js +38 -13
- package/bachelornation/iam/request/SearchUsersRequestV1.js +66 -14
- package/bachelornation/iam/request/SearchUsersResponseV1.js +55 -14
- package/bachelornation/news/command/CollectArticleStatsV1.js +62 -13
- package/bachelornation/news/command/CreateArticleV1.js +57 -13
- package/bachelornation/news/command/DeleteArticleV1.js +57 -13
- package/bachelornation/news/command/ExpireArticleV1.js +57 -13
- package/bachelornation/news/command/LockArticleV1.js +57 -13
- package/bachelornation/news/command/MarkArticleAsDraftV1.js +57 -13
- package/bachelornation/news/command/MarkArticleAsPendingV1.js +57 -13
- package/bachelornation/news/command/PublishArticleV1.js +57 -13
- package/bachelornation/news/command/RemoveArticleSlottingV1.js +66 -13
- package/bachelornation/news/command/RenameArticleV1.js +58 -13
- package/bachelornation/news/command/UnlockArticleV1.js +57 -13
- package/bachelornation/news/command/UnpublishArticleV1.js +57 -13
- package/bachelornation/news/command/UpdateArticleV1.js +66 -13
- package/bachelornation/news/event/AppleNewsArticleSyncedV1.js +53 -13
- package/bachelornation/news/event/ArticleCreatedV1.js +36 -13
- package/bachelornation/news/event/ArticleDeletedV1.js +36 -13
- package/bachelornation/news/event/ArticleExpiredV1.js +36 -13
- package/bachelornation/news/event/ArticleLockedV1.js +38 -18
- package/bachelornation/news/event/ArticleMarkedAsDraftV1.js +36 -13
- package/bachelornation/news/event/ArticleMarkedAsPendingV1.js +36 -13
- package/bachelornation/news/event/ArticlePublishedV1.js +38 -16
- package/bachelornation/news/event/ArticleRenamedV1.js +39 -16
- package/bachelornation/news/event/ArticleScheduledV1.js +38 -16
- package/bachelornation/news/event/ArticleSlottingRemovedV1.js +36 -13
- package/bachelornation/news/event/ArticleStatsCollectedV1.js +44 -13
- package/bachelornation/news/event/ArticleUnlockedV1.js +38 -18
- package/bachelornation/news/event/ArticleUnpublishedV1.js +38 -16
- package/bachelornation/news/event/ArticleUpdatedV1.js +45 -13
- package/bachelornation/news/node/ArticleStatsV1.js +46 -16
- package/bachelornation/news/node/ArticleV1.js +167 -35
- package/bachelornation/news/request/GetArticleHistoryRequestV1.js +56 -13
- package/bachelornation/news/request/GetArticleHistoryResponseV1.js +43 -13
- package/bachelornation/news/request/GetArticleRequestV1.js +59 -13
- package/bachelornation/news/request/GetArticleResponseV1.js +38 -13
- package/bachelornation/news/request/SearchArticlesRequestV1.js +71 -15
- package/bachelornation/news/request/SearchArticlesResponseV1.js +55 -15
- package/bachelornation/notify/command/CreateNotificationV1.js +57 -13
- package/bachelornation/notify/command/DeleteNotificationV1.js +57 -13
- package/bachelornation/notify/command/SendNotificationV1.js +57 -13
- package/bachelornation/notify/command/UpdateNotificationV1.js +66 -13
- package/bachelornation/notify/event/NotificationCreatedV1.js +36 -13
- package/bachelornation/notify/event/NotificationDeletedV1.js +36 -13
- package/bachelornation/notify/event/NotificationFailedV1.js +38 -16
- package/bachelornation/notify/event/NotificationSentV1.js +38 -16
- package/bachelornation/notify/event/NotificationUpdatedV1.js +45 -13
- package/bachelornation/notify/node/AlexaNotificationV1.js +56 -17
- package/bachelornation/notify/node/AndroidNotificationV1.js +61 -17
- package/bachelornation/notify/node/AppleNewsNotificationV1.js +65 -17
- package/bachelornation/notify/node/BrowserNotificationV1.js +67 -17
- package/bachelornation/notify/node/EmailNotificationV1.js +66 -17
- package/bachelornation/notify/node/IosNotificationV1.js +61 -17
- package/bachelornation/notify/node/SlackNotificationV1.js +56 -17
- package/bachelornation/notify/node/SmsNotificationV1.js +56 -17
- package/bachelornation/notify/node/TwitterNotificationV1.js +56 -17
- package/bachelornation/notify/request/GetNotificationHistoryRequestV1.js +56 -13
- package/bachelornation/notify/request/GetNotificationHistoryResponseV1.js +43 -13
- package/bachelornation/notify/request/GetNotificationRequestV1.js +59 -13
- package/bachelornation/notify/request/GetNotificationResponseV1.js +38 -13
- package/bachelornation/notify/request/SearchNotificationsRequestV1.js +80 -14
- package/bachelornation/notify/request/SearchNotificationsResponseV1.js +55 -14
- package/bachelornation/ovp/command/CreateVideoV1.js +57 -13
- package/bachelornation/ovp/command/DeleteVideoV1.js +57 -13
- package/bachelornation/ovp/command/ExpireVideoV1.js +57 -13
- package/bachelornation/ovp/command/MarkVideoAsDraftV1.js +57 -13
- package/bachelornation/ovp/command/MarkVideoAsPendingV1.js +57 -13
- package/bachelornation/ovp/command/PublishVideoV1.js +57 -13
- package/bachelornation/ovp/command/RenameVideoV1.js +58 -13
- package/bachelornation/ovp/command/UnpublishVideoV1.js +57 -13
- package/bachelornation/ovp/command/UpdateVideoV1.js +66 -13
- package/bachelornation/ovp/event/VideoCreatedV1.js +36 -13
- package/bachelornation/ovp/event/VideoDeletedV1.js +36 -13
- package/bachelornation/ovp/event/VideoExpiredV1.js +36 -13
- package/bachelornation/ovp/event/VideoMarkedAsDraftV1.js +36 -13
- package/bachelornation/ovp/event/VideoMarkedAsPendingV1.js +36 -13
- package/bachelornation/ovp/event/VideoPublishedV1.js +38 -16
- package/bachelornation/ovp/event/VideoRenamedV1.js +37 -13
- package/bachelornation/ovp/event/VideoScheduledV1.js +38 -16
- package/bachelornation/ovp/event/VideoUnpublishedV1.js +38 -16
- package/bachelornation/ovp/event/VideoUpdatedV1.js +45 -13
- package/bachelornation/ovp/node/VideoV1.js +156 -31
- package/bachelornation/ovp/request/GetVideoHistoryRequestV1.js +56 -13
- package/bachelornation/ovp/request/GetVideoHistoryResponseV1.js +43 -13
- package/bachelornation/ovp/request/GetVideoRequestV1.js +59 -13
- package/bachelornation/ovp/request/GetVideoResponseV1.js +38 -13
- package/bachelornation/ovp/request/SearchVideosRequestV1.js +66 -15
- package/bachelornation/ovp/request/SearchVideosResponseV1.js +55 -15
- package/bachelornation/people/command/CreatePersonV1.js +57 -13
- package/bachelornation/people/command/DeletePersonV1.js +57 -13
- package/bachelornation/people/command/RenamePersonV1.js +58 -13
- package/bachelornation/people/command/UpdatePersonV1.js +66 -13
- package/bachelornation/people/event/PersonCreatedV1.js +36 -13
- package/bachelornation/people/event/PersonDeletedV1.js +36 -13
- package/bachelornation/people/event/PersonRenamedV1.js +37 -13
- package/bachelornation/people/event/PersonUpdatedV1.js +45 -13
- package/bachelornation/people/node/PersonV1.js +102 -24
- package/bachelornation/people/request/GetPersonHistoryRequestV1.js +56 -13
- package/bachelornation/people/request/GetPersonHistoryResponseV1.js +43 -13
- package/bachelornation/people/request/GetPersonRequestV1.js +59 -13
- package/bachelornation/people/request/GetPersonResponseV1.js +38 -13
- package/bachelornation/people/request/SearchPeopleRequestV1.js +66 -14
- package/bachelornation/people/request/SearchPeopleResponseV1.js +55 -14
- package/bachelornation/sys/command/CreateFlagsetV1.js +57 -13
- package/bachelornation/sys/command/CreatePicklistV1.js +57 -13
- package/bachelornation/sys/command/CreateRedirectV1.js +57 -13
- package/bachelornation/sys/command/DeleteFlagsetV1.js +57 -13
- package/bachelornation/sys/command/DeletePicklistV1.js +57 -13
- package/bachelornation/sys/command/DeleteRedirectV1.js +57 -13
- package/bachelornation/sys/command/UpdateFlagsetV1.js +66 -13
- package/bachelornation/sys/command/UpdatePicklistV1.js +66 -13
- package/bachelornation/sys/command/UpdateRedirectV1.js +66 -13
- package/bachelornation/sys/event/FlagsetCreatedV1.js +36 -13
- package/bachelornation/sys/event/FlagsetDeletedV1.js +36 -13
- package/bachelornation/sys/event/FlagsetUpdatedV1.js +45 -13
- package/bachelornation/sys/event/PicklistCreatedV1.js +36 -13
- package/bachelornation/sys/event/PicklistDeletedV1.js +36 -13
- package/bachelornation/sys/event/PicklistUpdatedV1.js +45 -13
- package/bachelornation/sys/event/RedirectCreatedV1.js +36 -13
- package/bachelornation/sys/event/RedirectDeletedV1.js +36 -13
- package/bachelornation/sys/event/RedirectUpdatedV1.js +45 -13
- package/bachelornation/sys/node/FlagsetV1.js +35 -15
- package/bachelornation/sys/node/PicklistV1.js +35 -15
- package/bachelornation/sys/node/RedirectV1.js +49 -16
- package/bachelornation/sys/request/GetFlagsetHistoryRequestV1.js +56 -13
- package/bachelornation/sys/request/GetFlagsetHistoryResponseV1.js +43 -13
- package/bachelornation/sys/request/GetFlagsetRequestV1.js +59 -13
- package/bachelornation/sys/request/GetFlagsetResponseV1.js +38 -13
- package/bachelornation/sys/request/GetPicklistHistoryRequestV1.js +56 -13
- package/bachelornation/sys/request/GetPicklistHistoryResponseV1.js +43 -13
- package/bachelornation/sys/request/GetPicklistRequestV1.js +59 -13
- package/bachelornation/sys/request/GetPicklistResponseV1.js +38 -13
- package/bachelornation/sys/request/GetRedirectHistoryRequestV1.js +56 -13
- package/bachelornation/sys/request/GetRedirectHistoryResponseV1.js +43 -13
- package/bachelornation/sys/request/GetRedirectRequestV1.js +59 -13
- package/bachelornation/sys/request/GetRedirectResponseV1.js +43 -14
- package/bachelornation/sys/request/ListAllFlagsetsRequestV1.js +43 -13
- package/bachelornation/sys/request/ListAllFlagsetsResponseV1.js +38 -13
- package/bachelornation/sys/request/ListAllPicklistsRequestV1.js +43 -13
- package/bachelornation/sys/request/ListAllPicklistsResponseV1.js +38 -13
- package/bachelornation/sys/request/SearchRedirectsRequestV1.js +66 -14
- package/bachelornation/sys/request/SearchRedirectsResponseV1.js +55 -14
- package/bachelornation/taxonomy/command/CreateCategoryV1.js +57 -13
- package/bachelornation/taxonomy/command/CreateChannelV1.js +57 -13
- package/bachelornation/taxonomy/command/DeleteCategoryV1.js +57 -13
- package/bachelornation/taxonomy/command/DeleteChannelV1.js +57 -13
- package/bachelornation/taxonomy/command/RenameCategoryV1.js +58 -13
- package/bachelornation/taxonomy/command/RenameChannelV1.js +58 -13
- package/bachelornation/taxonomy/command/UpdateCategoryV1.js +66 -13
- package/bachelornation/taxonomy/command/UpdateChannelV1.js +66 -13
- package/bachelornation/taxonomy/event/CategoryCreatedV1.js +36 -13
- package/bachelornation/taxonomy/event/CategoryDeletedV1.js +36 -13
- package/bachelornation/taxonomy/event/CategoryRenamedV1.js +37 -13
- package/bachelornation/taxonomy/event/CategoryUpdatedV1.js +45 -13
- package/bachelornation/taxonomy/event/ChannelCreatedV1.js +36 -13
- package/bachelornation/taxonomy/event/ChannelDeletedV1.js +36 -13
- package/bachelornation/taxonomy/event/ChannelRenamedV1.js +37 -13
- package/bachelornation/taxonomy/event/ChannelUpdatedV1.js +45 -13
- package/bachelornation/taxonomy/node/CategoryV1.js +103 -25
- package/bachelornation/taxonomy/node/ChannelV1.js +103 -24
- package/bachelornation/taxonomy/request/GetAllChannelsRequestV1.js +43 -13
- package/bachelornation/taxonomy/request/GetAllChannelsResponseV1.js +38 -13
- package/bachelornation/taxonomy/request/GetCategoryHistoryRequestV1.js +56 -13
- package/bachelornation/taxonomy/request/GetCategoryHistoryResponseV1.js +43 -13
- package/bachelornation/taxonomy/request/GetCategoryRequestV1.js +59 -13
- package/bachelornation/taxonomy/request/GetCategoryResponseV1.js +38 -13
- package/bachelornation/taxonomy/request/GetChannelHistoryRequestV1.js +56 -13
- package/bachelornation/taxonomy/request/GetChannelHistoryResponseV1.js +43 -13
- package/bachelornation/taxonomy/request/GetChannelRequestV1.js +59 -13
- package/bachelornation/taxonomy/request/GetChannelResponseV1.js +38 -13
- package/bachelornation/taxonomy/request/SearchCategoriesRequestV1.js +66 -14
- package/bachelornation/taxonomy/request/SearchCategoriesResponseV1.js +55 -14
- package/bachelornation/taxonomy/request/SuggestHashtagsRequestV1.js +47 -13
- package/bachelornation/taxonomy/request/SuggestHashtagsResponseV1.js +43 -13
- package/index.js +5 -595
- package/manifests/gdbots/analytics/mixin/tracked-message/v1.js +8 -0
- package/manifests/gdbots/analytics/mixin/tracker/v1.js +8 -0
- package/manifests/gdbots/common/mixin/labelable/v1.js +8 -0
- package/manifests/gdbots/common/mixin/taggable/v1.js +8 -0
- package/manifests/gdbots/enrichments/mixin/ip-to-geo/v1.js +8 -0
- package/manifests/gdbots/enrichments/mixin/time-parting/v1.js +8 -0
- package/manifests/gdbots/enrichments/mixin/time-sampling/v1.js +8 -0
- package/manifests/gdbots/enrichments/mixin/ua-parser/v1.js +8 -0
- package/manifests/gdbots/enrichments/mixin/utm/v1.js +8 -0
- package/manifests/gdbots/forms/mixin/field/v1.js +8 -0
- package/manifests/gdbots/forms/mixin/form/v1.js +8 -0
- package/manifests/gdbots/forms/mixin/get-upload-url-request/v1.js +8 -0
- package/manifests/gdbots/forms/mixin/get-upload-url-response/v1.js +8 -0
- package/manifests/gdbots/forms/mixin/process-irr/v1.js +8 -0
- package/manifests/gdbots/forms/mixin/search-forms-request/v1.js +8 -0
- package/manifests/gdbots/forms/mixin/search-forms-response/v1.js +8 -0
- package/manifests/gdbots/forms/mixin/send-submission/v1.js +8 -0
- package/manifests/gdbots/iam/mixin/alexa-app/v1.js +8 -0
- package/manifests/gdbots/iam/mixin/android-app/v1.js +8 -0
- package/manifests/gdbots/iam/mixin/app/v1.js +8 -0
- package/manifests/gdbots/iam/mixin/app-roles-granted/v1.js +8 -0
- package/manifests/gdbots/iam/mixin/app-roles-revoked/v1.js +8 -0
- package/manifests/gdbots/iam/mixin/apple-news-app/v1.js +8 -0
- package/manifests/gdbots/iam/mixin/browser-app/v1.js +8 -0
- package/manifests/gdbots/iam/mixin/email-app/v1.js +8 -0
- package/manifests/gdbots/iam/mixin/get-all-apps-request/v1.js +8 -0
- package/manifests/gdbots/iam/mixin/get-all-apps-response/v1.js +8 -0
- package/manifests/gdbots/iam/mixin/get-user-request/v1.js +8 -0
- package/manifests/gdbots/iam/mixin/get-user-response/v1.js +8 -0
- package/manifests/gdbots/iam/mixin/grant-roles-to-app/v1.js +8 -0
- package/manifests/gdbots/iam/mixin/grant-roles-to-user/v1.js +8 -0
- package/manifests/gdbots/iam/mixin/ios-app/v1.js +8 -0
- package/manifests/gdbots/iam/mixin/list-all-roles-request/v1.js +8 -0
- package/manifests/gdbots/iam/mixin/list-all-roles-response/v1.js +8 -0
- package/manifests/gdbots/iam/mixin/revoke-roles-from-app/v1.js +8 -0
- package/manifests/gdbots/iam/mixin/revoke-roles-from-user/v1.js +8 -0
- package/manifests/gdbots/iam/mixin/role/v1.js +8 -0
- package/manifests/gdbots/iam/mixin/search-users-request/v1.js +8 -0
- package/manifests/gdbots/iam/mixin/search-users-response/v1.js +8 -0
- package/manifests/gdbots/iam/mixin/slack-app/v1.js +8 -0
- package/manifests/gdbots/iam/mixin/sms-app/v1.js +8 -0
- package/manifests/gdbots/iam/mixin/twitter-app/v1.js +8 -0
- package/manifests/gdbots/iam/mixin/user/v1.js +8 -0
- package/manifests/gdbots/iam/mixin/user-roles-granted/v1.js +8 -0
- package/manifests/gdbots/iam/mixin/user-roles-revoked/v1.js +8 -0
- package/manifests/gdbots/ncr/mixin/create-node/v1.js +8 -0
- package/manifests/gdbots/ncr/mixin/delete-node/v1.js +8 -0
- package/manifests/gdbots/ncr/mixin/edge/v1.js +8 -0
- package/manifests/gdbots/ncr/mixin/expirable/v1.js +8 -0
- package/manifests/gdbots/ncr/mixin/expire-node/v1.js +8 -0
- package/manifests/gdbots/ncr/mixin/get-node-batch-request/v1.js +8 -0
- package/manifests/gdbots/ncr/mixin/get-node-batch-response/v1.js +8 -0
- package/manifests/gdbots/ncr/mixin/get-node-request/v1.js +8 -0
- package/manifests/gdbots/ncr/mixin/get-node-response/v1.js +8 -0
- package/manifests/gdbots/ncr/mixin/indexed/v1.js +8 -0
- package/manifests/gdbots/ncr/mixin/lock-node/v1.js +8 -0
- package/manifests/gdbots/ncr/mixin/lockable/v1.js +8 -0
- package/manifests/gdbots/ncr/mixin/mark-node-as-draft/v1.js +8 -0
- package/manifests/gdbots/ncr/mixin/mark-node-as-pending/v1.js +8 -0
- package/manifests/gdbots/ncr/mixin/node/v1.js +8 -0
- package/manifests/gdbots/ncr/mixin/node-created/v1.js +8 -0
- package/manifests/gdbots/ncr/mixin/node-deleted/v1.js +8 -0
- package/manifests/gdbots/ncr/mixin/node-expired/v1.js +8 -0
- package/manifests/gdbots/ncr/mixin/node-locked/v1.js +8 -0
- package/manifests/gdbots/ncr/mixin/node-marked-as-draft/v1.js +8 -0
- package/manifests/gdbots/ncr/mixin/node-marked-as-pending/v1.js +8 -0
- package/manifests/gdbots/ncr/mixin/node-patched/v1.js +8 -0
- package/manifests/gdbots/ncr/mixin/node-published/v1.js +8 -0
- package/manifests/gdbots/ncr/mixin/node-renamed/v1.js +8 -0
- package/manifests/gdbots/ncr/mixin/node-scheduled/v1.js +8 -0
- package/manifests/gdbots/ncr/mixin/node-unlocked/v1.js +8 -0
- package/manifests/gdbots/ncr/mixin/node-unpublished/v1.js +8 -0
- package/manifests/gdbots/ncr/mixin/node-updated/v1.js +8 -0
- package/manifests/gdbots/ncr/mixin/patch-node/v1.js +8 -0
- package/manifests/gdbots/ncr/mixin/patch-nodes/v1.js +8 -0
- package/manifests/gdbots/ncr/mixin/publish-node/v1.js +8 -0
- package/manifests/gdbots/ncr/mixin/publishable/v1.js +8 -0
- package/manifests/gdbots/ncr/mixin/rename-node/v1.js +8 -0
- package/manifests/gdbots/ncr/mixin/search-nodes-request/v1.js +8 -0
- package/manifests/gdbots/ncr/mixin/search-nodes-response/v1.js +8 -0
- package/manifests/gdbots/ncr/mixin/sluggable/v1.js +8 -0
- package/manifests/gdbots/ncr/mixin/unlock-node/v1.js +8 -0
- package/manifests/gdbots/ncr/mixin/unpublish-node/v1.js +8 -0
- package/manifests/gdbots/ncr/mixin/update-node/v1.js +8 -0
- package/manifests/gdbots/pbjx/mixin/command/v1.js +8 -0
- package/manifests/gdbots/pbjx/mixin/event/v1.js +8 -0
- package/manifests/gdbots/pbjx/mixin/get-events-request/v1.js +8 -0
- package/manifests/gdbots/pbjx/mixin/get-events-response/v1.js +8 -0
- package/manifests/gdbots/pbjx/mixin/indexed/v1.js +8 -0
- package/manifests/gdbots/pbjx/mixin/request/v1.js +8 -0
- package/manifests/gdbots/pbjx/mixin/response/v1.js +8 -0
- package/manifests/gdbots/pbjx/mixin/search-events-request/v1.js +8 -0
- package/manifests/gdbots/pbjx/mixin/search-events-response/v1.js +8 -0
- package/manifests/messages.js +720 -0
- package/manifests/triniti/apollo/mixin/cast-vote/v1.js +8 -0
- package/manifests/triniti/apollo/mixin/has-poll/v1.js +8 -0
- package/manifests/triniti/apollo/mixin/has-polls/v1.js +8 -0
- package/manifests/triniti/apollo/mixin/poll/v1.js +8 -0
- package/manifests/triniti/apollo/mixin/poll-answer/v1.js +8 -0
- package/manifests/triniti/apollo/mixin/poll-stats/v1.js +8 -0
- package/manifests/triniti/apollo/mixin/search-polls-request/v1.js +8 -0
- package/manifests/triniti/apollo/mixin/search-polls-response/v1.js +8 -0
- package/manifests/triniti/apollo/mixin/vote-casted/v1.js +8 -0
- package/manifests/triniti/boost/mixin/search-sponsors-request/v1.js +8 -0
- package/manifests/triniti/boost/mixin/search-sponsors-response/v1.js +8 -0
- package/manifests/triniti/boost/mixin/sponsor/v1.js +8 -0
- package/manifests/triniti/boost/mixin/sponsorable/v1.js +8 -0
- package/manifests/triniti/canvas/mixin/article-block/v1.js +8 -0
- package/manifests/triniti/canvas/mixin/audio-block/v1.js +8 -0
- package/manifests/triniti/canvas/mixin/block/v1.js +8 -0
- package/manifests/triniti/canvas/mixin/code-block/v1.js +8 -0
- package/manifests/triniti/canvas/mixin/divider-block/v1.js +8 -0
- package/manifests/triniti/canvas/mixin/document-block/v1.js +8 -0
- package/manifests/triniti/canvas/mixin/eme-form-block/v1.js +8 -0
- package/manifests/triniti/canvas/mixin/facebook-post-block/v1.js +8 -0
- package/manifests/triniti/canvas/mixin/facebook-video-block/v1.js +8 -0
- package/manifests/triniti/canvas/mixin/gallery-block/v1.js +8 -0
- package/manifests/triniti/canvas/mixin/google-map-block/v1.js +8 -0
- package/manifests/triniti/canvas/mixin/has-blocks/v1.js +8 -0
- package/manifests/triniti/canvas/mixin/heading-block/v1.js +8 -0
- package/manifests/triniti/canvas/mixin/iframe-block/v1.js +8 -0
- package/manifests/triniti/canvas/mixin/image-block/v1.js +8 -0
- package/manifests/triniti/canvas/mixin/imgur-post-block/v1.js +8 -0
- package/manifests/triniti/canvas/mixin/instagram-media-block/v1.js +8 -0
- package/manifests/triniti/canvas/mixin/node-ref-block/v1.js +8 -0
- package/manifests/triniti/canvas/mixin/page/v1.js +8 -0
- package/manifests/triniti/canvas/mixin/page-break-block/v1.js +8 -0
- package/manifests/triniti/canvas/mixin/pinterest-pin-block/v1.js +8 -0
- package/manifests/triniti/canvas/mixin/poll-block/v1.js +8 -0
- package/manifests/triniti/canvas/mixin/poll-grid-block/v1.js +8 -0
- package/manifests/triniti/canvas/mixin/quote-block/v1.js +8 -0
- package/manifests/triniti/canvas/mixin/search-pages-request/v1.js +8 -0
- package/manifests/triniti/canvas/mixin/search-pages-response/v1.js +8 -0
- package/manifests/triniti/canvas/mixin/soundcloud-audio-block/v1.js +8 -0
- package/manifests/triniti/canvas/mixin/spotify-embed-block/v1.js +8 -0
- package/manifests/triniti/canvas/mixin/spotify-track-block/v1.js +8 -0
- package/manifests/triniti/canvas/mixin/text-block/v1.js +8 -0
- package/manifests/triniti/canvas/mixin/tiktok-embed-block/v1.js +8 -0
- package/manifests/triniti/canvas/mixin/tumblr-post-block/v1.js +8 -0
- package/manifests/triniti/canvas/mixin/twitter-tweet-block/v1.js +8 -0
- package/manifests/triniti/canvas/mixin/video-block/v1.js +8 -0
- package/manifests/triniti/canvas/mixin/vimeo-video-block/v1.js +8 -0
- package/manifests/triniti/canvas/mixin/youtube-playlist-block/v1.js +8 -0
- package/manifests/triniti/canvas/mixin/youtube-video-block/v1.js +8 -0
- package/manifests/triniti/common/mixin/advertising/v1.js +8 -0
- package/manifests/triniti/common/mixin/custom-code/v1.js +8 -0
- package/manifests/triniti/common/mixin/seo/v1.js +8 -0
- package/manifests/triniti/common/mixin/swipeable/v1.js +8 -0
- package/manifests/triniti/common/mixin/themeable/v1.js +8 -0
- package/manifests/triniti/curator/mixin/ad-widget/v1.js +8 -0
- package/manifests/triniti/curator/mixin/alert-widget/v1.js +8 -0
- package/manifests/triniti/curator/mixin/article-teaser/v1.js +8 -0
- package/manifests/triniti/curator/mixin/asset-teaser/v1.js +8 -0
- package/manifests/triniti/curator/mixin/blogroll-widget/v1.js +8 -0
- package/manifests/triniti/curator/mixin/carousel-widget/v1.js +8 -0
- package/manifests/triniti/curator/mixin/category-teaser/v1.js +8 -0
- package/manifests/triniti/curator/mixin/channel-teaser/v1.js +8 -0
- package/manifests/triniti/curator/mixin/code-widget/v1.js +8 -0
- package/manifests/triniti/curator/mixin/gallery/v1.js +8 -0
- package/manifests/triniti/curator/mixin/gallery-image-count-updated/v1.js +8 -0
- package/manifests/triniti/curator/mixin/gallery-teaser/v1.js +8 -0
- package/manifests/triniti/curator/mixin/gallery-widget/v1.js +8 -0
- package/manifests/triniti/curator/mixin/gridler-widget/v1.js +8 -0
- package/manifests/triniti/curator/mixin/has-related-teasers/v1.js +8 -0
- package/manifests/triniti/curator/mixin/hero-bar-widget/v1.js +8 -0
- package/manifests/triniti/curator/mixin/link-teaser/v1.js +8 -0
- package/manifests/triniti/curator/mixin/media-list-widget/v1.js +8 -0
- package/manifests/triniti/curator/mixin/page-teaser/v1.js +8 -0
- package/manifests/triniti/curator/mixin/person-teaser/v1.js +8 -0
- package/manifests/triniti/curator/mixin/playlist-widget/v1.js +8 -0
- package/manifests/triniti/curator/mixin/poll-teaser/v1.js +8 -0
- package/manifests/triniti/curator/mixin/promotion/v1.js +8 -0
- package/manifests/triniti/curator/mixin/remove-teaser-slotting/v1.js +8 -0
- package/manifests/triniti/curator/mixin/render-promotion-request/v1.js +8 -0
- package/manifests/triniti/curator/mixin/render-promotion-response/v1.js +8 -0
- package/manifests/triniti/curator/mixin/render-widget-request/v1.js +8 -0
- package/manifests/triniti/curator/mixin/render-widget-response/v1.js +8 -0
- package/manifests/triniti/curator/mixin/search-galleries-request/v1.js +8 -0
- package/manifests/triniti/curator/mixin/search-galleries-response/v1.js +8 -0
- package/manifests/triniti/curator/mixin/search-promotions-request/v1.js +8 -0
- package/manifests/triniti/curator/mixin/search-promotions-response/v1.js +8 -0
- package/manifests/triniti/curator/mixin/search-teasers-request/v1.js +8 -0
- package/manifests/triniti/curator/mixin/search-teasers-response/v1.js +8 -0
- package/manifests/triniti/curator/mixin/search-timelines-request/v1.js +8 -0
- package/manifests/triniti/curator/mixin/search-timelines-response/v1.js +8 -0
- package/manifests/triniti/curator/mixin/search-widgets-request/v1.js +8 -0
- package/manifests/triniti/curator/mixin/search-widgets-response/v1.js +8 -0
- package/manifests/triniti/curator/mixin/showtimes-widget/v1.js +8 -0
- package/manifests/triniti/curator/mixin/slider-widget/v1.js +8 -0
- package/manifests/triniti/curator/mixin/spotlight-widget/v1.js +8 -0
- package/manifests/triniti/curator/mixin/sync-teaser/v1.js +8 -0
- package/manifests/triniti/curator/mixin/tag-cloud-widget/v1.js +8 -0
- package/manifests/triniti/curator/mixin/teaser/v1.js +8 -0
- package/manifests/triniti/curator/mixin/teaser-has-target/v1.js +8 -0
- package/manifests/triniti/curator/mixin/teaser-slotting-removed/v1.js +8 -0
- package/manifests/triniti/curator/mixin/teaserable/v1.js +8 -0
- package/manifests/triniti/curator/mixin/tetris-widget/v1.js +8 -0
- package/manifests/triniti/curator/mixin/timeline/v1.js +8 -0
- package/manifests/triniti/curator/mixin/timeline-teaser/v1.js +8 -0
- package/manifests/triniti/curator/mixin/update-gallery-image-count/v1.js +8 -0
- package/manifests/triniti/curator/mixin/video-teaser/v1.js +8 -0
- package/manifests/triniti/curator/mixin/widget/v1.js +8 -0
- package/manifests/triniti/curator/mixin/widget-has-search-request/v1.js +8 -0
- package/manifests/triniti/curator/mixin/widget-search-request/v1.js +8 -0
- package/manifests/triniti/curator/mixin/widget-search-response/v1.js +8 -0
- package/manifests/triniti/curator/mixin/youtube-video-teaser/v1.js +8 -0
- package/manifests/triniti/dam/mixin/archive-asset/v1.js +8 -0
- package/manifests/triniti/dam/mixin/asset/v1.js +8 -0
- package/manifests/triniti/dam/mixin/asset-linked/v1.js +8 -0
- package/manifests/triniti/dam/mixin/asset-patched/v1.js +8 -0
- package/manifests/triniti/dam/mixin/asset-unlinked/v1.js +8 -0
- package/manifests/triniti/dam/mixin/audio-asset/v1.js +8 -0
- package/manifests/triniti/dam/mixin/code-asset/v1.js +8 -0
- package/manifests/triniti/dam/mixin/document-asset/v1.js +8 -0
- package/manifests/triniti/dam/mixin/gallery-asset-reordered/v1.js +8 -0
- package/manifests/triniti/dam/mixin/get-upload-urls-request/v1.js +8 -0
- package/manifests/triniti/dam/mixin/get-upload-urls-response/v1.js +8 -0
- package/manifests/triniti/dam/mixin/image-asset/v1.js +8 -0
- package/manifests/triniti/dam/mixin/link-assets/v1.js +8 -0
- package/manifests/triniti/dam/mixin/patch-assets/v1.js +8 -0
- package/manifests/triniti/dam/mixin/reorder-gallery-assets/v1.js +8 -0
- package/manifests/triniti/dam/mixin/search-assets-request/v1.js +8 -0
- package/manifests/triniti/dam/mixin/search-assets-response/v1.js +8 -0
- package/manifests/triniti/dam/mixin/unknown-asset/v1.js +8 -0
- package/manifests/triniti/dam/mixin/unlink-assets/v1.js +8 -0
- package/manifests/triniti/dam/mixin/video-asset/v1.js +8 -0
- package/manifests/triniti/news/mixin/apple-news-article-synced/v1.js +8 -0
- package/manifests/triniti/news/mixin/article/v1.js +8 -0
- package/manifests/triniti/news/mixin/article-slotting-removed/v1.js +8 -0
- package/manifests/triniti/news/mixin/article-stats/v1.js +8 -0
- package/manifests/triniti/news/mixin/article-stats-collected/v1.js +8 -0
- package/manifests/triniti/news/mixin/collect-article-stats/v1.js +8 -0
- package/manifests/triniti/news/mixin/headline-fragments/v1.js +8 -0
- package/manifests/triniti/news/mixin/remove-article-slotting/v1.js +8 -0
- package/manifests/triniti/news/mixin/search-articles-request/v1.js +8 -0
- package/manifests/triniti/news/mixin/search-articles-response/v1.js +8 -0
- package/manifests/triniti/notify/mixin/alexa-notification/v1.js +8 -0
- package/manifests/triniti/notify/mixin/android-notification/v1.js +8 -0
- package/manifests/triniti/notify/mixin/apple-news-notification/v1.js +8 -0
- package/manifests/triniti/notify/mixin/browser-notification/v1.js +8 -0
- package/manifests/triniti/notify/mixin/email-notification/v1.js +8 -0
- package/manifests/triniti/notify/mixin/has-notifications/v1.js +8 -0
- package/manifests/triniti/notify/mixin/ios-notification/v1.js +8 -0
- package/manifests/triniti/notify/mixin/notification/v1.js +8 -0
- package/manifests/triniti/notify/mixin/notification-failed/v1.js +8 -0
- package/manifests/triniti/notify/mixin/notification-sent/v1.js +8 -0
- package/manifests/triniti/notify/mixin/search-notifications-request/v1.js +8 -0
- package/manifests/triniti/notify/mixin/search-notifications-response/v1.js +8 -0
- package/manifests/triniti/notify/mixin/send-notification/v1.js +8 -0
- package/manifests/triniti/notify/mixin/slack-notification/v1.js +8 -0
- package/manifests/triniti/notify/mixin/sms-notification/v1.js +8 -0
- package/manifests/triniti/notify/mixin/twitter-notification/v1.js +8 -0
- package/manifests/triniti/ovp/mixin/search-videos-request/v1.js +8 -0
- package/manifests/triniti/ovp/mixin/search-videos-response/v1.js +8 -0
- package/manifests/triniti/ovp/mixin/transcodeable/v1.js +8 -0
- package/manifests/triniti/ovp/mixin/transcribable/v1.js +8 -0
- package/manifests/triniti/ovp/mixin/video/v1.js +8 -0
- package/manifests/triniti/ovp.jwplayer/mixin/has-media/v1.js +8 -0
- package/manifests/triniti/ovp.kaltura/mixin/has-entry/v1.js +8 -0
- package/manifests/triniti/ovp.medialive/mixin/has-channel/v1.js +8 -0
- package/manifests/triniti/people/mixin/has-people/v1.js +8 -0
- package/manifests/triniti/people/mixin/person/v1.js +8 -0
- package/manifests/triniti/people/mixin/search-people-request/v1.js +8 -0
- package/manifests/triniti/people/mixin/search-people-response/v1.js +8 -0
- package/manifests/triniti/sys/mixin/flagset/v1.js +8 -0
- package/manifests/triniti/sys/mixin/get-redirect-response/v1.js +8 -0
- package/manifests/triniti/sys/mixin/list-all-flagsets-request/v1.js +8 -0
- package/manifests/triniti/sys/mixin/list-all-flagsets-response/v1.js +8 -0
- package/manifests/triniti/sys/mixin/list-all-picklists-request/v1.js +8 -0
- package/manifests/triniti/sys/mixin/list-all-picklists-response/v1.js +8 -0
- package/manifests/triniti/sys/mixin/picklist/v1.js +8 -0
- package/manifests/triniti/sys/mixin/redirect/v1.js +8 -0
- package/manifests/triniti/sys/mixin/search-redirects-request/v1.js +8 -0
- package/manifests/triniti/sys/mixin/search-redirects-response/v1.js +8 -0
- package/manifests/triniti/sys/mixin/vanity-urlable/v1.js +8 -0
- package/manifests/triniti/taxonomy/mixin/categorizable/v1.js +8 -0
- package/manifests/triniti/taxonomy/mixin/category/v1.js +8 -0
- package/manifests/triniti/taxonomy/mixin/channel/v1.js +8 -0
- package/manifests/triniti/taxonomy/mixin/get-all-channels-request/v1.js +8 -0
- package/manifests/triniti/taxonomy/mixin/get-all-channels-response/v1.js +8 -0
- package/manifests/triniti/taxonomy/mixin/has-channel/v1.js +8 -0
- package/manifests/triniti/taxonomy/mixin/hashtaggable/v1.js +8 -0
- package/manifests/triniti/taxonomy/mixin/search-categories-request/v1.js +8 -0
- package/manifests/triniti/taxonomy/mixin/search-categories-response/v1.js +8 -0
- package/manifests/triniti/taxonomy/mixin/suggest-hashtags-request/v1.js +8 -0
- package/manifests/triniti/taxonomy/mixin/suggest-hashtags-response/v1.js +8 -0
- package/package.json +22 -33
- package/bachelornation/index.js +0 -572
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
// @link https://schemas.bachelornation.com/json-schema/bachelornation/taxonomy/event/category-updated/1-0-0.json#
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import Message from '@gdbots/pbj/Message';
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
|
|
2
|
+
import Fb from '@gdbots/pbj/FieldBuilder.js';
|
|
3
|
+
import Format from '@gdbots/pbj/enums/Format.js';
|
|
4
|
+
import GdbotsPbjxEventV1Mixin from '@gdbots/schemas/gdbots/pbjx/mixin/event/EventV1Mixin.js';
|
|
5
|
+
import Message from '@gdbots/pbj/Message.js';
|
|
6
|
+
import Schema from '@gdbots/pbj/Schema.js';
|
|
7
|
+
import T from '@gdbots/pbj/types/index.js';
|
|
9
8
|
export default class CategoryUpdatedV1 extends Message {
|
|
10
9
|
/**
|
|
11
10
|
* @private
|
|
@@ -13,11 +12,44 @@ export default class CategoryUpdatedV1 extends Message {
|
|
|
13
12
|
* @returns {Schema}
|
|
14
13
|
*/
|
|
15
14
|
static defineSchema() {
|
|
16
|
-
return new Schema(
|
|
15
|
+
return new Schema(this.SCHEMA_ID, this, [Fb.create('event_id', T.TimeUuidType.create()).required().build(), Fb.create('occurred_at', T.MicrotimeType.create()).build(),
|
|
16
|
+
/*
|
|
17
|
+
* Multi-tenant apps can use this field to track the tenant id.
|
|
18
|
+
*/
|
|
19
|
+
Fb.create('ctx_tenant_id', T.StringType.create()).pattern('^[\\w\\/\\.:-]+$').build(), Fb.create('ctx_causator_ref', T.MessageRefType.create()).build(), Fb.create('ctx_correlator_ref', T.MessageRefType.create()).build(), Fb.create('ctx_user_ref', T.MessageRefType.create()).build(),
|
|
20
|
+
/*
|
|
21
|
+
* The "ctx_app" refers to the application used to send the command which
|
|
22
|
+
* in turn resulted in this event being published.
|
|
23
|
+
*/
|
|
24
|
+
Fb.create('ctx_app', T.MessageType.create()).anyOfCuries(['gdbots:contexts::app']).build(),
|
|
25
|
+
/*
|
|
26
|
+
* The "ctx_cloud" is usually copied from the command that resulted in this
|
|
27
|
+
* event being published. This means the value most likely refers to the cloud
|
|
28
|
+
* that received the command originally, not the machine processing the event.
|
|
29
|
+
*/
|
|
30
|
+
Fb.create('ctx_cloud', T.MessageType.create()).anyOfCuries(['gdbots:contexts::cloud']).build(), Fb.create('ctx_ip', T.StringType.create()).format(Format.IPV4).overridable(true).build(), Fb.create('ctx_ipv6', T.StringType.create()).format(Format.IPV6).overridable(true).build(), Fb.create('ctx_ua', T.TextType.create()).overridable(true).build(),
|
|
31
|
+
/*
|
|
32
|
+
* An optional message/reason for the event being created.
|
|
33
|
+
* Consider this like a git commit message.
|
|
34
|
+
*/
|
|
35
|
+
Fb.create('ctx_msg', T.TextType.create()).build(), Fb.create('node_ref', T.NodeRefType.create()).required().build(), Fb.create('slug', T.StringType.create()).format(Format.SLUG).build(), Fb.create('new_etag', T.StringType.create()).maxLength(100).pattern('^[\\w\\.:-]+$').build(), Fb.create('old_etag', T.StringType.create()).maxLength(100).pattern('^[\\w\\.:-]+$').build(), Fb.create('new_node', T.MessageType.create()).required().anyOfCuries(['gdbots:ncr:mixin:node']).overridable(true).build(),
|
|
36
|
+
/*
|
|
37
|
+
* The entire node, as it appeared before it was modified.
|
|
38
|
+
*/
|
|
39
|
+
Fb.create('old_node', T.MessageType.create()).anyOfCuries(['gdbots:ncr:mixin:node']).overridable(true).build(),
|
|
40
|
+
/*
|
|
41
|
+
* The names of the fields this update event should apply changes to.
|
|
42
|
+
* Nested paths can be referenced using dot notation.
|
|
43
|
+
*/
|
|
44
|
+
Fb.create('paths', T.StringType.create()).asASet().pattern('^[a-zA-Z_]{1}[\\w\\.]*$').build()], this.MIXINS);
|
|
17
45
|
}
|
|
18
|
-
}
|
|
19
46
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
47
|
+
}
|
|
48
|
+
const M = CategoryUpdatedV1;
|
|
49
|
+
M.prototype.SCHEMA_ID = M.SCHEMA_ID = 'pbj:bachelornation:taxonomy:event:category-updated:1-0-0';
|
|
50
|
+
M.prototype.SCHEMA_CURIE = M.SCHEMA_CURIE = 'bachelornation:taxonomy:event:category-updated';
|
|
51
|
+
M.prototype.SCHEMA_CURIE_MAJOR = M.SCHEMA_CURIE_MAJOR = 'bachelornation:taxonomy:event:category-updated:v1';
|
|
52
|
+
M.prototype.MIXINS = M.MIXINS = ['gdbots:pbjx:mixin:event:v1', 'gdbots:pbjx:mixin:event', 'gdbots:ncr:mixin:node-updated:v1', 'gdbots:ncr:mixin:node-updated'];
|
|
53
|
+
GdbotsPbjxEventV1Mixin(M);
|
|
54
|
+
Object.freeze(M);
|
|
55
|
+
Object.freeze(M.prototype);
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
// @link https://schemas.bachelornation.com/json-schema/bachelornation/taxonomy/event/channel-created/1-0-0.json#
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import Message from '@gdbots/pbj/Message';
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
|
|
2
|
+
import Fb from '@gdbots/pbj/FieldBuilder.js';
|
|
3
|
+
import Format from '@gdbots/pbj/enums/Format.js';
|
|
4
|
+
import GdbotsPbjxEventV1Mixin from '@gdbots/schemas/gdbots/pbjx/mixin/event/EventV1Mixin.js';
|
|
5
|
+
import Message from '@gdbots/pbj/Message.js';
|
|
6
|
+
import Schema from '@gdbots/pbj/Schema.js';
|
|
7
|
+
import T from '@gdbots/pbj/types/index.js';
|
|
9
8
|
export default class ChannelCreatedV1 extends Message {
|
|
10
9
|
/**
|
|
11
10
|
* @private
|
|
@@ -13,11 +12,35 @@ export default class ChannelCreatedV1 extends Message {
|
|
|
13
12
|
* @returns {Schema}
|
|
14
13
|
*/
|
|
15
14
|
static defineSchema() {
|
|
16
|
-
return new Schema(
|
|
15
|
+
return new Schema(this.SCHEMA_ID, this, [Fb.create('event_id', T.TimeUuidType.create()).required().build(), Fb.create('occurred_at', T.MicrotimeType.create()).build(),
|
|
16
|
+
/*
|
|
17
|
+
* Multi-tenant apps can use this field to track the tenant id.
|
|
18
|
+
*/
|
|
19
|
+
Fb.create('ctx_tenant_id', T.StringType.create()).pattern('^[\\w\\/\\.:-]+$').build(), Fb.create('ctx_causator_ref', T.MessageRefType.create()).build(), Fb.create('ctx_correlator_ref', T.MessageRefType.create()).build(), Fb.create('ctx_user_ref', T.MessageRefType.create()).build(),
|
|
20
|
+
/*
|
|
21
|
+
* The "ctx_app" refers to the application used to send the command which
|
|
22
|
+
* in turn resulted in this event being published.
|
|
23
|
+
*/
|
|
24
|
+
Fb.create('ctx_app', T.MessageType.create()).anyOfCuries(['gdbots:contexts::app']).build(),
|
|
25
|
+
/*
|
|
26
|
+
* The "ctx_cloud" is usually copied from the command that resulted in this
|
|
27
|
+
* event being published. This means the value most likely refers to the cloud
|
|
28
|
+
* that received the command originally, not the machine processing the event.
|
|
29
|
+
*/
|
|
30
|
+
Fb.create('ctx_cloud', T.MessageType.create()).anyOfCuries(['gdbots:contexts::cloud']).build(), Fb.create('ctx_ip', T.StringType.create()).format(Format.IPV4).overridable(true).build(), Fb.create('ctx_ipv6', T.StringType.create()).format(Format.IPV6).overridable(true).build(), Fb.create('ctx_ua', T.TextType.create()).overridable(true).build(),
|
|
31
|
+
/*
|
|
32
|
+
* An optional message/reason for the event being created.
|
|
33
|
+
* Consider this like a git commit message.
|
|
34
|
+
*/
|
|
35
|
+
Fb.create('ctx_msg', T.TextType.create()).build(), Fb.create('node', T.MessageType.create()).required().anyOfCuries(['gdbots:ncr:mixin:node']).overridable(true).build()], this.MIXINS);
|
|
17
36
|
}
|
|
18
|
-
}
|
|
19
37
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
38
|
+
}
|
|
39
|
+
const M = ChannelCreatedV1;
|
|
40
|
+
M.prototype.SCHEMA_ID = M.SCHEMA_ID = 'pbj:bachelornation:taxonomy:event:channel-created:1-0-0';
|
|
41
|
+
M.prototype.SCHEMA_CURIE = M.SCHEMA_CURIE = 'bachelornation:taxonomy:event:channel-created';
|
|
42
|
+
M.prototype.SCHEMA_CURIE_MAJOR = M.SCHEMA_CURIE_MAJOR = 'bachelornation:taxonomy:event:channel-created:v1';
|
|
43
|
+
M.prototype.MIXINS = M.MIXINS = ['gdbots:pbjx:mixin:event:v1', 'gdbots:pbjx:mixin:event', 'gdbots:ncr:mixin:node-created:v1', 'gdbots:ncr:mixin:node-created'];
|
|
44
|
+
GdbotsPbjxEventV1Mixin(M);
|
|
45
|
+
Object.freeze(M);
|
|
46
|
+
Object.freeze(M.prototype);
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
// @link https://schemas.bachelornation.com/json-schema/bachelornation/taxonomy/event/channel-deleted/1-0-0.json#
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import Message from '@gdbots/pbj/Message';
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
|
|
2
|
+
import Fb from '@gdbots/pbj/FieldBuilder.js';
|
|
3
|
+
import Format from '@gdbots/pbj/enums/Format.js';
|
|
4
|
+
import GdbotsPbjxEventV1Mixin from '@gdbots/schemas/gdbots/pbjx/mixin/event/EventV1Mixin.js';
|
|
5
|
+
import Message from '@gdbots/pbj/Message.js';
|
|
6
|
+
import Schema from '@gdbots/pbj/Schema.js';
|
|
7
|
+
import T from '@gdbots/pbj/types/index.js';
|
|
9
8
|
export default class ChannelDeletedV1 extends Message {
|
|
10
9
|
/**
|
|
11
10
|
* @private
|
|
@@ -13,11 +12,35 @@ export default class ChannelDeletedV1 extends Message {
|
|
|
13
12
|
* @returns {Schema}
|
|
14
13
|
*/
|
|
15
14
|
static defineSchema() {
|
|
16
|
-
return new Schema(
|
|
15
|
+
return new Schema(this.SCHEMA_ID, this, [Fb.create('event_id', T.TimeUuidType.create()).required().build(), Fb.create('occurred_at', T.MicrotimeType.create()).build(),
|
|
16
|
+
/*
|
|
17
|
+
* Multi-tenant apps can use this field to track the tenant id.
|
|
18
|
+
*/
|
|
19
|
+
Fb.create('ctx_tenant_id', T.StringType.create()).pattern('^[\\w\\/\\.:-]+$').build(), Fb.create('ctx_causator_ref', T.MessageRefType.create()).build(), Fb.create('ctx_correlator_ref', T.MessageRefType.create()).build(), Fb.create('ctx_user_ref', T.MessageRefType.create()).build(),
|
|
20
|
+
/*
|
|
21
|
+
* The "ctx_app" refers to the application used to send the command which
|
|
22
|
+
* in turn resulted in this event being published.
|
|
23
|
+
*/
|
|
24
|
+
Fb.create('ctx_app', T.MessageType.create()).anyOfCuries(['gdbots:contexts::app']).build(),
|
|
25
|
+
/*
|
|
26
|
+
* The "ctx_cloud" is usually copied from the command that resulted in this
|
|
27
|
+
* event being published. This means the value most likely refers to the cloud
|
|
28
|
+
* that received the command originally, not the machine processing the event.
|
|
29
|
+
*/
|
|
30
|
+
Fb.create('ctx_cloud', T.MessageType.create()).anyOfCuries(['gdbots:contexts::cloud']).build(), Fb.create('ctx_ip', T.StringType.create()).format(Format.IPV4).overridable(true).build(), Fb.create('ctx_ipv6', T.StringType.create()).format(Format.IPV6).overridable(true).build(), Fb.create('ctx_ua', T.TextType.create()).overridable(true).build(),
|
|
31
|
+
/*
|
|
32
|
+
* An optional message/reason for the event being created.
|
|
33
|
+
* Consider this like a git commit message.
|
|
34
|
+
*/
|
|
35
|
+
Fb.create('ctx_msg', T.TextType.create()).build(), Fb.create('node_ref', T.NodeRefType.create()).required().build(), Fb.create('slug', T.StringType.create()).format(Format.SLUG).build()], this.MIXINS);
|
|
17
36
|
}
|
|
18
|
-
}
|
|
19
37
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
38
|
+
}
|
|
39
|
+
const M = ChannelDeletedV1;
|
|
40
|
+
M.prototype.SCHEMA_ID = M.SCHEMA_ID = 'pbj:bachelornation:taxonomy:event:channel-deleted:1-0-0';
|
|
41
|
+
M.prototype.SCHEMA_CURIE = M.SCHEMA_CURIE = 'bachelornation:taxonomy:event:channel-deleted';
|
|
42
|
+
M.prototype.SCHEMA_CURIE_MAJOR = M.SCHEMA_CURIE_MAJOR = 'bachelornation:taxonomy:event:channel-deleted:v1';
|
|
43
|
+
M.prototype.MIXINS = M.MIXINS = ['gdbots:pbjx:mixin:event:v1', 'gdbots:pbjx:mixin:event', 'gdbots:ncr:mixin:node-deleted:v1', 'gdbots:ncr:mixin:node-deleted'];
|
|
44
|
+
GdbotsPbjxEventV1Mixin(M);
|
|
45
|
+
Object.freeze(M);
|
|
46
|
+
Object.freeze(M.prototype);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
// @link https://schemas.bachelornation.com/json-schema/bachelornation/taxonomy/event/channel-renamed/1-0-0.json#
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import Message from '@gdbots/pbj/Message';
|
|
6
|
-
import
|
|
7
|
-
import Schema from '@gdbots/pbj/Schema';
|
|
8
|
-
|
|
2
|
+
import Fb from '@gdbots/pbj/FieldBuilder.js';
|
|
3
|
+
import Format from '@gdbots/pbj/enums/Format.js';
|
|
4
|
+
import GdbotsPbjxEventV1Mixin from '@gdbots/schemas/gdbots/pbjx/mixin/event/EventV1Mixin.js';
|
|
5
|
+
import Message from '@gdbots/pbj/Message.js';
|
|
6
|
+
import NodeStatus from '@gdbots/schemas/gdbots/ncr/enums/NodeStatus.js';
|
|
7
|
+
import Schema from '@gdbots/pbj/Schema.js';
|
|
8
|
+
import T from '@gdbots/pbj/types/index.js';
|
|
9
9
|
export default class ChannelRenamedV1 extends Message {
|
|
10
10
|
/**
|
|
11
11
|
* @private
|
|
@@ -13,11 +13,35 @@ export default class ChannelRenamedV1 extends Message {
|
|
|
13
13
|
* @returns {Schema}
|
|
14
14
|
*/
|
|
15
15
|
static defineSchema() {
|
|
16
|
-
return new Schema(
|
|
16
|
+
return new Schema(this.SCHEMA_ID, this, [Fb.create('event_id', T.TimeUuidType.create()).required().build(), Fb.create('occurred_at', T.MicrotimeType.create()).build(),
|
|
17
|
+
/*
|
|
18
|
+
* Multi-tenant apps can use this field to track the tenant id.
|
|
19
|
+
*/
|
|
20
|
+
Fb.create('ctx_tenant_id', T.StringType.create()).pattern('^[\\w\\/\\.:-]+$').build(), Fb.create('ctx_causator_ref', T.MessageRefType.create()).build(), Fb.create('ctx_correlator_ref', T.MessageRefType.create()).build(), Fb.create('ctx_user_ref', T.MessageRefType.create()).build(),
|
|
21
|
+
/*
|
|
22
|
+
* The "ctx_app" refers to the application used to send the command which
|
|
23
|
+
* in turn resulted in this event being published.
|
|
24
|
+
*/
|
|
25
|
+
Fb.create('ctx_app', T.MessageType.create()).anyOfCuries(['gdbots:contexts::app']).build(),
|
|
26
|
+
/*
|
|
27
|
+
* The "ctx_cloud" is usually copied from the command that resulted in this
|
|
28
|
+
* event being published. This means the value most likely refers to the cloud
|
|
29
|
+
* that received the command originally, not the machine processing the event.
|
|
30
|
+
*/
|
|
31
|
+
Fb.create('ctx_cloud', T.MessageType.create()).anyOfCuries(['gdbots:contexts::cloud']).build(), Fb.create('ctx_ip', T.StringType.create()).format(Format.IPV4).overridable(true).build(), Fb.create('ctx_ipv6', T.StringType.create()).format(Format.IPV6).overridable(true).build(), Fb.create('ctx_ua', T.TextType.create()).overridable(true).build(),
|
|
32
|
+
/*
|
|
33
|
+
* An optional message/reason for the event being created.
|
|
34
|
+
* Consider this like a git commit message.
|
|
35
|
+
*/
|
|
36
|
+
Fb.create('ctx_msg', T.TextType.create()).build(), Fb.create('node_ref', T.NodeRefType.create()).required().build(), Fb.create('node_status', T.StringEnumType.create()).classProto(NodeStatus).build(), Fb.create('new_slug', T.StringType.create()).format(Format.SLUG).build(), Fb.create('old_slug', T.StringType.create()).format(Format.SLUG).build()], this.MIXINS);
|
|
17
37
|
}
|
|
18
|
-
}
|
|
19
38
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
39
|
+
}
|
|
40
|
+
const M = ChannelRenamedV1;
|
|
41
|
+
M.prototype.SCHEMA_ID = M.SCHEMA_ID = 'pbj:bachelornation:taxonomy:event:channel-renamed:1-0-0';
|
|
42
|
+
M.prototype.SCHEMA_CURIE = M.SCHEMA_CURIE = 'bachelornation:taxonomy:event:channel-renamed';
|
|
43
|
+
M.prototype.SCHEMA_CURIE_MAJOR = M.SCHEMA_CURIE_MAJOR = 'bachelornation:taxonomy:event:channel-renamed:v1';
|
|
44
|
+
M.prototype.MIXINS = M.MIXINS = ['gdbots:pbjx:mixin:event:v1', 'gdbots:pbjx:mixin:event', 'gdbots:ncr:mixin:node-renamed:v1', 'gdbots:ncr:mixin:node-renamed'];
|
|
45
|
+
GdbotsPbjxEventV1Mixin(M);
|
|
46
|
+
Object.freeze(M);
|
|
47
|
+
Object.freeze(M.prototype);
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
// @link https://schemas.bachelornation.com/json-schema/bachelornation/taxonomy/event/channel-updated/1-0-0.json#
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import Message from '@gdbots/pbj/Message';
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
|
|
2
|
+
import Fb from '@gdbots/pbj/FieldBuilder.js';
|
|
3
|
+
import Format from '@gdbots/pbj/enums/Format.js';
|
|
4
|
+
import GdbotsPbjxEventV1Mixin from '@gdbots/schemas/gdbots/pbjx/mixin/event/EventV1Mixin.js';
|
|
5
|
+
import Message from '@gdbots/pbj/Message.js';
|
|
6
|
+
import Schema from '@gdbots/pbj/Schema.js';
|
|
7
|
+
import T from '@gdbots/pbj/types/index.js';
|
|
9
8
|
export default class ChannelUpdatedV1 extends Message {
|
|
10
9
|
/**
|
|
11
10
|
* @private
|
|
@@ -13,11 +12,44 @@ export default class ChannelUpdatedV1 extends Message {
|
|
|
13
12
|
* @returns {Schema}
|
|
14
13
|
*/
|
|
15
14
|
static defineSchema() {
|
|
16
|
-
return new Schema(
|
|
15
|
+
return new Schema(this.SCHEMA_ID, this, [Fb.create('event_id', T.TimeUuidType.create()).required().build(), Fb.create('occurred_at', T.MicrotimeType.create()).build(),
|
|
16
|
+
/*
|
|
17
|
+
* Multi-tenant apps can use this field to track the tenant id.
|
|
18
|
+
*/
|
|
19
|
+
Fb.create('ctx_tenant_id', T.StringType.create()).pattern('^[\\w\\/\\.:-]+$').build(), Fb.create('ctx_causator_ref', T.MessageRefType.create()).build(), Fb.create('ctx_correlator_ref', T.MessageRefType.create()).build(), Fb.create('ctx_user_ref', T.MessageRefType.create()).build(),
|
|
20
|
+
/*
|
|
21
|
+
* The "ctx_app" refers to the application used to send the command which
|
|
22
|
+
* in turn resulted in this event being published.
|
|
23
|
+
*/
|
|
24
|
+
Fb.create('ctx_app', T.MessageType.create()).anyOfCuries(['gdbots:contexts::app']).build(),
|
|
25
|
+
/*
|
|
26
|
+
* The "ctx_cloud" is usually copied from the command that resulted in this
|
|
27
|
+
* event being published. This means the value most likely refers to the cloud
|
|
28
|
+
* that received the command originally, not the machine processing the event.
|
|
29
|
+
*/
|
|
30
|
+
Fb.create('ctx_cloud', T.MessageType.create()).anyOfCuries(['gdbots:contexts::cloud']).build(), Fb.create('ctx_ip', T.StringType.create()).format(Format.IPV4).overridable(true).build(), Fb.create('ctx_ipv6', T.StringType.create()).format(Format.IPV6).overridable(true).build(), Fb.create('ctx_ua', T.TextType.create()).overridable(true).build(),
|
|
31
|
+
/*
|
|
32
|
+
* An optional message/reason for the event being created.
|
|
33
|
+
* Consider this like a git commit message.
|
|
34
|
+
*/
|
|
35
|
+
Fb.create('ctx_msg', T.TextType.create()).build(), Fb.create('node_ref', T.NodeRefType.create()).required().build(), Fb.create('slug', T.StringType.create()).format(Format.SLUG).build(), Fb.create('new_etag', T.StringType.create()).maxLength(100).pattern('^[\\w\\.:-]+$').build(), Fb.create('old_etag', T.StringType.create()).maxLength(100).pattern('^[\\w\\.:-]+$').build(), Fb.create('new_node', T.MessageType.create()).required().anyOfCuries(['gdbots:ncr:mixin:node']).overridable(true).build(),
|
|
36
|
+
/*
|
|
37
|
+
* The entire node, as it appeared before it was modified.
|
|
38
|
+
*/
|
|
39
|
+
Fb.create('old_node', T.MessageType.create()).anyOfCuries(['gdbots:ncr:mixin:node']).overridable(true).build(),
|
|
40
|
+
/*
|
|
41
|
+
* The names of the fields this update event should apply changes to.
|
|
42
|
+
* Nested paths can be referenced using dot notation.
|
|
43
|
+
*/
|
|
44
|
+
Fb.create('paths', T.StringType.create()).asASet().pattern('^[a-zA-Z_]{1}[\\w\\.]*$').build()], this.MIXINS);
|
|
17
45
|
}
|
|
18
|
-
}
|
|
19
46
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
47
|
+
}
|
|
48
|
+
const M = ChannelUpdatedV1;
|
|
49
|
+
M.prototype.SCHEMA_ID = M.SCHEMA_ID = 'pbj:bachelornation:taxonomy:event:channel-updated:1-0-0';
|
|
50
|
+
M.prototype.SCHEMA_CURIE = M.SCHEMA_CURIE = 'bachelornation:taxonomy:event:channel-updated';
|
|
51
|
+
M.prototype.SCHEMA_CURIE_MAJOR = M.SCHEMA_CURIE_MAJOR = 'bachelornation:taxonomy:event:channel-updated:v1';
|
|
52
|
+
M.prototype.MIXINS = M.MIXINS = ['gdbots:pbjx:mixin:event:v1', 'gdbots:pbjx:mixin:event', 'gdbots:ncr:mixin:node-updated:v1', 'gdbots:ncr:mixin:node-updated'];
|
|
53
|
+
GdbotsPbjxEventV1Mixin(M);
|
|
54
|
+
Object.freeze(M);
|
|
55
|
+
Object.freeze(M.prototype);
|
|
@@ -1,22 +1,13 @@
|
|
|
1
1
|
// @link https://schemas.bachelornation.com/json-schema/bachelornation/taxonomy/node/category/1-0-0.json#
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import GdbotsNcrNodeV1Mixin from '@gdbots/schemas/gdbots/ncr/mixin/node/NodeV1Mixin';
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import TrinitiCommonAdvertisingV1Mixin from '@triniti/schemas/triniti/common/mixin/advertising/AdvertisingV1Mixin';
|
|
12
|
-
import TrinitiCommonCustomCodeV1Mixin from '@triniti/schemas/triniti/common/mixin/custom-code/CustomCodeV1Mixin';
|
|
13
|
-
import TrinitiCommonSeoV1Mixin from '@triniti/schemas/triniti/common/mixin/seo/SeoV1Mixin';
|
|
14
|
-
import TrinitiCommonThemeableV1Mixin from '@triniti/schemas/triniti/common/mixin/themeable/ThemeableV1Mixin';
|
|
15
|
-
import TrinitiCuratorTeaserableV1Mixin from '@triniti/schemas/triniti/curator/mixin/teaserable/TeaserableV1Mixin';
|
|
16
|
-
import TrinitiTaxonomyCategoryV1Mixin from '@triniti/schemas/triniti/taxonomy/mixin/category/CategoryV1Mixin';
|
|
17
|
-
import TrinitiTaxonomyCategoryV1Trait from '@triniti/schemas/triniti/taxonomy/mixin/category/CategoryV1Trait';
|
|
18
|
-
import TrinitiTaxonomyHashtaggableV1Mixin from '@triniti/schemas/triniti/taxonomy/mixin/hashtaggable/HashtaggableV1Mixin';
|
|
19
|
-
|
|
2
|
+
import Fb from '@gdbots/pbj/FieldBuilder.js';
|
|
3
|
+
import Format from '@gdbots/pbj/enums/Format.js';
|
|
4
|
+
import GdbotsNcrNodeV1Mixin from '@gdbots/schemas/gdbots/ncr/mixin/node/NodeV1Mixin.js';
|
|
5
|
+
import Message from '@gdbots/pbj/Message.js';
|
|
6
|
+
import NodeStatus from '@gdbots/schemas/gdbots/ncr/enums/NodeStatus.js';
|
|
7
|
+
import Schema from '@gdbots/pbj/Schema.js';
|
|
8
|
+
import T from '@gdbots/pbj/types/index.js';
|
|
9
|
+
import TrinitiTaxonomyCategoryV1Mixin from '@triniti/schemas/triniti/taxonomy/mixin/category/CategoryV1Mixin.js';
|
|
10
|
+
import UuidIdentifier from '@gdbots/pbj/well-known/UuidIdentifier.js';
|
|
20
11
|
export default class CategoryV1 extends Message {
|
|
21
12
|
/**
|
|
22
13
|
* @private
|
|
@@ -24,12 +15,99 @@ export default class CategoryV1 extends Message {
|
|
|
24
15
|
* @returns {Schema}
|
|
25
16
|
*/
|
|
26
17
|
static defineSchema() {
|
|
27
|
-
return new Schema(
|
|
18
|
+
return new Schema(this.SCHEMA_ID, this, [
|
|
19
|
+
/*
|
|
20
|
+
* The "_id" value:
|
|
21
|
+
* - MUST NOT change for the life of the node.
|
|
22
|
+
* - SHOULD be globally unique
|
|
23
|
+
* - SHOULD be generated by the app (ideally in default value closure... e.g. UuidIdentifier::generate())
|
|
24
|
+
*/
|
|
25
|
+
Fb.create('_id', T.IdentifierType.create()).required().withDefault(() => UuidIdentifier.generate()).classProto(UuidIdentifier).overridable(true).build(), Fb.create('status', T.StringEnumType.create()).withDefault("draft").classProto(NodeStatus).build(), Fb.create('etag', T.StringType.create()).maxLength(100).pattern('^[\\w\\.:-]+$').build(), Fb.create('created_at', T.MicrotimeType.create()).build(),
|
|
26
|
+
/*
|
|
27
|
+
* A fully qualified reference to what created this node. This is intentionally a message-ref
|
|
28
|
+
* and not a user id because it is often a program that creates nodes, not a user.
|
|
29
|
+
*/
|
|
30
|
+
Fb.create('creator_ref', T.MessageRefType.create()).build(), Fb.create('updated_at', T.MicrotimeType.create()).useTypeDefault(false).build(),
|
|
31
|
+
/*
|
|
32
|
+
* A fully qualified reference to what updated this node. This is intentionally a message-ref
|
|
33
|
+
* and not a user id because it is often a program that updates nodes, not a user.
|
|
34
|
+
* E.g. "acme:iam:node:app:cli-scheduler" or "acme:iam:node:user:60c71df0-fda8-11e5-bfb9-30342d363854"
|
|
35
|
+
*/
|
|
36
|
+
Fb.create('updater_ref', T.MessageRefType.create()).build(),
|
|
37
|
+
/*
|
|
38
|
+
* A reference to the last event that changed the state of this node.
|
|
39
|
+
* E.g. "acme:blog:event:article-published:60c71df0-fda8-11e5-bfb9-30342d363854"
|
|
40
|
+
*/
|
|
41
|
+
Fb.create('last_event_ref', T.MessageRefType.create()).build(), Fb.create('title', T.StringType.create()).build(),
|
|
42
|
+
/*
|
|
43
|
+
* A reference to the image asset to use for widgets, sharing, seo.
|
|
44
|
+
*/
|
|
45
|
+
Fb.create('image_ref', T.NodeRefType.create()).build(),
|
|
46
|
+
/*
|
|
47
|
+
* A description of the category (usually a few sentences). It should typically
|
|
48
|
+
* not have HTML as it is used in metadata.
|
|
49
|
+
*/
|
|
50
|
+
Fb.create('description', T.TextType.create()).maxLength(5000).build(),
|
|
51
|
+
/*
|
|
52
|
+
* Tags is a map that categorizes data or tracks references in
|
|
53
|
+
* external systems. The tags names should be consistent and descriptive,
|
|
54
|
+
* e.g. fb_user_id:123, salesforce_customer_id:456.
|
|
55
|
+
*/
|
|
56
|
+
Fb.create('tags', T.StringType.create()).asAMap().pattern('^[\\w\\/\\.:-]+$').build(),
|
|
57
|
+
/*
|
|
58
|
+
* The "slug" is a secondary identifier, typically used in a url:
|
|
59
|
+
* - MUST be url friendly
|
|
60
|
+
* - SHOULD NOT be case sensitive
|
|
61
|
+
* - SHOULD be unique within the message curie namespace
|
|
62
|
+
* - CAN be changed, but in practice once nodes are published you should avoid it if possible
|
|
63
|
+
*/
|
|
64
|
+
Fb.create('slug', T.StringType.create()).format(Format.SLUG).build(), Fb.create('sponsor_ref', T.NodeRefType.create()).build(), Fb.create('ads_enabled', T.BooleanType.create()).withDefault(true).build(), Fb.create('dfp_ad_unit_path', T.StringType.create()).pattern('^[\\w\\/\\.:-]+$').build(), Fb.create('dfp_cust_params', T.StringType.create()).asAMap().pattern('^[\\w\\/\\.:-]+$').build(),
|
|
65
|
+
/*
|
|
66
|
+
* A map containing (HTML, JavaScript, CSS, etc.) that is injected into
|
|
67
|
+
* an application at a named insertion point, e.g. "html_head" or "footer".
|
|
68
|
+
*/
|
|
69
|
+
Fb.create('custom_code', T.TextType.create()).asAMap().build(), Fb.create('seo_title', T.StringType.create()).build(),
|
|
70
|
+
/*
|
|
71
|
+
* A reference to the image asset to use for SEO instead of
|
|
72
|
+
* the usual image_ref.
|
|
73
|
+
*/
|
|
74
|
+
Fb.create('seo_image_ref', T.NodeRefType.create()).build(),
|
|
75
|
+
/*
|
|
76
|
+
* Allows customization of the publish date for SEO purposes.
|
|
77
|
+
*/
|
|
78
|
+
Fb.create('seo_published_at', T.DateTimeType.create()).build(),
|
|
79
|
+
/*
|
|
80
|
+
* Allows customization of the updated date for SEO purposes. For example
|
|
81
|
+
* if something meaningful is updated this date should be used instead of
|
|
82
|
+
* the node's normal updated_at field which accounts for every change.
|
|
83
|
+
*/
|
|
84
|
+
Fb.create('seo_updated_at', T.DateTimeType.create()).build(), Fb.create('meta_description', T.TextType.create()).maxLength(5000).build(), Fb.create('meta_keywords', T.StringType.create()).asASet().build(),
|
|
85
|
+
/*
|
|
86
|
+
* Unlisted content will not show up in any search results
|
|
87
|
+
* but can still be viewed if you know the URL.
|
|
88
|
+
*/
|
|
89
|
+
Fb.create('is_unlisted', T.BooleanType.create()).build(),
|
|
90
|
+
/*
|
|
91
|
+
* A string used to indicate that a visual treatment should be
|
|
92
|
+
* applied to a piece of content, e.g. "christmas" or "taco".
|
|
93
|
+
*/
|
|
94
|
+
Fb.create('theme', T.StringType.create()).format(Format.SLUG).build(),
|
|
95
|
+
/*
|
|
96
|
+
* Determines the sequence that this teaserable node will be rendered
|
|
97
|
+
* in lists, search results, etc. It DOES NOT control visibility or
|
|
98
|
+
* publishing. A date was used over an integer (e.g. seq_no) for
|
|
99
|
+
* blog-like, reverse chronological, clarity in sorting.
|
|
100
|
+
*/
|
|
101
|
+
Fb.create('order_date', T.DateTimeType.create()).build(), Fb.create('hashtags', T.StringType.create()).asASet().format(Format.HASHTAG).build()], this.MIXINS);
|
|
28
102
|
}
|
|
29
|
-
}
|
|
30
103
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
104
|
+
}
|
|
105
|
+
const M = CategoryV1;
|
|
106
|
+
M.prototype.SCHEMA_ID = M.SCHEMA_ID = 'pbj:bachelornation:taxonomy:node:category:1-0-0';
|
|
107
|
+
M.prototype.SCHEMA_CURIE = M.SCHEMA_CURIE = 'bachelornation:taxonomy:node:category';
|
|
108
|
+
M.prototype.SCHEMA_CURIE_MAJOR = M.SCHEMA_CURIE_MAJOR = 'bachelornation:taxonomy:node:category:v1';
|
|
109
|
+
M.prototype.MIXINS = M.MIXINS = ['gdbots:ncr:mixin:node:v1', 'gdbots:ncr:mixin:node', 'triniti:taxonomy:mixin:category:v1', 'triniti:taxonomy:mixin:category', 'gdbots:common:mixin:taggable:v1', 'gdbots:common:mixin:taggable', 'gdbots:ncr:mixin:sluggable:v1', 'gdbots:ncr:mixin:sluggable', 'triniti:boost:mixin:sponsorable:v1', 'triniti:boost:mixin:sponsorable', 'triniti:common:mixin:advertising:v1', 'triniti:common:mixin:advertising', 'triniti:common:mixin:custom-code:v1', 'triniti:common:mixin:custom-code', 'triniti:common:mixin:seo:v1', 'triniti:common:mixin:seo', 'triniti:common:mixin:themeable:v1', 'triniti:common:mixin:themeable', 'triniti:curator:mixin:teaserable:v1', 'triniti:curator:mixin:teaserable', 'triniti:taxonomy:mixin:hashtaggable:v1', 'triniti:taxonomy:mixin:hashtaggable'];
|
|
110
|
+
GdbotsNcrNodeV1Mixin(M);
|
|
111
|
+
TrinitiTaxonomyCategoryV1Mixin(M);
|
|
112
|
+
Object.freeze(M);
|
|
113
|
+
Object.freeze(M.prototype);
|
|
@@ -1,21 +1,13 @@
|
|
|
1
1
|
// @link https://schemas.bachelornation.com/json-schema/bachelornation/taxonomy/node/channel/1-0-0.json#
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import TrinitiCommonCustomCodeV1Mixin from '@triniti/schemas/triniti/common/mixin/custom-code/CustomCodeV1Mixin';
|
|
12
|
-
import TrinitiCommonSeoV1Mixin from '@triniti/schemas/triniti/common/mixin/seo/SeoV1Mixin';
|
|
13
|
-
import TrinitiCommonThemeableV1Mixin from '@triniti/schemas/triniti/common/mixin/themeable/ThemeableV1Mixin';
|
|
14
|
-
import TrinitiCuratorTeaserableV1Mixin from '@triniti/schemas/triniti/curator/mixin/teaserable/TeaserableV1Mixin';
|
|
15
|
-
import TrinitiTaxonomyChannelV1Mixin from '@triniti/schemas/triniti/taxonomy/mixin/channel/ChannelV1Mixin';
|
|
16
|
-
import TrinitiTaxonomyChannelV1Trait from '@triniti/schemas/triniti/taxonomy/mixin/channel/ChannelV1Trait';
|
|
17
|
-
import TrinitiTaxonomyHashtaggableV1Mixin from '@triniti/schemas/triniti/taxonomy/mixin/hashtaggable/HashtaggableV1Mixin';
|
|
18
|
-
|
|
2
|
+
import Fb from '@gdbots/pbj/FieldBuilder.js';
|
|
3
|
+
import Format from '@gdbots/pbj/enums/Format.js';
|
|
4
|
+
import GdbotsNcrNodeV1Mixin from '@gdbots/schemas/gdbots/ncr/mixin/node/NodeV1Mixin.js';
|
|
5
|
+
import Message from '@gdbots/pbj/Message.js';
|
|
6
|
+
import NodeStatus from '@gdbots/schemas/gdbots/ncr/enums/NodeStatus.js';
|
|
7
|
+
import Schema from '@gdbots/pbj/Schema.js';
|
|
8
|
+
import T from '@gdbots/pbj/types/index.js';
|
|
9
|
+
import TrinitiTaxonomyChannelV1Mixin from '@triniti/schemas/triniti/taxonomy/mixin/channel/ChannelV1Mixin.js';
|
|
10
|
+
import UuidIdentifier from '@gdbots/pbj/well-known/UuidIdentifier.js';
|
|
19
11
|
export default class ChannelV1 extends Message {
|
|
20
12
|
/**
|
|
21
13
|
* @private
|
|
@@ -23,12 +15,99 @@ export default class ChannelV1 extends Message {
|
|
|
23
15
|
* @returns {Schema}
|
|
24
16
|
*/
|
|
25
17
|
static defineSchema() {
|
|
26
|
-
return new Schema(
|
|
18
|
+
return new Schema(this.SCHEMA_ID, this, [
|
|
19
|
+
/*
|
|
20
|
+
* The "_id" value:
|
|
21
|
+
* - MUST NOT change for the life of the node.
|
|
22
|
+
* - SHOULD be globally unique
|
|
23
|
+
* - SHOULD be generated by the app (ideally in default value closure... e.g. UuidIdentifier::generate())
|
|
24
|
+
*/
|
|
25
|
+
Fb.create('_id', T.IdentifierType.create()).required().withDefault(() => UuidIdentifier.generate()).classProto(UuidIdentifier).overridable(true).build(), Fb.create('status', T.StringEnumType.create()).withDefault("draft").classProto(NodeStatus).build(), Fb.create('etag', T.StringType.create()).maxLength(100).pattern('^[\\w\\.:-]+$').build(), Fb.create('created_at', T.MicrotimeType.create()).build(),
|
|
26
|
+
/*
|
|
27
|
+
* A fully qualified reference to what created this node. This is intentionally a message-ref
|
|
28
|
+
* and not a user id because it is often a program that creates nodes, not a user.
|
|
29
|
+
*/
|
|
30
|
+
Fb.create('creator_ref', T.MessageRefType.create()).build(), Fb.create('updated_at', T.MicrotimeType.create()).useTypeDefault(false).build(),
|
|
31
|
+
/*
|
|
32
|
+
* A fully qualified reference to what updated this node. This is intentionally a message-ref
|
|
33
|
+
* and not a user id because it is often a program that updates nodes, not a user.
|
|
34
|
+
* E.g. "acme:iam:node:app:cli-scheduler" or "acme:iam:node:user:60c71df0-fda8-11e5-bfb9-30342d363854"
|
|
35
|
+
*/
|
|
36
|
+
Fb.create('updater_ref', T.MessageRefType.create()).build(),
|
|
37
|
+
/*
|
|
38
|
+
* A reference to the last event that changed the state of this node.
|
|
39
|
+
* E.g. "acme:blog:event:article-published:60c71df0-fda8-11e5-bfb9-30342d363854"
|
|
40
|
+
*/
|
|
41
|
+
Fb.create('last_event_ref', T.MessageRefType.create()).build(), Fb.create('title', T.StringType.create()).build(),
|
|
42
|
+
/*
|
|
43
|
+
* A reference to the image asset to use for widgets, sharing, seo.
|
|
44
|
+
*/
|
|
45
|
+
Fb.create('image_ref', T.NodeRefType.create()).build(),
|
|
46
|
+
/*
|
|
47
|
+
* A description of the channel (usually a few sentences). It should typically
|
|
48
|
+
* not have HTML as it is used in metadata.
|
|
49
|
+
*/
|
|
50
|
+
Fb.create('description', T.TextType.create()).maxLength(5000).build(),
|
|
51
|
+
/*
|
|
52
|
+
* Tags is a map that categorizes data or tracks references in
|
|
53
|
+
* external systems. The tags names should be consistent and descriptive,
|
|
54
|
+
* e.g. fb_user_id:123, salesforce_customer_id:456.
|
|
55
|
+
*/
|
|
56
|
+
Fb.create('tags', T.StringType.create()).asAMap().pattern('^[\\w\\/\\.:-]+$').build(),
|
|
57
|
+
/*
|
|
58
|
+
* The "slug" is a secondary identifier, typically used in a url:
|
|
59
|
+
* - MUST be url friendly
|
|
60
|
+
* - SHOULD NOT be case sensitive
|
|
61
|
+
* - SHOULD be unique within the message curie namespace
|
|
62
|
+
* - CAN be changed, but in practice once nodes are published you should avoid it if possible
|
|
63
|
+
*/
|
|
64
|
+
Fb.create('slug', T.StringType.create()).format(Format.SLUG).build(), Fb.create('sponsor_ref', T.NodeRefType.create()).build(), Fb.create('ads_enabled', T.BooleanType.create()).withDefault(true).build(), Fb.create('dfp_ad_unit_path', T.StringType.create()).pattern('^[\\w\\/\\.:-]+$').build(), Fb.create('dfp_cust_params', T.StringType.create()).asAMap().pattern('^[\\w\\/\\.:-]+$').build(),
|
|
65
|
+
/*
|
|
66
|
+
* A map containing (HTML, JavaScript, CSS, etc.) that is injected into
|
|
67
|
+
* an application at a named insertion point, e.g. "html_head" or "footer".
|
|
68
|
+
*/
|
|
69
|
+
Fb.create('custom_code', T.TextType.create()).asAMap().build(), Fb.create('seo_title', T.StringType.create()).build(),
|
|
70
|
+
/*
|
|
71
|
+
* A reference to the image asset to use for SEO instead of
|
|
72
|
+
* the usual image_ref.
|
|
73
|
+
*/
|
|
74
|
+
Fb.create('seo_image_ref', T.NodeRefType.create()).build(),
|
|
75
|
+
/*
|
|
76
|
+
* Allows customization of the publish date for SEO purposes.
|
|
77
|
+
*/
|
|
78
|
+
Fb.create('seo_published_at', T.DateTimeType.create()).build(),
|
|
79
|
+
/*
|
|
80
|
+
* Allows customization of the updated date for SEO purposes. For example
|
|
81
|
+
* if something meaningful is updated this date should be used instead of
|
|
82
|
+
* the node's normal updated_at field which accounts for every change.
|
|
83
|
+
*/
|
|
84
|
+
Fb.create('seo_updated_at', T.DateTimeType.create()).build(), Fb.create('meta_description', T.TextType.create()).maxLength(5000).build(), Fb.create('meta_keywords', T.StringType.create()).asASet().build(),
|
|
85
|
+
/*
|
|
86
|
+
* Unlisted content will not show up in any search results
|
|
87
|
+
* but can still be viewed if you know the URL.
|
|
88
|
+
*/
|
|
89
|
+
Fb.create('is_unlisted', T.BooleanType.create()).build(),
|
|
90
|
+
/*
|
|
91
|
+
* A string used to indicate that a visual treatment should be
|
|
92
|
+
* applied to a piece of content, e.g. "christmas" or "taco".
|
|
93
|
+
*/
|
|
94
|
+
Fb.create('theme', T.StringType.create()).format(Format.SLUG).build(),
|
|
95
|
+
/*
|
|
96
|
+
* Determines the sequence that this teaserable node will be rendered
|
|
97
|
+
* in lists, search results, etc. It DOES NOT control visibility or
|
|
98
|
+
* publishing. A date was used over an integer (e.g. seq_no) for
|
|
99
|
+
* blog-like, reverse chronological, clarity in sorting.
|
|
100
|
+
*/
|
|
101
|
+
Fb.create('order_date', T.DateTimeType.create()).build(), Fb.create('hashtags', T.StringType.create()).asASet().format(Format.HASHTAG).build()], this.MIXINS);
|
|
27
102
|
}
|
|
28
|
-
}
|
|
29
103
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
104
|
+
}
|
|
105
|
+
const M = ChannelV1;
|
|
106
|
+
M.prototype.SCHEMA_ID = M.SCHEMA_ID = 'pbj:bachelornation:taxonomy:node:channel:1-0-0';
|
|
107
|
+
M.prototype.SCHEMA_CURIE = M.SCHEMA_CURIE = 'bachelornation:taxonomy:node:channel';
|
|
108
|
+
M.prototype.SCHEMA_CURIE_MAJOR = M.SCHEMA_CURIE_MAJOR = 'bachelornation:taxonomy:node:channel:v1';
|
|
109
|
+
M.prototype.MIXINS = M.MIXINS = ['gdbots:ncr:mixin:node:v1', 'gdbots:ncr:mixin:node', 'triniti:taxonomy:mixin:channel:v1', 'triniti:taxonomy:mixin:channel', 'gdbots:common:mixin:taggable:v1', 'gdbots:common:mixin:taggable', 'gdbots:ncr:mixin:sluggable:v1', 'gdbots:ncr:mixin:sluggable', 'triniti:boost:mixin:sponsorable:v1', 'triniti:boost:mixin:sponsorable', 'triniti:common:mixin:advertising:v1', 'triniti:common:mixin:advertising', 'triniti:common:mixin:custom-code:v1', 'triniti:common:mixin:custom-code', 'triniti:common:mixin:seo:v1', 'triniti:common:mixin:seo', 'triniti:common:mixin:themeable:v1', 'triniti:common:mixin:themeable', 'triniti:curator:mixin:teaserable:v1', 'triniti:curator:mixin:teaserable', 'triniti:taxonomy:mixin:hashtaggable:v1', 'triniti:taxonomy:mixin:hashtaggable'];
|
|
110
|
+
GdbotsNcrNodeV1Mixin(M);
|
|
111
|
+
TrinitiTaxonomyChannelV1Mixin(M);
|
|
112
|
+
Object.freeze(M);
|
|
113
|
+
Object.freeze(M.prototype);
|