@drodil/backstage-plugin-qeta 1.12.0 → 1.13.1

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/configSchema.d.ts CHANGED
@@ -5,8 +5,55 @@ export interface Config {
5
5
  * For example [System, Component, API, Location, Template]. Default is [Component, System].
6
6
  *
7
7
  * @visibility frontend
8
+ * @deprecated use `entities` config instead
8
9
  */
9
10
  entityKinds?: string[];
11
+ /**
12
+ * Entities configuration for questions.
13
+ *
14
+ * @visibility frontend
15
+ */
16
+ entities?: {
17
+ /**
18
+ * Determine what kind of entities can be attached to questions.
19
+ * For example [System, Component, API, Location, Template]. Default is [Component, System].
20
+ *
21
+ * @visibility frontend
22
+ */
23
+ kinds?: string[];
24
+ /**
25
+ * Maximum entities to attach to questions.
26
+ *
27
+ * @visibility frontend
28
+ */
29
+ max?: number;
30
+ };
31
+ /**
32
+ * Question tags specific configuration
33
+ *
34
+ * @visibility frontend
35
+ */
36
+ tags?: {
37
+ /**
38
+ * Allow creation of new tags. Default: true
39
+ *
40
+ * @visibility frontend
41
+ */
42
+ allowCreation?: boolean;
43
+ /**
44
+ * Allowed tags to be used with questions.
45
+ * Only valid if allowCreation is false.
46
+ *
47
+ * @visibility frontend
48
+ */
49
+ allowedTags?: string[];
50
+ /**
51
+ * Maximum number of tags per question. Default: 5
52
+ *
53
+ * @visibility frontend
54
+ */
55
+ max?: number;
56
+ };
10
57
  /**
11
58
  * If desire to disable image upload.
12
59
  * @visibility frontend