Lanyards is a dedicated profile for researchers, built on the AT Protocol.
at main 54 lines 1.2 kB view raw
1// Type declarations for AT Protocol packages to fix generated type imports 2// These are used by the auto-generated lexicon types from @atproto/lex-cli 3 4declare namespace ComAtprotoRepoListRecords { 5 export interface QueryParams { 6 repo: string; 7 collection: string; 8 limit?: number; 9 cursor?: string; 10 reverse?: boolean; 11 } 12} 13 14declare namespace ComAtprotoRepoGetRecord { 15 export interface QueryParams { 16 repo: string; 17 collection: string; 18 rkey: string; 19 cid?: string; 20 } 21} 22 23declare namespace ComAtprotoRepoCreateRecord { 24 export interface InputSchema { 25 repo: string; 26 collection: string; 27 rkey?: string; 28 validate?: boolean; 29 record: Record<string, unknown>; 30 swapCommit?: string; 31 } 32} 33 34declare namespace ComAtprotoRepoPutRecord { 35 export interface InputSchema { 36 repo: string; 37 collection: string; 38 rkey: string; 39 validate?: boolean; 40 record: Record<string, unknown>; 41 swapRecord?: string; 42 swapCommit?: string; 43 } 44} 45 46declare namespace ComAtprotoRepoDeleteRecord { 47 export interface InputSchema { 48 repo: string; 49 collection: string; 50 rkey: string; 51 swapRecord?: string; 52 swapCommit?: string; 53 } 54}