Multiput message interface
This commit is contained in:
parent
cbc89ece4d
commit
fe0441e3b8
1 changed files with 15 additions and 0 deletions
|
|
@ -43,6 +43,13 @@ namespace Smith {
|
||||||
type: 'put'
|
type: 'put'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface SmithMsgMultiPut {
|
||||||
|
ids: string[]
|
||||||
|
data: GunT.ValidDataValue
|
||||||
|
path: string
|
||||||
|
type: 'multiPut'
|
||||||
|
}
|
||||||
|
|
||||||
export type SmithMsg =
|
export type SmithMsg =
|
||||||
| SmithMsgInit
|
| SmithMsgInit
|
||||||
| SmithMsgAuth
|
| SmithMsgAuth
|
||||||
|
|
@ -50,6 +57,7 @@ namespace Smith {
|
||||||
| SmithMsgLoad
|
| SmithMsgLoad
|
||||||
| SmithMsgMapOn
|
| SmithMsgMapOn
|
||||||
| SmithMsgPut
|
| SmithMsgPut
|
||||||
|
| SmithMsgMultiPut
|
||||||
| BatchSmithMsg
|
| BatchSmithMsg
|
||||||
|
|
||||||
export type BatchSmithMsg = SmithMsg[]
|
export type BatchSmithMsg = SmithMsg[]
|
||||||
|
|
@ -86,10 +94,17 @@ namespace Smith {
|
||||||
type: 'put'
|
type: 'put'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface GunMsgMultiPut {
|
||||||
|
ack: GunT.Ack
|
||||||
|
ids: string[]
|
||||||
|
type: 'multiPut'
|
||||||
|
}
|
||||||
|
|
||||||
export type GunMsg =
|
export type GunMsg =
|
||||||
| GunMsgAuth
|
| GunMsgAuth
|
||||||
| GunMsgOn
|
| GunMsgOn
|
||||||
| GunMsgMapOn
|
| GunMsgMapOn
|
||||||
| GunMsgLoad
|
| GunMsgLoad
|
||||||
| GunMsgPut
|
| GunMsgPut
|
||||||
|
| GunMsgMultiPut
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue