@lls/typings 24.1.48-e0999be5 → 24.1.48-e0b1c53b

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,7 +3,7 @@ import type { TODO } from '@typings/utils'
3
3
 
4
4
  export type ScreenMode = 'grid-xs' | 'grid-md'
5
5
 
6
- export type SubzoneTypeCategory = 'picWord' | 'definition' | 'subZone' | 'mask'
6
+ export type SubzoneTypeCategory = 'picWord' | 'definition' | 'subZone' | 'mask' | 'correction'
7
7
 
8
8
  export type Rect = {
9
9
  x: number
@@ -17,14 +17,12 @@ export type ZoneType = {
17
17
  } & Rect
18
18
 
19
19
  export type ZoomZoneType = ZoneType & { type: Extract<SubzoneTypeCategory, 'subZone'> }
20
- 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 DefinitionsType = ZoneType & { type: Extract<SubzoneTypeCategory, 'definition'>; word?: Word }
21
+ export type PicWordType = ZoneType & { type: Extract<SubzoneTypeCategory, 'picWord'>; word?: Word }
25
22
  export type MaskType = ZoneType & { type: Extract<SubzoneTypeCategory, 'mask'> }
23
+ export type CorrectionType = ZoneType & { type: Extract<SubzoneTypeCategory, 'correction'> }
26
24
 
27
- export type SubZoneType = ZoomZoneType | DefinitionsType | PicWordType | MaskType
25
+ export type SubZoneType = ZoomZoneType | DefinitionsType | PicWordType | MaskType | CorrectionType
28
26
 
29
27
  export type DocJson<T extends 'primary' | 'default' = 'default'> = {
30
28
  id?: number
@@ -36,6 +34,7 @@ export type DocJson<T extends 'primary' | 'default' = 'default'> = {
36
34
  definitions?: DefinitionsType[]
37
35
  subZones?: ZoomZoneType[]
38
36
  masks?: MaskType[]
37
+ corrections?: CorrectionType[]
39
38
  audios?: string[]
40
39
  videos?: string[]
41
40
  rives?: { src: string; stateMachines: string }[]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lls/typings",
3
- "version": "24.1.48-e0999be5",
3
+ "version": "24.1.48-e0b1c53b",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "keywords": [],