Inlines `actions/group-album.ts` (OIDB sendRawPacket via QunAlbum.trpc.*) and `web-actions/group-album.ts` (HTTP cookie-based) into `apis/group-album.ts::GroupAlbumApi`. Both action files deleted. Pure HTTP helpers in `web/group-album.ts` stay where they are — they're transport-layer code. Method renaming follows the now-standard "drop the redundant suffix" rule (the Api namespace already says `groupAlbum`): getGroupAlbumList → list (HTTP) uploadImageToGroupAlbum → upload (HTTP slice-upload) getGroupAlbumMediaList → getMediaList commentGroupAlbumMedia → comment likeGroupAlbumMedia → like deleteGroupAlbumMedia → delete Callers updated: `instance-context.ts`. `web-actions/index.ts` no longer re-exports the deleted album functions. No tests existed for this surface area, so no test churn. 587/587 tests pass.
16 lines
365 B
TypeScript
16 lines
365 B
TypeScript
export {
|
|
forceFetchClientKey, getBknFromSKey, getCookies, getCookiesStr, getCredentials, getCsrfToken, getPSkey, getSKey
|
|
} from './cookies';
|
|
|
|
export { getGroupHonorInfo } from './group-honor';
|
|
|
|
export {
|
|
getGroupEssence,
|
|
getGroupEssenceAll
|
|
} from './group-essence';
|
|
|
|
export {
|
|
deleteGroupNoticeByFid, getGroupNotice, sendGroupNotice
|
|
} from './group-notice';
|
|
|