@lls/typings 24.1.50-fe90f2f6 → 24.1.50

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,21 +2,22 @@ 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 = {
9
9
  description: string
10
10
  displayName: string
11
11
  endingDate?: string
12
- numberOfParticipants?: number
12
+ goalParticipants: number
13
13
  id: string
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
+ registeredContactCount: number
20
21
  requirements?: string
21
22
  schoolTypes?: SchoolTypeName[]
22
23
  slug: 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
  | {
@@ -2,9 +2,6 @@ export type ResourcesMenuType = {
2
2
  id?: string
3
3
  uri?: string
4
4
  title?: string
5
- bookUrl?: string
6
- additionalInfo?: string
7
- guideUrl?: string
8
5
  type?: string
9
6
  elements?: Array<ResourcesMenuType>
10
7
  version?: string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lls/typings",
3
- "version": "24.1.50-fe90f2f6",
3
+ "version": "24.1.50",
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
  },
@@ -35,6 +35,4 @@ export type PresentationPropsType = {
35
35
  initZoomModal?: (docUuid?: string) => void
36
36
  deleteZoomModal?: (docUuid?: string) => void
37
37
  getNbDocs?: (tabId: string) => number
38
- getFirstDocWithFullscreen?: (tabId: string) => string
39
- resetLeftDocZoomViewerStep?: () => void
40
38
  }