objective categorical abstract machine language personal data server

hermes: Use nested module syntax rather than flat module path

futur.blue ab1f7193 7181c62d

verified
+409 -329
+28 -5
hermes-cli/bin/main.ml
··· 77 77 in 78 78 aux [] path 79 79 80 + let generate_index lexicons = 81 + let nsids = List.map (fun lexicon -> lexicon.Lexicon_types.id) lexicons in 82 + let trie = Naming.group_nsids_by_prefix nsids in 83 + let rec build_index (trie : Naming.trie) index indent = 84 + match trie with 85 + | Node children -> 86 + List.fold_left 87 + (fun acc (key, child) -> 88 + match (child : Naming.trie) with 89 + | Module nsid -> 90 + let module_name = Naming.flat_module_name_of_nsid nsid in 91 + acc ^ indent 92 + ^ Printf.sprintf "module %s = %s\n" 93 + (String.capitalize_ascii key) 94 + module_name 95 + | Node _ -> 96 + acc ^ indent 97 + ^ Printf.sprintf "module %s = struct\n" 98 + (String.capitalize_ascii key) 99 + ^ build_index child index (indent ^ " ") 100 + ^ indent ^ "end\n" ) 101 + index children 102 + | _ -> 103 + failwith "build_index called with invalid trie" 104 + in 105 + build_index (Node trie) "" "" 106 + 80 107 (* generate module structure from lexicons *) 81 108 let generate ~inputs ~output_dir ~module_name = 82 109 (* create output directory *) ··· 163 190 let oc = open_out index_path in 164 191 Printf.fprintf oc "(* %s - generated from atproto lexicons *)\n\n" module_name ; 165 192 (* export each lexicon as a module alias *) 166 - List.iter 167 - (fun doc -> 168 - let flat_module = Naming.flat_module_name_of_nsid doc.Lexicon_types.id in 169 - Printf.fprintf oc "module %s = %s\n" flat_module flat_module ) 170 - lexicons ; 193 + Out_channel.output_string oc (generate_index lexicons) ; 171 194 close_out oc ; 172 195 Printf.printf "Generated index: %s\n" index_path ; 173 196 (* generate dune file *)
+39
hermes-cli/lib/naming.ml
··· 245 245 "unknown" 246 246 in 247 247 type_name (context ^ "_" ^ def_name) 248 + 249 + (** group NSIDs by shared prefixes 250 + e.g. ["app.bsky.actor.defs"; "app.bsky.actor.getProfile"; "app.bsky.graph.defs"; "com.atproto.sync.getRepo"] 251 + -> [("app", Node [("bsky", Node [("actor", Node [("defs", Module "app.bsky.actor.defs"); ("getProfile", Module "app.bsky.actor.getProfile")]); 252 + ("graph", Node [("defs", Module "app.bsky.graph.defs")])])]); 253 + ("com", [("atproto", [("sync", [("getRepo", Module "com.atproto.sync.getRepo")])])])] *) 254 + type trie = Node of (string * trie) list | Module of string 255 + 256 + let group_nsids_by_prefix nsids = 257 + let rec insert_segments trie nsid segments = 258 + match segments with 259 + | [] -> 260 + Module nsid 261 + | seg :: rest -> 262 + let children = 263 + match trie with Node node_children -> node_children | Module _ -> [] 264 + in 265 + let existing = 266 + match List.assoc_opt seg children with 267 + | Some child -> 268 + child 269 + | None -> 270 + Node [] 271 + in 272 + let updated = insert_segments existing nsid rest in 273 + let trie_without_seg = List.remove_assoc seg children in 274 + Node ((seg, updated) :: trie_without_seg) 275 + in 276 + match 277 + List.fold_left 278 + (fun trie nsid -> 279 + let segments = String.split_on_char '.' nsid in 280 + insert_segments trie nsid segments ) 281 + (Node []) nsids 282 + with 283 + | Node result -> 284 + result 285 + | _ -> 286 + failwith "unexpected trie type"
+1 -1
hermes/README.md
··· 39 39 let client = Hermes.make_client ~service:"https://public.api.bsky.app" () in 40 40 41 41 (* Make a query using the generated module *) 42 - let* profile = App_bsky_actor_getProfile.call ~actor:"bsky.app" client in 42 + let* profile = App.Bsky.Actor.Profile.call ~actor:"bsky.app" client in 43 43 print_endline profile.display_name; 44 44 Lwt.return_unit 45 45 end
+14 -31
hermes_ppx/lib/hermes_ppx.ml
··· 4 4 let nsid_to_module_path nsid = 5 5 String.split_on_char '.' nsid |> List.map String.capitalize_ascii 6 6 7 - (* convert nsid to flat module name: "com.atproto.identity.resolveHandle" -> "Com_atproto_identity_resolveHandle" *) 8 - let nsid_to_flat_module_name nsid = 9 - let flat = String.concat "_" (String.split_on_char '.' nsid) in 10 - String.capitalize_ascii flat 11 - 12 - (* build module access expression from path: ["App"; "Bsky"] -> App.Bsky *) 13 - let build_module_path ~loc path = 14 - match path with 15 - | [] -> 16 - Location.raise_errorf ~loc "Empty module path" 17 - | first :: rest -> 18 - List.fold_left 19 - (fun acc part -> 20 - let lid = Loc.make ~loc (Longident.Ldot (acc.txt, part)) in 21 - lid ) 22 - (Loc.make ~loc (Longident.Lident first)) 23 - rest 24 - 25 - (* build full expression for flat module structure: Module_name.Main.call *) 26 - let build_call_expr_flat ~loc nsid = 27 - let module_name = nsid_to_flat_module_name nsid in 28 - (* Build: Module_name.Main.call *) 29 - let lid = Longident.(Ldot (Ldot (Lident module_name, "Main"), "call")) in 7 + (* build full expression: Module.Name.Main.call *) 8 + let build_call_expr ~loc nsid = 9 + let module_path = nsid_to_module_path nsid in 10 + let module_lid = 11 + match module_path with 12 + | [] -> 13 + Location.raise_errorf ~loc "Expected non-empty nsid" 14 + | hd :: tl -> 15 + List.fold_left 16 + (fun acc part -> Longident.Ldot (acc, part)) 17 + (Longident.Lident hd) tl 18 + in 19 + let lid = Longident.(Ldot (Ldot (module_lid, "Main"), "call")) in 30 20 Ast_builder.Default.pexp_ident ~loc (Loc.make ~loc lid) 31 - 32 - (* build full expression: Module.Path.call (nested style, kept for compatibility) *) 33 - let build_call_expr ~loc nsid = 34 - let parts = nsid_to_module_path nsid in 35 - let module_lid = build_module_path ~loc parts in 36 - let call_lid = Loc.make ~loc (Longident.Ldot (module_lid.txt, "call")) in 37 - Ast_builder.Default.pexp_ident ~loc call_lid 38 21 39 22 (* parse method and nsid from structure items *) 40 23 let parse_method_and_nsid ~loc str = ··· 65 48 let expand ~ctxt str = 66 49 let loc = Expansion_context.Extension.extension_point_loc ctxt in 67 50 let _method, nsid = parse_method_and_nsid ~loc str in 68 - build_call_expr_flat ~loc nsid 51 + build_call_expr ~loc nsid 69 52 70 53 let xrpc_extension = 71 54 Extension.V3.declare "xrpc" Extension.Context.expression
-11
hermes_ppx/test/test_ppx.ml
··· 18 18 let result = Hermes_ppx.nsid_to_module_path "test" in 19 19 check (list string) "single segment" ["Test"] result 20 20 21 - let test_build_module_path_single () = 22 - let result = Hermes_ppx.build_module_path ~loc ["App"] in 23 - check string "single module" "App" (Ppxlib.Longident.name result.txt) 24 - 25 - let test_build_module_path_nested () = 26 - let result = Hermes_ppx.build_module_path ~loc ["App"; "Bsky"; "Graph"] in 27 - check string "nested module" "App.Bsky.Graph" 28 - (Ppxlib.Longident.name result.txt) 29 - 30 21 let test_build_call_expr () = 31 22 let result = Hermes_ppx.build_call_expr ~loc "app.bsky.graph.getProfile" in 32 23 let expected_str = "App.Bsky.Graph.GetProfile.call" in ··· 72 63 , `Quick 73 64 , test_nsid_to_module_path_camel_case ) 74 65 ; ("nsid_to_module_path single", `Quick, test_nsid_to_module_path_single) 75 - ; ("build_module_path single", `Quick, test_build_module_path_single) 76 - ; ("build_module_path nested", `Quick, test_build_module_path_nested) 77 66 ; ("build_call_expr", `Quick, test_build_call_expr) ] 78 67 79 68 let expansion_tests =
+1 -1
pegasus/lib/api/account_/migrate/migrate.ml
··· 74 74 match%lwt Remote.fetch_preferences old_client with 75 75 | Ok prefs -> 76 76 Data_store.put_preferences ~did 77 - ~prefs:(App_bsky_actor_defs.preferences_to_yojson prefs) 77 + ~prefs:(App.Bsky.Actor.Defs.preferences_to_yojson prefs) 78 78 ctx.db 79 79 | _ -> 80 80 Lwt.return_unit
+1 -1
pegasus/lib/api/admin/deleteAccount.ml
··· 1 - open Lexicons.Com_atproto_admin_deleteAccount.Main 1 + open Lexicons.Com.Atproto.Admin.DeleteAccount.Main 2 2 3 3 let handler = 4 4 Xrpc.handler ~auth:Admin (fun {req; db; _} ->
+1 -1
pegasus/lib/api/admin/getAccountInfo.ml
··· 1 - open Lexicons.Com_atproto_admin_getAccountInfo.Main 1 + open Lexicons.Com.Atproto.Admin.GetAccountInfo.Main 2 2 3 3 let actor_to_account_view (actor : Data_store.Types.actor) : output = 4 4 { did= actor.did
+1 -1
pegasus/lib/api/admin/getAccountInfos.ml
··· 1 - open Lexicons.Com_atproto_admin_getAccountInfos.Main 1 + open Lexicons.Com.Atproto.Admin.GetAccountInfos.Main 2 2 3 3 let handler = 4 4 Xrpc.handler ~auth:Admin (fun {req; db; _} ->
+2 -2
pegasus/lib/api/admin/getInviteCodes.ml
··· 1 - open Lexicons.Com_atproto_admin_getInviteCodes.Main 1 + open Lexicons.Com.Atproto.Admin.GetInviteCodes.Main 2 2 3 - type invite_code = Lexicons.Com_atproto_server_defs.invite_code 3 + type invite_code = Lexicons.Com.Atproto.Server.Defs.invite_code 4 4 [@@deriving yojson {strict= false}] 5 5 6 6 let handler =
+1 -1
pegasus/lib/api/admin/sendEmail.ml
··· 1 - open Lexicons.Com_atproto_admin_sendEmail.Main 1 + open Lexicons.Com.Atproto.Admin.SendEmail.Main 2 2 3 3 let handler = 4 4 Xrpc.handler ~auth:Admin (fun {req; db; _} ->
+1 -1
pegasus/lib/api/admin/updateAccountEmail.ml
··· 1 - open Lexicons.Com_atproto_admin_updateAccountEmail.Main 1 + open Lexicons.Com.Atproto.Admin.UpdateAccountEmail.Main 2 2 3 3 let handler = 4 4 Xrpc.handler ~auth:Admin (fun {req; db; _} ->
+1 -1
pegasus/lib/api/admin/updateAccountHandle.ml
··· 1 - open Lexicons.Com_atproto_admin_updateAccountHandle.Main 1 + open Lexicons.Com.Atproto.Admin.UpdateAccountHandle.Main 2 2 3 3 let handler = 4 4 Xrpc.handler ~auth:Admin (fun {req; db; _} ->
+4 -8
pegasus/lib/api/identity/resolveHandle.ml
··· 1 - type query = Lexicons.Com_atproto_identity_resolveHandle.Main.params 2 - [@@deriving yojson {strict= false}] 3 - 4 - type response = Lexicons.Com_atproto_identity_resolveHandle.Main.output 5 - [@@deriving yojson {strict= false}] 1 + open Lexicons.Com.Atproto.Identity.ResolveHandle.Main 6 2 7 3 let handler = 8 4 Xrpc.handler (fun ctx -> 9 - let {handle} : query = Xrpc.parse_query ctx.req query_of_yojson in 5 + let {handle} = Xrpc.parse_query ctx.req params_of_yojson in 10 6 match%lwt Data_store.get_actor_by_identifier handle ctx.db with 11 7 | Some actor -> 12 8 Dream.json @@ Yojson.Safe.to_string 13 - @@ response_to_yojson {did= actor.did} 9 + @@ output_to_yojson {did= actor.did} 14 10 | None -> ( 15 11 match%lwt Id_resolver.Handle.resolve handle with 16 12 | Ok did -> 17 - Dream.json @@ Yojson.Safe.to_string @@ response_to_yojson {did} 13 + Dream.json @@ Yojson.Safe.to_string @@ output_to_yojson {did} 18 14 | Error e -> ( 19 15 try%lwt Xrpc.service_proxy ctx 20 16 with _ ->
+1 -1
pegasus/lib/api/identity/signPlcOperation.ml
··· 1 - open Lexicons.Com_atproto_identity_signPlcOperation.Main 1 + open Lexicons.Com.Atproto.Identity.SignPlcOperation.Main 2 2 3 3 let handler = 4 4 Xrpc.handler ~auth:Authorization (fun {req; auth; db; _} ->
+1 -1
pegasus/lib/api/identity/submitPlcOperation.ml
··· 1 - open Lexicons.Com_atproto_identity_submitPlcOperation.Main 1 + open Lexicons.Com.Atproto.Identity.SubmitPlcOperation.Main 2 2 3 3 let handler = 4 4 Xrpc.handler ~auth:Authorization (fun {req; auth; db; _} ->
+1 -1
pegasus/lib/api/identity/updateHandle.ml
··· 1 - open Lexicons.Com_atproto_identity_updateHandle.Main 1 + open Lexicons.Com.Atproto.Identity.UpdateHandle.Main 2 2 3 3 type update_handle_error = 4 4 | InvalidFormat of string
+3 -3
pegasus/lib/api/proxy/appBskyActorGetPreferences.ml
··· 1 - open Lexicons.App_bsky_actor_getPreferences.Main 1 + open Lexicons.App.Bsky.Actor.Defs 2 + open Lexicons.App.Bsky.Actor.GetPreferences.Main 2 3 3 4 let handler = 4 5 Xrpc.handler ~auth:Authorization (fun {db; auth; _} -> ··· 10 11 | None -> 11 12 Errors.internal_error () 12 13 in 13 - preferences |> Lexicons.App_bsky_actor_defs.preferences_of_yojson 14 - |> Result.get_ok 14 + preferences |> preferences_of_yojson |> Result.get_ok 15 15 |> (fun p -> {preferences= p}) 16 16 |> output_to_yojson |> Yojson.Safe.to_string |> Dream.json )
+1 -1
pegasus/lib/api/repo/applyWrites.ml
··· 1 - open Lexicons.Com_atproto_repo_applyWrites.Main 1 + open Lexicons.Com.Atproto.Repo.ApplyWrites.Main 2 2 3 3 let calc_write_points writes = 4 4 List.fold_left
+1 -1
pegasus/lib/api/repo/createRecord.ml
··· 1 - open Lexicons.Com_atproto_repo_createRecord.Main 1 + open Lexicons.Com.Atproto.Repo.CreateRecord.Main 2 2 3 3 let calc_key_did ctx = Some (Auth.get_authed_did_exn ctx.Xrpc.auth) 4 4
+1 -1
pegasus/lib/api/repo/deleteRecord.ml
··· 1 - open Lexicons.Com_atproto_repo_deleteRecord.Main 1 + open Lexicons.Com.Atproto.Repo.DeleteRecord.Main 2 2 3 3 let calc_key_did ctx = Some (Auth.get_authed_did_exn ctx.Xrpc.auth) 4 4
+1 -1
pegasus/lib/api/repo/describeRepo.ml
··· 1 - open Lexicons.Com_atproto_repo_describeRepo.Main 1 + open Lexicons.Com.Atproto.Repo.DescribeRepo.Main 2 2 3 3 let handler = 4 4 Xrpc.handler (fun ctx ->
+1 -1
pegasus/lib/api/repo/getRecord.ml
··· 1 - open Lexicons.Com_atproto_repo_getRecord.Main 1 + open Lexicons.Com.Atproto.Repo.GetRecord.Main 2 2 3 3 let handler = 4 4 Xrpc.handler (fun ctx ->
+1 -1
pegasus/lib/api/repo/listMissingBlobs.ml
··· 1 - open Lexicons.Com_atproto_repo_listMissingBlobs 1 + open Lexicons.Com.Atproto.Repo.ListMissingBlobs 2 2 open Main 3 3 4 4 let handler =
+1 -1
pegasus/lib/api/repo/listRecords.ml
··· 1 - open Lexicons.Com_atproto_repo_listRecords 1 + open Lexicons.Com.Atproto.Repo.ListRecords 2 2 open Main 3 3 4 4 let handler =
+1 -1
pegasus/lib/api/repo/putRecord.ml
··· 1 - open Lexicons.Com_atproto_repo_putRecord.Main 1 + open Lexicons.Com.Atproto.Repo.PutRecord.Main 2 2 3 3 let calc_key_did ctx = Some (Auth.get_authed_did_exn ctx.Xrpc.auth) 4 4
+1 -1
pegasus/lib/api/repo/uploadBlob.ml
··· 1 - open Lexicons.Com_atproto_repo_uploadBlob.Main 1 + open Lexicons.Com.Atproto.Repo.UploadBlob.Main 2 2 3 3 let handler = 4 4 Xrpc.handler ~auth:Authorization (fun ctx ->
+1 -1
pegasus/lib/api/server/checkAccountStatus.ml
··· 1 - open Lexicons.Com_atproto_server_checkAccountStatus.Main 1 + open Lexicons.Com.Atproto.Server.CheckAccountStatus.Main 2 2 3 3 let get_account_status did = 4 4 let%lwt {db= us; commit; actor; _} = Repository.load did in
+1 -1
pegasus/lib/api/server/confirmEmail.ml
··· 1 - open Lexicons.Com_atproto_server_confirmEmail.Main 1 + open Lexicons.Com.Atproto.Server.ConfirmEmail.Main 2 2 3 3 type confirm_error = InvalidToken | ExpiredToken | EmailMismatch 4 4
+1 -1
pegasus/lib/api/server/createAccount.ml
··· 1 - open Lexicons.Com_atproto_server_createAccount.Main 1 + open Lexicons.Com.Atproto.Server.CreateAccount.Main 2 2 3 3 type create_account_error = 4 4 | InviteCodeRequired
+1 -1
pegasus/lib/api/server/createInviteCode.ml
··· 1 - open Lexicons.Com_atproto_server_createInviteCode.Main 1 + open Lexicons.Com.Atproto.Server.CreateInviteCode.Main 2 2 3 3 let generate_code did = 4 4 String.sub
+1 -1
pegasus/lib/api/server/createInviteCodes.ml
··· 1 - open Lexicons.Com_atproto_server_createInviteCodes 1 + open Lexicons.Com.Atproto.Server.CreateInviteCodes 2 2 open Main 3 3 4 4 let handler =
+1 -1
pegasus/lib/api/server/createSession.ml
··· 1 - open Lexicons.Com_atproto_server_createSession.Main 1 + open Lexicons.Com.Atproto.Server.CreateSession.Main 2 2 3 3 let consume_points = 1 4 4
+1 -1
pegasus/lib/api/server/deactivateAccount.ml
··· 1 - open Lexicons.Com_atproto_server_deactivateAccount.Main 1 + open Lexicons.Com.Atproto.Server.DeactivateAccount.Main 2 2 3 3 let deactivate_account ~did db = 4 4 let%lwt () = Data_store.deactivate_actor did db in
+1 -1
pegasus/lib/api/server/deleteAccount.ml
··· 1 - open Lexicons.Com_atproto_server_deleteAccount.Main 1 + open Lexicons.Com.Atproto.Server.DeleteAccount.Main 2 2 3 3 let rec rm_rf path = 4 4 if Sys.is_directory path then (
+1 -1
pegasus/lib/api/server/getServiceAuth.ml
··· 1 - open Lexicons.Com_atproto_server_getServiceAuth.Main 1 + open Lexicons.Com.Atproto.Server.GetServiceAuth.Main 2 2 3 3 let handler = 4 4 Xrpc.handler ~auth:Authorization (fun {req; auth; db; _} ->
+1 -1
pegasus/lib/api/server/getSession.ml
··· 1 - open Lexicons.Com_atproto_server_getSession.Main 1 + open Lexicons.Com.Atproto.Server.GetSession.Main 2 2 3 3 let handler = 4 4 Xrpc.handler ~auth:Authorization (fun {db; auth; _} ->
+1 -1
pegasus/lib/api/server/refreshSession.ml
··· 1 - open Lexicons.Com_atproto_server_refreshSession.Main 1 + open Lexicons.Com.Atproto.Server.RefreshSession.Main 2 2 3 3 let handler = 4 4 Xrpc.handler ~auth:Refresh (fun {db; auth; _} ->
+1 -1
pegasus/lib/api/server/requestEmailUpdate.ml
··· 1 - open Lexicons.Com_atproto_server_requestEmailUpdate.Main 1 + open Lexicons.Com.Atproto.Server.RequestEmailUpdate.Main 2 2 3 3 let request_email_update ?pending_email (actor : Data_store.Types.actor) db = 4 4 let token_required =
+1 -1
pegasus/lib/api/server/requestPasswordReset.ml
··· 1 - open Lexicons.Com_atproto_server_requestPasswordReset.Main 1 + open Lexicons.Com.Atproto.Server.RequestPasswordReset.Main 2 2 3 3 let request_password_reset (actor : Data_store.Types.actor) db = 4 4 let did = actor.did in
+1 -1
pegasus/lib/api/server/reserveSigningKey.ml
··· 1 - open Lexicons.Com_atproto_server_reserveSigningKey.Main 1 + open Lexicons.Com.Atproto.Server.ReserveSigningKey.Main 2 2 3 3 let handler = 4 4 Xrpc.handler (fun {req; db; _} ->
+1 -1
pegasus/lib/api/server/resetPassword.ml
··· 1 - open Lexicons.Com_atproto_server_resetPassword.Main 1 + open Lexicons.Com.Atproto.Server.ResetPassword.Main 2 2 3 3 type reset_password_error = InvalidToken | ExpiredToken 4 4
+1 -1
pegasus/lib/api/server/updateEmail.ml
··· 1 - open Lexicons.Com_atproto_server_updateEmail.Main 1 + open Lexicons.Com.Atproto.Server.UpdateEmail.Main 2 2 3 3 type update_email_error = 4 4 | TokenRequired
+1 -1
pegasus/lib/api/sync/getBlob.ml
··· 1 - open Lexicons.Com_atproto_sync_getBlob.Main 1 + open Lexicons.Com.Atproto.Sync.GetBlob.Main 2 2 3 3 let handler = 4 4 Xrpc.handler (fun ctx ->
+1 -1
pegasus/lib/api/sync/getBlocks.ml
··· 1 - open Lexicons.Com_atproto_sync_getBlocks.Main 1 + open Lexicons.Com.Atproto.Sync.GetBlocks.Main 2 2 3 3 let handler = 4 4 Xrpc.handler (fun ctx ->
+1 -1
pegasus/lib/api/sync/getLatestCommit.ml
··· 1 - open Lexicons.Com_atproto_sync_getLatestCommit.Main 1 + open Lexicons.Com.Atproto.Sync.GetLatestCommit.Main 2 2 3 3 let handler = 4 4 Xrpc.handler (fun ctx ->
+1 -1
pegasus/lib/api/sync/getRecord.ml
··· 1 1 module Mst = Mist.Mst.Make (User_store) 2 - open Lexicons.Com_atproto_sync_getRecord.Main 2 + open Lexicons.Com.Atproto.Sync.GetRecord.Main 3 3 4 4 let handler = 5 5 Xrpc.handler (fun ctx ->
+1 -1
pegasus/lib/api/sync/getRepo.ml
··· 1 - open Lexicons.Com_atproto_sync_getRepo.Main 1 + open Lexicons.Com.Atproto.Sync.GetRepo.Main 2 2 3 3 let handler = 4 4 Xrpc.handler (fun ctx ->
+1 -1
pegasus/lib/api/sync/getRepoStatus.ml
··· 1 - open Lexicons.Com_atproto_sync_getRepoStatus.Main 1 + open Lexicons.Com.Atproto.Sync.GetRepoStatus.Main 2 2 3 3 let handler = 4 4 Xrpc.handler (fun ctx ->
+1 -1
pegasus/lib/api/sync/listBlobs.ml
··· 1 - open Lexicons.Com_atproto_sync_listBlobs.Main 1 + open Lexicons.Com.Atproto.Sync.ListBlobs.Main 2 2 3 3 let handler = 4 4 Xrpc.handler (fun ctx ->
+1 -1
pegasus/lib/api/sync/listRepos.ml
··· 1 - open Lexicons.Com_atproto_sync_listRepos 1 + open Lexicons.Com.Atproto.Sync.ListRepos 2 2 open Main 3 3 4 4 let handler =
+275 -225
pegasus/lib/lexicons/lexicons.ml
··· 1 1 (* Lexicons - generated from atproto lexicons *) 2 2 3 - module Com_atproto_moderation_createReport = Com_atproto_moderation_createReport 4 - module Com_atproto_moderation_defs = Com_atproto_moderation_defs 5 - module Com_atproto_repo_listRecords = Com_atproto_repo_listRecords 6 - module Com_atproto_repo_applyWrites = Com_atproto_repo_applyWrites 7 - module Com_atproto_repo_getRecord = Com_atproto_repo_getRecord 8 - module Com_atproto_repo_describeRepo = Com_atproto_repo_describeRepo 9 - module Com_atproto_repo_importRepo = Com_atproto_repo_importRepo 10 - module Com_atproto_repo_uploadBlob = Com_atproto_repo_uploadBlob 11 - module Com_atproto_repo_putRecord = Com_atproto_repo_putRecord 12 - module Com_atproto_repo_deleteRecord = Com_atproto_repo_deleteRecord 13 - module Com_atproto_repo_createRecord = Com_atproto_repo_createRecord 14 - module Com_atproto_repo_listMissingBlobs = Com_atproto_repo_listMissingBlobs 15 - module Com_atproto_repo_defs = Com_atproto_repo_defs 16 - module Com_atproto_repo_strongRef = Com_atproto_repo_strongRef 17 - module Com_atproto_sync_getCheckout = Com_atproto_sync_getCheckout 18 - module Com_atproto_sync_listReposByCollection = Com_atproto_sync_listReposByCollection 19 - module Com_atproto_sync_getBlocks = Com_atproto_sync_getBlocks 20 - module Com_atproto_sync_getHostStatus = Com_atproto_sync_getHostStatus 21 - module Com_atproto_sync_listRepos = Com_atproto_sync_listRepos 22 - module Com_atproto_sync_listHosts = Com_atproto_sync_listHosts 23 - module Com_atproto_sync_getRecord = Com_atproto_sync_getRecord 24 - module Com_atproto_sync_getRepoStatus = Com_atproto_sync_getRepoStatus 25 - module Com_atproto_sync_getLatestCommit = Com_atproto_sync_getLatestCommit 26 - module Com_atproto_sync_listBlobs = Com_atproto_sync_listBlobs 27 - module Com_atproto_sync_requestCrawl = Com_atproto_sync_requestCrawl 28 - module Com_atproto_sync_defs = Com_atproto_sync_defs 29 - module Com_atproto_sync_notifyOfUpdate = Com_atproto_sync_notifyOfUpdate 30 - module Com_atproto_sync_getRepo = Com_atproto_sync_getRepo 31 - module Com_atproto_sync_getBlob = Com_atproto_sync_getBlob 32 - module Com_atproto_sync_getHead = Com_atproto_sync_getHead 33 - module Com_atproto_lexicon_schema = Com_atproto_lexicon_schema 34 - module Com_atproto_lexicon_resolveLexicon = Com_atproto_lexicon_resolveLexicon 35 - module Com_atproto_server_createInviteCode = Com_atproto_server_createInviteCode 36 - module Com_atproto_server_deleteAccount = Com_atproto_server_deleteAccount 37 - module Com_atproto_server_createAccount = Com_atproto_server_createAccount 38 - module Com_atproto_server_requestAccountDelete = Com_atproto_server_requestAccountDelete 39 - module Com_atproto_server_requestPasswordReset = Com_atproto_server_requestPasswordReset 40 - module Com_atproto_server_requestEmailUpdate = Com_atproto_server_requestEmailUpdate 41 - module Com_atproto_server_checkAccountStatus = Com_atproto_server_checkAccountStatus 42 - module Com_atproto_server_resetPassword = Com_atproto_server_resetPassword 43 - module Com_atproto_server_updateEmail = Com_atproto_server_updateEmail 44 - module Com_atproto_server_deactivateAccount = Com_atproto_server_deactivateAccount 45 - module Com_atproto_server_refreshSession = Com_atproto_server_refreshSession 46 - module Com_atproto_server_getSession = Com_atproto_server_getSession 47 - module Com_atproto_server_confirmEmail = Com_atproto_server_confirmEmail 48 - module Com_atproto_server_describeServer = Com_atproto_server_describeServer 49 - module Com_atproto_server_activateAccount = Com_atproto_server_activateAccount 50 - module Com_atproto_server_createAppPassword = Com_atproto_server_createAppPassword 51 - module Com_atproto_server_revokeAppPassword = Com_atproto_server_revokeAppPassword 52 - module Com_atproto_server_deleteSession = Com_atproto_server_deleteSession 53 - module Com_atproto_server_createInviteCodes = Com_atproto_server_createInviteCodes 54 - module Com_atproto_server_listAppPasswords = Com_atproto_server_listAppPasswords 55 - module Com_atproto_server_createSession = Com_atproto_server_createSession 56 - module Com_atproto_server_getAccountInviteCodes = Com_atproto_server_getAccountInviteCodes 57 - module Com_atproto_server_getServiceAuth = Com_atproto_server_getServiceAuth 58 - module Com_atproto_server_defs = Com_atproto_server_defs 59 - module Com_atproto_server_reserveSigningKey = Com_atproto_server_reserveSigningKey 60 - module Com_atproto_server_requestEmailConfirmation = Com_atproto_server_requestEmailConfirmation 61 - module Com_atproto_label_queryLabels = Com_atproto_label_queryLabels 62 - module Com_atproto_label_defs = Com_atproto_label_defs 63 - module Com_atproto_admin_deleteAccount = Com_atproto_admin_deleteAccount 64 - module Com_atproto_admin_getAccountInfos = Com_atproto_admin_getAccountInfos 65 - module Com_atproto_admin_sendEmail = Com_atproto_admin_sendEmail 66 - module Com_atproto_admin_updateSubjectStatus = Com_atproto_admin_updateSubjectStatus 67 - module Com_atproto_admin_disableInviteCodes = Com_atproto_admin_disableInviteCodes 68 - module Com_atproto_admin_disableAccountInvites = Com_atproto_admin_disableAccountInvites 69 - module Com_atproto_admin_enableAccountInvites = Com_atproto_admin_enableAccountInvites 70 - module Com_atproto_admin_updateAccountSigningKey = Com_atproto_admin_updateAccountSigningKey 71 - module Com_atproto_admin_getInviteCodes = Com_atproto_admin_getInviteCodes 72 - module Com_atproto_admin_updateAccountHandle = Com_atproto_admin_updateAccountHandle 73 - module Com_atproto_admin_updateAccountPassword = Com_atproto_admin_updateAccountPassword 74 - module Com_atproto_admin_searchAccounts = Com_atproto_admin_searchAccounts 75 - module Com_atproto_admin_defs = Com_atproto_admin_defs 76 - module Com_atproto_admin_getSubjectStatus = Com_atproto_admin_getSubjectStatus 77 - module Com_atproto_admin_getAccountInfo = Com_atproto_admin_getAccountInfo 78 - module Com_atproto_admin_updateAccountEmail = Com_atproto_admin_updateAccountEmail 79 - module Com_atproto_identity_resolveDid = Com_atproto_identity_resolveDid 80 - module Com_atproto_identity_getRecommendedDidCredentials = Com_atproto_identity_getRecommendedDidCredentials 81 - module Com_atproto_identity_requestPlcOperationSignature = Com_atproto_identity_requestPlcOperationSignature 82 - module Com_atproto_identity_resolveHandle = Com_atproto_identity_resolveHandle 83 - module Com_atproto_identity_refreshIdentity = Com_atproto_identity_refreshIdentity 84 - module Com_atproto_identity_resolveIdentity = Com_atproto_identity_resolveIdentity 85 - module Com_atproto_identity_submitPlcOperation = Com_atproto_identity_submitPlcOperation 86 - module Com_atproto_identity_signPlcOperation = Com_atproto_identity_signPlcOperation 87 - module Com_atproto_identity_defs = Com_atproto_identity_defs 88 - module Com_atproto_identity_updateHandle = Com_atproto_identity_updateHandle 89 - module Com_atproto_temp_fetchLabels = Com_atproto_temp_fetchLabels 90 - module Com_atproto_temp_revokeAccountCredentials = Com_atproto_temp_revokeAccountCredentials 91 - module Com_atproto_temp_requestPhoneVerification = Com_atproto_temp_requestPhoneVerification 92 - module Com_atproto_temp_checkHandleAvailability = Com_atproto_temp_checkHandleAvailability 93 - module Com_atproto_temp_checkSignupQueue = Com_atproto_temp_checkSignupQueue 94 - module Com_atproto_temp_addReservedHandle = Com_atproto_temp_addReservedHandle 95 - module Com_atproto_temp_dereferenceScope = Com_atproto_temp_dereferenceScope 96 - module App_bsky_labeler_getServices = App_bsky_labeler_getServices 97 - module App_bsky_labeler_service = App_bsky_labeler_service 98 - module App_bsky_labeler_defs = App_bsky_labeler_defs 99 - module App_bsky_actor_profile = App_bsky_actor_profile 100 - module App_bsky_actor_getPreferences = App_bsky_actor_getPreferences 101 - module App_bsky_actor_status = App_bsky_actor_status 102 - module App_bsky_actor_getProfiles = App_bsky_actor_getProfiles 103 - module App_bsky_actor_searchActors = App_bsky_actor_searchActors 104 - module App_bsky_actor_getSuggestions = App_bsky_actor_getSuggestions 105 - module App_bsky_actor_getProfile = App_bsky_actor_getProfile 106 - module App_bsky_actor_putPreferences = App_bsky_actor_putPreferences 107 - module App_bsky_actor_defs = App_bsky_actor_defs 108 - module App_bsky_actor_searchActorsTypeahead = App_bsky_actor_searchActorsTypeahead 109 - module App_bsky_ageassurance_getConfig = App_bsky_ageassurance_getConfig 110 - module App_bsky_ageassurance_getState = App_bsky_ageassurance_getState 111 - module App_bsky_ageassurance_defs = App_bsky_ageassurance_defs 112 - module App_bsky_ageassurance_begin = App_bsky_ageassurance_begin 113 - module App_bsky_richtext_facet = App_bsky_richtext_facet 114 - module App_bsky_feed_post = App_bsky_feed_post 115 - module App_bsky_feed_getActorFeeds = App_bsky_feed_getActorFeeds 116 - module App_bsky_feed_getSuggestedFeeds = App_bsky_feed_getSuggestedFeeds 117 - module App_bsky_feed_getListFeed = App_bsky_feed_getListFeed 118 - module App_bsky_feed_getFeedSkeleton = App_bsky_feed_getFeedSkeleton 119 - module App_bsky_feed_getQuotes = App_bsky_feed_getQuotes 120 - module App_bsky_feed_getFeed = App_bsky_feed_getFeed 121 - module App_bsky_feed_getPosts = App_bsky_feed_getPosts 122 - module App_bsky_feed_searchPosts = App_bsky_feed_searchPosts 123 - module App_bsky_feed_describeFeedGenerator = App_bsky_feed_describeFeedGenerator 124 - module App_bsky_feed_repost = App_bsky_feed_repost 125 - module App_bsky_feed_getRepostedBy = App_bsky_feed_getRepostedBy 126 - module App_bsky_feed_like = App_bsky_feed_like 127 - module App_bsky_feed_getActorLikes = App_bsky_feed_getActorLikes 128 - module App_bsky_feed_getPostThread = App_bsky_feed_getPostThread 129 - module App_bsky_feed_threadgate = App_bsky_feed_threadgate 130 - module App_bsky_feed_postgate = App_bsky_feed_postgate 131 - module App_bsky_feed_getLikes = App_bsky_feed_getLikes 132 - module App_bsky_feed_getAuthorFeed = App_bsky_feed_getAuthorFeed 133 - module App_bsky_feed_getFeedGenerator = App_bsky_feed_getFeedGenerator 134 - module App_bsky_feed_getTimeline = App_bsky_feed_getTimeline 135 - module App_bsky_feed_getFeedGenerators = App_bsky_feed_getFeedGenerators 136 - module App_bsky_feed_defs = App_bsky_feed_defs 137 - module App_bsky_feed_sendInteractions = App_bsky_feed_sendInteractions 138 - module App_bsky_feed_generator = App_bsky_feed_generator 139 - module App_bsky_graph_getList = App_bsky_graph_getList 140 - module App_bsky_graph_unmuteActor = App_bsky_graph_unmuteActor 141 - module App_bsky_graph_getRelationships = App_bsky_graph_getRelationships 142 - module App_bsky_graph_getBlocks = App_bsky_graph_getBlocks 143 - module App_bsky_graph_getFollows = App_bsky_graph_getFollows 144 - module App_bsky_graph_getListMutes = App_bsky_graph_getListMutes 145 - module App_bsky_graph_verification = App_bsky_graph_verification 146 - module App_bsky_graph_getKnownFollowers = App_bsky_graph_getKnownFollowers 147 - module App_bsky_graph_list = App_bsky_graph_list 148 - module App_bsky_graph_listitem = App_bsky_graph_listitem 149 - module App_bsky_graph_getMutes = App_bsky_graph_getMutes 150 - module App_bsky_graph_muteActor = App_bsky_graph_muteActor 151 - module App_bsky_graph_unmuteThread = App_bsky_graph_unmuteThread 152 - module App_bsky_graph_getFollowers = App_bsky_graph_getFollowers 153 - module App_bsky_graph_getLists = App_bsky_graph_getLists 154 - module App_bsky_graph_getActorStarterPacks = App_bsky_graph_getActorStarterPacks 155 - module App_bsky_graph_searchStarterPacks = App_bsky_graph_searchStarterPacks 156 - module App_bsky_graph_muteThread = App_bsky_graph_muteThread 157 - module App_bsky_graph_muteActorList = App_bsky_graph_muteActorList 158 - module App_bsky_graph_starterpack = App_bsky_graph_starterpack 159 - module App_bsky_graph_getStarterPack = App_bsky_graph_getStarterPack 160 - module App_bsky_graph_listblock = App_bsky_graph_listblock 161 - module App_bsky_graph_getListBlocks = App_bsky_graph_getListBlocks 162 - module App_bsky_graph_unmuteActorList = App_bsky_graph_unmuteActorList 163 - module App_bsky_graph_getListsWithMembership = App_bsky_graph_getListsWithMembership 164 - module App_bsky_graph_defs = App_bsky_graph_defs 165 - module App_bsky_graph_follow = App_bsky_graph_follow 166 - module App_bsky_graph_getStarterPacksWithMembership = App_bsky_graph_getStarterPacksWithMembership 167 - module App_bsky_graph_block = App_bsky_graph_block 168 - module App_bsky_graph_getSuggestedFollowsByActor = App_bsky_graph_getSuggestedFollowsByActor 169 - module App_bsky_graph_getStarterPacks = App_bsky_graph_getStarterPacks 170 - module App_bsky_unspecced_getConfig = App_bsky_unspecced_getConfig 171 - module App_bsky_unspecced_getTrendsSkeleton = App_bsky_unspecced_getTrendsSkeleton 172 - module App_bsky_unspecced_getSuggestedFeeds = App_bsky_unspecced_getSuggestedFeeds 173 - module App_bsky_unspecced_getTaggedSuggestions = App_bsky_unspecced_getTaggedSuggestions 174 - module App_bsky_unspecced_getTrendingTopics = App_bsky_unspecced_getTrendingTopics 175 - module App_bsky_unspecced_initAgeAssurance = App_bsky_unspecced_initAgeAssurance 176 - module App_bsky_unspecced_getPopularFeedGenerators = App_bsky_unspecced_getPopularFeedGenerators 177 - module App_bsky_unspecced_getAgeAssuranceState = App_bsky_unspecced_getAgeAssuranceState 178 - module App_bsky_unspecced_searchPostsSkeleton = App_bsky_unspecced_searchPostsSkeleton 179 - module App_bsky_unspecced_getSuggestionsSkeleton = App_bsky_unspecced_getSuggestionsSkeleton 180 - module App_bsky_unspecced_searchActorsSkeleton = App_bsky_unspecced_searchActorsSkeleton 181 - module App_bsky_unspecced_getTrends = App_bsky_unspecced_getTrends 182 - module App_bsky_unspecced_getPostThreadV2 = App_bsky_unspecced_getPostThreadV2 183 - module App_bsky_unspecced_getSuggestedUsersSkeleton = App_bsky_unspecced_getSuggestedUsersSkeleton 184 - module App_bsky_unspecced_getOnboardingSuggestedStarterPacks = App_bsky_unspecced_getOnboardingSuggestedStarterPacks 185 - module App_bsky_unspecced_getSuggestedStarterPacksSkeleton = App_bsky_unspecced_getSuggestedStarterPacksSkeleton 186 - module App_bsky_unspecced_getSuggestedStarterPacks = App_bsky_unspecced_getSuggestedStarterPacks 187 - module App_bsky_unspecced_getPostThreadOtherV2 = App_bsky_unspecced_getPostThreadOtherV2 188 - module App_bsky_unspecced_getSuggestedUsers = App_bsky_unspecced_getSuggestedUsers 189 - module App_bsky_unspecced_getOnboardingSuggestedStarterPacksSkeleton = App_bsky_unspecced_getOnboardingSuggestedStarterPacksSkeleton 190 - module App_bsky_unspecced_defs = App_bsky_unspecced_defs 191 - module App_bsky_unspecced_searchStarterPacksSkeleton = App_bsky_unspecced_searchStarterPacksSkeleton 192 - module App_bsky_unspecced_getSuggestedFeedsSkeleton = App_bsky_unspecced_getSuggestedFeedsSkeleton 193 - module App_bsky_notification_getUnreadCount = App_bsky_notification_getUnreadCount 194 - module App_bsky_notification_listNotifications = App_bsky_notification_listNotifications 195 - module App_bsky_notification_getPreferences = App_bsky_notification_getPreferences 196 - module App_bsky_notification_unregisterPush = App_bsky_notification_unregisterPush 197 - module App_bsky_notification_listActivitySubscriptions = App_bsky_notification_listActivitySubscriptions 198 - module App_bsky_notification_updateSeen = App_bsky_notification_updateSeen 199 - module App_bsky_notification_putPreferencesV2 = App_bsky_notification_putPreferencesV2 200 - module App_bsky_notification_declaration = App_bsky_notification_declaration 201 - module App_bsky_notification_putActivitySubscription = App_bsky_notification_putActivitySubscription 202 - module App_bsky_notification_putPreferences = App_bsky_notification_putPreferences 203 - module App_bsky_notification_registerPush = App_bsky_notification_registerPush 204 - module App_bsky_notification_defs = App_bsky_notification_defs 205 - module App_bsky_embed_external = App_bsky_embed_external 206 - module App_bsky_embed_video = App_bsky_embed_video 207 - module App_bsky_embed_recordWithMedia = App_bsky_embed_recordWithMedia 208 - module App_bsky_embed_images = App_bsky_embed_images 209 - module App_bsky_embed_record = App_bsky_embed_record 210 - module App_bsky_embed_defs = App_bsky_embed_defs 211 - module App_bsky_bookmark_createBookmark = App_bsky_bookmark_createBookmark 212 - module App_bsky_bookmark_getBookmarks = App_bsky_bookmark_getBookmarks 213 - module App_bsky_bookmark_deleteBookmark = App_bsky_bookmark_deleteBookmark 214 - module App_bsky_bookmark_defs = App_bsky_bookmark_defs 215 - module App_bsky_contact_verifyPhone = App_bsky_contact_verifyPhone 216 - module App_bsky_contact_removeData = App_bsky_contact_removeData 217 - module App_bsky_contact_dismissMatch = App_bsky_contact_dismissMatch 218 - module App_bsky_contact_importContacts = App_bsky_contact_importContacts 219 - module App_bsky_contact_getMatches = App_bsky_contact_getMatches 220 - module App_bsky_contact_startPhoneVerification = App_bsky_contact_startPhoneVerification 221 - module App_bsky_contact_getSyncStatus = App_bsky_contact_getSyncStatus 222 - module App_bsky_contact_sendNotification = App_bsky_contact_sendNotification 223 - module App_bsky_contact_defs = App_bsky_contact_defs 224 - module App_bsky_video_getUploadLimits = App_bsky_video_getUploadLimits 225 - module App_bsky_video_getJobStatus = App_bsky_video_getJobStatus 226 - module App_bsky_video_defs = App_bsky_video_defs 227 - module App_bsky_video_uploadVideo = App_bsky_video_uploadVideo 3 + module App = struct 4 + module Bsky = struct 5 + module Video = struct 6 + module UploadVideo = App_bsky_video_uploadVideo 7 + module Defs = App_bsky_video_defs 8 + module GetJobStatus = App_bsky_video_getJobStatus 9 + module GetUploadLimits = App_bsky_video_getUploadLimits 10 + end 11 + module Contact = struct 12 + module Defs = App_bsky_contact_defs 13 + module SendNotification = App_bsky_contact_sendNotification 14 + module GetSyncStatus = App_bsky_contact_getSyncStatus 15 + module StartPhoneVerification = App_bsky_contact_startPhoneVerification 16 + module GetMatches = App_bsky_contact_getMatches 17 + module ImportContacts = App_bsky_contact_importContacts 18 + module DismissMatch = App_bsky_contact_dismissMatch 19 + module RemoveData = App_bsky_contact_removeData 20 + module VerifyPhone = App_bsky_contact_verifyPhone 21 + end 22 + module Bookmark = struct 23 + module Defs = App_bsky_bookmark_defs 24 + module DeleteBookmark = App_bsky_bookmark_deleteBookmark 25 + module GetBookmarks = App_bsky_bookmark_getBookmarks 26 + module CreateBookmark = App_bsky_bookmark_createBookmark 27 + end 28 + module Embed = struct 29 + module Defs = App_bsky_embed_defs 30 + module Record = App_bsky_embed_record 31 + module Images = App_bsky_embed_images 32 + module RecordWithMedia = App_bsky_embed_recordWithMedia 33 + module Video = App_bsky_embed_video 34 + module External = App_bsky_embed_external 35 + end 36 + module Notification = struct 37 + module Defs = App_bsky_notification_defs 38 + module RegisterPush = App_bsky_notification_registerPush 39 + module PutPreferences = App_bsky_notification_putPreferences 40 + module PutActivitySubscription = App_bsky_notification_putActivitySubscription 41 + module Declaration = App_bsky_notification_declaration 42 + module PutPreferencesV2 = App_bsky_notification_putPreferencesV2 43 + module UpdateSeen = App_bsky_notification_updateSeen 44 + module ListActivitySubscriptions = App_bsky_notification_listActivitySubscriptions 45 + module UnregisterPush = App_bsky_notification_unregisterPush 46 + module GetPreferences = App_bsky_notification_getPreferences 47 + module ListNotifications = App_bsky_notification_listNotifications 48 + module GetUnreadCount = App_bsky_notification_getUnreadCount 49 + end 50 + module Unspecced = struct 51 + module GetSuggestedFeedsSkeleton = App_bsky_unspecced_getSuggestedFeedsSkeleton 52 + module SearchStarterPacksSkeleton = App_bsky_unspecced_searchStarterPacksSkeleton 53 + module Defs = App_bsky_unspecced_defs 54 + module GetOnboardingSuggestedStarterPacksSkeleton = App_bsky_unspecced_getOnboardingSuggestedStarterPacksSkeleton 55 + module GetSuggestedUsers = App_bsky_unspecced_getSuggestedUsers 56 + module GetPostThreadOtherV2 = App_bsky_unspecced_getPostThreadOtherV2 57 + module GetSuggestedStarterPacks = App_bsky_unspecced_getSuggestedStarterPacks 58 + module GetSuggestedStarterPacksSkeleton = App_bsky_unspecced_getSuggestedStarterPacksSkeleton 59 + module GetOnboardingSuggestedStarterPacks = App_bsky_unspecced_getOnboardingSuggestedStarterPacks 60 + module GetSuggestedUsersSkeleton = App_bsky_unspecced_getSuggestedUsersSkeleton 61 + module GetPostThreadV2 = App_bsky_unspecced_getPostThreadV2 62 + module GetTrends = App_bsky_unspecced_getTrends 63 + module SearchActorsSkeleton = App_bsky_unspecced_searchActorsSkeleton 64 + module GetSuggestionsSkeleton = App_bsky_unspecced_getSuggestionsSkeleton 65 + module SearchPostsSkeleton = App_bsky_unspecced_searchPostsSkeleton 66 + module GetAgeAssuranceState = App_bsky_unspecced_getAgeAssuranceState 67 + module GetPopularFeedGenerators = App_bsky_unspecced_getPopularFeedGenerators 68 + module InitAgeAssurance = App_bsky_unspecced_initAgeAssurance 69 + module GetTrendingTopics = App_bsky_unspecced_getTrendingTopics 70 + module GetTaggedSuggestions = App_bsky_unspecced_getTaggedSuggestions 71 + module GetSuggestedFeeds = App_bsky_unspecced_getSuggestedFeeds 72 + module GetTrendsSkeleton = App_bsky_unspecced_getTrendsSkeleton 73 + module GetConfig = App_bsky_unspecced_getConfig 74 + end 75 + module Graph = struct 76 + module GetStarterPacks = App_bsky_graph_getStarterPacks 77 + module GetSuggestedFollowsByActor = App_bsky_graph_getSuggestedFollowsByActor 78 + module Block = App_bsky_graph_block 79 + module GetStarterPacksWithMembership = App_bsky_graph_getStarterPacksWithMembership 80 + module Follow = App_bsky_graph_follow 81 + module Defs = App_bsky_graph_defs 82 + module GetListsWithMembership = App_bsky_graph_getListsWithMembership 83 + module UnmuteActorList = App_bsky_graph_unmuteActorList 84 + module GetListBlocks = App_bsky_graph_getListBlocks 85 + module Listblock = App_bsky_graph_listblock 86 + module GetStarterPack = App_bsky_graph_getStarterPack 87 + module Starterpack = App_bsky_graph_starterpack 88 + module MuteActorList = App_bsky_graph_muteActorList 89 + module MuteThread = App_bsky_graph_muteThread 90 + module SearchStarterPacks = App_bsky_graph_searchStarterPacks 91 + module GetActorStarterPacks = App_bsky_graph_getActorStarterPacks 92 + module GetLists = App_bsky_graph_getLists 93 + module GetFollowers = App_bsky_graph_getFollowers 94 + module UnmuteThread = App_bsky_graph_unmuteThread 95 + module MuteActor = App_bsky_graph_muteActor 96 + module GetMutes = App_bsky_graph_getMutes 97 + module Listitem = App_bsky_graph_listitem 98 + module List = App_bsky_graph_list 99 + module GetKnownFollowers = App_bsky_graph_getKnownFollowers 100 + module Verification = App_bsky_graph_verification 101 + module GetListMutes = App_bsky_graph_getListMutes 102 + module GetFollows = App_bsky_graph_getFollows 103 + module GetBlocks = App_bsky_graph_getBlocks 104 + module GetRelationships = App_bsky_graph_getRelationships 105 + module UnmuteActor = App_bsky_graph_unmuteActor 106 + module GetList = App_bsky_graph_getList 107 + end 108 + module Feed = struct 109 + module Generator = App_bsky_feed_generator 110 + module SendInteractions = App_bsky_feed_sendInteractions 111 + module Defs = App_bsky_feed_defs 112 + module GetFeedGenerators = App_bsky_feed_getFeedGenerators 113 + module GetTimeline = App_bsky_feed_getTimeline 114 + module GetFeedGenerator = App_bsky_feed_getFeedGenerator 115 + module GetAuthorFeed = App_bsky_feed_getAuthorFeed 116 + module GetLikes = App_bsky_feed_getLikes 117 + module Postgate = App_bsky_feed_postgate 118 + module Threadgate = App_bsky_feed_threadgate 119 + module GetPostThread = App_bsky_feed_getPostThread 120 + module GetActorLikes = App_bsky_feed_getActorLikes 121 + module Like = App_bsky_feed_like 122 + module GetRepostedBy = App_bsky_feed_getRepostedBy 123 + module Repost = App_bsky_feed_repost 124 + module DescribeFeedGenerator = App_bsky_feed_describeFeedGenerator 125 + module SearchPosts = App_bsky_feed_searchPosts 126 + module GetPosts = App_bsky_feed_getPosts 127 + module GetFeed = App_bsky_feed_getFeed 128 + module GetQuotes = App_bsky_feed_getQuotes 129 + module GetFeedSkeleton = App_bsky_feed_getFeedSkeleton 130 + module GetListFeed = App_bsky_feed_getListFeed 131 + module GetSuggestedFeeds = App_bsky_feed_getSuggestedFeeds 132 + module GetActorFeeds = App_bsky_feed_getActorFeeds 133 + module Post = App_bsky_feed_post 134 + end 135 + module Richtext = struct 136 + module Facet = App_bsky_richtext_facet 137 + end 138 + module Ageassurance = struct 139 + module Begin = App_bsky_ageassurance_begin 140 + module Defs = App_bsky_ageassurance_defs 141 + module GetState = App_bsky_ageassurance_getState 142 + module GetConfig = App_bsky_ageassurance_getConfig 143 + end 144 + module Actor = struct 145 + module SearchActorsTypeahead = App_bsky_actor_searchActorsTypeahead 146 + module Defs = App_bsky_actor_defs 147 + module PutPreferences = App_bsky_actor_putPreferences 148 + module GetProfile = App_bsky_actor_getProfile 149 + module GetSuggestions = App_bsky_actor_getSuggestions 150 + module SearchActors = App_bsky_actor_searchActors 151 + module GetProfiles = App_bsky_actor_getProfiles 152 + module Status = App_bsky_actor_status 153 + module GetPreferences = App_bsky_actor_getPreferences 154 + module Profile = App_bsky_actor_profile 155 + end 156 + module Labeler = struct 157 + module Defs = App_bsky_labeler_defs 158 + module Service = App_bsky_labeler_service 159 + module GetServices = App_bsky_labeler_getServices 160 + end 161 + end 162 + end 163 + module Com = struct 164 + module Atproto = struct 165 + module Temp = struct 166 + module DereferenceScope = Com_atproto_temp_dereferenceScope 167 + module AddReservedHandle = Com_atproto_temp_addReservedHandle 168 + module CheckSignupQueue = Com_atproto_temp_checkSignupQueue 169 + module CheckHandleAvailability = Com_atproto_temp_checkHandleAvailability 170 + module RequestPhoneVerification = Com_atproto_temp_requestPhoneVerification 171 + module RevokeAccountCredentials = Com_atproto_temp_revokeAccountCredentials 172 + module FetchLabels = Com_atproto_temp_fetchLabels 173 + end 174 + module Identity = struct 175 + module UpdateHandle = Com_atproto_identity_updateHandle 176 + module Defs = Com_atproto_identity_defs 177 + module SignPlcOperation = Com_atproto_identity_signPlcOperation 178 + module SubmitPlcOperation = Com_atproto_identity_submitPlcOperation 179 + module ResolveIdentity = Com_atproto_identity_resolveIdentity 180 + module RefreshIdentity = Com_atproto_identity_refreshIdentity 181 + module ResolveHandle = Com_atproto_identity_resolveHandle 182 + module RequestPlcOperationSignature = Com_atproto_identity_requestPlcOperationSignature 183 + module GetRecommendedDidCredentials = Com_atproto_identity_getRecommendedDidCredentials 184 + module ResolveDid = Com_atproto_identity_resolveDid 185 + end 186 + module Admin = struct 187 + module UpdateAccountEmail = Com_atproto_admin_updateAccountEmail 188 + module GetAccountInfo = Com_atproto_admin_getAccountInfo 189 + module GetSubjectStatus = Com_atproto_admin_getSubjectStatus 190 + module Defs = Com_atproto_admin_defs 191 + module SearchAccounts = Com_atproto_admin_searchAccounts 192 + module UpdateAccountPassword = Com_atproto_admin_updateAccountPassword 193 + module UpdateAccountHandle = Com_atproto_admin_updateAccountHandle 194 + module GetInviteCodes = Com_atproto_admin_getInviteCodes 195 + module UpdateAccountSigningKey = Com_atproto_admin_updateAccountSigningKey 196 + module EnableAccountInvites = Com_atproto_admin_enableAccountInvites 197 + module DisableAccountInvites = Com_atproto_admin_disableAccountInvites 198 + module DisableInviteCodes = Com_atproto_admin_disableInviteCodes 199 + module UpdateSubjectStatus = Com_atproto_admin_updateSubjectStatus 200 + module SendEmail = Com_atproto_admin_sendEmail 201 + module GetAccountInfos = Com_atproto_admin_getAccountInfos 202 + module DeleteAccount = Com_atproto_admin_deleteAccount 203 + end 204 + module Label = struct 205 + module Defs = Com_atproto_label_defs 206 + module QueryLabels = Com_atproto_label_queryLabels 207 + end 208 + module Server = struct 209 + module RequestEmailConfirmation = Com_atproto_server_requestEmailConfirmation 210 + module ReserveSigningKey = Com_atproto_server_reserveSigningKey 211 + module Defs = Com_atproto_server_defs 212 + module GetServiceAuth = Com_atproto_server_getServiceAuth 213 + module GetAccountInviteCodes = Com_atproto_server_getAccountInviteCodes 214 + module CreateSession = Com_atproto_server_createSession 215 + module ListAppPasswords = Com_atproto_server_listAppPasswords 216 + module CreateInviteCodes = Com_atproto_server_createInviteCodes 217 + module DeleteSession = Com_atproto_server_deleteSession 218 + module RevokeAppPassword = Com_atproto_server_revokeAppPassword 219 + module CreateAppPassword = Com_atproto_server_createAppPassword 220 + module ActivateAccount = Com_atproto_server_activateAccount 221 + module DescribeServer = Com_atproto_server_describeServer 222 + module ConfirmEmail = Com_atproto_server_confirmEmail 223 + module GetSession = Com_atproto_server_getSession 224 + module RefreshSession = Com_atproto_server_refreshSession 225 + module DeactivateAccount = Com_atproto_server_deactivateAccount 226 + module UpdateEmail = Com_atproto_server_updateEmail 227 + module ResetPassword = Com_atproto_server_resetPassword 228 + module CheckAccountStatus = Com_atproto_server_checkAccountStatus 229 + module RequestEmailUpdate = Com_atproto_server_requestEmailUpdate 230 + module RequestPasswordReset = Com_atproto_server_requestPasswordReset 231 + module RequestAccountDelete = Com_atproto_server_requestAccountDelete 232 + module CreateAccount = Com_atproto_server_createAccount 233 + module DeleteAccount = Com_atproto_server_deleteAccount 234 + module CreateInviteCode = Com_atproto_server_createInviteCode 235 + end 236 + module Lexicon = struct 237 + module ResolveLexicon = Com_atproto_lexicon_resolveLexicon 238 + module Schema = Com_atproto_lexicon_schema 239 + end 240 + module Sync = struct 241 + module GetHead = Com_atproto_sync_getHead 242 + module GetBlob = Com_atproto_sync_getBlob 243 + module GetRepo = Com_atproto_sync_getRepo 244 + module NotifyOfUpdate = Com_atproto_sync_notifyOfUpdate 245 + module Defs = Com_atproto_sync_defs 246 + module RequestCrawl = Com_atproto_sync_requestCrawl 247 + module ListBlobs = Com_atproto_sync_listBlobs 248 + module GetLatestCommit = Com_atproto_sync_getLatestCommit 249 + module GetRepoStatus = Com_atproto_sync_getRepoStatus 250 + module GetRecord = Com_atproto_sync_getRecord 251 + module ListHosts = Com_atproto_sync_listHosts 252 + module ListRepos = Com_atproto_sync_listRepos 253 + module GetHostStatus = Com_atproto_sync_getHostStatus 254 + module GetBlocks = Com_atproto_sync_getBlocks 255 + module ListReposByCollection = Com_atproto_sync_listReposByCollection 256 + module GetCheckout = Com_atproto_sync_getCheckout 257 + end 258 + module Repo = struct 259 + module StrongRef = Com_atproto_repo_strongRef 260 + module Defs = Com_atproto_repo_defs 261 + module ListMissingBlobs = Com_atproto_repo_listMissingBlobs 262 + module CreateRecord = Com_atproto_repo_createRecord 263 + module DeleteRecord = Com_atproto_repo_deleteRecord 264 + module PutRecord = Com_atproto_repo_putRecord 265 + module UploadBlob = Com_atproto_repo_uploadBlob 266 + module ImportRepo = Com_atproto_repo_importRepo 267 + module DescribeRepo = Com_atproto_repo_describeRepo 268 + module GetRecord = Com_atproto_repo_getRecord 269 + module ApplyWrites = Com_atproto_repo_applyWrites 270 + module ListRecords = Com_atproto_repo_listRecords 271 + end 272 + module Moderation = struct 273 + module Defs = Com_atproto_moderation_defs 274 + module CreateReport = Com_atproto_moderation_createReport 275 + end 276 + end 277 + end