@atproto/pds 0.4.91 → 0.4.93
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +32 -0
- package/bin/migration-create.ts +2 -2
- package/dist/account-manager/db/index.d.ts.map +1 -1
- package/dist/account-manager/db/index.js.map +1 -1
- package/dist/account-manager/db/schema/authorization-request.d.ts +1 -1
- package/dist/account-manager/db/schema/authorization-request.d.ts.map +1 -1
- package/dist/account-manager/db/schema/device.d.ts +1 -1
- package/dist/account-manager/db/schema/device.d.ts.map +1 -1
- package/dist/account-manager/db/schema/index.d.ts +7 -7
- package/dist/account-manager/db/schema/index.d.ts.map +1 -1
- package/dist/account-manager/db/schema/token.d.ts +1 -1
- package/dist/account-manager/db/schema/token.d.ts.map +1 -1
- package/dist/account-manager/db/schema/token.js.map +1 -1
- package/dist/account-manager/db/schema/used-refresh-token.d.ts +1 -1
- package/dist/account-manager/db/schema/used-refresh-token.d.ts.map +1 -1
- package/dist/account-manager/helpers/account.d.ts +8 -8
- package/dist/account-manager/helpers/account.d.ts.map +1 -1
- package/dist/account-manager/helpers/account.js +1 -1
- package/dist/account-manager/helpers/account.js.map +1 -1
- package/dist/account-manager/helpers/authorization-request.d.ts +1 -1
- package/dist/account-manager/helpers/authorization-request.d.ts.map +1 -1
- package/dist/account-manager/helpers/device-account.d.ts +37 -37
- package/dist/account-manager/helpers/device-account.d.ts.map +1 -1
- package/dist/account-manager/helpers/device-account.js.map +1 -1
- package/dist/account-manager/helpers/device.d.ts +2 -2
- package/dist/account-manager/helpers/device.d.ts.map +1 -1
- package/dist/account-manager/helpers/email-token.js +1 -1
- package/dist/account-manager/helpers/email-token.js.map +1 -1
- package/dist/account-manager/helpers/invite.d.ts.map +1 -1
- package/dist/account-manager/helpers/invite.js.map +1 -1
- package/dist/account-manager/helpers/password.d.ts +1 -1
- package/dist/account-manager/helpers/password.d.ts.map +1 -1
- package/dist/account-manager/helpers/password.js.map +1 -1
- package/dist/account-manager/helpers/scrypt.js +6 -6
- package/dist/account-manager/helpers/scrypt.js.map +1 -1
- package/dist/account-manager/helpers/token.d.ts +201 -201
- package/dist/account-manager/helpers/token.d.ts.map +1 -1
- package/dist/account-manager/index.d.ts +8 -3
- package/dist/account-manager/index.d.ts.map +1 -1
- package/dist/account-manager/index.js +34 -5
- package/dist/account-manager/index.js.map +1 -1
- package/dist/actor-store/actor-store-reader.d.ts +19 -0
- package/dist/actor-store/actor-store-reader.d.ts.map +1 -0
- package/dist/actor-store/actor-store-reader.js +69 -0
- package/dist/actor-store/actor-store-reader.js.map +1 -0
- package/dist/actor-store/actor-store-resources.d.ts +8 -0
- package/dist/actor-store/actor-store-resources.d.ts.map +1 -0
- package/dist/actor-store/actor-store-resources.js +3 -0
- package/dist/actor-store/actor-store-resources.js.map +1 -0
- package/dist/actor-store/actor-store-transactor.d.ts +17 -0
- package/dist/actor-store/actor-store-transactor.d.ts.map +1 -0
- package/dist/actor-store/actor-store-transactor.js +58 -0
- package/dist/actor-store/actor-store-transactor.js.map +1 -0
- package/dist/actor-store/actor-store-writer.d.ts +5 -0
- package/dist/actor-store/actor-store-writer.d.ts.map +1 -0
- package/dist/actor-store/actor-store-writer.js +14 -0
- package/dist/actor-store/actor-store-writer.js.map +1 -0
- package/dist/actor-store/actor-store.d.ts +33 -0
- package/dist/actor-store/actor-store.d.ts.map +1 -0
- package/dist/actor-store/{index.js → actor-store.js} +37 -82
- package/dist/actor-store/actor-store.js.map +1 -0
- package/dist/actor-store/blob/reader.d.ts +4 -2
- package/dist/actor-store/blob/reader.d.ts.map +1 -1
- package/dist/actor-store/blob/reader.js +14 -0
- package/dist/actor-store/blob/reader.js.map +1 -1
- package/dist/actor-store/blob/transactor.d.ts +6 -5
- package/dist/actor-store/blob/transactor.d.ts.map +1 -1
- package/dist/actor-store/blob/transactor.js +18 -5
- package/dist/actor-store/blob/transactor.js.map +1 -1
- package/dist/actor-store/db/index.d.ts +1 -1
- package/dist/actor-store/db/index.d.ts.map +1 -1
- package/dist/actor-store/db/index.js.map +1 -1
- package/dist/actor-store/db/schema/index.d.ts +3 -3
- package/dist/actor-store/db/schema/index.d.ts.map +1 -1
- package/dist/actor-store/migrate.d.ts +1 -1
- package/dist/actor-store/migrate.d.ts.map +1 -1
- package/dist/actor-store/migrate.js.map +1 -1
- package/dist/actor-store/preference/transactor.d.ts +1 -1
- package/dist/actor-store/preference/transactor.d.ts.map +1 -1
- package/dist/actor-store/preference/transactor.js.map +1 -1
- package/dist/actor-store/record/reader.d.ts +18 -6
- package/dist/actor-store/record/reader.d.ts.map +1 -1
- package/dist/actor-store/record/reader.js +104 -2
- package/dist/actor-store/record/reader.js.map +1 -1
- package/dist/actor-store/record/transactor.d.ts +3 -3
- package/dist/actor-store/record/transactor.d.ts.map +1 -1
- package/dist/actor-store/record/transactor.js.map +1 -1
- package/dist/actor-store/repo/reader.d.ts +1 -1
- package/dist/actor-store/repo/reader.d.ts.map +1 -1
- package/dist/actor-store/repo/reader.js +1 -1
- package/dist/actor-store/repo/reader.js.map +1 -1
- package/dist/actor-store/repo/sql-repo-reader.d.ts +2 -2
- package/dist/actor-store/repo/sql-repo-reader.d.ts.map +1 -1
- package/dist/actor-store/repo/sql-repo-reader.js +6 -5
- package/dist/actor-store/repo/sql-repo-reader.js.map +1 -1
- package/dist/actor-store/repo/sql-repo-transactor.d.ts +1 -1
- package/dist/actor-store/repo/sql-repo-transactor.d.ts.map +1 -1
- package/dist/actor-store/repo/sql-repo-transactor.js +2 -2
- package/dist/actor-store/repo/sql-repo-transactor.js.map +1 -1
- package/dist/actor-store/repo/transactor.d.ts +7 -6
- package/dist/actor-store/repo/transactor.d.ts.map +1 -1
- package/dist/actor-store/repo/transactor.js +22 -15
- package/dist/actor-store/repo/transactor.js.map +1 -1
- package/dist/api/app/bsky/actor/getPreferences.d.ts +1 -1
- package/dist/api/app/bsky/actor/getPreferences.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.d.ts +1 -1
- package/dist/api/app/bsky/actor/getProfile.d.ts.map +1 -1
- package/dist/api/app/bsky/actor/getProfile.js +1 -2
- package/dist/api/app/bsky/actor/getProfile.js.map +1 -1
- package/dist/api/app/bsky/actor/getProfiles.d.ts +1 -1
- package/dist/api/app/bsky/actor/getProfiles.d.ts.map +1 -1
- package/dist/api/app/bsky/actor/getProfiles.js +1 -2
- package/dist/api/app/bsky/actor/getProfiles.js.map +1 -1
- package/dist/api/app/bsky/actor/index.d.ts +1 -1
- package/dist/api/app/bsky/actor/index.d.ts.map +1 -1
- package/dist/api/app/bsky/actor/index.js.map +1 -1
- package/dist/api/app/bsky/actor/putPreferences.d.ts +1 -1
- package/dist/api/app/bsky/actor/putPreferences.d.ts.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.d.ts +1 -1
- package/dist/api/app/bsky/feed/getActorLikes.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getActorLikes.js +1 -2
- package/dist/api/app/bsky/feed/getActorLikes.js.map +1 -1
- package/dist/api/app/bsky/feed/getAuthorFeed.d.ts +1 -1
- package/dist/api/app/bsky/feed/getAuthorFeed.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getAuthorFeed.js +1 -2
- package/dist/api/app/bsky/feed/getAuthorFeed.js.map +1 -1
- package/dist/api/app/bsky/feed/getFeed.d.ts +1 -1
- package/dist/api/app/bsky/feed/getFeed.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getFeed.js +6 -7
- package/dist/api/app/bsky/feed/getFeed.js.map +1 -1
- package/dist/api/app/bsky/feed/getPostThread.d.ts +1 -1
- package/dist/api/app/bsky/feed/getPostThread.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getPostThread.js +4 -5
- package/dist/api/app/bsky/feed/getPostThread.js.map +1 -1
- package/dist/api/app/bsky/feed/getTimeline.d.ts +1 -1
- package/dist/api/app/bsky/feed/getTimeline.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getTimeline.js +1 -2
- package/dist/api/app/bsky/feed/getTimeline.js.map +1 -1
- package/dist/api/app/bsky/feed/index.d.ts +1 -1
- package/dist/api/app/bsky/feed/index.d.ts.map +1 -1
- package/dist/api/app/bsky/index.d.ts +1 -1
- package/dist/api/app/bsky/index.d.ts.map +1 -1
- package/dist/api/app/bsky/notification/index.d.ts +1 -1
- package/dist/api/app/bsky/notification/index.d.ts.map +1 -1
- package/dist/api/app/bsky/notification/registerPush.d.ts +1 -1
- package/dist/api/app/bsky/notification/registerPush.d.ts.map +1 -1
- package/dist/api/app/bsky/notification/registerPush.js +6 -6
- package/dist/api/app/bsky/notification/registerPush.js.map +1 -1
- package/dist/api/app/bsky/util/resolver.d.ts +1 -1
- package/dist/api/app/bsky/util/resolver.d.ts.map +1 -1
- package/dist/api/app/bsky/util/resolver.js.map +1 -1
- package/dist/api/com/atproto/admin/deleteAccount.d.ts +1 -1
- package/dist/api/com/atproto/admin/deleteAccount.d.ts.map +1 -1
- package/dist/api/com/atproto/admin/deleteAccount.js.map +1 -1
- package/dist/api/com/atproto/admin/disableAccountInvites.d.ts +1 -1
- package/dist/api/com/atproto/admin/disableAccountInvites.d.ts.map +1 -1
- package/dist/api/com/atproto/admin/disableInviteCodes.d.ts +1 -1
- package/dist/api/com/atproto/admin/disableInviteCodes.d.ts.map +1 -1
- package/dist/api/com/atproto/admin/enableAccountInvites.d.ts +1 -1
- package/dist/api/com/atproto/admin/enableAccountInvites.d.ts.map +1 -1
- package/dist/api/com/atproto/admin/getAccountInfo.d.ts +1 -1
- package/dist/api/com/atproto/admin/getAccountInfo.d.ts.map +1 -1
- package/dist/api/com/atproto/admin/getAccountInfo.js.map +1 -1
- package/dist/api/com/atproto/admin/getAccountInfos.d.ts +1 -1
- package/dist/api/com/atproto/admin/getAccountInfos.d.ts.map +1 -1
- package/dist/api/com/atproto/admin/getInviteCodes.d.ts +2 -2
- package/dist/api/com/atproto/admin/getInviteCodes.d.ts.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.d.ts +1 -1
- package/dist/api/com/atproto/admin/getSubjectStatus.d.ts.map +1 -1
- package/dist/api/com/atproto/admin/index.d.ts +1 -1
- package/dist/api/com/atproto/admin/index.d.ts.map +1 -1
- package/dist/api/com/atproto/admin/index.js +8 -8
- package/dist/api/com/atproto/admin/index.js.map +1 -1
- package/dist/api/com/atproto/admin/sendEmail.d.ts +1 -1
- package/dist/api/com/atproto/admin/sendEmail.d.ts.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.d.ts +1 -1
- package/dist/api/com/atproto/admin/updateAccountEmail.d.ts.map +1 -1
- package/dist/api/com/atproto/admin/updateAccountHandle.d.ts +1 -1
- package/dist/api/com/atproto/admin/updateAccountHandle.d.ts.map +1 -1
- package/dist/api/com/atproto/admin/updateAccountHandle.js.map +1 -1
- package/dist/api/com/atproto/admin/updateAccountPassword.d.ts +1 -1
- package/dist/api/com/atproto/admin/updateAccountPassword.d.ts.map +1 -1
- package/dist/api/com/atproto/admin/updateSubjectStatus.d.ts +1 -1
- package/dist/api/com/atproto/admin/updateSubjectStatus.d.ts.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.d.ts.map +1 -1
- package/dist/api/com/atproto/admin/util.js.map +1 -1
- package/dist/api/com/atproto/identity/getRecommendedDidCredentials.d.ts +1 -1
- package/dist/api/com/atproto/identity/getRecommendedDidCredentials.d.ts.map +1 -1
- package/dist/api/com/atproto/identity/index.d.ts +1 -1
- package/dist/api/com/atproto/identity/index.d.ts.map +1 -1
- package/dist/api/com/atproto/identity/index.js +2 -2
- package/dist/api/com/atproto/identity/index.js.map +1 -1
- package/dist/api/com/atproto/identity/requestPlcOperationSignature.d.ts +1 -1
- package/dist/api/com/atproto/identity/requestPlcOperationSignature.d.ts.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.d.ts +1 -1
- package/dist/api/com/atproto/identity/resolveHandle.d.ts.map +1 -1
- package/dist/api/com/atproto/identity/resolveHandle.js +11 -14
- package/dist/api/com/atproto/identity/resolveHandle.js.map +1 -1
- package/dist/api/com/atproto/identity/signPlcOperation.d.ts +1 -1
- package/dist/api/com/atproto/identity/signPlcOperation.d.ts.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.d.ts +1 -1
- package/dist/api/com/atproto/identity/submitPlcOperation.d.ts.map +1 -1
- package/dist/api/com/atproto/identity/submitPlcOperation.js.map +1 -1
- package/dist/api/com/atproto/identity/updateHandle.d.ts +1 -1
- package/dist/api/com/atproto/identity/updateHandle.d.ts.map +1 -1
- package/dist/api/com/atproto/identity/updateHandle.js +2 -2
- package/dist/api/com/atproto/identity/updateHandle.js.map +1 -1
- package/dist/api/com/atproto/index.d.ts +1 -1
- package/dist/api/com/atproto/index.d.ts.map +1 -1
- package/dist/api/com/atproto/moderation/createReport.d.ts +1 -1
- package/dist/api/com/atproto/moderation/createReport.d.ts.map +1 -1
- package/dist/api/com/atproto/moderation/createReport.js +2 -2
- package/dist/api/com/atproto/moderation/createReport.js.map +1 -1
- package/dist/api/com/atproto/moderation/index.d.ts +1 -1
- package/dist/api/com/atproto/moderation/index.d.ts.map +1 -1
- package/dist/api/com/atproto/repo/applyWrites.d.ts +1 -1
- package/dist/api/com/atproto/repo/applyWrites.d.ts.map +1 -1
- package/dist/api/com/atproto/repo/applyWrites.js +4 -5
- package/dist/api/com/atproto/repo/applyWrites.js.map +1 -1
- package/dist/api/com/atproto/repo/createRecord.d.ts +1 -1
- package/dist/api/com/atproto/repo/createRecord.d.ts.map +1 -1
- package/dist/api/com/atproto/repo/createRecord.js +3 -4
- package/dist/api/com/atproto/repo/createRecord.js.map +1 -1
- package/dist/api/com/atproto/repo/deleteRecord.d.ts +1 -1
- package/dist/api/com/atproto/repo/deleteRecord.d.ts.map +1 -1
- package/dist/api/com/atproto/repo/deleteRecord.js +3 -4
- package/dist/api/com/atproto/repo/deleteRecord.js.map +1 -1
- package/dist/api/com/atproto/repo/describeRepo.d.ts +1 -1
- package/dist/api/com/atproto/repo/describeRepo.d.ts.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.d.ts +1 -1
- package/dist/api/com/atproto/repo/getRecord.d.ts.map +1 -1
- package/dist/api/com/atproto/repo/getRecord.js.map +1 -1
- package/dist/api/com/atproto/repo/importRepo.d.ts +2 -2
- package/dist/api/com/atproto/repo/importRepo.d.ts.map +1 -1
- package/dist/api/com/atproto/repo/importRepo.js +6 -22
- package/dist/api/com/atproto/repo/importRepo.js.map +1 -1
- package/dist/api/com/atproto/repo/index.d.ts +1 -1
- package/dist/api/com/atproto/repo/index.d.ts.map +1 -1
- package/dist/api/com/atproto/repo/index.js +2 -2
- package/dist/api/com/atproto/repo/index.js.map +1 -1
- package/dist/api/com/atproto/repo/listMissingBlobs.d.ts +1 -1
- package/dist/api/com/atproto/repo/listMissingBlobs.d.ts.map +1 -1
- package/dist/api/com/atproto/repo/listRecords.d.ts +1 -1
- package/dist/api/com/atproto/repo/listRecords.d.ts.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.d.ts +1 -1
- package/dist/api/com/atproto/repo/putRecord.d.ts.map +1 -1
- package/dist/api/com/atproto/repo/putRecord.js +5 -6
- package/dist/api/com/atproto/repo/putRecord.js.map +1 -1
- package/dist/api/com/atproto/repo/uploadBlob.d.ts +1 -1
- package/dist/api/com/atproto/repo/uploadBlob.d.ts.map +1 -1
- package/dist/api/com/atproto/server/activateAccount.d.ts +1 -1
- package/dist/api/com/atproto/server/activateAccount.d.ts.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.d.ts +1 -1
- package/dist/api/com/atproto/server/checkAccountStatus.d.ts.map +1 -1
- package/dist/api/com/atproto/server/confirmEmail.d.ts +1 -1
- package/dist/api/com/atproto/server/confirmEmail.d.ts.map +1 -1
- package/dist/api/com/atproto/server/confirmEmail.js.map +1 -1
- package/dist/api/com/atproto/server/createAccount.d.ts +1 -1
- package/dist/api/com/atproto/server/createAccount.d.ts.map +1 -1
- package/dist/api/com/atproto/server/createAccount.js +5 -5
- package/dist/api/com/atproto/server/createAccount.js.map +1 -1
- package/dist/api/com/atproto/server/createAppPassword.d.ts +1 -1
- package/dist/api/com/atproto/server/createAppPassword.d.ts.map +1 -1
- package/dist/api/com/atproto/server/createAppPassword.js.map +1 -1
- package/dist/api/com/atproto/server/createInviteCode.d.ts +1 -1
- package/dist/api/com/atproto/server/createInviteCode.d.ts.map +1 -1
- package/dist/api/com/atproto/server/createInviteCodes.d.ts +1 -1
- package/dist/api/com/atproto/server/createInviteCodes.d.ts.map +1 -1
- package/dist/api/com/atproto/server/createInviteCodes.js.map +1 -1
- package/dist/api/com/atproto/server/createSession.d.ts +1 -1
- package/dist/api/com/atproto/server/createSession.d.ts.map +1 -1
- package/dist/api/com/atproto/server/createSession.js.map +1 -1
- package/dist/api/com/atproto/server/deactivateAccount.d.ts +1 -1
- package/dist/api/com/atproto/server/deactivateAccount.d.ts.map +1 -1
- package/dist/api/com/atproto/server/deleteAccount.d.ts +1 -1
- package/dist/api/com/atproto/server/deleteAccount.d.ts.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.d.ts +1 -1
- package/dist/api/com/atproto/server/deleteSession.d.ts.map +1 -1
- package/dist/api/com/atproto/server/describeServer.d.ts +1 -1
- package/dist/api/com/atproto/server/describeServer.d.ts.map +1 -1
- package/dist/api/com/atproto/server/getAccountInviteCodes.d.ts +1 -1
- package/dist/api/com/atproto/server/getAccountInviteCodes.d.ts.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.d.ts +1 -1
- package/dist/api/com/atproto/server/getServiceAuth.d.ts.map +1 -1
- package/dist/api/com/atproto/server/getServiceAuth.js +2 -2
- package/dist/api/com/atproto/server/getServiceAuth.js.map +1 -1
- package/dist/api/com/atproto/server/getSession.d.ts +1 -1
- package/dist/api/com/atproto/server/getSession.d.ts.map +1 -1
- package/dist/api/com/atproto/server/getSession.js +2 -2
- package/dist/api/com/atproto/server/getSession.js.map +1 -1
- package/dist/api/com/atproto/server/index.d.ts +1 -1
- package/dist/api/com/atproto/server/index.d.ts.map +1 -1
- package/dist/api/com/atproto/server/index.js +17 -17
- package/dist/api/com/atproto/server/index.js.map +1 -1
- package/dist/api/com/atproto/server/listAppPasswords.d.ts +1 -1
- package/dist/api/com/atproto/server/listAppPasswords.d.ts.map +1 -1
- package/dist/api/com/atproto/server/listAppPasswords.js.map +1 -1
- package/dist/api/com/atproto/server/refreshSession.d.ts +1 -1
- package/dist/api/com/atproto/server/refreshSession.d.ts.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.d.ts +1 -1
- package/dist/api/com/atproto/server/requestAccountDelete.d.ts.map +1 -1
- package/dist/api/com/atproto/server/requestAccountDelete.js.map +1 -1
- package/dist/api/com/atproto/server/requestEmailConfirmation.d.ts +1 -1
- package/dist/api/com/atproto/server/requestEmailConfirmation.d.ts.map +1 -1
- package/dist/api/com/atproto/server/requestEmailConfirmation.js.map +1 -1
- package/dist/api/com/atproto/server/requestEmailUpdate.d.ts +1 -1
- package/dist/api/com/atproto/server/requestEmailUpdate.d.ts.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.d.ts +1 -1
- package/dist/api/com/atproto/server/requestPasswordReset.d.ts.map +1 -1
- package/dist/api/com/atproto/server/reserveSigningKey.d.ts +1 -1
- package/dist/api/com/atproto/server/reserveSigningKey.d.ts.map +1 -1
- package/dist/api/com/atproto/server/resetPassword.d.ts +1 -1
- package/dist/api/com/atproto/server/resetPassword.d.ts.map +1 -1
- package/dist/api/com/atproto/server/resetPassword.js.map +1 -1
- package/dist/api/com/atproto/server/revokeAppPassword.d.ts +1 -1
- package/dist/api/com/atproto/server/revokeAppPassword.d.ts.map +1 -1
- package/dist/api/com/atproto/server/revokeAppPassword.js.map +1 -1
- package/dist/api/com/atproto/server/updateEmail.d.ts +1 -1
- package/dist/api/com/atproto/server/updateEmail.d.ts.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 +1 -1
- package/dist/api/com/atproto/server/util.d.ts.map +1 -1
- package/dist/api/com/atproto/server/util.js +2 -2
- package/dist/api/com/atproto/server/util.js.map +1 -1
- package/dist/api/com/atproto/sync/deprecated/getCheckout.d.ts +1 -1
- package/dist/api/com/atproto/sync/deprecated/getCheckout.d.ts.map +1 -1
- package/dist/api/com/atproto/sync/deprecated/getHead.d.ts +1 -1
- package/dist/api/com/atproto/sync/deprecated/getHead.d.ts.map +1 -1
- package/dist/api/com/atproto/sync/getBlob.d.ts +1 -1
- package/dist/api/com/atproto/sync/getBlob.d.ts.map +1 -1
- package/dist/api/com/atproto/sync/getBlob.js +2 -2
- package/dist/api/com/atproto/sync/getBlob.js.map +1 -1
- package/dist/api/com/atproto/sync/getBlocks.d.ts +1 -1
- package/dist/api/com/atproto/sync/getBlocks.d.ts.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.d.ts +1 -1
- package/dist/api/com/atproto/sync/getLatestCommit.d.ts.map +1 -1
- package/dist/api/com/atproto/sync/getRecord.d.ts +1 -1
- package/dist/api/com/atproto/sync/getRecord.d.ts.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 +2 -2
- 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.d.ts +1 -1
- package/dist/api/com/atproto/sync/getRepoStatus.d.ts.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.d.ts +1 -1
- package/dist/api/com/atproto/sync/index.d.ts.map +1 -1
- package/dist/api/com/atproto/sync/index.js +4 -4
- package/dist/api/com/atproto/sync/index.js.map +1 -1
- package/dist/api/com/atproto/sync/listBlobs.d.ts +1 -1
- package/dist/api/com/atproto/sync/listBlobs.d.ts.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.d.ts +2 -2
- package/dist/api/com/atproto/sync/listRepos.d.ts.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.d.ts +1 -1
- package/dist/api/com/atproto/sync/subscribeRepos.d.ts.map +1 -1
- package/dist/api/com/atproto/sync/subscribeRepos.js +2 -5
- package/dist/api/com/atproto/sync/subscribeRepos.js.map +1 -1
- package/dist/api/com/atproto/sync/util.d.ts +1 -1
- package/dist/api/com/atproto/sync/util.d.ts.map +1 -1
- package/dist/api/com/atproto/temp/checkSignupQueue.d.ts +1 -1
- package/dist/api/com/atproto/temp/checkSignupQueue.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.d.ts +1 -1
- package/dist/api/com/atproto/temp/index.d.ts.map +1 -1
- package/dist/api/index.d.ts +1 -1
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +1 -1
- package/dist/api/index.js.map +1 -1
- package/dist/api/proxy.d.ts +1 -1
- package/dist/api/proxy.d.ts.map +1 -1
- package/dist/api/proxy.js.map +1 -1
- package/dist/auth-routes.d.ts +1 -1
- package/dist/auth-routes.d.ts.map +1 -1
- package/dist/auth-routes.js +1 -1
- package/dist/auth-routes.js.map +1 -1
- package/dist/auth-verifier.d.ts +1 -1
- package/dist/auth-verifier.d.ts.map +1 -1
- package/dist/auth-verifier.js +2 -2
- package/dist/auth-verifier.js.map +1 -1
- package/dist/basic-routes.d.ts +3 -3
- package/dist/basic-routes.d.ts.map +1 -1
- package/dist/basic-routes.js +2 -5
- package/dist/basic-routes.js.map +1 -1
- package/dist/bsky-app-view.d.ts +15 -0
- package/dist/bsky-app-view.d.ts.map +1 -0
- package/dist/bsky-app-view.js +43 -0
- package/dist/bsky-app-view.js.map +1 -0
- package/dist/config/config.js +1 -1
- package/dist/config/config.js.map +1 -1
- package/dist/context.d.ts +15 -15
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js +30 -36
- package/dist/context.js.map +1 -1
- package/dist/crawlers.d.ts.map +1 -1
- package/dist/crawlers.js +1 -1
- package/dist/crawlers.js.map +1 -1
- package/dist/db/db.d.ts +2 -2
- package/dist/db/db.d.ts.map +1 -1
- package/dist/db/db.js +4 -4
- package/dist/db/db.js.map +1 -1
- package/dist/db/migrator.d.ts +1 -1
- package/dist/db/migrator.d.ts.map +1 -1
- package/dist/db/tables/moderation.d.ts +1 -1
- package/dist/db/tables/moderation.d.ts.map +1 -1
- package/dist/db/util.d.ts.map +1 -1
- package/dist/db/util.js +1 -1
- package/dist/db/util.js.map +1 -1
- package/dist/did-cache/db/index.d.ts.map +1 -1
- package/dist/did-cache/db/index.js.map +1 -1
- package/dist/disk-blobstore.d.ts +1 -2
- package/dist/disk-blobstore.d.ts.map +1 -1
- package/dist/disk-blobstore.js +17 -18
- package/dist/disk-blobstore.js.map +1 -1
- package/dist/error.d.ts.map +1 -1
- package/dist/error.js +1 -1
- package/dist/error.js.map +1 -1
- package/dist/handle/index.d.ts +1 -1
- package/dist/handle/index.d.ts.map +1 -1
- package/dist/handle/index.js +1 -1
- package/dist/handle/index.js.map +1 -1
- package/dist/image/image-url-builder.d.ts +8 -0
- package/dist/image/image-url-builder.d.ts.map +1 -0
- package/dist/image/image-url-builder.js +26 -0
- package/dist/image/image-url-builder.js.map +1 -0
- package/dist/image/index.d.ts +1 -1
- package/dist/image/index.d.ts.map +1 -1
- package/dist/image/index.js +1 -1
- package/dist/image/index.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -10
- package/dist/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +68 -4
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +39 -0
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts +19 -1
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/defs.js +10 -0
- package/dist/lexicon/types/app/bsky/actor/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/feed/postgate.d.ts +1 -0
- package/dist/lexicon/types/app/bsky/feed/postgate.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/feed/postgate.js.map +1 -1
- package/dist/lexicon/types/app/bsky/feed/threadgate.d.ts +8 -1
- package/dist/lexicon/types/app/bsky/feed/threadgate.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/feed/threadgate.js +10 -0
- package/dist/lexicon/types/app/bsky/feed/threadgate.js.map +1 -1
- package/dist/logger.js +2 -5
- package/dist/logger.js.map +1 -1
- package/dist/mailer/index.d.ts.map +1 -1
- package/dist/mailer/index.js.map +1 -1
- package/dist/mailer/moderation.d.ts.map +1 -1
- package/dist/mailer/moderation.js.map +1 -1
- package/dist/oauth/provider.d.ts +1 -5
- package/dist/oauth/provider.d.ts.map +1 -1
- package/dist/oauth/provider.js +2 -6
- package/dist/oauth/provider.js.map +1 -1
- package/dist/pipethrough.d.ts +2 -2
- package/dist/pipethrough.d.ts.map +1 -1
- package/dist/pipethrough.js +1 -1
- package/dist/pipethrough.js.map +1 -1
- package/dist/read-after-write/types.d.ts +3 -3
- package/dist/read-after-write/types.d.ts.map +1 -1
- package/dist/read-after-write/util.d.ts +2 -2
- package/dist/read-after-write/util.d.ts.map +1 -1
- package/dist/read-after-write/util.js +1 -2
- package/dist/read-after-write/util.js.map +1 -1
- package/dist/read-after-write/viewer.d.ts +16 -31
- package/dist/read-after-write/viewer.d.ts.map +1 -1
- package/dist/read-after-write/viewer.js +28 -110
- package/dist/read-after-write/viewer.js.map +1 -1
- package/dist/redis.js +2 -2
- package/dist/redis.js.map +1 -1
- package/dist/repo/prepare.d.ts +2 -2
- package/dist/repo/prepare.d.ts.map +1 -1
- package/dist/repo/prepare.js +6 -6
- package/dist/repo/prepare.js.map +1 -1
- package/dist/repo/types.d.ts +2 -2
- package/dist/repo/types.d.ts.map +1 -1
- package/dist/scripts/rebuild-repo.d.ts +1 -1
- package/dist/scripts/rebuild-repo.d.ts.map +1 -1
- package/dist/scripts/rebuild-repo.js +3 -46
- package/dist/scripts/rebuild-repo.js.map +1 -1
- package/dist/sequencer/db/index.d.ts.map +1 -1
- package/dist/sequencer/db/index.js.map +1 -1
- package/dist/sequencer/events.d.ts +7 -7
- package/dist/sequencer/events.d.ts.map +1 -1
- package/dist/sequencer/events.js.map +1 -1
- package/dist/sequencer/outbox.d.ts +1 -2
- package/dist/sequencer/outbox.d.ts.map +1 -1
- package/dist/sequencer/outbox.js +0 -1
- package/dist/sequencer/outbox.js.map +1 -1
- package/dist/sequencer/sequencer.d.ts +4 -4
- package/dist/sequencer/sequencer.d.ts.map +1 -1
- package/dist/sequencer/sequencer.js +9 -9
- package/dist/sequencer/sequencer.js.map +1 -1
- package/dist/util/compression.js.map +1 -1
- package/dist/util/params.d.ts.map +1 -1
- package/dist/util/params.js +1 -1
- package/dist/util/params.js.map +1 -1
- package/dist/well-known.d.ts +3 -3
- package/dist/well-known.d.ts.map +1 -1
- package/dist/well-known.js +2 -5
- package/dist/well-known.js.map +1 -1
- package/package.json +21 -18
- package/src/account-manager/db/index.ts +1 -1
- package/src/account-manager/db/schema/authorization-request.ts +1 -1
- package/src/account-manager/db/schema/device.ts +1 -1
- package/src/account-manager/db/schema/index.ts +7 -7
- package/src/account-manager/db/schema/token.ts +1 -2
- package/src/account-manager/db/schema/used-refresh-token.ts +1 -1
- package/src/account-manager/helpers/account.ts +2 -2
- package/src/account-manager/helpers/authorization-request.ts +2 -2
- package/src/account-manager/helpers/device-account.ts +1 -2
- package/src/account-manager/helpers/device.ts +3 -3
- package/src/account-manager/helpers/email-token.ts +1 -1
- package/src/account-manager/helpers/invite.ts +1 -1
- package/src/account-manager/helpers/password.ts +2 -2
- package/src/account-manager/helpers/scrypt.ts +2 -2
- package/src/account-manager/helpers/token.ts +1 -1
- package/src/account-manager/index.ts +38 -8
- package/src/actor-store/actor-store-reader.ts +45 -0
- package/src/actor-store/actor-store-resources.ts +8 -0
- package/src/actor-store/actor-store-transactor.ts +31 -0
- package/src/actor-store/actor-store-writer.ts +17 -0
- package/src/actor-store/{index.ts → actor-store.ts} +26 -117
- package/src/actor-store/blob/reader.ts +17 -2
- package/src/actor-store/blob/transactor.ts +25 -10
- package/src/actor-store/db/index.ts +1 -1
- package/src/actor-store/db/schema/index.ts +3 -3
- package/src/actor-store/migrate.ts +1 -1
- package/src/actor-store/preference/transactor.ts +2 -2
- package/src/actor-store/record/reader.ts +125 -4
- package/src/actor-store/record/transactor.ts +3 -3
- package/src/actor-store/repo/reader.ts +1 -1
- package/src/actor-store/repo/sql-repo-reader.ts +7 -6
- package/src/actor-store/repo/sql-repo-transactor.ts +2 -2
- package/src/actor-store/repo/transactor.ts +16 -9
- package/src/api/app/bsky/actor/getPreferences.ts +4 -3
- package/src/api/app/bsky/actor/getProfile.ts +4 -4
- package/src/api/app/bsky/actor/getProfiles.ts +4 -4
- package/src/api/app/bsky/actor/index.ts +1 -2
- package/src/api/app/bsky/actor/putPreferences.ts +4 -3
- package/src/api/app/bsky/feed/getActorLikes.ts +4 -4
- package/src/api/app/bsky/feed/getAuthorFeed.ts +5 -5
- package/src/api/app/bsky/feed/getFeed.ts +8 -8
- package/src/api/app/bsky/feed/getPostThread.ts +14 -14
- package/src/api/app/bsky/feed/getTimeline.ts +4 -4
- package/src/api/app/bsky/feed/index.ts +1 -1
- package/src/api/app/bsky/index.ts +1 -1
- package/src/api/app/bsky/notification/index.ts +1 -1
- package/src/api/app/bsky/notification/registerPush.ts +9 -8
- package/src/api/app/bsky/util/resolver.ts +1 -1
- package/src/api/com/atproto/admin/deleteAccount.ts +2 -2
- package/src/api/com/atproto/admin/disableAccountInvites.ts +1 -1
- package/src/api/com/atproto/admin/disableInviteCodes.ts +1 -1
- package/src/api/com/atproto/admin/enableAccountInvites.ts +1 -1
- package/src/api/com/atproto/admin/getAccountInfo.ts +2 -3
- package/src/api/com/atproto/admin/getAccountInfos.ts +1 -1
- package/src/api/com/atproto/admin/getInviteCodes.ts +4 -4
- package/src/api/com/atproto/admin/getSubjectStatus.ts +1 -1
- package/src/api/com/atproto/admin/index.ts +9 -9
- package/src/api/com/atproto/admin/sendEmail.ts +2 -2
- package/src/api/com/atproto/admin/updateAccountEmail.ts +1 -1
- package/src/api/com/atproto/admin/updateAccountHandle.ts +1 -1
- package/src/api/com/atproto/admin/updateAccountPassword.ts +1 -1
- package/src/api/com/atproto/admin/updateSubjectStatus.ts +3 -3
- package/src/api/com/atproto/admin/util.ts +1 -1
- package/src/api/com/atproto/identity/getRecommendedDidCredentials.ts +1 -1
- package/src/api/com/atproto/identity/index.ts +3 -3
- package/src/api/com/atproto/identity/requestPlcOperationSignature.ts +2 -4
- package/src/api/com/atproto/identity/resolveHandle.ts +12 -16
- package/src/api/com/atproto/identity/signPlcOperation.ts +2 -4
- package/src/api/com/atproto/identity/submitPlcOperation.ts +2 -2
- package/src/api/com/atproto/identity/updateHandle.ts +3 -3
- package/src/api/com/atproto/index.ts +1 -1
- package/src/api/com/atproto/moderation/createReport.ts +4 -4
- package/src/api/com/atproto/moderation/index.ts +1 -1
- package/src/api/com/atproto/repo/applyWrites.ts +9 -7
- package/src/api/com/atproto/repo/createRecord.ts +4 -3
- package/src/api/com/atproto/repo/deleteRecord.ts +7 -4
- package/src/api/com/atproto/repo/describeRepo.ts +3 -3
- package/src/api/com/atproto/repo/getRecord.ts +2 -2
- package/src/api/com/atproto/repo/importRepo.ts +12 -27
- package/src/api/com/atproto/repo/index.ts +3 -3
- package/src/api/com/atproto/repo/listMissingBlobs.ts +1 -1
- package/src/api/com/atproto/repo/listRecords.ts +2 -2
- package/src/api/com/atproto/repo/putRecord.ts +8 -7
- package/src/api/com/atproto/repo/uploadBlob.ts +2 -2
- package/src/api/com/atproto/server/activateAccount.ts +2 -3
- package/src/api/com/atproto/server/checkAccountStatus.ts +1 -1
- package/src/api/com/atproto/server/confirmEmail.ts +1 -3
- package/src/api/com/atproto/server/createAccount.ts +6 -7
- package/src/api/com/atproto/server/createAppPassword.ts +1 -2
- package/src/api/com/atproto/server/createInviteCode.ts +1 -1
- package/src/api/com/atproto/server/createInviteCodes.ts +2 -2
- package/src/api/com/atproto/server/createSession.ts +1 -2
- package/src/api/com/atproto/server/deactivateAccount.ts +1 -1
- package/src/api/com/atproto/server/deleteAccount.ts +2 -2
- package/src/api/com/atproto/server/deleteSession.ts +1 -1
- package/src/api/com/atproto/server/describeServer.ts +1 -1
- package/src/api/com/atproto/server/getAccountInviteCodes.ts +2 -4
- package/src/api/com/atproto/server/getServiceAuth.ts +4 -4
- package/src/api/com/atproto/server/getSession.ts +3 -4
- package/src/api/com/atproto/server/index.ts +18 -27
- package/src/api/com/atproto/server/listAppPasswords.ts +1 -2
- package/src/api/com/atproto/server/refreshSession.ts +2 -3
- package/src/api/com/atproto/server/requestAccountDelete.ts +1 -3
- package/src/api/com/atproto/server/requestEmailConfirmation.ts +1 -3
- package/src/api/com/atproto/server/requestEmailUpdate.ts +2 -4
- package/src/api/com/atproto/server/requestPasswordReset.ts +1 -1
- package/src/api/com/atproto/server/reserveSigningKey.ts +1 -1
- package/src/api/com/atproto/server/resetPassword.ts +2 -2
- package/src/api/com/atproto/server/revokeAppPassword.ts +1 -2
- package/src/api/com/atproto/server/updateEmail.ts +2 -4
- package/src/api/com/atproto/server/util.ts +3 -3
- package/src/api/com/atproto/sync/deprecated/getCheckout.ts +1 -1
- package/src/api/com/atproto/sync/deprecated/getHead.ts +1 -1
- package/src/api/com/atproto/sync/getBlob.ts +4 -4
- package/src/api/com/atproto/sync/getBlocks.ts +2 -2
- package/src/api/com/atproto/sync/getLatestCommit.ts +1 -1
- package/src/api/com/atproto/sync/getRecord.ts +4 -4
- package/src/api/com/atproto/sync/getRepo.ts +4 -4
- package/src/api/com/atproto/sync/getRepoStatus.ts +2 -2
- package/src/api/com/atproto/sync/index.ts +5 -5
- package/src/api/com/atproto/sync/listBlobs.ts +2 -2
- package/src/api/com/atproto/sync/listRepos.ts +3 -3
- package/src/api/com/atproto/sync/subscribeRepos.ts +2 -2
- package/src/api/com/atproto/sync/util.ts +1 -1
- package/src/api/com/atproto/temp/checkSignupQueue.ts +2 -2
- package/src/api/com/atproto/temp/index.ts +1 -1
- package/src/api/index.ts +2 -2
- package/src/api/proxy.ts +1 -1
- package/src/auth-routes.ts +2 -3
- package/src/auth-verifier.ts +2 -3
- package/src/basic-routes.ts +4 -4
- package/src/bsky-app-view.ts +26 -0
- package/src/config/config.ts +1 -1
- package/src/config/env.ts +1 -1
- package/src/context.ts +49 -46
- package/src/crawlers.ts +1 -1
- package/src/db/db.ts +7 -7
- package/src/db/migrator.ts +1 -1
- package/src/db/tables/moderation.ts +2 -2
- package/src/db/util.ts +2 -2
- package/src/did-cache/db/index.ts +1 -1
- package/src/did-cache/index.ts +1 -1
- package/src/disk-blobstore.ts +6 -8
- package/src/error.ts +2 -2
- package/src/handle/index.ts +2 -2
- package/src/image/image-url-builder.ts +16 -0
- package/src/image/index.ts +2 -2
- package/src/index.ts +15 -13
- package/src/lexicon/lexicons.ts +44 -0
- package/src/lexicon/types/app/bsky/actor/defs.ts +37 -0
- package/src/lexicon/types/app/bsky/feed/postgate.ts +1 -0
- package/src/lexicon/types/app/bsky/feed/threadgate.ts +19 -0
- package/src/logger.ts +1 -1
- package/src/mailer/index.ts +1 -2
- package/src/mailer/moderation.ts +1 -1
- package/src/mailer/templates/confirm-email.d.ts +1 -1
- package/src/mailer/templates/delete-account.d.ts +1 -1
- package/src/mailer/templates/plc-operation.d.ts +1 -1
- package/src/mailer/templates/reset-password.d.ts +1 -1
- package/src/mailer/templates/update-email.d.ts +1 -1
- package/src/oauth/provider.ts +1 -17
- package/src/pipethrough.ts +4 -6
- package/src/read-after-write/types.ts +3 -3
- package/src/read-after-write/util.ts +3 -5
- package/src/read-after-write/viewer.ts +50 -124
- package/src/redis.ts +1 -1
- package/src/repo/prepare.ts +18 -18
- package/src/repo/types.ts +2 -2
- package/src/scripts/rebuild-repo.ts +4 -61
- package/src/sequencer/db/index.ts +1 -1
- package/src/sequencer/events.ts +3 -3
- package/src/sequencer/outbox.ts +1 -3
- package/src/sequencer/sequencer.ts +12 -12
- package/src/util/compression.ts +1 -1
- package/src/util/params.ts +1 -1
- package/src/well-known.ts +4 -4
- package/tests/_util.ts +5 -5
- package/tests/account-deletion.test.ts +7 -7
- package/tests/account-migration.test.ts +3 -3
- package/tests/account.test.ts +2 -2
- package/tests/app-passwords.test.ts +1 -1
- package/tests/blob-deletes.test.ts +4 -6
- package/tests/create-post.test.ts +3 -3
- package/tests/crud.test.ts +12 -16
- package/tests/email-confirmation.test.ts +5 -5
- package/tests/entryway.test.ts +5 -5
- package/tests/file-uploads.test.ts +7 -7
- package/tests/handles.test.ts +3 -3
- package/tests/invites-admin.test.ts +1 -1
- package/tests/moderation.test.ts +2 -2
- package/tests/moderator-auth.test.ts +4 -4
- package/tests/oauth.test.ts +4 -4
- package/tests/plc-operations.test.ts +6 -6
- package/tests/preferences.test.ts +2 -2
- package/tests/proxied/admin.test.ts +2 -2
- package/tests/proxied/feedgen.test.ts +4 -4
- package/tests/proxied/notif.test.ts +5 -5
- package/tests/proxied/procedures.test.ts +1 -1
- package/tests/proxied/proxy-catchall.test.ts +6 -6
- package/tests/proxied/proxy-header.test.ts +5 -5
- package/tests/proxied/read-after-write.test.ts +6 -6
- package/tests/proxied/views.test.ts +3 -3
- package/tests/races.test.ts +2 -2
- package/tests/rate-limits.test.ts +1 -1
- package/tests/sequencer.test.ts +7 -7
- package/tests/server.test.ts +4 -4
- package/tests/sync/list.test.ts +1 -1
- package/tests/sync/subscribe-repos.test.ts +9 -9
- package/tests/sync/sync.test.ts +3 -3
- package/tests/takedown-appeal.test.ts +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
- package/dist/actor-store/index.d.ts +0 -65
- package/dist/actor-store/index.d.ts.map +0 -1
- package/dist/actor-store/index.js.map +0 -1
- package/dist/oauth/detailed-account-store.d.ts +0 -27
- package/dist/oauth/detailed-account-store.d.ts.map +0 -1
- package/dist/oauth/detailed-account-store.js +0 -76
- package/dist/oauth/detailed-account-store.js.map +0 -1
- package/src/oauth/detailed-account-store.ts +0 -96
@@ -1,5 +1,5 @@
|
|
1
|
-
import { Code, NewTokenData, RefreshToken, TokenData, TokenId, TokenInfo } from '@atproto/oauth-provider';
|
2
1
|
import { Selectable } from 'kysely';
|
2
|
+
import { Code, NewTokenData, RefreshToken, TokenData, TokenId, TokenInfo } from '@atproto/oauth-provider';
|
3
3
|
import { AccountDb, Token } from '../db';
|
4
4
|
import { ActorAccount } from './account';
|
5
5
|
import { SelectableDeviceAccount } from './device-account';
|
@@ -16,468 +16,468 @@ export declare const findByQB: (db: AccountDb, search: {
|
|
16
16
|
tokenId?: TokenId;
|
17
17
|
currentRefreshToken?: RefreshToken;
|
18
18
|
}) => import("kysely").SelectQueryBuilder<{
|
19
|
+
repo_root: import("../db").RepoRoot;
|
19
20
|
token: Token;
|
20
21
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
21
22
|
actor: import("../db").Actor;
|
22
|
-
device: import("../db").Device;
|
23
|
-
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
24
|
-
authorization_request: import("../db").AuthorizationRequest;
|
25
|
-
used_refresh_token: import("../db").UsedRefreshToken;
|
26
|
-
repo_root: import("../db").RepoRoot;
|
27
|
-
refresh_token: import("../db").RefreshToken;
|
28
23
|
app_password: import("../db").AppPassword;
|
29
24
|
invite_code: import("../db").InviteCode;
|
30
25
|
invite_code_use: import("../db").InviteCodeUse;
|
26
|
+
refresh_token: import("../db").RefreshToken;
|
31
27
|
email_token: import("../db").EmailToken;
|
28
|
+
authorization_request: import("../db").AuthorizationRequest;
|
29
|
+
device: import("../db").Device;
|
30
|
+
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
31
|
+
used_refresh_token: import("../db").UsedRefreshToken;
|
32
32
|
}, "token" | "account" | "actor" | "device_account", import("kysely/dist/cjs/util/type-utils").MergePartial<import("kysely/dist/cjs/util/type-utils").MergePartial<import("kysely/dist/cjs/util/type-utils").MergePartial<import("kysely/dist/cjs/util/type-utils").MergePartial<Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
33
|
+
repo_root: import("../db").RepoRoot;
|
33
34
|
token: Token;
|
34
35
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
35
36
|
actor: import("../db").Actor;
|
37
|
+
app_password: import("../db").AppPassword;
|
38
|
+
invite_code: import("../db").InviteCode;
|
39
|
+
invite_code_use: import("../db").InviteCodeUse;
|
40
|
+
refresh_token: import("../db").RefreshToken;
|
41
|
+
email_token: import("../db").EmailToken;
|
42
|
+
authorization_request: import("../db").AuthorizationRequest;
|
36
43
|
device: import("../db").Device;
|
37
44
|
device_account: import("../db").DeviceAccount;
|
38
|
-
authorization_request: import("../db").AuthorizationRequest;
|
39
45
|
used_refresh_token: import("../db").UsedRefreshToken;
|
46
|
+
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.takedownRef" | "actor.createdAt" | "actor.handle" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
40
47
|
repo_root: import("../db").RepoRoot;
|
41
|
-
|
48
|
+
token: Token;
|
49
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
50
|
+
actor: import("../db").Actor;
|
42
51
|
app_password: import("../db").AppPassword;
|
43
52
|
invite_code: import("../db").InviteCode;
|
44
53
|
invite_code_use: import("../db").InviteCodeUse;
|
54
|
+
refresh_token: import("../db").RefreshToken;
|
45
55
|
email_token: import("../db").EmailToken;
|
46
|
-
|
47
|
-
token: Token;
|
48
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
49
|
-
actor: import("../db").Actor;
|
56
|
+
authorization_request: import("../db").AuthorizationRequest;
|
50
57
|
device: import("../db").Device;
|
51
58
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
52
|
-
authorization_request: import("../db").AuthorizationRequest;
|
53
59
|
used_refresh_token: import("../db").UsedRefreshToken;
|
60
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.createdAt" | "token.tokenId" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.currentRefreshToken">, Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
54
61
|
repo_root: import("../db").RepoRoot;
|
55
|
-
|
62
|
+
token: Token;
|
63
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
64
|
+
actor: import("../db").Actor;
|
56
65
|
app_password: import("../db").AppPassword;
|
57
66
|
invite_code: import("../db").InviteCode;
|
58
67
|
invite_code_use: import("../db").InviteCodeUse;
|
68
|
+
refresh_token: import("../db").RefreshToken;
|
59
69
|
email_token: import("../db").EmailToken;
|
60
|
-
|
61
|
-
token: Token;
|
62
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
63
|
-
actor: import("../db").Actor;
|
70
|
+
authorization_request: import("../db").AuthorizationRequest;
|
64
71
|
device: import("../db").Device;
|
65
72
|
device_account: import("../db").DeviceAccount;
|
66
|
-
authorization_request: import("../db").AuthorizationRequest;
|
67
73
|
used_refresh_token: import("../db").UsedRefreshToken;
|
74
|
+
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.takedownRef" | "actor.createdAt" | "actor.handle" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
68
75
|
repo_root: import("../db").RepoRoot;
|
69
|
-
|
76
|
+
token: Token;
|
77
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
78
|
+
actor: import("../db").Actor;
|
70
79
|
app_password: import("../db").AppPassword;
|
71
80
|
invite_code: import("../db").InviteCode;
|
72
81
|
invite_code_use: import("../db").InviteCodeUse;
|
82
|
+
refresh_token: import("../db").RefreshToken;
|
73
83
|
email_token: import("../db").EmailToken;
|
74
|
-
|
75
|
-
token: Token;
|
76
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
77
|
-
actor: import("../db").Actor;
|
84
|
+
authorization_request: import("../db").AuthorizationRequest;
|
78
85
|
device: import("../db").Device;
|
79
86
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
80
|
-
authorization_request: import("../db").AuthorizationRequest;
|
81
87
|
used_refresh_token: import("../db").UsedRefreshToken;
|
88
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.createdAt" | "token.tokenId" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.currentRefreshToken">>, import("kysely/dist/cjs/util/type-utils").MergePartial<Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
82
89
|
repo_root: import("../db").RepoRoot;
|
83
|
-
|
90
|
+
token: Token;
|
91
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
92
|
+
actor: import("../db").Actor;
|
84
93
|
app_password: import("../db").AppPassword;
|
85
94
|
invite_code: import("../db").InviteCode;
|
86
95
|
invite_code_use: import("../db").InviteCodeUse;
|
96
|
+
refresh_token: import("../db").RefreshToken;
|
87
97
|
email_token: import("../db").EmailToken;
|
88
|
-
|
89
|
-
token: Token;
|
90
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
91
|
-
actor: import("../db").Actor;
|
98
|
+
authorization_request: import("../db").AuthorizationRequest;
|
92
99
|
device: import("../db").Device;
|
93
100
|
device_account: import("../db").DeviceAccount;
|
94
|
-
authorization_request: import("../db").AuthorizationRequest;
|
95
101
|
used_refresh_token: import("../db").UsedRefreshToken;
|
102
|
+
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.takedownRef" | "actor.createdAt" | "actor.handle" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
96
103
|
repo_root: import("../db").RepoRoot;
|
97
|
-
|
104
|
+
token: Token;
|
105
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
106
|
+
actor: import("../db").Actor;
|
98
107
|
app_password: import("../db").AppPassword;
|
99
108
|
invite_code: import("../db").InviteCode;
|
100
109
|
invite_code_use: import("../db").InviteCodeUse;
|
110
|
+
refresh_token: import("../db").RefreshToken;
|
101
111
|
email_token: import("../db").EmailToken;
|
102
|
-
|
103
|
-
token: Token;
|
104
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
105
|
-
actor: import("../db").Actor;
|
112
|
+
authorization_request: import("../db").AuthorizationRequest;
|
106
113
|
device: import("../db").Device;
|
107
114
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
108
|
-
authorization_request: import("../db").AuthorizationRequest;
|
109
115
|
used_refresh_token: import("../db").UsedRefreshToken;
|
116
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.createdAt" | "token.tokenId" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.currentRefreshToken">, Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
110
117
|
repo_root: import("../db").RepoRoot;
|
111
|
-
|
118
|
+
token: Token;
|
119
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
120
|
+
actor: import("../db").Actor;
|
112
121
|
app_password: import("../db").AppPassword;
|
113
122
|
invite_code: import("../db").InviteCode;
|
114
123
|
invite_code_use: import("../db").InviteCodeUse;
|
124
|
+
refresh_token: import("../db").RefreshToken;
|
115
125
|
email_token: import("../db").EmailToken;
|
116
|
-
|
117
|
-
token: Token;
|
118
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
119
|
-
actor: import("../db").Actor;
|
126
|
+
authorization_request: import("../db").AuthorizationRequest;
|
120
127
|
device: import("../db").Device;
|
121
128
|
device_account: import("../db").DeviceAccount;
|
122
|
-
authorization_request: import("../db").AuthorizationRequest;
|
123
129
|
used_refresh_token: import("../db").UsedRefreshToken;
|
130
|
+
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.takedownRef" | "actor.createdAt" | "actor.handle" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
124
131
|
repo_root: import("../db").RepoRoot;
|
125
|
-
|
132
|
+
token: Token;
|
133
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
134
|
+
actor: import("../db").Actor;
|
126
135
|
app_password: import("../db").AppPassword;
|
127
136
|
invite_code: import("../db").InviteCode;
|
128
137
|
invite_code_use: import("../db").InviteCodeUse;
|
138
|
+
refresh_token: import("../db").RefreshToken;
|
129
139
|
email_token: import("../db").EmailToken;
|
130
|
-
|
131
|
-
token: Token;
|
132
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
133
|
-
actor: import("../db").Actor;
|
140
|
+
authorization_request: import("../db").AuthorizationRequest;
|
134
141
|
device: import("../db").Device;
|
135
142
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
136
|
-
authorization_request: import("../db").AuthorizationRequest;
|
137
143
|
used_refresh_token: import("../db").UsedRefreshToken;
|
144
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.createdAt" | "token.tokenId" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.currentRefreshToken">>>, import("kysely/dist/cjs/util/type-utils").MergePartial<import("kysely/dist/cjs/util/type-utils").MergePartial<Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
138
145
|
repo_root: import("../db").RepoRoot;
|
139
|
-
|
146
|
+
token: Token;
|
147
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
148
|
+
actor: import("../db").Actor;
|
140
149
|
app_password: import("../db").AppPassword;
|
141
150
|
invite_code: import("../db").InviteCode;
|
142
151
|
invite_code_use: import("../db").InviteCodeUse;
|
152
|
+
refresh_token: import("../db").RefreshToken;
|
143
153
|
email_token: import("../db").EmailToken;
|
144
|
-
|
145
|
-
token: Token;
|
146
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
147
|
-
actor: import("../db").Actor;
|
154
|
+
authorization_request: import("../db").AuthorizationRequest;
|
148
155
|
device: import("../db").Device;
|
149
156
|
device_account: import("../db").DeviceAccount;
|
150
|
-
authorization_request: import("../db").AuthorizationRequest;
|
151
157
|
used_refresh_token: import("../db").UsedRefreshToken;
|
158
|
+
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.takedownRef" | "actor.createdAt" | "actor.handle" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
152
159
|
repo_root: import("../db").RepoRoot;
|
153
|
-
|
160
|
+
token: Token;
|
161
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
162
|
+
actor: import("../db").Actor;
|
154
163
|
app_password: import("../db").AppPassword;
|
155
164
|
invite_code: import("../db").InviteCode;
|
156
165
|
invite_code_use: import("../db").InviteCodeUse;
|
166
|
+
refresh_token: import("../db").RefreshToken;
|
157
167
|
email_token: import("../db").EmailToken;
|
158
|
-
|
159
|
-
token: Token;
|
160
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
161
|
-
actor: import("../db").Actor;
|
168
|
+
authorization_request: import("../db").AuthorizationRequest;
|
162
169
|
device: import("../db").Device;
|
163
170
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
164
|
-
authorization_request: import("../db").AuthorizationRequest;
|
165
171
|
used_refresh_token: import("../db").UsedRefreshToken;
|
172
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.createdAt" | "token.tokenId" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.currentRefreshToken">, Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
166
173
|
repo_root: import("../db").RepoRoot;
|
167
|
-
|
174
|
+
token: Token;
|
175
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
176
|
+
actor: import("../db").Actor;
|
168
177
|
app_password: import("../db").AppPassword;
|
169
178
|
invite_code: import("../db").InviteCode;
|
170
179
|
invite_code_use: import("../db").InviteCodeUse;
|
180
|
+
refresh_token: import("../db").RefreshToken;
|
171
181
|
email_token: import("../db").EmailToken;
|
172
|
-
|
173
|
-
token: Token;
|
174
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
175
|
-
actor: import("../db").Actor;
|
182
|
+
authorization_request: import("../db").AuthorizationRequest;
|
176
183
|
device: import("../db").Device;
|
177
184
|
device_account: import("../db").DeviceAccount;
|
178
|
-
authorization_request: import("../db").AuthorizationRequest;
|
179
185
|
used_refresh_token: import("../db").UsedRefreshToken;
|
186
|
+
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.takedownRef" | "actor.createdAt" | "actor.handle" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
180
187
|
repo_root: import("../db").RepoRoot;
|
181
|
-
|
188
|
+
token: Token;
|
189
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
190
|
+
actor: import("../db").Actor;
|
182
191
|
app_password: import("../db").AppPassword;
|
183
192
|
invite_code: import("../db").InviteCode;
|
184
193
|
invite_code_use: import("../db").InviteCodeUse;
|
194
|
+
refresh_token: import("../db").RefreshToken;
|
185
195
|
email_token: import("../db").EmailToken;
|
186
|
-
|
187
|
-
token: Token;
|
188
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
189
|
-
actor: import("../db").Actor;
|
196
|
+
authorization_request: import("../db").AuthorizationRequest;
|
190
197
|
device: import("../db").Device;
|
191
198
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
192
|
-
authorization_request: import("../db").AuthorizationRequest;
|
193
199
|
used_refresh_token: import("../db").UsedRefreshToken;
|
200
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.createdAt" | "token.tokenId" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.currentRefreshToken">>, import("kysely/dist/cjs/util/type-utils").MergePartial<Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
194
201
|
repo_root: import("../db").RepoRoot;
|
195
|
-
|
202
|
+
token: Token;
|
203
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
204
|
+
actor: import("../db").Actor;
|
196
205
|
app_password: import("../db").AppPassword;
|
197
206
|
invite_code: import("../db").InviteCode;
|
198
207
|
invite_code_use: import("../db").InviteCodeUse;
|
208
|
+
refresh_token: import("../db").RefreshToken;
|
199
209
|
email_token: import("../db").EmailToken;
|
200
|
-
|
201
|
-
token: Token;
|
202
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
203
|
-
actor: import("../db").Actor;
|
210
|
+
authorization_request: import("../db").AuthorizationRequest;
|
204
211
|
device: import("../db").Device;
|
205
212
|
device_account: import("../db").DeviceAccount;
|
206
|
-
authorization_request: import("../db").AuthorizationRequest;
|
207
213
|
used_refresh_token: import("../db").UsedRefreshToken;
|
214
|
+
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.takedownRef" | "actor.createdAt" | "actor.handle" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
208
215
|
repo_root: import("../db").RepoRoot;
|
209
|
-
|
216
|
+
token: Token;
|
217
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
218
|
+
actor: import("../db").Actor;
|
210
219
|
app_password: import("../db").AppPassword;
|
211
220
|
invite_code: import("../db").InviteCode;
|
212
221
|
invite_code_use: import("../db").InviteCodeUse;
|
222
|
+
refresh_token: import("../db").RefreshToken;
|
213
223
|
email_token: import("../db").EmailToken;
|
214
|
-
|
215
|
-
token: Token;
|
216
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
217
|
-
actor: import("../db").Actor;
|
224
|
+
authorization_request: import("../db").AuthorizationRequest;
|
218
225
|
device: import("../db").Device;
|
219
226
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
220
|
-
authorization_request: import("../db").AuthorizationRequest;
|
221
227
|
used_refresh_token: import("../db").UsedRefreshToken;
|
228
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.createdAt" | "token.tokenId" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.currentRefreshToken">, Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
222
229
|
repo_root: import("../db").RepoRoot;
|
223
|
-
|
230
|
+
token: Token;
|
231
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
232
|
+
actor: import("../db").Actor;
|
224
233
|
app_password: import("../db").AppPassword;
|
225
234
|
invite_code: import("../db").InviteCode;
|
226
235
|
invite_code_use: import("../db").InviteCodeUse;
|
236
|
+
refresh_token: import("../db").RefreshToken;
|
227
237
|
email_token: import("../db").EmailToken;
|
228
|
-
|
229
|
-
token: Token;
|
230
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
231
|
-
actor: import("../db").Actor;
|
238
|
+
authorization_request: import("../db").AuthorizationRequest;
|
232
239
|
device: import("../db").Device;
|
233
240
|
device_account: import("../db").DeviceAccount;
|
234
|
-
authorization_request: import("../db").AuthorizationRequest;
|
235
241
|
used_refresh_token: import("../db").UsedRefreshToken;
|
242
|
+
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.takedownRef" | "actor.createdAt" | "actor.handle" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
236
243
|
repo_root: import("../db").RepoRoot;
|
237
|
-
|
244
|
+
token: Token;
|
245
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
246
|
+
actor: import("../db").Actor;
|
238
247
|
app_password: import("../db").AppPassword;
|
239
248
|
invite_code: import("../db").InviteCode;
|
240
249
|
invite_code_use: import("../db").InviteCodeUse;
|
250
|
+
refresh_token: import("../db").RefreshToken;
|
241
251
|
email_token: import("../db").EmailToken;
|
242
|
-
|
243
|
-
token: Token;
|
244
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
245
|
-
actor: import("../db").Actor;
|
252
|
+
authorization_request: import("../db").AuthorizationRequest;
|
246
253
|
device: import("../db").Device;
|
247
254
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
248
|
-
authorization_request: import("../db").AuthorizationRequest;
|
249
255
|
used_refresh_token: import("../db").UsedRefreshToken;
|
256
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.createdAt" | "token.tokenId" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.currentRefreshToken">>>>, import("kysely/dist/cjs/util/type-utils").MergePartial<import("kysely/dist/cjs/util/type-utils").MergePartial<import("kysely/dist/cjs/util/type-utils").MergePartial<Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
250
257
|
repo_root: import("../db").RepoRoot;
|
251
|
-
|
258
|
+
token: Token;
|
259
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
260
|
+
actor: import("../db").Actor;
|
252
261
|
app_password: import("../db").AppPassword;
|
253
262
|
invite_code: import("../db").InviteCode;
|
254
263
|
invite_code_use: import("../db").InviteCodeUse;
|
264
|
+
refresh_token: import("../db").RefreshToken;
|
255
265
|
email_token: import("../db").EmailToken;
|
256
|
-
|
257
|
-
token: Token;
|
258
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
259
|
-
actor: import("../db").Actor;
|
266
|
+
authorization_request: import("../db").AuthorizationRequest;
|
260
267
|
device: import("../db").Device;
|
261
268
|
device_account: import("../db").DeviceAccount;
|
262
|
-
authorization_request: import("../db").AuthorizationRequest;
|
263
269
|
used_refresh_token: import("../db").UsedRefreshToken;
|
270
|
+
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.takedownRef" | "actor.createdAt" | "actor.handle" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
264
271
|
repo_root: import("../db").RepoRoot;
|
265
|
-
|
272
|
+
token: Token;
|
273
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
274
|
+
actor: import("../db").Actor;
|
266
275
|
app_password: import("../db").AppPassword;
|
267
276
|
invite_code: import("../db").InviteCode;
|
268
277
|
invite_code_use: import("../db").InviteCodeUse;
|
278
|
+
refresh_token: import("../db").RefreshToken;
|
269
279
|
email_token: import("../db").EmailToken;
|
270
|
-
|
271
|
-
token: Token;
|
272
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
273
|
-
actor: import("../db").Actor;
|
280
|
+
authorization_request: import("../db").AuthorizationRequest;
|
274
281
|
device: import("../db").Device;
|
275
282
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
276
|
-
authorization_request: import("../db").AuthorizationRequest;
|
277
283
|
used_refresh_token: import("../db").UsedRefreshToken;
|
284
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.createdAt" | "token.tokenId" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.currentRefreshToken">, Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
278
285
|
repo_root: import("../db").RepoRoot;
|
279
|
-
|
286
|
+
token: Token;
|
287
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
288
|
+
actor: import("../db").Actor;
|
280
289
|
app_password: import("../db").AppPassword;
|
281
290
|
invite_code: import("../db").InviteCode;
|
282
291
|
invite_code_use: import("../db").InviteCodeUse;
|
292
|
+
refresh_token: import("../db").RefreshToken;
|
283
293
|
email_token: import("../db").EmailToken;
|
284
|
-
|
285
|
-
token: Token;
|
286
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
287
|
-
actor: import("../db").Actor;
|
294
|
+
authorization_request: import("../db").AuthorizationRequest;
|
288
295
|
device: import("../db").Device;
|
289
296
|
device_account: import("../db").DeviceAccount;
|
290
|
-
authorization_request: import("../db").AuthorizationRequest;
|
291
297
|
used_refresh_token: import("../db").UsedRefreshToken;
|
298
|
+
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.takedownRef" | "actor.createdAt" | "actor.handle" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
292
299
|
repo_root: import("../db").RepoRoot;
|
293
|
-
|
300
|
+
token: Token;
|
301
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
302
|
+
actor: import("../db").Actor;
|
294
303
|
app_password: import("../db").AppPassword;
|
295
304
|
invite_code: import("../db").InviteCode;
|
296
305
|
invite_code_use: import("../db").InviteCodeUse;
|
306
|
+
refresh_token: import("../db").RefreshToken;
|
297
307
|
email_token: import("../db").EmailToken;
|
298
|
-
|
299
|
-
token: Token;
|
300
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
301
|
-
actor: import("../db").Actor;
|
308
|
+
authorization_request: import("../db").AuthorizationRequest;
|
302
309
|
device: import("../db").Device;
|
303
310
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
304
|
-
authorization_request: import("../db").AuthorizationRequest;
|
305
311
|
used_refresh_token: import("../db").UsedRefreshToken;
|
312
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.createdAt" | "token.tokenId" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.currentRefreshToken">>, import("kysely/dist/cjs/util/type-utils").MergePartial<Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
306
313
|
repo_root: import("../db").RepoRoot;
|
307
|
-
|
314
|
+
token: Token;
|
315
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
316
|
+
actor: import("../db").Actor;
|
308
317
|
app_password: import("../db").AppPassword;
|
309
318
|
invite_code: import("../db").InviteCode;
|
310
319
|
invite_code_use: import("../db").InviteCodeUse;
|
320
|
+
refresh_token: import("../db").RefreshToken;
|
311
321
|
email_token: import("../db").EmailToken;
|
312
|
-
|
313
|
-
token: Token;
|
314
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
315
|
-
actor: import("../db").Actor;
|
322
|
+
authorization_request: import("../db").AuthorizationRequest;
|
316
323
|
device: import("../db").Device;
|
317
324
|
device_account: import("../db").DeviceAccount;
|
318
|
-
authorization_request: import("../db").AuthorizationRequest;
|
319
325
|
used_refresh_token: import("../db").UsedRefreshToken;
|
326
|
+
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.takedownRef" | "actor.createdAt" | "actor.handle" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
320
327
|
repo_root: import("../db").RepoRoot;
|
321
|
-
|
328
|
+
token: Token;
|
329
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
330
|
+
actor: import("../db").Actor;
|
322
331
|
app_password: import("../db").AppPassword;
|
323
332
|
invite_code: import("../db").InviteCode;
|
324
333
|
invite_code_use: import("../db").InviteCodeUse;
|
334
|
+
refresh_token: import("../db").RefreshToken;
|
325
335
|
email_token: import("../db").EmailToken;
|
326
|
-
|
327
|
-
token: Token;
|
328
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
329
|
-
actor: import("../db").Actor;
|
336
|
+
authorization_request: import("../db").AuthorizationRequest;
|
330
337
|
device: import("../db").Device;
|
331
338
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
332
|
-
authorization_request: import("../db").AuthorizationRequest;
|
333
339
|
used_refresh_token: import("../db").UsedRefreshToken;
|
340
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.createdAt" | "token.tokenId" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.currentRefreshToken">, Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
334
341
|
repo_root: import("../db").RepoRoot;
|
335
|
-
|
342
|
+
token: Token;
|
343
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
344
|
+
actor: import("../db").Actor;
|
336
345
|
app_password: import("../db").AppPassword;
|
337
346
|
invite_code: import("../db").InviteCode;
|
338
347
|
invite_code_use: import("../db").InviteCodeUse;
|
348
|
+
refresh_token: import("../db").RefreshToken;
|
339
349
|
email_token: import("../db").EmailToken;
|
340
|
-
|
341
|
-
token: Token;
|
342
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
343
|
-
actor: import("../db").Actor;
|
350
|
+
authorization_request: import("../db").AuthorizationRequest;
|
344
351
|
device: import("../db").Device;
|
345
352
|
device_account: import("../db").DeviceAccount;
|
346
|
-
authorization_request: import("../db").AuthorizationRequest;
|
347
353
|
used_refresh_token: import("../db").UsedRefreshToken;
|
354
|
+
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.takedownRef" | "actor.createdAt" | "actor.handle" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
348
355
|
repo_root: import("../db").RepoRoot;
|
349
|
-
|
356
|
+
token: Token;
|
357
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
358
|
+
actor: import("../db").Actor;
|
350
359
|
app_password: import("../db").AppPassword;
|
351
360
|
invite_code: import("../db").InviteCode;
|
352
361
|
invite_code_use: import("../db").InviteCodeUse;
|
362
|
+
refresh_token: import("../db").RefreshToken;
|
353
363
|
email_token: import("../db").EmailToken;
|
354
|
-
|
355
|
-
token: Token;
|
356
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
357
|
-
actor: import("../db").Actor;
|
364
|
+
authorization_request: import("../db").AuthorizationRequest;
|
358
365
|
device: import("../db").Device;
|
359
366
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
360
|
-
authorization_request: import("../db").AuthorizationRequest;
|
361
367
|
used_refresh_token: import("../db").UsedRefreshToken;
|
368
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.createdAt" | "token.tokenId" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.currentRefreshToken">>>, import("kysely/dist/cjs/util/type-utils").MergePartial<import("kysely/dist/cjs/util/type-utils").MergePartial<Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
362
369
|
repo_root: import("../db").RepoRoot;
|
363
|
-
|
370
|
+
token: Token;
|
371
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
372
|
+
actor: import("../db").Actor;
|
364
373
|
app_password: import("../db").AppPassword;
|
365
374
|
invite_code: import("../db").InviteCode;
|
366
375
|
invite_code_use: import("../db").InviteCodeUse;
|
376
|
+
refresh_token: import("../db").RefreshToken;
|
367
377
|
email_token: import("../db").EmailToken;
|
368
|
-
|
369
|
-
token: Token;
|
370
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
371
|
-
actor: import("../db").Actor;
|
378
|
+
authorization_request: import("../db").AuthorizationRequest;
|
372
379
|
device: import("../db").Device;
|
373
380
|
device_account: import("../db").DeviceAccount;
|
374
|
-
authorization_request: import("../db").AuthorizationRequest;
|
375
381
|
used_refresh_token: import("../db").UsedRefreshToken;
|
382
|
+
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.takedownRef" | "actor.createdAt" | "actor.handle" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
376
383
|
repo_root: import("../db").RepoRoot;
|
377
|
-
|
384
|
+
token: Token;
|
385
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
386
|
+
actor: import("../db").Actor;
|
378
387
|
app_password: import("../db").AppPassword;
|
379
388
|
invite_code: import("../db").InviteCode;
|
380
389
|
invite_code_use: import("../db").InviteCodeUse;
|
390
|
+
refresh_token: import("../db").RefreshToken;
|
381
391
|
email_token: import("../db").EmailToken;
|
382
|
-
|
383
|
-
token: Token;
|
384
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
385
|
-
actor: import("../db").Actor;
|
392
|
+
authorization_request: import("../db").AuthorizationRequest;
|
386
393
|
device: import("../db").Device;
|
387
394
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
388
|
-
authorization_request: import("../db").AuthorizationRequest;
|
389
395
|
used_refresh_token: import("../db").UsedRefreshToken;
|
396
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.createdAt" | "token.tokenId" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.currentRefreshToken">, Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
390
397
|
repo_root: import("../db").RepoRoot;
|
391
|
-
|
398
|
+
token: Token;
|
399
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
400
|
+
actor: import("../db").Actor;
|
392
401
|
app_password: import("../db").AppPassword;
|
393
402
|
invite_code: import("../db").InviteCode;
|
394
403
|
invite_code_use: import("../db").InviteCodeUse;
|
404
|
+
refresh_token: import("../db").RefreshToken;
|
395
405
|
email_token: import("../db").EmailToken;
|
396
|
-
|
397
|
-
token: Token;
|
398
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
399
|
-
actor: import("../db").Actor;
|
406
|
+
authorization_request: import("../db").AuthorizationRequest;
|
400
407
|
device: import("../db").Device;
|
401
408
|
device_account: import("../db").DeviceAccount;
|
402
|
-
authorization_request: import("../db").AuthorizationRequest;
|
403
409
|
used_refresh_token: import("../db").UsedRefreshToken;
|
410
|
+
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.takedownRef" | "actor.createdAt" | "actor.handle" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
404
411
|
repo_root: import("../db").RepoRoot;
|
405
|
-
|
412
|
+
token: Token;
|
413
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
414
|
+
actor: import("../db").Actor;
|
406
415
|
app_password: import("../db").AppPassword;
|
407
416
|
invite_code: import("../db").InviteCode;
|
408
417
|
invite_code_use: import("../db").InviteCodeUse;
|
418
|
+
refresh_token: import("../db").RefreshToken;
|
409
419
|
email_token: import("../db").EmailToken;
|
410
|
-
|
411
|
-
token: Token;
|
412
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
413
|
-
actor: import("../db").Actor;
|
420
|
+
authorization_request: import("../db").AuthorizationRequest;
|
414
421
|
device: import("../db").Device;
|
415
422
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
416
|
-
authorization_request: import("../db").AuthorizationRequest;
|
417
423
|
used_refresh_token: import("../db").UsedRefreshToken;
|
424
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.createdAt" | "token.tokenId" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.currentRefreshToken">>, import("kysely/dist/cjs/util/type-utils").MergePartial<Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
418
425
|
repo_root: import("../db").RepoRoot;
|
419
|
-
|
426
|
+
token: Token;
|
427
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
428
|
+
actor: import("../db").Actor;
|
420
429
|
app_password: import("../db").AppPassword;
|
421
430
|
invite_code: import("../db").InviteCode;
|
422
431
|
invite_code_use: import("../db").InviteCodeUse;
|
432
|
+
refresh_token: import("../db").RefreshToken;
|
423
433
|
email_token: import("../db").EmailToken;
|
424
|
-
|
425
|
-
token: Token;
|
426
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
427
|
-
actor: import("../db").Actor;
|
434
|
+
authorization_request: import("../db").AuthorizationRequest;
|
428
435
|
device: import("../db").Device;
|
429
436
|
device_account: import("../db").DeviceAccount;
|
430
|
-
authorization_request: import("../db").AuthorizationRequest;
|
431
437
|
used_refresh_token: import("../db").UsedRefreshToken;
|
438
|
+
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.takedownRef" | "actor.createdAt" | "actor.handle" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
432
439
|
repo_root: import("../db").RepoRoot;
|
433
|
-
|
440
|
+
token: Token;
|
441
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
442
|
+
actor: import("../db").Actor;
|
434
443
|
app_password: import("../db").AppPassword;
|
435
444
|
invite_code: import("../db").InviteCode;
|
436
445
|
invite_code_use: import("../db").InviteCodeUse;
|
446
|
+
refresh_token: import("../db").RefreshToken;
|
437
447
|
email_token: import("../db").EmailToken;
|
438
|
-
|
439
|
-
token: Token;
|
440
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
441
|
-
actor: import("../db").Actor;
|
448
|
+
authorization_request: import("../db").AuthorizationRequest;
|
442
449
|
device: import("../db").Device;
|
443
450
|
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
444
|
-
authorization_request: import("../db").AuthorizationRequest;
|
445
451
|
used_refresh_token: import("../db").UsedRefreshToken;
|
452
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.createdAt" | "token.tokenId" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.currentRefreshToken">, Partial<Omit<{}, never>> & Partial<Omit<Partial<Omit<{}, never>>, never>> & import("kysely").Selection<{
|
446
453
|
repo_root: import("../db").RepoRoot;
|
447
|
-
|
454
|
+
token: Token;
|
455
|
+
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
456
|
+
actor: import("../db").Actor;
|
448
457
|
app_password: import("../db").AppPassword;
|
449
458
|
invite_code: import("../db").InviteCode;
|
450
459
|
invite_code_use: import("../db").InviteCodeUse;
|
460
|
+
refresh_token: import("../db").RefreshToken;
|
451
461
|
email_token: import("../db").EmailToken;
|
452
|
-
|
453
|
-
token: Token;
|
454
|
-
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
455
|
-
actor: import("../db").Actor;
|
462
|
+
authorization_request: import("../db").AuthorizationRequest;
|
456
463
|
device: import("../db").Device;
|
457
464
|
device_account: import("../db").DeviceAccount;
|
458
|
-
authorization_request: import("../db").AuthorizationRequest;
|
459
465
|
used_refresh_token: import("../db").UsedRefreshToken;
|
466
|
+
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.takedownRef" | "actor.createdAt" | "actor.handle" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
460
467
|
repo_root: import("../db").RepoRoot;
|
461
|
-
refresh_token: import("../db").RefreshToken;
|
462
|
-
app_password: import("../db").AppPassword;
|
463
|
-
invite_code: import("../db").InviteCode;
|
464
|
-
invite_code_use: import("../db").InviteCodeUse;
|
465
|
-
email_token: import("../db").EmailToken;
|
466
|
-
}, "account" | "actor", "actor.did" | "account.email" | "account.invitesDisabled" | "account.emailConfirmedAt" | "actor.handle" | "actor.createdAt" | "actor.takedownRef" | "actor.deactivatedAt" | "actor.deleteAfter"> & import("kysely").Selection<{
|
467
468
|
token: Token;
|
468
469
|
account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").Account>;
|
469
470
|
actor: import("../db").Actor;
|
470
|
-
device: import("../db").Device;
|
471
|
-
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
472
|
-
authorization_request: import("../db").AuthorizationRequest;
|
473
|
-
used_refresh_token: import("../db").UsedRefreshToken;
|
474
|
-
repo_root: import("../db").RepoRoot;
|
475
|
-
refresh_token: import("../db").RefreshToken;
|
476
471
|
app_password: import("../db").AppPassword;
|
477
472
|
invite_code: import("../db").InviteCode;
|
478
473
|
invite_code_use: import("../db").InviteCodeUse;
|
474
|
+
refresh_token: import("../db").RefreshToken;
|
479
475
|
email_token: import("../db").EmailToken;
|
480
|
-
|
476
|
+
authorization_request: import("../db").AuthorizationRequest;
|
477
|
+
device: import("../db").Device;
|
478
|
+
device_account: import("kysely/dist/cjs/util/type-utils").Nullable<import("../db").DeviceAccount>;
|
479
|
+
used_refresh_token: import("../db").UsedRefreshToken;
|
480
|
+
}, "token" | "account" | "actor" | "device_account", "device_account.authenticatedAt" | "device_account.remember" | "device_account.authorizedClients" | "token.did" | "token.code" | "token.createdAt" | "token.tokenId" | "token.expiresAt" | "token.updatedAt" | "token.details" | "token.deviceId" | "token.clientId" | "token.clientAuth" | "token.parameters" | "token.currentRefreshToken">>>>>>;
|
481
481
|
export declare const removeByDidQB: (db: AccountDb, did: string) => import("kysely").DeleteQueryBuilder<import("kysely/dist/cjs/parser/table-parser").From<import("../db").DatabaseSchema, "token">, "token", import("kysely").DeleteResult>;
|
482
482
|
export declare const rotateQB: (db: AccountDb, id: number, newTokenId: TokenId, newRefreshToken: RefreshToken, newData: NewTokenData) => import("kysely").UpdateQueryBuilder<import("kysely/dist/cjs/parser/table-parser").From<import("../db").DatabaseSchema, "token">, "token", "token", import("kysely").UpdateResult>;
|
483
483
|
export declare const removeQB: (db: AccountDb, tokenId: TokenId) => import("kysely").DeleteQueryBuilder<import("kysely/dist/cjs/parser/table-parser").From<import("../db").DatabaseSchema, "token">, "token", import("kysely").DeleteResult>;
|