@atproto/pds 0.4.193 → 0.4.194
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 +13 -0
- package/dist/lexicon/lexicons.d.ts +66 -0
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +33 -0
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts +4 -0
- package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts.map +1 -1
- package/dist/lexicon/types/tools/ozone/moderation/defs.js.map +1 -1
- package/dist/lexicon/types/tools/ozone/moderation/scheduleAction.d.ts +10 -0
- package/dist/lexicon/types/tools/ozone/moderation/scheduleAction.d.ts.map +1 -1
- package/dist/lexicon/types/tools/ozone/moderation/scheduleAction.js.map +1 -1
- package/package.json +6 -6
- package/src/lexicon/lexicons.ts +39 -0
- package/src/lexicon/types/tools/ozone/moderation/defs.ts +4 -0
- package/src/lexicon/types/tools/ozone/moderation/scheduleAction.ts +10 -0
|
@@ -172,6 +172,8 @@ export interface ModEventTakedown {
|
|
|
172
172
|
policies?: string[];
|
|
173
173
|
/** Severity level of the violation (e.g., 'sev-0', 'sev-1', 'sev-2', etc.). */
|
|
174
174
|
severityLevel?: string;
|
|
175
|
+
/** List of services where the takedown should be applied. If empty or not provided, takedown is applied on all configured services. */
|
|
176
|
+
targetServices?: ('appview' | 'pds' | (string & {}))[];
|
|
175
177
|
/** Number of strikes to assign to the user for this violation. */
|
|
176
178
|
strikeCount?: number;
|
|
177
179
|
/** When the strike should expire. If not provided, the strike never expires. */
|
|
@@ -342,6 +344,8 @@ export interface ModEventEmail {
|
|
|
342
344
|
strikeCount?: number;
|
|
343
345
|
/** When the strike should expire. If not provided, the strike never expires. */
|
|
344
346
|
strikeExpiresAt?: string;
|
|
347
|
+
/** Indicates whether the email was successfully delivered to the user's inbox. */
|
|
348
|
+
isDelivered?: boolean;
|
|
345
349
|
}
|
|
346
350
|
export declare function isModEventEmail<V>(v: V): v is import("../../../../util").$TypedObject<V, "tools.ozone.moderation.defs", "modEventEmail">;
|
|
347
351
|
export declare function validateModEventEmail<V>(v: V): ValidationResult<ModEventEmail & V>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/moderation/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,kBAAkB,CAAA;AACzB,OAAO,KAAK,KAAK,mBAAmB,MAAM,oCAAoC,CAAA;AAC9E,OAAO,KAAK,KAAK,uBAAuB,MAAM,wCAAwC,CAAA;AACtF,OAAO,KAAK,KAAK,iBAAiB,MAAM,kCAAkC,CAAA;AAC1E,OAAO,KAAK,KAAK,wBAAwB,MAAM,yCAAyC,CAAA;AACxF,OAAO,KAAK,KAAK,oBAAoB,MAAM,qCAAqC,CAAA;AAChF,OAAO,KAAK,KAAK,mBAAmB,MAAM,oCAAoC,CAAA;AAM9E,MAAM,WAAW,YAAY;IAC3B,KAAK,CAAC,EAAE,0CAA0C,CAAA;IAClD,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EACD,MAAM,CAAC,gBAAgB,CAAC,GACxB,MAAM,CAAC,uBAAuB,CAAC,GAC/B,MAAM,CAAC,eAAe,CAAC,GACvB,MAAM,CAAC,cAAc,CAAC,GACtB,MAAM,CAAC,aAAa,CAAC,GACrB,MAAM,CAAC,mBAAmB,CAAC,GAC3B,MAAM,CAAC,gBAAgB,CAAC,GACxB,MAAM,CAAC,YAAY,CAAC,GACpB,MAAM,CAAC,cAAc,CAAC,GACtB,MAAM,CAAC,oBAAoB,CAAC,GAC5B,MAAM,CAAC,sBAAsB,CAAC,GAC9B,MAAM,CAAC,aAAa,CAAC,GACrB,MAAM,CAAC,qBA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;CAC1B;AAID,wBAAgB,qBAAqB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,yGAE5C;AAED,wBAAgB,2BAA2B,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,6CAElD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/moderation/defs.ts"],"names":[],"mappings":";;;AAkEA,wCAEC;AAED,oDAEC;AA6CD,oDAEC;AAED,gEAEC;AAmDD,kDAEC;AAED,8DAEC;AAeD,sCAEC;AAED,kDAEC;AAmBD,wCAEC;AAED,oDAEC;AAyBD,wCAEC;AAED,oDAEC;AAiBD,0CAEC;AAED,sDAEC;AAsCD,gDAEC;AAED,4DAEC;AAiBD,8DAEC;AAED,0EAMC;AAWD,0DAEC;AAED,sEAEC;AAYD,8CAEC;AAED,0DAEC;AAaD,4CAEC;AAED,wDAEC;AAcD,0CAEC;AAED,sDAEC;AAWD,0DAEC;AAED,sEAEC;AAuBD,kDAEC;AAED,8DAEC;AAaD,kEAEC;AAED,8EAMC;AAWD,0EAEC;AAED,sFAMC;AAWD,sDAEC;AAED,kEAEC;AASD,gDAEC;AAED,4DAEC;AAYD,wCAEC;AAED,oDAEC;AAWD,4CAEC;AAED,wDAEC;AAYD,wDAEC;AAED,oEAEC;AAWD,4DAEC;AAED,wEAEC;AAuBD,0CAEC;AAED,sDAEC;AAUD,4CAEC;AAED,wDAEC;AAeD,sCAEC;AAED,kDAEC;AAqBD,wCAEC;AAED,oDAEC;AAcD,0CAEC;AAED,sDAEC;AAaD,sCAEC;AAED,kDAEC;AAaD,0DAEC;AAED,sEAEC;AAUD,wEAEC;AAED,oFAMC;AAmBD,gCAEC;AAED,4CAEC;AAsBD,4CAEC;AAED,wDAEC;AASD,gDAEC;AAED,4DAEC;AAeD,oCAEC;AAED,gDAEC;AAgBD,gDAEC;AAED,4DAEC;AASD,oDAEC;AAED,gEAEC;AASD,oCAEC;AAED,gD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AE,uBAAuB,CAAC,CAAA;AAC1E,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\nimport type * as ComAtprotoAdminDefs from '../../../com/atproto/admin/defs.js'\nimport type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js'\nimport type * as ChatBskyConvoDefs from '../../../chat/bsky/convo/defs.js'\nimport type * as ComAtprotoModerationDefs from '../../../com/atproto/moderation/defs.js'\nimport type * as ComAtprotoServerDefs from '../../../com/atproto/server/defs.js'\nimport type * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'tools.ozone.moderation.defs'\n\nexport interface ModEventView {\n $type?: 'tools.ozone.moderation.defs#modEventView'\n id: number\n event:\n | $Typed<ModEventTakedown>\n | $Typed<ModEventReverseTakedown>\n | $Typed<ModEventComment>\n | $Typed<ModEventReport>\n | $Typed<ModEventLabel>\n | $Typed<ModEventAcknowledge>\n | $Typed<ModEventEscalate>\n | $Typed<ModEventMute>\n | $Typed<ModEventUnmute>\n | $Typed<ModEventMuteReporter>\n | $Typed<ModEventUnmuteReporter>\n | $Typed<ModEventEmail>\n | $Typed<ModEventResolveAppeal>\n | $Typed<ModEventDivert>\n | $Typed<ModEventTag>\n | $Typed<AccountEvent>\n | $Typed<IdentityEvent>\n | $Typed<RecordEvent>\n | $Typed<ModEventPriorityScore>\n | $Typed<AgeAssuranceEvent>\n | $Typed<AgeAssuranceOverrideEvent>\n | $Typed<RevokeAccountCredentialsEvent>\n | $Typed<ScheduleTakedownEvent>\n | $Typed<CancelScheduledTakedownEvent>\n | { $type: string }\n subject:\n | $Typed<ComAtprotoAdminDefs.RepoRef>\n | $Typed<ComAtprotoRepoStrongRef.Main>\n | $Typed<ChatBskyConvoDefs.MessageRef>\n | { $type: string }\n subjectBlobCids: string[]\n createdBy: string\n createdAt: string\n creatorHandle?: string\n subjectHandle?: string\n modTool?: ModTool\n}\n\nconst hashModEventView = 'modEventView'\n\nexport function isModEventView<V>(v: V) {\n return is$typed(v, id, hashModEventView)\n}\n\nexport function validateModEventView<V>(v: V) {\n return validate<ModEventView & V>(v, id, hashModEventView)\n}\n\nexport interface ModEventViewDetail {\n $type?: 'tools.ozone.moderation.defs#modEventViewDetail'\n id: number\n event:\n | $Typed<ModEventTakedown>\n | $Typed<ModEventReverseTakedown>\n | $Typed<ModEventComment>\n | $Typed<ModEventReport>\n | $Typed<ModEventLabel>\n | $Typed<ModEventAcknowledge>\n | $Typed<ModEventEscalate>\n | $Typed<ModEventMute>\n | $Typed<ModEventUnmute>\n | $Typed<ModEventMuteReporter>\n | $Typed<ModEventUnmuteReporter>\n | $Typed<ModEventEmail>\n | $Typed<ModEventResolveAppeal>\n | $Typed<ModEventDivert>\n | $Typed<ModEventTag>\n | $Typed<AccountEvent>\n | $Typed<IdentityEvent>\n | $Typed<RecordEvent>\n | $Typed<ModEventPriorityScore>\n | $Typed<AgeAssuranceEvent>\n | $Typed<AgeAssuranceOverrideEvent>\n | $Typed<RevokeAccountCredentialsEvent>\n | $Typed<ScheduleTakedownEvent>\n | $Typed<CancelScheduledTakedownEvent>\n | { $type: string }\n subject:\n | $Typed<RepoView>\n | $Typed<RepoViewNotFound>\n | $Typed<RecordView>\n | $Typed<RecordViewNotFound>\n | { $type: string }\n subjectBlobs: BlobView[]\n createdBy: string\n createdAt: string\n modTool?: ModTool\n}\n\nconst hashModEventViewDetail = 'modEventViewDetail'\n\nexport function isModEventViewDetail<V>(v: V) {\n return is$typed(v, id, hashModEventViewDetail)\n}\n\nexport function validateModEventViewDetail<V>(v: V) {\n return validate<ModEventViewDetail & V>(v, id, hashModEventViewDetail)\n}\n\nexport interface SubjectStatusView {\n $type?: 'tools.ozone.moderation.defs#subjectStatusView'\n id: number\n subject:\n | $Typed<ComAtprotoAdminDefs.RepoRef>\n | $Typed<ComAtprotoRepoStrongRef.Main>\n | $Typed<ChatBskyConvoDefs.MessageRef>\n | { $type: string }\n hosting?: $Typed<AccountHosting> | $Typed<RecordHosting> | { $type: string }\n subjectBlobCids?: string[]\n subjectRepoHandle?: string\n /** Timestamp referencing when the last update was made to the moderation status of the subject */\n updatedAt: string\n /** Timestamp referencing the first moderation status impacting event was emitted on the subject */\n createdAt: string\n reviewState: SubjectReviewState\n /** Sticky comment on the subject. */\n comment?: string\n /** Numeric value representing the level of priority. Higher score means higher priority. */\n priorityScore?: number\n muteUntil?: string\n muteReportingUntil?: string\n lastReviewedBy?: string\n lastReviewedAt?: string\n lastReportedAt?: string\n /** Timestamp referencing when the author of the subject appealed a moderation action */\n lastAppealedAt?: string\n takendown?: boolean\n /** True indicates that the a previously taken moderator action was appealed against, by the author of the content. False indicates last appeal was resolved by moderators. */\n appealed?: boolean\n suspendUntil?: string\n tags?: string[]\n accountStats?: AccountStats\n recordsStats?: RecordsStats\n accountStrike?: AccountStrike\n /** Current age assurance state of the subject. */\n ageAssuranceState?:\n | 'pending'\n | 'assured'\n | 'unknown'\n | 'reset'\n | 'blocked'\n | (string & {})\n /** Whether or not the last successful update to age assurance was made by the user or admin. */\n ageAssuranceUpdatedBy?: 'admin' | 'user' | (string & {})\n}\n\nconst hashSubjectStatusView = 'subjectStatusView'\n\nexport function isSubjectStatusView<V>(v: V) {\n return is$typed(v, id, hashSubjectStatusView)\n}\n\nexport function validateSubjectStatusView<V>(v: V) {\n return validate<SubjectStatusView & V>(v, id, hashSubjectStatusView)\n}\n\n/** Detailed view of a subject. For record subjects, the author's repo and profile will be returned. */\nexport interface SubjectView {\n $type?: 'tools.ozone.moderation.defs#subjectView'\n type: ComAtprotoModerationDefs.SubjectType\n subject: string\n status?: SubjectStatusView\n repo?: RepoViewDetail\n profile?: { $type: string }\n record?: RecordViewDetail\n}\n\nconst hashSubjectView = 'subjectView'\n\nexport function isSubjectView<V>(v: V) {\n return is$typed(v, id, hashSubjectView)\n}\n\nexport function validateSubjectView<V>(v: V) {\n return validate<SubjectView & V>(v, id, hashSubjectView)\n}\n\n/** Statistics about a particular account subject */\nexport interface AccountStats {\n $type?: 'tools.ozone.moderation.defs#accountStats'\n /** Total number of reports on the account */\n reportCount?: number\n /** Total number of appeals against a moderation action on the account */\n appealCount?: number\n /** Number of times the account was suspended */\n suspendCount?: number\n /** Number of times the account was escalated */\n escalateCount?: number\n /** Number of times the account was taken down */\n takedownCount?: number\n}\n\nconst hashAccountStats = 'accountStats'\n\nexport function isAccountStats<V>(v: V) {\n return is$typed(v, id, hashAccountStats)\n}\n\nexport function validateAccountStats<V>(v: V) {\n return validate<AccountStats & V>(v, id, hashAccountStats)\n}\n\n/** Statistics about a set of record subject items */\nexport interface RecordsStats {\n $type?: 'tools.ozone.moderation.defs#recordsStats'\n /** Cumulative sum of the number of reports on the items in the set */\n totalReports?: number\n /** Number of items that were reported at least once */\n reportedCount?: number\n /** Number of items that were escalated at least once */\n escalatedCount?: number\n /** Number of items that were appealed at least once */\n appealedCount?: number\n /** Total number of item in the set */\n subjectCount?: number\n /** Number of item currently in \"reviewOpen\" or \"reviewEscalated\" state */\n pendingCount?: number\n /** Number of item currently in \"reviewNone\" or \"reviewClosed\" state */\n processedCount?: number\n /** Number of item currently taken down */\n takendownCount?: number\n}\n\nconst hashRecordsStats = 'recordsStats'\n\nexport function isRecordsStats<V>(v: V) {\n return is$typed(v, id, hashRecordsStats)\n}\n\nexport function validateRecordsStats<V>(v: V) {\n return validate<RecordsStats & V>(v, id, hashRecordsStats)\n}\n\n/** Strike information for an account */\nexport interface AccountStrike {\n $type?: 'tools.ozone.moderation.defs#accountStrike'\n /** Current number of active strikes (excluding expired strikes) */\n activeStrikeCount?: number\n /** Total number of strikes ever received (including expired strikes) */\n totalStrikeCount?: number\n /** Timestamp of the first strike received */\n firstStrikeAt?: string\n /** Timestamp of the most recent strike received */\n lastStrikeAt?: string\n}\n\nconst hashAccountStrike = 'accountStrike'\n\nexport function isAccountStrike<V>(v: V) {\n return is$typed(v, id, hashAccountStrike)\n}\n\nexport function validateAccountStrike<V>(v: V) {\n return validate<AccountStrike & V>(v, id, hashAccountStrike)\n}\n\nexport type SubjectReviewState =\n | 'lex:tools.ozone.moderation.defs#reviewOpen'\n | 'lex:tools.ozone.moderation.defs#reviewEscalated'\n | 'lex:tools.ozone.moderation.defs#reviewClosed'\n | 'lex:tools.ozone.moderation.defs#reviewNone'\n | (string & {})\n\n/** Moderator review status of a subject: Open. Indicates that the subject needs to be reviewed by a moderator */\nexport const REVIEWOPEN = `${id}#reviewOpen`\n/** Moderator review status of a subject: Escalated. Indicates that the subject was escalated for review by a moderator */\nexport const REVIEWESCALATED = `${id}#reviewEscalated`\n/** Moderator review status of a subject: Closed. Indicates that the subject was already reviewed and resolved by a moderator */\nexport const REVIEWCLOSED = `${id}#reviewClosed`\n/** Moderator review status of a subject: Unnecessary. Indicates that the subject does not need a review at the moment but there is probably some moderation related metadata available for it */\nexport const REVIEWNONE = `${id}#reviewNone`\n\n/** Take down a subject permanently or temporarily */\nexport interface ModEventTakedown {\n $type?: 'tools.ozone.moderation.defs#modEventTakedown'\n comment?: string\n /** Indicates how long the takedown should be in effect before automatically expiring. */\n durationInHours?: number\n /** If true, all other reports on content authored by this account will be resolved (acknowledged). */\n acknowledgeAccountSubjects?: boolean\n /** Names/Keywords of the policies that drove the decision. */\n policies?: string[]\n /** Severity level of the violation (e.g., 'sev-0', 'sev-1', 'sev-2', etc.). */\n severityLevel?: string\n /** Number of strikes to assign to the user for this violation. */\n strikeCount?: number\n /** When the strike should expire. If not provided, the strike never expires. */\n strikeExpiresAt?: string\n}\n\nconst hashModEventTakedown = 'modEventTakedown'\n\nexport function isModEventTakedown<V>(v: V) {\n return is$typed(v, id, hashModEventTakedown)\n}\n\nexport function validateModEventTakedown<V>(v: V) {\n return validate<ModEventTakedown & V>(v, id, hashModEventTakedown)\n}\n\n/** Revert take down action on a subject */\nexport interface ModEventReverseTakedown {\n $type?: 'tools.ozone.moderation.defs#modEventReverseTakedown'\n /** Describe reasoning behind the reversal. */\n comment?: string\n /** Names/Keywords of the policy infraction for which takedown is being reversed. */\n policies?: string[]\n /** Severity level of the violation. Usually set from the last policy infraction's severity. */\n severityLevel?: string\n /** Number of strikes to subtract from the user's strike count. Usually set from the last policy infraction's severity. */\n strikeCount?: number\n}\n\nconst hashModEventReverseTakedown = 'modEventReverseTakedown'\n\nexport function isModEventReverseTakedown<V>(v: V) {\n return is$typed(v, id, hashModEventReverseTakedown)\n}\n\nexport function validateModEventReverseTakedown<V>(v: V) {\n return validate<ModEventReverseTakedown & V>(\n v,\n id,\n hashModEventReverseTakedown,\n )\n}\n\n/** Resolve appeal on a subject */\nexport interface ModEventResolveAppeal {\n $type?: 'tools.ozone.moderation.defs#modEventResolveAppeal'\n /** Describe resolution. */\n comment?: string\n}\n\nconst hashModEventResolveAppeal = 'modEventResolveAppeal'\n\nexport function isModEventResolveAppeal<V>(v: V) {\n return is$typed(v, id, hashModEventResolveAppeal)\n}\n\nexport function validateModEventResolveAppeal<V>(v: V) {\n return validate<ModEventResolveAppeal & V>(v, id, hashModEventResolveAppeal)\n}\n\n/** Add a comment to a subject. An empty comment will clear any previously set sticky comment. */\nexport interface ModEventComment {\n $type?: 'tools.ozone.moderation.defs#modEventComment'\n comment?: string\n /** Make the comment persistent on the subject */\n sticky?: boolean\n}\n\nconst hashModEventComment = 'modEventComment'\n\nexport function isModEventComment<V>(v: V) {\n return is$typed(v, id, hashModEventComment)\n}\n\nexport function validateModEventComment<V>(v: V) {\n return validate<ModEventComment & V>(v, id, hashModEventComment)\n}\n\n/** Report a subject */\nexport interface ModEventReport {\n $type?: 'tools.ozone.moderation.defs#modEventReport'\n comment?: string\n /** Set to true if the reporter was muted from reporting at the time of the event. These reports won't impact the reviewState of the subject. */\n isReporterMuted?: boolean\n reportType: ComAtprotoModerationDefs.ReasonType\n}\n\nconst hashModEventReport = 'modEventReport'\n\nexport function isModEventReport<V>(v: V) {\n return is$typed(v, id, hashModEventReport)\n}\n\nexport function validateModEventReport<V>(v: V) {\n return validate<ModEventReport & V>(v, id, hashModEventReport)\n}\n\n/** Apply/Negate labels on a subject */\nexport interface ModEventLabel {\n $type?: 'tools.ozone.moderation.defs#modEventLabel'\n comment?: string\n createLabelVals: string[]\n negateLabelVals: string[]\n /** Indicates how long the label will remain on the subject. Only applies on labels that are being added. */\n durationInHours?: number\n}\n\nconst hashModEventLabel = 'modEventLabel'\n\nexport function isModEventLabel<V>(v: V) {\n return is$typed(v, id, hashModEventLabel)\n}\n\nexport function validateModEventLabel<V>(v: V) {\n return validate<ModEventLabel & V>(v, id, hashModEventLabel)\n}\n\n/** Set priority score of the subject. Higher score means higher priority. */\nexport interface ModEventPriorityScore {\n $type?: 'tools.ozone.moderation.defs#modEventPriorityScore'\n comment?: string\n score: number\n}\n\nconst hashModEventPriorityScore = 'modEventPriorityScore'\n\nexport function isModEventPriorityScore<V>(v: V) {\n return is$typed(v, id, hashModEventPriorityScore)\n}\n\nexport function validateModEventPriorityScore<V>(v: V) {\n return validate<ModEventPriorityScore & V>(v, id, hashModEventPriorityScore)\n}\n\n/** Age assurance info coming directly from users. Only works on DID subjects. */\nexport interface AgeAssuranceEvent {\n $type?: 'tools.ozone.moderation.defs#ageAssuranceEvent'\n /** The date and time of this write operation. */\n createdAt: string\n /** The status of the age assurance process. */\n status: 'unknown' | 'pending' | 'assured' | (string & {})\n /** The unique identifier for this instance of the age assurance flow, in UUID format. */\n attemptId: string\n /** The IP address used when initiating the AA flow. */\n initIp?: string\n /** The user agent used when initiating the AA flow. */\n initUa?: string\n /** The IP address used when completing the AA flow. */\n completeIp?: string\n /** The user agent used when completing the AA flow. */\n completeUa?: string\n}\n\nconst hashAgeAssuranceEvent = 'ageAssuranceEvent'\n\nexport function isAgeAssuranceEvent<V>(v: V) {\n return is$typed(v, id, hashAgeAssuranceEvent)\n}\n\nexport function validateAgeAssuranceEvent<V>(v: V) {\n return validate<AgeAssuranceEvent & V>(v, id, hashAgeAssuranceEvent)\n}\n\n/** Age assurance status override by moderators. Only works on DID subjects. */\nexport interface AgeAssuranceOverrideEvent {\n $type?: 'tools.ozone.moderation.defs#ageAssuranceOverrideEvent'\n /** The status to be set for the user decided by a moderator, overriding whatever value the user had previously. Use reset to default to original state. */\n status: 'assured' | 'reset' | 'blocked' | (string & {})\n /** Comment describing the reason for the override. */\n comment: string\n}\n\nconst hashAgeAssuranceOverrideEvent = 'ageAssuranceOverrideEvent'\n\nexport function isAgeAssuranceOverrideEvent<V>(v: V) {\n return is$typed(v, id, hashAgeAssuranceOverrideEvent)\n}\n\nexport function validateAgeAssuranceOverrideEvent<V>(v: V) {\n return validate<AgeAssuranceOverrideEvent & V>(\n v,\n id,\n hashAgeAssuranceOverrideEvent,\n )\n}\n\n/** Account credentials revocation by moderators. Only works on DID subjects. */\nexport interface RevokeAccountCredentialsEvent {\n $type?: 'tools.ozone.moderation.defs#revokeAccountCredentialsEvent'\n /** Comment describing the reason for the revocation. */\n comment: string\n}\n\nconst hashRevokeAccountCredentialsEvent = 'revokeAccountCredentialsEvent'\n\nexport function isRevokeAccountCredentialsEvent<V>(v: V) {\n return is$typed(v, id, hashRevokeAccountCredentialsEvent)\n}\n\nexport function validateRevokeAccountCredentialsEvent<V>(v: V) {\n return validate<RevokeAccountCredentialsEvent & V>(\n v,\n id,\n hashRevokeAccountCredentialsEvent,\n )\n}\n\nexport interface ModEventAcknowledge {\n $type?: 'tools.ozone.moderation.defs#modEventAcknowledge'\n comment?: string\n /** If true, all other reports on content authored by this account will be resolved (acknowledged). */\n acknowledgeAccountSubjects?: boolean\n}\n\nconst hashModEventAcknowledge = 'modEventAcknowledge'\n\nexport function isModEventAcknowledge<V>(v: V) {\n return is$typed(v, id, hashModEventAcknowledge)\n}\n\nexport function validateModEventAcknowledge<V>(v: V) {\n return validate<ModEventAcknowledge & V>(v, id, hashModEventAcknowledge)\n}\n\nexport interface ModEventEscalate {\n $type?: 'tools.ozone.moderation.defs#modEventEscalate'\n comment?: string\n}\n\nconst hashModEventEscalate = 'modEventEscalate'\n\nexport function isModEventEscalate<V>(v: V) {\n return is$typed(v, id, hashModEventEscalate)\n}\n\nexport function validateModEventEscalate<V>(v: V) {\n return validate<ModEventEscalate & V>(v, id, hashModEventEscalate)\n}\n\n/** Mute incoming reports on a subject */\nexport interface ModEventMute {\n $type?: 'tools.ozone.moderation.defs#modEventMute'\n comment?: string\n /** Indicates how long the subject should remain muted. */\n durationInHours: number\n}\n\nconst hashModEventMute = 'modEventMute'\n\nexport function isModEventMute<V>(v: V) {\n return is$typed(v, id, hashModEventMute)\n}\n\nexport function validateModEventMute<V>(v: V) {\n return validate<ModEventMute & V>(v, id, hashModEventMute)\n}\n\n/** Unmute action on a subject */\nexport interface ModEventUnmute {\n $type?: 'tools.ozone.moderation.defs#modEventUnmute'\n /** Describe reasoning behind the reversal. */\n comment?: string\n}\n\nconst hashModEventUnmute = 'modEventUnmute'\n\nexport function isModEventUnmute<V>(v: V) {\n return is$typed(v, id, hashModEventUnmute)\n}\n\nexport function validateModEventUnmute<V>(v: V) {\n return validate<ModEventUnmute & V>(v, id, hashModEventUnmute)\n}\n\n/** Mute incoming reports from an account */\nexport interface ModEventMuteReporter {\n $type?: 'tools.ozone.moderation.defs#modEventMuteReporter'\n comment?: string\n /** Indicates how long the account should remain muted. Falsy value here means a permanent mute. */\n durationInHours?: number\n}\n\nconst hashModEventMuteReporter = 'modEventMuteReporter'\n\nexport function isModEventMuteReporter<V>(v: V) {\n return is$typed(v, id, hashModEventMuteReporter)\n}\n\nexport function validateModEventMuteReporter<V>(v: V) {\n return validate<ModEventMuteReporter & V>(v, id, hashModEventMuteReporter)\n}\n\n/** Unmute incoming reports from an account */\nexport interface ModEventUnmuteReporter {\n $type?: 'tools.ozone.moderation.defs#modEventUnmuteReporter'\n /** Describe reasoning behind the reversal. */\n comment?: string\n}\n\nconst hashModEventUnmuteReporter = 'modEventUnmuteReporter'\n\nexport function isModEventUnmuteReporter<V>(v: V) {\n return is$typed(v, id, hashModEventUnmuteReporter)\n}\n\nexport function validateModEventUnmuteReporter<V>(v: V) {\n return validate<ModEventUnmuteReporter & V>(v, id, hashModEventUnmuteReporter)\n}\n\n/** Keep a log of outgoing email to a user */\nexport interface ModEventEmail {\n $type?: 'tools.ozone.moderation.defs#modEventEmail'\n /** The subject line of the email sent to the user. */\n subjectLine: string\n /** The content of the email sent to the user. */\n content?: string\n /** Additional comment about the outgoing comm. */\n comment?: string\n /** Names/Keywords of the policies that necessitated the email. */\n policies?: string[]\n /** Severity level of the violation. Normally 'sev-1' that adds strike on repeat offense */\n severityLevel?: string\n /** Number of strikes to assign to the user for this violation. Normally 0 as an indicator of a warning and only added as a strike on a repeat offense. */\n strikeCount?: number\n /** When the strike should expire. If not provided, the strike never expires. */\n strikeExpiresAt?: string\n}\n\nconst hashModEventEmail = 'modEventEmail'\n\nexport function isModEventEmail<V>(v: V) {\n return is$typed(v, id, hashModEventEmail)\n}\n\nexport function validateModEventEmail<V>(v: V) {\n return validate<ModEventEmail & V>(v, id, hashModEventEmail)\n}\n\n/** Divert a record's blobs to a 3rd party service for further scanning/tagging */\nexport interface ModEventDivert {\n $type?: 'tools.ozone.moderation.defs#modEventDivert'\n comment?: string\n}\n\nconst hashModEventDivert = 'modEventDivert'\n\nexport function isModEventDivert<V>(v: V) {\n return is$typed(v, id, hashModEventDivert)\n}\n\nexport function validateModEventDivert<V>(v: V) {\n return validate<ModEventDivert & V>(v, id, hashModEventDivert)\n}\n\n/** Add/Remove a tag on a subject */\nexport interface ModEventTag {\n $type?: 'tools.ozone.moderation.defs#modEventTag'\n /** Tags to be added to the subject. If already exists, won't be duplicated. */\n add: string[]\n /** Tags to be removed to the subject. Ignores a tag If it doesn't exist, won't be duplicated. */\n remove: string[]\n /** Additional comment about added/removed tags. */\n comment?: string\n}\n\nconst hashModEventTag = 'modEventTag'\n\nexport function isModEventTag<V>(v: V) {\n return is$typed(v, id, hashModEventTag)\n}\n\nexport function validateModEventTag<V>(v: V) {\n return validate<ModEventTag & V>(v, id, hashModEventTag)\n}\n\n/** Logs account status related events on a repo subject. Normally captured by automod from the firehose and emitted to ozone for historical tracking. */\nexport interface AccountEvent {\n $type?: 'tools.ozone.moderation.defs#accountEvent'\n comment?: string\n /** Indicates that the account has a repository which can be fetched from the host that emitted this event. */\n active: boolean\n status?:\n | 'unknown'\n | 'deactivated'\n | 'deleted'\n | 'takendown'\n | 'suspended'\n | 'tombstoned'\n | (string & {})\n timestamp: string\n}\n\nconst hashAccountEvent = 'accountEvent'\n\nexport function isAccountEvent<V>(v: V) {\n return is$typed(v, id, hashAccountEvent)\n}\n\nexport function validateAccountEvent<V>(v: V) {\n return validate<AccountEvent & V>(v, id, hashAccountEvent)\n}\n\n/** Logs identity related events on a repo subject. Normally captured by automod from the firehose and emitted to ozone for historical tracking. */\nexport interface IdentityEvent {\n $type?: 'tools.ozone.moderation.defs#identityEvent'\n comment?: string\n handle?: string\n pdsHost?: string\n tombstone?: boolean\n timestamp: string\n}\n\nconst hashIdentityEvent = 'identityEvent'\n\nexport function isIdentityEvent<V>(v: V) {\n return is$typed(v, id, hashIdentityEvent)\n}\n\nexport function validateIdentityEvent<V>(v: V) {\n return validate<IdentityEvent & V>(v, id, hashIdentityEvent)\n}\n\n/** Logs lifecycle event on a record subject. Normally captured by automod from the firehose and emitted to ozone for historical tracking. */\nexport interface RecordEvent {\n $type?: 'tools.ozone.moderation.defs#recordEvent'\n comment?: string\n op: 'create' | 'update' | 'delete' | (string & {})\n cid?: string\n timestamp: string\n}\n\nconst hashRecordEvent = 'recordEvent'\n\nexport function isRecordEvent<V>(v: V) {\n return is$typed(v, id, hashRecordEvent)\n}\n\nexport function validateRecordEvent<V>(v: V) {\n return validate<RecordEvent & V>(v, id, hashRecordEvent)\n}\n\n/** Logs a scheduled takedown action for an account. */\nexport interface ScheduleTakedownEvent {\n $type?: 'tools.ozone.moderation.defs#scheduleTakedownEvent'\n comment?: string\n executeAt?: string\n executeAfter?: string\n executeUntil?: string\n}\n\nconst hashScheduleTakedownEvent = 'scheduleTakedownEvent'\n\nexport function isScheduleTakedownEvent<V>(v: V) {\n return is$typed(v, id, hashScheduleTakedownEvent)\n}\n\nexport function validateScheduleTakedownEvent<V>(v: V) {\n return validate<ScheduleTakedownEvent & V>(v, id, hashScheduleTakedownEvent)\n}\n\n/** Logs cancellation of a scheduled takedown action for an account. */\nexport interface CancelScheduledTakedownEvent {\n $type?: 'tools.ozone.moderation.defs#cancelScheduledTakedownEvent'\n comment?: string\n}\n\nconst hashCancelScheduledTakedownEvent = 'cancelScheduledTakedownEvent'\n\nexport function isCancelScheduledTakedownEvent<V>(v: V) {\n return is$typed(v, id, hashCancelScheduledTakedownEvent)\n}\n\nexport function validateCancelScheduledTakedownEvent<V>(v: V) {\n return validate<CancelScheduledTakedownEvent & V>(\n v,\n id,\n hashCancelScheduledTakedownEvent,\n )\n}\n\nexport interface RepoView {\n $type?: 'tools.ozone.moderation.defs#repoView'\n did: string\n handle: string\n email?: string\n relatedRecords: { [_ in string]: unknown }[]\n indexedAt: string\n moderation: Moderation\n invitedBy?: ComAtprotoServerDefs.InviteCode\n invitesDisabled?: boolean\n inviteNote?: string\n deactivatedAt?: string\n threatSignatures?: ComAtprotoAdminDefs.ThreatSignature[]\n}\n\nconst hashRepoView = 'repoView'\n\nexport function isRepoView<V>(v: V) {\n return is$typed(v, id, hashRepoView)\n}\n\nexport function validateRepoView<V>(v: V) {\n return validate<RepoView & V>(v, id, hashRepoView)\n}\n\nexport interface RepoViewDetail {\n $type?: 'tools.ozone.moderation.defs#repoViewDetail'\n did: string\n handle: string\n email?: string\n relatedRecords: { [_ in string]: unknown }[]\n indexedAt: string\n moderation: ModerationDetail\n labels?: ComAtprotoLabelDefs.Label[]\n invitedBy?: ComAtprotoServerDefs.InviteCode\n invites?: ComAtprotoServerDefs.InviteCode[]\n invitesDisabled?: boolean\n inviteNote?: string\n emailConfirmedAt?: string\n deactivatedAt?: string\n threatSignatures?: ComAtprotoAdminDefs.ThreatSignature[]\n}\n\nconst hashRepoViewDetail = 'repoViewDetail'\n\nexport function isRepoViewDetail<V>(v: V) {\n return is$typed(v, id, hashRepoViewDetail)\n}\n\nexport function validateRepoViewDetail<V>(v: V) {\n return validate<RepoViewDetail & V>(v, id, hashRepoViewDetail)\n}\n\nexport interface RepoViewNotFound {\n $type?: 'tools.ozone.moderation.defs#repoViewNotFound'\n did: string\n}\n\nconst hashRepoViewNotFound = 'repoViewNotFound'\n\nexport function isRepoViewNotFound<V>(v: V) {\n return is$typed(v, id, hashRepoViewNotFound)\n}\n\nexport function validateRepoViewNotFound<V>(v: V) {\n return validate<RepoViewNotFound & V>(v, id, hashRepoViewNotFound)\n}\n\nexport interface RecordView {\n $type?: 'tools.ozone.moderation.defs#recordView'\n uri: string\n cid: string\n value: { [_ in string]: unknown }\n blobCids: string[]\n indexedAt: string\n moderation: Moderation\n repo: RepoView\n}\n\nconst hashRecordView = 'recordView'\n\nexport function isRecordView<V>(v: V) {\n return is$typed(v, id, hashRecordView)\n}\n\nexport function validateRecordView<V>(v: V) {\n return validate<RecordView & V>(v, id, hashRecordView)\n}\n\nexport interface RecordViewDetail {\n $type?: 'tools.ozone.moderation.defs#recordViewDetail'\n uri: string\n cid: string\n value: { [_ in string]: unknown }\n blobs: BlobView[]\n labels?: ComAtprotoLabelDefs.Label[]\n indexedAt: string\n moderation: ModerationDetail\n repo: RepoView\n}\n\nconst hashRecordViewDetail = 'recordViewDetail'\n\nexport function isRecordViewDetail<V>(v: V) {\n return is$typed(v, id, hashRecordViewDetail)\n}\n\nexport function validateRecordViewDetail<V>(v: V) {\n return validate<RecordViewDetail & V>(v, id, hashRecordViewDetail)\n}\n\nexport interface RecordViewNotFound {\n $type?: 'tools.ozone.moderation.defs#recordViewNotFound'\n uri: string\n}\n\nconst hashRecordViewNotFound = 'recordViewNotFound'\n\nexport function isRecordViewNotFound<V>(v: V) {\n return is$typed(v, id, hashRecordViewNotFound)\n}\n\nexport function validateRecordViewNotFound<V>(v: V) {\n return validate<RecordViewNotFound & V>(v, id, hashRecordViewNotFound)\n}\n\nexport interface Moderation {\n $type?: 'tools.ozone.moderation.defs#moderation'\n subjectStatus?: SubjectStatusView\n}\n\nconst hashModeration = 'moderation'\n\nexport function isModeration<V>(v: V) {\n return is$typed(v, id, hashModeration)\n}\n\nexport function validateModeration<V>(v: V) {\n return validate<Moderation & V>(v, id, hashModeration)\n}\n\nexport interface ModerationDetail {\n $type?: 'tools.ozone.moderation.defs#moderationDetail'\n subjectStatus?: SubjectStatusView\n}\n\nconst hashModerationDetail = 'moderationDetail'\n\nexport function isModerationDetail<V>(v: V) {\n return is$typed(v, id, hashModerationDetail)\n}\n\nexport function validateModerationDetail<V>(v: V) {\n return validate<ModerationDetail & V>(v, id, hashModerationDetail)\n}\n\nexport interface BlobView {\n $type?: 'tools.ozone.moderation.defs#blobView'\n cid: string\n mimeType: string\n size: number\n createdAt: string\n details?: $Typed<ImageDetails> | $Typed<VideoDetails> | { $type: string }\n moderation?: Moderation\n}\n\nconst hashBlobView = 'blobView'\n\nexport function isBlobView<V>(v: V) {\n return is$typed(v, id, hashBlobView)\n}\n\nexport function validateBlobView<V>(v: V) {\n return validate<BlobView & V>(v, id, hashBlobView)\n}\n\nexport interface ImageDetails {\n $type?: 'tools.ozone.moderation.defs#imageDetails'\n width: number\n height: number\n}\n\nconst hashImageDetails = 'imageDetails'\n\nexport function isImageDetails<V>(v: V) {\n return is$typed(v, id, hashImageDetails)\n}\n\nexport function validateImageDetails<V>(v: V) {\n return validate<ImageDetails & V>(v, id, hashImageDetails)\n}\n\nexport interface VideoDetails {\n $type?: 'tools.ozone.moderation.defs#videoDetails'\n width: number\n height: number\n length: number\n}\n\nconst hashVideoDetails = 'videoDetails'\n\nexport function isVideoDetails<V>(v: V) {\n return is$typed(v, id, hashVideoDetails)\n}\n\nexport function validateVideoDetails<V>(v: V) {\n return validate<VideoDetails & V>(v, id, hashVideoDetails)\n}\n\nexport interface AccountHosting {\n $type?: 'tools.ozone.moderation.defs#accountHosting'\n status:\n | 'takendown'\n | 'suspended'\n | 'deleted'\n | 'deactivated'\n | 'unknown'\n | (string & {})\n updatedAt?: string\n createdAt?: string\n deletedAt?: string\n deactivatedAt?: string\n reactivatedAt?: string\n}\n\nconst hashAccountHosting = 'accountHosting'\n\nexport function isAccountHosting<V>(v: V) {\n return is$typed(v, id, hashAccountHosting)\n}\n\nexport function validateAccountHosting<V>(v: V) {\n return validate<AccountHosting & V>(v, id, hashAccountHosting)\n}\n\nexport interface RecordHosting {\n $type?: 'tools.ozone.moderation.defs#recordHosting'\n status: 'deleted' | 'unknown' | (string & {})\n updatedAt?: string\n createdAt?: string\n deletedAt?: string\n}\n\nconst hashRecordHosting = 'recordHosting'\n\nexport function isRecordHosting<V>(v: V) {\n return is$typed(v, id, hashRecordHosting)\n}\n\nexport function validateRecordHosting<V>(v: V) {\n return validate<RecordHosting & V>(v, id, hashRecordHosting)\n}\n\nexport interface ReporterStats {\n $type?: 'tools.ozone.moderation.defs#reporterStats'\n did: string\n /** The total number of reports made by the user on accounts. */\n accountReportCount: number\n /** The total number of reports made by the user on records. */\n recordReportCount: number\n /** The total number of accounts reported by the user. */\n reportedAccountCount: number\n /** The total number of records reported by the user. */\n reportedRecordCount: number\n /** The total number of accounts taken down as a result of the user's reports. */\n takendownAccountCount: number\n /** The total number of records taken down as a result of the user's reports. */\n takendownRecordCount: number\n /** The total number of accounts labeled as a result of the user's reports. */\n labeledAccountCount: number\n /** The total number of records labeled as a result of the user's reports. */\n labeledRecordCount: number\n}\n\nconst hashReporterStats = 'reporterStats'\n\nexport function isReporterStats<V>(v: V) {\n return is$typed(v, id, hashReporterStats)\n}\n\nexport function validateReporterStats<V>(v: V) {\n return validate<ReporterStats & V>(v, id, hashReporterStats)\n}\n\n/** Moderation tool information for tracing the source of the action */\nexport interface ModTool {\n $type?: 'tools.ozone.moderation.defs#modTool'\n /** Name/identifier of the source (e.g., 'automod', 'ozone/workspace') */\n name: string\n /** Additional arbitrary metadata about the source */\n meta?: { [_ in string]: unknown }\n}\n\nconst hashModTool = 'modTool'\n\nexport function isModTool<V>(v: V) {\n return is$typed(v, id, hashModTool)\n}\n\nexport function validateModTool<V>(v: V) {\n return validate<ModTool & V>(v, id, hashModTool)\n}\n\n/** Moderation event timeline event for a PLC create operation */\nexport const TIMELINEEVENTPLCCREATE = `${id}#timelineEventPlcCreate`\n/** Moderation event timeline event for generic PLC operation */\nexport const TIMELINEEVENTPLCOPERATION = `${id}#timelineEventPlcOperation`\n/** Moderation event timeline event for a PLC tombstone operation */\nexport const TIMELINEEVENTPLCTOMBSTONE = `${id}#timelineEventPlcTombstone`\n\n/** View of a scheduled moderation action */\nexport interface ScheduledActionView {\n $type?: 'tools.ozone.moderation.defs#scheduledActionView'\n /** Auto-incrementing row ID */\n id: number\n /** Type of action to be executed */\n action: 'takedown' | (string & {})\n /** Serialized event object that will be propagated to the event when performed */\n eventData?: { [_ in string]: unknown }\n /** Subject DID for the action */\n did: string\n /** Exact time to execute the action */\n executeAt?: string\n /** Earliest time to execute the action (for randomized scheduling) */\n executeAfter?: string\n /** Latest time to execute the action (for randomized scheduling) */\n executeUntil?: string\n /** Whether execution time should be randomized within the specified range */\n randomizeExecution?: boolean\n /** DID of the user who created this scheduled action */\n createdBy: string\n /** When the scheduled action was created */\n createdAt: string\n /** When the scheduled action was last updated */\n updatedAt?: string\n /** Current status of the scheduled action */\n status: 'pending' | 'executed' | 'cancelled' | 'failed' | (string & {})\n /** When the action was last attempted to be executed */\n lastExecutedAt?: string\n /** Reason for the last execution failure */\n lastFailureReason?: string\n /** ID of the moderation event created when action was successfully executed */\n executionEventId?: number\n}\n\nconst hashScheduledActionView = 'scheduledActionView'\n\nexport function isScheduledActionView<V>(v: V) {\n return is$typed(v, id, hashScheduledActionView)\n}\n\nexport function validateScheduledActionView<V>(v: V) {\n return validate<ScheduledActionView & V>(v, id, hashScheduledActionView)\n}\n"]}
|
|
1
|
+
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/moderation/defs.ts"],"names":[],"mappings":";;;AAkEA,wCAEC;AAED,oDAEC;AA6CD,oDAEC;AAED,gEAEC;AAmDD,kDAEC;AAED,8DAEC;AAeD,sCAEC;AAED,kDAEC;AAmBD,wCAEC;AAED,oDAEC;AAyBD,wCAEC;AAED,oDAEC;AAiBD,0CAEC;AAED,sDAEC;AAwCD,gDAEC;AAED,4DAEC;AAiBD,8DAEC;AAED,0EAMC;AAWD,0DAEC;AAED,sEAEC;AAYD,8CAEC;AAED,0DAEC;AAaD,4CAEC;AAED,wDAEC;AAcD,0CAEC;AAED,sDAEC;AAWD,0DAEC;AAED,sEAEC;AAuBD,kDAEC;AAED,8DAEC;AAaD,kEAEC;AAED,8EAMC;AAWD,0EAEC;AAED,sFAMC;AAWD,sDAEC;AAED,kEAEC;AASD,gDAEC;AAED,4DAEC;AAYD,wCAEC;AAED,oDAEC;AAWD,4CAEC;AAED,wDAEC;AAYD,wDAEC;AAED,oEAEC;AAWD,4DAEC;AAED,wEAEC;AAyBD,0CAEC;AAED,sDAEC;AAUD,4CAEC;AAED,wDAEC;AAeD,sCAEC;AAED,kDAEC;AAqBD,wCAEC;AAED,oDAEC;AAcD,0CAEC;AAED,sDAEC;AAaD,sCAEC;AAED,kDAEC;AAaD,0DAEC;AAED,sEAEC;AAUD,wEAEC;AAED,oFAMC;AAmBD,gCAEC;AAED,4CAEC;AAsBD,4CAEC;AAED,wDAEC;AASD,gDAEC;AAED,4DAEC;AAeD,oCAEC;AAED,gDAEC;AAgBD,gDAEC;AAED,4DAEC;AASD,oDAEC;AAED,gEAEC;AASD,oCAEC;AAED,gDAEC;AASD,gDAEC;AAED,4DAEC;AAcD,gCAEC;AAED,4CAEC;AAUD,wCAEC;AAED,oDAEC;AAWD,wCAEC;AAED,oDAEC;AAoBD,4CAEC;AAED,wDAEC;AAYD,0CAEC;AAED,sDAEC;AAy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,CAAI,CAAI;IAC3C,OAAO,QAAQ,CAAoB,CAAC,EAAE,EAAE,EAAE,iBAAiB,CAAC,CAAA;AAC9D,CAAC;AAuBD,MAAM,iBAAiB,GAAG,eAAe,CAAA;AAEzC,SAAgB,eAAe,CAAI,CAAI;IACrC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,iBAAiB,CAAC,CAAA;AAC3C,CAAC;AAED,SAAgB,qBAAqB,CAAI,CAAI;IAC3C,OAAO,QAAQ,CAAoB,CAAC,EAAE,EAAE,EAAE,iBAAiB,CAAC,CAAA;AAC9D,CAAC;AAWD,MAAM,WAAW,GAAG,SAAS,CAAA;AAE7B,SAAgB,SAAS,CAAI,CAAI;IAC/B,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,WAAW,CAAC,CAAA;AACrC,CAAC;AAED,SAAgB,eAAe,CAAI,CAAI;IACrC,OAAO,QAAQ,CAAc,CAAC,EAAE,EAAE,EAAE,WAAW,CAAC,CAAA;AAClD,CAAC;AAED,iEAAiE;AACpD,QAAA,sBAAsB,GAAG,GAAG,EAAE,yBAAyB,CAAA;AACpE,gEAAgE;AACnD,QAAA,yBAAyB,GAAG,GAAG,EAAE,4BAA4B,CAAA;AAC1E,oEAAoE;AACvD,QAAA,yBAAyB,GAAG,GAAG,EAAE,4BAA4B,CAAA;AAqC1E,MAAM,uBAAuB,GAAG,qBAAqB,CAAA;AAErD,SAAgB,qBAAqB,CAAI,CAAI;IAC3C,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,uBAAuB,CAAC,CAAA;AACjD,CAAC;AAED,SAAgB,2BAA2B,CAAI,CAAI;IACjD,OAAO,QAAQ,CAA0B,CAAC,EAAE,EAAE,EAAE,uBAAuB,CAAC,CAAA;AAC1E,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\nimport type * as ComAtprotoAdminDefs from '../../../com/atproto/admin/defs.js'\nimport type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js'\nimport type * as ChatBskyConvoDefs from '../../../chat/bsky/convo/defs.js'\nimport type * as ComAtprotoModerationDefs from '../../../com/atproto/moderation/defs.js'\nimport type * as ComAtprotoServerDefs from '../../../com/atproto/server/defs.js'\nimport type * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'tools.ozone.moderation.defs'\n\nexport interface ModEventView {\n $type?: 'tools.ozone.moderation.defs#modEventView'\n id: number\n event:\n | $Typed<ModEventTakedown>\n | $Typed<ModEventReverseTakedown>\n | $Typed<ModEventComment>\n | $Typed<ModEventReport>\n | $Typed<ModEventLabel>\n | $Typed<ModEventAcknowledge>\n | $Typed<ModEventEscalate>\n | $Typed<ModEventMute>\n | $Typed<ModEventUnmute>\n | $Typed<ModEventMuteReporter>\n | $Typed<ModEventUnmuteReporter>\n | $Typed<ModEventEmail>\n | $Typed<ModEventResolveAppeal>\n | $Typed<ModEventDivert>\n | $Typed<ModEventTag>\n | $Typed<AccountEvent>\n | $Typed<IdentityEvent>\n | $Typed<RecordEvent>\n | $Typed<ModEventPriorityScore>\n | $Typed<AgeAssuranceEvent>\n | $Typed<AgeAssuranceOverrideEvent>\n | $Typed<RevokeAccountCredentialsEvent>\n | $Typed<ScheduleTakedownEvent>\n | $Typed<CancelScheduledTakedownEvent>\n | { $type: string }\n subject:\n | $Typed<ComAtprotoAdminDefs.RepoRef>\n | $Typed<ComAtprotoRepoStrongRef.Main>\n | $Typed<ChatBskyConvoDefs.MessageRef>\n | { $type: string }\n subjectBlobCids: string[]\n createdBy: string\n createdAt: string\n creatorHandle?: string\n subjectHandle?: string\n modTool?: ModTool\n}\n\nconst hashModEventView = 'modEventView'\n\nexport function isModEventView<V>(v: V) {\n return is$typed(v, id, hashModEventView)\n}\n\nexport function validateModEventView<V>(v: V) {\n return validate<ModEventView & V>(v, id, hashModEventView)\n}\n\nexport interface ModEventViewDetail {\n $type?: 'tools.ozone.moderation.defs#modEventViewDetail'\n id: number\n event:\n | $Typed<ModEventTakedown>\n | $Typed<ModEventReverseTakedown>\n | $Typed<ModEventComment>\n | $Typed<ModEventReport>\n | $Typed<ModEventLabel>\n | $Typed<ModEventAcknowledge>\n | $Typed<ModEventEscalate>\n | $Typed<ModEventMute>\n | $Typed<ModEventUnmute>\n | $Typed<ModEventMuteReporter>\n | $Typed<ModEventUnmuteReporter>\n | $Typed<ModEventEmail>\n | $Typed<ModEventResolveAppeal>\n | $Typed<ModEventDivert>\n | $Typed<ModEventTag>\n | $Typed<AccountEvent>\n | $Typed<IdentityEvent>\n | $Typed<RecordEvent>\n | $Typed<ModEventPriorityScore>\n | $Typed<AgeAssuranceEvent>\n | $Typed<AgeAssuranceOverrideEvent>\n | $Typed<RevokeAccountCredentialsEvent>\n | $Typed<ScheduleTakedownEvent>\n | $Typed<CancelScheduledTakedownEvent>\n | { $type: string }\n subject:\n | $Typed<RepoView>\n | $Typed<RepoViewNotFound>\n | $Typed<RecordView>\n | $Typed<RecordViewNotFound>\n | { $type: string }\n subjectBlobs: BlobView[]\n createdBy: string\n createdAt: string\n modTool?: ModTool\n}\n\nconst hashModEventViewDetail = 'modEventViewDetail'\n\nexport function isModEventViewDetail<V>(v: V) {\n return is$typed(v, id, hashModEventViewDetail)\n}\n\nexport function validateModEventViewDetail<V>(v: V) {\n return validate<ModEventViewDetail & V>(v, id, hashModEventViewDetail)\n}\n\nexport interface SubjectStatusView {\n $type?: 'tools.ozone.moderation.defs#subjectStatusView'\n id: number\n subject:\n | $Typed<ComAtprotoAdminDefs.RepoRef>\n | $Typed<ComAtprotoRepoStrongRef.Main>\n | $Typed<ChatBskyConvoDefs.MessageRef>\n | { $type: string }\n hosting?: $Typed<AccountHosting> | $Typed<RecordHosting> | { $type: string }\n subjectBlobCids?: string[]\n subjectRepoHandle?: string\n /** Timestamp referencing when the last update was made to the moderation status of the subject */\n updatedAt: string\n /** Timestamp referencing the first moderation status impacting event was emitted on the subject */\n createdAt: string\n reviewState: SubjectReviewState\n /** Sticky comment on the subject. */\n comment?: string\n /** Numeric value representing the level of priority. Higher score means higher priority. */\n priorityScore?: number\n muteUntil?: string\n muteReportingUntil?: string\n lastReviewedBy?: string\n lastReviewedAt?: string\n lastReportedAt?: string\n /** Timestamp referencing when the author of the subject appealed a moderation action */\n lastAppealedAt?: string\n takendown?: boolean\n /** True indicates that the a previously taken moderator action was appealed against, by the author of the content. False indicates last appeal was resolved by moderators. */\n appealed?: boolean\n suspendUntil?: string\n tags?: string[]\n accountStats?: AccountStats\n recordsStats?: RecordsStats\n accountStrike?: AccountStrike\n /** Current age assurance state of the subject. */\n ageAssuranceState?:\n | 'pending'\n | 'assured'\n | 'unknown'\n | 'reset'\n | 'blocked'\n | (string & {})\n /** Whether or not the last successful update to age assurance was made by the user or admin. */\n ageAssuranceUpdatedBy?: 'admin' | 'user' | (string & {})\n}\n\nconst hashSubjectStatusView = 'subjectStatusView'\n\nexport function isSubjectStatusView<V>(v: V) {\n return is$typed(v, id, hashSubjectStatusView)\n}\n\nexport function validateSubjectStatusView<V>(v: V) {\n return validate<SubjectStatusView & V>(v, id, hashSubjectStatusView)\n}\n\n/** Detailed view of a subject. For record subjects, the author's repo and profile will be returned. */\nexport interface SubjectView {\n $type?: 'tools.ozone.moderation.defs#subjectView'\n type: ComAtprotoModerationDefs.SubjectType\n subject: string\n status?: SubjectStatusView\n repo?: RepoViewDetail\n profile?: { $type: string }\n record?: RecordViewDetail\n}\n\nconst hashSubjectView = 'subjectView'\n\nexport function isSubjectView<V>(v: V) {\n return is$typed(v, id, hashSubjectView)\n}\n\nexport function validateSubjectView<V>(v: V) {\n return validate<SubjectView & V>(v, id, hashSubjectView)\n}\n\n/** Statistics about a particular account subject */\nexport interface AccountStats {\n $type?: 'tools.ozone.moderation.defs#accountStats'\n /** Total number of reports on the account */\n reportCount?: number\n /** Total number of appeals against a moderation action on the account */\n appealCount?: number\n /** Number of times the account was suspended */\n suspendCount?: number\n /** Number of times the account was escalated */\n escalateCount?: number\n /** Number of times the account was taken down */\n takedownCount?: number\n}\n\nconst hashAccountStats = 'accountStats'\n\nexport function isAccountStats<V>(v: V) {\n return is$typed(v, id, hashAccountStats)\n}\n\nexport function validateAccountStats<V>(v: V) {\n return validate<AccountStats & V>(v, id, hashAccountStats)\n}\n\n/** Statistics about a set of record subject items */\nexport interface RecordsStats {\n $type?: 'tools.ozone.moderation.defs#recordsStats'\n /** Cumulative sum of the number of reports on the items in the set */\n totalReports?: number\n /** Number of items that were reported at least once */\n reportedCount?: number\n /** Number of items that were escalated at least once */\n escalatedCount?: number\n /** Number of items that were appealed at least once */\n appealedCount?: number\n /** Total number of item in the set */\n subjectCount?: number\n /** Number of item currently in \"reviewOpen\" or \"reviewEscalated\" state */\n pendingCount?: number\n /** Number of item currently in \"reviewNone\" or \"reviewClosed\" state */\n processedCount?: number\n /** Number of item currently taken down */\n takendownCount?: number\n}\n\nconst hashRecordsStats = 'recordsStats'\n\nexport function isRecordsStats<V>(v: V) {\n return is$typed(v, id, hashRecordsStats)\n}\n\nexport function validateRecordsStats<V>(v: V) {\n return validate<RecordsStats & V>(v, id, hashRecordsStats)\n}\n\n/** Strike information for an account */\nexport interface AccountStrike {\n $type?: 'tools.ozone.moderation.defs#accountStrike'\n /** Current number of active strikes (excluding expired strikes) */\n activeStrikeCount?: number\n /** Total number of strikes ever received (including expired strikes) */\n totalStrikeCount?: number\n /** Timestamp of the first strike received */\n firstStrikeAt?: string\n /** Timestamp of the most recent strike received */\n lastStrikeAt?: string\n}\n\nconst hashAccountStrike = 'accountStrike'\n\nexport function isAccountStrike<V>(v: V) {\n return is$typed(v, id, hashAccountStrike)\n}\n\nexport function validateAccountStrike<V>(v: V) {\n return validate<AccountStrike & V>(v, id, hashAccountStrike)\n}\n\nexport type SubjectReviewState =\n | 'lex:tools.ozone.moderation.defs#reviewOpen'\n | 'lex:tools.ozone.moderation.defs#reviewEscalated'\n | 'lex:tools.ozone.moderation.defs#reviewClosed'\n | 'lex:tools.ozone.moderation.defs#reviewNone'\n | (string & {})\n\n/** Moderator review status of a subject: Open. Indicates that the subject needs to be reviewed by a moderator */\nexport const REVIEWOPEN = `${id}#reviewOpen`\n/** Moderator review status of a subject: Escalated. Indicates that the subject was escalated for review by a moderator */\nexport const REVIEWESCALATED = `${id}#reviewEscalated`\n/** Moderator review status of a subject: Closed. Indicates that the subject was already reviewed and resolved by a moderator */\nexport const REVIEWCLOSED = `${id}#reviewClosed`\n/** Moderator review status of a subject: Unnecessary. Indicates that the subject does not need a review at the moment but there is probably some moderation related metadata available for it */\nexport const REVIEWNONE = `${id}#reviewNone`\n\n/** Take down a subject permanently or temporarily */\nexport interface ModEventTakedown {\n $type?: 'tools.ozone.moderation.defs#modEventTakedown'\n comment?: string\n /** Indicates how long the takedown should be in effect before automatically expiring. */\n durationInHours?: number\n /** If true, all other reports on content authored by this account will be resolved (acknowledged). */\n acknowledgeAccountSubjects?: boolean\n /** Names/Keywords of the policies that drove the decision. */\n policies?: string[]\n /** Severity level of the violation (e.g., 'sev-0', 'sev-1', 'sev-2', etc.). */\n severityLevel?: string\n /** List of services where the takedown should be applied. If empty or not provided, takedown is applied on all configured services. */\n targetServices?: ('appview' | 'pds' | (string & {}))[]\n /** Number of strikes to assign to the user for this violation. */\n strikeCount?: number\n /** When the strike should expire. If not provided, the strike never expires. */\n strikeExpiresAt?: string\n}\n\nconst hashModEventTakedown = 'modEventTakedown'\n\nexport function isModEventTakedown<V>(v: V) {\n return is$typed(v, id, hashModEventTakedown)\n}\n\nexport function validateModEventTakedown<V>(v: V) {\n return validate<ModEventTakedown & V>(v, id, hashModEventTakedown)\n}\n\n/** Revert take down action on a subject */\nexport interface ModEventReverseTakedown {\n $type?: 'tools.ozone.moderation.defs#modEventReverseTakedown'\n /** Describe reasoning behind the reversal. */\n comment?: string\n /** Names/Keywords of the policy infraction for which takedown is being reversed. */\n policies?: string[]\n /** Severity level of the violation. Usually set from the last policy infraction's severity. */\n severityLevel?: string\n /** Number of strikes to subtract from the user's strike count. Usually set from the last policy infraction's severity. */\n strikeCount?: number\n}\n\nconst hashModEventReverseTakedown = 'modEventReverseTakedown'\n\nexport function isModEventReverseTakedown<V>(v: V) {\n return is$typed(v, id, hashModEventReverseTakedown)\n}\n\nexport function validateModEventReverseTakedown<V>(v: V) {\n return validate<ModEventReverseTakedown & V>(\n v,\n id,\n hashModEventReverseTakedown,\n )\n}\n\n/** Resolve appeal on a subject */\nexport interface ModEventResolveAppeal {\n $type?: 'tools.ozone.moderation.defs#modEventResolveAppeal'\n /** Describe resolution. */\n comment?: string\n}\n\nconst hashModEventResolveAppeal = 'modEventResolveAppeal'\n\nexport function isModEventResolveAppeal<V>(v: V) {\n return is$typed(v, id, hashModEventResolveAppeal)\n}\n\nexport function validateModEventResolveAppeal<V>(v: V) {\n return validate<ModEventResolveAppeal & V>(v, id, hashModEventResolveAppeal)\n}\n\n/** Add a comment to a subject. An empty comment will clear any previously set sticky comment. */\nexport interface ModEventComment {\n $type?: 'tools.ozone.moderation.defs#modEventComment'\n comment?: string\n /** Make the comment persistent on the subject */\n sticky?: boolean\n}\n\nconst hashModEventComment = 'modEventComment'\n\nexport function isModEventComment<V>(v: V) {\n return is$typed(v, id, hashModEventComment)\n}\n\nexport function validateModEventComment<V>(v: V) {\n return validate<ModEventComment & V>(v, id, hashModEventComment)\n}\n\n/** Report a subject */\nexport interface ModEventReport {\n $type?: 'tools.ozone.moderation.defs#modEventReport'\n comment?: string\n /** Set to true if the reporter was muted from reporting at the time of the event. These reports won't impact the reviewState of the subject. */\n isReporterMuted?: boolean\n reportType: ComAtprotoModerationDefs.ReasonType\n}\n\nconst hashModEventReport = 'modEventReport'\n\nexport function isModEventReport<V>(v: V) {\n return is$typed(v, id, hashModEventReport)\n}\n\nexport function validateModEventReport<V>(v: V) {\n return validate<ModEventReport & V>(v, id, hashModEventReport)\n}\n\n/** Apply/Negate labels on a subject */\nexport interface ModEventLabel {\n $type?: 'tools.ozone.moderation.defs#modEventLabel'\n comment?: string\n createLabelVals: string[]\n negateLabelVals: string[]\n /** Indicates how long the label will remain on the subject. Only applies on labels that are being added. */\n durationInHours?: number\n}\n\nconst hashModEventLabel = 'modEventLabel'\n\nexport function isModEventLabel<V>(v: V) {\n return is$typed(v, id, hashModEventLabel)\n}\n\nexport function validateModEventLabel<V>(v: V) {\n return validate<ModEventLabel & V>(v, id, hashModEventLabel)\n}\n\n/** Set priority score of the subject. Higher score means higher priority. */\nexport interface ModEventPriorityScore {\n $type?: 'tools.ozone.moderation.defs#modEventPriorityScore'\n comment?: string\n score: number\n}\n\nconst hashModEventPriorityScore = 'modEventPriorityScore'\n\nexport function isModEventPriorityScore<V>(v: V) {\n return is$typed(v, id, hashModEventPriorityScore)\n}\n\nexport function validateModEventPriorityScore<V>(v: V) {\n return validate<ModEventPriorityScore & V>(v, id, hashModEventPriorityScore)\n}\n\n/** Age assurance info coming directly from users. Only works on DID subjects. */\nexport interface AgeAssuranceEvent {\n $type?: 'tools.ozone.moderation.defs#ageAssuranceEvent'\n /** The date and time of this write operation. */\n createdAt: string\n /** The status of the age assurance process. */\n status: 'unknown' | 'pending' | 'assured' | (string & {})\n /** The unique identifier for this instance of the age assurance flow, in UUID format. */\n attemptId: string\n /** The IP address used when initiating the AA flow. */\n initIp?: string\n /** The user agent used when initiating the AA flow. */\n initUa?: string\n /** The IP address used when completing the AA flow. */\n completeIp?: string\n /** The user agent used when completing the AA flow. */\n completeUa?: string\n}\n\nconst hashAgeAssuranceEvent = 'ageAssuranceEvent'\n\nexport function isAgeAssuranceEvent<V>(v: V) {\n return is$typed(v, id, hashAgeAssuranceEvent)\n}\n\nexport function validateAgeAssuranceEvent<V>(v: V) {\n return validate<AgeAssuranceEvent & V>(v, id, hashAgeAssuranceEvent)\n}\n\n/** Age assurance status override by moderators. Only works on DID subjects. */\nexport interface AgeAssuranceOverrideEvent {\n $type?: 'tools.ozone.moderation.defs#ageAssuranceOverrideEvent'\n /** The status to be set for the user decided by a moderator, overriding whatever value the user had previously. Use reset to default to original state. */\n status: 'assured' | 'reset' | 'blocked' | (string & {})\n /** Comment describing the reason for the override. */\n comment: string\n}\n\nconst hashAgeAssuranceOverrideEvent = 'ageAssuranceOverrideEvent'\n\nexport function isAgeAssuranceOverrideEvent<V>(v: V) {\n return is$typed(v, id, hashAgeAssuranceOverrideEvent)\n}\n\nexport function validateAgeAssuranceOverrideEvent<V>(v: V) {\n return validate<AgeAssuranceOverrideEvent & V>(\n v,\n id,\n hashAgeAssuranceOverrideEvent,\n )\n}\n\n/** Account credentials revocation by moderators. Only works on DID subjects. */\nexport interface RevokeAccountCredentialsEvent {\n $type?: 'tools.ozone.moderation.defs#revokeAccountCredentialsEvent'\n /** Comment describing the reason for the revocation. */\n comment: string\n}\n\nconst hashRevokeAccountCredentialsEvent = 'revokeAccountCredentialsEvent'\n\nexport function isRevokeAccountCredentialsEvent<V>(v: V) {\n return is$typed(v, id, hashRevokeAccountCredentialsEvent)\n}\n\nexport function validateRevokeAccountCredentialsEvent<V>(v: V) {\n return validate<RevokeAccountCredentialsEvent & V>(\n v,\n id,\n hashRevokeAccountCredentialsEvent,\n )\n}\n\nexport interface ModEventAcknowledge {\n $type?: 'tools.ozone.moderation.defs#modEventAcknowledge'\n comment?: string\n /** If true, all other reports on content authored by this account will be resolved (acknowledged). */\n acknowledgeAccountSubjects?: boolean\n}\n\nconst hashModEventAcknowledge = 'modEventAcknowledge'\n\nexport function isModEventAcknowledge<V>(v: V) {\n return is$typed(v, id, hashModEventAcknowledge)\n}\n\nexport function validateModEventAcknowledge<V>(v: V) {\n return validate<ModEventAcknowledge & V>(v, id, hashModEventAcknowledge)\n}\n\nexport interface ModEventEscalate {\n $type?: 'tools.ozone.moderation.defs#modEventEscalate'\n comment?: string\n}\n\nconst hashModEventEscalate = 'modEventEscalate'\n\nexport function isModEventEscalate<V>(v: V) {\n return is$typed(v, id, hashModEventEscalate)\n}\n\nexport function validateModEventEscalate<V>(v: V) {\n return validate<ModEventEscalate & V>(v, id, hashModEventEscalate)\n}\n\n/** Mute incoming reports on a subject */\nexport interface ModEventMute {\n $type?: 'tools.ozone.moderation.defs#modEventMute'\n comment?: string\n /** Indicates how long the subject should remain muted. */\n durationInHours: number\n}\n\nconst hashModEventMute = 'modEventMute'\n\nexport function isModEventMute<V>(v: V) {\n return is$typed(v, id, hashModEventMute)\n}\n\nexport function validateModEventMute<V>(v: V) {\n return validate<ModEventMute & V>(v, id, hashModEventMute)\n}\n\n/** Unmute action on a subject */\nexport interface ModEventUnmute {\n $type?: 'tools.ozone.moderation.defs#modEventUnmute'\n /** Describe reasoning behind the reversal. */\n comment?: string\n}\n\nconst hashModEventUnmute = 'modEventUnmute'\n\nexport function isModEventUnmute<V>(v: V) {\n return is$typed(v, id, hashModEventUnmute)\n}\n\nexport function validateModEventUnmute<V>(v: V) {\n return validate<ModEventUnmute & V>(v, id, hashModEventUnmute)\n}\n\n/** Mute incoming reports from an account */\nexport interface ModEventMuteReporter {\n $type?: 'tools.ozone.moderation.defs#modEventMuteReporter'\n comment?: string\n /** Indicates how long the account should remain muted. Falsy value here means a permanent mute. */\n durationInHours?: number\n}\n\nconst hashModEventMuteReporter = 'modEventMuteReporter'\n\nexport function isModEventMuteReporter<V>(v: V) {\n return is$typed(v, id, hashModEventMuteReporter)\n}\n\nexport function validateModEventMuteReporter<V>(v: V) {\n return validate<ModEventMuteReporter & V>(v, id, hashModEventMuteReporter)\n}\n\n/** Unmute incoming reports from an account */\nexport interface ModEventUnmuteReporter {\n $type?: 'tools.ozone.moderation.defs#modEventUnmuteReporter'\n /** Describe reasoning behind the reversal. */\n comment?: string\n}\n\nconst hashModEventUnmuteReporter = 'modEventUnmuteReporter'\n\nexport function isModEventUnmuteReporter<V>(v: V) {\n return is$typed(v, id, hashModEventUnmuteReporter)\n}\n\nexport function validateModEventUnmuteReporter<V>(v: V) {\n return validate<ModEventUnmuteReporter & V>(v, id, hashModEventUnmuteReporter)\n}\n\n/** Keep a log of outgoing email to a user */\nexport interface ModEventEmail {\n $type?: 'tools.ozone.moderation.defs#modEventEmail'\n /** The subject line of the email sent to the user. */\n subjectLine: string\n /** The content of the email sent to the user. */\n content?: string\n /** Additional comment about the outgoing comm. */\n comment?: string\n /** Names/Keywords of the policies that necessitated the email. */\n policies?: string[]\n /** Severity level of the violation. Normally 'sev-1' that adds strike on repeat offense */\n severityLevel?: string\n /** Number of strikes to assign to the user for this violation. Normally 0 as an indicator of a warning and only added as a strike on a repeat offense. */\n strikeCount?: number\n /** When the strike should expire. If not provided, the strike never expires. */\n strikeExpiresAt?: string\n /** Indicates whether the email was successfully delivered to the user's inbox. */\n isDelivered?: boolean\n}\n\nconst hashModEventEmail = 'modEventEmail'\n\nexport function isModEventEmail<V>(v: V) {\n return is$typed(v, id, hashModEventEmail)\n}\n\nexport function validateModEventEmail<V>(v: V) {\n return validate<ModEventEmail & V>(v, id, hashModEventEmail)\n}\n\n/** Divert a record's blobs to a 3rd party service for further scanning/tagging */\nexport interface ModEventDivert {\n $type?: 'tools.ozone.moderation.defs#modEventDivert'\n comment?: string\n}\n\nconst hashModEventDivert = 'modEventDivert'\n\nexport function isModEventDivert<V>(v: V) {\n return is$typed(v, id, hashModEventDivert)\n}\n\nexport function validateModEventDivert<V>(v: V) {\n return validate<ModEventDivert & V>(v, id, hashModEventDivert)\n}\n\n/** Add/Remove a tag on a subject */\nexport interface ModEventTag {\n $type?: 'tools.ozone.moderation.defs#modEventTag'\n /** Tags to be added to the subject. If already exists, won't be duplicated. */\n add: string[]\n /** Tags to be removed to the subject. Ignores a tag If it doesn't exist, won't be duplicated. */\n remove: string[]\n /** Additional comment about added/removed tags. */\n comment?: string\n}\n\nconst hashModEventTag = 'modEventTag'\n\nexport function isModEventTag<V>(v: V) {\n return is$typed(v, id, hashModEventTag)\n}\n\nexport function validateModEventTag<V>(v: V) {\n return validate<ModEventTag & V>(v, id, hashModEventTag)\n}\n\n/** Logs account status related events on a repo subject. Normally captured by automod from the firehose and emitted to ozone for historical tracking. */\nexport interface AccountEvent {\n $type?: 'tools.ozone.moderation.defs#accountEvent'\n comment?: string\n /** Indicates that the account has a repository which can be fetched from the host that emitted this event. */\n active: boolean\n status?:\n | 'unknown'\n | 'deactivated'\n | 'deleted'\n | 'takendown'\n | 'suspended'\n | 'tombstoned'\n | (string & {})\n timestamp: string\n}\n\nconst hashAccountEvent = 'accountEvent'\n\nexport function isAccountEvent<V>(v: V) {\n return is$typed(v, id, hashAccountEvent)\n}\n\nexport function validateAccountEvent<V>(v: V) {\n return validate<AccountEvent & V>(v, id, hashAccountEvent)\n}\n\n/** Logs identity related events on a repo subject. Normally captured by automod from the firehose and emitted to ozone for historical tracking. */\nexport interface IdentityEvent {\n $type?: 'tools.ozone.moderation.defs#identityEvent'\n comment?: string\n handle?: string\n pdsHost?: string\n tombstone?: boolean\n timestamp: string\n}\n\nconst hashIdentityEvent = 'identityEvent'\n\nexport function isIdentityEvent<V>(v: V) {\n return is$typed(v, id, hashIdentityEvent)\n}\n\nexport function validateIdentityEvent<V>(v: V) {\n return validate<IdentityEvent & V>(v, id, hashIdentityEvent)\n}\n\n/** Logs lifecycle event on a record subject. Normally captured by automod from the firehose and emitted to ozone for historical tracking. */\nexport interface RecordEvent {\n $type?: 'tools.ozone.moderation.defs#recordEvent'\n comment?: string\n op: 'create' | 'update' | 'delete' | (string & {})\n cid?: string\n timestamp: string\n}\n\nconst hashRecordEvent = 'recordEvent'\n\nexport function isRecordEvent<V>(v: V) {\n return is$typed(v, id, hashRecordEvent)\n}\n\nexport function validateRecordEvent<V>(v: V) {\n return validate<RecordEvent & V>(v, id, hashRecordEvent)\n}\n\n/** Logs a scheduled takedown action for an account. */\nexport interface ScheduleTakedownEvent {\n $type?: 'tools.ozone.moderation.defs#scheduleTakedownEvent'\n comment?: string\n executeAt?: string\n executeAfter?: string\n executeUntil?: string\n}\n\nconst hashScheduleTakedownEvent = 'scheduleTakedownEvent'\n\nexport function isScheduleTakedownEvent<V>(v: V) {\n return is$typed(v, id, hashScheduleTakedownEvent)\n}\n\nexport function validateScheduleTakedownEvent<V>(v: V) {\n return validate<ScheduleTakedownEvent & V>(v, id, hashScheduleTakedownEvent)\n}\n\n/** Logs cancellation of a scheduled takedown action for an account. */\nexport interface CancelScheduledTakedownEvent {\n $type?: 'tools.ozone.moderation.defs#cancelScheduledTakedownEvent'\n comment?: string\n}\n\nconst hashCancelScheduledTakedownEvent = 'cancelScheduledTakedownEvent'\n\nexport function isCancelScheduledTakedownEvent<V>(v: V) {\n return is$typed(v, id, hashCancelScheduledTakedownEvent)\n}\n\nexport function validateCancelScheduledTakedownEvent<V>(v: V) {\n return validate<CancelScheduledTakedownEvent & V>(\n v,\n id,\n hashCancelScheduledTakedownEvent,\n )\n}\n\nexport interface RepoView {\n $type?: 'tools.ozone.moderation.defs#repoView'\n did: string\n handle: string\n email?: string\n relatedRecords: { [_ in string]: unknown }[]\n indexedAt: string\n moderation: Moderation\n invitedBy?: ComAtprotoServerDefs.InviteCode\n invitesDisabled?: boolean\n inviteNote?: string\n deactivatedAt?: string\n threatSignatures?: ComAtprotoAdminDefs.ThreatSignature[]\n}\n\nconst hashRepoView = 'repoView'\n\nexport function isRepoView<V>(v: V) {\n return is$typed(v, id, hashRepoView)\n}\n\nexport function validateRepoView<V>(v: V) {\n return validate<RepoView & V>(v, id, hashRepoView)\n}\n\nexport interface RepoViewDetail {\n $type?: 'tools.ozone.moderation.defs#repoViewDetail'\n did: string\n handle: string\n email?: string\n relatedRecords: { [_ in string]: unknown }[]\n indexedAt: string\n moderation: ModerationDetail\n labels?: ComAtprotoLabelDefs.Label[]\n invitedBy?: ComAtprotoServerDefs.InviteCode\n invites?: ComAtprotoServerDefs.InviteCode[]\n invitesDisabled?: boolean\n inviteNote?: string\n emailConfirmedAt?: string\n deactivatedAt?: string\n threatSignatures?: ComAtprotoAdminDefs.ThreatSignature[]\n}\n\nconst hashRepoViewDetail = 'repoViewDetail'\n\nexport function isRepoViewDetail<V>(v: V) {\n return is$typed(v, id, hashRepoViewDetail)\n}\n\nexport function validateRepoViewDetail<V>(v: V) {\n return validate<RepoViewDetail & V>(v, id, hashRepoViewDetail)\n}\n\nexport interface RepoViewNotFound {\n $type?: 'tools.ozone.moderation.defs#repoViewNotFound'\n did: string\n}\n\nconst hashRepoViewNotFound = 'repoViewNotFound'\n\nexport function isRepoViewNotFound<V>(v: V) {\n return is$typed(v, id, hashRepoViewNotFound)\n}\n\nexport function validateRepoViewNotFound<V>(v: V) {\n return validate<RepoViewNotFound & V>(v, id, hashRepoViewNotFound)\n}\n\nexport interface RecordView {\n $type?: 'tools.ozone.moderation.defs#recordView'\n uri: string\n cid: string\n value: { [_ in string]: unknown }\n blobCids: string[]\n indexedAt: string\n moderation: Moderation\n repo: RepoView\n}\n\nconst hashRecordView = 'recordView'\n\nexport function isRecordView<V>(v: V) {\n return is$typed(v, id, hashRecordView)\n}\n\nexport function validateRecordView<V>(v: V) {\n return validate<RecordView & V>(v, id, hashRecordView)\n}\n\nexport interface RecordViewDetail {\n $type?: 'tools.ozone.moderation.defs#recordViewDetail'\n uri: string\n cid: string\n value: { [_ in string]: unknown }\n blobs: BlobView[]\n labels?: ComAtprotoLabelDefs.Label[]\n indexedAt: string\n moderation: ModerationDetail\n repo: RepoView\n}\n\nconst hashRecordViewDetail = 'recordViewDetail'\n\nexport function isRecordViewDetail<V>(v: V) {\n return is$typed(v, id, hashRecordViewDetail)\n}\n\nexport function validateRecordViewDetail<V>(v: V) {\n return validate<RecordViewDetail & V>(v, id, hashRecordViewDetail)\n}\n\nexport interface RecordViewNotFound {\n $type?: 'tools.ozone.moderation.defs#recordViewNotFound'\n uri: string\n}\n\nconst hashRecordViewNotFound = 'recordViewNotFound'\n\nexport function isRecordViewNotFound<V>(v: V) {\n return is$typed(v, id, hashRecordViewNotFound)\n}\n\nexport function validateRecordViewNotFound<V>(v: V) {\n return validate<RecordViewNotFound & V>(v, id, hashRecordViewNotFound)\n}\n\nexport interface Moderation {\n $type?: 'tools.ozone.moderation.defs#moderation'\n subjectStatus?: SubjectStatusView\n}\n\nconst hashModeration = 'moderation'\n\nexport function isModeration<V>(v: V) {\n return is$typed(v, id, hashModeration)\n}\n\nexport function validateModeration<V>(v: V) {\n return validate<Moderation & V>(v, id, hashModeration)\n}\n\nexport interface ModerationDetail {\n $type?: 'tools.ozone.moderation.defs#moderationDetail'\n subjectStatus?: SubjectStatusView\n}\n\nconst hashModerationDetail = 'moderationDetail'\n\nexport function isModerationDetail<V>(v: V) {\n return is$typed(v, id, hashModerationDetail)\n}\n\nexport function validateModerationDetail<V>(v: V) {\n return validate<ModerationDetail & V>(v, id, hashModerationDetail)\n}\n\nexport interface BlobView {\n $type?: 'tools.ozone.moderation.defs#blobView'\n cid: string\n mimeType: string\n size: number\n createdAt: string\n details?: $Typed<ImageDetails> | $Typed<VideoDetails> | { $type: string }\n moderation?: Moderation\n}\n\nconst hashBlobView = 'blobView'\n\nexport function isBlobView<V>(v: V) {\n return is$typed(v, id, hashBlobView)\n}\n\nexport function validateBlobView<V>(v: V) {\n return validate<BlobView & V>(v, id, hashBlobView)\n}\n\nexport interface ImageDetails {\n $type?: 'tools.ozone.moderation.defs#imageDetails'\n width: number\n height: number\n}\n\nconst hashImageDetails = 'imageDetails'\n\nexport function isImageDetails<V>(v: V) {\n return is$typed(v, id, hashImageDetails)\n}\n\nexport function validateImageDetails<V>(v: V) {\n return validate<ImageDetails & V>(v, id, hashImageDetails)\n}\n\nexport interface VideoDetails {\n $type?: 'tools.ozone.moderation.defs#videoDetails'\n width: number\n height: number\n length: number\n}\n\nconst hashVideoDetails = 'videoDetails'\n\nexport function isVideoDetails<V>(v: V) {\n return is$typed(v, id, hashVideoDetails)\n}\n\nexport function validateVideoDetails<V>(v: V) {\n return validate<VideoDetails & V>(v, id, hashVideoDetails)\n}\n\nexport interface AccountHosting {\n $type?: 'tools.ozone.moderation.defs#accountHosting'\n status:\n | 'takendown'\n | 'suspended'\n | 'deleted'\n | 'deactivated'\n | 'unknown'\n | (string & {})\n updatedAt?: string\n createdAt?: string\n deletedAt?: string\n deactivatedAt?: string\n reactivatedAt?: string\n}\n\nconst hashAccountHosting = 'accountHosting'\n\nexport function isAccountHosting<V>(v: V) {\n return is$typed(v, id, hashAccountHosting)\n}\n\nexport function validateAccountHosting<V>(v: V) {\n return validate<AccountHosting & V>(v, id, hashAccountHosting)\n}\n\nexport interface RecordHosting {\n $type?: 'tools.ozone.moderation.defs#recordHosting'\n status: 'deleted' | 'unknown' | (string & {})\n updatedAt?: string\n createdAt?: string\n deletedAt?: string\n}\n\nconst hashRecordHosting = 'recordHosting'\n\nexport function isRecordHosting<V>(v: V) {\n return is$typed(v, id, hashRecordHosting)\n}\n\nexport function validateRecordHosting<V>(v: V) {\n return validate<RecordHosting & V>(v, id, hashRecordHosting)\n}\n\nexport interface ReporterStats {\n $type?: 'tools.ozone.moderation.defs#reporterStats'\n did: string\n /** The total number of reports made by the user on accounts. */\n accountReportCount: number\n /** The total number of reports made by the user on records. */\n recordReportCount: number\n /** The total number of accounts reported by the user. */\n reportedAccountCount: number\n /** The total number of records reported by the user. */\n reportedRecordCount: number\n /** The total number of accounts taken down as a result of the user's reports. */\n takendownAccountCount: number\n /** The total number of records taken down as a result of the user's reports. */\n takendownRecordCount: number\n /** The total number of accounts labeled as a result of the user's reports. */\n labeledAccountCount: number\n /** The total number of records labeled as a result of the user's reports. */\n labeledRecordCount: number\n}\n\nconst hashReporterStats = 'reporterStats'\n\nexport function isReporterStats<V>(v: V) {\n return is$typed(v, id, hashReporterStats)\n}\n\nexport function validateReporterStats<V>(v: V) {\n return validate<ReporterStats & V>(v, id, hashReporterStats)\n}\n\n/** Moderation tool information for tracing the source of the action */\nexport interface ModTool {\n $type?: 'tools.ozone.moderation.defs#modTool'\n /** Name/identifier of the source (e.g., 'automod', 'ozone/workspace') */\n name: string\n /** Additional arbitrary metadata about the source */\n meta?: { [_ in string]: unknown }\n}\n\nconst hashModTool = 'modTool'\n\nexport function isModTool<V>(v: V) {\n return is$typed(v, id, hashModTool)\n}\n\nexport function validateModTool<V>(v: V) {\n return validate<ModTool & V>(v, id, hashModTool)\n}\n\n/** Moderation event timeline event for a PLC create operation */\nexport const TIMELINEEVENTPLCCREATE = `${id}#timelineEventPlcCreate`\n/** Moderation event timeline event for generic PLC operation */\nexport const TIMELINEEVENTPLCOPERATION = `${id}#timelineEventPlcOperation`\n/** Moderation event timeline event for a PLC tombstone operation */\nexport const TIMELINEEVENTPLCTOMBSTONE = `${id}#timelineEventPlcTombstone`\n\n/** View of a scheduled moderation action */\nexport interface ScheduledActionView {\n $type?: 'tools.ozone.moderation.defs#scheduledActionView'\n /** Auto-incrementing row ID */\n id: number\n /** Type of action to be executed */\n action: 'takedown' | (string & {})\n /** Serialized event object that will be propagated to the event when performed */\n eventData?: { [_ in string]: unknown }\n /** Subject DID for the action */\n did: string\n /** Exact time to execute the action */\n executeAt?: string\n /** Earliest time to execute the action (for randomized scheduling) */\n executeAfter?: string\n /** Latest time to execute the action (for randomized scheduling) */\n executeUntil?: string\n /** Whether execution time should be randomized within the specified range */\n randomizeExecution?: boolean\n /** DID of the user who created this scheduled action */\n createdBy: string\n /** When the scheduled action was created */\n createdAt: string\n /** When the scheduled action was last updated */\n updatedAt?: string\n /** Current status of the scheduled action */\n status: 'pending' | 'executed' | 'cancelled' | 'failed' | (string & {})\n /** When the action was last attempted to be executed */\n lastExecutedAt?: string\n /** Reason for the last execution failure */\n lastFailureReason?: string\n /** ID of the moderation event created when action was successfully executed */\n executionEventId?: number\n}\n\nconst hashScheduledActionView = 'scheduledActionView'\n\nexport function isScheduledActionView<V>(v: V) {\n return is$typed(v, id, hashScheduledActionView)\n}\n\nexport function validateScheduledActionView<V>(v: V) {\n return validate<ScheduledActionView & V>(v, id, hashScheduledActionView)\n}\n"]}
|
|
@@ -42,6 +42,16 @@ export interface Takedown {
|
|
|
42
42
|
acknowledgeAccountSubjects?: boolean;
|
|
43
43
|
/** Names/Keywords of the policies that drove the decision. */
|
|
44
44
|
policies?: string[];
|
|
45
|
+
/** Severity level of the violation (e.g., 'sev-0', 'sev-1', 'sev-2', etc.). */
|
|
46
|
+
severityLevel?: string;
|
|
47
|
+
/** Number of strikes to assign to the user when takedown is applied. */
|
|
48
|
+
strikeCount?: number;
|
|
49
|
+
/** When the strike should expire. If not provided, the strike never expires. */
|
|
50
|
+
strikeExpiresAt?: string;
|
|
51
|
+
/** Email content to be sent to the user upon takedown. */
|
|
52
|
+
emailContent?: string;
|
|
53
|
+
/** Subject of the email to be sent to the user upon takedown. */
|
|
54
|
+
emailSubject?: string;
|
|
45
55
|
}
|
|
46
56
|
export declare function isTakedown<V>(v: V): v is import("../../../../util").$TypedObject<V, "tools.ozone.moderation.scheduleAction", "takedown">;
|
|
47
57
|
export declare function validateTakedown<V>(v: V): ValidationResult<Takedown & V>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduleAction.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/moderation/scheduleAction.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,kBAAkB,CAAA;AACzB,OAAO,KAAK,KAAK,wBAAwB,MAAM,WAAW,CAAA;AAM1D,MAAM,MAAM,WAAW,GAAG,EAAE,CAAA;AAE5B,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,GAAG;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IAC5C,uDAAuD;IACvD,QAAQ,EAAE,MAAM,EAAE,CAAA;IAClB,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,gBAAgB,CAAA;IAC5B,OAAO,CAAC,EAAE,wBAAwB,CAAC,OAAO,CAAA;CAC3C;AAED,MAAM,MAAM,YAAY,GAAG,sBAAsB,CAAA;AAEjD,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,WAAW,CAAA;CAClB;AAED,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,CAAA;AAEzD,iCAAiC;AACjC,MAAM,WAAW,QAAQ;IACvB,KAAK,CAAC,EAAE,gDAAgD,CAAA;IACxD,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,yFAAyF;IACzF,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,sGAAsG;IACtG,0BAA0B,CAAC,EAAE,OAAO,CAAA;IACpC,8DAA8D;IAC9D,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;
|
|
1
|
+
{"version":3,"file":"scheduleAction.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/moderation/scheduleAction.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,kBAAkB,CAAA;AACzB,OAAO,KAAK,KAAK,wBAAwB,MAAM,WAAW,CAAA;AAM1D,MAAM,MAAM,WAAW,GAAG,EAAE,CAAA;AAE5B,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,GAAG;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IAC5C,uDAAu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AAED,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,kCAEvC;AAED,2DAA2D;AAC3D,MAAM,WAAW,gBAAgB;IAC/B,KAAK,CAAC,EAAE,wDAAwD,CAAA;IAChE,uCAAuC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,sEAAsE;IACtE,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,oEAAoE;IACpE,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAID,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,gHAEzC;AAED,wBAAgB,wBAAwB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,0CAE/C;AAED,MAAM,WAAW,sBAAsB;IACrC,KAAK,CAAC,EAAE,8DAA8D,CAAA;IACtE,SAAS,EAAE,MAAM,EAAE,CAAA;IACnB,MAAM,EAAE,gBAAgB,EAAE,CAAA;CAC3B;AAID,wBAAgB,wBAAwB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,sHAE/C;AAED,wBAAgB,8BAA8B,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,gDAErD;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,CAAC,EAAE,wDAAwD,CAAA;IAChE,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAID,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,gHAEzC;AAED,wBAAgB,wBAAwB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,0CAE/C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduleAction.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/moderation/scheduleAction.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"scheduleAction.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/moderation/schedule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ED,SAAgB,wBAAwB,CAAI,CAAI;IAC9C,OAAO,QAAQ,CAAuB,CAAC,EAAE,EAAE,EAAE,oBAAoB,CAAC,CAAA;AACpE,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\nimport type * as ToolsOzoneModerationDefs from './defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'tools.ozone.moderation.scheduleAction'\n\nexport type QueryParams = {}\n\nexport interface InputSchema {\n action: $Typed<Takedown> | { $type: string }\n /** Array of DID subjects to schedule the action for */\n subjects: string[]\n createdBy: string\n scheduling: SchedulingConfig\n modTool?: ToolsOzoneModerationDefs.ModTool\n}\n\nexport type OutputSchema = ScheduledActionResults\n\nexport interface HandlerInput {\n encoding: 'application/json'\n body: InputSchema\n}\n\nexport interface HandlerSuccess {\n encoding: 'application/json'\n body: OutputSchema\n headers?: { [key: string]: string }\n}\n\nexport interface HandlerError {\n status: number\n message?: string\n}\n\nexport type HandlerOutput = HandlerError | HandlerSuccess\n\n/** Schedule a takedown action */\nexport interface Takedown {\n $type?: 'tools.ozone.moderation.scheduleAction#takedown'\n comment?: string\n /** Indicates how long the takedown should be in effect before automatically expiring. */\n durationInHours?: number\n /** If true, all other reports on content authored by this account will be resolved (acknowledged). */\n acknowledgeAccountSubjects?: boolean\n /** Names/Keywords of the policies that drove the decision. */\n policies?: string[]\n /** Severity level of the violation (e.g., 'sev-0', 'sev-1', 'sev-2', etc.). */\n severityLevel?: string\n /** Number of strikes to assign to the user when takedown is applied. */\n strikeCount?: number\n /** When the strike should expire. If not provided, the strike never expires. */\n strikeExpiresAt?: string\n /** Email content to be sent to the user upon takedown. */\n emailContent?: string\n /** Subject of the email to be sent to the user upon takedown. */\n emailSubject?: string\n}\n\nconst hashTakedown = 'takedown'\n\nexport function isTakedown<V>(v: V) {\n return is$typed(v, id, hashTakedown)\n}\n\nexport function validateTakedown<V>(v: V) {\n return validate<Takedown & V>(v, id, hashTakedown)\n}\n\n/** Configuration for when the action should be executed */\nexport interface SchedulingConfig {\n $type?: 'tools.ozone.moderation.scheduleAction#schedulingConfig'\n /** Exact time to execute the action */\n executeAt?: string\n /** Earliest time to execute the action (for randomized scheduling) */\n executeAfter?: string\n /** Latest time to execute the action (for randomized scheduling) */\n executeUntil?: string\n}\n\nconst hashSchedulingConfig = 'schedulingConfig'\n\nexport function isSchedulingConfig<V>(v: V) {\n return is$typed(v, id, hashSchedulingConfig)\n}\n\nexport function validateSchedulingConfig<V>(v: V) {\n return validate<SchedulingConfig & V>(v, id, hashSchedulingConfig)\n}\n\nexport interface ScheduledActionResults {\n $type?: 'tools.ozone.moderation.scheduleAction#scheduledActionResults'\n succeeded: string[]\n failed: FailedScheduling[]\n}\n\nconst hashScheduledActionResults = 'scheduledActionResults'\n\nexport function isScheduledActionResults<V>(v: V) {\n return is$typed(v, id, hashScheduledActionResults)\n}\n\nexport function validateScheduledActionResults<V>(v: V) {\n return validate<ScheduledActionResults & V>(v, id, hashScheduledActionResults)\n}\n\nexport interface FailedScheduling {\n $type?: 'tools.ozone.moderation.scheduleAction#failedScheduling'\n subject: string\n error: string\n errorCode?: string\n}\n\nconst hashFailedScheduling = 'failedScheduling'\n\nexport function isFailedScheduling<V>(v: V) {\n return is$typed(v, id, hashFailedScheduling)\n}\n\nexport function validateFailedScheduling<V>(v: V) {\n return validate<FailedScheduling & V>(v, id, hashFailedScheduling)\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atproto/pds",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.194",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Reference implementation of atproto Personal Data Server (PDS)",
|
|
6
6
|
"keywords": [
|
|
@@ -51,9 +51,9 @@
|
|
|
51
51
|
"@atproto-labs/simple-store": "0.3.0",
|
|
52
52
|
"@atproto-labs/simple-store-memory": "0.1.4",
|
|
53
53
|
"@atproto-labs/simple-store-redis": "0.0.1",
|
|
54
|
-
"@atproto-labs/xrpc-utils": "0.0.
|
|
54
|
+
"@atproto-labs/xrpc-utils": "0.0.23",
|
|
55
|
+
"@atproto/api": "^0.18.1",
|
|
55
56
|
"@atproto/aws": "^0.2.30",
|
|
56
|
-
"@atproto/api": "^0.18.0",
|
|
57
57
|
"@atproto/common": "^0.4.12",
|
|
58
58
|
"@atproto/crypto": "^0.4.4",
|
|
59
59
|
"@atproto/identity": "^0.4.9",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"@atproto/repo": "^0.8.10",
|
|
65
65
|
"@atproto/syntax": "^0.4.1",
|
|
66
66
|
"@atproto/xrpc": "^0.7.5",
|
|
67
|
-
"@atproto/xrpc-server": "^0.9.
|
|
67
|
+
"@atproto/xrpc-server": "^0.9.6"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@atproto/pds-entryway": "npm:@atproto/pds@0.3.0-entryway.3",
|
|
@@ -82,8 +82,8 @@
|
|
|
82
82
|
"ts-node": "^10.8.2",
|
|
83
83
|
"typescript": "^5.6.3",
|
|
84
84
|
"ws": "^8.12.0",
|
|
85
|
-
"@atproto/api": "^0.18.
|
|
86
|
-
"@atproto/bsky": "^0.0.
|
|
85
|
+
"@atproto/api": "^0.18.1",
|
|
86
|
+
"@atproto/bsky": "^0.0.197",
|
|
87
87
|
"@atproto/lex-cli": "^0.9.6",
|
|
88
88
|
"@atproto/oauth-client-browser-example": "0.0.8"
|
|
89
89
|
},
|
package/src/lexicon/lexicons.ts
CHANGED
|
@@ -14889,6 +14889,15 @@ export const schemaDict = {
|
|
|
14889
14889
|
description:
|
|
14890
14890
|
"Severity level of the violation (e.g., 'sev-0', 'sev-1', 'sev-2', etc.).",
|
|
14891
14891
|
},
|
|
14892
|
+
targetServices: {
|
|
14893
|
+
type: 'array',
|
|
14894
|
+
items: {
|
|
14895
|
+
type: 'string',
|
|
14896
|
+
knownValues: ['appview', 'pds'],
|
|
14897
|
+
},
|
|
14898
|
+
description:
|
|
14899
|
+
'List of services where the takedown should be applied. If empty or not provided, takedown is applied on all configured services.',
|
|
14900
|
+
},
|
|
14892
14901
|
strikeCount: {
|
|
14893
14902
|
type: 'integer',
|
|
14894
14903
|
description:
|
|
@@ -15197,6 +15206,11 @@ export const schemaDict = {
|
|
|
15197
15206
|
description:
|
|
15198
15207
|
'When the strike should expire. If not provided, the strike never expires.',
|
|
15199
15208
|
},
|
|
15209
|
+
isDelivered: {
|
|
15210
|
+
type: 'boolean',
|
|
15211
|
+
description:
|
|
15212
|
+
"Indicates whether the email was successfully delivered to the user's inbox.",
|
|
15213
|
+
},
|
|
15200
15214
|
},
|
|
15201
15215
|
},
|
|
15202
15216
|
modEventDivert: {
|
|
@@ -16950,6 +16964,31 @@ export const schemaDict = {
|
|
|
16950
16964
|
description:
|
|
16951
16965
|
'Names/Keywords of the policies that drove the decision.',
|
|
16952
16966
|
},
|
|
16967
|
+
severityLevel: {
|
|
16968
|
+
type: 'string',
|
|
16969
|
+
description:
|
|
16970
|
+
"Severity level of the violation (e.g., 'sev-0', 'sev-1', 'sev-2', etc.).",
|
|
16971
|
+
},
|
|
16972
|
+
strikeCount: {
|
|
16973
|
+
type: 'integer',
|
|
16974
|
+
description:
|
|
16975
|
+
'Number of strikes to assign to the user when takedown is applied.',
|
|
16976
|
+
},
|
|
16977
|
+
strikeExpiresAt: {
|
|
16978
|
+
type: 'string',
|
|
16979
|
+
format: 'datetime',
|
|
16980
|
+
description:
|
|
16981
|
+
'When the strike should expire. If not provided, the strike never expires.',
|
|
16982
|
+
},
|
|
16983
|
+
emailContent: {
|
|
16984
|
+
type: 'string',
|
|
16985
|
+
description: 'Email content to be sent to the user upon takedown.',
|
|
16986
|
+
},
|
|
16987
|
+
emailSubject: {
|
|
16988
|
+
type: 'string',
|
|
16989
|
+
description:
|
|
16990
|
+
'Subject of the email to be sent to the user upon takedown.',
|
|
16991
|
+
},
|
|
16953
16992
|
},
|
|
16954
16993
|
},
|
|
16955
16994
|
schedulingConfig: {
|
|
@@ -308,6 +308,8 @@ export interface ModEventTakedown {
|
|
|
308
308
|
policies?: string[]
|
|
309
309
|
/** Severity level of the violation (e.g., 'sev-0', 'sev-1', 'sev-2', etc.). */
|
|
310
310
|
severityLevel?: string
|
|
311
|
+
/** List of services where the takedown should be applied. If empty or not provided, takedown is applied on all configured services. */
|
|
312
|
+
targetServices?: ('appview' | 'pds' | (string & {}))[]
|
|
311
313
|
/** Number of strikes to assign to the user for this violation. */
|
|
312
314
|
strikeCount?: number
|
|
313
315
|
/** When the strike should expire. If not provided, the strike never expires. */
|
|
@@ -634,6 +636,8 @@ export interface ModEventEmail {
|
|
|
634
636
|
strikeCount?: number
|
|
635
637
|
/** When the strike should expire. If not provided, the strike never expires. */
|
|
636
638
|
strikeExpiresAt?: string
|
|
639
|
+
/** Indicates whether the email was successfully delivered to the user's inbox. */
|
|
640
|
+
isDelivered?: boolean
|
|
637
641
|
}
|
|
638
642
|
|
|
639
643
|
const hashModEventEmail = 'modEventEmail'
|
|
@@ -56,6 +56,16 @@ export interface Takedown {
|
|
|
56
56
|
acknowledgeAccountSubjects?: boolean
|
|
57
57
|
/** Names/Keywords of the policies that drove the decision. */
|
|
58
58
|
policies?: string[]
|
|
59
|
+
/** Severity level of the violation (e.g., 'sev-0', 'sev-1', 'sev-2', etc.). */
|
|
60
|
+
severityLevel?: string
|
|
61
|
+
/** Number of strikes to assign to the user when takedown is applied. */
|
|
62
|
+
strikeCount?: number
|
|
63
|
+
/** When the strike should expire. If not provided, the strike never expires. */
|
|
64
|
+
strikeExpiresAt?: string
|
|
65
|
+
/** Email content to be sent to the user upon takedown. */
|
|
66
|
+
emailContent?: string
|
|
67
|
+
/** Subject of the email to be sent to the user upon takedown. */
|
|
68
|
+
emailSubject?: string
|
|
59
69
|
}
|
|
60
70
|
|
|
61
71
|
const hashTakedown = 'takedown'
|