touchstudy-core 0.1.172 → 0.1.173

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -155,8 +155,8 @@ export declare type TeacherQuery = {
155
155
  sortColumnDirection: OrderBy;
156
156
  };
157
157
  export declare enum TeacherSortBy {
158
- Name = "UserProfile.FullName",
159
- Email = "UserProfile.Email"
158
+ Name = "User.UserProfile.FullName",
159
+ Email = "User.UserProfile.Email"
160
160
  }
161
161
  export declare enum ClassStatus {
162
162
  Default = "Default",
@@ -1,6 +1,6 @@
1
1
  import { FormikProps } from "formik";
2
2
  import React, { FC } from "react";
3
- import { TextbookDetailResponse, TextbookRequest } from "../configs/types";
3
+ import { TextbookRequest } from "../configs/types";
4
4
  interface Props extends FormikProps<TextbookRequest> {
5
5
  isCreatedByAdmin?: boolean;
6
6
  isSuperAdminUser: boolean;
@@ -11,8 +11,6 @@ interface Props extends FormikProps<TextbookRequest> {
11
11
  coverImage?: string;
12
12
  disabled?: boolean;
13
13
  ownersDisabled?: boolean;
14
- handleSaveData: (values: TextbookRequest) => Promise<void>;
15
- selectedTextbook?: TextbookDetailResponse;
16
14
  onUploadImage: (event: React.ChangeEvent<HTMLInputElement>) => Promise<void>;
17
15
  onChangeTab: (_: React.SyntheticEvent, newValue: number) => void;
18
16
  }
@@ -93,5 +93,3 @@ export declare const CompareTypeOptions: {
93
93
  label: string;
94
94
  value: QuestionAnswerType;
95
95
  }[];
96
- export declare const SAVE_TIME_INTERVAL_IN_MILLISECONDS: number;
97
- export declare const SAVE_TIME_MAX_DIFF_IN_MILLISECONDS = 500;
@@ -19,8 +19,3 @@ export declare enum TextbookEditorType {
19
19
  Korea = 1,
20
20
  Math = 2
21
21
  }
22
- export declare enum PrintStatus {
23
- Idle = 0,
24
- Saving = 1,
25
- Saved = 2
26
- }
@@ -11,7 +11,7 @@ declare const useTextbookManagement: ({ textbookId, role, onNavigateList }: Prop
11
11
  isAdminSite: boolean;
12
12
  disabledTextbookOwners: boolean;
13
13
  isReadonly: boolean;
14
- isEditable: any;
14
+ isEditable: boolean;
15
15
  isAdmin: any;
16
16
  theme: import("@mui/material").Theme;
17
17
  history: History;
@@ -20,7 +20,6 @@ declare const useTextbookManagement: ({ textbookId, role, onNavigateList }: Prop
20
20
  isSuperAdminUser: any;
21
21
  openDialog: boolean;
22
22
  handleSubmit: (values: TextbookRequest, _formikHelpers: FormikHelpers<TextbookRequest>) => Promise<void>;
23
- handleSaveData: (values: TextbookRequest) => Promise<void>;
24
23
  selectedTextbook: TextbookDetailResponse | undefined;
25
24
  handleOpenDialog: (item?: any) => void;
26
25
  handleCloseDialog: () => void;