erudit 4.0.0-dev.5 → 4.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.
@@ -1 +1,5 @@
1
+ import type { AnySchema, RawElement } from '@jsprose/core';
2
+
1
3
  export { defineDocument as defineProse } from '@jsprose/core';
4
+
5
+ export type AnyProseElement = RawElement<AnySchema>;
@@ -184,6 +184,10 @@ export async function registerGlobalContentTypes() {
184
184
  name: 'ProblemRandom',
185
185
  from: '@erudit-js/prose/elements/problem/rng',
186
186
  },
187
+ {
188
+ name: 'AnyProseElement',
189
+ from: sn(ERUDIT_PATH, 'modules/erudit/globals/prose'),
190
+ },
187
191
  ]);
188
192
 
189
193
  //
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "erudit",
3
- "version": "4.0.0-dev.5",
3
+ "version": "4.0.0",
4
4
  "type": "module",
5
5
  "description": "🤓 CMS for perfect educational sites.",
6
6
  "license": "MIT",