@dssp/dkpi 1.0.0-alpha.10 → 1.0.0-alpha.11

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 (38) hide show
  1. package/dist-client/tsconfig.tsbuildinfo +1 -1
  2. package/dist-server/index.d.ts +1 -0
  3. package/dist-server/index.js +4 -0
  4. package/dist-server/index.js.map +1 -1
  5. package/dist-server/migrations/1752188906708-SeedKpiCategory.d.ts +5 -0
  6. package/dist-server/migrations/1752188906708-SeedKpiCategory.js +53 -0
  7. package/dist-server/migrations/1752188906708-SeedKpiCategory.js.map +1 -0
  8. package/dist-server/migrations/1752190849681-SeedKpi.d.ts +5 -0
  9. package/dist-server/migrations/1752190849681-SeedKpi.js +255 -0
  10. package/dist-server/migrations/1752190849681-SeedKpi.js.map +1 -0
  11. package/dist-server/migrations/1752192090123-add-grades-to-kpi.d.ts +7 -0
  12. package/dist-server/migrations/1752192090123-add-grades-to-kpi.js +51 -0
  13. package/dist-server/migrations/1752192090123-add-grades-to-kpi.js.map +1 -0
  14. package/dist-server/migrations/grade-data/x11-performance-table.json +962 -0
  15. package/dist-server/migrations/grade-data/x12-performance-table.json +611 -0
  16. package/dist-server/migrations/grade-data/x14-performance-table.json +42 -0
  17. package/dist-server/migrations/grade-data/x21-performance-table.json +889 -0
  18. package/dist-server/migrations/grade-data/x22-performance-table.json +1064 -0
  19. package/dist-server/migrations/grade-data/x23-performance-table.json +42 -0
  20. package/dist-server/migrations/grade-data/x31-performance-table.json +644 -0
  21. package/dist-server/migrations/grade-data/x32-performance-table.json +993 -0
  22. package/dist-server/migrations/grade-data/x33-performance-table.json +195 -0
  23. package/dist-server/migrations/grade-data/x34-performance-table.json +12 -0
  24. package/dist-server/migrations/grade-data/x35-performance-table.json +42 -0
  25. package/dist-server/migrations/grade-data/x41-performance-table.json +825 -0
  26. package/dist-server/migrations/grade-data/x42-performance-table.json +786 -0
  27. package/dist-server/migrations/grade-data/x43-performance-table.json +12 -0
  28. package/dist-server/migrations/grade-data/x44-performance-table.json +42 -0
  29. package/dist-server/migrations/grade-data/x51-performance-table.json +924 -0
  30. package/dist-server/migrations/grade-data/x52-performance-table.json +42 -0
  31. package/dist-server/migrations/grade-data/x61-performance-table.json +261 -0
  32. package/dist-server/migrations/grade-data/x62-performance-table.json +42 -0
  33. package/dist-server/migrations/index.d.ts +1 -0
  34. package/dist-server/migrations/index.js +12 -0
  35. package/dist-server/migrations/index.js.map +1 -0
  36. package/dist-server/tsconfig.tsbuildinfo +1 -1
  37. package/package.json +3 -3
  38. package/schema.graphql +30 -181
@@ -0,0 +1,42 @@
1
+ {
2
+ "kpiName": "환경성과 수준 평가",
3
+ "version": 1,
4
+ "description": "X52값 기반 등급 테이블 - 공사현장의 소음진동, 분진, 폐기물 처리, 재활용 등을 고려한 월 또는 분기의 환경관리에 대한 적정성을 종합적으로 평가",
5
+ "grades": [
6
+ {
7
+ "name": "1점",
8
+ "minValue": 0,
9
+ "maxValue": 1,
10
+ "score": 1,
11
+ "description": "법적 요구 수준에 못 미치거나 환경관리 활동의 개선이 매우 필요한 경우"
12
+ },
13
+ {
14
+ "name": "2점",
15
+ "minValue": 1,
16
+ "maxValue": 2,
17
+ "score": 2,
18
+ "description": "법적 요구 수준을 일부 만족하고 있으나, 환경관리 활동이 다소 필요한 경우"
19
+ },
20
+ {
21
+ "name": "3점",
22
+ "minValue": 2,
23
+ "maxValue": 3,
24
+ "score": 3,
25
+ "description": "법적 요구 수준을 만족하는 수준"
26
+ },
27
+ {
28
+ "name": "4점",
29
+ "minValue": 3,
30
+ "maxValue": 4,
31
+ "score": 4,
32
+ "description": "법적 요구 수준을 만족하며, 환경관리 활동의 효율성은 다소 높은 수준"
33
+ },
34
+ {
35
+ "name": "5점",
36
+ "minValue": 4,
37
+ "maxValue": 999,
38
+ "score": 5,
39
+ "description": "법적 요구 수준을 만족하며, 환경관리 활동의 효율성이 확연히 높은 수준"
40
+ }
41
+ ]
42
+ }
@@ -0,0 +1,261 @@
1
+ {
2
+ "kpiName": "투입인력 생산성",
3
+ "version": 1,
4
+ "description": "X61값 기반 등급 테이블 - X61값 0부터 2750까지 50 단위로 증가하는 값에 대한 성과값 매핑",
5
+ "grades": [
6
+ { "name": "0.999999", "minValue": 0, "maxValue": 50, "score": 0.999999, "description": "X61값 0~50" },
7
+ { "name": "0.993674536", "minValue": 50, "maxValue": 100, "score": 0.993674536, "description": "X61값 50~100" },
8
+ { "name": "0.987350073", "minValue": 100, "maxValue": 150, "score": 0.987350073, "description": "X61값 100~150" },
9
+ { "name": "0.981025609", "minValue": 150, "maxValue": 200, "score": 0.981025609, "description": "X61값 150~200" },
10
+ { "name": "0.974701146", "minValue": 200, "maxValue": 250, "score": 0.974701146, "description": "X61값 200~250" },
11
+ { "name": "0.968376682", "minValue": 250, "maxValue": 300, "score": 0.968376682, "description": "X61값 250~300" },
12
+ { "name": "0.964376022", "minValue": 300, "maxValue": 350, "score": 0.964376022, "description": "X61값 300~350" },
13
+ { "name": "0.960375361", "minValue": 350, "maxValue": 400, "score": 0.960375361, "description": "X61값 350~400" },
14
+ { "name": "0.9563747", "minValue": 400, "maxValue": 450, "score": 0.9563747, "description": "X61값 400~450" },
15
+ { "name": "0.95237404", "minValue": 450, "maxValue": 500, "score": 0.95237404, "description": "X61값 450~500" },
16
+ { "name": "0.948373379", "minValue": 500, "maxValue": 550, "score": 0.948373379, "description": "X61값 500~550" },
17
+ { "name": "0.93771799", "minValue": 550, "maxValue": 600, "score": 0.93771799, "description": "X61값 550~600" },
18
+ { "name": "0.927062602", "minValue": 600, "maxValue": 650, "score": 0.927062602, "description": "X61값 600~650" },
19
+ { "name": "0.916407213", "minValue": 650, "maxValue": 700, "score": 0.916407213, "description": "X61값 650~700" },
20
+ { "name": "0.905751824", "minValue": 700, "maxValue": 750, "score": 0.905751824, "description": "X61값 700~750" },
21
+ { "name": "0.895096435", "minValue": 750, "maxValue": 800, "score": 0.895096435, "description": "X61값 750~800" },
22
+ { "name": "0.87575807", "minValue": 800, "maxValue": 850, "score": 0.87575807, "description": "X61값 800~850" },
23
+ { "name": "0.856419704", "minValue": 850, "maxValue": 900, "score": 0.856419704, "description": "X61값 850~900" },
24
+ { "name": "0.837081338", "minValue": 900, "maxValue": 950, "score": 0.837081338, "description": "X61값 900~950" },
25
+ { "name": "0.817742973", "minValue": 950, "maxValue": 1000, "score": 0.817742973, "description": "X61값 950~1000" },
26
+ {
27
+ "name": "0.798404607",
28
+ "minValue": 1000,
29
+ "maxValue": 1050,
30
+ "score": 0.798404607,
31
+ "description": "X61값 1000~1050"
32
+ },
33
+ {
34
+ "name": "0.768187234",
35
+ "minValue": 1050,
36
+ "maxValue": 1100,
37
+ "score": 0.768187234,
38
+ "description": "X61값 1050~1100"
39
+ },
40
+ {
41
+ "name": "0.737969861",
42
+ "minValue": 1100,
43
+ "maxValue": 1150,
44
+ "score": 0.737969861,
45
+ "description": "X61값 1100~1150"
46
+ },
47
+ {
48
+ "name": "0.707752489",
49
+ "minValue": 1150,
50
+ "maxValue": 1200,
51
+ "score": 0.707752489,
52
+ "description": "X61값 1150~1200"
53
+ },
54
+ {
55
+ "name": "0.677535116",
56
+ "minValue": 1200,
57
+ "maxValue": 1250,
58
+ "score": 0.677535116,
59
+ "description": "X61값 1200~1250"
60
+ },
61
+ {
62
+ "name": "0.647317743",
63
+ "minValue": 1250,
64
+ "maxValue": 1300,
65
+ "score": 0.647317743,
66
+ "description": "X61값 1250~1300"
67
+ },
68
+ {
69
+ "name": "0.609614831",
70
+ "minValue": 1300,
71
+ "maxValue": 1350,
72
+ "score": 0.609614831,
73
+ "description": "X61값 1300~1350"
74
+ },
75
+ {
76
+ "name": "0.571911918",
77
+ "minValue": 1350,
78
+ "maxValue": 1400,
79
+ "score": 0.571911918,
80
+ "description": "X61값 1350~1400"
81
+ },
82
+ {
83
+ "name": "0.534209005",
84
+ "minValue": 1400,
85
+ "maxValue": 1450,
86
+ "score": 0.534209005,
87
+ "description": "X61값 1400~1450"
88
+ },
89
+ {
90
+ "name": "0.496506092",
91
+ "minValue": 1450,
92
+ "maxValue": 1500,
93
+ "score": 0.496506092,
94
+ "description": "X61값 1450~1500"
95
+ },
96
+ { "name": "0.45880318", "minValue": 1500, "maxValue": 1550, "score": 0.45880318, "description": "X61값 1500~1550" },
97
+ {
98
+ "name": "0.423024778",
99
+ "minValue": 1550,
100
+ "maxValue": 1600,
101
+ "score": 0.423024778,
102
+ "description": "X61값 1550~1600"
103
+ },
104
+ {
105
+ "name": "0.387246377",
106
+ "minValue": 1600,
107
+ "maxValue": 1650,
108
+ "score": 0.387246377,
109
+ "description": "X61값 1600~1650"
110
+ },
111
+ {
112
+ "name": "0.351467976",
113
+ "minValue": 1650,
114
+ "maxValue": 1700,
115
+ "score": 0.351467976,
116
+ "description": "X61값 1650~1700"
117
+ },
118
+ {
119
+ "name": "0.315689574",
120
+ "minValue": 1700,
121
+ "maxValue": 1750,
122
+ "score": 0.315689574,
123
+ "description": "X61값 1700~1750"
124
+ },
125
+ {
126
+ "name": "0.279911173",
127
+ "minValue": 1750,
128
+ "maxValue": 1800,
129
+ "score": 0.279911173,
130
+ "description": "X61값 1750~1800"
131
+ },
132
+ {
133
+ "name": "0.253769362",
134
+ "minValue": 1800,
135
+ "maxValue": 1850,
136
+ "score": 0.253769362,
137
+ "description": "X61값 1800~1850"
138
+ },
139
+ {
140
+ "name": "0.227627552",
141
+ "minValue": 1850,
142
+ "maxValue": 1900,
143
+ "score": 0.227627552,
144
+ "description": "X61값 1850~1900"
145
+ },
146
+ {
147
+ "name": "0.201485741",
148
+ "minValue": 1900,
149
+ "maxValue": 1950,
150
+ "score": 0.201485741,
151
+ "description": "X61값 1900~1950"
152
+ },
153
+ {
154
+ "name": "0.175343931",
155
+ "minValue": 1950,
156
+ "maxValue": 2000,
157
+ "score": 0.175343931,
158
+ "description": "X61값 1950~2000"
159
+ },
160
+ { "name": "0.14920212", "minValue": 2000, "maxValue": 2050, "score": 0.14920212, "description": "X61값 2000~2050" },
161
+ {
162
+ "name": "0.133523882",
163
+ "minValue": 2050,
164
+ "maxValue": 2100,
165
+ "score": 0.133523882,
166
+ "description": "X61값 2050~2100"
167
+ },
168
+ {
169
+ "name": "0.117845644",
170
+ "minValue": 2100,
171
+ "maxValue": 2150,
172
+ "score": 0.117845644,
173
+ "description": "X61값 2100~2150"
174
+ },
175
+ {
176
+ "name": "0.102167407",
177
+ "minValue": 2150,
178
+ "maxValue": 2200,
179
+ "score": 0.102167407,
180
+ "description": "X61값 2150~2200"
181
+ },
182
+ {
183
+ "name": "0.086489169",
184
+ "minValue": 2200,
185
+ "maxValue": 2250,
186
+ "score": 0.086489169,
187
+ "description": "X61값 2200~2250"
188
+ },
189
+ {
190
+ "name": "0.070810931",
191
+ "minValue": 2250,
192
+ "maxValue": 2300,
193
+ "score": 0.070810931,
194
+ "description": "X61값 2250~2300"
195
+ },
196
+ {
197
+ "name": "0.062496614",
198
+ "minValue": 2300,
199
+ "maxValue": 2350,
200
+ "score": 0.062496614,
201
+ "description": "X61값 2300~2350"
202
+ },
203
+ {
204
+ "name": "0.054182296",
205
+ "minValue": 2350,
206
+ "maxValue": 2400,
207
+ "score": 0.054182296,
208
+ "description": "X61값 2350~2400"
209
+ },
210
+ {
211
+ "name": "0.045867979",
212
+ "minValue": 2400,
213
+ "maxValue": 2450,
214
+ "score": 0.045867979,
215
+ "description": "X61값 2400~2450"
216
+ },
217
+ {
218
+ "name": "0.037553662",
219
+ "minValue": 2450,
220
+ "maxValue": 2500,
221
+ "score": 0.037553662,
222
+ "description": "X61값 2450~2500"
223
+ },
224
+ {
225
+ "name": "0.029239345",
226
+ "minValue": 2500,
227
+ "maxValue": 2550,
228
+ "score": 0.029239345,
229
+ "description": "X61값 2500~2550"
230
+ },
231
+ {
232
+ "name": "0.025116433",
233
+ "minValue": 2550,
234
+ "maxValue": 2600,
235
+ "score": 0.025116433,
236
+ "description": "X61값 2550~2600"
237
+ },
238
+ { "name": "0.02099352", "minValue": 2600, "maxValue": 2650, "score": 0.02099352, "description": "X61값 2600~2650" },
239
+ {
240
+ "name": "0.016870608",
241
+ "minValue": 2650,
242
+ "maxValue": 2700,
243
+ "score": 0.016870608,
244
+ "description": "X61값 2650~2700"
245
+ },
246
+ {
247
+ "name": "0.012747695",
248
+ "minValue": 2700,
249
+ "maxValue": 2750,
250
+ "score": 0.012747695,
251
+ "description": "X61값 2700~2750"
252
+ },
253
+ {
254
+ "name": "0.008624783",
255
+ "minValue": 2750,
256
+ "maxValue": 9999,
257
+ "score": 0.008624783,
258
+ "description": "X61값 2750 이상"
259
+ }
260
+ ]
261
+ }
@@ -0,0 +1,42 @@
1
+ {
2
+ "kpiName": "생산성성과 수준 평가",
3
+ "version": 1,
4
+ "description": "X62값 기반 등급 테이블 - 인력(장비) 투입 계획 수립 여부와 계획에 따른 이행, 업무별 적합한 인력 배분 등을 고려하여 해당 월 또는 분기에 생산성 성과에 대한 적성성을 종합적으로 평가",
5
+ "grades": [
6
+ {
7
+ "name": "1점",
8
+ "minValue": 0,
9
+ "maxValue": 1,
10
+ "score": 1,
11
+ "description": "인력 및 장비 투입 규모에 대한 효율성이 매우 미흡함."
12
+ },
13
+ {
14
+ "name": "2점",
15
+ "minValue": 1,
16
+ "maxValue": 2,
17
+ "score": 2,
18
+ "description": "인력 및 장비 투입 규모에 대한 효율성이 현장 규모 및 여건에 비해 미흡함."
19
+ },
20
+ {
21
+ "name": "3점",
22
+ "minValue": 2,
23
+ "maxValue": 3,
24
+ "score": 3,
25
+ "description": "인력 및 장비 투입 규모가 법적 요구 수준으로 효율성도 보통 수준"
26
+ },
27
+ {
28
+ "name": "4점",
29
+ "minValue": 3,
30
+ "maxValue": 4,
31
+ "score": 4,
32
+ "description": "인력 및 장비 투입 규모가 법적 요구 수준이지만, 효율성은 다소 높은 수준"
33
+ },
34
+ {
35
+ "name": "5점",
36
+ "minValue": 4,
37
+ "maxValue": 999,
38
+ "score": 5,
39
+ "description": "인력 및 장비 투입 규모가 법적 요구 수준에 비해 효율성이 확연히 높은 수준"
40
+ }
41
+ ]
42
+ }
@@ -0,0 +1 @@
1
+ export declare var migrations: any[];
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.migrations = void 0;
4
+ const glob = require('glob');
5
+ const path = require('path');
6
+ exports.migrations = [];
7
+ glob.sync(path.resolve(__dirname, '.', '**', '*.js')).forEach(function (file) {
8
+ if (file.indexOf('index.js') !== -1)
9
+ return;
10
+ exports.migrations = exports.migrations.concat(Object.values(require(path.resolve(file))) || []);
11
+ });
12
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/migrations/index.ts"],"names":[],"mappings":";;;AAAA,MAAM,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;AAC5B,MAAM,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;AAEjB,QAAA,UAAU,GAAG,EAAE,CAAA;AAE1B,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,UAAU,IAAI;IAC1E,IAAI,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;QAAE,OAAM;IAC3C,kBAAU,GAAG,kBAAU,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAA;AAClF,CAAC,CAAC,CAAA","sourcesContent":["const glob = require('glob')\nconst path = require('path')\n\nexport var migrations = []\n\nglob.sync(path.resolve(__dirname, '.', '**', '*.js')).forEach(function (file) {\n if (file.indexOf('index.js') !== -1) return\n migrations = migrations.concat(Object.values(require(path.resolve(file))) || [])\n})\n"]}