@atproto/pds 0.4.36 → 0.4.38
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +19 -0
- package/dist/lexicon/index.d.ts +25 -0
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +54 -1
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +536 -0
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +561 -1
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts +5 -0
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/profile.d.ts +3 -0
- package/dist/lexicon/types/app/bsky/actor/profile.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/profile.js.map +1 -1
- package/dist/lexicon/types/app/bsky/graph/defs.d.ts +36 -1
- package/dist/lexicon/types/app/bsky/graph/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/graph/defs.js +23 -1
- package/dist/lexicon/types/app/bsky/graph/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/graph/getActorStarterPacks.d.ts +39 -0
- package/dist/lexicon/types/app/bsky/graph/getActorStarterPacks.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/getActorStarterPacks.js +3 -0
- package/dist/lexicon/types/app/bsky/graph/getActorStarterPacks.js.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPack.d.ts +37 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPack.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPack.js +3 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPack.js.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPacks.d.ts +36 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPacks.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPacks.js +3 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPacks.js.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/starterpack.d.ts +25 -0
- package/dist/lexicon/types/app/bsky/graph/starterpack.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/starterpack.js +27 -0
- package/dist/lexicon/types/app/bsky/graph/starterpack.js.map +1 -0
- package/dist/lexicon/types/app/bsky/notification/listNotifications.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/notification/listNotifications.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/notification/listNotifications.js.map +1 -1
- package/dist/lexicon/types/tools/ozone/team/addMember.d.ts +40 -0
- package/dist/lexicon/types/tools/ozone/team/addMember.d.ts.map +1 -0
- package/dist/lexicon/types/tools/ozone/team/addMember.js +3 -0
- package/dist/lexicon/types/tools/ozone/team/addMember.js.map +1 -0
- package/dist/lexicon/types/tools/ozone/team/defs.d.ts +24 -0
- package/dist/lexicon/types/tools/ozone/team/defs.d.ts.map +1 -0
- package/dist/lexicon/types/tools/ozone/team/defs.js +22 -0
- package/dist/lexicon/types/tools/ozone/team/defs.js.map +1 -0
- package/dist/lexicon/types/tools/ozone/team/deleteMember.d.ts +30 -0
- package/dist/lexicon/types/tools/ozone/team/deleteMember.d.ts.map +1 -0
- package/dist/lexicon/types/tools/ozone/team/deleteMember.js +3 -0
- package/dist/lexicon/types/tools/ozone/team/deleteMember.js.map +1 -0
- package/dist/lexicon/types/tools/ozone/team/listMembers.d.ts +38 -0
- package/dist/lexicon/types/tools/ozone/team/listMembers.d.ts.map +1 -0
- package/dist/lexicon/types/tools/ozone/team/listMembers.js +3 -0
- package/dist/lexicon/types/tools/ozone/team/listMembers.js.map +1 -0
- package/dist/lexicon/types/tools/ozone/team/updateMember.d.ts +41 -0
- package/dist/lexicon/types/tools/ozone/team/updateMember.d.ts.map +1 -0
- package/dist/lexicon/types/tools/ozone/team/updateMember.js +3 -0
- package/dist/lexicon/types/tools/ozone/team/updateMember.js.map +1 -0
- package/dist/pipethrough.d.ts.map +1 -1
- package/dist/pipethrough.js +4 -0
- package/dist/pipethrough.js.map +1 -1
- package/dist/repo/prepare.d.ts.map +1 -1
- package/dist/repo/prepare.js +4 -0
- package/dist/repo/prepare.js.map +1 -1
- package/package.json +5 -5
- package/src/lexicon/index.ts +100 -0
- package/src/lexicon/lexicons.ts +566 -1
- package/src/lexicon/types/app/bsky/actor/defs.ts +5 -0
- package/src/lexicon/types/app/bsky/actor/profile.ts +3 -0
- package/src/lexicon/types/app/bsky/graph/defs.ts +58 -0
- package/src/lexicon/types/app/bsky/graph/getActorStarterPacks.ts +49 -0
- package/src/lexicon/types/app/bsky/graph/getStarterPack.ts +47 -0
- package/src/lexicon/types/app/bsky/graph/getStarterPacks.ts +46 -0
- package/src/lexicon/types/app/bsky/graph/starterpack.ts +50 -0
- package/src/lexicon/types/app/bsky/notification/listNotifications.ts +2 -1
- package/src/lexicon/types/tools/ozone/team/addMember.ts +53 -0
- package/src/lexicon/types/tools/ozone/team/defs.ts +42 -0
- package/src/lexicon/types/tools/ozone/team/deleteMember.ts +39 -0
- package/src/lexicon/types/tools/ozone/team/listMembers.ts +48 -0
- package/src/lexicon/types/tools/ozone/team/updateMember.ts +54 -0
- package/src/pipethrough.ts +4 -0
- package/src/repo/prepare.ts +3 -0
- package/tests/proxied/__snapshots__/admin.test.ts.snap +3 -0
- package/tests/proxied/__snapshots__/feedgen.test.ts.snap +2 -0
- package/tests/proxied/__snapshots__/views.test.ts.snap +71 -0
- package/tests/proxied/admin.test.ts +1 -1
package/src/lexicon/lexicons.ts
CHANGED
@@ -3939,6 +3939,10 @@ export const schemaDict = {
|
|
3939
3939
|
ref: 'lex:com.atproto.label.defs#label',
|
3940
3940
|
},
|
3941
3941
|
},
|
3942
|
+
createdAt: {
|
3943
|
+
type: 'string',
|
3944
|
+
format: 'datetime',
|
3945
|
+
},
|
3942
3946
|
},
|
3943
3947
|
},
|
3944
3948
|
profileView: {
|
@@ -3975,6 +3979,10 @@ export const schemaDict = {
|
|
3975
3979
|
type: 'string',
|
3976
3980
|
format: 'datetime',
|
3977
3981
|
},
|
3982
|
+
createdAt: {
|
3983
|
+
type: 'string',
|
3984
|
+
format: 'datetime',
|
3985
|
+
},
|
3978
3986
|
viewer: {
|
3979
3987
|
type: 'ref',
|
3980
3988
|
ref: 'lex:app.bsky.actor.defs#viewerState',
|
@@ -4031,10 +4039,18 @@ export const schemaDict = {
|
|
4031
4039
|
type: 'ref',
|
4032
4040
|
ref: 'lex:app.bsky.actor.defs#profileAssociated',
|
4033
4041
|
},
|
4042
|
+
joinedViaStarterPack: {
|
4043
|
+
type: 'ref',
|
4044
|
+
ref: 'lex:app.bsky.graph.defs#starterPackViewBasic',
|
4045
|
+
},
|
4034
4046
|
indexedAt: {
|
4035
4047
|
type: 'string',
|
4036
4048
|
format: 'datetime',
|
4037
4049
|
},
|
4050
|
+
createdAt: {
|
4051
|
+
type: 'string',
|
4052
|
+
format: 'datetime',
|
4053
|
+
},
|
4038
4054
|
viewer: {
|
4039
4055
|
type: 'ref',
|
4040
4056
|
ref: 'lex:app.bsky.actor.defs#viewerState',
|
@@ -4057,6 +4073,9 @@ export const schemaDict = {
|
|
4057
4073
|
feedgens: {
|
4058
4074
|
type: 'integer',
|
4059
4075
|
},
|
4076
|
+
starterPacks: {
|
4077
|
+
type: 'integer',
|
4078
|
+
},
|
4060
4079
|
labeler: {
|
4061
4080
|
type: 'boolean',
|
4062
4081
|
},
|
@@ -4573,6 +4592,14 @@ export const schemaDict = {
|
|
4573
4592
|
'Self-label values, specific to the Bluesky application, on the overall account.',
|
4574
4593
|
refs: ['lex:com.atproto.label.defs#selfLabels'],
|
4575
4594
|
},
|
4595
|
+
joinedViaStarterPack: {
|
4596
|
+
type: 'ref',
|
4597
|
+
ref: 'lex:com.atproto.repo.strongRef',
|
4598
|
+
},
|
4599
|
+
createdAt: {
|
4600
|
+
type: 'string',
|
4601
|
+
format: 'datetime',
|
4602
|
+
},
|
4576
4603
|
},
|
4577
4604
|
},
|
4578
4605
|
},
|
@@ -6792,6 +6819,10 @@ export const schemaDict = {
|
|
6792
6819
|
type: 'string',
|
6793
6820
|
format: 'uri',
|
6794
6821
|
},
|
6822
|
+
listItemCount: {
|
6823
|
+
type: 'integer',
|
6824
|
+
minimum: 0,
|
6825
|
+
},
|
6795
6826
|
labels: {
|
6796
6827
|
type: 'array',
|
6797
6828
|
items: {
|
@@ -6850,6 +6881,10 @@ export const schemaDict = {
|
|
6850
6881
|
type: 'string',
|
6851
6882
|
format: 'uri',
|
6852
6883
|
},
|
6884
|
+
listItemCount: {
|
6885
|
+
type: 'integer',
|
6886
|
+
minimum: 0,
|
6887
|
+
},
|
6853
6888
|
labels: {
|
6854
6889
|
type: 'array',
|
6855
6890
|
items: {
|
@@ -6881,11 +6916,116 @@ export const schemaDict = {
|
|
6881
6916
|
},
|
6882
6917
|
},
|
6883
6918
|
},
|
6919
|
+
starterPackView: {
|
6920
|
+
type: 'object',
|
6921
|
+
required: ['uri', 'cid', 'record', 'creator', 'indexedAt'],
|
6922
|
+
properties: {
|
6923
|
+
uri: {
|
6924
|
+
type: 'string',
|
6925
|
+
format: 'at-uri',
|
6926
|
+
},
|
6927
|
+
cid: {
|
6928
|
+
type: 'string',
|
6929
|
+
format: 'cid',
|
6930
|
+
},
|
6931
|
+
record: {
|
6932
|
+
type: 'unknown',
|
6933
|
+
},
|
6934
|
+
creator: {
|
6935
|
+
type: 'ref',
|
6936
|
+
ref: 'lex:app.bsky.actor.defs#profileViewBasic',
|
6937
|
+
},
|
6938
|
+
list: {
|
6939
|
+
type: 'ref',
|
6940
|
+
ref: 'lex:app.bsky.graph.defs#listViewBasic',
|
6941
|
+
},
|
6942
|
+
listItemsSample: {
|
6943
|
+
type: 'array',
|
6944
|
+
maxLength: 12,
|
6945
|
+
items: {
|
6946
|
+
type: 'ref',
|
6947
|
+
ref: 'lex:app.bsky.graph.defs#listItemView',
|
6948
|
+
},
|
6949
|
+
},
|
6950
|
+
feeds: {
|
6951
|
+
type: 'array',
|
6952
|
+
maxLength: 3,
|
6953
|
+
items: {
|
6954
|
+
type: 'ref',
|
6955
|
+
ref: 'lex:app.bsky.feed.defs#generatorView',
|
6956
|
+
},
|
6957
|
+
},
|
6958
|
+
joinedWeekCount: {
|
6959
|
+
type: 'integer',
|
6960
|
+
minimum: 0,
|
6961
|
+
},
|
6962
|
+
joinedAllTimeCount: {
|
6963
|
+
type: 'integer',
|
6964
|
+
minimum: 0,
|
6965
|
+
},
|
6966
|
+
labels: {
|
6967
|
+
type: 'array',
|
6968
|
+
items: {
|
6969
|
+
type: 'ref',
|
6970
|
+
ref: 'lex:com.atproto.label.defs#label',
|
6971
|
+
},
|
6972
|
+
},
|
6973
|
+
indexedAt: {
|
6974
|
+
type: 'string',
|
6975
|
+
format: 'datetime',
|
6976
|
+
},
|
6977
|
+
},
|
6978
|
+
},
|
6979
|
+
starterPackViewBasic: {
|
6980
|
+
type: 'object',
|
6981
|
+
required: ['uri', 'cid', 'record', 'creator', 'indexedAt'],
|
6982
|
+
properties: {
|
6983
|
+
uri: {
|
6984
|
+
type: 'string',
|
6985
|
+
format: 'at-uri',
|
6986
|
+
},
|
6987
|
+
cid: {
|
6988
|
+
type: 'string',
|
6989
|
+
format: 'cid',
|
6990
|
+
},
|
6991
|
+
record: {
|
6992
|
+
type: 'unknown',
|
6993
|
+
},
|
6994
|
+
creator: {
|
6995
|
+
type: 'ref',
|
6996
|
+
ref: 'lex:app.bsky.actor.defs#profileViewBasic',
|
6997
|
+
},
|
6998
|
+
listItemCount: {
|
6999
|
+
type: 'integer',
|
7000
|
+
minimum: 0,
|
7001
|
+
},
|
7002
|
+
joinedWeekCount: {
|
7003
|
+
type: 'integer',
|
7004
|
+
minimum: 0,
|
7005
|
+
},
|
7006
|
+
joinedAllTimeCount: {
|
7007
|
+
type: 'integer',
|
7008
|
+
minimum: 0,
|
7009
|
+
},
|
7010
|
+
labels: {
|
7011
|
+
type: 'array',
|
7012
|
+
items: {
|
7013
|
+
type: 'ref',
|
7014
|
+
ref: 'lex:com.atproto.label.defs#label',
|
7015
|
+
},
|
7016
|
+
},
|
7017
|
+
indexedAt: {
|
7018
|
+
type: 'string',
|
7019
|
+
format: 'datetime',
|
7020
|
+
},
|
7021
|
+
},
|
7022
|
+
},
|
6884
7023
|
listPurpose: {
|
6885
7024
|
type: 'string',
|
6886
7025
|
knownValues: [
|
6887
7026
|
'app.bsky.graph.defs#modlist',
|
6888
7027
|
'app.bsky.graph.defs#curatelist',
|
7028
|
+
'app.bsky.graph.defs#referencelist',
|
6889
7029
|
],
|
6890
7030
|
},
|
6891
7031
|
modlist: {
|
@@ -6898,6 +7038,11 @@ export const schemaDict = {
|
|
6898
7038
|
description:
|
6899
7039
|
'A list of actors used for curation purposes such as list feeds or interaction gating.',
|
6900
7040
|
},
|
7041
|
+
referencelist: {
|
7042
|
+
type: 'token',
|
7043
|
+
description:
|
7044
|
+
'A list of actors used for only for reference purposes such as within a starter pack.',
|
7045
|
+
},
|
6901
7046
|
listViewerState: {
|
6902
7047
|
type: 'object',
|
6903
7048
|
properties: {
|
@@ -6977,6 +7122,54 @@ export const schemaDict = {
|
|
6977
7122
|
},
|
6978
7123
|
},
|
6979
7124
|
},
|
7125
|
+
AppBskyGraphGetActorStarterPacks: {
|
7126
|
+
lexicon: 1,
|
7127
|
+
id: 'app.bsky.graph.getActorStarterPacks',
|
7128
|
+
defs: {
|
7129
|
+
main: {
|
7130
|
+
type: 'query',
|
7131
|
+
description: 'Get a list of starter packs created by the actor.',
|
7132
|
+
parameters: {
|
7133
|
+
type: 'params',
|
7134
|
+
required: ['actor'],
|
7135
|
+
properties: {
|
7136
|
+
actor: {
|
7137
|
+
type: 'string',
|
7138
|
+
format: 'at-identifier',
|
7139
|
+
},
|
7140
|
+
limit: {
|
7141
|
+
type: 'integer',
|
7142
|
+
minimum: 1,
|
7143
|
+
maximum: 100,
|
7144
|
+
default: 50,
|
7145
|
+
},
|
7146
|
+
cursor: {
|
7147
|
+
type: 'string',
|
7148
|
+
},
|
7149
|
+
},
|
7150
|
+
},
|
7151
|
+
output: {
|
7152
|
+
encoding: 'application/json',
|
7153
|
+
schema: {
|
7154
|
+
type: 'object',
|
7155
|
+
required: ['starterPacks'],
|
7156
|
+
properties: {
|
7157
|
+
cursor: {
|
7158
|
+
type: 'string',
|
7159
|
+
},
|
7160
|
+
starterPacks: {
|
7161
|
+
type: 'array',
|
7162
|
+
items: {
|
7163
|
+
type: 'ref',
|
7164
|
+
ref: 'lex:app.bsky.graph.defs#starterPackViewBasic',
|
7165
|
+
},
|
7166
|
+
},
|
7167
|
+
},
|
7168
|
+
},
|
7169
|
+
},
|
7170
|
+
},
|
7171
|
+
},
|
7172
|
+
},
|
6980
7173
|
AppBskyGraphGetBlocks: {
|
6981
7174
|
lexicon: 1,
|
6982
7175
|
id: 'app.bsky.graph.getBlocks',
|
@@ -7478,6 +7671,80 @@ export const schemaDict = {
|
|
7478
7671
|
},
|
7479
7672
|
},
|
7480
7673
|
},
|
7674
|
+
AppBskyGraphGetStarterPack: {
|
7675
|
+
lexicon: 1,
|
7676
|
+
id: 'app.bsky.graph.getStarterPack',
|
7677
|
+
defs: {
|
7678
|
+
main: {
|
7679
|
+
type: 'query',
|
7680
|
+
description: 'Gets a view of a starter pack.',
|
7681
|
+
parameters: {
|
7682
|
+
type: 'params',
|
7683
|
+
required: ['starterPack'],
|
7684
|
+
properties: {
|
7685
|
+
starterPack: {
|
7686
|
+
type: 'string',
|
7687
|
+
format: 'at-uri',
|
7688
|
+
description: 'Reference (AT-URI) of the starter pack record.',
|
7689
|
+
},
|
7690
|
+
},
|
7691
|
+
},
|
7692
|
+
output: {
|
7693
|
+
encoding: 'application/json',
|
7694
|
+
schema: {
|
7695
|
+
type: 'object',
|
7696
|
+
required: ['starterPack'],
|
7697
|
+
properties: {
|
7698
|
+
starterPack: {
|
7699
|
+
type: 'ref',
|
7700
|
+
ref: 'lex:app.bsky.graph.defs#starterPackView',
|
7701
|
+
},
|
7702
|
+
},
|
7703
|
+
},
|
7704
|
+
},
|
7705
|
+
},
|
7706
|
+
},
|
7707
|
+
},
|
7708
|
+
AppBskyGraphGetStarterPacks: {
|
7709
|
+
lexicon: 1,
|
7710
|
+
id: 'app.bsky.graph.getStarterPacks',
|
7711
|
+
defs: {
|
7712
|
+
main: {
|
7713
|
+
type: 'query',
|
7714
|
+
description: 'Get views for a list of starter packs.',
|
7715
|
+
parameters: {
|
7716
|
+
type: 'params',
|
7717
|
+
required: ['uris'],
|
7718
|
+
properties: {
|
7719
|
+
uris: {
|
7720
|
+
type: 'array',
|
7721
|
+
items: {
|
7722
|
+
type: 'string',
|
7723
|
+
format: 'at-uri',
|
7724
|
+
},
|
7725
|
+
maxLength: 25,
|
7726
|
+
},
|
7727
|
+
},
|
7728
|
+
},
|
7729
|
+
output: {
|
7730
|
+
encoding: 'application/json',
|
7731
|
+
schema: {
|
7732
|
+
type: 'object',
|
7733
|
+
required: ['starterPacks'],
|
7734
|
+
properties: {
|
7735
|
+
starterPacks: {
|
7736
|
+
type: 'array',
|
7737
|
+
items: {
|
7738
|
+
type: 'ref',
|
7739
|
+
ref: 'lex:app.bsky.graph.defs#starterPackViewBasic',
|
7740
|
+
},
|
7741
|
+
},
|
7742
|
+
},
|
7743
|
+
},
|
7744
|
+
},
|
7745
|
+
},
|
7746
|
+
},
|
7747
|
+
},
|
7481
7748
|
AppBskyGraphGetSuggestedFollowsByActor: {
|
7482
7749
|
lexicon: 1,
|
7483
7750
|
id: 'app.bsky.graph.getSuggestedFollowsByActor',
|
@@ -7702,6 +7969,70 @@ export const schemaDict = {
|
|
7702
7969
|
},
|
7703
7970
|
},
|
7704
7971
|
},
|
7972
|
+
AppBskyGraphStarterpack: {
|
7973
|
+
lexicon: 1,
|
7974
|
+
id: 'app.bsky.graph.starterpack',
|
7975
|
+
defs: {
|
7976
|
+
main: {
|
7977
|
+
type: 'record',
|
7978
|
+
description:
|
7979
|
+
'Record defining a starter pack of actors and feeds for new users.',
|
7980
|
+
key: 'tid',
|
7981
|
+
record: {
|
7982
|
+
type: 'object',
|
7983
|
+
required: ['name', 'list', 'createdAt'],
|
7984
|
+
properties: {
|
7985
|
+
name: {
|
7986
|
+
type: 'string',
|
7987
|
+
maxGraphemes: 50,
|
7988
|
+
maxLength: 500,
|
7989
|
+
minLength: 1,
|
7990
|
+
description: 'Display name for starter pack; can not be empty.',
|
7991
|
+
},
|
7992
|
+
description: {
|
7993
|
+
type: 'string',
|
7994
|
+
maxGraphemes: 300,
|
7995
|
+
maxLength: 3000,
|
7996
|
+
},
|
7997
|
+
descriptionFacets: {
|
7998
|
+
type: 'array',
|
7999
|
+
items: {
|
8000
|
+
type: 'ref',
|
8001
|
+
ref: 'lex:app.bsky.richtext.facet',
|
8002
|
+
},
|
8003
|
+
},
|
8004
|
+
list: {
|
8005
|
+
type: 'string',
|
8006
|
+
format: 'at-uri',
|
8007
|
+
description: 'Reference (AT-URI) to the list record.',
|
8008
|
+
},
|
8009
|
+
feeds: {
|
8010
|
+
type: 'array',
|
8011
|
+
maxLength: 3,
|
8012
|
+
items: {
|
8013
|
+
type: 'ref',
|
8014
|
+
ref: 'lex:app.bsky.graph.starterpack#feedItem',
|
8015
|
+
},
|
8016
|
+
},
|
8017
|
+
createdAt: {
|
8018
|
+
type: 'string',
|
8019
|
+
format: 'datetime',
|
8020
|
+
},
|
8021
|
+
},
|
8022
|
+
},
|
8023
|
+
},
|
8024
|
+
feedItem: {
|
8025
|
+
type: 'object',
|
8026
|
+
required: ['uri'],
|
8027
|
+
properties: {
|
8028
|
+
uri: {
|
8029
|
+
type: 'string',
|
8030
|
+
format: 'at-uri',
|
8031
|
+
},
|
8032
|
+
},
|
8033
|
+
},
|
8034
|
+
},
|
8035
|
+
},
|
7705
8036
|
AppBskyGraphUnmuteActor: {
|
7706
8037
|
lexicon: 1,
|
7707
8038
|
id: 'app.bsky.graph.unmuteActor',
|
@@ -8072,7 +8403,7 @@ export const schemaDict = {
|
|
8072
8403
|
reason: {
|
8073
8404
|
type: 'string',
|
8074
8405
|
description:
|
8075
|
-
"Expected values are 'like', 'repost', 'follow', 'mention', 'reply', and '
|
8406
|
+
"Expected values are 'like', 'repost', 'follow', 'mention', 'reply', 'quote', and 'starterpack-joined'.",
|
8076
8407
|
knownValues: [
|
8077
8408
|
'like',
|
8078
8409
|
'repost',
|
@@ -8080,6 +8411,7 @@ export const schemaDict = {
|
|
8080
8411
|
'mention',
|
8081
8412
|
'reply',
|
8082
8413
|
'quote',
|
8414
|
+
'starterpack-joined',
|
8083
8415
|
],
|
8084
8416
|
},
|
8085
8417
|
reasonSubject: {
|
@@ -11006,6 +11338,230 @@ export const schemaDict = {
|
|
11006
11338
|
},
|
11007
11339
|
},
|
11008
11340
|
},
|
11341
|
+
ToolsOzoneTeamAddMember: {
|
11342
|
+
lexicon: 1,
|
11343
|
+
id: 'tools.ozone.team.addMember',
|
11344
|
+
defs: {
|
11345
|
+
main: {
|
11346
|
+
type: 'procedure',
|
11347
|
+
description: 'Add a member to the ozone team. Requires admin role.',
|
11348
|
+
input: {
|
11349
|
+
encoding: 'application/json',
|
11350
|
+
schema: {
|
11351
|
+
type: 'object',
|
11352
|
+
required: ['did', 'role'],
|
11353
|
+
properties: {
|
11354
|
+
did: {
|
11355
|
+
type: 'string',
|
11356
|
+
format: 'did',
|
11357
|
+
},
|
11358
|
+
role: {
|
11359
|
+
type: 'string',
|
11360
|
+
knownValues: [
|
11361
|
+
'tools.ozone.team.defs#roleAdmin',
|
11362
|
+
'tools.ozone.team.defs#roleModerator',
|
11363
|
+
'tools.ozone.team.defs#roleTriage',
|
11364
|
+
],
|
11365
|
+
},
|
11366
|
+
},
|
11367
|
+
},
|
11368
|
+
},
|
11369
|
+
output: {
|
11370
|
+
encoding: 'application/json',
|
11371
|
+
schema: {
|
11372
|
+
type: 'ref',
|
11373
|
+
ref: 'lex:tools.ozone.team.defs#member',
|
11374
|
+
},
|
11375
|
+
},
|
11376
|
+
errors: [
|
11377
|
+
{
|
11378
|
+
name: 'MemberAlreadyExists',
|
11379
|
+
description: 'Member already exists in the team.',
|
11380
|
+
},
|
11381
|
+
],
|
11382
|
+
},
|
11383
|
+
},
|
11384
|
+
},
|
11385
|
+
ToolsOzoneTeamDefs: {
|
11386
|
+
lexicon: 1,
|
11387
|
+
id: 'tools.ozone.team.defs',
|
11388
|
+
defs: {
|
11389
|
+
member: {
|
11390
|
+
type: 'object',
|
11391
|
+
required: ['did', 'role'],
|
11392
|
+
properties: {
|
11393
|
+
did: {
|
11394
|
+
type: 'string',
|
11395
|
+
format: 'did',
|
11396
|
+
},
|
11397
|
+
disabled: {
|
11398
|
+
type: 'boolean',
|
11399
|
+
},
|
11400
|
+
profile: {
|
11401
|
+
type: 'ref',
|
11402
|
+
ref: 'lex:app.bsky.actor.defs#profileViewDetailed',
|
11403
|
+
},
|
11404
|
+
createdAt: {
|
11405
|
+
type: 'string',
|
11406
|
+
format: 'datetime',
|
11407
|
+
},
|
11408
|
+
updatedAt: {
|
11409
|
+
type: 'string',
|
11410
|
+
format: 'datetime',
|
11411
|
+
},
|
11412
|
+
lastUpdatedBy: {
|
11413
|
+
type: 'string',
|
11414
|
+
},
|
11415
|
+
role: {
|
11416
|
+
type: 'string',
|
11417
|
+
knownValues: [
|
11418
|
+
'lex:tools.ozone.team.defs#roleAdmin',
|
11419
|
+
'lex:tools.ozone.team.defs#roleModerator',
|
11420
|
+
'lex:tools.ozone.team.defs#roleTriage',
|
11421
|
+
],
|
11422
|
+
},
|
11423
|
+
},
|
11424
|
+
},
|
11425
|
+
roleAdmin: {
|
11426
|
+
type: 'token',
|
11427
|
+
description:
|
11428
|
+
'Admin role. Highest level of access, can perform all actions.',
|
11429
|
+
},
|
11430
|
+
roleModerator: {
|
11431
|
+
type: 'token',
|
11432
|
+
description: 'Moderator role. Can perform most actions.',
|
11433
|
+
},
|
11434
|
+
roleTriage: {
|
11435
|
+
type: 'token',
|
11436
|
+
description:
|
11437
|
+
'Triage role. Mostly intended for monitoring and escalating issues.',
|
11438
|
+
},
|
11439
|
+
},
|
11440
|
+
},
|
11441
|
+
ToolsOzoneTeamDeleteMember: {
|
11442
|
+
lexicon: 1,
|
11443
|
+
id: 'tools.ozone.team.deleteMember',
|
11444
|
+
defs: {
|
11445
|
+
main: {
|
11446
|
+
type: 'procedure',
|
11447
|
+
description: 'Delete a member from ozone team. Requires admin role.',
|
11448
|
+
input: {
|
11449
|
+
encoding: 'application/json',
|
11450
|
+
schema: {
|
11451
|
+
type: 'object',
|
11452
|
+
required: ['did'],
|
11453
|
+
properties: {
|
11454
|
+
did: {
|
11455
|
+
type: 'string',
|
11456
|
+
format: 'did',
|
11457
|
+
},
|
11458
|
+
},
|
11459
|
+
},
|
11460
|
+
},
|
11461
|
+
errors: [
|
11462
|
+
{
|
11463
|
+
name: 'MemberNotFound',
|
11464
|
+
description: 'The member being deleted does not exist',
|
11465
|
+
},
|
11466
|
+
{
|
11467
|
+
name: 'CannotDeleteSelf',
|
11468
|
+
description: 'You can not delete yourself from the team',
|
11469
|
+
},
|
11470
|
+
],
|
11471
|
+
},
|
11472
|
+
},
|
11473
|
+
},
|
11474
|
+
ToolsOzoneTeamListMembers: {
|
11475
|
+
lexicon: 1,
|
11476
|
+
id: 'tools.ozone.team.listMembers',
|
11477
|
+
defs: {
|
11478
|
+
main: {
|
11479
|
+
type: 'query',
|
11480
|
+
description: 'List all members with access to the ozone service.',
|
11481
|
+
parameters: {
|
11482
|
+
type: 'params',
|
11483
|
+
properties: {
|
11484
|
+
limit: {
|
11485
|
+
type: 'integer',
|
11486
|
+
minimum: 1,
|
11487
|
+
maximum: 100,
|
11488
|
+
default: 50,
|
11489
|
+
},
|
11490
|
+
cursor: {
|
11491
|
+
type: 'string',
|
11492
|
+
},
|
11493
|
+
},
|
11494
|
+
},
|
11495
|
+
output: {
|
11496
|
+
encoding: 'application/json',
|
11497
|
+
schema: {
|
11498
|
+
type: 'object',
|
11499
|
+
required: ['members'],
|
11500
|
+
properties: {
|
11501
|
+
cursor: {
|
11502
|
+
type: 'string',
|
11503
|
+
},
|
11504
|
+
members: {
|
11505
|
+
type: 'array',
|
11506
|
+
items: {
|
11507
|
+
type: 'ref',
|
11508
|
+
ref: 'lex:tools.ozone.team.defs#member',
|
11509
|
+
},
|
11510
|
+
},
|
11511
|
+
},
|
11512
|
+
},
|
11513
|
+
},
|
11514
|
+
},
|
11515
|
+
},
|
11516
|
+
},
|
11517
|
+
ToolsOzoneTeamUpdateMember: {
|
11518
|
+
lexicon: 1,
|
11519
|
+
id: 'tools.ozone.team.updateMember',
|
11520
|
+
defs: {
|
11521
|
+
main: {
|
11522
|
+
type: 'procedure',
|
11523
|
+
description:
|
11524
|
+
'Update a member in the ozone service. Requires admin role.',
|
11525
|
+
input: {
|
11526
|
+
encoding: 'application/json',
|
11527
|
+
schema: {
|
11528
|
+
type: 'object',
|
11529
|
+
required: ['did'],
|
11530
|
+
properties: {
|
11531
|
+
did: {
|
11532
|
+
type: 'string',
|
11533
|
+
format: 'did',
|
11534
|
+
},
|
11535
|
+
disabled: {
|
11536
|
+
type: 'boolean',
|
11537
|
+
},
|
11538
|
+
role: {
|
11539
|
+
type: 'string',
|
11540
|
+
knownValues: [
|
11541
|
+
'tools.ozone.team.defs#roleAdmin',
|
11542
|
+
'tools.ozone.team.defs#roleModerator',
|
11543
|
+
'tools.ozone.team.defs#roleTriage',
|
11544
|
+
],
|
11545
|
+
},
|
11546
|
+
},
|
11547
|
+
},
|
11548
|
+
},
|
11549
|
+
output: {
|
11550
|
+
encoding: 'application/json',
|
11551
|
+
schema: {
|
11552
|
+
type: 'ref',
|
11553
|
+
ref: 'lex:tools.ozone.team.defs#member',
|
11554
|
+
},
|
11555
|
+
},
|
11556
|
+
errors: [
|
11557
|
+
{
|
11558
|
+
name: 'MemberNotFound',
|
11559
|
+
description: 'The member being updated does not exist in the team',
|
11560
|
+
},
|
11561
|
+
],
|
11562
|
+
},
|
11563
|
+
},
|
11564
|
+
},
|
11009
11565
|
}
|
11010
11566
|
export const schemas: LexiconDoc[] = Object.values(schemaDict) as LexiconDoc[]
|
11011
11567
|
export const lexicons: Lexicons = new Lexicons(schemas)
|
@@ -11138,6 +11694,7 @@ export const ids = {
|
|
11138
11694
|
AppBskyGraphBlock: 'app.bsky.graph.block',
|
11139
11695
|
AppBskyGraphDefs: 'app.bsky.graph.defs',
|
11140
11696
|
AppBskyGraphFollow: 'app.bsky.graph.follow',
|
11697
|
+
AppBskyGraphGetActorStarterPacks: 'app.bsky.graph.getActorStarterPacks',
|
11141
11698
|
AppBskyGraphGetBlocks: 'app.bsky.graph.getBlocks',
|
11142
11699
|
AppBskyGraphGetFollowers: 'app.bsky.graph.getFollowers',
|
11143
11700
|
AppBskyGraphGetFollows: 'app.bsky.graph.getFollows',
|
@@ -11148,6 +11705,8 @@ export const ids = {
|
|
11148
11705
|
AppBskyGraphGetLists: 'app.bsky.graph.getLists',
|
11149
11706
|
AppBskyGraphGetMutes: 'app.bsky.graph.getMutes',
|
11150
11707
|
AppBskyGraphGetRelationships: 'app.bsky.graph.getRelationships',
|
11708
|
+
AppBskyGraphGetStarterPack: 'app.bsky.graph.getStarterPack',
|
11709
|
+
AppBskyGraphGetStarterPacks: 'app.bsky.graph.getStarterPacks',
|
11151
11710
|
AppBskyGraphGetSuggestedFollowsByActor:
|
11152
11711
|
'app.bsky.graph.getSuggestedFollowsByActor',
|
11153
11712
|
AppBskyGraphList: 'app.bsky.graph.list',
|
@@ -11156,6 +11715,7 @@ export const ids = {
|
|
11156
11715
|
AppBskyGraphMuteActor: 'app.bsky.graph.muteActor',
|
11157
11716
|
AppBskyGraphMuteActorList: 'app.bsky.graph.muteActorList',
|
11158
11717
|
AppBskyGraphMuteThread: 'app.bsky.graph.muteThread',
|
11718
|
+
AppBskyGraphStarterpack: 'app.bsky.graph.starterpack',
|
11159
11719
|
AppBskyGraphUnmuteActor: 'app.bsky.graph.unmuteActor',
|
11160
11720
|
AppBskyGraphUnmuteActorList: 'app.bsky.graph.unmuteActorList',
|
11161
11721
|
AppBskyGraphUnmuteThread: 'app.bsky.graph.unmuteThread',
|
@@ -11216,4 +11776,9 @@ export const ids = {
|
|
11216
11776
|
ToolsOzoneModerationQueryStatuses: 'tools.ozone.moderation.queryStatuses',
|
11217
11777
|
ToolsOzoneModerationSearchRepos: 'tools.ozone.moderation.searchRepos',
|
11218
11778
|
ToolsOzoneServerGetConfig: 'tools.ozone.server.getConfig',
|
11779
|
+
ToolsOzoneTeamAddMember: 'tools.ozone.team.addMember',
|
11780
|
+
ToolsOzoneTeamDefs: 'tools.ozone.team.defs',
|
11781
|
+
ToolsOzoneTeamDeleteMember: 'tools.ozone.team.deleteMember',
|
11782
|
+
ToolsOzoneTeamListMembers: 'tools.ozone.team.listMembers',
|
11783
|
+
ToolsOzoneTeamUpdateMember: 'tools.ozone.team.updateMember',
|
11219
11784
|
}
|