wechaty-puppet
Version:
Abstract Puppet for Wechaty
27 lines (23 loc) • 585 B
text/typescript
/**
* Huan(202201): This enum type value MUST be keep unchanged across versions
* because the puppet service client/server might has different versions of the puppet
*/
enum TapType {
Unspecified = 0, // If the tap type is not specified, it means the tap type is `Any`, which means any tap type should be considered
Like = 1,
}
type TapPayload = {
[key in TapType]?: {
contactId: string[]
timestamp: number[]
}
}
interface TapQueryFilter {
contactId? : string,
type? : TapType,
}
export {
TapType,
type TapPayload,
type TapQueryFilter,
}