objective categorical abstract machine language personal data server
65
fork

Configure Feed

Select the types of activity you want to include in your feed.

Append [@default None] to all optional params/keys

futurGH 2415f12d d18309b2

+31 -22
+2 -2
pegasus/lib/api/repo/applyWrites.ml
··· 1 1 type request = 2 2 { repo: string 3 - ; validate: bool option 3 + ; validate: bool option [@default None] 4 4 ; writes: Repository.repo_write list 5 - ; swap_commit: string option [@key "swapCommit"] } 5 + ; swap_commit: string option [@key "swapCommit"] [@default None] } 6 6 [@@deriving yojson] 7 7 8 8 type response =
+3 -3
pegasus/lib/api/repo/createAccount.ml
··· 1 1 type request = 2 2 { email: string 3 3 ; handle: string 4 - ; did: string option 4 + ; did: string option [@default None] 5 5 ; password: string 6 - ; invite_code: string option [@key "inviteCode"] 7 - ; recovery_key: string option [@key "recoveryKey"] } 6 + ; invite_code: string option [@key "inviteCode"] [@default None] 7 + ; recovery_key: string option [@key "recoveryKey"] [@default None] } 8 8 [@@deriving yojson {strict= false}] 9 9 10 10 type response =
+4 -4
pegasus/lib/api/repo/createRecord.ml
··· 1 1 type request = 2 2 { repo: string 3 3 ; collection: string 4 - ; rkey: string option 5 - ; validate: bool option 4 + ; rkey: string option [@default None] 5 + ; validate: bool option [@default None] 6 6 ; record: Mist.Lex.repo_record 7 - ; swap_record: string option [@key "swapRecord"] 8 - ; swap_commit: string option [@key "swapCommit"] } 7 + ; swap_record: string option [@key "swapRecord"] [@default None] 8 + ; swap_commit: string option [@key "swapCommit"] [@default None] } 9 9 [@@deriving yojson] 10 10 11 11 type response =
+2 -2
pegasus/lib/api/repo/deleteRecord.ml
··· 2 2 { repo: string 3 3 ; collection: string 4 4 ; rkey: string 5 - ; swap_record: string option [@key "swapRecord"] 6 - ; swap_commit: string option [@key "swapCommit"] } 5 + ; swap_record: string option [@key "swapRecord"] [@default None] 6 + ; swap_commit: string option [@key "swapCommit"] [@default None] } 7 7 [@@deriving yojson] 8 8 9 9 type response = {commit: res_commit option} [@@deriving yojson]
+5 -1
pegasus/lib/api/repo/getRecord.ml
··· 1 - type query = {repo: string; collection: string; rkey: string; cid: string option} 1 + type query = 2 + { repo: string 3 + ; collection: string 4 + ; rkey: string 5 + ; cid: string option [@default None] } 2 6 [@@deriving yojson] 3 7 4 8 type response = {uri: string; cid: string; value: Mist.Lex.repo_record}
+3 -3
pegasus/lib/api/repo/listRecords.ml
··· 1 1 type query = 2 2 { repo: string 3 3 ; collection: string 4 - ; limit: int option 5 - ; cursor: string option 6 - ; reverse: bool option } 4 + ; limit: int option [@default None] 5 + ; cursor: string option [@default None] 6 + ; reverse: bool option [@default None] } 7 7 [@@deriving yojson] 8 8 9 9 type response = {cursor: string option; records: response_record list}
+3 -3
pegasus/lib/api/repo/putRecord.ml
··· 2 2 { repo: string 3 3 ; collection: string 4 4 ; rkey: string 5 - ; validate: bool option 5 + ; validate: bool option [@default None] 6 6 ; record: Mist.Lex.repo_record 7 - ; swap_record: string option [@key "swapRecord"] 8 - ; swap_commit: string option [@key "swapCommit"] } 7 + ; swap_record: string option [@key "swapRecord"] [@default None] 8 + ; swap_commit: string option [@key "swapCommit"] [@default None] } 9 9 [@@deriving yojson] 10 10 11 11 type response =
+1 -1
pegasus/lib/api/server/createInviteCode.ml
··· 1 1 type request = 2 2 { use_count: int [@key "useCount"] 3 - ; for_account: string option [@key "forAccount"] } 3 + ; for_account: string option [@key "forAccount"] [@default None] } 4 4 [@@deriving yojson] 5 5 6 6 type response = {code: string} [@@deriving yojson]
+1 -1
pegasus/lib/api/server/createSession.ml
··· 1 1 type request = 2 2 { identifier: string 3 3 ; password: string 4 - ; auth_factor_token: string option [@key "authFactorToken"] } 4 + ; auth_factor_token: string option [@key "authFactorToken"] [@default None] } 5 5 [@@deriving yojson {strict= false}] 6 6 7 7 type response =
+4 -1
pegasus/lib/api/sync/listBlobs.ml
··· 1 1 type query = 2 - {did: string; since: string option; limit: int option; cursor: string option} 2 + { did: string 3 + ; since: string option [@default None] 4 + ; limit: int option [@default None] 5 + ; cursor: string option [@default None] } 3 6 [@@deriving yojson] 4 7 5 8 type response = {cursor: string option; cids: string list} [@@deriving yojson]
+3 -1
pegasus/lib/api/sync/listRepos.ml
··· 1 - type query = {cursor: string option; limit: int option} [@@deriving yojson] 1 + type query = 2 + {cursor: string option [@default None]; limit: int option [@default None]} 3 + [@@deriving yojson] 2 4 3 5 type response = {cursor: string option; repos: res_repo list} 4 6 [@@deriving yojson]