This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

formatting and linting

+22 -13
+4 -2
src/modules/atproto/infrastructure/mappers/CollectionLinkMapper.ts
··· 7 7 8 8 export class CollectionLinkMapper { 9 9 private static configService = new EnvironmentConfigService(); 10 - static collectionLinkType = CollectionLinkMapper.configService.getAtProtoCollections().collectionLink; 11 - static baseCollection = CollectionLinkMapper.configService.getAtProtoBaseCollection(); 10 + static collectionLinkType = 11 + CollectionLinkMapper.configService.getAtProtoCollections().collectionLink; 12 + static baseCollection = 13 + CollectionLinkMapper.configService.getAtProtoBaseCollection(); 12 14 13 15 static toCreateRecordDTO( 14 16 cardLink: CardLink,
+12 -9
src/webapp/features/cards/components/addCardToModal/AddCardToModalContent.tsx
··· 116 116 (c) => c.id, 117 117 ); 118 118 119 - updateCardAssociations.mutate({ 120 - ...updatedCardPayload, 121 - viaCardId: props.viaCardId, 122 - }, { 123 - onError: () => { 124 - notifications.show({ message: 'Could not update card.' }); 119 + updateCardAssociations.mutate( 120 + { 121 + ...updatedCardPayload, 122 + viaCardId: props.viaCardId, 125 123 }, 126 - onSettled: () => { 127 - props.onClose(); 124 + { 125 + onError: () => { 126 + notifications.show({ message: 'Could not update card.' }); 127 + }, 128 + onSettled: () => { 129 + props.onClose(); 130 + }, 128 131 }, 129 - }); 132 + ); 130 133 }; 131 134 132 135 return (
+5 -1
src/webapp/features/cards/lib/dal.ts
··· 41 41 export const addUrlToLibrary = cache( 42 42 async ( 43 43 url: string, 44 - { note, collectionIds, viaCardId }: { note?: string; collectionIds?: string[]; viaCardId?: string }, 44 + { 45 + note, 46 + collectionIds, 47 + viaCardId, 48 + }: { note?: string; collectionIds?: string[]; viaCardId?: string }, 45 49 ) => { 46 50 const session = await verifySessionOnClient(); 47 51 if (!session) throw new Error('No session found');
+1 -1
tsup.config.ts
··· 25 25 '**/*.spec.ts', 26 26 'src/webapp/**', 27 27 'src/types/**', 28 - 'src/packages/**' 28 + 'src/packages/**', 29 29 ], 30 30 });