mirror of
https://github.com/aykhans/slash-e.git
synced 2025-07-20 20:04:26 +00:00
feat: impl delete user apiv2
This commit is contained in:
43
web/src/types/proto/api/v2/user_service_pb.d.ts
vendored
43
web/src/types/proto/api/v2/user_service_pb.d.ts
vendored
@@ -225,6 +225,49 @@ export declare class CreateUserResponse extends Message<CreateUserResponse> {
|
||||
static equals(a: CreateUserResponse | PlainMessage<CreateUserResponse> | undefined, b: CreateUserResponse | PlainMessage<CreateUserResponse> | undefined): boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
* @generated from message slash.api.v2.DeleteUserRequest
|
||||
*/
|
||||
export declare class DeleteUserRequest extends Message<DeleteUserRequest> {
|
||||
/**
|
||||
* @generated from field: int32 id = 1;
|
||||
*/
|
||||
id: number;
|
||||
|
||||
constructor(data?: PartialMessage<DeleteUserRequest>);
|
||||
|
||||
static readonly runtime: typeof proto3;
|
||||
static readonly typeName = "slash.api.v2.DeleteUserRequest";
|
||||
static readonly fields: FieldList;
|
||||
|
||||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteUserRequest;
|
||||
|
||||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteUserRequest;
|
||||
|
||||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteUserRequest;
|
||||
|
||||
static equals(a: DeleteUserRequest | PlainMessage<DeleteUserRequest> | undefined, b: DeleteUserRequest | PlainMessage<DeleteUserRequest> | undefined): boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
* @generated from message slash.api.v2.DeleteUserResponse
|
||||
*/
|
||||
export declare class DeleteUserResponse extends Message<DeleteUserResponse> {
|
||||
constructor(data?: PartialMessage<DeleteUserResponse>);
|
||||
|
||||
static readonly runtime: typeof proto3;
|
||||
static readonly typeName = "slash.api.v2.DeleteUserResponse";
|
||||
static readonly fields: FieldList;
|
||||
|
||||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteUserResponse;
|
||||
|
||||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteUserResponse;
|
||||
|
||||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteUserResponse;
|
||||
|
||||
static equals(a: DeleteUserResponse | PlainMessage<DeleteUserResponse> | undefined, b: DeleteUserResponse | PlainMessage<DeleteUserResponse> | undefined): boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
* @generated from message slash.api.v2.ListUserAccessTokensRequest
|
||||
*/
|
||||
|
@@ -93,6 +93,24 @@ export const CreateUserResponse = proto3.makeMessageType(
|
||||
],
|
||||
);
|
||||
|
||||
/**
|
||||
* @generated from message slash.api.v2.DeleteUserRequest
|
||||
*/
|
||||
export const DeleteUserRequest = proto3.makeMessageType(
|
||||
"slash.api.v2.DeleteUserRequest",
|
||||
() => [
|
||||
{ no: 1, name: "id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
||||
],
|
||||
);
|
||||
|
||||
/**
|
||||
* @generated from message slash.api.v2.DeleteUserResponse
|
||||
*/
|
||||
export const DeleteUserResponse = proto3.makeMessageType(
|
||||
"slash.api.v2.DeleteUserResponse",
|
||||
[],
|
||||
);
|
||||
|
||||
/**
|
||||
* @generated from message slash.api.v2.ListUserAccessTokensRequest
|
||||
*/
|
||||
|
Reference in New Issue
Block a user