@univerjs/data-validation 0.4.0-alpha.1 → 0.4.0-alpha.2

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.
@@ -15,7 +15,7 @@
15
15
  */
16
16
  export { getRuleOptions, getRuleSetting, } from './common/util';
17
17
  export { DataValidationResourceController } from './controllers/dv-resource.controller';
18
- export { type DataValidationChangeSource, DataValidationModel, type IRuleChange, type IValidStatusChange } from './models/data-validation-model';
18
+ export { type DataValidationChangeSource, DataValidationModel, type IRuleChange } from './models/data-validation-model';
19
19
  export { UniverDataValidationPlugin } from './plugin';
20
20
  export { DataValidatorRegistryScope, DataValidatorRegistryService } from './services/data-validator-registry.service';
21
21
  export { TextLengthErrorTitleMap } from './types/const/operator-text-map';
@@ -1,4 +1,4 @@
1
- import { Disposable, ILogService, DataValidationStatus, IDataValidationRule } from '@univerjs/core';
1
+ import { IDataValidationRule, Disposable, ILogService } from '@univerjs/core';
2
2
  import { IUpdateRulePayload } from '../types/interfaces/i-update-rule-payload';
3
3
  type DataValidationChangeType = 'update' | 'add' | 'remove';
4
4
  export type DataValidationChangeSource = 'command' | 'patched';
@@ -11,12 +11,6 @@ export interface IRuleChange {
11
11
  updatePayload?: IUpdateRulePayload;
12
12
  oldRule?: IDataValidationRule;
13
13
  }
14
- export interface IValidStatusChange {
15
- unitId: string;
16
- subUnitId: string;
17
- ruleId: string;
18
- status: DataValidationStatus;
19
- }
20
14
  export declare class DataValidationModel extends Disposable {
21
15
  private readonly _logService;
22
16
  private readonly _model;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/data-validation",
3
- "version": "0.4.0-alpha.1",
3
+ "version": "0.4.0-alpha.2",
4
4
  "private": false,
5
5
  "description": "Data validation library for Univer",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -49,17 +49,17 @@
49
49
  "rxjs": ">=7.0.0"
50
50
  },
51
51
  "dependencies": {
52
- "@univerjs/protocol": "0.1.39-alpha.15",
53
- "@univerjs/core": "0.4.0-alpha.1",
54
- "@univerjs/sheets": "0.4.0-alpha.1"
52
+ "@univerjs/protocol": "0.1.39-alpha.30",
53
+ "@univerjs/core": "0.4.0-alpha.2",
54
+ "@univerjs/sheets": "0.4.0-alpha.2"
55
55
  },
56
56
  "devDependencies": {
57
57
  "rxjs": "^7.8.1",
58
58
  "typescript": "^5.6.3",
59
59
  "vite": "^5.4.8",
60
60
  "vitest": "^2.1.2",
61
- "@univerjs-infra/shared": "0.4.0-alpha.1",
62
- "@univerjs/core": "0.4.0-alpha.1"
61
+ "@univerjs-infra/shared": "0.4.0-alpha.2",
62
+ "@univerjs/core": "0.4.0-alpha.2"
63
63
  },
64
64
  "univerSpace": {
65
65
  ".": {