@atproto/pds 0.4.65 → 0.4.66
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +9 -0
- package/dist/account-manager/db/index.d.ts.map +1 -1
- package/dist/account-manager/db/migrations/001-init.js +2 -3
- package/dist/account-manager/db/migrations/001-init.js.map +1 -1
- package/dist/account-manager/db/migrations/002-account-deactivation.js +2 -3
- package/dist/account-manager/db/migrations/002-account-deactivation.js.map +1 -1
- package/dist/account-manager/db/migrations/003-privileged-app-passwords.js +2 -3
- package/dist/account-manager/db/migrations/003-privileged-app-passwords.js.map +1 -1
- package/dist/account-manager/db/migrations/004-oauth.js +2 -3
- package/dist/account-manager/db/migrations/004-oauth.js.map +1 -1
- package/dist/account-manager/helpers/account.d.ts.map +1 -1
- package/dist/account-manager/helpers/auth.d.ts +0 -1
- package/dist/account-manager/helpers/auth.d.ts.map +1 -1
- package/dist/account-manager/helpers/authorization-request.d.ts.map +1 -1
- package/dist/account-manager/helpers/device-account.d.ts.map +1 -1
- package/dist/account-manager/helpers/device-account.js +3 -3
- package/dist/account-manager/helpers/device-account.js.map +1 -1
- package/dist/account-manager/helpers/device.d.ts.map +1 -1
- package/dist/account-manager/helpers/email-token.d.ts.map +1 -1
- package/dist/account-manager/helpers/invite.d.ts.map +1 -1
- package/dist/account-manager/helpers/password.d.ts.map +1 -1
- package/dist/account-manager/helpers/repo.d.ts.map +1 -1
- package/dist/account-manager/helpers/scrypt.d.ts.map +1 -1
- package/dist/account-manager/helpers/token.d.ts.map +1 -1
- package/dist/account-manager/helpers/used-refresh-token.d.ts.map +1 -1
- package/dist/account-manager/index.d.ts +0 -1
- package/dist/account-manager/index.d.ts.map +1 -1
- package/dist/actor-store/blob/reader.d.ts +0 -1
- package/dist/actor-store/blob/reader.d.ts.map +1 -1
- package/dist/actor-store/blob/transactor.d.ts +0 -1
- package/dist/actor-store/blob/transactor.d.ts.map +1 -1
- package/dist/actor-store/db/index.d.ts.map +1 -1
- package/dist/actor-store/db/migrations/001-init.js +2 -3
- package/dist/actor-store/db/migrations/001-init.js.map +1 -1
- package/dist/actor-store/migrate.d.ts.map +1 -1
- package/dist/actor-store/record/transactor.d.ts +1 -1
- package/dist/actor-store/record/transactor.d.ts.map +1 -1
- package/dist/actor-store/repo/sql-repo-reader.d.ts +0 -1
- package/dist/actor-store/repo/sql-repo-reader.d.ts.map +1 -1
- package/dist/api/app/bsky/actor/getPreferences.js +1 -1
- package/dist/api/app/bsky/actor/getPreferences.js.map +1 -1
- package/dist/api/app/bsky/actor/getProfile.js +1 -1
- package/dist/api/app/bsky/actor/getProfile.js.map +1 -1
- package/dist/api/app/bsky/actor/getProfiles.js +1 -1
- package/dist/api/app/bsky/actor/getProfiles.js.map +1 -1
- package/dist/api/app/bsky/actor/index.js +1 -1
- package/dist/api/app/bsky/actor/index.js.map +1 -1
- package/dist/api/app/bsky/actor/putPreferences.js +1 -1
- package/dist/api/app/bsky/actor/putPreferences.js.map +1 -1
- package/dist/api/app/bsky/feed/getActorLikes.js +1 -1
- package/dist/api/app/bsky/feed/getActorLikes.js.map +1 -1
- package/dist/api/app/bsky/feed/getAuthorFeed.js +1 -1
- package/dist/api/app/bsky/feed/getAuthorFeed.js.map +1 -1
- package/dist/api/app/bsky/feed/getFeed.js +1 -1
- package/dist/api/app/bsky/feed/getFeed.js.map +1 -1
- package/dist/api/app/bsky/feed/getPostThread.js +1 -1
- package/dist/api/app/bsky/feed/getPostThread.js.map +1 -1
- package/dist/api/app/bsky/feed/getTimeline.js +1 -1
- package/dist/api/app/bsky/feed/getTimeline.js.map +1 -1
- package/dist/api/app/bsky/feed/index.js +1 -1
- package/dist/api/app/bsky/feed/index.js.map +1 -1
- package/dist/api/app/bsky/index.js +1 -1
- package/dist/api/app/bsky/index.js.map +1 -1
- package/dist/api/app/bsky/notification/index.js +1 -1
- package/dist/api/app/bsky/notification/index.js.map +1 -1
- package/dist/api/app/bsky/notification/registerPush.js +1 -1
- package/dist/api/app/bsky/notification/registerPush.js.map +1 -1
- package/dist/api/app/bsky/util/resolver.d.ts.map +1 -1
- package/dist/api/com/atproto/admin/deleteAccount.js +1 -1
- package/dist/api/com/atproto/admin/deleteAccount.js.map +1 -1
- package/dist/api/com/atproto/admin/disableAccountInvites.js +1 -1
- package/dist/api/com/atproto/admin/disableAccountInvites.js.map +1 -1
- package/dist/api/com/atproto/admin/disableInviteCodes.js +1 -1
- package/dist/api/com/atproto/admin/disableInviteCodes.js.map +1 -1
- package/dist/api/com/atproto/admin/enableAccountInvites.js +1 -1
- package/dist/api/com/atproto/admin/enableAccountInvites.js.map +1 -1
- package/dist/api/com/atproto/admin/getAccountInfo.js +1 -1
- package/dist/api/com/atproto/admin/getAccountInfo.js.map +1 -1
- package/dist/api/com/atproto/admin/getAccountInfos.js +1 -1
- package/dist/api/com/atproto/admin/getAccountInfos.js.map +1 -1
- package/dist/api/com/atproto/admin/getInviteCodes.js +1 -1
- package/dist/api/com/atproto/admin/getInviteCodes.js.map +1 -1
- package/dist/api/com/atproto/admin/getSubjectStatus.js +1 -1
- package/dist/api/com/atproto/admin/getSubjectStatus.js.map +1 -1
- package/dist/api/com/atproto/admin/index.js +1 -1
- package/dist/api/com/atproto/admin/index.js.map +1 -1
- package/dist/api/com/atproto/admin/sendEmail.js +1 -1
- package/dist/api/com/atproto/admin/sendEmail.js.map +1 -1
- package/dist/api/com/atproto/admin/updateAccountEmail.js +1 -1
- package/dist/api/com/atproto/admin/updateAccountEmail.js.map +1 -1
- package/dist/api/com/atproto/admin/updateAccountHandle.js +1 -1
- package/dist/api/com/atproto/admin/updateAccountHandle.js.map +1 -1
- package/dist/api/com/atproto/admin/updateAccountPassword.js +1 -1
- package/dist/api/com/atproto/admin/updateAccountPassword.js.map +1 -1
- package/dist/api/com/atproto/admin/updateSubjectStatus.js +1 -1
- package/dist/api/com/atproto/admin/updateSubjectStatus.js.map +1 -1
- package/dist/api/com/atproto/admin/util.js +2 -3
- package/dist/api/com/atproto/admin/util.js.map +1 -1
- package/dist/api/com/atproto/identity/getRecommendedDidCredentials.js +1 -1
- package/dist/api/com/atproto/identity/getRecommendedDidCredentials.js.map +1 -1
- package/dist/api/com/atproto/identity/index.js +1 -1
- package/dist/api/com/atproto/identity/index.js.map +1 -1
- package/dist/api/com/atproto/identity/requestPlcOperationSignature.js +1 -1
- package/dist/api/com/atproto/identity/requestPlcOperationSignature.js.map +1 -1
- package/dist/api/com/atproto/identity/resolveHandle.js +1 -1
- package/dist/api/com/atproto/identity/resolveHandle.js.map +1 -1
- package/dist/api/com/atproto/identity/signPlcOperation.js +1 -1
- package/dist/api/com/atproto/identity/signPlcOperation.js.map +1 -1
- package/dist/api/com/atproto/identity/submitPlcOperation.js +1 -1
- package/dist/api/com/atproto/identity/submitPlcOperation.js.map +1 -1
- package/dist/api/com/atproto/identity/updateHandle.js +1 -1
- package/dist/api/com/atproto/identity/updateHandle.js.map +1 -1
- package/dist/api/com/atproto/index.js +1 -1
- package/dist/api/com/atproto/index.js.map +1 -1
- package/dist/api/com/atproto/repo/applyWrites.js +1 -1
- package/dist/api/com/atproto/repo/applyWrites.js.map +1 -1
- package/dist/api/com/atproto/repo/createRecord.js +1 -1
- package/dist/api/com/atproto/repo/createRecord.js.map +1 -1
- package/dist/api/com/atproto/repo/deleteRecord.js +1 -1
- package/dist/api/com/atproto/repo/deleteRecord.js.map +1 -1
- package/dist/api/com/atproto/repo/describeRepo.js +1 -1
- package/dist/api/com/atproto/repo/describeRepo.js.map +1 -1
- package/dist/api/com/atproto/repo/getRecord.js +1 -1
- package/dist/api/com/atproto/repo/getRecord.js.map +1 -1
- package/dist/api/com/atproto/repo/importRepo.js +1 -1
- package/dist/api/com/atproto/repo/importRepo.js.map +1 -1
- package/dist/api/com/atproto/repo/index.js +1 -1
- package/dist/api/com/atproto/repo/index.js.map +1 -1
- package/dist/api/com/atproto/repo/listMissingBlobs.js +1 -1
- package/dist/api/com/atproto/repo/listMissingBlobs.js.map +1 -1
- package/dist/api/com/atproto/repo/listRecords.js +1 -1
- package/dist/api/com/atproto/repo/listRecords.js.map +1 -1
- package/dist/api/com/atproto/repo/putRecord.js +1 -1
- package/dist/api/com/atproto/repo/putRecord.js.map +1 -1
- package/dist/api/com/atproto/repo/uploadBlob.js +1 -1
- package/dist/api/com/atproto/repo/uploadBlob.js.map +1 -1
- package/dist/api/com/atproto/server/activateAccount.js +1 -1
- package/dist/api/com/atproto/server/activateAccount.js.map +1 -1
- package/dist/api/com/atproto/server/checkAccountStatus.js +1 -1
- package/dist/api/com/atproto/server/checkAccountStatus.js.map +1 -1
- package/dist/api/com/atproto/server/confirmEmail.js +1 -1
- package/dist/api/com/atproto/server/confirmEmail.js.map +1 -1
- package/dist/api/com/atproto/server/createAccount.js +1 -1
- package/dist/api/com/atproto/server/createAccount.js.map +1 -1
- package/dist/api/com/atproto/server/createAppPassword.js +1 -1
- package/dist/api/com/atproto/server/createAppPassword.js.map +1 -1
- package/dist/api/com/atproto/server/createInviteCode.js +1 -1
- package/dist/api/com/atproto/server/createInviteCode.js.map +1 -1
- package/dist/api/com/atproto/server/createInviteCodes.js +1 -1
- package/dist/api/com/atproto/server/createInviteCodes.js.map +1 -1
- package/dist/api/com/atproto/server/createSession.js +1 -1
- package/dist/api/com/atproto/server/createSession.js.map +1 -1
- package/dist/api/com/atproto/server/deactivateAccount.js +1 -1
- package/dist/api/com/atproto/server/deactivateAccount.js.map +1 -1
- package/dist/api/com/atproto/server/deleteAccount.js +1 -1
- package/dist/api/com/atproto/server/deleteAccount.js.map +1 -1
- package/dist/api/com/atproto/server/deleteSession.js +1 -1
- package/dist/api/com/atproto/server/deleteSession.js.map +1 -1
- package/dist/api/com/atproto/server/describeServer.js +1 -1
- package/dist/api/com/atproto/server/describeServer.js.map +1 -1
- package/dist/api/com/atproto/server/getAccountInviteCodes.js +1 -1
- package/dist/api/com/atproto/server/getAccountInviteCodes.js.map +1 -1
- package/dist/api/com/atproto/server/getServiceAuth.js +1 -1
- package/dist/api/com/atproto/server/getServiceAuth.js.map +1 -1
- package/dist/api/com/atproto/server/getSession.js +1 -1
- package/dist/api/com/atproto/server/getSession.js.map +1 -1
- package/dist/api/com/atproto/server/index.js +1 -1
- package/dist/api/com/atproto/server/index.js.map +1 -1
- package/dist/api/com/atproto/server/listAppPasswords.js +1 -1
- package/dist/api/com/atproto/server/listAppPasswords.js.map +1 -1
- package/dist/api/com/atproto/server/refreshSession.js +1 -1
- package/dist/api/com/atproto/server/refreshSession.js.map +1 -1
- package/dist/api/com/atproto/server/requestAccountDelete.js +1 -1
- package/dist/api/com/atproto/server/requestAccountDelete.js.map +1 -1
- package/dist/api/com/atproto/server/requestEmailConfirmation.js +1 -1
- package/dist/api/com/atproto/server/requestEmailConfirmation.js.map +1 -1
- package/dist/api/com/atproto/server/requestEmailUpdate.js +1 -1
- package/dist/api/com/atproto/server/requestEmailUpdate.js.map +1 -1
- package/dist/api/com/atproto/server/requestPasswordReset.js +1 -1
- package/dist/api/com/atproto/server/requestPasswordReset.js.map +1 -1
- package/dist/api/com/atproto/server/reserveSigningKey.js +1 -1
- package/dist/api/com/atproto/server/reserveSigningKey.js.map +1 -1
- package/dist/api/com/atproto/server/resetPassword.js +1 -1
- package/dist/api/com/atproto/server/resetPassword.js.map +1 -1
- package/dist/api/com/atproto/server/revokeAppPassword.js +1 -1
- package/dist/api/com/atproto/server/revokeAppPassword.js.map +1 -1
- package/dist/api/com/atproto/server/updateEmail.js +1 -1
- package/dist/api/com/atproto/server/updateEmail.js.map +1 -1
- package/dist/api/com/atproto/server/util.d.ts.map +1 -1
- package/dist/api/com/atproto/sync/deprecated/getCheckout.js +1 -1
- package/dist/api/com/atproto/sync/deprecated/getCheckout.js.map +1 -1
- package/dist/api/com/atproto/sync/deprecated/getHead.js +1 -1
- package/dist/api/com/atproto/sync/deprecated/getHead.js.map +1 -1
- package/dist/api/com/atproto/sync/getBlob.js +1 -1
- package/dist/api/com/atproto/sync/getBlob.js.map +1 -1
- package/dist/api/com/atproto/sync/getBlocks.js +1 -1
- package/dist/api/com/atproto/sync/getBlocks.js.map +1 -1
- package/dist/api/com/atproto/sync/getLatestCommit.js +1 -1
- package/dist/api/com/atproto/sync/getLatestCommit.js.map +1 -1
- package/dist/api/com/atproto/sync/getRecord.js +1 -1
- package/dist/api/com/atproto/sync/getRecord.js.map +1 -1
- package/dist/api/com/atproto/sync/getRepo.d.ts +0 -1
- package/dist/api/com/atproto/sync/getRepo.d.ts.map +1 -1
- package/dist/api/com/atproto/sync/getRepo.js +1 -1
- package/dist/api/com/atproto/sync/getRepo.js.map +1 -1
- package/dist/api/com/atproto/sync/getRepoStatus.js +1 -1
- package/dist/api/com/atproto/sync/getRepoStatus.js.map +1 -1
- package/dist/api/com/atproto/sync/index.js +1 -1
- package/dist/api/com/atproto/sync/index.js.map +1 -1
- package/dist/api/com/atproto/sync/listBlobs.js +1 -1
- package/dist/api/com/atproto/sync/listBlobs.js.map +1 -1
- package/dist/api/com/atproto/sync/listRepos.js +1 -1
- package/dist/api/com/atproto/sync/listRepos.js.map +1 -1
- package/dist/api/com/atproto/sync/subscribeRepos.js +1 -1
- package/dist/api/com/atproto/sync/subscribeRepos.js.map +1 -1
- package/dist/api/com/atproto/sync/util.d.ts.map +1 -1
- package/dist/api/com/atproto/temp/checkSignupQueue.js +1 -1
- package/dist/api/com/atproto/temp/checkSignupQueue.js.map +1 -1
- package/dist/api/com/atproto/temp/index.js +1 -1
- package/dist/api/com/atproto/temp/index.js.map +1 -1
- package/dist/api/index.js +1 -1
- package/dist/api/index.js.map +1 -1
- package/dist/api/proxy.d.ts +0 -1
- package/dist/api/proxy.d.ts.map +1 -1
- package/dist/api/proxy.js +2 -2
- package/dist/api/proxy.js.map +1 -1
- package/dist/auth-routes.d.ts.map +1 -1
- package/dist/auth-routes.js +1 -0
- package/dist/auth-routes.js.map +1 -1
- package/dist/auth-verifier.d.ts +0 -1
- package/dist/auth-verifier.d.ts.map +1 -1
- package/dist/basic-routes.d.ts.map +1 -1
- package/dist/db/cast.d.ts +1 -1
- package/dist/db/cast.d.ts.map +1 -1
- package/dist/db/cast.js +2 -2
- package/dist/db/cast.js.map +1 -1
- package/dist/db/pagination.d.ts +1 -1
- package/dist/db/pagination.d.ts.map +1 -1
- package/dist/db/util.d.ts.map +1 -1
- package/dist/did-cache/db/index.d.ts.map +1 -1
- package/dist/did-cache/db/migrations.d.ts.map +1 -1
- package/dist/disk-blobstore.d.ts +0 -1
- package/dist/disk-blobstore.d.ts.map +1 -1
- package/dist/handle/index.d.ts.map +1 -1
- package/dist/image/index.d.ts +0 -1
- package/dist/image/index.d.ts.map +1 -1
- package/dist/image/index.js +3 -3
- package/dist/image/index.js.map +1 -1
- package/dist/index.d.ts +0 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +2 -2
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/defs.js +48 -49
- package/dist/lexicon/types/app/bsky/actor/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/profile.js +2 -3
- package/dist/lexicon/types/app/bsky/actor/profile.js.map +1 -1
- package/dist/lexicon/types/app/bsky/embed/defs.js +2 -3
- package/dist/lexicon/types/app/bsky/embed/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/embed/external.js +8 -9
- package/dist/lexicon/types/app/bsky/embed/external.js.map +1 -1
- package/dist/lexicon/types/app/bsky/embed/images.js +8 -9
- package/dist/lexicon/types/app/bsky/embed/images.js.map +1 -1
- package/dist/lexicon/types/app/bsky/embed/record.js +12 -13
- package/dist/lexicon/types/app/bsky/embed/record.js.map +1 -1
- package/dist/lexicon/types/app/bsky/embed/recordWithMedia.js +4 -5
- package/dist/lexicon/types/app/bsky/embed/recordWithMedia.js.map +1 -1
- package/dist/lexicon/types/app/bsky/embed/video.js +6 -7
- package/dist/lexicon/types/app/bsky/embed/video.js.map +1 -1
- package/dist/lexicon/types/app/bsky/feed/defs.js +35 -35
- package/dist/lexicon/types/app/bsky/feed/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/feed/describeFeedGenerator.js +4 -5
- package/dist/lexicon/types/app/bsky/feed/describeFeedGenerator.js.map +1 -1
- package/dist/lexicon/types/app/bsky/feed/generator.js +2 -3
- package/dist/lexicon/types/app/bsky/feed/generator.js.map +1 -1
- package/dist/lexicon/types/app/bsky/feed/getLikes.js +2 -3
- package/dist/lexicon/types/app/bsky/feed/getLikes.js.map +1 -1
- package/dist/lexicon/types/app/bsky/feed/like.js +2 -3
- package/dist/lexicon/types/app/bsky/feed/like.js.map +1 -1
- package/dist/lexicon/types/app/bsky/feed/post.js +8 -9
- package/dist/lexicon/types/app/bsky/feed/post.js.map +1 -1
- package/dist/lexicon/types/app/bsky/feed/postgate.js +4 -5
- package/dist/lexicon/types/app/bsky/feed/postgate.js.map +1 -1
- package/dist/lexicon/types/app/bsky/feed/repost.js +2 -3
- package/dist/lexicon/types/app/bsky/feed/repost.js.map +1 -1
- package/dist/lexicon/types/app/bsky/feed/threadgate.js +8 -9
- package/dist/lexicon/types/app/bsky/feed/threadgate.js.map +1 -1
- package/dist/lexicon/types/app/bsky/graph/block.js +2 -3
- package/dist/lexicon/types/app/bsky/graph/block.js.map +1 -1
- package/dist/lexicon/types/app/bsky/graph/defs.js +17 -17
- package/dist/lexicon/types/app/bsky/graph/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/graph/follow.js +2 -3
- package/dist/lexicon/types/app/bsky/graph/follow.js.map +1 -1
- package/dist/lexicon/types/app/bsky/graph/list.js +2 -3
- package/dist/lexicon/types/app/bsky/graph/list.js.map +1 -1
- package/dist/lexicon/types/app/bsky/graph/listblock.js +2 -3
- package/dist/lexicon/types/app/bsky/graph/listblock.js.map +1 -1
- package/dist/lexicon/types/app/bsky/graph/listitem.js +2 -3
- package/dist/lexicon/types/app/bsky/graph/listitem.js.map +1 -1
- package/dist/lexicon/types/app/bsky/graph/starterpack.js +4 -5
- package/dist/lexicon/types/app/bsky/graph/starterpack.js.map +1 -1
- package/dist/lexicon/types/app/bsky/labeler/defs.js +8 -9
- package/dist/lexicon/types/app/bsky/labeler/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/labeler/service.js +2 -3
- package/dist/lexicon/types/app/bsky/labeler/service.js.map +1 -1
- package/dist/lexicon/types/app/bsky/notification/listNotifications.js +2 -3
- package/dist/lexicon/types/app/bsky/notification/listNotifications.js.map +1 -1
- package/dist/lexicon/types/app/bsky/richtext/facet.js +10 -11
- package/dist/lexicon/types/app/bsky/richtext/facet.js.map +1 -1
- package/dist/lexicon/types/app/bsky/unspecced/defs.js +4 -5
- package/dist/lexicon/types/app/bsky/unspecced/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/unspecced/getTaggedSuggestions.js +2 -3
- package/dist/lexicon/types/app/bsky/unspecced/getTaggedSuggestions.js.map +1 -1
- package/dist/lexicon/types/app/bsky/video/defs.js +2 -3
- package/dist/lexicon/types/app/bsky/video/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/video/uploadVideo.d.ts +0 -2
- package/dist/lexicon/types/app/bsky/video/uploadVideo.d.ts.map +1 -1
- package/dist/lexicon/types/chat/bsky/actor/declaration.js +2 -3
- package/dist/lexicon/types/chat/bsky/actor/declaration.js.map +1 -1
- package/dist/lexicon/types/chat/bsky/actor/defs.js +2 -3
- package/dist/lexicon/types/chat/bsky/actor/defs.js.map +1 -1
- package/dist/lexicon/types/chat/bsky/actor/exportAccountData.d.ts +0 -1
- package/dist/lexicon/types/chat/bsky/actor/exportAccountData.d.ts.map +1 -1
- package/dist/lexicon/types/chat/bsky/convo/defs.js +20 -21
- package/dist/lexicon/types/chat/bsky/convo/defs.js.map +1 -1
- package/dist/lexicon/types/chat/bsky/convo/sendMessageBatch.js +2 -3
- package/dist/lexicon/types/chat/bsky/convo/sendMessageBatch.js.map +1 -1
- package/dist/lexicon/types/chat/bsky/moderation/getActorMetadata.js +2 -3
- package/dist/lexicon/types/chat/bsky/moderation/getActorMetadata.js.map +1 -1
- package/dist/lexicon/types/com/atproto/admin/defs.js +8 -9
- package/dist/lexicon/types/com/atproto/admin/defs.js.map +1 -1
- package/dist/lexicon/types/com/atproto/label/defs.js +10 -11
- package/dist/lexicon/types/com/atproto/label/defs.js.map +1 -1
- package/dist/lexicon/types/com/atproto/label/subscribeLabels.d.ts +0 -3
- package/dist/lexicon/types/com/atproto/label/subscribeLabels.d.ts.map +1 -1
- package/dist/lexicon/types/com/atproto/label/subscribeLabels.js +4 -5
- package/dist/lexicon/types/com/atproto/label/subscribeLabels.js.map +1 -1
- package/dist/lexicon/types/com/atproto/repo/applyWrites.js +12 -13
- package/dist/lexicon/types/com/atproto/repo/applyWrites.js.map +1 -1
- package/dist/lexicon/types/com/atproto/repo/defs.js +2 -3
- package/dist/lexicon/types/com/atproto/repo/defs.js.map +1 -1
- package/dist/lexicon/types/com/atproto/repo/importRepo.d.ts +0 -2
- package/dist/lexicon/types/com/atproto/repo/importRepo.d.ts.map +1 -1
- package/dist/lexicon/types/com/atproto/repo/listMissingBlobs.js +2 -3
- package/dist/lexicon/types/com/atproto/repo/listMissingBlobs.js.map +1 -1
- package/dist/lexicon/types/com/atproto/repo/listRecords.js +2 -3
- package/dist/lexicon/types/com/atproto/repo/listRecords.js.map +1 -1
- package/dist/lexicon/types/com/atproto/repo/strongRef.js +2 -3
- package/dist/lexicon/types/com/atproto/repo/strongRef.js.map +1 -1
- package/dist/lexicon/types/com/atproto/repo/uploadBlob.d.ts +0 -2
- package/dist/lexicon/types/com/atproto/repo/uploadBlob.d.ts.map +1 -1
- package/dist/lexicon/types/com/atproto/server/createAppPassword.js +2 -3
- package/dist/lexicon/types/com/atproto/server/createAppPassword.js.map +1 -1
- package/dist/lexicon/types/com/atproto/server/createInviteCodes.js +2 -3
- package/dist/lexicon/types/com/atproto/server/createInviteCodes.js.map +1 -1
- package/dist/lexicon/types/com/atproto/server/defs.js +4 -5
- package/dist/lexicon/types/com/atproto/server/defs.js.map +1 -1
- package/dist/lexicon/types/com/atproto/server/describeServer.js +4 -5
- package/dist/lexicon/types/com/atproto/server/describeServer.js.map +1 -1
- package/dist/lexicon/types/com/atproto/server/listAppPasswords.js +2 -3
- package/dist/lexicon/types/com/atproto/server/listAppPasswords.js.map +1 -1
- package/dist/lexicon/types/com/atproto/sync/getBlob.d.ts +0 -1
- package/dist/lexicon/types/com/atproto/sync/getBlob.d.ts.map +1 -1
- package/dist/lexicon/types/com/atproto/sync/getBlocks.d.ts +0 -1
- package/dist/lexicon/types/com/atproto/sync/getBlocks.d.ts.map +1 -1
- package/dist/lexicon/types/com/atproto/sync/getCheckout.d.ts +0 -1
- package/dist/lexicon/types/com/atproto/sync/getCheckout.d.ts.map +1 -1
- package/dist/lexicon/types/com/atproto/sync/getRecord.d.ts +0 -1
- package/dist/lexicon/types/com/atproto/sync/getRecord.d.ts.map +1 -1
- package/dist/lexicon/types/com/atproto/sync/getRepo.d.ts +0 -1
- package/dist/lexicon/types/com/atproto/sync/getRepo.d.ts.map +1 -1
- package/dist/lexicon/types/com/atproto/sync/listRepos.js +2 -3
- package/dist/lexicon/types/com/atproto/sync/listRepos.js.map +1 -1
- package/dist/lexicon/types/com/atproto/sync/subscribeRepos.d.ts +0 -3
- package/dist/lexicon/types/com/atproto/sync/subscribeRepos.d.ts.map +1 -1
- package/dist/lexicon/types/com/atproto/sync/subscribeRepos.js +16 -17
- package/dist/lexicon/types/com/atproto/sync/subscribeRepos.js.map +1 -1
- package/dist/lexicon/types/tools/ozone/communication/defs.js +2 -3
- package/dist/lexicon/types/tools/ozone/communication/defs.js.map +1 -1
- package/dist/lexicon/types/tools/ozone/moderation/defs.js +59 -60
- package/dist/lexicon/types/tools/ozone/moderation/defs.js.map +1 -1
- package/dist/lexicon/types/tools/ozone/server/getConfig.js +4 -5
- package/dist/lexicon/types/tools/ozone/server/getConfig.js.map +1 -1
- package/dist/lexicon/types/tools/ozone/set/defs.js +4 -5
- package/dist/lexicon/types/tools/ozone/set/defs.js.map +1 -1
- package/dist/lexicon/types/tools/ozone/signature/defs.js +2 -3
- package/dist/lexicon/types/tools/ozone/signature/defs.js.map +1 -1
- package/dist/lexicon/types/tools/ozone/signature/findRelatedAccounts.js +2 -3
- package/dist/lexicon/types/tools/ozone/signature/findRelatedAccounts.js.map +1 -1
- package/dist/lexicon/types/tools/ozone/team/defs.js +3 -3
- package/dist/lexicon/types/tools/ozone/team/defs.js.map +1 -1
- package/dist/lexicon/util.js +2 -3
- package/dist/lexicon/util.js.map +1 -1
- package/dist/logger.d.ts +0 -2
- package/dist/logger.d.ts.map +1 -1
- package/dist/oauth/provider.d.ts +0 -2
- package/dist/oauth/provider.d.ts.map +1 -1
- package/dist/pipethrough.d.ts +1 -3
- package/dist/pipethrough.d.ts.map +1 -1
- package/dist/pipethrough.js +5 -5
- package/dist/pipethrough.js.map +1 -1
- package/dist/read-after-write/util.d.ts +0 -1
- package/dist/read-after-write/util.d.ts.map +1 -1
- package/dist/read-after-write/viewer.d.ts.map +1 -1
- package/dist/repo/prepare.d.ts.map +1 -1
- package/dist/sequencer/db/index.d.ts.map +1 -1
- package/dist/sequencer/db/migrations/001-init.js +2 -3
- package/dist/sequencer/db/migrations/001-init.js.map +1 -1
- package/dist/sequencer/events.d.ts.map +1 -1
- package/dist/sequencer/outbox.d.ts +0 -1
- package/dist/sequencer/outbox.d.ts.map +1 -1
- package/dist/sequencer/sequencer.d.ts.map +1 -1
- package/dist/util/compression.js +1 -1
- package/dist/util/compression.js.map +1 -1
- package/dist/util/debug.d.ts.map +1 -1
- package/dist/well-known.d.ts.map +1 -1
- package/jest.config.js +5 -1
- package/package.json +7 -4
- package/src/auth-routes.ts +1 -0
- package/tests/oauth.test.ts +152 -0
- package/tests/proxied/proxy-catchall.test.ts +3 -3
- package/tests/proxied/proxy-header.test.ts +8 -3
- package/tsconfig.build.tsbuildinfo +1 -0
- package/tsconfig.tests.tsbuildinfo +1 -0
@@ -1,6 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
exports.isRecord = isRecord;
|
4
|
+
exports.validateRecord = validateRecord;
|
4
5
|
const lexicons_1 = require("../../../../lexicons");
|
5
6
|
const util_1 = require("../../../../util");
|
6
7
|
function isRecord(v) {
|
@@ -9,9 +10,7 @@ function isRecord(v) {
|
|
9
10
|
(v.$type === 'app.bsky.actor.profile#main' ||
|
10
11
|
v.$type === 'app.bsky.actor.profile'));
|
11
12
|
}
|
12
|
-
exports.isRecord = isRecord;
|
13
13
|
function validateRecord(v) {
|
14
14
|
return lexicons_1.lexicons.validate('app.bsky.actor.profile#main', v);
|
15
15
|
}
|
16
|
-
exports.validateRecord = validateRecord;
|
17
16
|
//# sourceMappingURL=profile.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"profile.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/actor/profile.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"profile.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/actor/profile.ts"],"names":[],"mappings":";;AA2BA,4BAOC;AAED,wCAEC;AAlCD,mDAA+C;AAC/C,2CAAiD;AAsBjD,SAAgB,QAAQ,CAAC,CAAU;IACjC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,CAAC,KAAK,KAAK,6BAA6B;YACxC,CAAC,CAAC,KAAK,KAAK,wBAAwB,CAAC,CACxC,CAAA;AACH,CAAC;AAED,SAAgB,cAAc,CAAC,CAAU;IACvC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,6BAA6B,EAAE,CAAC,CAAC,CAAA;AAC5D,CAAC"}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
exports.isAspectRatio = isAspectRatio;
|
4
|
+
exports.validateAspectRatio = validateAspectRatio;
|
4
5
|
const lexicons_1 = require("../../../../lexicons");
|
5
6
|
const util_1 = require("../../../../util");
|
6
7
|
function isAspectRatio(v) {
|
@@ -8,9 +9,7 @@ function isAspectRatio(v) {
|
|
8
9
|
(0, util_1.hasProp)(v, '$type') &&
|
9
10
|
v.$type === 'app.bsky.embed.defs#aspectRatio');
|
10
11
|
}
|
11
|
-
exports.isAspectRatio = isAspectRatio;
|
12
12
|
function validateAspectRatio(v) {
|
13
13
|
return lexicons_1.lexicons.validate('app.bsky.embed.defs#aspectRatio', v);
|
14
14
|
}
|
15
|
-
exports.validateAspectRatio = validateAspectRatio;
|
16
15
|
//# sourceMappingURL=defs.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/embed/defs.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/embed/defs.ts"],"names":[],"mappings":";;AAeA,sCAMC;AAED,kDAEC;AArBD,mDAA+C;AAC/C,2CAAiD;AAUjD,SAAgB,aAAa,CAAC,CAAU;IACtC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,iCAAiC,CAC9C,CAAA;AACH,CAAC;AAED,SAAgB,mBAAmB,CAAC,CAAU;IAC5C,OAAO,mBAAQ,CAAC,QAAQ,CAAC,iCAAiC,EAAE,CAAC,CAAC,CAAA;AAChE,CAAC"}
|
@@ -1,6 +1,13 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
exports.isMain = isMain;
|
4
|
+
exports.validateMain = validateMain;
|
5
|
+
exports.isExternal = isExternal;
|
6
|
+
exports.validateExternal = validateExternal;
|
7
|
+
exports.isView = isView;
|
8
|
+
exports.validateView = validateView;
|
9
|
+
exports.isViewExternal = isViewExternal;
|
10
|
+
exports.validateViewExternal = validateViewExternal;
|
4
11
|
const lexicons_1 = require("../../../../lexicons");
|
5
12
|
const util_1 = require("../../../../util");
|
6
13
|
function isMain(v) {
|
@@ -9,39 +16,31 @@ function isMain(v) {
|
|
9
16
|
(v.$type === 'app.bsky.embed.external#main' ||
|
10
17
|
v.$type === 'app.bsky.embed.external'));
|
11
18
|
}
|
12
|
-
exports.isMain = isMain;
|
13
19
|
function validateMain(v) {
|
14
20
|
return lexicons_1.lexicons.validate('app.bsky.embed.external#main', v);
|
15
21
|
}
|
16
|
-
exports.validateMain = validateMain;
|
17
22
|
function isExternal(v) {
|
18
23
|
return ((0, util_1.isObj)(v) &&
|
19
24
|
(0, util_1.hasProp)(v, '$type') &&
|
20
25
|
v.$type === 'app.bsky.embed.external#external');
|
21
26
|
}
|
22
|
-
exports.isExternal = isExternal;
|
23
27
|
function validateExternal(v) {
|
24
28
|
return lexicons_1.lexicons.validate('app.bsky.embed.external#external', v);
|
25
29
|
}
|
26
|
-
exports.validateExternal = validateExternal;
|
27
30
|
function isView(v) {
|
28
31
|
return ((0, util_1.isObj)(v) &&
|
29
32
|
(0, util_1.hasProp)(v, '$type') &&
|
30
33
|
v.$type === 'app.bsky.embed.external#view');
|
31
34
|
}
|
32
|
-
exports.isView = isView;
|
33
35
|
function validateView(v) {
|
34
36
|
return lexicons_1.lexicons.validate('app.bsky.embed.external#view', v);
|
35
37
|
}
|
36
|
-
exports.validateView = validateView;
|
37
38
|
function isViewExternal(v) {
|
38
39
|
return ((0, util_1.isObj)(v) &&
|
39
40
|
(0, util_1.hasProp)(v, '$type') &&
|
40
41
|
v.$type === 'app.bsky.embed.external#viewExternal');
|
41
42
|
}
|
42
|
-
exports.isViewExternal = isViewExternal;
|
43
43
|
function validateViewExternal(v) {
|
44
44
|
return lexicons_1.lexicons.validate('app.bsky.embed.external#viewExternal', v);
|
45
45
|
}
|
46
|
-
exports.validateViewExternal = validateViewExternal;
|
47
46
|
//# sourceMappingURL=external.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"external.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/embed/external.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"external.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/embed/external.ts"],"names":[],"mappings":";;AAcA,wBAOC;AAED,oCAEC;AAUD,gCAMC;AAED,4CAEC;AAOD,wBAMC;AAED,oCAEC;AAUD,wCAMC;AAED,oDAEC;AA9ED,mDAA+C;AAC/C,2CAAiD;AASjD,SAAgB,MAAM,CAAC,CAAU;IAC/B,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,CAAC,KAAK,KAAK,8BAA8B;YACzC,CAAC,CAAC,KAAK,KAAK,yBAAyB,CAAC,CACzC,CAAA;AACH,CAAC;AAED,SAAgB,YAAY,CAAC,CAAU;IACrC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,8BAA8B,EAAE,CAAC,CAAC,CAAA;AAC7D,CAAC;AAUD,SAAgB,UAAU,CAAC,CAAU;IACnC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,kCAAkC,CAC/C,CAAA;AACH,CAAC;AAED,SAAgB,gBAAgB,CAAC,CAAU;IACzC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,kCAAkC,EAAE,CAAC,CAAC,CAAA;AACjE,CAAC;AAOD,SAAgB,MAAM,CAAC,CAAU;IAC/B,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,8BAA8B,CAC3C,CAAA;AACH,CAAC;AAED,SAAgB,YAAY,CAAC,CAAU;IACrC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,8BAA8B,EAAE,CAAC,CAAC,CAAA;AAC7D,CAAC;AAUD,SAAgB,cAAc,CAAC,CAAU;IACvC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,sCAAsC,CACnD,CAAA;AACH,CAAC;AAED,SAAgB,oBAAoB,CAAC,CAAU;IAC7C,OAAO,mBAAQ,CAAC,QAAQ,CAAC,sCAAsC,EAAE,CAAC,CAAC,CAAA;AACrE,CAAC"}
|
@@ -1,6 +1,13 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
exports.isMain = isMain;
|
4
|
+
exports.validateMain = validateMain;
|
5
|
+
exports.isImage = isImage;
|
6
|
+
exports.validateImage = validateImage;
|
7
|
+
exports.isView = isView;
|
8
|
+
exports.validateView = validateView;
|
9
|
+
exports.isViewImage = isViewImage;
|
10
|
+
exports.validateViewImage = validateViewImage;
|
4
11
|
const lexicons_1 = require("../../../../lexicons");
|
5
12
|
const util_1 = require("../../../../util");
|
6
13
|
function isMain(v) {
|
@@ -9,35 +16,27 @@ function isMain(v) {
|
|
9
16
|
(v.$type === 'app.bsky.embed.images#main' ||
|
10
17
|
v.$type === 'app.bsky.embed.images'));
|
11
18
|
}
|
12
|
-
exports.isMain = isMain;
|
13
19
|
function validateMain(v) {
|
14
20
|
return lexicons_1.lexicons.validate('app.bsky.embed.images#main', v);
|
15
21
|
}
|
16
|
-
exports.validateMain = validateMain;
|
17
22
|
function isImage(v) {
|
18
23
|
return ((0, util_1.isObj)(v) && (0, util_1.hasProp)(v, '$type') && v.$type === 'app.bsky.embed.images#image');
|
19
24
|
}
|
20
|
-
exports.isImage = isImage;
|
21
25
|
function validateImage(v) {
|
22
26
|
return lexicons_1.lexicons.validate('app.bsky.embed.images#image', v);
|
23
27
|
}
|
24
|
-
exports.validateImage = validateImage;
|
25
28
|
function isView(v) {
|
26
29
|
return ((0, util_1.isObj)(v) && (0, util_1.hasProp)(v, '$type') && v.$type === 'app.bsky.embed.images#view');
|
27
30
|
}
|
28
|
-
exports.isView = isView;
|
29
31
|
function validateView(v) {
|
30
32
|
return lexicons_1.lexicons.validate('app.bsky.embed.images#view', v);
|
31
33
|
}
|
32
|
-
exports.validateView = validateView;
|
33
34
|
function isViewImage(v) {
|
34
35
|
return ((0, util_1.isObj)(v) &&
|
35
36
|
(0, util_1.hasProp)(v, '$type') &&
|
36
37
|
v.$type === 'app.bsky.embed.images#viewImage');
|
37
38
|
}
|
38
|
-
exports.isViewImage = isViewImage;
|
39
39
|
function validateViewImage(v) {
|
40
40
|
return lexicons_1.lexicons.validate('app.bsky.embed.images#viewImage', v);
|
41
41
|
}
|
42
|
-
exports.validateViewImage = validateViewImage;
|
43
42
|
//# sourceMappingURL=images.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"images.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/embed/images.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"images.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/embed/images.ts"],"names":[],"mappings":";;AAcA,wBAOC;AAED,oCAEC;AAUD,0BAIC;AAED,sCAEC;AAOD,wBAIC;AAED,oCAEC;AAaD,kCAMC;AAED,8CAEC;AA7ED,mDAA+C;AAC/C,2CAAiD;AASjD,SAAgB,MAAM,CAAC,CAAU;IAC/B,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,CAAC,KAAK,KAAK,4BAA4B;YACvC,CAAC,CAAC,KAAK,KAAK,uBAAuB,CAAC,CACvC,CAAA;AACH,CAAC;AAED,SAAgB,YAAY,CAAC,CAAU;IACrC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,4BAA4B,EAAE,CAAC,CAAC,CAAA;AAC3D,CAAC;AAUD,SAAgB,OAAO,CAAC,CAAU;IAChC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC,IAAI,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC,KAAK,KAAK,6BAA6B,CAC7E,CAAA;AACH,CAAC;AAED,SAAgB,aAAa,CAAC,CAAU;IACtC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,6BAA6B,EAAE,CAAC,CAAC,CAAA;AAC5D,CAAC;AAOD,SAAgB,MAAM,CAAC,CAAU;IAC/B,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC,IAAI,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC,KAAK,KAAK,4BAA4B,CAC5E,CAAA;AACH,CAAC;AAED,SAAgB,YAAY,CAAC,CAAU;IACrC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,4BAA4B,EAAE,CAAC,CAAC,CAAA;AAC3D,CAAC;AAaD,SAAgB,WAAW,CAAC,CAAU;IACpC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,iCAAiC,CAC9C,CAAA;AACH,CAAC;AAED,SAAgB,iBAAiB,CAAC,CAAU;IAC1C,OAAO,mBAAQ,CAAC,QAAQ,CAAC,iCAAiC,EAAE,CAAC,CAAC,CAAA;AAChE,CAAC"}
|
@@ -1,6 +1,17 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
exports.isMain = isMain;
|
4
|
+
exports.validateMain = validateMain;
|
5
|
+
exports.isView = isView;
|
6
|
+
exports.validateView = validateView;
|
7
|
+
exports.isViewRecord = isViewRecord;
|
8
|
+
exports.validateViewRecord = validateViewRecord;
|
9
|
+
exports.isViewNotFound = isViewNotFound;
|
10
|
+
exports.validateViewNotFound = validateViewNotFound;
|
11
|
+
exports.isViewBlocked = isViewBlocked;
|
12
|
+
exports.validateViewBlocked = validateViewBlocked;
|
13
|
+
exports.isViewDetached = isViewDetached;
|
14
|
+
exports.validateViewDetached = validateViewDetached;
|
4
15
|
const lexicons_1 = require("../../../../lexicons");
|
5
16
|
const util_1 = require("../../../../util");
|
6
17
|
function isMain(v) {
|
@@ -9,57 +20,45 @@ function isMain(v) {
|
|
9
20
|
(v.$type === 'app.bsky.embed.record#main' ||
|
10
21
|
v.$type === 'app.bsky.embed.record'));
|
11
22
|
}
|
12
|
-
exports.isMain = isMain;
|
13
23
|
function validateMain(v) {
|
14
24
|
return lexicons_1.lexicons.validate('app.bsky.embed.record#main', v);
|
15
25
|
}
|
16
|
-
exports.validateMain = validateMain;
|
17
26
|
function isView(v) {
|
18
27
|
return ((0, util_1.isObj)(v) && (0, util_1.hasProp)(v, '$type') && v.$type === 'app.bsky.embed.record#view');
|
19
28
|
}
|
20
|
-
exports.isView = isView;
|
21
29
|
function validateView(v) {
|
22
30
|
return lexicons_1.lexicons.validate('app.bsky.embed.record#view', v);
|
23
31
|
}
|
24
|
-
exports.validateView = validateView;
|
25
32
|
function isViewRecord(v) {
|
26
33
|
return ((0, util_1.isObj)(v) &&
|
27
34
|
(0, util_1.hasProp)(v, '$type') &&
|
28
35
|
v.$type === 'app.bsky.embed.record#viewRecord');
|
29
36
|
}
|
30
|
-
exports.isViewRecord = isViewRecord;
|
31
37
|
function validateViewRecord(v) {
|
32
38
|
return lexicons_1.lexicons.validate('app.bsky.embed.record#viewRecord', v);
|
33
39
|
}
|
34
|
-
exports.validateViewRecord = validateViewRecord;
|
35
40
|
function isViewNotFound(v) {
|
36
41
|
return ((0, util_1.isObj)(v) &&
|
37
42
|
(0, util_1.hasProp)(v, '$type') &&
|
38
43
|
v.$type === 'app.bsky.embed.record#viewNotFound');
|
39
44
|
}
|
40
|
-
exports.isViewNotFound = isViewNotFound;
|
41
45
|
function validateViewNotFound(v) {
|
42
46
|
return lexicons_1.lexicons.validate('app.bsky.embed.record#viewNotFound', v);
|
43
47
|
}
|
44
|
-
exports.validateViewNotFound = validateViewNotFound;
|
45
48
|
function isViewBlocked(v) {
|
46
49
|
return ((0, util_1.isObj)(v) &&
|
47
50
|
(0, util_1.hasProp)(v, '$type') &&
|
48
51
|
v.$type === 'app.bsky.embed.record#viewBlocked');
|
49
52
|
}
|
50
|
-
exports.isViewBlocked = isViewBlocked;
|
51
53
|
function validateViewBlocked(v) {
|
52
54
|
return lexicons_1.lexicons.validate('app.bsky.embed.record#viewBlocked', v);
|
53
55
|
}
|
54
|
-
exports.validateViewBlocked = validateViewBlocked;
|
55
56
|
function isViewDetached(v) {
|
56
57
|
return ((0, util_1.isObj)(v) &&
|
57
58
|
(0, util_1.hasProp)(v, '$type') &&
|
58
59
|
v.$type === 'app.bsky.embed.record#viewDetached');
|
59
60
|
}
|
60
|
-
exports.isViewDetached = isViewDetached;
|
61
61
|
function validateViewDetached(v) {
|
62
62
|
return lexicons_1.lexicons.validate('app.bsky.embed.record#viewDetached', v);
|
63
63
|
}
|
64
|
-
exports.validateViewDetached = validateViewDetached;
|
65
64
|
//# sourceMappingURL=record.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"record.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/embed/record.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"record.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/embed/record.ts"],"names":[],"mappings":";;AAuBA,wBAOC;AAED,oCAEC;AAgBD,wBAIC;AAED,oCAEC;AAyBD,oCAMC;AAED,gDAEC;AAQD,wCAMC;AAED,oDAEC;AASD,sCAMC;AAED,kDAEC;AAQD,wCAMC;AAED,oDAEC;AAhJD,mDAA+C;AAC/C,2CAAiD;AAkBjD,SAAgB,MAAM,CAAC,CAAU;IAC/B,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,E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,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,mCAAmC,CAChD,CAAA;AACH,CAAC;AAED,SAAgB,mBAAmB,CAAC,CAAU;IAC5C,OAAO,mBAAQ,CAAC,QAAQ,CAAC,mCAAmC,EAAE,CAAC,CAAC,CAAA;AAClE,CAAC;AAQD,SAAgB,cAAc,CAAC,CAAU;IACvC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,oCAAoC,CACjD,CAAA;AACH,CAAC;AAED,SAAgB,oBAAoB,CAAC,CAAU;IAC7C,OAAO,mBAAQ,CAAC,QAAQ,CAAC,oCAAoC,EAAE,CAAC,CAAC,CAAA;AACnE,CAAC"}
|
@@ -1,6 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
exports.isMain = isMain;
|
4
|
+
exports.validateMain = validateMain;
|
5
|
+
exports.isView = isView;
|
6
|
+
exports.validateView = validateView;
|
4
7
|
const lexicons_1 = require("../../../../lexicons");
|
5
8
|
const util_1 = require("../../../../util");
|
6
9
|
function isMain(v) {
|
@@ -9,19 +12,15 @@ function isMain(v) {
|
|
9
12
|
(v.$type === 'app.bsky.embed.recordWithMedia#main' ||
|
10
13
|
v.$type === 'app.bsky.embed.recordWithMedia'));
|
11
14
|
}
|
12
|
-
exports.isMain = isMain;
|
13
15
|
function validateMain(v) {
|
14
16
|
return lexicons_1.lexicons.validate('app.bsky.embed.recordWithMedia#main', v);
|
15
17
|
}
|
16
|
-
exports.validateMain = validateMain;
|
17
18
|
function isView(v) {
|
18
19
|
return ((0, util_1.isObj)(v) &&
|
19
20
|
(0, util_1.hasProp)(v, '$type') &&
|
20
21
|
v.$type === 'app.bsky.embed.recordWithMedia#view');
|
21
22
|
}
|
22
|
-
exports.isView = isView;
|
23
23
|
function validateView(v) {
|
24
24
|
return lexicons_1.lexicons.validate('app.bsky.embed.recordWithMedia#view', v);
|
25
25
|
}
|
26
|
-
exports.validateView = validateView;
|
27
26
|
//# sourceMappingURL=recordWithMedia.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"recordWithMedia.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/embed/recordWithMedia.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"recordWithMedia.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/embed/recordWithMedia.ts"],"names":[],"mappings":";;AAsBA,wBAOC;AAED,oCAEC;AAYD,wBAMC;AAED,oCAEC;AAnDD,mDAA+C;AAC/C,2CAAiD;AAiBjD,SAAgB,MAAM,CAAC,CAAU;IAC/B,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,CAAC,KAAK,KAAK,qCAAqC;YAChD,CAAC,CAAC,KAAK,KAAK,gCAAgC,CAAC,CAChD,CAAA;AACH,CAAC;AAED,SAAgB,YAAY,CAAC,CAAU;IACrC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAA;AACpE,CAAC;AAYD,SAAgB,MAAM,CAAC,CAAU;IAC/B,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,qCAAqC,CAClD,CAAA;AACH,CAAC;AAED,SAAgB,YAAY,CAAC,CAAU;IACrC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAA;AACpE,CAAC"}
|
@@ -1,6 +1,11 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
exports.isMain = isMain;
|
4
|
+
exports.validateMain = validateMain;
|
5
|
+
exports.isCaption = isCaption;
|
6
|
+
exports.validateCaption = validateCaption;
|
7
|
+
exports.isView = isView;
|
8
|
+
exports.validateView = validateView;
|
4
9
|
const lexicons_1 = require("../../../../lexicons");
|
5
10
|
const util_1 = require("../../../../util");
|
6
11
|
function isMain(v) {
|
@@ -9,27 +14,21 @@ function isMain(v) {
|
|
9
14
|
(v.$type === 'app.bsky.embed.video#main' ||
|
10
15
|
v.$type === 'app.bsky.embed.video'));
|
11
16
|
}
|
12
|
-
exports.isMain = isMain;
|
13
17
|
function validateMain(v) {
|
14
18
|
return lexicons_1.lexicons.validate('app.bsky.embed.video#main', v);
|
15
19
|
}
|
16
|
-
exports.validateMain = validateMain;
|
17
20
|
function isCaption(v) {
|
18
21
|
return ((0, util_1.isObj)(v) &&
|
19
22
|
(0, util_1.hasProp)(v, '$type') &&
|
20
23
|
v.$type === 'app.bsky.embed.video#caption');
|
21
24
|
}
|
22
|
-
exports.isCaption = isCaption;
|
23
25
|
function validateCaption(v) {
|
24
26
|
return lexicons_1.lexicons.validate('app.bsky.embed.video#caption', v);
|
25
27
|
}
|
26
|
-
exports.validateCaption = validateCaption;
|
27
28
|
function isView(v) {
|
28
29
|
return ((0, util_1.isObj)(v) && (0, util_1.hasProp)(v, '$type') && v.$type === 'app.bsky.embed.video#view');
|
29
30
|
}
|
30
|
-
exports.isView = isView;
|
31
31
|
function validateView(v) {
|
32
32
|
return lexicons_1.lexicons.validate('app.bsky.embed.video#view', v);
|
33
33
|
}
|
34
|
-
exports.validateView = validateView;
|
35
34
|
//# sourceMappingURL=video.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"video.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/embed/video.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"video.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/embed/video.ts"],"names":[],"mappings":";;AAkBA,wBAOC;AAED,oCAEC;AAQD,8BAMC;AAED,0CAEC;AAWD,wBAIC;AAED,oCAEC;AA9DD,mDAA+C;AAC/C,2CAAiD;AAajD,SAAgB,MAAM,CAAC,CAAU;IAC/B,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,CAAC,KAAK,KAAK,2BAA2B;YACtC,CAAC,CAAC,KAAK,KAAK,sBAAsB,CAAC,CACtC,CAAA;AACH,CAAC;AAED,SAAgB,YAAY,CAAC,CAAU;IACrC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,2BAA2B,EAAE,CAAC,CAAC,CAAA;AAC1D,CAAC;AAQD,SAAgB,SAAS,CAAC,CAAU;IAClC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,8BAA8B,CAC3C,CAAA;AACH,CAAC;AAED,SAAgB,eAAe,CAAC,CAAU;IACxC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,8BAA8B,EAAE,CAAC,CAAC,CAAA;AAC7D,CAAC;AAWD,SAAgB,MAAM,CAAC,CAAU;IAC/B,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC,IAAI,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC,KAAK,KAAK,2BAA2B,CAC3E,CAAA;AACH,CAAC;AAED,SAAgB,YAAY,CAAC,CAAU;IACrC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,2BAA2B,EAAE,CAAC,CAAC,CAAA;AAC1D,CAAC"}
|
@@ -1,174 +1,174 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.INTERACTIONSHARE = exports.INTERACTIONQUOTE = exports.INTERACTIONREPLY = exports.INTERACTIONREPOST = exports.INTERACTIONLIKE = exports.INTERACTIONSEEN = exports.CLICKTHROUGHEMBED = exports.CLICKTHROUGHREPOSTER = exports.CLICKTHROUGHAUTHOR = exports.CLICKTHROUGHITEM = exports.REQUESTMORE = exports.REQUESTLESS =
|
3
|
+
exports.INTERACTIONSHARE = exports.INTERACTIONQUOTE = exports.INTERACTIONREPLY = exports.INTERACTIONREPOST = exports.INTERACTIONLIKE = exports.INTERACTIONSEEN = exports.CLICKTHROUGHEMBED = exports.CLICKTHROUGHREPOSTER = exports.CLICKTHROUGHAUTHOR = exports.CLICKTHROUGHITEM = exports.REQUESTMORE = exports.REQUESTLESS = void 0;
|
4
|
+
exports.isPostView = isPostView;
|
5
|
+
exports.validatePostView = validatePostView;
|
6
|
+
exports.isViewerState = isViewerState;
|
7
|
+
exports.validateViewerState = validateViewerState;
|
8
|
+
exports.isFeedViewPost = isFeedViewPost;
|
9
|
+
exports.validateFeedViewPost = validateFeedViewPost;
|
10
|
+
exports.isReplyRef = isReplyRef;
|
11
|
+
exports.validateReplyRef = validateReplyRef;
|
12
|
+
exports.isReasonRepost = isReasonRepost;
|
13
|
+
exports.validateReasonRepost = validateReasonRepost;
|
14
|
+
exports.isReasonPin = isReasonPin;
|
15
|
+
exports.validateReasonPin = validateReasonPin;
|
16
|
+
exports.isThreadViewPost = isThreadViewPost;
|
17
|
+
exports.validateThreadViewPost = validateThreadViewPost;
|
18
|
+
exports.isNotFoundPost = isNotFoundPost;
|
19
|
+
exports.validateNotFoundPost = validateNotFoundPost;
|
20
|
+
exports.isBlockedPost = isBlockedPost;
|
21
|
+
exports.validateBlockedPost = validateBlockedPost;
|
22
|
+
exports.isBlockedAuthor = isBlockedAuthor;
|
23
|
+
exports.validateBlockedAuthor = validateBlockedAuthor;
|
24
|
+
exports.isGeneratorView = isGeneratorView;
|
25
|
+
exports.validateGeneratorView = validateGeneratorView;
|
26
|
+
exports.isGeneratorViewerState = isGeneratorViewerState;
|
27
|
+
exports.validateGeneratorViewerState = validateGeneratorViewerState;
|
28
|
+
exports.isSkeletonFeedPost = isSkeletonFeedPost;
|
29
|
+
exports.validateSkeletonFeedPost = validateSkeletonFeedPost;
|
30
|
+
exports.isSkeletonReasonRepost = isSkeletonReasonRepost;
|
31
|
+
exports.validateSkeletonReasonRepost = validateSkeletonReasonRepost;
|
32
|
+
exports.isSkeletonReasonPin = isSkeletonReasonPin;
|
33
|
+
exports.validateSkeletonReasonPin = validateSkeletonReasonPin;
|
34
|
+
exports.isThreadgateView = isThreadgateView;
|
35
|
+
exports.validateThreadgateView = validateThreadgateView;
|
36
|
+
exports.isInteraction = isInteraction;
|
37
|
+
exports.validateInteraction = validateInteraction;
|
4
38
|
const lexicons_1 = require("../../../../lexicons");
|
5
39
|
const util_1 = require("../../../../util");
|
6
40
|
function isPostView(v) {
|
7
41
|
return ((0, util_1.isObj)(v) && (0, util_1.hasProp)(v, '$type') && v.$type === 'app.bsky.feed.defs#postView');
|
8
42
|
}
|
9
|
-
exports.isPostView = isPostView;
|
10
43
|
function validatePostView(v) {
|
11
44
|
return lexicons_1.lexicons.validate('app.bsky.feed.defs#postView', v);
|
12
45
|
}
|
13
|
-
exports.validatePostView = validatePostView;
|
14
46
|
function isViewerState(v) {
|
15
47
|
return ((0, util_1.isObj)(v) &&
|
16
48
|
(0, util_1.hasProp)(v, '$type') &&
|
17
49
|
v.$type === 'app.bsky.feed.defs#viewerState');
|
18
50
|
}
|
19
|
-
exports.isViewerState = isViewerState;
|
20
51
|
function validateViewerState(v) {
|
21
52
|
return lexicons_1.lexicons.validate('app.bsky.feed.defs#viewerState', v);
|
22
53
|
}
|
23
|
-
exports.validateViewerState = validateViewerState;
|
24
54
|
function isFeedViewPost(v) {
|
25
55
|
return ((0, util_1.isObj)(v) &&
|
26
56
|
(0, util_1.hasProp)(v, '$type') &&
|
27
57
|
v.$type === 'app.bsky.feed.defs#feedViewPost');
|
28
58
|
}
|
29
|
-
exports.isFeedViewPost = isFeedViewPost;
|
30
59
|
function validateFeedViewPost(v) {
|
31
60
|
return lexicons_1.lexicons.validate('app.bsky.feed.defs#feedViewPost', v);
|
32
61
|
}
|
33
|
-
exports.validateFeedViewPost = validateFeedViewPost;
|
34
62
|
function isReplyRef(v) {
|
35
63
|
return ((0, util_1.isObj)(v) && (0, util_1.hasProp)(v, '$type') && v.$type === 'app.bsky.feed.defs#replyRef');
|
36
64
|
}
|
37
|
-
exports.isReplyRef = isReplyRef;
|
38
65
|
function validateReplyRef(v) {
|
39
66
|
return lexicons_1.lexicons.validate('app.bsky.feed.defs#replyRef', v);
|
40
67
|
}
|
41
|
-
exports.validateReplyRef = validateReplyRef;
|
42
68
|
function isReasonRepost(v) {
|
43
69
|
return ((0, util_1.isObj)(v) &&
|
44
70
|
(0, util_1.hasProp)(v, '$type') &&
|
45
71
|
v.$type === 'app.bsky.feed.defs#reasonRepost');
|
46
72
|
}
|
47
|
-
exports.isReasonRepost = isReasonRepost;
|
48
73
|
function validateReasonRepost(v) {
|
49
74
|
return lexicons_1.lexicons.validate('app.bsky.feed.defs#reasonRepost', v);
|
50
75
|
}
|
51
|
-
exports.validateReasonRepost = validateReasonRepost;
|
52
76
|
function isReasonPin(v) {
|
53
77
|
return ((0, util_1.isObj)(v) &&
|
54
78
|
(0, util_1.hasProp)(v, '$type') &&
|
55
79
|
v.$type === 'app.bsky.feed.defs#reasonPin');
|
56
80
|
}
|
57
|
-
exports.isReasonPin = isReasonPin;
|
58
81
|
function validateReasonPin(v) {
|
59
82
|
return lexicons_1.lexicons.validate('app.bsky.feed.defs#reasonPin', v);
|
60
83
|
}
|
61
|
-
exports.validateReasonPin = validateReasonPin;
|
62
84
|
function isThreadViewPost(v) {
|
63
85
|
return ((0, util_1.isObj)(v) &&
|
64
86
|
(0, util_1.hasProp)(v, '$type') &&
|
65
87
|
v.$type === 'app.bsky.feed.defs#threadViewPost');
|
66
88
|
}
|
67
|
-
exports.isThreadViewPost = isThreadViewPost;
|
68
89
|
function validateThreadViewPost(v) {
|
69
90
|
return lexicons_1.lexicons.validate('app.bsky.feed.defs#threadViewPost', v);
|
70
91
|
}
|
71
|
-
exports.validateThreadViewPost = validateThreadViewPost;
|
72
92
|
function isNotFoundPost(v) {
|
73
93
|
return ((0, util_1.isObj)(v) &&
|
74
94
|
(0, util_1.hasProp)(v, '$type') &&
|
75
95
|
v.$type === 'app.bsky.feed.defs#notFoundPost');
|
76
96
|
}
|
77
|
-
exports.isNotFoundPost = isNotFoundPost;
|
78
97
|
function validateNotFoundPost(v) {
|
79
98
|
return lexicons_1.lexicons.validate('app.bsky.feed.defs#notFoundPost', v);
|
80
99
|
}
|
81
|
-
exports.validateNotFoundPost = validateNotFoundPost;
|
82
100
|
function isBlockedPost(v) {
|
83
101
|
return ((0, util_1.isObj)(v) &&
|
84
102
|
(0, util_1.hasProp)(v, '$type') &&
|
85
103
|
v.$type === 'app.bsky.feed.defs#blockedPost');
|
86
104
|
}
|
87
|
-
exports.isBlockedPost = isBlockedPost;
|
88
105
|
function validateBlockedPost(v) {
|
89
106
|
return lexicons_1.lexicons.validate('app.bsky.feed.defs#blockedPost', v);
|
90
107
|
}
|
91
|
-
exports.validateBlockedPost = validateBlockedPost;
|
92
108
|
function isBlockedAuthor(v) {
|
93
109
|
return ((0, util_1.isObj)(v) &&
|
94
110
|
(0, util_1.hasProp)(v, '$type') &&
|
95
111
|
v.$type === 'app.bsky.feed.defs#blockedAuthor');
|
96
112
|
}
|
97
|
-
exports.isBlockedAuthor = isBlockedAuthor;
|
98
113
|
function validateBlockedAuthor(v) {
|
99
114
|
return lexicons_1.lexicons.validate('app.bsky.feed.defs#blockedAuthor', v);
|
100
115
|
}
|
101
|
-
exports.validateBlockedAuthor = validateBlockedAuthor;
|
102
116
|
function isGeneratorView(v) {
|
103
117
|
return ((0, util_1.isObj)(v) &&
|
104
118
|
(0, util_1.hasProp)(v, '$type') &&
|
105
119
|
v.$type === 'app.bsky.feed.defs#generatorView');
|
106
120
|
}
|
107
|
-
exports.isGeneratorView = isGeneratorView;
|
108
121
|
function validateGeneratorView(v) {
|
109
122
|
return lexicons_1.lexicons.validate('app.bsky.feed.defs#generatorView', v);
|
110
123
|
}
|
111
|
-
exports.validateGeneratorView = validateGeneratorView;
|
112
124
|
function isGeneratorViewerState(v) {
|
113
125
|
return ((0, util_1.isObj)(v) &&
|
114
126
|
(0, util_1.hasProp)(v, '$type') &&
|
115
127
|
v.$type === 'app.bsky.feed.defs#generatorViewerState');
|
116
128
|
}
|
117
|
-
exports.isGeneratorViewerState = isGeneratorViewerState;
|
118
129
|
function validateGeneratorViewerState(v) {
|
119
130
|
return lexicons_1.lexicons.validate('app.bsky.feed.defs#generatorViewerState', v);
|
120
131
|
}
|
121
|
-
exports.validateGeneratorViewerState = validateGeneratorViewerState;
|
122
132
|
function isSkeletonFeedPost(v) {
|
123
133
|
return ((0, util_1.isObj)(v) &&
|
124
134
|
(0, util_1.hasProp)(v, '$type') &&
|
125
135
|
v.$type === 'app.bsky.feed.defs#skeletonFeedPost');
|
126
136
|
}
|
127
|
-
exports.isSkeletonFeedPost = isSkeletonFeedPost;
|
128
137
|
function validateSkeletonFeedPost(v) {
|
129
138
|
return lexicons_1.lexicons.validate('app.bsky.feed.defs#skeletonFeedPost', v);
|
130
139
|
}
|
131
|
-
exports.validateSkeletonFeedPost = validateSkeletonFeedPost;
|
132
140
|
function isSkeletonReasonRepost(v) {
|
133
141
|
return ((0, util_1.isObj)(v) &&
|
134
142
|
(0, util_1.hasProp)(v, '$type') &&
|
135
143
|
v.$type === 'app.bsky.feed.defs#skeletonReasonRepost');
|
136
144
|
}
|
137
|
-
exports.isSkeletonReasonRepost = isSkeletonReasonRepost;
|
138
145
|
function validateSkeletonReasonRepost(v) {
|
139
146
|
return lexicons_1.lexicons.validate('app.bsky.feed.defs#skeletonReasonRepost', v);
|
140
147
|
}
|
141
|
-
exports.validateSkeletonReasonRepost = validateSkeletonReasonRepost;
|
142
148
|
function isSkeletonReasonPin(v) {
|
143
149
|
return ((0, util_1.isObj)(v) &&
|
144
150
|
(0, util_1.hasProp)(v, '$type') &&
|
145
151
|
v.$type === 'app.bsky.feed.defs#skeletonReasonPin');
|
146
152
|
}
|
147
|
-
exports.isSkeletonReasonPin = isSkeletonReasonPin;
|
148
153
|
function validateSkeletonReasonPin(v) {
|
149
154
|
return lexicons_1.lexicons.validate('app.bsky.feed.defs#skeletonReasonPin', v);
|
150
155
|
}
|
151
|
-
exports.validateSkeletonReasonPin = validateSkeletonReasonPin;
|
152
156
|
function isThreadgateView(v) {
|
153
157
|
return ((0, util_1.isObj)(v) &&
|
154
158
|
(0, util_1.hasProp)(v, '$type') &&
|
155
159
|
v.$type === 'app.bsky.feed.defs#threadgateView');
|
156
160
|
}
|
157
|
-
exports.isThreadgateView = isThreadgateView;
|
158
161
|
function validateThreadgateView(v) {
|
159
162
|
return lexicons_1.lexicons.validate('app.bsky.feed.defs#threadgateView', v);
|
160
163
|
}
|
161
|
-
exports.validateThreadgateView = validateThreadgateView;
|
162
164
|
function isInteraction(v) {
|
163
165
|
return ((0, util_1.isObj)(v) &&
|
164
166
|
(0, util_1.hasProp)(v, '$type') &&
|
165
167
|
v.$type === 'app.bsky.feed.defs#interaction');
|
166
168
|
}
|
167
|
-
exports.isInteraction = isInteraction;
|
168
169
|
function validateInteraction(v) {
|
169
170
|
return lexicons_1.lexicons.validate('app.bsky.feed.defs#interaction', v);
|
170
171
|
}
|
171
|
-
exports.validateInteraction = validateInteraction;
|
172
172
|
/** Request that less content like the given feed item be shown in the feed */
|
173
173
|
exports.REQUESTLESS = 'app.bsky.feed.defs#requestLess';
|
174
174
|
/** Request that more content like the given feed item be shown in the feed */
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/feed/defs.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/feed/defs.ts"],"names":[],"mappings":";;;A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sCAAsC,CAAA;AACvE,oCAAoC;AACvB,QAAA,gBAAgB,GAAG,qCAAqC,CAAA;AACrE,gCAAgC;AACnB,QAAA,gBAAgB,GAAG,qCAAqC,CAAA;AACrE,gCAAgC;AACnB,QAAA,gBAAgB,GAAG,qCAAqC,CAAA"}
|
@@ -1,6 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
exports.isFeed = isFeed;
|
4
|
+
exports.validateFeed = validateFeed;
|
5
|
+
exports.isLinks = isLinks;
|
6
|
+
exports.validateLinks = validateLinks;
|
4
7
|
const lexicons_1 = require("../../../../lexicons");
|
5
8
|
const util_1 = require("../../../../util");
|
6
9
|
function isFeed(v) {
|
@@ -8,19 +11,15 @@ function isFeed(v) {
|
|
8
11
|
(0, util_1.hasProp)(v, '$type') &&
|
9
12
|
v.$type === 'app.bsky.feed.describeFeedGenerator#feed');
|
10
13
|
}
|
11
|
-
exports.isFeed = isFeed;
|
12
14
|
function validateFeed(v) {
|
13
15
|
return lexicons_1.lexicons.validate('app.bsky.feed.describeFeedGenerator#feed', v);
|
14
16
|
}
|
15
|
-
exports.validateFeed = validateFeed;
|
16
17
|
function isLinks(v) {
|
17
18
|
return ((0, util_1.isObj)(v) &&
|
18
19
|
(0, util_1.hasProp)(v, '$type') &&
|
19
20
|
v.$type === 'app.bsky.feed.describeFeedGenerator#links');
|
20
21
|
}
|
21
|
-
exports.isLinks = isLinks;
|
22
22
|
function validateLinks(v) {
|
23
23
|
return lexicons_1.lexicons.validate('app.bsky.feed.describeFeedGenerator#links', v);
|
24
24
|
}
|
25
|
-
exports.validateLinks = validateLinks;
|
26
25
|
//# sourceMappingURL=describeFeedGenerator.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"describeFeedGenerator.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/feed/describeFeedGenerator.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"describeFeedGenerator.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/feed/describeFeedGenerator.ts"],"names":[],"mappings":";;AAmDA,wBAMC;AAED,oCAEC;AAQD,0BAMC;AAED,sCAEC;AA1ED,mDAA+C;AAC/C,2CAAiD;AA6CjD,SAAgB,MAAM,CAAC,CAAU;IAC/B,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,0CAA0C,CACvD,CAAA;AACH,CAAC;AAED,SAAgB,YAAY,CAAC,CAAU;IACrC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAA;AACzE,CAAC;AAQD,SAAgB,OAAO,CAAC,CAAU;IAChC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,2CAA2C,CACxD,CAAA;AACH,CAAC;AAED,SAAgB,aAAa,CAAC,CAAU;IACtC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,2CAA2C,EAAE,CAAC,CAAC,CAAA;AAC1E,CAAC"}
|