@casomoltd/nhs-pay 0.33.0 → 0.34.0

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,13 +1,14 @@
1
1
  /**
2
- * The table shapes AfC pay circulars actually print.
2
+ * The table shapes AfC pay publishers actually print.
3
3
  *
4
- * Shared by the verbatim transcriptions in this directory because the
5
- * publishers genuinely share them, not to save typing: Wales and
6
- * Northern Ireland both print an "Entry step point / Years until
7
- * eligible for pay progression / Intermediate step point / Top step
8
- * point" table, with the same columns in the same order, so one type
9
- * describes both faithfully. Scotland prints something different and
10
- * has its own shapes below.
4
+ * Shared by the AfC verbatim transcriptions, the circulars in this
5
+ * directory and England's published page in `src/published/england-afc.ts`,
6
+ * because the publishers genuinely share them, not to save typing: NHS
7
+ * Employers, Wales and Northern Ireland all print an "Entry step point /
8
+ * Years until eligible for pay progression / Intermediate step point /
9
+ * Top step point" table, with the same columns in the same order, so one
10
+ * type describes them faithfully. Scotland prints something different
11
+ * and has its own shapes below.
11
12
  *
12
13
  * These describe the SOURCE, not the domain. A band is `'Band 8a'`
13
14
  * because that is what the page says; the mapping to an `AfcBandId`,
@@ -1 +1 @@
1
- {"version":3,"file":"afc-shapes.js","sourceRoot":"","sources":["../../src/circulars/afc-shapes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG"}
1
+ {"version":3,"file":"afc-shapes.js","sourceRoot":"","sources":["../../src/circulars/afc-shapes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG"}
@@ -11,8 +11,9 @@
11
11
  *
12
12
  * **This is the only AfC year Northern Ireland has published.** No
13
13
  * 2026/27 pay circular exists: the Health Minister stated a desire to
14
- * proceed with 3.3% on 12 February 2026 "subject to my budgetary
15
- * position", and as at the most recent Assembly answer (AQW
14
+ * proceed with 3.3% on 12 February 2026 (#sa-53), deliverable only
15
+ * "when clear about my budgetary position", and as at the most recent
16
+ * Assembly answer (AQW
16
17
  * 49635/22-27, 15 July 2026) he "cannot" pay it "until I have clarity
17
18
  * on my Department's budget". HSC staff are still on these rates.
18
19
  *
@@ -11,8 +11,9 @@
11
11
  *
12
12
  * **This is the only AfC year Northern Ireland has published.** No
13
13
  * 2026/27 pay circular exists: the Health Minister stated a desire to
14
- * proceed with 3.3% on 12 February 2026 "subject to my budgetary
15
- * position", and as at the most recent Assembly answer (AQW
14
+ * proceed with 3.3% on 12 February 2026 (#sa-53), deliverable only
15
+ * "when clear about my budgetary position", and as at the most recent
16
+ * Assembly answer (AQW
16
17
  * 49635/22-27, 15 July 2026) he "cannot" pay it "until I have clarity
17
18
  * on my Department's budget". HSC staff are still on these rates.
18
19
  *
@@ -1 +1 @@
1
- {"version":3,"file":"ni-hsc-afc-06-2025.js","sourceRoot":"","sources":["../../src/circulars/ni-hsc-afc-06-2025.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAIH,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,QAAQ,EAAE,mBAAmB;IAC7B,MAAM,EAAE,kBAAkB;IAC1B,MAAM,EAAE,YAAY;IACpB,aAAa,EAAE,YAAY;IAE3B,mCAAmC;IACnC,yDAAyD;IACzD,SAAS,EAAE;QACT;YACE,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE,KAAK;YACb,IAAI,EAAE,wBAAwB;SAC/B;QACD,EAAC,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAC;KACR;IAEzB,sCAAsC;IACtC,YAAY,EAAE;QACZ,EAAC,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,CAAC,EAAE,GAAG,EAAE,KAAK,EAAC;QAC1D,EAAC,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,CAAC,EAAE,GAAG,EAAE,KAAK,EAAC;QAC1D;YACE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,K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EAAmE;IACnE,mEAAmE;IACnE,6DAA6D;IAC7D,4DAA4D;CACpD,CAAC"}
package/dist/hcas-pcts.js CHANGED
@@ -8,7 +8,7 @@
8
8
  *
9
9
  * Browser-safe — no node:fs dependency.
10
10
  */
11
- // ── PCT data — Annex 8, HCAS payment zones ──
11
+ // ── PCT data — Annex 8, HCAS payment zones, Tables 12 to 14 ──
12
12
  // Source: "NHS Terms and Conditions of Service Handbook,
13
13
  // amendment 62" (#sa-41) — see docs/source-archive.md.
14
14
  const INNER_LONDON_PCTS = [
@@ -1 +1 @@
1
- {"version":3,"file":"hcas-pcts.js","sourceRoot":"","sources":["../src/hcas-pcts.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAIH,+CAA+C;AAC/C,yDAAyD;AACzD,uDAAuD;AAEvD,MAAM,iBAAiB,GAAsB;IAC3C,sBAAsB;IACtB,sBAAsB;IACtB,aAAa;IACb,QAAQ;IACR,WAAW;IACX,gBAAgB;IAChB,eAAe;IACf,SAAS;IACT,UAAU;IACV,WAAW;IACX,YAAY;CACb,CAAC;AAEF,MAAM,iBAAiB,GAAsB;IAC3C,OAAO;IACP,QAAQ;IACR,QAAQ;IACR,YAAY;IACZ,UAAU;IACV,QAAQ;IACR,SAAS;IACT,UAAU;IACV,oBAAoB;IACpB,UAAU;IACV,QAAQ;IACR,WAAW;IACX,iBAAiB;IACjB,QAAQ;IACR,SAAS;IACT,WAAW;IACX,SAAS;IACT,UAAU;IACV,uBAAuB;IACvB,iBAAiB;CAClB,CAAC;AAEF,MAAM,WAAW,GAAsB;IACrC,+BAA+B;IAC/B,UAAU;IACV,kCAAkC;IAClC,gBAAgB;IAChB,QAAQ;IACR,UAAU;IACV,SAAS;IACT,WAAW;IACX,yCAAyC;IACzC,0BAA0B;IAC1B,uBAAuB;IACvB,wBAAwB;IACxB,kBAAkB;IAClB,mBAAmB;IACnB,QAAQ;IACR,6BAA6B;IAC7B,WAAW;IACX,6BAA6B;IAC7B,aAAa;IACb,sBAA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gDAAgD;AAChD,MAAM,UAAU,WAAW,CACzB,GAAW;IAEX,OAAO,SAAS,CAAC,GAAG,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC,IAAI,IAAI,CAAC;AAClD,CAAC;AAED,oDAAoD;AACpD,MAAM,UAAU,WAAW;IACzB,MAAM,MAAM,GAAc,EAAE,CAAC;IAC7B,KAAK,MAAM,EAAC,IAAI,EAAE,IAAI,EAAC,IAAI,SAAS,EAAE,CAAC;QACrC,KAAK,MAAM,GAAG,IAAI,IAAI,EAAE,CAAC;YACvB,MAAM,CAAC,IAAI,CAAC,EAAC,IAAI,EAAE,GAAG,EAAC,CAAC,CAAC;QAC3B,CAAC;IACH,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- export { afcBand1 } from './afc-scales.js';
2
- export type { AfcBand1, AfcBand1Published } from './afc-scales.js';
1
+ export { afcBand1 } from './scales.js';
2
+ export type { AfcBand1, AfcBand1Published } from './scales.js';
3
3
  export { AFC_BANDS, AFC_BAND_IDS } from './afc-band.js';
4
4
  export type { AfcBandId } from './afc-band.js';
5
5
  export { WALES_LIVING_WAGE } from './published/wales-living-wage.js';
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // ── Scales ───────────────────────────────────────
2
- export { afcBand1 } from './afc-scales.js';
2
+ export { afcBand1 } from './scales.js';
3
3
  export { AFC_BANDS, AFC_BAND_IDS } from './afc-band.js';
4
4
  export { WALES_LIVING_WAGE } from './published/wales-living-wage.js';
5
5
  export { AFC_CURRENT_YEAR, AFC_PREVIOUS_YEAR, afcPointOf, getAfcScales, afcScaleSource, latestAfcYear, latestRoundLag, payRoundLag, isPayRoundInReach, isAwaitingPayAward, assertLatestRoundsInReach, afcPayYears, afcPayYearFor, AFC_PAY_YEAR_KINDS, } from './scales.js';
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index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}
@@ -17,13 +17,56 @@
17
17
  * untouched by those errors
18
18
  * - "Health Careers — AfC pay rates" (#sa-27)
19
19
  *
20
- * Each point is written through `afcPoint` as the year of service in which
21
- * a member first reaches it, England's labels being authored as years (see
22
- * `scales.ts` on point labels).
20
+ * Transcribed as the page prints each band: Band 1 as one figure, and
21
+ * every other band as an entry point, the "Years until" interval and a
22
+ * top point, Bands 5 to 9 with an intermediate step between. The point
23
+ * labels are derived from those intervals in `afc-scales.ts`, as every
24
+ * nation's are, so a mis-read interval shows as a wrong label that the
25
+ * fixture fails on.
23
26
  */
24
- import type { AfcBandId } from '../afc-band.js';
25
- import type { SteppedPoint } from '../scale-point.js';
26
- /** England's AfC ladder from 1 April 2025. */
27
- export declare const ENGLAND_AFC_2025_26: Record<AfcBandId, SteppedPoint[]>;
28
- /** England's AfC ladder from 1 April 2026. */
29
- export declare const ENGLAND_AFC_2026_27: Record<AfcBandId, SteppedPoint[]>;
27
+ /** England's AfC ladder from 1 April 2025, as printed in SA-25. */
28
+ export declare const ENGLAND_AFC_2025_26: {
29
+ readonly flatBands: {
30
+ band: string;
31
+ salary: number;
32
+ note: string;
33
+ }[];
34
+ readonly steppedBands: ({
35
+ band: string;
36
+ entry: number;
37
+ yearsToNext: number;
38
+ top: number;
39
+ intermediate?: undefined;
40
+ yearsToTop?: undefined;
41
+ } | {
42
+ band: string;
43
+ entry: number;
44
+ yearsToNext: number;
45
+ intermediate: number;
46
+ yearsToTop: number;
47
+ top: number;
48
+ })[];
49
+ };
50
+ /** England's AfC ladder from 1 April 2026, as printed in SA-26. */
51
+ export declare const ENGLAND_AFC_2026_27: {
52
+ readonly flatBands: {
53
+ band: string;
54
+ salary: number;
55
+ note: string;
56
+ }[];
57
+ readonly steppedBands: ({
58
+ band: string;
59
+ entry: number;
60
+ yearsToNext: number;
61
+ top: number;
62
+ intermediate?: undefined;
63
+ yearsToTop?: undefined;
64
+ } | {
65
+ band: string;
66
+ entry: number;
67
+ yearsToNext: number;
68
+ intermediate: number;
69
+ yearsToTop: number;
70
+ top: number;
71
+ })[];
72
+ };
@@ -17,126 +17,70 @@
17
17
  * untouched by those errors
18
18
  * - "Health Careers — AfC pay rates" (#sa-27)
19
19
  *
20
- * Each point is written through `afcPoint` as the year of service in which
21
- * a member first reaches it, England's labels being authored as years (see
22
- * `scales.ts` on point labels).
20
+ * Transcribed as the page prints each band: Band 1 as one figure, and
21
+ * every other band as an entry point, the "Years until" interval and a
22
+ * top point, Bands 5 to 9 with an intermediate step between. The point
23
+ * labels are derived from those intervals in `afc-scales.ts`, as every
24
+ * nation's are, so a mis-read interval shows as a wrong label that the
25
+ * fixture fails on.
23
26
  */
24
- import { afcPoint } from '../afc-scales.js';
25
- /** England's AfC ladder from 1 April 2025. */
27
+ /** England's AfC ladder from 1 April 2025, as printed in SA-25. */
26
28
  export const ENGLAND_AFC_2025_26 = {
27
- // Two points, both 24465. The publisher prints Band 2 with an
28
- // entry point, a 2-year progression interval and a top point,
29
- // and the wage floor has compressed the two to the same cash
30
- // figure — so the structure is published and the equality is
31
- // the fact, not a reason to collapse it. Wales's Band 2 is the
32
- // same shape and is modelled the same way.
33
- '2': [
34
- afcPoint(1, false, 24465),
35
- afcPoint(3, true, 24465),
36
- ],
37
- '3': [
38
- afcPoint(1, false, 24937),
39
- afcPoint(3, true, 26598),
40
- ],
41
- '4': [
42
- afcPoint(1, false, 27485),
43
- afcPoint(4, true, 30162),
44
- ],
45
- '5': [
46
- afcPoint(1, false, 31049),
47
- afcPoint(3, false, 33487),
48
- afcPoint(5, true, 37796),
49
- ],
50
- '6': [
51
- afcPoint(1, false, 38682),
52
- afcPoint(3, false, 40823),
53
- afcPoint(6, true, 46580),
54
- ],
55
- '7': [
56
- afcPoint(1, false, 47810),
57
- afcPoint(3, false, 50273),
58
- afcPoint(6, true, 54710),
59
- ],
60
- '8a': [
61
- afcPoint(1, false, 55690),
62
- afcPoint(3, false, 58487),
63
- afcPoint(6, true, 62682),
64
- ],
65
- '8b': [
66
- afcPoint(1, false, 64455),
67
- afcPoint(3, false, 68631),
68
- afcPoint(6, true, 74896),
69
- ],
70
- '8c': [
71
- afcPoint(1, false, 76965),
72
- afcPoint(3, false, 81652),
73
- afcPoint(6, true, 88682),
74
- ],
75
- '8d': [
76
- afcPoint(1, false, 91342),
77
- afcPoint(3, false, 96941),
78
- afcPoint(6, true, 105337),
79
- ],
80
- '9': [
81
- afcPoint(1, false, 109179),
82
- afcPoint(3, false, 115763),
83
- afcPoint(6, true, 125637),
29
+ flatBands: [
30
+ { band: 'Band 1', salary: 24465, note: 'closed to new entrants' },
31
+ ],
32
+ // Band 2's entry and top are the same figure: the wage floor has
33
+ // compressed the band, and the page still prints it as a progression,
34
+ // so it is transcribed as printed rather than collapsed to one point.
35
+ // Wales's Band 2 is the same shape.
36
+ steppedBands: [
37
+ { band: 'Band 2', entry: 24465, yearsToNext: 2, top: 24465 },
38
+ { band: 'Band 3', entry: 24937, yearsToNext: 2, top: 26598 },
39
+ { band: 'Band 4', entry: 27485, yearsToNext: 3, top: 30162 },
40
+ { band: 'Band 5', entry: 31049, yearsToNext: 2, intermediate: 33487,
41
+ yearsToTop: 2, top: 37796 },
42
+ { band: 'Band 6', entry: 38682, yearsToNext: 2, intermediate: 40823,
43
+ yearsToTop: 3, top: 46580 },
44
+ { band: 'Band 7', entry: 47810, yearsToNext: 2, intermediate: 50273,
45
+ yearsToTop: 3, top: 54710 },
46
+ { band: 'Band 8a', entry: 55690, yearsToNext: 2, intermediate: 58487,
47
+ yearsToTop: 3, top: 62682 },
48
+ { band: 'Band 8b', entry: 64455, yearsToNext: 2, intermediate: 68631,
49
+ yearsToTop: 3, top: 74896 },
50
+ { band: 'Band 8c', entry: 76965, yearsToNext: 2, intermediate: 81652,
51
+ yearsToTop: 3, top: 88682 },
52
+ { band: 'Band 8d', entry: 91342, yearsToNext: 2, intermediate: 96941,
53
+ yearsToTop: 3, top: 105337 },
54
+ { band: 'Band 9', entry: 109179, yearsToNext: 2, intermediate: 115763,
55
+ yearsToTop: 3, top: 125637 },
84
56
  ],
85
57
  };
86
- /** England's AfC ladder from 1 April 2026. */
58
+ /** England's AfC ladder from 1 April 2026, as printed in SA-26. */
87
59
  export const ENGLAND_AFC_2026_27 = {
88
- // Two points, both 25272: the same published shape as 2025-26's.
89
- '2': [
90
- afcPoint(1, false, 25272),
91
- afcPoint(3, true, 25272),
92
- ],
93
- '3': [
94
- afcPoint(1, false, 25760),
95
- afcPoint(3, true, 27476),
96
- ],
97
- '4': [
98
- afcPoint(1, false, 28392),
99
- afcPoint(4, true, 31157),
100
- ],
101
- '5': [
102
- afcPoint(1, false, 32073),
103
- afcPoint(3, false, 34592),
104
- afcPoint(5, true, 39043),
105
- ],
106
- '6': [
107
- afcPoint(1, false, 39959),
108
- afcPoint(3, false, 42170),
109
- afcPoint(6, true, 48117),
110
- ],
111
- '7': [
112
- afcPoint(1, false, 49387),
113
- afcPoint(3, false, 51932),
114
- afcPoint(6, true, 56515),
115
- ],
116
- '8a': [
117
- afcPoint(1, false, 57528),
118
- afcPoint(3, false, 60417),
119
- afcPoint(6, true, 64750),
120
- ],
121
- '8b': [
122
- afcPoint(1, false, 66582),
123
- afcPoint(3, false, 70896),
124
- afcPoint(6, true, 77368),
125
- ],
126
- '8c': [
127
- afcPoint(1, false, 79504),
128
- afcPoint(3, false, 84346),
129
- afcPoint(6, true, 91609),
130
- ],
131
- '8d': [
132
- afcPoint(1, false, 94356),
133
- afcPoint(3, false, 100140),
134
- afcPoint(6, true, 108814),
135
- ],
136
- '9': [
137
- afcPoint(1, false, 112782),
138
- afcPoint(3, false, 119583),
139
- afcPoint(6, true, 129783),
60
+ flatBands: [
61
+ { band: 'Band 1', salary: 25272, note: 'closed to new entrants' },
62
+ ],
63
+ // Band 2: the same compressed, printed-as-a-progression shape as 2025-26.
64
+ steppedBands: [
65
+ { band: 'Band 2', entry: 25272, yearsToNext: 2, top: 25272 },
66
+ { band: 'Band 3', entry: 25760, yearsToNext: 2, top: 27476 },
67
+ { band: 'Band 4', entry: 28392, yearsToNext: 3, top: 31157 },
68
+ { band: 'Band 5', entry: 32073, yearsToNext: 2, intermediate: 34592,
69
+ yearsToTop: 2, top: 39043 },
70
+ { band: 'Band 6', entry: 39959, yearsToNext: 2, intermediate: 42170,
71
+ yearsToTop: 3, top: 48117 },
72
+ { band: 'Band 7', entry: 49387, yearsToNext: 2, intermediate: 51932,
73
+ yearsToTop: 3, top: 56515 },
74
+ { band: 'Band 8a', entry: 57528, yearsToNext: 2, intermediate: 60417,
75
+ yearsToTop: 3, top: 64750 },
76
+ { band: 'Band 8b', entry: 66582, yearsToNext: 2, intermediate: 70896,
77
+ yearsToTop: 3, top: 77368 },
78
+ { band: 'Band 8c', entry: 79504, yearsToNext: 2, intermediate: 84346,
79
+ yearsToTop: 3, top: 91609 },
80
+ { band: 'Band 8d', entry: 94356, yearsToNext: 2, intermediate: 100140,
81
+ yearsToTop: 3, top: 108814 },
82
+ { band: 'Band 9', entry: 112782, yearsToNext: 2, intermediate: 119583,
83
+ yearsToTop: 3, top: 129783 },
140
84
  ],
141
85
  };
142
86
  //# sourceMappingURL=england-afc.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"england-afc.js","sourceRoot":"","sources":["../../src/published/england-afc.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAGH,OAAO,EAAC,QAAQ,EAAC,MAAM,kBAAkB,CAAC;AAG1C,8CAA8C;AAC9C,MAAM,CAAC,MAAM,mBAAmB,GAAsC;IACpE,8DAA8D;IAC9D,8DAA8D;IAC9D,6DAA6D;IAC7D,6DAA6D;IAC7D,+DAA+D;IAC/D,2CAA2C;IAC3C,GAAG,EAAE;QACH,QAAQ,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC;QACzB,QAAQ,CAAC,CAAC,EAAE,IAAI,EAAE,KAAK,CAAC;KACzB;IACD,GAAG,EAAE;QACH,QAAQ,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC;QACzB,QA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YAAY,EAAE,MAAM;YAClE,UAAU,EAAE,CAAC,EAAE,GAAG,EAAE,MAAM,EAAC;KACH;CACpB,CAAC"}
package/dist/scales.d.ts CHANGED
@@ -14,7 +14,8 @@
14
14
  *
15
15
  * England publishes no AfC circular, so its tables are transcribed from
16
16
  * the publisher's page in `src/published/england-afc.ts` (the README's
17
- * AfC pay scales rule). The HCAS zones and the Welsh living-wage floor sit beside it
17
+ * AfC pay scales rule) and translated by `afc-scales.ts` like the
18
+ * others. The HCAS zones and the Welsh living-wage floor sit beside it
18
19
  * in `src/published/`, each citing its own
19
20
  * source. The other three nations' sources are cited in their own
20
21
  * circular files, beside the data they justify — including the warning
@@ -25,10 +26,11 @@
25
26
  * the year of service in which a member first reaches it: increment 1
26
27
  * is `Year 1`, and the top point takes a `+` because service continues
27
28
  * past it. No publisher prints such a label; every one is our reading
28
- * of an interval the publisher does print. For the three circular
29
- * nations the year is derived in `afc-scales.ts` from the transcribed
30
- * interval; England's are authored as years in `published/`. All four go through
31
- * `afcPoint`, which writes the label and the year from one number, so
29
+ * of an interval the publisher does print. For all four nations the
30
+ * year is derived in `afc-scales.ts`, from the transcribed interval
31
+ * (England, Wales, Northern Ireland) or Annex C's yearly increment
32
+ * (Scotland), through `afcPoint`, which writes the label and the year
33
+ * from one number, so
32
34
  * a label and the timing a pay path reads from it cannot disagree.
33
35
  *
34
36
  * Labels are lookup keys for `afcResolver.fromScalePoint`, so changing
@@ -41,6 +43,7 @@ import type { Nation, PayYear, TaxYear } from '@casomoltd/paye-calc';
41
43
  import type { DocumentSource } from './document-source.js';
42
44
  import type { PayLadder, SteppedPoint } from './scale-point.js';
43
45
  import type { SalaryRange } from './values.js';
46
+ import type { PrintedBand1 } from './afc-scales.js';
44
47
  import type { AfcBandId } from './afc-band.js';
45
48
  import type { SchemeYearEnd } from './pension/scheme-year.js';
46
49
  /** What {@link afcPayYearFor} finds for a scheme year. */
@@ -64,6 +67,17 @@ export type AfcPayYearLookup = {
64
67
  } | {
65
68
  readonly kind: typeof AFC_PAY_YEAR_KINDS.awaited;
66
69
  };
70
+ /** Band 1 for a nation and pay year: the figure and status its publisher
71
+ * prints, with the year and source it is held under. */
72
+ export interface AfcBand1 extends PrintedBand1 {
73
+ readonly year: PayYear;
74
+ readonly source: DocumentSource;
75
+ }
76
+ /** A band's nation, attached from the key it is stored under rather
77
+ * than stored beside it — one fact, one producer. */
78
+ export interface AfcBand1Published extends AfcBand1 {
79
+ readonly nation: Nation;
80
+ }
67
81
  /** One AfC band's published ladder for a nation and year. */
68
82
  export interface AfcBandMeta {
69
83
  band: AfcBandId;
@@ -101,6 +115,17 @@ export declare const AFC_PREVIOUS_YEAR: PayYear;
101
115
  * never defaults a locale, since a forgotten `nation` would silently
102
116
  * return England figures for every region. */
103
117
  export declare function getAfcScales(year: PayYear, nation: Nation): AfcBandMeta[];
118
+ /**
119
+ * Band 1 for a nation and pay year. Throws {@link ScaleUnavailable} for a
120
+ * year that nation has not published, as {@link getAfcScales} does, so
121
+ * the two reads of one ladder fail the same way.
122
+ *
123
+ * Deliberately NOT part of `AFC_BANDS` or the scale list. Band 1 joining
124
+ * either shifts every index that reads the list by position, and this
125
+ * needs to shift nothing — it is a lookup beside the ladder, not a rung
126
+ * added to it.
127
+ */
128
+ export declare function afcBand1(year: PayYear, nation: Nation): AfcBand1Published;
104
129
  /** One band's published ladder for a pay year and nation. Every band is
105
130
  * on every ladder (a nation-year's scales are total over the bands), so
106
131
  * only the year and nation can be unpublished, which throws
@@ -133,7 +158,7 @@ export declare function afcPayYears(nation: Nation): PayYear[];
133
158
  * The most recent year a nation has actually published AfC scales for.
134
159
  *
135
160
  * Nations do not move together: Northern Ireland's latest is a round
136
- * behind the others (see `NI_SCALES_2025_26` in `afc-scales.ts`). A
161
+ * behind the others (see `NI_TABLES_2025_26` in `afc-scales.ts`). A
137
162
  * consumer that asks for a site-wide "current year" gets
138
163
  * `ScaleUnavailable` there, which is correct but is not an answer; this
139
164
  * is the answer.
package/dist/scales.js CHANGED
@@ -14,7 +14,8 @@
14
14
  *
15
15
  * England publishes no AfC circular, so its tables are transcribed from
16
16
  * the publisher's page in `src/published/england-afc.ts` (the README's
17
- * AfC pay scales rule). The HCAS zones and the Welsh living-wage floor sit beside it
17
+ * AfC pay scales rule) and translated by `afc-scales.ts` like the
18
+ * others. The HCAS zones and the Welsh living-wage floor sit beside it
18
19
  * in `src/published/`, each citing its own
19
20
  * source. The other three nations' sources are cited in their own
20
21
  * circular files, beside the data they justify — including the warning
@@ -25,10 +26,11 @@
25
26
  * the year of service in which a member first reaches it: increment 1
26
27
  * is `Year 1`, and the top point takes a `+` because service continues
27
28
  * past it. No publisher prints such a label; every one is our reading
28
- * of an interval the publisher does print. For the three circular
29
- * nations the year is derived in `afc-scales.ts` from the transcribed
30
- * interval; England's are authored as years in `published/`. All four go through
31
- * `afcPoint`, which writes the label and the year from one number, so
29
+ * of an interval the publisher does print. For all four nations the
30
+ * year is derived in `afc-scales.ts`, from the transcribed interval
31
+ * (England, Wales, Northern Ireland) or Annex C's yearly increment
32
+ * (Scotland), through `afcPoint`, which writes the label and the year
33
+ * from one number, so
32
34
  * a label and the timing a pay path reads from it cannot disagree.
33
35
  *
34
36
  * Labels are lookup keys for `afcResolver.fromScalePoint`, so changing
@@ -42,9 +44,8 @@ import { ScaleUnavailable, invariant } from './errors.js';
42
44
  import { AFC_ENGLAND_SCALES_2025, AFC_ENGLAND_SCALES_2026, AFC_NI_2025, AFC_SCOTLAND, AFC_W_02_2025, AFC_W_02_2026, } from './sources.js';
43
45
  import { onlyPointLabelled } from './scale-point.js';
44
46
  import { salaryRangeOf } from './values.js';
45
- import { NI_SCALES_2025_26, SCOTLAND_SCALES_2025_26, SCOTLAND_SCALES_2026_27, WALES_SCALES_2025_26, WALES_SCALES_2026_27, } from './afc-scales.js';
47
+ import { ENGLAND_TABLES_2025_26, ENGLAND_TABLES_2026_27, NI_TABLES_2025_26, SCOTLAND_TABLES_2025_26, SCOTLAND_TABLES_2026_27, WALES_TABLES_2025_26, WALES_TABLES_2026_27, } from './afc-scales.js';
46
48
  import { AFC_BAND_IDS } from './afc-band.js';
47
- import { ENGLAND_AFC_2025_26, ENGLAND_AFC_2026_27 } from './published/england-afc.js';
48
49
  import { schemeYearOfPayYear } from './pay-year.js';
49
50
  /** What {@link afcPayYearFor} finds for a scheme year. */
50
51
  export const AFC_PAY_YEAR_KINDS = {
@@ -70,29 +71,30 @@ export const AFC_PAY_YEAR_KINDS = {
70
71
  * figures matching England's is a fact about the two publishers rather
71
72
  * than a licence to cite one for the other.
72
73
  *
73
- * Scotland, Wales and Northern Ireland take their points from their
74
- * verbatim circulars through `afc-scales.ts`, which also holds each
75
- * circular's notes; England's are transcribed in `published/`.
74
+ * Every nation's points come through `afc-scales.ts`: the three devolved
75
+ * nations from their verbatim circulars, England from its NHS Employers
76
+ * page in `published/`. Each record carries the nation-year's Band 1
77
+ * beside its ladder, so a new round is one entry here.
76
78
  */
77
79
  const AFC_SCALE_YEARS = {
78
80
  [NATION_KEYS.england]: {
79
- [YEAR_LABELS.Y2025_26]: { scales: ENGLAND_AFC_2025_26, source: AFC_ENGLAND_SCALES_2025 },
80
- [YEAR_LABELS.Y2026_27]: { scales: ENGLAND_AFC_2026_27, source: AFC_ENGLAND_SCALES_2026 },
81
+ [YEAR_LABELS.Y2025_26]: { ...ENGLAND_TABLES_2025_26, source: AFC_ENGLAND_SCALES_2025 },
82
+ [YEAR_LABELS.Y2026_27]: { ...ENGLAND_TABLES_2026_27, source: AFC_ENGLAND_SCALES_2026 },
81
83
  },
82
84
  [NATION_KEYS.northernIreland]: {
83
- // One year: NI has issued no 2026-27 circular (see NI_SCALES_2025_26).
84
- [YEAR_LABELS.Y2025_26]: { scales: NI_SCALES_2025_26, source: AFC_NI_2025 },
85
+ // One year: NI has issued no 2026-27 circular (see NI_TABLES_2025_26).
86
+ [YEAR_LABELS.Y2025_26]: { ...NI_TABLES_2025_26, source: AFC_NI_2025 },
85
87
  },
86
88
  [NATION_KEYS.scotland]: {
87
89
  // One circular restates both years: PCS(AFC)2026/1 revised the
88
90
  // 2025-26 figure when the inflation guarantee triggered and restates
89
91
  // 2026-27, so it is current for each.
90
- [YEAR_LABELS.Y2025_26]: { scales: SCOTLAND_SCALES_2025_26, source: AFC_SCOTLAND },
91
- [YEAR_LABELS.Y2026_27]: { scales: SCOTLAND_SCALES_2026_27, source: AFC_SCOTLAND },
92
+ [YEAR_LABELS.Y2025_26]: { ...SCOTLAND_TABLES_2025_26, source: AFC_SCOTLAND },
93
+ [YEAR_LABELS.Y2026_27]: { ...SCOTLAND_TABLES_2026_27, source: AFC_SCOTLAND },
92
94
  },
93
95
  [NATION_KEYS.wales]: {
94
- [YEAR_LABELS.Y2025_26]: { scales: WALES_SCALES_2025_26, source: AFC_W_02_2025 },
95
- [YEAR_LABELS.Y2026_27]: { scales: WALES_SCALES_2026_27, source: AFC_W_02_2026 },
96
+ [YEAR_LABELS.Y2025_26]: { ...WALES_TABLES_2025_26, source: AFC_W_02_2025 },
97
+ [YEAR_LABELS.Y2026_27]: { ...WALES_TABLES_2026_27, source: AFC_W_02_2026 },
96
98
  },
97
99
  };
98
100
  /**
@@ -131,6 +133,20 @@ export function getAfcScales(year, nation) {
131
133
  source,
132
134
  }));
133
135
  }
136
+ /**
137
+ * Band 1 for a nation and pay year. Throws {@link ScaleUnavailable} for a
138
+ * year that nation has not published, as {@link getAfcScales} does, so
139
+ * the two reads of one ladder fail the same way.
140
+ *
141
+ * Deliberately NOT part of `AFC_BANDS` or the scale list. Band 1 joining
142
+ * either shifts every index that reads the list by position, and this
143
+ * needs to shift nothing — it is a lookup beside the ladder, not a rung
144
+ * added to it.
145
+ */
146
+ export function afcBand1(year, nation) {
147
+ const { band1, source } = getScalesForYear(year, nation);
148
+ return { ...band1, year, source, nation };
149
+ }
134
150
  /** One band's published ladder for a pay year and nation. Every band is
135
151
  * on every ladder (a nation-year's scales are total over the bands), so
136
152
  * only the year and nation can be unpublished, which throws
@@ -178,7 +194,7 @@ export function afcPayYears(nation) {
178
194
  * The most recent year a nation has actually published AfC scales for.
179
195
  *
180
196
  * Nations do not move together: Northern Ireland's latest is a round
181
- * behind the others (see `NI_SCALES_2025_26` in `afc-scales.ts`). A
197
+ * behind the others (see `NI_TABLES_2025_26` in `afc-scales.ts`). A
182
198
  * consumer that asks for a site-wide "current year" gets
183
199
  * `ScaleUnavailable` there, which is correct but is not an answer; this
184
200
  * is the answer.
@@ -337,10 +353,10 @@ function previousAfcYear(nation) {
337
353
  * substituting another year's or nation's figures. */
338
354
  function getScalesForYear(year, nation) {
339
355
  const key = year;
340
- const base = AFC_SCALE_YEARS[nation][key];
341
- if (!base) {
356
+ const held = AFC_SCALE_YEARS[nation][key];
357
+ if (!held) {
342
358
  throw new ScaleUnavailable(nation, year);
343
359
  }
344
- return base;
360
+ return held;
345
361
  }
346
362
  //# sourceMappingURL=scales.js.map