@erudit-js/core 4.1.0 → 4.2.0-dev.1

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,4 +1,4 @@
1
- import type { AnySchema, FinalizedProse, RawElement } from '@jsprose/core';
1
+ import type { ProseWithStorage, RawElement } from 'tsprose';
2
2
  import type { ContributorContribution } from './content/contributions.js';
3
3
  export interface EruditContributors {
4
4
  enabled: boolean;
@@ -12,14 +12,14 @@ export type ContributorDefinition = Partial<{
12
12
  short: string;
13
13
  editor: boolean;
14
14
  links: Record<string, string>;
15
- description: RawElement<AnySchema>;
15
+ description: RawElement;
16
16
  }>;
17
17
  export declare function defineContributor(contributor: ContributorDefinition): Partial<{
18
18
  displayName: string;
19
19
  short: string;
20
20
  editor: boolean;
21
21
  links: Record<string, string>;
22
- description: RawElement<AnySchema>;
22
+ description: RawElement;
23
23
  }>;
24
24
  declare const globalContributorBrand: unique symbol;
25
25
  export interface GlobalContributorTypeguard {
@@ -42,7 +42,7 @@ export interface PageContributor {
42
42
  short?: string;
43
43
  links?: Record<string, string>;
44
44
  avatarUrl?: string;
45
- description?: FinalizedProse;
45
+ description?: ProseWithStorage;
46
46
  editor?: boolean;
47
47
  contributions?: ContributorContribution[];
48
48
  }
@@ -3,6 +3,7 @@ export interface EruditDebug {
3
3
  slowTransition?: boolean;
4
4
  fakeApi?: Partial<{
5
5
  repository: boolean;
6
+ lastChanged: boolean | string;
6
7
  }>;
7
8
  ads?: boolean;
8
9
  analytics?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erudit-js/core",
3
- "version": "4.1.0",
3
+ "version": "4.2.0-dev.1",
4
4
  "type": "module",
5
5
  "description": "Erudit core essentials",
6
6
  "exports": {
@@ -20,7 +20,7 @@
20
20
  "prepack": "bun run build"
21
21
  },
22
22
  "dependencies": {
23
- "@jsprose/core": "^1.0.0",
23
+ "tsprose": "^1.0.0",
24
24
  "gradient-string": "^3.0.0"
25
25
  }
26
26
  }