@dxos/plugin-client 0.8.2-main.fbd8ed0 → 0.8.2-staging.7ac8446
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-ROTCC3C4.mjs → app-graph-builder-WAS4YZNA.mjs} +31 -35
- package/dist/lib/browser/app-graph-builder-WAS4YZNA.mjs.map +7 -0
- package/dist/lib/browser/chunk-AN7FJKIJ.mjs +105 -0
- package/dist/lib/browser/chunk-AN7FJKIJ.mjs.map +7 -0
- package/dist/lib/browser/{chunk-7OW22D2O.mjs → chunk-XZ4TQC56.mjs} +25 -29
- package/dist/lib/browser/chunk-XZ4TQC56.mjs.map +7 -0
- package/dist/lib/browser/{client-ICXXK55V.mjs → client-LV67Q3R7.mjs} +1 -1
- package/dist/lib/browser/client-LV67Q3R7.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +9 -9
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/{intent-resolver-L4STUWGK.mjs → intent-resolver-NCISOZW4.mjs} +10 -10
- package/dist/lib/browser/intent-resolver-NCISOZW4.mjs.map +7 -0
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/migrations-3DWFOL5Q.mjs +21 -0
- package/dist/lib/browser/migrations-3DWFOL5Q.mjs.map +7 -0
- package/dist/lib/browser/{react-surface-VXFG7BEM.mjs → react-surface-J7SZR2J6.mjs} +3 -3
- package/dist/lib/browser/schema-JQAT6Q7S.mjs +23 -0
- package/dist/lib/browser/schema-JQAT6Q7S.mjs.map +7 -0
- package/dist/lib/browser/types.mjs +1 -1
- package/dist/lib/node/{app-graph-builder-DOHFMHXU.cjs → app-graph-builder-PXOJZJO5.cjs} +40 -44
- package/dist/lib/node/app-graph-builder-PXOJZJO5.cjs.map +7 -0
- package/dist/lib/node/{chunk-FABH7MJ3.cjs → chunk-3JE5BFCT.cjs} +25 -29
- package/dist/lib/node/chunk-3JE5BFCT.cjs.map +7 -0
- package/dist/lib/node/{chunk-J5SQ5Q22.cjs → chunk-FROKBEVH.cjs} +47 -47
- package/dist/lib/node/chunk-FROKBEVH.cjs.map +7 -0
- package/dist/lib/node/{client-OUBG63HJ.cjs → client-BKTGRBYM.cjs} +4 -4
- package/dist/lib/node/client-BKTGRBYM.cjs.map +7 -0
- package/dist/lib/node/index.cjs +9 -9
- package/dist/lib/node/index.cjs.map +3 -3
- package/dist/lib/node/{intent-resolver-IDLAVEHS.cjs → intent-resolver-U2576ALY.cjs} +29 -29
- package/dist/lib/node/intent-resolver-U2576ALY.cjs.map +7 -0
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/{migrations-ZI52SX4M.cjs → migrations-TGNI4FVL.cjs} +9 -11
- package/dist/lib/node/migrations-TGNI4FVL.cjs.map +7 -0
- package/dist/lib/node/{react-surface-UGXE6OAD.cjs → react-surface-BSTIXMER.cjs} +24 -24
- package/dist/lib/node/{schema-defs-BYGBDKOU.cjs → schema-INQ72F54.cjs} +11 -13
- package/dist/lib/node/schema-INQ72F54.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-XMXJG5YT.mjs → app-graph-builder-KIN6NWFI.mjs} +31 -35
- package/dist/lib/node-esm/app-graph-builder-KIN6NWFI.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-AD5W5QCQ.mjs +106 -0
- package/dist/lib/node-esm/chunk-AD5W5QCQ.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-34X2AMVA.mjs → chunk-LZN2UNN7.mjs} +25 -29
- package/dist/lib/node-esm/chunk-LZN2UNN7.mjs.map +7 -0
- package/dist/lib/node-esm/{client-YJNEHNUV.mjs → client-QQD6WFOB.mjs} +1 -1
- package/dist/lib/node-esm/client-QQD6WFOB.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +9 -9
- package/dist/lib/node-esm/index.mjs.map +3 -3
- package/dist/lib/node-esm/{intent-resolver-73FZIXX5.mjs → intent-resolver-G25U4UGI.mjs} +10 -10
- package/dist/lib/node-esm/intent-resolver-G25U4UGI.mjs.map +7 -0
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/{migrations-GHO52HKW.mjs → migrations-IVGATGZR.mjs} +6 -8
- package/dist/lib/node-esm/migrations-IVGATGZR.mjs.map +7 -0
- package/dist/lib/node-esm/{react-surface-R65DYUV6.mjs → react-surface-ZPI7T4EM.mjs} +3 -3
- package/dist/lib/node-esm/schema-OK7HY3JJ.mjs +24 -0
- package/dist/lib/node-esm/schema-OK7HY3JJ.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 +179 -2
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
- package/dist/types/src/capabilities/client.d.ts +2 -2
- package/dist/types/src/capabilities/client.d.ts.map +1 -1
- package/dist/types/src/capabilities/index.d.ts +181 -5
- 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.d.ts +4 -0
- package/dist/types/src/capabilities/schema.d.ts.map +1 -0
- package/dist/types/src/components/DevicesContainer.d.ts +3 -4
- 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 +53 -53
- package/dist/types/src/types.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +25 -31
- package/src/ClientPlugin.ts +2 -2
- package/src/capabilities/app-graph-builder.ts +76 -94
- package/src/capabilities/client.ts +2 -2
- package/src/capabilities/index.ts +1 -1
- package/src/capabilities/intent-resolver.ts +9 -9
- package/src/capabilities/migrations.ts +11 -14
- package/src/capabilities/schema.ts +26 -0
- package/src/components/DevicesContainer.stories.tsx +3 -7
- package/src/components/DevicesContainer.tsx +61 -85
- package/src/components/ProfileContainer.stories.tsx +1 -1
- package/src/components/ProfileContainer.tsx +21 -30
- package/src/components/RecoveryCodeDialog.stories.tsx +1 -1
- package/src/components/RecoveryCredentialsContainer.stories.tsx +2 -2
- package/src/components/RecoveryCredentialsContainer.tsx +46 -48
- package/src/components/ResetDialog.stories.tsx +1 -7
- package/src/translations.ts +2 -2
- package/src/types.ts +46 -50
- package/dist/lib/browser/app-graph-builder-ROTCC3C4.mjs.map +0 -7
- package/dist/lib/browser/chunk-7OW22D2O.mjs.map +0 -7
- package/dist/lib/browser/chunk-XPHDZ277.mjs +0 -105
- package/dist/lib/browser/chunk-XPHDZ277.mjs.map +0 -7
- package/dist/lib/browser/client-ICXXK55V.mjs.map +0 -7
- package/dist/lib/browser/intent-resolver-L4STUWGK.mjs.map +0 -7
- package/dist/lib/browser/migrations-DYDZ7DVP.mjs +0 -23
- package/dist/lib/browser/migrations-DYDZ7DVP.mjs.map +0 -7
- package/dist/lib/browser/schema-defs-QVXP2JGN.mjs +0 -25
- package/dist/lib/browser/schema-defs-QVXP2JGN.mjs.map +0 -7
- package/dist/lib/node/app-graph-builder-DOHFMHXU.cjs.map +0 -7
- package/dist/lib/node/chunk-FABH7MJ3.cjs.map +0 -7
- package/dist/lib/node/chunk-J5SQ5Q22.cjs.map +0 -7
- package/dist/lib/node/client-OUBG63HJ.cjs.map +0 -7
- package/dist/lib/node/intent-resolver-IDLAVEHS.cjs.map +0 -7
- package/dist/lib/node/migrations-ZI52SX4M.cjs.map +0 -7
- package/dist/lib/node/schema-defs-BYGBDKOU.cjs.map +0 -7
- package/dist/lib/node-esm/app-graph-builder-XMXJG5YT.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-34X2AMVA.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-V6SJNSKG.mjs +0 -106
- package/dist/lib/node-esm/chunk-V6SJNSKG.mjs.map +0 -7
- package/dist/lib/node-esm/client-YJNEHNUV.mjs.map +0 -7
- package/dist/lib/node-esm/intent-resolver-73FZIXX5.mjs.map +0 -7
- package/dist/lib/node-esm/migrations-GHO52HKW.mjs.map +0 -7
- package/dist/lib/node-esm/schema-defs-O4OHIIBN.mjs +0 -26
- package/dist/lib/node-esm/schema-defs-O4OHIIBN.mjs.map +0 -7
- package/dist/types/src/capabilities/schema-defs.d.ts +0 -4
- package/dist/types/src/capabilities/schema-defs.d.ts.map +0 -1
- package/src/capabilities/schema-defs.ts +0 -29
- /package/dist/lib/browser/{react-surface-VXFG7BEM.mjs.map → react-surface-J7SZR2J6.mjs.map} +0 -0
- /package/dist/lib/node/{react-surface-UGXE6OAD.cjs.map → react-surface-BSTIXMER.cjs.map} +0 -0
- /package/dist/lib/node-esm/{react-surface-R65DYUV6.mjs.map → react-surface-ZPI7T4EM.mjs.map} +0 -0
|
@@ -1,12 +1,188 @@
|
|
|
1
|
-
export declare const AppGraphBuilder: (props?: import("@dxos/app-framework").
|
|
1
|
+
export declare const AppGraphBuilder: (props?: import("@dxos/app-framework").PluginsContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<Readonly<{
|
|
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[]>>;
|
|
2
178
|
export declare const Client: (props?: (Omit<import("../types").ClientPluginOptions, "appKey" | "invitationUrl" | "invitationParam" | "onReset"> & {
|
|
3
|
-
context: import("@dxos/app-framework").
|
|
179
|
+
context: import("@dxos/app-framework").PluginsContext;
|
|
4
180
|
}) | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/client").Client> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
5
181
|
export declare const IntentResolver: (props?: {
|
|
6
|
-
context: import("@dxos/app-framework").
|
|
182
|
+
context: import("@dxos/app-framework").PluginsContext;
|
|
7
183
|
appName?: string;
|
|
8
184
|
} | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").Capabilities.IntentResolver> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
9
|
-
export declare const Migrations: (props?: import("@dxos/app-framework").
|
|
185
|
+
export declare const Migrations: (props?: import("@dxos/app-framework").PluginsContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<null> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
10
186
|
export declare const ReactContext: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").Capability<Readonly<{
|
|
11
187
|
id: string;
|
|
12
188
|
dependsOn?: string[];
|
|
@@ -15,6 +191,6 @@ export declare const ReactContext: (props?: unknown) => Promise<() => Promise<im
|
|
|
15
191
|
export declare const ReactSurface: (props?: (Pick<import("../types").ClientPluginOptions, "onReset"> & {
|
|
16
192
|
createInvitationUrl: (invitationCode: string) => string;
|
|
17
193
|
}) | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").Capabilities.ReactSurface> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
18
|
-
export declare const
|
|
194
|
+
export declare const Schema: (props?: import("@dxos/app-framework").PluginsContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<null> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
19
195
|
export * from './capabilities';
|
|
20
196
|
//# 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;;qBAS0xF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;qFAT/gV,CAAC;AAC/E,eAAO,MAAM,MAAM;;kKAAuC,CAAC;AAC3D,eAAO,MAAM,cAAc;;;6LAAgD,CAAC;AAC5E,eAAO,MAAM,UAAU,8LAA2C,CAAC;AACnE,eAAO,MAAM,YAAY;;;;qDAA8C,CAAC;AACxE,eAAO,MAAM,YAAY;;4LAA8C,CAAC;AACxE,eAAO,MAAM,MAAM,8LAAuC,CAAC;AAE3D,cAAc,gBAAgB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Capabilities, type
|
|
1
|
+
import { Capabilities, type PluginsContext } from '@dxos/app-framework';
|
|
2
2
|
type IntentResolverOptions = {
|
|
3
|
-
context:
|
|
3
|
+
context: PluginsContext;
|
|
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,cAAc,EACpB,MAAM,qBAAqB,CAAC;AAW7B,KAAK,qBAAqB,GAAG;IAC3B,OAAO,EAAE,cAAc,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;+CAIiD,qBAAqB;AAAxE,wBAyNK"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
declare const _default: (context:
|
|
1
|
+
import { type PluginsContext } from '@dxos/app-framework';
|
|
2
|
+
declare const _default: (context: PluginsContext) => 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":"AAMA,OAAO,EAA6B,KAAK,cAAc,EAAE,MAAM,qBAAqB,CAAC;kCAI5D,cAAc;AAAvC,wBAWE"}
|
|
@@ -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;2DAEgD,mBAAmB;AAArE,wBAsCK"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/schema.ts"],"names":[],"mappings":"AAMA,OAAO,EAA6B,KAAK,cAAc,EAAE,MAAM,qBAAqB,CAAC;kCAK5D,cAAc;AAAvC,wBAcE"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export
|
|
3
|
-
createInvitationUrl
|
|
4
|
-
};
|
|
5
|
-
export declare const DevicesContainer: ({ createInvitationUrl }: DevicesContainerProps) => React.JSX.Element;
|
|
2
|
+
export declare const DevicesContainer: ({ createInvitationUrl, }: {
|
|
3
|
+
createInvitationUrl: (invitationCode: string) => string;
|
|
4
|
+
}) => React.JSX.Element;
|
|
6
5
|
//# 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;AAmBhE,eAAO,MAAM,gBAAgB,6BAE1B;IACD,mBAAmB,EAAE,CAAC,cAAc,EAAE,MAAM,KAAK,MAAM,CAAC;CACzD,sBA0EA,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,KAAU,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,UAAW,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;AAmBhF,eAAO,MAAM,gBAAgB,yBAiI5B,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,aAAc,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,yBAwDxC,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,sBAAuB,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,CAShC,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,101 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { type PluginsContext } from '@dxos/app-framework';
|
|
2
|
+
import { S } from '@dxos/echo-schema';
|
|
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: S.TaggedClass<CreateIdentity, "dxos.org/plugin/client/action/create-identity", {
|
|
7
|
+
readonly _tag: S.tag<"dxos.org/plugin/client/action/create-identity">;
|
|
8
8
|
} & {
|
|
9
|
-
input:
|
|
10
|
-
displayName:
|
|
9
|
+
input: S.Struct<{
|
|
10
|
+
displayName: S.optional<typeof S.String>;
|
|
11
11
|
}>;
|
|
12
|
-
output:
|
|
13
|
-
identityKey:
|
|
14
|
-
spaceKey:
|
|
15
|
-
profile:
|
|
16
|
-
displayName:
|
|
17
|
-
avatarCid:
|
|
18
|
-
data:
|
|
12
|
+
output: S.Struct<{
|
|
13
|
+
identityKey: S.instanceOf<PublicKey>;
|
|
14
|
+
spaceKey: S.optional<S.instanceOf<PublicKey>>;
|
|
15
|
+
profile: S.optional<S.Struct<{
|
|
16
|
+
displayName: S.optional<typeof S.String>;
|
|
17
|
+
avatarCid: S.optional<typeof S.String>;
|
|
18
|
+
data: S.optional<S.Record$<typeof S.String, typeof S.Any>>;
|
|
19
19
|
}>>;
|
|
20
20
|
}>;
|
|
21
21
|
}>;
|
|
22
22
|
export class CreateIdentity extends CreateIdentity_base {
|
|
23
23
|
}
|
|
24
|
-
const JoinIdentity_base:
|
|
25
|
-
readonly _tag:
|
|
24
|
+
const JoinIdentity_base: S.TaggedClass<JoinIdentity, "dxos.org/plugin/client/action/join-identity", {
|
|
25
|
+
readonly _tag: S.tag<"dxos.org/plugin/client/action/join-identity">;
|
|
26
26
|
} & {
|
|
27
|
-
input:
|
|
28
|
-
invitationCode:
|
|
27
|
+
input: S.Struct<{
|
|
28
|
+
invitationCode: S.optional<typeof S.String>;
|
|
29
29
|
}>;
|
|
30
|
-
output: typeof
|
|
30
|
+
output: typeof S.Void;
|
|
31
31
|
}>;
|
|
32
32
|
export class JoinIdentity extends JoinIdentity_base {
|
|
33
33
|
}
|
|
34
|
-
const ShareIdentity_base:
|
|
35
|
-
readonly _tag:
|
|
34
|
+
const ShareIdentity_base: S.TaggedClass<ShareIdentity, "dxos.org/plugin/client/action/share-identity", {
|
|
35
|
+
readonly _tag: S.tag<"dxos.org/plugin/client/action/share-identity">;
|
|
36
36
|
} & {
|
|
37
|
-
input: typeof
|
|
38
|
-
output: typeof
|
|
37
|
+
input: typeof S.Void;
|
|
38
|
+
output: typeof S.Void;
|
|
39
39
|
}>;
|
|
40
40
|
export class ShareIdentity extends ShareIdentity_base {
|
|
41
41
|
}
|
|
42
|
-
const RecoverIdentity_base:
|
|
43
|
-
readonly _tag:
|
|
42
|
+
const RecoverIdentity_base: S.TaggedClass<RecoverIdentity, "dxos.org/plugin/client/action/recover-identity", {
|
|
43
|
+
readonly _tag: S.tag<"dxos.org/plugin/client/action/recover-identity">;
|
|
44
44
|
} & {
|
|
45
|
-
input: typeof
|
|
46
|
-
output: typeof
|
|
45
|
+
input: typeof S.Void;
|
|
46
|
+
output: typeof S.Void;
|
|
47
47
|
}>;
|
|
48
48
|
export class RecoverIdentity extends RecoverIdentity_base {
|
|
49
49
|
}
|
|
50
|
-
const ResetStorage_base:
|
|
51
|
-
readonly _tag:
|
|
50
|
+
const ResetStorage_base: S.TaggedClass<ResetStorage, "dxos.org/plugin/client/action/reset-storage", {
|
|
51
|
+
readonly _tag: S.tag<"dxos.org/plugin/client/action/reset-storage">;
|
|
52
52
|
} & {
|
|
53
|
-
input:
|
|
54
|
-
mode:
|
|
53
|
+
input: S.Struct<{
|
|
54
|
+
mode: S.optional<typeof S.String>;
|
|
55
55
|
}>;
|
|
56
|
-
output: typeof
|
|
56
|
+
output: typeof S.Void;
|
|
57
57
|
}>;
|
|
58
58
|
export class ResetStorage extends ResetStorage_base {
|
|
59
59
|
}
|
|
60
|
-
const CreateAgent_base:
|
|
61
|
-
readonly _tag:
|
|
60
|
+
const CreateAgent_base: S.TaggedClass<CreateAgent, "dxos.org/plugin/client/action/create-agent", {
|
|
61
|
+
readonly _tag: S.tag<"dxos.org/plugin/client/action/create-agent">;
|
|
62
62
|
} & {
|
|
63
|
-
input: typeof
|
|
64
|
-
output: typeof
|
|
63
|
+
input: typeof S.Void;
|
|
64
|
+
output: typeof S.Void;
|
|
65
65
|
}>;
|
|
66
66
|
export class CreateAgent extends CreateAgent_base {
|
|
67
67
|
}
|
|
68
|
-
const CreateRecoveryCode_base:
|
|
69
|
-
readonly _tag:
|
|
68
|
+
const CreateRecoveryCode_base: S.TaggedClass<CreateRecoveryCode, "dxos.org/plugin/client/action/create-recovery-code", {
|
|
69
|
+
readonly _tag: S.tag<"dxos.org/plugin/client/action/create-recovery-code">;
|
|
70
70
|
} & {
|
|
71
|
-
input: typeof
|
|
72
|
-
output: typeof
|
|
71
|
+
input: typeof S.Void;
|
|
72
|
+
output: typeof S.Void;
|
|
73
73
|
}>;
|
|
74
74
|
export class CreateRecoveryCode extends CreateRecoveryCode_base {
|
|
75
75
|
}
|
|
76
|
-
const CreatePasskey_base:
|
|
77
|
-
readonly _tag:
|
|
76
|
+
const CreatePasskey_base: S.TaggedClass<CreatePasskey, "dxos.org/plugin/client/action/create-passkey", {
|
|
77
|
+
readonly _tag: S.tag<"dxos.org/plugin/client/action/create-passkey">;
|
|
78
78
|
} & {
|
|
79
|
-
input: typeof
|
|
80
|
-
output: typeof
|
|
79
|
+
input: typeof S.Void;
|
|
80
|
+
output: typeof S.Void;
|
|
81
81
|
}>;
|
|
82
82
|
export class CreatePasskey extends CreatePasskey_base {
|
|
83
83
|
}
|
|
84
|
-
const RedeemPasskey_base:
|
|
85
|
-
readonly _tag:
|
|
84
|
+
const RedeemPasskey_base: S.TaggedClass<RedeemPasskey, "dxos.org/plugin/client/action/redeem-passkey", {
|
|
85
|
+
readonly _tag: S.tag<"dxos.org/plugin/client/action/redeem-passkey">;
|
|
86
86
|
} & {
|
|
87
|
-
input: typeof
|
|
88
|
-
output: typeof
|
|
87
|
+
input: typeof S.Void;
|
|
88
|
+
output: typeof S.Void;
|
|
89
89
|
}>;
|
|
90
90
|
export class RedeemPasskey extends RedeemPasskey_base {
|
|
91
91
|
}
|
|
92
|
-
const RedeemToken_base:
|
|
93
|
-
readonly _tag:
|
|
92
|
+
const RedeemToken_base: S.TaggedClass<RedeemToken, "dxos.org/plugin/client/action/redeem-token", {
|
|
93
|
+
readonly _tag: S.tag<"dxos.org/plugin/client/action/redeem-token">;
|
|
94
94
|
} & {
|
|
95
|
-
input:
|
|
96
|
-
token: typeof
|
|
95
|
+
input: S.Struct<{
|
|
96
|
+
token: typeof S.String;
|
|
97
97
|
}>;
|
|
98
|
-
output: typeof
|
|
98
|
+
output: typeof S.Void;
|
|
99
99
|
}>;
|
|
100
100
|
export class RedeemToken extends RedeemToken_base {
|
|
101
101
|
}
|
|
@@ -113,7 +113,7 @@ export type ClientPluginOptions = ClientOptions & {
|
|
|
113
113
|
/**
|
|
114
114
|
* Run after the client has been initialized.
|
|
115
115
|
*/
|
|
116
|
-
onClientInitialized?: (context:
|
|
116
|
+
onClientInitialized?: (context: PluginsContext, client: Client) => MaybePromise<void>;
|
|
117
117
|
/**
|
|
118
118
|
* Called when the client is reset.
|
|
119
119
|
*/
|
|
@@ -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,KAAK,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AACtC,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;;;;;;;;;;;;;;;;;IAC5B,MAAM,OAAO,cAAe,SAAQ,mBAKlC;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,uBAGtC;KAAG;;;;;;;IAEL,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,cAAc,EAAE,MAAM,EAAE,MAAM,KAAK,YAAY,CAAC,IAAI,CAAC,CAAC;IAEtF;;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.7.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-staging.7ac8446",
|
|
4
4
|
"description": "DXOS Surface plugin for DXOS Client",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -34,50 +34,44 @@
|
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@preact/signals-core": "^1.6.0",
|
|
37
|
-
"effect": "3.14.21",
|
|
38
37
|
"react-qr-rounded": "^1.0.0",
|
|
39
|
-
"@dxos/
|
|
40
|
-
"@dxos/
|
|
41
|
-
"@dxos/config": "0.8.2-
|
|
42
|
-
"@dxos/echo": "0.8.2-
|
|
43
|
-
"@dxos/echo-
|
|
44
|
-
"@dxos/
|
|
45
|
-
"@dxos/
|
|
46
|
-
"@dxos/
|
|
47
|
-
"@dxos/
|
|
48
|
-
"@dxos/
|
|
49
|
-
"@dxos/
|
|
50
|
-
"@dxos/
|
|
51
|
-
"@dxos/react-ui-
|
|
52
|
-
"@dxos/
|
|
53
|
-
"@dxos/react-ui-
|
|
54
|
-
"@dxos/
|
|
55
|
-
"@dxos/util": "0.8.2-main.fbd8ed0"
|
|
38
|
+
"@dxos/app-framework": "0.8.2-staging.7ac8446",
|
|
39
|
+
"@dxos/async": "0.8.2-staging.7ac8446",
|
|
40
|
+
"@dxos/config": "0.8.2-staging.7ac8446",
|
|
41
|
+
"@dxos/echo-schema": "0.8.2-staging.7ac8446",
|
|
42
|
+
"@dxos/echo-signals": "0.8.2-staging.7ac8446",
|
|
43
|
+
"@dxos/invariant": "0.8.2-staging.7ac8446",
|
|
44
|
+
"@dxos/local-storage": "0.8.2-staging.7ac8446",
|
|
45
|
+
"@dxos/plugin-graph": "0.8.2-staging.7ac8446",
|
|
46
|
+
"@dxos/log": "0.8.2-staging.7ac8446",
|
|
47
|
+
"@dxos/react-client": "0.8.2-staging.7ac8446",
|
|
48
|
+
"@dxos/react-ui-form": "0.8.2-staging.7ac8446",
|
|
49
|
+
"@dxos/plugin-observability": "0.8.2-staging.7ac8446",
|
|
50
|
+
"@dxos/react-ui-pickers": "0.8.2-staging.7ac8446",
|
|
51
|
+
"@dxos/shell": "0.8.2-staging.7ac8446",
|
|
52
|
+
"@dxos/react-ui-stack": "0.8.2-staging.7ac8446",
|
|
53
|
+
"@dxos/util": "0.8.2-staging.7ac8446"
|
|
56
54
|
},
|
|
57
55
|
"devDependencies": {
|
|
58
|
-
"@effect-rx/rx-react": "^0.34.1",
|
|
59
|
-
"@effect/platform": "0.80.12",
|
|
60
56
|
"@phosphor-icons/react": "^2.1.5",
|
|
61
57
|
"@types/react": "~18.2.0",
|
|
62
58
|
"@types/react-dom": "~18.2.0",
|
|
63
|
-
"effect": "3.
|
|
59
|
+
"effect": "3.13.3",
|
|
64
60
|
"react": "~18.2.0",
|
|
65
61
|
"react-dom": "~18.2.0",
|
|
66
62
|
"vite": "5.4.7",
|
|
67
|
-
"@dxos/react-ui": "0.8.2-
|
|
68
|
-
"@dxos/react-ui-theme": "0.8.2-
|
|
69
|
-
"@dxos/live-object": "0.8.2-
|
|
70
|
-
"@dxos/storybook-utils": "0.8.2-
|
|
63
|
+
"@dxos/react-ui": "0.8.2-staging.7ac8446",
|
|
64
|
+
"@dxos/react-ui-theme": "0.8.2-staging.7ac8446",
|
|
65
|
+
"@dxos/live-object": "0.8.2-staging.7ac8446",
|
|
66
|
+
"@dxos/storybook-utils": "0.8.2-staging.7ac8446"
|
|
71
67
|
},
|
|
72
68
|
"peerDependencies": {
|
|
73
|
-
"@effect-rx/rx-react": "^0.34.1",
|
|
74
|
-
"@effect/platform": "0.80.12",
|
|
75
69
|
"@phosphor-icons/react": "^2.1.5",
|
|
76
|
-
"effect": "
|
|
70
|
+
"effect": "3.13.3",
|
|
77
71
|
"react": "~18.2.0",
|
|
78
72
|
"react-dom": "~18.2.0",
|
|
79
|
-
"@dxos/react-ui": "0.8.2-
|
|
80
|
-
"@dxos/react-ui-theme": "0.8.2-
|
|
73
|
+
"@dxos/react-ui": "0.8.2-staging.7ac8446",
|
|
74
|
+
"@dxos/react-ui-theme": "0.8.2-staging.7ac8446"
|
|
81
75
|
},
|
|
82
76
|
"publishConfig": {
|
|
83
77
|
"access": "public"
|
package/src/ClientPlugin.ts
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
Migrations,
|
|
12
12
|
ReactContext,
|
|
13
13
|
ReactSurface,
|
|
14
|
-
|
|
14
|
+
Schema,
|
|
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: Schema,
|
|
45
45
|
}),
|
|
46
46
|
defineModule({
|
|
47
47
|
id: `${meta.id}/module/migration`,
|