@q9labsai/chalk-client 5.0.0 → 5.1.0
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/CHANGELOG.md +34 -0
- package/README.md +39 -0
- package/dist/access/base64-url.d.ts +0 -1
- package/dist/access/grant.d.ts +0 -1
- package/dist/access/manager.d.ts +0 -1
- package/dist/chat-files/http-transport.d.ts +0 -1
- package/dist/chat-files/index.d.ts +0 -1
- package/dist/chat-files/types.d.ts +0 -1
- package/dist/{chunk-2HJIJVE2.js → chunk-3ZN7IXOZ.js} +341 -3
- package/dist/{chunk-O2NOZKJP.js → chunk-DWKTGBHR.js} +20 -8
- package/dist/{chunk-AVXJ4HQU.js → chunk-K7PNW3KI.js} +156 -35
- package/dist/{chunk-CMVO7USN.js → chunk-KHHULLBZ.js} +1 -1
- package/dist/{chunk-IPAN4LUZ.js → chunk-RJRSLXVT.js} +863 -409
- package/dist/client.d.ts +76 -1
- package/dist/collaboration/index.d.ts +0 -1
- package/dist/collaboration/types.d.ts +0 -1
- package/dist/collaboration/wire.d.ts +0 -1
- package/dist/connection/dependencies.d.ts +5 -3
- package/dist/connection/diagnostics.d.ts +1 -2
- package/dist/connection/index.d.ts +1 -1
- package/dist/connection/lifecycle.d.ts +2 -3
- package/dist/connection/media-devices.d.ts +0 -1
- package/dist/connection/production.d.ts +0 -1
- package/dist/connection/types.d.ts +2 -2
- package/dist/effect.d.ts +0 -1
- package/dist/effect.js +88 -4
- package/dist/foreground-deadline.d.ts +0 -1
- package/dist/generated/http-api.d.ts +76 -1
- package/dist/generated/schemas.d.ts +366 -7
- package/dist/generated/sync.d.ts +0 -1
- package/dist/generated/whiteboard-v1.d.ts +50 -7
- package/dist/index.d.ts +0 -1
- package/dist/index.js +7 -5
- package/dist/media/camera-uplink.d.ts +0 -1
- package/dist/media/capture-error.d.ts +0 -1
- package/dist/media/client.d.ts +3 -2
- package/dist/media/cloudflare-sfu.d.ts +0 -1
- package/dist/media/index.d.ts +0 -1
- package/dist/media/index.js +1 -1
- package/dist/media/observers.d.ts +0 -1
- package/dist/media/plane.d.ts +0 -1
- package/dist/media/remote-track-response.d.ts +0 -1
- package/dist/media/target.d.ts +0 -1
- package/dist/media/tracks.d.ts +0 -1
- package/dist/media/transport.d.ts +0 -1
- package/dist/media/types.d.ts +0 -1
- package/dist/public-invites/client.d.ts +0 -1
- package/dist/public-invites/index.d.ts +0 -1
- package/dist/public-invites/index.js +2 -2
- package/dist/public-invites/types.d.ts +0 -1
- package/dist/server/access-refresh.d.ts +0 -1
- package/dist/server/{chunk-C4XITY5U.js → chunk-XQOQTCUL.js} +22 -0
- package/dist/server/client.d.ts +0 -1
- package/dist/server/errors.d.cts +8 -1
- package/dist/server/errors.d.ts +8 -2
- package/dist/server/index.cjs +31 -7
- package/dist/server/index.d.cts +1 -1
- package/dist/server/index.d.ts +1 -2
- package/dist/server/index.js +10 -7
- package/dist/server/server-only.d.ts +0 -1
- package/dist/server/server-only.js +1 -1
- package/dist/server/transport.d.ts +0 -1
- package/dist/server/types.d.ts +0 -1
- package/dist/space-client/chat-controller-helpers.d.ts +0 -1
- package/dist/space-client/chat-controller.d.ts +0 -1
- package/dist/space-client/controller-effects.d.ts +0 -1
- package/dist/space-client/core.d.ts +0 -1
- package/dist/space-client/effect.d.ts +0 -1
- package/dist/space-client/errors.d.ts +4 -2
- package/dist/space-client/index.d.ts +1 -2
- package/dist/space-client/media-controller.d.ts +3 -2
- package/dist/space-client/media-device-selection.d.ts +0 -1
- package/dist/space-client/offline-actions-storage.d.ts +0 -1
- package/dist/space-client/offline-actions.d.ts +0 -1
- package/dist/space-client/participants-controller.d.ts +0 -1
- package/dist/space-client/promise-facade.d.ts +0 -1
- package/dist/space-client/reactions-controller.d.ts +0 -1
- package/dist/space-client/recording-controller.d.ts +0 -1
- package/dist/space-client/reload-rejoin.d.ts +0 -1
- package/dist/space-client/space-client.d.ts +0 -1
- package/dist/space-client/store.d.ts +0 -1
- package/dist/space-client/types.d.ts +7 -2
- package/dist/space-client/whiteboard-controller.d.ts +0 -1
- package/dist/sync/browser.d.ts +0 -1
- package/dist/sync/canonical.d.ts +0 -1
- package/dist/sync/dial-deadline.d.ts +3 -0
- package/dist/sync/errors.d.ts +0 -1
- package/dist/sync/index.d.ts +0 -1
- package/dist/sync/index.js +1 -1
- package/dist/sync/react-native.d.ts +0 -1
- package/dist/sync/types.d.ts +0 -1
- package/dist/sync/v1-client.d.ts +2 -2
- package/dist/sync/v1-codec.d.ts +0 -1
- package/dist/sync/v1-collaboration-state.d.ts +1 -1
- package/dist/sync/v1-command-scheduler.d.ts +0 -1
- package/dist/sync/v1-create.d.ts +0 -1
- package/dist/sync/v1-deferred.d.ts +0 -1
- package/dist/sync/v1-error.d.ts +0 -1
- package/dist/sync/v1-frame-signature.d.ts +0 -1
- package/dist/sync/v1-health.d.ts +15 -0
- package/dist/sync/v1-live-target-coordinator.d.ts +0 -1
- package/dist/sync/v1-persistence.d.ts +0 -1
- package/dist/sync/v1-platform-persistence.d.ts +0 -1
- package/dist/sync/v1-reducer.d.ts +3 -1
- package/dist/sync/v1-types.d.ts +10 -1
- package/dist/webhooks/errors.d.ts +0 -1
- package/dist/webhooks/generated/event-v1.d.ts +0 -1
- package/dist/webhooks/generated/fixtures-v1.d.ts +0 -1
- package/dist/webhooks/index.d.ts +0 -1
- package/dist/webhooks/processor.d.ts +0 -1
- package/dist/webhooks/server-only.d.ts +0 -1
- package/dist/webhooks/test.d.ts +0 -1
- package/dist/webhooks/types.d.ts +0 -1
- package/dist/webhooks/validate.d.ts +0 -1
- package/dist/webhooks/verify.d.ts +0 -1
- package/dist/whiteboard/file-download-transport.d.ts +0 -1
- package/dist/whiteboard/index.d.ts +5 -1
- package/dist/whiteboard/types.d.ts +28 -2
- package/dist/whiteboard/v1-client.d.ts +3 -2
- package/dist/whiteboard/v1-codec.d.ts +0 -1
- package/dist/whiteboard/v1-create.d.ts +0 -1
- package/dist/whiteboard/v1-multipart.d.ts +0 -1
- package/dist/whiteboard/v1-persistence.d.ts +0 -1
- package/package.json +4 -2
- package/dist/access/base64-url.d.ts.map +0 -1
- package/dist/access/grant.d.ts.map +0 -1
- package/dist/access/grant.test.helpers.d.ts +0 -10
- package/dist/access/grant.test.helpers.d.ts.map +0 -1
- package/dist/access/manager.d.ts.map +0 -1
- package/dist/chat-files/http-transport.d.ts.map +0 -1
- package/dist/chat-files/index.d.ts.map +0 -1
- package/dist/chat-files/types.d.ts.map +0 -1
- package/dist/client.d.ts.map +0 -1
- package/dist/collaboration/index.d.ts.map +0 -1
- package/dist/collaboration/types.d.ts.map +0 -1
- package/dist/collaboration/wire.d.ts.map +0 -1
- package/dist/connection/dependencies.d.ts.map +0 -1
- package/dist/connection/diagnostics.d.ts.map +0 -1
- package/dist/connection/index.d.ts.map +0 -1
- package/dist/connection/lifecycle.d.ts.map +0 -1
- package/dist/connection/media-devices.d.ts.map +0 -1
- package/dist/connection/production.d.ts.map +0 -1
- package/dist/connection/types.d.ts.map +0 -1
- package/dist/effect.d.ts.map +0 -1
- package/dist/foreground-deadline.d.ts.map +0 -1
- package/dist/generated/http-api.d.ts.map +0 -1
- package/dist/generated/schemas.d.ts.map +0 -1
- package/dist/generated/sync.d.ts.map +0 -1
- package/dist/generated/whiteboard-v1.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/media/camera-uplink.d.ts.map +0 -1
- package/dist/media/capture-error.d.ts.map +0 -1
- package/dist/media/client.d.ts.map +0 -1
- package/dist/media/cloudflare-sfu.d.ts.map +0 -1
- package/dist/media/index.d.ts.map +0 -1
- package/dist/media/observers.d.ts.map +0 -1
- package/dist/media/plane.d.ts.map +0 -1
- package/dist/media/remote-track-response.d.ts.map +0 -1
- package/dist/media/target.d.ts.map +0 -1
- package/dist/media/tracks.d.ts.map +0 -1
- package/dist/media/transport.d.ts.map +0 -1
- package/dist/media/types.d.ts.map +0 -1
- package/dist/public-invites/client.d.ts.map +0 -1
- package/dist/public-invites/index.d.ts.map +0 -1
- package/dist/public-invites/types.d.ts.map +0 -1
- package/dist/server/access-refresh.d.ts.map +0 -1
- package/dist/server/client.d.ts.map +0 -1
- package/dist/server/errors.d.ts.map +0 -1
- package/dist/server/index.d.ts.map +0 -1
- package/dist/server/server-only.d.ts.map +0 -1
- package/dist/server/transport.d.ts.map +0 -1
- package/dist/server/types.d.ts.map +0 -1
- package/dist/space-client/chat-controller-helpers.d.ts.map +0 -1
- package/dist/space-client/chat-controller.d.ts.map +0 -1
- package/dist/space-client/controller-effects.d.ts.map +0 -1
- package/dist/space-client/core.d.ts.map +0 -1
- package/dist/space-client/core.test.helpers.d.ts +0 -15
- package/dist/space-client/core.test.helpers.d.ts.map +0 -1
- package/dist/space-client/effect.d.ts.map +0 -1
- package/dist/space-client/errors.d.ts.map +0 -1
- package/dist/space-client/index.d.ts.map +0 -1
- package/dist/space-client/media-controller.d.ts.map +0 -1
- package/dist/space-client/media-device-selection.d.ts.map +0 -1
- package/dist/space-client/offline-actions-storage.d.ts.map +0 -1
- package/dist/space-client/offline-actions.d.ts.map +0 -1
- package/dist/space-client/participants-controller.d.ts.map +0 -1
- package/dist/space-client/promise-facade.d.ts.map +0 -1
- package/dist/space-client/reactions-controller.d.ts.map +0 -1
- package/dist/space-client/recording-controller.d.ts.map +0 -1
- package/dist/space-client/reload-rejoin.d.ts.map +0 -1
- package/dist/space-client/space-client.d.ts.map +0 -1
- package/dist/space-client/store.d.ts.map +0 -1
- package/dist/space-client/terminal.test.helpers.d.ts +0 -136
- package/dist/space-client/terminal.test.helpers.d.ts.map +0 -1
- package/dist/space-client/types.d.ts.map +0 -1
- package/dist/space-client/whiteboard-controller.d.ts.map +0 -1
- package/dist/sync/browser.d.ts.map +0 -1
- package/dist/sync/canonical.d.ts.map +0 -1
- package/dist/sync/errors.d.ts.map +0 -1
- package/dist/sync/index.d.ts.map +0 -1
- package/dist/sync/react-native.d.ts.map +0 -1
- package/dist/sync/types.d.ts.map +0 -1
- package/dist/sync/v1-client.d.ts.map +0 -1
- package/dist/sync/v1-codec.d.ts.map +0 -1
- package/dist/sync/v1-collaboration-state.d.ts.map +0 -1
- package/dist/sync/v1-command-scheduler.d.ts.map +0 -1
- package/dist/sync/v1-create.d.ts.map +0 -1
- package/dist/sync/v1-deferred.d.ts.map +0 -1
- package/dist/sync/v1-error.d.ts.map +0 -1
- package/dist/sync/v1-frame-signature.d.ts.map +0 -1
- package/dist/sync/v1-live-target-coordinator.d.ts.map +0 -1
- package/dist/sync/v1-persistence.d.ts.map +0 -1
- package/dist/sync/v1-platform-persistence.d.ts.map +0 -1
- package/dist/sync/v1-reducer.d.ts.map +0 -1
- package/dist/sync/v1-types.d.ts.map +0 -1
- package/dist/webhooks/errors.d.ts.map +0 -1
- package/dist/webhooks/generated/event-v1.d.ts.map +0 -1
- package/dist/webhooks/generated/fixtures-v1.d.ts.map +0 -1
- package/dist/webhooks/index.d.ts.map +0 -1
- package/dist/webhooks/processor.d.ts.map +0 -1
- package/dist/webhooks/server-only.d.ts.map +0 -1
- package/dist/webhooks/test.d.ts.map +0 -1
- package/dist/webhooks/types.d.ts.map +0 -1
- package/dist/webhooks/validate.d.ts.map +0 -1
- package/dist/webhooks/verify.d.ts.map +0 -1
- package/dist/whiteboard/file-download-transport.d.ts.map +0 -1
- package/dist/whiteboard/index.d.ts.map +0 -1
- package/dist/whiteboard/types.d.ts.map +0 -1
- package/dist/whiteboard/v1-client.d.ts.map +0 -1
- package/dist/whiteboard/v1-codec.d.ts.map +0 -1
- package/dist/whiteboard/v1-create.d.ts.map +0 -1
- package/dist/whiteboard/v1-multipart.d.ts.map +0 -1
- package/dist/whiteboard/v1-persistence.d.ts.map +0 -1
package/dist/client.d.ts
CHANGED
|
@@ -1091,11 +1091,81 @@ export declare const createChalkEffectClient: (options: ChalkEffectClientOptions
|
|
|
1091
1091
|
readonly code: import("effect/Schema").Literal<"episode.invalid_id">;
|
|
1092
1092
|
readonly message: import("effect/Schema").String;
|
|
1093
1093
|
}>;
|
|
1094
|
+
}>, never, never> | import("effect/Schema").decodeTo<typeof import("./effect").MediaTokenExpiredError, import("effect/Schema").Struct<{
|
|
1095
|
+
readonly error: import("effect/Schema").Struct<{
|
|
1096
|
+
readonly code: import("effect/Schema").Literal<"media_token.expired">;
|
|
1097
|
+
readonly message: import("effect/Schema").String;
|
|
1098
|
+
}>;
|
|
1099
|
+
}>, never, never> | import("effect/Schema").decodeTo<typeof import("./effect").MediaTokenInvalidAudienceError, import("effect/Schema").Struct<{
|
|
1100
|
+
readonly error: import("effect/Schema").Struct<{
|
|
1101
|
+
readonly code: import("effect/Schema").Literal<"media_token.invalid_audience">;
|
|
1102
|
+
readonly message: import("effect/Schema").String;
|
|
1103
|
+
}>;
|
|
1104
|
+
}>, never, never> | import("effect/Schema").decodeTo<typeof import("./effect").MediaTokenInvalidHeaderError, import("effect/Schema").Struct<{
|
|
1105
|
+
readonly error: import("effect/Schema").Struct<{
|
|
1106
|
+
readonly code: import("effect/Schema").Literal<"media_token.invalid_header">;
|
|
1107
|
+
readonly message: import("effect/Schema").String;
|
|
1108
|
+
}>;
|
|
1109
|
+
}>, never, never> | import("effect/Schema").decodeTo<typeof import("./effect").MediaTokenInvalidIssuerError, import("effect/Schema").Struct<{
|
|
1110
|
+
readonly error: import("effect/Schema").Struct<{
|
|
1111
|
+
readonly code: import("effect/Schema").Literal<"media_token.invalid_issuer">;
|
|
1112
|
+
readonly message: import("effect/Schema").String;
|
|
1113
|
+
}>;
|
|
1114
|
+
}>, never, never> | import("effect/Schema").decodeTo<typeof import("./effect").MediaTokenInvalidSignatureError, import("effect/Schema").Struct<{
|
|
1115
|
+
readonly error: import("effect/Schema").Struct<{
|
|
1116
|
+
readonly code: import("effect/Schema").Literal<"media_token.invalid_signature">;
|
|
1117
|
+
readonly message: import("effect/Schema").String;
|
|
1118
|
+
}>;
|
|
1119
|
+
}>, never, never> | import("effect/Schema").decodeTo<typeof import("./effect").MediaTokenInvalidSubjectError, import("effect/Schema").Struct<{
|
|
1120
|
+
readonly error: import("effect/Schema").Struct<{
|
|
1121
|
+
readonly code: import("effect/Schema").Literal<"media_token.invalid_subject">;
|
|
1122
|
+
readonly message: import("effect/Schema").String;
|
|
1123
|
+
}>;
|
|
1124
|
+
}>, never, never> | import("effect/Schema").decodeTo<typeof import("./effect").MediaTokenInvalidTimeClaimsError, import("effect/Schema").Struct<{
|
|
1125
|
+
readonly error: import("effect/Schema").Struct<{
|
|
1126
|
+
readonly code: import("effect/Schema").Literal<"media_token.invalid_time_claims">;
|
|
1127
|
+
readonly message: import("effect/Schema").String;
|
|
1128
|
+
}>;
|
|
1129
|
+
}>, never, never> | import("effect/Schema").decodeTo<typeof import("./effect").MediaTokenLifetimeExceededError, import("effect/Schema").Struct<{
|
|
1130
|
+
readonly error: import("effect/Schema").Struct<{
|
|
1131
|
+
readonly code: import("effect/Schema").Literal<"media_token.lifetime_exceeded">;
|
|
1132
|
+
readonly message: import("effect/Schema").String;
|
|
1133
|
+
}>;
|
|
1134
|
+
}>, never, never> | import("effect/Schema").decodeTo<typeof import("./effect").MediaTokenMalformedError, import("effect/Schema").Struct<{
|
|
1135
|
+
readonly error: import("effect/Schema").Struct<{
|
|
1136
|
+
readonly code: import("effect/Schema").Literal<"media_token.malformed">;
|
|
1137
|
+
readonly message: import("effect/Schema").String;
|
|
1138
|
+
}>;
|
|
1139
|
+
}>, never, never> | import("effect/Schema").decodeTo<typeof import("./effect").MediaTokenNotYetValidError, import("effect/Schema").Struct<{
|
|
1140
|
+
readonly error: import("effect/Schema").Struct<{
|
|
1141
|
+
readonly code: import("effect/Schema").Literal<"media_token.not_yet_valid">;
|
|
1142
|
+
readonly message: import("effect/Schema").String;
|
|
1143
|
+
}>;
|
|
1144
|
+
}>, never, never> | import("effect/Schema").decodeTo<typeof import("./effect").MediaTokenRequiredError, import("effect/Schema").Struct<{
|
|
1145
|
+
readonly error: import("effect/Schema").Struct<{
|
|
1146
|
+
readonly code: import("effect/Schema").Literal<"media_token.required">;
|
|
1147
|
+
readonly message: import("effect/Schema").String;
|
|
1148
|
+
}>;
|
|
1149
|
+
}>, never, never> | import("effect/Schema").decodeTo<typeof import("./effect").MediaTokenSubjectMismatchError, import("effect/Schema").Struct<{
|
|
1150
|
+
readonly error: import("effect/Schema").Struct<{
|
|
1151
|
+
readonly code: import("effect/Schema").Literal<"media_token.subject_mismatch">;
|
|
1152
|
+
readonly message: import("effect/Schema").String;
|
|
1153
|
+
}>;
|
|
1154
|
+
}>, never, never> | import("effect/Schema").decodeTo<typeof import("./effect").MediaTokenUnknownKeyError, import("effect/Schema").Struct<{
|
|
1155
|
+
readonly error: import("effect/Schema").Struct<{
|
|
1156
|
+
readonly code: import("effect/Schema").Literal<"media_token.unknown_key">;
|
|
1157
|
+
readonly message: import("effect/Schema").String;
|
|
1158
|
+
}>;
|
|
1094
1159
|
}>, never, never> | import("effect/Schema").decodeTo<typeof import("./effect").MediaUnavailableError, import("effect/Schema").Struct<{
|
|
1095
1160
|
readonly error: import("effect/Schema").Struct<{
|
|
1096
1161
|
readonly code: import("effect/Schema").Literal<"media.unavailable">;
|
|
1097
1162
|
readonly message: import("effect/Schema").String;
|
|
1098
1163
|
}>;
|
|
1164
|
+
}>, never, never> | import("effect/Schema").decodeTo<typeof import("./effect").ParticipantConnectionSupersededError, import("effect/Schema").Struct<{
|
|
1165
|
+
readonly error: import("effect/Schema").Struct<{
|
|
1166
|
+
readonly code: import("effect/Schema").Literal<"participant.connection_superseded">;
|
|
1167
|
+
readonly message: import("effect/Schema").String;
|
|
1168
|
+
}>;
|
|
1099
1169
|
}>, never, never> | import("effect/Schema").decodeTo<typeof import("./effect").ParticipantGenerationMismatchError, import("effect/Schema").Struct<{
|
|
1100
1170
|
readonly error: import("effect/Schema").Struct<{
|
|
1101
1171
|
readonly code: import("effect/Schema").Literal<"participant.generation_mismatch">;
|
|
@@ -3697,6 +3767,8 @@ export declare const createChalkEffectClient: (options: ChalkEffectClientOptions
|
|
|
3697
3767
|
}>>, never, never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
3698
3768
|
readonly "Idempotency-Key": import("effect/Schema").String;
|
|
3699
3769
|
}>>, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
3770
|
+
readonly decision_action: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3771
|
+
readonly decision_state: import("effect/Schema").String;
|
|
3700
3772
|
readonly display_name: import("effect/Schema").String;
|
|
3701
3773
|
readonly expires_at: import("effect/Schema").brand<import("effect/Schema").String, "DateTimeString">;
|
|
3702
3774
|
readonly request_handle: import("effect/Schema").String;
|
|
@@ -4229,6 +4301,8 @@ export declare const createChalkEffectClient: (options: ChalkEffectClientOptions
|
|
|
4229
4301
|
}>>, never, never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
4230
4302
|
readonly "Idempotency-Key": import("effect/Schema").String;
|
|
4231
4303
|
}>>, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
4304
|
+
readonly decision_action: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
4305
|
+
readonly decision_state: import("effect/Schema").String;
|
|
4232
4306
|
readonly display_name: import("effect/Schema").String;
|
|
4233
4307
|
readonly expires_at: import("effect/Schema").brand<import("effect/Schema").String, "DateTimeString">;
|
|
4234
4308
|
readonly request_handle: import("effect/Schema").String;
|
|
@@ -4653,6 +4727,8 @@ export declare const createChalkEffectClient: (options: ChalkEffectClientOptions
|
|
|
4653
4727
|
readonly state: import("effect/Schema").optional<import("effect/Schema").Literal<"pending">>;
|
|
4654
4728
|
}>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
4655
4729
|
readonly requests: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
4730
|
+
readonly decision_action: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
4731
|
+
readonly decision_state: import("effect/Schema").String;
|
|
4656
4732
|
readonly display_name: import("effect/Schema").String;
|
|
4657
4733
|
readonly expires_at: import("effect/Schema").brand<import("effect/Schema").String, "DateTimeString">;
|
|
4658
4734
|
readonly request_handle: import("effect/Schema").String;
|
|
@@ -6248,4 +6324,3 @@ export declare const createChalkEffectClient: (options: ChalkEffectClientOptions
|
|
|
6248
6324
|
}>, never, never>>, never, never>, never, never>;
|
|
6249
6325
|
};
|
|
6250
6326
|
}, never, never>;
|
|
6251
|
-
//# sourceMappingURL=client.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ClientMediaPlane, CloudflareSFUBootstrap, ConnectionMediaSnapshot } from "../media";
|
|
2
2
|
import type { ChalkChatFileTransport } from "../chat-files";
|
|
3
3
|
import type { V1AdmissionTarget, V1AssignableRole, V1CommandResult, V1EpisodeSnapshot, V1SelfMediaTargetResult } from "../sync";
|
|
4
|
-
import type { V1CollaborationClient, V1DirectedRequest, V1DirectedRequestResult } from "../sync/v1-types";
|
|
4
|
+
import type { V1CollaborationClient, V1DirectedRequest, V1DirectedRequestResult, V1MediaPause } from "../sync/v1-types";
|
|
5
5
|
import type { ChalkWhiteboardSummary, ChalkWhiteboardV1ClientOptions, ChalkWhiteboardV1Transport } from "../whiteboard/types";
|
|
6
6
|
import type { ParsedAccessGrant, ParticipantMediaAccess, ParticipantMediaCredential } from "../access/grant";
|
|
7
7
|
import { Context, Layer } from "effect";
|
|
@@ -57,6 +57,7 @@ export type ConnectionSyncClient = V1CollaborationClient & {
|
|
|
57
57
|
readonly stopRecording: (recordingId: string) => Promise<V1CommandResult>;
|
|
58
58
|
readonly endEpisode: () => Promise<V1CommandResult>;
|
|
59
59
|
readonly extendEpisode: (minutes: number) => Promise<V1CommandResult>;
|
|
60
|
+
readonly onMediaPause?: (listener: (pause: V1MediaPause) => void) => () => void;
|
|
60
61
|
readonly onDirectedRequest: (listener: (request: V1DirectedRequest) => void) => () => void;
|
|
61
62
|
readonly requestUnmute: (participantId: string) => Promise<V1DirectedRequestResult>;
|
|
62
63
|
readonly requestStartCamera: (participantId: string) => Promise<V1DirectedRequestResult>;
|
|
@@ -66,7 +67,9 @@ export type ConnectionMediaClient = ClientMediaPlane & {
|
|
|
66
67
|
readonly stop: () => void;
|
|
67
68
|
readonly restart: (input: CloudflareSFUBootstrap | ParticipantMediaAccess) => Promise<void>;
|
|
68
69
|
readonly prepareLocalTrack: (source: "microphone" | "camera" | "screen" | "screen_audio", track: MediaStreamTrack) => void;
|
|
69
|
-
readonly clearPreparedLocalTrack: (source: "microphone" | "camera" | "screen" | "screen_audio"
|
|
70
|
+
readonly clearPreparedLocalTrack: (source: "microphone" | "camera" | "screen" | "screen_audio", options?: {
|
|
71
|
+
readonly stopTrack?: boolean;
|
|
72
|
+
}) => Promise<void>;
|
|
70
73
|
readonly getSnapshot: () => ConnectionMediaSnapshot;
|
|
71
74
|
readonly subscribe: (listener: () => void) => () => void;
|
|
72
75
|
};
|
|
@@ -116,4 +119,3 @@ export declare const makeConnectionPlatformLayer: (dependencies: ConnectionDepen
|
|
|
116
119
|
/** A named alias makes fake platform Layers self-documenting in tests. */
|
|
117
120
|
export declare const makeFakeConnectionPlatformLayer: (dependencies: ConnectionDependencies) => Layer.Layer<ConnectionPlatformService, never, never>;
|
|
118
121
|
export {};
|
|
119
|
-
//# sourceMappingURL=dependencies.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ConnectionErrorCode, ConnectionState } from "./types";
|
|
2
|
-
export type ConnectionDiagnosticEventName = "connection_failed" | "state_changed" | "access_refreshed" | "access_refresh_failed" | "recovery_attempt" | "recovery_succeeded" | "recovery_exhausted" | "cleanup_completed" | "cleanup_unconfirmed" | "space_join_span";
|
|
2
|
+
export type ConnectionDiagnosticEventName = "sync_dial_timeout" | "connection_failed" | "state_changed" | "access_refreshed" | "access_refresh_failed" | "recovery_attempt" | "recovery_succeeded" | "recovery_exhausted" | "cleanup_completed" | "cleanup_unconfirmed" | "space_join_span";
|
|
3
3
|
export type ConnectionJoinTraceStep = "join" | "acquire_initial_media" | "access_initialize" | "create_media_client" | "create_sync_client" | "start_media" | "start_sync" | "wait_for_sync_live";
|
|
4
4
|
export type ConnectionJoinTraceOutcome = "started" | "succeeded" | "failed" | "cancelled";
|
|
5
5
|
export type ConnectionJoinTraceEvent = ConnectionDiagnostic & {
|
|
@@ -49,4 +49,3 @@ export declare class ConnectionDiagnostics {
|
|
|
49
49
|
}): ConnectionJoinTraceSpan;
|
|
50
50
|
joinTrace(): readonly ConnectionJoinTraceEvent[];
|
|
51
51
|
}
|
|
52
|
-
//# sourceMappingURL=diagnostics.d.ts.map
|
|
@@ -13,6 +13,7 @@ export type ConnectionLifecycleSnapshot = {
|
|
|
13
13
|
} | null;
|
|
14
14
|
readonly connection: {
|
|
15
15
|
readonly sync: ConnectionConnectionPhase;
|
|
16
|
+
readonly syncHealth?: import("../sync/v1-health").SyncHealth;
|
|
16
17
|
readonly media: ConnectionConnectionPhase;
|
|
17
18
|
};
|
|
18
19
|
readonly failure: ConnectionFailure | null;
|
|
@@ -44,4 +45,3 @@ export type ConnectionOptions = {
|
|
|
44
45
|
};
|
|
45
46
|
export { ConnectionLifecycleFailure, ConnectionLifecycleService, makeConnectionLifecycleLayer, makeFakeConnectionLifecycleLayer } from "./lifecycle";
|
|
46
47
|
export type { ConnectionLifecycleCapability } from "./lifecycle";
|
|
47
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -2,7 +2,7 @@ import { Clock, Context, Effect, Layer, SubscriptionRef } from "effect";
|
|
|
2
2
|
import { ConnectionAccessService } from "../access/manager";
|
|
3
3
|
import type { ConnectionLifecycleSnapshot, ConnectionOptions, ConnectionPorts } from "./index";
|
|
4
4
|
import { type ConnectionDiagnostic, type ConnectionJoinTraceEvent } from "./diagnostics";
|
|
5
|
-
import { ConnectionPlatformService } from "./dependencies";
|
|
5
|
+
import { ConnectionPlatformService, type ConnectionMediaClient } from "./dependencies";
|
|
6
6
|
import { type ConnectionFailure } from "./types";
|
|
7
7
|
type InitialMedia = (intent: Readonly<{
|
|
8
8
|
microphone: boolean;
|
|
@@ -31,7 +31,7 @@ export type ConnectionLifecycleCapability = {
|
|
|
31
31
|
readonly setInitialMedia: (provider: InitialMedia, intent?: () => Readonly<{
|
|
32
32
|
microphone: boolean;
|
|
33
33
|
camera: boolean;
|
|
34
|
-
}>) => Effect.Effect<void>;
|
|
34
|
+
}>, start?: (media: ConnectionMediaClient, stream: MediaStream) => Effect.Effect<void, unknown>) => Effect.Effect<void>;
|
|
35
35
|
readonly configureJoin: (intent: Readonly<{
|
|
36
36
|
microphone?: boolean;
|
|
37
37
|
camera?: boolean;
|
|
@@ -58,4 +58,3 @@ export declare const makeConnectionLifecycleLayer: (options: ConnectionOptions)
|
|
|
58
58
|
export declare const makeFakeConnectionLifecycleLayer: (options: ConnectionOptions) => Layer.Layer<ConnectionLifecycleService, never>;
|
|
59
59
|
export declare const makeConnectionLifecycleLayerFromServices: (options: Omit<ConnectionOptions, "access" | "dependencies">) => Layer.Layer<ConnectionLifecycleService, never, Clock.Clock | ConnectionAccessService | ConnectionPlatformService>;
|
|
60
60
|
export {};
|
|
61
|
-
//# sourceMappingURL=lifecycle.d.ts.map
|
|
@@ -13,4 +13,3 @@ export declare const makeProductionConnectionPlatformLayer: (options: {
|
|
|
13
13
|
type BoundMediaClient = Pick<ConnectionMediaClient, "setLocalPublicationTarget" | "setLocalSourceIntent" | "closeForcedLocalPublication" | "observeLocalPublications" | "observeRemotePublications" | "remotePublicationsChanged" | "remoteParticipantsChanged" | "remotePublicationResumed" | "start" | "stop" | "prepareLocalTrack" | "clearPreparedLocalTrack" | "getSnapshot" | "subscribe">;
|
|
14
14
|
export declare function bindConnectionMediaClient(client: BoundMediaClient, restart: ConnectionMediaClient["restart"]): ConnectionMediaClient;
|
|
15
15
|
export {};
|
|
16
|
-
//# sourceMappingURL=production.d.ts.map
|
|
@@ -10,7 +10,7 @@ export declare const CONNECTION_STATES: readonly ["idle", "joining", "live", "re
|
|
|
10
10
|
export type ConnectionState = (typeof CONNECTION_STATES)[number];
|
|
11
11
|
export declare const CONNECTION_ACTIONS: readonly ["join", "leave", "setMicrophoneEnabled", "setCameraEnabled", "startScreenShare", "stopScreenShare", "setHandRaised", "setDisplayName", "setAdmissionPolicy", "assignRole", "admitParticipant", "denyAdmission", "muteParticipant", "stopParticipantCamera", "stopParticipantScreenShare", "removeParticipant", "endEpisode", "extendEpisode", "sendReaction", "sendChatMessage", "retryChatMessage", "loadOlderChatMessages", "markChatRead", "requestUnmute", "requestStartCamera", "acceptMediaRequest", "declineMediaRequest"];
|
|
12
12
|
export type ConnectionActionName = (typeof CONNECTION_ACTIONS)[number];
|
|
13
|
-
export declare const CONNECTION_ERROR_CODES: readonly ["invalid_state", "invalid_access", "access_unavailable", "permission_denied", "device_not_found", "device_busy", "device_constraint_invalid", "media_capture_failed", "sync_start_failed", "media_start_failed", "join_cleanup_unconfirmed", "sync_recovery_exhausted", "media_recovery_exhausted", "command_rejected", "leave_unconfirmed", "episode_ended", "unsupported_environment", "internal_error", "collaboration_unavailable", "chat_cursor_reset_required", "rate_limited", "invalid_payload"];
|
|
13
|
+
export declare const CONNECTION_ERROR_CODES: readonly ["invalid_state", "invalid_access", "access_unavailable", "permission_denied", "device_not_found", "device_busy", "device_constraint_invalid", "media_capture_failed", "sync_start_failed", "state_digest_recovery_failed", "sync_hello_timeout", "media_start_failed", "join_cleanup_unconfirmed", "sync_recovery_exhausted", "media_recovery_exhausted", "command_rejected", "leave_unconfirmed", "episode_ended", "unsupported_environment", "internal_error", "collaboration_unavailable", "chat_cursor_reset_required", "rate_limited", "invalid_payload"];
|
|
14
14
|
export type ConnectionErrorCode = (typeof CONNECTION_ERROR_CODES)[number];
|
|
15
15
|
export type ConnectionFailure = {
|
|
16
16
|
readonly code: ConnectionErrorCode;
|
|
@@ -69,6 +69,7 @@ export type ConnectionSnapshot = {
|
|
|
69
69
|
} | null;
|
|
70
70
|
readonly connection: {
|
|
71
71
|
readonly sync: ConnectionConnectionPhase;
|
|
72
|
+
readonly syncHealth?: import("../sync/v1-health").SyncHealth;
|
|
72
73
|
readonly media: ConnectionConnectionPhase;
|
|
73
74
|
};
|
|
74
75
|
readonly admissionPolicy: ChalkAdmissionPolicy | null;
|
|
@@ -125,4 +126,3 @@ export type ConnectionStore = ConnectionActions & {
|
|
|
125
126
|
readonly chatFiles: ChalkChatFileTransport | null;
|
|
126
127
|
readonly whiteboard: ChalkWhiteboardV1Transport | null;
|
|
127
128
|
};
|
|
128
|
-
//# sourceMappingURL=types.d.ts.map
|
package/dist/effect.d.ts
CHANGED
|
@@ -12,4 +12,3 @@ export { SpaceClientCoreService, makeSpaceClientCoreLayer, makeSpaceClientCoreLa
|
|
|
12
12
|
export type { EffectChatController, EffectMediaController, EffectParticipantsController, EffectReactionsController, EffectSpaceClient, EffectWhiteboardController, SpaceClientPlatform } from "./space-client/effect";
|
|
13
13
|
export type { ConnectionAccessEffectProvider, ConnectionAccessEffectService } from "./access/manager";
|
|
14
14
|
export type { ConnectionLifecycleCapability } from "./connection";
|
|
15
|
-
//# sourceMappingURL=effect.d.ts.map
|
package/dist/effect.js
CHANGED
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
makeSpaceClientCoreLayer,
|
|
18
18
|
makeSpaceClientCoreLayerFromServices,
|
|
19
19
|
makeSpaceStoreLayer
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-RJRSLXVT.js";
|
|
21
21
|
import {
|
|
22
22
|
APIKeyListSchema,
|
|
23
23
|
APIKeyWithSecretSchema,
|
|
@@ -369,6 +369,45 @@ import {
|
|
|
369
369
|
MediaConnectionNotFoundErrorSchema,
|
|
370
370
|
MediaConnectionNotFoundErrorWireSchema,
|
|
371
371
|
MediaPlaneProviderConfigSchema,
|
|
372
|
+
MediaTokenExpiredError,
|
|
373
|
+
MediaTokenExpiredErrorSchema,
|
|
374
|
+
MediaTokenExpiredErrorWireSchema,
|
|
375
|
+
MediaTokenInvalidAudienceError,
|
|
376
|
+
MediaTokenInvalidAudienceErrorSchema,
|
|
377
|
+
MediaTokenInvalidAudienceErrorWireSchema,
|
|
378
|
+
MediaTokenInvalidHeaderError,
|
|
379
|
+
MediaTokenInvalidHeaderErrorSchema,
|
|
380
|
+
MediaTokenInvalidHeaderErrorWireSchema,
|
|
381
|
+
MediaTokenInvalidIssuerError,
|
|
382
|
+
MediaTokenInvalidIssuerErrorSchema,
|
|
383
|
+
MediaTokenInvalidIssuerErrorWireSchema,
|
|
384
|
+
MediaTokenInvalidSignatureError,
|
|
385
|
+
MediaTokenInvalidSignatureErrorSchema,
|
|
386
|
+
MediaTokenInvalidSignatureErrorWireSchema,
|
|
387
|
+
MediaTokenInvalidSubjectError,
|
|
388
|
+
MediaTokenInvalidSubjectErrorSchema,
|
|
389
|
+
MediaTokenInvalidSubjectErrorWireSchema,
|
|
390
|
+
MediaTokenInvalidTimeClaimsError,
|
|
391
|
+
MediaTokenInvalidTimeClaimsErrorSchema,
|
|
392
|
+
MediaTokenInvalidTimeClaimsErrorWireSchema,
|
|
393
|
+
MediaTokenLifetimeExceededError,
|
|
394
|
+
MediaTokenLifetimeExceededErrorSchema,
|
|
395
|
+
MediaTokenLifetimeExceededErrorWireSchema,
|
|
396
|
+
MediaTokenMalformedError,
|
|
397
|
+
MediaTokenMalformedErrorSchema,
|
|
398
|
+
MediaTokenMalformedErrorWireSchema,
|
|
399
|
+
MediaTokenNotYetValidError,
|
|
400
|
+
MediaTokenNotYetValidErrorSchema,
|
|
401
|
+
MediaTokenNotYetValidErrorWireSchema,
|
|
402
|
+
MediaTokenRequiredError,
|
|
403
|
+
MediaTokenRequiredErrorSchema,
|
|
404
|
+
MediaTokenRequiredErrorWireSchema,
|
|
405
|
+
MediaTokenSubjectMismatchError,
|
|
406
|
+
MediaTokenSubjectMismatchErrorSchema,
|
|
407
|
+
MediaTokenSubjectMismatchErrorWireSchema,
|
|
408
|
+
MediaTokenUnknownKeyError,
|
|
409
|
+
MediaTokenUnknownKeyErrorSchema,
|
|
410
|
+
MediaTokenUnknownKeyErrorWireSchema,
|
|
372
411
|
MediaUnavailableError,
|
|
373
412
|
MediaUnavailableErrorSchema,
|
|
374
413
|
MediaUnavailableErrorWireSchema,
|
|
@@ -394,6 +433,9 @@ import {
|
|
|
394
433
|
PaginationInvalidPageSizeErrorSchema,
|
|
395
434
|
PaginationInvalidPageSizeErrorWireSchema,
|
|
396
435
|
PaginationSchema,
|
|
436
|
+
ParticipantConnectionSupersededError,
|
|
437
|
+
ParticipantConnectionSupersededErrorSchema,
|
|
438
|
+
ParticipantConnectionSupersededErrorWireSchema,
|
|
397
439
|
ParticipantGenerationMismatchError,
|
|
398
440
|
ParticipantGenerationMismatchErrorSchema,
|
|
399
441
|
ParticipantGenerationMismatchErrorWireSchema,
|
|
@@ -756,9 +798,9 @@ import {
|
|
|
756
798
|
WhiteboardStorageUnavailableErrorSchema,
|
|
757
799
|
WhiteboardStorageUnavailableErrorWireSchema,
|
|
758
800
|
createChalkEffectClient
|
|
759
|
-
} from "./chunk-
|
|
760
|
-
import "./chunk-
|
|
761
|
-
import "./chunk-
|
|
801
|
+
} from "./chunk-3ZN7IXOZ.js";
|
|
802
|
+
import "./chunk-DWKTGBHR.js";
|
|
803
|
+
import "./chunk-K7PNW3KI.js";
|
|
762
804
|
|
|
763
805
|
// src/space-client/effect.ts
|
|
764
806
|
import { Context, Effect, Exit, Layer, Scope } from "effect";
|
|
@@ -1150,6 +1192,45 @@ export {
|
|
|
1150
1192
|
MediaConnectionNotFoundErrorSchema,
|
|
1151
1193
|
MediaConnectionNotFoundErrorWireSchema,
|
|
1152
1194
|
MediaPlaneProviderConfigSchema,
|
|
1195
|
+
MediaTokenExpiredError,
|
|
1196
|
+
MediaTokenExpiredErrorSchema,
|
|
1197
|
+
MediaTokenExpiredErrorWireSchema,
|
|
1198
|
+
MediaTokenInvalidAudienceError,
|
|
1199
|
+
MediaTokenInvalidAudienceErrorSchema,
|
|
1200
|
+
MediaTokenInvalidAudienceErrorWireSchema,
|
|
1201
|
+
MediaTokenInvalidHeaderError,
|
|
1202
|
+
MediaTokenInvalidHeaderErrorSchema,
|
|
1203
|
+
MediaTokenInvalidHeaderErrorWireSchema,
|
|
1204
|
+
MediaTokenInvalidIssuerError,
|
|
1205
|
+
MediaTokenInvalidIssuerErrorSchema,
|
|
1206
|
+
MediaTokenInvalidIssuerErrorWireSchema,
|
|
1207
|
+
MediaTokenInvalidSignatureError,
|
|
1208
|
+
MediaTokenInvalidSignatureErrorSchema,
|
|
1209
|
+
MediaTokenInvalidSignatureErrorWireSchema,
|
|
1210
|
+
MediaTokenInvalidSubjectError,
|
|
1211
|
+
MediaTokenInvalidSubjectErrorSchema,
|
|
1212
|
+
MediaTokenInvalidSubjectErrorWireSchema,
|
|
1213
|
+
MediaTokenInvalidTimeClaimsError,
|
|
1214
|
+
MediaTokenInvalidTimeClaimsErrorSchema,
|
|
1215
|
+
MediaTokenInvalidTimeClaimsErrorWireSchema,
|
|
1216
|
+
MediaTokenLifetimeExceededError,
|
|
1217
|
+
MediaTokenLifetimeExceededErrorSchema,
|
|
1218
|
+
MediaTokenLifetimeExceededErrorWireSchema,
|
|
1219
|
+
MediaTokenMalformedError,
|
|
1220
|
+
MediaTokenMalformedErrorSchema,
|
|
1221
|
+
MediaTokenMalformedErrorWireSchema,
|
|
1222
|
+
MediaTokenNotYetValidError,
|
|
1223
|
+
MediaTokenNotYetValidErrorSchema,
|
|
1224
|
+
MediaTokenNotYetValidErrorWireSchema,
|
|
1225
|
+
MediaTokenRequiredError,
|
|
1226
|
+
MediaTokenRequiredErrorSchema,
|
|
1227
|
+
MediaTokenRequiredErrorWireSchema,
|
|
1228
|
+
MediaTokenSubjectMismatchError,
|
|
1229
|
+
MediaTokenSubjectMismatchErrorSchema,
|
|
1230
|
+
MediaTokenSubjectMismatchErrorWireSchema,
|
|
1231
|
+
MediaTokenUnknownKeyError,
|
|
1232
|
+
MediaTokenUnknownKeyErrorSchema,
|
|
1233
|
+
MediaTokenUnknownKeyErrorWireSchema,
|
|
1153
1234
|
MediaUnavailableError,
|
|
1154
1235
|
MediaUnavailableErrorSchema,
|
|
1155
1236
|
MediaUnavailableErrorWireSchema,
|
|
@@ -1175,6 +1256,9 @@ export {
|
|
|
1175
1256
|
PaginationInvalidPageSizeErrorSchema,
|
|
1176
1257
|
PaginationInvalidPageSizeErrorWireSchema,
|
|
1177
1258
|
PaginationSchema,
|
|
1259
|
+
ParticipantConnectionSupersededError,
|
|
1260
|
+
ParticipantConnectionSupersededErrorSchema,
|
|
1261
|
+
ParticipantConnectionSupersededErrorWireSchema,
|
|
1178
1262
|
ParticipantGenerationMismatchError,
|
|
1179
1263
|
ParticipantGenerationMismatchErrorSchema,
|
|
1180
1264
|
ParticipantGenerationMismatchErrorWireSchema,
|
|
@@ -6,4 +6,3 @@ type DeadlineClock = {
|
|
|
6
6
|
/** A suspended browser cannot provide evidence that a foreground operation timed out. */
|
|
7
7
|
export declare function scheduleForegroundDeadline(clock: DeadlineClock, milliseconds: number, expired: () => void): () => void;
|
|
8
8
|
export {};
|
|
9
|
-
//# sourceMappingURL=foreground-deadline.d.ts.map
|
|
@@ -1064,11 +1064,81 @@ declare const ChalkApi_base: HttpApi.HttpApi<"ChalkApi", HttpApiGroup.HttpApiGro
|
|
|
1064
1064
|
readonly code: import("effect/Schema").Literal<"episode.invalid_id">;
|
|
1065
1065
|
readonly message: import("effect/Schema").String;
|
|
1066
1066
|
}>;
|
|
1067
|
+
}>, never, never> | import("effect/Schema").decodeTo<typeof S.MediaTokenExpiredError, import("effect/Schema").Struct<{
|
|
1068
|
+
readonly error: import("effect/Schema").Struct<{
|
|
1069
|
+
readonly code: import("effect/Schema").Literal<"media_token.expired">;
|
|
1070
|
+
readonly message: import("effect/Schema").String;
|
|
1071
|
+
}>;
|
|
1072
|
+
}>, never, never> | import("effect/Schema").decodeTo<typeof S.MediaTokenInvalidAudienceError, import("effect/Schema").Struct<{
|
|
1073
|
+
readonly error: import("effect/Schema").Struct<{
|
|
1074
|
+
readonly code: import("effect/Schema").Literal<"media_token.invalid_audience">;
|
|
1075
|
+
readonly message: import("effect/Schema").String;
|
|
1076
|
+
}>;
|
|
1077
|
+
}>, never, never> | import("effect/Schema").decodeTo<typeof S.MediaTokenInvalidHeaderError, import("effect/Schema").Struct<{
|
|
1078
|
+
readonly error: import("effect/Schema").Struct<{
|
|
1079
|
+
readonly code: import("effect/Schema").Literal<"media_token.invalid_header">;
|
|
1080
|
+
readonly message: import("effect/Schema").String;
|
|
1081
|
+
}>;
|
|
1082
|
+
}>, never, never> | import("effect/Schema").decodeTo<typeof S.MediaTokenInvalidIssuerError, import("effect/Schema").Struct<{
|
|
1083
|
+
readonly error: import("effect/Schema").Struct<{
|
|
1084
|
+
readonly code: import("effect/Schema").Literal<"media_token.invalid_issuer">;
|
|
1085
|
+
readonly message: import("effect/Schema").String;
|
|
1086
|
+
}>;
|
|
1087
|
+
}>, never, never> | import("effect/Schema").decodeTo<typeof S.MediaTokenInvalidSignatureError, import("effect/Schema").Struct<{
|
|
1088
|
+
readonly error: import("effect/Schema").Struct<{
|
|
1089
|
+
readonly code: import("effect/Schema").Literal<"media_token.invalid_signature">;
|
|
1090
|
+
readonly message: import("effect/Schema").String;
|
|
1091
|
+
}>;
|
|
1092
|
+
}>, never, never> | import("effect/Schema").decodeTo<typeof S.MediaTokenInvalidSubjectError, import("effect/Schema").Struct<{
|
|
1093
|
+
readonly error: import("effect/Schema").Struct<{
|
|
1094
|
+
readonly code: import("effect/Schema").Literal<"media_token.invalid_subject">;
|
|
1095
|
+
readonly message: import("effect/Schema").String;
|
|
1096
|
+
}>;
|
|
1097
|
+
}>, never, never> | import("effect/Schema").decodeTo<typeof S.MediaTokenInvalidTimeClaimsError, import("effect/Schema").Struct<{
|
|
1098
|
+
readonly error: import("effect/Schema").Struct<{
|
|
1099
|
+
readonly code: import("effect/Schema").Literal<"media_token.invalid_time_claims">;
|
|
1100
|
+
readonly message: import("effect/Schema").String;
|
|
1101
|
+
}>;
|
|
1102
|
+
}>, never, never> | import("effect/Schema").decodeTo<typeof S.MediaTokenLifetimeExceededError, import("effect/Schema").Struct<{
|
|
1103
|
+
readonly error: import("effect/Schema").Struct<{
|
|
1104
|
+
readonly code: import("effect/Schema").Literal<"media_token.lifetime_exceeded">;
|
|
1105
|
+
readonly message: import("effect/Schema").String;
|
|
1106
|
+
}>;
|
|
1107
|
+
}>, never, never> | import("effect/Schema").decodeTo<typeof S.MediaTokenMalformedError, import("effect/Schema").Struct<{
|
|
1108
|
+
readonly error: import("effect/Schema").Struct<{
|
|
1109
|
+
readonly code: import("effect/Schema").Literal<"media_token.malformed">;
|
|
1110
|
+
readonly message: import("effect/Schema").String;
|
|
1111
|
+
}>;
|
|
1112
|
+
}>, never, never> | import("effect/Schema").decodeTo<typeof S.MediaTokenNotYetValidError, import("effect/Schema").Struct<{
|
|
1113
|
+
readonly error: import("effect/Schema").Struct<{
|
|
1114
|
+
readonly code: import("effect/Schema").Literal<"media_token.not_yet_valid">;
|
|
1115
|
+
readonly message: import("effect/Schema").String;
|
|
1116
|
+
}>;
|
|
1117
|
+
}>, never, never> | import("effect/Schema").decodeTo<typeof S.MediaTokenRequiredError, import("effect/Schema").Struct<{
|
|
1118
|
+
readonly error: import("effect/Schema").Struct<{
|
|
1119
|
+
readonly code: import("effect/Schema").Literal<"media_token.required">;
|
|
1120
|
+
readonly message: import("effect/Schema").String;
|
|
1121
|
+
}>;
|
|
1122
|
+
}>, never, never> | import("effect/Schema").decodeTo<typeof S.MediaTokenSubjectMismatchError, import("effect/Schema").Struct<{
|
|
1123
|
+
readonly error: import("effect/Schema").Struct<{
|
|
1124
|
+
readonly code: import("effect/Schema").Literal<"media_token.subject_mismatch">;
|
|
1125
|
+
readonly message: import("effect/Schema").String;
|
|
1126
|
+
}>;
|
|
1127
|
+
}>, never, never> | import("effect/Schema").decodeTo<typeof S.MediaTokenUnknownKeyError, import("effect/Schema").Struct<{
|
|
1128
|
+
readonly error: import("effect/Schema").Struct<{
|
|
1129
|
+
readonly code: import("effect/Schema").Literal<"media_token.unknown_key">;
|
|
1130
|
+
readonly message: import("effect/Schema").String;
|
|
1131
|
+
}>;
|
|
1067
1132
|
}>, never, never> | import("effect/Schema").decodeTo<typeof S.MediaUnavailableError, import("effect/Schema").Struct<{
|
|
1068
1133
|
readonly error: import("effect/Schema").Struct<{
|
|
1069
1134
|
readonly code: import("effect/Schema").Literal<"media.unavailable">;
|
|
1070
1135
|
readonly message: import("effect/Schema").String;
|
|
1071
1136
|
}>;
|
|
1137
|
+
}>, never, never> | import("effect/Schema").decodeTo<typeof S.ParticipantConnectionSupersededError, import("effect/Schema").Struct<{
|
|
1138
|
+
readonly error: import("effect/Schema").Struct<{
|
|
1139
|
+
readonly code: import("effect/Schema").Literal<"participant.connection_superseded">;
|
|
1140
|
+
readonly message: import("effect/Schema").String;
|
|
1141
|
+
}>;
|
|
1072
1142
|
}>, never, never> | import("effect/Schema").decodeTo<typeof S.ParticipantGenerationMismatchError, import("effect/Schema").Struct<{
|
|
1073
1143
|
readonly error: import("effect/Schema").Struct<{
|
|
1074
1144
|
readonly code: import("effect/Schema").Literal<"participant.generation_mismatch">;
|
|
@@ -3633,6 +3703,8 @@ declare const ChalkApi_base: HttpApi.HttpApi<"ChalkApi", HttpApiGroup.HttpApiGro
|
|
|
3633
3703
|
}>>, never, never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
3634
3704
|
readonly "Idempotency-Key": import("effect/Schema").String;
|
|
3635
3705
|
}>>, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
3706
|
+
readonly decision_action: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3707
|
+
readonly decision_state: import("effect/Schema").String;
|
|
3636
3708
|
readonly display_name: import("effect/Schema").String;
|
|
3637
3709
|
readonly expires_at: import("effect/Schema").brand<import("effect/Schema").String, "DateTimeString">;
|
|
3638
3710
|
readonly request_handle: import("effect/Schema").String;
|
|
@@ -4159,6 +4231,8 @@ declare const ChalkApi_base: HttpApi.HttpApi<"ChalkApi", HttpApiGroup.HttpApiGro
|
|
|
4159
4231
|
}>>, never, never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
4160
4232
|
readonly "Idempotency-Key": import("effect/Schema").String;
|
|
4161
4233
|
}>>, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
4234
|
+
readonly decision_action: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
4235
|
+
readonly decision_state: import("effect/Schema").String;
|
|
4162
4236
|
readonly display_name: import("effect/Schema").String;
|
|
4163
4237
|
readonly expires_at: import("effect/Schema").brand<import("effect/Schema").String, "DateTimeString">;
|
|
4164
4238
|
readonly request_handle: import("effect/Schema").String;
|
|
@@ -4577,6 +4651,8 @@ declare const ChalkApi_base: HttpApi.HttpApi<"ChalkApi", HttpApiGroup.HttpApiGro
|
|
|
4577
4651
|
readonly state: import("effect/Schema").optional<import("effect/Schema").Literal<"pending">>;
|
|
4578
4652
|
}>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
4579
4653
|
readonly requests: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
4654
|
+
readonly decision_action: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
4655
|
+
readonly decision_state: import("effect/Schema").String;
|
|
4580
4656
|
readonly display_name: import("effect/Schema").String;
|
|
4581
4657
|
readonly expires_at: import("effect/Schema").brand<import("effect/Schema").String, "DateTimeString">;
|
|
4582
4658
|
readonly request_handle: import("effect/Schema").String;
|
|
@@ -6149,4 +6225,3 @@ declare const ChalkApi_base: HttpApi.HttpApi<"ChalkApi", HttpApiGroup.HttpApiGro
|
|
|
6149
6225
|
export declare class ChalkApi extends ChalkApi_base {
|
|
6150
6226
|
}
|
|
6151
6227
|
export {};
|
|
6152
|
-
//# sourceMappingURL=http-api.d.ts.map
|