@absolutejs/voice 0.0.7 → 0.0.8
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/plugin.d.ts +2 -10
- package/package.json +1 -1
package/dist/plugin.d.ts
CHANGED
|
@@ -1,13 +1,6 @@
|
|
|
1
1
|
import { Elysia } from 'elysia';
|
|
2
|
-
import type {
|
|
3
|
-
|
|
4
|
-
result?: infer TResult;
|
|
5
|
-
} ? TResult : unknown;
|
|
6
|
-
type VoiceOnTurnHandler<TContext, TSession extends VoiceSessionRecord> = VoiceRouteConfig<TContext, TSession, unknown>['onTurn'];
|
|
7
|
-
export declare const voice: <TContext = unknown, TSession extends VoiceSessionRecord = VoiceSessionRecord, TOnTurn extends VoiceOnTurnHandler<TContext, TSession> = VoiceOnTurnHandler<TContext, TSession>>(config: Omit<VoicePluginConfig<TContext, TSession, InferVoiceResult<TOnTurn>>, "onTurn" | "htmx"> & {
|
|
8
|
-
onTurn: TOnTurn;
|
|
9
|
-
htmx?: boolean | VoiceHTMXConfig<TSession, NoInfer<InferVoiceResult<TOnTurn>>>;
|
|
10
|
-
}) => Elysia<"", {
|
|
2
|
+
import type { VoicePluginConfig, VoiceSessionRecord } from './types';
|
|
3
|
+
export declare const voice: <TContext = unknown, TSession extends VoiceSessionRecord = VoiceSessionRecord, TResult = unknown>(config: VoicePluginConfig<TContext, TSession, TResult>) => Elysia<"", {
|
|
11
4
|
decorator: {};
|
|
12
5
|
store: {};
|
|
13
6
|
derive: {};
|
|
@@ -73,4 +66,3 @@ export declare const voice: <TContext = unknown, TSession extends VoiceSessionRe
|
|
|
73
66
|
standaloneSchema: {};
|
|
74
67
|
response: {};
|
|
75
68
|
}>;
|
|
76
|
-
export {};
|