@lls/typings 24.1.50-ecea902a → 24.1.50-f15ee8fc

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['id']
23
+ collection?: Collection
24
24
  resourcesMenu?: ResourcesMenuType
25
25
  renewalLabel?: string
26
26
  urlLite?: string
@@ -30,6 +30,4 @@ export type Book = {
30
30
  slug?: string
31
31
  publishers?: Publisher[]
32
32
  isRenewed?: boolean
33
- isPrimary?: boolean
34
- firstValidPage?: number
35
33
  }
@@ -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 PresenceModes = 'Présentiel' | 'À distance'
5
+ export type PresenceMode = '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
- presenceModes: PresenceModes[]
17
+ presenceMode: PresenceMode[]
18
18
  projectStatus: ProjectStatus
19
19
  projectTypes: ProjectType[]
20
20
  requirements?: string
@@ -1,6 +1,5 @@
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'
4
3
 
5
4
  export type ScreenMode = 'grid-xs' | 'grid-md'
6
5
 
@@ -47,7 +46,7 @@ export type DocJson<T extends 'primary' | 'default' = 'default'> = {
47
46
  isIndexable?: boolean | null
48
47
  renewalAddedAt?: string
49
48
  renewalUpdatedAt?: string
50
- annotations?: Record<string, StateData>
49
+ annotations?: TODO
51
50
  premium?: boolean | null
52
51
  responses?:
53
52
  | {
@@ -3,7 +3,6 @@ export type ResourcesMenuType = {
3
3
  uri?: string
4
4
  title?: string
5
5
  bookUrl?: string
6
- additionalInfo?: string
7
6
  guideUrl?: string
8
7
  type?: string
9
8
  elements?: Array<ResourcesMenuType>
@@ -30,7 +30,6 @@ export type User = {
30
30
  garDivisions?: number[] | null
31
31
  booksV2?: number[] | null
32
32
  levels?: number[] | null
33
- lastPagesViewed?: number[] | null
34
33
  }
35
34
  export type GarDivision = {
36
35
  code?: string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lls/typings",
3
- "version": "24.1.50-ecea902a",
3
+ "version": "24.1.50-f15ee8fc",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "keywords": [],
@@ -10,7 +10,6 @@
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",
14
13
  "cheerio": "1.0.0-rc.12",
15
14
  "typescript": "5.5.3"
16
15
  },