Size: 1024 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
// cs/apps/trycopilot.ai/api/user.hh
#ifndef CS_APPS_TRYCOPILOT_AI_API_USER_HH
#define CS_APPS_TRYCOPILOT_AI_API_USER_HH

#include "cs/apps/trycopilot.ai/protos/user.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(
    CreateUserRPC,
    cs::apps::trycopilotai::protos::CreateUserRequest,
    cs::apps::trycopilotai::protos::CreateUserResponse,
    CTX(cs::net::proto::db::DatabaseBaseUrl,
        cs::net::proto::db::IDatabaseClient));

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

namespace cs::apps::trycopilotai::rpc {

DECLARE_RPC(
    CreateUserRPC,
    cs::apps::trycopilotai::protos::CreateUserRequest,
    cs::apps::trycopilotai::protos::CreateUserResponse,
    CTX(cs::net::proto::db::DatabaseBaseUrl,
        cs::net::proto::db::IDatabaseClient));

}  // namespace cs::apps::trycopilotai::rpc

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