@phont-ai/subtitles-core 0.1.10
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/client/PhontClient.d.ts +16 -0
- package/dist/index.d.mts +1346 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +5414 -0
- package/dist/index.mjs +5347 -0
- package/dist/types/registration.d.ts +46 -0
- package/dist/utils/video-handling.d.ts +33 -0
- package/dist/validation/registration.d.ts +64 -0
- package/package.json +37 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Enhanced PhontClient with improved registration validation
|
|
3
|
+
*
|
|
4
|
+
* This file extends the base PhontClient with validation support.
|
|
5
|
+
* Note: This is a reference implementation. The actual PhontClient
|
|
6
|
+
* should be updated to include these improvements.
|
|
7
|
+
*/
|
|
8
|
+
import { RegisterRequestWithConfirm, RegisterResult } from '../types/registration';
|
|
9
|
+
/**
|
|
10
|
+
* Enhanced register method with validation
|
|
11
|
+
*
|
|
12
|
+
* This method validates all registration fields including confirmations
|
|
13
|
+
* before making the API call.
|
|
14
|
+
*/
|
|
15
|
+
export declare function registerWithValidation(client: any, // PhontClient instance
|
|
16
|
+
data: RegisterRequestWithConfirm): Promise<RegisterResult>;
|