Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F71059406
Case.ts
Fauwaz (Fauwaz)
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Authored By
Fauwaz
Dec 13 2025, 11:14 PM
2025-12-13 23:14:49 (UTC+0)
Size
888 B
Referenced Files
None
Subscribers
None
Case.ts
View Options
/**
* Case Model - Defines the structure of a Supreme Court case
*/
export
interface
Case
{
caseId
:
string
;
title
:
string
;
description
:
string
;
date
:
string
;
citation
:
string
;
court
:
string
;
majorityOpinion
:
string
;
sourceLabel
:
string
;
judges
:
string
;
articleUrl
:
string
;
}
/**
* Filter criteria for searching cases
*/
export
interface
CaseFilters
{
keyword?
:
string
;
year?
:
string
;
judge?
:
string
;
caseType?
:
string
;
}
/**
* API Response structure
*/
export
interface
FilterResponse
{
success
:
boolean
;
results
:
Case
[];
filters
:
{
keyword
:
string
|
null
;
year
:
string
|
null
;
judge
:
string
|
null
;
caseType
:
string
|
null
;
};
count
:
number
;
}
export
interface
SearchResponse
{
success
:
boolean
;
results
:
Case
[];
}
File Metadata
Details
Attached
Mime Type
text/plain
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
22726748
Default Alt Text
Case.ts (888 B)
Attached To
Mode
T412134: Advanced Search Filter Backend
Attached
Detach File
Event Timeline
Log In to Comment