@lls/typings 24.1.31-dcd4474c → 24.1.31-e60d40d9

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.
@@ -3,4 +3,6 @@ export type School = {
3
3
  name?: string
4
4
  city?: string
5
5
  prefix?: string | null
6
+ rne?: string
7
+ department?: number
6
8
  }
@@ -0,0 +1,14 @@
1
+ import type CheerioModule from 'cheerio'
2
+
3
+ declare global {
4
+ // https://stackoverflow.com/questions/35074713/extending-typescript-global-object-in-node-js
5
+ var cheerio: typeof CheerioModule
6
+ var __SERVER__: boolean
7
+
8
+ namespace NodeJS {
9
+ interface ProcessEnv {
10
+ NODE_ENV: 'local' | 'development' | 'production'
11
+ CONF_ENV: 'local' | 'development' | 'test' | 'preprod' | 'production' | 'prod'
12
+ }
13
+ }
14
+ }
@@ -4,10 +4,12 @@ type TPianoOpts = {
4
4
  } & Record<string, unknown>
5
5
 
6
6
  interface Window {
7
+ __PRELOADED_STATE__: string | undefined
7
8
  opera: any | undefined
8
9
  MSStream: any | undefined
9
10
  coreOpenWindow?: typeof window.open
10
11
  coreHref?: string
12
+ outerHTML: unknown
11
13
  pa?: {
12
14
  user?: {
13
15
  setUser?: (user_id: TPianoOpts['user_id'], user_category: TPianoOpts['user_category']) => void
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lls/typings",
3
- "version": "24.1.31-dcd4474c",
3
+ "version": "24.1.31-e60d40d9",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "keywords": [],
@@ -10,6 +10,7 @@
10
10
  "@types/domhandler": "2.4.5",
11
11
  "@types/lodash": "4.14.202",
12
12
  "@types/react": "18.2.45",
13
+ "cheerio": "1.0.0-rc.12",
13
14
  "typescript": "5.4.5"
14
15
  },
15
16
  "peerDependencies": {
@@ -1,6 +0,0 @@
1
- import type CheerioModule from 'cheerio'
2
-
3
- declare global {
4
- // https://stackoverflow.com/questions/35074713/extending-typescript-global-object-in-node-js
5
- var cheerio: typeof CheerioModule
6
- }