@atproto/pds 0.3.18 → 0.3.19
Sign up to get free protection for your applications and to get access to all the features.
- 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/proxied/__snapshots__/admin.test.ts.snap +56 -7
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
@@ -213127,6 +213127,12 @@ var schemaDict = {
|
|
213127
213127
|
suspendUntil: {
|
213128
213128
|
type: "string",
|
213129
213129
|
format: "datetime"
|
213130
|
+
},
|
213131
|
+
tags: {
|
213132
|
+
type: "array",
|
213133
|
+
items: {
|
213134
|
+
type: "string"
|
213135
|
+
}
|
213130
213136
|
}
|
213131
213137
|
}
|
213132
213138
|
},
|
@@ -213718,6 +213724,31 @@ var schemaDict = {
|
|
213718
213724
|
}
|
213719
213725
|
}
|
213720
213726
|
},
|
213727
|
+
modEventTag: {
|
213728
|
+
type: "object",
|
213729
|
+
description: "Add/Remove a tag on a subject",
|
213730
|
+
required: ["add", "remove"],
|
213731
|
+
properties: {
|
213732
|
+
add: {
|
213733
|
+
type: "array",
|
213734
|
+
items: {
|
213735
|
+
type: "string"
|
213736
|
+
},
|
213737
|
+
description: "Tags to be added to the subject. If already exists, won't be duplicated."
|
213738
|
+
},
|
213739
|
+
remove: {
|
213740
|
+
type: "array",
|
213741
|
+
items: {
|
213742
|
+
type: "string"
|
213743
|
+
},
|
213744
|
+
description: "Tags to be removed to the subject. Ignores a tag If it doesn't exist, won't be duplicated."
|
213745
|
+
},
|
213746
|
+
comment: {
|
213747
|
+
type: "string",
|
213748
|
+
description: "Additional comment about added/removed tags."
|
213749
|
+
}
|
213750
|
+
}
|
213751
|
+
},
|
213721
213752
|
communicationTemplateView: {
|
213722
213753
|
type: "object",
|
213723
213754
|
required: [
|
@@ -213892,7 +213923,8 @@ var schemaDict = {
|
|
213892
213923
|
"lex:com.atproto.admin.defs#modEventMute",
|
213893
213924
|
"lex:com.atproto.admin.defs#modEventReverseTakedown",
|
213894
213925
|
"lex:com.atproto.admin.defs#modEventUnmute",
|
213895
|
-
"lex:com.atproto.admin.defs#modEventEmail"
|
213926
|
+
"lex:com.atproto.admin.defs#modEventEmail",
|
213927
|
+
"lex:com.atproto.admin.defs#modEventTag"
|
213896
213928
|
]
|
213897
213929
|
},
|
213898
213930
|
subject: {
|
@@ -214314,6 +214346,20 @@ var schemaDict = {
|
|
214314
214346
|
},
|
214315
214347
|
description: "If specified, only events where all of these labels were removed are returned"
|
214316
214348
|
},
|
214349
|
+
addedTags: {
|
214350
|
+
type: "array",
|
214351
|
+
items: {
|
214352
|
+
type: "string"
|
214353
|
+
},
|
214354
|
+
description: "If specified, only events where all of these tags were added are returned"
|
214355
|
+
},
|
214356
|
+
removedTags: {
|
214357
|
+
type: "array",
|
214358
|
+
items: {
|
214359
|
+
type: "string"
|
214360
|
+
},
|
214361
|
+
description: "If specified, only events where all of these tags were removed are returned"
|
214362
|
+
},
|
214317
214363
|
reportTypes: {
|
214318
214364
|
type: "array",
|
214319
214365
|
items: {
|
@@ -214429,6 +214475,18 @@ var schemaDict = {
|
|
214429
214475
|
maximum: 100,
|
214430
214476
|
default: 50
|
214431
214477
|
},
|
214478
|
+
tags: {
|
214479
|
+
type: "array",
|
214480
|
+
items: {
|
214481
|
+
type: "string"
|
214482
|
+
}
|
214483
|
+
},
|
214484
|
+
excludeTags: {
|
214485
|
+
type: "array",
|
214486
|
+
items: {
|
214487
|
+
type: "string"
|
214488
|
+
}
|
214489
|
+
},
|
214432
214490
|
cursor: {
|
214433
214491
|
type: "string"
|
214434
214492
|
}
|
@@ -238848,6 +238906,12 @@ var schemaDict2 = {
|
|
238848
238906
|
suspendUntil: {
|
238849
238907
|
type: "string",
|
238850
238908
|
format: "datetime"
|
238909
|
+
},
|
238910
|
+
tags: {
|
238911
|
+
type: "array",
|
238912
|
+
items: {
|
238913
|
+
type: "string"
|
238914
|
+
}
|
238851
238915
|
}
|
238852
238916
|
}
|
238853
238917
|
},
|
@@ -239439,6 +239503,31 @@ var schemaDict2 = {
|
|
239439
239503
|
}
|
239440
239504
|
}
|
239441
239505
|
},
|
239506
|
+
modEventTag: {
|
239507
|
+
type: "object",
|
239508
|
+
description: "Add/Remove a tag on a subject",
|
239509
|
+
required: ["add", "remove"],
|
239510
|
+
properties: {
|
239511
|
+
add: {
|
239512
|
+
type: "array",
|
239513
|
+
items: {
|
239514
|
+
type: "string"
|
239515
|
+
},
|
239516
|
+
description: "Tags to be added to the subject. If already exists, won't be duplicated."
|
239517
|
+
},
|
239518
|
+
remove: {
|
239519
|
+
type: "array",
|
239520
|
+
items: {
|
239521
|
+
type: "string"
|
239522
|
+
},
|
239523
|
+
description: "Tags to be removed to the subject. Ignores a tag If it doesn't exist, won't be duplicated."
|
239524
|
+
},
|
239525
|
+
comment: {
|
239526
|
+
type: "string",
|
239527
|
+
description: "Additional comment about added/removed tags."
|
239528
|
+
}
|
239529
|
+
}
|
239530
|
+
},
|
239442
239531
|
communicationTemplateView: {
|
239443
239532
|
type: "object",
|
239444
239533
|
required: [
|
@@ -239613,7 +239702,8 @@ var schemaDict2 = {
|
|
239613
239702
|
"lex:com.atproto.admin.defs#modEventMute",
|
239614
239703
|
"lex:com.atproto.admin.defs#modEventReverseTakedown",
|
239615
239704
|
"lex:com.atproto.admin.defs#modEventUnmute",
|
239616
|
-
"lex:com.atproto.admin.defs#modEventEmail"
|
239705
|
+
"lex:com.atproto.admin.defs#modEventEmail",
|
239706
|
+
"lex:com.atproto.admin.defs#modEventTag"
|
239617
239707
|
]
|
239618
239708
|
},
|
239619
239709
|
subject: {
|
@@ -240035,6 +240125,20 @@ var schemaDict2 = {
|
|
240035
240125
|
},
|
240036
240126
|
description: "If specified, only events where all of these labels were removed are returned"
|
240037
240127
|
},
|
240128
|
+
addedTags: {
|
240129
|
+
type: "array",
|
240130
|
+
items: {
|
240131
|
+
type: "string"
|
240132
|
+
},
|
240133
|
+
description: "If specified, only events where all of these tags were added are returned"
|
240134
|
+
},
|
240135
|
+
removedTags: {
|
240136
|
+
type: "array",
|
240137
|
+
items: {
|
240138
|
+
type: "string"
|
240139
|
+
},
|
240140
|
+
description: "If specified, only events where all of these tags were removed are returned"
|
240141
|
+
},
|
240038
240142
|
reportTypes: {
|
240039
240143
|
type: "array",
|
240040
240144
|
items: {
|
@@ -240150,6 +240254,18 @@ var schemaDict2 = {
|
|
240150
240254
|
maximum: 100,
|
240151
240255
|
default: 50
|
240152
240256
|
},
|
240257
|
+
tags: {
|
240258
|
+
type: "array",
|
240259
|
+
items: {
|
240260
|
+
type: "string"
|
240261
|
+
}
|
240262
|
+
},
|
240263
|
+
excludeTags: {
|
240264
|
+
type: "array",
|
240265
|
+
items: {
|
240266
|
+
type: "string"
|
240267
|
+
}
|
240268
|
+
},
|
240153
240269
|
cursor: {
|
240154
240270
|
type: "string"
|
240155
240271
|
}
|