@magmamath/students-features 1.3.9 → 1.3.10-rc.1

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.
Files changed (138) hide show
  1. package/dist/commonjs/features/chatbot/helpers.js +1 -5
  2. package/dist/commonjs/features/chatbot/helpers.js.map +1 -1
  3. package/dist/commonjs/features/chatbot/model/ChatBotModel.js +0 -1
  4. package/dist/commonjs/features/chatbot/model/ChatBotModel.js.map +1 -1
  5. package/dist/commonjs/features/chatbot/types/model.types.js.map +1 -1
  6. package/dist/commonjs/features/uiMode/getUIMode.js +47 -0
  7. package/dist/commonjs/features/uiMode/getUIMode.js.map +1 -0
  8. package/dist/commonjs/features/uiMode/index.js +20 -0
  9. package/dist/commonjs/features/uiMode/index.js.map +1 -0
  10. package/dist/commonjs/features/uiMode/uiMode.constants.js +14 -0
  11. package/dist/commonjs/features/uiMode/uiMode.constants.js.map +1 -0
  12. package/dist/commonjs/features/uiMode/uiMode.helpers.js +53 -0
  13. package/dist/commonjs/features/uiMode/uiMode.helpers.js.map +1 -0
  14. package/dist/commonjs/features/uiMode/uiMode.types.js +6 -0
  15. package/dist/commonjs/features/uiMode/uiMode.types.js.map +1 -0
  16. package/dist/commonjs/index.js +12 -0
  17. package/dist/commonjs/index.js.map +1 -1
  18. package/dist/commonjs/types/answerTypes.js +15 -0
  19. package/dist/commonjs/types/answerTypes.js.map +1 -0
  20. package/dist/module/features/chatbot/helpers.js +1 -5
  21. package/dist/module/features/chatbot/helpers.js.map +1 -1
  22. package/dist/module/features/chatbot/model/ChatBotModel.js +0 -1
  23. package/dist/module/features/chatbot/model/ChatBotModel.js.map +1 -1
  24. package/dist/module/features/chatbot/types/model.types.js.map +1 -1
  25. package/dist/module/features/uiMode/getUIMode.js +42 -0
  26. package/dist/module/features/uiMode/getUIMode.js.map +1 -0
  27. package/dist/module/features/uiMode/index.js +5 -0
  28. package/dist/module/features/uiMode/index.js.map +1 -0
  29. package/dist/module/features/uiMode/uiMode.constants.js +10 -0
  30. package/dist/module/features/uiMode/uiMode.constants.js.map +1 -0
  31. package/dist/module/features/uiMode/uiMode.helpers.js +45 -0
  32. package/dist/module/features/uiMode/uiMode.helpers.js.map +1 -0
  33. package/dist/module/features/uiMode/uiMode.types.js +4 -0
  34. package/dist/module/features/uiMode/uiMode.types.js.map +1 -0
  35. package/dist/module/index.js +1 -0
  36. package/dist/module/index.js.map +1 -1
  37. package/dist/module/types/answerTypes.js +11 -0
  38. package/dist/module/types/answerTypes.js.map +1 -0
  39. package/dist/typescript/commonjs/features/chatbot/helpers.d.ts.map +1 -1
  40. package/dist/typescript/commonjs/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
  41. package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts +0 -2
  42. package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts.map +1 -1
  43. package/dist/typescript/commonjs/features/chatbot/types/model.types.d.ts +0 -1
  44. package/dist/typescript/commonjs/features/chatbot/types/model.types.d.ts.map +1 -1
  45. package/dist/typescript/commonjs/features/uiMode/getUIMode.d.ts +3 -0
  46. package/dist/typescript/commonjs/features/uiMode/getUIMode.d.ts.map +1 -0
  47. package/dist/typescript/commonjs/features/uiMode/index.d.ts +3 -0
  48. package/dist/typescript/commonjs/features/uiMode/index.d.ts.map +1 -0
  49. package/dist/typescript/commonjs/features/uiMode/uiMode.constants.d.ts +7 -0
  50. package/dist/typescript/commonjs/features/uiMode/uiMode.constants.d.ts.map +1 -0
  51. package/dist/typescript/commonjs/features/uiMode/uiMode.helpers.d.ts +8 -0
  52. package/dist/typescript/commonjs/features/uiMode/uiMode.helpers.d.ts.map +1 -0
  53. package/dist/typescript/commonjs/features/uiMode/uiMode.types.d.ts +57 -0
  54. package/dist/typescript/commonjs/features/uiMode/uiMode.types.d.ts.map +1 -0
  55. package/dist/typescript/commonjs/index.d.ts +1 -0
  56. package/dist/typescript/commonjs/index.d.ts.map +1 -1
  57. package/dist/typescript/commonjs/types/answerTypes.d.ts +8 -0
  58. package/dist/typescript/commonjs/types/answerTypes.d.ts.map +1 -0
  59. package/dist/typescript/module/features/chatbot/helpers.d.ts.map +1 -1
  60. package/dist/typescript/module/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
  61. package/dist/typescript/module/features/chatbot/types/api.types.d.ts +0 -2
  62. package/dist/typescript/module/features/chatbot/types/api.types.d.ts.map +1 -1
  63. package/dist/typescript/module/features/chatbot/types/model.types.d.ts +0 -1
  64. package/dist/typescript/module/features/chatbot/types/model.types.d.ts.map +1 -1
  65. package/dist/typescript/module/features/uiMode/getUIMode.d.ts +3 -0
  66. package/dist/typescript/module/features/uiMode/getUIMode.d.ts.map +1 -0
  67. package/dist/typescript/module/features/uiMode/index.d.ts +3 -0
  68. package/dist/typescript/module/features/uiMode/index.d.ts.map +1 -0
  69. package/dist/typescript/module/features/uiMode/uiMode.constants.d.ts +7 -0
  70. package/dist/typescript/module/features/uiMode/uiMode.constants.d.ts.map +1 -0
  71. package/dist/typescript/module/features/uiMode/uiMode.helpers.d.ts +8 -0
  72. package/dist/typescript/module/features/uiMode/uiMode.helpers.d.ts.map +1 -0
  73. package/dist/typescript/module/features/uiMode/uiMode.types.d.ts +57 -0
  74. package/dist/typescript/module/features/uiMode/uiMode.types.d.ts.map +1 -0
  75. package/dist/typescript/module/index.d.ts +1 -0
  76. package/dist/typescript/module/index.d.ts.map +1 -1
  77. package/dist/typescript/module/types/answerTypes.d.ts +8 -0
  78. package/dist/typescript/module/types/answerTypes.d.ts.map +1 -0
  79. package/package.json +3 -1
  80. package/src/features/chatbot/helpers.ts +0 -2
  81. package/src/features/chatbot/model/ChatBotModel.ts +0 -1
  82. package/src/features/chatbot/types/api.types.ts +0 -2
  83. package/src/features/chatbot/types/model.types.ts +0 -1
  84. package/src/features/uiMode/getUIMode.ts +28 -0
  85. package/src/features/uiMode/index.ts +2 -0
  86. package/src/features/uiMode/uiMode.constants.ts +7 -0
  87. package/src/features/uiMode/uiMode.helpers.ts +52 -0
  88. package/src/features/uiMode/uiMode.types.ts +46 -0
  89. package/src/index.ts +1 -0
  90. package/src/types/answerTypes.ts +7 -0
  91. package/.claude/settings.local.json +0 -25
  92. package/.editorconfig +0 -15
  93. package/.eslintignore +0 -2
  94. package/.eslintrc +0 -22
  95. package/.gitattributes +0 -3
  96. package/.github/actions/setup/action.yml +0 -37
  97. package/.github/workflows/ci.yml +0 -73
  98. package/.gitignore +0 -84
  99. package/.idea/.gitignore +0 -8
  100. package/.idea/codeStyles/Project.xml +0 -62
  101. package/.idea/codeStyles/codeStyleConfig.xml +0 -5
  102. package/.idea/copilot.data.migration.agent.xml +0 -6
  103. package/.idea/copilot.data.migration.ask.xml +0 -6
  104. package/.idea/copilot.data.migration.ask2agent.xml +0 -6
  105. package/.idea/copilot.data.migration.edit.xml +0 -6
  106. package/.idea/inspectionProfiles/Project_Default.xml +0 -8
  107. package/.idea/jsLinters/eslint.xml +0 -6
  108. package/.idea/modules.xml +0 -8
  109. package/.idea/prettier.xml +0 -7
  110. package/.idea/students-features.iml +0 -12
  111. package/.idea/vcs.xml +0 -6
  112. package/.idea/workspace.xml +0 -675
  113. package/.nvmrc +0 -1
  114. package/.prettierrc +0 -11
  115. package/.release-it.json +0 -17
  116. package/.watchmanconfig +0 -1
  117. package/.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs +0 -541
  118. package/.yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs +0 -28
  119. package/.yarn/releases/yarn-3.6.1.cjs +0 -874
  120. package/babel.config.js +0 -5
  121. package/bob.config.js +0 -25
  122. package/example/.expo/README.md +0 -8
  123. package/example/.expo/devices.json +0 -3
  124. package/example/.expo/web/cache/production/images/favicon/favicon-24272cdaeff82cc5facdaccd982a6f05b60c4504704bbf94c19a6388659880bb-contain-transparent/favicon-48.png +0 -0
  125. package/example/app.json +0 -30
  126. package/example/assets/adaptive-icon.png +0 -0
  127. package/example/assets/favicon.png +0 -0
  128. package/example/assets/icon.png +0 -0
  129. package/example/assets/splash-icon.png +0 -0
  130. package/example/babel.config.js +0 -28
  131. package/example/index.js +0 -8
  132. package/example/metro.config.js +0 -18
  133. package/example/package.json +0 -25
  134. package/example/src/App.tsx +0 -8
  135. package/example/tsconfig.json +0 -6
  136. package/tsconfig.build.json +0 -4
  137. package/tsconfig.json +0 -34
  138. package/yarn.lock +0 -10984
@@ -152,7 +152,6 @@ export type ChatbotContext = {
152
152
  problemStandards?: ProblemStandard[]
153
153
  assignmentId?: string
154
154
  problemId?: string
155
- assignmentGrade?: number
156
155
  }
157
156
 
158
157
  export type ReinitConversationProps = {
@@ -0,0 +1,28 @@
1
+ import { GetUIModeProps, UIModeResult } from './uiMode.types'
2
+ import { getAnswerAreaMode, getToolbarMode, isSimpleMode } from './uiMode.helpers'
3
+ import { UIMode } from './uiMode.constants'
4
+
5
+ export const getUIMode = ({
6
+ user,
7
+ practice,
8
+ assignment,
9
+ locale,
10
+ problem,
11
+ }: GetUIModeProps): UIModeResult => {
12
+ const grade = assignment.grade ?? practice.grade
13
+ const isSimple = isSimpleMode({ user, practice, assignment })
14
+
15
+ if (!isSimple) {
16
+ return {
17
+ general: UIMode.REGULAR,
18
+ toolbar: getToolbarMode({ isSimpleModeGrade: false, grade, locale }),
19
+ answerArea: UIMode.REGULAR,
20
+ }
21
+ }
22
+
23
+ return {
24
+ general: UIMode.SIMPLE,
25
+ toolbar: getToolbarMode({ isSimpleModeGrade: true, grade, locale }),
26
+ answerArea: getAnswerAreaMode({ practice, problem }),
27
+ }
28
+ }
@@ -0,0 +1,2 @@
1
+ export { UIMode } from './uiMode.constants'
2
+ export { getUIMode } from './getUIMode'
@@ -0,0 +1,7 @@
1
+ export const GRADE_K2 = 2
2
+ export const INVALID_GRADE = -1
3
+
4
+ export enum UIMode {
5
+ REGULAR = 'REGULAR',
6
+ SIMPLE = 'SIMPLE',
7
+ }
@@ -0,0 +1,52 @@
1
+ import { UIMode, GRADE_K2, INVALID_GRADE } from './uiMode.constants'
2
+ import {
3
+ GetAnswerAreaModeProps,
4
+ GetToolbarModeProps,
5
+ Grade,
6
+ IsSimpleModeProps,
7
+ } from './uiMode.types'
8
+
9
+ import { AnswerType } from '../../types/answerTypes'
10
+ import { MyScriptMathCharacterTypes } from '../../types/characterTypes'
11
+ import { ToolBarVariants } from '@magmamath/react-native-draw-board'
12
+ import { Locale } from '@magmamath/frontend-config'
13
+
14
+ const isValidGrade = (grade: Grade): grade is number => {
15
+ return grade !== undefined && grade !== null && grade !== INVALID_GRADE
16
+ }
17
+
18
+ export const isBelowGradeK2 = (grade: Grade) => {
19
+ return isValidGrade(grade) && grade >= 0 && grade <= GRADE_K2
20
+ }
21
+
22
+ export const isSimpleMode = ({ user, practice, assignment }: IsSimpleModeProps) => {
23
+ if (practice.isEnabled) return isBelowGradeK2(practice.grade)
24
+ if (!isValidGrade(user.grade)) return isBelowGradeK2(assignment.grade)
25
+ return isBelowGradeK2(user.grade)
26
+ }
27
+
28
+ export const getAnswerAreaMode = ({ practice, problem }: GetAnswerAreaModeProps): UIMode => {
29
+ const isHandwritingNumbersWhole =
30
+ problem.answerType === AnswerType.HANDWRITING &&
31
+ problem.characterType === MyScriptMathCharacterTypes.NUMBERS_WHOLE
32
+
33
+ if (practice.isEnabled || problem.hasAnswerVariants || isHandwritingNumbersWhole) {
34
+ return UIMode.SIMPLE
35
+ }
36
+
37
+ return UIMode.REGULAR
38
+ }
39
+
40
+ export const getToolbarMode = ({
41
+ isSimpleModeGrade,
42
+ grade,
43
+ locale,
44
+ }: GetToolbarModeProps): ToolBarVariants => {
45
+ const isUSOrCA = locale === Locale.US || locale === Locale.CA
46
+ const gradeThreshold = isUSOrCA ? 6 : 7
47
+ const isAdvanced = isValidGrade(grade) && grade >= gradeThreshold
48
+
49
+ if (isAdvanced) return ToolBarVariants.ADVANCED
50
+ if (isSimpleModeGrade) return ToolBarVariants.SIMPLE
51
+ return ToolBarVariants.COMMON
52
+ }
@@ -0,0 +1,46 @@
1
+ import { Locale } from '@magmamath/frontend-config'
2
+ import { AnswerType } from '../../types/answerTypes'
3
+ import { MyScriptMathCharacterTypes } from '../../types/characterTypes'
4
+ import { UIMode } from './uiMode.constants'
5
+ import { ToolBarVariants } from '@magmamath/react-native-draw-board'
6
+
7
+ export type Grade = number | null | undefined
8
+
9
+ export type GetUIModeProps = {
10
+ locale: Locale
11
+ user: { grade: Grade }
12
+ practice: { isEnabled: boolean; grade: Grade }
13
+ assignment: { grade: Grade }
14
+ problem: {
15
+ answerType: AnswerType
16
+ characterType: MyScriptMathCharacterTypes
17
+ hasAnswerVariants: boolean
18
+ }
19
+ }
20
+
21
+ export type UIModeResult = {
22
+ general: UIMode
23
+ toolbar: ToolBarVariants
24
+ answerArea: UIMode
25
+ }
26
+
27
+ export type IsSimpleModeProps = {
28
+ user: { grade: Grade }
29
+ practice: { isEnabled: boolean; grade: Grade }
30
+ assignment: { grade: Grade }
31
+ }
32
+
33
+ export type GetAnswerAreaModeProps = {
34
+ practice: { isEnabled: boolean }
35
+ problem: {
36
+ answerType: AnswerType
37
+ characterType: MyScriptMathCharacterTypes
38
+ hasAnswerVariants: boolean
39
+ }
40
+ }
41
+
42
+ export type GetToolbarModeProps = {
43
+ isSimpleModeGrade: boolean
44
+ grade: Grade
45
+ locale: Locale
46
+ }
package/src/index.ts CHANGED
@@ -13,3 +13,4 @@ export * from './features/pmProgress'
13
13
  export * from './features/openEnded'
14
14
  export * from './shared/icons'
15
15
  export * from './features/voice'
16
+ export * from './features/uiMode'
@@ -0,0 +1,7 @@
1
+ export enum AnswerType {
2
+ HANDWRITING = 0,
3
+ SINGLE_CHOICE = 1,
4
+ MULTIPLE_CHOICE = 2,
5
+ ORDERED_CHOICE = 3,
6
+ OPEN_ENDED = 11,
7
+ }
@@ -1,25 +0,0 @@
1
- {
2
- "permissions": {
3
- "allow": [
4
- "Bash(npx tsc:*)",
5
- "Bash(find /Users/alesiaskarakhod/Work/students-features -name rn-draw-area -o -name *draw*area*)",
6
- "Bash(grep:*)",
7
- "Bash(find /Users/alesiaskarakhod/Work/magmamath-tools -type f -name \"*.ts*\" ! -path \"*/node_modules/*\" ! -path \"*/.next/*\" ! -path \"*/dist/*\" -exec grep -l \"convertLatexToBrackets\\\\|convertBracketsToLatex\" {})",
8
- "Bash(find /Users/alesiaskarakhod/Work/magmamath-tools -type f \\\\\\(-name *.test.ts* -o -name *.spec.ts* \\\\\\))",
9
- "Bash(ls jest.config* vitest.config* tsconfig*)",
10
- "Bash(npm ls:*)",
11
- "Read(//Users/alesiaskarakhod/node_modules/.bin/**)",
12
- "Bash(yarn add:*)",
13
- "Bash(npx jest:*)",
14
- "Bash(node:*)",
15
- "Bash(npx ts-node:*)",
16
- "Bash(find /Users/alesiaskarakhod/Work/magmamath-tools/packages -name jest.config.* -o -name *.test.ts -o -name *.test.js -o -name *.spec.ts)",
17
- "Bash(find /Users/alesiaskarakhod/Work/magmamath-tools/packages -maxdepth 3 -type f \\\\\\(-name *.test.ts -o -name *.spec.ts -o -name *.test.tsx -o -name *.spec.tsx \\\\\\))",
18
- "Bash(find /Users/alesiaskarakhod/Work/magmamath-tools -type f \\\\\\(-name *.test.ts -o -name *.test.tsx -o -name *.spec.ts -o -name *.spec.tsx \\\\\\))",
19
- "Bash(yarn test:*)",
20
- "Bash(npx vitest:*)",
21
- "Bash(npx tsup:*)",
22
- "Bash(find /Users/alesiaskarakhod/Work/react-native/node_modules/@magmamath/frontend-config -name *.d.ts -o -name *.js)"
23
- ]
24
- }
25
- }
package/.editorconfig DELETED
@@ -1,15 +0,0 @@
1
- # EditorConfig helps developers define and maintain consistent
2
- # coding styles between different editors and IDEs
3
- # editorconfig.org
4
-
5
- root = true
6
-
7
- [*]
8
-
9
- indent_style = space
10
- indent_size = 2
11
-
12
- end_of_line = lf
13
- charset = utf-8
14
- trim_trailing_whitespace = true
15
- insert_final_newline = true
package/.eslintignore DELETED
@@ -1,2 +0,0 @@
1
- node_modules/
2
- ./lib/
package/.eslintrc DELETED
@@ -1,22 +0,0 @@
1
- {
2
- "env": {
3
- "browser": true,
4
- "es2020": true
5
- },
6
- "extends": [
7
- "eslint:recommended",
8
- "plugin:@typescript-eslint/recommended",
9
- "plugin:react-hooks/recommended",
10
- "plugin:storybook/recommended",
11
- "prettier"
12
- ],
13
- "parser": "@typescript-eslint/parser",
14
- "parserOptions": {
15
- "ecmaVersion": "latest",
16
- "sourceType": "module"
17
- },
18
- "plugins": ["react-refresh"],
19
- "rules": {
20
- "react-refresh/only-export-components": "warn"
21
- }
22
- }
package/.gitattributes DELETED
@@ -1,3 +0,0 @@
1
- *.pbxproj -text
2
- # specific for windows script files
3
- *.bat text eol=crlf
@@ -1,37 +0,0 @@
1
- name: Setup
2
- description: Setup Node.js and install dependencies
3
-
4
- inputs:
5
- npmrc-auth-token:
6
- required: true
7
-
8
- runs:
9
- using: composite
10
- steps:
11
- - name: Setup Node.js
12
- uses: actions/setup-node@v4
13
- with:
14
- node-version-file: .nvmrc
15
-
16
- - name: Create .npmrc
17
- shell: bash
18
- run: |
19
- echo "registry=https://registry.npmjs.org" > .npmrc
20
- echo "//registry.npmjs.org/:_authToken=${{ inputs.npmrc-auth-token }}" >> .npmrc
21
-
22
- - name: Cache dependencies
23
- id: yarn-cache
24
- uses: actions/cache@v4
25
- with:
26
- path: |
27
- **/node_modules
28
- .yarn/install-state.gz
29
- key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}-${{ hashFiles('**/package.json', '!node_modules/**') }}
30
- restore-keys: |
31
- ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
32
- ${{ runner.os }}-yarn-
33
-
34
- - name: Install dependencies
35
- if: steps.yarn-cache.outputs.cache-hit != 'true'
36
- run: yarn install --immutable
37
- shell: bash
@@ -1,73 +0,0 @@
1
- name: CI
2
-
3
- on:
4
- push:
5
- branches:
6
- - main
7
- pull_request:
8
- branches:
9
- - main
10
- merge_group:
11
- types:
12
- - checks_requested
13
-
14
- jobs:
15
- lint:
16
- runs-on: ubuntu-latest
17
- steps:
18
- - name: Checkout
19
- uses: actions/checkout@v4
20
-
21
- - name: Setup
22
- uses: ./.github/actions/setup
23
- with:
24
- npmrc-auth-token: ${{ secrets.MAGMA_NPMRC_TOKEN }}
25
-
26
- - name: Lint files
27
- run: yarn lint
28
-
29
- - name: Typecheck files
30
- run: yarn typecheck
31
-
32
- test:
33
- runs-on: ubuntu-latest
34
- steps:
35
- - name: Checkout
36
- uses: actions/checkout@v4
37
-
38
- - name: Setup
39
- uses: ./.github/actions/setup
40
- with:
41
- npmrc-auth-token: ${{ secrets.MAGMA_NPMRC_TOKEN }}
42
-
43
- - name: Run unit tests
44
- run: yarn test --maxWorkers=2 --coverage
45
-
46
- build-library:
47
- runs-on: ubuntu-latest
48
- steps:
49
- - name: Checkout
50
- uses: actions/checkout@v4
51
-
52
- - name: Setup
53
- uses: ./.github/actions/setup
54
- with:
55
- npmrc-auth-token: ${{ secrets.MAGMA_NPMRC_TOKEN }}
56
-
57
- - name: Build package
58
- run: yarn prepare
59
-
60
- build-web:
61
- runs-on: ubuntu-latest
62
- steps:
63
- - name: Checkout
64
- uses: actions/checkout@v4
65
-
66
- - name: Setup
67
- uses: ./.github/actions/setup
68
- with:
69
- npmrc-auth-token: ${{ secrets.MAGMA_NPMRC_TOKEN }}
70
-
71
- - name: Build example for Web
72
- run: |
73
- yarn example expo export --platform web
package/.gitignore DELETED
@@ -1,84 +0,0 @@
1
- # OSX
2
- #
3
- .DS_Store
4
-
5
- # XDE
6
- .expo/
7
-
8
- # VSCode
9
- .vscode/
10
- jsconfig.json
11
-
12
- # Xcode
13
- #
14
- build/
15
- *.pbxuser
16
- !default.pbxuser
17
- *.mode1v3
18
- !default.mode1v3
19
- *.mode2v3
20
- !default.mode2v3
21
- *.perspectivev3
22
- !default.perspectivev3
23
- xcuserdata
24
- *.xccheckout
25
- *.moved-aside
26
- DerivedData
27
- *.hmap
28
- *.ipa
29
- *.xcuserstate
30
- project.xcworkspace
31
-
32
- # Android/IJ
33
- #
34
- .classpath
35
- .cxx
36
- .gradle
37
- .idea
38
- .project
39
- .settings
40
- local.properties
41
- android.iml
42
-
43
- # Cocoapods
44
- #
45
- example/ios/Pods
46
-
47
- # Ruby
48
- example/vendor/
49
-
50
- # node.js
51
- #
52
- node_modules/
53
- npm-debug.log
54
- yarn-debug.log
55
- yarn-error.log
56
-
57
- # BUCK
58
- buck-out/
59
- \.buckd/
60
- android/app/libs
61
- android/keystores/debug.keystore
62
-
63
- # Yarn
64
- .yarn/*
65
- !.yarn/patches
66
- !.yarn/plugins
67
- !.yarn/releases
68
- !.yarn/sdks
69
- !.yarn/versions
70
-
71
- # Expo
72
- .expo/
73
-
74
- # Turborepo
75
- .turbo/
76
-
77
- # generated by bob
78
- dist/
79
- !src/lib/
80
-
81
- # React Native Codegen
82
- ios/generated
83
- android/generated
84
- .npmrc
package/.idea/.gitignore DELETED
@@ -1,8 +0,0 @@
1
- # Default ignored files
2
- /shelf/
3
- /workspace.xml
4
- # Editor-based HTTP Client requests
5
- /httpRequests/
6
- # Datasource local storage ignored files
7
- /dataSources/
8
- /dataSources.local.xml
@@ -1,62 +0,0 @@
1
- <component name="ProjectCodeStyleConfiguration">
2
- <code_scheme name="Project" version="173">
3
- <option name="LINE_SEPARATOR" value="&#10;" />
4
- <HTMLCodeStyleSettings>
5
- <option name="HTML_SPACE_INSIDE_EMPTY_TAG" value="true" />
6
- </HTMLCodeStyleSettings>
7
- <JSCodeStyleSettings version="0">
8
- <option name="USE_SEMICOLON_AFTER_STATEMENT" value="false" />
9
- <option name="FORCE_SEMICOLON_STYLE" value="true" />
10
- <option name="SPACE_BEFORE_FUNCTION_LEFT_PARENTH" value="false" />
11
- <option name="USE_DOUBLE_QUOTES" value="false" />
12
- <option name="FORCE_QUOTE_STYlE" value="true" />
13
- <option name="ENFORCE_TRAILING_COMMA" value="WhenMultiline" />
14
- <option name="SPACES_WITHIN_OBJECT_LITERAL_BRACES" value="true" />
15
- <option name="SPACES_WITHIN_IMPORTS" value="true" />
16
- </JSCodeStyleSettings>
17
- <TypeScriptCodeStyleSettings version="0">
18
- <option name="USE_SEMICOLON_AFTER_STATEMENT" value="false" />
19
- <option name="FORCE_SEMICOLON_STYLE" value="true" />
20
- <option name="SPACE_BEFORE_FUNCTION_LEFT_PARENTH" value="false" />
21
- <option name="USE_DOUBLE_QUOTES" value="false" />
22
- <option name="FORCE_QUOTE_STYlE" value="true" />
23
- <option name="ENFORCE_TRAILING_COMMA" value="WhenMultiline" />
24
- <option name="SPACES_WITHIN_OBJECT_LITERAL_BRACES" value="true" />
25
- <option name="SPACES_WITHIN_IMPORTS" value="true" />
26
- </TypeScriptCodeStyleSettings>
27
- <VueCodeStyleSettings>
28
- <option name="INTERPOLATION_NEW_LINE_AFTER_START_DELIMITER" value="false" />
29
- <option name="INTERPOLATION_NEW_LINE_BEFORE_END_DELIMITER" value="false" />
30
- </VueCodeStyleSettings>
31
- <codeStyleSettings language="HTML">
32
- <option name="SOFT_MARGINS" value="100" />
33
- <indentOptions>
34
- <option name="INDENT_SIZE" value="2" />
35
- <option name="CONTINUATION_INDENT_SIZE" value="2" />
36
- <option name="TAB_SIZE" value="2" />
37
- </indentOptions>
38
- </codeStyleSettings>
39
- <codeStyleSettings language="JavaScript">
40
- <option name="SOFT_MARGINS" value="100" />
41
- <indentOptions>
42
- <option name="INDENT_SIZE" value="2" />
43
- <option name="CONTINUATION_INDENT_SIZE" value="2" />
44
- <option name="TAB_SIZE" value="2" />
45
- </indentOptions>
46
- </codeStyleSettings>
47
- <codeStyleSettings language="TypeScript">
48
- <option name="SOFT_MARGINS" value="100" />
49
- <indentOptions>
50
- <option name="INDENT_SIZE" value="2" />
51
- <option name="CONTINUATION_INDENT_SIZE" value="2" />
52
- <option name="TAB_SIZE" value="2" />
53
- </indentOptions>
54
- </codeStyleSettings>
55
- <codeStyleSettings language="Vue">
56
- <option name="SOFT_MARGINS" value="100" />
57
- <indentOptions>
58
- <option name="CONTINUATION_INDENT_SIZE" value="2" />
59
- </indentOptions>
60
- </codeStyleSettings>
61
- </code_scheme>
62
- </component>
@@ -1,5 +0,0 @@
1
- <component name="ProjectCodeStyleConfiguration">
2
- <state>
3
- <option name="USE_PER_PROJECT_SETTINGS" value="true" />
4
- </state>
5
- </component>
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="AgentMigrationStateService">
4
- <option name="migrationStatus" value="COMPLETED" />
5
- </component>
6
- </project>
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="AskMigrationStateService">
4
- <option name="migrationStatus" value="COMPLETED" />
5
- </component>
6
- </project>
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="Ask2AgentMigrationStateService">
4
- <option name="migrationStatus" value="COMPLETED" />
5
- </component>
6
- </project>
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="EditMigrationStateService">
4
- <option name="migrationStatus" value="COMPLETED" />
5
- </component>
6
- </project>
@@ -1,8 +0,0 @@
1
- <component name="InspectionProjectProfileManager">
2
- <profile version="1.0">
3
- <option name="myName" value="Project Default" />
4
- <inspection_tool class="EditorConfigUnusedDeclaration" enabled="false" level="WARNING" enabled_by_default="false" />
5
- <inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
6
- <inspection_tool class="UnusedDefine" enabled="true" level="WARNING" enabled_by_default="true" />
7
- </profile>
8
- </component>
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="EslintConfiguration">
4
- <option name="fix-on-save" value="true" />
5
- </component>
6
- </project>
package/.idea/modules.xml DELETED
@@ -1,8 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectModuleManager">
4
- <modules>
5
- <module fileurl="file://$PROJECT_DIR$/.idea/students-features.iml" filepath="$PROJECT_DIR$/.idea/students-features.iml" />
6
- </modules>
7
- </component>
8
- </project>
@@ -1,7 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="PrettierConfiguration">
4
- <option name="myConfigurationMode" value="AUTOMATIC" />
5
- <option name="myRunOnSave" value="true" />
6
- </component>
7
- </project>
@@ -1,12 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module type="WEB_MODULE" version="4">
3
- <component name="NewModuleRootManager">
4
- <content url="file://$MODULE_DIR$">
5
- <excludeFolder url="file://$MODULE_DIR$/.tmp" />
6
- <excludeFolder url="file://$MODULE_DIR$/temp" />
7
- <excludeFolder url="file://$MODULE_DIR$/tmp" />
8
- </content>
9
- <orderEntry type="inheritedJdk" />
10
- <orderEntry type="sourceFolder" forTests="false" />
11
- </component>
12
- </module>
package/.idea/vcs.xml DELETED
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="VcsDirectoryMappings">
4
- <mapping directory="" vcs="Git" />
5
- </component>
6
- </project>