codevdesign 0.0.76 → 0.0.78

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.
@@ -1,23 +1,14 @@
1
- import GroupeCEIntervalle from './groupeCEIntervalle'
2
- class GroupeCE {
1
+ /**
2
+ * This is a TypeGen auto-generated file.
3
+ * Any changes made to this file can be lost when this file is regenerated.
4
+ */
5
+
6
+ import type { GroupeCEIntervalle } from './groupeCEIntervalle'
7
+
8
+ export interface GroupeCE {
3
9
  id: number
4
10
  commissionScolaireId: number
5
11
  nom: string
6
12
  groupeCEIntervalles: GroupeCEIntervalle[]
7
- parentId?: number
8
-
9
- constructor(
10
- id: number = 0,
11
- commissionScolaireId: number = 0,
12
- nom: string = '',
13
- groupeCEIntervalles: GroupeCEIntervalle[] = [],
14
- parentId: number = 0,
15
- ) {
16
- this.id = id
17
- this.commissionScolaireId = commissionScolaireId
18
- this.nom = nom
19
- this.groupeCEIntervalles = groupeCEIntervalles
20
- this.parentId = parentId
21
- }
13
+ parentId: number
22
14
  }
23
- export default GroupeCE
@@ -1,24 +1,13 @@
1
- class GroupeCEIntervalle {
1
+ /**
2
+ * This is a TypeGen auto-generated file.
3
+ * Any changes made to this file can be lost when this file is regenerated.
4
+ */
5
+
6
+ export interface GroupeCEIntervalle {
2
7
  id: number
3
8
  corpsEmploiMin: string
4
9
  corpsEmploiMax: string
5
10
  groupeCEId: number
6
11
  min: number
7
12
  max: number
8
- constructor(
9
- id: number = 0,
10
- corpsEmploiMin: string = '',
11
- corpsEmploiMax: string = '',
12
- groupeCEId: number = 0,
13
- min: number,
14
- max: number,
15
- ) {
16
- this.id = id
17
- this.corpsEmploiMin = corpsEmploiMin
18
- this.corpsEmploiMax = corpsEmploiMax
19
- this.groupeCEId = groupeCEId
20
- this.min = min
21
- this.max = max
22
- }
23
13
  }
24
- export default GroupeCEIntervalle
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This is a TypeGen auto-generated file.
3
+ * Any changes made to this file can be lost when this file is regenerated.
4
+ */
5
+
6
+ export enum TypeEnseignement {
7
+ Prescolaire4ans = 0,
8
+ Prescolaire5ans = 1,
9
+ Primaire = 2,
10
+ Secondaire = 3,
11
+ FP = 4,
12
+ FGA = 5,
13
+ ServiceAdmin = 6,
14
+ }
package/modeles/unite.ts CHANGED
@@ -1,41 +1,24 @@
1
- class Unite {
2
- id: number
3
- commissionScolaireId: number
4
- nom: string
5
- estActif: boolean
6
- numero: string
7
- numeroEcoleJeune: string
8
- numeroCentreAdulte: string
9
- numeroEcoleJeuneStr: string
10
- numeroCentreAdulteStr: string
11
- estJeune: boolean
12
- estAdulte: boolean
13
-
14
- constructor(
15
- id: number = 0,
16
- commissionScolaireId: number = 0,
17
- nom: string = '',
18
- estActif: boolean = false,
19
- numero: string = '',
20
- numeroEcoleJeune: string = '',
21
- numeroCentreAdulte: string = '',
22
- numeroEcoleJeuneStr: string = '',
23
- numeroCentreAdulteStr: string = '',
24
- estJeune: boolean = false,
25
- estAdulte: boolean = false,
26
- ) {
27
- this.id = id
28
- this.commissionScolaireId = commissionScolaireId
29
- this.nom = nom
30
- this.estActif = estActif
31
- this.numero = numero
32
- this.numeroEcoleJeune = numeroEcoleJeune
33
- this.numeroCentreAdulte = numeroCentreAdulte
34
- this.numeroEcoleJeuneStr = numeroEcoleJeuneStr
35
- this.numeroCentreAdulteStr = numeroCentreAdulteStr
36
- this.estJeune = estJeune
37
- this.estAdulte = estAdulte
38
- }
39
- }
40
-
41
- export default Unite
1
+ /**
2
+ * This is a TypeGen auto-generated file.
3
+ * Any changes made to this file can be lost when this file is regenerated.
4
+ */
5
+
6
+ import type { UniteTypeEnseignement } from "./uniteTypeEnseignement";
7
+
8
+ export interface Unite {
9
+ id: number;
10
+ numero: string;
11
+ nom: string;
12
+ numeroEcoleJeune: string;
13
+ numeroCentreAdulte: string;
14
+ estActif: boolean;
15
+ typesEnseignementUnite: UniteTypeEnseignement[];
16
+ commissionScolaireId: number;
17
+ numeroNom: string;
18
+ nomNumero: string;
19
+ numeroEcoleJeuneStr: string;
20
+ numeroCentreAdulteStr: string;
21
+ estJeune: boolean;
22
+ estAdulte: boolean;
23
+ }
24
+
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This is a TypeGen auto-generated file.
3
+ * Any changes made to this file can be lost when this file is regenerated.
4
+ */
5
+
6
+ import type { TypeEnseignement } from "./typeEnseignement";
7
+
8
+ export interface UniteTypeEnseignement {
9
+ id: number;
10
+ typeEnseignement: TypeEnseignement;
11
+ uniteId: number;
12
+ }
@@ -1,32 +1,15 @@
1
- class Utilisateur {
2
- commissionScolaireId: number
3
- courriel: string
1
+ /**
2
+ * This is a TypeGen auto-generated file.
3
+ * Any changes made to this file can be lost when this file is regenerated.
4
+ */
5
+
6
+ export interface Utilisateur {
4
7
  id: number
5
8
  identifiant: string
6
- langue: string
7
- matricule: string
8
9
  nom: string
9
10
  prenom: string
10
-
11
- constructor(
12
- commissionScolaireId: number = 0,
13
- courriel: string = '',
14
- id: number = 0,
15
- identifiant: string = '',
16
- langue: string = '',
17
- matricule: string = '',
18
- nom: string = '',
19
- prenom: string = '',
20
- ) {
21
- this.commissionScolaireId = commissionScolaireId
22
- this.courriel = courriel
23
- this.id = id
24
- this.identifiant = identifiant
25
- this.langue = langue
26
- this.matricule = matricule
27
- this.nom = nom
28
- this.prenom = prenom
29
- }
11
+ courriel: string
12
+ matricule: string
13
+ commissionScolaireId: number
14
+ langue: string
30
15
  }
31
-
32
- export default Utilisateur
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codevdesign",
3
- "version": "0.0.76",
3
+ "version": "0.0.78",
4
4
  "description": "Composants Vuetify 3 pour les projets Codev",
5
5
  "files": [
6
6
  "./**/*.vue",