@everylanguage/shared-types 1.0.13 → 1.0.14
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/package.json +1 -1
- package/types/database.d.ts +26 -0
package/package.json
CHANGED
package/types/database.d.ts
CHANGED
|
@@ -4205,6 +4205,30 @@ export type Database = {
|
|
|
4205
4205
|
regions: Json;
|
|
4206
4206
|
}[];
|
|
4207
4207
|
};
|
|
4208
|
+
search_language_aliases_with_versions: {
|
|
4209
|
+
Args: {
|
|
4210
|
+
search_query: string;
|
|
4211
|
+
filter_type?: Database["public"]["Enums"]["version_filter_type"];
|
|
4212
|
+
max_results?: number;
|
|
4213
|
+
min_similarity?: number;
|
|
4214
|
+
include_regions?: boolean;
|
|
4215
|
+
};
|
|
4216
|
+
Returns: {
|
|
4217
|
+
similarity_threshold_used: number;
|
|
4218
|
+
alias_id: string;
|
|
4219
|
+
alias_name: string;
|
|
4220
|
+
alias_similarity_score: number;
|
|
4221
|
+
entity_id: string;
|
|
4222
|
+
entity_name: string;
|
|
4223
|
+
entity_level: string;
|
|
4224
|
+
entity_parent_id: string;
|
|
4225
|
+
regions: Json;
|
|
4226
|
+
audio_version_count: number;
|
|
4227
|
+
text_version_count: number;
|
|
4228
|
+
audio_versions: Json;
|
|
4229
|
+
text_versions: Json;
|
|
4230
|
+
}[];
|
|
4231
|
+
};
|
|
4208
4232
|
search_region_aliases: {
|
|
4209
4233
|
Args: {
|
|
4210
4234
|
search_query: string;
|
|
@@ -5986,6 +6010,7 @@ export type Database = {
|
|
|
5986
6010
|
testament: "old" | "new";
|
|
5987
6011
|
text_version_source: "official_translation" | "ai_transcription" | "user_submitted";
|
|
5988
6012
|
upload_status: "pending" | "uploading" | "completed" | "failed";
|
|
6013
|
+
version_filter_type: "audio_only" | "text_only" | "both_required" | "either";
|
|
5989
6014
|
};
|
|
5990
6015
|
CompositeTypes: {
|
|
5991
6016
|
geometry_dump: {
|
|
@@ -6072,6 +6097,7 @@ export declare const Constants: {
|
|
|
6072
6097
|
readonly testament: readonly ["old", "new"];
|
|
6073
6098
|
readonly text_version_source: readonly ["official_translation", "ai_transcription", "user_submitted"];
|
|
6074
6099
|
readonly upload_status: readonly ["pending", "uploading", "completed", "failed"];
|
|
6100
|
+
readonly version_filter_type: readonly ["audio_only", "text_only", "both_required", "either"];
|
|
6075
6101
|
};
|
|
6076
6102
|
};
|
|
6077
6103
|
};
|