@lls/typings 24.21.0-ec05feae → 24.21.0

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,16 +1,7 @@
1
- import type { AsyncLocalStorage } from 'node:async_hooks'
2
1
  import type { Polypad as PolypadType } from '@typings/polypad'
3
2
  import type { AnyFunction, TODO } from '@typings/utils'
4
3
  import type CheerioModule from 'cheerio'
5
4
 
6
- type LlsNamespace = 'UNIVERSAL_VARS'
7
- export type UniversalVars = {
8
- NO_CACHE?: boolean
9
- SSR_INIT_LOCATION?: string
10
- FLAGS?: Record<string, TODO>
11
- }
12
- type Store = Map<LlsNamespace, (UniversalVars & Record<string, any>) | undefined>
13
-
14
5
  declare global {
15
6
  // https://stackoverflow.com/questions/35074713/extending-typescript-global-object-in-node-js
16
7
  var cheerio: typeof CheerioModule
@@ -28,14 +19,13 @@ declare global {
28
19
  }
29
20
  var WEBFLOW_NAVBAR: string | undefined
30
21
 
31
- var UNIVERSAL_VARS: UniversalVars
32
- var llsStorageReady: AsyncLocalStorage<Store>
33
- var llsStoragePromise: Promise<AsyncLocalStorage<Store>>
22
+ var UNIVERSAL_VARS: Record<string, unknown> | undefined
34
23
 
35
24
  namespace NodeJS {
36
25
  interface ProcessEnv {
37
26
  NODE_ENV: 'local' | 'development' | 'production'
38
27
  CONF_ENV: 'local' | 'development' | 'test' | 'preprod' | 'production' | 'prod'
28
+ SSR_INIT_LOCATION?: string
39
29
  }
40
30
  }
41
31
  var bun: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lls/typings",
3
- "version": "24.21.0-ec05feae",
3
+ "version": "24.21.0",
4
4
  "description": "types custom du monorepo",
5
5
  "main": "index.js",
6
6
  "keywords": [],