Merge branch 'main_dev'
This commit is contained in:
commit
8c79bc81c1
@ -1,4 +1,5 @@
|
|||||||
import { http } from './index';
|
import { http } from "./index";
|
||||||
|
import { readingApi, GetTenantPageResult } from "./client";
|
||||||
|
|
||||||
// ==================== 类型定义 ====================
|
// ==================== 类型定义 ====================
|
||||||
|
|
||||||
@ -202,50 +203,71 @@ export interface TenantQuotaUpdateRequest {
|
|||||||
// ==================== 租户管理 ====================
|
// ==================== 租户管理 ====================
|
||||||
|
|
||||||
export const getTenants = (params: TenantQueryParams) =>
|
export const getTenants = (params: TenantQueryParams) =>
|
||||||
http.get<{ items: Tenant[]; total: number; page: number; pageSize: number; totalPages: number }>(
|
readingApi.getTenantPage(params);
|
||||||
'/admin/tenants',
|
|
||||||
{ params }
|
|
||||||
);
|
|
||||||
|
|
||||||
export const getTenant = (id: number) =>
|
export const getTenant = (id: number): Promise<TenantDetail> =>
|
||||||
http.get<TenantDetail>(`/admin/tenants/${id}`);
|
readingApi.getTenant(id).then((res) => res.data as any);
|
||||||
|
|
||||||
export const createTenant = (data: CreateTenantDto) =>
|
export const createTenant = (
|
||||||
http.post<Tenant & { tempPassword: string }>('/admin/tenants', data);
|
data: CreateTenantDto,
|
||||||
|
): Promise<Tenant & { tempPassword: string }> =>
|
||||||
|
readingApi.createTenant(data as any).then((res) => {
|
||||||
|
const map = res.data as any;
|
||||||
|
// Orval 将返回值定义为 ResultTenant / ResultMapStringString,这里按现有前端期望结构进行兼容转换
|
||||||
|
return {
|
||||||
|
...(map as Tenant),
|
||||||
|
tempPassword: (map as any).tempPassword ?? "",
|
||||||
|
};
|
||||||
|
});
|
||||||
|
|
||||||
export const updateTenant = (id: number, data: UpdateTenantDto) =>
|
export const updateTenant = (
|
||||||
http.put<Tenant>(`/admin/tenants/${id}`, data);
|
id: number,
|
||||||
|
data: UpdateTenantDto,
|
||||||
|
): Promise<Tenant> =>
|
||||||
|
readingApi.updateTenant(id, data as any).then((res) => res.data as any);
|
||||||
|
|
||||||
export const updateTenantQuota = (id: number, data: UpdateTenantQuotaDto) =>
|
export const updateTenantQuota = (
|
||||||
http.put<Tenant>(`/admin/tenants/${id}/quota`, data);
|
id: number,
|
||||||
|
data: UpdateTenantQuotaDto,
|
||||||
|
): Promise<Tenant> =>
|
||||||
|
readingApi.updateTenantQuota(id, data as any).then((res) => res.data as any);
|
||||||
|
|
||||||
export const updateTenantStatus = (id: number, data: TenantStatusUpdateRequest) =>
|
export const updateTenantStatus = (
|
||||||
http.put<{ id: number; name: string; status: string }>(`/admin/tenants/${id}/status`, data);
|
id: number,
|
||||||
|
status: string,
|
||||||
|
): Promise<{ id: number; name: string; status: string }> =>
|
||||||
|
readingApi
|
||||||
|
.updateTenantStatus(id, { status } as any)
|
||||||
|
.then((res) => res.data as any);
|
||||||
|
|
||||||
export const resetTenantPassword = (id: number) =>
|
export const resetTenantPassword = (
|
||||||
http.post<{ tempPassword: string }>(`/admin/tenants/${id}/reset-password`);
|
id: number,
|
||||||
|
): Promise<{ tempPassword: string }> =>
|
||||||
|
readingApi.resetTenantPassword(id).then((res) => res.data as any);
|
||||||
|
|
||||||
export const deleteTenant = (id: number) =>
|
export const deleteTenant = (id: number): Promise<{ success: boolean }> =>
|
||||||
http.delete<{ success: boolean }>(`/admin/tenants/${id}`);
|
readingApi.deleteTenant(id).then(() => ({ success: true }));
|
||||||
|
|
||||||
// ==================== 统计数据 ====================
|
// ==================== 统计数据 ====================
|
||||||
|
|
||||||
export const getAdminStats = () =>
|
export const getAdminStats = (): Promise<AdminStats> =>
|
||||||
http.get<AdminStats>('/admin/stats');
|
readingApi.getStats3().then((res) => res.data as any);
|
||||||
|
|
||||||
export const getTrendData = () =>
|
export const getTrendData = (): Promise<TrendData[]> =>
|
||||||
http.get<TrendData[]>('/admin/stats/trend');
|
readingApi.getTrendData().then((res) => res.data as any);
|
||||||
|
|
||||||
export const getActiveTenants = (limit?: number) =>
|
export const getActiveTenants = (limit?: number): Promise<ActiveTenant[]> =>
|
||||||
http.get<ActiveTenant[]>('/admin/stats/tenants/active', { params: { limit } });
|
readingApi.getActiveTenants({ limit } as any).then((res) => res.data as any);
|
||||||
|
|
||||||
export const getPopularCourses = (limit?: number) =>
|
export const getPopularCourses = (limit?: number): Promise<PopularCourse[]> =>
|
||||||
http.get<PopularCourse[]>('/admin/stats/courses/popular', { params: { limit } });
|
readingApi.getPopularCourses({ limit } as any).then((res) => res.data as any);
|
||||||
|
|
||||||
// ==================== 系统设置 ====================
|
// ==================== 系统设置 ====================
|
||||||
|
|
||||||
export const getAdminSettings = () =>
|
export const getAdminSettings = (): Promise<AdminSettings> =>
|
||||||
http.get<AdminSettings>('/admin/settings');
|
readingApi.getSettings1().then((res) => res.data as any);
|
||||||
|
|
||||||
export const updateAdminSettings = (data: AdminSettingsUpdateRequest) =>
|
export const updateAdminSettings = (
|
||||||
http.put<AdminSettings>('/admin/settings', data);
|
data: Record<string, any>,
|
||||||
|
): Promise<AdminSettings> =>
|
||||||
|
readingApi.updateSettings1(data as any).then(() => getAdminSettings());
|
||||||
|
|||||||
@ -1,25 +1,26 @@
|
|||||||
import { http } from './index';
|
import { readingApi } from "./client";
|
||||||
|
import type {
|
||||||
|
LoginRequest,
|
||||||
|
LoginResponse as ApiLoginResponse,
|
||||||
|
ResultLoginResponse,
|
||||||
|
ResultUserInfoResponse,
|
||||||
|
UserInfoResponse,
|
||||||
|
} from "./generated/model";
|
||||||
|
|
||||||
export interface LoginParams {
|
export type LoginParams = LoginRequest;
|
||||||
account: string;
|
|
||||||
password: string;
|
|
||||||
role: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Java 后端返回的平铺结构
|
// Java 后端返回的平铺结构(保持与现有业务使用一致)
|
||||||
export interface LoginResponse {
|
export interface LoginResponse extends Required<
|
||||||
token: string;
|
Omit<ApiLoginResponse, "tenantId" | "role">
|
||||||
userId: number;
|
> {
|
||||||
username: string;
|
role: "admin" | "school" | "teacher" | "parent";
|
||||||
name: string;
|
|
||||||
role: 'admin' | 'school' | 'teacher' | 'parent';
|
|
||||||
tenantId?: number;
|
tenantId?: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface UserProfile {
|
export interface UserProfile {
|
||||||
id: number;
|
id: number;
|
||||||
name: string;
|
name: string;
|
||||||
role: 'admin' | 'school' | 'teacher';
|
role: "admin" | "school" | "teacher";
|
||||||
tenantId?: number;
|
tenantId?: number;
|
||||||
tenantName?: string;
|
tenantName?: string;
|
||||||
email?: string;
|
email?: string;
|
||||||
@ -29,20 +30,48 @@ export interface UserProfile {
|
|||||||
|
|
||||||
// 登录
|
// 登录
|
||||||
export function login(params: LoginParams): Promise<LoginResponse> {
|
export function login(params: LoginParams): Promise<LoginResponse> {
|
||||||
return http.post('/auth/login', params).then((res: any) => res.data);
|
return readingApi.login(params).then((res) => {
|
||||||
|
const wrapped = res as ResultLoginResponse;
|
||||||
|
const data = (wrapped.data ?? {}) as ApiLoginResponse;
|
||||||
|
|
||||||
|
return {
|
||||||
|
token: data.token ?? "",
|
||||||
|
userId: data.userId ?? 0,
|
||||||
|
username: data.username ?? "",
|
||||||
|
name: data.name ?? "",
|
||||||
|
role: (data.role as LoginResponse["role"]) ?? "teacher",
|
||||||
|
tenantId: data.tenantId,
|
||||||
|
};
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// 登出
|
// 登出
|
||||||
export function logout(): Promise<void> {
|
export function logout(): Promise<void> {
|
||||||
return http.post('/auth/logout');
|
return readingApi.logout().then(() => undefined);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 刷新Token
|
// 刷新Token
|
||||||
export function refreshToken(): Promise<{ token: string }> {
|
export function refreshToken(): Promise<{ token: string }> {
|
||||||
return http.post('/auth/refresh');
|
// OpenAPI 目前未定义 refresh 接口,暂时保留原有调用路径以兼容后端
|
||||||
|
const { http } = require("./index");
|
||||||
|
return http.post("/api/v1/auth/refresh");
|
||||||
}
|
}
|
||||||
|
|
||||||
// 获取当前用户信息
|
// 获取当前用户信息
|
||||||
export function getProfile(): Promise<UserProfile> {
|
export function getProfile(): Promise<UserProfile> {
|
||||||
return http.get('/auth/profile');
|
return readingApi.getCurrentUser().then((res) => {
|
||||||
|
const wrapped = res as ResultUserInfoResponse;
|
||||||
|
const data = (wrapped.data ?? {}) as UserInfoResponse;
|
||||||
|
|
||||||
|
return {
|
||||||
|
id: data.id ?? 0,
|
||||||
|
name: data.name ?? "",
|
||||||
|
role: (data.role as UserProfile["role"]) ?? "teacher",
|
||||||
|
tenantId: data.tenantId,
|
||||||
|
tenantName: undefined,
|
||||||
|
email: data.email,
|
||||||
|
phone: data.phone,
|
||||||
|
avatar: data.avatarUrl,
|
||||||
|
};
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
40
reading-platform-frontend/src/api/client.ts
Normal file
40
reading-platform-frontend/src/api/client.ts
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
import { getReadingPlatformAPI } from './generated/api'
|
||||||
|
import type { ResultUserInfoResponse } from './generated/model'
|
||||||
|
|
||||||
|
// Orval 生成的完整 API 客户端
|
||||||
|
export const readingApi = getReadingPlatformAPI()
|
||||||
|
|
||||||
|
// 通用工具类型:根据方法名拿到返回 Promise 的结果类型
|
||||||
|
export type ApiResultOf<K extends keyof ReturnType<typeof getReadingPlatformAPI>> =
|
||||||
|
Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>[K]>>
|
||||||
|
|
||||||
|
// 如果后端统一使用 Result<T> 包裹,这个类型可以从中解包出 data
|
||||||
|
export type UnwrapResult<R> = R extends { data: infer D } ? D : R
|
||||||
|
|
||||||
|
// 针对分页 Result<PageResult<XXX>> 的统一解包类型
|
||||||
|
export type PageDataOf<R> = UnwrapResult<R> extends {
|
||||||
|
items: any[]
|
||||||
|
total: number
|
||||||
|
page: number
|
||||||
|
pageSize: number
|
||||||
|
}
|
||||||
|
? UnwrapResult<R>
|
||||||
|
: never
|
||||||
|
|
||||||
|
// 常用 Orval 分页结果类型别名(便于在各模块中统一使用)
|
||||||
|
export type GetTenantPageResult = PageDataOf<ApiResultOf<'getTenantPage'>>
|
||||||
|
export type GetTaskPageResult = PageDataOf<ApiResultOf<'getTaskPage'>>
|
||||||
|
export type GetTaskPage1Result = PageDataOf<ApiResultOf<'getTaskPage1'>>
|
||||||
|
export type GetTeacherPageResult = PageDataOf<ApiResultOf<'getTeacherPage'>>
|
||||||
|
export type GetStudentPageResult = PageDataOf<ApiResultOf<'getStudentPage'>>
|
||||||
|
export type GetSchedulePlansResult = PageDataOf<ApiResultOf<'getSchedulePlans'>>
|
||||||
|
export type GetSchedulePlans1Result = PageDataOf<ApiResultOf<'getSchedulePlans1'>>
|
||||||
|
export type GetPackagesResult = PageDataOf<ApiResultOf<'getPackages'>>
|
||||||
|
export type GetPackages1Result = PageDataOf<ApiResultOf<'getPackages1'>>
|
||||||
|
export type GetMyNotificationsResult = PageDataOf<ApiResultOf<'getMyNotifications'>>
|
||||||
|
export type GetMyNotifications1Result = PageDataOf<ApiResultOf<'getMyNotifications1'>>
|
||||||
|
export type GetMyNotifications2Result = PageDataOf<ApiResultOf<'getMyNotifications2'>>
|
||||||
|
|
||||||
|
// 示例:当前登录用户信息的解包类型
|
||||||
|
export type CurrentUserInfo = UnwrapResult<ResultUserInfoResponse>
|
||||||
|
|
||||||
@ -1,53 +1,15 @@
|
|||||||
import { http } from './index';
|
import { readingApi } from "./client";
|
||||||
|
import type {
|
||||||
|
GetCoursePage1Params,
|
||||||
|
ResultPageResultCourse,
|
||||||
|
Course as ApiCourse,
|
||||||
|
ApproveCourseParams,
|
||||||
|
RejectCourseParams,
|
||||||
|
} from "./generated/model";
|
||||||
|
|
||||||
export interface CourseQueryParams {
|
export type CourseQueryParams = GetCoursePage1Params;
|
||||||
page?: number;
|
|
||||||
pageSize?: number;
|
|
||||||
grade?: string;
|
|
||||||
status?: string;
|
|
||||||
keyword?: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface Course {
|
export type Course = ApiCourse;
|
||||||
id: number;
|
|
||||||
name: string;
|
|
||||||
description?: string;
|
|
||||||
pictureBookName?: string;
|
|
||||||
grades: string[];
|
|
||||||
status: string;
|
|
||||||
version: string;
|
|
||||||
usageCount: number;
|
|
||||||
teacherCount: number;
|
|
||||||
avgRating: number;
|
|
||||||
createdAt: Date;
|
|
||||||
updatedAt: Date;
|
|
||||||
submittedAt?: Date;
|
|
||||||
reviewedAt?: Date;
|
|
||||||
reviewComment?: string;
|
|
||||||
// 新增字段
|
|
||||||
themeId?: number;
|
|
||||||
theme?: { id: number; name: string };
|
|
||||||
coreContent?: string;
|
|
||||||
coverImagePath?: string;
|
|
||||||
domainTags?: string[];
|
|
||||||
gradeTags?: string[];
|
|
||||||
duration?: number;
|
|
||||||
// 课程介绍字段
|
|
||||||
introSummary?: string;
|
|
||||||
introHighlights?: string;
|
|
||||||
introGoals?: string;
|
|
||||||
introSchedule?: string;
|
|
||||||
introKeyPoints?: string;
|
|
||||||
introMethods?: string;
|
|
||||||
introEvaluation?: string;
|
|
||||||
introNotes?: string;
|
|
||||||
// 排课计划参考
|
|
||||||
scheduleRefData?: string;
|
|
||||||
// 环创建设
|
|
||||||
environmentConstruction?: string;
|
|
||||||
// 关联课程
|
|
||||||
courseLessons?: CourseLesson[];
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface CourseLesson {
|
export interface CourseLesson {
|
||||||
id: number;
|
id: number;
|
||||||
@ -101,14 +63,24 @@ export interface ValidationWarning {
|
|||||||
code: string;
|
code: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 获取课程包列表
|
// 获取课程包列表(使用 Orval 生成的分页接口,并适配为原有扁平结构)
|
||||||
export function getCourses(params: CourseQueryParams): Promise<{
|
export function getCourses(params: CourseQueryParams): Promise<{
|
||||||
items: Course[];
|
items: Course[];
|
||||||
total: number;
|
total: number;
|
||||||
page: number;
|
page: number;
|
||||||
pageSize: number;
|
pageSize: number;
|
||||||
}> {
|
}> {
|
||||||
return http.get('/admin/courses', { params });
|
return readingApi.getCoursePage1(params).then((res) => {
|
||||||
|
const wrapped = res as ResultPageResultCourse;
|
||||||
|
const pageData = wrapped.data;
|
||||||
|
|
||||||
|
return {
|
||||||
|
items: (pageData?.items as Course[]) ?? [],
|
||||||
|
total: pageData?.total ?? 0,
|
||||||
|
page: pageData?.page ?? params.page ?? 1,
|
||||||
|
pageSize: pageData?.pageSize ?? params.pageSize ?? 10,
|
||||||
|
};
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// 获取审核列表
|
// 获取审核列表
|
||||||
@ -118,94 +90,133 @@ export function getReviewList(params: CourseQueryParams): Promise<{
|
|||||||
page: number;
|
page: number;
|
||||||
pageSize: number;
|
pageSize: number;
|
||||||
}> {
|
}> {
|
||||||
return http.get('/admin/courses/review', { params });
|
// 审核列表对应 Orval 的 getReviewCoursePage,返回结构同课程分页
|
||||||
|
return readingApi.getReviewCoursePage(params as any).then((res) => {
|
||||||
|
const wrapped = res as ResultPageResultCourse;
|
||||||
|
const pageData = wrapped.data;
|
||||||
|
|
||||||
|
return {
|
||||||
|
items: (pageData?.items as Course[]) ?? [],
|
||||||
|
total: pageData?.total ?? 0,
|
||||||
|
page: pageData?.page ?? params.page ?? 1,
|
||||||
|
pageSize: pageData?.pageSize ?? params.pageSize ?? 10,
|
||||||
|
};
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// 获取课程包详情
|
// 获取课程包详情
|
||||||
export function getCourse(id: number): Promise<any> {
|
export function getCourse(id: number): Promise<unknown> {
|
||||||
return http.get(`/admin/courses/${id}`);
|
return readingApi.getCourse3(id).then((res) => res);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 创建课程包
|
// 创建课程包
|
||||||
export function createCourse(data: any): Promise<any> {
|
export function createCourse(data: unknown): Promise<unknown> {
|
||||||
return http.post('/admin/courses', data);
|
return readingApi.createCourse1(data as any).then((res) => res);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 更新课程包
|
// 更新课程包
|
||||||
export function updateCourse(id: number, data: any): Promise<any> {
|
export function updateCourse(id: number, data: unknown): Promise<unknown> {
|
||||||
return http.put(`/admin/courses/${id}`, data);
|
return readingApi.updateCourse1(id, data as any).then((res) => res);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 删除课程包
|
// 删除课程包
|
||||||
export function deleteCourse(id: number): Promise<any> {
|
export function deleteCourse(id: number): Promise<unknown> {
|
||||||
return http.delete(`/admin/courses/${id}`);
|
return readingApi.deleteCourse1(id).then((res) => res);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 验证课程完整性
|
// 验证课程完整性
|
||||||
export function validateCourse(id: number): Promise<ValidationResult> {
|
export function validateCourse(id: number): Promise<ValidationResult> {
|
||||||
return http.get(`/admin/courses/${id}/validate`);
|
// 暂无对应 Orval 接口,继续使用旧路径
|
||||||
|
const { http } = require("./index");
|
||||||
|
return http.get(`/api/v1/admin/courses/${id}/validate`);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 提交审核
|
// 提交审核
|
||||||
export function submitCourse(id: number, copyrightConfirmed: boolean): Promise<any> {
|
export function submitCourse(
|
||||||
return http.post(`/admin/courses/${id}/submit`, { copyrightConfirmed });
|
id: number,
|
||||||
|
_copyrightConfirmed: boolean,
|
||||||
|
): Promise<unknown> {
|
||||||
|
// 后端接口签名只需要 ID,版权确认逻辑在前端自行控制
|
||||||
|
return readingApi.submitCourse(id).then((res) => res);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 撤销审核
|
// 撤销审核
|
||||||
export function withdrawCourse(id: number): Promise<any> {
|
export function withdrawCourse(id: number): Promise<unknown> {
|
||||||
return http.post(`/admin/courses/${id}/withdraw`);
|
return readingApi.withdrawCourse(id).then((res) => res);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 审核通过
|
// 审核通过
|
||||||
export function approveCourse(id: number, data: { checklist?: any; comment?: string }): Promise<any> {
|
export function approveCourse(
|
||||||
return http.post(`/admin/courses/${id}/approve`, data);
|
id: number,
|
||||||
|
data: { checklist?: any; comment?: string },
|
||||||
|
): Promise<unknown> {
|
||||||
|
const params: ApproveCourseParams = {
|
||||||
|
comment: data.comment,
|
||||||
|
};
|
||||||
|
return readingApi.approveCourse(id, params).then((res) => res);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 审核驳回
|
// 审核驳回
|
||||||
export function rejectCourse(id: number, data: { checklist?: any; comment: string }): Promise<any> {
|
export function rejectCourse(
|
||||||
return http.post(`/admin/courses/${id}/reject`, data);
|
id: number,
|
||||||
|
data: { checklist?: any; comment: string },
|
||||||
|
): Promise<unknown> {
|
||||||
|
const params: RejectCourseParams = {
|
||||||
|
comment: data.comment,
|
||||||
|
};
|
||||||
|
return readingApi.rejectCourse(id, params).then((res) => res);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 直接发布(超级管理员)
|
// 直接发布(超级管理员)
|
||||||
export function directPublishCourse(id: number, skipValidation?: boolean): Promise<any> {
|
export function directPublishCourse(
|
||||||
return http.post(`/admin/courses/${id}/direct-publish`, { skipValidation });
|
id: number,
|
||||||
|
_skipValidation?: boolean,
|
||||||
|
): Promise<unknown> {
|
||||||
|
// skipValidation 由后端接口定义控制,这里总是调用“直接发布”接口
|
||||||
|
return readingApi.directPublishCourse(id).then((res) => res);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 发布课程包(兼容旧API)
|
// 发布课程包(兼容旧API)
|
||||||
export function publishCourse(id: number): Promise<any> {
|
export function publishCourse(id: number): Promise<unknown> {
|
||||||
return http.post(`/admin/courses/${id}/publish`);
|
return readingApi.publishCourse(id).then((res) => res);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 下架课程包
|
// 下架课程包
|
||||||
export function unpublishCourse(id: number): Promise<any> {
|
export function unpublishCourse(id: number): Promise<unknown> {
|
||||||
return http.post(`/admin/courses/${id}/unpublish`);
|
return readingApi.unpublishCourse(id).then((res) => res);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 重新发布
|
// 重新发布
|
||||||
export function republishCourse(id: number): Promise<any> {
|
export function republishCourse(id: number): Promise<unknown> {
|
||||||
return http.post(`/admin/courses/${id}/republish`);
|
return readingApi.republishCourse(id).then((res) => res);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 获取课程包统计数据
|
// 获取课程包统计数据
|
||||||
export function getCourseStats(id: number): Promise<any> {
|
export function getCourseStats(id: number): Promise<unknown> {
|
||||||
return http.get(`/admin/courses/${id}/stats`);
|
// 统计接口在 OpenAPI 中与当前使用的字段含义略有差异,暂时保留旧实现
|
||||||
|
const { http } = require("./index");
|
||||||
|
return http.get(`/api/v1/admin/courses/${id}/stats`);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 获取版本历史
|
// 获取版本历史
|
||||||
export function getCourseVersions(id: number): Promise<any[]> {
|
export function getCourseVersions(id: number): Promise<unknown[]> {
|
||||||
return http.get(`/admin/courses/${id}/versions`);
|
const { http } = require("./index");
|
||||||
|
return http.get(`/api/v1/admin/courses/${id}/versions`);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 课程状态映射
|
// 课程状态映射
|
||||||
export const COURSE_STATUS_MAP: Record<string, { label: string; color: string }> = {
|
export const COURSE_STATUS_MAP: Record<
|
||||||
DRAFT: { label: '草稿', color: 'default' },
|
string,
|
||||||
PENDING: { label: '审核中', color: 'processing' },
|
{ label: string; color: string }
|
||||||
REJECTED: { label: '已驳回', color: 'error' },
|
> = {
|
||||||
PUBLISHED: { label: '已发布', color: 'success' },
|
DRAFT: { label: "草稿", color: "default" },
|
||||||
ARCHIVED: { label: '已下架', color: 'warning' },
|
PENDING: { label: "审核中", color: "processing" },
|
||||||
|
REJECTED: { label: "已驳回", color: "error" },
|
||||||
|
PUBLISHED: { label: "已发布", color: "success" },
|
||||||
|
ARCHIVED: { label: "已下架", color: "warning" },
|
||||||
};
|
};
|
||||||
|
|
||||||
// 获取状态显示信息
|
// 获取状态显示信息
|
||||||
export function getCourseStatusInfo(status: string) {
|
export function getCourseStatusInfo(status: string) {
|
||||||
return COURSE_STATUS_MAP[status] || { label: status, color: 'default' };
|
return COURSE_STATUS_MAP[status] || { label: status, color: "default" };
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,300 +1,300 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
* OpenAPI spec version: 1.0.0
|
* OpenAPI spec version: 1.0.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export * from './activeTeacherStatsResponse';
|
export * from "./activeTeacherStatsResponse";
|
||||||
export * from './adminSettingsUpdateRequest';
|
export * from "./adminSettingsUpdateRequest";
|
||||||
export * from './adminStatsResponse';
|
export * from "./adminStatsResponse";
|
||||||
export * from './approveCourseParams';
|
export * from "./approveCourseParams";
|
||||||
export * from './batchSaveStudentRecordResponse';
|
export * from "./batchSaveStudentRecordResponse";
|
||||||
export * from './batchStudentRecordRequest';
|
export * from "./batchStudentRecordRequest";
|
||||||
export * from './batchStudentRecordRequestRecordsItem';
|
export * from "./batchStudentRecordRequestRecordsItem";
|
||||||
export * from './bindStudentParams';
|
export * from "./bindStudentParams";
|
||||||
export * from './changePasswordParams';
|
export * from "./changePasswordParams";
|
||||||
export * from './childDetailResponse';
|
export * from "./childDetailResponse";
|
||||||
export * from './childInfoResponse';
|
export * from "./childInfoResponse";
|
||||||
export * from './childStats';
|
export * from "./childStats";
|
||||||
export * from './classCreateRequest';
|
export * from "./classCreateRequest";
|
||||||
export * from './classInfo';
|
export * from "./classInfo";
|
||||||
export * from './classInfoResponse';
|
export * from "./classInfoResponse";
|
||||||
export * from './classSimpleInfo';
|
export * from "./classSimpleInfo";
|
||||||
export * from './classTeacher';
|
export * from "./classTeacher";
|
||||||
export * from './classTeacherRequest';
|
export * from "./classTeacherRequest";
|
||||||
export * from './classUpdateRequest';
|
export * from "./classUpdateRequest";
|
||||||
export * from './clazz';
|
export * from "./clazz";
|
||||||
export * from './commonPageResponseLesson';
|
export * from "./commonPageResponseLesson";
|
||||||
export * from './commonPageResponseTaskCompletionInfoResponse';
|
export * from "./commonPageResponseTaskCompletionInfoResponse";
|
||||||
export * from './completeTaskParams';
|
export * from "./completeTaskParams";
|
||||||
export * from './course';
|
export * from "./course";
|
||||||
export * from './courseCreateRequest';
|
export * from "./courseCreateRequest";
|
||||||
export * from './courseDistributionResponse';
|
export * from "./courseDistributionResponse";
|
||||||
export * from './courseLesson';
|
export * from "./courseLesson";
|
||||||
export * from './coursePackage';
|
export * from "./coursePackage";
|
||||||
export * from './courseStatsResponse';
|
export * from "./courseStatsResponse";
|
||||||
export * from './courseUpdateRequest';
|
export * from "./courseUpdateRequest";
|
||||||
export * from './courseUsageStatsResponse';
|
export * from "./courseUsageStatsResponse";
|
||||||
export * from './createTaskFromTemplateRequest';
|
export * from "./createTaskFromTemplateRequest";
|
||||||
export * from './deleteFileParams';
|
export * from "./deleteFileParams";
|
||||||
export * from './fileUploadResponse';
|
export * from "./fileUploadResponse";
|
||||||
export * from './getActiveTeachersParams';
|
export * from "./getActiveTeachersParams";
|
||||||
export * from './getActiveTenantsParams';
|
export * from "./getActiveTenantsParams";
|
||||||
export * from './getActivitiesParams';
|
export * from "./getActivitiesParams";
|
||||||
export * from './getChildLessonsParams';
|
export * from "./getChildLessonsParams";
|
||||||
export * from './getChildTasksParams';
|
export * from "./getChildTasksParams";
|
||||||
export * from './getClassPageParams';
|
export * from "./getClassPageParams";
|
||||||
export * from './getClassStudents1Params';
|
export * from "./getClassStudents1Params";
|
||||||
export * from './getClassStudentsParams';
|
export * from "./getClassStudentsParams";
|
||||||
export * from './getCompletions1Params';
|
export * from "./getCompletions1Params";
|
||||||
export * from './getCompletionsParams';
|
export * from "./getCompletionsParams";
|
||||||
export * from './getCoursePage1Params';
|
export * from "./getCoursePage1Params";
|
||||||
export * from './getCoursePageParams';
|
export * from "./getCoursePageParams";
|
||||||
export * from './getCourses1Params';
|
export * from "./getCourses1Params";
|
||||||
export * from './getCoursesParams';
|
export * from "./getCoursesParams";
|
||||||
export * from './getGrowthRecordPage1Params';
|
export * from "./getGrowthRecordPage1Params";
|
||||||
export * from './getGrowthRecordPageParams';
|
export * from "./getGrowthRecordPageParams";
|
||||||
export * from './getGrowthRecordsByStudentParams';
|
export * from "./getGrowthRecordsByStudentParams";
|
||||||
export * from './getItemsParams';
|
export * from "./getItemsParams";
|
||||||
export * from './getLessonTrendParams';
|
export * from "./getLessonTrendParams";
|
||||||
export * from './getLibrariesParams';
|
export * from "./getLibrariesParams";
|
||||||
export * from './getLogs1Params';
|
export * from "./getLogs1Params";
|
||||||
export * from './getLogsParams';
|
export * from "./getLogsParams";
|
||||||
export * from './getMonthlyStats1Params';
|
export * from "./getMonthlyStats1Params";
|
||||||
export * from './getMonthlyStatsParams';
|
export * from "./getMonthlyStatsParams";
|
||||||
export * from './getMyLessonsParams';
|
export * from "./getMyLessonsParams";
|
||||||
export * from './getMyNotifications1Params';
|
export * from "./getMyNotifications1Params";
|
||||||
export * from './getMyNotifications2Params';
|
export * from "./getMyNotifications2Params";
|
||||||
export * from './getMyNotificationsParams';
|
export * from "./getMyNotificationsParams";
|
||||||
export * from './getPackages1Params';
|
export * from "./getPackages1Params";
|
||||||
export * from './getPackagesParams';
|
export * from "./getPackagesParams";
|
||||||
export * from './getParentPageParams';
|
export * from "./getParentPageParams";
|
||||||
export * from './getPopularCoursesParams';
|
export * from "./getPopularCoursesParams";
|
||||||
export * from './getRecentActivitiesParams';
|
export * from "./getRecentActivitiesParams";
|
||||||
export * from './getRecentGrowthRecordsParams';
|
export * from "./getRecentGrowthRecordsParams";
|
||||||
export * from './getReviewCoursePageParams';
|
export * from "./getReviewCoursePageParams";
|
||||||
export * from './getSchedulePlans1Params';
|
export * from "./getSchedulePlans1Params";
|
||||||
export * from './getSchedulePlansParams';
|
export * from "./getSchedulePlansParams";
|
||||||
export * from './getScheduleTemplatesParams';
|
export * from "./getScheduleTemplatesParams";
|
||||||
export * from './getStudentPageParams';
|
export * from "./getStudentPageParams";
|
||||||
export * from './getTaskPage1Params';
|
export * from "./getTaskPage1Params";
|
||||||
export * from './getTaskPageParams';
|
export * from "./getTaskPageParams";
|
||||||
export * from './getTasksByStudentParams';
|
export * from "./getTasksByStudentParams";
|
||||||
export * from './getTeacherPageParams';
|
export * from "./getTeacherPageParams";
|
||||||
export * from './getTeacherStudentsParams';
|
export * from "./getTeacherStudentsParams";
|
||||||
export * from './getTemplates1Params';
|
export * from "./getTemplates1Params";
|
||||||
export * from './getTemplatesParams';
|
export * from "./getTemplatesParams";
|
||||||
export * from './getTenantPageParams';
|
export * from "./getTenantPageParams";
|
||||||
export * from './getThemesParams';
|
export * from "./getThemesParams";
|
||||||
export * from './getTimetable1Params';
|
export * from "./getTimetable1Params";
|
||||||
export * from './getTimetableParams';
|
export * from "./getTimetableParams";
|
||||||
export * from './growthRecord';
|
export * from "./growthRecord";
|
||||||
export * from './growthRecordCreateRequest';
|
export * from "./growthRecordCreateRequest";
|
||||||
export * from './growthRecordUpdateRequest';
|
export * from "./growthRecordUpdateRequest";
|
||||||
export * from './importTemplateResponse';
|
export * from "./importTemplateResponse";
|
||||||
export * from './lesson';
|
export * from "./lesson";
|
||||||
export * from './lessonActivityResponse';
|
export * from "./lessonActivityResponse";
|
||||||
export * from './lessonCreateRequest';
|
export * from "./lessonCreateRequest";
|
||||||
export * from './lessonFeedback';
|
export * from "./lessonFeedback";
|
||||||
export * from './lessonFeedbackRequest';
|
export * from "./lessonFeedbackRequest";
|
||||||
export * from './lessonFeedbackRequestActivitiesDone';
|
export * from "./lessonFeedbackRequestActivitiesDone";
|
||||||
export * from './lessonFeedbackRequestStepFeedbacks';
|
export * from "./lessonFeedbackRequestStepFeedbacks";
|
||||||
export * from './lessonFinishRequest';
|
export * from "./lessonFinishRequest";
|
||||||
export * from './lessonSimpleInfo';
|
export * from "./lessonSimpleInfo";
|
||||||
export * from './lessonSimpleResponse';
|
export * from "./lessonSimpleResponse";
|
||||||
export * from './lessonUpdateRequest';
|
export * from "./lessonUpdateRequest";
|
||||||
export * from './localTime';
|
export * from "./localTime";
|
||||||
export * from './loginRequest';
|
export * from "./loginRequest";
|
||||||
export * from './loginResponse';
|
export * from "./loginResponse";
|
||||||
export * from './messageResponse';
|
export * from "./messageResponse";
|
||||||
export * from './monthlyTaskStatsResponse';
|
export * from "./monthlyTaskStatsResponse";
|
||||||
export * from './notification';
|
export * from "./notification";
|
||||||
export * from './operationLog';
|
export * from "./operationLog";
|
||||||
export * from './pageResultClazz';
|
export * from "./pageResultClazz";
|
||||||
export * from './pageResultCourse';
|
export * from "./pageResultCourse";
|
||||||
export * from './pageResultCoursePackage';
|
export * from "./pageResultCoursePackage";
|
||||||
export * from './pageResultGrowthRecord';
|
export * from "./pageResultGrowthRecord";
|
||||||
export * from './pageResultLesson';
|
export * from "./pageResultLesson";
|
||||||
export * from './pageResultNotification';
|
export * from "./pageResultNotification";
|
||||||
export * from './pageResultOperationLog';
|
export * from "./pageResultOperationLog";
|
||||||
export * from './pageResultParent';
|
export * from "./pageResultParent";
|
||||||
export * from './pageResultResourceItem';
|
export * from "./pageResultResourceItem";
|
||||||
export * from './pageResultSchedulePlan';
|
export * from "./pageResultSchedulePlan";
|
||||||
export * from './pageResultScheduleTemplate';
|
export * from "./pageResultScheduleTemplate";
|
||||||
export * from './pageResultSchoolCourse';
|
export * from "./pageResultSchoolCourse";
|
||||||
export * from './pageResultStudent';
|
export * from "./pageResultStudent";
|
||||||
export * from './pageResultStudentInfoResponse';
|
export * from "./pageResultStudentInfoResponse";
|
||||||
export * from './pageResultTask';
|
export * from "./pageResultTask";
|
||||||
export * from './pageResultTaskCompletion';
|
export * from "./pageResultTaskCompletion";
|
||||||
export * from './pageResultTaskTemplate';
|
export * from "./pageResultTaskTemplate";
|
||||||
export * from './pageResultTeacher';
|
export * from "./pageResultTeacher";
|
||||||
export * from './pageResultTenant';
|
export * from "./pageResultTenant";
|
||||||
export * from './parent';
|
export * from "./parent";
|
||||||
export * from './parentCreateRequest';
|
export * from "./parentCreateRequest";
|
||||||
export * from './parentUpdateRequest';
|
export * from "./parentUpdateRequest";
|
||||||
export * from './recentActivityResponse';
|
export * from "./recentActivityResponse";
|
||||||
export * from './rejectCourseParams';
|
export * from "./rejectCourseParams";
|
||||||
export * from './resetPassword1Params';
|
export * from "./resetPassword1Params";
|
||||||
export * from './resetPasswordParams';
|
export * from "./resetPasswordParams";
|
||||||
export * from './resetPasswordResponse';
|
export * from "./resetPasswordResponse";
|
||||||
export * from './resourceItem';
|
export * from "./resourceItem";
|
||||||
export * from './resourceLibrary';
|
export * from "./resourceLibrary";
|
||||||
export * from './resultAdminStatsResponse';
|
export * from "./resultAdminStatsResponse";
|
||||||
export * from './resultBatchSaveStudentRecordResponse';
|
export * from "./resultBatchSaveStudentRecordResponse";
|
||||||
export * from './resultChildDetailResponse';
|
export * from "./resultChildDetailResponse";
|
||||||
export * from './resultClassTeacher';
|
export * from "./resultClassTeacher";
|
||||||
export * from './resultClazz';
|
export * from "./resultClazz";
|
||||||
export * from './resultCommonPageResponseLesson';
|
export * from "./resultCommonPageResponseLesson";
|
||||||
export * from './resultCommonPageResponseTaskCompletionInfoResponse';
|
export * from "./resultCommonPageResponseTaskCompletionInfoResponse";
|
||||||
export * from './resultCourse';
|
export * from "./resultCourse";
|
||||||
export * from './resultCourseLesson';
|
export * from "./resultCourseLesson";
|
||||||
export * from './resultCoursePackage';
|
export * from "./resultCoursePackage";
|
||||||
export * from './resultFileUploadResponse';
|
export * from "./resultFileUploadResponse";
|
||||||
export * from './resultGrowthRecord';
|
export * from "./resultGrowthRecord";
|
||||||
export * from './resultImportTemplateResponse';
|
export * from "./resultImportTemplateResponse";
|
||||||
export * from './resultLesson';
|
export * from "./resultLesson";
|
||||||
export * from './resultLessonFeedback';
|
export * from "./resultLessonFeedback";
|
||||||
export * from './resultListActiveTeacherStatsResponse';
|
export * from "./resultListActiveTeacherStatsResponse";
|
||||||
export * from './resultListChildInfoResponse';
|
export * from "./resultListChildInfoResponse";
|
||||||
export * from './resultListClassInfoResponse';
|
export * from "./resultListClassInfoResponse";
|
||||||
export * from './resultListClassTeacher';
|
export * from "./resultListClassTeacher";
|
||||||
export * from './resultListClazz';
|
export * from "./resultListClazz";
|
||||||
export * from './resultListCourse';
|
export * from "./resultListCourse";
|
||||||
export * from './resultListCourseDistributionResponse';
|
export * from "./resultListCourseDistributionResponse";
|
||||||
export * from './resultListCourseLesson';
|
export * from "./resultListCourseLesson";
|
||||||
export * from './resultListCourseStatsResponse';
|
export * from "./resultListCourseStatsResponse";
|
||||||
export * from './resultListCourseUsageStatsResponse';
|
export * from "./resultListCourseUsageStatsResponse";
|
||||||
export * from './resultListGrowthRecord';
|
export * from "./resultListGrowthRecord";
|
||||||
export * from './resultListLesson';
|
export * from "./resultListLesson";
|
||||||
export * from './resultListLessonActivityResponse';
|
export * from "./resultListLessonActivityResponse";
|
||||||
export * from './resultListLessonSimpleResponse';
|
export * from "./resultListLessonSimpleResponse";
|
||||||
export * from './resultListMapStringObject';
|
export * from "./resultListMapStringObject";
|
||||||
export * from './resultListMapStringObjectDataItem';
|
export * from "./resultListMapStringObjectDataItem";
|
||||||
export * from './resultListMonthlyTaskStatsResponse';
|
export * from "./resultListMonthlyTaskStatsResponse";
|
||||||
export * from './resultListRecentActivityResponse';
|
export * from "./resultListRecentActivityResponse";
|
||||||
export * from './resultListResourceLibrary';
|
export * from "./resultListResourceLibrary";
|
||||||
export * from './resultListSchedulePlan';
|
export * from "./resultListSchedulePlan";
|
||||||
export * from './resultListSchedulePlanResponse';
|
export * from "./resultListSchedulePlanResponse";
|
||||||
export * from './resultListStudent';
|
export * from "./resultListStudent";
|
||||||
export * from './resultListStudentTransferHistoryResponse';
|
export * from "./resultListStudentTransferHistoryResponse";
|
||||||
export * from './resultListTaskStatsByClassResponse';
|
export * from "./resultListTaskStatsByClassResponse";
|
||||||
export * from './resultListTaskStatsByTypeResponse';
|
export * from "./resultListTaskStatsByTypeResponse";
|
||||||
export * from './resultListTeacherInfoResponse';
|
export * from "./resultListTeacherInfoResponse";
|
||||||
export * from './resultListTenantResponse';
|
export * from "./resultListTenantResponse";
|
||||||
export * from './resultListTenantStatsResponse';
|
export * from "./resultListTenantStatsResponse";
|
||||||
export * from './resultListTheme';
|
export * from "./resultListTheme";
|
||||||
export * from './resultListTrendDataPointResponse';
|
export * from "./resultListTrendDataPointResponse";
|
||||||
export * from './resultListTrendDataResponse';
|
export * from "./resultListTrendDataResponse";
|
||||||
export * from './resultLoginResponse';
|
export * from "./resultLoginResponse";
|
||||||
export * from './resultLong';
|
export * from "./resultLong";
|
||||||
export * from './resultMapStringObject';
|
export * from "./resultMapStringObject";
|
||||||
export * from './resultMapStringObjectData';
|
export * from "./resultMapStringObjectData";
|
||||||
export * from './resultMapStringString';
|
export * from "./resultMapStringString";
|
||||||
export * from './resultMapStringStringData';
|
export * from "./resultMapStringStringData";
|
||||||
export * from './resultMessageResponse';
|
export * from "./resultMessageResponse";
|
||||||
export * from './resultNotification';
|
export * from "./resultNotification";
|
||||||
export * from './resultPageResultClazz';
|
export * from "./resultPageResultClazz";
|
||||||
export * from './resultPageResultCourse';
|
export * from "./resultPageResultCourse";
|
||||||
export * from './resultPageResultCoursePackage';
|
export * from "./resultPageResultCoursePackage";
|
||||||
export * from './resultPageResultGrowthRecord';
|
export * from "./resultPageResultGrowthRecord";
|
||||||
export * from './resultPageResultLesson';
|
export * from "./resultPageResultLesson";
|
||||||
export * from './resultPageResultNotification';
|
export * from "./resultPageResultNotification";
|
||||||
export * from './resultPageResultOperationLog';
|
export * from "./resultPageResultOperationLog";
|
||||||
export * from './resultPageResultParent';
|
export * from "./resultPageResultParent";
|
||||||
export * from './resultPageResultResourceItem';
|
export * from "./resultPageResultResourceItem";
|
||||||
export * from './resultPageResultSchedulePlan';
|
export * from "./resultPageResultSchedulePlan";
|
||||||
export * from './resultPageResultScheduleTemplate';
|
export * from "./resultPageResultScheduleTemplate";
|
||||||
export * from './resultPageResultSchoolCourse';
|
export * from "./resultPageResultSchoolCourse";
|
||||||
export * from './resultPageResultStudent';
|
export * from "./resultPageResultStudent";
|
||||||
export * from './resultPageResultStudentInfoResponse';
|
export * from "./resultPageResultStudentInfoResponse";
|
||||||
export * from './resultPageResultTask';
|
export * from "./resultPageResultTask";
|
||||||
export * from './resultPageResultTaskCompletion';
|
export * from "./resultPageResultTaskCompletion";
|
||||||
export * from './resultPageResultTaskTemplate';
|
export * from "./resultPageResultTaskTemplate";
|
||||||
export * from './resultPageResultTeacher';
|
export * from "./resultPageResultTeacher";
|
||||||
export * from './resultPageResultTenant';
|
export * from "./resultPageResultTenant";
|
||||||
export * from './resultParent';
|
export * from "./resultParent";
|
||||||
export * from './resultResetPasswordResponse';
|
export * from "./resultResetPasswordResponse";
|
||||||
export * from './resultResourceItem';
|
export * from "./resultResourceItem";
|
||||||
export * from './resultResourceLibrary';
|
export * from "./resultResourceLibrary";
|
||||||
export * from './resultSchedulePlan';
|
export * from "./resultSchedulePlan";
|
||||||
export * from './resultScheduleTemplate';
|
export * from "./resultScheduleTemplate";
|
||||||
export * from './resultSchoolCourse';
|
export * from "./resultSchoolCourse";
|
||||||
export * from './resultStatsResponse';
|
export * from "./resultStatsResponse";
|
||||||
export * from './resultStudent';
|
export * from "./resultStudent";
|
||||||
export * from './resultStudentRecord';
|
export * from "./resultStudentRecord";
|
||||||
export * from './resultStudentRecordListResponse';
|
export * from "./resultStudentRecordListResponse";
|
||||||
export * from './resultSystemSettingsResponse';
|
export * from "./resultSystemSettingsResponse";
|
||||||
export * from './resultTask';
|
export * from "./resultTask";
|
||||||
export * from './resultTaskCompletion';
|
export * from "./resultTaskCompletion";
|
||||||
export * from './resultTaskFeedbackResponse';
|
export * from "./resultTaskFeedbackResponse";
|
||||||
export * from './resultTaskStatsResponse';
|
export * from "./resultTaskStatsResponse";
|
||||||
export * from './resultTaskTemplate';
|
export * from "./resultTaskTemplate";
|
||||||
export * from './resultTeacher';
|
export * from "./resultTeacher";
|
||||||
export * from './resultTeacherDashboardResponse';
|
export * from "./resultTeacherDashboardResponse";
|
||||||
export * from './resultTenant';
|
export * from "./resultTenant";
|
||||||
export * from './resultTenantStatusUpdateResponse';
|
export * from "./resultTenantStatusUpdateResponse";
|
||||||
export * from './resultTheme';
|
export * from "./resultTheme";
|
||||||
export * from './resultUserInfoResponse';
|
export * from "./resultUserInfoResponse";
|
||||||
export * from './resultVoid';
|
export * from "./resultVoid";
|
||||||
export * from './resultVoidData';
|
export * from "./resultVoidData";
|
||||||
export * from './reviewPackageBody';
|
export * from "./reviewPackageBody";
|
||||||
export * from './schedulePlan';
|
export * from "./schedulePlan";
|
||||||
export * from './schedulePlanCreateRequest';
|
export * from "./schedulePlanCreateRequest";
|
||||||
export * from './schedulePlanResponse';
|
export * from "./schedulePlanResponse";
|
||||||
export * from './schedulePlanUpdateRequest';
|
export * from "./schedulePlanUpdateRequest";
|
||||||
export * from './scheduleTemplate';
|
export * from "./scheduleTemplate";
|
||||||
export * from './scheduleTemplateApplyRequest';
|
export * from "./scheduleTemplateApplyRequest";
|
||||||
export * from './schoolCourse';
|
export * from "./schoolCourse";
|
||||||
export * from './schoolSettingsUpdateRequest';
|
export * from "./schoolSettingsUpdateRequest";
|
||||||
export * from './statsResponse';
|
export * from "./statsResponse";
|
||||||
export * from './student';
|
export * from "./student";
|
||||||
export * from './studentCreateRequest';
|
export * from "./studentCreateRequest";
|
||||||
export * from './studentInfoResponse';
|
export * from "./studentInfoResponse";
|
||||||
export * from './studentRecord';
|
export * from "./studentRecord";
|
||||||
export * from './studentRecordListResponse';
|
export * from "./studentRecordListResponse";
|
||||||
export * from './studentRecordRequest';
|
export * from "./studentRecordRequest";
|
||||||
export * from './studentRecordResponse';
|
export * from "./studentRecordResponse";
|
||||||
export * from './studentTransferHistoryResponse';
|
export * from "./studentTransferHistoryResponse";
|
||||||
export * from './studentUpdateRequest';
|
export * from "./studentUpdateRequest";
|
||||||
export * from './systemSettingsResponse';
|
export * from "./systemSettingsResponse";
|
||||||
export * from './task';
|
export * from "./task";
|
||||||
export * from './taskCompletion';
|
export * from "./taskCompletion";
|
||||||
export * from './taskCompletionInfoResponse';
|
export * from "./taskCompletionInfoResponse";
|
||||||
export * from './taskCreateRequest';
|
export * from "./taskCreateRequest";
|
||||||
export * from './taskFeedbackResponse';
|
export * from "./taskFeedbackResponse";
|
||||||
export * from './taskFeedbackUpdateRequest';
|
export * from "./taskFeedbackUpdateRequest";
|
||||||
export * from './taskSimpleInfo';
|
export * from "./taskSimpleInfo";
|
||||||
export * from './taskStatsByClassResponse';
|
export * from "./taskStatsByClassResponse";
|
||||||
export * from './taskStatsByTypeResponse';
|
export * from "./taskStatsByTypeResponse";
|
||||||
export * from './taskStatsResponse';
|
export * from "./taskStatsResponse";
|
||||||
export * from './taskTemplate';
|
export * from "./taskTemplate";
|
||||||
export * from './taskTemplateCreateRequest';
|
export * from "./taskTemplateCreateRequest";
|
||||||
export * from './taskTemplateUpdateRequest';
|
export * from "./taskTemplateUpdateRequest";
|
||||||
export * from './taskUpdateRequest';
|
export * from "./taskUpdateRequest";
|
||||||
export * from './teacher';
|
export * from "./teacher";
|
||||||
export * from './teacherCreateRequest';
|
export * from "./teacherCreateRequest";
|
||||||
export * from './teacherDashboardResponse';
|
export * from "./teacherDashboardResponse";
|
||||||
export * from './teacherInfoResponse';
|
export * from "./teacherInfoResponse";
|
||||||
export * from './teacherUpdateRequest';
|
export * from "./teacherUpdateRequest";
|
||||||
export * from './tenant';
|
export * from "./tenant";
|
||||||
export * from './tenantCreateRequest';
|
export * from "./tenantCreateRequest";
|
||||||
export * from './tenantQuotaUpdateRequest';
|
export * from "./tenantQuotaUpdateRequest";
|
||||||
export * from './tenantResponse';
|
export * from "./tenantResponse";
|
||||||
export * from './tenantStatsResponse';
|
export * from "./tenantStatsResponse";
|
||||||
export * from './tenantStatusUpdateRequest';
|
export * from "./tenantStatusUpdateRequest";
|
||||||
export * from './tenantStatusUpdateResponse';
|
export * from "./tenantStatusUpdateResponse";
|
||||||
export * from './tenantUpdateRequest';
|
export * from "./tenantUpdateRequest";
|
||||||
export * from './theme';
|
export * from "./theme";
|
||||||
export * from './transferStudentRequest';
|
export * from "./transferStudentRequest";
|
||||||
export * from './trendDataPointResponse';
|
export * from "./trendDataPointResponse";
|
||||||
export * from './trendDataResponse';
|
export * from "./trendDataResponse";
|
||||||
export * from './updateCompletion1Params';
|
export * from "./updateCompletion1Params";
|
||||||
export * from './updateCompletionParams';
|
export * from "./updateCompletionParams";
|
||||||
export * from './updateSettings1Body';
|
export * from "./updateSettings1Body";
|
||||||
export * from './updateSettingsBody';
|
export * from "./updateSettingsBody";
|
||||||
export * from './updateTenantQuotaBody';
|
export * from "./updateTenantQuotaBody";
|
||||||
export * from './updateTenantStatusBody';
|
export * from "./updateTenantStatusBody";
|
||||||
export * from './uploadFileBody';
|
export * from "./uploadFileBody";
|
||||||
export * from './userInfoResponse';
|
export * from "./userInfoResponse";
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Generated by orval v7.13.2 🍺
|
* Generated by orval v7.21.0 🍺
|
||||||
* Do not edit manually.
|
* Do not edit manually.
|
||||||
* Reading Platform API
|
* Reading Platform API
|
||||||
* Reading Platform Backend Service API Documentation
|
* Reading Platform Backend Service API Documentation
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user