mirror of
https://github.com/aykhans/slash-e.git
synced 2025-07-02 04:01:35 +00:00
feat: implement user setting service
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
/* eslint-disable */
|
||||
// @ts-nocheck
|
||||
|
||||
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
||||
import type { BinaryReadOptions, FieldList, FieldMask, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
||||
import { Message, proto3 } from "@bufbuild/protobuf";
|
||||
|
||||
/**
|
||||
@ -101,10 +101,19 @@ export declare class UpdateUserSettingRequest extends Message<UpdateUserSettingR
|
||||
id: number;
|
||||
|
||||
/**
|
||||
* user_setting is the user setting to update.
|
||||
*
|
||||
* @generated from field: slash.api.v2.UserSetting user_setting = 2;
|
||||
*/
|
||||
userSetting?: UserSetting;
|
||||
|
||||
/**
|
||||
* update_mask is the field mask to update the user setting.
|
||||
*
|
||||
* @generated from field: google.protobuf.FieldMask update_mask = 3;
|
||||
*/
|
||||
updateMask?: FieldMask;
|
||||
|
||||
constructor(data?: PartialMessage<UpdateUserSettingRequest>);
|
||||
|
||||
static readonly runtime: typeof proto3;
|
||||
|
@ -3,7 +3,7 @@
|
||||
/* eslint-disable */
|
||||
// @ts-nocheck
|
||||
|
||||
import { proto3 } from "@bufbuild/protobuf";
|
||||
import { FieldMask, proto3 } from "@bufbuild/protobuf";
|
||||
|
||||
/**
|
||||
* @generated from message slash.api.v2.UserSetting
|
||||
@ -44,6 +44,7 @@ export const UpdateUserSettingRequest = proto3.makeMessageType(
|
||||
() => [
|
||||
{ no: 1, name: "id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
||||
{ no: 2, name: "user_setting", kind: "message", T: UserSetting },
|
||||
{ no: 3, name: "update_mask", kind: "message", T: FieldMask },
|
||||
],
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user