@coasys/ad4m 0.13.1-staging.1 → 0.13.1-staging.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/lib/index.cjs +3789 -1192
- package/lib/index.js +3783 -1193
- package/lib/src/generated/api/AgentsByDidsRequest.d.ts +3 -0
- package/lib/src/generated/api/CallSessionInfo.d.ts +23 -0
- package/lib/src/generated/api/DiscardBatchRequest.d.ts +3 -0
- package/lib/src/generated/api/Events.d.ts +13 -3
- package/lib/src/generated/api/Events.js +1 -0
- package/lib/src/generated/api/FlowStateChangedEvent.d.ts +38 -0
- package/lib/src/generated/api/FlowStateEntry.d.ts +18 -0
- package/lib/src/generated/api/FlowStateEntry.js +2 -0
- package/lib/src/generated/api/IceServer.d.ts +18 -0
- package/lib/src/generated/api/IceServer.js +2 -0
- package/lib/src/generated/api/OnlineAgent.d.ts +4 -0
- package/lib/src/generated/api/PerspectiveDiscardBatchParams.d.ts +4 -0
- package/lib/src/generated/api/PerspectiveDiscardBatchParams.js +2 -0
- package/lib/src/generated/api/PerspectiveFlowFiredParams.d.ts +8 -0
- package/lib/src/generated/api/PerspectiveFlowFiredParams.js +2 -0
- package/lib/src/generated/api/PerspectiveFlowStatesParams.d.ts +11 -0
- package/lib/src/generated/api/PerspectiveFlowStatesParams.js +2 -0
- package/lib/src/generated/api/PerspectiveGetAllShaclParams.d.ts +7 -0
- package/lib/src/generated/api/PerspectiveGetAllShaclParams.js +2 -0
- package/lib/src/generated/api/PerspectiveModelQueryParams.d.ts +6 -1
- package/lib/src/generated/api/PerspectiveRemoveSubjectParams.d.ts +6 -0
- package/lib/src/generated/api/PerspectiveRemoveSubjectParams.js +2 -0
- package/lib/src/generated/api/PerspectiveResynced.d.ts +8 -0
- package/lib/src/generated/api/PerspectiveResynced.js +2 -0
- package/lib/src/generated/api/PerspectiveSubscribed.d.ts +10 -0
- package/lib/src/generated/api/PerspectiveSubscribed.js +2 -0
- package/lib/src/generated/api/PerspectiveUpdateSubjectParams.d.ts +10 -0
- package/lib/src/generated/api/PerspectiveUpdateSubjectParams.js +2 -0
- package/lib/src/generated/api/QuerySubscriptionUpdate.d.ts +19 -0
- package/lib/src/generated/api/QuerySubscriptionUpdate.js +2 -0
- package/lib/src/generated/api/QuerySubscriptionUpdateEvent.d.ts +7 -0
- package/lib/src/generated/api/QuerySubscriptionUpdateEvent.js +1 -0
- package/lib/src/generated/api/QueryUpdatesLagged.d.ts +7 -0
- package/lib/src/generated/api/QueryUpdatesLagged.js +2 -0
- package/lib/src/generated/api/RemoveSubjectRequest.d.ts +9 -0
- package/lib/src/generated/api/RemoveSubjectRequest.js +2 -0
- package/lib/src/generated/api/ResyncSubscriptionRequest.d.ts +3 -0
- package/lib/src/generated/api/ResyncSubscriptionRequest.js +2 -0
- package/lib/src/generated/api/RpcMethods.d.ts +134 -14
- package/lib/src/generated/api/RpcMethods.js +12 -0
- package/lib/src/generated/api/SfuAddIceCandidateParams.d.ts +8 -0
- package/lib/src/generated/api/SfuAddIceCandidateParams.js +2 -0
- package/lib/src/generated/api/SfuAnswerServerOfferParams.d.ts +8 -0
- package/lib/src/generated/api/SfuAnswerServerOfferParams.js +2 -0
- package/lib/src/generated/api/SfuCallJoinParams.d.ts +14 -0
- package/lib/src/generated/api/SfuCallJoinParams.js +2 -0
- package/lib/src/generated/api/SfuCallRenegotiationOffer.d.ts +30 -0
- package/lib/src/generated/api/SfuCallRenegotiationOffer.js +1 -0
- package/lib/src/generated/api/SfuCascadePipe.d.ts +4 -0
- package/lib/src/generated/api/SfuCascadePipe.js +2 -0
- package/lib/src/generated/api/SfuCascadeStatus.d.ts +8 -0
- package/lib/src/generated/api/SfuCascadeStatus.js +1 -0
- package/lib/src/generated/api/SfuConfig.d.ts +52 -0
- package/lib/src/generated/api/SfuConfig.js +1 -0
- package/lib/src/generated/api/SfuDataMessage.d.ts +24 -0
- package/lib/src/generated/api/SfuDataMessage.js +2 -0
- package/lib/src/generated/api/SfuEnsureMembershipParams.d.ts +4 -0
- package/lib/src/generated/api/SfuEnsureMembershipParams.js +2 -0
- package/lib/src/generated/api/SfuMigrateEvent.d.ts +21 -0
- package/lib/src/generated/api/SfuMigrateEvent.js +2 -0
- package/lib/src/generated/api/SfuNeighbourhoodParams.d.ts +3 -0
- package/lib/src/generated/api/SfuNeighbourhoodParams.js +2 -0
- package/lib/src/generated/api/SfuParticipantQualityPreference.d.ts +7 -0
- package/lib/src/generated/api/SfuParticipantQualityPreference.js +2 -0
- package/lib/src/generated/api/SfuPerspectiveParams.d.ts +6 -0
- package/lib/src/generated/api/SfuPerspectiveParams.js +2 -0
- package/lib/src/generated/api/SfuQualityPreferenceParams.d.ts +8 -0
- package/lib/src/generated/api/SfuQualityPreferenceParams.js +2 -0
- package/lib/src/generated/api/SfuRoomInfo.d.ts +11 -0
- package/lib/src/generated/api/SfuRoomInfo.js +1 -0
- package/lib/src/generated/api/SfuRoomParams.d.ts +4 -0
- package/lib/src/generated/api/SfuRoomParams.js +2 -0
- package/lib/src/generated/api/SfuRoomParticipantInfo.d.ts +11 -0
- package/lib/src/generated/api/SfuRoomParticipantInfo.js +2 -0
- package/lib/src/generated/api/SfuRoomRoster.d.ts +13 -0
- package/lib/src/generated/api/SfuRoomRoster.js +2 -0
- package/lib/src/generated/api/SfuSendDataParams.d.ts +10 -0
- package/lib/src/generated/api/SfuSendDataParams.js +2 -0
- package/lib/src/generated/api/SfuSetConfigParams.d.ts +5 -0
- package/lib/src/generated/api/SfuSetConfigParams.js +1 -0
- package/lib/src/generated/api/SfuStatus.d.ts +24 -0
- package/lib/src/generated/api/SfuStatus.js +2 -0
- package/lib/src/generated/api/TrackMapEntry.d.ts +17 -0
- package/lib/src/generated/api/TrackMapEntry.js +2 -0
- package/lib/src/generated/api/UpdateSubjectRequest.d.ts +12 -0
- package/lib/src/generated/api/UpdateSubjectRequest.js +2 -0
- package/lib/src/generated/api/index.d.ts +3 -0
- package/lib/src/index.d.ts +7 -0
- package/lib/src/index.js +4 -0
- package/lib/src/model/Ad4mModel.d.ts +84 -0
- package/lib/src/model/Ad4mModel.js +234 -4
- package/lib/src/model/ModelQueryBuilder.d.ts +16 -35
- package/lib/src/model/ModelQueryBuilder.js +88 -270
- package/lib/src/model/decorators.d.ts +32 -0
- package/lib/src/model/decorators.js +40 -1
- package/lib/src/model/shacl-gen.d.ts +3 -1
- package/lib/src/model/shacl-gen.js +13 -1
- package/lib/src/model/types.d.ts +7 -0
- package/lib/src/neighbourhood/MeshManager.d.ts +384 -0
- package/lib/src/neighbourhood/MeshManager.js +1144 -0
- package/lib/src/neighbourhood/NeighbourhoodClient.d.ts +91 -0
- package/lib/src/neighbourhood/NeighbourhoodClient.js +196 -0
- package/lib/src/neighbourhood/NeighbourhoodProxy.d.ts +55 -1
- package/lib/src/neighbourhood/NeighbourhoodProxy.js +170 -3
- package/lib/src/neighbourhood/Session.d.ts +105 -0
- package/lib/src/neighbourhood/Session.js +412 -0
- package/lib/src/neighbourhood/SfuManager.d.ts +174 -0
- package/lib/src/neighbourhood/SfuManager.js +619 -0
- package/lib/src/neighbourhood/SfuTypes.d.ts +35 -0
- package/lib/src/neighbourhood/SfuTypes.js +8 -0
- package/lib/src/perspectives/FlowInstance.d.ts +63 -24
- package/lib/src/perspectives/FlowInstance.js +74 -31
- package/lib/src/perspectives/FlowModels.d.ts +0 -16
- package/lib/src/perspectives/FlowModels.js +8 -16
- package/lib/src/perspectives/LiveQuery.d.ts +49 -0
- package/lib/src/perspectives/LiveQuery.js +169 -0
- package/lib/src/perspectives/PerspectiveClient.d.ts +24 -15
- package/lib/src/perspectives/PerspectiveClient.js +33 -36
- package/lib/src/perspectives/PerspectiveProxy.d.ts +67 -167
- package/lib/src/perspectives/PerspectiveProxy.js +121 -475
- package/lib/src/perspectives/TextContent.d.ts +31 -0
- package/lib/src/perspectives/TextContent.js +52 -0
- package/lib/src/perspectives/WakerSubscriptionManager.d.ts +23 -0
- package/lib/src/perspectives/WakerSubscriptionManager.js +58 -17
- package/lib/src/shacl/SHACLFlow.d.ts +7 -4
- package/lib/src/shacl/SHACLFlow.js +7 -4
- package/lib/src/shacl/SHACLShape.d.ts +9 -0
- package/lib/src/shacl/SHACLShape.js +37 -0
- package/package.json +2 -2
- package/pnpm-workspace.yaml +4 -1
- package/src/Ad4mClient.test.ts +89 -17
- package/src/generated/api/AgentsByDidsRequest.ts +3 -0
- package/src/generated/api/CallSessionInfo.ts +20 -0
- package/src/generated/api/DiscardBatchRequest.ts +3 -0
- package/src/generated/api/Events.ts +14 -3
- package/src/generated/api/FlowStateChangedEvent.ts +36 -0
- package/src/generated/api/FlowStateEntry.ts +18 -0
- package/src/generated/api/IceServer.ts +19 -0
- package/src/generated/api/OnlineAgent.ts +6 -1
- package/src/generated/api/PerspectiveDiscardBatchParams.ts +3 -0
- package/src/generated/api/PerspectiveFlowFiredParams.ts +7 -0
- package/src/generated/api/PerspectiveFlowStatesParams.ts +11 -0
- package/src/generated/api/PerspectiveGetAllShaclParams.ts +6 -0
- package/src/generated/api/PerspectiveModelQueryParams.ts +5 -1
- package/src/generated/api/PerspectiveRemoveSubjectParams.ts +3 -0
- package/src/generated/api/PerspectiveResynced.ts +7 -0
- package/src/generated/api/PerspectiveSubscribed.ts +8 -0
- package/src/generated/api/PerspectiveUpdateSubjectParams.ts +7 -0
- package/src/generated/api/QuerySubscriptionUpdate.ts +10 -0
- package/src/generated/api/QuerySubscriptionUpdateEvent.ts +9 -0
- package/src/generated/api/QueryUpdatesLagged.ts +7 -0
- package/src/generated/api/RemoveSubjectRequest.ts +7 -0
- package/src/generated/api/ResyncSubscriptionRequest.ts +3 -0
- package/src/generated/api/RpcMethods.ts +68 -8
- package/src/generated/api/SfuAddIceCandidateParams.ts +7 -0
- package/src/generated/api/SfuAnswerServerOfferParams.ts +7 -0
- package/src/generated/api/SfuCallJoinParams.ts +13 -0
- package/src/generated/api/SfuCallRenegotiationOffer.ts +29 -0
- package/src/generated/api/SfuCascadePipe.ts +3 -0
- package/src/generated/api/SfuCascadeStatus.ts +7 -0
- package/src/generated/api/SfuConfig.ts +53 -0
- package/src/generated/api/SfuDataMessage.ts +23 -0
- package/src/generated/api/SfuEnsureMembershipParams.ts +3 -0
- package/src/generated/api/SfuMigrateEvent.ts +20 -0
- package/src/generated/api/{KeepAliveQueryRequest.ts → SfuNeighbourhoodParams.ts} +1 -1
- package/src/generated/api/SfuParticipantQualityPreference.ts +6 -0
- package/src/generated/api/{PerspectiveSubscribeQueryResult.ts → SfuPerspectiveParams.ts} +4 -1
- package/src/generated/api/SfuQualityPreferenceParams.ts +7 -0
- package/src/generated/api/SfuRoomInfo.ts +7 -0
- package/src/generated/api/SfuRoomParams.ts +3 -0
- package/src/generated/api/SfuRoomParticipantInfo.ts +8 -0
- package/src/generated/api/SfuRoomRoster.ts +12 -0
- package/src/generated/api/SfuSendDataParams.ts +7 -0
- package/src/generated/api/SfuSetConfigParams.ts +4 -0
- package/src/generated/api/SfuStatus.ts +24 -0
- package/src/generated/api/TrackMapEntry.ts +18 -0
- package/src/generated/api/UpdateSubjectRequest.ts +10 -0
- package/src/generated/api/index.ts +3 -0
- package/src/index.ts +7 -0
- package/src/model/Ad4mModel.test.ts +255 -231
- package/src/model/Ad4mModel.ts +271 -4
- package/src/model/ModelQueryBuilder.ts +103 -310
- package/src/model/abstract-classes.test.ts +225 -0
- package/src/model/decorators.ts +81 -0
- package/src/model/shacl-gen.ts +13 -0
- package/src/model/types.ts +7 -0
- package/src/neighbourhood/MeshManager.test.ts +2640 -0
- package/src/neighbourhood/MeshManager.ts +1350 -0
- package/src/neighbourhood/NeighbourhoodClient.ts +271 -0
- package/src/neighbourhood/NeighbourhoodProxy.test.ts +23 -0
- package/src/neighbourhood/NeighbourhoodProxy.ts +247 -1
- package/src/neighbourhood/Session.test.ts +800 -0
- package/src/neighbourhood/Session.ts +525 -0
- package/src/neighbourhood/SfuManager.test.ts +677 -0
- package/src/neighbourhood/SfuManager.ts +803 -0
- package/src/neighbourhood/SfuTypes.ts +40 -0
- package/src/perspectives/FlowInstance.ts +108 -31
- package/src/perspectives/FlowModels.ts +8 -18
- package/src/perspectives/LiveQuery.test.ts +197 -0
- package/src/perspectives/LiveQuery.ts +189 -0
- package/src/perspectives/PerspectiveClient.ts +51 -51
- package/src/perspectives/PerspectiveProxy.test.ts +85 -401
- package/src/perspectives/PerspectiveProxy.ts +126 -536
- package/src/perspectives/TextContent.test.ts +123 -0
- package/src/perspectives/TextContent.ts +36 -0
- package/src/perspectives/WakerSubscriptionManager.test.ts +88 -6
- package/src/perspectives/WakerSubscriptionManager.ts +69 -18
- package/src/shacl/SHACLFlow.ts +7 -4
- package/src/shacl/SHACLShape.test.ts +2 -1
- package/src/shacl/SHACLShape.ts +49 -0
- package/lib/src/generated/api/KeepAliveQueryRequest.d.ts +0 -3
- package/lib/src/generated/api/PerspectiveModelSubscribeResult.d.ts +0 -7
- package/lib/src/generated/api/PerspectiveQuerySubscriptionFilter.d.ts +0 -6
- package/lib/src/generated/api/PerspectiveSubscribeQueryResult.d.ts +0 -4
- package/src/generated/api/PerspectiveModelSubscribeResult.ts +0 -6
- package/src/generated/api/PerspectiveQuerySubscriptionFilter.ts +0 -3
- /package/lib/src/generated/api/{KeepAliveQueryRequest.js → AgentsByDidsRequest.js} +0 -0
- /package/lib/src/generated/api/{PerspectiveModelSubscribeResult.js → CallSessionInfo.js} +0 -0
- /package/lib/src/generated/api/{PerspectiveQuerySubscriptionFilter.js → DiscardBatchRequest.js} +0 -0
- /package/lib/src/generated/api/{PerspectiveSubscribeQueryResult.js → FlowStateChangedEvent.js} +0 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Data channel message relayed through the SFU, published on the
|
|
5
|
+
* `sfu-data` event to the room's members.
|
|
6
|
+
*/
|
|
7
|
+
export type SfuDataMessage = {
|
|
8
|
+
/**
|
|
9
|
+
* DID of the participant who sent the data.
|
|
10
|
+
*/
|
|
11
|
+
senderDid: string, neighbourhoodUrl: string, roomName: string,
|
|
12
|
+
/**
|
|
13
|
+
* Label of the data channel.
|
|
14
|
+
*/
|
|
15
|
+
channelLabel: string,
|
|
16
|
+
/**
|
|
17
|
+
* True when the payload is binary (base64-encoded in `data`).
|
|
18
|
+
*/
|
|
19
|
+
binary: boolean,
|
|
20
|
+
/**
|
|
21
|
+
* The payload — UTF-8 text or base64-encoded binary.
|
|
22
|
+
*/
|
|
23
|
+
data: string, };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Server-pushed event telling a participant to leave their current
|
|
5
|
+
* SFU node and rejoin on `target_did`. The cascade rebalancer
|
|
6
|
+
* publishes this when it detects a significant load imbalance across
|
|
7
|
+
* the cluster. The client should call `leave()`, set the connected
|
|
8
|
+
* node DID to `target_did`, then call `join()` — the same flow as
|
|
9
|
+
* cascade failover.
|
|
10
|
+
*/
|
|
11
|
+
export type SfuMigrateEvent = {
|
|
12
|
+
/**
|
|
13
|
+
* DID of the participant being migrated. Used by the events_ws
|
|
14
|
+
* fanout to filter per-user.
|
|
15
|
+
*/
|
|
16
|
+
targetDid: string, neighbourhoodUrl: string, roomName: string,
|
|
17
|
+
/**
|
|
18
|
+
* DID of the SFU node the participant should reconnect to.
|
|
19
|
+
*/
|
|
20
|
+
migrateToDid: string, };
|
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
/**
|
|
4
|
+
* A neighbourhood by its perspective's UUID.
|
|
5
|
+
*/
|
|
6
|
+
export type SfuPerspectiveParams = { uuid: string, };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
2
|
+
|
|
3
|
+
export type SfuQualityPreferenceParams = { neighbourhoodUrl: string, roomName: string,
|
|
4
|
+
/**
|
|
5
|
+
* The service rejects any other value.
|
|
6
|
+
*/
|
|
7
|
+
preference: "high" | "medium" | "low" | "auto", };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
2
|
+
import type { SfuRoomParticipantInfo } from "./SfuRoomParticipantInfo";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Snapshot of an SFU room, exposed over the WS RPC API.
|
|
6
|
+
*/
|
|
7
|
+
export type SfuRoomInfo = { neighbourhoodUrl: string, roomName: string, participantCount: number, participants: Array<SfuRoomParticipantInfo>, createdAtMs: number, };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* One participant of an [`SfuRoomInfo`]. The SDK names it
|
|
5
|
+
* `SfuRoomParticipantInfo`: its `SfuParticipantInfo` carries a live
|
|
6
|
+
* `MediaStream`.
|
|
7
|
+
*/
|
|
8
|
+
export type SfuRoomParticipantInfo = { agentDid: string, hasAudio: boolean, hasVideo: boolean, isActiveSpeaker: boolean, };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Who is in a call room now. Published whenever the room's participants
|
|
5
|
+
* change, and delivered to each of them, so a client knows who joined and
|
|
6
|
+
* who left without waiting on media.
|
|
7
|
+
*/
|
|
8
|
+
export type SfuRoomRoster = { neighbourhoodUrl: string, roomName: string,
|
|
9
|
+
/**
|
|
10
|
+
* DIDs of the room's participants on this node, sorted.
|
|
11
|
+
*/
|
|
12
|
+
participants: Array<string>, };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
2
|
+
|
|
3
|
+
export type SfuSendDataParams = { neighbourhoodUrl: string, roomName: string, channelLabel: string,
|
|
4
|
+
/**
|
|
5
|
+
* UTF-8 text, or base64 when `binary` is true.
|
|
6
|
+
*/
|
|
7
|
+
data: string, binary?: boolean, };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* `sfu.status`: whether this executor can relay media to remote
|
|
5
|
+
* participants.
|
|
6
|
+
*/
|
|
7
|
+
export type SfuStatus = { reachability: "public" | "nat" | "unknown",
|
|
8
|
+
/**
|
|
9
|
+
* True when the SFU accepts inbound connections from the internet.
|
|
10
|
+
*/
|
|
11
|
+
isPublic: boolean,
|
|
12
|
+
/**
|
|
13
|
+
* The SFU server's bound UDP address (`ip:port`).
|
|
14
|
+
*/
|
|
15
|
+
bindAddress: string,
|
|
16
|
+
/**
|
|
17
|
+
* The public address (`ip:port`) offered next to the bind address
|
|
18
|
+
* behind NAT, when there is one.
|
|
19
|
+
*/
|
|
20
|
+
advertisedAddress?: string,
|
|
21
|
+
/**
|
|
22
|
+
* Human-readable reachability detail.
|
|
23
|
+
*/
|
|
24
|
+
detail: string, };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Maps one outbound SDP m-line to the originating participant's DID.
|
|
5
|
+
*/
|
|
6
|
+
export type TrackMapEntry = {
|
|
7
|
+
/**
|
|
8
|
+
* The SDP mid (media-line identifier) in the offer.
|
|
9
|
+
*/
|
|
10
|
+
mid: string,
|
|
11
|
+
/**
|
|
12
|
+
* DID of the participant whose media this m-line carries.
|
|
13
|
+
*/
|
|
14
|
+
agentDid: string,
|
|
15
|
+
/**
|
|
16
|
+
* `"audio"` or `"video"`.
|
|
17
|
+
*/
|
|
18
|
+
mediaKind: string, };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Through an abstract class (#1435), dispatched to the record's own classes.
|
|
5
|
+
*/
|
|
6
|
+
export type UpdateSubjectRequest = { subjectClass: string, expressionAddress: string,
|
|
7
|
+
/**
|
|
8
|
+
* A JSON object: property name → value.
|
|
9
|
+
*/
|
|
10
|
+
values: string, batchId?: string, };
|
|
@@ -10,11 +10,13 @@ export type { AddLinkExpressionRequest } from "./AddLinkExpressionRequest";
|
|
|
10
10
|
export type { AddLinkRequest } from "./AddLinkRequest";
|
|
11
11
|
export type { AddLinksBulkRequest } from "./AddLinksBulkRequest";
|
|
12
12
|
export type { AddSdnaRequest } from "./AddSdnaRequest";
|
|
13
|
+
export type { AgentsByDidsRequest } from "./AgentsByDidsRequest";
|
|
13
14
|
export type { ApplyTemplateRequest } from "./ApplyTemplateRequest";
|
|
14
15
|
export type { CommitBatchRequest } from "./CommitBatchRequest";
|
|
15
16
|
export type { CreateExpressionRequest } from "./CreateExpressionRequest";
|
|
16
17
|
export type { CreatePerspectiveRequest } from "./CreatePerspectiveRequest";
|
|
17
18
|
export type { CreateSubjectRequest } from "./CreateSubjectRequest";
|
|
19
|
+
export type { DiscardBatchRequest } from "./DiscardBatchRequest";
|
|
18
20
|
export type { EmbedRequest } from "./EmbedRequest";
|
|
19
21
|
export type { ExecuteCommandsRequest } from "./ExecuteCommandsRequest";
|
|
20
22
|
export type { ExportRequest } from "./ExportRequest";
|
|
@@ -38,6 +40,7 @@ export type { PublishNeighbourhoodRequest } from "./PublishNeighbourhoodRequest"
|
|
|
38
40
|
export type { QueryRequest } from "./QueryRequest";
|
|
39
41
|
export type { RemoveLinkRequest } from "./RemoveLinkRequest";
|
|
40
42
|
export type { RemoveLinksBulkRequest } from "./RemoveLinksBulkRequest";
|
|
43
|
+
export type { ResyncSubscriptionRequest } from "./ResyncSubscriptionRequest";
|
|
41
44
|
export type { RunInterpretationRequest } from "./RunInterpretationRequest";
|
|
42
45
|
export type { SetDefaultModelRequest } from "./SetDefaultModelRequest";
|
|
43
46
|
export type { SetFreeHostingEnabledRequest } from "./SetFreeHostingEnabledRequest";
|
package/src/index.ts
CHANGED
|
@@ -16,9 +16,11 @@ export * from "./Literal";
|
|
|
16
16
|
export * from "./perspectives/Perspective";
|
|
17
17
|
export * from "./perspectives/PerspectiveHandle";
|
|
18
18
|
export * from "./perspectives/PerspectiveProxy";
|
|
19
|
+
export * from "./perspectives/LiveQuery";
|
|
19
20
|
export * from "./perspectives/AutoProcessor";
|
|
20
21
|
export * from "./perspectives/InterpretationModels";
|
|
21
22
|
export * from "./perspectives/FlowModels";
|
|
23
|
+
export * from "./perspectives/TextContent";
|
|
22
24
|
// Also exports FlowFireOutcome / FlowProposeResult, the result shapes of the
|
|
23
25
|
// flow write API — they live beside the `proposeTransition()` surface.
|
|
24
26
|
export * from "./perspectives/FlowInstance";
|
|
@@ -30,6 +32,11 @@ export * from "./SmartLiteral";
|
|
|
30
32
|
export * from "./model";
|
|
31
33
|
export * from "./neighbourhood/Neighbourhood";
|
|
32
34
|
export * from "./neighbourhood/NeighbourhoodProxy";
|
|
35
|
+
export * from "./neighbourhood/SfuTypes";
|
|
36
|
+
export type { SfuNeighbourhoodApi } from "./neighbourhood/SfuManager";
|
|
37
|
+
export type { Session, SessionTopology, SessionState, SessionEvent, SessionEventCallback, SessionCreateOptions } from "./neighbourhood/Session";
|
|
38
|
+
export { MeshManager, createTelepresenceChannel, parseCallMessage, CALL_PROTOCOL_VERSION, DEFAULT_ICE_SERVERS } from "./neighbourhood/MeshManager";
|
|
39
|
+
export type { SignallingChannel, TelepresenceProxy, MeshManagerOptions, MeshEvent, MeshEventCallback, MeshParticipant, RecoveryRung, CallBody, CallMessage, CallEnvelope, CallGenerations } from "./neighbourhood/MeshManager";
|
|
33
40
|
export * from "./typeDefs";
|
|
34
41
|
export * from "./DID";
|
|
35
42
|
export * from "./utils";
|