@yadsh/dsh-qa-integrations 0.10.1 → 0.10.2
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/lib/client/operator-controls.js +4 -1
- package/lib/client/operator-controls.js.map +1 -1
- package/lib/client/provider-card.js +4 -7
- package/lib/client/provider-card.js.map +1 -1
- package/lib/client.js +2283 -2284
- package/lib/client.js.map +1 -1
- package/lib/types/client/operator-controls.d.ts +12 -0
- package/locale/en.json +6 -0
- package/package.json +5 -3
|
@@ -29,6 +29,18 @@ export interface ValueProps<T> {
|
|
|
29
29
|
}
|
|
30
30
|
/** The control's DOM id, derived from its settings path: one per field. */
|
|
31
31
|
export declare function fieldId(path: readonly string[]): string;
|
|
32
|
+
/**
|
|
33
|
+
* One settings key spelled the way a test id has to be spelled: camelCase humps
|
|
34
|
+
* come apart (`allowedHosts` is `allowed-hosts`, and an acronym run belongs to
|
|
35
|
+
* the word after it, so `maxHTTPRetries` is `max-http-retries`) and every other
|
|
36
|
+
* run of non-alphanumerics collapses to one dash (`issues.read` is
|
|
37
|
+
* `issues-read`). Whatever the key looks like, the answer is ASCII kebab-case:
|
|
38
|
+
* an id carrying a dot or a stray capital is a selector the harness cannot quote.
|
|
39
|
+
*
|
|
40
|
+
* The provider card names its capability and boundary rows with this same rule,
|
|
41
|
+
* so one spelling of a vocabulary key cannot yield two different selectors.
|
|
42
|
+
*/
|
|
43
|
+
export declare function kebabSegment(segment: string): string;
|
|
32
44
|
/**
|
|
33
45
|
* The test id of the control that writes `path`: the settings key is what the
|
|
34
46
|
* Host stores the value under and what the card mutates by, so a reworded
|
package/locale/en.json
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yadsh/dsh-qa-integrations",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.2",
|
|
4
4
|
"description": "Principal-scoped, encrypted user integrations for DSH QA Surface",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -36,12 +36,14 @@
|
|
|
36
36
|
"types": "./lib/types/types.d.ts",
|
|
37
37
|
"default": "./lib/types.js"
|
|
38
38
|
},
|
|
39
|
+
"./locale/en.json": "./locale/en.json",
|
|
39
40
|
"./package.json": "./package.json"
|
|
40
41
|
},
|
|
41
42
|
"files": [
|
|
42
43
|
"lib/**/*.js",
|
|
43
44
|
"lib/**/*.js.map",
|
|
44
45
|
"lib/**/*.d.ts",
|
|
46
|
+
"locale/*.json",
|
|
45
47
|
"cordis.patch.yml",
|
|
46
48
|
"compatibility.json",
|
|
47
49
|
"README.md",
|
|
@@ -88,8 +90,8 @@
|
|
|
88
90
|
"dependencies": {
|
|
89
91
|
"zod": "^4.4.3",
|
|
90
92
|
"@yadsh/dsh-plugin-kit": "^0.5.0",
|
|
91
|
-
"@yadsh/dsh-
|
|
92
|
-
"@yadsh/dsh-
|
|
93
|
+
"@yadsh/dsh-qa-surface": "^0.15.2",
|
|
94
|
+
"@yadsh/dsh-plugin-log": "^0.4.1"
|
|
93
95
|
},
|
|
94
96
|
"peerDependencies": {
|
|
95
97
|
"@deepseek-ai/cordis": "^4.0.4",
|