@lls/typings 24.17.0-0d15a0ca → 24.17.0-129e3224

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.
@@ -25,6 +25,7 @@ declare global {
25
25
  interface ProcessEnv {
26
26
  NODE_ENV: 'local' | 'development' | 'production'
27
27
  CONF_ENV: 'local' | 'development' | 'test' | 'preprod' | 'production' | 'prod'
28
+ SSR_INIT_LOCATION?: string
28
29
  }
29
30
  }
30
31
  var bun: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lls/typings",
3
- "version": "24.17.0-0d15a0ca",
3
+ "version": "24.17.0-129e3224",
4
4
  "description": "types custom du monorepo",
5
5
  "main": "index.js",
6
6
  "keywords": [],
@@ -42,11 +42,21 @@ type ProjectorView = {
42
42
  prevPreSlideDocUuid?: string
43
43
  }
44
44
 
45
+ export type NavigationPropsType = {
46
+ showRightSinglePage?: boolean
47
+ forceHomoSinglePage?: boolean
48
+ setForceHomoSinglePage?: (force: boolean) => void
49
+ showHomoSinglePage?: boolean
50
+ leftPageLink?: { visible: boolean; href?: string; onClick: (e: React.MouseEvent) => void }
51
+ rightPageLink?: { visible: boolean; href?: string; onClick: (e: React.MouseEvent) => void }
52
+ }
53
+
45
54
  export type PresentationPropsType = {
46
55
  projectorView?: ProjectorView
47
56
  isPresentationMode?: boolean
48
57
  isPaginationEnabled?: boolean
49
58
  presentationView?: PresentationViewType
59
+ navigationProps?: NavigationPropsType
50
60
  preSlideDocUuid?: string
51
61
  viewerZoomProps?: ZoomPropsType
52
62
  leftDocZoomProps?: ZoomPropsType
@@ -55,16 +65,15 @@ export type PresentationPropsType = {
55
65
  setIsLaserCursor?: ReactSetState<boolean>
56
66
  boardId?: string | undefined
57
67
  showHomo?: boolean
58
- forceHomoSinglePage?: boolean
59
- showHomoSinglePage?: boolean
60
68
  docsUuidWithFullscreenEnabled?: { groups: Record<LayoutItem['id'] | 'root', NonNullable<DocJson['uuid']>[]> }
69
+ isArchipel?: boolean // TODO a supprimer
61
70
  setShowHomo?: (homo: boolean) => void
62
71
  openProjectorView?: () => void
63
72
  extendSplitView?: (view: ProjectorViewPosition) => void
64
73
  closeFullscreenCard?: (docUuid?: string) => void
65
74
  closeProjectorView?: () => void
66
75
  closeSplitView?: () => void
67
- openFullscreenCard?: (docUuid: string, forceSplit?: boolean) => void
76
+ openFullscreenCard?: (docUuid: string | undefined, forceSplit?: boolean) => void
68
77
  slideToPreviousDocument?: (currentDocUuid: string, tabId?: string | undefined) => void
69
78
  getChildPosition?: (docUuid?: string, tabId?: string | undefined) => number
70
79
  slideToNextDocument?: (currentDocUuid: string, tabId?: string | undefined) => void
@@ -73,5 +82,4 @@ export type PresentationPropsType = {
73
82
  getNbDocs?: (tabId?: string | undefined) => number
74
83
  getFirstDocWithFullscreen?: (tabId?: string) => string | undefined
75
84
  resetLeftDocZoomViewerStep?: () => void
76
- setForceHomoSinglePage?: (force: boolean) => void
77
85
  }