@openframe-org/criteria-set-protocol 2.2.10 → 2.2.11
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.
- package/dist/v1/utils.d.ts +11 -7
- package/package.json +1 -1
package/dist/v1/utils.d.ts
CHANGED
|
@@ -1,14 +1,18 @@
|
|
|
1
|
-
import { Color, CriteriaTree, CriteriaTreeElement, Theme, Criterion, Task, TaskGroup, TaskItem, TaskOptions } from "./types";
|
|
1
|
+
import { Color, CriteriaTree, CriteriaTreeElement, Theme, Criterion, Task, TaskGroup, TaskItem, ThemeOptions, CriterionOptions, TaskOptions } from "./types";
|
|
2
2
|
interface ApplyTextFormattingPlaceholdersForThemeFunction {
|
|
3
|
-
(options:
|
|
3
|
+
(options: ThemeOptions, element: Pick<Task, "title" | "code">): string;
|
|
4
4
|
}
|
|
5
5
|
interface ApplyTextFormattingPlaceholdersForCriterionFunction {
|
|
6
|
-
(options:
|
|
6
|
+
(options: CriterionOptions, element: Pick<Task, "title" | "code">): string;
|
|
7
7
|
}
|
|
8
8
|
interface ApplyTextFormattingPlaceholdersForTaskFunction {
|
|
9
9
|
(options: TaskOptions, element: Pick<Task, "title" | "code">): string;
|
|
10
10
|
}
|
|
11
|
-
interface
|
|
11
|
+
interface ApplyBreadcrumbTextFormattingPlaceholdersFunction extends ApplyTextFormattingPlaceholdersForThemeFunction, ApplyTextFormattingPlaceholdersForCriterionFunction, ApplyTextFormattingPlaceholdersForTaskFunction {
|
|
12
|
+
}
|
|
13
|
+
interface ApplyDocumentTreeFolderTextFormattingPlaceholdersFunction extends ApplyTextFormattingPlaceholdersForThemeFunction, ApplyTextFormattingPlaceholdersForCriterionFunction, ApplyTextFormattingPlaceholdersForTaskFunction {
|
|
14
|
+
}
|
|
15
|
+
interface ApplyCriteriaTreeElementTextFormatFormattingPlaceholdersFunction extends ApplyTextFormattingPlaceholdersForCriterionFunction, ApplyTextFormattingPlaceholdersForTaskFunction {
|
|
12
16
|
}
|
|
13
17
|
export declare const isTheme: (element: CriteriaTreeElement) => element is Theme;
|
|
14
18
|
export declare const isCriterion: (element: CriteriaTreeElement) => element is Criterion;
|
|
@@ -26,13 +30,13 @@ export declare const findInTree: (tree: CriteriaTree, code: string) => CriteriaT
|
|
|
26
30
|
/**
|
|
27
31
|
* Apply the text formatting used in document tree folder naming
|
|
28
32
|
*/
|
|
29
|
-
export declare const applyBreadcrumbTextFormattingPlaceholders:
|
|
33
|
+
export declare const applyBreadcrumbTextFormattingPlaceholders: ApplyBreadcrumbTextFormattingPlaceholdersFunction;
|
|
30
34
|
/**
|
|
31
35
|
* Apply the text formatting used in the document tree
|
|
32
36
|
*/
|
|
33
|
-
export declare const applyDocumentTreeFolderTextFormattingPlaceholders:
|
|
37
|
+
export declare const applyDocumentTreeFolderTextFormattingPlaceholders: ApplyDocumentTreeFolderTextFormattingPlaceholdersFunction;
|
|
34
38
|
/**
|
|
35
39
|
* Apply the text formatting used in the criteria tree
|
|
36
40
|
*/
|
|
37
|
-
export declare const applyCriteriaTreeElementTextFormatFormattingPlaceholders:
|
|
41
|
+
export declare const applyCriteriaTreeElementTextFormatFormattingPlaceholders: ApplyCriteriaTreeElementTextFormatFormattingPlaceholdersFunction;
|
|
38
42
|
export {};
|
package/package.json
CHANGED