1 Commits

Author SHA1 Message Date
12e2cb6ae7 chore(deps): update dependency google-protobuf to v4
Some checks failed
renovate/artifacts Artifact file update failure
2026-04-29 15:19:06 +00:00
3 changed files with 134 additions and 154 deletions

View File

@@ -11,7 +11,7 @@
},
"dependencies": {
"@bufbuild/protobuf": "^2.12.0",
"google-protobuf": "^3.21.0"
"google-protobuf": "^4.0.0"
},
"devDependencies": {
"@types/node": "^25.6.0",

View File

@@ -1,7 +1,7 @@
/// Protobuf definitions for the accounts service.
/// This file has messages for describing environments
// @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
// @generated from file accounts/v1/accounts_v1.proto (package accounts.v1, syntax proto3)
// @generated from file accounts/v1/accounts_v1.proto (package accounts, syntax proto3)
/* eslint-disable */
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
@@ -14,12 +14,51 @@ import type { Message } from "@bufbuild/protobuf";
* Describes the file accounts/v1/accounts_v1.proto.
*/
export const file_accounts_v1_accounts_v1: GenFile = /*@__PURE__*/
fileDesc("Ch1hY2NvdW50cy92MS9hY2NvdW50c192MS5wcm90bxILYWNjb3VudHMudjEiIwoPQWNjb3VudFBhc3N3b3JkEhAKCHBhc3N3b3JkGAEgASgJIioKC0FjY291bnREYXRhEgwKBG5hbWUYASABKAkSDQoFZW1haWwYAiABKAkiMAoNU2lnblVwUmVxdWVzdBINCgVlbWFpbBgBIAEoCRIQCghwYXNzd29yZBgCIAEoCSIwCg1TaWduSW5SZXF1ZXN0Eg0KBWVtYWlsGAEgASgJEhAKCHBhc3N3b3JkGAIgASgJIj4KFFJlc2V0UGFzc3dvcmRSZXF1ZXN0EiYKBGRhdGEYASABKAsyGC5hY2NvdW50cy52MS5BY2NvdW50RGF0YSJ6ChJOZXdQYXNzd29yZFJlcXVlc3QSJgoEZGF0YRgBIAEoCzIYLmFjY291bnRzLnYxLkFjY291bnREYXRhEi4KCHBhc3N3b3JkGAIgASgLMhwuYWNjb3VudHMudjEuQWNjb3VudFBhc3N3b3J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5ZXItZ28tcHJvdG8vcGtnL2FjY291bnRzYgZwcm90bzM", [file_google_protobuf_empty]);
/**
* @generated from message accounts.v1.AccountPassword
* @generated from message accounts.EmailVerified
*/
export type AccountPassword = Message<"accounts.v1.AccountPassword"> & {
export type EmailVerified = Message<"accounts.EmailVerified"> & {
/**
* @generated from field: bool verified = 1;
*/
verified: boolean;
};
/**
* Describes the message accounts.EmailVerified.
* Use `create(EmailVerifiedSchema)` to create a new message.
*/
export const EmailVerifiedSchema: GenMessage<EmailVerified> = /*@__PURE__*/
messageDesc(file_accounts_v1_accounts_v1, 0);
/**
* *
* Represents a environment UUID only
*
* @generated from message accounts.AccountId
*/
export type AccountId = Message<"accounts.AccountId"> & {
/**
* Contour ID: UUID
*
* @generated from field: string id = 1;
*/
id: string;
};
/**
* Describes the message accounts.AccountId.
* Use `create(AccountIdSchema)` to create a new message.
*/
export const AccountIdSchema: GenMessage<AccountId> = /*@__PURE__*/
messageDesc(file_accounts_v1_accounts_v1, 1);
/**
* @generated from message accounts.AccountPassword
*/
export type AccountPassword = Message<"accounts.AccountPassword"> & {
/**
* @generated from field: string password = 1;
*/
@@ -27,16 +66,16 @@ export type AccountPassword = Message<"accounts.v1.AccountPassword"> & {
};
/**
* Describes the message accounts.v1.AccountPassword.
* Describes the message accounts.AccountPassword.
* Use `create(AccountPasswordSchema)` to create a new message.
*/
export const AccountPasswordSchema: GenMessage<AccountPassword> = /*@__PURE__*/
messageDesc(file_accounts_v1_accounts_v1, 0);
messageDesc(file_accounts_v1_accounts_v1, 2);
/**
* @generated from message accounts.v1.AccountData
* @generated from message accounts.AccountData
*/
export type AccountData = Message<"accounts.v1.AccountData"> & {
export type AccountData = Message<"accounts.AccountData"> & {
/**
* Account name
*
@@ -53,84 +92,45 @@ export type AccountData = Message<"accounts.v1.AccountData"> & {
};
/**
* Describes the message accounts.v1.AccountData.
* Describes the message accounts.AccountData.
* Use `create(AccountDataSchema)` to create a new message.
*/
export const AccountDataSchema: GenMessage<AccountData> = /*@__PURE__*/
messageDesc(file_accounts_v1_accounts_v1, 1);
/**
* @generated from message accounts.v1.SignUpRequest
*/
export type SignUpRequest = Message<"accounts.v1.SignUpRequest"> & {
/**
* @generated from field: string email = 1;
*/
email: string;
/**
* @generated from field: string password = 2;
*/
password: string;
};
/**
* Describes the message accounts.v1.SignUpRequest.
* Use `create(SignUpRequestSchema)` to create a new message.
*/
export const SignUpRequestSchema: GenMessage<SignUpRequest> = /*@__PURE__*/
messageDesc(file_accounts_v1_accounts_v1, 2);
/**
* @generated from message accounts.v1.SignInRequest
*/
export type SignInRequest = Message<"accounts.v1.SignInRequest"> & {
/**
* @generated from field: string email = 1;
*/
email: string;
/**
* @generated from field: string password = 2;
*/
password: string;
};
/**
* Describes the message accounts.v1.SignInRequest.
* Use `create(SignInRequestSchema)` to create a new message.
*/
export const SignInRequestSchema: GenMessage<SignInRequest> = /*@__PURE__*/
messageDesc(file_accounts_v1_accounts_v1, 3);
/**
* @generated from message accounts.v1.ResetPasswordRequest
* @generated from message accounts.AccountWithPassword
*/
export type ResetPasswordRequest = Message<"accounts.v1.ResetPasswordRequest"> & {
export type AccountWithPassword = Message<"accounts.AccountWithPassword"> & {
/**
* @generated from field: accounts.v1.AccountData data = 1;
* @generated from field: accounts.AccountData data = 1;
*/
data?: AccountData | undefined;
/**
* @generated from field: accounts.AccountPassword password = 2;
*/
password?: AccountPassword | undefined;
};
/**
* Describes the message accounts.v1.ResetPasswordRequest.
* Use `create(ResetPasswordRequestSchema)` to create a new message.
* Describes the message accounts.AccountWithPassword.
* Use `create(AccountWithPasswordSchema)` to create a new message.
*/
export const ResetPasswordRequestSchema: GenMessage<ResetPasswordRequest> = /*@__PURE__*/
export const AccountWithPasswordSchema: GenMessage<AccountWithPassword> = /*@__PURE__*/
messageDesc(file_accounts_v1_accounts_v1, 4);
/**
* @generated from message accounts.v1.NewPasswordRequest
* @generated from message accounts.AccountWithPasswordAndCode
*/
export type NewPasswordRequest = Message<"accounts.v1.NewPasswordRequest"> & {
export type AccountWithPasswordAndCode = Message<"accounts.AccountWithPasswordAndCode"> & {
/**
* @generated from field: accounts.v1.AccountData data = 1;
* @generated from field: accounts.AccountData data = 1;
*/
data?: AccountData | undefined;
/**
* @generated from field: accounts.v1.AccountPassword password = 2;
* @generated from field: accounts.AccountPassword password = 2;
*/
password?: AccountPassword | undefined;
@@ -141,121 +141,108 @@ export type NewPasswordRequest = Message<"accounts.v1.NewPasswordRequest"> & {
};
/**
* Describes the message accounts.v1.NewPasswordRequest.
* Use `create(NewPasswordRequestSchema)` to create a new message.
* Describes the message accounts.AccountWithPasswordAndCode.
* Use `create(AccountWithPasswordAndCodeSchema)` to create a new message.
*/
export const NewPasswordRequestSchema: GenMessage<NewPasswordRequest> = /*@__PURE__*/
export const AccountWithPasswordAndCodeSchema: GenMessage<AccountWithPasswordAndCode> = /*@__PURE__*/
messageDesc(file_accounts_v1_accounts_v1, 5);
/**
* @generated from message accounts.v1.IsEmailVerifiedRequest
* @generated from message accounts.AccountFull
*/
export type IsEmailVerifiedRequest = Message<"accounts.v1.IsEmailVerifiedRequest"> & {
export type AccountFull = Message<"accounts.AccountFull"> & {
/**
* @generated from field: accounts.v1.AccountData data = 1;
* @generated from field: accounts.AccountId id = 1;
*/
id?: AccountId | undefined;
/**
* @generated from field: accounts.AccountData data = 2;
*/
data?: AccountData | undefined;
};
/**
* Describes the message accounts.v1.IsEmailVerifiedRequest.
* Use `create(IsEmailVerifiedRequestSchema)` to create a new message.
* Describes the message accounts.AccountFull.
* Use `create(AccountFullSchema)` to create a new message.
*/
export const IsEmailVerifiedRequestSchema: GenMessage<IsEmailVerifiedRequest> = /*@__PURE__*/
export const AccountFullSchema: GenMessage<AccountFull> = /*@__PURE__*/
messageDesc(file_accounts_v1_accounts_v1, 6);
/**
* @generated from message accounts.v1.IsEmailVerifiedResponse
* @generated from message accounts.AccountFullWithToken
*/
export type IsEmailVerifiedResponse = Message<"accounts.v1.IsEmailVerifiedResponse"> & {
export type AccountFullWithToken = Message<"accounts.AccountFullWithToken"> & {
/**
* @generated from field: bool verified = 1;
* @generated from field: accounts.AccountId id = 1;
*/
verified: boolean;
id?: AccountId | undefined;
/**
* @generated from field: accounts.AccountData data = 2;
*/
data?: AccountData | undefined;
/**
* @generated from field: string token = 3;
*/
token: string;
};
/**
* Describes the message accounts.v1.IsEmailVerifiedResponse.
* Use `create(IsEmailVerifiedResponseSchema)` to create a new message.
* Describes the message accounts.AccountFullWithToken.
* Use `create(AccountFullWithTokenSchema)` to create a new message.
*/
export const IsEmailVerifiedResponseSchema: GenMessage<IsEmailVerifiedResponse> = /*@__PURE__*/
export const AccountFullWithTokenSchema: GenMessage<AccountFullWithToken> = /*@__PURE__*/
messageDesc(file_accounts_v1_accounts_v1, 7);
/**
* @generated from message accounts.v1.RefreshTokenRequest
*/
export type RefreshTokenRequest = Message<"accounts.v1.RefreshTokenRequest"> & {
/**
* @generated from field: string session_id = 1;
*/
sessionId: string;
};
/**
* Describes the message accounts.v1.RefreshTokenRequest.
* Use `create(RefreshTokenRequestSchema)` to create a new message.
*/
export const RefreshTokenRequestSchema: GenMessage<RefreshTokenRequest> = /*@__PURE__*/
messageDesc(file_accounts_v1_accounts_v1, 8);
/**
* *
* Service for handling accounts that do not require authentication
* Service for handling environments
*
* @generated from service accounts.v1.AccountsNoAuthService
* @generated from service accounts.Accounts
*/
export const AccountsNoAuthService: GenService<{
export const Accounts: GenService<{
/**
* Sing in into an existing account
*
* @generated from rpc accounts.v1.AccountsNoAuthService.SignIn
*/
signIn: {
methodKind: "unary";
input: typeof SignInRequestSchema;
output: typeof EmptySchema;
},
/**
* Create a new account
*
* @generated from rpc accounts.v1.AccountsNoAuthService.SignUp
* @generated from rpc accounts.Accounts.SignUp
*/
signUp: {
methodKind: "unary";
input: typeof SignUpRequestSchema;
input: typeof AccountWithPasswordSchema;
output: typeof AccountFullWithTokenSchema;
},
/**
* @generated from rpc accounts.Accounts.SignIn
*/
signIn: {
methodKind: "unary";
input: typeof AccountWithPasswordSchema;
output: typeof AccountFullWithTokenSchema;
},
/**
* @generated from rpc accounts.Accounts.ResetPassword
*/
resetPassword: {
methodKind: "unary";
input: typeof AccountDataSchema;
output: typeof EmptySchema;
},
/**
* RefreshToken doesn't use regular auth methods
*
* @generated from rpc accounts.v1.AccountsNoAuthService.RefreshToken
* @generated from rpc accounts.Accounts.NewPassword
*/
refreshToken: {
newPassword: {
methodKind: "unary";
input: typeof RefreshTokenRequestSchema;
input: typeof AccountWithPasswordAndCodeSchema;
output: typeof EmptySchema;
},
/**
* @generated from rpc accounts.Accounts.IsEmailVerified
*/
isEmailVerified: {
methodKind: "unary";
input: typeof AccountDataSchema;
output: typeof EmailVerifiedSchema;
},
}> = /*@__PURE__*/
serviceDesc(file_accounts_v1_accounts_v1, 0);
/**
* *
* Service for handling accounts that do require authentication
* Tokens should be sent via metadata, so the service is able to authenticate a user for a request
*
* @generated from service accounts.v1.AccountsAuthService
*/
export const AccountsAuthService: GenService<{
/**
* Is email for the current account verified
*
* @generated from rpc accounts.v1.AccountsAuthService.IsEmailVerified
*/
isEmailVerified: {
methodKind: "unary";
input: typeof IsEmailVerifiedRequestSchema;
output: typeof IsEmailVerifiedResponseSchema;
},
}> = /*@__PURE__*/
serviceDesc(file_accounts_v1_accounts_v1, 1);

View File

@@ -10,7 +10,7 @@ import type { Message } from "@bufbuild/protobuf";
* Describes the file test/v1/test_v1.proto.
*/
export const file_test_v1_test_v1: GenFile = /*@__PURE__*/
fileDesc("ChV0ZXN0L3YxL3Rlc3RfdjEucHJvdG8SB3Rlc3QudjEiDQoLUGluZ1JlcXVlc3QiDgoMUGluZ1Jlc3BvbnNlIg0KC1BvbmdSZXF1ZXN0Ig4KDFBvbmdSZXNwb25zZTJKChFUZXN0Tm9BdXRoU2VydmljZRI1CgRQaW5nEhQudGVzdC52MS5QaW5nUmVxdWVzdBoVLnRlc3QudjEuUGluZ1Jlc3BvbnNlIgAySAoPVGVzdEF1dGhTZXJ2aWNlEjUKBFBvbmcSFC50ZXN0LnYxLlBvbmdSZXF1ZXN0GhUudGVzdC52MS5Qb25nUmVzcG9uc2UiAEJFWkNnaXRlYS5iYWRob3VzZXBsYW50cy5uZXQvc29mdHBsYXllci9zb2Z0cGxheWVyLWdvLXByb3RvL3BrZy90ZXN0L3YxYgZwcm90bzM");
fileDesc("ChV0ZXN0L3YxL3Rlc3RfdjEucHJvdG8SB3Rlc3QudjEiDQoLUGluZ1JlcXVlc3QiDgoMUGluZ1Jlc3BvbnNlIg0KC1BvbmdSZXF1ZXN0Ig4KDFBvbmdSZXNwb25zZTJ7CgtUZXN0U2VydmljZRI1CgRQaW5nEhQudGVzdC52MS5QaW5nUmVxdWVzdBoVLnRlc3QudjEuUGluZ1Jlc3BvbnNlIgASNQoEUG9uZxIULnRlc3QudjEuUG9uZ1JlcXVlc3QaFS50ZXN0LnYxLlBvbmdSZXNwb25zZSIAQkVaQ2dpdGVhLmJhZGhvdXNlcGxhbnRzLm5ldC9zb2Z0cGxheWVyL3NvZnRwbGF5ZXItZ28tcHJvdG8vcGtnL3Rlc3QvdjFiBnByb3RvMw");
/**
* @generated from message test.v1.PingRequest
@@ -68,26 +68,19 @@ export const PongResponseSchema: GenMessage<PongResponse> = /*@__PURE__*/
* *
* Service for handling environments
*
* @generated from service test.v1.TestNoAuthService
* @generated from service test.v1.TestService
*/
export const TestNoAuthService: GenService<{
export const TestService: GenService<{
/**
* @generated from rpc test.v1.TestNoAuthService.Ping
* @generated from rpc test.v1.TestService.Ping
*/
ping: {
methodKind: "unary";
input: typeof PingRequestSchema;
output: typeof PingResponseSchema;
},
}> = /*@__PURE__*/
serviceDesc(file_test_v1_test_v1, 0);
/**
* @generated from service test.v1.TestAuthService
*/
export const TestAuthService: GenService<{
/**
* @generated from rpc test.v1.TestAuthService.Pong
* @generated from rpc test.v1.TestService.Pong
*/
pong: {
methodKind: "unary";
@@ -95,5 +88,5 @@ export const TestAuthService: GenService<{
output: typeof PongResponseSchema;
},
}> = /*@__PURE__*/
serviceDesc(file_test_v1_test_v1, 1);
serviceDesc(file_test_v1_test_v1, 0);