UNPKG

@atcute/bluesky

Version:

Bluesky (app.bsky.* and chat.bsky.*) schema definitions

153 lines 3.73 kB
/** limits for `app.bsky.feed.post` */ export declare const feedPost: { readonly text: { readonly maxGraphemes: 300; readonly maxLength: 3000; }; readonly langs: { readonly maxItems: 3; }; readonly tags: { readonly maxItems: 8; readonly item: { readonly maxGraphemes: 64; readonly maxLength: 640; }; }; }; /** limits for `app.bsky.actor.profile` */ export declare const actorProfile: { readonly displayName: { readonly maxGraphemes: 64; readonly maxLength: 640; }; readonly description: { readonly maxGraphemes: 256; readonly maxLength: 2560; }; readonly pronouns: { readonly maxGraphemes: 20; readonly maxLength: 200; }; readonly avatar: { readonly maxSize: 1000000; }; readonly banner: { readonly maxSize: 1000000; }; }; /** limits for `app.bsky.feed.generator` */ export declare const feedGenerator: { readonly displayName: { readonly maxGraphemes: 24; readonly maxLength: 240; }; readonly description: { readonly maxGraphemes: 300; readonly maxLength: 3000; }; readonly avatar: { readonly maxSize: 1000000; }; }; /** limits for `app.bsky.feed.threadgate` */ export declare const feedThreadgate: { readonly allow: { readonly maxItems: 5; }; readonly hiddenReplies: { readonly maxItems: 300; }; }; /** limits for `app.bsky.feed.postgate` */ export declare const feedPostgate: { readonly detachedEmbeddingUris: { readonly maxItems: 50; }; readonly embeddingRules: { readonly maxItems: 5; }; }; /** limits for `app.bsky.graph.list` */ export declare const graphList: { readonly name: { readonly maxLength: 64; readonly minLength: 1; }; readonly description: { readonly maxGraphemes: 300; readonly maxLength: 3000; }; readonly avatar: { readonly maxSize: 1000000; }; }; /** limits for `app.bsky.graph.starterpack` */ export declare const graphStarterpack: { readonly name: { readonly maxGraphemes: 50; readonly maxLength: 500; readonly minLength: 1; }; readonly description: { readonly maxGraphemes: 300; readonly maxLength: 3000; }; readonly feeds: { readonly maxItems: 3; }; }; /** limits for `app.bsky.embed.images` */ export declare const embedImages: { readonly images: { readonly maxItems: 4; }; readonly image: { readonly image: { readonly maxSize: 1000000; }; }; }; /** limits for `app.bsky.embed.video` */ export declare const embedVideo: { readonly video: { readonly maxSize: 100000000; }; readonly captions: { readonly maxItems: 20; }; readonly alt: { readonly maxGraphemes: 1000; readonly maxLength: 10000; }; readonly caption: { readonly file: { readonly maxSize: 20000; }; }; }; /** limits for `app.bsky.embed.external` */ export declare const embedExternal: { readonly external: { readonly thumb: { readonly maxSize: 1000000; }; }; }; /** limits for `app.bsky.richtext.facet` */ export declare const richtextFacet: { readonly tag: { readonly tag: { readonly maxGraphemes: 64; readonly maxLength: 640; }; }; }; /** limits for `chat.bsky.convo.defs` */ export declare const convoMessage: { readonly text: { readonly maxGraphemes: 1000; readonly maxLength: 10000; }; }; //# sourceMappingURL=limits.d.ts.map