@lls/typings 24.1.34-2b968299 → 24.1.34-2bd60262

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.
@@ -1,5 +1,5 @@
1
1
  import type { Filter } from '@typings/models'
2
- import type { ResourcesMenuType } from '@typings/models'
2
+
3
3
  type Collection = {
4
4
  name?: string
5
5
  year?: number
@@ -8,7 +8,6 @@ type Collection = {
8
8
 
9
9
  export type Book = {
10
10
  id?: number
11
- uri?: string
12
11
  valid?: boolean
13
12
  subjects?: number[]
14
13
  levels?: number[]
@@ -19,5 +18,4 @@ export type Book = {
19
18
  filters?: Filter[]
20
19
  chapters?: number[]
21
20
  collection?: Collection
22
- resourcesMenu?: ResourcesMenuType
23
21
  }
@@ -22,8 +22,7 @@ export type User = {
22
22
  passwordUpdateRequired?: boolean
23
23
  confirmed?: boolean
24
24
  userPages?: number[] | null
25
- schoolTypes?: SchoolTypeName[] | null
26
- hasContentNewsletter?: boolean | null
25
+ schoolTypes?: SchoolTypeName[]
27
26
  }
28
27
 
29
28
  export type AdminUser = User & { isAdmin: true }
package/models.d.ts CHANGED
@@ -10,4 +10,3 @@ export * from './internal/schoolType'
10
10
  export * from './internal/subject'
11
11
  export * from './internal/summary'
12
12
  export * from './internal/user'
13
- export * from './internal/resourcesMenu'
@@ -4,20 +4,6 @@ declare global {
4
4
  // https://stackoverflow.com/questions/35074713/extending-typescript-global-object-in-node-js
5
5
  var cheerio: typeof CheerioModule
6
6
  var __SERVER__: boolean
7
- var __VIEWER__: string | undefined
8
- var __SUPERKIT__: string | undefined
9
- var __KIT__: string | undefined
10
- var __UTILS__: string | undefined
11
- var __CONFIG__: {
12
- env?: typeof process.env.CONF_ENV
13
- api_url?: string
14
- viewerVersion?: string
15
- superkitVersion?: string
16
- kitVersion?: string
17
- utilsVersion?: string
18
- }
19
-
20
- var UNIVERSAL_VARS: Record<string, unknown> | undefined
21
7
 
22
8
  namespace NodeJS {
23
9
  interface ProcessEnv {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lls/typings",
3
- "version": "24.1.34-2b968299",
3
+ "version": "24.1.34-2bd60262",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "keywords": [],
@@ -9,7 +9,7 @@
9
9
  "devDependencies": {
10
10
  "@types/domhandler": "2.4.5",
11
11
  "@types/lodash": "4.14.202",
12
- "@types/react": "18.2.73",
12
+ "@types/react": "18.2.45",
13
13
  "cheerio": "1.0.0-rc.12",
14
14
  "typescript": "5.4.5"
15
15
  },
@@ -1,10 +0,0 @@
1
- export type ResourcesMenuType = {
2
- id?: string
3
- title?: string
4
- type?: string
5
- elements?: Array<ResourcesMenuType>
6
- version?: string
7
- tag?: string
8
- url?: string
9
- resourceType?: string
10
- }