@atproto/pds 0.4.65 → 0.4.67
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +15 -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.d.ts.map +1 -1
- package/dist/api/com/atproto/identity/updateHandle.js +16 -6
- 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/events.js +4 -1
- package/dist/sequencer/events.js.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/api/com/atproto/identity/updateHandle.ts +22 -4
- package/src/auth-routes.ts +1 -0
- package/src/sequencer/events.ts +4 -1
- 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/tests/sequencer.test.ts +46 -2
- 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.isRepo = isRepo;
|
4
|
+
exports.validateRepo = validateRepo;
|
4
5
|
const lexicons_1 = require("../../../../lexicons");
|
5
6
|
const util_1 = require("../../../../util");
|
6
7
|
function isRepo(v) {
|
@@ -8,9 +9,7 @@ function isRepo(v) {
|
|
8
9
|
(0, util_1.hasProp)(v, '$type') &&
|
9
10
|
v.$type === 'com.atproto.sync.listRepos#repo');
|
10
11
|
}
|
11
|
-
exports.isRepo = isRepo;
|
12
12
|
function validateRepo(v) {
|
13
13
|
return lexicons_1.lexicons.validate('com.atproto.sync.listRepos#repo', v);
|
14
14
|
}
|
15
|
-
exports.validateRepo = validateRepo;
|
16
15
|
//# sourceMappingURL=listRepos.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"listRepos.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/com/atproto/sync/listRepos.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"listRepos.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/com/atproto/sync/listRepos.ts"],"names":[],"mappings":";;AA2DA,wBAMC;AAED,oCAEC;AAhED,mDAA+C;AAC/C,2CAAiD;AAqDjD,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,iCAAiC,CAC9C,CAAA;AACH,CAAC;AAED,SAAgB,YAAY,CAAC,CAAU;IACrC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,iCAAiC,EAAE,CAAC,CAAC,CAAA;AAChE,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"subscribeRepos.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/com/atproto/sync/subscribeRepos.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"subscribeRepos.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/com/atproto/sync/subscribeRepos.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAG5D,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACtC,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,MAAM,CAAA;AAEtC,MAAM,WAAW,WAAW;IAC1B,wDAAwD;IACxD,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,MAAM,YAAY,GACpB,MAAM,GACN,QAAQ,GACR,OAAO,GACP,MAAM,GACN,OAAO,GACP,SAAS,GACT,IAAI,GACJ;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,CAAA;AAC3C,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,cAAc,GAAG,iBAAiB,CAAC,CAAA;AACzE,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,YAAY,CAAA;AACvD,MAAM,MAAM,aAAa,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI;IAC1D,IAAI,EAAE,EAAE,CAAA;IACR,MAAM,EAAE,WAAW,CAAA;IACnB,GAAG,EAAE,eAAe,CAAA;IACpB,MAAM,EAAE,WAAW,CAAA;CACpB,CAAA;AACD,MAAM,MAAM,OAAO,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI,CACpD,GAAG,EAAE,aAAa,CAAC,EAAE,CAAC,KACnB,aAAa,CAAC,aAAa,CAAC,CAAA;AAEjC,6JAA6J;AAC7J,MAAM,WAAW,MAAM;IACrB,kDAAkD;IAClD,GAAG,EAAE,MAAM,CAAA;IACX,2BA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AC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,SAAS,CAMtD;AAED,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAE9D;AAED,MAAM,WAAW,IAAI;IACnB,IAAI,EAAE,gBAAgB,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;IACtC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,MAAM,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,IAAI,CAM5C;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAEzD;AAED,0DAA0D;AAC1D,MAAM,WAAW,MAAM;IACrB,MAAM,EAAE,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;IACtD,IAAI,EAAE,MAAM,CAAA;IACZ,wEAAwE;IACxE,GAAG,EAAE,GAAG,GAAG,IAAI,CAAA;IACf,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,QAAQ,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,MAAM,CAMhD;AAED,wBAAgB,cAAc,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAE3D"}
|
@@ -1,6 +1,21 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
exports.isCommit = isCommit;
|
4
|
+
exports.validateCommit = validateCommit;
|
5
|
+
exports.isIdentity = isIdentity;
|
6
|
+
exports.validateIdentity = validateIdentity;
|
7
|
+
exports.isAccount = isAccount;
|
8
|
+
exports.validateAccount = validateAccount;
|
9
|
+
exports.isHandle = isHandle;
|
10
|
+
exports.validateHandle = validateHandle;
|
11
|
+
exports.isMigrate = isMigrate;
|
12
|
+
exports.validateMigrate = validateMigrate;
|
13
|
+
exports.isTombstone = isTombstone;
|
14
|
+
exports.validateTombstone = validateTombstone;
|
15
|
+
exports.isInfo = isInfo;
|
16
|
+
exports.validateInfo = validateInfo;
|
17
|
+
exports.isRepoOp = isRepoOp;
|
18
|
+
exports.validateRepoOp = validateRepoOp;
|
4
19
|
const lexicons_1 = require("../../../../lexicons");
|
5
20
|
const util_1 = require("../../../../util");
|
6
21
|
function isCommit(v) {
|
@@ -8,79 +23,63 @@ function isCommit(v) {
|
|
8
23
|
(0, util_1.hasProp)(v, '$type') &&
|
9
24
|
v.$type === 'com.atproto.sync.subscribeRepos#commit');
|
10
25
|
}
|
11
|
-
exports.isCommit = isCommit;
|
12
26
|
function validateCommit(v) {
|
13
27
|
return lexicons_1.lexicons.validate('com.atproto.sync.subscribeRepos#commit', v);
|
14
28
|
}
|
15
|
-
exports.validateCommit = validateCommit;
|
16
29
|
function isIdentity(v) {
|
17
30
|
return ((0, util_1.isObj)(v) &&
|
18
31
|
(0, util_1.hasProp)(v, '$type') &&
|
19
32
|
v.$type === 'com.atproto.sync.subscribeRepos#identity');
|
20
33
|
}
|
21
|
-
exports.isIdentity = isIdentity;
|
22
34
|
function validateIdentity(v) {
|
23
35
|
return lexicons_1.lexicons.validate('com.atproto.sync.subscribeRepos#identity', v);
|
24
36
|
}
|
25
|
-
exports.validateIdentity = validateIdentity;
|
26
37
|
function isAccount(v) {
|
27
38
|
return ((0, util_1.isObj)(v) &&
|
28
39
|
(0, util_1.hasProp)(v, '$type') &&
|
29
40
|
v.$type === 'com.atproto.sync.subscribeRepos#account');
|
30
41
|
}
|
31
|
-
exports.isAccount = isAccount;
|
32
42
|
function validateAccount(v) {
|
33
43
|
return lexicons_1.lexicons.validate('com.atproto.sync.subscribeRepos#account', v);
|
34
44
|
}
|
35
|
-
exports.validateAccount = validateAccount;
|
36
45
|
function isHandle(v) {
|
37
46
|
return ((0, util_1.isObj)(v) &&
|
38
47
|
(0, util_1.hasProp)(v, '$type') &&
|
39
48
|
v.$type === 'com.atproto.sync.subscribeRepos#handle');
|
40
49
|
}
|
41
|
-
exports.isHandle = isHandle;
|
42
50
|
function validateHandle(v) {
|
43
51
|
return lexicons_1.lexicons.validate('com.atproto.sync.subscribeRepos#handle', v);
|
44
52
|
}
|
45
|
-
exports.validateHandle = validateHandle;
|
46
53
|
function isMigrate(v) {
|
47
54
|
return ((0, util_1.isObj)(v) &&
|
48
55
|
(0, util_1.hasProp)(v, '$type') &&
|
49
56
|
v.$type === 'com.atproto.sync.subscribeRepos#migrate');
|
50
57
|
}
|
51
|
-
exports.isMigrate = isMigrate;
|
52
58
|
function validateMigrate(v) {
|
53
59
|
return lexicons_1.lexicons.validate('com.atproto.sync.subscribeRepos#migrate', v);
|
54
60
|
}
|
55
|
-
exports.validateMigrate = validateMigrate;
|
56
61
|
function isTombstone(v) {
|
57
62
|
return ((0, util_1.isObj)(v) &&
|
58
63
|
(0, util_1.hasProp)(v, '$type') &&
|
59
64
|
v.$type === 'com.atproto.sync.subscribeRepos#tombstone');
|
60
65
|
}
|
61
|
-
exports.isTombstone = isTombstone;
|
62
66
|
function validateTombstone(v) {
|
63
67
|
return lexicons_1.lexicons.validate('com.atproto.sync.subscribeRepos#tombstone', v);
|
64
68
|
}
|
65
|
-
exports.validateTombstone = validateTombstone;
|
66
69
|
function isInfo(v) {
|
67
70
|
return ((0, util_1.isObj)(v) &&
|
68
71
|
(0, util_1.hasProp)(v, '$type') &&
|
69
72
|
v.$type === 'com.atproto.sync.subscribeRepos#info');
|
70
73
|
}
|
71
|
-
exports.isInfo = isInfo;
|
72
74
|
function validateInfo(v) {
|
73
75
|
return lexicons_1.lexicons.validate('com.atproto.sync.subscribeRepos#info', v);
|
74
76
|
}
|
75
|
-
exports.validateInfo = validateInfo;
|
76
77
|
function isRepoOp(v) {
|
77
78
|
return ((0, util_1.isObj)(v) &&
|
78
79
|
(0, util_1.hasProp)(v, '$type') &&
|
79
80
|
v.$type === 'com.atproto.sync.subscribeRepos#repoOp');
|
80
81
|
}
|
81
|
-
exports.isRepoOp = isRepoOp;
|
82
82
|
function validateRepoOp(v) {
|
83
83
|
return lexicons_1.lexicons.validate('com.atproto.sync.subscribeRepos#repoOp', v);
|
84
84
|
}
|
85
|
-
exports.validateRepoOp = validateRepoOp;
|
86
85
|
//# sourceMappingURL=subscribeRepos.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"subscribeRepos.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/com/atproto/sync/subscribeRepos.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"subscribeRepos.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/com/atproto/sync/subscribeRepos.ts"],"names":[],"mappings":";;AA+DA,4BAMC;AAED,wCAEC;AAYD,gCAMC;AAED,4CAEC;AAcD,8BAMC;AAED,0CAEC;AAWD,4BAMC;AAED,wCAEC;AAWD,8BAMC;AAED,0CAEC;AAUD,kCAMC;AAED,8CAEC;AAQD,wBAMC;AAED,oCAEC;AAWD,4BAMC;AAED,wCAEC;AAxND,mDAA+C;AAC/C,2CAAiD;AA0DjD,SAAgB,QAAQ,CAAC,CAAU;IACjC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,wCAAwC,CACrD,CAAA;AACH,CAAC;AAED,SAAgB,cAAc,CAAC,CAAU;IACvC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAA;AACvE,CAAC;AAYD,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,0CAA0C,CACvD,CAAA;AACH,CAAC;AAED,SAAgB,gBAAgB,CAAC,CAAU;IACzC,OAAO,mBAAQ,CAAC,QAAQ,C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,CAAC,CAAA;AAC1E,CAAC;AAQD,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,sCAAsC,CACnD,CAAA;AACH,CAAC;AAED,SAAgB,YAAY,CAAC,CAAU;IACrC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,sCAAsC,EAAE,CAAC,CAAC,CAAA;AACrE,CAAC;AAWD,SAAgB,QAAQ,CAAC,CAAU;IACjC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,wCAAwC,CACrD,CAAA;AACH,CAAC;AAED,SAAgB,cAAc,CAAC,CAAU;IACvC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAA;AACvE,CAAC"}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
exports.isTemplateView = isTemplateView;
|
4
|
+
exports.validateTemplateView = validateTemplateView;
|
4
5
|
const lexicons_1 = require("../../../../lexicons");
|
5
6
|
const util_1 = require("../../../../util");
|
6
7
|
function isTemplateView(v) {
|
@@ -8,9 +9,7 @@ function isTemplateView(v) {
|
|
8
9
|
(0, util_1.hasProp)(v, '$type') &&
|
9
10
|
v.$type === 'tools.ozone.communication.defs#templateView');
|
10
11
|
}
|
11
|
-
exports.isTemplateView = isTemplateView;
|
12
12
|
function validateTemplateView(v) {
|
13
13
|
return lexicons_1.lexicons.validate('tools.ozone.communication.defs#templateView', v);
|
14
14
|
}
|
15
|
-
exports.validateTemplateView = validateTemplateView;
|
16
15
|
//# sourceMappingURL=defs.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/communication/defs.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/communication/defs.ts"],"names":[],"mappings":";;AA0BA,wCAMC;AAED,oDAEC;AAhCD,mDAA+C;AAC/C,2CAAiD;AAqBjD,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,6CAA6C,CAC1D,CAAA;AACH,CAAC;AAED,SAAgB,oBAAoB,CAAC,CAAU;IAC7C,OAAO,mBAAQ,CAAC,QAAQ,CAAC,6CAA6C,EAAE,CAAC,CAAC,CAAA;AAC5E,CAAC"}
|
@@ -1,7 +1,64 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
4
|
-
exports.
|
3
|
+
exports.REVIEWNONE = exports.REVIEWCLOSED = exports.REVIEWESCALATED = exports.REVIEWOPEN = void 0;
|
4
|
+
exports.isModEventView = isModEventView;
|
5
|
+
exports.validateModEventView = validateModEventView;
|
6
|
+
exports.isModEventViewDetail = isModEventViewDetail;
|
7
|
+
exports.validateModEventViewDetail = validateModEventViewDetail;
|
8
|
+
exports.isSubjectStatusView = isSubjectStatusView;
|
9
|
+
exports.validateSubjectStatusView = validateSubjectStatusView;
|
10
|
+
exports.isModEventTakedown = isModEventTakedown;
|
11
|
+
exports.validateModEventTakedown = validateModEventTakedown;
|
12
|
+
exports.isModEventReverseTakedown = isModEventReverseTakedown;
|
13
|
+
exports.validateModEventReverseTakedown = validateModEventReverseTakedown;
|
14
|
+
exports.isModEventResolveAppeal = isModEventResolveAppeal;
|
15
|
+
exports.validateModEventResolveAppeal = validateModEventResolveAppeal;
|
16
|
+
exports.isModEventComment = isModEventComment;
|
17
|
+
exports.validateModEventComment = validateModEventComment;
|
18
|
+
exports.isModEventReport = isModEventReport;
|
19
|
+
exports.validateModEventReport = validateModEventReport;
|
20
|
+
exports.isModEventLabel = isModEventLabel;
|
21
|
+
exports.validateModEventLabel = validateModEventLabel;
|
22
|
+
exports.isModEventAcknowledge = isModEventAcknowledge;
|
23
|
+
exports.validateModEventAcknowledge = validateModEventAcknowledge;
|
24
|
+
exports.isModEventEscalate = isModEventEscalate;
|
25
|
+
exports.validateModEventEscalate = validateModEventEscalate;
|
26
|
+
exports.isModEventMute = isModEventMute;
|
27
|
+
exports.validateModEventMute = validateModEventMute;
|
28
|
+
exports.isModEventUnmute = isModEventUnmute;
|
29
|
+
exports.validateModEventUnmute = validateModEventUnmute;
|
30
|
+
exports.isModEventMuteReporter = isModEventMuteReporter;
|
31
|
+
exports.validateModEventMuteReporter = validateModEventMuteReporter;
|
32
|
+
exports.isModEventUnmuteReporter = isModEventUnmuteReporter;
|
33
|
+
exports.validateModEventUnmuteReporter = validateModEventUnmuteReporter;
|
34
|
+
exports.isModEventEmail = isModEventEmail;
|
35
|
+
exports.validateModEventEmail = validateModEventEmail;
|
36
|
+
exports.isModEventDivert = isModEventDivert;
|
37
|
+
exports.validateModEventDivert = validateModEventDivert;
|
38
|
+
exports.isModEventTag = isModEventTag;
|
39
|
+
exports.validateModEventTag = validateModEventTag;
|
40
|
+
exports.isRepoView = isRepoView;
|
41
|
+
exports.validateRepoView = validateRepoView;
|
42
|
+
exports.isRepoViewDetail = isRepoViewDetail;
|
43
|
+
exports.validateRepoViewDetail = validateRepoViewDetail;
|
44
|
+
exports.isRepoViewNotFound = isRepoViewNotFound;
|
45
|
+
exports.validateRepoViewNotFound = validateRepoViewNotFound;
|
46
|
+
exports.isRecordView = isRecordView;
|
47
|
+
exports.validateRecordView = validateRecordView;
|
48
|
+
exports.isRecordViewDetail = isRecordViewDetail;
|
49
|
+
exports.validateRecordViewDetail = validateRecordViewDetail;
|
50
|
+
exports.isRecordViewNotFound = isRecordViewNotFound;
|
51
|
+
exports.validateRecordViewNotFound = validateRecordViewNotFound;
|
52
|
+
exports.isModeration = isModeration;
|
53
|
+
exports.validateModeration = validateModeration;
|
54
|
+
exports.isModerationDetail = isModerationDetail;
|
55
|
+
exports.validateModerationDetail = validateModerationDetail;
|
56
|
+
exports.isBlobView = isBlobView;
|
57
|
+
exports.validateBlobView = validateBlobView;
|
58
|
+
exports.isImageDetails = isImageDetails;
|
59
|
+
exports.validateImageDetails = validateImageDetails;
|
60
|
+
exports.isVideoDetails = isVideoDetails;
|
61
|
+
exports.validateVideoDetails = validateVideoDetails;
|
5
62
|
const lexicons_1 = require("../../../../lexicons");
|
6
63
|
const util_1 = require("../../../../util");
|
7
64
|
function isModEventView(v) {
|
@@ -9,31 +66,25 @@ function isModEventView(v) {
|
|
9
66
|
(0, util_1.hasProp)(v, '$type') &&
|
10
67
|
v.$type === 'tools.ozone.moderation.defs#modEventView');
|
11
68
|
}
|
12
|
-
exports.isModEventView = isModEventView;
|
13
69
|
function validateModEventView(v) {
|
14
70
|
return lexicons_1.lexicons.validate('tools.ozone.moderation.defs#modEventView', v);
|
15
71
|
}
|
16
|
-
exports.validateModEventView = validateModEventView;
|
17
72
|
function isModEventViewDetail(v) {
|
18
73
|
return ((0, util_1.isObj)(v) &&
|
19
74
|
(0, util_1.hasProp)(v, '$type') &&
|
20
75
|
v.$type === 'tools.ozone.moderation.defs#modEventViewDetail');
|
21
76
|
}
|
22
|
-
exports.isModEventViewDetail = isModEventViewDetail;
|
23
77
|
function validateModEventViewDetail(v) {
|
24
78
|
return lexicons_1.lexicons.validate('tools.ozone.moderation.defs#modEventViewDetail', v);
|
25
79
|
}
|
26
|
-
exports.validateModEventViewDetail = validateModEventViewDetail;
|
27
80
|
function isSubjectStatusView(v) {
|
28
81
|
return ((0, util_1.isObj)(v) &&
|
29
82
|
(0, util_1.hasProp)(v, '$type') &&
|
30
83
|
v.$type === 'tools.ozone.moderation.defs#subjectStatusView');
|
31
84
|
}
|
32
|
-
exports.isSubjectStatusView = isSubjectStatusView;
|
33
85
|
function validateSubjectStatusView(v) {
|
34
86
|
return lexicons_1.lexicons.validate('tools.ozone.moderation.defs#subjectStatusView', v);
|
35
87
|
}
|
36
|
-
exports.validateSubjectStatusView = validateSubjectStatusView;
|
37
88
|
/** Moderator review status of a subject: Open. Indicates that the subject needs to be reviewed by a moderator */
|
38
89
|
exports.REVIEWOPEN = 'tools.ozone.moderation.defs#reviewOpen';
|
39
90
|
/** Moderator review status of a subject: Escalated. Indicates that the subject was escalated for review by a moderator */
|
@@ -47,259 +98,207 @@ function isModEventTakedown(v) {
|
|
47
98
|
(0, util_1.hasProp)(v, '$type') &&
|
48
99
|
v.$type === 'tools.ozone.moderation.defs#modEventTakedown');
|
49
100
|
}
|
50
|
-
exports.isModEventTakedown = isModEventTakedown;
|
51
101
|
function validateModEventTakedown(v) {
|
52
102
|
return lexicons_1.lexicons.validate('tools.ozone.moderation.defs#modEventTakedown', v);
|
53
103
|
}
|
54
|
-
exports.validateModEventTakedown = validateModEventTakedown;
|
55
104
|
function isModEventReverseTakedown(v) {
|
56
105
|
return ((0, util_1.isObj)(v) &&
|
57
106
|
(0, util_1.hasProp)(v, '$type') &&
|
58
107
|
v.$type === 'tools.ozone.moderation.defs#modEventReverseTakedown');
|
59
108
|
}
|
60
|
-
exports.isModEventReverseTakedown = isModEventReverseTakedown;
|
61
109
|
function validateModEventReverseTakedown(v) {
|
62
110
|
return lexicons_1.lexicons.validate('tools.ozone.moderation.defs#modEventReverseTakedown', v);
|
63
111
|
}
|
64
|
-
exports.validateModEventReverseTakedown = validateModEventReverseTakedown;
|
65
112
|
function isModEventResolveAppeal(v) {
|
66
113
|
return ((0, util_1.isObj)(v) &&
|
67
114
|
(0, util_1.hasProp)(v, '$type') &&
|
68
115
|
v.$type === 'tools.ozone.moderation.defs#modEventResolveAppeal');
|
69
116
|
}
|
70
|
-
exports.isModEventResolveAppeal = isModEventResolveAppeal;
|
71
117
|
function validateModEventResolveAppeal(v) {
|
72
118
|
return lexicons_1.lexicons.validate('tools.ozone.moderation.defs#modEventResolveAppeal', v);
|
73
119
|
}
|
74
|
-
exports.validateModEventResolveAppeal = validateModEventResolveAppeal;
|
75
120
|
function isModEventComment(v) {
|
76
121
|
return ((0, util_1.isObj)(v) &&
|
77
122
|
(0, util_1.hasProp)(v, '$type') &&
|
78
123
|
v.$type === 'tools.ozone.moderation.defs#modEventComment');
|
79
124
|
}
|
80
|
-
exports.isModEventComment = isModEventComment;
|
81
125
|
function validateModEventComment(v) {
|
82
126
|
return lexicons_1.lexicons.validate('tools.ozone.moderation.defs#modEventComment', v);
|
83
127
|
}
|
84
|
-
exports.validateModEventComment = validateModEventComment;
|
85
128
|
function isModEventReport(v) {
|
86
129
|
return ((0, util_1.isObj)(v) &&
|
87
130
|
(0, util_1.hasProp)(v, '$type') &&
|
88
131
|
v.$type === 'tools.ozone.moderation.defs#modEventReport');
|
89
132
|
}
|
90
|
-
exports.isModEventReport = isModEventReport;
|
91
133
|
function validateModEventReport(v) {
|
92
134
|
return lexicons_1.lexicons.validate('tools.ozone.moderation.defs#modEventReport', v);
|
93
135
|
}
|
94
|
-
exports.validateModEventReport = validateModEventReport;
|
95
136
|
function isModEventLabel(v) {
|
96
137
|
return ((0, util_1.isObj)(v) &&
|
97
138
|
(0, util_1.hasProp)(v, '$type') &&
|
98
139
|
v.$type === 'tools.ozone.moderation.defs#modEventLabel');
|
99
140
|
}
|
100
|
-
exports.isModEventLabel = isModEventLabel;
|
101
141
|
function validateModEventLabel(v) {
|
102
142
|
return lexicons_1.lexicons.validate('tools.ozone.moderation.defs#modEventLabel', v);
|
103
143
|
}
|
104
|
-
exports.validateModEventLabel = validateModEventLabel;
|
105
144
|
function isModEventAcknowledge(v) {
|
106
145
|
return ((0, util_1.isObj)(v) &&
|
107
146
|
(0, util_1.hasProp)(v, '$type') &&
|
108
147
|
v.$type === 'tools.ozone.moderation.defs#modEventAcknowledge');
|
109
148
|
}
|
110
|
-
exports.isModEventAcknowledge = isModEventAcknowledge;
|
111
149
|
function validateModEventAcknowledge(v) {
|
112
150
|
return lexicons_1.lexicons.validate('tools.ozone.moderation.defs#modEventAcknowledge', v);
|
113
151
|
}
|
114
|
-
exports.validateModEventAcknowledge = validateModEventAcknowledge;
|
115
152
|
function isModEventEscalate(v) {
|
116
153
|
return ((0, util_1.isObj)(v) &&
|
117
154
|
(0, util_1.hasProp)(v, '$type') &&
|
118
155
|
v.$type === 'tools.ozone.moderation.defs#modEventEscalate');
|
119
156
|
}
|
120
|
-
exports.isModEventEscalate = isModEventEscalate;
|
121
157
|
function validateModEventEscalate(v) {
|
122
158
|
return lexicons_1.lexicons.validate('tools.ozone.moderation.defs#modEventEscalate', v);
|
123
159
|
}
|
124
|
-
exports.validateModEventEscalate = validateModEventEscalate;
|
125
160
|
function isModEventMute(v) {
|
126
161
|
return ((0, util_1.isObj)(v) &&
|
127
162
|
(0, util_1.hasProp)(v, '$type') &&
|
128
163
|
v.$type === 'tools.ozone.moderation.defs#modEventMute');
|
129
164
|
}
|
130
|
-
exports.isModEventMute = isModEventMute;
|
131
165
|
function validateModEventMute(v) {
|
132
166
|
return lexicons_1.lexicons.validate('tools.ozone.moderation.defs#modEventMute', v);
|
133
167
|
}
|
134
|
-
exports.validateModEventMute = validateModEventMute;
|
135
168
|
function isModEventUnmute(v) {
|
136
169
|
return ((0, util_1.isObj)(v) &&
|
137
170
|
(0, util_1.hasProp)(v, '$type') &&
|
138
171
|
v.$type === 'tools.ozone.moderation.defs#modEventUnmute');
|
139
172
|
}
|
140
|
-
exports.isModEventUnmute = isModEventUnmute;
|
141
173
|
function validateModEventUnmute(v) {
|
142
174
|
return lexicons_1.lexicons.validate('tools.ozone.moderation.defs#modEventUnmute', v);
|
143
175
|
}
|
144
|
-
exports.validateModEventUnmute = validateModEventUnmute;
|
145
176
|
function isModEventMuteReporter(v) {
|
146
177
|
return ((0, util_1.isObj)(v) &&
|
147
178
|
(0, util_1.hasProp)(v, '$type') &&
|
148
179
|
v.$type === 'tools.ozone.moderation.defs#modEventMuteReporter');
|
149
180
|
}
|
150
|
-
exports.isModEventMuteReporter = isModEventMuteReporter;
|
151
181
|
function validateModEventMuteReporter(v) {
|
152
182
|
return lexicons_1.lexicons.validate('tools.ozone.moderation.defs#modEventMuteReporter', v);
|
153
183
|
}
|
154
|
-
exports.validateModEventMuteReporter = validateModEventMuteReporter;
|
155
184
|
function isModEventUnmuteReporter(v) {
|
156
185
|
return ((0, util_1.isObj)(v) &&
|
157
186
|
(0, util_1.hasProp)(v, '$type') &&
|
158
187
|
v.$type === 'tools.ozone.moderation.defs#modEventUnmuteReporter');
|
159
188
|
}
|
160
|
-
exports.isModEventUnmuteReporter = isModEventUnmuteReporter;
|
161
189
|
function validateModEventUnmuteReporter(v) {
|
162
190
|
return lexicons_1.lexicons.validate('tools.ozone.moderation.defs#modEventUnmuteReporter', v);
|
163
191
|
}
|
164
|
-
exports.validateModEventUnmuteReporter = validateModEventUnmuteReporter;
|
165
192
|
function isModEventEmail(v) {
|
166
193
|
return ((0, util_1.isObj)(v) &&
|
167
194
|
(0, util_1.hasProp)(v, '$type') &&
|
168
195
|
v.$type === 'tools.ozone.moderation.defs#modEventEmail');
|
169
196
|
}
|
170
|
-
exports.isModEventEmail = isModEventEmail;
|
171
197
|
function validateModEventEmail(v) {
|
172
198
|
return lexicons_1.lexicons.validate('tools.ozone.moderation.defs#modEventEmail', v);
|
173
199
|
}
|
174
|
-
exports.validateModEventEmail = validateModEventEmail;
|
175
200
|
function isModEventDivert(v) {
|
176
201
|
return ((0, util_1.isObj)(v) &&
|
177
202
|
(0, util_1.hasProp)(v, '$type') &&
|
178
203
|
v.$type === 'tools.ozone.moderation.defs#modEventDivert');
|
179
204
|
}
|
180
|
-
exports.isModEventDivert = isModEventDivert;
|
181
205
|
function validateModEventDivert(v) {
|
182
206
|
return lexicons_1.lexicons.validate('tools.ozone.moderation.defs#modEventDivert', v);
|
183
207
|
}
|
184
|
-
exports.validateModEventDivert = validateModEventDivert;
|
185
208
|
function isModEventTag(v) {
|
186
209
|
return ((0, util_1.isObj)(v) &&
|
187
210
|
(0, util_1.hasProp)(v, '$type') &&
|
188
211
|
v.$type === 'tools.ozone.moderation.defs#modEventTag');
|
189
212
|
}
|
190
|
-
exports.isModEventTag = isModEventTag;
|
191
213
|
function validateModEventTag(v) {
|
192
214
|
return lexicons_1.lexicons.validate('tools.ozone.moderation.defs#modEventTag', v);
|
193
215
|
}
|
194
|
-
exports.validateModEventTag = validateModEventTag;
|
195
216
|
function isRepoView(v) {
|
196
217
|
return ((0, util_1.isObj)(v) &&
|
197
218
|
(0, util_1.hasProp)(v, '$type') &&
|
198
219
|
v.$type === 'tools.ozone.moderation.defs#repoView');
|
199
220
|
}
|
200
|
-
exports.isRepoView = isRepoView;
|
201
221
|
function validateRepoView(v) {
|
202
222
|
return lexicons_1.lexicons.validate('tools.ozone.moderation.defs#repoView', v);
|
203
223
|
}
|
204
|
-
exports.validateRepoView = validateRepoView;
|
205
224
|
function isRepoViewDetail(v) {
|
206
225
|
return ((0, util_1.isObj)(v) &&
|
207
226
|
(0, util_1.hasProp)(v, '$type') &&
|
208
227
|
v.$type === 'tools.ozone.moderation.defs#repoViewDetail');
|
209
228
|
}
|
210
|
-
exports.isRepoViewDetail = isRepoViewDetail;
|
211
229
|
function validateRepoViewDetail(v) {
|
212
230
|
return lexicons_1.lexicons.validate('tools.ozone.moderation.defs#repoViewDetail', v);
|
213
231
|
}
|
214
|
-
exports.validateRepoViewDetail = validateRepoViewDetail;
|
215
232
|
function isRepoViewNotFound(v) {
|
216
233
|
return ((0, util_1.isObj)(v) &&
|
217
234
|
(0, util_1.hasProp)(v, '$type') &&
|
218
235
|
v.$type === 'tools.ozone.moderation.defs#repoViewNotFound');
|
219
236
|
}
|
220
|
-
exports.isRepoViewNotFound = isRepoViewNotFound;
|
221
237
|
function validateRepoViewNotFound(v) {
|
222
238
|
return lexicons_1.lexicons.validate('tools.ozone.moderation.defs#repoViewNotFound', v);
|
223
239
|
}
|
224
|
-
exports.validateRepoViewNotFound = validateRepoViewNotFound;
|
225
240
|
function isRecordView(v) {
|
226
241
|
return ((0, util_1.isObj)(v) &&
|
227
242
|
(0, util_1.hasProp)(v, '$type') &&
|
228
243
|
v.$type === 'tools.ozone.moderation.defs#recordView');
|
229
244
|
}
|
230
|
-
exports.isRecordView = isRecordView;
|
231
245
|
function validateRecordView(v) {
|
232
246
|
return lexicons_1.lexicons.validate('tools.ozone.moderation.defs#recordView', v);
|
233
247
|
}
|
234
|
-
exports.validateRecordView = validateRecordView;
|
235
248
|
function isRecordViewDetail(v) {
|
236
249
|
return ((0, util_1.isObj)(v) &&
|
237
250
|
(0, util_1.hasProp)(v, '$type') &&
|
238
251
|
v.$type === 'tools.ozone.moderation.defs#recordViewDetail');
|
239
252
|
}
|
240
|
-
exports.isRecordViewDetail = isRecordViewDetail;
|
241
253
|
function validateRecordViewDetail(v) {
|
242
254
|
return lexicons_1.lexicons.validate('tools.ozone.moderation.defs#recordViewDetail', v);
|
243
255
|
}
|
244
|
-
exports.validateRecordViewDetail = validateRecordViewDetail;
|
245
256
|
function isRecordViewNotFound(v) {
|
246
257
|
return ((0, util_1.isObj)(v) &&
|
247
258
|
(0, util_1.hasProp)(v, '$type') &&
|
248
259
|
v.$type === 'tools.ozone.moderation.defs#recordViewNotFound');
|
249
260
|
}
|
250
|
-
exports.isRecordViewNotFound = isRecordViewNotFound;
|
251
261
|
function validateRecordViewNotFound(v) {
|
252
262
|
return lexicons_1.lexicons.validate('tools.ozone.moderation.defs#recordViewNotFound', v);
|
253
263
|
}
|
254
|
-
exports.validateRecordViewNotFound = validateRecordViewNotFound;
|
255
264
|
function isModeration(v) {
|
256
265
|
return ((0, util_1.isObj)(v) &&
|
257
266
|
(0, util_1.hasProp)(v, '$type') &&
|
258
267
|
v.$type === 'tools.ozone.moderation.defs#moderation');
|
259
268
|
}
|
260
|
-
exports.isModeration = isModeration;
|
261
269
|
function validateModeration(v) {
|
262
270
|
return lexicons_1.lexicons.validate('tools.ozone.moderation.defs#moderation', v);
|
263
271
|
}
|
264
|
-
exports.validateModeration = validateModeration;
|
265
272
|
function isModerationDetail(v) {
|
266
273
|
return ((0, util_1.isObj)(v) &&
|
267
274
|
(0, util_1.hasProp)(v, '$type') &&
|
268
275
|
v.$type === 'tools.ozone.moderation.defs#moderationDetail');
|
269
276
|
}
|
270
|
-
exports.isModerationDetail = isModerationDetail;
|
271
277
|
function validateModerationDetail(v) {
|
272
278
|
return lexicons_1.lexicons.validate('tools.ozone.moderation.defs#moderationDetail', v);
|
273
279
|
}
|
274
|
-
exports.validateModerationDetail = validateModerationDetail;
|
275
280
|
function isBlobView(v) {
|
276
281
|
return ((0, util_1.isObj)(v) &&
|
277
282
|
(0, util_1.hasProp)(v, '$type') &&
|
278
283
|
v.$type === 'tools.ozone.moderation.defs#blobView');
|
279
284
|
}
|
280
|
-
exports.isBlobView = isBlobView;
|
281
285
|
function validateBlobView(v) {
|
282
286
|
return lexicons_1.lexicons.validate('tools.ozone.moderation.defs#blobView', v);
|
283
287
|
}
|
284
|
-
exports.validateBlobView = validateBlobView;
|
285
288
|
function isImageDetails(v) {
|
286
289
|
return ((0, util_1.isObj)(v) &&
|
287
290
|
(0, util_1.hasProp)(v, '$type') &&
|
288
291
|
v.$type === 'tools.ozone.moderation.defs#imageDetails');
|
289
292
|
}
|
290
|
-
exports.isImageDetails = isImageDetails;
|
291
293
|
function validateImageDetails(v) {
|
292
294
|
return lexicons_1.lexicons.validate('tools.ozone.moderation.defs#imageDetails', v);
|
293
295
|
}
|
294
|
-
exports.validateImageDetails = validateImageDetails;
|
295
296
|
function isVideoDetails(v) {
|
296
297
|
return ((0, util_1.isObj)(v) &&
|
297
298
|
(0, util_1.hasProp)(v, '$type') &&
|
298
299
|
v.$type === 'tools.ozone.moderation.defs#videoDetails');
|
299
300
|
}
|
300
|
-
exports.isVideoDetails = isVideoDetails;
|
301
301
|
function validateVideoDetails(v) {
|
302
302
|
return lexicons_1.lexicons.validate('tools.ozone.moderation.defs#videoDetails', v);
|
303
303
|
}
|
304
|
-
exports.validateVideoDetails = validateVideoDetails;
|
305
304
|
//# sourceMappingURL=defs.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/moderation/defs.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/moderation/defs.ts"],"names":[],"mappings":";;;AA8CA,wCAMC;AAED,oDAEC;AAiCD,oDAMC;AAED,gEAEC;AAgCD,kDAMC;AAED,8DAEC;AA4BD,gDAMC;AAED,4DAEC;AASD,8DAQC;AAED,0EAKC;AASD,0DAQC;AAED,sEAKC;AAUD,8CAMC;AAED,0DAEC;AAWD,4CAMC;AAED,wDAEC;AAUD,0CAMC;AAED,sDAEC;AAOD,sDAMC;AAED,kEAEC;AAOD,gDAMC;AAED,4DAEC;AAUD,wCAMC;AAED,oDAEC;AASD,4CAMC;AAED,wDAEC;AAUD,wDAMC;AAED,oEAKC;AASD,4DAQC;AAED,wEAKC;AAaD,0CAMC;AAED,sDAEC;AAQD,4CAMC;AAED,wDAEC;AAaD,sCAMC;AAED,kDAEC;AAgBD,gCAMC;AAED,4CAEC;AAmBD,4CAMC;AAED,wDAEC;AAOD,gDAMC;AAED,4DAEC;AAaD,oCAMC;AAED,gDAEC;AAcD,gDAMC;AAED,4DAEC;AAOD,oDAMC;AAED,gEAEC;AAOD,oCAMC;AAED,gDAEC;AAOD,gDAMC;AAED,4DAEC;AAeD,gCAMC;AAED,4CAEC;AAQD,wCAMC;AAED,oDAEC;AASD,wCAMC;AAED,oDAEC;AA5rBD,mDAA+C;AAC/C,2CAAiD;AAyCjD,SAAgB,cAAc,CAAC,CAAU;IACvC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;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C,0CAA0C,EAAE,CAAC,CAAC,CAAA;AACzE,CAAC;AASD,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,0CAA0C,CACvD,CAAA;AACH,CAAC;AAED,SAAgB,oBAAoB,CAAC,CAAU;IAC7C,OAAO,mBAAQ,CAAC,QAAQ,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAA;AACzE,CAAC"}
|
@@ -1,6 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
exports.isServiceConfig = isServiceConfig;
|
4
|
+
exports.validateServiceConfig = validateServiceConfig;
|
5
|
+
exports.isViewerConfig = isViewerConfig;
|
6
|
+
exports.validateViewerConfig = validateViewerConfig;
|
4
7
|
const lexicons_1 = require("../../../../lexicons");
|
5
8
|
const util_1 = require("../../../../util");
|
6
9
|
function isServiceConfig(v) {
|
@@ -8,19 +11,15 @@ function isServiceConfig(v) {
|
|
8
11
|
(0, util_1.hasProp)(v, '$type') &&
|
9
12
|
v.$type === 'tools.ozone.server.getConfig#serviceConfig');
|
10
13
|
}
|
11
|
-
exports.isServiceConfig = isServiceConfig;
|
12
14
|
function validateServiceConfig(v) {
|
13
15
|
return lexicons_1.lexicons.validate('tools.ozone.server.getConfig#serviceConfig', v);
|
14
16
|
}
|
15
|
-
exports.validateServiceConfig = validateServiceConfig;
|
16
17
|
function isViewerConfig(v) {
|
17
18
|
return ((0, util_1.isObj)(v) &&
|
18
19
|
(0, util_1.hasProp)(v, '$type') &&
|
19
20
|
v.$type === 'tools.ozone.server.getConfig#viewerConfig');
|
20
21
|
}
|
21
|
-
exports.isViewerConfig = isViewerConfig;
|
22
22
|
function validateViewerConfig(v) {
|
23
23
|
return lexicons_1.lexicons.validate('tools.ozone.server.getConfig#viewerConfig', v);
|
24
24
|
}
|
25
|
-
exports.validateViewerConfig = validateViewerConfig;
|
26
25
|
//# sourceMappingURL=getConfig.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getConfig.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/server/getConfig.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"getConfig.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/server/getConfig.ts"],"names":[],"mappings":";;AAqDA,0CAMC;AAED,sDAEC;AAWD,wCAMC;AAED,oDAEC;AA/ED,mDAA+C;AAC/C,2CAAiD;AA+CjD,SAAgB,eAAe,CAAC,CAAU;IACxC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,4CAA4C,CACzD,CAAA;AACH,CAAC;AAED,SAAgB,qBAAqB,CAAC,CAAU;IAC9C,OAAO,mBAAQ,CAAC,QAAQ,CAAC,4CAA4C,EAAE,CAAC,CAAC,CAAA;AAC3E,CAAC;AAWD,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,2CAA2C,CACxD,CAAA;AACH,CAAC;AAED,SAAgB,oBAAoB,CAAC,CAAU;IAC7C,OAAO,mBAAQ,CAAC,QAAQ,CAAC,2CAA2C,EAAE,CAAC,CAAC,CAAA;AAC1E,CAAC"}
|