@anthor/entities-types 1.132.30 → 1.132.32
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/entities/Company.d.ts +22 -0
- package/package.json +2 -2
|
@@ -40,4 +40,26 @@ export interface Company extends BaseModel {
|
|
|
40
40
|
* See SDD chain-slug-schema for the full validation contract.
|
|
41
41
|
*/
|
|
42
42
|
slug?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Per-chain configuration subdocument. Only present when
|
|
45
|
+
* `type === CompanyTypes.CHAIN`. Additive/optional; existing callers access
|
|
46
|
+
* it via loose typing.
|
|
47
|
+
*/
|
|
48
|
+
chainConfig?: {
|
|
49
|
+
/**
|
|
50
|
+
* DEV-413 — mission-related rules enforced per chain.
|
|
51
|
+
*/
|
|
52
|
+
missionRules?: {
|
|
53
|
+
/**
|
|
54
|
+
* Daily worked-hours cap per chain (hours). Absent = no chain-level cap.
|
|
55
|
+
* Valid range: (0, 24].
|
|
56
|
+
*/
|
|
57
|
+
maxDailyHours?: number;
|
|
58
|
+
/**
|
|
59
|
+
* DEV-414 — Max consecutive calendar days a worker may operate in this
|
|
60
|
+
* chain. Absent = fall back to the universal default (6). Integer [1, 31].
|
|
61
|
+
*/
|
|
62
|
+
maxConsecutiveDays?: number;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
43
65
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anthor/entities-types",
|
|
3
|
-
"version": "1.132.
|
|
3
|
+
"version": "1.132.32",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "restricted"
|
|
6
6
|
},
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"geojson": "^0.5.0",
|
|
26
26
|
"jest-sonar-reporter": "^2.0.0"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "83b0e2111ba4bad9ae46067ea8732f18f0958073"
|
|
29
29
|
}
|