@drodil/backstage-plugin-qeta 3.29.2 → 3.30.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.
Files changed (2) hide show
  1. package/configSchema.d.ts +18 -6
  2. package/package.json +3 -3
package/configSchema.d.ts CHANGED
@@ -19,27 +19,33 @@ export interface Config {
19
19
  */
20
20
  entityKinds?: string[];
21
21
  /**
22
- * Entities configuration for questions.
22
+ * Entities configuration for posts.
23
23
  *
24
24
  * @visibility frontend
25
25
  */
26
26
  entities?: {
27
27
  /**
28
- * Determine what kind of entities can be attached to questions.
28
+ * Determine what kind of entities can be attached to posts.
29
29
  * For example [System, Component, API, Location, Template]. Default is [Component, System].
30
30
  *
31
31
  * @visibility frontend
32
32
  */
33
33
  kinds?: string[];
34
34
  /**
35
- * Maximum entities to attach to questions.
35
+ * Maximum entities to attach to posts.
36
36
  *
37
37
  * @visibility frontend
38
38
  */
39
39
  max?: number;
40
+ /**
41
+ * Minimum entities required to attach to post.
42
+ *
43
+ * @visibility frontend
44
+ */
45
+ min?: number;
40
46
  };
41
47
  /**
42
- * Question tags specific configuration
48
+ * Posts tags specific configuration
43
49
  *
44
50
  * @visibility frontend
45
51
  */
@@ -51,18 +57,24 @@ export interface Config {
51
57
  */
52
58
  allowCreation?: boolean;
53
59
  /**
54
- * Allowed tags to be used with questions.
60
+ * Allowed tags to be used with posts.
55
61
  * Only valid if allowCreation is false.
56
62
  *
57
63
  * @visibility frontend
58
64
  */
59
65
  allowedTags?: string[];
60
66
  /**
61
- * Maximum number of tags per question. Default: 5
67
+ * Maximum number of tags per post. Default: 5
62
68
  *
63
69
  * @visibility frontend
64
70
  */
65
71
  max?: number;
72
+ /**
73
+ * Minimum number of tags required per post.
74
+ *
75
+ * @visibility frontend
76
+ */
77
+ min?: number;
66
78
  };
67
79
  /**
68
80
  * List of users/groups that can moderate questions and answers in case permission framework is not in use.
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "frontend",
8
8
  "backstage.io"
9
9
  ],
10
- "version": "3.29.2",
10
+ "version": "3.30.1",
11
11
  "main": "dist/index.esm.js",
12
12
  "types": "dist/index.d.ts",
13
13
  "prepublishOnly": "yarn tsc && yarn build",
@@ -56,8 +56,8 @@
56
56
  "@backstage/plugin-search-common": "^1.2.18",
57
57
  "@backstage/plugin-search-react": "^1.9.0",
58
58
  "@backstage/plugin-signals-react": "^0.0.13",
59
- "@drodil/backstage-plugin-qeta-common": "^3.29.2",
60
- "@drodil/backstage-plugin-qeta-react": "^3.29.2",
59
+ "@drodil/backstage-plugin-qeta-common": "^3.30.1",
60
+ "@drodil/backstage-plugin-qeta-react": "^3.30.1",
61
61
  "@material-ui/core": "^4.12.2",
62
62
  "@material-ui/icons": "^4.11.3",
63
63
  "@material-ui/lab": "4.0.0-alpha.61",