@univerjs/data-validation 0.5.3-experimental.20250106-e3b7a39 → 0.5.3-experimental.20250107-3e6579c

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 } from './models/data-validation-model';
18
+ export { type DataValidationChangeSource, type DataValidationChangeType, 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,6 +1,6 @@
1
1
  import { IDataValidationRule, Disposable, ILogService } from '@univerjs/core';
2
2
  import { IUpdateRulePayload } from '../types/interfaces/i-update-rule-payload';
3
- type DataValidationChangeType = 'update' | 'add' | 'remove';
3
+ export type DataValidationChangeType = 'update' | 'add' | 'remove';
4
4
  export type DataValidationChangeSource = 'command' | 'patched';
5
5
  export interface IRuleChange {
6
6
  rule: IDataValidationRule;
@@ -34,4 +34,3 @@ export declare class DataValidationModel extends Disposable {
34
34
  getSubUnitIds(unitId: string): string[];
35
35
  getAll(): (readonly [string, [string, IDataValidationRule[]][]])[];
36
36
  }
37
- export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/data-validation",
3
- "version": "0.5.3-experimental.20250106-e3b7a39",
3
+ "version": "0.5.3-experimental.20250107-3e6579c",
4
4
  "private": false,
5
5
  "description": "Data validation library for Univer",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -48,7 +48,7 @@
48
48
  "rxjs": ">=7.0.0"
49
49
  },
50
50
  "dependencies": {
51
- "@univerjs/core": "0.5.3-experimental.20250106-e3b7a39"
51
+ "@univerjs/core": "0.5.3-experimental.20250107-3e6579c"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@univerjs/protocol": "0.1.40",
@@ -57,8 +57,8 @@
57
57
  "vite": "^6.0.6",
58
58
  "vitest": "^2.1.8",
59
59
  "@univerjs-infra/shared": "0.5.3",
60
- "@univerjs/core": "0.5.3-experimental.20250106-e3b7a39",
61
- "@univerjs/sheets": "0.5.3-experimental.20250106-e3b7a39"
60
+ "@univerjs/core": "0.5.3-experimental.20250107-3e6579c",
61
+ "@univerjs/sheets": "0.5.3-experimental.20250107-3e6579c"
62
62
  },
63
63
  "scripts": {
64
64
  "dev": "vite",