remove distinct dids api

juli.ee 2d2e268f 35fdf4a3

verified
Changed files
-17
src
utils
-17
src/utils/api.ts
··· 133 linking_records: Array<{ did: string; collection: string; rkey: string }>; 134 }; 135 136 - type LinksWithDids = { 137 - cursor: string; 138 - total: number; 139 - linking_dids: Array<string>; 140 - }; 141 - 142 const getConstellation = async ( 143 endpoint: string, 144 target: string, ··· 175 ): Promise<LinksWithRecords> => 176 getConstellation("/links", target, collection, path, cursor, limit || 100); 177 178 - const getDidBacklinks = ( 179 - target: string, 180 - collection: string, 181 - path: string, 182 - cursor?: string, 183 - limit?: number, 184 - ): Promise<LinksWithDids> => 185 - getConstellation("/links/distinct-dids", target, collection, path, cursor, limit || 100); 186 - 187 export { 188 didDocCache, 189 getAllBacklinks, 190 - getDidBacklinks, 191 getPDS, 192 getRecordBacklinks, 193 labelerCache, ··· 198 resolvePDS, 199 validateHandle, 200 type LinkData, 201 - type LinksWithDids, 202 type LinksWithRecords, 203 };
··· 133 linking_records: Array<{ did: string; collection: string; rkey: string }>; 134 }; 135 136 const getConstellation = async ( 137 endpoint: string, 138 target: string, ··· 169 ): Promise<LinksWithRecords> => 170 getConstellation("/links", target, collection, path, cursor, limit || 100); 171 172 export { 173 didDocCache, 174 getAllBacklinks, 175 getPDS, 176 getRecordBacklinks, 177 labelerCache, ··· 182 resolvePDS, 183 validateHandle, 184 type LinkData, 185 type LinksWithRecords, 186 };