@lblod/ember-rdfa-editor-lblod-plugins 11.2.0 → 12.0.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/.changeset/README.md +8 -0
- package/.changeset/config.json +11 -0
- package/.release-it.json +5 -8
- package/.woodpecker/.changeset.yml +9 -0
- package/.woodpecker/.test.yml +0 -8
- package/CHANGELOG.md +277 -111
- package/README.md +14 -12
- package/addon/components/citation-plugin/citation-card.ts +23 -19
- package/addon/components/citation-plugin/citation-insert.hbs +0 -1
- package/addon/components/citation-plugin/citation-insert.ts +5 -7
- package/addon/components/citation-plugin/citations/decision-detail.ts +4 -5
- package/addon/components/citation-plugin/citations/decision-preview.hbs +61 -15
- package/addon/components/citation-plugin/citations/decision-preview.ts +19 -0
- package/addon/components/citation-plugin/citations/search-modal.hbs +49 -47
- package/addon/components/citation-plugin/citations/search-modal.ts +29 -18
- package/addon/components/table-of-contents-plugin/ember-nodes/table-of-contents.ts +1 -1
- package/addon/components/variable-plugin/address/edit.ts +1 -1
- package/addon/components/variable-plugin/codelist/insert.ts +1 -1
- package/addon/components/variable-plugin/insert-variable-card.ts +1 -1
- package/addon/components/variable-plugin/location/insert.ts +1 -1
- package/addon/components/variable-plugin/number/nodeview.hbs +6 -7
- package/addon/components/variable-plugin/number/nodeview.ts +1 -58
- package/addon/helpers/capitalize.ts +6 -0
- package/addon/plugins/citation-plugin/index.ts +8 -2
- package/addon/plugins/citation-plugin/utils/article.ts +193 -0
- package/addon/plugins/citation-plugin/utils/cache.ts +7 -0
- package/addon/plugins/citation-plugin/utils/legal-documents.ts +133 -0
- package/addon/plugins/citation-plugin/utils/process-match.ts +60 -44
- package/addon/plugins/citation-plugin/utils/public-decisions.ts +228 -0
- package/addon/plugins/citation-plugin/utils/{legislation-types.ts → types.ts} +24 -18
- package/addon/plugins/citation-plugin/utils/utils.ts +14 -0
- package/addon/plugins/citation-plugin/utils/vlaamse-codex.ts +29 -390
- package/addon/utils/strings.ts +6 -0
- package/app/helpers/capitalize.js +4 -0
- package/components/citation-plugin/citation-card.d.ts +11 -14
- package/components/citation-plugin/citation-insert.d.ts +4 -3
- package/components/citation-plugin/citations/decision-detail.d.ts +3 -3
- package/components/citation-plugin/citations/decision-preview.d.ts +10 -0
- package/components/citation-plugin/citations/search-modal.d.ts +15 -16
- package/components/variable-plugin/number/nodeview.d.ts +0 -7
- package/helpers/capitalize.d.ts +8 -0
- package/package.json +8 -7
- package/plugins/citation-plugin/index.d.ts +2 -1
- package/plugins/citation-plugin/utils/article.d.ts +29 -0
- package/plugins/citation-plugin/utils/cache.d.ts +1 -0
- package/plugins/citation-plugin/utils/legal-documents.d.ts +48 -0
- package/plugins/citation-plugin/utils/public-decisions.d.ts +8 -0
- package/plugins/citation-plugin/utils/types.d.ts +28 -0
- package/plugins/citation-plugin/utils/utils.d.ts +1 -0
- package/plugins/citation-plugin/utils/vlaamse-codex.d.ts +7 -69
- package/translations/en-US.yaml +4 -1
- package/translations/nl-BE.yaml +4 -0
- package/utils/strings.d.ts +1 -0
- package/plugins/citation-plugin/utils/legislation-types.d.ts +0 -24
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lblod/ember-rdfa-editor-lblod-plugins",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "12.0.0",
|
|
4
4
|
"description": "Ember addon providing lblod specific plugins for the ember-rdfa-editor",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"buffer": "^6.0.3",
|
|
44
44
|
"codemirror": "^6.0.1",
|
|
45
45
|
"date-fns": "^2.30.0",
|
|
46
|
-
"ember-auto-import": "~2.
|
|
46
|
+
"ember-auto-import": "~2.6.3",
|
|
47
47
|
"ember-cli-babel": "^7.26.11",
|
|
48
48
|
"ember-cli-htmlbars": "^6.1.1",
|
|
49
49
|
"ember-cli-typescript": "^5.2.1",
|
|
@@ -64,12 +64,14 @@
|
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"@appuniversum/ember-appuniversum": "^2.4.2",
|
|
67
|
+
"@changesets/changelog-github": "^0.4.8",
|
|
68
|
+
"@changesets/cli": "^2.26.2",
|
|
67
69
|
"@ember/optional-features": "^2.0.0",
|
|
68
70
|
"@ember/test-helpers": "^2.8.1",
|
|
69
71
|
"@embroider/test-setup": "^3.0.1",
|
|
70
72
|
"@glimmer/component": "^1.1.2",
|
|
71
73
|
"@glimmer/tracking": "^1.1.2",
|
|
72
|
-
"@lblod/ember-rdfa-editor": "^5.
|
|
74
|
+
"@lblod/ember-rdfa-editor": "^5.3.0",
|
|
73
75
|
"@rdfjs/types": "^1.1.0",
|
|
74
76
|
"@release-it/keep-a-changelog": "^3.1.0",
|
|
75
77
|
"@tsconfig/ember": "^3.0.0",
|
|
@@ -88,7 +90,6 @@
|
|
|
88
90
|
"@types/ember__routing": "^4.0.12",
|
|
89
91
|
"@types/ember__runloop": "^4.0.2",
|
|
90
92
|
"@types/ember__service": "^4.0.1",
|
|
91
|
-
"@types/ember__string": "^3.0.10",
|
|
92
93
|
"@types/ember__template": "^4.0.1",
|
|
93
94
|
"@types/ember__test": "^4.0.1",
|
|
94
95
|
"@types/ember__utils": "^4.0.2",
|
|
@@ -109,19 +110,19 @@
|
|
|
109
110
|
"@typescript-eslint/parser": "^5.21.0",
|
|
110
111
|
"babel-eslint": "^10.1.0",
|
|
111
112
|
"broccoli-asset-rev": "^3.0.0",
|
|
113
|
+
"changesets-release-it-plugin": "^0.1.1",
|
|
112
114
|
"ember-cli": "~4.8.0",
|
|
113
115
|
"ember-cli-dependency-checker": "^3.3.1",
|
|
114
116
|
"ember-cli-inject-live-reload": "^2.1.0",
|
|
115
117
|
"ember-cli-sass": "^11.0.1",
|
|
116
118
|
"ember-cli-sri": "^2.1.1",
|
|
117
|
-
"ember-cli-string-helpers": "^6.1.0",
|
|
118
119
|
"ember-cli-terser": "^4.0.2",
|
|
119
120
|
"ember-data": "^3.28.12",
|
|
120
121
|
"ember-disable-prototype-extensions": "^1.1.3",
|
|
121
122
|
"ember-functions-as-helper-polyfill": "^2.1.1",
|
|
122
123
|
"ember-intl": "^5.7.2",
|
|
123
124
|
"ember-load-initializers": "^2.1.2",
|
|
124
|
-
"ember-page-title": "^
|
|
125
|
+
"ember-page-title": "^8.0.0",
|
|
125
126
|
"ember-qunit": "^6.0.0",
|
|
126
127
|
"ember-resolver": "^8.0.3",
|
|
127
128
|
"ember-simple-auth": "4.2.2",
|
|
@@ -148,7 +149,7 @@
|
|
|
148
149
|
},
|
|
149
150
|
"peerDependencies": {
|
|
150
151
|
"@appuniversum/ember-appuniversum": "^2.4.2",
|
|
151
|
-
"@lblod/ember-rdfa-editor": "^5.
|
|
152
|
+
"@lblod/ember-rdfa-editor": "^5.3.0",
|
|
152
153
|
"ember-concurrency": "^2.3.7",
|
|
153
154
|
"ember-modifier": "^3.2.7"
|
|
154
155
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Decoration, DecorationSet, EditorState, InlineDecorationSpec, NodeType, ProsePlugin, Schema } from '@lblod/ember-rdfa-editor';
|
|
2
2
|
/**
|
|
3
|
-
* The monster regex that makes the citation plugin trigger
|
|
3
|
+
* The monster regex that makes the citation plugin trigger to show `CitationCard`.
|
|
4
4
|
* In restructuring, I've made sure that I didn't abstract away any of the capturing groups,
|
|
5
5
|
* only their content, so you can still see what's going on
|
|
6
6
|
*
|
|
@@ -33,6 +33,7 @@ export interface CitationPluginRangeConfig {
|
|
|
33
33
|
export type CitationPluginConfig = CitationPluginNodeConfig | CitationPluginRangeConfig;
|
|
34
34
|
export type CitationPluginEmberComponentConfig = CitationPluginConfig & {
|
|
35
35
|
endpoint: string;
|
|
36
|
+
decisionsEndpoint?: string;
|
|
36
37
|
};
|
|
37
38
|
export declare function citationPlugin(config: CitationPluginConfig): CitationPlugin;
|
|
38
39
|
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { LegalDocumentsQueryConfig } from '@lblod/ember-rdfa-editor-lblod-plugins/plugins/citation-plugin/utils/legal-documents';
|
|
2
|
+
interface ArticleArgs {
|
|
3
|
+
uri: string;
|
|
4
|
+
number?: number;
|
|
5
|
+
content: string | null;
|
|
6
|
+
dateInForce: string | null;
|
|
7
|
+
dateNoLongerInForce: string | null;
|
|
8
|
+
}
|
|
9
|
+
export declare class Article {
|
|
10
|
+
uri: string;
|
|
11
|
+
number?: number;
|
|
12
|
+
content: string | null;
|
|
13
|
+
dateInForce: string | null;
|
|
14
|
+
dateNoLongerInForce: string | null;
|
|
15
|
+
constructor({ uri, number, content, dateInForce, dateNoLongerInForce, }: ArticleArgs);
|
|
16
|
+
}
|
|
17
|
+
export declare const fetchArticlesCache: Map<string, ArticleCollection>;
|
|
18
|
+
declare function fetchArticles({ legalExpression, pageNumber, pageSize, articleFilter, config, }: {
|
|
19
|
+
legalExpression: string;
|
|
20
|
+
pageNumber: number;
|
|
21
|
+
pageSize: number;
|
|
22
|
+
articleFilter: string;
|
|
23
|
+
config: LegalDocumentsQueryConfig;
|
|
24
|
+
}): Promise<ArticleCollection>;
|
|
25
|
+
interface ArticleCollection {
|
|
26
|
+
totalCount: number;
|
|
27
|
+
articles: Article[];
|
|
28
|
+
}
|
|
29
|
+
export { fetchArticles };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function cleanCaches(): void;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { Option } from '@lblod/ember-rdfa-editor-lblod-plugins/utils/option';
|
|
2
|
+
interface LegalDocumentArgs {
|
|
3
|
+
uri: string;
|
|
4
|
+
legislationTypeUri: Option<string>;
|
|
5
|
+
title: string | null;
|
|
6
|
+
publicationDate: string | null;
|
|
7
|
+
documentDate: string | null;
|
|
8
|
+
meta?: Record<string, unknown> | null;
|
|
9
|
+
}
|
|
10
|
+
export declare class LegalDocument {
|
|
11
|
+
uri: string;
|
|
12
|
+
legislationType: {
|
|
13
|
+
label: string;
|
|
14
|
+
value: string;
|
|
15
|
+
} | undefined;
|
|
16
|
+
title: string | null;
|
|
17
|
+
publicationDate: string | null;
|
|
18
|
+
documentDate: string | null;
|
|
19
|
+
meta: Record<string, unknown> | null;
|
|
20
|
+
constructor({ uri, legislationTypeUri, title, publicationDate, documentDate, meta, }: LegalDocumentArgs);
|
|
21
|
+
get fullTitle(): string;
|
|
22
|
+
}
|
|
23
|
+
export declare const isBesluitLegalDocument: (legalDocument: LegalDocument) => boolean;
|
|
24
|
+
export declare const fetchLegalDocumentsCache: Map<string, LegalDocumentsCollection>;
|
|
25
|
+
export interface LegalDocumentsCollection {
|
|
26
|
+
totalCount: number;
|
|
27
|
+
legalDocuments: LegalDocument[];
|
|
28
|
+
}
|
|
29
|
+
export interface LegalDocumentsQueryFilter {
|
|
30
|
+
type: string;
|
|
31
|
+
documentDateFrom?: Option<string>;
|
|
32
|
+
documentDateTo?: Option<string>;
|
|
33
|
+
publicationDateFrom?: Option<string>;
|
|
34
|
+
publicationDateTo?: Option<string>;
|
|
35
|
+
}
|
|
36
|
+
export type LegalDocumentsQueryConfig = {
|
|
37
|
+
endpoint: string;
|
|
38
|
+
decisionsEndpoint?: string;
|
|
39
|
+
abortSignal?: AbortSignal;
|
|
40
|
+
};
|
|
41
|
+
export declare function fetchLegalDocuments({ words, filter, pageNumber, pageSize, config, }: {
|
|
42
|
+
words: string[];
|
|
43
|
+
filter: LegalDocumentsQueryFilter;
|
|
44
|
+
pageNumber: number;
|
|
45
|
+
pageSize: number;
|
|
46
|
+
config: LegalDocumentsQueryConfig;
|
|
47
|
+
}): Promise<LegalDocumentsCollection>;
|
|
48
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { LegalDocumentsQueryConfig, LegalDocumentsQueryFilter, LegalDocumentsCollection } from '@lblod/ember-rdfa-editor-lblod-plugins/plugins/citation-plugin/utils/legal-documents';
|
|
2
|
+
export declare function fetchPublicDecisions({ words, filter, pageNumber, pageSize, config, }: {
|
|
3
|
+
words: string[];
|
|
4
|
+
config: LegalDocumentsQueryConfig;
|
|
5
|
+
filter: LegalDocumentsQueryFilter;
|
|
6
|
+
pageNumber?: number;
|
|
7
|
+
pageSize?: number;
|
|
8
|
+
}): Promise<LegalDocumentsCollection>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export declare const LEGISLATION_TYPES: {
|
|
2
|
+
decreet: string;
|
|
3
|
+
'koninklijk besluit': string;
|
|
4
|
+
wet: string;
|
|
5
|
+
'ministerieel besluit': string;
|
|
6
|
+
'besluit van de vlaamse regering': string;
|
|
7
|
+
omzendbrief: string;
|
|
8
|
+
verdrag: string;
|
|
9
|
+
grondwet: string;
|
|
10
|
+
grondwetswijziging: string;
|
|
11
|
+
samenwerkingsakkoord: string;
|
|
12
|
+
wetboek: string;
|
|
13
|
+
'geco\u00F6rdineerde wetten': string;
|
|
14
|
+
'bijzondere wet': string;
|
|
15
|
+
'genummerd koninklijk besluit': string;
|
|
16
|
+
protocol: string;
|
|
17
|
+
besluit: string;
|
|
18
|
+
};
|
|
19
|
+
export declare const legislationKeysCapitalized: ["Besluit" | "Decreet" | "Koninklijk besluit" | "Wet" | "Ministerieel besluit" | "Besluit van de vlaamse regering" | "Omzendbrief" | "Verdrag" | "Grondwet" | "Grondwetswijziging" | "Samenwerkingsakkoord" | "Wetboek" | "Gecoördineerde wetten" | "Bijzondere wet" | "Genummerd koninklijk besluit" | "Protocol"];
|
|
20
|
+
export declare const isLegislationType: (type: string) => type is "besluit" | "decreet" | "koninklijk besluit" | "wet" | "ministerieel besluit" | "besluit van de vlaamse regering" | "omzendbrief" | "verdrag" | "grondwet" | "grondwetswijziging" | "samenwerkingsakkoord" | "wetboek" | "gecoördineerde wetten" | "bijzondere wet" | "genummerd koninklijk besluit" | "protocol";
|
|
21
|
+
export declare const isBesluitType: (type: string) => boolean;
|
|
22
|
+
export declare const LEGISLATION_TYPE_CONCEPTS: {
|
|
23
|
+
label: string;
|
|
24
|
+
value: string;
|
|
25
|
+
}[];
|
|
26
|
+
export interface Binding<A> {
|
|
27
|
+
value: A;
|
|
28
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function replaceDiacriticsInWord(word: string): string;
|
|
@@ -1,70 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
uri: string;
|
|
4
|
-
legislationTypeUri: Option<string>;
|
|
5
|
-
title: string | null;
|
|
6
|
-
publicationDate: string | null;
|
|
7
|
-
documentDate: string | null;
|
|
8
|
-
}
|
|
9
|
-
export declare class Decision {
|
|
10
|
-
uri: string;
|
|
11
|
-
legislationType: {
|
|
12
|
-
label: string;
|
|
13
|
-
value: string;
|
|
14
|
-
} | undefined;
|
|
15
|
-
title: string | null;
|
|
16
|
-
publicationDate: string | null;
|
|
17
|
-
documentDate: string | null;
|
|
18
|
-
constructor({ uri, legislationTypeUri, title, publicationDate, documentDate, }: DecisionArgs);
|
|
19
|
-
get fullTitle(): string;
|
|
20
|
-
}
|
|
21
|
-
interface ArticleArgs {
|
|
22
|
-
uri: string;
|
|
23
|
-
number?: number;
|
|
24
|
-
content: string | null;
|
|
25
|
-
dateInForce: string | null;
|
|
26
|
-
dateNoLongerInForce: string | null;
|
|
27
|
-
}
|
|
28
|
-
export declare class Article {
|
|
29
|
-
uri: string;
|
|
30
|
-
number?: number;
|
|
31
|
-
content: string | null;
|
|
32
|
-
dateInForce: string | null;
|
|
33
|
-
dateNoLongerInForce: string | null;
|
|
34
|
-
constructor({ uri, number, content, dateInForce, dateNoLongerInForce, }: ArticleArgs);
|
|
35
|
-
}
|
|
36
|
-
export interface QueryFilter {
|
|
37
|
-
type: string;
|
|
38
|
-
documentDateFrom?: Option<string>;
|
|
39
|
-
documentDateTo?: Option<string>;
|
|
40
|
-
publicationDateFrom?: Option<string>;
|
|
41
|
-
publicationDateTo?: Option<string>;
|
|
42
|
-
}
|
|
43
|
-
declare function fetchDecisions({ words, filter, pageNumber, pageSize, config, }: {
|
|
1
|
+
import { LegalDocumentsCollection, LegalDocumentsQueryConfig, LegalDocumentsQueryFilter } from '@lblod/ember-rdfa-editor-lblod-plugins/plugins/citation-plugin/utils/legal-documents';
|
|
2
|
+
export declare function fetchVlaamseCodexLegalDocuments({ words, filter, pageNumber, pageSize, config, }: {
|
|
44
3
|
words: string[];
|
|
45
|
-
filter:
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}): Promise<
|
|
50
|
-
interface DecisionCollection {
|
|
51
|
-
totalCount: number;
|
|
52
|
-
decisions: Decision[];
|
|
53
|
-
}
|
|
54
|
-
declare function fetchArticles({ legalExpression, pageNumber, pageSize, articleFilter, config, }: {
|
|
55
|
-
legalExpression: string;
|
|
56
|
-
pageNumber: number;
|
|
57
|
-
pageSize: number;
|
|
58
|
-
articleFilter: string;
|
|
59
|
-
config: CodexQueryConfig;
|
|
60
|
-
}): Promise<ArticleCollection>;
|
|
61
|
-
interface ArticleCollection {
|
|
62
|
-
totalCount: number;
|
|
63
|
-
articles: Article[];
|
|
64
|
-
}
|
|
65
|
-
declare function cleanCaches(): void;
|
|
66
|
-
type CodexQueryConfig = {
|
|
67
|
-
endpoint: string;
|
|
68
|
-
abortSignal?: AbortSignal;
|
|
69
|
-
};
|
|
70
|
-
export { fetchDecisions, fetchArticles, cleanCaches };
|
|
4
|
+
filter: LegalDocumentsQueryFilter;
|
|
5
|
+
config: LegalDocumentsQueryConfig;
|
|
6
|
+
pageNumber?: number;
|
|
7
|
+
pageSize?: number;
|
|
8
|
+
}): Promise<LegalDocumentsCollection>;
|
package/translations/en-US.yaml
CHANGED
|
@@ -94,6 +94,10 @@ citaten-plugin:
|
|
|
94
94
|
refer-whole: Refer to whole document
|
|
95
95
|
refer-article: Refer to this article
|
|
96
96
|
lookup-codex: Lookup in Flemish Codex
|
|
97
|
+
lookup-publicatie: Lookup in Publicatie
|
|
98
|
+
lookup-publicatie-short: Publicatie
|
|
99
|
+
publicatie-non-available: Full content not public
|
|
100
|
+
publicatie-non-available-short: Not public
|
|
97
101
|
alert:
|
|
98
102
|
loading: Loading…
|
|
99
103
|
no-results: No results found
|
|
@@ -359,4 +363,3 @@ editor-plugins:
|
|
|
359
363
|
contact: In case of persisting issues, contact <a href="mailto:{email}">{email}</a>.
|
|
360
364
|
nodeview:
|
|
361
365
|
placeholder: Insert address
|
|
362
|
-
|
package/translations/nl-BE.yaml
CHANGED
|
@@ -95,6 +95,10 @@ citaten-plugin:
|
|
|
95
95
|
refer-whole: Verwijs naar volledig document
|
|
96
96
|
refer-article: Verwijs naar artikel
|
|
97
97
|
lookup-codex: Bekijk in Vlaamse Codex
|
|
98
|
+
lookup-publicatie: Bekijk in Publicatie
|
|
99
|
+
lookup-publicatie-short: Publicatie
|
|
100
|
+
publicatie-non-available: Volledige inhoud niet publiek
|
|
101
|
+
publicatie-non-available-short: Niet publiek
|
|
98
102
|
alert:
|
|
99
103
|
loading: Laden…
|
|
100
104
|
no-results: Geen resultaten gevonden
|
package/utils/strings.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export declare function capitalize(value: string): string;
|
|
1
2
|
export declare function escapeValue(value?: string): string | null;
|
|
2
3
|
export declare function dateValue(value?: string): string | null;
|
|
3
4
|
export declare function isNumber(value: string | number | null | undefined): boolean;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
declare const LEGISLATION_TYPES: {
|
|
2
|
-
decreet: string;
|
|
3
|
-
'koninklijk besluit': string;
|
|
4
|
-
wet: string;
|
|
5
|
-
'ministerieel besluit': string;
|
|
6
|
-
'besluit van de vlaamse regering': string;
|
|
7
|
-
omzendbrief: string;
|
|
8
|
-
verdrag: string;
|
|
9
|
-
grondwet: string;
|
|
10
|
-
grondwetswijziging: string;
|
|
11
|
-
samenwerkingsakkoord: string;
|
|
12
|
-
wetboek: string;
|
|
13
|
-
'geco\u00F6rdineerde wetten': string;
|
|
14
|
-
'bijzondere wet': string;
|
|
15
|
-
'genummerd koninklijk besluit': string;
|
|
16
|
-
protocol: string;
|
|
17
|
-
};
|
|
18
|
-
export type Legislations = typeof LEGISLATION_TYPES;
|
|
19
|
-
export type LegislationKey = keyof Legislations;
|
|
20
|
-
declare const LEGISLATION_TYPE_CONCEPTS: {
|
|
21
|
-
label: string;
|
|
22
|
-
value: string;
|
|
23
|
-
}[];
|
|
24
|
-
export { LEGISLATION_TYPES, LEGISLATION_TYPE_CONCEPTS };
|