@oxyhq/core 19.1.0 → 19.1.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.
|
@@ -78,7 +78,6 @@ export declare function OxyServicesFollowGraphMixin<T extends typeof OxyServices
|
|
|
78
78
|
*/
|
|
79
79
|
setFollowApplicationMode(relationshipId: string, mode: "enabled" | "disabled", applicationId?: string): Promise<{
|
|
80
80
|
ok: true;
|
|
81
|
-
mode: "enabled" | "disabled";
|
|
82
81
|
}>;
|
|
83
82
|
/**
|
|
84
83
|
* Drop the override so this application follows the global relationship
|
|
@@ -135,7 +134,7 @@ export declare function OxyServicesFollowGraphMixin<T extends typeof OxyServices
|
|
|
135
134
|
kind: string;
|
|
136
135
|
label?: string;
|
|
137
136
|
capabilities?: {
|
|
138
|
-
verb?: "follow" | "subscribe" | "join";
|
|
137
|
+
verb?: "follow" | "subscribe" | "join" | "watch";
|
|
139
138
|
reverse?: "public" | "private" | "aggregate" | "unavailable";
|
|
140
139
|
federated?: boolean;
|
|
141
140
|
};
|
package/package.json
CHANGED
|
@@ -129,7 +129,7 @@ export function OxyServicesFollowGraphMixin<T extends typeof OxyServicesBase>(Ba
|
|
|
129
129
|
relationshipId: string,
|
|
130
130
|
mode: 'enabled' | 'disabled',
|
|
131
131
|
applicationId?: string,
|
|
132
|
-
): Promise<{ ok: true
|
|
132
|
+
): Promise<{ ok: true }> {
|
|
133
133
|
try {
|
|
134
134
|
return await this.makeRequest(
|
|
135
135
|
'PUT',
|
|
@@ -222,7 +222,10 @@ export function OxyServicesFollowGraphMixin<T extends typeof OxyServicesBase>(Ba
|
|
|
222
222
|
kind: string;
|
|
223
223
|
label?: string;
|
|
224
224
|
capabilities?: {
|
|
225
|
-
|
|
225
|
+
// Matches `FollowVerb` in @oxyhq/services, which is what renders it. A
|
|
226
|
+
// kind that can display a verb it cannot record is a kind whose button
|
|
227
|
+
// and registration disagree.
|
|
228
|
+
verb?: 'follow' | 'subscribe' | 'join' | 'watch';
|
|
226
229
|
reverse?: 'public' | 'private' | 'aggregate' | 'unavailable';
|
|
227
230
|
federated?: boolean;
|
|
228
231
|
};
|