@lls/typings 24.1.34-afb89042 → 24.1.34-bb47c96d
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/book.d.ts +1 -3
- package/internal/page.d.ts +1 -5
- package/models.d.ts +0 -2
- package/overrides/global.d.ts +0 -14
- package/package.json +2 -2
- package/internal/resourcesMenu.d.ts +0 -10
- package/internal/word.d.ts +0 -5
package/internal/book.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Filter } from '@typings/models'
|
|
2
|
-
|
|
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
|
}
|
package/internal/page.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { Word } from '@typings/internal/word'
|
|
2
1
|
import type { TODO } from '@typings/utils'
|
|
3
2
|
|
|
4
3
|
export type ScreenMode = 'grid-xs' | 'grid-md'
|
|
@@ -18,10 +17,7 @@ export type ZoneType = {
|
|
|
18
17
|
|
|
19
18
|
export type ZoomZoneType = ZoneType & { type: Extract<SubzoneTypeCategory, 'subZone'> }
|
|
20
19
|
export type DefinitionsType = ZoneType & { type: Extract<SubzoneTypeCategory, 'definition'>; src?: string }
|
|
21
|
-
export type PicWordType = ZoneType & {
|
|
22
|
-
type: Extract<SubzoneTypeCategory, 'picWord'>
|
|
23
|
-
word?: Word
|
|
24
|
-
}
|
|
20
|
+
export type PicWordType = ZoneType & { type: Extract<SubzoneTypeCategory, 'picWord'>; word?: string; src?: string }
|
|
25
21
|
|
|
26
22
|
export type SubZoneType = ZoomZoneType | DefinitionsType | PicWordType
|
|
27
23
|
|
package/models.d.ts
CHANGED
package/overrides/global.d.ts
CHANGED
|
@@ -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-
|
|
3
|
+
"version": "24.1.34-bb47c96d",
|
|
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.
|
|
12
|
+
"@types/react": "18.2.45",
|
|
13
13
|
"cheerio": "1.0.0-rc.12",
|
|
14
14
|
"typescript": "5.4.5"
|
|
15
15
|
},
|