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
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LexemaTypeEnum = void 0;
|
|
4
|
+
// Mirrors the `type` column of lexema.lexema in Bolbol API
|
|
5
|
+
// src/database/postgres/attribute/lexema/LexemaAttributes.ts, which declares its
|
|
6
|
+
// database enum from this one (the SDK is the source).
|
|
7
|
+
//
|
|
8
|
+
// What kind of lexical unit an entry is, beside its part of speech
|
|
9
|
+
// (SensePOSEnum). Word, the default, is a single word; Compound a compound
|
|
10
|
+
// headword; Phrase a locution - a multi-word unit whose part of speech stays
|
|
11
|
+
// the locution's ("accueil de loisirs" is a Noun); Idiom a locution-phrase or a
|
|
12
|
+
// proverb; ProperNoun a name (Nom propre, Nom de famille, Prénom); Affix a
|
|
13
|
+
// prefix, a suffix, an infix or an interfix; Abbreviation and Acronym as they
|
|
14
|
+
// say. The seeder reads it from the section title and the entry's tags, the
|
|
15
|
+
// first rule that matches winning (plan Appendix B.2). Value === key, like
|
|
16
|
+
// every enum.
|
|
17
|
+
var LexemaTypeEnum;
|
|
18
|
+
(function (LexemaTypeEnum) {
|
|
19
|
+
LexemaTypeEnum["Word"] = "Word";
|
|
20
|
+
LexemaTypeEnum["Compound"] = "Compound";
|
|
21
|
+
LexemaTypeEnum["Phrase"] = "Phrase";
|
|
22
|
+
LexemaTypeEnum["Idiom"] = "Idiom";
|
|
23
|
+
LexemaTypeEnum["ProperNoun"] = "ProperNoun";
|
|
24
|
+
LexemaTypeEnum["Abbreviation"] = "Abbreviation";
|
|
25
|
+
LexemaTypeEnum["Acronym"] = "Acronym";
|
|
26
|
+
LexemaTypeEnum["Affix"] = "Affix";
|
|
27
|
+
})(LexemaTypeEnum || (exports.LexemaTypeEnum = LexemaTypeEnum = {}));
|
|
28
|
+
//# sourceMappingURL=LexemaTypeEnum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LexemaTypeEnum.js","sourceRoot":"","sources":["../../src/type/LexemaTypeEnum.ts"],"names":[],"mappings":";;;AAAA,2DAA2D;AAC3D,iFAAiF;AACjF,uDAAuD;AACvD,EAAE;AACF,mEAAmE;AACnE,2EAA2E;AAC3E,6EAA6E;AAC7E,gFAAgF;AAChF,2EAA2E;AAC3E,8EAA8E;AAC9E,4EAA4E;AAC5E,2EAA2E;AAC3E,cAAc;AACd,IAAY,cAUX;AAVD,WAAY,cAAc;IAEtB,+BAAa,CAAA;IACb,uCAAqB,CAAA;IACrB,mCAAiB,CAAA;IACjB,iCAAe,CAAA;IACf,2CAAyB,CAAA;IACzB,+CAA6B,CAAA;IAC7B,qCAAmB,CAAA;IACnB,iCAAe,CAAA;AACnB,CAAC,EAVW,cAAc,aAAd,cAAc,GAAd,cAAc,QAUzB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare enum LexemaWritingKindEnum {
|
|
2
|
+
Variant = "Variant",
|
|
3
|
+
Canonical = "Canonical",
|
|
4
|
+
Traditional = "Traditional",
|
|
5
|
+
Rectified = "Rectified",
|
|
6
|
+
Typographic = "Typographic",
|
|
7
|
+
Alternative = "Alternative"
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=LexemaWritingKindEnum.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LexemaWritingKindEnum.d.ts","sourceRoot":"","sources":["../../src/type/LexemaWritingKindEnum.ts"],"names":[],"mappings":"AAmBA,oBAAY,qBAAqB;IAE7B,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,WAAW,gBAAgB;IAC3B,SAAS,cAAc;IACvB,WAAW,gBAAgB;IAC3B,WAAW,gBAAgB;CAC9B"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LexemaWritingKindEnum = void 0;
|
|
4
|
+
// Mirrors the `kind` column of lexema.lexema_writing in Bolbol API
|
|
5
|
+
// src/database/postgres/attribute/lexema/LexemaWritingAttributes.ts, which
|
|
6
|
+
// declares its database enum from this one (the SDK is the source).
|
|
7
|
+
//
|
|
8
|
+
// How another spelling relates to the entry it is written on:
|
|
9
|
+
//
|
|
10
|
+
// Variant any other variant the headword line lists ("blogue" on
|
|
11
|
+
// blog), and the spelling a form page states ("Ancienne
|
|
12
|
+
// orthographe de ...")
|
|
13
|
+
// Canonical a headword-line spelling tagged canonical ("’jour" on jour)
|
|
14
|
+
// Traditional the traditional spelling ("orthographe traditionnelle")
|
|
15
|
+
// Rectified the 1990 rectified spelling ("orthographe rectifiée de 1990")
|
|
16
|
+
// Typographic the spelling a typographic constraint forces: a
|
|
17
|
+
// typographic-variant page, or a form page's "contrainte
|
|
18
|
+
// typographique" sentence ("oeuvres" for "œuvres")
|
|
19
|
+
// Alternative a variant entry that points at this one as its main spelling
|
|
20
|
+
// ("greve" on grève)
|
|
21
|
+
//
|
|
22
|
+
// Value === key, like every enum.
|
|
23
|
+
var LexemaWritingKindEnum;
|
|
24
|
+
(function (LexemaWritingKindEnum) {
|
|
25
|
+
LexemaWritingKindEnum["Variant"] = "Variant";
|
|
26
|
+
LexemaWritingKindEnum["Canonical"] = "Canonical";
|
|
27
|
+
LexemaWritingKindEnum["Traditional"] = "Traditional";
|
|
28
|
+
LexemaWritingKindEnum["Rectified"] = "Rectified";
|
|
29
|
+
LexemaWritingKindEnum["Typographic"] = "Typographic";
|
|
30
|
+
LexemaWritingKindEnum["Alternative"] = "Alternative";
|
|
31
|
+
})(LexemaWritingKindEnum || (exports.LexemaWritingKindEnum = LexemaWritingKindEnum = {}));
|
|
32
|
+
//# sourceMappingURL=LexemaWritingKindEnum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LexemaWritingKindEnum.js","sourceRoot":"","sources":["../../src/type/LexemaWritingKindEnum.ts"],"names":[],"mappings":";;;AAAA,mEAAmE;AACnE,2EAA2E;AAC3E,oEAAoE;AACpE,EAAE;AACF,8DAA8D;AAC9D,EAAE;AACF,wEAAwE;AACxE,uEAAuE;AACvE,sCAAsC;AACtC,6EAA6E;AAC7E,yEAAyE;AACzE,+EAA+E;AAC/E,iEAAiE;AACjE,wEAAwE;AACxE,kEAAkE;AAClE,8EAA8E;AAC9E,oCAAoC;AACpC,EAAE;AACF,kCAAkC;AAClC,IAAY,qBAQX;AARD,WAAY,qBAAqB;IAE7B,4CAAmB,CAAA;IACnB,gDAAuB,CAAA;IACvB,oDAA2B,CAAA;IAC3B,gDAAuB,CAAA;IACvB,oDAA2B,CAAA;IAC3B,oDAA2B,CAAA;AAC/B,CAAC,EARW,qBAAqB,aAArB,qBAAqB,GAArB,qBAAqB,QAQhC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { LexemaWritingKindEnum } from "./LexemaWritingKindEnum";
|
|
2
|
+
export interface LexemaWritingRowType {
|
|
3
|
+
id: number;
|
|
4
|
+
kind: LexemaWritingKindEnum;
|
|
5
|
+
text: string;
|
|
6
|
+
note: string | null;
|
|
7
|
+
tags: string[];
|
|
8
|
+
raw_tags: string[];
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=LexemaWritingRowType.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LexemaWritingRowType.d.ts","sourceRoot":"","sources":["../../src/type/LexemaWritingRowType.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,MAAM,WAAW,oBAAoB;IAEjC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,qBAAqB,CAAC;IAE5B,IAAI,EAAE,MAAM,CAAC;IAGb,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAEpB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,QAAQ,EAAE,MAAM,EAAE,CAAC;CACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LexemaWritingRowType.js","sourceRoot":"","sources":["../../src/type/LexemaWritingRowType.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PackageDirectoryListRequestType.d.ts","sourceRoot":"","sources":["../../src/type/PackageDirectoryListRequestType.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,MAAM,WAAW,+BAAgC,SAAQ,cAAc;
|
|
1
|
+
{"version":3,"file":"PackageDirectoryListRequestType.d.ts","sourceRoot":"","sources":["../../src/type/PackageDirectoryListRequestType.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,MAAM,WAAW,+BAAgC,SAAQ,cAAc;IAKnE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,UAAU,CAAC,EAAE,aAAa,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IAInB,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SenseCountabilityEnum.d.ts","sourceRoot":"","sources":["../../src/type/SenseCountabilityEnum.ts"],"names":[],"mappings":"AASA,oBAAY,qBAAqB;IAE7B,SAAS,cAAc;IACvB,WAAW,gBAAgB;IAC3B,IAAI,SAAS;IACb,YAAY,iBAAiB;IAC7B,UAAU,eAAe;CAC5B"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SenseCountabilityEnum = void 0;
|
|
4
|
+
// Mirrors the `countability` column of lexema.sense in Bolbol API
|
|
5
|
+
// src/database/postgres/attribute/lexema/SenseAttributes.ts, which declares its
|
|
6
|
+
// database enum from this one (the SDK is the source). Its member names are
|
|
7
|
+
// also the values of the `countability` key of lexema.grammar
|
|
8
|
+
// (LexemaGrammarType): the entry's own, which a sense that states none takes.
|
|
9
|
+
//
|
|
10
|
+
// Both is a noun used countably and uncountably (tagged both); SingularOnly
|
|
11
|
+
// and PluralOnly a noun used in one number only. Value === key, like every
|
|
12
|
+
// enum.
|
|
13
|
+
var SenseCountabilityEnum;
|
|
14
|
+
(function (SenseCountabilityEnum) {
|
|
15
|
+
SenseCountabilityEnum["Countable"] = "Countable";
|
|
16
|
+
SenseCountabilityEnum["Uncountable"] = "Uncountable";
|
|
17
|
+
SenseCountabilityEnum["Both"] = "Both";
|
|
18
|
+
SenseCountabilityEnum["SingularOnly"] = "SingularOnly";
|
|
19
|
+
SenseCountabilityEnum["PluralOnly"] = "PluralOnly";
|
|
20
|
+
})(SenseCountabilityEnum || (exports.SenseCountabilityEnum = SenseCountabilityEnum = {}));
|
|
21
|
+
//# sourceMappingURL=SenseCountabilityEnum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SenseCountabilityEnum.js","sourceRoot":"","sources":["../../src/type/SenseCountabilityEnum.ts"],"names":[],"mappings":";;;AAAA,kEAAkE;AAClE,gFAAgF;AAChF,4EAA4E;AAC5E,8DAA8D;AAC9D,8EAA8E;AAC9E,EAAE;AACF,4EAA4E;AAC5E,2EAA2E;AAC3E,QAAQ;AACR,IAAY,qBAOX;AAPD,WAAY,qBAAqB;IAE7B,gDAAuB,CAAA;IACvB,oDAA2B,CAAA;IAC3B,sCAAa,CAAA;IACb,sDAA6B,CAAA;IAC7B,kDAAyB,CAAA;AAC7B,CAAC,EAPW,qBAAqB,aAArB,qBAAqB,GAArB,qBAAqB,QAOhC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { LexemaRelationRowType } from "./LexemaRelationRowType";
|
|
2
|
+
import { SenseEquivalentRowType } from "./SenseEquivalentRowType";
|
|
3
|
+
import { SenseExampleRowType } from "./SenseExampleRowType";
|
|
4
|
+
import { SenseRowType } from "./SenseRowType";
|
|
5
|
+
export interface SenseDetailType extends SenseRowType {
|
|
6
|
+
attestations: string[];
|
|
7
|
+
categories: string[];
|
|
8
|
+
tags: string[];
|
|
9
|
+
raw_tags: string[];
|
|
10
|
+
examples: SenseExampleRowType[];
|
|
11
|
+
equivalents: SenseEquivalentRowType[];
|
|
12
|
+
relations: LexemaRelationRowType[];
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=SenseDetailType.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SenseDetailType.d.ts","sourceRoot":"","sources":["../../src/type/SenseDetailType.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,MAAM,WAAW,eAAgB,SAAQ,YAAY;IAGjD,YAAY,EAAE,MAAM,EAAE,CAAC;IAEvB,UAAU,EAAE,MAAM,EAAE,CAAC;IAGrB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,QAAQ,EAAE,mBAAmB,EAAE,CAAC;IAEhC,WAAW,EAAE,sBAAsB,EAAE,CAAC;IACtC,SAAS,EAAE,qBAAqB,EAAE,CAAC;CACtC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SenseDetailType.js","sourceRoot":"","sources":["../../src/type/SenseDetailType.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { SenseGenderEnum } from "./SenseGenderEnum";
|
|
2
|
+
export interface SenseEquivalentRowType {
|
|
3
|
+
id: number;
|
|
4
|
+
sense_id: number | null;
|
|
5
|
+
lexema_form_id: number | null;
|
|
6
|
+
language_id: number;
|
|
7
|
+
text: string;
|
|
8
|
+
gender: SenseGenderEnum | null;
|
|
9
|
+
roman: string | null;
|
|
10
|
+
traditional: string | null;
|
|
11
|
+
sense_hint: string | null;
|
|
12
|
+
tags: string[];
|
|
13
|
+
raw_tags: string[];
|
|
14
|
+
sort_order: number;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=SenseEquivalentRowType.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SenseEquivalentRowType.d.ts","sourceRoot":"","sources":["../../src/type/SenseEquivalentRowType.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,WAAW,sBAAsB;IAEnC,EAAE,EAAE,MAAM,CAAC;IAGX,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAQxB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAE9B,WAAW,EAAE,MAAM,CAAC;IAEpB,IAAI,EAAE,MAAM,CAAC;IAGb,MAAM,EAAE,eAAe,GAAG,IAAI,CAAC;IAE/B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAErB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAG3B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,QAAQ,EAAE,MAAM,EAAE,CAAC;IAEnB,UAAU,EAAE,MAAM,CAAC;CACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SenseEquivalentRowType.js","sourceRoot":"","sources":["../../src/type/SenseEquivalentRowType.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SenseExampleKindEnum.d.ts","sourceRoot":"","sources":["../../src/type/SenseExampleKindEnum.ts"],"names":[],"mappings":"AASA,oBAAY,oBAAoB;IAE5B,KAAK,UAAU;IACf,SAAS,cAAc;IACvB,IAAI,SAAS;CAChB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SenseExampleKindEnum = void 0;
|
|
4
|
+
// Mirrors the `kind` column of lexema.sense_example in Bolbol API
|
|
5
|
+
// src/database/postgres/attribute/lexema/SenseExampleAttributes.ts, which
|
|
6
|
+
// declares its database enum from this one (the SDK is the source).
|
|
7
|
+
//
|
|
8
|
+
// Where an example comes from: Sense - a sentence that illustrates one sense of
|
|
9
|
+
// the entry; Etymology - a dated quotation of the entry's etymology; Form - a
|
|
10
|
+
// sentence a form page gives for one inflected form ("elle lisait"), shown on
|
|
11
|
+
// that form (`lexema_form_id`). The last two name no sense, so they sit at
|
|
12
|
+
// entry level (LexemaDetailType.examples). Value === key, like every enum.
|
|
13
|
+
var SenseExampleKindEnum;
|
|
14
|
+
(function (SenseExampleKindEnum) {
|
|
15
|
+
SenseExampleKindEnum["Sense"] = "Sense";
|
|
16
|
+
SenseExampleKindEnum["Etymology"] = "Etymology";
|
|
17
|
+
SenseExampleKindEnum["Form"] = "Form";
|
|
18
|
+
})(SenseExampleKindEnum || (exports.SenseExampleKindEnum = SenseExampleKindEnum = {}));
|
|
19
|
+
//# sourceMappingURL=SenseExampleKindEnum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SenseExampleKindEnum.js","sourceRoot":"","sources":["../../src/type/SenseExampleKindEnum.ts"],"names":[],"mappings":";;;AAAA,kEAAkE;AAClE,0EAA0E;AAC1E,oEAAoE;AACpE,EAAE;AACF,gFAAgF;AAChF,8EAA8E;AAC9E,8EAA8E;AAC9E,2EAA2E;AAC3E,2EAA2E;AAC3E,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAE5B,uCAAe,CAAA;IACf,+CAAuB,CAAA;IACvB,qCAAa,CAAA;AACjB,CAAC,EALW,oBAAoB,aAApB,oBAAoB,GAApB,oBAAoB,QAK/B"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { SenseExampleKindEnum } from "./SenseExampleKindEnum";
|
|
2
|
+
export interface SenseExampleRowType {
|
|
3
|
+
id: number;
|
|
4
|
+
sense_id: number | null;
|
|
5
|
+
lexema_form_id: number | null;
|
|
6
|
+
kind: SenseExampleKindEnum;
|
|
7
|
+
text: string;
|
|
8
|
+
spans: [number, number][];
|
|
9
|
+
reference: string | null;
|
|
10
|
+
translation: string | null;
|
|
11
|
+
translation_spans: [number, number][];
|
|
12
|
+
roman: string | null;
|
|
13
|
+
roman_spans: [number, number][];
|
|
14
|
+
date: string | null;
|
|
15
|
+
note: string | null;
|
|
16
|
+
tags: string[];
|
|
17
|
+
raw_tags: string[];
|
|
18
|
+
sort_order: number;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=SenseExampleRowType.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SenseExampleRowType.d.ts","sourceRoot":"","sources":["../../src/type/SenseExampleRowType.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,MAAM,WAAW,mBAAmB;IAEhC,EAAE,EAAE,MAAM,CAAC;IAIX,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAQxB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,IAAI,EAAE,oBAAoB,CAAC;IAE3B,IAAI,EAAE,MAAM,CAAC;IAGb,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC;IAG1B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAGzB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,iBAAiB,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC;IAEtC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,WAAW,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC;IAEhC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAEpB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,QAAQ,EAAE,MAAM,EAAE,CAAC;IAEnB,UAAU,EAAE,MAAM,CAAC;CACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SenseExampleRowType.js","sourceRoot":"","sources":["../../src/type/SenseExampleRowType.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SenseGenderEnum.d.ts","sourceRoot":"","sources":["../../src/type/SenseGenderEnum.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SenseGenderEnum.d.ts","sourceRoot":"","sources":["../../src/type/SenseGenderEnum.ts"],"names":[],"mappings":"AAYA,oBAAY,eAAe;IAEvB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,SAAS,cAAc;IACvB,MAAM,WAAW;IACjB,IAAI,SAAS;CAChB"}
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SenseGenderEnum = void 0;
|
|
4
|
-
// Mirrors the `gender` column of lexema.lexema
|
|
5
|
-
//
|
|
6
|
-
//
|
|
4
|
+
// Mirrors the `gender` column of lexema.lexema, lexema.sense and
|
|
5
|
+
// lexema.sense_equivalent in Bolbol API
|
|
6
|
+
// src/database/postgres/attribute/lexema/LexemaAttributes.ts / SenseAttributes.ts /
|
|
7
|
+
// SenseEquivalentAttributes.ts, which declare their database enum from this one
|
|
8
|
+
// (the SDK is the source). Its member names are also the values of the `gender`
|
|
9
|
+
// key of lexema_form.features (LexemaFormFeaturesType).
|
|
10
|
+
//
|
|
11
|
+
// Epicene is the French mf - an entry or an equivalent tagged both masculine
|
|
12
|
+
// and feminine, one form for both. Common is a gender of equivalents only
|
|
13
|
+
// (Danish, Swedish, Dutch words): on an entry, a sense or a form the source's
|
|
14
|
+
// "common" is the usage label "courant" and never sets a gender - on a sense
|
|
15
|
+
// it is SenseRegisterEnum.Common (L24).
|
|
7
16
|
var SenseGenderEnum;
|
|
8
17
|
(function (SenseGenderEnum) {
|
|
9
18
|
SenseGenderEnum["Animate"] = "Animate";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SenseGenderEnum.js","sourceRoot":"","sources":["../../src/type/SenseGenderEnum.ts"],"names":[],"mappings":";;;AAAA,8EAA8E;AAC9E,
|
|
1
|
+
{"version":3,"file":"SenseGenderEnum.js","sourceRoot":"","sources":["../../src/type/SenseGenderEnum.ts"],"names":[],"mappings":";;;AAAA,iEAAiE;AACjE,wCAAwC;AACxC,oFAAoF;AACpF,gFAAgF;AAChF,gFAAgF;AAChF,wDAAwD;AACxD,EAAE;AACF,6EAA6E;AAC7E,0EAA0E;AAC1E,8EAA8E;AAC9E,6EAA6E;AAC7E,wCAAwC;AACxC,IAAY,eAUX;AAVD,WAAY,eAAe;IAEvB,sCAAmB,CAAA;IACnB,oCAAiB,CAAA;IACjB,sCAAmB,CAAA;IACnB,wCAAqB,CAAA;IACrB,0CAAuB,CAAA;IACvB,0CAAuB,CAAA;IACvB,oCAAiB,CAAA;IACjB,gCAAa,CAAA;AACjB,CAAC,EAVW,eAAe,aAAf,eAAe,GAAf,eAAe,QAU1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SensePOSEnum.d.ts","sourceRoot":"","sources":["../../src/type/SensePOSEnum.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SensePOSEnum.d.ts","sourceRoot":"","sources":["../../src/type/SensePOSEnum.ts"],"names":[],"mappings":"AAOA,oBAAY,YAAY;IAEpB,YAAY,iBAAiB;IAC7B,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,aAAa,kBAAkB;IAC/B,UAAU,eAAe;IACzB,WAAW,gBAAgB;IAC3B,WAAW,gBAAgB;IAC3B,UAAU,eAAe;IACzB,KAAK,UAAU;IACf,YAAY,iBAAiB;IAC7B,MAAM,WAAW;IACjB,SAAS,cAAc;IACvB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,YAAY,iBAAiB;IAC7B,MAAM,WAAW;IACjB,WAAW,gBAAgB;IAC3B,OAAO,YAAY;IACnB,UAAU,eAAe;IACzB,OAAO,YAAY;IACnB,WAAW,gBAAgB;IAC3B,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,IAAI,SAAS;CAChB"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SensePOSEnum = void 0;
|
|
4
|
-
// Mirrors the `pos` (part of speech) column of lexema.
|
|
5
|
-
// src/database/postgres/attribute/lexema/
|
|
4
|
+
// Mirrors the `pos` (part of speech) column of lexema.lexema in Bolbol API
|
|
5
|
+
// src/database/postgres/attribute/lexema/LexemaAttributes.ts, which declares its
|
|
6
6
|
// database enum from this one (the SDK is the source).
|
|
7
|
+
//
|
|
8
|
+
// One dictionary entry is one spelling with one part of speech, so every sense
|
|
9
|
+
// of a lexema shares it. The part of speech moved from lexema.sense to the
|
|
10
|
+
// lexema and the enum kept its name (L2).
|
|
7
11
|
var SensePOSEnum;
|
|
8
12
|
(function (SensePOSEnum) {
|
|
9
13
|
SensePOSEnum["Abbreviation"] = "Abbreviation";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SensePOSEnum.js","sourceRoot":"","sources":["../../src/type/SensePOSEnum.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"SensePOSEnum.js","sourceRoot":"","sources":["../../src/type/SensePOSEnum.ts"],"names":[],"mappings":";;;AAAA,2EAA2E;AAC3E,iFAAiF;AACjF,uDAAuD;AACvD,EAAE;AACF,+EAA+E;AAC/E,2EAA2E;AAC3E,0CAA0C;AAC1C,IAAY,YAgCX;AAhCD,WAAY,YAAY;IAEpB,6CAA6B,CAAA;IAC7B,mCAAmB,CAAA;IACnB,uCAAuB,CAAA;IACvB,iCAAiB,CAAA;IACjB,+BAAe,CAAA;IACf,mCAAmB,CAAA;IACnB,+CAA+B,CAAA;IAC/B,yCAAyB,CAAA;IACzB,2CAA2B,CAAA;IAC3B,2CAA2B,CAAA;IAC3B,yCAAyB,CAAA;IACzB,+BAAe,CAAA;IACf,6CAA6B,CAAA;IAC7B,iCAAiB,CAAA;IACjB,uCAAuB,CAAA;IACvB,6BAAa,CAAA;IACb,mCAAmB,CAAA;IACnB,+BAAe,CAAA;IACf,qCAAqB,CAAA;IACrB,iCAAiB,CAAA;IACjB,6CAA6B,CAAA;IAC7B,iCAAiB,CAAA;IACjB,2CAA2B,CAAA;IAC3B,mCAAmB,CAAA;IACnB,yCAAyB,CAAA;IACzB,mCAAmB,CAAA;IACnB,2CAA2B,CAAA;IAC3B,iCAAiB,CAAA;IACjB,iCAAiB,CAAA;IACjB,6BAAa,CAAA;AACjB,CAAC,EAhCW,YAAY,aAAZ,YAAY,GAAZ,YAAY,QAgCvB"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export declare enum SenseRegisterEnum {
|
|
2
|
+
Familiar = "Familiar",
|
|
3
|
+
Colloquial = "Colloquial",
|
|
4
|
+
Informal = "Informal",
|
|
5
|
+
Slang = "Slang",
|
|
6
|
+
Vulgar = "Vulgar",
|
|
7
|
+
Offensive = "Offensive",
|
|
8
|
+
Pejorative = "Pejorative",
|
|
9
|
+
Literary = "Literary",
|
|
10
|
+
Poetic = "Poetic",
|
|
11
|
+
Formal = "Formal",
|
|
12
|
+
Polite = "Polite",
|
|
13
|
+
Dated = "Dated",
|
|
14
|
+
Obsolete = "Obsolete",
|
|
15
|
+
Archaic = "Archaic",
|
|
16
|
+
Rare = "Rare",
|
|
17
|
+
Common = "Common",
|
|
18
|
+
Neologism = "Neologism",
|
|
19
|
+
Ironic = "Ironic",
|
|
20
|
+
Humorous = "Humorous",
|
|
21
|
+
Euphemism = "Euphemism",
|
|
22
|
+
Childish = "Childish",
|
|
23
|
+
Figurative = "Figurative",
|
|
24
|
+
Hyperbole = "Hyperbole",
|
|
25
|
+
Metonymy = "Metonymy",
|
|
26
|
+
Extension = "Extension",
|
|
27
|
+
Analogy = "Analogy",
|
|
28
|
+
Broadly = "Broadly",
|
|
29
|
+
Anglicism = "Anglicism",
|
|
30
|
+
Idiomatic = "Idiomatic",
|
|
31
|
+
Rhetoric = "Rhetoric",
|
|
32
|
+
Litotes = "Litotes",
|
|
33
|
+
Proverbial = "Proverbial",
|
|
34
|
+
Verlan = "Verlan",
|
|
35
|
+
Louchebem = "Louchebem",
|
|
36
|
+
Proscribed = "Proscribed",
|
|
37
|
+
Especially = "Especially",
|
|
38
|
+
Literally = "Literally",
|
|
39
|
+
Specifically = "Specifically",
|
|
40
|
+
Generically = "Generically",
|
|
41
|
+
Collectively = "Collectively",
|
|
42
|
+
Physical = "Physical",
|
|
43
|
+
Ellipsis = "Ellipsis",
|
|
44
|
+
Toponymic = "Toponymic",
|
|
45
|
+
Ancient = "Ancient",
|
|
46
|
+
AncientGreek = "AncientGreek",
|
|
47
|
+
AncientRome = "AncientRome",
|
|
48
|
+
MiddleAges = "MiddleAges",
|
|
49
|
+
Biblical = "Biblical"
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=SenseRegisterEnum.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SenseRegisterEnum.d.ts","sourceRoot":"","sources":["../../src/type/SenseRegisterEnum.ts"],"names":[],"mappings":"AAaA,oBAAY,iBAAiB;IAEzB,QAAQ,aAAa;IACrB,UAAU,eAAe;IACzB,QAAQ,aAAa;IACrB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,SAAS,cAAc;IACvB,UAAU,eAAe;IACzB,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,SAAS,cAAc;IACvB,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,UAAU,eAAe;IACzB,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,UAAU,eAAe;IACzB,MAAM,WAAW;IACjB,SAAS,cAAc;IACvB,UAAU,eAAe;IACzB,UAAU,eAAe;IACzB,SAAS,cAAc;IACvB,YAAY,iBAAiB;IAC7B,WAAW,gBAAgB;IAC3B,YAAY,iBAAiB;IAC7B,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,YAAY,iBAAiB;IAC7B,WAAW,gBAAgB;IAC3B,UAAU,eAAe;IACzB,QAAQ,aAAa;CACxB"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SenseRegisterEnum = void 0;
|
|
4
|
+
// Mirrors the members of the `register` string array of lexema.sense in Bolbol
|
|
5
|
+
// API src/database/postgres/attribute/lexema/SenseAttributes.ts - an
|
|
6
|
+
// ARRAY(STRING(32)) that stores these member names as plain strings, like
|
|
7
|
+
// ExamSkillTaskAttributes.item_types, so no database enum is declared from this
|
|
8
|
+
// one; the SDK is the source of the list all the same.
|
|
9
|
+
//
|
|
10
|
+
// The register, figure and period labels a picker prints beside a definition
|
|
11
|
+
// ("(familier) (figuré)"). The seeder maps the source's sense tags onto these
|
|
12
|
+
// 48 members, and a tag none of them knows goes to the sense's `tags`, never
|
|
13
|
+
// here (L21). The semantic-shift labels (Figurative, Metonymy, Extension,
|
|
14
|
+
// Analogy, Ellipsis) are on the list on purpose: a learner reads them beside a
|
|
15
|
+
// definition exactly like a register mark. Common is the label "courant" - in
|
|
16
|
+
// common use -, not a gender (L24). Value === key, like every enum.
|
|
17
|
+
var SenseRegisterEnum;
|
|
18
|
+
(function (SenseRegisterEnum) {
|
|
19
|
+
SenseRegisterEnum["Familiar"] = "Familiar";
|
|
20
|
+
SenseRegisterEnum["Colloquial"] = "Colloquial";
|
|
21
|
+
SenseRegisterEnum["Informal"] = "Informal";
|
|
22
|
+
SenseRegisterEnum["Slang"] = "Slang";
|
|
23
|
+
SenseRegisterEnum["Vulgar"] = "Vulgar";
|
|
24
|
+
SenseRegisterEnum["Offensive"] = "Offensive";
|
|
25
|
+
SenseRegisterEnum["Pejorative"] = "Pejorative";
|
|
26
|
+
SenseRegisterEnum["Literary"] = "Literary";
|
|
27
|
+
SenseRegisterEnum["Poetic"] = "Poetic";
|
|
28
|
+
SenseRegisterEnum["Formal"] = "Formal";
|
|
29
|
+
SenseRegisterEnum["Polite"] = "Polite";
|
|
30
|
+
SenseRegisterEnum["Dated"] = "Dated";
|
|
31
|
+
SenseRegisterEnum["Obsolete"] = "Obsolete";
|
|
32
|
+
SenseRegisterEnum["Archaic"] = "Archaic";
|
|
33
|
+
SenseRegisterEnum["Rare"] = "Rare";
|
|
34
|
+
SenseRegisterEnum["Common"] = "Common";
|
|
35
|
+
SenseRegisterEnum["Neologism"] = "Neologism";
|
|
36
|
+
SenseRegisterEnum["Ironic"] = "Ironic";
|
|
37
|
+
SenseRegisterEnum["Humorous"] = "Humorous";
|
|
38
|
+
SenseRegisterEnum["Euphemism"] = "Euphemism";
|
|
39
|
+
SenseRegisterEnum["Childish"] = "Childish";
|
|
40
|
+
SenseRegisterEnum["Figurative"] = "Figurative";
|
|
41
|
+
SenseRegisterEnum["Hyperbole"] = "Hyperbole";
|
|
42
|
+
SenseRegisterEnum["Metonymy"] = "Metonymy";
|
|
43
|
+
SenseRegisterEnum["Extension"] = "Extension";
|
|
44
|
+
SenseRegisterEnum["Analogy"] = "Analogy";
|
|
45
|
+
SenseRegisterEnum["Broadly"] = "Broadly";
|
|
46
|
+
SenseRegisterEnum["Anglicism"] = "Anglicism";
|
|
47
|
+
SenseRegisterEnum["Idiomatic"] = "Idiomatic";
|
|
48
|
+
SenseRegisterEnum["Rhetoric"] = "Rhetoric";
|
|
49
|
+
SenseRegisterEnum["Litotes"] = "Litotes";
|
|
50
|
+
SenseRegisterEnum["Proverbial"] = "Proverbial";
|
|
51
|
+
SenseRegisterEnum["Verlan"] = "Verlan";
|
|
52
|
+
SenseRegisterEnum["Louchebem"] = "Louchebem";
|
|
53
|
+
SenseRegisterEnum["Proscribed"] = "Proscribed";
|
|
54
|
+
SenseRegisterEnum["Especially"] = "Especially";
|
|
55
|
+
SenseRegisterEnum["Literally"] = "Literally";
|
|
56
|
+
SenseRegisterEnum["Specifically"] = "Specifically";
|
|
57
|
+
SenseRegisterEnum["Generically"] = "Generically";
|
|
58
|
+
SenseRegisterEnum["Collectively"] = "Collectively";
|
|
59
|
+
SenseRegisterEnum["Physical"] = "Physical";
|
|
60
|
+
SenseRegisterEnum["Ellipsis"] = "Ellipsis";
|
|
61
|
+
SenseRegisterEnum["Toponymic"] = "Toponymic";
|
|
62
|
+
SenseRegisterEnum["Ancient"] = "Ancient";
|
|
63
|
+
SenseRegisterEnum["AncientGreek"] = "AncientGreek";
|
|
64
|
+
SenseRegisterEnum["AncientRome"] = "AncientRome";
|
|
65
|
+
SenseRegisterEnum["MiddleAges"] = "MiddleAges";
|
|
66
|
+
SenseRegisterEnum["Biblical"] = "Biblical";
|
|
67
|
+
})(SenseRegisterEnum || (exports.SenseRegisterEnum = SenseRegisterEnum = {}));
|
|
68
|
+
//# sourceMappingURL=SenseRegisterEnum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SenseRegisterEnum.js","sourceRoot":"","sources":["../../src/type/SenseRegisterEnum.ts"],"names":[],"mappings":";;;AAAA,+EAA+E;AAC/E,qEAAqE;AACrE,0EAA0E;AAC1E,gFAAgF;AAChF,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,8EAA8E;AAC9E,6EAA6E;AAC7E,0EAA0E;AAC1E,+EAA+E;AAC/E,8EAA8E;AAC9E,oEAAoE;AACpE,IAAY,iBAkDX;AAlDD,WAAY,iBAAiB;IAEzB,0CAAqB,CAAA;IACrB,8CAAyB,CAAA;IACzB,0CAAqB,CAAA;IACrB,oCAAe,CAAA;IACf,sCAAiB,CAAA;IACjB,4CAAuB,CAAA;IACvB,8CAAyB,CAAA;IACzB,0CAAqB,CAAA;IACrB,sCAAiB,CAAA;IACjB,sCAAiB,CAAA;IACjB,sCAAiB,CAAA;IACjB,oCAAe,CAAA;IACf,0CAAqB,CAAA;IACrB,wCAAmB,CAAA;IACnB,kCAAa,CAAA;IACb,sCAAiB,CAAA;IACjB,4CAAuB,CAAA;IACvB,sCAAiB,CAAA;IACjB,0CAAqB,CAAA;IACrB,4CAAuB,CAAA;IACvB,0CAAqB,CAAA;IACrB,8CAAyB,CAAA;IACzB,4CAAuB,CAAA;IACvB,0CAAqB,CAAA;IACrB,4CAAuB,CAAA;IACvB,wCAAmB,CAAA;IACnB,wCAAmB,CAAA;IACnB,4CAAuB,CAAA;IACvB,4CAAuB,CAAA;IACvB,0CAAqB,CAAA;IACrB,wCAAmB,CAAA;IACnB,8CAAyB,CAAA;IACzB,sCAAiB,CAAA;IACjB,4CAAuB,CAAA;IACvB,8CAAyB,CAAA;IACzB,8CAAyB,CAAA;IACzB,4CAAuB,CAAA;IACvB,kDAA6B,CAAA;IAC7B,gDAA2B,CAAA;IAC3B,kDAA6B,CAAA;IAC7B,0CAAqB,CAAA;IACrB,0CAAqB,CAAA;IACrB,4CAAuB,CAAA;IACvB,wCAAmB,CAAA;IACnB,kDAA6B,CAAA;IAC7B,gDAA2B,CAAA;IAC3B,8CAAyB,CAAA;IACzB,0CAAqB,CAAA;AACzB,CAAC,EAlDW,iBAAiB,aAAjB,iBAAiB,GAAjB,iBAAiB,QAkD5B"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { LexemaDifficultyEnum } from "./LexemaDifficultyEnum";
|
|
2
|
+
import { SenseCountabilityEnum } from "./SenseCountabilityEnum";
|
|
2
3
|
import { SenseGenderEnum } from "./SenseGenderEnum";
|
|
3
|
-
import {
|
|
4
|
+
import { SenseRegisterEnum } from "./SenseRegisterEnum";
|
|
5
|
+
import { SenseTransitivityEnum } from "./SenseTransitivityEnum";
|
|
4
6
|
import { TranslationType } from "./TranslationType";
|
|
5
7
|
export interface SenseRowType {
|
|
6
8
|
id: number;
|
|
@@ -8,10 +10,15 @@ export interface SenseRowType {
|
|
|
8
10
|
sort_order: number;
|
|
9
11
|
text: string;
|
|
10
12
|
text_translations: TranslationType;
|
|
11
|
-
pos: SensePOSEnum;
|
|
12
13
|
gender: SenseGenderEnum | null;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
difficulty: LexemaDifficultyEnum | null;
|
|
15
|
+
register: SenseRegisterEnum[];
|
|
16
|
+
region: string[];
|
|
17
|
+
domain: string[];
|
|
18
|
+
transitivity: SenseTransitivityEnum | null;
|
|
19
|
+
countability: SenseCountabilityEnum | null;
|
|
20
|
+
note: string | null;
|
|
21
|
+
note_translations: TranslationType;
|
|
22
|
+
example_count: number;
|
|
16
23
|
}
|
|
17
24
|
//# sourceMappingURL=SenseRowType.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SenseRowType.d.ts","sourceRoot":"","sources":["../../src/type/SenseRowType.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SenseRowType.d.ts","sourceRoot":"","sources":["../../src/type/SenseRowType.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,WAAW,YAAY;IAEzB,EAAE,EAAE,MAAM,CAAC;IAEX,SAAS,EAAE,MAAM,CAAC;IAGlB,UAAU,EAAE,MAAM,CAAC;IAGnB,IAAI,EAAE,MAAM,CAAC;IAIb,iBAAiB,EAAE,eAAe,CAAC;IAGnC,MAAM,EAAE,eAAe,GAAG,IAAI,CAAC;IAE/B,UAAU,EAAE,oBAAoB,GAAG,IAAI,CAAC;IAGxC,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAK9B,MAAM,EAAE,MAAM,EAAE,CAAC;IAGjB,MAAM,EAAE,MAAM,EAAE,CAAC;IAGjB,YAAY,EAAE,qBAAqB,GAAG,IAAI,CAAC;IAC3C,YAAY,EAAE,qBAAqB,GAAG,IAAI,CAAC;IAG3C,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,iBAAiB,EAAE,eAAe,CAAC;IAEnC,aAAa,EAAE,MAAM,CAAC;CACzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SenseTransitivityEnum.d.ts","sourceRoot":"","sources":["../../src/type/SenseTransitivityEnum.ts"],"names":[],"mappings":"AASA,oBAAY,qBAAqB;IAE7B,UAAU,eAAe;IACzB,YAAY,iBAAiB;IAC7B,YAAY,iBAAiB;IAC7B,cAAc,mBAAmB;CACpC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SenseTransitivityEnum = void 0;
|
|
4
|
+
// Mirrors the `transitivity` column of lexema.sense in Bolbol API
|
|
5
|
+
// src/database/postgres/attribute/lexema/SenseAttributes.ts, which declares its
|
|
6
|
+
// database enum from this one (the SDK is the source). Its member names are
|
|
7
|
+
// also the values of the `transitivity` key of lexema.grammar
|
|
8
|
+
// (LexemaGrammarType): the entry's own, which a sense that states none takes.
|
|
9
|
+
//
|
|
10
|
+
// Ambitransitive is a verb used both ways (tagged transitive and intransitive).
|
|
11
|
+
// Ditransitive is reserved: no tag of the source yields it yet. Value === key,
|
|
12
|
+
// like every enum.
|
|
13
|
+
var SenseTransitivityEnum;
|
|
14
|
+
(function (SenseTransitivityEnum) {
|
|
15
|
+
SenseTransitivityEnum["Transitive"] = "Transitive";
|
|
16
|
+
SenseTransitivityEnum["Intransitive"] = "Intransitive";
|
|
17
|
+
SenseTransitivityEnum["Ditransitive"] = "Ditransitive";
|
|
18
|
+
SenseTransitivityEnum["Ambitransitive"] = "Ambitransitive";
|
|
19
|
+
})(SenseTransitivityEnum || (exports.SenseTransitivityEnum = SenseTransitivityEnum = {}));
|
|
20
|
+
//# sourceMappingURL=SenseTransitivityEnum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SenseTransitivityEnum.js","sourceRoot":"","sources":["../../src/type/SenseTransitivityEnum.ts"],"names":[],"mappings":";;;AAAA,kEAAkE;AAClE,gFAAgF;AAChF,4EAA4E;AAC5E,8DAA8D;AAC9D,8EAA8E;AAC9E,EAAE;AACF,gFAAgF;AAChF,+EAA+E;AAC/E,mBAAmB;AACnB,IAAY,qBAMX;AAND,WAAY,qBAAqB;IAE7B,kDAAyB,CAAA;IACzB,sDAA6B,CAAA;IAC7B,sDAA6B,CAAA;IAC7B,0DAAiC,CAAA;AACrC,CAAC,EANW,qBAAqB,aAArB,qBAAqB,GAArB,qBAAqB,QAMhC"}
|
|
@@ -5,8 +5,8 @@ export interface VocabularyRowType {
|
|
|
5
5
|
sort_order: number;
|
|
6
6
|
lexema_name: string;
|
|
7
7
|
lexema_phonetics: string | null;
|
|
8
|
+
lexema_pos: string;
|
|
8
9
|
sense_text: string | null;
|
|
9
10
|
sense_text_translations: TranslationType;
|
|
10
|
-
sense_pos: string | null;
|
|
11
11
|
}
|
|
12
12
|
//# sourceMappingURL=VocabularyRowType.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VocabularyRowType.d.ts","sourceRoot":"","sources":["../../src/type/VocabularyRowType.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,WAAW,iBAAiB;IAE9B,SAAS,EAAE,MAAM,CAAC;IAGlB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAExB,UAAU,EAAE,MAAM,CAAC;IAEnB,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"VocabularyRowType.d.ts","sourceRoot":"","sources":["../../src/type/VocabularyRowType.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,WAAW,iBAAiB;IAE9B,SAAS,EAAE,MAAM,CAAC;IAGlB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAExB,UAAU,EAAE,MAAM,CAAC;IAEnB,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAMhC,UAAU,EAAE,MAAM,CAAC;IAGnB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,uBAAuB,EAAE,eAAe,CAAC;CAC5C"}
|
package/package.json
CHANGED