@constl/interface 1.0.0 → 1.0.2

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.
Files changed (102) hide show
  1. package/dist/acc/303/250s.d.ts +13 -0
  2. package/dist/acc/303/250s.d.ts.map +1 -0
  3. package/dist/acc/303/250s.js +4 -0
  4. package/dist/acc/303/250s.js.map +1 -0
  5. package/dist/automatisations.d.ts +257 -0
  6. package/dist/automatisations.d.ts.map +1 -0
  7. package/dist/automatisations.js +2 -0
  8. package/dist/automatisations.js.map +1 -0
  9. package/dist/bds.d.ts +62 -0
  10. package/dist/bds.d.ts.map +1 -0
  11. package/dist/bds.js +2 -0
  12. package/dist/bds.js.map +1 -0
  13. package/dist/favoris.d.ts +44 -0
  14. package/dist/favoris.d.ts.map +1 -0
  15. package/dist/favoris.js +5 -0
  16. package/dist/favoris.js.map +1 -0
  17. package/dist/importateur.d.ts +12 -0
  18. package/dist/importateur.d.ts.map +1 -0
  19. package/dist/importateur.js +2 -0
  20. package/dist/importateur.js.map +1 -0
  21. package/dist/index.d.ts +3 -0
  22. package/dist/index.d.ts.map +1 -0
  23. package/dist/index.js +3 -0
  24. package/dist/index.js.map +1 -0
  25. package/dist/libp2p.d.ts +15 -0
  26. package/dist/libp2p.d.ts.map +1 -0
  27. package/dist/libp2p.js +2 -0
  28. package/dist/libp2p.js.map +1 -0
  29. package/dist/licences.d.ts +39 -0
  30. package/dist/licences.d.ts.map +1 -0
  31. package/dist/licences.js +30 -0
  32. package/dist/licences.js.map +1 -0
  33. package/dist/mots-clefs.d.ts +7 -0
  34. package/dist/mots-clefs.d.ts.map +1 -0
  35. package/dist/mots-clefs.js +2 -0
  36. package/dist/mots-clefs.js.map +1 -0
  37. package/dist/nu/303/251es.d.ts +55 -0
  38. package/dist/nu/303/251es.d.ts.map +1 -0
  39. package/dist/nu/303/251es.js +2 -0
  40. package/dist/nu/303/251es.js.map +1 -0
  41. package/dist/objets.d.ts +18 -0
  42. package/dist/objets.d.ts.map +1 -0
  43. package/dist/objets.js +2 -0
  44. package/dist/objets.js.map +1 -0
  45. package/dist/profil.d.ts +9 -0
  46. package/dist/profil.d.ts.map +1 -0
  47. package/dist/profil.js +2 -0
  48. package/dist/profil.js.map +1 -0
  49. package/dist/projets.d.ts +27 -0
  50. package/dist/projets.d.ts.map +1 -0
  51. package/dist/projets.js +2 -0
  52. package/dist/projets.js.map +1 -0
  53. package/dist/recherche.d.ts +34 -0
  54. package/dist/recherche.d.ts.map +1 -0
  55. package/dist/recherche.js +2 -0
  56. package/dist/recherche.js.map +1 -0
  57. package/dist/r/303/250gles.d.ts +101 -0
  58. package/dist/r/303/250gles.d.ts.map +1 -0
  59. package/dist/r/303/250gles.js +2 -0
  60. package/dist/r/303/250gles.js.map +1 -0
  61. package/dist/tableaux.d.ts +112 -0
  62. package/dist/tableaux.d.ts.map +1 -0
  63. package/dist/tableaux.js +2 -0
  64. package/dist/tableaux.js.map +1 -0
  65. package/dist/utils.d.ts +30 -0
  66. package/dist/utils.d.ts.map +1 -0
  67. package/dist/utils.js +2 -0
  68. package/dist/utils.js.map +1 -0
  69. package/dist/variables.d.ts +15 -0
  70. package/dist/variables.d.ts.map +1 -0
  71. package/dist/variables.js +2 -0
  72. package/dist/variables.js.map +1 -0
  73. package/dist/version.d.ts +2 -0
  74. package/dist/version.d.ts.map +1 -0
  75. package/dist/version.js +3 -0
  76. package/dist/version.js.map +1 -0
  77. package/package.json +37 -12
  78. package/pnpm-workspace.yaml +4 -0
  79. package/src/@types/shims-orbit-db-core.d.ts +1 -0
  80. package/src/acc/303/250s.ts +16 -0
  81. package/src/automatisations.ts +353 -0
  82. package/src/bds.ts +88 -0
  83. package/src/favoris.ts +87 -0
  84. package/src/importateur.ts +10 -0
  85. package/src/index.ts +3 -3
  86. package/src/libp2p.ts +16 -0
  87. package/src/licences.ts +44 -0
  88. package/src/mots-clefs.ts +10 -0
  89. package/src/nu/303/251es.ts +81 -0
  90. package/src/objets.ts +21 -0
  91. package/src/profil.ts +11 -0
  92. package/src/projets.ts +30 -0
  93. package/src/recherche.ts +5 -2
  94. package/src/r/303/250gles.ts +145 -0
  95. package/src/tableaux.ts +175 -0
  96. package/src/utils.ts +31 -0
  97. package/src/variables.ts +33 -0
  98. package/src/version.ts +1 -1
  99. package/tsconfig.json +4 -35
  100. package/tsconfig.tsbuildinfo +1 -1
  101. package/.eslintignore +0 -3
  102. package/src/fonctions.ts +0 -12
@@ -0,0 +1,81 @@
1
+ import type { ÉpingleBd } from "./bds.ts";
2
+ import type { BaseÉpingleFavoris } from "./favoris.ts";
3
+ import type {
4
+ DifférenceTableaux,
5
+ DonnéesRangéeTableauAvecId,
6
+ } from "./tableaux.ts";
7
+
8
+ // Types épingles
9
+ export type ÉpingleNuée = {
10
+ type: "nuées";
11
+ épingle: ContenuÉpingleNuée;
12
+ };
13
+
14
+ export type ContenuÉpingleNuée = BaseÉpingleFavoris & {
15
+ bds: ÉpingleBd["épingle"];
16
+ };
17
+
18
+ // Types filtres
19
+
20
+ export type Héritage = { descendance?: boolean; ascendance?: boolean };
21
+
22
+ export type FiltresBds = {
23
+ licences?: string[];
24
+ ignorerAutorisation?: boolean | "les miennes";
25
+ };
26
+
27
+ // Types tableaux
28
+
29
+ export type InfoTableauNuée = {
30
+ id: string;
31
+ source: string;
32
+ };
33
+
34
+ export type ValeurAscendance<T> = {
35
+ val: T;
36
+ source: string;
37
+ };
38
+
39
+ // Types autorisation
40
+
41
+ export type AutorisationNuée =
42
+ AutorisationNuéeOuverte | AutorisationNuéeParInvitation;
43
+
44
+ export type AutorisationNuéeOuverte = {
45
+ type: "ouverte";
46
+ bloqués: string[];
47
+ };
48
+
49
+ export type AutorisationNuéeParInvitation = {
50
+ type: "par invitation";
51
+ invités: string[];
52
+ };
53
+
54
+ // Types score
55
+
56
+ export type ScoreNuée = {
57
+ accès?: number;
58
+ infos?: number;
59
+ couverture?: number;
60
+ total: number;
61
+ };
62
+
63
+ // Types filtres
64
+
65
+ export type FiltresDonnées = {
66
+ exclureAvecDifférencesTableaux?: DifférenceTableaux["type"][];
67
+ exclureAvecErreursDonnées?: boolean;
68
+ };
69
+
70
+ // Types données et exportation
71
+
72
+ export type DonnéesRangéeNuée = {
73
+ idBd: string;
74
+ données: DonnéesRangéeTableauAvecId;
75
+ };
76
+
77
+ export type DonnéesTableauNuéeExportées = {
78
+ nomTableau: string;
79
+ données: DonnéesRangéeNuée[];
80
+ documentsMédias: Set<string>;
81
+ };
package/src/objets.ts ADDED
@@ -0,0 +1,21 @@
1
+ import type { DagCborEncodable } from "@orbitdb/core";
2
+ import type { Rôle } from "./accès.ts";
3
+
4
+ export type TYPES_STATUT = "interne" | "jouet" | "active" | "obsolète";
5
+
6
+ export type StatutDonnées =
7
+ | {
8
+ statut: Exclude<TYPES_STATUT, "obsolète">;
9
+ }
10
+ | {
11
+ statut: "obsolète";
12
+ idNouvelle?: string;
13
+ };
14
+
15
+ export type Métadonnées = { [clef: string]: DagCborEncodable };
16
+
17
+ export type InfoAuteur = {
18
+ idCompte: string;
19
+ accepté: boolean;
20
+ rôle: Rôle;
21
+ };
package/src/profil.ts ADDED
@@ -0,0 +1,11 @@
1
+ import type { BaseÉpingleFavoris, DispositifsÉpingle } from "./favoris.ts";
2
+
3
+ // Types épingle
4
+ export type ÉpingleProfil = {
5
+ type: "profil";
6
+ épingle: ContenuÉpingleProfil;
7
+ };
8
+
9
+ export type ContenuÉpingleProfil = BaseÉpingleFavoris & {
10
+ favoris: DispositifsÉpingle;
11
+ };
package/src/projets.ts ADDED
@@ -0,0 +1,30 @@
1
+ import type { WorkBook } from "@e965/xlsx";
2
+ import type { ÉpingleBd, DonnéesBdExportées } from "./bds.ts";
3
+ import type { BaseÉpingleFavoris } from "./favoris.ts";
4
+
5
+ // Types mots-clefs
6
+ export type MotClefProjet = { idMotClef: string; source: "projet" | "bds" };
7
+
8
+ // Types épingles
9
+
10
+ export type ÉpingleProjet = {
11
+ type: "projets";
12
+ épingle: ContenuÉpingleProjet;
13
+ };
14
+
15
+ export type ContenuÉpingleProjet = BaseÉpingleFavoris & {
16
+ bds: ÉpingleBd["épingle"];
17
+ };
18
+
19
+ // Types données
20
+
21
+ export type DonnéesProjetExportées = {
22
+ nomProjet: string;
23
+ bds: DonnéesBdExportées[];
24
+ };
25
+
26
+ export type DonnéesFichierProjetExportées = {
27
+ docus: { docu: WorkBook; nom: string }[];
28
+ documentsMédias: Set<string>;
29
+ nomFichier: string;
30
+ };
package/src/recherche.ts CHANGED
@@ -1,5 +1,4 @@
1
-
2
- import type { Oublier, Suivi } from "./fonctions.js";
1
+ import type { Oublier, Suivi } from "./utils.ts";
3
2
 
4
3
  export interface InfoRésultatTexte {
5
4
  type: "texte";
@@ -42,3 +41,7 @@ export type SuivreQualitéRecherche = (args: {
42
41
  idObjet: string;
43
42
  f: Suivi<number>;
44
43
  }) => Promise<Oublier>;
44
+
45
+ export type SuiviRecherche<T extends InfoRésultat> = (
46
+ résultat?: RésultatObjectifRecherche<T>,
47
+ ) => Promise<void> | void;
@@ -0,0 +1,145 @@
1
+ import type { CatégorieVariable } from "./variables.ts";
2
+
3
+ export type SourceRègle =
4
+ | { type: "variable"; id: string }
5
+ | { type: "tableau"; idStructure: string; idTableau: string };
6
+
7
+ export type RègleVariableAvecId<T extends RègleVariable = RègleVariable> = {
8
+ id: string;
9
+ règle: T;
10
+ };
11
+
12
+ export type RègleVariable =
13
+ | RègleIndexUnique
14
+ | RègleExiste
15
+ | RègleBornes
16
+ | RègleValeurCatégorique
17
+ | RègleCatégorie;
18
+
19
+ export type SpécificationRègleColonne<T extends RègleVariable = RègleVariable> =
20
+ {
21
+ règle: T;
22
+ colonne: string;
23
+ };
24
+
25
+ export type RègleColonne<T extends RègleVariable = RègleVariable> = {
26
+ règle: RègleVariableAvecId<T>;
27
+ source: SourceRègle;
28
+ colonne: string;
29
+ };
30
+
31
+ export type Op = ">" | "<" | ">=" | "<=" | "≥" | "≤";
32
+
33
+ export type RègleIndexUnique = {
34
+ type: "indexUnique";
35
+ };
36
+
37
+ export type RègleExiste = {
38
+ type: "existe";
39
+ détails: DétailsRègleExiste;
40
+ };
41
+
42
+ export type DétailsRègleExiste = Record<string, never>;
43
+
44
+ export type RègleBornes<T extends DétailsRègleBornes = DétailsRègleBornes> = {
45
+ type: "bornes";
46
+ détails: T;
47
+ };
48
+
49
+ // Peut être numérique ou bien l'id d'une autre variable ou l'id d'une colonne sur la même BD ou Nuée
50
+ export type DétailsRègleBornes =
51
+ | DétailsRègleBornesFixe
52
+ | DétailsRègleBornesDynamiqueColonne
53
+ | DétailsRègleBornesDynamiqueVariable;
54
+
55
+ export type DétailsRègleBornesFixe = {
56
+ type: "fixe";
57
+ val: number;
58
+ op: Op;
59
+ };
60
+
61
+ export type DétailsRègleBornesDynamiqueColonne = {
62
+ type: "dynamiqueColonne";
63
+ val: string;
64
+ op: Op;
65
+ };
66
+
67
+ export type DétailsRègleBornesDynamiqueVariable = {
68
+ type: "dynamiqueVariable";
69
+ val: string;
70
+ op: Op;
71
+ };
72
+
73
+ export type RègleValeurCatégorique<
74
+ T extends DétailsRègleValeurCatégorique = DétailsRègleValeurCatégorique,
75
+ > = {
76
+ type: "valeurCatégorique";
77
+ détails: T;
78
+ };
79
+
80
+ export type DétailsRègleValeurCatégorique =
81
+ DétailsRègleValeurCatégoriqueFixe | DétailsRègleValeurCatégoriqueDynamique;
82
+
83
+ export type DétailsRègleValeurCatégoriqueFixe = {
84
+ type: "fixe";
85
+ options: (string | number | boolean)[];
86
+ };
87
+
88
+ export type DétailsRègleValeurCatégoriqueDynamique = {
89
+ type: "dynamique";
90
+ structure: string;
91
+ tableau: string;
92
+ colonne: string;
93
+ };
94
+
95
+ export type RègleCatégorie = {
96
+ type: "catégorie";
97
+ détails: DétailsRègleCatégorie;
98
+ };
99
+
100
+ export type DétailsRègleCatégorie = {
101
+ catégorie: CatégorieVariable;
102
+ };
103
+
104
+ // Erreurs
105
+
106
+ export type ErreurColonne = ErreurColonneVariableDédoublée;
107
+ export type ErreurColonneVariableDédoublée = {
108
+ type: "variableDédoublée";
109
+ colonnes: string[];
110
+ };
111
+
112
+ export type ErreurDonnée<T extends RègleVariable = RègleVariable> = {
113
+ id: string;
114
+ erreur: RègleColonne<T>;
115
+ };
116
+
117
+ export type ErreurRègle =
118
+ | ErreurRègleCatégoriqueTableauInexistant
119
+ | ErreurRègleCatégoriqueColonneInexistante
120
+ | ErreurRègleBornesColonneInexistante
121
+ | ErreurRègleBornesVariableNonPrésente;
122
+
123
+ export type ErreurRègleCatégoriqueTableauInexistant = {
124
+ règle: RègleColonne<
125
+ RègleValeurCatégorique<DétailsRègleValeurCatégoriqueDynamique>
126
+ >;
127
+ type: "tableauCatégInexistant";
128
+ };
129
+
130
+ export type ErreurRègleCatégoriqueColonneInexistante = {
131
+ règle: RègleColonne<
132
+ RègleValeurCatégorique<DétailsRègleValeurCatégoriqueDynamique>
133
+ >;
134
+ type: "colonneCatégInexistante";
135
+ };
136
+
137
+ export type ErreurRègleBornesColonneInexistante = {
138
+ règle: RègleColonne<RègleBornes<DétailsRègleBornesDynamiqueColonne>>;
139
+ type: "colonneBornesInexistante";
140
+ };
141
+
142
+ export type ErreurRègleBornesVariableNonPrésente = {
143
+ règle: RègleColonne<RègleBornes<DétailsRègleBornesDynamiqueVariable>>;
144
+ type: "variableBornesNonPrésente";
145
+ };
@@ -0,0 +1,175 @@
1
+ import type { DagCborEncodable } from "@orbitdb/core";
2
+ import type { CatégorieVariable } from "./variables.ts";
3
+
4
+ // Types éléments
5
+ export type DonnéesRangéeTableau = {
6
+ [key: string]: DagCborEncodable;
7
+ };
8
+
9
+ export interface DonnéesRangéeTableauAvecId<
10
+ T extends DonnéesRangéeTableau = DonnéesRangéeTableau,
11
+ > {
12
+ données: T;
13
+ id: string;
14
+ }
15
+
16
+ // Types scores
17
+
18
+ export type ScoreCouvertureTableau = {
19
+ numérateur: number;
20
+ dénominateur: number;
21
+ };
22
+
23
+ // Types colonnes
24
+
25
+ export type InfoColonne = {
26
+ id: string;
27
+ variable?: string;
28
+ index?: boolean;
29
+ };
30
+
31
+ export type InfoColonneAvecCatégorie = InfoColonne & {
32
+ catégorie?: CatégorieVariable;
33
+ };
34
+
35
+ // Types comparaisons tableaux
36
+
37
+ export type DifférenceTableaux =
38
+ | DifférenceVariableColonne
39
+ | DifférenceIndexColonne
40
+ | DifférenceColonneManquante
41
+ | DifférenceColonneSupplémentaire;
42
+
43
+ export type DifférenceVariableColonne = {
44
+ type: "variableColonne";
45
+ sévère: true;
46
+ idColonne: string;
47
+ varColTableau?: string;
48
+ varColTableauRéf?: string;
49
+ };
50
+ export type DifférenceIndexColonne = {
51
+ type: "indexColonne";
52
+ sévère: true;
53
+ idColonne: string;
54
+ colTableauIndexée: boolean;
55
+ };
56
+ export type DifférenceColonneManquante = {
57
+ type: "colonneManquante";
58
+ sévère: true;
59
+ idColonneManquante: string;
60
+ };
61
+ export type DifférenceColonneSupplémentaire = {
62
+ type: "colonneSupplémentaire";
63
+ sévère: false;
64
+ idColonneSupplémentaire: string;
65
+ };
66
+
67
+ // Types données tableaux
68
+
69
+ export type ÉlémentDonnéesTableau = { [clef: string]: DagCborEncodable };
70
+
71
+ export type DonnéesTableauExportées = {
72
+ nomTableau: string;
73
+ données: DonnéesRangéeTableau[];
74
+ documentsMédias: Set<string>;
75
+ };
76
+
77
+ // Types conversions
78
+
79
+ export type DonnéeImportation =
80
+ | string
81
+ | number
82
+ | null
83
+ | boolean
84
+ | DonnéeImportation[]
85
+ | { [key: string]: DonnéeImportation }
86
+ | Date
87
+ | Uint8Array
88
+ | undefined;
89
+
90
+ export type DonnéesRangéeTableauÀImporter = {
91
+ [clef: string]: DonnéeImportation;
92
+ };
93
+
94
+ export type ConversionColonne<T extends ConversionDonnées = ConversionDonnées> =
95
+ {
96
+ colonne: string;
97
+ typeCatégorie?: "simple" | "liste";
98
+ conversion: T;
99
+ };
100
+
101
+ export type ConversionDonnées =
102
+ | ConversionDonnéesNumérique
103
+ | ConversionDonnéesChaîne
104
+ | ConversionDonnéesFichier
105
+ | ConversionDonnéesAudio
106
+ | ConversionDonnéesVidéo
107
+ | ConversionDonnéesImage
108
+ | ConversionDonnéesBooléen
109
+ | ConversionDonnéesChaîneNonTraductible
110
+ | ConversionDonnéesHoroDatage
111
+ | ConversionDonnéesIntervaleTemps
112
+ | ConversionDonnéesGéojson;
113
+
114
+ export type ConversionDonnéesNumérique = {
115
+ type: "numérique";
116
+ opération?: OpérationConversionNumérique | OpérationConversionNumérique[];
117
+ systèmeNumération?: string;
118
+ };
119
+
120
+ export type OpérationConversionNumérique = {
121
+ op: "+" | "-" | "/" | "*" | "^";
122
+ val: number;
123
+ };
124
+
125
+ export type ConversionDonnéesChaîne = {
126
+ type: "chaîne";
127
+ langue?: string;
128
+ };
129
+
130
+ export type ConversionDonnéesFichiers =
131
+ | ConversionDonnéesFichier
132
+ | ConversionDonnéesAudio
133
+ | ConversionDonnéesImage
134
+ | ConversionDonnéesVidéo;
135
+
136
+ export type ConversionDonnéesFichier = {
137
+ type: "fichier";
138
+ baseChemin?: string;
139
+ };
140
+
141
+ export type ConversionDonnéesAudio = Omit<ConversionDonnéesFichier, "type"> & {
142
+ type: "audio";
143
+ };
144
+
145
+ export type ConversionDonnéesImage = Omit<ConversionDonnéesFichier, "type"> & {
146
+ type: "image";
147
+ };
148
+
149
+ export type ConversionDonnéesVidéo = Omit<ConversionDonnéesFichier, "type"> & {
150
+ type: "vidéo";
151
+ };
152
+
153
+ export type ConversionDonnéesBooléen = {
154
+ type: "booléen";
155
+ };
156
+
157
+ export type ConversionDonnéesChaîneNonTraductible = {
158
+ type: "chaîneNonTraductible";
159
+ };
160
+
161
+ export type ConversionDonnéesHoroDatage = {
162
+ type: "horoDatage";
163
+ détails?: {
164
+ système: string;
165
+ format?: string;
166
+ };
167
+ };
168
+
169
+ export type ConversionDonnéesIntervaleTemps = {
170
+ type: "intervaleTemps";
171
+ };
172
+
173
+ export type ConversionDonnéesGéojson = {
174
+ type: "géojson";
175
+ };
package/src/utils.ts ADDED
@@ -0,0 +1,31 @@
1
+ export type Suivi<T> = (x: T) => void | Promise<void>;
2
+
3
+ export type Oublier = () => Promise<void>;
4
+
5
+ export type RetourRecherche<N extends string = string> = {
6
+ oublier: Oublier;
7
+ } & { [C in N]: (n: number) => Promise<void> };
8
+
9
+ export type RetourRechercheProfondeur = {
10
+ oublier: Oublier;
11
+ profondeur: (p: number) => Promise<void>;
12
+ };
13
+
14
+ export type TraducsTexte = { [langue: string]: string };
15
+ export type SansNonDéfinis<T> = { [C in keyof T]: Exclude<T[C], undefined> };
16
+
17
+ export type PartielRécursif<T> = {
18
+ [P in keyof T]?: T[P] extends object ? PartielRécursif<T[P]> : T[P];
19
+ };
20
+
21
+ export type RequisRécursif<T> = {
22
+ [P in keyof T]-?: T[P] extends object ? RequisRécursif<T[P]> : T[P];
23
+ };
24
+
25
+ export type FonctionRésolveur<T, S> = (
26
+ args: T & { f: Suivi<S> },
27
+ ) => Promise<Oublier>;
28
+
29
+ export type Résolveur<T, S> = FonctionRésolveur<T, S> & {
30
+ fermer: () => Promise<void>;
31
+ };
@@ -0,0 +1,33 @@
1
+ import type { BaseÉpingleFavoris } from "./favoris.ts";
2
+
3
+ export type CatégorieBaseVariables =
4
+ | "numérique"
5
+ | "horoDatage"
6
+ | "intervaleTemps"
7
+ | "chaîne"
8
+ | "chaîneNonTraductible"
9
+ | "booléen"
10
+ | "géojson"
11
+ | "vidéo"
12
+ | "audio"
13
+ | "image"
14
+ | "fichier";
15
+
16
+ export type CatégorieVariable =
17
+ | {
18
+ type: "simple";
19
+ catégorie: CatégorieBaseVariables;
20
+ }
21
+ | {
22
+ type: "liste";
23
+ catégorie: CatégorieBaseVariables;
24
+ };
25
+
26
+ // Types épingles
27
+
28
+ export type ÉpingleVariable = {
29
+ type: "variables";
30
+ épingle: ContenuÉpingleVariable;
31
+ };
32
+
33
+ export type ContenuÉpingleVariable = BaseÉpingleFavoris;
package/src/version.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '1.0.0';
2
+ export const version = '1.0.2';
package/tsconfig.json CHANGED
@@ -1,40 +1,9 @@
1
1
  {
2
- // "extends": "aegir/src/config/tsconfig.aegir.json",
2
+ "extends": "aegir/src/config/tsconfig.aegir.json",
3
3
  "compilerOptions": {
4
4
  "rootDir": "./src",
5
- "allowImportingTsExtensions": true,
6
- "rewriteRelativeImportExtensions": true,
7
- "declaration": true,
8
- "esModuleInterop": true,
9
- "incremental": true,
10
- "importHelpers": true,
11
- "isolatedModules": true,
12
- "jsx": "react",
13
- "lib": ["dom", "esnext"],
14
- "module": "nodenext",
15
- "moduleResolution": "nodenext",
16
- "noFallthroughCasesInSwitch": true,
17
- "noImplicitReturns": true,
18
- "noUnusedLocals": true,
19
- "noUnusedParameters": true,
20
- "paths": {
21
- "@/*": ["./src/*"]
22
- },
23
- "outDir": "./dist",
24
- "sourceMap": true,
25
- "strict": true,
26
- "strictPropertyInitialization": true,
27
- "strictNullChecks": true,
28
- "target": "esnext",
29
- "useUnknownInCatchVariables": false,
30
-
31
- "skipLibCheck": true,
32
- "experimentalDecorators": true,
33
-
34
- "plugins": [
35
- { "transform": "typescript-transform-paths" },
36
- { "transform": "typescript-transform-paths", "afterDeclarations": true }
37
- ]
5
+ "outDir": "dist"
38
6
  },
39
- "include": ["src", "@types"]
7
+
8
+ "include": ["src"]
40
9
  }