@socialgouv/cdtn-types 2.63.0 → 2.65.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.
@@ -9,4 +9,5 @@ export * from "./code-du-travail";
9
9
  export * from "./modeles-de-courrier";
10
10
  export * from "./highlights";
11
11
  export * from "./infographic";
12
+ export * from "./what-is-new";
12
13
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/elastic/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/elastic/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC"}
@@ -25,4 +25,5 @@ __exportStar(require("./code-du-travail"), exports);
25
25
  __exportStar(require("./modeles-de-courrier"), exports);
26
26
  __exportStar(require("./highlights"), exports);
27
27
  __exportStar(require("./infographic"), exports);
28
+ __exportStar(require("./what-is-new"), exports);
28
29
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/elastic/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,kDAAgC;AAChC,2CAAyB;AACzB,iDAA+B;AAC/B,0CAAwB;AACxB,sDAAoC;AACpC,kDAAgC;AAChC,oDAAkC;AAClC,wDAAsC;AACtC,+CAA6B;AAC7B,gDAA8B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/elastic/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,kDAAgC;AAChC,2CAAyB;AACzB,iDAA+B;AAC/B,0CAAwB;AACxB,sDAAoC;AACpC,kDAAgC;AAChC,oDAAkC;AAClC,wDAAsC;AACtC,+CAA6B;AAC7B,gDAA8B;AAC9B,gDAA8B"}
@@ -0,0 +1,13 @@
1
+ import { DocumentElasticWithSource } from "./common";
2
+ export type WhatIsNewItemKind = "evolution-juridique" | "mise-a-jour-fonctionnelle";
3
+ export type WhatIsNewItemDoc = {
4
+ title?: string;
5
+ weekStart: string;
6
+ kind: WhatIsNewItemKind;
7
+ description?: string;
8
+ url?: string;
9
+ createdAt?: string;
10
+ updatedAt?: string;
11
+ };
12
+ export type ElasticWhatIsNewItem = DocumentElasticWithSource<WhatIsNewItemDoc, "what_is_new">;
13
+ //# sourceMappingURL=what-is-new.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"what-is-new.d.ts","sourceRoot":"","sources":["../../src/elastic/what-is-new.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,UAAU,CAAC;AAErD,MAAM,MAAM,iBAAiB,GACzB,qBAAqB,GACrB,2BAA2B,CAAC;AAEhC,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,iBAAiB,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,yBAAyB,CAC1D,gBAAgB,EAChB,aAAa,CACd,CAAC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=what-is-new.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"what-is-new.js","sourceRoot":"","sources":["../../src/elastic/what-is-new.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "type": "git",
11
11
  "url": "https://github.com/SocialGouv/cdtn-admin.git"
12
12
  },
13
- "version": "2.63.0",
13
+ "version": "2.65.0",
14
14
  "main": "build/index.js",
15
15
  "module": "build/index.js",
16
16
  "types": "build/index.d.ts",
@@ -23,10 +23,10 @@
23
23
  "type-check": "tsc --noEmit"
24
24
  },
25
25
  "devDependencies": {
26
- "@socialgouv/cdtn-utils": "^4.196.0",
26
+ "@socialgouv/cdtn-utils": "^4.208.2",
27
27
  "@socialgouv/kali-data-types": "^2.127.0",
28
28
  "@socialgouv/legi-data-types": "^2.73.1",
29
29
  "typescript": "^5.4.3"
30
30
  },
31
- "gitHead": "2e8b117c11966a742bfe433fcb132db2af59d30f"
31
+ "gitHead": "12b6bda0ea908575ddddbb59ef64c916b89b9a93"
32
32
  }