@socialgouv/kali-data 2.312.0 → 2.313.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/data/KALICONT000005635192.json +77 -0
- package/data/KALICONT000005635194.json +77 -0
- package/data/KALICONT000005635434.json +204 -35
- package/data/KALICONT000005635451.json +1115 -126
- package/data/KALICONT000005635467.json +4 -4
- package/data/KALICONT000005635655.json +4 -3
- package/data/KALICONT000005635886.json +81 -16
- package/data/KALICONT000005635891.json +204 -35
- package/data/KALICONT000005635910.json +112 -21
- package/data/KALICONT000018773893.json +1 -1
- package/data/KALICONT000018926209.json +4 -4
- package/data/KALICONT000027172335.json +2 -2
- package/data/KALICONT000034335661.json +290 -75
- package/data/KALICONT000038292684.json +519 -320
- package/data/articles/index.json +540 -239
- package/data/index.json +2 -2
- package/package.json +1 -1
- package/src/libs/__tests__/getArticleWithParentSections.test.js +3 -3
- package/src/libs/__tests__/getArticleWithPath.test.js +4 -4
package/data/index.json
CHANGED
|
@@ -3485,7 +3485,7 @@
|
|
|
3485
3485
|
"texte_de_base": "KALITEXT000022192697",
|
|
3486
3486
|
"title": "Convention collective nationale de travail des etablissements et services pour personnes inadaptées et handicapées du 15 mars 1966. Mise à jour au 15 septembre 1976.",
|
|
3487
3487
|
"url": "https://www.legifrance.gouv.fr/affichIDCC.do?idConvention=KALICONT000005635407",
|
|
3488
|
-
"synonymes":["
|
|
3488
|
+
"synonymes":["1966", "66"]
|
|
3489
3489
|
},
|
|
3490
3490
|
{
|
|
3491
3491
|
"active": true,
|
|
@@ -4138,7 +4138,7 @@
|
|
|
4138
4138
|
"texte_de_base": "KALITEXT000029787837",
|
|
4139
4139
|
"title": "Convention collective nationale des etablissements privés d'hospitalisation, de soins, de cure et de garde à but non lucratif du 31 octobre 1951.",
|
|
4140
4140
|
"url": "https://www.legifrance.gouv.fr/affichIDCC.do?idConvention=KALICONT000005635234",
|
|
4141
|
-
"synonymes":["FEHAP", "
|
|
4141
|
+
"synonymes":["FEHAP", "1951", "51"]
|
|
4142
4142
|
},
|
|
4143
4143
|
{
|
|
4144
4144
|
"etat": "VIGUEUR_ETEN",
|
package/package.json
CHANGED
|
@@ -3,10 +3,10 @@ import getArticleWithParentSections from "../getArticleWithParentSections";
|
|
|
3
3
|
describe(`libs/getArticleWithParentSections()`, () => {
|
|
4
4
|
describe(`should match properties`, () => {
|
|
5
5
|
it(`with an existing main article ID`, () => {
|
|
6
|
-
const received = getArticleWithParentSections("
|
|
6
|
+
const received = getArticleWithParentSections("KALIARTI000005781804");
|
|
7
7
|
|
|
8
8
|
expect(received.data.cid).toBe("KALIARTI000005781804");
|
|
9
|
-
expect(received.data.id).toBe("
|
|
9
|
+
expect(received.data.id).toBe("KALIARTI000045466361");
|
|
10
10
|
expect(received.sections.length).toBeGreaterThan(1);
|
|
11
11
|
});
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ describe(`libs/getArticleWithParentSections()`, () => {
|
|
|
14
14
|
const received = getArticleWithParentSections("KALIARTI000005781804");
|
|
15
15
|
|
|
16
16
|
expect(received.data.cid).toBe("KALIARTI000005781804");
|
|
17
|
-
expect(received.data.id).toBe("
|
|
17
|
+
expect(received.data.id).toBe("KALIARTI000045466361");
|
|
18
18
|
expect(received.sections.length).toBeGreaterThan(1);
|
|
19
19
|
});
|
|
20
20
|
|
|
@@ -3,10 +3,10 @@ import getArticleWithPath from "../getArticleWithPath";
|
|
|
3
3
|
describe(`libs/getArticleWithPath()`, () => {
|
|
4
4
|
describe(`should match properties`, () => {
|
|
5
5
|
it(`with an existing main article ID`, () => {
|
|
6
|
-
const received = getArticleWithPath("
|
|
6
|
+
const received = getArticleWithPath("KALIARTI000005781818");
|
|
7
7
|
|
|
8
|
-
expect(received.data.cid).toBe("
|
|
9
|
-
expect(received.data.id).toBe("
|
|
8
|
+
expect(received.data.cid).toBe("KALIARTI000005781818");
|
|
9
|
+
expect(received.data.id).toBe("KALIARTI000005781818");
|
|
10
10
|
expect(received.path.length).toBeGreaterThan(1);
|
|
11
11
|
});
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ describe(`libs/getArticleWithPath()`, () => {
|
|
|
14
14
|
const received = getArticleWithPath("KALIARTI000005781804");
|
|
15
15
|
|
|
16
16
|
expect(received.data.cid).toBe("KALIARTI000005781804");
|
|
17
|
-
expect(received.data.id).toBe("
|
|
17
|
+
expect(received.data.id).toBe("KALIARTI000045466361");
|
|
18
18
|
expect(received.path.length).toBeGreaterThan(1);
|
|
19
19
|
});
|
|
20
20
|
|