Size: 1404 bytes.


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// cs/apps/trycopilot.ai/api/logs.hh
// cs/apps/trycopilot.ai/api/logs.hh
// cs/apps/trycopilot.ai/api/logs.hh
#ifndef CS_APPS_TRYCOPILOT_AI_API_LOGS_HH
#define CS_APPS_TRYCOPILOT_AI_API_LOGS_HH

#include "cs/apps/trycopilot.ai/protos/log.proto.hh"
#include "cs/net/proto/db/client.gpt.hh"
#include "cs/net/proto/db/database_base_url.gpt.hh"
#include "cs/net/rpc/rpc.hh"
#include "cs/util/di/context.gpt.hh"

namespace cs::apps::trycopilotai::api {

DECLARE_RPC(
    CreateLogRPC,
    cs::apps::trycopilotai::protos::CreateLogRequest,
    cs::apps::trycopilotai::protos::CreateLogResponse,
    CTX(cs::net::proto::db::DatabaseBaseUrl,
        cs::net::proto::db::IDatabaseClient));

DECLARE_RPC(GetLogRPC,
            cs::apps::trycopilotai::protos::GetLogRequest,
            cs::apps::trycopilotai::protos::GetLogResponse,
            CTX());

DECLARE_RPC(
    ListLogsRPC,
    cs::apps::trycopilotai::protos::ListLogsRequest,
    cs::apps::trycopilotai::protos::ListLogsResponse,
    CTX(cs::net::proto::db::DatabaseBaseUrl,
        cs::net::proto::db::IDatabaseClient));

DECLARE_RPC(
    ListAppLogsRPC,
    cs::apps::trycopilotai::protos::ListAppLogsRequest,
    cs::apps::trycopilotai::protos::ListAppLogsResponse,
    CTX(cs::net::proto::db::DatabaseBaseUrl,
        cs::net::proto::db::IDatabaseClient));

}  // namespace cs::apps::trycopilotai::api

#endif  // CS_APPS_TRYCOPILOT_AI_API_LOGS_HH
v0 (commit) © 2025 @p13i.io | Load balancer proxied to: cs-code-viewer-1:8080 in 1ms.