Riksdagsmonitor Intelligence Platform - v0.7.19
Home
GitHub
ISMS
Preparing search index...
scripts/mcp-client/document-types
annotateDocumentTypes
Function annotateDocumentTypes
annotateDocumentTypes
(
doc
:
Record
<
string
,
unknown
>
)
:
Record
<
string
,
unknown
>
Stamp
type
and
subtype
fields onto a raw API document record in place.
type
= normalised English label derived from
doktyp
subtype
= mirrors the raw
subtyp
field (kept as-is; Swedish codes) The raw
doktyp
field is preserved untouched for backward compatibility.
Parameters
doc
:
Record
<
string
,
unknown
>
Returns
Record
<
string
,
unknown
>
Settings
Member Visibility
Protected
Inherited
Alpha
Beta
Theme
OS
Light
Dark
Architecture
Security
Threat Model
Data Model
SWOT
Business Model
Home
GitHub
ISMS
Riksdagsmonitor Intelligence Platform - v0.7.19
Loading...
Stamp
typeandsubtypefields onto a raw API document record in place.type= normalised English label derived fromdoktypsubtype= mirrors the rawsubtypfield (kept as-is; Swedish codes) The rawdoktypfield is preserved untouched for backward compatibility.