init
Some checks failed
check / check (push) Failing after 22s
bump / bump (push) Failing after 27s
vulnerable / flake (push) Failing after 32s
vulnerable / actions (push) Failing after 28s
update / renovate (push) Failing after 28s

This commit is contained in:
2026-03-26 16:34:22 -04:00
parent 24059f9660
commit 99dff7586e
156 changed files with 8152 additions and 45 deletions

15
vendor/protobuf/user/v1/api_key.pb.c vendored Normal file
View File

@@ -0,0 +1,15 @@
/* Automatically generated nanopb constant definitions */
/* Generated by nanopb-0.4.9 */
#include "user/v1/api_key.pb.h"
#if PB_PROTO_HEADER_VERSION != 40
#error Regenerate this file with the current version of nanopb generator.
#endif
PB_BIND(user_v1_CreateAPIKeyRequest, user_v1_CreateAPIKeyRequest, AUTO)
PB_BIND(user_v1_CreateAPIKeyResponse, user_v1_CreateAPIKeyResponse, AUTO)

72
vendor/protobuf/user/v1/api_key.pb.h vendored Normal file
View File

@@ -0,0 +1,72 @@
/* Automatically generated nanopb header */
/* Generated by nanopb-0.4.9 */
#ifndef PB_USER_V1_USER_V1_API_KEY_PB_H_INCLUDED
#define PB_USER_V1_USER_V1_API_KEY_PB_H_INCLUDED
#include <pb.h>
#include "buf/validate/validate.pb.h"
#include "google/protobuf/timestamp.pb.h"
#if PB_PROTO_HEADER_VERSION != 40
#error Regenerate this file with the current version of nanopb generator.
#endif
/* Struct definitions */
typedef struct _user_v1_CreateAPIKeyRequest {
bool has_expiration;
google_protobuf_Timestamp expiration;
pb_callback_t password;
pb_callback_t confirm_password;
} user_v1_CreateAPIKeyRequest;
typedef struct _user_v1_CreateAPIKeyResponse {
pb_callback_t key;
} user_v1_CreateAPIKeyResponse;
#ifdef __cplusplus
extern "C" {
#endif
/* Initializer values for message structs */
#define user_v1_CreateAPIKeyRequest_init_default {false, google_protobuf_Timestamp_init_default, {{NULL}, NULL}, {{NULL}, NULL}}
#define user_v1_CreateAPIKeyResponse_init_default {{{NULL}, NULL}}
#define user_v1_CreateAPIKeyRequest_init_zero {false, google_protobuf_Timestamp_init_zero, {{NULL}, NULL}, {{NULL}, NULL}}
#define user_v1_CreateAPIKeyResponse_init_zero {{{NULL}, NULL}}
/* Field tags (for use in manual encoding/decoding) */
#define user_v1_CreateAPIKeyRequest_expiration_tag 1
#define user_v1_CreateAPIKeyRequest_password_tag 2
#define user_v1_CreateAPIKeyRequest_confirm_password_tag 3
#define user_v1_CreateAPIKeyResponse_key_tag 1
/* Struct field encoding specification for nanopb */
#define user_v1_CreateAPIKeyRequest_FIELDLIST(X, a) \
X(a, STATIC, OPTIONAL, MESSAGE, expiration, 1) \
X(a, CALLBACK, SINGULAR, STRING, password, 2) \
X(a, CALLBACK, SINGULAR, STRING, confirm_password, 3)
#define user_v1_CreateAPIKeyRequest_CALLBACK pb_default_field_callback
#define user_v1_CreateAPIKeyRequest_DEFAULT NULL
#define user_v1_CreateAPIKeyRequest_expiration_MSGTYPE google_protobuf_Timestamp
#define user_v1_CreateAPIKeyResponse_FIELDLIST(X, a) \
X(a, CALLBACK, SINGULAR, STRING, key, 1)
#define user_v1_CreateAPIKeyResponse_CALLBACK pb_default_field_callback
#define user_v1_CreateAPIKeyResponse_DEFAULT NULL
extern const pb_msgdesc_t user_v1_CreateAPIKeyRequest_msg;
extern const pb_msgdesc_t user_v1_CreateAPIKeyResponse_msg;
/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
#define user_v1_CreateAPIKeyRequest_fields &user_v1_CreateAPIKeyRequest_msg
#define user_v1_CreateAPIKeyResponse_fields &user_v1_CreateAPIKeyResponse_msg
/* Maximum encoded size of messages (where known) */
/* user_v1_CreateAPIKeyRequest_size depends on runtime parameters */
/* user_v1_CreateAPIKeyResponse_size depends on runtime parameters */
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif

15
vendor/protobuf/user/v1/create.pb.c vendored Normal file
View File

@@ -0,0 +1,15 @@
/* Automatically generated nanopb constant definitions */
/* Generated by nanopb-0.4.9 */
#include "user/v1/create.pb.h"
#if PB_PROTO_HEADER_VERSION != 40
#error Regenerate this file with the current version of nanopb generator.
#endif
PB_BIND(user_v1_CreateUserRequest, user_v1_CreateUserRequest, AUTO)
PB_BIND(user_v1_CreateUserResponse, user_v1_CreateUserResponse, AUTO)

68
vendor/protobuf/user/v1/create.pb.h vendored Normal file
View File

@@ -0,0 +1,68 @@
/* Automatically generated nanopb header */
/* Generated by nanopb-0.4.9 */
#ifndef PB_USER_V1_USER_V1_CREATE_PB_H_INCLUDED
#define PB_USER_V1_USER_V1_CREATE_PB_H_INCLUDED
#include <pb.h>
#include "buf/validate/validate.pb.h"
#if PB_PROTO_HEADER_VERSION != 40
#error Regenerate this file with the current version of nanopb generator.
#endif
/* Struct definitions */
typedef struct _user_v1_CreateUserRequest {
pb_callback_t username;
pb_callback_t password;
pb_callback_t confirm_password;
} user_v1_CreateUserRequest;
typedef struct _user_v1_CreateUserResponse {
char dummy_field;
} user_v1_CreateUserResponse;
#ifdef __cplusplus
extern "C" {
#endif
/* Initializer values for message structs */
#define user_v1_CreateUserRequest_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
#define user_v1_CreateUserResponse_init_default {0}
#define user_v1_CreateUserRequest_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
#define user_v1_CreateUserResponse_init_zero {0}
/* Field tags (for use in manual encoding/decoding) */
#define user_v1_CreateUserRequest_username_tag 1
#define user_v1_CreateUserRequest_password_tag 2
#define user_v1_CreateUserRequest_confirm_password_tag 3
/* Struct field encoding specification for nanopb */
#define user_v1_CreateUserRequest_FIELDLIST(X, a) \
X(a, CALLBACK, SINGULAR, STRING, username, 1) \
X(a, CALLBACK, SINGULAR, STRING, password, 2) \
X(a, CALLBACK, SINGULAR, STRING, confirm_password, 3)
#define user_v1_CreateUserRequest_CALLBACK pb_default_field_callback
#define user_v1_CreateUserRequest_DEFAULT NULL
#define user_v1_CreateUserResponse_FIELDLIST(X, a) \
#define user_v1_CreateUserResponse_CALLBACK NULL
#define user_v1_CreateUserResponse_DEFAULT NULL
extern const pb_msgdesc_t user_v1_CreateUserRequest_msg;
extern const pb_msgdesc_t user_v1_CreateUserResponse_msg;
/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
#define user_v1_CreateUserRequest_fields &user_v1_CreateUserRequest_msg
#define user_v1_CreateUserResponse_fields &user_v1_CreateUserResponse_msg
/* Maximum encoded size of messages (where known) */
/* user_v1_CreateUserRequest_size depends on runtime parameters */
#define user_v1_CreateUserResponse_size 0
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif

21
vendor/protobuf/user/v1/get.pb.c vendored Normal file
View File

@@ -0,0 +1,21 @@
/* Automatically generated nanopb constant definitions */
/* Generated by nanopb-0.4.9 */
#include "user/v1/get.pb.h"
#if PB_PROTO_HEADER_VERSION != 40
#error Regenerate this file with the current version of nanopb generator.
#endif
PB_BIND(user_v1_GetUserRequest, user_v1_GetUserRequest, AUTO)
PB_BIND(user_v1_GetUserResponse, user_v1_GetUserResponse, AUTO)
PB_BIND(user_v1_GetUsersRequest, user_v1_GetUsersRequest, AUTO)
PB_BIND(user_v1_GetUsersResponse, user_v1_GetUsersResponse, AUTO)

103
vendor/protobuf/user/v1/get.pb.h vendored Normal file
View File

@@ -0,0 +1,103 @@
/* Automatically generated nanopb header */
/* Generated by nanopb-0.4.9 */
#ifndef PB_USER_V1_USER_V1_GET_PB_H_INCLUDED
#define PB_USER_V1_USER_V1_GET_PB_H_INCLUDED
#include <pb.h>
#include "user/v1/user.pb.h"
#include "util/uuid.pb.h"
#if PB_PROTO_HEADER_VERSION != 40
#error Regenerate this file with the current version of nanopb generator.
#endif
/* Struct definitions */
typedef struct _user_v1_GetUserRequest {
bool has_user_id;
util_UUID user_id;
} user_v1_GetUserRequest;
typedef struct _user_v1_GetUserResponse {
bool has_user;
user_v1_User user;
} user_v1_GetUserResponse;
typedef struct _user_v1_GetUsersRequest {
char dummy_field;
} user_v1_GetUsersRequest;
typedef struct _user_v1_GetUsersResponse {
pb_callback_t users;
} user_v1_GetUsersResponse;
#ifdef __cplusplus
extern "C" {
#endif
/* Initializer values for message structs */
#define user_v1_GetUserRequest_init_default {false, util_UUID_init_default}
#define user_v1_GetUserResponse_init_default {false, user_v1_User_init_default}
#define user_v1_GetUsersRequest_init_default {0}
#define user_v1_GetUsersResponse_init_default {{{NULL}, NULL}}
#define user_v1_GetUserRequest_init_zero {false, util_UUID_init_zero}
#define user_v1_GetUserResponse_init_zero {false, user_v1_User_init_zero}
#define user_v1_GetUsersRequest_init_zero {0}
#define user_v1_GetUsersResponse_init_zero {{{NULL}, NULL}}
/* Field tags (for use in manual encoding/decoding) */
#define user_v1_GetUserRequest_user_id_tag 1
#define user_v1_GetUserResponse_user_tag 1
#define user_v1_GetUsersResponse_users_tag 1
/* Struct field encoding specification for nanopb */
#define user_v1_GetUserRequest_FIELDLIST(X, a) \
X(a, STATIC, OPTIONAL, MESSAGE, user_id, 1)
#define user_v1_GetUserRequest_CALLBACK NULL
#define user_v1_GetUserRequest_DEFAULT NULL
#define user_v1_GetUserRequest_user_id_MSGTYPE util_UUID
#define user_v1_GetUserResponse_FIELDLIST(X, a) \
X(a, STATIC, OPTIONAL, MESSAGE, user, 1)
#define user_v1_GetUserResponse_CALLBACK NULL
#define user_v1_GetUserResponse_DEFAULT NULL
#define user_v1_GetUserResponse_user_MSGTYPE user_v1_User
#define user_v1_GetUsersRequest_FIELDLIST(X, a) \
#define user_v1_GetUsersRequest_CALLBACK NULL
#define user_v1_GetUsersRequest_DEFAULT NULL
#define user_v1_GetUsersResponse_FIELDLIST(X, a) \
X(a, CALLBACK, REPEATED, MESSAGE, users, 1)
#define user_v1_GetUsersResponse_CALLBACK pb_default_field_callback
#define user_v1_GetUsersResponse_DEFAULT NULL
#define user_v1_GetUsersResponse_users_MSGTYPE user_v1_User
extern const pb_msgdesc_t user_v1_GetUserRequest_msg;
extern const pb_msgdesc_t user_v1_GetUserResponse_msg;
extern const pb_msgdesc_t user_v1_GetUsersRequest_msg;
extern const pb_msgdesc_t user_v1_GetUsersResponse_msg;
/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
#define user_v1_GetUserRequest_fields &user_v1_GetUserRequest_msg
#define user_v1_GetUserResponse_fields &user_v1_GetUserResponse_msg
#define user_v1_GetUsersRequest_fields &user_v1_GetUsersRequest_msg
#define user_v1_GetUsersResponse_fields &user_v1_GetUsersResponse_msg
/* Maximum encoded size of messages (where known) */
/* user_v1_GetUsersResponse_size depends on runtime parameters */
#if defined(util_UUID_size)
#define USER_V1_USER_V1_GET_PB_H_MAX_SIZE user_v1_GetUserRequest_size
#define user_v1_GetUserRequest_size (6 + util_UUID_size)
#endif
#if defined(user_v1_User_size)
#define user_v1_GetUserResponse_size (6 + user_v1_User_size)
#endif
#define user_v1_GetUsersRequest_size 0
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif

View File

@@ -0,0 +1,21 @@
/* Automatically generated nanopb constant definitions */
/* Generated by nanopb-0.4.9 */
#include "user/v1/passkey_registration.pb.h"
#if PB_PROTO_HEADER_VERSION != 40
#error Regenerate this file with the current version of nanopb generator.
#endif
PB_BIND(user_v1_BeginPasskeyRegistrationRequest, user_v1_BeginPasskeyRegistrationRequest, AUTO)
PB_BIND(user_v1_BeginPasskeyRegistrationResponse, user_v1_BeginPasskeyRegistrationResponse, AUTO)
PB_BIND(user_v1_FinishPasskeyRegistrationRequest, user_v1_FinishPasskeyRegistrationRequest, AUTO)
PB_BIND(user_v1_FinishPasskeyRegistrationResponse, user_v1_FinishPasskeyRegistrationResponse, AUTO)

View File

@@ -0,0 +1,91 @@
/* Automatically generated nanopb header */
/* Generated by nanopb-0.4.9 */
#ifndef PB_USER_V1_USER_V1_PASSKEY_REGISTRATION_PB_H_INCLUDED
#define PB_USER_V1_USER_V1_PASSKEY_REGISTRATION_PB_H_INCLUDED
#include <pb.h>
#if PB_PROTO_HEADER_VERSION != 40
#error Regenerate this file with the current version of nanopb generator.
#endif
/* Struct definitions */
typedef struct _user_v1_BeginPasskeyRegistrationRequest {
char dummy_field;
} user_v1_BeginPasskeyRegistrationRequest;
typedef struct _user_v1_BeginPasskeyRegistrationResponse {
pb_callback_t options_json;
} user_v1_BeginPasskeyRegistrationResponse;
typedef struct _user_v1_FinishPasskeyRegistrationRequest {
pb_callback_t attestation;
} user_v1_FinishPasskeyRegistrationRequest;
typedef struct _user_v1_FinishPasskeyRegistrationResponse {
char dummy_field;
} user_v1_FinishPasskeyRegistrationResponse;
#ifdef __cplusplus
extern "C" {
#endif
/* Initializer values for message structs */
#define user_v1_BeginPasskeyRegistrationRequest_init_default {0}
#define user_v1_BeginPasskeyRegistrationResponse_init_default {{{NULL}, NULL}}
#define user_v1_FinishPasskeyRegistrationRequest_init_default {{{NULL}, NULL}}
#define user_v1_FinishPasskeyRegistrationResponse_init_default {0}
#define user_v1_BeginPasskeyRegistrationRequest_init_zero {0}
#define user_v1_BeginPasskeyRegistrationResponse_init_zero {{{NULL}, NULL}}
#define user_v1_FinishPasskeyRegistrationRequest_init_zero {{{NULL}, NULL}}
#define user_v1_FinishPasskeyRegistrationResponse_init_zero {0}
/* Field tags (for use in manual encoding/decoding) */
#define user_v1_BeginPasskeyRegistrationResponse_options_json_tag 1
#define user_v1_FinishPasskeyRegistrationRequest_attestation_tag 1
/* Struct field encoding specification for nanopb */
#define user_v1_BeginPasskeyRegistrationRequest_FIELDLIST(X, a) \
#define user_v1_BeginPasskeyRegistrationRequest_CALLBACK NULL
#define user_v1_BeginPasskeyRegistrationRequest_DEFAULT NULL
#define user_v1_BeginPasskeyRegistrationResponse_FIELDLIST(X, a) \
X(a, CALLBACK, SINGULAR, STRING, options_json, 1)
#define user_v1_BeginPasskeyRegistrationResponse_CALLBACK pb_default_field_callback
#define user_v1_BeginPasskeyRegistrationResponse_DEFAULT NULL
#define user_v1_FinishPasskeyRegistrationRequest_FIELDLIST(X, a) \
X(a, CALLBACK, SINGULAR, STRING, attestation, 1)
#define user_v1_FinishPasskeyRegistrationRequest_CALLBACK pb_default_field_callback
#define user_v1_FinishPasskeyRegistrationRequest_DEFAULT NULL
#define user_v1_FinishPasskeyRegistrationResponse_FIELDLIST(X, a) \
#define user_v1_FinishPasskeyRegistrationResponse_CALLBACK NULL
#define user_v1_FinishPasskeyRegistrationResponse_DEFAULT NULL
extern const pb_msgdesc_t user_v1_BeginPasskeyRegistrationRequest_msg;
extern const pb_msgdesc_t user_v1_BeginPasskeyRegistrationResponse_msg;
extern const pb_msgdesc_t user_v1_FinishPasskeyRegistrationRequest_msg;
extern const pb_msgdesc_t user_v1_FinishPasskeyRegistrationResponse_msg;
/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
#define user_v1_BeginPasskeyRegistrationRequest_fields &user_v1_BeginPasskeyRegistrationRequest_msg
#define user_v1_BeginPasskeyRegistrationResponse_fields &user_v1_BeginPasskeyRegistrationResponse_msg
#define user_v1_FinishPasskeyRegistrationRequest_fields &user_v1_FinishPasskeyRegistrationRequest_msg
#define user_v1_FinishPasskeyRegistrationResponse_fields &user_v1_FinishPasskeyRegistrationResponse_msg
/* Maximum encoded size of messages (where known) */
/* user_v1_BeginPasskeyRegistrationResponse_size depends on runtime parameters */
/* user_v1_FinishPasskeyRegistrationRequest_size depends on runtime parameters */
#define USER_V1_USER_V1_PASSKEY_REGISTRATION_PB_H_MAX_SIZE user_v1_BeginPasskeyRegistrationRequest_size
#define user_v1_BeginPasskeyRegistrationRequest_size 0
#define user_v1_FinishPasskeyRegistrationResponse_size 0
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif

9
vendor/protobuf/user/v1/service.pb.c vendored Normal file
View File

@@ -0,0 +1,9 @@
/* Automatically generated nanopb constant definitions */
/* Generated by nanopb-0.4.9 */
#include "user/v1/service.pb.h"
#if PB_PROTO_HEADER_VERSION != 40
#error Regenerate this file with the current version of nanopb generator.
#endif

25
vendor/protobuf/user/v1/service.pb.h vendored Normal file
View File

@@ -0,0 +1,25 @@
/* Automatically generated nanopb header */
/* Generated by nanopb-0.4.9 */
#ifndef PB_USER_V1_USER_V1_SERVICE_PB_H_INCLUDED
#define PB_USER_V1_USER_V1_SERVICE_PB_H_INCLUDED
#include <pb.h>
#include "user/v1/api_key.pb.h"
#include "user/v1/create.pb.h"
#include "user/v1/get.pb.h"
#include "user/v1/passkey_registration.pb.h"
#include "user/v1/update_password.pb.h"
#if PB_PROTO_HEADER_VERSION != 40
#error Regenerate this file with the current version of nanopb generator.
#endif
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif

View File

@@ -0,0 +1,15 @@
/* Automatically generated nanopb constant definitions */
/* Generated by nanopb-0.4.9 */
#include "user/v1/update_password.pb.h"
#if PB_PROTO_HEADER_VERSION != 40
#error Regenerate this file with the current version of nanopb generator.
#endif
PB_BIND(user_v1_UpdatePasswordRequest, user_v1_UpdatePasswordRequest, AUTO)
PB_BIND(user_v1_UpdatePasswordResponse, user_v1_UpdatePasswordResponse, AUTO)

View File

@@ -0,0 +1,75 @@
/* Automatically generated nanopb header */
/* Generated by nanopb-0.4.9 */
#ifndef PB_USER_V1_USER_V1_UPDATE_PASSWORD_PB_H_INCLUDED
#define PB_USER_V1_USER_V1_UPDATE_PASSWORD_PB_H_INCLUDED
#include <pb.h>
#include "buf/validate/validate.pb.h"
#include "user/v1/user.pb.h"
#if PB_PROTO_HEADER_VERSION != 40
#error Regenerate this file with the current version of nanopb generator.
#endif
/* Struct definitions */
typedef struct _user_v1_UpdatePasswordRequest {
pb_callback_t old_password;
pb_callback_t new_password;
pb_callback_t confirm_password;
} user_v1_UpdatePasswordRequest;
typedef struct _user_v1_UpdatePasswordResponse {
bool has_user;
user_v1_User user;
} user_v1_UpdatePasswordResponse;
#ifdef __cplusplus
extern "C" {
#endif
/* Initializer values for message structs */
#define user_v1_UpdatePasswordRequest_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
#define user_v1_UpdatePasswordResponse_init_default {false, user_v1_User_init_default}
#define user_v1_UpdatePasswordRequest_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
#define user_v1_UpdatePasswordResponse_init_zero {false, user_v1_User_init_zero}
/* Field tags (for use in manual encoding/decoding) */
#define user_v1_UpdatePasswordRequest_old_password_tag 1
#define user_v1_UpdatePasswordRequest_new_password_tag 2
#define user_v1_UpdatePasswordRequest_confirm_password_tag 3
#define user_v1_UpdatePasswordResponse_user_tag 1
/* Struct field encoding specification for nanopb */
#define user_v1_UpdatePasswordRequest_FIELDLIST(X, a) \
X(a, CALLBACK, SINGULAR, STRING, old_password, 1) \
X(a, CALLBACK, SINGULAR, STRING, new_password, 2) \
X(a, CALLBACK, SINGULAR, STRING, confirm_password, 3)
#define user_v1_UpdatePasswordRequest_CALLBACK pb_default_field_callback
#define user_v1_UpdatePasswordRequest_DEFAULT NULL
#define user_v1_UpdatePasswordResponse_FIELDLIST(X, a) \
X(a, STATIC, OPTIONAL, MESSAGE, user, 1)
#define user_v1_UpdatePasswordResponse_CALLBACK NULL
#define user_v1_UpdatePasswordResponse_DEFAULT NULL
#define user_v1_UpdatePasswordResponse_user_MSGTYPE user_v1_User
extern const pb_msgdesc_t user_v1_UpdatePasswordRequest_msg;
extern const pb_msgdesc_t user_v1_UpdatePasswordResponse_msg;
/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
#define user_v1_UpdatePasswordRequest_fields &user_v1_UpdatePasswordRequest_msg
#define user_v1_UpdatePasswordResponse_fields &user_v1_UpdatePasswordResponse_msg
/* Maximum encoded size of messages (where known) */
/* user_v1_UpdatePasswordRequest_size depends on runtime parameters */
#if defined(user_v1_User_size)
#define USER_V1_USER_V1_UPDATE_PASSWORD_PB_H_MAX_SIZE user_v1_UpdatePasswordResponse_size
#define user_v1_UpdatePasswordResponse_size (6 + user_v1_User_size)
#endif
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif

12
vendor/protobuf/user/v1/user.pb.c vendored Normal file
View File

@@ -0,0 +1,12 @@
/* Automatically generated nanopb constant definitions */
/* Generated by nanopb-0.4.9 */
#include "user/v1/user.pb.h"
#if PB_PROTO_HEADER_VERSION != 40
#error Regenerate this file with the current version of nanopb generator.
#endif
PB_BIND(user_v1_User, user_v1_User, AUTO)

62
vendor/protobuf/user/v1/user.pb.h vendored Normal file
View File

@@ -0,0 +1,62 @@
/* Automatically generated nanopb header */
/* Generated by nanopb-0.4.9 */
#ifndef PB_USER_V1_USER_V1_USER_PB_H_INCLUDED
#define PB_USER_V1_USER_V1_USER_PB_H_INCLUDED
#include <pb.h>
#include "account/v1/account.pb.h"
#include "util/uuid.pb.h"
#if PB_PROTO_HEADER_VERSION != 40
#error Regenerate this file with the current version of nanopb generator.
#endif
/* Struct definitions */
typedef struct _user_v1_User {
bool has_user_id;
util_UUID user_id;
pb_callback_t username;
pb_callback_t scope;
bool has_account;
account_v1_Account account;
} user_v1_User;
#ifdef __cplusplus
extern "C" {
#endif
/* Initializer values for message structs */
#define user_v1_User_init_default {false, util_UUID_init_default, {{NULL}, NULL}, {{NULL}, NULL}, false, account_v1_Account_init_default}
#define user_v1_User_init_zero {false, util_UUID_init_zero, {{NULL}, NULL}, {{NULL}, NULL}, false, account_v1_Account_init_zero}
/* Field tags (for use in manual encoding/decoding) */
#define user_v1_User_user_id_tag 1
#define user_v1_User_username_tag 2
#define user_v1_User_scope_tag 3
#define user_v1_User_account_tag 4
/* Struct field encoding specification for nanopb */
#define user_v1_User_FIELDLIST(X, a) \
X(a, STATIC, OPTIONAL, MESSAGE, user_id, 1) \
X(a, CALLBACK, SINGULAR, STRING, username, 2) \
X(a, CALLBACK, SINGULAR, STRING, scope, 3) \
X(a, STATIC, OPTIONAL, MESSAGE, account, 4)
#define user_v1_User_CALLBACK pb_default_field_callback
#define user_v1_User_DEFAULT NULL
#define user_v1_User_user_id_MSGTYPE util_UUID
#define user_v1_User_account_MSGTYPE account_v1_Account
extern const pb_msgdesc_t user_v1_User_msg;
/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
#define user_v1_User_fields &user_v1_User_msg
/* Maximum encoded size of messages (where known) */
/* user_v1_User_size depends on runtime parameters */
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif