@things-factory/spc 8.0.6 → 9.0.0-beta.12

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,105 +0,0 @@
1
- import { ObjectType, Field, ID, Int, Float } from 'type-graphql'
2
-
3
- import { DataSet } from '@things-factory/dataset'
4
-
5
- @ObjectType()
6
- export class SPCChartPlot {
7
- @Field(type => ID)
8
- x: string
9
-
10
- @Field(type => [Float], { nullable: true })
11
- values?: number[]
12
-
13
- @Field(type => Float, { nullable: true })
14
- xbar?: number
15
-
16
- @Field(type => Float, { nullable: true })
17
- r?: number
18
-
19
- @Field(type => Float, { nullable: true })
20
- i?: number
21
-
22
- @Field(type => Float, { nullable: true })
23
- mr?: number
24
-
25
- @Field(type => Float, { nullable: true })
26
- n?: number
27
-
28
- @Field(type => Float, { nullable: true })
29
- defects?: number
30
- }
31
-
32
- @ObjectType()
33
- class SPCControlLimits {
34
- @Field(type => Float, { nullable: true })
35
- ucl?: number
36
-
37
- @Field(type => Float, { nullable: true })
38
- lcl?: number
39
-
40
- @Field(type => Float, { nullable: true })
41
- cl?: number
42
- }
43
-
44
- @ObjectType()
45
- class SPCSpecLimits {
46
- @Field(type => Float, { nullable: true })
47
- target?: number
48
-
49
- @Field(type => Float, { nullable: true })
50
- lsl?: number
51
-
52
- @Field(type => Float, { nullable: true })
53
- usl?: number
54
- }
55
-
56
- @ObjectType()
57
- export class SPCChartAnalysis {
58
- @Field()
59
- chartType: string
60
-
61
- @Field(type => SPCControlLimits, { nullable: true })
62
- controlLimits?: SPCControlLimits
63
-
64
- @Field(type => SPCSpecLimits, { nullable: true })
65
- specLimits?: SPCSpecLimits
66
-
67
- @Field(type => [SPCChartPlot], { nullable: true })
68
- plots?: SPCChartPlot[]
69
-
70
- // @Field(type => [Bin], { nullable: true })
71
- // bins?: Bin[]
72
-
73
- // @Field(type => [Category], { nullable: true })
74
- // categories?: Category[]
75
- }
76
-
77
- // @ObjectType()
78
- // class Bin {
79
- // @Field()
80
- // binRange: string
81
-
82
- // @Field()
83
- // count: number
84
- // }
85
-
86
- // @ObjectType()
87
- // class Category {
88
- // @Field()
89
- // category: string
90
-
91
- // @Field()
92
- // count: number
93
- // }
94
-
95
- @ObjectType()
96
- export class SPCChartAnalysisResult {
97
- @Field(type => DataSet)
98
- dataSet: DataSet
99
-
100
- @Field()
101
- variable: string
102
-
103
- @Field(type => [SPCChartAnalysis])
104
- charts: SPCChartAnalysis[]
105
- }
@@ -1,10 +0,0 @@
1
- {
2
- "extends": "../../tsconfig-base.json",
3
- "compilerOptions": {
4
- "strict": false,
5
- "module": "commonjs",
6
- "outDir": "../dist-server",
7
- "baseUrl": "./"
8
- },
9
- "include": ["./**/*"]
10
- }