a collection of lightweight TypeScript packages for AT Protocol, the protocol powering Bluesky
atproto bluesky typescript npm
101
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore(ozone): pull latest Bluesky lexicons

Mary 461c5d2a 22cb3aa8

+38 -1
+5
.changeset/short-aliens-study.md
··· 1 + --- 2 + '@atcute/ozone': patch 3 + --- 4 + 5 + pull latest Bluesky lexicons
+1 -1
packages/definitions/ozone/lexicons/README.md
··· 3 3 this directory contains lexicon documents pulled from the following sources: 4 4 5 5 - https://github.com/bluesky-social/atproto.git 6 - - commit: a6e16cd0cd3029caf63ce2312dc5207532654763 6 + - commit: 3b9af1bdb622607467d39407d10d57f67c5e1687
+14
packages/definitions/ozone/lexicons/tools/ozone/moderation/defs.json
··· 33 33 "#modEventPriorityScore", 34 34 "#ageAssuranceEvent", 35 35 "#ageAssuranceOverrideEvent", 36 + "#ageAssurancePurgeEvent", 36 37 "#revokeAccountCredentialsEvent", 37 38 "#scheduleTakedownEvent", 38 39 "#cancelScheduledTakedownEvent" ··· 103 104 "#modEventPriorityScore", 104 105 "#ageAssuranceEvent", 105 106 "#ageAssuranceOverrideEvent", 107 + "#ageAssurancePurgeEvent", 106 108 "#revokeAccountCredentialsEvent", 107 109 "#scheduleTakedownEvent", 108 110 "#cancelScheduledTakedownEvent" ··· 619 621 "type": "string", 620 622 "minLength": 1, 621 623 "description": "Comment describing the reason for the override." 624 + } 625 + } 626 + }, 627 + "ageAssurancePurgeEvent": { 628 + "type": "object", 629 + "description": "Purges all age assurance events for the subject. Only works on DID subjects. Moderator-only.", 630 + "required": ["comment"], 631 + "properties": { 632 + "comment": { 633 + "type": "string", 634 + "minLength": 1, 635 + "description": "Comment describing the reason for the purge." 622 636 } 623 637 } 624 638 },
+1
packages/definitions/ozone/lexicons/tools/ozone/moderation/emitEvent.json
··· 35 35 "tools.ozone.moderation.defs#modEventPriorityScore", 36 36 "tools.ozone.moderation.defs#ageAssuranceEvent", 37 37 "tools.ozone.moderation.defs#ageAssuranceOverrideEvent", 38 + "tools.ozone.moderation.defs#ageAssurancePurgeEvent", 38 39 "tools.ozone.moderation.defs#revokeAccountCredentialsEvent", 39 40 "tools.ozone.moderation.defs#scheduleTakedownEvent", 40 41 "tools.ozone.moderation.defs#cancelScheduledTakedownEvent"
+16
packages/definitions/ozone/lib/lexicons/types/tools/ozone/moderation/defs.ts
··· 134 134 */ 135 135 status: /*#__PURE__*/ v.string<'assured' | 'blocked' | 'reset' | (string & {})>(), 136 136 }); 137 + const _ageAssurancePurgeEventSchema = /*#__PURE__*/ v.object({ 138 + $type: /*#__PURE__*/ v.optional( 139 + /*#__PURE__*/ v.literal('tools.ozone.moderation.defs#ageAssurancePurgeEvent'), 140 + ), 141 + /** 142 + * Comment describing the reason for the purge. 143 + * @minLength 1 144 + */ 145 + comment: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(1)]), 146 + }); 137 147 const _blobViewSchema = /*#__PURE__*/ v.object({ 138 148 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('tools.ozone.moderation.defs#blobView')), 139 149 cid: /*#__PURE__*/ v.cidString(), ··· 395 405 accountEventSchema, 396 406 ageAssuranceEventSchema, 397 407 ageAssuranceOverrideEventSchema, 408 + ageAssurancePurgeEventSchema, 398 409 cancelScheduledTakedownEventSchema, 399 410 identityEventSchema, 400 411 modEventAcknowledgeSchema, ··· 441 452 accountEventSchema, 442 453 ageAssuranceEventSchema, 443 454 ageAssuranceOverrideEventSchema, 455 + ageAssurancePurgeEventSchema, 444 456 cancelScheduledTakedownEventSchema, 445 457 identityEventSchema, 446 458 modEventAcknowledgeSchema, ··· 893 905 type accountStrike$schematype = typeof _accountStrikeSchema; 894 906 type ageAssuranceEvent$schematype = typeof _ageAssuranceEventSchema; 895 907 type ageAssuranceOverrideEvent$schematype = typeof _ageAssuranceOverrideEventSchema; 908 + type ageAssurancePurgeEvent$schematype = typeof _ageAssurancePurgeEventSchema; 896 909 type blobView$schematype = typeof _blobViewSchema; 897 910 type cancelScheduledTakedownEvent$schematype = typeof _cancelScheduledTakedownEventSchema; 898 911 type identityEvent$schematype = typeof _identityEventSchema; ··· 949 962 export interface accountStrikeSchema extends accountStrike$schematype {} 950 963 export interface ageAssuranceEventSchema extends ageAssuranceEvent$schematype {} 951 964 export interface ageAssuranceOverrideEventSchema extends ageAssuranceOverrideEvent$schematype {} 965 + export interface ageAssurancePurgeEventSchema extends ageAssurancePurgeEvent$schematype {} 952 966 export interface blobViewSchema extends blobView$schematype {} 953 967 export interface cancelScheduledTakedownEventSchema extends cancelScheduledTakedownEvent$schematype {} 954 968 export interface identityEventSchema extends identityEvent$schematype {} ··· 1006 1020 export const ageAssuranceEventSchema = _ageAssuranceEventSchema as ageAssuranceEventSchema; 1007 1021 export const ageAssuranceOverrideEventSchema = 1008 1022 _ageAssuranceOverrideEventSchema as ageAssuranceOverrideEventSchema; 1023 + export const ageAssurancePurgeEventSchema = _ageAssurancePurgeEventSchema as ageAssurancePurgeEventSchema; 1009 1024 export const blobViewSchema = _blobViewSchema as blobViewSchema; 1010 1025 export const cancelScheduledTakedownEventSchema = 1011 1026 _cancelScheduledTakedownEventSchema as cancelScheduledTakedownEventSchema; ··· 1066 1081 export interface AccountStrike extends v.InferInput<typeof accountStrikeSchema> {} 1067 1082 export interface AgeAssuranceEvent extends v.InferInput<typeof ageAssuranceEventSchema> {} 1068 1083 export interface AgeAssuranceOverrideEvent extends v.InferInput<typeof ageAssuranceOverrideEventSchema> {} 1084 + export interface AgeAssurancePurgeEvent extends v.InferInput<typeof ageAssurancePurgeEventSchema> {} 1069 1085 export interface BlobView extends v.InferInput<typeof blobViewSchema> {} 1070 1086 export interface CancelScheduledTakedownEvent extends v.InferInput< 1071 1087 typeof cancelScheduledTakedownEventSchema
+1
packages/definitions/ozone/lib/lexicons/types/tools/ozone/moderation/emitEvent.ts
··· 17 17 ToolsOzoneModerationDefs.accountEventSchema, 18 18 ToolsOzoneModerationDefs.ageAssuranceEventSchema, 19 19 ToolsOzoneModerationDefs.ageAssuranceOverrideEventSchema, 20 + ToolsOzoneModerationDefs.ageAssurancePurgeEventSchema, 20 21 ToolsOzoneModerationDefs.cancelScheduledTakedownEventSchema, 21 22 ToolsOzoneModerationDefs.identityEventSchema, 22 23 ToolsOzoneModerationDefs.modEventAcknowledgeSchema,