···15import { UpdatedBlentosCardDefitition } from './SpecialCards/UpdatedBlentos';
16import { TextCardDefinition } from './TextCard';
17import type { CardDefinition } from './types';
18-import { VideoCardDefinition } from './VideoCard';
19import { YoutubeCardDefinition } from './YoutubeVideoCard';
20import { BlueskyProfileCardDefinition } from './BlueskyProfileCard';
21import { GithubProfileCardDefitition } from './GitHubProfileCard';
···41 GuestbookCardDefinition,
42 ButtonCardDefinition,
43 ImageCardDefinition,
44- VideoCardDefinition,
45 TextCardDefinition,
46 LinkCardDefinition,
47 BigSocialCardDefinition,
···15import { UpdatedBlentosCardDefitition } from './SpecialCards/UpdatedBlentos';
16import { TextCardDefinition } from './TextCard';
17import type { CardDefinition } from './types';
018import { YoutubeCardDefinition } from './YoutubeVideoCard';
19import { BlueskyProfileCardDefinition } from './BlueskyProfileCard';
20import { GithubProfileCardDefitition } from './GitHubProfileCard';
···40 GuestbookCardDefinition,
41 ButtonCardDefinition,
42 ImageCardDefinition,
043 TextCardDefinition,
44 LinkCardDefinition,
45 BigSocialCardDefinition,
-7
src/lib/cards/types.ts
···13 onclose: () => void;
14};
1516-export type SidebarComponentProps = {
17- onclick: () => void;
18-};
19-20export type ContentComponentProps = {
21 item: Item;
22 isEditing?: boolean;
···32 creationModalComponent?: Component<CreationModalComponentProps>;
3334 upload?: (item: Item) => Promise<Item>; // optionally upload some other data needed for this card
35-36- // has to be set for a card to appear in the sidebar
37- sidebarButtonText?: string;
3839 // if this component exists, a settings button with a popover will be shown containing this component
40 settingsComponent?: Component<SettingsComponentProps>;
···13 onclose: () => void;
14};
15000016export type ContentComponentProps = {
17 item: Item;
18 isEditing?: boolean;
···28 creationModalComponent?: Component<CreationModalComponentProps>;
2930 upload?: (item: Item) => Promise<Item>; // optionally upload some other data needed for this card
0003132 // if this component exists, a settings button with a popover will be shown containing this component
33 settingsComponent?: Component<SettingsComponentProps>;