@abtnode/types 1.16.15-beta-12f50442 → 1.16.15-beta-d649cecc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/rpc_pb.d.ts +29 -0
- package/lib/type_pb.d.ts +11 -2
- package/package.json +2 -2
package/lib/rpc_pb.d.ts
CHANGED
@@ -593,8 +593,20 @@ export type TRequestTeamUser = {
|
|
593
593
|
user?: type_pb.TUserInfo,
|
594
594
|
options?: TRequestTeamUserOptions,
|
595
595
|
}
|
596
|
+
export type TRequestUpdateUserTags = {
|
597
|
+
teamDid: string,
|
598
|
+
did: string,
|
599
|
+
tags: number[],
|
600
|
+
}
|
601
|
+
export type TRequestUpdateUserExtra = {
|
602
|
+
teamDid: string,
|
603
|
+
did: string,
|
604
|
+
remark: string,
|
605
|
+
extra?: Record<string, any>,
|
606
|
+
}
|
596
607
|
export type TRequestTeamUserOptions = {
|
597
608
|
enableConnectedAccount: boolean,
|
609
|
+
includeTags: boolean,
|
598
610
|
}
|
599
611
|
export type TResponseUser = {
|
600
612
|
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
@@ -733,3 +745,20 @@ export type TResponseClearCache = {
|
|
733
745
|
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
734
746
|
removed: string[],
|
735
747
|
}
|
748
|
+
export type TRequestTag = {
|
749
|
+
teamDid: string,
|
750
|
+
tag?: type_pb.TTag,
|
751
|
+
}
|
752
|
+
export type TResponseTag = {
|
753
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
754
|
+
tag?: type_pb.TTag,
|
755
|
+
}
|
756
|
+
export type TRequestTags = {
|
757
|
+
teamDid: string,
|
758
|
+
paging?: type_pb.TPaging,
|
759
|
+
}
|
760
|
+
export type TResponseTags = {
|
761
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
762
|
+
tags: type_pb.TTag[],
|
763
|
+
paging?: type_pb.TPaging,
|
764
|
+
}
|
package/lib/type_pb.d.ts
CHANGED
@@ -543,6 +543,14 @@ export type TWebHookParam = {
|
|
543
543
|
value: string,
|
544
544
|
type: string,
|
545
545
|
}
|
546
|
+
export type TTag = {
|
547
|
+
id: number,
|
548
|
+
title: string,
|
549
|
+
description: string,
|
550
|
+
color: string,
|
551
|
+
createdAt: number,
|
552
|
+
updatedAt: number,
|
553
|
+
}
|
546
554
|
export type TTeam = {
|
547
555
|
teamDid: string,
|
548
556
|
}
|
@@ -581,8 +589,7 @@ export type TUserInfo = {
|
|
581
589
|
sourceProvider: string,
|
582
590
|
connectedAccounts: TConnectedAccount[],
|
583
591
|
extra?: Record<string, any>,
|
584
|
-
|
585
|
-
extraConfigs?: Record<string, any>,
|
592
|
+
tags: TTag[],
|
586
593
|
}
|
587
594
|
export type TUserProfile = {
|
588
595
|
did: string,
|
@@ -595,6 +602,8 @@ export type TUserQuery = {
|
|
595
602
|
approved: boolean,
|
596
603
|
search: string,
|
597
604
|
connectedDid: string,
|
605
|
+
tags: number[],
|
606
|
+
includeTags: boolean,
|
598
607
|
}
|
599
608
|
export type TUserSort = {
|
600
609
|
updatedAt: number,
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@abtnode/types",
|
3
|
-
"version": "1.16.15-beta-
|
3
|
+
"version": "1.16.15-beta-d649cecc",
|
4
4
|
"description": "Typescript definitions generated from protobuf",
|
5
5
|
"keywords": [
|
6
6
|
"abtnode",
|
@@ -36,5 +36,5 @@
|
|
36
36
|
"bugs": {
|
37
37
|
"url": "https://github.com/ArcBlock/abt-node/issues"
|
38
38
|
},
|
39
|
-
"gitHead": "
|
39
|
+
"gitHead": "56941d1056a9e5f189992ace6e93971aa4226d07"
|
40
40
|
}
|