* First vouch implementation * Remove unneeded endpoints * wip * ✨ wip * ✨ Process jetstream events through p-queue and add tests * ✅ Add test for cursor update * 🐛 Use utc time to update updatedAt * 🧹 Cleanup * 🔨 Fix pnpm versioning issues * ✨ Replace jetstream lib with manual implementation * ✨ Remove unnecessary 3p dep * ✨ Add e2e test for jetstream * 🚨 Fix import * 🧹 Remove unnecessary property * ✨ Fix dev-env and add profile to verification view in ozone * ✅ Add profile type * ✨ Add backpressure handling to jetstream listener * ✨ Use WebSocketKeepAlive from xrpc-server and replace partysocket * ✨ Add a new verifier role to ozone team meber roles * 📝 Run codegen * 🐛 Fix auth check * 🐛 Fix test failure check * 🚨 Fix json formatting * 🐛 Fix team role check * 🚧 Checking failing test * ✅ Fix tests * ✨ Address review comments * ✨ Add xrpc-server to version * 🚨 Fix linter issue * 🚨 Fix linter issue * ✨ Resolve race condition in cursor update * ✅ Add verification check on profile * 🐛 Fix missing cid in test and firehose cursor * ✨ Fix test * ✨ Add record validation for verification and separate xrpc-server version * ✨ Return error object for failed revocations * ✨ Add re-login on expired session case * 📝 Fix typo --------- Co-authored-by: rafael <rafael@blueskyweb.xyz>
67 lines
1.6 KiB
JSON
67 lines
1.6 KiB
JSON
{
|
|
"lexicon": 1,
|
|
"id": "tools.ozone.server.getConfig",
|
|
"defs": {
|
|
"main": {
|
|
"type": "query",
|
|
"description": "Get details about ozone's server configuration.",
|
|
"output": {
|
|
"encoding": "application/json",
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"appview": {
|
|
"type": "ref",
|
|
"ref": "#serviceConfig"
|
|
},
|
|
"pds": {
|
|
"type": "ref",
|
|
"ref": "#serviceConfig"
|
|
},
|
|
"blobDivert": {
|
|
"type": "ref",
|
|
"ref": "#serviceConfig"
|
|
},
|
|
"chat": {
|
|
"type": "ref",
|
|
"ref": "#serviceConfig"
|
|
},
|
|
"viewer": {
|
|
"type": "ref",
|
|
"ref": "#viewerConfig"
|
|
},
|
|
"verifierDid": {
|
|
"type": "string",
|
|
"format": "did",
|
|
"description": "The did of the verifier used for verification."
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"serviceConfig": {
|
|
"type": "object",
|
|
"properties": {
|
|
"url": {
|
|
"type": "string",
|
|
"format": "uri"
|
|
}
|
|
}
|
|
},
|
|
"viewerConfig": {
|
|
"type": "object",
|
|
"properties": {
|
|
"role": {
|
|
"type": "string",
|
|
"knownValues": [
|
|
"tools.ozone.team.defs#roleAdmin",
|
|
"tools.ozone.team.defs#roleModerator",
|
|
"tools.ozone.team.defs#roleTriage",
|
|
"tools.ozone.team.defs#roleVerifier"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|