@lls/typings 24.1.40-b95459b3 → 24.1.40-bb8ccd30
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.
- package/internal/page.d.ts +0 -2
- package/internal/user.d.ts +3 -4
- package/package.json +4 -4
package/internal/page.d.ts
CHANGED
|
@@ -88,7 +88,6 @@ export type PrimaryLayoutItem = {
|
|
|
88
88
|
id: string
|
|
89
89
|
} & Rect
|
|
90
90
|
|
|
91
|
-
export type PageType = 'exercice' | 'page' | null
|
|
92
91
|
export type Page<T extends 'primary' | 'default' = 'default'> = {
|
|
93
92
|
id?: number
|
|
94
93
|
contentMd?: string
|
|
@@ -125,7 +124,6 @@ export type Page<T extends 'primary' | 'default' = 'default'> = {
|
|
|
125
124
|
type?: string
|
|
126
125
|
isPrimary?: boolean
|
|
127
126
|
metadata?: TODO | null
|
|
128
|
-
pageType?: PageType
|
|
129
127
|
} & (T extends 'primary'
|
|
130
128
|
? {
|
|
131
129
|
picture?: string
|
package/internal/user.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { Book } from './book'
|
|
1
2
|
import type { School } from './school'
|
|
2
3
|
import type { SchoolTypeName } from './schoolType'
|
|
3
4
|
|
|
@@ -26,10 +27,8 @@ export type User = {
|
|
|
26
27
|
userPages?: number[] | null
|
|
27
28
|
schoolTypes?: SchoolTypeName[] | null
|
|
28
29
|
hasContentNewsletter?: boolean | null
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
booksV2?: number[] | null
|
|
32
|
-
levels?: number[] | null
|
|
30
|
+
garDivisions?: Array<GarDivision>
|
|
31
|
+
booksV2?: Book[]
|
|
33
32
|
}
|
|
34
33
|
export type GarDivision = {
|
|
35
34
|
code?: string
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lls/typings",
|
|
3
|
-
"version": "24.1.40-
|
|
3
|
+
"version": "24.1.40-bb8ccd30",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"keywords": [],
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
"license": "ISC",
|
|
9
9
|
"devDependencies": {
|
|
10
10
|
"@types/domhandler": "2.4.5",
|
|
11
|
-
"@types/lodash": "4.
|
|
12
|
-
"@types/react": "18.
|
|
11
|
+
"@types/lodash": "4.14.202",
|
|
12
|
+
"@types/react": "18.2.73",
|
|
13
13
|
"cheerio": "1.0.0-rc.12",
|
|
14
|
-
"typescript": "5.5
|
|
14
|
+
"typescript": "5.4.5"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
17
|
"@biomejs/biome": "*"
|