Something went wrong. Try again.
your personal website on atproto - mirror blento.app
Something went wrong. Try again.
TypeScript
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071import type { Blob } from '@atcute/lexicons';import type { AppBskyActorDefs } from '@atcute/bluesky';
export type Item = { id: string;
w: number; h: number; x: number; y: number;
mobileW: number; mobileH: number; mobileX: number; mobileY: number;
cardType: string;
color?: string;
cardData: any;
updatedAt?: string;
version?: number;
page?: string;};
export type WebsiteData = { page: string; did: string; handle: string;
cards: Item[]; publication: { url?: string; name?: string; description?: string; icon?: Blob; preferences?: { /** * @deprecated * * use hideProfileSection instead */ hideProfile?: boolean;
// use this instead hideProfileSection?: boolean;
// 'side' (default on desktop) or 'top' (always top like mobile view) profilePosition?: 'side' | 'top';
// theme colors accentColor?: string; baseColor?: string; }; }; profile: AppBskyActorDefs.ProfileViewDetailed;
additionalData: Record<string, unknown>; updatedAt: number; version?: number;};
export type UserCache = { get: (key: string) => string; put: (key: string, value: string) => void;};