@atproto/api 0.20.35 → 0.20.37
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 +27 -2
- package/dist/agent.d.ts +4 -1
- package/dist/agent.d.ts.map +1 -1
- package/dist/agent.js +6 -2
- package/dist/agent.js.map +1 -1
- package/dist/atp-agent.d.ts.map +1 -1
- package/dist/atp-agent.js.map +1 -1
- package/dist/client/lexicons.d.ts +60 -8
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +30 -4
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/actor/defs.d.ts +5 -0
- package/dist/client/types/app/bsky/actor/defs.d.ts.map +1 -1
- package/dist/client/types/app/bsky/actor/defs.js.map +1 -1
- package/dist/client/types/app/bsky/ageassurance/defs.d.ts.map +1 -1
- package/dist/client/types/app/bsky/ageassurance/defs.js.map +1 -1
- package/dist/client/types/app/bsky/draft/defs.d.ts.map +1 -1
- package/dist/client/types/app/bsky/draft/defs.js.map +1 -1
- package/dist/client/types/app/bsky/feed/defs.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/defs.js.map +1 -1
- package/dist/client/types/app/bsky/graph/muteActor.d.ts +4 -0
- package/dist/client/types/app/bsky/graph/muteActor.d.ts.map +1 -1
- package/dist/client/types/app/bsky/graph/muteActor.js.map +1 -1
- package/dist/client/types/app/bsky/unspecced/defs.d.ts +5 -1
- package/dist/client/types/app/bsky/unspecced/defs.d.ts.map +1 -1
- package/dist/client/types/app/bsky/unspecced/defs.js.map +1 -1
- package/dist/client/types/chat/bsky/convo/defs.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/defs.js.map +1 -1
- package/dist/client/types/chat/bsky/group/createGroup.d.ts +1 -0
- package/dist/client/types/chat/bsky/group/createGroup.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/group/createGroup.js.map +1 -1
- package/dist/client/types/com/atproto/repo/applyWrites.d.ts.map +1 -1
- package/dist/client/types/com/atproto/repo/applyWrites.js.map +1 -1
- package/dist/client/types/com/atproto/sync/defs.d.ts.map +1 -1
- package/dist/client/types/com/atproto/sync/defs.js.map +1 -1
- package/dist/client/types/com/atproto/temp/checkHandleAvailability.d.ts.map +1 -1
- package/dist/client/types/com/atproto/temp/checkHandleAvailability.js.map +1 -1
- package/dist/client/types/tools/ozone/moderation/defs.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/moderation/defs.js.map +1 -1
- package/dist/client/types/tools/ozone/moderation/queryEvents.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/moderation/queryEvents.js.map +1 -1
- package/dist/client/types/tools/ozone/moderation/queryStatuses.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/moderation/queryStatuses.js.map +1 -1
- package/dist/client/types/tools/ozone/queue/createQueue.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/queue/createQueue.js.map +1 -1
- package/dist/client/types/tools/ozone/queue/defs.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/queue/defs.js.map +1 -1
- package/dist/client/types/tools/ozone/report/defs.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/report/defs.js.map +1 -1
- package/dist/client/types/tools/ozone/report/queryReports.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/report/queryReports.js.map +1 -1
- package/dist/moderation/types.d.ts.map +1 -1
- package/dist/moderation/types.js.map +1 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/package.json +7 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/client/types/tools/ozone/report/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAyB,OAAO,EAAE,MAAM,kBAAkB,CAAA;AACjE,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACtC,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAE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,mBAAmB,GAAG,iBAAiB,CAAA;AAE7C,MAAM,UAAU,iBAAiB,CAAI,CAAI;IACvC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,mBAAmB,CAAC,CAAA;AAC7C,CAAC;AAED,MAAM,UAAU,uBAAuB,CAAI,CAAI;IAC7C,OAAO,QAAQ,CAAsB,CAAC,EAAE,EAAE,EAAE,mBAAmB,CAAC,CAAA;AAClE,CAAC;AAaD,MAAM,kBAAkB,GAAG,gBAAgB,CAAA;AAE3C,MAAM,UAAU,gBAAgB,CAAI,CAAI;IACtC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,kBAAkB,CAAC,CAAA;AAC5C,CAAC;AAED,MAAM,UAAU,sBAAsB,CAAI,CAAI;IAC5C,OAAO,QAAQ,CAAqB,CAAC,EAAE,EAAE,EAAE,kBAAkB,CAAC,CAAA;AAChE,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.js'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util.js'\nimport type * as ToolsOzoneTeamDefs from '../team/defs.js'\nimport type * as ToolsOzoneModerationDefs from '../moderation/defs.js'\nimport type * as ComAtprotoModerationDefs from '../../../com/atproto/moderation/defs.js'\nimport type * as ToolsOzoneQueueDefs from '../queue/defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'tools.ozone.report.defs'\n\nexport type ReasonType =\n | 'tools.ozone.report.defs#reasonAppeal'\n | 'tools.ozone.report.defs#reasonOther'\n | 'tools.ozone.report.defs#reasonViolenceAnimal'\n | 'tools.ozone.report.defs#reasonViolenceThreats'\n | 'tools.ozone.report.defs#reasonViolenceGraphicContent'\n | 'tools.ozone.report.defs#reasonViolenceGlorification'\n | 'tools.ozone.report.defs#reasonViolenceExtremistContent'\n | 'tools.ozone.report.defs#reasonViolenceTrafficking'\n | 'tools.ozone.report.defs#reasonViolenceOther'\n | 'tools.ozone.report.defs#reasonSexualAbuseContent'\n | 'tools.ozone.report.defs#reasonSexualNCII'\n | 'tools.ozone.report.defs#reasonSexualDeepfake'\n | 'tools.ozone.report.defs#reasonSexualAnimal'\n | 'tools.ozone.report.defs#reasonSexualUnlabeled'\n | 'tools.ozone.report.defs#reasonSexualOther'\n | 'tools.ozone.report.defs#reasonChildSafetyCSAM'\n | 'tools.ozone.report.defs#reasonChildSafetyGroom'\n | 'tools.ozone.report.defs#reasonChildSafetyPrivacy'\n | 'tools.ozone.report.defs#reasonChildSafetyHarassment'\n | 'tools.ozone.report.defs#reasonChildSafetyOther'\n | 'tools.ozone.report.defs#reasonHarassmentTroll'\n | 'tools.ozone.report.defs#reasonHarassmentTargeted'\n | 'tools.ozone.report.defs#reasonHarassmentHateSpeech'\n | 'tools.ozone.report.defs#reasonHarassmentDoxxing'\n | 'tools.ozone.report.defs#reasonHarassmentOther'\n | 'tools.ozone.report.defs#reasonMisleadingBot'\n | 'tools.ozone.report.defs#reasonMisleadingImpersonation'\n | 'tools.ozone.report.defs#reasonMisleadingSpam'\n | 'tools.ozone.report.defs#reasonMisleadingScam'\n | 'tools.ozone.report.defs#reasonMisleadingElections'\n | 'tools.ozone.report.defs#reasonMisleadingOther'\n | 'tools.ozone.report.defs#reasonRuleSiteSecurity'\n | 'tools.ozone.report.defs#reasonRuleProhibitedSales'\n | 'tools.ozone.report.defs#reasonRuleBanEvasion'\n | 'tools.ozone.report.defs#reasonRuleOther'\n | 'tools.ozone.report.defs#reasonSelfHarmContent'\n | 'tools.ozone.report.defs#reasonSelfHarmED'\n | 'tools.ozone.report.defs#reasonSelfHarmStunts'\n | 'tools.ozone.report.defs#reasonSelfHarmSubstances'\n | 'tools.ozone.report.defs#reasonSelfHarmOther'\n | (string & {})\n\n/** Appeal a previously taken moderation action */\nexport const REASONAPPEAL = `${id}#reasonAppeal`\n/** An issue not included in these options */\nexport const REASONOTHER = `${id}#reasonOther`\n/** Animal welfare violations */\nexport const REASONVIOLENCEANIMAL = `${id}#reasonViolenceAnimal`\n/** Threats or incitement */\nexport const REASONVIOLENCETHREATS = `${id}#reasonViolenceThreats`\n/** Graphic violent content */\nexport const REASONVIOLENCEGRAPHICCONTENT = `${id}#reasonViolenceGraphicContent`\n/** Glorification of violence */\nexport const REASONVIOLENCEGLORIFICATION = `${id}#reasonViolenceGlorification`\n/** Extremist content. These reports will be sent only be sent to the application's Moderation Authority. */\nexport const REASONVIOLENCEEXTREMISTCONTENT = `${id}#reasonViolenceExtremistContent`\n/** Human trafficking */\nexport const REASONVIOLENCETRAFFICKING = `${id}#reasonViolenceTrafficking`\n/** Other violent content */\nexport const REASONVIOLENCEOTHER = `${id}#reasonViolenceOther`\n/** Adult sexual abuse content */\nexport const REASONSEXUALABUSECONTENT = `${id}#reasonSexualAbuseContent`\n/** Non-consensual intimate imagery */\nexport const REASONSEXUALNCII = `${id}#reasonSexualNCII`\n/** Deepfake adult content */\nexport const REASONSEXUALDEEPFAKE = `${id}#reasonSexualDeepfake`\n/** Animal sexual abuse */\nexport const REASONSEXUALANIMAL = `${id}#reasonSexualAnimal`\n/** Unlabelled adult content */\nexport const REASONSEXUALUNLABELED = `${id}#reasonSexualUnlabeled`\n/** Other sexual violence content */\nexport const REASONSEXUALOTHER = `${id}#reasonSexualOther`\n/** Child sexual abuse material (CSAM). These reports will be sent only be sent to the application's Moderation Authority. */\nexport const REASONCHILDSAFETYCSAM = `${id}#reasonChildSafetyCSAM`\n/** Grooming or predatory behavior. These reports will be sent only be sent to the application's Moderation Authority. */\nexport const REASONCHILDSAFETYGROOM = `${id}#reasonChildSafetyGroom`\n/** Privacy violation involving a minor */\nexport const REASONCHILDSAFETYPRIVACY = `${id}#reasonChildSafetyPrivacy`\n/** Harassment or bullying of minors */\nexport const REASONCHILDSAFETYHARASSMENT = `${id}#reasonChildSafetyHarassment`\n/** Other child safety. These reports will be sent only be sent to the application's Moderation Authority. */\nexport const REASONCHILDSAFETYOTHER = `${id}#reasonChildSafetyOther`\n/** Trolling */\nexport const REASONHARASSMENTTROLL = `${id}#reasonHarassmentTroll`\n/** Targeted harassment */\nexport const REASONHARASSMENTTARGETED = `${id}#reasonHarassmentTargeted`\n/** Hate speech */\nexport const REASONHARASSMENTHATESPEECH = `${id}#reasonHarassmentHateSpeech`\n/** Doxxing */\nexport const REASONHARASSMENTDOXXING = `${id}#reasonHarassmentDoxxing`\n/** Other harassing or hateful content */\nexport const REASONHARASSMENTOTHER = `${id}#reasonHarassmentOther`\n/** Fake account or bot */\nexport const REASONMISLEADINGBOT = `${id}#reasonMisleadingBot`\n/** Impersonation */\nexport const REASONMISLEADINGIMPERSONATION = `${id}#reasonMisleadingImpersonation`\n/** Spam */\nexport const REASONMISLEADINGSPAM = `${id}#reasonMisleadingSpam`\n/** Scam */\nexport const REASONMISLEADINGSCAM = `${id}#reasonMisleadingScam`\n/** False information about elections */\nexport const REASONMISLEADINGELECTIONS = `${id}#reasonMisleadingElections`\n/** Other misleading content */\nexport const REASONMISLEADINGOTHER = `${id}#reasonMisleadingOther`\n/** Hacking or system attacks */\nexport const REASONRULESITESECURITY = `${id}#reasonRuleSiteSecurity`\n/** Promoting or selling prohibited items or services */\nexport const REASONRULEPROHIBITEDSALES = `${id}#reasonRuleProhibitedSales`\n/** Banned user returning */\nexport const REASONRULEBANEVASION = `${id}#reasonRuleBanEvasion`\n/** Other */\nexport const REASONRULEOTHER = `${id}#reasonRuleOther`\n/** Content promoting or depicting self-harm */\nexport const REASONSELFHARMCONTENT = `${id}#reasonSelfHarmContent`\n/** Eating disorders */\nexport const REASONSELFHARMED = `${id}#reasonSelfHarmED`\n/** Dangerous challenges or activities */\nexport const REASONSELFHARMSTUNTS = `${id}#reasonSelfHarmStunts`\n/** Dangerous substances or drug abuse */\nexport const REASONSELFHARMSUBSTANCES = `${id}#reasonSelfHarmSubstances`\n/** Other dangerous content */\nexport const REASONSELFHARMOTHER = `${id}#reasonSelfHarmOther`\n\n/** Information about the moderator currently assigned to a report. */\nexport interface ReportAssignment {\n $type?: 'tools.ozone.report.defs#reportAssignment'\n /** DID of the assigned moderator */\n did: string\n moderator?: ToolsOzoneTeamDefs.Member\n /** When the report was assigned */\n assignedAt: string\n}\n\nconst hashReportAssignment = 'reportAssignment'\n\nexport function isReportAssignment<V>(v: V) {\n return is$typed(v, id, hashReportAssignment)\n}\n\nexport function validateReportAssignment<V>(v: V) {\n return validate<ReportAssignment & V>(v, id, hashReportAssignment)\n}\n\nexport interface ReportView {\n $type?: 'tools.ozone.report.defs#reportView'\n /** Report ID */\n id: number\n /** ID of the moderation event that created this report */\n eventId: number\n /** Current status of the report */\n status:\n | 'open'\n | 'closed'\n | 'escalated'\n | 'queued'\n | 'assigned'\n | (string & {})\n subject: ToolsOzoneModerationDefs.SubjectView\n reportType: ComAtprotoModerationDefs.ReasonType\n /** DID of the user who made the report */\n reportedBy: string\n reporter: ToolsOzoneModerationDefs.SubjectView\n /** Comment provided by the reporter */\n comment?: string\n /** When the report was created */\n createdAt: string\n /** When the report was last updated */\n updatedAt?: string\n /** When the report was assigned to its current queue */\n queuedAt?: string\n /** Array of moderation event IDs representing actions taken on this report (sorted DESC, most recent first) */\n actionEventIds?: number[]\n /** Optional: expanded action events */\n actions?: ToolsOzoneModerationDefs.ModEventView[]\n /** Note sent to reporter when report was actioned */\n actionNote?: string\n subjectStatus?: ToolsOzoneModerationDefs.SubjectStatusView\n /** Number of other pending reports on the same subject */\n relatedReportCount?: number\n assignment?: ReportAssignment\n queue?: ToolsOzoneQueueDefs.QueueView\n /** Whether this report is muted. A report is muted if the reporter was muted or the subject was muted at the time the report was created. */\n isMuted?: boolean\n /** Whether this report was emitted by automated tooling. */\n isAutomated: boolean\n}\n\nconst hashReportView = 'reportView'\n\nexport function isReportView<V>(v: V) {\n return is$typed(v, id, hashReportView)\n}\n\nexport function validateReportView<V>(v: V) {\n return validate<ReportView & V>(v, id, hashReportView)\n}\n\n/** Activity recording a report being routed to a queue. */\nexport interface QueueActivity {\n $type?: 'tools.ozone.report.defs#queueActivity'\n /** The report's status before this activity. Populated automatically from the report row; not required in input. */\n previousStatus?:\n | 'open'\n | 'closed'\n | 'escalated'\n | 'queued'\n | 'assigned'\n | (string & {})\n}\n\nconst hashQueueActivity = 'queueActivity'\n\nexport function isQueueActivity<V>(v: V) {\n return is$typed(v, id, hashQueueActivity)\n}\n\nexport function validateQueueActivity<V>(v: V) {\n return validate<QueueActivity & V>(v, id, hashQueueActivity)\n}\n\n/** Activity recording a moderator being assigned to a report. */\nexport interface AssignmentActivity {\n $type?: 'tools.ozone.report.defs#assignmentActivity'\n /** The report's status before this activity. Populated automatically from the report row; not required in input. */\n previousStatus?:\n | 'open'\n | 'closed'\n | 'escalated'\n | 'queued'\n | 'assigned'\n | (string & {})\n}\n\nconst hashAssignmentActivity = 'assignmentActivity'\n\nexport function isAssignmentActivity<V>(v: V) {\n return is$typed(v, id, hashAssignmentActivity)\n}\n\nexport function validateAssignmentActivity<V>(v: V) {\n return validate<AssignmentActivity & V>(v, id, hashAssignmentActivity)\n}\n\n/** Activity recording a report being escalated. */\nexport interface EscalationActivity {\n $type?: 'tools.ozone.report.defs#escalationActivity'\n /** The report's status before this activity. Populated automatically from the report row; not required in input. */\n previousStatus?:\n | 'open'\n | 'closed'\n | 'escalated'\n | 'queued'\n | 'assigned'\n | (string & {})\n}\n\nconst hashEscalationActivity = 'escalationActivity'\n\nexport function isEscalationActivity<V>(v: V) {\n return is$typed(v, id, hashEscalationActivity)\n}\n\nexport function validateEscalationActivity<V>(v: V) {\n return validate<EscalationActivity & V>(v, id, hashEscalationActivity)\n}\n\n/** Activity recording a report being closed. */\nexport interface CloseActivity {\n $type?: 'tools.ozone.report.defs#closeActivity'\n /** The report's status before this activity. Populated automatically from the report row; not required in input. */\n previousStatus?:\n | 'open'\n | 'closed'\n | 'escalated'\n | 'queued'\n | 'assigned'\n | (string & {})\n}\n\nconst hashCloseActivity = 'closeActivity'\n\nexport function isCloseActivity<V>(v: V) {\n return is$typed(v, id, hashCloseActivity)\n}\n\nexport function validateCloseActivity<V>(v: V) {\n return validate<CloseActivity & V>(v, id, hashCloseActivity)\n}\n\n/** Activity recording a closed report being reopened. Only valid when the report is in 'closed' status. */\nexport interface ReopenActivity {\n $type?: 'tools.ozone.report.defs#reopenActivity'\n /** The report's status before this activity. Populated automatically from the report row; not required in input. */\n previousStatus?:\n | 'open'\n | 'closed'\n | 'escalated'\n | 'queued'\n | 'assigned'\n | (string & {})\n}\n\nconst hashReopenActivity = 'reopenActivity'\n\nexport function isReopenActivity<V>(v: V) {\n return is$typed(v, id, hashReopenActivity)\n}\n\nexport function validateReopenActivity<V>(v: V) {\n return validate<ReopenActivity & V>(v, id, hashReopenActivity)\n}\n\n/** Activity recording a note on a report. Use internalNote for moderator-only notes or publicNote for reporter-visible notes (or both). */\nexport interface NoteActivity {\n $type?: 'tools.ozone.report.defs#noteActivity'\n}\n\nconst hashNoteActivity = 'noteActivity'\n\nexport function isNoteActivity<V>(v: V) {\n return is$typed(v, id, hashNoteActivity)\n}\n\nexport function validateNoteActivity<V>(v: V) {\n return validate<NoteActivity & V>(v, id, hashNoteActivity)\n}\n\n/** A single activity entry on a report. */\nexport interface ReportActivityView {\n $type?: 'tools.ozone.report.defs#reportActivityView'\n /** Activity ID */\n id: number\n /** ID of the report this activity belongs to */\n reportId: number\n activity:\n | $Typed<QueueActivity>\n | $Typed<AssignmentActivity>\n | $Typed<EscalationActivity>\n | $Typed<CloseActivity>\n | $Typed<ReopenActivity>\n | $Typed<NoteActivity>\n | { $type: string }\n /** Optional moderator-only note. Not visible to reporters. */\n internalNote?: string\n /** Optional public note, potentially visible to the reporter. */\n publicNote?: string\n /** Extensible JSON payload for loose activity-specific metadata (e.g. assignmentId). */\n meta?: { [_ in string]: unknown }\n /** True if this activity was created by an automated process (e.g. queue router) rather than a direct human action. */\n isAutomated: boolean\n /** DID of the actor who created this activity, or the service DID for automated activities. */\n createdBy: string\n moderator?: ToolsOzoneTeamDefs.Member\n report?: ReportView\n /** When this activity was created */\n createdAt: string\n}\n\nconst hashReportActivityView = 'reportActivityView'\n\nexport function isReportActivityView<V>(v: V) {\n return is$typed(v, id, hashReportActivityView)\n}\n\nexport function validateReportActivityView<V>(v: V) {\n return validate<ReportActivityView & V>(v, id, hashReportActivityView)\n}\n\n/** Live statistics for reports for the current calendar day, filterable by queue, moderator, or report type. */\nexport interface LiveStats {\n $type?: 'tools.ozone.report.defs#liveStats'\n /** Number of reports currently not closed. */\n pendingCount?: number\n /** Number of reports closed today. */\n actionedCount?: number\n /** Number of reports escalated today. */\n escalatedCount?: number\n /** Reports received today. */\n inboundCount?: number\n /** Percentage of reports actioned (actionedCount / inboundCount * 100), rounded to nearest integer. */\n actionRate?: number\n /** Average time in seconds from report creation (or moderator assignment) to close. */\n avgHandlingTimeSec?: number\n /** When these statistics were last computed. */\n lastUpdated?: string\n}\n\nconst hashLiveStats = 'liveStats'\n\nexport function isLiveStats<V>(v: V) {\n return is$typed(v, id, hashLiveStats)\n}\n\nexport function validateLiveStats<V>(v: V) {\n return validate<LiveStats & V>(v, id, hashLiveStats)\n}\n\n/** A single daily snapshot of report statistics for a calendar date. */\nexport interface HistoricalStats {\n $type?: 'tools.ozone.report.defs#historicalStats'\n /** The calendar date this snapshot covers (YYYY-MM-DD). */\n date: string\n /** When this snapshot was last computed. */\n computedAt?: string\n /** Number of reports not closed at time of computation. */\n pendingCount?: number\n /** Number of reports closed during this day. */\n actionedCount?: number\n /** Number of reports escalated during this day. */\n escalatedCount?: number\n /** Reports received during this day. */\n inboundCount?: number\n /** Percentage of reports actioned (actionedCount / inboundCount * 100), rounded to nearest integer. */\n actionRate?: number\n /** Average time in seconds from report creation (or moderator assignment) to close. */\n avgHandlingTimeSec?: number\n}\n\nconst hashHistoricalStats = 'historicalStats'\n\nexport function isHistoricalStats<V>(v: V) {\n return is$typed(v, id, hashHistoricalStats)\n}\n\nexport function validateHistoricalStats<V>(v: V) {\n return validate<HistoricalStats & V>(v, id, hashHistoricalStats)\n}\n\nexport interface AssignmentView {\n $type?: 'tools.ozone.report.defs#assignmentView'\n id: number\n did: string\n moderator?: ToolsOzoneTeamDefs.Member\n queue?: ToolsOzoneQueueDefs.QueueView\n reportId: number\n startAt: string\n endAt?: string\n}\n\nconst hashAssignmentView = 'assignmentView'\n\nexport function isAssignmentView<V>(v: V) {\n return is$typed(v, id, hashAssignmentView)\n}\n\nexport function validateAssignmentView<V>(v: V) {\n return validate<AssignmentView & V>(v, id, hashAssignmentView)\n}\n"]}
|
|
1
|
+
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/client/types/tools/ozone/report/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAyB,OAAO,EAAE,MAAM,kBAAkB,CAAA;AACjE,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACtC,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAEL,QAAQ,IAAI,SAAS,GAEtB,MAAM,qBAAqB,CAAA;AAM5B,MAAM,QAAQ,GAAG,SAAS,EACxB,QAAQ,GAAG,SAAS,CAAA;AACtB,MAAM,EAAE,GAAG,yBAAyB,CAAA;AA6CpC,kDAAkD;AAClD,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,EAAE,eAAe,CAAA;AAChD,6CAA6C;AAC7C,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,EAAE,cAAc,CAAA;AAC9C,gCAAgC;AAChC,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,EAAE,uBAAuB,CAAA;AAChE,4BAA4B;AAC5B,MAAM,CAAC,MAAM,qBAAqB,GAAG,GAAG,EAAE,wBAAwB,CAAA;AAClE,8BAA8B;AAC9B,MAAM,CAAC,MAAM,4BAA4B,GAAG,GAAG,EAAE,+BAA+B,CAAA;AAChF,gCAAgC;AAChC,MAAM,CAAC,MAAM,2BAA2B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MODIFY\n */\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons.js'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util.js'\nimport type * as ToolsOzoneTeamDefs from '../team/defs.js'\nimport type * as ToolsOzoneModerationDefs from '../moderation/defs.js'\nimport type * as ComAtprotoModerationDefs from '../../../com/atproto/moderation/defs.js'\nimport type * as ToolsOzoneQueueDefs from '../queue/defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'tools.ozone.report.defs'\n\nexport type ReasonType =\n | 'tools.ozone.report.defs#reasonAppeal'\n | 'tools.ozone.report.defs#reasonOther'\n | 'tools.ozone.report.defs#reasonViolenceAnimal'\n | 'tools.ozone.report.defs#reasonViolenceThreats'\n | 'tools.ozone.report.defs#reasonViolenceGraphicContent'\n | 'tools.ozone.report.defs#reasonViolenceGlorification'\n | 'tools.ozone.report.defs#reasonViolenceExtremistContent'\n | 'tools.ozone.report.defs#reasonViolenceTrafficking'\n | 'tools.ozone.report.defs#reasonViolenceOther'\n | 'tools.ozone.report.defs#reasonSexualAbuseContent'\n | 'tools.ozone.report.defs#reasonSexualNCII'\n | 'tools.ozone.report.defs#reasonSexualDeepfake'\n | 'tools.ozone.report.defs#reasonSexualAnimal'\n | 'tools.ozone.report.defs#reasonSexualUnlabeled'\n | 'tools.ozone.report.defs#reasonSexualOther'\n | 'tools.ozone.report.defs#reasonChildSafetyCSAM'\n | 'tools.ozone.report.defs#reasonChildSafetyGroom'\n | 'tools.ozone.report.defs#reasonChildSafetyPrivacy'\n | 'tools.ozone.report.defs#reasonChildSafetyHarassment'\n | 'tools.ozone.report.defs#reasonChildSafetyOther'\n | 'tools.ozone.report.defs#reasonHarassmentTroll'\n | 'tools.ozone.report.defs#reasonHarassmentTargeted'\n | 'tools.ozone.report.defs#reasonHarassmentHateSpeech'\n | 'tools.ozone.report.defs#reasonHarassmentDoxxing'\n | 'tools.ozone.report.defs#reasonHarassmentOther'\n | 'tools.ozone.report.defs#reasonMisleadingBot'\n | 'tools.ozone.report.defs#reasonMisleadingImpersonation'\n | 'tools.ozone.report.defs#reasonMisleadingSpam'\n | 'tools.ozone.report.defs#reasonMisleadingScam'\n | 'tools.ozone.report.defs#reasonMisleadingElections'\n | 'tools.ozone.report.defs#reasonMisleadingOther'\n | 'tools.ozone.report.defs#reasonRuleSiteSecurity'\n | 'tools.ozone.report.defs#reasonRuleProhibitedSales'\n | 'tools.ozone.report.defs#reasonRuleBanEvasion'\n | 'tools.ozone.report.defs#reasonRuleOther'\n | 'tools.ozone.report.defs#reasonSelfHarmContent'\n | 'tools.ozone.report.defs#reasonSelfHarmED'\n | 'tools.ozone.report.defs#reasonSelfHarmStunts'\n | 'tools.ozone.report.defs#reasonSelfHarmSubstances'\n | 'tools.ozone.report.defs#reasonSelfHarmOther'\n | (string & {})\n\n/** Appeal a previously taken moderation action */\nexport const REASONAPPEAL = `${id}#reasonAppeal`\n/** An issue not included in these options */\nexport const REASONOTHER = `${id}#reasonOther`\n/** Animal welfare violations */\nexport const REASONVIOLENCEANIMAL = `${id}#reasonViolenceAnimal`\n/** Threats or incitement */\nexport const REASONVIOLENCETHREATS = `${id}#reasonViolenceThreats`\n/** Graphic violent content */\nexport const REASONVIOLENCEGRAPHICCONTENT = `${id}#reasonViolenceGraphicContent`\n/** Glorification of violence */\nexport const REASONVIOLENCEGLORIFICATION = `${id}#reasonViolenceGlorification`\n/** Extremist content. These reports will be sent only be sent to the application's Moderation Authority. */\nexport const REASONVIOLENCEEXTREMISTCONTENT = `${id}#reasonViolenceExtremistContent`\n/** Human trafficking */\nexport const REASONVIOLENCETRAFFICKING = `${id}#reasonViolenceTrafficking`\n/** Other violent content */\nexport const REASONVIOLENCEOTHER = `${id}#reasonViolenceOther`\n/** Adult sexual abuse content */\nexport const REASONSEXUALABUSECONTENT = `${id}#reasonSexualAbuseContent`\n/** Non-consensual intimate imagery */\nexport const REASONSEXUALNCII = `${id}#reasonSexualNCII`\n/** Deepfake adult content */\nexport const REASONSEXUALDEEPFAKE = `${id}#reasonSexualDeepfake`\n/** Animal sexual abuse */\nexport const REASONSEXUALANIMAL = `${id}#reasonSexualAnimal`\n/** Unlabelled adult content */\nexport const REASONSEXUALUNLABELED = `${id}#reasonSexualUnlabeled`\n/** Other sexual violence content */\nexport const REASONSEXUALOTHER = `${id}#reasonSexualOther`\n/** Child sexual abuse material (CSAM). These reports will be sent only be sent to the application's Moderation Authority. */\nexport const REASONCHILDSAFETYCSAM = `${id}#reasonChildSafetyCSAM`\n/** Grooming or predatory behavior. These reports will be sent only be sent to the application's Moderation Authority. */\nexport const REASONCHILDSAFETYGROOM = `${id}#reasonChildSafetyGroom`\n/** Privacy violation involving a minor */\nexport const REASONCHILDSAFETYPRIVACY = `${id}#reasonChildSafetyPrivacy`\n/** Harassment or bullying of minors */\nexport const REASONCHILDSAFETYHARASSMENT = `${id}#reasonChildSafetyHarassment`\n/** Other child safety. These reports will be sent only be sent to the application's Moderation Authority. */\nexport const REASONCHILDSAFETYOTHER = `${id}#reasonChildSafetyOther`\n/** Trolling */\nexport const REASONHARASSMENTTROLL = `${id}#reasonHarassmentTroll`\n/** Targeted harassment */\nexport const REASONHARASSMENTTARGETED = `${id}#reasonHarassmentTargeted`\n/** Hate speech */\nexport const REASONHARASSMENTHATESPEECH = `${id}#reasonHarassmentHateSpeech`\n/** Doxxing */\nexport const REASONHARASSMENTDOXXING = `${id}#reasonHarassmentDoxxing`\n/** Other harassing or hateful content */\nexport const REASONHARASSMENTOTHER = `${id}#reasonHarassmentOther`\n/** Fake account or bot */\nexport const REASONMISLEADINGBOT = `${id}#reasonMisleadingBot`\n/** Impersonation */\nexport const REASONMISLEADINGIMPERSONATION = `${id}#reasonMisleadingImpersonation`\n/** Spam */\nexport const REASONMISLEADINGSPAM = `${id}#reasonMisleadingSpam`\n/** Scam */\nexport const REASONMISLEADINGSCAM = `${id}#reasonMisleadingScam`\n/** False information about elections */\nexport const REASONMISLEADINGELECTIONS = `${id}#reasonMisleadingElections`\n/** Other misleading content */\nexport const REASONMISLEADINGOTHER = `${id}#reasonMisleadingOther`\n/** Hacking or system attacks */\nexport const REASONRULESITESECURITY = `${id}#reasonRuleSiteSecurity`\n/** Promoting or selling prohibited items or services */\nexport const REASONRULEPROHIBITEDSALES = `${id}#reasonRuleProhibitedSales`\n/** Banned user returning */\nexport const REASONRULEBANEVASION = `${id}#reasonRuleBanEvasion`\n/** Other */\nexport const REASONRULEOTHER = `${id}#reasonRuleOther`\n/** Content promoting or depicting self-harm */\nexport const REASONSELFHARMCONTENT = `${id}#reasonSelfHarmContent`\n/** Eating disorders */\nexport const REASONSELFHARMED = `${id}#reasonSelfHarmED`\n/** Dangerous challenges or activities */\nexport const REASONSELFHARMSTUNTS = `${id}#reasonSelfHarmStunts`\n/** Dangerous substances or drug abuse */\nexport const REASONSELFHARMSUBSTANCES = `${id}#reasonSelfHarmSubstances`\n/** Other dangerous content */\nexport const REASONSELFHARMOTHER = `${id}#reasonSelfHarmOther`\n\n/** Information about the moderator currently assigned to a report. */\nexport interface ReportAssignment {\n $type?: 'tools.ozone.report.defs#reportAssignment'\n /** DID of the assigned moderator */\n did: string\n moderator?: ToolsOzoneTeamDefs.Member\n /** When the report was assigned */\n assignedAt: string\n}\n\nconst hashReportAssignment = 'reportAssignment'\n\nexport function isReportAssignment<V>(v: V) {\n return is$typed(v, id, hashReportAssignment)\n}\n\nexport function validateReportAssignment<V>(v: V) {\n return validate<ReportAssignment & V>(v, id, hashReportAssignment)\n}\n\nexport interface ReportView {\n $type?: 'tools.ozone.report.defs#reportView'\n /** Report ID */\n id: number\n /** ID of the moderation event that created this report */\n eventId: number\n /** Current status of the report */\n status:\n 'open' | 'closed' | 'escalated' | 'queued' | 'assigned' | (string & {})\n subject: ToolsOzoneModerationDefs.SubjectView\n reportType: ComAtprotoModerationDefs.ReasonType\n /** DID of the user who made the report */\n reportedBy: string\n reporter: ToolsOzoneModerationDefs.SubjectView\n /** Comment provided by the reporter */\n comment?: string\n /** When the report was created */\n createdAt: string\n /** When the report was last updated */\n updatedAt?: string\n /** When the report was assigned to its current queue */\n queuedAt?: string\n /** Array of moderation event IDs representing actions taken on this report (sorted DESC, most recent first) */\n actionEventIds?: number[]\n /** Optional: expanded action events */\n actions?: ToolsOzoneModerationDefs.ModEventView[]\n /** Note sent to reporter when report was actioned */\n actionNote?: string\n subjectStatus?: ToolsOzoneModerationDefs.SubjectStatusView\n /** Number of other pending reports on the same subject */\n relatedReportCount?: number\n assignment?: ReportAssignment\n queue?: ToolsOzoneQueueDefs.QueueView\n /** Whether this report is muted. A report is muted if the reporter was muted or the subject was muted at the time the report was created. */\n isMuted?: boolean\n /** Whether this report was emitted by automated tooling. */\n isAutomated: boolean\n}\n\nconst hashReportView = 'reportView'\n\nexport function isReportView<V>(v: V) {\n return is$typed(v, id, hashReportView)\n}\n\nexport function validateReportView<V>(v: V) {\n return validate<ReportView & V>(v, id, hashReportView)\n}\n\n/** Activity recording a report being routed to a queue. */\nexport interface QueueActivity {\n $type?: 'tools.ozone.report.defs#queueActivity'\n /** The report's status before this activity. Populated automatically from the report row; not required in input. */\n previousStatus?:\n 'open' | 'closed' | 'escalated' | 'queued' | 'assigned' | (string & {})\n}\n\nconst hashQueueActivity = 'queueActivity'\n\nexport function isQueueActivity<V>(v: V) {\n return is$typed(v, id, hashQueueActivity)\n}\n\nexport function validateQueueActivity<V>(v: V) {\n return validate<QueueActivity & V>(v, id, hashQueueActivity)\n}\n\n/** Activity recording a moderator being assigned to a report. */\nexport interface AssignmentActivity {\n $type?: 'tools.ozone.report.defs#assignmentActivity'\n /** The report's status before this activity. Populated automatically from the report row; not required in input. */\n previousStatus?:\n 'open' | 'closed' | 'escalated' | 'queued' | 'assigned' | (string & {})\n}\n\nconst hashAssignmentActivity = 'assignmentActivity'\n\nexport function isAssignmentActivity<V>(v: V) {\n return is$typed(v, id, hashAssignmentActivity)\n}\n\nexport function validateAssignmentActivity<V>(v: V) {\n return validate<AssignmentActivity & V>(v, id, hashAssignmentActivity)\n}\n\n/** Activity recording a report being escalated. */\nexport interface EscalationActivity {\n $type?: 'tools.ozone.report.defs#escalationActivity'\n /** The report's status before this activity. Populated automatically from the report row; not required in input. */\n previousStatus?:\n 'open' | 'closed' | 'escalated' | 'queued' | 'assigned' | (string & {})\n}\n\nconst hashEscalationActivity = 'escalationActivity'\n\nexport function isEscalationActivity<V>(v: V) {\n return is$typed(v, id, hashEscalationActivity)\n}\n\nexport function validateEscalationActivity<V>(v: V) {\n return validate<EscalationActivity & V>(v, id, hashEscalationActivity)\n}\n\n/** Activity recording a report being closed. */\nexport interface CloseActivity {\n $type?: 'tools.ozone.report.defs#closeActivity'\n /** The report's status before this activity. Populated automatically from the report row; not required in input. */\n previousStatus?:\n 'open' | 'closed' | 'escalated' | 'queued' | 'assigned' | (string & {})\n}\n\nconst hashCloseActivity = 'closeActivity'\n\nexport function isCloseActivity<V>(v: V) {\n return is$typed(v, id, hashCloseActivity)\n}\n\nexport function validateCloseActivity<V>(v: V) {\n return validate<CloseActivity & V>(v, id, hashCloseActivity)\n}\n\n/** Activity recording a closed report being reopened. Only valid when the report is in 'closed' status. */\nexport interface ReopenActivity {\n $type?: 'tools.ozone.report.defs#reopenActivity'\n /** The report's status before this activity. Populated automatically from the report row; not required in input. */\n previousStatus?:\n 'open' | 'closed' | 'escalated' | 'queued' | 'assigned' | (string & {})\n}\n\nconst hashReopenActivity = 'reopenActivity'\n\nexport function isReopenActivity<V>(v: V) {\n return is$typed(v, id, hashReopenActivity)\n}\n\nexport function validateReopenActivity<V>(v: V) {\n return validate<ReopenActivity & V>(v, id, hashReopenActivity)\n}\n\n/** Activity recording a note on a report. Use internalNote for moderator-only notes or publicNote for reporter-visible notes (or both). */\nexport interface NoteActivity {\n $type?: 'tools.ozone.report.defs#noteActivity'\n}\n\nconst hashNoteActivity = 'noteActivity'\n\nexport function isNoteActivity<V>(v: V) {\n return is$typed(v, id, hashNoteActivity)\n}\n\nexport function validateNoteActivity<V>(v: V) {\n return validate<NoteActivity & V>(v, id, hashNoteActivity)\n}\n\n/** A single activity entry on a report. */\nexport interface ReportActivityView {\n $type?: 'tools.ozone.report.defs#reportActivityView'\n /** Activity ID */\n id: number\n /** ID of the report this activity belongs to */\n reportId: number\n activity:\n | $Typed<QueueActivity>\n | $Typed<AssignmentActivity>\n | $Typed<EscalationActivity>\n | $Typed<CloseActivity>\n | $Typed<ReopenActivity>\n | $Typed<NoteActivity>\n | { $type: string }\n /** Optional moderator-only note. Not visible to reporters. */\n internalNote?: string\n /** Optional public note, potentially visible to the reporter. */\n publicNote?: string\n /** Extensible JSON payload for loose activity-specific metadata (e.g. assignmentId). */\n meta?: { [_ in string]: unknown }\n /** True if this activity was created by an automated process (e.g. queue router) rather than a direct human action. */\n isAutomated: boolean\n /** DID of the actor who created this activity, or the service DID for automated activities. */\n createdBy: string\n moderator?: ToolsOzoneTeamDefs.Member\n report?: ReportView\n /** When this activity was created */\n createdAt: string\n}\n\nconst hashReportActivityView = 'reportActivityView'\n\nexport function isReportActivityView<V>(v: V) {\n return is$typed(v, id, hashReportActivityView)\n}\n\nexport function validateReportActivityView<V>(v: V) {\n return validate<ReportActivityView & V>(v, id, hashReportActivityView)\n}\n\n/** Live statistics for reports for the current calendar day, filterable by queue, moderator, or report type. */\nexport interface LiveStats {\n $type?: 'tools.ozone.report.defs#liveStats'\n /** Number of reports currently not closed. */\n pendingCount?: number\n /** Number of reports closed today. */\n actionedCount?: number\n /** Number of reports escalated today. */\n escalatedCount?: number\n /** Reports received today. */\n inboundCount?: number\n /** Percentage of reports actioned (actionedCount / inboundCount * 100), rounded to nearest integer. */\n actionRate?: number\n /** Average time in seconds from report creation (or moderator assignment) to close. */\n avgHandlingTimeSec?: number\n /** When these statistics were last computed. */\n lastUpdated?: string\n}\n\nconst hashLiveStats = 'liveStats'\n\nexport function isLiveStats<V>(v: V) {\n return is$typed(v, id, hashLiveStats)\n}\n\nexport function validateLiveStats<V>(v: V) {\n return validate<LiveStats & V>(v, id, hashLiveStats)\n}\n\n/** A single daily snapshot of report statistics for a calendar date. */\nexport interface HistoricalStats {\n $type?: 'tools.ozone.report.defs#historicalStats'\n /** The calendar date this snapshot covers (YYYY-MM-DD). */\n date: string\n /** When this snapshot was last computed. */\n computedAt?: string\n /** Number of reports not closed at time of computation. */\n pendingCount?: number\n /** Number of reports closed during this day. */\n actionedCount?: number\n /** Number of reports escalated during this day. */\n escalatedCount?: number\n /** Reports received during this day. */\n inboundCount?: number\n /** Percentage of reports actioned (actionedCount / inboundCount * 100), rounded to nearest integer. */\n actionRate?: number\n /** Average time in seconds from report creation (or moderator assignment) to close. */\n avgHandlingTimeSec?: number\n}\n\nconst hashHistoricalStats = 'historicalStats'\n\nexport function isHistoricalStats<V>(v: V) {\n return is$typed(v, id, hashHistoricalStats)\n}\n\nexport function validateHistoricalStats<V>(v: V) {\n return validate<HistoricalStats & V>(v, id, hashHistoricalStats)\n}\n\nexport interface AssignmentView {\n $type?: 'tools.ozone.report.defs#assignmentView'\n id: number\n did: string\n moderator?: ToolsOzoneTeamDefs.Member\n queue?: ToolsOzoneQueueDefs.QueueView\n reportId: number\n startAt: string\n endAt?: string\n}\n\nconst hashAssignmentView = 'assignmentView'\n\nexport function isAssignmentView<V>(v: V) {\n return is$typed(v, id, hashAssignmentView)\n}\n\nexport function validateAssignmentView<V>(v: V) {\n return validate<AssignmentView & V>(v, id, hashAssignmentView)\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queryReports.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/tools/ozone/report/queryReports.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,UAAU,EAAa,MAAM,eAAe,CAAA;AAS1D,OAAO,KAAK,KAAK,oBAAoB,MAAM,WAAW,CAAA;AAMtD,MAAM,MAAM,WAAW,GAAG;IACxB,yDAAyD;IACzD,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,iHAAiH;IACjH,WAAW,CAAC,EAAE,MAAM,EAAE,CAAA;IACtB,+BAA+B;IAC/B,MAAM,
|
|
1
|
+
{"version":3,"file":"queryReports.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/tools/ozone/report/queryReports.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,UAAU,EAAa,MAAM,eAAe,CAAA;AAS1D,OAAO,KAAK,KAAK,oBAAoB,MAAM,WAAW,CAAA;AAMtD,MAAM,MAAM,WAAW,GAAG;IACxB,yDAAyD;IACzD,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,iHAAiH;IACjH,WAAW,CAAC,EAAE,MAAM,EAAE,CAAA;IACtB,+BAA+B;IAC/B,MAAM,EACJ,MAAM,GAAG,QAAQ,GAAG,WAAW,GAAG,QAAQ,GAAG,UAAU,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;IACzE,uCAAuC;IACvC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,sPAAsP;IACtP,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,wEAAwE;IACxE,WAAW,CAAC,EACV,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,cAAc,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;IACnE,6JAA6J;IAC7J,WAAW,CAAC,EAAE,MAAM,EAAE,CAAA;IACtB,uDAAuD;IACvD,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,wDAAwD;IACxD,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,sHAAsH;IACtH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,6EAA6E;IAC7E,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EAAE,WAAW,GAAG,WAAW,CAAA;IACrC,aAAa,CAAC,EAAE,KAAK,GAAG,MAAM,CAAA;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,oBAAoB,CAAC,UAAU,EAAE,CAAA;CAC3C;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,OAAO,CAAC,EAAE,UAAU,CAAA;CACrB;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,UAAU,CAAA;IACnB,IAAI,EAAE,YAAY,CAAA;CACnB;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAEhC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queryReports.js","sourceRoot":"","sources":["../../../../../../src/client/types/tools/ozone/report/queryReports.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAmB,SAAS,EAAE,MAAM,eAAe,CAAA;AAC1D,OAAO,EAAyB,OAAO,EAAE,MAAM,kBAAkB,CAAA;AACjE,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACtC,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAEL,QAAQ,IAAI,SAAS,GAEtB,MAAM,qBAAqB,CAAA;AAG5B,MAAM,QAAQ,GAAG,SAAS,EACxB,QAAQ,GAAG,SAAS,CAAA;AACtB,MAAM,EAAE,GAAG,iCAAiC,CAAA;
|
|
1
|
+
{"version":3,"file":"queryReports.js","sourceRoot":"","sources":["../../../../../../src/client/types/tools/ozone/report/queryReports.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAmB,SAAS,EAAE,MAAM,eAAe,CAAA;AAC1D,OAAO,EAAyB,OAAO,EAAE,MAAM,kBAAkB,CAAA;AACjE,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACtC,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAEL,QAAQ,IAAI,SAAS,GAEtB,MAAM,qBAAqB,CAAA;AAG5B,MAAM,QAAQ,GAAG,SAAS,EACxB,QAAQ,GAAG,SAAS,CAAA;AACtB,MAAM,EAAE,GAAG,iCAAiC,CAAA;AAkD5C,MAAM,UAAU,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type HeadersMap, XRPCError } from '@atproto/xrpc'\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons.js'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util.js'\nimport type * as ToolsOzoneReportDefs from './defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'tools.ozone.report.queryReports'\n\nexport type QueryParams = {\n /** Filter by queue ID. Use -1 for unassigned reports. */\n queueId?: number\n /** Filter by report types (fully qualified string in the format of com.atproto.moderation.defs#reason<name>). */\n reportTypes?: string[]\n /** Filter by report status. */\n status:\n 'open' | 'closed' | 'escalated' | 'queued' | 'assigned' | (string & {})\n /** Filter by subject DID or AT-URI. */\n subject?: string\n /** Filter to reports where the subject is this DID or any record owned by this DID. Unlike `subject` (which scopes to a specific account or record), this returns all reports tied to the DID across both account-level and record-level subjects. */\n did?: string\n /** If specified, reports of the given subject type will be returned. */\n subjectType?:\n 'account' | 'record' | 'message' | 'conversation' | (string & {})\n /** If specified, reports where the subject belongs to the given collections will be returned. When subjectType is set to 'account', this will be ignored. */\n collections?: string[]\n /** Retrieve reports created after a given timestamp */\n reportedAfter?: string\n /** Retrieve reports created before a given timestamp */\n reportedBefore?: string\n /** Filter by muted status. true returns only muted reports, false returns only unmuted reports. Defaults to false. */\n isMuted?: boolean\n /** Filter by the DID of the moderator permanently assigned to the report. */\n assignedTo?: string\n sortField?: 'createdAt' | 'updatedAt'\n sortDirection?: 'asc' | 'desc'\n limit?: number\n cursor?: string\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n cursor?: string\n reports: ToolsOzoneReportDefs.ReportView[]\n}\n\nexport interface CallOptions {\n signal?: AbortSignal\n headers?: HeadersMap\n}\n\nexport interface Response {\n success: boolean\n headers: HeadersMap\n data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n return e\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/moderation/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,oCAAoC,EACpC,iBAAiB,EACjB,mBAAmB,EACpB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACxD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAKnD,eAAO,MAAM,qBAAqB,QAAc,CAAA;AAKhD,MAAM,WAAW,kBAAkB;IACjC,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAA;IACzC,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAA;IACzC,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IACzB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAA;IACzC,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAA;IACzC,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AACD,eAAO,MAAM,cAAc,EAAE,kBAO5B,CAAA;AACD,eAAO,MAAM,aAAa,EAAE,kBAK3B,CAAA;AACD,eAAO,MAAM,i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E,MAAM;IACd,MAAM,EAAE,MAAM;IACd,WAAW,EAAE,MAAM;IACnB,WAAW,EAAE,MAAM;CACpB,CAAA;AACD,MAAM,CAAC,MAAM,aAAa,GAAuB;IAC/C,WAAW,EAAE,QAAQ;IACrB,WAAW,EAAE,OAAO;IACpB,WAAW,EAAE,MAAM;IACnB,WAAW,EAAE,QAAQ;CACtB,CAAA;AACD,MAAM,CAAC,MAAM,iBAAiB,GAAuB;IACnD,WAAW,EAAE,MAAM;IACnB,WAAW,EAAE,MAAM;CACpB,CAAA;AACD,MAAM,CAAC,MAAM,aAAa,GAAuB;IAC/C,WAAW,EAAE,MAAM;IACnB,WAAW,EAAE,MAAM;CACpB,CAAA;AACD,MAAM,CAAC,MAAM,aAAa,GAAuB,EAAE,CAAA","sourcesContent":["import type {\n AppBskyActorDefs,\n AppBskyFeedDefs,\n AppBskyGraphDefs,\n AppBskyNotificationListNotifications,\n ChatBskyActorDefs,\n ComAtprotoLabelDefs,\n} from '../client/index.js'\nimport type { KnownLabelValue } from './const/labels.js'\nimport type { MuteWordMatch } from './mutewords.js'\n\n// syntax\n// =\n\nexport const CUSTOM_LABEL_VALUE_RE = /^[a-z-]+$/\n\n// behaviors\n// =\n\nexport interface ModerationBehavior {\n profileList?: 'blur' | 'alert' | 'inform'\n profileView?: 'blur' | 'alert' | 'inform'\n avatar?: 'blur' | 'alert'\n banner?: 'blur'\n displayName?: 'blur'\n contentList?: 'blur' | 'alert' | 'inform'\n contentView?: 'blur' | 'alert' | 'inform'\n contentMedia?: 'blur'\n}\nexport const BLOCK_BEHAVIOR: ModerationBehavior = {\n profileList: 'blur',\n profileView: 'alert',\n avatar: 'blur',\n banner: 'blur',\n contentList: 'blur',\n contentView: 'blur',\n}\nexport const MUTE_BEHAVIOR: ModerationBehavior = {\n profileList: 'inform',\n profileView: 'alert',\n contentList: 'blur',\n contentView: 'inform',\n}\nexport const MUTEWORD_BEHAVIOR: ModerationBehavior = {\n contentList: 'blur',\n contentView: 'blur',\n}\nexport const HIDE_BEHAVIOR: ModerationBehavior = {\n contentList: 'blur',\n contentView: 'blur',\n}\nexport const NOOP_BEHAVIOR: ModerationBehavior = {}\n\n// labels\n// =\n\nexport type Label = ComAtprotoLabelDefs.Label\nexport type LabelTarget = 'account' | 'profile' | 'content'\nexport type LabelPreference = 'ignore' | 'warn' | 'hide'\n\nexport type LabelValueDefinitionFlag =\n
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/moderation/types.ts"],"names":[],"mappings":"AAWA,SAAS;AACT,IAAI;AAEJ,MAAM,CAAC,MAAM,qBAAqB,GAAG,WAAW,CAAA;AAehD,MAAM,CAAC,MAAM,cAAc,GAAuB;IAChD,WAAW,EAAE,MAAM;IACnB,WAAW,EAAE,OAAO;IACpB,MAAM,EAAE,MAAM;IACd,MAAM,EAAE,MAAM;IACd,WAAW,EAAE,MAAM;IACnB,WAAW,EAAE,MAAM;CACpB,CAAA;AACD,MAAM,CAAC,MAAM,aAAa,GAAuB;IAC/C,WAAW,EAAE,QAAQ;IACrB,WAAW,EAAE,OAAO;IACpB,WAAW,EAAE,MAAM;IACnB,WAAW,EAAE,QAAQ;CACtB,CAAA;AACD,MAAM,CAAC,MAAM,iBAAiB,GAAuB;IACnD,WAAW,EAAE,MAAM;IACnB,WAAW,EAAE,MAAM;CACpB,CAAA;AACD,MAAM,CAAC,MAAM,aAAa,GAAuB;IAC/C,WAAW,EAAE,MAAM;IACnB,WAAW,EAAE,MAAM;CACpB,CAAA;AACD,MAAM,CAAC,MAAM,aAAa,GAAuB,EAAE,CAAA","sourcesContent":["import type {\n AppBskyActorDefs,\n AppBskyFeedDefs,\n AppBskyGraphDefs,\n AppBskyNotificationListNotifications,\n ChatBskyActorDefs,\n ComAtprotoLabelDefs,\n} from '../client/index.js'\nimport type { KnownLabelValue } from './const/labels.js'\nimport type { MuteWordMatch } from './mutewords.js'\n\n// syntax\n// =\n\nexport const CUSTOM_LABEL_VALUE_RE = /^[a-z-]+$/\n\n// behaviors\n// =\n\nexport interface ModerationBehavior {\n profileList?: 'blur' | 'alert' | 'inform'\n profileView?: 'blur' | 'alert' | 'inform'\n avatar?: 'blur' | 'alert'\n banner?: 'blur'\n displayName?: 'blur'\n contentList?: 'blur' | 'alert' | 'inform'\n contentView?: 'blur' | 'alert' | 'inform'\n contentMedia?: 'blur'\n}\nexport const BLOCK_BEHAVIOR: ModerationBehavior = {\n profileList: 'blur',\n profileView: 'alert',\n avatar: 'blur',\n banner: 'blur',\n contentList: 'blur',\n contentView: 'blur',\n}\nexport const MUTE_BEHAVIOR: ModerationBehavior = {\n profileList: 'inform',\n profileView: 'alert',\n contentList: 'blur',\n contentView: 'inform',\n}\nexport const MUTEWORD_BEHAVIOR: ModerationBehavior = {\n contentList: 'blur',\n contentView: 'blur',\n}\nexport const HIDE_BEHAVIOR: ModerationBehavior = {\n contentList: 'blur',\n contentView: 'blur',\n}\nexport const NOOP_BEHAVIOR: ModerationBehavior = {}\n\n// labels\n// =\n\nexport type Label = ComAtprotoLabelDefs.Label\nexport type LabelTarget = 'account' | 'profile' | 'content'\nexport type LabelPreference = 'ignore' | 'warn' | 'hide'\n\nexport type LabelValueDefinitionFlag =\n 'no-override' | 'adult' | 'unauthed' | 'no-self'\n\nexport interface InterpretedLabelValueDefinition\n extends ComAtprotoLabelDefs.LabelValueDefinition {\n definedBy?: string | undefined // did of labeler or undefined for global\n configurable: boolean\n defaultSetting: LabelPreference // type narrowing\n flags: LabelValueDefinitionFlag[]\n behaviors: {\n account?: ModerationBehavior\n profile?: ModerationBehavior\n content?: ModerationBehavior\n }\n}\n\nexport type LabelDefinitionMap = Record<\n KnownLabelValue,\n InterpretedLabelValueDefinition\n>\n\n// subjects\n// =\n\nexport type ModerationSubjectProfile =\n | AppBskyActorDefs.ProfileViewBasic\n | AppBskyActorDefs.ProfileView\n | AppBskyActorDefs.ProfileViewDetailed\n | ChatBskyActorDefs.ProfileViewBasic\n\nexport type ModerationSubjectPost = AppBskyFeedDefs.PostView\n\nexport type ModerationSubjectNotification =\n AppBskyNotificationListNotifications.Notification\n\nexport type ModerationSubjectFeedGenerator = AppBskyFeedDefs.GeneratorView\n\nexport type ModerationSubjectUserList =\n AppBskyGraphDefs.ListViewBasic | AppBskyGraphDefs.ListView\n\nexport type ModerationSubject =\n | ModerationSubjectProfile\n | ModerationSubjectPost\n | ModerationSubjectNotification\n | ModerationSubjectFeedGenerator\n | ModerationSubjectUserList\n\n// behaviors\n// =\n\nexport type ModerationCauseSource =\n | { type: 'user' }\n | { type: 'list'; list: AppBskyGraphDefs.ListViewBasic }\n | { type: 'labeler'; did: string }\n\nexport type ModerationCause =\n | {\n type: 'blocking'\n source: ModerationCauseSource\n priority: 3\n downgraded?: boolean\n }\n | {\n type: 'blocked-by'\n source: ModerationCauseSource\n priority: 4\n downgraded?: boolean\n }\n | {\n type: 'block-other'\n source: ModerationCauseSource\n priority: 4\n downgraded?: boolean\n }\n | {\n type: 'label'\n source: ModerationCauseSource\n label: Label\n labelDef: InterpretedLabelValueDefinition\n target: LabelTarget\n setting: LabelPreference\n behavior: ModerationBehavior\n noOverride: boolean\n priority: 1 | 2 | 5 | 7 | 8\n downgraded?: boolean\n }\n | {\n type: 'muted'\n source: ModerationCauseSource\n priority: 6\n downgraded?: boolean\n }\n | {\n type: 'mute-word'\n source: ModerationCauseSource\n priority: 6\n downgraded?: boolean\n matches: MuteWordMatch[]\n }\n | {\n type: 'hidden'\n source: ModerationCauseSource\n priority: 6\n downgraded?: boolean\n }\n\nexport interface ModerationPrefsLabeler {\n did: string\n labels: Record<string, LabelPreference>\n}\n\nexport interface ModerationPrefs {\n adultContentEnabled: boolean\n labels: Record<string, LabelPreference>\n labelers: ModerationPrefsLabeler[]\n mutedWords: AppBskyActorDefs.MutedWord[]\n hiddenPosts: string[]\n}\n\nexport interface ModerationOpts {\n userDid: string | undefined\n prefs: ModerationPrefs\n /**\n * Map of labeler did -> custom definitions\n */\n labelDefs?: Record<string, InterpretedLabelValueDefinition[]>\n}\n"]}
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAA;AACzD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAE5D,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,WAAW,CAAC,OAAO,CAAC,CAAA;AAC9D,MAAM,MAAM,kBAAkB,GAAG,iBAAiB,GAAG,kBAAkB,CAAA;AACvE,wBAAgB,oBAAoB,CAAC,CAAC,SAAS,MAAM,EACnD,KAAK,EAAE,CAAC,GACP,KAAK,IAAI,CAAC,GAAG,kBAAkB,CAEjC;AAGD,MAAM,MAAM,GAAG,GAAG,OAAO,MAAM,IAAI,MAAM,EAAE,CAAA;AAC3C,wBAAgB,KAAK,CAAC,CAAC,SAAS,MAAM,EAAE,KAAK,EAAE,CAAC,GAAG,KAAK,IAAI,CAAC,GAAG,GAAG,CAMlE;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,IAAI,GAAG,CAE7D;AAED,wBAAgB,KAAK,CAAC,CAAC,SAAS,MAAM,EAAE,KAAK,EAAE,CAAC,iCAG/C;AAED,MAAM,MAAM,YAAY,GAAG,GAAG,GAAG,IAAI,kBAAkB,EAAE,CAAA;AACzD,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,YAAY,CAGnE;AAED,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,MAAM,GACZ,OAAO,CAAC,KAAK,IAAI,YAAY,CAM/B;AAED,wBAAgB,cAAc,CAAC,CAAC,SAAS,MAAM,EAAE,KAAK,EAAE,CAAC,2GAGxD;AAED;;GAEG;AACH,MAAM,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types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I,KAAK,CAAC,MAAM,GAAG,CAAC;QAAE,OAAO,KAAK,CAAA;IAClC,IAAI,KAAK,CAAC,MAAM,GAAG,IAAI;QAAE,OAAO,KAAK,CAAA;IACrC,MAAM,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,CAAA;IACnC,OAAO,KAAK,GAAG,CAAC,IAAI,KAAK,GAAG,KAAK,CAAC,MAAM,GAAG,CAAC,CAAA;AAC9C,CAAC;AAED,MAAM,UAAU,SAAS,CAAC,KAAa;IACrC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC;QAAE,MAAM,IAAI,SAAS,CAAC,gBAAgB,KAAK,EAAE,CAAC,CAAA;AACjE,CAAC;AAED,MAAM,UAAU,KAAK,CAAmB,KAAQ;IAC9C,SAAS,CAAC,KAAK,CAAC,CAAA;IAChB,OAAO,KAAK,CAAA;AACd,CAAC;AAGD,MAAM,UAAU,cAAc,CAAC,KAAa;IAC1C,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;IAC3D,OAAO,MAAM,KAAK,CAAC,IAAI,KAAK,CAAC,GAAG,CAAC,IAAI,oBAAoB,CAAC,OAAO,CAAC,CAAA;AACpE,CAAC;AAED,MAAM,UAAU,kBAAkB,CAChC,KAAa;IAEb,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,CAAC;QAC3B,MAAM,IAAI,SAAS,CACjB,0BAA0B,KAAK,kDAAkD,CAClF,CAAA;IACH,CAAC;AACH,CAAC;AAED,MAAM,UAAU,cAAc,CAAmB,KAAQ;IACvD,kBAAkB,CAAC,KAAK,CAAC,CAAA;IACzB,OAAO,KAAK,CAAA;AACd,CAAC","sourcesContent":["import type { AppBskyActorDefs } from './client/index.js'\nimport type { ModerationPrefs } from './moderation/types.js'\n\nexport type UnknownServiceType = string & NonNullable<unknown>\nexport type AtprotoServiceType = 'atproto_labeler' | UnknownServiceType\nexport function isAtprotoServiceType<T extends string>(\n input: T,\n): input is T & AtprotoServiceType {\n return !input.includes(' ') && !input.includes('#')\n}\n\n// @TODO use tools from @atproto/did\nexport type Did = `did:${string}:${string}`\nexport function isDid<T extends string>(input: T): input is T & Did {\n if (!input.startsWith('did:')) return false\n if (input.length < 8) return false\n if (input.length > 2048) return false\n const msidx = input.indexOf(':', 4)\n return msidx > 4 && msidx < input.length - 1\n}\n\nexport function assertDid(input: string): asserts input is Did {\n if (!isDid(input)) throw new TypeError(`Invalid DID: ${input}`)\n}\n\nexport function asDid<T extends string>(input: T) {\n assertDid(input)\n return input\n}\n\nexport type AtprotoProxy = `${Did}#${AtprotoServiceType}`\nexport function isAtprotoProxy(input: string): input is AtprotoProxy {\n const { length, [0]: did, [1]: service } = input.split('#')\n return length === 2 && isDid(did) && isAtprotoServiceType(service)\n}\n\nexport function assertAtprotoProxy(\n input: string,\n): asserts input is AtprotoProxy {\n if (!isAtprotoProxy(input)) {\n throw new TypeError(\n `Invalid DID reference: ${input} (must be of the form did:example:alice#service)`,\n )\n }\n}\n\nexport function asAtprotoProxy<T extends string>(input: T) {\n assertAtprotoProxy(input)\n return input\n}\n\n/**\n * Used by the PersistSessionHandler to indicate what change occurred\n */\nexport type AtpSessionEvent =\n
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAKA,MAAM,UAAU,oBAAoB,CAClC,KAAQ;IAER,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAA;AACrD,CAAC;AAID,MAAM,UAAU,KAAK,CAAmB,KAAQ;IAC9C,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC;QAAE,OAAO,KAAK,CAAA;IAC3C,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC;QAAE,OAAO,KAAK,CAAA;IAClC,IAAI,KAAK,CAAC,MAAM,GAAG,IAAI;QAAE,OAAO,KAAK,CAAA;IACrC,MAAM,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,CAAA;IACnC,OAAO,KAAK,GAAG,CAAC,IAAI,KAAK,GAAG,KAAK,CAAC,MAAM,GAAG,CAAC,CAAA;AAC9C,CAAC;AAED,MAAM,UAAU,SAAS,CAAC,KAAa;IACrC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC;QAAE,MAAM,IAAI,SAAS,CAAC,gBAAgB,KAAK,EAAE,CAAC,CAAA;AACjE,CAAC;AAED,MAAM,UAAU,KAAK,CAAmB,KAAQ;IAC9C,SAAS,CAAC,KAAK,CAAC,CAAA;IAChB,OAAO,KAAK,CAAA;AACd,CAAC;AAGD,MAAM,UAAU,cAAc,CAAC,KAAa;IAC1C,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;IAC3D,OAAO,MAAM,KAAK,CAAC,IAAI,KAAK,CAAC,GAAG,CAAC,IAAI,oBAAoB,CAAC,OAAO,CAAC,CAAA;AACpE,CAAC;AAED,MAAM,UAAU,kBAAkB,CAChC,KAAa;IAEb,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,CAAC;QAC3B,MAAM,IAAI,SAAS,CACjB,0BAA0B,KAAK,kDAAkD,CAClF,CAAA;IACH,CAAC;AACH,CAAC;AAED,MAAM,UAAU,cAAc,CAAmB,KAAQ;IACvD,kBAAkB,CAAC,KAAK,CAAC,CAAA;IACzB,OAAO,KAAK,CAAA;AACd,CAAC","sourcesContent":["import type { AppBskyActorDefs } from './client/index.js'\nimport type { ModerationPrefs } from './moderation/types.js'\n\nexport type UnknownServiceType = string & NonNullable<unknown>\nexport type AtprotoServiceType = 'atproto_labeler' | UnknownServiceType\nexport function isAtprotoServiceType<T extends string>(\n input: T,\n): input is T & AtprotoServiceType {\n return !input.includes(' ') && !input.includes('#')\n}\n\n// @TODO use tools from @atproto/did\nexport type Did = `did:${string}:${string}`\nexport function isDid<T extends string>(input: T): input is T & Did {\n if (!input.startsWith('did:')) return false\n if (input.length < 8) return false\n if (input.length > 2048) return false\n const msidx = input.indexOf(':', 4)\n return msidx > 4 && msidx < input.length - 1\n}\n\nexport function assertDid(input: string): asserts input is Did {\n if (!isDid(input)) throw new TypeError(`Invalid DID: ${input}`)\n}\n\nexport function asDid<T extends string>(input: T) {\n assertDid(input)\n return input\n}\n\nexport type AtprotoProxy = `${Did}#${AtprotoServiceType}`\nexport function isAtprotoProxy(input: string): input is AtprotoProxy {\n const { length, [0]: did, [1]: service } = input.split('#')\n return length === 2 && isDid(did) && isAtprotoServiceType(service)\n}\n\nexport function assertAtprotoProxy(\n input: string,\n): asserts input is AtprotoProxy {\n if (!isAtprotoProxy(input)) {\n throw new TypeError(\n `Invalid DID reference: ${input} (must be of the form did:example:alice#service)`,\n )\n }\n}\n\nexport function asAtprotoProxy<T extends string>(input: T) {\n assertAtprotoProxy(input)\n return input\n}\n\n/**\n * Used by the PersistSessionHandler to indicate what change occurred\n */\nexport type AtpSessionEvent =\n 'create' | 'create-failed' | 'update' | 'expired' | 'network-error'\n\n/**\n * Used by AtpAgent to store active sessions\n */\nexport interface AtpSessionData {\n refreshJwt: string\n accessJwt: string\n handle: string\n did: string\n email?: string\n emailConfirmed?: boolean\n emailAuthFactor?: boolean\n active: boolean\n status?: string\n}\n\n/**\n * Handler signature passed to AtpAgent to store session data\n */\nexport type AtpPersistSessionHandler = (\n evt: AtpSessionEvent,\n session: AtpSessionData | undefined,\n) => void | Promise<void>\n\n/**\n * AtpAgent login() opts\n */\nexport interface AtpAgentLoginOpts {\n identifier: string\n password: string\n authFactorToken?: string | undefined\n allowTakendown?: boolean\n}\n\n/**\n * AtpAgent global config opts\n */\nexport interface AtpAgentGlobalOpts {\n appLabelers?: string[]\n}\n\n/**\n * Bluesky feed view preferences\n */\n\nexport interface BskyFeedViewPreference {\n hideReplies: boolean\n hideRepliesByUnfollowed: boolean\n hideRepliesByLikeCount: number\n hideReposts: boolean\n hideQuotePosts: boolean\n [key: string]: any\n}\n\n/**\n * Bluesky thread view preferences\n */\nexport interface BskyThreadViewPreference {\n sort: string\n [key: string]: any\n}\n\n/**\n * Bluesky interests preferences\n */\nexport interface BskyInterestsPreference {\n tags: string[]\n [key: string]: any\n}\n\n/**\n * Bluesky preferences\n */\nexport interface BskyPreferences {\n /**\n * @deprecated use `savedFeeds`\n */\n feeds: {\n saved?: string[]\n pinned?: string[]\n }\n savedFeeds: AppBskyActorDefs.SavedFeed[]\n feedViewPrefs: Record<string, BskyFeedViewPreference>\n threadViewPrefs: BskyThreadViewPreference\n moderationPrefs: ModerationPrefs\n birthDate: Date | undefined\n /**\n * Read-only preference containing value(s) inferred from the user's declared\n * birthdate. Absence of this preference object in the response indicates\n * that the user has not made a declaration.\n */\n declaredAge?: AppBskyActorDefs.DeclaredAgePref\n interests: BskyInterestsPreference\n bskyAppState: {\n queuedNudges: string[]\n activeProgressGuide: AppBskyActorDefs.BskyAppProgressGuide | undefined\n nuxs: AppBskyActorDefs.Nux[]\n isBetaUser?: boolean\n }\n postInteractionSettings: AppBskyActorDefs.PostInteractionSettingsPref\n verificationPrefs: AppBskyActorDefs.VerificationPrefs\n liveEventPreferences: {\n hiddenFeedIds: string[]\n hideAllFeeds: boolean\n }\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atproto/api",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.37",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Client library for atproto and Bluesky",
|
|
6
6
|
"keywords": [
|
|
@@ -35,17 +35,17 @@
|
|
|
35
35
|
"multiformats": "^13.0.0",
|
|
36
36
|
"tlds": "^1.234.0",
|
|
37
37
|
"zod": "^3.23.8",
|
|
38
|
-
"@atproto/common-web": "^0.5.
|
|
39
|
-
"@atproto/syntax": "^0.7.
|
|
40
|
-
"@atproto/
|
|
41
|
-
"@atproto/
|
|
38
|
+
"@atproto/common-web": "^0.5.8",
|
|
39
|
+
"@atproto/syntax": "^0.7.3",
|
|
40
|
+
"@atproto/lexicon": "^0.7.10",
|
|
41
|
+
"@atproto/xrpc": "^0.8.9"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@jest/globals": "^28.1.3",
|
|
45
45
|
"http-terminator": "^3.2.0",
|
|
46
46
|
"jest": "^30.0.0",
|
|
47
|
-
"prettier": "^3.
|
|
48
|
-
"@atproto/lex-cli": "^0.10.
|
|
47
|
+
"prettier": "^3.9.6",
|
|
48
|
+
"@atproto/lex-cli": "^0.10.9"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
51
|
"codegen:lex": "lex gen-api --yes ./src/client ../../lexicons/com/atproto/*/* ../../lexicons/app/bsky/*/* ../../lexicons/chat/bsky/*/* ../../lexicons/tools/ozone/*/* ../../lexicons/com/germnetwork/*",
|