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(pckt): pull latest pckt lexicons

Mary 031e446a f4378aba

+48
+5
.changeset/bright-cobras-cross.md
··· 1 + --- 2 + '@atcute/pckt': patch 3 + --- 4 + 5 + pull latest pckt lexicons
+22
packages/definitions/pckt/lexicons/blog/pckt/content.json
··· 1 + { 2 + "id": "blog.pckt.content", 3 + "defs": { 4 + "main": { 5 + "type": "object", 6 + "required": ["items"], 7 + "properties": { 8 + "items": { 9 + "type": "array", 10 + "items": { 11 + "refs": [], 12 + "type": "union", 13 + "closed": false 14 + }, 15 + "description": "Array of content blocks" 16 + } 17 + } 18 + } 19 + }, 20 + "$type": "com.atproto.lexicon.schema", 21 + "lexicon": 1 22 + }
+1
packages/definitions/pckt/lib/lexicons/index.ts
··· 14 14 export * as BlogPcktBlockTaskList from './types/blog/pckt/block/taskList.js'; 15 15 export * as BlogPcktBlockText from './types/blog/pckt/block/text.js'; 16 16 export * as BlogPcktBlockWebsite from './types/blog/pckt/block/website.js'; 17 + export * as BlogPcktContent from './types/blog/pckt/content.js'; 17 18 export * as BlogPcktDocument from './types/blog/pckt/document.js'; 18 19 export * as BlogPcktPublication from './types/blog/pckt/publication.js'; 19 20 export * as BlogPcktRichtextFacet from './types/blog/pckt/richtext/facet.js';
+20
packages/definitions/pckt/lib/lexicons/types/blog/pckt/content.ts
··· 1 + import type {} from '@atcute/lexicons'; 2 + import * as v from '@atcute/lexicons/validations'; 3 + 4 + const _mainSchema = /*#__PURE__*/ v.object({ 5 + $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('blog.pckt.content')), 6 + /** 7 + * Array of content blocks 8 + */ 9 + get items() { 10 + return /*#__PURE__*/ v.array(/*#__PURE__*/ v.variant([])); 11 + }, 12 + }); 13 + 14 + type main$schematype = typeof _mainSchema; 15 + 16 + export interface mainSchema extends main$schematype {} 17 + 18 + export const mainSchema = _mainSchema as mainSchema; 19 + 20 + export interface Main extends v.InferInput<typeof mainSchema> {}