chore: auto-generate protobuf files [skip ci]

This commit is contained in:
github-actions[bot]
2026-04-02 17:54:22 +00:00
parent 9f6744a959
commit e4b4a30664
2 changed files with 21 additions and 148 deletions

View File

@@ -8,29 +8,10 @@
import type { Metadata } from "@grpc/grpc-js";
import { GrpcMethod, GrpcStreamMethod } from "@nestjs/microservices";
import { Observable } from "rxjs";
import { UserData } from "./ldap";
export const protobufPackage = "ldap_auth.v1";
/** Полная модель пользователя */
export interface UserData {
/** Полный путь в AD (Distinguished Name) */
dn: string;
/** Логин (sAMAccountName) */
username: string;
/** ФИО (displayName) */
displayName: string;
/** Почта (mail) */
email: string;
/** Описание/Должность (description) */
description: string;
/** Аватарка в байтах (thumbnailPhoto) */
avatar: Uint8Array;
/** Список групп */
groups: string[];
/** Статус аккаунта */
isActive: boolean;
}
/** --- Авторизация --- */
export interface VerifyRequest {
username: string;