mirror of
https://github.com/storytold/placeholder-artcraft.git
synced 2026-10-09 00:09:55 +00:00
0daf83dba9
Need to remove secrets before entire repo can be made public.
19 lines
671 B
TypeScript
19 lines
671 B
TypeScript
import { ApiManager, ApiResponse } from './ApiManager.js';
|
|
export interface UserRating {
|
|
entity_token: string;
|
|
entity_type: string;
|
|
rating_value: string;
|
|
}
|
|
export declare class UserRatingApi extends ApiManager {
|
|
ListUserRatings(): Promise<ApiResponse<UserRating[]>>;
|
|
PostUserRating({ entityToken, entityType, ratingValue, }: {
|
|
entityToken: string;
|
|
entityType: string;
|
|
ratingValue: string;
|
|
}): Promise<ApiResponse<number>>;
|
|
ListUserRatingByEntity({ entityType, entityToken, }: {
|
|
entityType: string;
|
|
entityToken: string;
|
|
}): Promise<ApiResponse<string>>;
|
|
}
|
|
//# sourceMappingURL=UserRatingsApi.d.ts.map
|