Library
core
src
law
lawID
Readme

Lawtext core referencesDocs


Lawtext core references / core/src/law/lawID

core/src/law/lawID

Index

Interfaces

Enumerations

LawIDActCategory

Enumeration Members

Cabinet

Cabinet: "0000000"

Defined in

core/src/law/lawID.ts:144 (opens in a new tab)


HouseOfCouncillors

HouseOfCouncillors: "0100000"

Defined in

core/src/law/lawID.ts:146 (opens in a new tab)


HouseOfRepresentative

HouseOfRepresentative: "1000000"

Defined in

core/src/law/lawID.ts:145 (opens in a new tab)


LawIDCabinetOrderEffect

Enumeration Members

Act

Act: "1000000"

Defined in

core/src/law/lawID.ts:161 (opens in a new tab)


CabinetOrder

CabinetOrder: "0000000"

Defined in

core/src/law/lawID.ts:160 (opens in a new tab)


LawIDType

Enumeration Members

Act

Act: "Act"

Defined in

core/src/law/lawID.ts:9 (opens in a new tab)


CabinetOrder

CabinetOrder: "CabinetOrder"

Defined in

core/src/law/lawID.ts:10 (opens in a new tab)


Constitution

Constitution: "Constitution"

Defined in

core/src/law/lawID.ts:8 (opens in a new tab)


DajokanFukoku

DajokanFukoku: "DajokanFukoku"

Defined in

core/src/law/lawID.ts:12 (opens in a new tab)


DajokanFutatsu

DajokanFutatsu: "DajokanFutatsu"

Defined in

core/src/law/lawID.ts:14 (opens in a new tab)


DajokanTasshi

DajokanTasshi: "DajokanTasshi"

Defined in

core/src/law/lawID.ts:13 (opens in a new tab)


ImperialOrder

ImperialOrder: "ImperialOrder"

Defined in

core/src/law/lawID.ts:11 (opens in a new tab)


Jinji

Jinji: "Jinji"

Defined in

core/src/law/lawID.ts:16 (opens in a new tab)


MinisterialOrdinance

MinisterialOrdinance: "MinisterialOrdinance"

Defined in

core/src/law/lawID.ts:15 (opens in a new tab)


PrimeMinisterDecision

PrimeMinisterDecision: "PrimeMinisterDecision"

Defined in

core/src/law/lawID.ts:18 (opens in a new tab)


Rule

Rule: "Rule"

Defined in

core/src/law/lawID.ts:17 (opens in a new tab)

Type Aliases

LawIDStruct

LawIDStruct: LawIDStructConstitution | LawIDStructAct | LawIDStructCabinetOrder | LawIDStructImperialOrder | LawIDStructDajokanFukoku | LawIDStructDajokanTasshi | LawIDStructDajokanFutatsu | LawIDStructMinisterialOrdinance | LawIDStructJinji | LawIDStructRule | LawIDStructPrimeMinisterDecision

Defined in

core/src/law/lawID.ts:255 (opens in a new tab)

Variables

lawIDTypes

const lawIDTypes: LawIDType[]

Defined in

core/src/law/lawID.ts:21 (opens in a new tab)


ptnLawID

const ptnLawID: { [K in LawIDType]: string }

Defined in

core/src/law/lawID.ts:23 (opens in a new tab)

Functions

parseLawID()

parseLawID(text): null | LawIDStruct

Parameters

text: string

Returns

null | LawIDStruct

Defined in

core/src/law/lawID.ts:269 (opens in a new tab)


parseLawIDOrLawRevID()

parseLawIDOrLawRevID(text): null | LawIDStruct | LawRevIDStruct

Parameters

text: string

Returns

null | LawIDStruct | LawRevIDStruct

Defined in

core/src/law/lawID.ts:369 (opens in a new tab)