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