Skip to content

Commit

Permalink
Update lexicons fetched from 48d08a4 committed 2024-11-13T20:11:16Z
Browse files Browse the repository at this point in the history
  • Loading branch information
MarshalX committed Nov 14, 2024
1 parent 5c31f3b commit 4b57192
Show file tree
Hide file tree
Showing 41 changed files with 1,142 additions and 29 deletions.
5 changes: 5 additions & 0 deletions docs/source/aliases_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
'models.AppBskyNotificationUpdateSeen': 'atproto_client.models.app.bsky.notification.update_seen',
'models.AppBskyRichtextFacet': 'atproto_client.models.app.bsky.richtext.facet',
'models.AppBskyUnspeccedDefs': 'atproto_client.models.app.bsky.unspecced.defs',
'models.AppBskyUnspeccedGetConfig': 'atproto_client.models.app.bsky.unspecced.get_config',
'models.AppBskyUnspeccedGetPopularFeedGenerators': 'atproto_client.models.app.bsky.unspecced.get_popular_feed_generators',
'models.AppBskyUnspeccedGetSuggestionsSkeleton': 'atproto_client.models.app.bsky.unspecced.get_suggestions_skeleton',
'models.AppBskyUnspeccedGetTaggedSuggestions': 'atproto_client.models.app.bsky.unspecced.get_tagged_suggestions',
Expand Down Expand Up @@ -208,6 +209,10 @@
'models.ToolsOzoneSetGetValues': 'atproto_client.models.tools.ozone.set.get_values',
'models.ToolsOzoneSetQuerySets': 'atproto_client.models.tools.ozone.set.query_sets',
'models.ToolsOzoneSetUpsertSet': 'atproto_client.models.tools.ozone.set.upsert_set',
'models.ToolsOzoneSettingDefs': 'atproto_client.models.tools.ozone.setting.defs',
'models.ToolsOzoneSettingListOptions': 'atproto_client.models.tools.ozone.setting.list_options',
'models.ToolsOzoneSettingRemoveOptions': 'atproto_client.models.tools.ozone.setting.remove_options',
'models.ToolsOzoneSettingUpsertOption': 'atproto_client.models.tools.ozone.setting.upsert_option',
'models.ToolsOzoneSignatureDefs': 'atproto_client.models.tools.ozone.signature.defs',
'models.ToolsOzoneSignatureFindCorrelation': 'atproto_client.models.tools.ozone.signature.find_correlation',
'models.ToolsOzoneSignatureFindRelatedAccounts': 'atproto_client.models.tools.ozone.signature.find_related_accounts',
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
app.bsky.unspecced.get\_config
=====================================================

.. automodule:: atproto_client.models.app.bsky.unspecced.get_config
:members:
:undoc-members:
:show-inheritance:
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Submodules
:maxdepth: 4

atproto_client.models.app.bsky.unspecced.defs
atproto_client.models.app.bsky.unspecced.get_config
atproto_client.models.app.bsky.unspecced.get_popular_feed_generators
atproto_client.models.app.bsky.unspecced.get_suggestions_skeleton
atproto_client.models.app.bsky.unspecced.get_tagged_suggestions
Expand Down
1 change: 1 addition & 0 deletions docs/source/atproto/atproto_client.models.tools.ozone.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ Subpackages
atproto_client.models.tools.ozone.moderation
atproto_client.models.tools.ozone.server
atproto_client.models.tools.ozone.set
atproto_client.models.tools.ozone.setting
atproto_client.models.tools.ozone.signature
atproto_client.models.tools.ozone.team
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
tools.ozone.setting.defs
===============================================

.. automodule:: atproto_client.models.tools.ozone.setting.defs
:members:
:undoc-members:
:show-inheritance:
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
tools.ozone.setting.list\_options
========================================================

.. automodule:: atproto_client.models.tools.ozone.setting.list_options
:members:
:undoc-members:
:show-inheritance:
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
tools.ozone.setting.remove\_options
==========================================================

.. automodule:: atproto_client.models.tools.ozone.setting.remove_options
:members:
:undoc-members:
:show-inheritance:
18 changes: 18 additions & 0 deletions docs/source/atproto/atproto_client.models.tools.ozone.setting.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
tools.ozone.setting
==========================================

.. automodule:: atproto_client.models.tools.ozone.setting
:members:
:undoc-members:
:show-inheritance:

Submodules
----------

.. toctree::
:maxdepth: 4

atproto_client.models.tools.ozone.setting.defs
atproto_client.models.tools.ozone.setting.list_options
atproto_client.models.tools.ozone.setting.remove_options
atproto_client.models.tools.ozone.setting.upsert_option
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
tools.ozone.setting.upsert\_option
=========================================================

.. automodule:: atproto_client.models.tools.ozone.setting.upsert_option
:members:
:undoc-members:
:show-inheritance:
20 changes: 20 additions & 0 deletions lexicons/app.bsky.unspecced.getConfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"lexicon": 1,
"id": "app.bsky.unspecced.getConfig",
"defs": {
"main": {
"type": "query",
"description": "Get miscellaneous runtime configuration.",
"output": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": [],
"properties": {
"checkEmailConfirmed": { "type": "boolean" }
}
}
}
}
}
}
1 change: 1 addition & 0 deletions lexicons/chat.bsky.convo.defs.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@
"refs": ["#messageView", "#deletedMessageView"]
},
"muted": { "type": "boolean" },
"opened": { "type": "boolean" },
"unreadCount": { "type": "integer" }
}
},
Expand Down
17 changes: 16 additions & 1 deletion lexicons/com.atproto.admin.defs.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,14 @@
"invitesDisabled": { "type": "boolean" },
"emailConfirmedAt": { "type": "string", "format": "datetime" },
"inviteNote": { "type": "string" },
"deactivatedAt": { "type": "string", "format": "datetime" }
"deactivatedAt": { "type": "string", "format": "datetime" },
"threatSignatures": {
"type": "array",
"items": {
"type": "ref",
"ref": "#threatSignature"
}
}
}
},
"repoRef": {
Expand All @@ -51,6 +58,14 @@
"cid": { "type": "string", "format": "cid" },
"recordUri": { "type": "string", "format": "at-uri" }
}
},
"threatSignature": {
"type": "object",
"required": ["property", "value"],
"properties": {
"property": { "type": "string" },
"value": { "type": "string" }
}
}
}
}
2 changes: 1 addition & 1 deletion lexicons/com.atproto.repo.applyWrites.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"required": ["collection", "value"],
"properties": {
"collection": { "type": "string", "format": "nsid" },
"rkey": { "type": "string", "maxLength": 15 },
"rkey": { "type": "string", "maxLength": 512 },
"value": { "type": "unknown" }
}
},
Expand Down
2 changes: 1 addition & 1 deletion lexicons/com.atproto.repo.createRecord.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"rkey": {
"type": "string",
"description": "The Record Key.",
"maxLength": 15
"maxLength": 512
},
"validate": {
"type": "boolean",
Expand Down
2 changes: 1 addition & 1 deletion lexicons/com.atproto.repo.putRecord.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"rkey": {
"type": "string",
"description": "The Record Key.",
"maxLength": 15
"maxLength": 512
},
"validate": {
"type": "boolean",
Expand Down
149 changes: 143 additions & 6 deletions lexicons/tools.ozone.moderation.defs.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@
"#modEventEmail",
"#modEventResolveAppeal",
"#modEventDivert",
"#modEventTag"
"#modEventTag",
"#accountEvent",
"#identityEvent",
"#recordEvent"
]
},
"subject": {
Expand Down Expand Up @@ -78,7 +81,10 @@
"#modEventEmail",
"#modEventResolveAppeal",
"#modEventDivert",
"#modEventTag"
"#modEventTag",
"#accountEvent",
"#identityEvent",
"#recordEvent"
]
},
"subject": {
Expand Down Expand Up @@ -110,6 +116,10 @@
"com.atproto.repo.strongRef"
]
},
"hosting": {
"type": "union",
"refs": ["#accountHosting", "#recordHosting"]
},
"subjectBlobCids": {
"type": "array",
"items": { "type": "string", "format": "cid" }
Expand Down Expand Up @@ -324,12 +334,11 @@
"modEventMuteReporter": {
"type": "object",
"description": "Mute incoming reports from an account",
"required": ["durationInHours"],
"properties": {
"comment": { "type": "string" },
"durationInHours": {
"type": "integer",
"description": "Indicates how long the account should remain muted."
"description": "Indicates how long the account should remain muted. Falsy value here means a permanent mute."
}
}
},
Expand Down Expand Up @@ -390,6 +399,62 @@
}
}
},
"accountEvent": {
"type": "object",
"description": "Logs account status related events on a repo subject. Normally captured by automod from the firehose and emitted to ozone for historical tracking.",
"required": ["timestamp", "active"],
"properties": {
"comment": { "type": "string" },
"active": {
"type": "boolean",
"description": "Indicates that the account has a repository which can be fetched from the host that emitted this event."
},
"status": {
"type": "string",
"knownValues": [
"unknown",
"deactivated",
"deleted",
"takendown",
"suspended",
"tombstoned"
]
},
"timestamp": {
"type": "string",
"format": "datetime"
}
}
},
"identityEvent": {
"type": "object",
"description": "Logs identity related events on a repo subject. Normally captured by automod from the firehose and emitted to ozone for historical tracking.",
"required": ["timestamp"],
"properties": {
"comment": { "type": "string" },
"handle": { "type": "string", "format": "handle" },
"pdsHost": { "type": "string", "format": "uri" },
"tombstone": { "type": "boolean" },
"timestamp": {
"type": "string",
"format": "datetime"
}
}
},
"recordEvent": {
"type": "object",
"description": "Logs lifecycle event on a record subject. Normally captured by automod from the firehose and emitted to ozone for historical tracking.",
"required": ["timestamp", "op"],
"properties": {
"comment": { "type": "string" },
"op": {
"type": "string",
"knownValues": ["create", "update", "delete"]
},
"cid": { "type": "string", "format": "cid" },
"timestamp": { "type": "string", "format": "datetime" }
}
},
"repoView": {
"type": "object",
"required": [
Expand All @@ -412,7 +477,14 @@
},
"invitesDisabled": { "type": "boolean" },
"inviteNote": { "type": "string" },
"deactivatedAt": { "type": "string", "format": "datetime" }
"deactivatedAt": { "type": "string", "format": "datetime" },
"threatSignatures": {
"type": "array",
"items": {
"type": "ref",
"ref": "com.atproto.admin.defs#threatSignature"
}
}
}
},
"repoViewDetail": {
Expand Down Expand Up @@ -449,7 +521,14 @@
"invitesDisabled": { "type": "boolean" },
"inviteNote": { "type": "string" },
"emailConfirmedAt": { "type": "string", "format": "datetime" },
"deactivatedAt": { "type": "string", "format": "datetime" }
"deactivatedAt": { "type": "string", "format": "datetime" },
"threatSignatures": {
"type": "array",
"items": {
"type": "ref",
"ref": "com.atproto.admin.defs#threatSignature"
}
}
}
},
"repoViewNotFound": {
Expand Down Expand Up @@ -564,6 +643,64 @@
"height": { "type": "integer" },
"length": { "type": "integer" }
}
},
"accountHosting": {
"type": "object",
"required": ["status"],
"properties": {
"status": {
"type": "string",
"knownValues": [
"takendown",
"suspended",
"deleted",
"deactivated",
"unknown"
]
},
"updatedAt": {
"type": "string",
"format": "datetime"
},
"createdAt": {
"type": "string",
"format": "datetime"
},
"deletedAt": {
"type": "string",
"format": "datetime"
},
"deactivatedAt": {
"type": "string",
"format": "datetime"
},
"reactivatedAt": {
"type": "string",
"format": "datetime"
}
}
},
"recordHosting": {
"type": "object",
"required": ["status"],
"properties": {
"status": {
"type": "string",
"knownValues": ["deleted", "unknown"]
},
"updatedAt": {
"type": "string",
"format": "datetime"
},
"createdAt": {
"type": "string",
"format": "datetime"
},
"deletedAt": {
"type": "string",
"format": "datetime"
}
}
}
}
}
Loading

0 comments on commit 4b57192

Please sign in to comment.