Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update lexicons fetched from 514aab9 committed 2024-02-22T15:43:58Z #288

Merged
merged 1 commit into from
Feb 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions docs/source/aliases_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,14 @@
'models.ComAtprotoAdminSendEmail': 'atproto_client.models.com.atproto.admin.send_email',
'models.ComAtprotoAdminUpdateAccountEmail': 'atproto_client.models.com.atproto.admin.update_account_email',
'models.ComAtprotoAdminUpdateAccountHandle': 'atproto_client.models.com.atproto.admin.update_account_handle',
'models.ComAtprotoAdminUpdateAccountPassword': 'atproto_client.models.com.atproto.admin.update_account_password',
'models.ComAtprotoAdminUpdateCommunicationTemplate': 'atproto_client.models.com.atproto.admin.update_communication_template',
'models.ComAtprotoAdminUpdateSubjectStatus': 'atproto_client.models.com.atproto.admin.update_subject_status',
'models.ComAtprotoIdentityGetRecommendedDidCredentials': 'atproto_client.models.com.atproto.identity.get_recommended_did_credentials',
'models.ComAtprotoIdentityRequestPlcOperationSignature': 'atproto_client.models.com.atproto.identity.request_plc_operation_signature',
'models.ComAtprotoIdentityResolveHandle': 'atproto_client.models.com.atproto.identity.resolve_handle',
'models.ComAtprotoIdentitySignPlcOperation': 'atproto_client.models.com.atproto.identity.sign_plc_operation',
'models.ComAtprotoIdentitySubmitPlcOperation': 'atproto_client.models.com.atproto.identity.submit_plc_operation',
'models.ComAtprotoIdentityUpdateHandle': 'atproto_client.models.com.atproto.identity.update_handle',
'models.ComAtprotoLabelDefs': 'atproto_client.models.com.atproto.label.defs',
'models.ComAtprotoLabelQueryLabels': 'atproto_client.models.com.atproto.label.query_labels',
Expand All @@ -100,21 +105,27 @@
'models.ComAtprotoRepoDeleteRecord': 'atproto_client.models.com.atproto.repo.delete_record',
'models.ComAtprotoRepoDescribeRepo': 'atproto_client.models.com.atproto.repo.describe_repo',
'models.ComAtprotoRepoGetRecord': 'atproto_client.models.com.atproto.repo.get_record',
'models.ComAtprotoRepoImportRepo': 'atproto_client.models.com.atproto.repo.import_repo',
'models.ComAtprotoRepoListMissingBlobs': 'atproto_client.models.com.atproto.repo.list_missing_blobs',
'models.ComAtprotoRepoListRecords': 'atproto_client.models.com.atproto.repo.list_records',
'models.ComAtprotoRepoPutRecord': 'atproto_client.models.com.atproto.repo.put_record',
'models.ComAtprotoRepoStrongRef': 'atproto_client.models.com.atproto.repo.strong_ref',
'models.ComAtprotoRepoUploadBlob': 'atproto_client.models.com.atproto.repo.upload_blob',
'models.ComAtprotoServerActivateAccount': 'atproto_client.models.com.atproto.server.activate_account',
'models.ComAtprotoServerCheckAccountStatus': 'atproto_client.models.com.atproto.server.check_account_status',
'models.ComAtprotoServerConfirmEmail': 'atproto_client.models.com.atproto.server.confirm_email',
'models.ComAtprotoServerCreateAccount': 'atproto_client.models.com.atproto.server.create_account',
'models.ComAtprotoServerCreateAppPassword': 'atproto_client.models.com.atproto.server.create_app_password',
'models.ComAtprotoServerCreateInviteCode': 'atproto_client.models.com.atproto.server.create_invite_code',
'models.ComAtprotoServerCreateInviteCodes': 'atproto_client.models.com.atproto.server.create_invite_codes',
'models.ComAtprotoServerCreateSession': 'atproto_client.models.com.atproto.server.create_session',
'models.ComAtprotoServerDeactivateAccount': 'atproto_client.models.com.atproto.server.deactivate_account',
'models.ComAtprotoServerDefs': 'atproto_client.models.com.atproto.server.defs',
'models.ComAtprotoServerDeleteAccount': 'atproto_client.models.com.atproto.server.delete_account',
'models.ComAtprotoServerDeleteSession': 'atproto_client.models.com.atproto.server.delete_session',
'models.ComAtprotoServerDescribeServer': 'atproto_client.models.com.atproto.server.describe_server',
'models.ComAtprotoServerGetAccountInviteCodes': 'atproto_client.models.com.atproto.server.get_account_invite_codes',
'models.ComAtprotoServerGetServiceAuth': 'atproto_client.models.com.atproto.server.get_service_auth',
'models.ComAtprotoServerGetSession': 'atproto_client.models.com.atproto.server.get_session',
'models.ComAtprotoServerListAppPasswords': 'atproto_client.models.com.atproto.server.list_app_passwords',
'models.ComAtprotoServerRefreshSession': 'atproto_client.models.com.atproto.server.refresh_session',
Expand All @@ -140,8 +151,5 @@
'models.ComAtprotoSyncSubscribeRepos': 'atproto_client.models.com.atproto.sync.subscribe_repos',
'models.ComAtprotoTempCheckSignupQueue': 'atproto_client.models.com.atproto.temp.check_signup_queue',
'models.ComAtprotoTempFetchLabels': 'atproto_client.models.com.atproto.temp.fetch_labels',
'models.ComAtprotoTempImportRepo': 'atproto_client.models.com.atproto.temp.import_repo',
'models.ComAtprotoTempPushBlob': 'atproto_client.models.com.atproto.temp.push_blob',
'models.ComAtprotoTempRequestPhoneVerification': 'atproto_client.models.com.atproto.temp.request_phone_verification',
'models.ComAtprotoTempTransferAccount': 'atproto_client.models.com.atproto.temp.transfer_account',
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,6 @@ Submodules
atproto_client.models.com.atproto.admin.send_email
atproto_client.models.com.atproto.admin.update_account_email
atproto_client.models.com.atproto.admin.update_account_handle
atproto_client.models.com.atproto.admin.update_account_password
atproto_client.models.com.atproto.admin.update_communication_template
atproto_client.models.com.atproto.admin.update_subject_status
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
com.atproto.admin.update\_account\_password
==================================================================

.. automodule:: atproto_client.models.com.atproto.admin.update_account_password
:members:
:undoc-members:
:show-inheritance:
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
com.atproto.identity.get\_recommended\_did\_credentials
==============================================================================

.. automodule:: atproto_client.models.com.atproto.identity.get_recommended_did_credentials
:members:
:undoc-members:
:show-inheritance:
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
com.atproto.identity.request\_plc\_operation\_signature
==============================================================================

.. automodule:: atproto_client.models.com.atproto.identity.request_plc_operation_signature
:members:
:undoc-members:
:show-inheritance:
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,9 @@ Submodules
.. toctree::
:maxdepth: 4

atproto_client.models.com.atproto.identity.get_recommended_did_credentials
atproto_client.models.com.atproto.identity.request_plc_operation_signature
atproto_client.models.com.atproto.identity.resolve_handle
atproto_client.models.com.atproto.identity.sign_plc_operation
atproto_client.models.com.atproto.identity.submit_plc_operation
atproto_client.models.com.atproto.identity.update_handle
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
com.atproto.identity.sign\_plc\_operation
================================================================

.. automodule:: atproto_client.models.com.atproto.identity.sign_plc_operation
:members:
:undoc-members:
:show-inheritance:
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
com.atproto.identity.submit\_plc\_operation
==================================================================

.. automodule:: atproto_client.models.com.atproto.identity.submit_plc_operation
:members:
:undoc-members:
:show-inheritance:
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
com.atproto.temp.import\_repo
com.atproto.repo.import\_repo
====================================================

.. automodule:: atproto_client.models.com.atproto.temp.import_repo
.. automodule:: atproto_client.models.com.atproto.repo.import_repo
:members:
:undoc-members:
:show-inheritance:
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
com.atproto.repo.list\_missing\_blobs
============================================================

.. automodule:: atproto_client.models.com.atproto.repo.list_missing_blobs
:members:
:undoc-members:
:show-inheritance:
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ Submodules
atproto_client.models.com.atproto.repo.delete_record
atproto_client.models.com.atproto.repo.describe_repo
atproto_client.models.com.atproto.repo.get_record
atproto_client.models.com.atproto.repo.import_repo
atproto_client.models.com.atproto.repo.list_missing_blobs
atproto_client.models.com.atproto.repo.list_records
atproto_client.models.com.atproto.repo.put_record
atproto_client.models.com.atproto.repo.strong_ref
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
com.atproto.server.activate\_account
===========================================================

.. automodule:: atproto_client.models.com.atproto.server.activate_account
:members:
:undoc-members:
:show-inheritance:
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
com.atproto.server.check\_account\_status
================================================================

.. automodule:: atproto_client.models.com.atproto.server.check_account_status
:members:
:undoc-members:
:show-inheritance:
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
com.atproto.server.deactivate\_account
=============================================================

.. automodule:: atproto_client.models.com.atproto.server.deactivate_account
:members:
:undoc-members:
:show-inheritance:
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
com.atproto.server.get\_service\_auth
============================================================

.. automodule:: atproto_client.models.com.atproto.server.get_service_auth
:members:
:undoc-members:
:show-inheritance:
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,21 @@ Submodules
.. toctree::
:maxdepth: 4

atproto_client.models.com.atproto.server.activate_account
atproto_client.models.com.atproto.server.check_account_status
atproto_client.models.com.atproto.server.confirm_email
atproto_client.models.com.atproto.server.create_account
atproto_client.models.com.atproto.server.create_app_password
atproto_client.models.com.atproto.server.create_invite_code
atproto_client.models.com.atproto.server.create_invite_codes
atproto_client.models.com.atproto.server.create_session
atproto_client.models.com.atproto.server.deactivate_account
atproto_client.models.com.atproto.server.defs
atproto_client.models.com.atproto.server.delete_account
atproto_client.models.com.atproto.server.delete_session
atproto_client.models.com.atproto.server.describe_server
atproto_client.models.com.atproto.server.get_account_invite_codes
atproto_client.models.com.atproto.server.get_service_auth
atproto_client.models.com.atproto.server.get_session
atproto_client.models.com.atproto.server.list_app_passwords
atproto_client.models.com.atproto.server.refresh_session
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,4 @@ Submodules

atproto_client.models.com.atproto.temp.check_signup_queue
atproto_client.models.com.atproto.temp.fetch_labels
atproto_client.models.com.atproto.temp.import_repo
atproto_client.models.com.atproto.temp.push_blob
atproto_client.models.com.atproto.temp.request_phone_verification
atproto_client.models.com.atproto.temp.transfer_account

This file was deleted.

56 changes: 55 additions & 1 deletion lexicons/app.bsky.actor.defs.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,9 @@
"#personalDetailsPref",
"#feedViewPref",
"#threadViewPref",
"#interestsPref"
"#interestsPref",
"#mutedWordsPref",
"#hiddenPostsPref"
]
}
},
Expand Down Expand Up @@ -215,6 +217,58 @@
"description": "A list of tags which describe the account owner's interests gathered during onboarding."
}
}
},
"mutedWordTarget": {
"type": "string",
"knownValues": ["content", "tag"],
"maxLength": 640,
"maxGraphemes": 64
},
"mutedWord": {
"type": "object",
"description": "A word that the account owner has muted.",
"required": ["value", "targets"],
"properties": {
"value": {
"type": "string",
"description": "The muted word itself.",
"maxLength": 10000,
"maxGraphemes": 1000
},
"targets": {
"type": "array",
"description": "The intended targets of the muted word.",
"items": {
"type": "ref",
"ref": "app.bsky.actor.defs#mutedWordTarget"
}
}
}
},
"mutedWordsPref": {
"type": "object",
"required": ["items"],
"properties": {
"items": {
"type": "array",
"items": {
"type": "ref",
"ref": "app.bsky.actor.defs#mutedWord"
},
"description": "A list of words the account owner has muted."
}
}
},
"hiddenPostsPref": {
"type": "object",
"required": ["items"],
"properties": {
"items": {
"type": "array",
"items": { "type": "string", "format": "at-uri" },
"description": "A list of URIs of posts the account owner has hidden."
}
}
}
}
}
25 changes: 25 additions & 0 deletions lexicons/com.atproto.admin.defs.json
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,10 @@
"suspendUntil": {
"type": "string",
"format": "datetime"
},
"tags": {
"type": "array",
"items": { "type": "string" }
}
}
},
Expand Down Expand Up @@ -587,6 +591,27 @@
}
}
},
"modEventTag": {
"type": "object",
"description": "Add/Remove a tag on a subject",
"required": ["add", "remove"],
"properties": {
"add": {
"type": "array",
"items": { "type": "string" },
"description": "Tags to be added to the subject. If already exists, won't be duplicated."
},
"remove": {
"type": "array",
"items": { "type": "string" },
"description": "Tags to be removed to the subject. Ignores a tag If it doesn't exist, won't be duplicated."
},
"comment": {
"type": "string",
"description": "Additional comment about added/removed tags."
}
}
},
"communicationTemplateView": {
"type": "object",
"required": [
Expand Down
3 changes: 2 additions & 1 deletion lexicons/com.atproto.admin.emitModerationEvent.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"com.atproto.admin.defs#modEventMute",
"com.atproto.admin.defs#modEventReverseTakedown",
"com.atproto.admin.defs#modEventUnmute",
"com.atproto.admin.defs#modEventEmail"
"com.atproto.admin.defs#modEventEmail",
"com.atproto.admin.defs#modEventTag"
]
},
"subject": {
Expand Down
10 changes: 10 additions & 0 deletions lexicons/com.atproto.admin.queryModerationEvents.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,16 @@
"items": { "type": "string" },
"description": "If specified, only events where all of these labels were removed are returned"
},
"addedTags": {
"type": "array",
"items": { "type": "string" },
"description": "If specified, only events where all of these tags were added are returned"
},
"removedTags": {
"type": "array",
"items": { "type": "string" },
"description": "If specified, only events where all of these tags were removed are returned"
},
"reportTypes": {
"type": "array",
"items": {
Expand Down
8 changes: 8 additions & 0 deletions lexicons/com.atproto.admin.queryModerationStatuses.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,14 @@
"maximum": 100,
"default": 50
},
"tags": {
"type": "array",
"items": { "type": "string" }
},
"excludeTags": {
"type": "array",
"items": { "type": "string" }
},
"cursor": { "type": "string" }
}
},
Expand Down
21 changes: 21 additions & 0 deletions lexicons/com.atproto.admin.updateAccountPassword.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"lexicon": 1,
"id": "com.atproto.admin.updateAccountPassword",
"defs": {
"main": {
"type": "procedure",
"description": "Update the password for a user account as an administrator.",
"input": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": ["did", "password"],
"properties": {
"did": { "type": "string", "format": "did" },
"password": { "type": "string" }
}
}
}
}
}
}
Loading
Loading