bolbol-sdk 2.2.0 → 3.0.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/README.md +4 -3
- package/dist/index.d.ts +23 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +23 -0
- package/dist/index.js.map +1 -1
- package/dist/scope/BolbolCatalogScope.d.ts +1 -1
- package/dist/scope/BolbolCatalogScope.d.ts.map +1 -1
- package/dist/scope/BolbolCatalogScope.js +10 -5
- package/dist/scope/BolbolCatalogScope.js.map +1 -1
- package/dist/scope/BolbolLexemaScope.d.ts +2 -0
- package/dist/scope/BolbolLexemaScope.d.ts.map +1 -1
- package/dist/scope/BolbolLexemaScope.js +13 -4
- package/dist/scope/BolbolLexemaScope.js.map +1 -1
- package/dist/type/CatalogLanguageListRequestType.d.ts +3 -1
- package/dist/type/CatalogLanguageListRequestType.d.ts.map +1 -1
- package/dist/type/DictionaryRowType.d.ts +13 -0
- package/dist/type/DictionaryRowType.d.ts.map +1 -0
- package/dist/type/DictionaryRowType.js +3 -0
- package/dist/type/DictionaryRowType.js.map +1 -0
- package/dist/type/LanguageRowType.d.ts +2 -0
- package/dist/type/LanguageRowType.d.ts.map +1 -1
- package/dist/type/LexemaDetailType.d.ts +37 -0
- package/dist/type/LexemaDetailType.d.ts.map +1 -0
- package/dist/type/LexemaDetailType.js +3 -0
- package/dist/type/LexemaDetailType.js.map +1 -0
- package/dist/type/LexemaDifficultyEnum.d.ts.map +1 -1
- package/dist/type/LexemaDifficultyEnum.js +4 -0
- package/dist/type/LexemaDifficultyEnum.js.map +1 -1
- package/dist/type/LexemaFormFeaturesType.d.ts +12 -0
- package/dist/type/LexemaFormFeaturesType.d.ts.map +1 -0
- package/dist/type/LexemaFormFeaturesType.js +3 -0
- package/dist/type/LexemaFormFeaturesType.js.map +1 -0
- package/dist/type/LexemaFormMoodEnum.d.ts +10 -0
- package/dist/type/LexemaFormMoodEnum.d.ts.map +1 -0
- package/dist/type/LexemaFormMoodEnum.js +24 -0
- package/dist/type/LexemaFormMoodEnum.js.map +1 -0
- package/dist/type/LexemaFormNumberEnum.d.ts +5 -0
- package/dist/type/LexemaFormNumberEnum.d.ts.map +1 -0
- package/dist/type/LexemaFormNumberEnum.js +21 -0
- package/dist/type/LexemaFormNumberEnum.js.map +1 -0
- package/dist/type/LexemaFormRowType.d.ts +19 -0
- package/dist/type/LexemaFormRowType.d.ts.map +1 -0
- package/dist/type/LexemaFormRowType.js +3 -0
- package/dist/type/LexemaFormRowType.js.map +1 -0
- package/dist/type/LexemaFormTenseEnum.d.ts +11 -0
- package/dist/type/LexemaFormTenseEnum.d.ts.map +1 -0
- package/dist/type/LexemaFormTenseEnum.js +29 -0
- package/dist/type/LexemaFormTenseEnum.js.map +1 -0
- package/dist/type/LexemaGetResponseType.d.ts +5 -0
- package/dist/type/LexemaGetResponseType.d.ts.map +1 -0
- package/dist/type/LexemaGetResponseType.js +3 -0
- package/dist/type/LexemaGetResponseType.js.map +1 -0
- package/dist/type/LexemaGrammarType.d.ts +26 -0
- package/dist/type/LexemaGrammarType.d.ts.map +1 -0
- package/dist/type/LexemaGrammarType.js +3 -0
- package/dist/type/LexemaGrammarType.js.map +1 -0
- package/dist/type/LexemaListRequestType.d.ts +5 -1
- package/dist/type/LexemaListRequestType.d.ts.map +1 -1
- package/dist/type/LexemaListResponseType.d.ts +5 -2
- package/dist/type/LexemaListResponseType.d.ts.map +1 -1
- package/dist/type/LexemaPronunciationKindEnum.d.ts +6 -0
- package/dist/type/LexemaPronunciationKindEnum.d.ts.map +1 -0
- package/dist/type/LexemaPronunciationKindEnum.js +19 -0
- package/dist/type/LexemaPronunciationKindEnum.js.map +1 -0
- package/dist/type/LexemaPronunciationRowType.d.ts +18 -0
- package/dist/type/LexemaPronunciationRowType.d.ts.map +1 -0
- package/dist/type/LexemaPronunciationRowType.js +3 -0
- package/dist/type/LexemaPronunciationRowType.js.map +1 -0
- package/dist/type/LexemaRelationRowType.d.ts +17 -0
- package/dist/type/LexemaRelationRowType.d.ts.map +1 -0
- package/dist/type/LexemaRelationRowType.js +3 -0
- package/dist/type/LexemaRelationRowType.js.map +1 -0
- package/dist/type/LexemaRelationTypeEnum.d.ts +21 -0
- package/dist/type/LexemaRelationTypeEnum.d.ts.map +1 -0
- package/dist/type/LexemaRelationTypeEnum.js +51 -0
- package/dist/type/LexemaRelationTypeEnum.js.map +1 -0
- package/dist/type/LexemaRowType.d.ts +6 -0
- package/dist/type/LexemaRowType.d.ts.map +1 -1
- package/dist/type/LexemaTypeEnum.d.ts +11 -0
- package/dist/type/LexemaTypeEnum.d.ts.map +1 -0
- package/dist/type/LexemaTypeEnum.js +28 -0
- package/dist/type/LexemaTypeEnum.js.map +1 -0
- package/dist/type/LexemaWritingKindEnum.d.ts +9 -0
- package/dist/type/LexemaWritingKindEnum.d.ts.map +1 -0
- package/dist/type/LexemaWritingKindEnum.js +32 -0
- package/dist/type/LexemaWritingKindEnum.js.map +1 -0
- package/dist/type/LexemaWritingRowType.d.ts +10 -0
- package/dist/type/LexemaWritingRowType.d.ts.map +1 -0
- package/dist/type/LexemaWritingRowType.js +3 -0
- package/dist/type/LexemaWritingRowType.js.map +1 -0
- package/dist/type/PackageDirectoryListRequestType.d.ts.map +1 -1
- package/dist/type/SenseCountabilityEnum.d.ts +8 -0
- package/dist/type/SenseCountabilityEnum.d.ts.map +1 -0
- package/dist/type/SenseCountabilityEnum.js +21 -0
- package/dist/type/SenseCountabilityEnum.js.map +1 -0
- package/dist/type/SenseDetailType.d.ts +14 -0
- package/dist/type/SenseDetailType.d.ts.map +1 -0
- package/dist/type/SenseDetailType.js +3 -0
- package/dist/type/SenseDetailType.js.map +1 -0
- package/dist/type/SenseEquivalentRowType.d.ts +16 -0
- package/dist/type/SenseEquivalentRowType.d.ts.map +1 -0
- package/dist/type/SenseEquivalentRowType.js +3 -0
- package/dist/type/SenseEquivalentRowType.js.map +1 -0
- package/dist/type/SenseExampleKindEnum.d.ts +6 -0
- package/dist/type/SenseExampleKindEnum.d.ts.map +1 -0
- package/dist/type/SenseExampleKindEnum.js +19 -0
- package/dist/type/SenseExampleKindEnum.js.map +1 -0
- package/dist/type/SenseExampleRowType.d.ts +20 -0
- package/dist/type/SenseExampleRowType.d.ts.map +1 -0
- package/dist/type/SenseExampleRowType.js +3 -0
- package/dist/type/SenseExampleRowType.js.map +1 -0
- package/dist/type/SenseGenderEnum.d.ts.map +1 -1
- package/dist/type/SenseGenderEnum.js +12 -3
- package/dist/type/SenseGenderEnum.js.map +1 -1
- package/dist/type/SensePOSEnum.d.ts.map +1 -1
- package/dist/type/SensePOSEnum.js +6 -2
- package/dist/type/SensePOSEnum.js.map +1 -1
- package/dist/type/SenseRegisterEnum.d.ts +51 -0
- package/dist/type/SenseRegisterEnum.d.ts.map +1 -0
- package/dist/type/SenseRegisterEnum.js +68 -0
- package/dist/type/SenseRegisterEnum.js.map +1 -0
- package/dist/type/SenseRowType.d.ts +12 -5
- package/dist/type/SenseRowType.d.ts.map +1 -1
- package/dist/type/SenseTransitivityEnum.d.ts +7 -0
- package/dist/type/SenseTransitivityEnum.d.ts.map +1 -0
- package/dist/type/SenseTransitivityEnum.js +20 -0
- package/dist/type/SenseTransitivityEnum.js.map +1 -0
- package/dist/type/VocabularyRowType.d.ts +1 -1
- package/dist/type/VocabularyRowType.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LanguageRowType.d.ts","sourceRoot":"","sources":["../../src/type/LanguageRowType.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LanguageRowType.d.ts","sourceRoot":"","sources":["../../src/type/LanguageRowType.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,WAAW,eAAe;IAE5B,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IAIb,IAAI,EAAE,MAAM,CAAC;IACb,iBAAiB,EAAE,eAAe,CAAC;IACnC,KAAK,EAAE,MAAM,CAAC;IAId,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B,WAAW,EAAE,OAAO,CAAC;IAGrB,cAAc,EAAE,OAAO,CAAC;IAGxB,aAAa,EAAE,OAAO,CAAC;CAC1B"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { DictionaryRowType } from "./DictionaryRowType";
|
|
2
|
+
import { LexemaFormRowType } from "./LexemaFormRowType";
|
|
3
|
+
import { LexemaGrammarType } from "./LexemaGrammarType";
|
|
4
|
+
import { LexemaPronunciationRowType } from "./LexemaPronunciationRowType";
|
|
5
|
+
import { LexemaRelationRowType } from "./LexemaRelationRowType";
|
|
6
|
+
import { LexemaRowType } from "./LexemaRowType";
|
|
7
|
+
import { LexemaWritingRowType } from "./LexemaWritingRowType";
|
|
8
|
+
import { SenseDetailType } from "./SenseDetailType";
|
|
9
|
+
import { SenseEquivalentRowType } from "./SenseEquivalentRowType";
|
|
10
|
+
import { SenseExampleRowType } from "./SenseExampleRowType";
|
|
11
|
+
import { TranslationType } from "./TranslationType";
|
|
12
|
+
export interface LexemaDetailType extends LexemaRowType {
|
|
13
|
+
dictionary: DictionaryRowType | null;
|
|
14
|
+
name_normalized: string;
|
|
15
|
+
pos_title: string | null;
|
|
16
|
+
grammar: LexemaGrammarType;
|
|
17
|
+
etymology: string | null;
|
|
18
|
+
etymology_translations: TranslationType;
|
|
19
|
+
etymology_links: [string, string][];
|
|
20
|
+
usage_note: string | null;
|
|
21
|
+
usage_note_translations: TranslationType;
|
|
22
|
+
attestations: string[];
|
|
23
|
+
domain: string[];
|
|
24
|
+
origin: string[];
|
|
25
|
+
categories: string[];
|
|
26
|
+
tags: string[];
|
|
27
|
+
raw_tags: string[];
|
|
28
|
+
descendants: unknown[];
|
|
29
|
+
senses: SenseDetailType[];
|
|
30
|
+
forms: LexemaFormRowType[];
|
|
31
|
+
pronunciations: LexemaPronunciationRowType[];
|
|
32
|
+
writings: LexemaWritingRowType[];
|
|
33
|
+
relations: LexemaRelationRowType[];
|
|
34
|
+
examples: SenseExampleRowType[];
|
|
35
|
+
equivalents: SenseEquivalentRowType[];
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=LexemaDetailType.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LexemaDetailType.d.ts","sourceRoot":"","sources":["../../src/type/LexemaDetailType.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC1E,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,WAAW,gBAAiB,SAAQ,aAAa;IAInD,UAAU,EAAE,iBAAiB,GAAG,IAAI,CAAC;IAGrC,eAAe,EAAE,MAAM,CAAC;IAExB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,OAAO,EAAE,iBAAiB,CAAC;IAG3B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,sBAAsB,EAAE,eAAe,CAAC;IAGxC,eAAe,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC;IAGpC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,uBAAuB,EAAE,eAAe,CAAC;IAEzC,YAAY,EAAE,MAAM,EAAE,CAAC;IAEvB,MAAM,EAAE,MAAM,EAAE,CAAC;IAGjB,MAAM,EAAE,MAAM,EAAE,CAAC;IAGjB,UAAU,EAAE,MAAM,EAAE,CAAC;IAGrB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,QAAQ,EAAE,MAAM,EAAE,CAAC;IAGnB,WAAW,EAAE,OAAO,EAAE,CAAC;IAEvB,MAAM,EAAE,eAAe,EAAE,CAAC;IAE1B,KAAK,EAAE,iBAAiB,EAAE,CAAC;IAC3B,cAAc,EAAE,0BAA0B,EAAE,CAAC;IAC7C,QAAQ,EAAE,oBAAoB,EAAE,CAAC;IAEjC,SAAS,EAAE,qBAAqB,EAAE,CAAC;IACnC,QAAQ,EAAE,mBAAmB,EAAE,CAAC;IAChC,WAAW,EAAE,sBAAsB,EAAE,CAAC;CACzC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LexemaDetailType.js","sourceRoot":"","sources":["../../src/type/LexemaDetailType.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LexemaDifficultyEnum.d.ts","sourceRoot":"","sources":["../../src/type/LexemaDifficultyEnum.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LexemaDifficultyEnum.d.ts","sourceRoot":"","sources":["../../src/type/LexemaDifficultyEnum.ts"],"names":[],"mappings":"AAQA,oBAAY,oBAAoB;IAE5B,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,IAAI,SAAS;CAChB"}
|
|
@@ -5,6 +5,10 @@ exports.LexemaDifficultyEnum = void 0;
|
|
|
5
5
|
// src/database/postgres/attribute/lexema/SenseAttributes.ts, which declares its
|
|
6
6
|
// database enum from this one (the SDK is the source). The misspelled "Meduim"
|
|
7
7
|
// is the stored value itself.
|
|
8
|
+
//
|
|
9
|
+
// The column is nullable since the Wiktionnaire import: the dictionary states
|
|
10
|
+
// no level, so its senses carry null until a frequency source or a model fills
|
|
11
|
+
// it (L3).
|
|
8
12
|
var LexemaDifficultyEnum;
|
|
9
13
|
(function (LexemaDifficultyEnum) {
|
|
10
14
|
LexemaDifficultyEnum["Easy"] = "Easy";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LexemaDifficultyEnum.js","sourceRoot":"","sources":["../../src/type/LexemaDifficultyEnum.ts"],"names":[],"mappings":";;;AAAA,gEAAgE;AAChE,gFAAgF;AAChF,+EAA+E;AAC/E,8BAA8B;AAC9B,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAE5B,qCAAa,CAAA;IACb,yCAAiB,CAAA;IACjB,qCAAa,CAAA;AACjB,CAAC,EALW,oBAAoB,aAApB,oBAAoB,GAApB,oBAAoB,QAK/B"}
|
|
1
|
+
{"version":3,"file":"LexemaDifficultyEnum.js","sourceRoot":"","sources":["../../src/type/LexemaDifficultyEnum.ts"],"names":[],"mappings":";;;AAAA,gEAAgE;AAChE,gFAAgF;AAChF,+EAA+E;AAC/E,8BAA8B;AAC9B,EAAE;AACF,8EAA8E;AAC9E,+EAA+E;AAC/E,WAAW;AACX,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAE5B,qCAAa,CAAA;IACb,yCAAiB,CAAA;IACjB,qCAAa,CAAA;AACjB,CAAC,EALW,oBAAoB,aAApB,oBAAoB,GAApB,oBAAoB,QAK/B"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { LexemaFormMoodEnum } from "./LexemaFormMoodEnum";
|
|
2
|
+
import { LexemaFormNumberEnum } from "./LexemaFormNumberEnum";
|
|
3
|
+
import { LexemaFormTenseEnum } from "./LexemaFormTenseEnum";
|
|
4
|
+
import { SenseGenderEnum } from "./SenseGenderEnum";
|
|
5
|
+
export interface LexemaFormFeaturesType {
|
|
6
|
+
mood?: LexemaFormMoodEnum;
|
|
7
|
+
tense?: LexemaFormTenseEnum;
|
|
8
|
+
person?: 1 | 2 | 3;
|
|
9
|
+
number?: LexemaFormNumberEnum;
|
|
10
|
+
gender?: SenseGenderEnum;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=LexemaFormFeaturesType.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LexemaFormFeaturesType.d.ts","sourceRoot":"","sources":["../../src/type/LexemaFormFeaturesType.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,WAAW,sBAAsB;IAEnC,IAAI,CAAC,EAAE,kBAAkB,CAAC;IAC1B,KAAK,CAAC,EAAE,mBAAmB,CAAC;IAE5B,MAAM,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACnB,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAE9B,MAAM,CAAC,EAAE,eAAe,CAAC;CAC5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LexemaFormFeaturesType.js","sourceRoot":"","sources":["../../src/type/LexemaFormFeaturesType.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare enum LexemaFormMoodEnum {
|
|
2
|
+
Indicative = "Indicative",
|
|
3
|
+
Subjunctive = "Subjunctive",
|
|
4
|
+
Conditional = "Conditional",
|
|
5
|
+
Imperative = "Imperative",
|
|
6
|
+
Infinitive = "Infinitive",
|
|
7
|
+
Participle = "Participle",
|
|
8
|
+
Gerund = "Gerund"
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=LexemaFormMoodEnum.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LexemaFormMoodEnum.d.ts","sourceRoot":"","sources":["../../src/type/LexemaFormMoodEnum.ts"],"names":[],"mappings":"AAUA,oBAAY,kBAAkB;IAE1B,UAAU,eAAe;IACzB,WAAW,gBAAgB;IAC3B,WAAW,gBAAgB;IAC3B,UAAU,eAAe;IACzB,UAAU,eAAe;IACzB,UAAU,eAAe;IACzB,MAAM,WAAW;CACpB"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LexemaFormMoodEnum = void 0;
|
|
4
|
+
// Mirrors the `mood` key of the `features` JSONB column of lexema.lexema_form in
|
|
5
|
+
// Bolbol API src/database/postgres/attribute/lexema/LexemaFormAttributes.ts - a
|
|
6
|
+
// key inside a JSON value, not a column, so no database enum is declared from
|
|
7
|
+
// this one: the seeder writes its member names into the JSON
|
|
8
|
+
// (LexemaFormFeaturesType, plan Appendix C.1), and the SDK is the source of the
|
|
9
|
+
// list.
|
|
10
|
+
//
|
|
11
|
+
// The mood of an inflected form. Infinitive, Participle and Gerund are the
|
|
12
|
+
// non-finite forms; Gerund wins over any other mood the source tags ("en
|
|
13
|
+
// lisant"). Value === key, like every enum.
|
|
14
|
+
var LexemaFormMoodEnum;
|
|
15
|
+
(function (LexemaFormMoodEnum) {
|
|
16
|
+
LexemaFormMoodEnum["Indicative"] = "Indicative";
|
|
17
|
+
LexemaFormMoodEnum["Subjunctive"] = "Subjunctive";
|
|
18
|
+
LexemaFormMoodEnum["Conditional"] = "Conditional";
|
|
19
|
+
LexemaFormMoodEnum["Imperative"] = "Imperative";
|
|
20
|
+
LexemaFormMoodEnum["Infinitive"] = "Infinitive";
|
|
21
|
+
LexemaFormMoodEnum["Participle"] = "Participle";
|
|
22
|
+
LexemaFormMoodEnum["Gerund"] = "Gerund";
|
|
23
|
+
})(LexemaFormMoodEnum || (exports.LexemaFormMoodEnum = LexemaFormMoodEnum = {}));
|
|
24
|
+
//# sourceMappingURL=LexemaFormMoodEnum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LexemaFormMoodEnum.js","sourceRoot":"","sources":["../../src/type/LexemaFormMoodEnum.ts"],"names":[],"mappings":";;;AAAA,iFAAiF;AACjF,gFAAgF;AAChF,8EAA8E;AAC9E,6DAA6D;AAC7D,gFAAgF;AAChF,QAAQ;AACR,EAAE;AACF,2EAA2E;AAC3E,yEAAyE;AACzE,4CAA4C;AAC5C,IAAY,kBASX;AATD,WAAY,kBAAkB;IAE1B,+CAAyB,CAAA;IACzB,iDAA2B,CAAA;IAC3B,iDAA2B,CAAA;IAC3B,+CAAyB,CAAA;IACzB,+CAAyB,CAAA;IACzB,+CAAyB,CAAA;IACzB,uCAAiB,CAAA;AACrB,CAAC,EATW,kBAAkB,aAAlB,kBAAkB,GAAlB,kBAAkB,QAS7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LexemaFormNumberEnum.d.ts","sourceRoot":"","sources":["../../src/type/LexemaFormNumberEnum.ts"],"names":[],"mappings":"AAYA,oBAAY,oBAAoB;IAE5B,QAAQ,aAAa;IACrB,MAAM,WAAW;CACpB"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LexemaFormNumberEnum = void 0;
|
|
4
|
+
// Mirrors the `number` key of the `features` JSONB column of lexema.lexema_form
|
|
5
|
+
// in Bolbol API src/database/postgres/attribute/lexema/LexemaFormAttributes.ts -
|
|
6
|
+
// a key inside a JSON value, not a column, so no database enum is declared
|
|
7
|
+
// from this one: the seeder writes its member names into the JSON
|
|
8
|
+
// (LexemaFormFeaturesType, plan Appendix C.1), and the SDK is the source of the
|
|
9
|
+
// list. The `gender` key of the same JSON uses SenseGenderEnum. Its member
|
|
10
|
+
// names are also the values of the `number` key of lexema.grammar
|
|
11
|
+
// (LexemaGrammarType): a headword that is itself a plural ("ciseaux").
|
|
12
|
+
//
|
|
13
|
+
// A form the source leaves unmarked for number (tagged both, or invariable) is
|
|
14
|
+
// two rows, Singular and Plural, so a lookup by number always finds one.
|
|
15
|
+
// Value === key, like every enum.
|
|
16
|
+
var LexemaFormNumberEnum;
|
|
17
|
+
(function (LexemaFormNumberEnum) {
|
|
18
|
+
LexemaFormNumberEnum["Singular"] = "Singular";
|
|
19
|
+
LexemaFormNumberEnum["Plural"] = "Plural";
|
|
20
|
+
})(LexemaFormNumberEnum || (exports.LexemaFormNumberEnum = LexemaFormNumberEnum = {}));
|
|
21
|
+
//# sourceMappingURL=LexemaFormNumberEnum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LexemaFormNumberEnum.js","sourceRoot":"","sources":["../../src/type/LexemaFormNumberEnum.ts"],"names":[],"mappings":";;;AAAA,gFAAgF;AAChF,iFAAiF;AACjF,2EAA2E;AAC3E,kEAAkE;AAClE,gFAAgF;AAChF,2EAA2E;AAC3E,kEAAkE;AAClE,uEAAuE;AACvE,EAAE;AACF,+EAA+E;AAC/E,yEAAyE;AACzE,kCAAkC;AAClC,IAAY,oBAIX;AAJD,WAAY,oBAAoB;IAE5B,6CAAqB,CAAA;IACrB,yCAAiB,CAAA;AACrB,CAAC,EAJW,oBAAoB,aAApB,oBAAoB,GAApB,oBAAoB,QAI/B"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { LexemaFormFeaturesType } from "./LexemaFormFeaturesType";
|
|
2
|
+
export interface LexemaFormRowType {
|
|
3
|
+
id: number;
|
|
4
|
+
lexema_id: number | null;
|
|
5
|
+
sense_id: number | null;
|
|
6
|
+
text: string;
|
|
7
|
+
text_with_pronoun: string | null;
|
|
8
|
+
tag: string | null;
|
|
9
|
+
features: LexemaFormFeaturesType;
|
|
10
|
+
is_lemma: boolean;
|
|
11
|
+
is_compound: boolean;
|
|
12
|
+
ipa: string | null;
|
|
13
|
+
ipa_with_pronoun: string | null;
|
|
14
|
+
sense_hint: string | null;
|
|
15
|
+
note: string | null;
|
|
16
|
+
tags: string[];
|
|
17
|
+
raw_tags: string[];
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=LexemaFormRowType.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LexemaFormRowType.d.ts","sourceRoot":"","sources":["../../src/type/LexemaFormRowType.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAElE,MAAM,WAAW,iBAAiB;IAE9B,EAAE,EAAE,MAAM,CAAC;IAIX,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAGzB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAGxB,IAAI,EAAE,MAAM,CAAC;IAGb,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IAGjC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IAGnB,QAAQ,EAAE,sBAAsB,CAAC;IAGjC,QAAQ,EAAE,OAAO,CAAC;IAElB,WAAW,EAAE,OAAO,CAAC;IAGrB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAEhC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAG1B,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,QAAQ,EAAE,MAAM,EAAE,CAAC;CACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LexemaFormRowType.js","sourceRoot":"","sources":["../../src/type/LexemaFormRowType.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare enum LexemaFormTenseEnum {
|
|
2
|
+
Present = "Present",
|
|
3
|
+
Imperfect = "Imperfect",
|
|
4
|
+
Past = "Past",
|
|
5
|
+
Future = "Future",
|
|
6
|
+
Perfect = "Perfect",
|
|
7
|
+
Pluperfect = "Pluperfect",
|
|
8
|
+
PastAnterior = "PastAnterior",
|
|
9
|
+
FuturePerfect = "FuturePerfect"
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=LexemaFormTenseEnum.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LexemaFormTenseEnum.d.ts","sourceRoot":"","sources":["../../src/type/LexemaFormTenseEnum.ts"],"names":[],"mappings":"AAcA,oBAAY,mBAAmB;IAE3B,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,UAAU,eAAe;IACzB,YAAY,iBAAiB;IAC7B,aAAa,kBAAkB;CAClC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LexemaFormTenseEnum = void 0;
|
|
4
|
+
// Mirrors the `tense` key of the `features` JSONB column of lexema.lexema_form
|
|
5
|
+
// in Bolbol API src/database/postgres/attribute/lexema/LexemaFormAttributes.ts -
|
|
6
|
+
// a key inside a JSON value, not a column, so no database enum is declared
|
|
7
|
+
// from this one: the seeder writes its member names into the JSON
|
|
8
|
+
// (LexemaFormFeaturesType, plan Appendix C.1), and the SDK is the source of the
|
|
9
|
+
// list.
|
|
10
|
+
//
|
|
11
|
+
// The tense of an inflected form. Past is the passé simple - for a participle
|
|
12
|
+
// the past participle, for the subjunctive, the conditional, the imperative,
|
|
13
|
+
// the infinitive and the gerund their compound past; Perfect is the passé
|
|
14
|
+
// composé (and the perfect participle, "ayant lu"). The compound tenses -
|
|
15
|
+
// Perfect, Pluperfect, PastAnterior, FuturePerfect and that compound past -
|
|
16
|
+
// are rows of their own, flagged `is_compound` (L9). Value === key, like every
|
|
17
|
+
// enum.
|
|
18
|
+
var LexemaFormTenseEnum;
|
|
19
|
+
(function (LexemaFormTenseEnum) {
|
|
20
|
+
LexemaFormTenseEnum["Present"] = "Present";
|
|
21
|
+
LexemaFormTenseEnum["Imperfect"] = "Imperfect";
|
|
22
|
+
LexemaFormTenseEnum["Past"] = "Past";
|
|
23
|
+
LexemaFormTenseEnum["Future"] = "Future";
|
|
24
|
+
LexemaFormTenseEnum["Perfect"] = "Perfect";
|
|
25
|
+
LexemaFormTenseEnum["Pluperfect"] = "Pluperfect";
|
|
26
|
+
LexemaFormTenseEnum["PastAnterior"] = "PastAnterior";
|
|
27
|
+
LexemaFormTenseEnum["FuturePerfect"] = "FuturePerfect";
|
|
28
|
+
})(LexemaFormTenseEnum || (exports.LexemaFormTenseEnum = LexemaFormTenseEnum = {}));
|
|
29
|
+
//# sourceMappingURL=LexemaFormTenseEnum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LexemaFormTenseEnum.js","sourceRoot":"","sources":["../../src/type/LexemaFormTenseEnum.ts"],"names":[],"mappings":";;;AAAA,+EAA+E;AAC/E,iFAAiF;AACjF,2EAA2E;AAC3E,kEAAkE;AAClE,gFAAgF;AAChF,QAAQ;AACR,EAAE;AACF,8EAA8E;AAC9E,6EAA6E;AAC7E,0EAA0E;AAC1E,0EAA0E;AAC1E,4EAA4E;AAC5E,+EAA+E;AAC/E,QAAQ;AACR,IAAY,mBAUX;AAVD,WAAY,mBAAmB;IAE3B,0CAAmB,CAAA;IACnB,8CAAuB,CAAA;IACvB,oCAAa,CAAA;IACb,wCAAiB,CAAA;IACjB,0CAAmB,CAAA;IACnB,gDAAyB,CAAA;IACzB,oDAA6B,CAAA;IAC7B,sDAA+B,CAAA;AACnC,CAAC,EAVW,mBAAmB,aAAnB,mBAAmB,GAAnB,mBAAmB,QAU9B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LexemaGetResponseType.d.ts","sourceRoot":"","sources":["../../src/type/LexemaGetResponseType.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,MAAM,WAAW,qBAAqB;IAElC,IAAI,EAAE,gBAAgB,CAAC;CAC1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LexemaGetResponseType.js","sourceRoot":"","sources":["../../src/type/LexemaGetResponseType.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { LexemaFormNumberEnum } from "./LexemaFormNumberEnum";
|
|
2
|
+
import { SenseCountabilityEnum } from "./SenseCountabilityEnum";
|
|
3
|
+
import { SenseTransitivityEnum } from "./SenseTransitivityEnum";
|
|
4
|
+
export interface LexemaGrammarType {
|
|
5
|
+
verb_group?: 0 | 1 | 2 | 3 | (1 | 2 | 3)[];
|
|
6
|
+
defective?: boolean;
|
|
7
|
+
auxiliary?: "avoir" | "être" | "avoir,être";
|
|
8
|
+
pronominal?: boolean;
|
|
9
|
+
reflexive?: boolean;
|
|
10
|
+
reciprocal?: boolean;
|
|
11
|
+
impersonal?: boolean;
|
|
12
|
+
transitivity?: SenseTransitivityEnum;
|
|
13
|
+
countability?: SenseCountabilityEnum;
|
|
14
|
+
invariable?: true | "Often" | "Usually" | "Variable";
|
|
15
|
+
spelling?: "Rectified1990" | "Traditional";
|
|
16
|
+
name_kind?: "Surname" | "FirstName" | "Person";
|
|
17
|
+
numeral?: "Cardinal" | "Ordinal";
|
|
18
|
+
h_aspire?: boolean;
|
|
19
|
+
number?: LexemaFormNumberEnum;
|
|
20
|
+
original_title?: string;
|
|
21
|
+
dialect_forms?: Array<{
|
|
22
|
+
dialect: string;
|
|
23
|
+
word: string;
|
|
24
|
+
}>;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=LexemaGrammarType.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LexemaGrammarType.d.ts","sourceRoot":"","sources":["../../src/type/LexemaGrammarType.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,MAAM,WAAW,iBAAiB;IAI9B,UAAU,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;IAG3C,SAAS,CAAC,EAAE,OAAO,CAAC;IAKpB,SAAS,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,YAAY,CAAC;IAC5C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IAGrB,YAAY,CAAC,EAAE,qBAAqB,CAAC;IACrC,YAAY,CAAC,EAAE,qBAAqB,CAAC;IAIrC,UAAU,CAAC,EAAE,IAAI,GAAG,OAAO,GAAG,SAAS,GAAG,UAAU,CAAC;IAGrD,QAAQ,CAAC,EAAE,eAAe,GAAG,aAAa,CAAC;IAE3C,SAAS,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,QAAQ,CAAC;IAC/C,OAAO,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IAGjC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAE9B,cAAc,CAAC,EAAE,MAAM,CAAC;IAGxB,aAAa,CAAC,EAAE,KAAK,CAAC;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC5D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LexemaGrammarType.js","sourceRoot":"","sources":["../../src/type/LexemaGrammarType.ts"],"names":[],"mappings":""}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import { ListPagingType } from "./ListPagingType";
|
|
2
|
+
import { SensePOSEnum } from "./SensePOSEnum";
|
|
3
|
+
export interface LexemaListRequestType extends ListPagingType {
|
|
2
4
|
language_id: number;
|
|
5
|
+
search?: string;
|
|
6
|
+
pos?: SensePOSEnum;
|
|
3
7
|
}
|
|
4
8
|
//# sourceMappingURL=LexemaListRequestType.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LexemaListRequestType.d.ts","sourceRoot":"","sources":["../../src/type/LexemaListRequestType.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LexemaListRequestType.d.ts","sourceRoot":"","sources":["../../src/type/LexemaListRequestType.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,MAAM,WAAW,qBAAsB,SAAQ,cAAc;IAEzD,WAAW,EAAE,MAAM,CAAC;IAGpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,GAAG,CAAC,EAAE,YAAY,CAAC;CACtB"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { LexemaRowType } from "./LexemaRowType";
|
|
2
|
-
import {
|
|
3
|
-
export
|
|
2
|
+
import { ListPageType } from "./ListPageType";
|
|
3
|
+
export interface LexemaListResponseType extends ListPageType<LexemaRowType> {
|
|
4
|
+
limit: number;
|
|
5
|
+
offset: number;
|
|
6
|
+
}
|
|
4
7
|
//# sourceMappingURL=LexemaListResponseType.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LexemaListResponseType.d.ts","sourceRoot":"","sources":["../../src/type/LexemaListResponseType.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LexemaListResponseType.d.ts","sourceRoot":"","sources":["../../src/type/LexemaListResponseType.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,MAAM,WAAW,sBAAuB,SAAQ,YAAY,CAAC,aAAa,CAAC;IAEvE,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAClB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LexemaPronunciationKindEnum.d.ts","sourceRoot":"","sources":["../../src/type/LexemaPronunciationKindEnum.ts"],"names":[],"mappings":"AASA,oBAAY,2BAA2B;IAEnC,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,OAAO,YAAY;CACtB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LexemaPronunciationKindEnum = void 0;
|
|
4
|
+
// Mirrors the `kind` column of lexema.lexema_pronunciation in Bolbol API
|
|
5
|
+
// src/database/postgres/attribute/lexema/LexemaPronunciationAttributes.ts,
|
|
6
|
+
// which declares its database enum from this one (the SDK is the source).
|
|
7
|
+
//
|
|
8
|
+
// The notation of a pronunciation's `ipa`: Phonemic - between slashes, the
|
|
9
|
+
// dictionary's backslash notation rewritten ("/a.kœj/"); Phonetic - between
|
|
10
|
+
// brackets ("[ɛ̃.n‿a.kœj]"); Unknown - a string that is neither, prose kept as
|
|
11
|
+
// written. A row with a recording and no transcription has no kind at all
|
|
12
|
+
// (null). Value === key, like every enum.
|
|
13
|
+
var LexemaPronunciationKindEnum;
|
|
14
|
+
(function (LexemaPronunciationKindEnum) {
|
|
15
|
+
LexemaPronunciationKindEnum["Phonemic"] = "Phonemic";
|
|
16
|
+
LexemaPronunciationKindEnum["Phonetic"] = "Phonetic";
|
|
17
|
+
LexemaPronunciationKindEnum["Unknown"] = "Unknown";
|
|
18
|
+
})(LexemaPronunciationKindEnum || (exports.LexemaPronunciationKindEnum = LexemaPronunciationKindEnum = {}));
|
|
19
|
+
//# sourceMappingURL=LexemaPronunciationKindEnum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LexemaPronunciationKindEnum.js","sourceRoot":"","sources":["../../src/type/LexemaPronunciationKindEnum.ts"],"names":[],"mappings":";;;AAAA,yEAAyE;AACzE,2EAA2E;AAC3E,0EAA0E;AAC1E,EAAE;AACF,2EAA2E;AAC3E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,0CAA0C;AAC1C,IAAY,2BAKX;AALD,WAAY,2BAA2B;IAEnC,oDAAqB,CAAA;IACrB,oDAAqB,CAAA;IACrB,kDAAmB,CAAA;AACvB,CAAC,EALW,2BAA2B,aAA3B,2BAA2B,GAA3B,2BAA2B,QAKtC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { LexemaPronunciationKindEnum } from "./LexemaPronunciationKindEnum";
|
|
2
|
+
export interface LexemaPronunciationRowType {
|
|
3
|
+
id: number;
|
|
4
|
+
lexema_form_id: number | null;
|
|
5
|
+
kind: LexemaPronunciationKindEnum | null;
|
|
6
|
+
ipa: string | null;
|
|
7
|
+
variant: string | null;
|
|
8
|
+
is_primary: boolean;
|
|
9
|
+
audio_file: string | null;
|
|
10
|
+
audio_url: string | null;
|
|
11
|
+
audio_license: string | null;
|
|
12
|
+
audio_author: string | null;
|
|
13
|
+
location: string | null;
|
|
14
|
+
rhyme: string | null;
|
|
15
|
+
tags: string[];
|
|
16
|
+
raw_tags: string[];
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=LexemaPronunciationRowType.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LexemaPronunciationRowType.d.ts","sourceRoot":"","sources":["../../src/type/LexemaPronunciationRowType.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAE5E,MAAM,WAAW,0BAA0B;IAEvC,EAAE,EAAE,MAAM,CAAC;IAOX,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAG9B,IAAI,EAAE,2BAA2B,GAAG,IAAI,CAAC;IAEzC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IAInB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAGvB,UAAU,EAAE,OAAO,CAAC;IAEpB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAGzB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAExB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,QAAQ,EAAE,MAAM,EAAE,CAAC;CACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LexemaPronunciationRowType.js","sourceRoot":"","sources":["../../src/type/LexemaPronunciationRowType.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { LexemaRelationTypeEnum } from "./LexemaRelationTypeEnum";
|
|
2
|
+
export interface LexemaRelationRowType {
|
|
3
|
+
id: number;
|
|
4
|
+
sense_id: number | null;
|
|
5
|
+
lexema_form_id: number | null;
|
|
6
|
+
type: LexemaRelationTypeEnum;
|
|
7
|
+
to_text: string;
|
|
8
|
+
to_lexema_id: number | null;
|
|
9
|
+
sense_hint: string | null;
|
|
10
|
+
gloss: string | null;
|
|
11
|
+
roman: string | null;
|
|
12
|
+
tags: string[];
|
|
13
|
+
raw_tags: string[];
|
|
14
|
+
topics: string[];
|
|
15
|
+
sort_order: number;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=LexemaRelationRowType.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LexemaRelationRowType.d.ts","sourceRoot":"","sources":["../../src/type/LexemaRelationRowType.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAElE,MAAM,WAAW,qBAAqB;IAElC,EAAE,EAAE,MAAM,CAAC;IAGX,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IASxB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,IAAI,EAAE,sBAAsB,CAAC;IAE7B,OAAO,EAAE,MAAM,CAAC;IAIhB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAG5B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAErB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,QAAQ,EAAE,MAAM,EAAE,CAAC;IAEnB,MAAM,EAAE,MAAM,EAAE,CAAC;IAEjB,UAAU,EAAE,MAAM,CAAC;CACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LexemaRelationRowType.js","sourceRoot":"","sources":["../../src/type/LexemaRelationRowType.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare enum LexemaRelationTypeEnum {
|
|
2
|
+
Synonym = "Synonym",
|
|
3
|
+
Antonym = "Antonym",
|
|
4
|
+
Hypernym = "Hypernym",
|
|
5
|
+
Hyponym = "Hyponym",
|
|
6
|
+
Meronym = "Meronym",
|
|
7
|
+
Holonym = "Holonym",
|
|
8
|
+
Troponym = "Troponym",
|
|
9
|
+
Paronym = "Paronym",
|
|
10
|
+
Derived = "Derived",
|
|
11
|
+
Compound = "Compound",
|
|
12
|
+
Related = "Related",
|
|
13
|
+
Demonym = "Demonym",
|
|
14
|
+
Proverb = "Proverb",
|
|
15
|
+
Abbreviation = "Abbreviation",
|
|
16
|
+
Homophone = "Homophone",
|
|
17
|
+
Counterpart = "Counterpart",
|
|
18
|
+
VariantOf = "VariantOf",
|
|
19
|
+
InflectedFormOf = "InflectedFormOf"
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=LexemaRelationTypeEnum.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LexemaRelationTypeEnum.d.ts","sourceRoot":"","sources":["../../src/type/LexemaRelationTypeEnum.ts"],"names":[],"mappings":"AA0BA,oBAAY,sBAAsB;IAE9B,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,YAAY,iBAAiB;IAC7B,SAAS,cAAc;IACvB,WAAW,gBAAgB;IAC3B,SAAS,cAAc;IACvB,eAAe,oBAAoB;CACtC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LexemaRelationTypeEnum = void 0;
|
|
4
|
+
// Mirrors the `type` column of lexema.lexema_relation in Bolbol API
|
|
5
|
+
// src/database/postgres/attribute/lexema/LexemaRelationAttributes.ts, which
|
|
6
|
+
// declares its database enum from this one (the SDK is the source).
|
|
7
|
+
//
|
|
8
|
+
// How the target of a relation stands to the entry it is stated on. A bare
|
|
9
|
+
// member names what the target is to the entry (Derived: the target is a
|
|
10
|
+
// derived term of the entry; Hypernym: the target is a hypernym of it); a
|
|
11
|
+
// member ending in Of names what the entry is to the target (VariantOf: the
|
|
12
|
+
// entry is a spelling variant of the target; InflectedFormOf: the entry is an
|
|
13
|
+
// inflected form of it).
|
|
14
|
+
//
|
|
15
|
+
// Synonym ... Paronym the eight sense-level lists, with the relation's
|
|
16
|
+
// `sense_id` set when the source said which sense
|
|
17
|
+
// Derived a word derived from the entry
|
|
18
|
+
// Compound a compound the entry is part of
|
|
19
|
+
// Related a related word, and a verb's pronominal form (tag
|
|
20
|
+
// pronominal: définir → "se définir")
|
|
21
|
+
// Demonym the inhabitants' name or adjective of a place
|
|
22
|
+
// Proverb a proverb that contains the entry
|
|
23
|
+
// Abbreviation the entry's abbreviation
|
|
24
|
+
// Homophone a word that sounds the same
|
|
25
|
+
// Counterpart the headword line's gender counterpart (manchot →
|
|
26
|
+
// "manchote") - not a spelling and not a form (L23)
|
|
27
|
+
//
|
|
28
|
+
// Both ends are words of the same language (L7). Value === key, like every
|
|
29
|
+
// enum.
|
|
30
|
+
var LexemaRelationTypeEnum;
|
|
31
|
+
(function (LexemaRelationTypeEnum) {
|
|
32
|
+
LexemaRelationTypeEnum["Synonym"] = "Synonym";
|
|
33
|
+
LexemaRelationTypeEnum["Antonym"] = "Antonym";
|
|
34
|
+
LexemaRelationTypeEnum["Hypernym"] = "Hypernym";
|
|
35
|
+
LexemaRelationTypeEnum["Hyponym"] = "Hyponym";
|
|
36
|
+
LexemaRelationTypeEnum["Meronym"] = "Meronym";
|
|
37
|
+
LexemaRelationTypeEnum["Holonym"] = "Holonym";
|
|
38
|
+
LexemaRelationTypeEnum["Troponym"] = "Troponym";
|
|
39
|
+
LexemaRelationTypeEnum["Paronym"] = "Paronym";
|
|
40
|
+
LexemaRelationTypeEnum["Derived"] = "Derived";
|
|
41
|
+
LexemaRelationTypeEnum["Compound"] = "Compound";
|
|
42
|
+
LexemaRelationTypeEnum["Related"] = "Related";
|
|
43
|
+
LexemaRelationTypeEnum["Demonym"] = "Demonym";
|
|
44
|
+
LexemaRelationTypeEnum["Proverb"] = "Proverb";
|
|
45
|
+
LexemaRelationTypeEnum["Abbreviation"] = "Abbreviation";
|
|
46
|
+
LexemaRelationTypeEnum["Homophone"] = "Homophone";
|
|
47
|
+
LexemaRelationTypeEnum["Counterpart"] = "Counterpart";
|
|
48
|
+
LexemaRelationTypeEnum["VariantOf"] = "VariantOf";
|
|
49
|
+
LexemaRelationTypeEnum["InflectedFormOf"] = "InflectedFormOf";
|
|
50
|
+
})(LexemaRelationTypeEnum || (exports.LexemaRelationTypeEnum = LexemaRelationTypeEnum = {}));
|
|
51
|
+
//# sourceMappingURL=LexemaRelationTypeEnum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LexemaRelationTypeEnum.js","sourceRoot":"","sources":["../../src/type/LexemaRelationTypeEnum.ts"],"names":[],"mappings":";;;AAAA,oEAAoE;AACpE,4EAA4E;AAC5E,oEAAoE;AACpE,EAAE;AACF,2EAA2E;AAC3E,yEAAyE;AACzE,0EAA0E;AAC1E,4EAA4E;AAC5E,8EAA8E;AAC9E,yBAAyB;AACzB,EAAE;AACF,0EAA0E;AAC1E,yEAAyE;AACzE,uDAAuD;AACvD,yDAAyD;AACzD,2EAA2E;AAC3E,6DAA6D;AAC7D,uEAAuE;AACvE,2DAA2D;AAC3D,kDAAkD;AAClD,qDAAqD;AACrD,2EAA2E;AAC3E,2EAA2E;AAC3E,EAAE;AACF,2EAA2E;AAC3E,QAAQ;AACR,IAAY,sBAoBX;AApBD,WAAY,sBAAsB;IAE9B,6CAAmB,CAAA;IACnB,6CAAmB,CAAA;IACnB,+CAAqB,CAAA;IACrB,6CAAmB,CAAA;IACnB,6CAAmB,CAAA;IACnB,6CAAmB,CAAA;IACnB,+CAAqB,CAAA;IACrB,6CAAmB,CAAA;IACnB,6CAAmB,CAAA;IACnB,+CAAqB,CAAA;IACrB,6CAAmB,CAAA;IACnB,6CAAmB,CAAA;IACnB,6CAAmB,CAAA;IACnB,uDAA6B,CAAA;IAC7B,iDAAuB,CAAA;IACvB,qDAA2B,CAAA;IAC3B,iDAAuB,CAAA;IACvB,6DAAmC,CAAA;AACvC,CAAC,EApBW,sBAAsB,aAAtB,sBAAsB,GAAtB,sBAAsB,QAoBjC"}
|
|
@@ -1,10 +1,16 @@
|
|
|
1
|
+
import { LexemaTypeEnum } from "./LexemaTypeEnum";
|
|
1
2
|
import { SenseGenderEnum } from "./SenseGenderEnum";
|
|
3
|
+
import { SensePOSEnum } from "./SensePOSEnum";
|
|
2
4
|
export interface LexemaRowType {
|
|
3
5
|
id: number;
|
|
4
6
|
language_id: number;
|
|
7
|
+
pos: SensePOSEnum;
|
|
8
|
+
type: LexemaTypeEnum;
|
|
9
|
+
homograph_number: number;
|
|
5
10
|
name: string;
|
|
6
11
|
gender: SenseGenderEnum | null;
|
|
7
12
|
article: string | null;
|
|
8
13
|
phonetics: string | null;
|
|
14
|
+
sense_count: number;
|
|
9
15
|
}
|
|
10
16
|
//# sourceMappingURL=LexemaRowType.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LexemaRowType.d.ts","sourceRoot":"","sources":["../../src/type/LexemaRowType.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LexemaRowType.d.ts","sourceRoot":"","sources":["../../src/type/LexemaRowType.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,MAAM,WAAW,aAAa;IAE1B,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IAGpB,GAAG,EAAE,YAAY,CAAC;IAGlB,IAAI,EAAE,cAAc,CAAC;IAKrB,gBAAgB,EAAE,MAAM,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;IAEb,MAAM,EAAE,eAAe,GAAG,IAAI,CAAC;IAG/B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAIvB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAEzB,WAAW,EAAE,MAAM,CAAC;CACvB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare enum LexemaTypeEnum {
|
|
2
|
+
Word = "Word",
|
|
3
|
+
Compound = "Compound",
|
|
4
|
+
Phrase = "Phrase",
|
|
5
|
+
Idiom = "Idiom",
|
|
6
|
+
ProperNoun = "ProperNoun",
|
|
7
|
+
Abbreviation = "Abbreviation",
|
|
8
|
+
Acronym = "Acronym",
|
|
9
|
+
Affix = "Affix"
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=LexemaTypeEnum.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LexemaTypeEnum.d.ts","sourceRoot":"","sources":["../../src/type/LexemaTypeEnum.ts"],"names":[],"mappings":"AAaA,oBAAY,cAAc;IAEtB,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,UAAU,eAAe;IACzB,YAAY,iBAAiB;IAC7B,OAAO,YAAY;IACnB,KAAK,UAAU;CAClB"}
|