@lls/typings 24.1.50-eb97d9f4 → 24.1.50-ecea902a

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.
@@ -20,7 +20,7 @@ export type Book = {
20
20
  renderer?: string
21
21
  filters?: Filter[]
22
22
  chapters?: number[]
23
- collection?: Collection
23
+ collection?: Collection['id']
24
24
  resourcesMenu?: ResourcesMenuType
25
25
  renewalLabel?: string
26
26
  urlLite?: string
@@ -30,4 +30,6 @@ export type Book = {
30
30
  slug?: string
31
31
  publishers?: Publisher[]
32
32
  isRenewed?: boolean
33
+ isPrimary?: boolean
34
+ firstValidPage?: number
33
35
  }
@@ -2,7 +2,7 @@ import type { SchoolTypeName } from './schoolType'
2
2
  import type { SubjectName } from './subject'
3
3
 
4
4
  export type ProjectStatus = 'En cours' | 'Terminé' | 'Recutement en cours' | 'Recutement terminé'
5
- export type PresenceMode = 'Présentiel' | 'À distance'
5
+ export type PresenceModes = 'Présentiel' | 'À distance'
6
6
  export type ProjectType = 'Communauté' | 'Numérique' | 'Editorial'
7
7
 
8
8
  export type CommunityProject = {
@@ -14,7 +14,7 @@ export type CommunityProject = {
14
14
  image: string
15
15
  isFeatured: boolean
16
16
  isPublished: boolean
17
- presenceMode: PresenceMode[]
17
+ presenceModes: PresenceModes[]
18
18
  projectStatus: ProjectStatus
19
19
  projectTypes: ProjectType[]
20
20
  requirements?: string
@@ -1,5 +1,6 @@
1
1
  import type { Word } from '@typings/internal/word'
2
2
  import type { TODO } from '@typings/utils'
3
+ import type { StateData } from '@yorab/react-paint'
3
4
 
4
5
  export type ScreenMode = 'grid-xs' | 'grid-md'
5
6
 
@@ -46,7 +47,7 @@ export type DocJson<T extends 'primary' | 'default' = 'default'> = {
46
47
  isIndexable?: boolean | null
47
48
  renewalAddedAt?: string
48
49
  renewalUpdatedAt?: string
49
- annotations?: TODO
50
+ annotations?: Record<string, StateData>
50
51
  premium?: boolean | null
51
52
  responses?:
52
53
  | {
@@ -3,6 +3,7 @@ export type ResourcesMenuType = {
3
3
  uri?: string
4
4
  title?: string
5
5
  bookUrl?: string
6
+ additionalInfo?: string
6
7
  guideUrl?: string
7
8
  type?: string
8
9
  elements?: Array<ResourcesMenuType>
@@ -30,6 +30,7 @@ export type User = {
30
30
  garDivisions?: number[] | null
31
31
  booksV2?: number[] | null
32
32
  levels?: number[] | null
33
+ lastPagesViewed?: number[] | null
33
34
  }
34
35
  export type GarDivision = {
35
36
  code?: string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lls/typings",
3
- "version": "24.1.50-eb97d9f4",
3
+ "version": "24.1.50-ecea902a",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "keywords": [],
@@ -10,6 +10,7 @@
10
10
  "@types/domhandler": "2.4.5",
11
11
  "@types/lodash": "4.17.6",
12
12
  "@types/react": "18.3.3",
13
+ "@yorab/react-paint": "0.11.4",
13
14
  "cheerio": "1.0.0-rc.12",
14
15
  "typescript": "5.5.3"
15
16
  },