@l-v-yonsama/rdh 0.2.10 → 0.2.12
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.
|
@@ -12,7 +12,7 @@ export declare const AnnotationTypeConst: {
|
|
|
12
12
|
readonly CIN: "Cin";
|
|
13
13
|
};
|
|
14
14
|
export type AnnotationType = (typeof AnnotationTypeConst)[keyof typeof AnnotationTypeConst];
|
|
15
|
-
export type CellAnnotation = DeleteAnnotation | AddAnnotation | UpdateAnnotation | RuleAnnotation | LintAnnotation | StyleAnnotation | CodeResolvedAnnotation | FileAnnotation | ChangeInNumbersAnnotation;
|
|
15
|
+
export type CellAnnotation = DeleteAnnotation | AddAnnotation | UpdateAnnotation | ErrorAnnotation | RuleAnnotation | LintAnnotation | StyleAnnotation | CodeResolvedAnnotation | FileAnnotation | ChangeInNumbersAnnotation;
|
|
16
16
|
export type BaseCellAnnotation<T = AnnotationType, U = any> = {
|
|
17
17
|
type: T;
|
|
18
18
|
values?: U;
|
|
@@ -22,6 +22,7 @@ export type AddAnnotation = BaseCellAnnotation<"Add">;
|
|
|
22
22
|
export type UpdateAnnotation = BaseCellAnnotation<"Upd", {
|
|
23
23
|
otherValue: any;
|
|
24
24
|
}>;
|
|
25
|
+
export type ErrorAnnotation = BaseCellAnnotation<"Err">;
|
|
25
26
|
export type RuleAnnotation = BaseCellAnnotation<"Rul", {
|
|
26
27
|
name: string;
|
|
27
28
|
message: string;
|