@atproto/bsky 0.0.30 → 0.0.31
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/CHANGELOG.md +7 -0
- package/dist/index.js +118 -2
- package/dist/index.js.map +2 -2
- package/dist/lexicon/lexicons.d.ts +57 -0
- package/dist/lexicon/types/com/atproto/admin/defs.d.ts +9 -0
- package/dist/lexicon/types/com/atproto/admin/emitModerationEvent.d.ts +1 -1
- package/dist/lexicon/types/com/atproto/admin/queryModerationEvents.d.ts +2 -0
- package/dist/lexicon/types/com/atproto/admin/queryModerationStatuses.d.ts +2 -0
- package/package.json +6 -6
- package/src/lexicon/lexicons.ts +62 -0
- package/src/lexicon/types/com/atproto/admin/defs.ts +24 -0
- package/src/lexicon/types/com/atproto/admin/emitModerationEvent.ts +1 -0
- package/src/lexicon/types/com/atproto/admin/queryModerationEvents.ts +4 -0
- package/src/lexicon/types/com/atproto/admin/queryModerationStatuses.ts +2 -0
- package/tests/auto-moderator/labeler.test.ts +2 -0
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -149683,6 +149683,12 @@ var schemaDict = {
|
|
|
149683
149683
|
suspendUntil: {
|
|
149684
149684
|
type: "string",
|
|
149685
149685
|
format: "datetime"
|
|
149686
|
+
},
|
|
149687
|
+
tags: {
|
|
149688
|
+
type: "array",
|
|
149689
|
+
items: {
|
|
149690
|
+
type: "string"
|
|
149691
|
+
}
|
|
149686
149692
|
}
|
|
149687
149693
|
}
|
|
149688
149694
|
},
|
|
@@ -150274,6 +150280,31 @@ var schemaDict = {
|
|
|
150274
150280
|
}
|
|
150275
150281
|
}
|
|
150276
150282
|
},
|
|
150283
|
+
modEventTag: {
|
|
150284
|
+
type: "object",
|
|
150285
|
+
description: "Add/Remove a tag on a subject",
|
|
150286
|
+
required: ["add", "remove"],
|
|
150287
|
+
properties: {
|
|
150288
|
+
add: {
|
|
150289
|
+
type: "array",
|
|
150290
|
+
items: {
|
|
150291
|
+
type: "string"
|
|
150292
|
+
},
|
|
150293
|
+
description: "Tags to be added to the subject. If already exists, won't be duplicated."
|
|
150294
|
+
},
|
|
150295
|
+
remove: {
|
|
150296
|
+
type: "array",
|
|
150297
|
+
items: {
|
|
150298
|
+
type: "string"
|
|
150299
|
+
},
|
|
150300
|
+
description: "Tags to be removed to the subject. Ignores a tag If it doesn't exist, won't be duplicated."
|
|
150301
|
+
},
|
|
150302
|
+
comment: {
|
|
150303
|
+
type: "string",
|
|
150304
|
+
description: "Additional comment about added/removed tags."
|
|
150305
|
+
}
|
|
150306
|
+
}
|
|
150307
|
+
},
|
|
150277
150308
|
communicationTemplateView: {
|
|
150278
150309
|
type: "object",
|
|
150279
150310
|
required: [
|
|
@@ -150448,7 +150479,8 @@ var schemaDict = {
|
|
|
150448
150479
|
"lex:com.atproto.admin.defs#modEventMute",
|
|
150449
150480
|
"lex:com.atproto.admin.defs#modEventReverseTakedown",
|
|
150450
150481
|
"lex:com.atproto.admin.defs#modEventUnmute",
|
|
150451
|
-
"lex:com.atproto.admin.defs#modEventEmail"
|
|
150482
|
+
"lex:com.atproto.admin.defs#modEventEmail",
|
|
150483
|
+
"lex:com.atproto.admin.defs#modEventTag"
|
|
150452
150484
|
]
|
|
150453
150485
|
},
|
|
150454
150486
|
subject: {
|
|
@@ -150870,6 +150902,20 @@ var schemaDict = {
|
|
|
150870
150902
|
},
|
|
150871
150903
|
description: "If specified, only events where all of these labels were removed are returned"
|
|
150872
150904
|
},
|
|
150905
|
+
addedTags: {
|
|
150906
|
+
type: "array",
|
|
150907
|
+
items: {
|
|
150908
|
+
type: "string"
|
|
150909
|
+
},
|
|
150910
|
+
description: "If specified, only events where all of these tags were added are returned"
|
|
150911
|
+
},
|
|
150912
|
+
removedTags: {
|
|
150913
|
+
type: "array",
|
|
150914
|
+
items: {
|
|
150915
|
+
type: "string"
|
|
150916
|
+
},
|
|
150917
|
+
description: "If specified, only events where all of these tags were removed are returned"
|
|
150918
|
+
},
|
|
150873
150919
|
reportTypes: {
|
|
150874
150920
|
type: "array",
|
|
150875
150921
|
items: {
|
|
@@ -150985,6 +151031,18 @@ var schemaDict = {
|
|
|
150985
151031
|
maximum: 100,
|
|
150986
151032
|
default: 50
|
|
150987
151033
|
},
|
|
151034
|
+
tags: {
|
|
151035
|
+
type: "array",
|
|
151036
|
+
items: {
|
|
151037
|
+
type: "string"
|
|
151038
|
+
}
|
|
151039
|
+
},
|
|
151040
|
+
excludeTags: {
|
|
151041
|
+
type: "array",
|
|
151042
|
+
items: {
|
|
151043
|
+
type: "string"
|
|
151044
|
+
}
|
|
151045
|
+
},
|
|
150988
151046
|
cursor: {
|
|
150989
151047
|
type: "string"
|
|
150990
151048
|
}
|
|
@@ -161701,6 +161759,12 @@ var schemaDict2 = {
|
|
|
161701
161759
|
suspendUntil: {
|
|
161702
161760
|
type: "string",
|
|
161703
161761
|
format: "datetime"
|
|
161762
|
+
},
|
|
161763
|
+
tags: {
|
|
161764
|
+
type: "array",
|
|
161765
|
+
items: {
|
|
161766
|
+
type: "string"
|
|
161767
|
+
}
|
|
161704
161768
|
}
|
|
161705
161769
|
}
|
|
161706
161770
|
},
|
|
@@ -162292,6 +162356,31 @@ var schemaDict2 = {
|
|
|
162292
162356
|
}
|
|
162293
162357
|
}
|
|
162294
162358
|
},
|
|
162359
|
+
modEventTag: {
|
|
162360
|
+
type: "object",
|
|
162361
|
+
description: "Add/Remove a tag on a subject",
|
|
162362
|
+
required: ["add", "remove"],
|
|
162363
|
+
properties: {
|
|
162364
|
+
add: {
|
|
162365
|
+
type: "array",
|
|
162366
|
+
items: {
|
|
162367
|
+
type: "string"
|
|
162368
|
+
},
|
|
162369
|
+
description: "Tags to be added to the subject. If already exists, won't be duplicated."
|
|
162370
|
+
},
|
|
162371
|
+
remove: {
|
|
162372
|
+
type: "array",
|
|
162373
|
+
items: {
|
|
162374
|
+
type: "string"
|
|
162375
|
+
},
|
|
162376
|
+
description: "Tags to be removed to the subject. Ignores a tag If it doesn't exist, won't be duplicated."
|
|
162377
|
+
},
|
|
162378
|
+
comment: {
|
|
162379
|
+
type: "string",
|
|
162380
|
+
description: "Additional comment about added/removed tags."
|
|
162381
|
+
}
|
|
162382
|
+
}
|
|
162383
|
+
},
|
|
162295
162384
|
communicationTemplateView: {
|
|
162296
162385
|
type: "object",
|
|
162297
162386
|
required: [
|
|
@@ -162466,7 +162555,8 @@ var schemaDict2 = {
|
|
|
162466
162555
|
"lex:com.atproto.admin.defs#modEventMute",
|
|
162467
162556
|
"lex:com.atproto.admin.defs#modEventReverseTakedown",
|
|
162468
162557
|
"lex:com.atproto.admin.defs#modEventUnmute",
|
|
162469
|
-
"lex:com.atproto.admin.defs#modEventEmail"
|
|
162558
|
+
"lex:com.atproto.admin.defs#modEventEmail",
|
|
162559
|
+
"lex:com.atproto.admin.defs#modEventTag"
|
|
162470
162560
|
]
|
|
162471
162561
|
},
|
|
162472
162562
|
subject: {
|
|
@@ -162888,6 +162978,20 @@ var schemaDict2 = {
|
|
|
162888
162978
|
},
|
|
162889
162979
|
description: "If specified, only events where all of these labels were removed are returned"
|
|
162890
162980
|
},
|
|
162981
|
+
addedTags: {
|
|
162982
|
+
type: "array",
|
|
162983
|
+
items: {
|
|
162984
|
+
type: "string"
|
|
162985
|
+
},
|
|
162986
|
+
description: "If specified, only events where all of these tags were added are returned"
|
|
162987
|
+
},
|
|
162988
|
+
removedTags: {
|
|
162989
|
+
type: "array",
|
|
162990
|
+
items: {
|
|
162991
|
+
type: "string"
|
|
162992
|
+
},
|
|
162993
|
+
description: "If specified, only events where all of these tags were removed are returned"
|
|
162994
|
+
},
|
|
162891
162995
|
reportTypes: {
|
|
162892
162996
|
type: "array",
|
|
162893
162997
|
items: {
|
|
@@ -163003,6 +163107,18 @@ var schemaDict2 = {
|
|
|
163003
163107
|
maximum: 100,
|
|
163004
163108
|
default: 50
|
|
163005
163109
|
},
|
|
163110
|
+
tags: {
|
|
163111
|
+
type: "array",
|
|
163112
|
+
items: {
|
|
163113
|
+
type: "string"
|
|
163114
|
+
}
|
|
163115
|
+
},
|
|
163116
|
+
excludeTags: {
|
|
163117
|
+
type: "array",
|
|
163118
|
+
items: {
|
|
163119
|
+
type: "string"
|
|
163120
|
+
}
|
|
163121
|
+
},
|
|
163006
163122
|
cursor: {
|
|
163007
163123
|
type: "string"
|
|
163008
163124
|
}
|