@lls/typings 24.1.32 → 24.1.33-d87e6fce

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.
@@ -13,12 +13,11 @@ export type Rect = {
13
13
 
14
14
  export type ZoneType = {
15
15
  id: string
16
- src?: string
17
16
  } & Rect
18
17
 
19
18
  export type ZoomZoneType = ZoneType & { type: Extract<SubzoneTypeCategory, 'subZone'> }
20
- export type DefinitionsType = ZoneType & { type: Extract<SubzoneTypeCategory, 'definition'> }
21
- export type PicWordType = ZoneType & { type: Extract<SubzoneTypeCategory, 'picWord'>; word?: string }
19
+ export type DefinitionsType = ZoneType & { type: Extract<SubzoneTypeCategory, 'definition'>; src?: string }
20
+ export type PicWordType = ZoneType & { type: Extract<SubzoneTypeCategory, 'picWord'>; word?: string; src?: string }
22
21
 
23
22
  export type SubZoneType = ZoomZoneType | DefinitionsType | PicWordType
24
23
 
@@ -28,7 +27,6 @@ export type DocJson<T extends 'primary' | 'default' = 'default'> = {
28
27
  contentMd?: string
29
28
  } & (T extends 'primary'
30
29
  ? {
31
- src?: string
32
30
  picWords?: PicWordType[]
33
31
  definitions?: DefinitionsType[]
34
32
  subZones?: ZoomZoneType[]
@@ -1,3 +1,4 @@
1
+ import type { AnyFunction } from '@typings/utils'
1
2
  import type lo from 'lodash'
2
3
  import type _ from 'lodash/fp'
3
4
  import type { ValueOf } from '../utils.d.ts'
@@ -9,6 +10,9 @@ declare module 'lodash/fp.js' {
9
10
  collection: Iterable
10
11
  ) => TResult[]
11
12
  }
13
+ interface LodashDebounce {
14
+ convert: (options: { fixed: false }) => <T extends AnyFunction>(delay: number, fn: T, opts: { leading?: boolean; trailing?: boolean }) => T
15
+ }
12
16
 
13
17
  interface LodashForEach {
14
18
  convert: (a: { cap: false }) => <Iterable, TResult>(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lls/typings",
3
- "version": "24.1.32",
3
+ "version": "24.1.33-d87e6fce",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "keywords": [],