You've already forked npm-viz-sdk
Latest generation
This commit is contained in:
2
index.ts
2
index.ts
@@ -19,8 +19,6 @@
|
||||
export * from './viz-project-settings'
|
||||
export * from './viz-tab.client'
|
||||
export * from './viz-tab'
|
||||
export * from './viz-translations.client'
|
||||
export * from './viz-translations'
|
||||
export * from './viz-user-settings.client'
|
||||
export * from './viz-user-settings'
|
||||
export * from './viz-view.client'
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@reflex-platform/npm-viz-sdk",
|
||||
"version": "1.13.0-SNAPSHOT-260223154647",
|
||||
"version": "1.13.0-SNAPSHOT-260227144520",
|
||||
"description": "npm libs from visibility model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
@@ -1,110 +0,0 @@
|
||||
// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "viz-translations.proto" (package "vizapi", syntax proto3)
|
||||
// tslint:disable
|
||||
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
||||
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
||||
import { TranslationsService } from "./viz-translations";
|
||||
import type { GetLanguagesResult } from "./viz-translations";
|
||||
import type { GetLanguagesRequest } from "./viz-translations";
|
||||
import type { DeleteAllTranslationsResult } from "./viz-translations";
|
||||
import type { DeleteAllTranslationsRequest } from "./viz-translations";
|
||||
import type { ListTranslationsResult } from "./viz-translations";
|
||||
import type { ListTranslationsRequest } from "./viz-translations";
|
||||
import type { DeleteTranslationsResult } from "./viz-translations";
|
||||
import type { DeleteTranslationsRequest } from "./viz-translations";
|
||||
import type { PutTranslationsResult } from "./viz-translations";
|
||||
import type { PutTranslationsRequest } from "./viz-translations";
|
||||
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
||||
import type { GetTranslationsResult } from "./viz-translations";
|
||||
import type { GetTranslationsRequest } from "./viz-translations";
|
||||
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
||||
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
||||
// ===================================
|
||||
// ============= Service =============
|
||||
// ===================================
|
||||
|
||||
/**
|
||||
* @generated from protobuf service vizapi.TranslationsService
|
||||
*/
|
||||
export interface ITranslationsServiceClient {
|
||||
/**
|
||||
* @generated from protobuf rpc: Get
|
||||
*/
|
||||
get(input: GetTranslationsRequest, options?: RpcOptions): UnaryCall<GetTranslationsRequest, GetTranslationsResult>;
|
||||
/**
|
||||
* @generated from protobuf rpc: Put
|
||||
*/
|
||||
put(input: PutTranslationsRequest, options?: RpcOptions): UnaryCall<PutTranslationsRequest, PutTranslationsResult>;
|
||||
/**
|
||||
* @generated from protobuf rpc: Delete
|
||||
*/
|
||||
delete(input: DeleteTranslationsRequest, options?: RpcOptions): UnaryCall<DeleteTranslationsRequest, DeleteTranslationsResult>;
|
||||
/**
|
||||
* @generated from protobuf rpc: List
|
||||
*/
|
||||
list(input: ListTranslationsRequest, options?: RpcOptions): UnaryCall<ListTranslationsRequest, ListTranslationsResult>;
|
||||
/**
|
||||
* @generated from protobuf rpc: DeleteAll
|
||||
*/
|
||||
deleteAll(input: DeleteAllTranslationsRequest, options?: RpcOptions): UnaryCall<DeleteAllTranslationsRequest, DeleteAllTranslationsResult>;
|
||||
/**
|
||||
* @generated from protobuf rpc: GetLanguages
|
||||
*/
|
||||
getLanguages(input: GetLanguagesRequest, options?: RpcOptions): UnaryCall<GetLanguagesRequest, GetLanguagesResult>;
|
||||
}
|
||||
// ===================================
|
||||
// ============= Service =============
|
||||
// ===================================
|
||||
|
||||
/**
|
||||
* @generated from protobuf service vizapi.TranslationsService
|
||||
*/
|
||||
export class TranslationsServiceClient implements ITranslationsServiceClient, ServiceInfo {
|
||||
typeName = TranslationsService.typeName;
|
||||
methods = TranslationsService.methods;
|
||||
options = TranslationsService.options;
|
||||
constructor(private readonly _transport: RpcTransport) {
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: Get
|
||||
*/
|
||||
get(input: GetTranslationsRequest, options?: RpcOptions): UnaryCall<GetTranslationsRequest, GetTranslationsResult> {
|
||||
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<GetTranslationsRequest, GetTranslationsResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: Put
|
||||
*/
|
||||
put(input: PutTranslationsRequest, options?: RpcOptions): UnaryCall<PutTranslationsRequest, PutTranslationsResult> {
|
||||
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<PutTranslationsRequest, PutTranslationsResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: Delete
|
||||
*/
|
||||
delete(input: DeleteTranslationsRequest, options?: RpcOptions): UnaryCall<DeleteTranslationsRequest, DeleteTranslationsResult> {
|
||||
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<DeleteTranslationsRequest, DeleteTranslationsResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: List
|
||||
*/
|
||||
list(input: ListTranslationsRequest, options?: RpcOptions): UnaryCall<ListTranslationsRequest, ListTranslationsResult> {
|
||||
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<ListTranslationsRequest, ListTranslationsResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: DeleteAll
|
||||
*/
|
||||
deleteAll(input: DeleteAllTranslationsRequest, options?: RpcOptions): UnaryCall<DeleteAllTranslationsRequest, DeleteAllTranslationsResult> {
|
||||
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<DeleteAllTranslationsRequest, DeleteAllTranslationsResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: GetLanguages
|
||||
*/
|
||||
getLanguages(input: GetLanguagesRequest, options?: RpcOptions): UnaryCall<GetLanguagesRequest, GetLanguagesResult> {
|
||||
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<GetLanguagesRequest, GetLanguagesResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
}
|
||||
1193
viz-translations.ts
1193
viz-translations.ts
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user