@dxos/client-protocol 0.8.4-main.c85a9c8dae → 0.8.4-main.d05673bc65
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/dist/lib/browser/{chunk-E5QFC5KE.mjs → chunk-HQBTSFTW.mjs} +2 -3
- package/dist/lib/browser/{chunk-E5QFC5KE.mjs.map → chunk-HQBTSFTW.mjs.map} +2 -2
- package/dist/lib/browser/index.mjs +4 -2
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/types/index.mjs +1 -1
- package/dist/lib/node-esm/{chunk-EXJC7UIY.mjs → chunk-URWCZ2QB.mjs} +2 -3
- package/dist/lib/node-esm/{chunk-EXJC7UIY.mjs.map → chunk-URWCZ2QB.mjs.map} +2 -2
- package/dist/lib/node-esm/index.mjs +4 -2
- package/dist/lib/node-esm/index.mjs.map +3 -3
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/types/index.mjs +1 -1
- package/dist/types/src/config.d.ts +3 -1
- package/dist/types/src/config.d.ts.map +1 -1
- package/dist/types/src/types/SpaceProperties.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +11 -11
- package/src/config.ts +5 -5
- package/src/types/SpaceProperties.ts +1 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/client-protocol",
|
|
3
|
-
"version": "0.8.4-main.
|
|
3
|
+
"version": "0.8.4-main.d05673bc65",
|
|
4
4
|
"description": "Core DXOS Client API.",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -41,16 +41,16 @@
|
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"base-x": "~3.0.11",
|
|
43
43
|
"effect": "3.19.16",
|
|
44
|
-
"@dxos/
|
|
45
|
-
"@dxos/credentials": "0.8.4-main.
|
|
46
|
-
"@dxos/
|
|
47
|
-
"@dxos/
|
|
48
|
-
"@dxos/
|
|
49
|
-
"@dxos/
|
|
50
|
-
"@dxos/
|
|
51
|
-
"@dxos/
|
|
52
|
-
"@dxos/
|
|
53
|
-
"@dxos/
|
|
44
|
+
"@dxos/context": "0.8.4-main.d05673bc65",
|
|
45
|
+
"@dxos/credentials": "0.8.4-main.d05673bc65",
|
|
46
|
+
"@dxos/echo": "0.8.4-main.d05673bc65",
|
|
47
|
+
"@dxos/echo-db": "0.8.4-main.d05673bc65",
|
|
48
|
+
"@dxos/invariant": "0.8.4-main.d05673bc65",
|
|
49
|
+
"@dxos/keys": "0.8.4-main.d05673bc65",
|
|
50
|
+
"@dxos/node-std": "0.8.4-main.d05673bc65",
|
|
51
|
+
"@dxos/protocols": "0.8.4-main.d05673bc65",
|
|
52
|
+
"@dxos/rpc": "0.8.4-main.d05673bc65",
|
|
53
|
+
"@dxos/async": "0.8.4-main.d05673bc65"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
56
|
"effect": "3.19.16"
|
package/src/config.ts
CHANGED
|
@@ -60,9 +60,9 @@ export namespace DXEnv {
|
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
//
|
|
64
|
-
|
|
65
|
-
// https://wiki.archlinux.org/title/XDG_Base_Directory
|
|
66
|
-
// Each `/dx` directory should contain `/profile/<DX_PROFILE>` subdirectories.
|
|
67
|
-
export const getProfilePath = (root: string, profile: string, file: string | undefined = undefined) =>
|
|
63
|
+
// Profile layout: profile/<name> is the profile dir; profile/<name>.yml is the config file.
|
|
64
|
+
export const getProfilePath = (root: string, profile: string, file?: string) =>
|
|
68
65
|
`${root}/profile/${profile}` + (file ? `/${file}` : '');
|
|
66
|
+
|
|
67
|
+
/** Path to the profile config file (profile/<name>.yml). */
|
|
68
|
+
export const getProfileConfigPath = (root: string, profile: string) => `${getProfilePath(root, profile)}.yml`;
|
|
@@ -39,8 +39,7 @@ export type SpacePropertiesSchema = Schema.Schema.Type<typeof SpacePropertiesSch
|
|
|
39
39
|
// TODO(burdon): Is separate schema def required for forms? Can it be extracted from SpaceProperties?
|
|
40
40
|
export const SpaceProperties = SpacePropertiesSchema.pipe(
|
|
41
41
|
Type.object({
|
|
42
|
-
|
|
43
|
-
typename: 'dxos.org/type/Properties',
|
|
42
|
+
typename: 'org.dxos.type.space-properties',
|
|
44
43
|
version: '0.1.0',
|
|
45
44
|
}),
|
|
46
45
|
Annotation.SystemTypeAnnotation.set(true),
|