@atproto/api
Advanced tools
Comparing version 0.6.8 to 0.6.9
@@ -12,3 +12,2 @@ import { Client as XrpcClient, ServiceClient as XrpcServiceClient } from '@atproto/xrpc'; | ||
import * as ComAtprotoAdminGetRepo from './types/com/atproto/admin/getRepo'; | ||
import * as ComAtprotoAdminRebaseRepo from './types/com/atproto/admin/rebaseRepo'; | ||
import * as ComAtprotoAdminResolveModerationReports from './types/com/atproto/admin/resolveModerationReports'; | ||
@@ -32,3 +31,2 @@ import * as ComAtprotoAdminReverseModerationAction from './types/com/atproto/admin/reverseModerationAction'; | ||
import * as ComAtprotoRepoPutRecord from './types/com/atproto/repo/putRecord'; | ||
import * as ComAtprotoRepoRebaseRepo from './types/com/atproto/repo/rebaseRepo'; | ||
import * as ComAtprotoRepoUploadBlob from './types/com/atproto/repo/uploadBlob'; | ||
@@ -54,4 +52,4 @@ import * as ComAtprotoServerCreateAccount from './types/com/atproto/server/createAccount'; | ||
import * as ComAtprotoSyncGetCheckout from './types/com/atproto/sync/getCheckout'; | ||
import * as ComAtprotoSyncGetCommitPath from './types/com/atproto/sync/getCommitPath'; | ||
import * as ComAtprotoSyncGetHead from './types/com/atproto/sync/getHead'; | ||
import * as ComAtprotoSyncGetLatestCommit from './types/com/atproto/sync/getLatestCommit'; | ||
import * as ComAtprotoSyncGetRecord from './types/com/atproto/sync/getRecord'; | ||
@@ -63,2 +61,3 @@ import * as ComAtprotoSyncGetRepo from './types/com/atproto/sync/getRepo'; | ||
import * as ComAtprotoSyncRequestCrawl from './types/com/atproto/sync/requestCrawl'; | ||
import * as ComAtprotoTempUpgradeRepoVersion from './types/com/atproto/temp/upgradeRepoVersion'; | ||
import * as AppBskyActorGetPreferences from './types/app/bsky/actor/getPreferences'; | ||
@@ -85,2 +84,3 @@ import * as AppBskyActorGetProfile from './types/app/bsky/actor/getProfile'; | ||
import * as AppBskyFeedGetRepostedBy from './types/app/bsky/feed/getRepostedBy'; | ||
import * as AppBskyFeedGetSuggestedFeeds from './types/app/bsky/feed/getSuggestedFeeds'; | ||
import * as AppBskyFeedGetTimeline from './types/app/bsky/feed/getTimeline'; | ||
@@ -124,3 +124,2 @@ import * as AppBskyFeedLike from './types/app/bsky/feed/like'; | ||
export * as ComAtprotoAdminGetRepo from './types/com/atproto/admin/getRepo'; | ||
export * as ComAtprotoAdminRebaseRepo from './types/com/atproto/admin/rebaseRepo'; | ||
export * as ComAtprotoAdminResolveModerationReports from './types/com/atproto/admin/resolveModerationReports'; | ||
@@ -147,3 +146,2 @@ export * as ComAtprotoAdminReverseModerationAction from './types/com/atproto/admin/reverseModerationAction'; | ||
export * as ComAtprotoRepoPutRecord from './types/com/atproto/repo/putRecord'; | ||
export * as ComAtprotoRepoRebaseRepo from './types/com/atproto/repo/rebaseRepo'; | ||
export * as ComAtprotoRepoStrongRef from './types/com/atproto/repo/strongRef'; | ||
@@ -171,4 +169,4 @@ export * as ComAtprotoRepoUploadBlob from './types/com/atproto/repo/uploadBlob'; | ||
export * as ComAtprotoSyncGetCheckout from './types/com/atproto/sync/getCheckout'; | ||
export * as ComAtprotoSyncGetCommitPath from './types/com/atproto/sync/getCommitPath'; | ||
export * as ComAtprotoSyncGetHead from './types/com/atproto/sync/getHead'; | ||
export * as ComAtprotoSyncGetLatestCommit from './types/com/atproto/sync/getLatestCommit'; | ||
export * as ComAtprotoSyncGetRecord from './types/com/atproto/sync/getRecord'; | ||
@@ -181,2 +179,3 @@ export * as ComAtprotoSyncGetRepo from './types/com/atproto/sync/getRepo'; | ||
export * as ComAtprotoSyncSubscribeRepos from './types/com/atproto/sync/subscribeRepos'; | ||
export * as ComAtprotoTempUpgradeRepoVersion from './types/com/atproto/temp/upgradeRepoVersion'; | ||
export * as AppBskyActorDefs from './types/app/bsky/actor/defs'; | ||
@@ -209,2 +208,3 @@ export * as AppBskyActorGetPreferences from './types/app/bsky/actor/getPreferences'; | ||
export * as AppBskyFeedGetRepostedBy from './types/app/bsky/feed/getRepostedBy'; | ||
export * as AppBskyFeedGetSuggestedFeeds from './types/app/bsky/feed/getSuggestedFeeds'; | ||
export * as AppBskyFeedGetTimeline from './types/app/bsky/feed/getTimeline'; | ||
@@ -283,2 +283,3 @@ export * as AppBskyFeedLike from './types/app/bsky/feed/like'; | ||
sync: SyncNS; | ||
temp: TempNS; | ||
constructor(service: AtpServiceClient); | ||
@@ -299,3 +300,2 @@ } | ||
getRepo(params?: ComAtprotoAdminGetRepo.QueryParams, opts?: ComAtprotoAdminGetRepo.CallOptions): Promise<ComAtprotoAdminGetRepo.Response>; | ||
rebaseRepo(data?: ComAtprotoAdminRebaseRepo.InputSchema, opts?: ComAtprotoAdminRebaseRepo.CallOptions): Promise<ComAtprotoAdminRebaseRepo.Response>; | ||
resolveModerationReports(data?: ComAtprotoAdminResolveModerationReports.InputSchema, opts?: ComAtprotoAdminResolveModerationReports.CallOptions): Promise<ComAtprotoAdminResolveModerationReports.Response>; | ||
@@ -335,3 +335,2 @@ reverseModerationAction(data?: ComAtprotoAdminReverseModerationAction.InputSchema, opts?: ComAtprotoAdminReverseModerationAction.CallOptions): Promise<ComAtprotoAdminReverseModerationAction.Response>; | ||
putRecord(data?: ComAtprotoRepoPutRecord.InputSchema, opts?: ComAtprotoRepoPutRecord.CallOptions): Promise<ComAtprotoRepoPutRecord.Response>; | ||
rebaseRepo(data?: ComAtprotoRepoRebaseRepo.InputSchema, opts?: ComAtprotoRepoRebaseRepo.CallOptions): Promise<ComAtprotoRepoRebaseRepo.Response>; | ||
uploadBlob(data?: ComAtprotoRepoUploadBlob.InputSchema, opts?: ComAtprotoRepoUploadBlob.CallOptions): Promise<ComAtprotoRepoUploadBlob.Response>; | ||
@@ -365,4 +364,4 @@ } | ||
getCheckout(params?: ComAtprotoSyncGetCheckout.QueryParams, opts?: ComAtprotoSyncGetCheckout.CallOptions): Promise<ComAtprotoSyncGetCheckout.Response>; | ||
getCommitPath(params?: ComAtprotoSyncGetCommitPath.QueryParams, opts?: ComAtprotoSyncGetCommitPath.CallOptions): Promise<ComAtprotoSyncGetCommitPath.Response>; | ||
getHead(params?: ComAtprotoSyncGetHead.QueryParams, opts?: ComAtprotoSyncGetHead.CallOptions): Promise<ComAtprotoSyncGetHead.Response>; | ||
getLatestCommit(params?: ComAtprotoSyncGetLatestCommit.QueryParams, opts?: ComAtprotoSyncGetLatestCommit.CallOptions): Promise<ComAtprotoSyncGetLatestCommit.Response>; | ||
getRecord(params?: ComAtprotoSyncGetRecord.QueryParams, opts?: ComAtprotoSyncGetRecord.CallOptions): Promise<ComAtprotoSyncGetRecord.Response>; | ||
@@ -375,2 +374,7 @@ getRepo(params?: ComAtprotoSyncGetRepo.QueryParams, opts?: ComAtprotoSyncGetRepo.CallOptions): Promise<ComAtprotoSyncGetRepo.Response>; | ||
} | ||
export declare class TempNS { | ||
_service: AtpServiceClient; | ||
constructor(service: AtpServiceClient); | ||
upgradeRepoVersion(data?: ComAtprotoTempUpgradeRepoVersion.InputSchema, opts?: ComAtprotoTempUpgradeRepoVersion.CallOptions): Promise<ComAtprotoTempUpgradeRepoVersion.Response>; | ||
} | ||
export declare class AppNS { | ||
@@ -448,2 +452,3 @@ _service: AtpServiceClient; | ||
getRepostedBy(params?: AppBskyFeedGetRepostedBy.QueryParams, opts?: AppBskyFeedGetRepostedBy.CallOptions): Promise<AppBskyFeedGetRepostedBy.Response>; | ||
getSuggestedFeeds(params?: AppBskyFeedGetSuggestedFeeds.QueryParams, opts?: AppBskyFeedGetSuggestedFeeds.CallOptions): Promise<AppBskyFeedGetSuggestedFeeds.Response>; | ||
getTimeline(params?: AppBskyFeedGetTimeline.QueryParams, opts?: AppBskyFeedGetTimeline.CallOptions): Promise<AppBskyFeedGetTimeline.Response>; | ||
@@ -450,0 +455,0 @@ } |
import { Headers } from '@atproto/xrpc'; | ||
export interface QueryParams { | ||
did: string; | ||
commit?: string; | ||
} | ||
@@ -6,0 +5,0 @@ export declare type InputSchema = undefined; |
import { Headers } from '@atproto/xrpc'; | ||
export interface QueryParams { | ||
did: string; | ||
earliest?: string; | ||
latest?: string; | ||
since?: string; | ||
} | ||
@@ -7,0 +6,0 @@ export declare type InputSchema = undefined; |
import { Headers } from '@atproto/xrpc'; | ||
export interface QueryParams { | ||
did: string; | ||
latest?: string; | ||
earliest?: string; | ||
since?: string; | ||
limit?: number; | ||
cursor?: string; | ||
} | ||
export declare type InputSchema = undefined; | ||
export interface OutputSchema { | ||
cursor?: string; | ||
cids: string[]; | ||
@@ -10,0 +12,0 @@ [k: string]: unknown; |
@@ -9,3 +9,5 @@ import { ValidationResult } from '@atproto/lexicon'; | ||
commit: CID; | ||
prev: CID | null; | ||
prev?: CID | null; | ||
rev: string; | ||
since: string | null; | ||
blocks: Uint8Array; | ||
@@ -12,0 +14,0 @@ ops: RepoOp[]; |
{ | ||
"name": "@atproto/api", | ||
"version": "0.6.8", | ||
"main": "dist/index.js", | ||
"version": "0.6.9", | ||
"main": "src/index.ts", | ||
"scripts": { | ||
@@ -6,0 +6,0 @@ "codegen": "yarn docgen && node ./scripts/generate-code.mjs && lex gen-api ./src/client ../../lexicons/com/atproto/*/* ../../lexicons/app/bsky/*/*", |
@@ -14,2 +14,3 @@ /** | ||
did: string | ||
force?: boolean | ||
[k: string]: unknown | ||
@@ -16,0 +17,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4133739
334
63048