Latest generation

This commit is contained in:
ci core model
2025-06-24 13:53:43 +00:00
parent 09464bd00c
commit c734d775b8
5 changed files with 508 additions and 452 deletions

View File

@@ -4,10 +4,10 @@
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
import { TinyURLService } from "./tiny-url";
import type { HttpBody } from "./google/api/httpbody";
import type { DownloadFileRequest } from "./tiny-url";
import type { GetLongURLResult } from "./tiny-url";
import type { GetLongURLRequest } from "./tiny-url";
import type { GetPartnerAppTinyURLResult } from "./tiny-url";
import type { GetPartnerAppTinyURLRequest } from "./tiny-url";
import type { GetSiteTinyURLResult } from "./tiny-url";
import type { GetSiteTinyURLRequest } from "./tiny-url";
import type { DeletePartnerAppTinyURLResponse } from "./tiny-url";
import type { DeletePartnerAppTinyURLRequest } from "./tiny-url";
import type { DeleteSiteTinyURLResponse } from "./tiny-url";
@@ -27,13 +27,6 @@ import type { ShortenSiteURLResult } from "./tiny-url";
import type { ShortenSiteURLRequest } from "./tiny-url";
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
// TODOs :
// - Parler avec Vincent de la compilation
// - Un endpoint sans rscType
// - TTL enum
// - Gestion UMA sans interceptor
// - k8sService
// ============ SERVICE DESCRIPTION ============
/**
@@ -73,21 +66,14 @@ export interface ITinyURLServiceClient {
*/
deletePartnerAppTinyURL(input: DeletePartnerAppTinyURLRequest, options?: RpcOptions): UnaryCall<DeletePartnerAppTinyURLRequest, DeletePartnerAppTinyURLResponse>;
/**
* @generated from protobuf rpc: GetLongURL
* @generated from protobuf rpc: GetSiteTinyURL
*/
getLongURL(input: GetLongURLRequest, options?: RpcOptions): UnaryCall<GetLongURLRequest, GetLongURLResult>;
getSiteTinyURL(input: GetSiteTinyURLRequest, options?: RpcOptions): UnaryCall<GetSiteTinyURLRequest, GetSiteTinyURLResult>;
/**
* @generated from protobuf rpc: DownloadFile
* @generated from protobuf rpc: GetPartnerAppTinyURL
*/
downloadFile(input: DownloadFileRequest, options?: RpcOptions): UnaryCall<DownloadFileRequest, HttpBody>;
getPartnerAppTinyURL(input: GetPartnerAppTinyURLRequest, options?: RpcOptions): UnaryCall<GetPartnerAppTinyURLRequest, GetPartnerAppTinyURLResult>;
}
// TODOs :
// - Parler avec Vincent de la compilation
// - Un endpoint sans rscType
// - TTL enum
// - Gestion UMA sans interceptor
// - k8sService
// ============ SERVICE DESCRIPTION ============
/**
@@ -156,17 +142,17 @@ export class TinyURLServiceClient implements ITinyURLServiceClient, ServiceInfo
return stackIntercept<DeletePartnerAppTinyURLRequest, DeletePartnerAppTinyURLResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: GetLongURL
* @generated from protobuf rpc: GetSiteTinyURL
*/
getLongURL(input: GetLongURLRequest, options?: RpcOptions): UnaryCall<GetLongURLRequest, GetLongURLResult> {
getSiteTinyURL(input: GetSiteTinyURLRequest, options?: RpcOptions): UnaryCall<GetSiteTinyURLRequest, GetSiteTinyURLResult> {
const method = this.methods[8], opt = this._transport.mergeOptions(options);
return stackIntercept<GetLongURLRequest, GetLongURLResult>("unary", this._transport, method, opt, input);
return stackIntercept<GetSiteTinyURLRequest, GetSiteTinyURLResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: DownloadFile
* @generated from protobuf rpc: GetPartnerAppTinyURL
*/
downloadFile(input: DownloadFileRequest, options?: RpcOptions): UnaryCall<DownloadFileRequest, HttpBody> {
getPartnerAppTinyURL(input: GetPartnerAppTinyURLRequest, options?: RpcOptions): UnaryCall<GetPartnerAppTinyURLRequest, GetPartnerAppTinyURLResult> {
const method = this.methods[9], opt = this._transport.mergeOptions(options);
return stackIntercept<DownloadFileRequest, HttpBody>("unary", this._transport, method, opt, input);
return stackIntercept<GetPartnerAppTinyURLRequest, GetPartnerAppTinyURLResult>("unary", this._transport, method, opt, input);
}
}