@lls/typings 24.1.48-e2e7ef59 → 24.1.48-e6506676
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/communityProject.d.ts +26 -0
- package/internal/contact.d.ts +11 -0
- package/internal/page.d.ts +2 -0
- package/models.d.ts +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { SchoolTypeName } from './schoolType'
|
|
2
|
+
import type { SubjectName } from './subject'
|
|
3
|
+
|
|
4
|
+
export type ProjectStatus = 'En cours' | 'Terminé' | 'Recutement en cours' | 'Recutement terminé'
|
|
5
|
+
export type PresenceMode = 'Présentiel' | 'À distance'
|
|
6
|
+
export type ProjectType = 'Communauté' | 'Numérique' | 'Editorial'
|
|
7
|
+
|
|
8
|
+
export type CommunityProject = {
|
|
9
|
+
description: string
|
|
10
|
+
displayName: string
|
|
11
|
+
endingDate?: string
|
|
12
|
+
goalParticipants: number
|
|
13
|
+
id: string
|
|
14
|
+
image: string
|
|
15
|
+
isFeatured: boolean
|
|
16
|
+
isPublished: boolean
|
|
17
|
+
presenceMode: PresenceMode[]
|
|
18
|
+
projectStatus: ProjectStatus
|
|
19
|
+
projectTypes: ProjectType[]
|
|
20
|
+
registeredContactCount: number
|
|
21
|
+
requirements?: string
|
|
22
|
+
schoolTypes?: SchoolTypeName[]
|
|
23
|
+
slug: string
|
|
24
|
+
startingDate?: string
|
|
25
|
+
subjects?: SubjectName[]
|
|
26
|
+
}
|
package/internal/page.d.ts
CHANGED
|
@@ -38,6 +38,7 @@ export type DocJson<T extends 'primary' | 'default' = 'default'> = {
|
|
|
38
38
|
audios?: string[]
|
|
39
39
|
videos?: string[]
|
|
40
40
|
rives?: { src: string; stateMachines: string }[]
|
|
41
|
+
rotation?: number
|
|
41
42
|
}
|
|
42
43
|
: {
|
|
43
44
|
metadata?: TODO | null
|
|
@@ -128,6 +129,7 @@ export type Page<T extends 'primary' | 'default' = 'default'> = {
|
|
|
128
129
|
} & (T extends 'primary'
|
|
129
130
|
? {
|
|
130
131
|
picture?: string
|
|
132
|
+
correctionPicture?: string
|
|
131
133
|
children?: PrimaryDoc[]
|
|
132
134
|
layouts?: {
|
|
133
135
|
primary?: PrimaryLayoutItem[]
|
package/models.d.ts
CHANGED