Merge branch 'feature/BETERAN-BACKEND-APP-BROWSER-init' of https://gitlab.loafle.net/bet/beteran-backend-app-browser into feature/BETERAN-BACKEND-APP-BROWSER-init
This commit is contained in:
commit
f9cf28023a
|
@ -93,7 +93,12 @@
|
|||
<button mat-menu-item (click)="__onClickCash($event)">
|
||||
보유금지급/회수
|
||||
</button>
|
||||
<button mat-menu-item>수수료설정</button>
|
||||
<button
|
||||
mat-menu-item
|
||||
(click)="__onClickCommission($event)"
|
||||
>
|
||||
수수료설정
|
||||
</button>
|
||||
<button mat-menu-item>콤프지급/회수</button>
|
||||
<button mat-menu-item>쿠폰머니지급/회수</button>
|
||||
<button mat-menu-item>쪽지보내기</button>
|
||||
|
|
|
@ -38,6 +38,7 @@ import {
|
|||
RegistComposeResult,
|
||||
} from '../compose/regist-compose.component';
|
||||
import { CashComposeComponent } from '../compose/cash-compose.component';
|
||||
import { CommissionComposeComponent } from '../compose/commission-compose.component';
|
||||
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
import { SiteService } from 'app/modules/polyglot/domain/services/site.service';
|
||||
|
@ -263,6 +264,15 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
|
|||
console.log('Compose dialog was closed!');
|
||||
});
|
||||
}
|
||||
__onClickCommission(event: MouseEvent): void {
|
||||
const dialogRef = this._matDialog.open(CommissionComposeComponent, {
|
||||
data: { price: '', memo: '' },
|
||||
});
|
||||
|
||||
dialogRef.afterClosed().subscribe((result) => {
|
||||
console.log('Compose dialog was closed!');
|
||||
});
|
||||
}
|
||||
|
||||
__getRateTooltop(): string {
|
||||
const tempRate = 0;
|
||||
|
|
|
@ -0,0 +1,96 @@
|
|||
<div class="flex flex-col max-w-240 md:min-w-160 max-h-screen -m-6">
|
||||
<!-- Header -->
|
||||
<div
|
||||
class="flex flex-0 items-center justify-between h-16 pr-3 sm:pr-5 pl-6 sm:pl-8 bg-primary text-on-primary"
|
||||
>
|
||||
<div class="text-lg font-medium">수수료 변경</div>
|
||||
<button mat-icon-button (click)="saveAndClose()" [tabIndex]="-1">
|
||||
<mat-icon
|
||||
class="text-current"
|
||||
[svgIcon]="'heroicons_outline:x'"
|
||||
></mat-icon>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<!-- Compose form -->
|
||||
<form
|
||||
class="flex flex-col flex-auto p-6 sm:p-8 overflow-y-auto"
|
||||
[formGroup]="composeForm"
|
||||
>
|
||||
<fieldset>
|
||||
<div class="font-semibold mb-2">카지노 요율</div>
|
||||
<!-- 바카라 -->
|
||||
<mat-form-field style="text-align: center">
|
||||
<mat-label>바카라</mat-label>
|
||||
<input matInput [formControlName]="'bacaraRate'" />2.00
|
||||
</mat-form-field>
|
||||
<span style="float: inherit">%(최소 2 ~ 최대 5)</span
|
||||
>
|
||||
<!-- 룰렛 -->
|
||||
<mat-form-field style="text-align: center">
|
||||
<mat-label>룰렛</mat-label>
|
||||
<input matInput [formControlName]="'rouletteRate'" />2.00
|
||||
</mat-form-field>
|
||||
<span style="float: inherit">%(최소 1.8 ~ 최대 5)</span>
|
||||
<br />
|
||||
<!-- 드레곤타이거 -->
|
||||
<mat-form-field style="text-align: center">
|
||||
<mat-label>드레곤타이거</mat-label>
|
||||
<input matInput [formControlName]="'dragonTigerRate'" />2.00
|
||||
</mat-form-field>
|
||||
<span style="float: inherit">%(최소 1.8 ~ 최대 5)</span
|
||||
>
|
||||
<!-- 기타게임 -->
|
||||
<mat-form-field style="text-align: center">
|
||||
<mat-label>기타게임</mat-label>
|
||||
<input matInput [formControlName]="'otherGameRate'" />2.00
|
||||
</mat-form-field>
|
||||
<span style="float: inherit">%(최소 1.5 ~ 최대 5)</span>
|
||||
</fieldset>
|
||||
<b><mat-divider></mat-divider></b>
|
||||
<!-- 슬롯요율 -->
|
||||
<fieldset>
|
||||
<mat-form-field style="text-align: center">
|
||||
<mat-label>슬롯요율</mat-label>
|
||||
<input matInput [formControlName]="'slotRate'" />5.00
|
||||
</mat-form-field>
|
||||
<span style="float: inherit">%(최소 4 ~ 최대 5)</span>
|
||||
</fieldset>
|
||||
<mat-divider></mat-divider>
|
||||
<fieldset>
|
||||
<!-- 카지노 루징 -->
|
||||
<mat-form-field style="text-align: center">
|
||||
<mat-label>카지노 루징</mat-label>
|
||||
<input matInput [formControlName]="'casinoLoosing'" />50.00
|
||||
</mat-form-field>
|
||||
<span style="float: inherit">%(최소 40 ~ 최대 50)</span>
|
||||
|
||||
<!-- 술롯 루징 -->
|
||||
<mat-form-field style="text-align: center">
|
||||
<mat-label>슬롯 루징</mat-label>
|
||||
<input matInput [formControlName]="'slotLoosing'" />50.00
|
||||
</mat-form-field>
|
||||
<span style="float: inherit">%(최소 40 ~ 최대 50)</span>
|
||||
</fieldset>
|
||||
<!-- Actions -->
|
||||
<div
|
||||
class="flex flex-col sm:flex-row sm:items-center justify-between mt-4 sm:mt-6"
|
||||
>
|
||||
<div class="flex items-center mt-4 sm:mt-0">
|
||||
<!-- Send -->
|
||||
<button
|
||||
class="order-first sm:order-last"
|
||||
mat-flat-button
|
||||
[color]="'primary'"
|
||||
(click)="send()"
|
||||
>
|
||||
요율변경
|
||||
</button>
|
||||
<!-- Save as draft -->
|
||||
<button class="sm:mx-3" mat-stroked-button (click)="saveAsDraft()">
|
||||
<span>닫기</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
|
@ -0,0 +1,99 @@
|
|||
import {
|
||||
ChangeDetectorRef,
|
||||
Component,
|
||||
Inject,
|
||||
OnInit,
|
||||
ViewEncapsulation,
|
||||
} from '@angular/core';
|
||||
import { FormBuilder, FormGroup, Validators } from '@angular/forms';
|
||||
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
|
||||
import { SiteService } from 'app/modules/polyglot/domain/services/site.service';
|
||||
import { IdentityService } from 'app/modules/polyglot/member/services/identity.service';
|
||||
import { Site } from 'app/modules/protobuf/models/domain/site_pb';
|
||||
|
||||
export interface CommissionComposeData {
|
||||
price: string;
|
||||
memo: string;
|
||||
}
|
||||
export interface CommissionComposeResult {
|
||||
price: string;
|
||||
memo: string;
|
||||
}
|
||||
|
||||
@Component({
|
||||
selector: 'app-commission-compose',
|
||||
templateUrl: './commission-compose.component.html',
|
||||
encapsulation: ViewEncapsulation.None,
|
||||
})
|
||||
export class CommissionComposeComponent implements OnInit {
|
||||
composeForm!: FormGroup;
|
||||
sites: any[] = [];
|
||||
// quillModules: any = {
|
||||
// toolbar: [
|
||||
// ['bold', 'italic', 'underline'],
|
||||
// [{ align: [] }, { list: 'ordered' }, { list: 'bullet' }],
|
||||
// ['clean'],
|
||||
// ],
|
||||
// };
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
constructor(
|
||||
public matDialogRef: MatDialogRef<CommissionComposeComponent>,
|
||||
@Inject(MAT_DIALOG_DATA) public data: CommissionComposeData,
|
||||
private _formBuilder: FormBuilder,
|
||||
private _identityService: IdentityService,
|
||||
private _changeDetectorRef: ChangeDetectorRef
|
||||
) {}
|
||||
|
||||
// -----------------------------------------------------------------------------------------------------
|
||||
// @ Lifecycle hooks
|
||||
// -----------------------------------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* On init
|
||||
*/
|
||||
ngOnInit(): void {
|
||||
// Create the form
|
||||
this.composeForm = this._formBuilder.group({
|
||||
bacaraRate: ['', [Validators.required]],
|
||||
rouletteRate: ['', [Validators.required]],
|
||||
dragonTigerRate: ['', [Validators.required]],
|
||||
otherGameRate: ['', [Validators.required]],
|
||||
slotRate: ['', [Validators.required]],
|
||||
casinoLoosing: ['', [Validators.required]],
|
||||
slotLoosing: ['', [Validators.required]],
|
||||
});
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------------------------------------
|
||||
// @ Public methods
|
||||
// -----------------------------------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Save and close
|
||||
*/
|
||||
saveAndClose(): void {
|
||||
// Save the message as a draft
|
||||
this.saveAsDraft();
|
||||
|
||||
// Close the dialog
|
||||
this.matDialogRef.close();
|
||||
}
|
||||
|
||||
/**
|
||||
* Discard the message
|
||||
*/
|
||||
discard(): void {}
|
||||
|
||||
/**
|
||||
* Save the message as a draft
|
||||
*/
|
||||
saveAsDraft(): void {}
|
||||
|
||||
/**
|
||||
* Send the message
|
||||
*/
|
||||
send(): void {}
|
||||
}
|
|
@ -1,4 +1,9 @@
|
|||
import { RegistComposeComponent } from './regist-compose.component';
|
||||
import { CashComposeComponent } from './cash-compose.component';
|
||||
import { CommissionComposeComponent } from './commission-compose.component';
|
||||
|
||||
export const COMPOSE = [RegistComposeComponent, CashComposeComponent];
|
||||
export const COMPOSE = [
|
||||
RegistComposeComponent,
|
||||
CashComposeComponent,
|
||||
CommissionComposeComponent,
|
||||
];
|
||||
|
|
|
@ -16,6 +16,7 @@ import { MatTooltipModule } from '@angular/material/tooltip';
|
|||
import { MatGridListModule } from '@angular/material/grid-list';
|
||||
import { MatMenuModule } from '@angular/material/menu';
|
||||
import { MatRadioModule } from '@angular/material/radio';
|
||||
import { MatDividerModule } from '@angular/material/divider';
|
||||
|
||||
import { TranslocoModule } from '@ngneat/transloco';
|
||||
|
||||
|
@ -52,6 +53,7 @@ import { FuseAlertModule } from '@fuse/components/alert';
|
|||
MatGridListModule,
|
||||
MatMenuModule,
|
||||
MatRadioModule,
|
||||
MatDividerModule,
|
||||
|
||||
FuseAlertModule,
|
||||
],
|
||||
|
|
|
@ -217,17 +217,24 @@
|
|||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<span style="color: red"
|
||||
>-도메인 www.을 빼고 등록해야 합니다.(ex:demo.com)</span
|
||||
>
|
||||
<span style="color: red"
|
||||
>-만료일은 도메인 구입처(구입당시)에서 확인가능합니다. (등록하지
|
||||
않으면 등록날짜 기준으로 365 남은기간이 설정됩니다.)</span
|
||||
>
|
||||
<span style="color: red"
|
||||
>-메모란을 등록하셔서 도메인을 관리하시면 좋습니다. (150자 이하로
|
||||
등록해주세요.)</span
|
||||
>
|
||||
<p>
|
||||
<span style="color: red"
|
||||
>-도메인 www.을 빼고 등록해야 합니다.(ex:demo.com)</span
|
||||
>
|
||||
</p>
|
||||
<p>
|
||||
<span style="color: red"
|
||||
>-만료일은 도메인 구입처(구입당시)에서 확인가능합니다. (등록하지
|
||||
않으면 등록날짜 기준으로 365 남은기간이 설정됩니다.)</span
|
||||
>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<span style="color: red"
|
||||
>-메모란을 등록하셔서 도메인을 관리하시면 좋습니다. (150자 이하로
|
||||
등록해주세요.)</span
|
||||
>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
555
src/app/modules/protobuf/c2se/backend/member_class_pb.d.ts
vendored
Normal file
555
src/app/modules/protobuf/c2se/backend/member_class_pb.d.ts
vendored
Normal file
|
@ -0,0 +1,555 @@
|
|||
// package: bet.beteran.c2se.backend.member_class
|
||||
// file: c2se/backend/member_class.proto
|
||||
|
||||
import * as jspb from 'google-protobuf';
|
||||
import * as protobuf_rpc_error_pb from '../../protobuf/rpc/error_pb';
|
||||
import * as protobuf_pagination_pagination_pb from '../../protobuf/pagination/pagination_pb';
|
||||
import * as protobuf_pagination_search_pb from '../../protobuf/pagination/search_pb';
|
||||
import * as protobuf_pagination_sort_pb from '../../protobuf/pagination/sort_pb';
|
||||
import * as models_member_member_class_pb from '../../models/member/member_class_pb';
|
||||
|
||||
export const SUBJECT_CREATE_MEMBER_CLASS: string;
|
||||
export const SUBJECT_LIST_MEMBER_CLASSES: string;
|
||||
export const SUBJECT_GET_MEMBER_CLASS: string;
|
||||
export const SUBJECT_UPDATE_MEMBER_CLASS: string;
|
||||
export const SUBJECT_DELETE_MEMBER_CLASS: string;
|
||||
|
||||
export class CreateMemberClassRequest extends jspb.Message {
|
||||
hasParentId(): boolean;
|
||||
clearParentId(): void;
|
||||
getParentId(): string;
|
||||
setParentId(value: string): void;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateMemberClassRequest.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: CreateMemberClassRequest
|
||||
): CreateMemberClassRequest.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: CreateMemberClassRequest,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CreateMemberClassRequest;
|
||||
static deserializeBinaryFromReader(
|
||||
message: CreateMemberClassRequest,
|
||||
reader: jspb.BinaryReader
|
||||
): CreateMemberClassRequest;
|
||||
}
|
||||
|
||||
export namespace CreateMemberClassRequest {
|
||||
export type AsObject = {
|
||||
parentId: string;
|
||||
name: string;
|
||||
};
|
||||
}
|
||||
|
||||
export class CreateMemberClassResponse extends jspb.Message {
|
||||
hasError(): boolean;
|
||||
clearError(): void;
|
||||
getError(): protobuf_rpc_error_pb.Error | undefined;
|
||||
setError(value?: protobuf_rpc_error_pb.Error): void;
|
||||
|
||||
hasResult(): boolean;
|
||||
clearResult(): void;
|
||||
getResult(): CreateMemberClassResponse.Result | undefined;
|
||||
setResult(value?: CreateMemberClassResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateMemberClassResponse.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: CreateMemberClassResponse
|
||||
): CreateMemberClassResponse.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: CreateMemberClassResponse,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CreateMemberClassResponse;
|
||||
static deserializeBinaryFromReader(
|
||||
message: CreateMemberClassResponse,
|
||||
reader: jspb.BinaryReader
|
||||
): CreateMemberClassResponse;
|
||||
}
|
||||
|
||||
export namespace CreateMemberClassResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_error_pb.Error.AsObject;
|
||||
result?: CreateMemberClassResponse.Result.AsObject;
|
||||
};
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
hasMemberClass(): boolean;
|
||||
clearMemberClass(): void;
|
||||
getMemberClass(): models_member_member_class_pb.MemberClass | undefined;
|
||||
setMemberClass(value?: models_member_member_class_pb.MemberClass): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: Result,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Result;
|
||||
static deserializeBinaryFromReader(
|
||||
message: Result,
|
||||
reader: jspb.BinaryReader
|
||||
): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
memberClass?: models_member_member_class_pb.MemberClass.AsObject;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
export class ListMemberClassesRequest extends jspb.Message {
|
||||
hasPagination(): boolean;
|
||||
clearPagination(): void;
|
||||
getPagination(): protobuf_pagination_pagination_pb.Pagination | undefined;
|
||||
setPagination(value?: protobuf_pagination_pagination_pb.Pagination): void;
|
||||
|
||||
clearSearchesList(): void;
|
||||
getSearchesList(): Array<protobuf_pagination_search_pb.Search>;
|
||||
setSearchesList(value: Array<protobuf_pagination_search_pb.Search>): void;
|
||||
addSearches(
|
||||
value?: protobuf_pagination_search_pb.Search,
|
||||
index?: number
|
||||
): protobuf_pagination_search_pb.Search;
|
||||
|
||||
clearSortsList(): void;
|
||||
getSortsList(): Array<protobuf_pagination_sort_pb.Sort>;
|
||||
setSortsList(value: Array<protobuf_pagination_sort_pb.Sort>): void;
|
||||
addSorts(
|
||||
value?: protobuf_pagination_sort_pb.Sort,
|
||||
index?: number
|
||||
): protobuf_pagination_sort_pb.Sort;
|
||||
|
||||
hasNameLike(): boolean;
|
||||
clearNameLike(): void;
|
||||
getNameLike(): string;
|
||||
setNameLike(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListMemberClassesRequest.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: ListMemberClassesRequest
|
||||
): ListMemberClassesRequest.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: ListMemberClassesRequest,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListMemberClassesRequest;
|
||||
static deserializeBinaryFromReader(
|
||||
message: ListMemberClassesRequest,
|
||||
reader: jspb.BinaryReader
|
||||
): ListMemberClassesRequest;
|
||||
}
|
||||
|
||||
export namespace ListMemberClassesRequest {
|
||||
export type AsObject = {
|
||||
pagination?: protobuf_pagination_pagination_pb.Pagination.AsObject;
|
||||
searchesList: Array<protobuf_pagination_search_pb.Search.AsObject>;
|
||||
sortsList: Array<protobuf_pagination_sort_pb.Sort.AsObject>;
|
||||
nameLike: string;
|
||||
};
|
||||
}
|
||||
|
||||
export class ListMemberClassesResponse extends jspb.Message {
|
||||
hasError(): boolean;
|
||||
clearError(): void;
|
||||
getError(): protobuf_rpc_error_pb.Error | undefined;
|
||||
setError(value?: protobuf_rpc_error_pb.Error): void;
|
||||
|
||||
hasResult(): boolean;
|
||||
clearResult(): void;
|
||||
getResult(): ListMemberClassesResponse.Result | undefined;
|
||||
setResult(value?: ListMemberClassesResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListMemberClassesResponse.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: ListMemberClassesResponse
|
||||
): ListMemberClassesResponse.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: ListMemberClassesResponse,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListMemberClassesResponse;
|
||||
static deserializeBinaryFromReader(
|
||||
message: ListMemberClassesResponse,
|
||||
reader: jspb.BinaryReader
|
||||
): ListMemberClassesResponse;
|
||||
}
|
||||
|
||||
export namespace ListMemberClassesResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_error_pb.Error.AsObject;
|
||||
result?: ListMemberClassesResponse.Result.AsObject;
|
||||
};
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
clearMemberClassesList(): void;
|
||||
getMemberClassesList(): Array<models_member_member_class_pb.MemberClass>;
|
||||
setMemberClassesList(
|
||||
value: Array<models_member_member_class_pb.MemberClass>
|
||||
): void;
|
||||
addMemberClasses(
|
||||
value?: models_member_member_class_pb.MemberClass,
|
||||
index?: number
|
||||
): models_member_member_class_pb.MemberClass;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: Result,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Result;
|
||||
static deserializeBinaryFromReader(
|
||||
message: Result,
|
||||
reader: jspb.BinaryReader
|
||||
): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
memberClassesList: Array<models_member_member_class_pb.MemberClass.AsObject>;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
export class GetMemberClassRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetMemberClassRequest.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: GetMemberClassRequest
|
||||
): GetMemberClassRequest.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: GetMemberClassRequest,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetMemberClassRequest;
|
||||
static deserializeBinaryFromReader(
|
||||
message: GetMemberClassRequest,
|
||||
reader: jspb.BinaryReader
|
||||
): GetMemberClassRequest;
|
||||
}
|
||||
|
||||
export namespace GetMemberClassRequest {
|
||||
export type AsObject = {
|
||||
id: string;
|
||||
};
|
||||
}
|
||||
|
||||
export class GetMemberClassResponse extends jspb.Message {
|
||||
hasError(): boolean;
|
||||
clearError(): void;
|
||||
getError(): protobuf_rpc_error_pb.Error | undefined;
|
||||
setError(value?: protobuf_rpc_error_pb.Error): void;
|
||||
|
||||
hasResult(): boolean;
|
||||
clearResult(): void;
|
||||
getResult(): GetMemberClassResponse.Result | undefined;
|
||||
setResult(value?: GetMemberClassResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetMemberClassResponse.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: GetMemberClassResponse
|
||||
): GetMemberClassResponse.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: GetMemberClassResponse,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetMemberClassResponse;
|
||||
static deserializeBinaryFromReader(
|
||||
message: GetMemberClassResponse,
|
||||
reader: jspb.BinaryReader
|
||||
): GetMemberClassResponse;
|
||||
}
|
||||
|
||||
export namespace GetMemberClassResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_error_pb.Error.AsObject;
|
||||
result?: GetMemberClassResponse.Result.AsObject;
|
||||
};
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
hasMemberClass(): boolean;
|
||||
clearMemberClass(): void;
|
||||
getMemberClass(): models_member_member_class_pb.MemberClass | undefined;
|
||||
setMemberClass(value?: models_member_member_class_pb.MemberClass): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: Result,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Result;
|
||||
static deserializeBinaryFromReader(
|
||||
message: Result,
|
||||
reader: jspb.BinaryReader
|
||||
): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
memberClass?: models_member_member_class_pb.MemberClass.AsObject;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateMemberClassRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
hasParentId(): boolean;
|
||||
clearParentId(): void;
|
||||
getParentId(): string;
|
||||
setParentId(value: string): void;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateMemberClassRequest.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: UpdateMemberClassRequest
|
||||
): UpdateMemberClassRequest.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: UpdateMemberClassRequest,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateMemberClassRequest;
|
||||
static deserializeBinaryFromReader(
|
||||
message: UpdateMemberClassRequest,
|
||||
reader: jspb.BinaryReader
|
||||
): UpdateMemberClassRequest;
|
||||
}
|
||||
|
||||
export namespace UpdateMemberClassRequest {
|
||||
export type AsObject = {
|
||||
id: string;
|
||||
parentId: string;
|
||||
name: string;
|
||||
};
|
||||
}
|
||||
|
||||
export class UpdateMemberClassResponse extends jspb.Message {
|
||||
hasError(): boolean;
|
||||
clearError(): void;
|
||||
getError(): protobuf_rpc_error_pb.Error | undefined;
|
||||
setError(value?: protobuf_rpc_error_pb.Error): void;
|
||||
|
||||
hasResult(): boolean;
|
||||
clearResult(): void;
|
||||
getResult(): UpdateMemberClassResponse.Result | undefined;
|
||||
setResult(value?: UpdateMemberClassResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateMemberClassResponse.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: UpdateMemberClassResponse
|
||||
): UpdateMemberClassResponse.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: UpdateMemberClassResponse,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateMemberClassResponse;
|
||||
static deserializeBinaryFromReader(
|
||||
message: UpdateMemberClassResponse,
|
||||
reader: jspb.BinaryReader
|
||||
): UpdateMemberClassResponse;
|
||||
}
|
||||
|
||||
export namespace UpdateMemberClassResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_error_pb.Error.AsObject;
|
||||
result?: UpdateMemberClassResponse.Result.AsObject;
|
||||
};
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
hasMemberClass(): boolean;
|
||||
clearMemberClass(): void;
|
||||
getMemberClass(): models_member_member_class_pb.MemberClass | undefined;
|
||||
setMemberClass(value?: models_member_member_class_pb.MemberClass): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: Result,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Result;
|
||||
static deserializeBinaryFromReader(
|
||||
message: Result,
|
||||
reader: jspb.BinaryReader
|
||||
): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
memberClass?: models_member_member_class_pb.MemberClass.AsObject;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
export class DeleteMemberClassRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeleteMemberClassRequest.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: DeleteMemberClassRequest
|
||||
): DeleteMemberClassRequest.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: DeleteMemberClassRequest,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DeleteMemberClassRequest;
|
||||
static deserializeBinaryFromReader(
|
||||
message: DeleteMemberClassRequest,
|
||||
reader: jspb.BinaryReader
|
||||
): DeleteMemberClassRequest;
|
||||
}
|
||||
|
||||
export namespace DeleteMemberClassRequest {
|
||||
export type AsObject = {
|
||||
id: string;
|
||||
};
|
||||
}
|
||||
|
||||
export class DeleteMemberClassResponse extends jspb.Message {
|
||||
hasError(): boolean;
|
||||
clearError(): void;
|
||||
getError(): protobuf_rpc_error_pb.Error | undefined;
|
||||
setError(value?: protobuf_rpc_error_pb.Error): void;
|
||||
|
||||
hasResult(): boolean;
|
||||
clearResult(): void;
|
||||
getResult(): DeleteMemberClassResponse.Result | undefined;
|
||||
setResult(value?: DeleteMemberClassResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeleteMemberClassResponse.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: DeleteMemberClassResponse
|
||||
): DeleteMemberClassResponse.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: DeleteMemberClassResponse,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DeleteMemberClassResponse;
|
||||
static deserializeBinaryFromReader(
|
||||
message: DeleteMemberClassResponse,
|
||||
reader: jspb.BinaryReader
|
||||
): DeleteMemberClassResponse;
|
||||
}
|
||||
|
||||
export namespace DeleteMemberClassResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_error_pb.Error.AsObject;
|
||||
result?: DeleteMemberClassResponse.Result.AsObject;
|
||||
};
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: Result,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Result;
|
||||
static deserializeBinaryFromReader(
|
||||
message: Result,
|
||||
reader: jspb.BinaryReader
|
||||
): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {};
|
||||
}
|
||||
}
|
3543
src/app/modules/protobuf/c2se/backend/member_class_pb.js
Normal file
3543
src/app/modules/protobuf/c2se/backend/member_class_pb.js
Normal file
File diff suppressed because it is too large
Load Diff
553
src/app/modules/protobuf/c2se/backend/member_level_pb.d.ts
vendored
Normal file
553
src/app/modules/protobuf/c2se/backend/member_level_pb.d.ts
vendored
Normal file
|
@ -0,0 +1,553 @@
|
|||
// package: bet.beteran.c2se.backend.member_level
|
||||
// file: c2se/backend/member_level.proto
|
||||
|
||||
import * as jspb from 'google-protobuf';
|
||||
import * as protobuf_rpc_error_pb from '../../protobuf/rpc/error_pb';
|
||||
import * as protobuf_pagination_pagination_pb from '../../protobuf/pagination/pagination_pb';
|
||||
import * as protobuf_pagination_search_pb from '../../protobuf/pagination/search_pb';
|
||||
import * as protobuf_pagination_sort_pb from '../../protobuf/pagination/sort_pb';
|
||||
import * as models_member_member_level_pb from '../../models/member/member_level_pb';
|
||||
|
||||
export const SUBJECT_CREATE_MEMBER_LEVEL: string;
|
||||
export const SUBJECT_LIST_MEMBER_LEVELS: string;
|
||||
export const SUBJECT_GET_MEMBER_LEVEL: string;
|
||||
export const SUBJECT_UPDATE_MEMBER_LEVEL: string;
|
||||
export const SUBJECT_DELETE_MEMBER_LEVEL: string;
|
||||
|
||||
export class CreateMemberLevelRequest extends jspb.Message {
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
getSortOrder(): number;
|
||||
setSortOrder(value: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateMemberLevelRequest.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: CreateMemberLevelRequest
|
||||
): CreateMemberLevelRequest.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: CreateMemberLevelRequest,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CreateMemberLevelRequest;
|
||||
static deserializeBinaryFromReader(
|
||||
message: CreateMemberLevelRequest,
|
||||
reader: jspb.BinaryReader
|
||||
): CreateMemberLevelRequest;
|
||||
}
|
||||
|
||||
export namespace CreateMemberLevelRequest {
|
||||
export type AsObject = {
|
||||
name: string;
|
||||
sortOrder: number;
|
||||
};
|
||||
}
|
||||
|
||||
export class CreateMemberLevelResponse extends jspb.Message {
|
||||
hasError(): boolean;
|
||||
clearError(): void;
|
||||
getError(): protobuf_rpc_error_pb.Error | undefined;
|
||||
setError(value?: protobuf_rpc_error_pb.Error): void;
|
||||
|
||||
hasResult(): boolean;
|
||||
clearResult(): void;
|
||||
getResult(): CreateMemberLevelResponse.Result | undefined;
|
||||
setResult(value?: CreateMemberLevelResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateMemberLevelResponse.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: CreateMemberLevelResponse
|
||||
): CreateMemberLevelResponse.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: CreateMemberLevelResponse,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CreateMemberLevelResponse;
|
||||
static deserializeBinaryFromReader(
|
||||
message: CreateMemberLevelResponse,
|
||||
reader: jspb.BinaryReader
|
||||
): CreateMemberLevelResponse;
|
||||
}
|
||||
|
||||
export namespace CreateMemberLevelResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_error_pb.Error.AsObject;
|
||||
result?: CreateMemberLevelResponse.Result.AsObject;
|
||||
};
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
hasMemberLevel(): boolean;
|
||||
clearMemberLevel(): void;
|
||||
getMemberLevel(): models_member_member_level_pb.MemberLevel | undefined;
|
||||
setMemberLevel(value?: models_member_member_level_pb.MemberLevel): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: Result,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Result;
|
||||
static deserializeBinaryFromReader(
|
||||
message: Result,
|
||||
reader: jspb.BinaryReader
|
||||
): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
memberLevel?: models_member_member_level_pb.MemberLevel.AsObject;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
export class ListMemberLevelesRequest extends jspb.Message {
|
||||
hasPagination(): boolean;
|
||||
clearPagination(): void;
|
||||
getPagination(): protobuf_pagination_pagination_pb.Pagination | undefined;
|
||||
setPagination(value?: protobuf_pagination_pagination_pb.Pagination): void;
|
||||
|
||||
clearSearchesList(): void;
|
||||
getSearchesList(): Array<protobuf_pagination_search_pb.Search>;
|
||||
setSearchesList(value: Array<protobuf_pagination_search_pb.Search>): void;
|
||||
addSearches(
|
||||
value?: protobuf_pagination_search_pb.Search,
|
||||
index?: number
|
||||
): protobuf_pagination_search_pb.Search;
|
||||
|
||||
clearSortsList(): void;
|
||||
getSortsList(): Array<protobuf_pagination_sort_pb.Sort>;
|
||||
setSortsList(value: Array<protobuf_pagination_sort_pb.Sort>): void;
|
||||
addSorts(
|
||||
value?: protobuf_pagination_sort_pb.Sort,
|
||||
index?: number
|
||||
): protobuf_pagination_sort_pb.Sort;
|
||||
|
||||
hasNameLike(): boolean;
|
||||
clearNameLike(): void;
|
||||
getNameLike(): string;
|
||||
setNameLike(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListMemberLevelesRequest.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: ListMemberLevelesRequest
|
||||
): ListMemberLevelesRequest.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: ListMemberLevelesRequest,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListMemberLevelesRequest;
|
||||
static deserializeBinaryFromReader(
|
||||
message: ListMemberLevelesRequest,
|
||||
reader: jspb.BinaryReader
|
||||
): ListMemberLevelesRequest;
|
||||
}
|
||||
|
||||
export namespace ListMemberLevelesRequest {
|
||||
export type AsObject = {
|
||||
pagination?: protobuf_pagination_pagination_pb.Pagination.AsObject;
|
||||
searchesList: Array<protobuf_pagination_search_pb.Search.AsObject>;
|
||||
sortsList: Array<protobuf_pagination_sort_pb.Sort.AsObject>;
|
||||
nameLike: string;
|
||||
};
|
||||
}
|
||||
|
||||
export class ListMemberLevelsResponse extends jspb.Message {
|
||||
hasError(): boolean;
|
||||
clearError(): void;
|
||||
getError(): protobuf_rpc_error_pb.Error | undefined;
|
||||
setError(value?: protobuf_rpc_error_pb.Error): void;
|
||||
|
||||
hasResult(): boolean;
|
||||
clearResult(): void;
|
||||
getResult(): ListMemberLevelsResponse.Result | undefined;
|
||||
setResult(value?: ListMemberLevelsResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListMemberLevelsResponse.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: ListMemberLevelsResponse
|
||||
): ListMemberLevelsResponse.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: ListMemberLevelsResponse,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListMemberLevelsResponse;
|
||||
static deserializeBinaryFromReader(
|
||||
message: ListMemberLevelsResponse,
|
||||
reader: jspb.BinaryReader
|
||||
): ListMemberLevelsResponse;
|
||||
}
|
||||
|
||||
export namespace ListMemberLevelsResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_error_pb.Error.AsObject;
|
||||
result?: ListMemberLevelsResponse.Result.AsObject;
|
||||
};
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
clearMemberLevelsList(): void;
|
||||
getMemberLevelsList(): Array<models_member_member_level_pb.MemberLevel>;
|
||||
setMemberLevelsList(
|
||||
value: Array<models_member_member_level_pb.MemberLevel>
|
||||
): void;
|
||||
addMemberLevels(
|
||||
value?: models_member_member_level_pb.MemberLevel,
|
||||
index?: number
|
||||
): models_member_member_level_pb.MemberLevel;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: Result,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Result;
|
||||
static deserializeBinaryFromReader(
|
||||
message: Result,
|
||||
reader: jspb.BinaryReader
|
||||
): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
memberLevelsList: Array<models_member_member_level_pb.MemberLevel.AsObject>;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
export class GetMemberLevelRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetMemberLevelRequest.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: GetMemberLevelRequest
|
||||
): GetMemberLevelRequest.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: GetMemberLevelRequest,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetMemberLevelRequest;
|
||||
static deserializeBinaryFromReader(
|
||||
message: GetMemberLevelRequest,
|
||||
reader: jspb.BinaryReader
|
||||
): GetMemberLevelRequest;
|
||||
}
|
||||
|
||||
export namespace GetMemberLevelRequest {
|
||||
export type AsObject = {
|
||||
id: string;
|
||||
};
|
||||
}
|
||||
|
||||
export class GetMemberLevelResponse extends jspb.Message {
|
||||
hasError(): boolean;
|
||||
clearError(): void;
|
||||
getError(): protobuf_rpc_error_pb.Error | undefined;
|
||||
setError(value?: protobuf_rpc_error_pb.Error): void;
|
||||
|
||||
hasResult(): boolean;
|
||||
clearResult(): void;
|
||||
getResult(): GetMemberLevelResponse.Result | undefined;
|
||||
setResult(value?: GetMemberLevelResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetMemberLevelResponse.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: GetMemberLevelResponse
|
||||
): GetMemberLevelResponse.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: GetMemberLevelResponse,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetMemberLevelResponse;
|
||||
static deserializeBinaryFromReader(
|
||||
message: GetMemberLevelResponse,
|
||||
reader: jspb.BinaryReader
|
||||
): GetMemberLevelResponse;
|
||||
}
|
||||
|
||||
export namespace GetMemberLevelResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_error_pb.Error.AsObject;
|
||||
result?: GetMemberLevelResponse.Result.AsObject;
|
||||
};
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
hasMemberLevel(): boolean;
|
||||
clearMemberLevel(): void;
|
||||
getMemberLevel(): models_member_member_level_pb.MemberLevel | undefined;
|
||||
setMemberLevel(value?: models_member_member_level_pb.MemberLevel): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: Result,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Result;
|
||||
static deserializeBinaryFromReader(
|
||||
message: Result,
|
||||
reader: jspb.BinaryReader
|
||||
): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
memberLevel?: models_member_member_level_pb.MemberLevel.AsObject;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateMemberLevelRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
hasParentId(): boolean;
|
||||
clearParentId(): void;
|
||||
getParentId(): string;
|
||||
setParentId(value: string): void;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateMemberLevelRequest.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: UpdateMemberLevelRequest
|
||||
): UpdateMemberLevelRequest.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: UpdateMemberLevelRequest,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateMemberLevelRequest;
|
||||
static deserializeBinaryFromReader(
|
||||
message: UpdateMemberLevelRequest,
|
||||
reader: jspb.BinaryReader
|
||||
): UpdateMemberLevelRequest;
|
||||
}
|
||||
|
||||
export namespace UpdateMemberLevelRequest {
|
||||
export type AsObject = {
|
||||
id: string;
|
||||
parentId: string;
|
||||
name: string;
|
||||
};
|
||||
}
|
||||
|
||||
export class UpdateMemberLevelResponse extends jspb.Message {
|
||||
hasError(): boolean;
|
||||
clearError(): void;
|
||||
getError(): protobuf_rpc_error_pb.Error | undefined;
|
||||
setError(value?: protobuf_rpc_error_pb.Error): void;
|
||||
|
||||
hasResult(): boolean;
|
||||
clearResult(): void;
|
||||
getResult(): UpdateMemberLevelResponse.Result | undefined;
|
||||
setResult(value?: UpdateMemberLevelResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateMemberLevelResponse.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: UpdateMemberLevelResponse
|
||||
): UpdateMemberLevelResponse.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: UpdateMemberLevelResponse,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateMemberLevelResponse;
|
||||
static deserializeBinaryFromReader(
|
||||
message: UpdateMemberLevelResponse,
|
||||
reader: jspb.BinaryReader
|
||||
): UpdateMemberLevelResponse;
|
||||
}
|
||||
|
||||
export namespace UpdateMemberLevelResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_error_pb.Error.AsObject;
|
||||
result?: UpdateMemberLevelResponse.Result.AsObject;
|
||||
};
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
hasMemberLevel(): boolean;
|
||||
clearMemberLevel(): void;
|
||||
getMemberLevel(): models_member_member_level_pb.MemberLevel | undefined;
|
||||
setMemberLevel(value?: models_member_member_level_pb.MemberLevel): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: Result,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Result;
|
||||
static deserializeBinaryFromReader(
|
||||
message: Result,
|
||||
reader: jspb.BinaryReader
|
||||
): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
memberLevel?: models_member_member_level_pb.MemberLevel.AsObject;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
export class DeleteMemberLevelRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeleteMemberLevelRequest.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: DeleteMemberLevelRequest
|
||||
): DeleteMemberLevelRequest.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: DeleteMemberLevelRequest,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DeleteMemberLevelRequest;
|
||||
static deserializeBinaryFromReader(
|
||||
message: DeleteMemberLevelRequest,
|
||||
reader: jspb.BinaryReader
|
||||
): DeleteMemberLevelRequest;
|
||||
}
|
||||
|
||||
export namespace DeleteMemberLevelRequest {
|
||||
export type AsObject = {
|
||||
id: string;
|
||||
};
|
||||
}
|
||||
|
||||
export class DeleteMemberLevelResponse extends jspb.Message {
|
||||
hasError(): boolean;
|
||||
clearError(): void;
|
||||
getError(): protobuf_rpc_error_pb.Error | undefined;
|
||||
setError(value?: protobuf_rpc_error_pb.Error): void;
|
||||
|
||||
hasResult(): boolean;
|
||||
clearResult(): void;
|
||||
getResult(): DeleteMemberLevelResponse.Result | undefined;
|
||||
setResult(value?: DeleteMemberLevelResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeleteMemberLevelResponse.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: DeleteMemberLevelResponse
|
||||
): DeleteMemberLevelResponse.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: DeleteMemberLevelResponse,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DeleteMemberLevelResponse;
|
||||
static deserializeBinaryFromReader(
|
||||
message: DeleteMemberLevelResponse,
|
||||
reader: jspb.BinaryReader
|
||||
): DeleteMemberLevelResponse;
|
||||
}
|
||||
|
||||
export namespace DeleteMemberLevelResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_error_pb.Error.AsObject;
|
||||
result?: DeleteMemberLevelResponse.Result.AsObject;
|
||||
};
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: Result,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Result;
|
||||
static deserializeBinaryFromReader(
|
||||
message: Result,
|
||||
reader: jspb.BinaryReader
|
||||
): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {};
|
||||
}
|
||||
}
|
3523
src/app/modules/protobuf/c2se/backend/member_level_pb.js
Normal file
3523
src/app/modules/protobuf/c2se/backend/member_level_pb.js
Normal file
File diff suppressed because it is too large
Load Diff
|
@ -21,11 +21,6 @@ export class MemberClass extends jspb.Message {
|
|||
getUpdatedAt(): number;
|
||||
setUpdatedAt(value: number): void;
|
||||
|
||||
hasDeletedAt(): boolean;
|
||||
clearDeletedAt(): void;
|
||||
getDeletedAt(): number;
|
||||
setDeletedAt(value: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): MemberClass.AsObject;
|
||||
static toObject(
|
||||
|
@ -54,6 +49,5 @@ export namespace MemberClass {
|
|||
name: string;
|
||||
createdAt: number;
|
||||
updatedAt: number;
|
||||
deletedAt: number;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -83,7 +83,6 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|||
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
||||
createdAt: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
||||
updatedAt: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
||||
deletedAt: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
|
@ -144,10 +143,6 @@ proto.bet.beteran.member.MemberClass.deserializeBinaryFromReader = function (
|
|||
var value = /** @type {number} */ (reader.readUint64());
|
||||
msg.setUpdatedAt(value);
|
||||
break;
|
||||
case 6:
|
||||
var value = /** @type {number} */ (reader.readUint64());
|
||||
msg.setDeletedAt(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
|
@ -198,10 +193,6 @@ proto.bet.beteran.member.MemberClass.serializeBinaryToWriter = function (
|
|||
if (f !== 0) {
|
||||
writer.writeUint64(5, f);
|
||||
}
|
||||
f = /** @type {number} */ (jspb.Message.getField(message, 6));
|
||||
if (f != null) {
|
||||
writer.writeUint64(6, f);
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -300,36 +291,4 @@ proto.bet.beteran.member.MemberClass.prototype.setUpdatedAt = function (value) {
|
|||
return jspb.Message.setProto3IntField(this, 5, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* optional uint64 deleted_at = 6;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.bet.beteran.member.MemberClass.prototype.getDeletedAt = function () {
|
||||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {number} value
|
||||
* @return {!proto.bet.beteran.member.MemberClass} returns this
|
||||
*/
|
||||
proto.bet.beteran.member.MemberClass.prototype.setDeletedAt = function (value) {
|
||||
return jspb.Message.setField(this, 6, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* Clears the field making it undefined.
|
||||
* @return {!proto.bet.beteran.member.MemberClass} returns this
|
||||
*/
|
||||
proto.bet.beteran.member.MemberClass.prototype.clearDeletedAt = function () {
|
||||
return jspb.Message.setField(this, 6, undefined);
|
||||
};
|
||||
|
||||
/**
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.bet.beteran.member.MemberClass.prototype.hasDeletedAt = function () {
|
||||
return jspb.Message.getField(this, 6) != null;
|
||||
};
|
||||
|
||||
goog.object.extend(exports, proto.bet.beteran.member);
|
||||
|
|
|
@ -19,11 +19,6 @@ export class MemberLevel extends jspb.Message {
|
|||
getUpdatedAt(): number;
|
||||
setUpdatedAt(value: number): void;
|
||||
|
||||
hasDeletedAt(): boolean;
|
||||
clearDeletedAt(): void;
|
||||
getDeletedAt(): number;
|
||||
setDeletedAt(value: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): MemberLevel.AsObject;
|
||||
static toObject(
|
||||
|
@ -52,6 +47,5 @@ export namespace MemberLevel {
|
|||
sortOrder: number;
|
||||
createdAt: number;
|
||||
updatedAt: number;
|
||||
deletedAt: number;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -83,7 +83,6 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|||
sortOrder: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
||||
createdAt: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
||||
updatedAt: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
||||
deletedAt: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
|
@ -144,10 +143,6 @@ proto.bet.beteran.member.MemberLevel.deserializeBinaryFromReader = function (
|
|||
var value = /** @type {number} */ (reader.readUint64());
|
||||
msg.setUpdatedAt(value);
|
||||
break;
|
||||
case 6:
|
||||
var value = /** @type {number} */ (reader.readUint64());
|
||||
msg.setDeletedAt(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
|
@ -198,10 +193,6 @@ proto.bet.beteran.member.MemberLevel.serializeBinaryToWriter = function (
|
|||
if (f !== 0) {
|
||||
writer.writeUint64(5, f);
|
||||
}
|
||||
f = /** @type {number} */ (jspb.Message.getField(message, 6));
|
||||
if (f != null) {
|
||||
writer.writeUint64(6, f);
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -284,36 +275,4 @@ proto.bet.beteran.member.MemberLevel.prototype.setUpdatedAt = function (value) {
|
|||
return jspb.Message.setProto3IntField(this, 5, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* optional uint64 deleted_at = 6;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.bet.beteran.member.MemberLevel.prototype.getDeletedAt = function () {
|
||||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {number} value
|
||||
* @return {!proto.bet.beteran.member.MemberLevel} returns this
|
||||
*/
|
||||
proto.bet.beteran.member.MemberLevel.prototype.setDeletedAt = function (value) {
|
||||
return jspb.Message.setField(this, 6, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* Clears the field making it undefined.
|
||||
* @return {!proto.bet.beteran.member.MemberLevel} returns this
|
||||
*/
|
||||
proto.bet.beteran.member.MemberLevel.prototype.clearDeletedAt = function () {
|
||||
return jspb.Message.setField(this, 6, undefined);
|
||||
};
|
||||
|
||||
/**
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.bet.beteran.member.MemberLevel.prototype.hasDeletedAt = function () {
|
||||
return jspb.Message.getField(this, 6) != null;
|
||||
};
|
||||
|
||||
goog.object.extend(exports, proto.bet.beteran.member);
|
||||
|
|
Loading…
Reference in New Issue
Block a user