@clioplaylists/clio 0.1.1 → 0.1.3
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/package.json +4 -4
- package/dist/.env +0 -7
- package/dist/api/com/clioplaylists/alpha/actor/getProfile.d.ts +0 -0
- package/dist/api/com/clioplaylists/alpha/actor/getProfile.js +0 -37
- package/dist/api/com/clioplaylists/alpha/feed/getSongs.d.ts +0 -0
- package/dist/api/com/clioplaylists/alpha/feed/getSongs.js +0 -37
- package/dist/api/health.d.ts +0 -3
- package/dist/api/health.js +0 -32
- package/dist/api/index.d.ts +0 -4
- package/dist/api/index.js +0 -43
- package/dist/api/util.d.ts +0 -9
- package/dist/api/util.js +0 -17
- package/dist/auth-verifier.d.ts +0 -92
- package/dist/auth-verifier.js +0 -473
- package/dist/client.d.ts +0 -9
- package/dist/client.js +0 -40
- package/dist/config.d.ts +0 -21
- package/dist/config.js +0 -65
- package/dist/context.d.ts +0 -11
- package/dist/context.js +0 -19
- package/dist/dataplane/bsync/index.js +0 -150
- package/dist/dataplane/client.d.ts +0 -27
- package/dist/dataplane/client.js +0 -165
- package/dist/dataplane/index.d.ts +0 -2
- package/dist/dataplane/index.js +0 -18
- package/dist/dataplane/server/background.d.ts +0 -13
- package/dist/dataplane/server/background.js +0 -51
- package/dist/dataplane/server/db/database-schema.d.ts +0 -13
- package/dist/dataplane/server/db/database-schema.js +0 -2
- package/dist/dataplane/server/db/db.d.ts +0 -32
- package/dist/dataplane/server/db/db.js +0 -228
- package/dist/dataplane/server/db/index.d.ts +0 -1
- package/dist/dataplane/server/db/index.js +0 -17
- package/dist/dataplane/server/db/migrations/20230309T045948368Z-init.d.ts +0 -3
- package/dist/dataplane/server/db/migrations/20230309T045948368Z-init.js +0 -117
- package/dist/dataplane/server/db/migrations/20230420T211446071Z-did-cache.d.ts +0 -3
- package/dist/dataplane/server/db/migrations/20230420T211446071Z-did-cache.js +0 -15
- package/dist/dataplane/server/db/migrations/index.d.ts +0 -2
- package/dist/dataplane/server/db/migrations/index.js +0 -41
- package/dist/dataplane/server/db/migrations/provider.d.ts +0 -11
- package/dist/dataplane/server/db/migrations/provider.js +0 -31
- package/dist/dataplane/server/db/pagination.d.ts +0 -86
- package/dist/dataplane/server/db/pagination.js +0 -144
- package/dist/dataplane/server/db/tables/actor-sync.d.ts +0 -9
- package/dist/dataplane/server/db/tables/actor-sync.js +0 -4
- package/dist/dataplane/server/db/tables/actor.d.ts +0 -11
- package/dist/dataplane/server/db/tables/actor.js +0 -4
- package/dist/dataplane/server/db/tables/artist-list-item.d.ts +0 -11
- package/dist/dataplane/server/db/tables/artist-list-item.js +0 -4
- package/dist/dataplane/server/db/tables/artist.d.ts +0 -10
- package/dist/dataplane/server/db/tables/artist.js +0 -4
- package/dist/dataplane/server/db/tables/playlist-idea.d.ts +0 -14
- package/dist/dataplane/server/db/tables/playlist-idea.js +0 -4
- package/dist/dataplane/server/db/tables/playlist-item.d.ts +0 -11
- package/dist/dataplane/server/db/tables/playlist-item.js +0 -4
- package/dist/dataplane/server/db/tables/playlist.d.ts +0 -10
- package/dist/dataplane/server/db/tables/playlist.js +0 -4
- package/dist/dataplane/server/db/tables/profile.d.ts +0 -15
- package/dist/dataplane/server/db/tables/profile.js +0 -4
- package/dist/dataplane/server/db/tables/record.d.ts +0 -12
- package/dist/dataplane/server/db/tables/record.js +0 -4
- package/dist/dataplane/server/db/tables/song.d.ts +0 -12
- package/dist/dataplane/server/db/tables/song.js +0 -4
- package/dist/dataplane/server/db/types.d.ts +0 -9
- package/dist/dataplane/server/db/types.js +0 -2
- package/dist/dataplane/server/db/util.d.ts +0 -20
- package/dist/dataplane/server/db/util.js +0 -48
- package/dist/dataplane/server/index.d.ts +0 -11
- package/dist/dataplane/server/index.js +0 -52
- package/dist/dataplane/server/indexing/index.d.ts +0 -32
- package/dist/dataplane/server/indexing/index.js +0 -321
- package/dist/dataplane/server/indexing/plugins/playlist-idea.d.ts +0 -14
- package/dist/dataplane/server/indexing/plugins/playlist-idea.js +0 -163
- package/dist/dataplane/server/indexing/plugins/profile.d.ts +0 -8
- package/dist/dataplane/server/indexing/plugins/profile.js +0 -81
- package/dist/dataplane/server/indexing/processor.d.ts +0 -22
- package/dist/dataplane/server/indexing/processor.js +0 -90
- package/dist/dataplane/server/routes/blocks.js +0 -95
- package/dist/dataplane/server/routes/feed-gens.js +0 -56
- package/dist/dataplane/server/routes/feeds.js +0 -128
- package/dist/dataplane/server/routes/follows.js +0 -122
- package/dist/dataplane/server/routes/identity.d.ts +0 -6
- package/dist/dataplane/server/routes/identity.js +0 -56
- package/dist/dataplane/server/routes/index.d.ts +0 -5
- package/dist/dataplane/server/routes/index.js +0 -19
- package/dist/dataplane/server/routes/interactions.js +0 -111
- package/dist/dataplane/server/routes/labels.js +0 -73
- package/dist/dataplane/server/routes/likes.js +0 -76
- package/dist/dataplane/server/routes/lists.js +0 -77
- package/dist/dataplane/server/routes/moderation.js +0 -92
- package/dist/dataplane/server/routes/mutes.js +0 -166
- package/dist/dataplane/server/routes/notifs.js +0 -137
- package/dist/dataplane/server/routes/posts.js +0 -19
- package/dist/dataplane/server/routes/profile.d.ts +0 -5
- package/dist/dataplane/server/routes/profile.js +0 -61
- package/dist/dataplane/server/routes/quotes.js +0 -26
- package/dist/dataplane/server/routes/records.d.ts +0 -11
- package/dist/dataplane/server/routes/records.js +0 -88
- package/dist/dataplane/server/routes/relationships.js +0 -157
- package/dist/dataplane/server/routes/reposts.js +0 -59
- package/dist/dataplane/server/routes/search.js +0 -70
- package/dist/dataplane/server/routes/starter-packs.js +0 -24
- package/dist/dataplane/server/routes/suggestions.js +0 -134
- package/dist/dataplane/server/routes/sync.d.ts +0 -5
- package/dist/dataplane/server/routes/sync.js +0 -14
- package/dist/dataplane/server/routes/threads.js +0 -31
- package/dist/dataplane/server/subscription.d.ts +0 -25
- package/dist/dataplane/server/subscription.js +0 -114
- package/dist/dataplane/server/util.js +0 -117
- package/dist/error.d.ts +0 -2
- package/dist/error.js +0 -14
- package/dist/index.d.ts +0 -20
- package/dist/index.js +0 -115
- package/dist/lexicons/index.d.ts +0 -278
- package/dist/lexicons/index.js +0 -638
- package/dist/lexicons/lexicons.d.ts +0 -8466
- package/dist/lexicons/lexicons.js +0 -4551
- package/dist/lexicons/types/com/atproto/admin/defs.d.ts +0 -50
- package/dist/lexicons/types/com/atproto/admin/defs.js +0 -54
- package/dist/lexicons/types/com/atproto/admin/deleteAccount.d.ts +0 -29
- package/dist/lexicons/types/com/atproto/admin/deleteAccount.js +0 -2
- package/dist/lexicons/types/com/atproto/admin/disableAccountInvites.d.ts +0 -31
- package/dist/lexicons/types/com/atproto/admin/disableAccountInvites.js +0 -2
- package/dist/lexicons/types/com/atproto/admin/disableInviteCodes.d.ts +0 -30
- package/dist/lexicons/types/com/atproto/admin/disableInviteCodes.js +0 -2
- package/dist/lexicons/types/com/atproto/admin/enableAccountInvites.d.ts +0 -31
- package/dist/lexicons/types/com/atproto/admin/enableAccountInvites.js +0 -2
- package/dist/lexicons/types/com/atproto/admin/getAccountInfo.d.ts +0 -33
- package/dist/lexicons/types/com/atproto/admin/getAccountInfo.js +0 -2
- package/dist/lexicons/types/com/atproto/admin/getAccountInfos.d.ts +0 -36
- package/dist/lexicons/types/com/atproto/admin/getAccountInfos.js +0 -2
- package/dist/lexicons/types/com/atproto/admin/getInviteCodes.d.ts +0 -39
- package/dist/lexicons/types/com/atproto/admin/getInviteCodes.js +0 -2
- package/dist/lexicons/types/com/atproto/admin/getSubjectStatus.d.ts +0 -44
- package/dist/lexicons/types/com/atproto/admin/getSubjectStatus.js +0 -2
- package/dist/lexicons/types/com/atproto/admin/searchAccounts.d.ts +0 -39
- package/dist/lexicons/types/com/atproto/admin/searchAccounts.js +0 -2
- package/dist/lexicons/types/com/atproto/admin/sendEmail.d.ts +0 -45
- package/dist/lexicons/types/com/atproto/admin/sendEmail.js +0 -2
- package/dist/lexicons/types/com/atproto/admin/updateAccountEmail.d.ts +0 -31
- package/dist/lexicons/types/com/atproto/admin/updateAccountEmail.js +0 -2
- package/dist/lexicons/types/com/atproto/admin/updateAccountHandle.d.ts +0 -30
- package/dist/lexicons/types/com/atproto/admin/updateAccountHandle.js +0 -2
- package/dist/lexicons/types/com/atproto/admin/updateAccountPassword.d.ts +0 -30
- package/dist/lexicons/types/com/atproto/admin/updateAccountPassword.js +0 -2
- package/dist/lexicons/types/com/atproto/admin/updateSubjectStatus.d.ts +0 -51
- package/dist/lexicons/types/com/atproto/admin/updateSubjectStatus.js +0 -2
- package/dist/lexicons/types/com/atproto/identity/defs.d.ts +0 -14
- package/dist/lexicons/types/com/atproto/identity/defs.js +0 -14
- package/dist/lexicons/types/com/atproto/identity/getRecommendedDidCredentials.d.ts +0 -38
- package/dist/lexicons/types/com/atproto/identity/getRecommendedDidCredentials.js +0 -2
- package/dist/lexicons/types/com/atproto/identity/refreshIdentity.d.ts +0 -39
- package/dist/lexicons/types/com/atproto/identity/refreshIdentity.js +0 -2
- package/dist/lexicons/types/com/atproto/identity/requestPlcOperationSignature.d.ts +0 -23
- package/dist/lexicons/types/com/atproto/identity/requestPlcOperationSignature.js +0 -2
- package/dist/lexicons/types/com/atproto/identity/resolveDid.d.ts +0 -38
- package/dist/lexicons/types/com/atproto/identity/resolveDid.js +0 -2
- package/dist/lexicons/types/com/atproto/identity/resolveHandle.d.ts +0 -37
- package/dist/lexicons/types/com/atproto/identity/resolveHandle.js +0 -2
- package/dist/lexicons/types/com/atproto/identity/resolveIdentity.d.ts +0 -35
- package/dist/lexicons/types/com/atproto/identity/resolveIdentity.js +0 -2
- package/dist/lexicons/types/com/atproto/identity/signPlcOperation.d.ts +0 -46
- package/dist/lexicons/types/com/atproto/identity/signPlcOperation.js +0 -2
- package/dist/lexicons/types/com/atproto/identity/submitPlcOperation.d.ts +0 -29
- package/dist/lexicons/types/com/atproto/identity/submitPlcOperation.js +0 -2
- package/dist/lexicons/types/com/atproto/identity/updateHandle.d.ts +0 -30
- package/dist/lexicons/types/com/atproto/identity/updateHandle.js +0 -2
- package/dist/lexicons/types/com/atproto/label/defs.d.ts +0 -73
- package/dist/lexicons/types/com/atproto/label/defs.js +0 -54
- package/dist/lexicons/types/com/atproto/label/queryLabels.d.ts +0 -42
- package/dist/lexicons/types/com/atproto/label/queryLabels.js +0 -2
- package/dist/lexicons/types/com/atproto/label/subscribeLabels.d.ts +0 -38
- package/dist/lexicons/types/com/atproto/label/subscribeLabels.js +0 -24
- package/dist/lexicons/types/com/atproto/lexicon/schema.d.ts +0 -11
- package/dist/lexicons/types/com/atproto/lexicon/schema.js +0 -15
- package/dist/lexicons/types/com/atproto/moderation/createReport.d.ts +0 -57
- package/dist/lexicons/types/com/atproto/moderation/createReport.js +0 -2
- package/dist/lexicons/types/com/atproto/moderation/defs.d.ts +0 -20
- package/dist/lexicons/types/com/atproto/moderation/defs.js +0 -20
- package/dist/lexicons/types/com/atproto/repo/applyWrites.d.ts +0 -98
- package/dist/lexicons/types/com/atproto/repo/applyWrites.js +0 -64
- package/dist/lexicons/types/com/atproto/repo/createRecord.d.ts +0 -56
- package/dist/lexicons/types/com/atproto/repo/createRecord.js +0 -2
- package/dist/lexicons/types/com/atproto/repo/defs.d.ts +0 -11
- package/dist/lexicons/types/com/atproto/repo/defs.js +0 -14
- package/dist/lexicons/types/com/atproto/repo/deleteRecord.d.ts +0 -51
- package/dist/lexicons/types/com/atproto/repo/deleteRecord.js +0 -2
- package/dist/lexicons/types/com/atproto/repo/describeRepo.d.ts +0 -43
- package/dist/lexicons/types/com/atproto/repo/describeRepo.js +0 -2
- package/dist/lexicons/types/com/atproto/repo/getRecord.d.ts +0 -45
- package/dist/lexicons/types/com/atproto/repo/getRecord.js +0 -2
- package/dist/lexicons/types/com/atproto/repo/importRepo.d.ts +0 -27
- package/dist/lexicons/types/com/atproto/repo/importRepo.js +0 -2
- package/dist/lexicons/types/com/atproto/repo/listMissingBlobs.d.ts +0 -45
- package/dist/lexicons/types/com/atproto/repo/listMissingBlobs.js +0 -14
- package/dist/lexicons/types/com/atproto/repo/listRecords.d.ts +0 -53
- package/dist/lexicons/types/com/atproto/repo/listRecords.js +0 -14
- package/dist/lexicons/types/com/atproto/repo/putRecord.d.ts +0 -58
- package/dist/lexicons/types/com/atproto/repo/putRecord.js +0 -2
- package/dist/lexicons/types/com/atproto/repo/strongRef.d.ts +0 -11
- package/dist/lexicons/types/com/atproto/repo/strongRef.js +0 -15
- package/dist/lexicons/types/com/atproto/repo/uploadBlob.d.ts +0 -39
- package/dist/lexicons/types/com/atproto/repo/uploadBlob.js +0 -2
- package/dist/lexicons/types/com/atproto/server/activateAccount.d.ts +0 -23
- package/dist/lexicons/types/com/atproto/server/activateAccount.js +0 -2
- package/dist/lexicons/types/com/atproto/server/checkAccountStatus.d.ts +0 -42
- package/dist/lexicons/types/com/atproto/server/checkAccountStatus.js +0 -2
- package/dist/lexicons/types/com/atproto/server/confirmEmail.d.ts +0 -31
- package/dist/lexicons/types/com/atproto/server/confirmEmail.js +0 -2
- package/dist/lexicons/types/com/atproto/server/createAccount.d.ts +0 -61
- package/dist/lexicons/types/com/atproto/server/createAccount.js +0 -2
- package/dist/lexicons/types/com/atproto/server/createAppPassword.d.ts +0 -51
- package/dist/lexicons/types/com/atproto/server/createAppPassword.js +0 -14
- package/dist/lexicons/types/com/atproto/server/createInviteCode.d.ts +0 -41
- package/dist/lexicons/types/com/atproto/server/createInviteCode.js +0 -2
- package/dist/lexicons/types/com/atproto/server/createInviteCodes.d.ts +0 -50
- package/dist/lexicons/types/com/atproto/server/createInviteCodes.js +0 -14
- package/dist/lexicons/types/com/atproto/server/createSession.d.ts +0 -56
- package/dist/lexicons/types/com/atproto/server/createSession.js +0 -2
- package/dist/lexicons/types/com/atproto/server/deactivateAccount.d.ts +0 -30
- package/dist/lexicons/types/com/atproto/server/deactivateAccount.js +0 -2
- package/dist/lexicons/types/com/atproto/server/defs.d.ts +0 -23
- package/dist/lexicons/types/com/atproto/server/defs.js +0 -24
- package/dist/lexicons/types/com/atproto/server/deleteAccount.d.ts +0 -32
- package/dist/lexicons/types/com/atproto/server/deleteAccount.js +0 -2
- package/dist/lexicons/types/com/atproto/server/deleteSession.d.ts +0 -23
- package/dist/lexicons/types/com/atproto/server/deleteSession.js +0 -2
- package/dist/lexicons/types/com/atproto/server/describeServer.d.ts +0 -56
- package/dist/lexicons/types/com/atproto/server/describeServer.js +0 -24
- package/dist/lexicons/types/com/atproto/server/getAccountInviteCodes.d.ts +0 -39
- package/dist/lexicons/types/com/atproto/server/getAccountInviteCodes.js +0 -2
- package/dist/lexicons/types/com/atproto/server/getServiceAuth.d.ts +0 -41
- package/dist/lexicons/types/com/atproto/server/getServiceAuth.js +0 -2
- package/dist/lexicons/types/com/atproto/server/getSession.d.ts +0 -42
- package/dist/lexicons/types/com/atproto/server/getSession.js +0 -2
- package/dist/lexicons/types/com/atproto/server/listAppPasswords.d.ts +0 -44
- package/dist/lexicons/types/com/atproto/server/listAppPasswords.js +0 -14
- package/dist/lexicons/types/com/atproto/server/refreshSession.d.ts +0 -42
- package/dist/lexicons/types/com/atproto/server/refreshSession.js +0 -2
- package/dist/lexicons/types/com/atproto/server/requestAccountDelete.d.ts +0 -23
- package/dist/lexicons/types/com/atproto/server/requestAccountDelete.js +0 -2
- package/dist/lexicons/types/com/atproto/server/requestEmailConfirmation.d.ts +0 -23
- package/dist/lexicons/types/com/atproto/server/requestEmailConfirmation.js +0 -2
- package/dist/lexicons/types/com/atproto/server/requestEmailUpdate.d.ts +0 -34
- package/dist/lexicons/types/com/atproto/server/requestEmailUpdate.js +0 -2
- package/dist/lexicons/types/com/atproto/server/requestPasswordReset.d.ts +0 -29
- package/dist/lexicons/types/com/atproto/server/requestPasswordReset.js +0 -2
- package/dist/lexicons/types/com/atproto/server/reserveSigningKey.d.ts +0 -42
- package/dist/lexicons/types/com/atproto/server/reserveSigningKey.js +0 -2
- package/dist/lexicons/types/com/atproto/server/resetPassword.d.ts +0 -31
- package/dist/lexicons/types/com/atproto/server/resetPassword.js +0 -2
- package/dist/lexicons/types/com/atproto/server/revokeAppPassword.d.ts +0 -29
- package/dist/lexicons/types/com/atproto/server/revokeAppPassword.js +0 -2
- package/dist/lexicons/types/com/atproto/server/updateEmail.d.ts +0 -33
- package/dist/lexicons/types/com/atproto/server/updateEmail.js +0 -2
- package/dist/lexicons/types/com/atproto/sync/getBlob.d.ts +0 -36
- package/dist/lexicons/types/com/atproto/sync/getBlob.js +0 -2
- package/dist/lexicons/types/com/atproto/sync/getBlocks.d.ts +0 -35
- package/dist/lexicons/types/com/atproto/sync/getBlocks.js +0 -2
- package/dist/lexicons/types/com/atproto/sync/getCheckout.d.ts +0 -33
- package/dist/lexicons/types/com/atproto/sync/getCheckout.js +0 -2
- package/dist/lexicons/types/com/atproto/sync/getHead.d.ts +0 -37
- package/dist/lexicons/types/com/atproto/sync/getHead.js +0 -2
- package/dist/lexicons/types/com/atproto/sync/getLatestCommit.d.ts +0 -38
- package/dist/lexicons/types/com/atproto/sync/getLatestCommit.js +0 -2
- package/dist/lexicons/types/com/atproto/sync/getRecord.d.ts +0 -37
- package/dist/lexicons/types/com/atproto/sync/getRecord.js +0 -2
- package/dist/lexicons/types/com/atproto/sync/getRepo.d.ts +0 -36
- package/dist/lexicons/types/com/atproto/sync/getRepo.js +0 -2
- package/dist/lexicons/types/com/atproto/sync/getRepoStatus.d.ts +0 -42
- package/dist/lexicons/types/com/atproto/sync/getRepoStatus.js +0 -2
- package/dist/lexicons/types/com/atproto/sync/listBlobs.d.ts +0 -42
- package/dist/lexicons/types/com/atproto/sync/listBlobs.js +0 -2
- package/dist/lexicons/types/com/atproto/sync/listRepos.d.ts +0 -50
- package/dist/lexicons/types/com/atproto/sync/listRepos.js +0 -14
- package/dist/lexicons/types/com/atproto/sync/listReposByCollection.d.ts +0 -46
- package/dist/lexicons/types/com/atproto/sync/listReposByCollection.js +0 -14
- package/dist/lexicons/types/com/atproto/sync/notifyOfUpdate.d.ts +0 -30
- package/dist/lexicons/types/com/atproto/sync/notifyOfUpdate.js +0 -2
- package/dist/lexicons/types/com/atproto/sync/requestCrawl.d.ts +0 -30
- package/dist/lexicons/types/com/atproto/sync/requestCrawl.js +0 -2
- package/dist/lexicons/types/com/atproto/sync/subscribeRepos.d.ts +0 -111
- package/dist/lexicons/types/com/atproto/sync/subscribeRepos.js +0 -64
- package/dist/lexicons/types/com/atproto/temp/addReservedHandle.d.ts +0 -39
- package/dist/lexicons/types/com/atproto/temp/addReservedHandle.js +0 -2
- package/dist/lexicons/types/com/atproto/temp/checkSignupQueue.d.ts +0 -36
- package/dist/lexicons/types/com/atproto/temp/checkSignupQueue.js +0 -2
- package/dist/lexicons/types/com/atproto/temp/fetchLabels.d.ts +0 -37
- package/dist/lexicons/types/com/atproto/temp/fetchLabels.js +0 -2
- package/dist/lexicons/types/com/atproto/temp/requestPhoneVerification.d.ts +0 -29
- package/dist/lexicons/types/com/atproto/temp/requestPhoneVerification.js +0 -2
- package/dist/lexicons/types/com/clioplaylists/alpha/actor/profile.d.ts +0 -19
- package/dist/lexicons/types/com/clioplaylists/alpha/actor/profile.js +0 -15
- package/dist/lexicons/types/com/clioplaylists/alpha/feed/defs.d.ts +0 -32
- package/dist/lexicons/types/com/clioplaylists/alpha/feed/defs.js +0 -24
- package/dist/lexicons/types/com/clioplaylists/alpha/feed/getSongs.d.ts +0 -37
- package/dist/lexicons/types/com/clioplaylists/alpha/feed/getSongs.js +0 -2
- package/dist/lexicons/types/com/clioplaylists/alpha/feed/playlistIdea.d.ts +0 -32
- package/dist/lexicons/types/com/clioplaylists/alpha/feed/playlistIdea.js +0 -35
- package/dist/lexicons/types/com/clioplaylists/alpha/feed/song.js +0 -25
- package/dist/lexicons/util.d.ts +0 -5
- package/dist/lexicons/util.js +0 -13
- package/dist/logger.d.ts +0 -6
- package/dist/logger.js +0 -26
- package/dist/rpc/clio_connect.d.ts +0 -103
- package/dist/rpc/clio_connect.js +0 -110
- package/dist/rpc/clio_pb.d.ts +0 -457
- package/dist/rpc/clio_pb.js +0 -1365
- package/dist/start.d.ts +0 -1
- package/dist/util/retry.d.ts +0 -2
- package/dist/util/retry.js +0 -16
- package/dist/util/uris.d.ts +0 -1
- package/dist/util/uris.js +0 -7
- package/dist/util.d.ts +0 -23
- package/dist/util.js +0 -119
- /package/{dist/start.js → start.js} +0 -0
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
|
-
import { ValidationResult } from '@atproto/lexicon';
|
|
5
|
-
import * as ComAtprotoServerDefs from '../server/defs';
|
|
6
|
-
export interface StatusAttr {
|
|
7
|
-
applied: boolean;
|
|
8
|
-
ref?: string;
|
|
9
|
-
[k: string]: unknown;
|
|
10
|
-
}
|
|
11
|
-
export declare function isStatusAttr(v: unknown): v is StatusAttr;
|
|
12
|
-
export declare function validateStatusAttr(v: unknown): ValidationResult;
|
|
13
|
-
export interface AccountView {
|
|
14
|
-
did: string;
|
|
15
|
-
handle: string;
|
|
16
|
-
email?: string;
|
|
17
|
-
relatedRecords?: {}[];
|
|
18
|
-
indexedAt: string;
|
|
19
|
-
invitedBy?: ComAtprotoServerDefs.InviteCode;
|
|
20
|
-
invites?: ComAtprotoServerDefs.InviteCode[];
|
|
21
|
-
invitesDisabled?: boolean;
|
|
22
|
-
emailConfirmedAt?: string;
|
|
23
|
-
inviteNote?: string;
|
|
24
|
-
deactivatedAt?: string;
|
|
25
|
-
threatSignatures?: ThreatSignature[];
|
|
26
|
-
[k: string]: unknown;
|
|
27
|
-
}
|
|
28
|
-
export declare function isAccountView(v: unknown): v is AccountView;
|
|
29
|
-
export declare function validateAccountView(v: unknown): ValidationResult;
|
|
30
|
-
export interface RepoRef {
|
|
31
|
-
did: string;
|
|
32
|
-
[k: string]: unknown;
|
|
33
|
-
}
|
|
34
|
-
export declare function isRepoRef(v: unknown): v is RepoRef;
|
|
35
|
-
export declare function validateRepoRef(v: unknown): ValidationResult;
|
|
36
|
-
export interface RepoBlobRef {
|
|
37
|
-
did: string;
|
|
38
|
-
cid: string;
|
|
39
|
-
recordUri?: string;
|
|
40
|
-
[k: string]: unknown;
|
|
41
|
-
}
|
|
42
|
-
export declare function isRepoBlobRef(v: unknown): v is RepoBlobRef;
|
|
43
|
-
export declare function validateRepoBlobRef(v: unknown): ValidationResult;
|
|
44
|
-
export interface ThreatSignature {
|
|
45
|
-
property: string;
|
|
46
|
-
value: string;
|
|
47
|
-
[k: string]: unknown;
|
|
48
|
-
}
|
|
49
|
-
export declare function isThreatSignature(v: unknown): v is ThreatSignature;
|
|
50
|
-
export declare function validateThreatSignature(v: unknown): ValidationResult;
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isStatusAttr = isStatusAttr;
|
|
4
|
-
exports.validateStatusAttr = validateStatusAttr;
|
|
5
|
-
exports.isAccountView = isAccountView;
|
|
6
|
-
exports.validateAccountView = validateAccountView;
|
|
7
|
-
exports.isRepoRef = isRepoRef;
|
|
8
|
-
exports.validateRepoRef = validateRepoRef;
|
|
9
|
-
exports.isRepoBlobRef = isRepoBlobRef;
|
|
10
|
-
exports.validateRepoBlobRef = validateRepoBlobRef;
|
|
11
|
-
exports.isThreatSignature = isThreatSignature;
|
|
12
|
-
exports.validateThreatSignature = validateThreatSignature;
|
|
13
|
-
const lexicons_1 = require("../../../../lexicons");
|
|
14
|
-
const util_1 = require("../../../../util");
|
|
15
|
-
function isStatusAttr(v) {
|
|
16
|
-
return ((0, util_1.isObj)(v) &&
|
|
17
|
-
(0, util_1.hasProp)(v, '$type') &&
|
|
18
|
-
v.$type === 'com.atproto.admin.defs#statusAttr');
|
|
19
|
-
}
|
|
20
|
-
function validateStatusAttr(v) {
|
|
21
|
-
return lexicons_1.lexicons.validate('com.atproto.admin.defs#statusAttr', v);
|
|
22
|
-
}
|
|
23
|
-
function isAccountView(v) {
|
|
24
|
-
return ((0, util_1.isObj)(v) &&
|
|
25
|
-
(0, util_1.hasProp)(v, '$type') &&
|
|
26
|
-
v.$type === 'com.atproto.admin.defs#accountView');
|
|
27
|
-
}
|
|
28
|
-
function validateAccountView(v) {
|
|
29
|
-
return lexicons_1.lexicons.validate('com.atproto.admin.defs#accountView', v);
|
|
30
|
-
}
|
|
31
|
-
function isRepoRef(v) {
|
|
32
|
-
return ((0, util_1.isObj)(v) &&
|
|
33
|
-
(0, util_1.hasProp)(v, '$type') &&
|
|
34
|
-
v.$type === 'com.atproto.admin.defs#repoRef');
|
|
35
|
-
}
|
|
36
|
-
function validateRepoRef(v) {
|
|
37
|
-
return lexicons_1.lexicons.validate('com.atproto.admin.defs#repoRef', v);
|
|
38
|
-
}
|
|
39
|
-
function isRepoBlobRef(v) {
|
|
40
|
-
return ((0, util_1.isObj)(v) &&
|
|
41
|
-
(0, util_1.hasProp)(v, '$type') &&
|
|
42
|
-
v.$type === 'com.atproto.admin.defs#repoBlobRef');
|
|
43
|
-
}
|
|
44
|
-
function validateRepoBlobRef(v) {
|
|
45
|
-
return lexicons_1.lexicons.validate('com.atproto.admin.defs#repoBlobRef', v);
|
|
46
|
-
}
|
|
47
|
-
function isThreatSignature(v) {
|
|
48
|
-
return ((0, util_1.isObj)(v) &&
|
|
49
|
-
(0, util_1.hasProp)(v, '$type') &&
|
|
50
|
-
v.$type === 'com.atproto.admin.defs#threatSignature');
|
|
51
|
-
}
|
|
52
|
-
function validateThreatSignature(v) {
|
|
53
|
-
return lexicons_1.lexicons.validate('com.atproto.admin.defs#threatSignature', v);
|
|
54
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
|
-
import { HandlerAuth } from '@atproto/xrpc-server';
|
|
5
|
-
import express from 'express';
|
|
6
|
-
export interface QueryParams {
|
|
7
|
-
}
|
|
8
|
-
export interface InputSchema {
|
|
9
|
-
did: string;
|
|
10
|
-
[k: string]: unknown;
|
|
11
|
-
}
|
|
12
|
-
export interface HandlerInput {
|
|
13
|
-
encoding: 'application/json';
|
|
14
|
-
body: InputSchema;
|
|
15
|
-
}
|
|
16
|
-
export interface HandlerError {
|
|
17
|
-
status: number;
|
|
18
|
-
message?: string;
|
|
19
|
-
}
|
|
20
|
-
export type HandlerOutput = HandlerError | void;
|
|
21
|
-
export type HandlerReqCtx<HA extends HandlerAuth = never> = {
|
|
22
|
-
auth: HA;
|
|
23
|
-
params: QueryParams;
|
|
24
|
-
input: HandlerInput;
|
|
25
|
-
req: express.Request;
|
|
26
|
-
res: express.Response;
|
|
27
|
-
resetRouteRateLimits: () => Promise<void>;
|
|
28
|
-
};
|
|
29
|
-
export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
|
-
import { HandlerAuth } from '@atproto/xrpc-server';
|
|
5
|
-
import express from 'express';
|
|
6
|
-
export interface QueryParams {
|
|
7
|
-
}
|
|
8
|
-
export interface InputSchema {
|
|
9
|
-
account: string;
|
|
10
|
-
/** Optional reason for disabled invites. */
|
|
11
|
-
note?: string;
|
|
12
|
-
[k: string]: unknown;
|
|
13
|
-
}
|
|
14
|
-
export interface HandlerInput {
|
|
15
|
-
encoding: 'application/json';
|
|
16
|
-
body: InputSchema;
|
|
17
|
-
}
|
|
18
|
-
export interface HandlerError {
|
|
19
|
-
status: number;
|
|
20
|
-
message?: string;
|
|
21
|
-
}
|
|
22
|
-
export type HandlerOutput = HandlerError | void;
|
|
23
|
-
export type HandlerReqCtx<HA extends HandlerAuth = never> = {
|
|
24
|
-
auth: HA;
|
|
25
|
-
params: QueryParams;
|
|
26
|
-
input: HandlerInput;
|
|
27
|
-
req: express.Request;
|
|
28
|
-
res: express.Response;
|
|
29
|
-
resetRouteRateLimits: () => Promise<void>;
|
|
30
|
-
};
|
|
31
|
-
export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
|
-
import { HandlerAuth } from '@atproto/xrpc-server';
|
|
5
|
-
import express from 'express';
|
|
6
|
-
export interface QueryParams {
|
|
7
|
-
}
|
|
8
|
-
export interface InputSchema {
|
|
9
|
-
codes?: string[];
|
|
10
|
-
accounts?: string[];
|
|
11
|
-
[k: string]: unknown;
|
|
12
|
-
}
|
|
13
|
-
export interface HandlerInput {
|
|
14
|
-
encoding: 'application/json';
|
|
15
|
-
body: InputSchema;
|
|
16
|
-
}
|
|
17
|
-
export interface HandlerError {
|
|
18
|
-
status: number;
|
|
19
|
-
message?: string;
|
|
20
|
-
}
|
|
21
|
-
export type HandlerOutput = HandlerError | void;
|
|
22
|
-
export type HandlerReqCtx<HA extends HandlerAuth = never> = {
|
|
23
|
-
auth: HA;
|
|
24
|
-
params: QueryParams;
|
|
25
|
-
input: HandlerInput;
|
|
26
|
-
req: express.Request;
|
|
27
|
-
res: express.Response;
|
|
28
|
-
resetRouteRateLimits: () => Promise<void>;
|
|
29
|
-
};
|
|
30
|
-
export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
|
-
import { HandlerAuth } from '@atproto/xrpc-server';
|
|
5
|
-
import express from 'express';
|
|
6
|
-
export interface QueryParams {
|
|
7
|
-
}
|
|
8
|
-
export interface InputSchema {
|
|
9
|
-
account: string;
|
|
10
|
-
/** Optional reason for enabled invites. */
|
|
11
|
-
note?: string;
|
|
12
|
-
[k: string]: unknown;
|
|
13
|
-
}
|
|
14
|
-
export interface HandlerInput {
|
|
15
|
-
encoding: 'application/json';
|
|
16
|
-
body: InputSchema;
|
|
17
|
-
}
|
|
18
|
-
export interface HandlerError {
|
|
19
|
-
status: number;
|
|
20
|
-
message?: string;
|
|
21
|
-
}
|
|
22
|
-
export type HandlerOutput = HandlerError | void;
|
|
23
|
-
export type HandlerReqCtx<HA extends HandlerAuth = never> = {
|
|
24
|
-
auth: HA;
|
|
25
|
-
params: QueryParams;
|
|
26
|
-
input: HandlerInput;
|
|
27
|
-
req: express.Request;
|
|
28
|
-
res: express.Response;
|
|
29
|
-
resetRouteRateLimits: () => Promise<void>;
|
|
30
|
-
};
|
|
31
|
-
export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
|
-
import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server';
|
|
5
|
-
import express from 'express';
|
|
6
|
-
import * as ComAtprotoAdminDefs from './defs';
|
|
7
|
-
export interface QueryParams {
|
|
8
|
-
did: string;
|
|
9
|
-
}
|
|
10
|
-
export type InputSchema = undefined;
|
|
11
|
-
export type OutputSchema = ComAtprotoAdminDefs.AccountView;
|
|
12
|
-
export type HandlerInput = undefined;
|
|
13
|
-
export interface HandlerSuccess {
|
|
14
|
-
encoding: 'application/json';
|
|
15
|
-
body: OutputSchema;
|
|
16
|
-
headers?: {
|
|
17
|
-
[key: string]: string;
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
export interface HandlerError {
|
|
21
|
-
status: number;
|
|
22
|
-
message?: string;
|
|
23
|
-
}
|
|
24
|
-
export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough;
|
|
25
|
-
export type HandlerReqCtx<HA extends HandlerAuth = never> = {
|
|
26
|
-
auth: HA;
|
|
27
|
-
params: QueryParams;
|
|
28
|
-
input: HandlerInput;
|
|
29
|
-
req: express.Request;
|
|
30
|
-
res: express.Response;
|
|
31
|
-
resetRouteRateLimits: () => Promise<void>;
|
|
32
|
-
};
|
|
33
|
-
export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
|
-
import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server';
|
|
5
|
-
import express from 'express';
|
|
6
|
-
import * as ComAtprotoAdminDefs from './defs';
|
|
7
|
-
export interface QueryParams {
|
|
8
|
-
dids: string[];
|
|
9
|
-
}
|
|
10
|
-
export type InputSchema = undefined;
|
|
11
|
-
export interface OutputSchema {
|
|
12
|
-
infos: ComAtprotoAdminDefs.AccountView[];
|
|
13
|
-
[k: string]: unknown;
|
|
14
|
-
}
|
|
15
|
-
export type HandlerInput = undefined;
|
|
16
|
-
export interface HandlerSuccess {
|
|
17
|
-
encoding: 'application/json';
|
|
18
|
-
body: OutputSchema;
|
|
19
|
-
headers?: {
|
|
20
|
-
[key: string]: string;
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
export interface HandlerError {
|
|
24
|
-
status: number;
|
|
25
|
-
message?: string;
|
|
26
|
-
}
|
|
27
|
-
export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough;
|
|
28
|
-
export type HandlerReqCtx<HA extends HandlerAuth = never> = {
|
|
29
|
-
auth: HA;
|
|
30
|
-
params: QueryParams;
|
|
31
|
-
input: HandlerInput;
|
|
32
|
-
req: express.Request;
|
|
33
|
-
res: express.Response;
|
|
34
|
-
resetRouteRateLimits: () => Promise<void>;
|
|
35
|
-
};
|
|
36
|
-
export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
|
-
import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server';
|
|
5
|
-
import express from 'express';
|
|
6
|
-
import * as ComAtprotoServerDefs from '../server/defs';
|
|
7
|
-
export interface QueryParams {
|
|
8
|
-
sort: 'recent' | 'usage' | (string & {});
|
|
9
|
-
limit: number;
|
|
10
|
-
cursor?: string;
|
|
11
|
-
}
|
|
12
|
-
export type InputSchema = undefined;
|
|
13
|
-
export interface OutputSchema {
|
|
14
|
-
cursor?: string;
|
|
15
|
-
codes: ComAtprotoServerDefs.InviteCode[];
|
|
16
|
-
[k: string]: unknown;
|
|
17
|
-
}
|
|
18
|
-
export type HandlerInput = undefined;
|
|
19
|
-
export interface HandlerSuccess {
|
|
20
|
-
encoding: 'application/json';
|
|
21
|
-
body: OutputSchema;
|
|
22
|
-
headers?: {
|
|
23
|
-
[key: string]: string;
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
export interface HandlerError {
|
|
27
|
-
status: number;
|
|
28
|
-
message?: string;
|
|
29
|
-
}
|
|
30
|
-
export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough;
|
|
31
|
-
export type HandlerReqCtx<HA extends HandlerAuth = never> = {
|
|
32
|
-
auth: HA;
|
|
33
|
-
params: QueryParams;
|
|
34
|
-
input: HandlerInput;
|
|
35
|
-
req: express.Request;
|
|
36
|
-
res: express.Response;
|
|
37
|
-
resetRouteRateLimits: () => Promise<void>;
|
|
38
|
-
};
|
|
39
|
-
export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
|
-
import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server';
|
|
5
|
-
import express from 'express';
|
|
6
|
-
import * as ComAtprotoRepoStrongRef from '../repo/strongRef';
|
|
7
|
-
import * as ComAtprotoAdminDefs from './defs';
|
|
8
|
-
export interface QueryParams {
|
|
9
|
-
did?: string;
|
|
10
|
-
uri?: string;
|
|
11
|
-
blob?: string;
|
|
12
|
-
}
|
|
13
|
-
export type InputSchema = undefined;
|
|
14
|
-
export interface OutputSchema {
|
|
15
|
-
subject: ComAtprotoAdminDefs.RepoRef | ComAtprotoRepoStrongRef.Main | ComAtprotoAdminDefs.RepoBlobRef | {
|
|
16
|
-
$type: string;
|
|
17
|
-
[k: string]: unknown;
|
|
18
|
-
};
|
|
19
|
-
takedown?: ComAtprotoAdminDefs.StatusAttr;
|
|
20
|
-
deactivated?: ComAtprotoAdminDefs.StatusAttr;
|
|
21
|
-
[k: string]: unknown;
|
|
22
|
-
}
|
|
23
|
-
export type HandlerInput = undefined;
|
|
24
|
-
export interface HandlerSuccess {
|
|
25
|
-
encoding: 'application/json';
|
|
26
|
-
body: OutputSchema;
|
|
27
|
-
headers?: {
|
|
28
|
-
[key: string]: string;
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
export interface HandlerError {
|
|
32
|
-
status: number;
|
|
33
|
-
message?: string;
|
|
34
|
-
}
|
|
35
|
-
export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough;
|
|
36
|
-
export type HandlerReqCtx<HA extends HandlerAuth = never> = {
|
|
37
|
-
auth: HA;
|
|
38
|
-
params: QueryParams;
|
|
39
|
-
input: HandlerInput;
|
|
40
|
-
req: express.Request;
|
|
41
|
-
res: express.Response;
|
|
42
|
-
resetRouteRateLimits: () => Promise<void>;
|
|
43
|
-
};
|
|
44
|
-
export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
|
-
import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server';
|
|
5
|
-
import express from 'express';
|
|
6
|
-
import * as ComAtprotoAdminDefs from './defs';
|
|
7
|
-
export interface QueryParams {
|
|
8
|
-
email?: string;
|
|
9
|
-
cursor?: string;
|
|
10
|
-
limit: number;
|
|
11
|
-
}
|
|
12
|
-
export type InputSchema = undefined;
|
|
13
|
-
export interface OutputSchema {
|
|
14
|
-
cursor?: string;
|
|
15
|
-
accounts: ComAtprotoAdminDefs.AccountView[];
|
|
16
|
-
[k: string]: unknown;
|
|
17
|
-
}
|
|
18
|
-
export type HandlerInput = undefined;
|
|
19
|
-
export interface HandlerSuccess {
|
|
20
|
-
encoding: 'application/json';
|
|
21
|
-
body: OutputSchema;
|
|
22
|
-
headers?: {
|
|
23
|
-
[key: string]: string;
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
export interface HandlerError {
|
|
27
|
-
status: number;
|
|
28
|
-
message?: string;
|
|
29
|
-
}
|
|
30
|
-
export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough;
|
|
31
|
-
export type HandlerReqCtx<HA extends HandlerAuth = never> = {
|
|
32
|
-
auth: HA;
|
|
33
|
-
params: QueryParams;
|
|
34
|
-
input: HandlerInput;
|
|
35
|
-
req: express.Request;
|
|
36
|
-
res: express.Response;
|
|
37
|
-
resetRouteRateLimits: () => Promise<void>;
|
|
38
|
-
};
|
|
39
|
-
export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
|
-
import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server';
|
|
5
|
-
import express from 'express';
|
|
6
|
-
export interface QueryParams {
|
|
7
|
-
}
|
|
8
|
-
export interface InputSchema {
|
|
9
|
-
recipientDid: string;
|
|
10
|
-
content: string;
|
|
11
|
-
subject?: string;
|
|
12
|
-
senderDid: string;
|
|
13
|
-
/** Additional comment by the sender that won't be used in the email itself but helpful to provide more context for moderators/reviewers */
|
|
14
|
-
comment?: string;
|
|
15
|
-
[k: string]: unknown;
|
|
16
|
-
}
|
|
17
|
-
export interface OutputSchema {
|
|
18
|
-
sent: boolean;
|
|
19
|
-
[k: string]: unknown;
|
|
20
|
-
}
|
|
21
|
-
export interface HandlerInput {
|
|
22
|
-
encoding: 'application/json';
|
|
23
|
-
body: InputSchema;
|
|
24
|
-
}
|
|
25
|
-
export interface HandlerSuccess {
|
|
26
|
-
encoding: 'application/json';
|
|
27
|
-
body: OutputSchema;
|
|
28
|
-
headers?: {
|
|
29
|
-
[key: string]: string;
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
export interface HandlerError {
|
|
33
|
-
status: number;
|
|
34
|
-
message?: string;
|
|
35
|
-
}
|
|
36
|
-
export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough;
|
|
37
|
-
export type HandlerReqCtx<HA extends HandlerAuth = never> = {
|
|
38
|
-
auth: HA;
|
|
39
|
-
params: QueryParams;
|
|
40
|
-
input: HandlerInput;
|
|
41
|
-
req: express.Request;
|
|
42
|
-
res: express.Response;
|
|
43
|
-
resetRouteRateLimits: () => Promise<void>;
|
|
44
|
-
};
|
|
45
|
-
export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
|
-
import { HandlerAuth } from '@atproto/xrpc-server';
|
|
5
|
-
import express from 'express';
|
|
6
|
-
export interface QueryParams {
|
|
7
|
-
}
|
|
8
|
-
export interface InputSchema {
|
|
9
|
-
/** The handle or DID of the repo. */
|
|
10
|
-
account: string;
|
|
11
|
-
email: string;
|
|
12
|
-
[k: string]: unknown;
|
|
13
|
-
}
|
|
14
|
-
export interface HandlerInput {
|
|
15
|
-
encoding: 'application/json';
|
|
16
|
-
body: InputSchema;
|
|
17
|
-
}
|
|
18
|
-
export interface HandlerError {
|
|
19
|
-
status: number;
|
|
20
|
-
message?: string;
|
|
21
|
-
}
|
|
22
|
-
export type HandlerOutput = HandlerError | void;
|
|
23
|
-
export type HandlerReqCtx<HA extends HandlerAuth = never> = {
|
|
24
|
-
auth: HA;
|
|
25
|
-
params: QueryParams;
|
|
26
|
-
input: HandlerInput;
|
|
27
|
-
req: express.Request;
|
|
28
|
-
res: express.Response;
|
|
29
|
-
resetRouteRateLimits: () => Promise<void>;
|
|
30
|
-
};
|
|
31
|
-
export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
|
-
import { HandlerAuth } from '@atproto/xrpc-server';
|
|
5
|
-
import express from 'express';
|
|
6
|
-
export interface QueryParams {
|
|
7
|
-
}
|
|
8
|
-
export interface InputSchema {
|
|
9
|
-
did: string;
|
|
10
|
-
handle: string;
|
|
11
|
-
[k: string]: unknown;
|
|
12
|
-
}
|
|
13
|
-
export interface HandlerInput {
|
|
14
|
-
encoding: 'application/json';
|
|
15
|
-
body: InputSchema;
|
|
16
|
-
}
|
|
17
|
-
export interface HandlerError {
|
|
18
|
-
status: number;
|
|
19
|
-
message?: string;
|
|
20
|
-
}
|
|
21
|
-
export type HandlerOutput = HandlerError | void;
|
|
22
|
-
export type HandlerReqCtx<HA extends HandlerAuth = never> = {
|
|
23
|
-
auth: HA;
|
|
24
|
-
params: QueryParams;
|
|
25
|
-
input: HandlerInput;
|
|
26
|
-
req: express.Request;
|
|
27
|
-
res: express.Response;
|
|
28
|
-
resetRouteRateLimits: () => Promise<void>;
|
|
29
|
-
};
|
|
30
|
-
export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
|
-
import { HandlerAuth } from '@atproto/xrpc-server';
|
|
5
|
-
import express from 'express';
|
|
6
|
-
export interface QueryParams {
|
|
7
|
-
}
|
|
8
|
-
export interface InputSchema {
|
|
9
|
-
did: string;
|
|
10
|
-
password: string;
|
|
11
|
-
[k: string]: unknown;
|
|
12
|
-
}
|
|
13
|
-
export interface HandlerInput {
|
|
14
|
-
encoding: 'application/json';
|
|
15
|
-
body: InputSchema;
|
|
16
|
-
}
|
|
17
|
-
export interface HandlerError {
|
|
18
|
-
status: number;
|
|
19
|
-
message?: string;
|
|
20
|
-
}
|
|
21
|
-
export type HandlerOutput = HandlerError | void;
|
|
22
|
-
export type HandlerReqCtx<HA extends HandlerAuth = never> = {
|
|
23
|
-
auth: HA;
|
|
24
|
-
params: QueryParams;
|
|
25
|
-
input: HandlerInput;
|
|
26
|
-
req: express.Request;
|
|
27
|
-
res: express.Response;
|
|
28
|
-
resetRouteRateLimits: () => Promise<void>;
|
|
29
|
-
};
|
|
30
|
-
export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
|
-
import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server';
|
|
5
|
-
import express from 'express';
|
|
6
|
-
import * as ComAtprotoRepoStrongRef from '../repo/strongRef';
|
|
7
|
-
import * as ComAtprotoAdminDefs from './defs';
|
|
8
|
-
export interface QueryParams {
|
|
9
|
-
}
|
|
10
|
-
export interface InputSchema {
|
|
11
|
-
subject: ComAtprotoAdminDefs.RepoRef | ComAtprotoRepoStrongRef.Main | ComAtprotoAdminDefs.RepoBlobRef | {
|
|
12
|
-
$type: string;
|
|
13
|
-
[k: string]: unknown;
|
|
14
|
-
};
|
|
15
|
-
takedown?: ComAtprotoAdminDefs.StatusAttr;
|
|
16
|
-
deactivated?: ComAtprotoAdminDefs.StatusAttr;
|
|
17
|
-
[k: string]: unknown;
|
|
18
|
-
}
|
|
19
|
-
export interface OutputSchema {
|
|
20
|
-
subject: ComAtprotoAdminDefs.RepoRef | ComAtprotoRepoStrongRef.Main | ComAtprotoAdminDefs.RepoBlobRef | {
|
|
21
|
-
$type: string;
|
|
22
|
-
[k: string]: unknown;
|
|
23
|
-
};
|
|
24
|
-
takedown?: ComAtprotoAdminDefs.StatusAttr;
|
|
25
|
-
[k: string]: unknown;
|
|
26
|
-
}
|
|
27
|
-
export interface HandlerInput {
|
|
28
|
-
encoding: 'application/json';
|
|
29
|
-
body: InputSchema;
|
|
30
|
-
}
|
|
31
|
-
export interface HandlerSuccess {
|
|
32
|
-
encoding: 'application/json';
|
|
33
|
-
body: OutputSchema;
|
|
34
|
-
headers?: {
|
|
35
|
-
[key: string]: string;
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
export interface HandlerError {
|
|
39
|
-
status: number;
|
|
40
|
-
message?: string;
|
|
41
|
-
}
|
|
42
|
-
export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough;
|
|
43
|
-
export type HandlerReqCtx<HA extends HandlerAuth = never> = {
|
|
44
|
-
auth: HA;
|
|
45
|
-
params: QueryParams;
|
|
46
|
-
input: HandlerInput;
|
|
47
|
-
req: express.Request;
|
|
48
|
-
res: express.Response;
|
|
49
|
-
resetRouteRateLimits: () => Promise<void>;
|
|
50
|
-
};
|
|
51
|
-
export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
|