Skip to content

Commit

Permalink
Mise à jour types, etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
julienmalard committed Oct 24, 2023
1 parent 8c61a59 commit 6cae4c9
Show file tree
Hide file tree
Showing 101 changed files with 963 additions and 1,002 deletions.
42 changes: 21 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,19 @@
"format": "npx prettier --write \"**/*.{js,mjs,cjs,ts,mts,cts,vue,json}\""
},
"devDependencies": {
"@constl/utils-tests": "^0.1.1",
"@rollup/plugin-node-resolve": "^15.2.1",
"@types/deep-equal": "^1.0.1",
"@constl/utils-tests": "^0.1.8",
"@rollup/plugin-node-resolve": "^15.2.3",
"@types/deep-equal": "^1.0.2",
"@types/file-saver": "^2.0.5",
"@types/js-cookie": "^3.0.3",
"@types/lodash": "^4.14.197",
"@types/node": "^20.5.3",
"@types/uuid": "^9.0.2",
"@types/js-cookie": "^3.0.4",
"@types/lodash": "^4.14.199",
"@types/node": "^20.8.6",
"@types/uuid": "^9.0.5",
"@types/webfontloader": "^1.6.35",
"@typescript-eslint/eslint-plugin": "6.4.1",
"@typescript-eslint/parser": "^6.4.1",
"@typescript-eslint/parser": "^6.8.0",
"@vitejs/plugin-vue": "4.3.3",
"@vitest/coverage-istanbul": "^0.34.2",
"@vitest/coverage-istanbul": "^0.34.6",
"@vue/test-utils": "2.4.1",
"cross-env": "7.0.3",
"electron": "27.0.0",
Expand All @@ -70,17 +70,17 @@
"dependencies": {
"@achingbrain/nat-port-mapper": "1.0.8",
"@constl/ipa": "0.9.2",
"@constl/mandataire": "^0.1.13",
"@constl/mandataire": "^0.1.14",
"@constl/mandataire-electron-principal": "^0.2.13",
"@constl/mandataire-electron-rendu": "^0.2.13",
"@constl/serveur": "^0.3.2",
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
"@lassi-js/kili": "^0.2.3",
"@mdi/font": "^7.2.96",
"@vueuse/core": "^10.3.0",
"assert": "^2.0.0",
"axios": "^1.4.0",
"core-js": "^3.32.1",
"@mdi/font": "^7.3.67",
"@vueuse/core": "^10.5.0",
"assert": "^2.1.0",
"axios": "^1.5.1",
"core-js": "^3.33.0",
"crypto-browserify": "^3.12.0",
"crypto-js": "^4.1.1",
"deep-equal": "^2.2.2",
Expand All @@ -92,20 +92,20 @@
"jszip": "^3.10.1",
"lodash": "^4.17.21",
"multiformats": "9.9.0",
"node-gyp-build": "^4.6.0",
"nuchabal": "^3.1.2",
"pinia": "^2.1.6",
"node-gyp-build": "^4.6.1",
"nuchabal": "^3.1.4",
"pinia": "^2.1.7",
"pinia-plugin-persistedstate": "^3.2.0",
"qrcode.vue": "^3.4.1",
"rollup-plugin-node-polyfills": "^0.2.1",
"rollup-plugin-polyfill-node": "^0.12.0",
"semaphore-async-await": "^1.5.1",
"tslib": "^2.6.2",
"uuid": "^9.0.0",
"uuid": "^9.0.1",
"vue": "3.3.4",
"vue-i18n": "9.3.0-beta.16",
"vue-router": "^4.2.4",
"vuetify": "^3.3.14",
"vue-router": "^4.2.5",
"vuetify": "^3.3.21",
"webfontloader": "^1.6.28",
"wherearewe": "^2.0.1",
"wrtc": "^0.4.7"
Expand Down
6 changes: 3 additions & 3 deletions packages/renderer/src/components/InitialiserCompte.vue
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
(comptesEnLigne.length
? t('accueil.initialiserCompte.indiceComptePasVu')
: t('accueil.initialiserCompte.indiceRechercheComptes')) +
t('accueil.initialiserCompte.indiceEssaieDeConnecter')
t('accueil.initialiserCompte.indiceEssaieDeConnecter')
}}
</p>
</div>
Expand Down Expand Up @@ -208,7 +208,7 @@
</template>
<script setup lang="ts">
import type {MandataireClientConstellation} from '@constl/mandataire';
import type {ClientConstellation} from '@constl/ipa';
import type {réseau} from '@constl/ipa';
import {computed, ref, inject} from 'vue';
Expand All @@ -233,7 +233,7 @@ const {t} = useI18n();
const {mdAndUp} = useDisplay();
const {obtImageDéco} = utiliserImagesDéco();
const constl = inject<MandataireClientConstellation>('constl');
const constl = inject<ClientConstellation>('constl');
// Navigation générale
const dialogue = ref(false);
Expand Down
4 changes: 2 additions & 2 deletions packages/renderer/src/components/NavigationPrincipale.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

<script setup lang="ts">
import {inject, ref, onMounted, computed} from 'vue';
import type {MandataireClientConstellation} from '@constl/mandataire';
import type {ClientConstellation} from '@constl/ipa';
import {utiliserLangues} from '/@/plugins/localisation/localisation';
import {கிளிமூக்கை_உபயோகி} from '/@/plugins/kilimukku/kilimukku-vue';
Expand All @@ -54,7 +54,7 @@ import TexteTronque from './communs/TexteTronqué.vue';
const {useI18n} = கிளிமூக்கை_உபயோகி();
const {t} = useI18n();
const constl = inject<MandataireClientConstellation>('constl');
const constl = inject<ClientConstellation>('constl');
// Nom d'utilisatrice
const {traduireNom} = utiliserLangues();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</template>
<script setup lang="ts">
import type {automatisation} from '@constl/ipa';
import type {MandataireClientConstellation} from '@constl/mandataire';
import type {ClientConstellation} from '@constl/ipa';
import {ref, onMounted, inject} from 'vue';
import {useDisplay} from 'vuetify';
Expand All @@ -47,7 +47,7 @@ const props = defineProps<{
statut: automatisationtatAutomatisation;
}>();
const constl = inject<MandataireClientConstellation>('constl');
const constl = inject<ClientConstellation>('constl');
// Nom
const {traduireNom} = utiliserLangues();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
</template>
<script setup lang="ts">
import type {automatisation, bds} from '@constl/ipa';
import type {MandataireClientConstellation} from '@constl/mandataire';
import type {ClientConstellation} from '@constl/ipa';
import {computed, ref, inject, onMounted} from 'vue';
import {useDisplay} from 'vuetify';
Expand All @@ -93,7 +93,7 @@ const props = defineProps<{
typeObjet: 'nuée' | 'projet' | 'bd' | 'tableau';
}>();
const constl = inject<MandataireClientConstellation>('constl');
const constl = inject<ClientConstellation>('constl');
// Autorisation
const monAutorisation = ref<'MODÉRATEUR' | 'MEMBRE' | undefined>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</template>
<script setup lang="ts">
import type {automatisation} from '@constl/ipa';
import type {MandataireClientConstellation} from '@constl/mandataire';
import type {ClientConstellation} from '@constl/ipa';
import {computed, inject, ref, onMounted} from 'vue';
import {VSkeletonLoader} from 'vuetify/labs/VSkeletonLoader';
Expand All @@ -37,7 +37,7 @@ const props = defineProps<{
spécification: automatisation.SpécificationAutomatisation;
}>();
const constl = inject<MandataireClientConstellation>('constl');
const constl = inject<ClientConstellation>('constl');
// Nom
const {traduireNom} = utiliserLangues();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</template>
<script setup lang="ts">
import type {automatisation} from '@constl/ipa';
import type {MandataireClientConstellation} from '@constl/mandataire';
import type {ClientConstellation} from '@constl/ipa';
import {computed, inject, ref} from 'vue';
import {enregistrerÉcoute} from '/@/components/utils';
Expand All @@ -20,7 +20,7 @@ const props = defineProps<{
idObjet: string;
}>();
const constl = inject<MandataireClientConstellation>('constl');
const constl = inject<ClientConstellation>('constl');
const {useI18n} = கிளிமூக்கை_உபயோகி();
const {t} = useI18n();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

<script setup lang="ts">
import type {automatisation} from '@constl/ipa';
import type {MandataireClientConstellation} from '@constl/mandataire';
import type {ClientConstellation} from '@constl/ipa';
import path from 'path';
import {computed, ref, inject, onMounted, watchEffect} from 'vue';
Expand All @@ -33,7 +33,7 @@ const props = defineProps<{
const {useI18n} = கிளிமூக்கை_உபயோகி();
const {t} = useI18n();
const constl = inject<MandataireClientConstellation>('constl');
const constl = inject<ClientConstellation>('constl');
const dispositifPrésent = ref<string>();
// Dispositifs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</template>
<script setup lang="ts">
import type {automatisation} from '@constl/ipa';
import type {MandataireClientConstellation} from '@constl/mandataire';
import type {ClientConstellation} from '@constl/ipa';
import path from 'path';
import {computed, ref, inject, watchEffect} from 'vue';
Expand All @@ -32,7 +32,7 @@ const props = defineProps<{
const {useI18n} = கிளிமூக்கை_உபயோகி();
const {t} = useI18n();
const constl = inject<MandataireClientConstellation>('constl');
const constl = inject<ClientConstellation>('constl');
// Statut source
const enProgrès = computed<boolean>(() => {
Expand Down
4 changes: 2 additions & 2 deletions packages/renderer/src/components/bds/CarteBd.vue
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@

<script setup lang="ts">
import type {types, bds} from '@constl/ipa';
import type {MandataireClientConstellation} from '@constl/mandataire';
import type {ClientConstellation} from '@constl/ipa';
import {inject, ref} from 'vue';
Expand Down Expand Up @@ -158,7 +158,7 @@ import {ajusterTexteTraductible} from '/@/utils';
const props = defineProps<{id: string}>();
const constl = inject<MandataireClientConstellation>('constl');
const constl = inject<ClientConstellation>('constl');
const {useI18n} = கிளிமூக்கை_உபயோகி();
const {t} = useI18n();
Expand Down
4 changes: 2 additions & 2 deletions packages/renderer/src/components/bds/IcôneQualitéBd.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@

<script setup lang="ts">
import type {bds} from '@constl/ipa';
import type {MandataireClientConstellation} from '@constl/mandataire';
import type {ClientConstellation} from '@constl/ipa';
import {computed, inject, ref} from 'vue';
import {enregistrerÉcoute} from '/@/components/utils';
import {couleurScore} from '/@/utils';
const props = defineProps<{id: string}>();
const constl = inject<MandataireClientConstellation>('constl');
const constl = inject<ClientConstellation>('constl');
// Qualité BD
const qualité = ref<bds.infoScore>();
Expand Down
4 changes: 2 additions & 2 deletions packages/renderer/src/components/bds/ItemBd.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
</v-list-item>
</template>
<script setup lang="ts">
import type {MandataireClientConstellation} from '@constl/mandataire';
import type {ClientConstellation} from '@constl/ipa';
import {ref, inject, computed} from 'vue';
import {utiliserImagesDéco} from '/@/composables/images';
Expand All @@ -47,7 +47,7 @@ import ItemVariable from '../variables/ItemVariable.vue';
const props = defineProps<{id: string}>();
const constl = inject<MandataireClientConstellation>('constl');
const constl = inject<ClientConstellation>('constl');
const {useI18n} = கிளிமூக்கை_உபயோகி();
const {t} = useI18n();
Expand Down
4 changes: 2 additions & 2 deletions packages/renderer/src/components/bds/JetonBd.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</v-chip>
</template>
<script setup lang="ts">
import type {MandataireClientConstellation} from '@constl/mandataire';
import type {ClientConstellation} from '@constl/ipa';
import {ref, inject, computed} from 'vue';
import {utiliserImagesDéco} from '/@/composables/images';
Expand All @@ -20,7 +20,7 @@ import {enregistrerÉcoute} from '/@/components/utils';
const props = defineProps<{id: string}>();
const constl = inject<MandataireClientConstellation>('constl');
const constl = inject<ClientConstellation>('constl');
const {useI18n} = கிளிமூக்கை_உபயோகி();
const {t} = useI18n();
Expand Down
4 changes: 2 additions & 2 deletions packages/renderer/src/components/bds/NouvelleBd.vue
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@
</template>
<script setup lang="ts">
import type {bds, tableaux as tblx, valid} from '@constl/ipa';
import type {MandataireClientConstellation} from '@constl/mandataire';
import type {ClientConstellation} from '@constl/ipa';
import {computed, inject, ref} from 'vue';
import {useDisplay, useRtl} from 'vuetify';
Expand All @@ -198,7 +198,7 @@ import NouveauTableau from '/@/components/tableaux/NouveauTableau.vue';
import ItemSpecificationTableau from '/@/components/tableaux/ItemSpécificationTableau.vue';
import ListeNoms from '/@/components/communs/listeNoms/ListeNoms.vue';
const constl = inject<MandataireClientConstellation>('constl');
const constl = inject<ClientConstellation>('constl');
const {useI18n} = கிளிமூக்கை_உபயோகி();
const {t} = useI18n();
Expand Down
4 changes: 2 additions & 2 deletions packages/renderer/src/components/bds/SélecteurBd.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</template>
<script setup lang="ts">
import type {types} from '@constl/ipa';
import type {MandataireClientConstellation} from '@constl/mandataire';
import type {ClientConstellation} from '@constl/ipa';
import {inject, ref} from 'vue';
Expand All @@ -26,7 +26,7 @@ const émettre = defineEmits<{
: 'selectionnee', idsBds: string[]): void;
}>();
const constl = inject<MandataireClientConstellation>('constl');
const constl = inject<ClientConstellation>('constl');
// Sélection
const idsBdsSélectionnées = ref<string[]>([]);
Expand Down
4 changes: 2 additions & 2 deletions packages/renderer/src/components/bds/TexteQualitéBd.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<script setup lang="ts">
import type {bds} from '@constl/ipa';
import type {MandataireClientConstellation} from '@constl/mandataire';
import type {ClientConstellation} from '@constl/ipa';
import {computed, inject, ref} from 'vue';
import {enregistrerÉcoute} from '/@/components/utils';
Expand All @@ -22,7 +22,7 @@ import {கிளிமூக்கை_உபயோகி} from '/@/plugins/kili
const props = defineProps<{id: string}>();
const constl = inject<MandataireClientConstellation>('constl');
const constl = inject<ClientConstellation>('constl');
const {useI18n} = கிளிமூக்கை_உபயோகி();
const {t} = useI18n();
Expand Down
4 changes: 2 additions & 2 deletions packages/renderer/src/components/communs/BaseCarteObjet.vue
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@

<script setup lang="ts">
import type {types} from '@constl/ipa';
import type {MandataireClientConstellation} from '@constl/mandataire';
import type {ClientConstellation} from '@constl/ipa';
import {computed, ref, inject} from 'vue';
import {enregistrerÉcoute} from '/@/components/utils';
Expand Down Expand Up @@ -204,7 +204,7 @@ const émettre = defineEmits<{
: 'sauvegarder'): void;
}>();
const constl = inject<MandataireClientConstellation>('constl');
const constl = inject<ClientConstellation>('constl');
const {mdAndUp} = useDisplay();
const {useI18n} = கிளிமூக்கை_உபயோகி();
Expand Down
4 changes: 2 additions & 2 deletions packages/renderer/src/components/communs/GererAuteurs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
</v-dialog>
</template>
<script setup lang="ts">
import type {MandataireClientConstellation} from '@constl/mandataire';
import type {ClientConstellation} from '@constl/ipa';
import type {types} from '@constl/ipa';
import type {Ref} from 'vue';
Expand Down Expand Up @@ -116,7 +116,7 @@ const {mdAndUp} = useDisplay();
const {useI18n} = கிளிமூக்கை_உபயோகி();
const {t} = useI18n();
const constl = inject<MandataireClientConstellation>('constl');
const constl = inject<ClientConstellation>('constl');
// Navigation
const dialogue = ref(false);
Expand Down
Loading

0 comments on commit 6cae4c9

Please sign in to comment.