@vocollege/app 0.0.108 → 0.0.110
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/dist/modules/Services/I18n/strings.json +15 -2
- package/dist/modules/VoApi/graphql.d.ts +1 -0
- package/dist/modules/VoApi/graphql.js +1 -0
- package/dist/modules/VoApi/queries/statistics.d.ts +3 -0
- package/dist/modules/VoApi/queries/statistics.js +12 -0
- package/package.json +1 -1
- package/src/modules/Services/I18n/strings.json +15 -2
- package/src/modules/VoApi/graphql.ts +1 -0
- package/src/modules/VoApi/queries/statistics.ts +61 -0
|
@@ -765,7 +765,7 @@
|
|
|
765
765
|
},
|
|
766
766
|
"education": {
|
|
767
767
|
"vardOchOmsorg": "Vård- och omsorgsutbildning",
|
|
768
|
-
"barnFritid": "Barn- och fritidsutbildning med
|
|
768
|
+
"barnFritid": "Barn- och fritidsutbildning med inriktning pedagogiskt och socialt arbete"
|
|
769
769
|
},
|
|
770
770
|
"helpTexts": {
|
|
771
771
|
"creditsUng": "Antal godkända gymnasiepoäng, 2250 poäng",
|
|
@@ -1054,7 +1054,20 @@
|
|
|
1054
1054
|
},
|
|
1055
1055
|
"statistics": {
|
|
1056
1056
|
"labels": {
|
|
1057
|
-
"statistics": "Statistik"
|
|
1057
|
+
"statistics": "Statistik",
|
|
1058
|
+
"certifications": "Certifieringar",
|
|
1059
|
+
"general": "Allmän",
|
|
1060
|
+
"generalStatistics": "Allmän statistik",
|
|
1061
|
+
"certificationsStatistics": "Statistik, certifieringar",
|
|
1062
|
+
"numberOfRegionalVoCollege": "Antal regionala VO-College",
|
|
1063
|
+
"numberOfLocalVoCollege": "Antal lokala VO-College",
|
|
1064
|
+
"numberOfEmployer": "Antal arbetsgivare",
|
|
1065
|
+
"numberEducatorGymVO": "Antal gymnasieskolor, vård och omsorg",
|
|
1066
|
+
"numberEducatorGymBF": "Antal gymnasieskolor, barn och fritid",
|
|
1067
|
+
"numberEducatorVuxVO": "Antal vuxenutbildare, vård och omsorg",
|
|
1068
|
+
"numberEducatorVuxBF": "Antal vuxenutbildare, barn och fritid",
|
|
1069
|
+
"numberEducatorFolkhogskolor": "Antal folkhögskolor",
|
|
1070
|
+
"numberEducatorYrkeshogskolor": "Antal yrkeshögskolor"
|
|
1058
1071
|
}
|
|
1059
1072
|
},
|
|
1060
1073
|
"voadmin": {
|
|
@@ -12,6 +12,7 @@ export * from "./queries/users";
|
|
|
12
12
|
export * from "./queries/vodocs";
|
|
13
13
|
export * from "./queries/vogroups";
|
|
14
14
|
export * from "./queries/settings";
|
|
15
|
+
export * from "./queries/statistics";
|
|
15
16
|
export * from "./queries/search";
|
|
16
17
|
export * from "./queries/sections";
|
|
17
18
|
export * from "./mutations/users";
|
|
@@ -35,6 +35,7 @@ __exportStar(require("./queries/users"), exports);
|
|
|
35
35
|
__exportStar(require("./queries/vodocs"), exports);
|
|
36
36
|
__exportStar(require("./queries/vogroups"), exports);
|
|
37
37
|
__exportStar(require("./queries/settings"), exports);
|
|
38
|
+
__exportStar(require("./queries/statistics"), exports);
|
|
38
39
|
__exportStar(require("./queries/search"), exports);
|
|
39
40
|
__exportStar(require("./queries/sections"), exports);
|
|
40
41
|
// Mutations.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
+
return cooked;
|
|
5
|
+
};
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.GET_CERTIFICATIONS_STATISTICS = exports.GET_GENERAL_STATISTICS = exports.GET_GROUP_FIELDS = void 0;
|
|
8
|
+
var client_1 = require("@apollo/client");
|
|
9
|
+
exports.GET_GROUP_FIELDS = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n fragment GroupFields on Group {\n id\n name\n title\n category\n certified\n created_at\n }\n"], ["\n fragment GroupFields on Group {\n id\n name\n title\n category\n certified\n created_at\n }\n"])));
|
|
10
|
+
exports.GET_GENERAL_STATISTICS = (0, client_1.gql)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n query GeneralStatistics($filters: StatisticsFilters) {\n statistics(filters: $filters) {\n regions {\n ...GroupFields\n }\n localColleges {\n ...GroupFields\n }\n employers {\n ...GroupFields\n }\n educatorsGymVO {\n ...GroupFields\n }\n educatorsGymBF {\n ...GroupFields\n }\n educatorsVuxVO {\n ...GroupFields\n }\n educatorsVuxBF {\n ...GroupFields\n }\n educatorsFolkhogskolor {\n ...GroupFields\n }\n educatorsYrkeshogskolor {\n ...GroupFields\n }\n }\n }\n ", "\n"], ["\n query GeneralStatistics($filters: StatisticsFilters) {\n statistics(filters: $filters) {\n regions {\n ...GroupFields\n }\n localColleges {\n ...GroupFields\n }\n employers {\n ...GroupFields\n }\n educatorsGymVO {\n ...GroupFields\n }\n educatorsGymBF {\n ...GroupFields\n }\n educatorsVuxVO {\n ...GroupFields\n }\n educatorsVuxBF {\n ...GroupFields\n }\n educatorsFolkhogskolor {\n ...GroupFields\n }\n educatorsYrkeshogskolor {\n ...GroupFields\n }\n }\n }\n ", "\n"])), exports.GET_GROUP_FIELDS);
|
|
11
|
+
exports.GET_CERTIFICATIONS_STATISTICS = (0, client_1.gql)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n query CertificationsStatistics($filters: StatisticsFilters) {\n statistics(filters: $filters) {\n certifiedRegions {\n id\n name\n title\n certified\n created_at\n }\n }\n }\n"], ["\n query CertificationsStatistics($filters: StatisticsFilters) {\n statistics(filters: $filters) {\n certifiedRegions {\n id\n name\n title\n certified\n created_at\n }\n }\n }\n"])));
|
|
12
|
+
var templateObject_1, templateObject_2, templateObject_3;
|
package/package.json
CHANGED
|
@@ -765,7 +765,7 @@
|
|
|
765
765
|
},
|
|
766
766
|
"education": {
|
|
767
767
|
"vardOchOmsorg": "Vård- och omsorgsutbildning",
|
|
768
|
-
"barnFritid": "Barn- och fritidsutbildning med
|
|
768
|
+
"barnFritid": "Barn- och fritidsutbildning med inriktning pedagogiskt och socialt arbete"
|
|
769
769
|
},
|
|
770
770
|
"helpTexts": {
|
|
771
771
|
"creditsUng": "Antal godkända gymnasiepoäng, 2250 poäng",
|
|
@@ -1054,7 +1054,20 @@
|
|
|
1054
1054
|
},
|
|
1055
1055
|
"statistics": {
|
|
1056
1056
|
"labels": {
|
|
1057
|
-
"statistics": "Statistik"
|
|
1057
|
+
"statistics": "Statistik",
|
|
1058
|
+
"certifications": "Certifieringar",
|
|
1059
|
+
"general": "Allmän",
|
|
1060
|
+
"generalStatistics": "Allmän statistik",
|
|
1061
|
+
"certificationsStatistics": "Statistik, certifieringar",
|
|
1062
|
+
"numberOfRegionalVoCollege": "Antal regionala VO-College",
|
|
1063
|
+
"numberOfLocalVoCollege": "Antal lokala VO-College",
|
|
1064
|
+
"numberOfEmployer": "Antal arbetsgivare",
|
|
1065
|
+
"numberEducatorGymVO": "Antal gymnasieskolor, vård och omsorg",
|
|
1066
|
+
"numberEducatorGymBF": "Antal gymnasieskolor, barn och fritid",
|
|
1067
|
+
"numberEducatorVuxVO": "Antal vuxenutbildare, vård och omsorg",
|
|
1068
|
+
"numberEducatorVuxBF": "Antal vuxenutbildare, barn och fritid",
|
|
1069
|
+
"numberEducatorFolkhogskolor": "Antal folkhögskolor",
|
|
1070
|
+
"numberEducatorYrkeshogskolor": "Antal yrkeshögskolor"
|
|
1058
1071
|
}
|
|
1059
1072
|
},
|
|
1060
1073
|
"voadmin": {
|
|
@@ -15,6 +15,7 @@ export * from "./queries/users";
|
|
|
15
15
|
export * from "./queries/vodocs";
|
|
16
16
|
export * from "./queries/vogroups";
|
|
17
17
|
export * from "./queries/settings";
|
|
18
|
+
export * from "./queries/statistics";
|
|
18
19
|
export * from "./queries/search";
|
|
19
20
|
export * from "./queries/sections";
|
|
20
21
|
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { gql } from "@apollo/client";
|
|
2
|
+
|
|
3
|
+
export const GET_GROUP_FIELDS = gql`
|
|
4
|
+
fragment GroupFields on Group {
|
|
5
|
+
id
|
|
6
|
+
name
|
|
7
|
+
title
|
|
8
|
+
category
|
|
9
|
+
certified
|
|
10
|
+
created_at
|
|
11
|
+
}
|
|
12
|
+
`;
|
|
13
|
+
|
|
14
|
+
export const GET_GENERAL_STATISTICS = gql`
|
|
15
|
+
query GeneralStatistics($filters: StatisticsFilters) {
|
|
16
|
+
statistics(filters: $filters) {
|
|
17
|
+
regions {
|
|
18
|
+
...GroupFields
|
|
19
|
+
}
|
|
20
|
+
localColleges {
|
|
21
|
+
...GroupFields
|
|
22
|
+
}
|
|
23
|
+
employers {
|
|
24
|
+
...GroupFields
|
|
25
|
+
}
|
|
26
|
+
educatorsGymVO {
|
|
27
|
+
...GroupFields
|
|
28
|
+
}
|
|
29
|
+
educatorsGymBF {
|
|
30
|
+
...GroupFields
|
|
31
|
+
}
|
|
32
|
+
educatorsVuxVO {
|
|
33
|
+
...GroupFields
|
|
34
|
+
}
|
|
35
|
+
educatorsVuxBF {
|
|
36
|
+
...GroupFields
|
|
37
|
+
}
|
|
38
|
+
educatorsFolkhogskolor {
|
|
39
|
+
...GroupFields
|
|
40
|
+
}
|
|
41
|
+
educatorsYrkeshogskolor {
|
|
42
|
+
...GroupFields
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
${GET_GROUP_FIELDS}
|
|
47
|
+
`;
|
|
48
|
+
|
|
49
|
+
export const GET_CERTIFICATIONS_STATISTICS = gql`
|
|
50
|
+
query CertificationsStatistics($filters: StatisticsFilters) {
|
|
51
|
+
statistics(filters: $filters) {
|
|
52
|
+
certifiedRegions {
|
|
53
|
+
id
|
|
54
|
+
name
|
|
55
|
+
title
|
|
56
|
+
certified
|
|
57
|
+
created_at
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
`;
|