Skip to content

Commit

Permalink
Update lexicons fetched from d377d1a committed 2025-01-31T19:48:10Z (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
MarshalX authored Feb 2, 2025
1 parent c5d8f95 commit 98dd5fd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lexicons/tools.ozone.moderation.defs.json
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,10 @@
"negateLabelVals": {
"type": "array",
"items": { "type": "string" }
},
"durationInHours": {
"type": "integer",
"description": "Indicates how long the label will remain on the subject. Only applies on labels that are being added."
}
}
},
Expand Down
3 changes: 3 additions & 0 deletions packages/atproto_client/models/tools/ozone/moderation/defs.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,9 @@ class ModEventLabel(base.ModelBase):
create_label_vals: t.List[str] #: Create label vals.
negate_label_vals: t.List[str] #: Negate label vals.
comment: t.Optional[str] = None #: Comment.
duration_in_hours: t.Optional[int] = (
None #: Indicates how long the label will remain on the subject. Only applies on labels that are being added.
)

py_type: t.Literal['tools.ozone.moderation.defs#modEventLabel'] = Field(
default='tools.ozone.moderation.defs#modEventLabel', alias='$type', frozen=True
Expand Down

0 comments on commit 98dd5fd

Please sign in to comment.