@cyberismo/assets 0.0.20 → 0.0.22

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.
@@ -49,6 +49,15 @@ header:
49
49
  left:
50
50
  content: image:img/cyberismo-logo.png[pdfwidth=12%]
51
51
 
52
+ ulist:
53
+ marker:
54
+ checked:
55
+ content: "\uf14a"
56
+ font-family: far
57
+ unchecked:
58
+ content: "\uf0c8"
59
+ font-family: far
60
+
52
61
  footer:
53
62
  columns: =100%
54
63
  recto: &shared_footer
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cyberismo/assets",
3
- "version": "0.0.20",
3
+ "version": "0.0.22",
4
4
  "description": "This package contains static resources",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -15,7 +15,7 @@
15
15
  "bugs": "https://github.com/CyberismoCom/cyberismo/issues",
16
16
  "type": "module",
17
17
  "devDependencies": {
18
- "esbuild": "^0.25.11",
18
+ "esbuild": "^0.27.2",
19
19
  "esbuild-plugin-import-glob": "^0.1.1"
20
20
  },
21
21
  "files": [
@@ -129,6 +129,9 @@ childResult((Card, Field), (Field, EnumValue), "enumValues") :-
129
129
  field((Field, EnumValue), "enumValue", EnumValue) :-
130
130
  enumValue(Field, EnumValue).
131
131
 
132
+ dataType((Field, EnumValue), "index", "integer") :-
133
+ enumValue(Field, EnumValue).
134
+
132
135
  order(2, "fields", 1, "visibility", "ASC").
133
136
  order(2, "fields", 2, "index", "ASC").
134
137
  order(3, "enumValues", 1, "index", "ASC").
@@ -74,13 +74,13 @@ resultField((Card, Field), "visibility", "optional") :-
74
74
  field(Card, "cardType", CardType),
75
75
  result(Card).
76
76
 
77
- resultField((Card, Field), "index", Index) :-
77
+ resultField((Card, Field), "index", Index, "integer") :-
78
78
  alwaysVisibleField(CardType, Field),
79
79
  field((CardType, Field), "index", Index),
80
80
  field(Card, "cardType", CardType),
81
81
  result(Card).
82
82
 
83
- resultField((Card, Field), "index", Index) :-
83
+ resultField((Card, Field), "index", Index, "integer") :-
84
84
  optionallyVisibleField(CardType, Field),
85
85
  field((CardType, Field), "index", Index),
86
86
  field(Card, "cardType", CardType),
@@ -24,6 +24,11 @@
24
24
  "type": "string",
25
25
  "description": "Whether to trim initial and final whitespace and newlines from the output. Useful for generating non-AsciiDoc content such as JSON. Default is 'keep'.",
26
26
  "enum": ["keep", "trim"]
27
+ },
28
+ "escape": {
29
+ "type": "string",
30
+ "description": "Type of escaping to apply to the included content. 'json' escapes for JSON strings, 'csv' escapes for CSV fields.",
31
+ "enum": ["json", "csv"]
27
32
  }
28
33
  },
29
34
  "required": ["cardKey"],
@@ -20,6 +20,10 @@
20
20
  "calculation": {
21
21
  "description": "The logic programming content for this calculation",
22
22
  "type": "string"
23
+ },
24
+ "category": {
25
+ "description": "The category of the calculation. For example, 'ReportData'.",
26
+ "type": "string"
23
27
  }
24
28
  },
25
29
  "required": ["name"],
@@ -3,6 +3,10 @@
3
3
  "additionalProperties": false,
4
4
  "description": "Card type defines the workflow and optional additional fields for the cards.",
5
5
  "properties": {
6
+ "category": {
7
+ "description": "The category of the card type. For example, 'Documentation'.",
8
+ "type": "string"
9
+ },
6
10
  "name": {
7
11
  "description": "The name of the card type",
8
12
  "type": "string",
@@ -1,8 +1,12 @@
1
1
  {
2
2
  "$id": "fieldTypeSchema",
3
3
  "additionalProperties": false,
4
- "description": "Field type defines the workflow and optional additional fields for the cards.",
4
+ "description": "Field type defines one field for a card type",
5
5
  "properties": {
6
+ "category": {
7
+ "description": "The category of the field type. For example, 'UserData'.",
8
+ "type": "string"
9
+ },
6
10
  "name": {
7
11
  "type": "string",
8
12
  "description": "The technical name by which the field is referred to in JSON files.",
@@ -3,6 +3,10 @@
3
3
  "additionalProperties": false,
4
4
  "description": "Link types defined different ways to link cards together.",
5
5
  "properties": {
6
+ "category": {
7
+ "description": "The category of the link type. For example, 'Connection'.",
8
+ "type": "string"
9
+ },
6
10
  "description": {
7
11
  "description": "A description that describes the link type",
8
12
  "type": "string"
@@ -18,11 +18,11 @@
18
18
  "type": "string"
19
19
  },
20
20
  "category": {
21
- "description": "The category of the report. For example, 'Architecture'.",
21
+ "description": "The category of the report. For example, 'KeyPerformanceIndicator'.",
22
22
  "type": "string"
23
23
  }
24
24
  },
25
- "required": ["name", "displayName", "category"],
25
+ "required": ["name", "displayName"],
26
26
  "title": "Report",
27
27
  "type": "object"
28
28
  }
@@ -3,6 +3,10 @@
3
3
  "additionalProperties": false,
4
4
  "description": "A state machine for the workflow of cards",
5
5
  "properties": {
6
+ "category": {
7
+ "description": "The category of the workflow. For example, 'Review'.",
8
+ "type": "string"
9
+ },
6
10
  "description": {
7
11
  "description": "A description that describes the workflow",
8
12
  "type": "string"
@@ -49,6 +49,15 @@ header:
49
49
  left:
50
50
  content: image:img/cyberismo-logo.png[pdfwidth=12%]
51
51
 
52
+ ulist:
53
+ marker:
54
+ checked:
55
+ content: "\uf14a"
56
+ font-family: far
57
+ unchecked:
58
+ content: "\uf0c8"
59
+ font-family: far
60
+
52
61
  footer:
53
62
  columns: =100%
54
63
  recto: &shared_footer