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: pull latest Bluesky lexicons

Mary a53b88aa f0070211

+37 -2
+5
.changeset/twelve-tools-pay.md
··· 1 + --- 2 + '@atcute/bluesky': patch 3 + --- 4 + 5 + pull latest Bluesky lexicons
+1 -1
lexicons/README.md
··· 1 - https://github.com/bluesky-social/atproto/tree/3a65b68f7dc63c8bfbea0ae615f8ae984272f2e4/lexicons 1 + https://github.com/bluesky-social/atproto/tree/86b3153884099ceeb0cfdb9d2bfdd447c39fb35a/lexicons
+18 -1
lexicons/app/bsky/unspecced/getConfig.json
··· 11 11 "type": "object", 12 12 "required": [], 13 13 "properties": { 14 - "checkEmailConfirmed": { "type": "boolean" } 14 + "checkEmailConfirmed": { "type": "boolean" }, 15 + "liveNow": { 16 + "type": "array", 17 + "items": { "type": "ref", "ref": "#liveNowConfig" } 18 + } 19 + } 20 + } 21 + } 22 + }, 23 + "liveNowConfig": { 24 + "type": "object", 25 + "required": ["did", "domains"], 26 + "properties": { 27 + "did": { "type": "string", "format": "did" }, 28 + "domains": { 29 + "type": "array", 30 + "items": { 31 + "type": "string" 15 32 } 16 33 } 17 34 }
+13
packages/definitions/bluesky/lib/lexicons/types/app/bsky/unspecced/getConfig.ts
··· 2 2 import * as v from '@atcute/lexicons/validations'; 3 3 import type {} from '@atcute/lexicons/ambient'; 4 4 5 + const _liveNowConfigSchema = /*#__PURE__*/ v.object({ 6 + $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.unspecced.getConfig#liveNowConfig')), 7 + did: /*#__PURE__*/ v.didString(), 8 + domains: /*#__PURE__*/ v.array(/*#__PURE__*/ v.string()), 9 + }); 5 10 const _mainSchema = /*#__PURE__*/ v.query('app.bsky.unspecced.getConfig', { 6 11 params: null, 7 12 output: { 8 13 type: 'lex', 9 14 schema: /*#__PURE__*/ v.object({ 10 15 checkEmailConfirmed: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()), 16 + get liveNow() { 17 + return /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(liveNowConfigSchema)); 18 + }, 11 19 }), 12 20 }, 13 21 }); 14 22 23 + type liveNowConfig$schematype = typeof _liveNowConfigSchema; 15 24 type main$schematype = typeof _mainSchema; 16 25 26 + export interface liveNowConfigSchema extends liveNowConfig$schematype {} 17 27 export interface mainSchema extends main$schematype {} 18 28 29 + export const liveNowConfigSchema = _liveNowConfigSchema as liveNowConfigSchema; 19 30 export const mainSchema = _mainSchema as mainSchema; 31 + 32 + export interface LiveNowConfig extends v.InferInput<typeof liveNowConfigSchema> {} 20 33 21 34 declare module '@atcute/lexicons/ambient' { 22 35 interface XRPCQueries {