eyecite-ts 0.30.0 → 0.32.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.
package/README.md CHANGED
@@ -151,6 +151,10 @@ if (citations[0].type === "case") {
151
151
  citations[0].parallelCitations
152
152
  // [{ volume: 93, reporter: 'S. Ct.', page: 705 },
153
153
  // { volume: 35, reporter: 'L. Ed. 2d', page: 147 }]
154
+
155
+ // Every member also carries the group by stable id (doc order, incl. self),
156
+ // so byId() resolves the full sibling citations (not lossy value-copies):
157
+ citations[0].parallelGroup // { memberIds: ['c0', 'c1', 'c2'] }
154
158
  }
155
159
  ```
156
160
 
@@ -185,6 +189,12 @@ const [cite] = extractCitations(text)
185
189
  if (cite.type === "case") {
186
190
  cite.subsequentHistoryEntries
187
191
  // [{ signal: 'affirmed', rawSignal: "aff'd", signalSpan: { ... }, order: 0 }]
192
+
193
+ // Ordered chain (root → latest), shared by every member, keyed by stable id:
194
+ cite.historyChain
195
+ // { links: [{ citationId: 'c0' }, { citationId: 'c1', signal: 'affirmed' }] }
196
+ // The back-reference also carries the parent's id alongside the numeric index:
197
+ // cite.subsequentHistoryOf // { index, priorId, signal }
188
198
  }
189
199
  ```
190
200
 
@@ -208,6 +218,24 @@ if (cite.type === "case") {
208
218
 
209
219
  Classification types: `holding`, `finding`, `stating`, `noting`, `explaining`, `quoting`, `citing`, `discussing`, `describing`, `recognizing`, `applying`, `rejecting`, `adopting`, `requiring`, `other`.
210
220
 
221
+ A citation nested inside an explanatory parenthetical — e.g. the `Doe v. City, 100 F.2d 1` in `(quoting Doe v. City, 100 F.2d 1)` — is linked onto its host parenthetical's `citations` array as a child citation (with its own stable `id`):
222
+
223
+ ```typescript
224
+ const text = "Smith v. Jones, 200 F.3d 100 (2d Cir. 2000) (quoting Doe v. City, 100 F.2d 1)."
225
+ const [smith] = extractCitations(text)
226
+ smith.parentheticals?.[0].citations
227
+ // [ FullCaseCitation { caseName: "Doe v. City", reporter: "F.2d", page: 1, … } ]
228
+ ```
229
+
230
+ By default this is **additive and non-breaking**: the nested cite is also kept as a top-level result, so a later case short form can still resolve to a case first cited in a parenthetical (Bluebook Rule 10.9(a)). Pass `{ excludeParentheticalChildren: true }` for the strict subordinate model — the nested cite is removed from the top-level array and reachable only via its host's `parentheticals[].citations`:
231
+
232
+ ```typescript
233
+ extractCitations(text).length // 2 (Smith + Doe)
234
+ extractCitations(text, { excludeParentheticalChildren: true }).length // 1 (Smith; Doe is a child)
235
+ ```
236
+
237
+ Either way, `Id.`/`supra` never resolve to a parenthetical-nested citation (Bluebook Rule 4.1/4.2) — only the host authority.
238
+
211
239
  ### Citation Annotation
212
240
 
213
241
  Mark up citations with HTML using template or callback modes:
@@ -256,6 +284,8 @@ cite.signal // "see also"
256
284
 
257
285
  Recognized signals: `see`, `see also`, `see generally`, `cf`, `but see`, `but cf`, `compare`, `accord`, `contra`, `e.g.`, and combined forms (`see, e.g.`, `see also, e.g.`, `but see, e.g.`, `cf., e.g.`, `but cf., e.g.`).
258
286
 
287
+ Citations chained for one proposition (`See A; B; C`) form a **string-citation group** — each member carries `stringCitationGroup` (all member ids in document order, incl. self, keyed by stable id) plus the group's leading signal.
288
+
259
289
  ### Court Inference
260
290
 
261
291
  Case citations carry a `inferredCourt` field derived from the reporter series:
@@ -1,4 +1,4 @@
1
- import { n as Citation } from "../citation-t5DPIzyE.cjs";
1
+ import { n as Citation } from "../citation-CeTGuBrI.cjs";
2
2
 
3
3
  //#region src/annotate/types.d.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { n as Citation } from "../citation-Dx71V5wD.mjs";
1
+ import { n as Citation } from "../citation-B6HQjAiG.mjs";
2
2
 
3
3
  //#region src/annotate/types.d.ts
4
4
  /**
@@ -403,6 +403,17 @@ interface Warning {
403
403
  */
404
404
  type CitationSignal = "see" | "see also" | "see generally" | "cf" | "but see" | "but cf" | "compare" | "accord" | "contra" | "e.g." | "see, e.g." | "see also, e.g." | "but see, e.g." | "cf., e.g." | "but cf., e.g.";
405
405
  /**
406
+ * A string-citation group (#857): citations chained for one proposition
407
+ * (`See A; B; C`). Members reference all members (including self) by stable
408
+ * `CitationId` in document order; `signal` is the group's leading signal. Built
409
+ * in the structuring pass; the flat `stringCitationGroupId` / `stringCitationIndex`
410
+ * / `stringCitationGroupSize` fields are retained alongside it.
411
+ */
412
+ interface StringCitationGroup {
413
+ memberIds: CitationId[];
414
+ signal?: CitationSignal;
415
+ }
416
+ /**
406
417
  * Base fields shared by all citation types.
407
418
  */
408
419
  interface CitationBase {
@@ -441,6 +452,12 @@ interface CitationBase {
441
452
  stringCitationIndex?: number;
442
453
  /** Total number of citations in this string citation group */
443
454
  stringCitationGroupSize?: number;
455
+ /**
456
+ * String-citation group (#857): all members (incl. self) by stable id, in
457
+ * document order, plus the group's leading signal. Survives consumer
458
+ * `filter`/`sort`/`map`. See {@link StringCitationGroup}.
459
+ */
460
+ stringCitationGroup?: StringCitationGroup;
444
461
  /** Whether this citation appears in a footnote (only populated when detectFootnotes enabled) */
445
462
  inFootnote?: boolean;
446
463
  /** Footnote number, if applicable (only populated when detectFootnotes enabled) */
@@ -481,6 +498,21 @@ interface Parenthetical {
481
498
  type: ParentheticalType;
482
499
  /** Position of full parenthetical block including delimiters */
483
500
  span?: Span;
501
+ /**
502
+ * Child citations nested within this explanatory parenthetical — e.g. the
503
+ * `Doe v. City, 100 F.2d 1` in `(quoting Doe v. City, 100 F.2d 1)` (#851).
504
+ * Each child carries its own stable {@link CitationId}, may be any citation
505
+ * type (not only cases), and may itself carry parentheticals (recursive). Per
506
+ * Bluebook Rule 1.5(b) such a cite is a subordinate component of the host
507
+ * citation, not a free-standing one.
508
+ *
509
+ * Populated additively by default: the child is ALSO a top-level result, so it
510
+ * stays reachable via `byId`. With `excludeParentheticalChildren`, the child
511
+ * is removed from the top-level array and reachable ONLY by traversing here
512
+ * (it is then absent from `byId(result)`). Either way, `Id.`/`supra` never
513
+ * resolve to a paren-child (Bluebook Rule 4.1/4.2).
514
+ */
515
+ citations?: Citation[];
484
516
  }
485
517
  /**
486
518
  * Normalized subsequent history signal classification.
@@ -516,6 +548,32 @@ interface SubsequentHistoryEntry {
516
548
  * @example "500 F.2d 123"
517
549
  * @example "410 U.S. 113, 115"
518
550
  */
551
+ /**
552
+ * One link in a subsequent-history chain (#849): the case at this position, plus
553
+ * the disposition signal that led TO it. The chain root has no inbound `signal`.
554
+ */
555
+ interface HistoryLink {
556
+ citationId: CitationId;
557
+ signal?: HistorySignal;
558
+ }
559
+ /**
560
+ * A subsequent-history chain (#849), ordered root → latest. Built post-id-assignment
561
+ * in the structuring pass and attached (shared) to every member, so a consumer can
562
+ * read the whole chain from any link. References members by stable `CitationId`,
563
+ * so it survives `filter`/`sort`/`map` of the result array.
564
+ */
565
+ interface HistoryChain {
566
+ links: HistoryLink[];
567
+ }
568
+ /**
569
+ * A parallel-citation group (#850): the same case reported in multiple reporters.
570
+ * Every member references all members (including itself) by stable `CitationId`,
571
+ * in document order. Built in the structuring pass; the flat `groupId` label and
572
+ * `parallelCitations` array are retained alongside it.
573
+ */
574
+ interface ParallelGroup {
575
+ memberIds: CitationId[];
576
+ }
519
577
  interface FullCaseCitation extends CitationBase {
520
578
  type: "case";
521
579
  volume: number | string;
@@ -545,6 +603,11 @@ interface FullCaseCitation extends CitationBase {
545
603
  * @example "410-U.S.-113" for parallel group [410 U.S. 113, 93 S. Ct. 705]
546
604
  */
547
605
  groupId?: string;
606
+ /**
607
+ * Parallel-citation group (#850): all members (incl. self) by stable id, in
608
+ * document order. Survives consumer `filter`/`sort`/`map`. See {@link ParallelGroup}.
609
+ */
610
+ parallelGroup?: ParallelGroup;
548
611
  /** Parallel citations for same case in different reporters */
549
612
  parallelCitations?: Array<{
550
613
  volume: number | string;
@@ -572,6 +635,13 @@ interface FullCaseCitation extends CitationBase {
572
635
  */
573
636
  subsequentHistoryEntries?: SubsequentHistoryEntry[];
574
637
  /**
638
+ * Ordered subsequent-history chain (root → latest), shared by every member of
639
+ * the chain (#849). Built in the structuring pass; references members by stable
640
+ * id. The flat `subsequentHistoryOf` / `subsequentHistoryEntries` fields are
641
+ * retained alongside it. See {@link HistoryChain}.
642
+ */
643
+ historyChain?: HistoryChain;
644
+ /**
575
645
  * Back-pointer indicating this citation is a subsequent history citation.
576
646
  * `index` is the parent's position in the results array returned by
577
647
  * `extractCitations()` — it becomes invalid if the array is filtered or reordered.
@@ -579,6 +649,7 @@ interface FullCaseCitation extends CitationBase {
579
649
  */
580
650
  subsequentHistoryOf?: {
581
651
  index: number;
652
+ priorId?: CitationId;
582
653
  signal: HistorySignal;
583
654
  };
584
655
  /**
@@ -1359,6 +1430,11 @@ interface IdCitation extends CitationBase {
1359
1430
  */
1360
1431
  pinciteInheritedFrom?: number;
1361
1432
  /**
1433
+ * Stable id of the `pinciteInheritedFrom` citation (#860). Survives consumer
1434
+ * `filter`/`sort`/`map` (keys on identity, not array position).
1435
+ */
1436
+ pinciteInheritedFromId?: CitationId;
1437
+ /**
1362
1438
  * Trailing parenthetical content (text between the parens, excluding the
1363
1439
  * parens themselves) captured from `Id. at N (...)` forms. Common values
1364
1440
  * include drop-citation markers (`citation omitted`, `internal quotation
@@ -1418,6 +1494,11 @@ interface SupraCitation extends CitationBase {
1418
1494
  */
1419
1495
  pinciteInheritedFrom?: number;
1420
1496
  /**
1497
+ * Stable id of the `pinciteInheritedFrom` citation (#860). Survives consumer
1498
+ * `filter`/`sort`/`map` (keys on identity, not array position).
1499
+ */
1500
+ pinciteInheritedFromId?: CitationId;
1501
+ /**
1421
1502
  * Trailing parenthetical content (text between the parens, excluding the
1422
1503
  * parens themselves). See `IdCitation.parenthetical` for common shapes
1423
1504
  * and rationale. #303
@@ -1456,6 +1537,11 @@ interface ShortFormCaseCitation extends CitationBase {
1456
1537
  */
1457
1538
  pinciteInheritedFrom?: number;
1458
1539
  /**
1540
+ * Stable id of the `pinciteInheritedFrom` citation (#860). Survives consumer
1541
+ * `filter`/`sort`/`map` (keys on identity, not array position).
1542
+ */
1543
+ pinciteInheritedFromId?: CitationId;
1544
+ /**
1459
1545
  * Case name inferred from prose preceding this short-form when no full
1460
1546
  * citation in `citations[]` matched its vol+reporter. Populated by the
1461
1547
  * resolver fallback for the "In Smith v. Jones... Smith, 100 F.2d at 200"
@@ -1537,5 +1623,5 @@ type CitationOfType<T extends CitationType> = Extract<Citation, {
1537
1623
  */
1538
1624
  type ExtractorMap = { [K in FullCitationType]: CitationOfType<K> };
1539
1625
  //#endregion
1540
- export { StatutesAtLargeCitation as A, JournalComponentSpans as B, PublicLawCitation as C, ShortFormCitation as D, ShortFormCaseCitation as E, AnnotationComponentSpans as F, StatutesAtLargeComponentSpans as G, PublicLawComponentSpans as H, CaseComponentSpans as I, TransformationMap as J, TreatiseComponentSpans as K, ConstitutionalComponentSpans as L, SupraCitation as M, TreatiseCitation as N, ShortFormCitationType as O, Warning as P, FederalRegisterComponentSpans as R, ParentheticalType as S, RestatementCitation as T, RestatementComponentSpans as U, NeutralComponentSpans as V, StatuteComponentSpans as W, PinciteInfo as X, spanFromGroupIndex as Y, parsePincite as Z, HistorySignal as _, CitationOfType as a, NeutralCitation as b, ConstitutionalCitation as c, ExtractorMap as d, FederalRegisterCitation as f, FullCitationType as g, FullCitation as h, CitationId as i, SubsequentHistoryEntry as j, StatuteCitation as k, CourtInference as l, FullCaseCitation as m, Citation as n, CitationSignal as o, FederalRuleCitation as p, Span as q, CitationBase as r, CitationType as s, AnnotationCitation as t, DocketCitation as u, IdCitation as v, RegulationCitation as w, Parenthetical as x, JournalCitation as y, FederalRuleComponentSpans as z };
1541
- //# sourceMappingURL=citation-Dx71V5wD.d.mts.map
1626
+ export { spanFromGroupIndex as $, ShortFormCitation as A, CaseComponentSpans as B, ParallelGroup as C, RegulationCitation as D, PublicLawCitation as E, SubsequentHistoryEntry as F, NeutralComponentSpans as G, FederalRegisterComponentSpans as H, SupraCitation as I, StatuteComponentSpans as J, PublicLawComponentSpans as K, TreatiseCitation as L, StatuteCitation as M, StatutesAtLargeCitation as N, RestatementCitation as O, StringCitationGroup as P, TransformationMap as Q, Warning as R, NeutralCitation as S, ParentheticalType as T, FederalRuleComponentSpans as U, ConstitutionalComponentSpans as V, JournalComponentSpans as W, TreatiseComponentSpans as X, StatutesAtLargeComponentSpans as Y, Span as Z, HistoryChain as _, CitationOfType as a, IdCitation as b, ConstitutionalCitation as c, ExtractorMap as d, PinciteInfo as et, FederalRegisterCitation as f, FullCitationType as g, FullCitation as h, CitationId as i, ShortFormCitationType as j, ShortFormCaseCitation as k, CourtInference as l, FullCaseCitation as m, Citation as n, CitationSignal as o, FederalRuleCitation as p, RestatementComponentSpans as q, CitationBase as r, CitationType as s, AnnotationCitation as t, parsePincite as tt, DocketCitation as u, HistoryLink as v, Parenthetical as w, JournalCitation as x, HistorySignal as y, AnnotationComponentSpans as z };
1627
+ //# sourceMappingURL=citation-B6HQjAiG.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"citation-B6HQjAiG.d.mts","names":[],"sources":["../src/extract/pincite.ts","../src/extract/dates.ts","../src/clean/segmentMap.ts","../src/types/span.ts","../src/types/componentSpans.ts","../src/types/citation.ts"],"mappings":";;AAUA;;;;;;;;;UAAiB,WAAA;;EAEf,IAAA;;EAEA,OAAA;;;EAGA,QAAA;EA+DF;EA7DE,WAAA;;EAEA,OAAA;EA2DyC;;;EAvDzC,QAAA;ECNF;EDQE,SAAA;;EAEA,YAAA;;;;;;ACDF;;EDSE,kBAAA,GAAqB,WAAA;ECLb;EDOR,GAAA;AAAA;;;;;;;AE/BF;;;;;;;iBFwEgB,YAAA,CAAa,GAAA,WAAc,WAAA;;;;AAtE3C;;;;;;;;;;;;;;;;;UCSiB,UAAA;EACf,IAAA;EACA,KAAA;EACA,GAAA;AAAA;;;;UAMe,cAAA;EATA;EAWf,GAAA;EAXe;EAaf,MAAA,EAAQ,UAAA;AAAA;;;;ADtBV;;;;;;UEFiB,OAAA;;EAEf,QAAA;;EAEA,OAAA;;EAEA,GAAA;AAAA;AAAA,c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BU,QAAA,GACR,gBAAA,GACA,cAAA,GACA,eAAA,GACA,kBAAA,GACA,eAAA,GACA,eAAA,GACA,iBAAA,GACA,uBAAA,GACA,uBAAA,GACA,sBAAA,GACA,mBAAA,GACA,iBAAA,GACA,mBAAA,GACA,gBAAA,GACA,kBAAA,GACA,kBAAA,GACA,cAAA,GACA,2BAAA,GACA,sBAAA,GACA,aAAA,GACA,UAAA,GACA,aAAA,GACA,qBAAA;;;;KAKQ,gBAAA;AAAA,KAqBA,qBAAA;;;;KAmDA,YAAA,GACR,gBAAA,GACA,kBAAA,GACA,cAAA,GACA,2BAAA,GACA,sBAAA,GACA,aAAA,GACA,cAAA,GACA,eAAA,GACA,kBAAA,GACA,eAAA,GACA,eAAA,GACA,iBAAA,GACA,uBAAA,GACA,uBAAA,GACA,sBAAA,GACA,mBAAA,GACA,iBAAA,GACA,mBAAA,GACA,gBAAA,GACA,kBAAA;;;;KAKQ,iBAAA,GAAoB,UAAA,GAAa,aAAA,GAAgB,qBAAA;;;;;;;;;;KAWjD,cAAA,WAAyB,YAAA,IAAgB,OAAA,CAAQ,QAAA;EAAY,IAAA,EAAM,CAAA;AAAA;;;;;KAMnE,YAAA,WACJ,gBAAA,GAAmB,cAAA,CAAe,CAAA"}
@@ -403,6 +403,17 @@ interface Warning {
403
403
  */
404
404
  type CitationSignal = "see" | "see also" | "see generally" | "cf" | "but see" | "but cf" | "compare" | "accord" | "contra" | "e.g." | "see, e.g." | "see also, e.g." | "but see, e.g." | "cf., e.g." | "but cf., e.g.";
405
405
  /**
406
+ * A string-citation group (#857): citations chained for one proposition
407
+ * (`See A; B; C`). Members reference all members (including self) by stable
408
+ * `CitationId` in document order; `signal` is the group's leading signal. Built
409
+ * in the structuring pass; the flat `stringCitationGroupId` / `stringCitationIndex`
410
+ * / `stringCitationGroupSize` fields are retained alongside it.
411
+ */
412
+ interface StringCitationGroup {
413
+ memberIds: CitationId[];
414
+ signal?: CitationSignal;
415
+ }
416
+ /**
406
417
  * Base fields shared by all citation types.
407
418
  */
408
419
  interface CitationBase {
@@ -441,6 +452,12 @@ interface CitationBase {
441
452
  stringCitationIndex?: number;
442
453
  /** Total number of citations in this string citation group */
443
454
  stringCitationGroupSize?: number;
455
+ /**
456
+ * String-citation group (#857): all members (incl. self) by stable id, in
457
+ * document order, plus the group's leading signal. Survives consumer
458
+ * `filter`/`sort`/`map`. See {@link StringCitationGroup}.
459
+ */
460
+ stringCitationGroup?: StringCitationGroup;
444
461
  /** Whether this citation appears in a footnote (only populated when detectFootnotes enabled) */
445
462
  inFootnote?: boolean;
446
463
  /** Footnote number, if applicable (only populated when detectFootnotes enabled) */
@@ -481,6 +498,21 @@ interface Parenthetical {
481
498
  type: ParentheticalType;
482
499
  /** Position of full parenthetical block including delimiters */
483
500
  span?: Span;
501
+ /**
502
+ * Child citations nested within this explanatory parenthetical — e.g. the
503
+ * `Doe v. City, 100 F.2d 1` in `(quoting Doe v. City, 100 F.2d 1)` (#851).
504
+ * Each child carries its own stable {@link CitationId}, may be any citation
505
+ * type (not only cases), and may itself carry parentheticals (recursive). Per
506
+ * Bluebook Rule 1.5(b) such a cite is a subordinate component of the host
507
+ * citation, not a free-standing one.
508
+ *
509
+ * Populated additively by default: the child is ALSO a top-level result, so it
510
+ * stays reachable via `byId`. With `excludeParentheticalChildren`, the child
511
+ * is removed from the top-level array and reachable ONLY by traversing here
512
+ * (it is then absent from `byId(result)`). Either way, `Id.`/`supra` never
513
+ * resolve to a paren-child (Bluebook Rule 4.1/4.2).
514
+ */
515
+ citations?: Citation[];
484
516
  }
485
517
  /**
486
518
  * Normalized subsequent history signal classification.
@@ -516,6 +548,32 @@ interface SubsequentHistoryEntry {
516
548
  * @example "500 F.2d 123"
517
549
  * @example "410 U.S. 113, 115"
518
550
  */
551
+ /**
552
+ * One link in a subsequent-history chain (#849): the case at this position, plus
553
+ * the disposition signal that led TO it. The chain root has no inbound `signal`.
554
+ */
555
+ interface HistoryLink {
556
+ citationId: CitationId;
557
+ signal?: HistorySignal;
558
+ }
559
+ /**
560
+ * A subsequent-history chain (#849), ordered root → latest. Built post-id-assignment
561
+ * in the structuring pass and attached (shared) to every member, so a consumer can
562
+ * read the whole chain from any link. References members by stable `CitationId`,
563
+ * so it survives `filter`/`sort`/`map` of the result array.
564
+ */
565
+ interface HistoryChain {
566
+ links: HistoryLink[];
567
+ }
568
+ /**
569
+ * A parallel-citation group (#850): the same case reported in multiple reporters.
570
+ * Every member references all members (including itself) by stable `CitationId`,
571
+ * in document order. Built in the structuring pass; the flat `groupId` label and
572
+ * `parallelCitations` array are retained alongside it.
573
+ */
574
+ interface ParallelGroup {
575
+ memberIds: CitationId[];
576
+ }
519
577
  interface FullCaseCitation extends CitationBase {
520
578
  type: "case";
521
579
  volume: number | string;
@@ -545,6 +603,11 @@ interface FullCaseCitation extends CitationBase {
545
603
  * @example "410-U.S.-113" for parallel group [410 U.S. 113, 93 S. Ct. 705]
546
604
  */
547
605
  groupId?: string;
606
+ /**
607
+ * Parallel-citation group (#850): all members (incl. self) by stable id, in
608
+ * document order. Survives consumer `filter`/`sort`/`map`. See {@link ParallelGroup}.
609
+ */
610
+ parallelGroup?: ParallelGroup;
548
611
  /** Parallel citations for same case in different reporters */
549
612
  parallelCitations?: Array<{
550
613
  volume: number | string;
@@ -572,6 +635,13 @@ interface FullCaseCitation extends CitationBase {
572
635
  */
573
636
  subsequentHistoryEntries?: SubsequentHistoryEntry[];
574
637
  /**
638
+ * Ordered subsequent-history chain (root → latest), shared by every member of
639
+ * the chain (#849). Built in the structuring pass; references members by stable
640
+ * id. The flat `subsequentHistoryOf` / `subsequentHistoryEntries` fields are
641
+ * retained alongside it. See {@link HistoryChain}.
642
+ */
643
+ historyChain?: HistoryChain;
644
+ /**
575
645
  * Back-pointer indicating this citation is a subsequent history citation.
576
646
  * `index` is the parent's position in the results array returned by
577
647
  * `extractCitations()` — it becomes invalid if the array is filtered or reordered.
@@ -579,6 +649,7 @@ interface FullCaseCitation extends CitationBase {
579
649
  */
580
650
  subsequentHistoryOf?: {
581
651
  index: number;
652
+ priorId?: CitationId;
582
653
  signal: HistorySignal;
583
654
  };
584
655
  /**
@@ -1359,6 +1430,11 @@ interface IdCitation extends CitationBase {
1359
1430
  */
1360
1431
  pinciteInheritedFrom?: number;
1361
1432
  /**
1433
+ * Stable id of the `pinciteInheritedFrom` citation (#860). Survives consumer
1434
+ * `filter`/`sort`/`map` (keys on identity, not array position).
1435
+ */
1436
+ pinciteInheritedFromId?: CitationId;
1437
+ /**
1362
1438
  * Trailing parenthetical content (text between the parens, excluding the
1363
1439
  * parens themselves) captured from `Id. at N (...)` forms. Common values
1364
1440
  * include drop-citation markers (`citation omitted`, `internal quotation
@@ -1418,6 +1494,11 @@ interface SupraCitation extends CitationBase {
1418
1494
  */
1419
1495
  pinciteInheritedFrom?: number;
1420
1496
  /**
1497
+ * Stable id of the `pinciteInheritedFrom` citation (#860). Survives consumer
1498
+ * `filter`/`sort`/`map` (keys on identity, not array position).
1499
+ */
1500
+ pinciteInheritedFromId?: CitationId;
1501
+ /**
1421
1502
  * Trailing parenthetical content (text between the parens, excluding the
1422
1503
  * parens themselves). See `IdCitation.parenthetical` for common shapes
1423
1504
  * and rationale. #303
@@ -1456,6 +1537,11 @@ interface ShortFormCaseCitation extends CitationBase {
1456
1537
  */
1457
1538
  pinciteInheritedFrom?: number;
1458
1539
  /**
1540
+ * Stable id of the `pinciteInheritedFrom` citation (#860). Survives consumer
1541
+ * `filter`/`sort`/`map` (keys on identity, not array position).
1542
+ */
1543
+ pinciteInheritedFromId?: CitationId;
1544
+ /**
1459
1545
  * Case name inferred from prose preceding this short-form when no full
1460
1546
  * citation in `citations[]` matched its vol+reporter. Populated by the
1461
1547
  * resolver fallback for the "In Smith v. Jones... Smith, 100 F.2d at 200"
@@ -1537,5 +1623,5 @@ type CitationOfType<T extends CitationType> = Extract<Citation, {
1537
1623
  */
1538
1624
  type ExtractorMap = { [K in FullCitationType]: CitationOfType<K> };
1539
1625
  //#endregion
1540
- export { StatutesAtLargeCitation as A, JournalComponentSpans as B, PublicLawCitation as C, ShortFormCitation as D, ShortFormCaseCitation as E, AnnotationComponentSpans as F, StatutesAtLargeComponentSpans as G, PublicLawComponentSpans as H, CaseComponentSpans as I, TransformationMap as J, TreatiseComponentSpans as K, ConstitutionalComponentSpans as L, SupraCitation as M, TreatiseCitation as N, ShortFormCitationType as O, Warning as P, FederalRegisterComponentSpans as R, ParentheticalType as S, RestatementCitation as T, RestatementComponentSpans as U, NeutralComponentSpans as V, StatuteComponentSpans as W, PinciteInfo as X, spanFromGroupIndex as Y, parsePincite as Z, HistorySignal as _, CitationOfType as a, NeutralCitation as b, ConstitutionalCitation as c, ExtractorMap as d, FederalRegisterCitation as f, FullCitationType as g, FullCitation as h, CitationId as i, SubsequentHistoryEntry as j, StatuteCitation as k, CourtInference as l, FullCaseCitation as m, Citation as n, CitationSignal as o, FederalRuleCitation as p, Span as q, CitationBase as r, CitationType as s, AnnotationCitation as t, DocketCitation as u, IdCitation as v, RegulationCitation as w, Parenthetical as x, JournalCitation as y, FederalRuleComponentSpans as z };
1541
- //# sourceMappingURL=citation-t5DPIzyE.d.cts.map
1626
+ export { spanFromGroupIndex as $, ShortFormCitation as A, CaseComponentSpans as B, ParallelGroup as C, RegulationCitation as D, PublicLawCitation as E, SubsequentHistoryEntry as F, NeutralComponentSpans as G, FederalRegisterComponentSpans as H, SupraCitation as I, StatuteComponentSpans as J, PublicLawComponentSpans as K, TreatiseCitation as L, StatuteCitation as M, StatutesAtLargeCitation as N, RestatementCitation as O, StringCitationGroup as P, TransformationMap as Q, Warning as R, NeutralCitation as S, ParentheticalType as T, FederalRuleComponentSpans as U, ConstitutionalComponentSpans as V, JournalComponentSpans as W, TreatiseComponentSpans as X, StatutesAtLargeComponentSpans as Y, Span as Z, HistoryChain as _, CitationOfType as a, IdCitation as b, ConstitutionalCitation as c, ExtractorMap as d, PinciteInfo as et, FederalRegisterCitation as f, FullCitationType as g, FullCitation as h, CitationId as i, ShortFormCitationType as j, ShortFormCaseCitation as k, CourtInference as l, FullCaseCitation as m, Citation as n, CitationSignal as o, FederalRuleCitation as p, RestatementComponentSpans as q, CitationBase as r, CitationType as s, AnnotationCitation as t, parsePincite as tt, DocketCitation as u, HistoryLink as v, Parenthetical as w, JournalCitation as x, HistorySignal as y, AnnotationComponentSpans as z };
1627
+ //# sourceMappingURL=citation-CeTGuBrI.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"citation-CeTGuBrI.d.cts","names":[],"sources":["../src/extract/pincite.ts","../src/extract/dates.ts","../src/clean/segmentMap.ts","../src/types/span.ts","../src/types/componentSpans.ts","../src/types/citation.ts"],"mappings":";;AAUA;;;;;;;;;UAAiB,WAAA;;EAEf,IAAA;;EAEA,OAAA;;;EAGA,QAAA;EA+DF;EA7DE,WAAA;;EAEA,OAAA;EA2DyC;;;EAvDzC,QAAA;ECNF;EDQE,SAAA;;EAEA,YAAA;;;;;;ACDF;;EDSE,kBAAA,GAAqB,WAAA;ECLb;EDOR,GAAA;AAAA;;;;;;;AE/BF;;;;;;;iBFwEgB,YAAA,CAAa,GAAA,WAAc,WAAA;;;;AAtE3C;;;;;;;;;;;;;;;;;UCSiB,UAAA;EACf,IAAA;EACA,KAAA;EACA,GAAA;AAAA;;;;UAMe,cAAA;EATA;EAWf,GAAA;EAXe;EAaf,MAAA,EAAQ,UAAA;AAAA;;;;ADtBV;;;;;;UEFiB,OAAA;;EAEf,QAAA;;EAEA,OAAA;;EAEA,GAAA;AAAA;AAAA,cAGW,UAAA;EAAA,SACF,QAAA,WAAmB,OAAA;EAE5B,WAAA,CAAY,QAAA,EAAU,OAAA;EF4DxB;;;EAAA,OErDS,QAAA,CAAS,MAAA,WAAiB,UAAA;EFqDQ;;;;AC7D3C;ED6D2C,OE5ClC,OAAA,CAAQ,GAAA,EAAK,GAAA,mBAAsB,UAAA;;;;;EAkC1C,MAAA,CAAO,QAAA;AAAA;;;;AF5DT;;;;;;;;;;;;;;;;UGOiB,IAAA;EH+DjB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