@atproto/api 0.14.12 → 0.14.13
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 +6 -0
- package/dist/client/index.d.ts +3 -0
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +6 -2
- package/dist/client/index.js.map +1 -1
- package/dist/client/lexicons.d.ts +140 -0
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +71 -0
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/tools/ozone/moderation/defs.d.ts +14 -0
- package/dist/client/types/tools/ozone/moderation/defs.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/moderation/defs.js +9 -0
- package/dist/client/types/tools/ozone/moderation/defs.js.map +1 -1
- package/dist/client/types/tools/ozone/moderation/getSubjects.d.ts +23 -0
- package/dist/client/types/tools/ozone/moderation/getSubjects.d.ts.map +1 -0
- package/dist/client/types/tools/ozone/moderation/getSubjects.js +11 -0
- package/dist/client/types/tools/ozone/moderation/getSubjects.js.map +1 -0
- package/package.json +1 -1
- package/src/client/index.ts +14 -0
- package/src/client/lexicons.ts +72 -0
- package/src/client/types/tools/ozone/moderation/defs.ts +21 -0
- package/src/client/types/tools/ozone/moderation/getSubjects.ts +42 -0
- package/tsconfig.build.tsbuildinfo +1 -1
package/dist/client/lexicons.js
CHANGED
|
@@ -11737,6 +11737,36 @@ exports.schemaDict = {
|
|
|
11737
11737
|
},
|
|
11738
11738
|
},
|
|
11739
11739
|
},
|
|
11740
|
+
subjectView: {
|
|
11741
|
+
description: "Detailed view of a subject. For record subjects, the author's repo and profile will be returned.",
|
|
11742
|
+
type: 'object',
|
|
11743
|
+
required: ['type', 'subject'],
|
|
11744
|
+
properties: {
|
|
11745
|
+
type: {
|
|
11746
|
+
type: 'ref',
|
|
11747
|
+
ref: 'lex:com.atproto.moderation.defs#subjectType',
|
|
11748
|
+
},
|
|
11749
|
+
subject: {
|
|
11750
|
+
type: 'string',
|
|
11751
|
+
},
|
|
11752
|
+
status: {
|
|
11753
|
+
type: 'ref',
|
|
11754
|
+
ref: 'lex:tools.ozone.moderation.defs#subjectStatusView',
|
|
11755
|
+
},
|
|
11756
|
+
repo: {
|
|
11757
|
+
type: 'ref',
|
|
11758
|
+
ref: 'lex:tools.ozone.moderation.defs#repoViewDetail',
|
|
11759
|
+
},
|
|
11760
|
+
profile: {
|
|
11761
|
+
type: 'union',
|
|
11762
|
+
refs: [],
|
|
11763
|
+
},
|
|
11764
|
+
record: {
|
|
11765
|
+
type: 'ref',
|
|
11766
|
+
ref: 'lex:tools.ozone.moderation.defs#recordViewDetail',
|
|
11767
|
+
},
|
|
11768
|
+
},
|
|
11769
|
+
},
|
|
11740
11770
|
accountStats: {
|
|
11741
11771
|
description: 'Statistics about a particular account subject',
|
|
11742
11772
|
type: 'object',
|
|
@@ -12869,6 +12899,46 @@ exports.schemaDict = {
|
|
|
12869
12899
|
},
|
|
12870
12900
|
},
|
|
12871
12901
|
},
|
|
12902
|
+
ToolsOzoneModerationGetSubjects: {
|
|
12903
|
+
lexicon: 1,
|
|
12904
|
+
id: 'tools.ozone.moderation.getSubjects',
|
|
12905
|
+
defs: {
|
|
12906
|
+
main: {
|
|
12907
|
+
type: 'query',
|
|
12908
|
+
description: 'Get details about subjects.',
|
|
12909
|
+
parameters: {
|
|
12910
|
+
type: 'params',
|
|
12911
|
+
required: ['subjects'],
|
|
12912
|
+
properties: {
|
|
12913
|
+
subjects: {
|
|
12914
|
+
type: 'array',
|
|
12915
|
+
maxLength: 100,
|
|
12916
|
+
minLength: 1,
|
|
12917
|
+
items: {
|
|
12918
|
+
type: 'string',
|
|
12919
|
+
},
|
|
12920
|
+
},
|
|
12921
|
+
},
|
|
12922
|
+
},
|
|
12923
|
+
output: {
|
|
12924
|
+
encoding: 'application/json',
|
|
12925
|
+
schema: {
|
|
12926
|
+
type: 'object',
|
|
12927
|
+
required: ['subjects'],
|
|
12928
|
+
properties: {
|
|
12929
|
+
subjects: {
|
|
12930
|
+
type: 'array',
|
|
12931
|
+
items: {
|
|
12932
|
+
type: 'ref',
|
|
12933
|
+
ref: 'lex:tools.ozone.moderation.defs#subjectView',
|
|
12934
|
+
},
|
|
12935
|
+
},
|
|
12936
|
+
},
|
|
12937
|
+
},
|
|
12938
|
+
},
|
|
12939
|
+
},
|
|
12940
|
+
},
|
|
12941
|
+
},
|
|
12872
12942
|
ToolsOzoneModerationQueryEvents: {
|
|
12873
12943
|
lexicon: 1,
|
|
12874
12944
|
id: 'tools.ozone.moderation.queryEvents',
|
|
@@ -14471,6 +14541,7 @@ exports.ids = {
|
|
|
14471
14541
|
ToolsOzoneModerationGetRepo: 'tools.ozone.moderation.getRepo',
|
|
14472
14542
|
ToolsOzoneModerationGetReporterStats: 'tools.ozone.moderation.getReporterStats',
|
|
14473
14543
|
ToolsOzoneModerationGetRepos: 'tools.ozone.moderation.getRepos',
|
|
14544
|
+
ToolsOzoneModerationGetSubjects: 'tools.ozone.moderation.getSubjects',
|
|
14474
14545
|
ToolsOzoneModerationQueryEvents: 'tools.ozone.moderation.queryEvents',
|
|
14475
14546
|
ToolsOzoneModerationQueryStatuses: 'tools.ozone.moderation.queryStatuses',
|
|
14476
14547
|
ToolsOzoneModerationSearchRepos: 'tools.ozone.moderation.searchRepos',
|