@atproto/api 0.13.10 → 0.13.12
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 +12 -0
- package/dist/client/index.d.ts +24 -0
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +61 -2
- package/dist/client/index.js.map +1 -1
- package/dist/client/lexicons.d.ts +292 -0
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +298 -0
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/tools/ozone/set/addValues.d.ts +25 -0
- package/dist/client/types/tools/ozone/set/addValues.d.ts.map +1 -0
- package/dist/client/types/tools/ozone/set/addValues.js +8 -0
- package/dist/client/types/tools/ozone/set/addValues.js.map +1 -0
- package/dist/client/types/tools/ozone/set/defs.d.ts +22 -0
- package/dist/client/types/tools/ozone/set/defs.d.ts.map +1 -0
- package/dist/client/types/tools/ozone/set/defs.js +24 -0
- package/dist/client/types/tools/ozone/set/defs.js.map +1 -0
- package/dist/client/types/tools/ozone/set/deleteSet.d.ts +30 -0
- package/dist/client/types/tools/ozone/set/deleteSet.d.ts.map +1 -0
- package/dist/client/types/tools/ozone/set/deleteSet.js +22 -0
- package/dist/client/types/tools/ozone/set/deleteSet.js.map +1 -0
- package/dist/client/types/tools/ozone/set/deleteValues.d.ts +28 -0
- package/dist/client/types/tools/ozone/set/deleteValues.d.ts.map +1 -0
- package/dist/client/types/tools/ozone/set/deleteValues.js +22 -0
- package/dist/client/types/tools/ozone/set/deleteValues.js.map +1 -0
- package/dist/client/types/tools/ozone/set/getValues.d.ts +31 -0
- package/dist/client/types/tools/ozone/set/getValues.d.ts.map +1 -0
- package/dist/client/types/tools/ozone/set/getValues.js +22 -0
- package/dist/client/types/tools/ozone/set/getValues.js.map +1 -0
- package/dist/client/types/tools/ozone/set/querySets.d.ts +30 -0
- package/dist/client/types/tools/ozone/set/querySets.d.ts.map +1 -0
- package/dist/client/types/tools/ozone/set/querySets.js +8 -0
- package/dist/client/types/tools/ozone/set/querySets.js.map +1 -0
- package/dist/client/types/tools/ozone/set/upsertSet.d.ts +22 -0
- package/dist/client/types/tools/ozone/set/upsertSet.d.ts.map +1 -0
- package/dist/client/types/tools/ozone/set/upsertSet.js +8 -0
- package/dist/client/types/tools/ozone/set/upsertSet.js.map +1 -0
- package/dist/moderation/subjects/post.js +11 -0
- package/dist/moderation/subjects/post.js.map +1 -1
- package/package.json +1 -1
- package/src/client/index.ts +83 -0
- package/src/client/lexicons.ts +301 -0
- package/src/client/types/tools/ozone/set/addValues.ts +34 -0
- package/src/client/types/tools/ozone/set/defs.ts +44 -0
- package/src/client/types/tools/ozone/set/deleteSet.ts +47 -0
- package/src/client/types/tools/ozone/set/deleteValues.ts +44 -0
- package/src/client/types/tools/ozone/set/getValues.ts +49 -0
- package/src/client/types/tools/ozone/set/querySets.ts +41 -0
- package/src/client/types/tools/ozone/set/upsertSet.ts +31 -0
- package/src/moderation/subjects/post.ts +14 -0
package/dist/client/lexicons.js
CHANGED
|
@@ -11815,6 +11815,297 @@ exports.schemaDict = {
|
|
|
11815
11815
|
},
|
|
11816
11816
|
},
|
|
11817
11817
|
},
|
|
11818
|
+
ToolsOzoneSetAddValues: {
|
|
11819
|
+
lexicon: 1,
|
|
11820
|
+
id: 'tools.ozone.set.addValues',
|
|
11821
|
+
defs: {
|
|
11822
|
+
main: {
|
|
11823
|
+
type: 'procedure',
|
|
11824
|
+
description: 'Add values to a specific set. Attempting to add values to a set that does not exist will result in an error.',
|
|
11825
|
+
input: {
|
|
11826
|
+
encoding: 'application/json',
|
|
11827
|
+
schema: {
|
|
11828
|
+
type: 'object',
|
|
11829
|
+
required: ['name', 'values'],
|
|
11830
|
+
properties: {
|
|
11831
|
+
name: {
|
|
11832
|
+
type: 'string',
|
|
11833
|
+
description: 'Name of the set to add values to',
|
|
11834
|
+
},
|
|
11835
|
+
values: {
|
|
11836
|
+
type: 'array',
|
|
11837
|
+
minLength: 1,
|
|
11838
|
+
maxLength: 1000,
|
|
11839
|
+
items: {
|
|
11840
|
+
type: 'string',
|
|
11841
|
+
},
|
|
11842
|
+
description: 'Array of string values to add to the set',
|
|
11843
|
+
},
|
|
11844
|
+
},
|
|
11845
|
+
},
|
|
11846
|
+
},
|
|
11847
|
+
},
|
|
11848
|
+
},
|
|
11849
|
+
},
|
|
11850
|
+
ToolsOzoneSetDefs: {
|
|
11851
|
+
lexicon: 1,
|
|
11852
|
+
id: 'tools.ozone.set.defs',
|
|
11853
|
+
defs: {
|
|
11854
|
+
set: {
|
|
11855
|
+
type: 'object',
|
|
11856
|
+
required: ['name'],
|
|
11857
|
+
properties: {
|
|
11858
|
+
name: {
|
|
11859
|
+
type: 'string',
|
|
11860
|
+
minLength: 3,
|
|
11861
|
+
maxLength: 128,
|
|
11862
|
+
},
|
|
11863
|
+
description: {
|
|
11864
|
+
type: 'string',
|
|
11865
|
+
maxGraphemes: 1024,
|
|
11866
|
+
maxLength: 10240,
|
|
11867
|
+
},
|
|
11868
|
+
},
|
|
11869
|
+
},
|
|
11870
|
+
setView: {
|
|
11871
|
+
type: 'object',
|
|
11872
|
+
required: ['name', 'setSize', 'createdAt', 'updatedAt'],
|
|
11873
|
+
properties: {
|
|
11874
|
+
name: {
|
|
11875
|
+
type: 'string',
|
|
11876
|
+
minLength: 3,
|
|
11877
|
+
maxLength: 128,
|
|
11878
|
+
},
|
|
11879
|
+
description: {
|
|
11880
|
+
type: 'string',
|
|
11881
|
+
maxGraphemes: 1024,
|
|
11882
|
+
maxLength: 10240,
|
|
11883
|
+
},
|
|
11884
|
+
setSize: {
|
|
11885
|
+
type: 'integer',
|
|
11886
|
+
},
|
|
11887
|
+
createdAt: {
|
|
11888
|
+
type: 'string',
|
|
11889
|
+
format: 'datetime',
|
|
11890
|
+
},
|
|
11891
|
+
updatedAt: {
|
|
11892
|
+
type: 'string',
|
|
11893
|
+
format: 'datetime',
|
|
11894
|
+
},
|
|
11895
|
+
},
|
|
11896
|
+
},
|
|
11897
|
+
},
|
|
11898
|
+
},
|
|
11899
|
+
ToolsOzoneSetDeleteSet: {
|
|
11900
|
+
lexicon: 1,
|
|
11901
|
+
id: 'tools.ozone.set.deleteSet',
|
|
11902
|
+
defs: {
|
|
11903
|
+
main: {
|
|
11904
|
+
type: 'procedure',
|
|
11905
|
+
description: 'Delete an entire set. Attempting to delete a set that does not exist will result in an error.',
|
|
11906
|
+
input: {
|
|
11907
|
+
encoding: 'application/json',
|
|
11908
|
+
schema: {
|
|
11909
|
+
type: 'object',
|
|
11910
|
+
required: ['name'],
|
|
11911
|
+
properties: {
|
|
11912
|
+
name: {
|
|
11913
|
+
type: 'string',
|
|
11914
|
+
description: 'Name of the set to delete',
|
|
11915
|
+
},
|
|
11916
|
+
},
|
|
11917
|
+
},
|
|
11918
|
+
},
|
|
11919
|
+
output: {
|
|
11920
|
+
encoding: 'application/json',
|
|
11921
|
+
schema: {
|
|
11922
|
+
type: 'object',
|
|
11923
|
+
properties: {},
|
|
11924
|
+
},
|
|
11925
|
+
},
|
|
11926
|
+
errors: [
|
|
11927
|
+
{
|
|
11928
|
+
name: 'SetNotFound',
|
|
11929
|
+
description: 'set with the given name does not exist',
|
|
11930
|
+
},
|
|
11931
|
+
],
|
|
11932
|
+
},
|
|
11933
|
+
},
|
|
11934
|
+
},
|
|
11935
|
+
ToolsOzoneSetDeleteValues: {
|
|
11936
|
+
lexicon: 1,
|
|
11937
|
+
id: 'tools.ozone.set.deleteValues',
|
|
11938
|
+
defs: {
|
|
11939
|
+
main: {
|
|
11940
|
+
type: 'procedure',
|
|
11941
|
+
description: 'Delete values from a specific set. Attempting to delete values that are not in the set will not result in an error',
|
|
11942
|
+
input: {
|
|
11943
|
+
encoding: 'application/json',
|
|
11944
|
+
schema: {
|
|
11945
|
+
type: 'object',
|
|
11946
|
+
required: ['name', 'values'],
|
|
11947
|
+
properties: {
|
|
11948
|
+
name: {
|
|
11949
|
+
type: 'string',
|
|
11950
|
+
description: 'Name of the set to delete values from',
|
|
11951
|
+
},
|
|
11952
|
+
values: {
|
|
11953
|
+
type: 'array',
|
|
11954
|
+
minLength: 1,
|
|
11955
|
+
items: {
|
|
11956
|
+
type: 'string',
|
|
11957
|
+
},
|
|
11958
|
+
description: 'Array of string values to delete from the set',
|
|
11959
|
+
},
|
|
11960
|
+
},
|
|
11961
|
+
},
|
|
11962
|
+
},
|
|
11963
|
+
errors: [
|
|
11964
|
+
{
|
|
11965
|
+
name: 'SetNotFound',
|
|
11966
|
+
description: 'set with the given name does not exist',
|
|
11967
|
+
},
|
|
11968
|
+
],
|
|
11969
|
+
},
|
|
11970
|
+
},
|
|
11971
|
+
},
|
|
11972
|
+
ToolsOzoneSetGetValues: {
|
|
11973
|
+
lexicon: 1,
|
|
11974
|
+
id: 'tools.ozone.set.getValues',
|
|
11975
|
+
defs: {
|
|
11976
|
+
main: {
|
|
11977
|
+
type: 'query',
|
|
11978
|
+
description: 'Get a specific set and its values',
|
|
11979
|
+
parameters: {
|
|
11980
|
+
type: 'params',
|
|
11981
|
+
required: ['name'],
|
|
11982
|
+
properties: {
|
|
11983
|
+
name: {
|
|
11984
|
+
type: 'string',
|
|
11985
|
+
},
|
|
11986
|
+
limit: {
|
|
11987
|
+
type: 'integer',
|
|
11988
|
+
minimum: 1,
|
|
11989
|
+
maximum: 1000,
|
|
11990
|
+
default: 100,
|
|
11991
|
+
},
|
|
11992
|
+
cursor: {
|
|
11993
|
+
type: 'string',
|
|
11994
|
+
},
|
|
11995
|
+
},
|
|
11996
|
+
},
|
|
11997
|
+
output: {
|
|
11998
|
+
encoding: 'application/json',
|
|
11999
|
+
schema: {
|
|
12000
|
+
type: 'object',
|
|
12001
|
+
required: ['set', 'values'],
|
|
12002
|
+
properties: {
|
|
12003
|
+
set: {
|
|
12004
|
+
type: 'ref',
|
|
12005
|
+
ref: 'lex:tools.ozone.set.defs#setView',
|
|
12006
|
+
},
|
|
12007
|
+
values: {
|
|
12008
|
+
type: 'array',
|
|
12009
|
+
items: {
|
|
12010
|
+
type: 'string',
|
|
12011
|
+
},
|
|
12012
|
+
},
|
|
12013
|
+
cursor: {
|
|
12014
|
+
type: 'string',
|
|
12015
|
+
},
|
|
12016
|
+
},
|
|
12017
|
+
},
|
|
12018
|
+
},
|
|
12019
|
+
errors: [
|
|
12020
|
+
{
|
|
12021
|
+
name: 'SetNotFound',
|
|
12022
|
+
description: 'set with the given name does not exist',
|
|
12023
|
+
},
|
|
12024
|
+
],
|
|
12025
|
+
},
|
|
12026
|
+
},
|
|
12027
|
+
},
|
|
12028
|
+
ToolsOzoneSetQuerySets: {
|
|
12029
|
+
lexicon: 1,
|
|
12030
|
+
id: 'tools.ozone.set.querySets',
|
|
12031
|
+
defs: {
|
|
12032
|
+
main: {
|
|
12033
|
+
type: 'query',
|
|
12034
|
+
description: 'Query available sets',
|
|
12035
|
+
parameters: {
|
|
12036
|
+
type: 'params',
|
|
12037
|
+
properties: {
|
|
12038
|
+
limit: {
|
|
12039
|
+
type: 'integer',
|
|
12040
|
+
minimum: 1,
|
|
12041
|
+
maximum: 100,
|
|
12042
|
+
default: 50,
|
|
12043
|
+
},
|
|
12044
|
+
cursor: {
|
|
12045
|
+
type: 'string',
|
|
12046
|
+
},
|
|
12047
|
+
namePrefix: {
|
|
12048
|
+
type: 'string',
|
|
12049
|
+
},
|
|
12050
|
+
sortBy: {
|
|
12051
|
+
type: 'string',
|
|
12052
|
+
enum: ['name', 'createdAt', 'updatedAt'],
|
|
12053
|
+
default: 'name',
|
|
12054
|
+
},
|
|
12055
|
+
sortDirection: {
|
|
12056
|
+
type: 'string',
|
|
12057
|
+
default: 'asc',
|
|
12058
|
+
enum: ['asc', 'desc'],
|
|
12059
|
+
description: 'Defaults to ascending order of name field.',
|
|
12060
|
+
},
|
|
12061
|
+
},
|
|
12062
|
+
},
|
|
12063
|
+
output: {
|
|
12064
|
+
encoding: 'application/json',
|
|
12065
|
+
schema: {
|
|
12066
|
+
type: 'object',
|
|
12067
|
+
required: ['sets'],
|
|
12068
|
+
properties: {
|
|
12069
|
+
sets: {
|
|
12070
|
+
type: 'array',
|
|
12071
|
+
items: {
|
|
12072
|
+
type: 'ref',
|
|
12073
|
+
ref: 'lex:tools.ozone.set.defs#setView',
|
|
12074
|
+
},
|
|
12075
|
+
},
|
|
12076
|
+
cursor: {
|
|
12077
|
+
type: 'string',
|
|
12078
|
+
},
|
|
12079
|
+
},
|
|
12080
|
+
},
|
|
12081
|
+
},
|
|
12082
|
+
},
|
|
12083
|
+
},
|
|
12084
|
+
},
|
|
12085
|
+
ToolsOzoneSetUpsertSet: {
|
|
12086
|
+
lexicon: 1,
|
|
12087
|
+
id: 'tools.ozone.set.upsertSet',
|
|
12088
|
+
defs: {
|
|
12089
|
+
main: {
|
|
12090
|
+
type: 'procedure',
|
|
12091
|
+
description: 'Create or update set metadata',
|
|
12092
|
+
input: {
|
|
12093
|
+
encoding: 'application/json',
|
|
12094
|
+
schema: {
|
|
12095
|
+
type: 'ref',
|
|
12096
|
+
ref: 'lex:tools.ozone.set.defs#set',
|
|
12097
|
+
},
|
|
12098
|
+
},
|
|
12099
|
+
output: {
|
|
12100
|
+
encoding: 'application/json',
|
|
12101
|
+
schema: {
|
|
12102
|
+
type: 'ref',
|
|
12103
|
+
ref: 'lex:tools.ozone.set.defs#setView',
|
|
12104
|
+
},
|
|
12105
|
+
},
|
|
12106
|
+
},
|
|
12107
|
+
},
|
|
12108
|
+
},
|
|
11818
12109
|
ToolsOzoneSignatureDefs: {
|
|
11819
12110
|
lexicon: 1,
|
|
11820
12111
|
id: 'tools.ozone.signature.defs',
|
|
@@ -12414,6 +12705,13 @@ exports.ids = {
|
|
|
12414
12705
|
ToolsOzoneModerationQueryStatuses: 'tools.ozone.moderation.queryStatuses',
|
|
12415
12706
|
ToolsOzoneModerationSearchRepos: 'tools.ozone.moderation.searchRepos',
|
|
12416
12707
|
ToolsOzoneServerGetConfig: 'tools.ozone.server.getConfig',
|
|
12708
|
+
ToolsOzoneSetAddValues: 'tools.ozone.set.addValues',
|
|
12709
|
+
ToolsOzoneSetDefs: 'tools.ozone.set.defs',
|
|
12710
|
+
ToolsOzoneSetDeleteSet: 'tools.ozone.set.deleteSet',
|
|
12711
|
+
ToolsOzoneSetDeleteValues: 'tools.ozone.set.deleteValues',
|
|
12712
|
+
ToolsOzoneSetGetValues: 'tools.ozone.set.getValues',
|
|
12713
|
+
ToolsOzoneSetQuerySets: 'tools.ozone.set.querySets',
|
|
12714
|
+
ToolsOzoneSetUpsertSet: 'tools.ozone.set.upsertSet',
|
|
12417
12715
|
ToolsOzoneSignatureDefs: 'tools.ozone.signature.defs',
|
|
12418
12716
|
ToolsOzoneSignatureFindCorrelation: 'tools.ozone.signature.findCorrelation',
|
|
12419
12717
|
ToolsOzoneSignatureFindRelatedAccounts: 'tools.ozone.signature.findRelatedAccounts',
|