lint
This commit is contained in:
977 files changed
+198426
-158324
No files matched your search
@@ -2,68 +2,68 @@ import type { pb, pb_repeated, uint_32, bool, bytes } from '@snowluma/proton';
|
||||
import type { PushMsgBody } from './message';
|
||||
|
||||
export interface LongMsgUid {
|
||||
uid?: pb<2, string>;
|
||||
uid?: pb<2, string>;
|
||||
}
|
||||
|
||||
export interface LongMsgSettings {
|
||||
field1?: pb<1, uint_32>;
|
||||
field2?: pb<2, uint_32>;
|
||||
field3?: pb<3, uint_32>;
|
||||
field4?: pb<4, uint_32>;
|
||||
field1?: pb<1, uint_32>;
|
||||
field2?: pb<2, uint_32>;
|
||||
field3?: pb<3, uint_32>;
|
||||
field4?: pb<4, uint_32>;
|
||||
}
|
||||
|
||||
export interface SendLongMsgInfo {
|
||||
type?: pb<1, uint_32>;
|
||||
uid?: pb<2, LongMsgUid>;
|
||||
groupUin?: pb<3, uint_32>;
|
||||
payload?: pb<4, bytes>;
|
||||
type?: pb<1, uint_32>;
|
||||
uid?: pb<2, LongMsgUid>;
|
||||
groupUin?: pb<3, uint_32>;
|
||||
payload?: pb<4, bytes>;
|
||||
}
|
||||
|
||||
export interface SendLongMsgReq {
|
||||
info?: pb<2, SendLongMsgInfo>;
|
||||
settings?: pb<15, LongMsgSettings>;
|
||||
info?: pb<2, SendLongMsgInfo>;
|
||||
settings?: pb<15, LongMsgSettings>;
|
||||
}
|
||||
|
||||
export interface SendLongMsgRespResult {
|
||||
resId?: pb<3, string>;
|
||||
resId?: pb<3, string>;
|
||||
}
|
||||
|
||||
export interface SendLongMsgResp {
|
||||
result?: pb<2, SendLongMsgRespResult>;
|
||||
settings?: pb<15, LongMsgSettings>;
|
||||
result?: pb<2, SendLongMsgRespResult>;
|
||||
settings?: pb<15, LongMsgSettings>;
|
||||
}
|
||||
|
||||
export interface RecvLongMsgInfo {
|
||||
uid?: pb<1, LongMsgUid>;
|
||||
resId?: pb<2, string>;
|
||||
acquire?: pb<3, bool>;
|
||||
uid?: pb<1, LongMsgUid>;
|
||||
resId?: pb<2, string>;
|
||||
acquire?: pb<3, bool>;
|
||||
}
|
||||
|
||||
export interface RecvLongMsgReq {
|
||||
info?: pb<1, RecvLongMsgInfo>;
|
||||
settings?: pb<15, LongMsgSettings>;
|
||||
info?: pb<1, RecvLongMsgInfo>;
|
||||
settings?: pb<15, LongMsgSettings>;
|
||||
}
|
||||
|
||||
export interface RecvLongMsgRespResult {
|
||||
resId?: pb<3, string>;
|
||||
payload?: pb<4, bytes>;
|
||||
resId?: pb<3, string>;
|
||||
payload?: pb<4, bytes>;
|
||||
}
|
||||
|
||||
export interface RecvLongMsgResp {
|
||||
result?: pb<1, RecvLongMsgRespResult>;
|
||||
settings?: pb<15, LongMsgSettings>;
|
||||
result?: pb<1, RecvLongMsgRespResult>;
|
||||
settings?: pb<15, LongMsgSettings>;
|
||||
}
|
||||
|
||||
// Schemas that reach into PushMsgBody
|
||||
export interface LongMsgContent {
|
||||
msgBody?: pb_repeated<1, PushMsgBody>;
|
||||
msgBody?: pb_repeated<1, PushMsgBody>;
|
||||
}
|
||||
|
||||
export interface LongMsgAction {
|
||||
actionCommand?: pb<1, string>;
|
||||
actionData?: pb<2, LongMsgContent>;
|
||||
actionCommand?: pb<1, string>;
|
||||
actionData?: pb<2, LongMsgContent>;
|
||||
}
|
||||
|
||||
export interface LongMsgResult {
|
||||
action?: pb_repeated<2, LongMsgAction>;
|
||||
action?: pb_repeated<2, LongMsgAction>;
|
||||
}
|
||||
Reference in new issue
Block a user