@prettier-ai/dsh-client-ui-settings 0.1.2-alpha.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/LICENSE +21 -0
- package/README.i18n.yaml +6 -0
- package/README.md +107 -0
- package/README.zh.md +107 -0
- package/lib/client.js +1377 -0
- package/lib/index.js +6 -0
- package/lib/invariant.js +25 -0
- package/lib/types/client/contract/slots.d.ts +161 -0
- package/lib/types/client/index.d.ts +36 -0
- package/lib/types/client/schema.d.ts +72 -0
- package/lib/types/client/settings-contract.d.ts +86 -0
- package/lib/types/client/settings-mirror.d.ts +130 -0
- package/lib/types/client/settings-scope.d.ts +139 -0
- package/lib/types/index.d.ts +4 -0
- package/lib/types/invariant.d.ts +16 -0
- package/package.json +74 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Package-owned invariant companion for `@prettier-ai/dsh-client-ui-settings`.
|
|
3
|
+
* @module @prettier-ai/dsh-client-ui-settings/invariant
|
|
4
|
+
*/
|
|
5
|
+
import type { Context } from '@prettier-ai/cordis';
|
|
6
|
+
/** Cordis companion plugin name. */
|
|
7
|
+
export declare const name = "client-ui-settings-invariant";
|
|
8
|
+
/** Service required before the companion can reserve package ownership. */
|
|
9
|
+
export declare const inject: string[];
|
|
10
|
+
/**
|
|
11
|
+
* Register this package's invariant companion.
|
|
12
|
+
* @param ctx - Cordis context carrying the invariant service.
|
|
13
|
+
* @returns the installed registration's disposer after setup succeeds.
|
|
14
|
+
*/
|
|
15
|
+
export declare const apply: (ctx: Context) => Promise<() => void>;
|
|
16
|
+
//# sourceMappingURL=invariant.d.ts.map
|
package/package.json
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@prettier-ai/dsh-client-ui-settings",
|
|
3
|
+
"description": "Settings domain base plugin: the settings-namespace scope service and the canonical settings slot-type contract",
|
|
4
|
+
"version": "0.1.2-alpha.1",
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"access": "public"
|
|
7
|
+
},
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/deepseek-ai/deepseek-harness.git",
|
|
11
|
+
"directory": "packages/client/ui-settings"
|
|
12
|
+
},
|
|
13
|
+
"type": "module",
|
|
14
|
+
"main": "lib/index.js",
|
|
15
|
+
"types": "lib/types/index.d.ts",
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"types": "./lib/types/index.d.ts",
|
|
19
|
+
"default": "./lib/index.js"
|
|
20
|
+
},
|
|
21
|
+
"./invariant": {
|
|
22
|
+
"types": "./lib/types/invariant.d.ts",
|
|
23
|
+
"default": "./lib/invariant.js"
|
|
24
|
+
},
|
|
25
|
+
"./client": {
|
|
26
|
+
"types": "./lib/types/client/index.d.ts",
|
|
27
|
+
"default": "./lib/client.js"
|
|
28
|
+
},
|
|
29
|
+
"./src/*": "./src/*",
|
|
30
|
+
"./package.json": "./package.json"
|
|
31
|
+
},
|
|
32
|
+
"dsh": {
|
|
33
|
+
"client": {
|
|
34
|
+
"inject": [
|
|
35
|
+
"@prettier-ai/dsh-client-connection",
|
|
36
|
+
"@prettier-ai/dsh-api-remotes"
|
|
37
|
+
],
|
|
38
|
+
"platform": "web"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"license": "MIT",
|
|
42
|
+
"dependencies": {
|
|
43
|
+
"@prettier-ai/schemastery": "^3.18.1"
|
|
44
|
+
},
|
|
45
|
+
"peerDependencies": {
|
|
46
|
+
"@prettier-ai/dsh-api-remotes": "^0.1.2-alpha.1",
|
|
47
|
+
"@prettier-ai/dsh-client-connection": "^0.1.2-alpha.1",
|
|
48
|
+
"@prettier-ai/dsh-invariants": "^0.1.2-alpha.1",
|
|
49
|
+
"@prettier-ai/dsh-settings": "^0.1.2-alpha.1",
|
|
50
|
+
"@prettier-ai/cordis": "^4.0.1"
|
|
51
|
+
},
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"@types/react": "~18.3.1",
|
|
54
|
+
"react": "^18.2.0",
|
|
55
|
+
"@prettier-ai/cordis": "^4.0.1",
|
|
56
|
+
"@prettier-ai/dsh-client-test-runtime": "^0.1.2-alpha.1",
|
|
57
|
+
"@prettier-ai/dsh-client-ui-slots": "^0.1.2-alpha.1",
|
|
58
|
+
"@prettier-ai/dsh-client-store": "^0.1.2-alpha.1",
|
|
59
|
+
"@prettier-ai/dsh-api-remotes": "^0.1.2-alpha.1",
|
|
60
|
+
"@prettier-ai/dsh-invariants": "^0.1.2-alpha.1",
|
|
61
|
+
"@prettier-ai/dsh-client-connection": "^0.1.2-alpha.1",
|
|
62
|
+
"@prettier-ai/dsh-settings": "^0.1.2-alpha.1"
|
|
63
|
+
},
|
|
64
|
+
"files": [
|
|
65
|
+
"lib/index.js",
|
|
66
|
+
"lib/invariant.js",
|
|
67
|
+
"lib/client.js",
|
|
68
|
+
"lib/types/**/*.d.ts"
|
|
69
|
+
],
|
|
70
|
+
"scripts": {
|
|
71
|
+
"bundle": "tsdown",
|
|
72
|
+
"watch": "tsdown --watch"
|
|
73
|
+
}
|
|
74
|
+
}
|