@dxos/plugin-client 0.8.2-staging.7ac8446 → 0.8.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/dist/lib/browser/{app-graph-builder-WAS4YZNA.mjs → app-graph-builder-CBRN2DMK.mjs} +36 -32
- package/dist/lib/browser/app-graph-builder-CBRN2DMK.mjs.map +7 -0
- package/dist/lib/browser/chunk-DCUIJY75.mjs +694 -0
- package/dist/lib/browser/chunk-DCUIJY75.mjs.map +7 -0
- package/dist/lib/browser/chunk-IA3AVM4I.mjs +111 -0
- package/dist/lib/browser/chunk-IA3AVM4I.mjs.map +7 -0
- package/dist/lib/browser/{chunk-BGY6BSUC.mjs → chunk-PSSNS4C6.mjs} +2 -2
- package/dist/lib/{node-esm/chunk-K3KGGSJZ.mjs.map → browser/chunk-PSSNS4C6.mjs.map} +1 -1
- package/dist/lib/browser/{chunk-4PLF3BEB.mjs → chunk-UCVFWBKT.mjs} +2 -2
- package/dist/lib/{node-esm/chunk-BP56BGZR.mjs.map → browser/chunk-UCVFWBKT.mjs.map} +1 -1
- package/dist/lib/browser/{client-LV67Q3R7.mjs → client-NMS3MSFP.mjs} +5 -4
- package/dist/lib/browser/client-NMS3MSFP.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +12 -12
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/{intent-resolver-NCISOZW4.mjs → intent-resolver-KGM6A3BF.mjs} +14 -14
- package/dist/lib/browser/intent-resolver-KGM6A3BF.mjs.map +7 -0
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/migrations-QRQV6ZAM.mjs +23 -0
- package/dist/lib/browser/migrations-QRQV6ZAM.mjs.map +7 -0
- package/dist/lib/browser/{react-context-WEH7SL4I.mjs → react-context-IE2O2OYK.mjs} +2 -2
- package/dist/lib/browser/{react-surface-J7SZR2J6.mjs → react-surface-CKZHHWY3.mjs} +3 -3
- package/dist/lib/browser/schema-defs-DNRDVQQJ.mjs +25 -0
- package/dist/lib/browser/schema-defs-DNRDVQQJ.mjs.map +7 -0
- package/dist/lib/browser/types.mjs +1 -1
- package/dist/lib/node/{app-graph-builder-PXOJZJO5.cjs → app-graph-builder-BEEYM3A5.cjs} +45 -41
- package/dist/lib/node/app-graph-builder-BEEYM3A5.cjs.map +7 -0
- package/dist/lib/node/chunk-73HHNJMV.cjs +719 -0
- package/dist/lib/node/chunk-73HHNJMV.cjs.map +7 -0
- package/dist/lib/node/chunk-BL6EBWOS.cjs +131 -0
- package/dist/lib/node/chunk-BL6EBWOS.cjs.map +7 -0
- package/dist/lib/node/{chunk-ZVQIICEN.cjs → chunk-CIYUKY3J.cjs} +5 -5
- package/dist/lib/node/{chunk-ZVQIICEN.cjs.map → chunk-CIYUKY3J.cjs.map} +1 -1
- package/dist/lib/node/{chunk-W64EOF2B.cjs → chunk-DNKJCPU7.cjs} +5 -5
- package/dist/lib/node/{chunk-W64EOF2B.cjs.map → chunk-DNKJCPU7.cjs.map} +1 -1
- package/dist/lib/node/{client-BKTGRBYM.cjs → client-Q3EQS4HA.cjs} +10 -9
- package/dist/lib/node/client-Q3EQS4HA.cjs.map +7 -0
- package/dist/lib/node/index.cjs +19 -19
- package/dist/lib/node/index.cjs.map +3 -3
- package/dist/lib/node/{intent-resolver-U2576ALY.cjs → intent-resolver-Q4QBA5B2.cjs} +34 -34
- package/dist/lib/node/intent-resolver-Q4QBA5B2.cjs.map +7 -0
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/{migrations-TGNI4FVL.cjs → migrations-6FEWMF7U.cjs} +12 -10
- package/dist/lib/node/migrations-6FEWMF7U.cjs.map +7 -0
- package/dist/lib/node/{react-context-SF3M3YLR.cjs → react-context-JS7Y5ZOK.cjs} +6 -6
- package/dist/lib/node/{react-surface-BSTIXMER.cjs → react-surface-GHKLUOKW.cjs} +24 -24
- package/dist/lib/node/{schema-INQ72F54.cjs → schema-defs-TA52ARBO.cjs} +14 -12
- package/dist/lib/node/schema-defs-TA52ARBO.cjs.map +7 -0
- package/dist/lib/node/types.cjs +3 -3
- package/dist/lib/node/types.cjs.map +1 -1
- package/dist/lib/node-esm/{app-graph-builder-KIN6NWFI.mjs → app-graph-builder-OZEAAKNT.mjs} +36 -32
- package/dist/lib/node-esm/app-graph-builder-OZEAAKNT.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-K3KGGSJZ.mjs → chunk-37E3EI46.mjs} +2 -2
- package/dist/lib/{browser/chunk-BGY6BSUC.mjs.map → node-esm/chunk-37E3EI46.mjs.map} +1 -1
- package/dist/lib/node-esm/{chunk-BP56BGZR.mjs → chunk-FJYSQRBO.mjs} +2 -2
- package/dist/lib/{browser/chunk-4PLF3BEB.mjs.map → node-esm/chunk-FJYSQRBO.mjs.map} +1 -1
- package/dist/lib/node-esm/chunk-STGGUFV2.mjs +112 -0
- package/dist/lib/node-esm/chunk-STGGUFV2.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-ULXZABZ4.mjs +695 -0
- package/dist/lib/node-esm/chunk-ULXZABZ4.mjs.map +7 -0
- package/dist/lib/node-esm/{client-QQD6WFOB.mjs → client-EBFQZRSF.mjs} +5 -4
- package/dist/lib/node-esm/client-EBFQZRSF.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +12 -12
- package/dist/lib/node-esm/index.mjs.map +3 -3
- package/dist/lib/node-esm/{intent-resolver-G25U4UGI.mjs → intent-resolver-2GCG4LCE.mjs} +14 -14
- package/dist/lib/node-esm/intent-resolver-2GCG4LCE.mjs.map +7 -0
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/{migrations-IVGATGZR.mjs → migrations-AK43ZE6G.mjs} +9 -7
- package/dist/lib/node-esm/migrations-AK43ZE6G.mjs.map +7 -0
- package/dist/lib/node-esm/{react-context-EAKKTE5A.mjs → react-context-6N7NMUJE.mjs} +2 -2
- package/dist/lib/node-esm/{react-surface-ZPI7T4EM.mjs → react-surface-UCUL26AF.mjs} +3 -3
- package/dist/lib/node-esm/schema-defs-O2KQQXJH.mjs +26 -0
- package/dist/lib/node-esm/schema-defs-O2KQQXJH.mjs.map +7 -0
- package/dist/lib/node-esm/types.mjs +1 -1
- package/dist/types/src/ClientPlugin.d.ts.map +1 -1
- package/dist/types/src/capabilities/app-graph-builder.d.ts +2 -179
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
- package/dist/types/src/capabilities/client.d.ts +3 -3
- package/dist/types/src/capabilities/client.d.ts.map +1 -1
- package/dist/types/src/capabilities/index.d.ts +5 -181
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/intent-resolver.d.ts +2 -2
- package/dist/types/src/capabilities/intent-resolver.d.ts.map +1 -1
- package/dist/types/src/capabilities/migrations.d.ts +2 -2
- package/dist/types/src/capabilities/migrations.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
- package/dist/types/src/capabilities/schema-defs.d.ts +4 -0
- package/dist/types/src/capabilities/schema-defs.d.ts.map +1 -0
- package/dist/types/src/components/DevicesContainer.d.ts +4 -3
- package/dist/types/src/components/DevicesContainer.d.ts.map +1 -1
- package/dist/types/src/components/DevicesContainer.stories.d.ts.map +1 -1
- package/dist/types/src/components/JoinDialog.d.ts.map +1 -1
- package/dist/types/src/components/ProfileContainer.d.ts.map +1 -1
- package/dist/types/src/components/RecoveryCodeDialog.d.ts.map +1 -1
- package/dist/types/src/components/RecoveryCredentialsContainer.d.ts.map +1 -1
- package/dist/types/src/components/ResetDialog.d.ts.map +1 -1
- package/dist/types/src/components/ResetDialog.stories.d.ts.map +1 -1
- package/dist/types/src/types.d.ts +59 -53
- package/dist/types/src/types.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +33 -26
- package/src/ClientPlugin.ts +2 -2
- package/src/capabilities/app-graph-builder.ts +94 -76
- package/src/capabilities/client.ts +4 -3
- package/src/capabilities/index.ts +1 -1
- package/src/capabilities/intent-resolver.ts +11 -11
- package/src/capabilities/migrations.ts +14 -11
- package/src/capabilities/schema-defs.ts +29 -0
- package/src/components/DevicesContainer.stories.tsx +7 -3
- package/src/components/DevicesContainer.tsx +85 -61
- package/src/components/ProfileContainer.stories.tsx +1 -1
- package/src/components/ProfileContainer.tsx +30 -21
- package/src/components/RecoveryCodeDialog.stories.tsx +1 -1
- package/src/components/RecoveryCredentialsContainer.stories.tsx +2 -2
- package/src/components/RecoveryCredentialsContainer.tsx +48 -46
- package/src/components/ResetDialog.stories.tsx +7 -1
- package/src/translations.ts +2 -2
- package/src/types.ts +60 -47
- package/dist/lib/browser/app-graph-builder-WAS4YZNA.mjs.map +0 -7
- package/dist/lib/browser/chunk-AN7FJKIJ.mjs +0 -105
- package/dist/lib/browser/chunk-AN7FJKIJ.mjs.map +0 -7
- package/dist/lib/browser/chunk-XZ4TQC56.mjs +0 -619
- package/dist/lib/browser/chunk-XZ4TQC56.mjs.map +0 -7
- package/dist/lib/browser/client-LV67Q3R7.mjs.map +0 -7
- package/dist/lib/browser/intent-resolver-NCISOZW4.mjs.map +0 -7
- package/dist/lib/browser/migrations-3DWFOL5Q.mjs +0 -21
- package/dist/lib/browser/migrations-3DWFOL5Q.mjs.map +0 -7
- package/dist/lib/browser/schema-JQAT6Q7S.mjs +0 -23
- package/dist/lib/browser/schema-JQAT6Q7S.mjs.map +0 -7
- package/dist/lib/node/app-graph-builder-PXOJZJO5.cjs.map +0 -7
- package/dist/lib/node/chunk-3JE5BFCT.cjs +0 -644
- package/dist/lib/node/chunk-3JE5BFCT.cjs.map +0 -7
- package/dist/lib/node/chunk-FROKBEVH.cjs +0 -125
- package/dist/lib/node/chunk-FROKBEVH.cjs.map +0 -7
- package/dist/lib/node/client-BKTGRBYM.cjs.map +0 -7
- package/dist/lib/node/intent-resolver-U2576ALY.cjs.map +0 -7
- package/dist/lib/node/migrations-TGNI4FVL.cjs.map +0 -7
- package/dist/lib/node/schema-INQ72F54.cjs.map +0 -7
- package/dist/lib/node-esm/app-graph-builder-KIN6NWFI.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-AD5W5QCQ.mjs +0 -106
- package/dist/lib/node-esm/chunk-AD5W5QCQ.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-LZN2UNN7.mjs +0 -620
- package/dist/lib/node-esm/chunk-LZN2UNN7.mjs.map +0 -7
- package/dist/lib/node-esm/client-QQD6WFOB.mjs.map +0 -7
- package/dist/lib/node-esm/intent-resolver-G25U4UGI.mjs.map +0 -7
- package/dist/lib/node-esm/migrations-IVGATGZR.mjs.map +0 -7
- package/dist/lib/node-esm/schema-OK7HY3JJ.mjs +0 -24
- package/dist/lib/node-esm/schema-OK7HY3JJ.mjs.map +0 -7
- package/dist/types/src/capabilities/schema.d.ts +0 -4
- package/dist/types/src/capabilities/schema.d.ts.map +0 -1
- package/src/capabilities/schema.ts +0 -26
- /package/dist/lib/browser/{react-context-WEH7SL4I.mjs.map → react-context-IE2O2OYK.mjs.map} +0 -0
- /package/dist/lib/browser/{react-surface-J7SZR2J6.mjs.map → react-surface-CKZHHWY3.mjs.map} +0 -0
- /package/dist/lib/node/{react-context-SF3M3YLR.cjs.map → react-context-JS7Y5ZOK.cjs.map} +0 -0
- /package/dist/lib/node/{react-surface-BSTIXMER.cjs.map → react-surface-GHKLUOKW.cjs.map} +0 -0
- /package/dist/lib/node-esm/{react-context-EAKKTE5A.mjs.map → react-context-6N7NMUJE.mjs.map} +0 -0
- /package/dist/lib/node-esm/{react-surface-ZPI7T4EM.mjs.map → react-surface-UCUL26AF.mjs.map} +0 -0
|
@@ -1,188 +1,12 @@
|
|
|
1
|
-
export declare const AppGraphBuilder: (props?: import("@dxos/app-framework").
|
|
2
|
-
id: string;
|
|
3
|
-
position: import("@dxos/util").Position;
|
|
4
|
-
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
5
|
-
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
6
|
-
relation?: import("@dxos/app-graph").Relation;
|
|
7
|
-
type?: string;
|
|
8
|
-
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
9
|
-
}> | Readonly<{
|
|
10
|
-
id: string;
|
|
11
|
-
position: import("@dxos/util").Position;
|
|
12
|
-
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
13
|
-
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
14
|
-
relation?: import("@dxos/app-graph").Relation;
|
|
15
|
-
type?: string;
|
|
16
|
-
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
17
|
-
}>[] | (Readonly<{
|
|
18
|
-
id: string;
|
|
19
|
-
position: import("@dxos/util").Position;
|
|
20
|
-
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
21
|
-
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
22
|
-
relation?: import("@dxos/app-graph").Relation;
|
|
23
|
-
type?: string;
|
|
24
|
-
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
25
|
-
}> | Readonly<{
|
|
26
|
-
id: string;
|
|
27
|
-
position: import("@dxos/util").Position;
|
|
28
|
-
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
29
|
-
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
30
|
-
relation?: import("@dxos/app-graph").Relation;
|
|
31
|
-
type?: string;
|
|
32
|
-
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
33
|
-
}>[] | (Readonly<{
|
|
34
|
-
id: string;
|
|
35
|
-
position: import("@dxos/util").Position;
|
|
36
|
-
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
37
|
-
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
38
|
-
relation?: import("@dxos/app-graph").Relation;
|
|
39
|
-
type?: string;
|
|
40
|
-
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
41
|
-
}> | Readonly<{
|
|
42
|
-
id: string;
|
|
43
|
-
position: import("@dxos/util").Position;
|
|
44
|
-
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
45
|
-
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
46
|
-
relation?: import("@dxos/app-graph").Relation;
|
|
47
|
-
type?: string;
|
|
48
|
-
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
49
|
-
}>[] | (Readonly<{
|
|
50
|
-
id: string;
|
|
51
|
-
position: import("@dxos/util").Position;
|
|
52
|
-
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
53
|
-
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
54
|
-
relation?: import("@dxos/app-graph").Relation;
|
|
55
|
-
type?: string;
|
|
56
|
-
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
57
|
-
}> | Readonly<{
|
|
58
|
-
id: string;
|
|
59
|
-
position: import("@dxos/util").Position;
|
|
60
|
-
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
61
|
-
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
62
|
-
relation?: import("@dxos/app-graph").Relation;
|
|
63
|
-
type?: string;
|
|
64
|
-
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
65
|
-
}>[] | (Readonly<{
|
|
66
|
-
id: string;
|
|
67
|
-
position: import("@dxos/util").Position;
|
|
68
|
-
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
69
|
-
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
70
|
-
relation?: import("@dxos/app-graph").Relation;
|
|
71
|
-
type?: string;
|
|
72
|
-
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
73
|
-
}> | Readonly<{
|
|
74
|
-
id: string;
|
|
75
|
-
position: import("@dxos/util").Position;
|
|
76
|
-
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
77
|
-
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
78
|
-
relation?: import("@dxos/app-graph").Relation;
|
|
79
|
-
type?: string;
|
|
80
|
-
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
81
|
-
}>[] | (Readonly<{
|
|
82
|
-
id: string;
|
|
83
|
-
position: import("@dxos/util").Position;
|
|
84
|
-
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
85
|
-
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
86
|
-
relation?: import("@dxos/app-graph").Relation;
|
|
87
|
-
type?: string;
|
|
88
|
-
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
89
|
-
}> | Readonly<{
|
|
90
|
-
id: string;
|
|
91
|
-
position: import("@dxos/util").Position;
|
|
92
|
-
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
93
|
-
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
94
|
-
relation?: import("@dxos/app-graph").Relation;
|
|
95
|
-
type?: string;
|
|
96
|
-
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
97
|
-
}>[] | (Readonly<{
|
|
98
|
-
id: string;
|
|
99
|
-
position: import("@dxos/util").Position;
|
|
100
|
-
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
101
|
-
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
102
|
-
relation?: import("@dxos/app-graph").Relation;
|
|
103
|
-
type?: string;
|
|
104
|
-
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
105
|
-
}> | Readonly<{
|
|
106
|
-
id: string;
|
|
107
|
-
position: import("@dxos/util").Position;
|
|
108
|
-
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
109
|
-
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
110
|
-
relation?: import("@dxos/app-graph").Relation;
|
|
111
|
-
type?: string;
|
|
112
|
-
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
113
|
-
}>[] | (Readonly<{
|
|
114
|
-
id: string;
|
|
115
|
-
position: import("@dxos/util").Position;
|
|
116
|
-
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
117
|
-
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
118
|
-
relation?: import("@dxos/app-graph").Relation;
|
|
119
|
-
type?: string;
|
|
120
|
-
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
121
|
-
}> | Readonly<{
|
|
122
|
-
id: string;
|
|
123
|
-
position: import("@dxos/util").Position;
|
|
124
|
-
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
125
|
-
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
126
|
-
relation?: import("@dxos/app-graph").Relation;
|
|
127
|
-
type?: string;
|
|
128
|
-
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
129
|
-
}>[] | (Readonly<{
|
|
130
|
-
id: string;
|
|
131
|
-
position: import("@dxos/util").Position;
|
|
132
|
-
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
133
|
-
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
134
|
-
relation?: import("@dxos/app-graph").Relation;
|
|
135
|
-
type?: string;
|
|
136
|
-
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
137
|
-
}> | Readonly<{
|
|
138
|
-
id: string;
|
|
139
|
-
position: import("@dxos/util").Position;
|
|
140
|
-
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
141
|
-
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
142
|
-
relation?: import("@dxos/app-graph").Relation;
|
|
143
|
-
type?: string;
|
|
144
|
-
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
145
|
-
}>[] | (Readonly<{
|
|
146
|
-
id: string;
|
|
147
|
-
position: import("@dxos/util").Position;
|
|
148
|
-
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
149
|
-
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
150
|
-
relation?: import("@dxos/app-graph").Relation;
|
|
151
|
-
type?: string;
|
|
152
|
-
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
153
|
-
}> | Readonly<{
|
|
154
|
-
id: string;
|
|
155
|
-
position: import("@dxos/util").Position;
|
|
156
|
-
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
157
|
-
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
158
|
-
relation?: import("@dxos/app-graph").Relation;
|
|
159
|
-
type?: string;
|
|
160
|
-
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
161
|
-
}>[] | (any[] | Readonly<{
|
|
162
|
-
id: string;
|
|
163
|
-
position: import("@dxos/util").Position;
|
|
164
|
-
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
165
|
-
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
166
|
-
relation?: import("@dxos/app-graph").Relation;
|
|
167
|
-
type?: string;
|
|
168
|
-
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
169
|
-
}> | Readonly<{
|
|
170
|
-
id: string;
|
|
171
|
-
position: import("@dxos/util").Position;
|
|
172
|
-
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
173
|
-
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
174
|
-
relation?: import("@dxos/app-graph").Relation;
|
|
175
|
-
type?: string;
|
|
176
|
-
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
177
|
-
}>[])[])[])[])[])[])[])[])[])[])[]> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
1
|
+
export declare const AppGraphBuilder: (props?: import("@dxos/app-framework").PluginContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-graph").BuilderExtensions> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
178
2
|
export declare const Client: (props?: (Omit<import("../types").ClientPluginOptions, "appKey" | "invitationUrl" | "invitationParam" | "onReset"> & {
|
|
179
|
-
context: import("@dxos/app-framework").
|
|
3
|
+
context: import("@dxos/app-framework").PluginContext;
|
|
180
4
|
}) | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/client").Client> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
181
5
|
export declare const IntentResolver: (props?: {
|
|
182
|
-
context: import("@dxos/app-framework").
|
|
6
|
+
context: import("@dxos/app-framework").PluginContext;
|
|
183
7
|
appName?: string;
|
|
184
8
|
} | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").Capabilities.IntentResolver> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
185
|
-
export declare const Migrations: (props?: import("@dxos/app-framework").
|
|
9
|
+
export declare const Migrations: (props?: import("@dxos/app-framework").PluginContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<null> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
186
10
|
export declare const ReactContext: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").Capability<Readonly<{
|
|
187
11
|
id: string;
|
|
188
12
|
dependsOn?: string[];
|
|
@@ -191,6 +15,6 @@ export declare const ReactContext: (props?: unknown) => Promise<() => Promise<im
|
|
|
191
15
|
export declare const ReactSurface: (props?: (Pick<import("../types").ClientPluginOptions, "onReset"> & {
|
|
192
16
|
createInvitationUrl: (invitationCode: string) => string;
|
|
193
17
|
}) | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").Capabilities.ReactSurface> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
194
|
-
export declare const
|
|
18
|
+
export declare const SchemaDefs: (props?: import("@dxos/app-framework").PluginContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<null> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
195
19
|
export * from './capabilities';
|
|
196
20
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,eAAe,oOAAkD,CAAC;AAC/E,eAAO,MAAM,MAAM;;kKAAuC,CAAC;AAC3D,eAAO,MAAM,cAAc;;;6LAAgD,CAAC;AAC5E,eAAO,MAAM,UAAU,6LAA2C,CAAC;AACnE,eAAO,MAAM,YAAY;;;;qDAA8C,CAAC;AACxE,eAAO,MAAM,YAAY;;4LAA8C,CAAC;AACxE,eAAO,MAAM,UAAU,6LAA4C,CAAC;AAEpE,cAAc,gBAAgB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Capabilities, type
|
|
1
|
+
import { Capabilities, type PluginContext } from '@dxos/app-framework';
|
|
2
2
|
type IntentResolverOptions = {
|
|
3
|
-
context:
|
|
3
|
+
context: PluginContext;
|
|
4
4
|
appName?: string;
|
|
5
5
|
};
|
|
6
6
|
declare const _default: ({ context, appName }: IntentResolverOptions) => import("@dxos/app-framework").Capability<Capabilities.IntentResolver>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"intent-resolver.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/intent-resolver.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,YAAY,EAMZ,KAAK,
|
|
1
|
+
{"version":3,"file":"intent-resolver.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/intent-resolver.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,YAAY,EAMZ,KAAK,aAAa,EACnB,MAAM,qBAAqB,CAAC;AAW7B,KAAK,qBAAqB,GAAG;IAC3B,OAAO,EAAE,aAAa,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;yBAIc,sBAAmC,qBAAqB;AAAxE,wBAyNK"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
declare const _default: (context:
|
|
1
|
+
import { type PluginContext } from '@dxos/app-framework';
|
|
2
|
+
declare const _default: (context: PluginContext) => import("@dxos/app-framework").Capability<null>;
|
|
3
3
|
export default _default;
|
|
4
4
|
//# sourceMappingURL=migrations.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"migrations.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/migrations.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"migrations.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/migrations.ts"],"names":[],"mappings":"AAIA,OAAO,EAA6B,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;yBAIpE,SAAS,aAAa;AAAtC,wBAgBE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAiB,YAAY,EAAe,MAAM,qBAAqB,CAAC;AAgB/E,OAAO,EAAW,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAE7D,KAAK,mBAAmB,GAAG,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,GAAG;IAChE,mBAAmB,EAAE,CAAC,cAAc,EAAE,MAAM,KAAK,MAAM,CAAC;CACzD,CAAC;
|
|
1
|
+
{"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAiB,YAAY,EAAe,MAAM,qBAAqB,CAAC;AAgB/E,OAAO,EAAW,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAE7D,KAAK,mBAAmB,GAAG,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,GAAG;IAChE,mBAAmB,EAAE,CAAC,cAAc,EAAE,MAAM,KAAK,MAAM,CAAC;CACzD,CAAC;yBAEc,kCAAkC,mBAAmB;AAArE,wBAsCK"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema-defs.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/schema-defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAA6B,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;yBAKpE,SAAS,aAAa;AAAtC,wBAmBE"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export
|
|
3
|
-
createInvitationUrl
|
|
4
|
-
}
|
|
2
|
+
export type DevicesContainerProps = {
|
|
3
|
+
createInvitationUrl?: (invitationCode: string) => string;
|
|
4
|
+
};
|
|
5
|
+
export declare const DevicesContainer: ({ createInvitationUrl }: DevicesContainerProps) => React.JSX.Element;
|
|
5
6
|
//# sourceMappingURL=DevicesContainer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DevicesContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/DevicesContainer.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA2C,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DevicesContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/DevicesContainer.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA2C,MAAM,OAAO,CAAC;AA0BhE,MAAM,MAAM,qBAAqB,GAAG;IAClC,mBAAmB,CAAC,EAAE,CAAC,cAAc,EAAE,MAAM,KAAK,MAAM,CAAC;CAC1D,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,yBAAyB,qBAAqB,sBAsF9E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DevicesContainer.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/DevicesContainer.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAO5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAItD,QAAA,MAAM,IAAI,EAAE,IAqBX,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE/C,eAAO,MAAM,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"DevicesContainer.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/DevicesContainer.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAO5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAItD,QAAA,MAAM,IAAI,EAAE,IAqBX,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE/C,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JoinDialog.d.ts","sourceRoot":"","sources":["../../../../src/components/JoinDialog.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAM3C,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAKnE,eAAO,MAAM,WAAW,sCAAgC,CAAC;AAEzD,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"JoinDialog.d.ts","sourceRoot":"","sources":["../../../../src/components/JoinDialog.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAM3C,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAKnE,eAAO,MAAM,WAAW,sCAAgC,CAAC;AAEzD,eAAO,MAAM,UAAU,GAAI,OAAO,cAAc,sBAmC/C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProfileContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/ProfileContainer.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA2D,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ProfileContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/ProfileContainer.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA2D,MAAM,OAAO,CAAC;AA0BhF,eAAO,MAAM,gBAAgB,yBAmI5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecoveryCodeDialog.d.ts","sourceRoot":"","sources":["../../../../src/components/RecoveryCodeDialog.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAMrD,eAAO,MAAM,oBAAoB,8CAAwC,CAAC;AAE1E,MAAM,MAAM,uBAAuB,GAAG;IACpC,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"RecoveryCodeDialog.d.ts","sourceRoot":"","sources":["../../../../src/components/RecoveryCodeDialog.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAMrD,eAAO,MAAM,oBAAoB,8CAAwC,CAAC;AAE1E,MAAM,MAAM,uBAAuB,GAAG;IACpC,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,UAAU,uBAAuB,sBAoCnE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecoveryCredentialsContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/RecoveryCredentialsContainer.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,eAAO,MAAM,yBAAyB,mDAA6C,CAAC;AAEpF,eAAO,MAAM,4BAA4B,
|
|
1
|
+
{"version":3,"file":"RecoveryCredentialsContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/RecoveryCredentialsContainer.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,eAAO,MAAM,yBAAyB,mDAA6C,CAAC;AAEpF,eAAO,MAAM,4BAA4B,yBA0DxC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResetDialog.d.ts","sourceRoot":"","sources":["../../../../src/components/ResetDialog.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAK3C,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAGzE,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEpD,eAAO,MAAM,YAAY,uCAAiC,CAAC;AAE3D,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,iBAAiB,EAAE,MAAM,CAAC,GAAG,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,CAAC;AAEtG,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"ResetDialog.d.ts","sourceRoot":"","sources":["../../../../src/components/ResetDialog.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAK3C,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAGzE,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEpD,eAAO,MAAM,YAAY,uCAAiC,CAAC;AAE3D,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,iBAAiB,EAAE,MAAM,CAAC,GAAG,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC,CAAC;AAEtG,eAAO,MAAM,WAAW,GAAI,mBAAmB,gBAAgB,sBA8B9D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResetDialog.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ResetDialog.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAQ5D,OAAO,EAAe,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAanE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,gBAAgB,
|
|
1
|
+
{"version":3,"file":"ResetDialog.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ResetDialog.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAQ5D,OAAO,EAAe,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAanE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,gBAAgB,CAehC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,gBAAgB,CAAC,CAAC;AAExC,eAAO,MAAM,OAAO,EAAE,KAA2C,CAAC;AAElE,eAAO,MAAM,eAAe,EAAE,KAA+C,CAAC;AAE9E,eAAO,MAAM,OAAO,EAAE,KAAqC,CAAC"}
|
|
@@ -1,101 +1,103 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Schema } from 'effect';
|
|
2
|
+
import { type PluginContext } from '@dxos/app-framework';
|
|
3
3
|
import { type Client, PublicKey, type ClientOptions } from '@dxos/react-client';
|
|
4
4
|
import { type MaybePromise } from '@dxos/util';
|
|
5
5
|
export declare namespace ClientAction {
|
|
6
|
-
const CreateIdentity_base:
|
|
7
|
-
readonly _tag:
|
|
6
|
+
const CreateIdentity_base: Schema.TaggedClass<CreateIdentity, "dxos.org/plugin/client/action/create-identity", {
|
|
7
|
+
readonly _tag: Schema.tag<"dxos.org/plugin/client/action/create-identity">;
|
|
8
8
|
} & {
|
|
9
|
-
input:
|
|
10
|
-
displayName:
|
|
9
|
+
input: Schema.Struct<{
|
|
10
|
+
displayName: Schema.optional<typeof Schema.String>;
|
|
11
|
+
avatarCid: Schema.optional<typeof Schema.String>;
|
|
12
|
+
data: Schema.optional<Schema.Record$<typeof Schema.String, typeof Schema.Any>>;
|
|
11
13
|
}>;
|
|
12
|
-
output:
|
|
13
|
-
identityKey:
|
|
14
|
-
spaceKey:
|
|
15
|
-
profile:
|
|
16
|
-
displayName:
|
|
17
|
-
avatarCid:
|
|
18
|
-
data:
|
|
14
|
+
output: Schema.Struct<{
|
|
15
|
+
identityKey: Schema.instanceOf<PublicKey>;
|
|
16
|
+
spaceKey: Schema.optional<Schema.instanceOf<PublicKey>>;
|
|
17
|
+
profile: Schema.optional<Schema.Struct<{
|
|
18
|
+
displayName: Schema.optional<typeof Schema.String>;
|
|
19
|
+
avatarCid: Schema.optional<typeof Schema.String>;
|
|
20
|
+
data: Schema.optional<Schema.Record$<typeof Schema.String, typeof Schema.Any>>;
|
|
19
21
|
}>>;
|
|
20
22
|
}>;
|
|
21
23
|
}>;
|
|
22
24
|
export class CreateIdentity extends CreateIdentity_base {
|
|
23
25
|
}
|
|
24
|
-
const JoinIdentity_base:
|
|
25
|
-
readonly _tag:
|
|
26
|
+
const JoinIdentity_base: Schema.TaggedClass<JoinIdentity, "dxos.org/plugin/client/action/join-identity", {
|
|
27
|
+
readonly _tag: Schema.tag<"dxos.org/plugin/client/action/join-identity">;
|
|
26
28
|
} & {
|
|
27
|
-
input:
|
|
28
|
-
invitationCode:
|
|
29
|
+
input: Schema.Struct<{
|
|
30
|
+
invitationCode: Schema.optional<typeof Schema.String>;
|
|
29
31
|
}>;
|
|
30
|
-
output: typeof
|
|
32
|
+
output: typeof Schema.Void;
|
|
31
33
|
}>;
|
|
32
34
|
export class JoinIdentity extends JoinIdentity_base {
|
|
33
35
|
}
|
|
34
|
-
const ShareIdentity_base:
|
|
35
|
-
readonly _tag:
|
|
36
|
+
const ShareIdentity_base: Schema.TaggedClass<ShareIdentity, "dxos.org/plugin/client/action/share-identity", {
|
|
37
|
+
readonly _tag: Schema.tag<"dxos.org/plugin/client/action/share-identity">;
|
|
36
38
|
} & {
|
|
37
|
-
input: typeof
|
|
38
|
-
output: typeof
|
|
39
|
+
input: typeof Schema.Void;
|
|
40
|
+
output: typeof Schema.Void;
|
|
39
41
|
}>;
|
|
40
42
|
export class ShareIdentity extends ShareIdentity_base {
|
|
41
43
|
}
|
|
42
|
-
const RecoverIdentity_base:
|
|
43
|
-
readonly _tag:
|
|
44
|
+
const RecoverIdentity_base: Schema.TaggedClass<RecoverIdentity, "dxos.org/plugin/client/action/recover-identity", {
|
|
45
|
+
readonly _tag: Schema.tag<"dxos.org/plugin/client/action/recover-identity">;
|
|
44
46
|
} & {
|
|
45
|
-
input: typeof
|
|
46
|
-
output: typeof
|
|
47
|
+
input: typeof Schema.Void;
|
|
48
|
+
output: typeof Schema.Void;
|
|
47
49
|
}>;
|
|
48
50
|
export class RecoverIdentity extends RecoverIdentity_base {
|
|
49
51
|
}
|
|
50
|
-
const ResetStorage_base:
|
|
51
|
-
readonly _tag:
|
|
52
|
+
const ResetStorage_base: Schema.TaggedClass<ResetStorage, "dxos.org/plugin/client/action/reset-storage", {
|
|
53
|
+
readonly _tag: Schema.tag<"dxos.org/plugin/client/action/reset-storage">;
|
|
52
54
|
} & {
|
|
53
|
-
input:
|
|
54
|
-
mode:
|
|
55
|
+
input: Schema.Struct<{
|
|
56
|
+
mode: Schema.optional<typeof Schema.String>;
|
|
55
57
|
}>;
|
|
56
|
-
output: typeof
|
|
58
|
+
output: typeof Schema.Void;
|
|
57
59
|
}>;
|
|
58
60
|
export class ResetStorage extends ResetStorage_base {
|
|
59
61
|
}
|
|
60
|
-
const CreateAgent_base:
|
|
61
|
-
readonly _tag:
|
|
62
|
+
const CreateAgent_base: Schema.TaggedClass<CreateAgent, "dxos.org/plugin/client/action/create-agent", {
|
|
63
|
+
readonly _tag: Schema.tag<"dxos.org/plugin/client/action/create-agent">;
|
|
62
64
|
} & {
|
|
63
|
-
input: typeof
|
|
64
|
-
output: typeof
|
|
65
|
+
input: typeof Schema.Void;
|
|
66
|
+
output: typeof Schema.Void;
|
|
65
67
|
}>;
|
|
66
68
|
export class CreateAgent extends CreateAgent_base {
|
|
67
69
|
}
|
|
68
|
-
const CreateRecoveryCode_base:
|
|
69
|
-
readonly _tag:
|
|
70
|
+
const CreateRecoveryCode_base: Schema.TaggedClass<CreateRecoveryCode, "dxos.org/plugin/client/action/create-recovery-code", {
|
|
71
|
+
readonly _tag: Schema.tag<"dxos.org/plugin/client/action/create-recovery-code">;
|
|
70
72
|
} & {
|
|
71
|
-
input: typeof
|
|
72
|
-
output: typeof
|
|
73
|
+
input: typeof Schema.Void;
|
|
74
|
+
output: typeof Schema.Void;
|
|
73
75
|
}>;
|
|
74
76
|
export class CreateRecoveryCode extends CreateRecoveryCode_base {
|
|
75
77
|
}
|
|
76
|
-
const CreatePasskey_base:
|
|
77
|
-
readonly _tag:
|
|
78
|
+
const CreatePasskey_base: Schema.TaggedClass<CreatePasskey, "dxos.org/plugin/client/action/create-passkey", {
|
|
79
|
+
readonly _tag: Schema.tag<"dxos.org/plugin/client/action/create-passkey">;
|
|
78
80
|
} & {
|
|
79
|
-
input: typeof
|
|
80
|
-
output: typeof
|
|
81
|
+
input: typeof Schema.Void;
|
|
82
|
+
output: typeof Schema.Void;
|
|
81
83
|
}>;
|
|
82
84
|
export class CreatePasskey extends CreatePasskey_base {
|
|
83
85
|
}
|
|
84
|
-
const RedeemPasskey_base:
|
|
85
|
-
readonly _tag:
|
|
86
|
+
const RedeemPasskey_base: Schema.TaggedClass<RedeemPasskey, "dxos.org/plugin/client/action/redeem-passkey", {
|
|
87
|
+
readonly _tag: Schema.tag<"dxos.org/plugin/client/action/redeem-passkey">;
|
|
86
88
|
} & {
|
|
87
|
-
input: typeof
|
|
88
|
-
output: typeof
|
|
89
|
+
input: typeof Schema.Void;
|
|
90
|
+
output: typeof Schema.Void;
|
|
89
91
|
}>;
|
|
90
92
|
export class RedeemPasskey extends RedeemPasskey_base {
|
|
91
93
|
}
|
|
92
|
-
const RedeemToken_base:
|
|
93
|
-
readonly _tag:
|
|
94
|
+
const RedeemToken_base: Schema.TaggedClass<RedeemToken, "dxos.org/plugin/client/action/redeem-token", {
|
|
95
|
+
readonly _tag: Schema.tag<"dxos.org/plugin/client/action/redeem-token">;
|
|
94
96
|
} & {
|
|
95
|
-
input:
|
|
96
|
-
token: typeof
|
|
97
|
+
input: Schema.Struct<{
|
|
98
|
+
token: typeof Schema.String;
|
|
97
99
|
}>;
|
|
98
|
-
output: typeof
|
|
100
|
+
output: typeof Schema.Void;
|
|
99
101
|
}>;
|
|
100
102
|
export class RedeemToken extends RedeemToken_base {
|
|
101
103
|
}
|
|
@@ -113,7 +115,11 @@ export type ClientPluginOptions = ClientOptions & {
|
|
|
113
115
|
/**
|
|
114
116
|
* Run after the client has been initialized.
|
|
115
117
|
*/
|
|
116
|
-
onClientInitialized?: (context:
|
|
118
|
+
onClientInitialized?: (context: PluginContext, client: Client) => MaybePromise<void>;
|
|
119
|
+
/**
|
|
120
|
+
* Called when spaces are ready.
|
|
121
|
+
*/
|
|
122
|
+
onSpacesReady?: (context: PluginContext, client: Client) => MaybePromise<void>;
|
|
117
123
|
/**
|
|
118
124
|
* Called when the client is reset.
|
|
119
125
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,EAAE,KAAK,MAAM,EAAE,SAAS,EAAE,KAAK,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAChF,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAkB/C,yBAAiB,YAAY,CAAC;;;;;;;;;;;;;;;;;;;IAO5B,MAAM,OAAO,cAAe,SAAQ,mBAGlC;KAAG;;;;;;;;;IAEL,MAAM,OAAO,YAAa,SAAQ,iBAKhC;KAAG;;;;;;;IAEL,MAAM,OAAO,aAAc,SAAQ,kBAGjC;KAAG;;;;;;;IAEL,MAAM,OAAO,eAAgB,SAAQ,oBAGnC;KAAG;;;;;;;;;IAEL,MAAM,OAAO,YAAa,SAAQ,iBAKhC;KAAG;;;;;;;IAEL,MAAM,OAAO,WAAY,SAAQ,gBAG/B;KAAG;;;;;;;IAEL,MAAM,OAAO,kBAAmB,SAAQ,uBAMvC;KAAG;;;;;;;IAEJ,MAAM,OAAO,aAAc,SAAQ,kBAGjC;KAAG;;;;;;;IAEL,MAAM,OAAO,aAAc,SAAQ,kBAGjC;KAAG;;;;;;;;;IAEL,MAAM,OAAO,WAAY,SAAQ,gBAK/B;KAAG;;CACN;AAED,MAAM,MAAM,mBAAmB,GAAG,aAAa,GAAG;IAChD;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,mBAAmB,CAAC,EAAE,CAAC,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,KAAK,YAAY,CAAC,IAAI,CAAC,CAAC;IAErF;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,KAAK,YAAY,CAAC,IAAI,CAAC,CAAC;IAE/E;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,MAAM,EAAE;QAAE,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,KAAK,YAAY,CAAC,IAAI,CAAC,CAAC;CAC/D,CAAC;AAEF,yBAAiB,OAAO,CAAC;IAKhB,MAAM,EAAE,oCAAY,CAAC;IAErB,MAAM,OAAO,2CAAmB,CAAC;IACjC,MAAM,OAAO,2CAAmB,CAAC;IACjC,MAAM,QAAQ,4CAAoB,CAAC;CAC3C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"5.
|
|
1
|
+
{"version":"5.8.3"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/plugin-client",
|
|
3
|
-
"version": "0.8.2
|
|
3
|
+
"version": "0.8.2",
|
|
4
4
|
"description": "DXOS Surface plugin for DXOS Client",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -33,45 +33,52 @@
|
|
|
33
33
|
"src"
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@preact/
|
|
36
|
+
"@preact-signals/safe-react": "^0.9.0",
|
|
37
|
+
"@preact/signals-core": "^1.9.0",
|
|
38
|
+
"effect": "3.14.21",
|
|
37
39
|
"react-qr-rounded": "^1.0.0",
|
|
38
|
-
"@dxos/
|
|
39
|
-
"@dxos/
|
|
40
|
-
"@dxos/config": "0.8.2
|
|
41
|
-
"@dxos/echo-schema": "0.8.2
|
|
42
|
-
"@dxos/echo-signals": "0.8.2
|
|
43
|
-
"@dxos/
|
|
44
|
-
"@dxos/
|
|
45
|
-
"@dxos/
|
|
46
|
-
"@dxos/log": "0.8.2
|
|
47
|
-
"@dxos/
|
|
48
|
-
"@dxos/
|
|
49
|
-
"@dxos/
|
|
50
|
-
"@dxos/react-ui-
|
|
51
|
-
"@dxos/
|
|
52
|
-
"@dxos/react-
|
|
53
|
-
"@dxos/
|
|
40
|
+
"@dxos/async": "0.8.2",
|
|
41
|
+
"@dxos/app-framework": "0.8.2",
|
|
42
|
+
"@dxos/config": "0.8.2",
|
|
43
|
+
"@dxos/echo-schema": "0.8.2",
|
|
44
|
+
"@dxos/echo-signals": "0.8.2",
|
|
45
|
+
"@dxos/echo": "0.8.2",
|
|
46
|
+
"@dxos/invariant": "0.8.2",
|
|
47
|
+
"@dxos/local-storage": "0.8.2",
|
|
48
|
+
"@dxos/log": "0.8.2",
|
|
49
|
+
"@dxos/plugin-graph": "0.8.2",
|
|
50
|
+
"@dxos/plugin-observability": "0.8.2",
|
|
51
|
+
"@dxos/react-ui-pickers": "0.8.2",
|
|
52
|
+
"@dxos/react-ui-stack": "0.8.2",
|
|
53
|
+
"@dxos/react-ui-form": "0.8.2",
|
|
54
|
+
"@dxos/react-client": "0.8.2",
|
|
55
|
+
"@dxos/shell": "0.8.2",
|
|
56
|
+
"@dxos/util": "0.8.2"
|
|
54
57
|
},
|
|
55
58
|
"devDependencies": {
|
|
59
|
+
"@effect-rx/rx-react": "^0.34.1",
|
|
60
|
+
"@effect/platform": "0.80.12",
|
|
56
61
|
"@phosphor-icons/react": "^2.1.5",
|
|
57
62
|
"@types/react": "~18.2.0",
|
|
58
63
|
"@types/react-dom": "~18.2.0",
|
|
59
|
-
"effect": "3.
|
|
64
|
+
"effect": "3.14.21",
|
|
60
65
|
"react": "~18.2.0",
|
|
61
66
|
"react-dom": "~18.2.0",
|
|
62
67
|
"vite": "5.4.7",
|
|
63
|
-
"@dxos/
|
|
64
|
-
"@dxos/react-ui
|
|
65
|
-
"@dxos/
|
|
66
|
-
"@dxos/storybook-utils": "0.8.2
|
|
68
|
+
"@dxos/live-object": "0.8.2",
|
|
69
|
+
"@dxos/react-ui": "0.8.2",
|
|
70
|
+
"@dxos/react-ui-theme": "0.8.2",
|
|
71
|
+
"@dxos/storybook-utils": "0.8.2"
|
|
67
72
|
},
|
|
68
73
|
"peerDependencies": {
|
|
74
|
+
"@effect-rx/rx-react": "^0.34.1",
|
|
75
|
+
"@effect/platform": "0.80.12",
|
|
69
76
|
"@phosphor-icons/react": "^2.1.5",
|
|
70
|
-
"effect": "3.13.3",
|
|
77
|
+
"effect": "^3.13.3",
|
|
71
78
|
"react": "~18.2.0",
|
|
72
79
|
"react-dom": "~18.2.0",
|
|
73
|
-
"@dxos/react-ui": "0.8.2
|
|
74
|
-
"@dxos/react-ui
|
|
80
|
+
"@dxos/react-ui-theme": "0.8.2",
|
|
81
|
+
"@dxos/react-ui": "0.8.2"
|
|
75
82
|
},
|
|
76
83
|
"publishConfig": {
|
|
77
84
|
"access": "public"
|
package/src/ClientPlugin.ts
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
Migrations,
|
|
12
12
|
ReactContext,
|
|
13
13
|
ReactSurface,
|
|
14
|
-
|
|
14
|
+
SchemaDefs,
|
|
15
15
|
} from './capabilities';
|
|
16
16
|
import { ClientEvents } from './events';
|
|
17
17
|
import { meta } from './meta';
|
|
@@ -41,7 +41,7 @@ export const ClientPlugin = ({
|
|
|
41
41
|
id: `${meta.id}/module/schema`,
|
|
42
42
|
activatesOn: ClientEvents.ClientReady,
|
|
43
43
|
activatesBefore: [ClientEvents.SetupSchema],
|
|
44
|
-
activate:
|
|
44
|
+
activate: SchemaDefs,
|
|
45
45
|
}),
|
|
46
46
|
defineModule({
|
|
47
47
|
id: `${meta.id}/module/migration`,
|