@edifice.io/wiki 3.6.15-develop-integration.20261005092327 → 3.6.15-develop-pedago.20261005172908

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.
@@ -4,11 +4,8 @@ import { IAction } from '@edifice.io/client';
4
4
  * @param actions (expects an array of actions)
5
5
  * @returns queryOptions with key, fn, and selected data
6
6
  */
7
- export declare const actionsQueryOptions: (actions: IAction[]) => import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<Record<string, boolean>, Error, IAction[], string[]>, "queryFn"> & {
8
- queryFn?: import('@tanstack/react-query').QueryFunction<Record<string, boolean>, string[], never> | undefined;
7
+ export declare const actionsQueryOptions: (actions: IAction[]) => import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<Record<string, boolean>, Error, IAction[], import('@tanstack/react-query').QueryKey>, "queryFn"> & {
8
+ queryFn?: import('@tanstack/react-query').QueryFunction<Record<string, boolean>, import('@tanstack/react-query').QueryKey, never> | undefined;
9
9
  } & {
10
- queryKey: string[] & {
11
- [dataTagSymbol]: Record<string, boolean>;
12
- [dataTagErrorSymbol]: Error;
13
- };
10
+ queryKey: import('@tanstack/react-query').DataTag<import('@tanstack/react-query').QueryKey, Record<string, boolean>>;
14
11
  };
@@ -70,11 +70,7 @@ export declare const pageQueryOptions: {
70
70
  }];
71
71
  parentId?: string;
72
72
  position?: number;
73
- }, readonly ["page", {
74
- readonly id: string;
75
- }, {
76
- readonly originalformat: boolean | undefined;
77
- }]>, "queryFn"> & {
73
+ }, import('@tanstack/react-query').QueryKey>, "queryFn"> & {
78
74
  queryFn?: import('@tanstack/react-query').QueryFunction<{
79
75
  comments: {
80
76
  id: string;
@@ -106,141 +102,79 @@ export declare const pageQueryOptions: {
106
102
  }];
107
103
  parentId?: string;
108
104
  position?: number;
109
- }, readonly ["page", {
110
- readonly id: string;
111
- }, {
112
- readonly originalformat: boolean | undefined;
113
- }], never> | undefined;
105
+ }, import('@tanstack/react-query').QueryKey, never> | undefined;
114
106
  } & {
115
- queryKey: readonly ["page", {
116
- readonly id: string;
117
- }, {
118
- readonly originalformat: boolean | undefined;
119
- }] & {
120
- [dataTagSymbol]: {
121
- comments: {
122
- id: string;
123
- comment: string;
124
- authorId: string;
125
- authorName: string;
126
- createdAt: number;
127
- updatedAt: number;
128
- replyTo: string | undefined;
129
- deleted: boolean | undefined;
130
- }[] | undefined;
131
- isVisible: boolean;
107
+ queryKey: import('@tanstack/react-query').DataTag<import('@tanstack/react-query').QueryKey, {
108
+ comments: {
109
+ id: string;
110
+ comment: string;
111
+ authorId: string;
112
+ authorName: string;
113
+ createdAt: number;
114
+ updatedAt: number;
115
+ replyTo: string | undefined;
116
+ deleted: boolean | undefined;
117
+ }[] | undefined;
118
+ isVisible: boolean;
119
+ _id: string;
120
+ title: string;
121
+ content: string;
122
+ contentPlain: string;
123
+ contentVersion: number;
124
+ author: string;
125
+ authorName: string;
126
+ created?: import('../../../models').Created;
127
+ modified: import('../../../models').Modified;
128
+ lastContributer?: string;
129
+ lastContributerName?: string;
130
+ children?: [{
132
131
  _id: string;
133
132
  title: string;
134
- content: string;
135
- contentPlain: string;
136
- contentVersion: number;
137
- author: string;
138
- authorName: string;
139
- created?: import('../../../models').Created;
140
- modified: import('../../../models').Modified;
141
- lastContributer?: string;
142
- lastContributerName?: string;
143
- children?: [{
144
- _id: string;
145
- title: string;
146
- isVisible: boolean;
147
- position?: number;
148
- }];
149
- parentId?: string;
133
+ isVisible: boolean;
150
134
  position?: number;
151
- };
152
- [dataTagErrorSymbol]: Error;
153
- };
135
+ }];
136
+ parentId?: string;
137
+ position?: number;
138
+ }>;
154
139
  };
155
140
  findAllFromWiki: ({ wikiId, content, }: {
156
141
  wikiId: string;
157
142
  content: boolean;
158
- }) => import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('../../../models').Page[], Error, import('../../../models').Page[], readonly ["page", {
159
- readonly id: string;
160
- }]>, "queryFn"> & {
161
- queryFn?: import('@tanstack/react-query').QueryFunction<import('../../../models').Page[], readonly ["page", {
162
- readonly id: string;
163
- }], never> | undefined;
143
+ }) => import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('../../../models').Page[], Error, import('../../../models').Page[], import('@tanstack/react-query').QueryKey>, "queryFn"> & {
144
+ queryFn?: import('@tanstack/react-query').QueryFunction<import('../../../models').Page[], import('@tanstack/react-query').QueryKey, never> | undefined;
164
145
  } & {
165
- queryKey: readonly ["page", {
166
- readonly id: string;
167
- }] & {
168
- [dataTagSymbol]: import('../../../models').Page[];
169
- [dataTagErrorSymbol]: Error;
170
- };
146
+ queryKey: import('@tanstack/react-query').DataTag<import('@tanstack/react-query').QueryKey, import('../../../models').Page[]>;
171
147
  };
172
148
  findAllRevisionsForPage: ({ wikiId, pageId, }: {
173
149
  wikiId: string;
174
150
  pageId: string;
175
- }) => import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('../../../models/revision').Revision[], Error, import('../../../models/revision').Revision[], readonly ["page", "revision", {
176
- readonly id: string;
177
- }]>, "queryFn"> & {
178
- queryFn?: import('@tanstack/react-query').QueryFunction<import('../../../models/revision').Revision[], readonly ["page", "revision", {
179
- readonly id: string;
180
- }], never> | undefined;
151
+ }) => import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('../../../models/revision').Revision[], Error, import('../../../models/revision').Revision[], import('@tanstack/react-query').QueryKey>, "queryFn"> & {
152
+ queryFn?: import('@tanstack/react-query').QueryFunction<import('../../../models/revision').Revision[], import('@tanstack/react-query').QueryKey, never> | undefined;
181
153
  } & {
182
- queryKey: readonly ["page", "revision", {
183
- readonly id: string;
184
- }] & {
185
- [dataTagSymbol]: import('../../../models/revision').Revision[];
186
- [dataTagErrorSymbol]: Error;
187
- };
154
+ queryKey: import('@tanstack/react-query').DataTag<import('@tanstack/react-query').QueryKey, import('../../../models/revision').Revision[]>;
188
155
  };
189
156
  findOneRevision: ({ wikiId, pageId, revisionId, }: {
190
157
  wikiId: string;
191
158
  pageId: string;
192
159
  revisionId?: string;
193
- }) => import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('../../../models/revision').Revision, Error, import('../../../models/revision').Revision, readonly ["page", "revision", {
194
- readonly id: string;
195
- }, {
196
- readonly id: string | undefined;
197
- }]>, "queryFn"> & {
198
- queryFn?: import('@tanstack/react-query').QueryFunction<import('../../../models/revision').Revision, readonly ["page", "revision", {
199
- readonly id: string;
200
- }, {
201
- readonly id: string | undefined;
202
- }], never> | undefined;
160
+ }) => import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('../../../models/revision').Revision, Error, import('../../../models/revision').Revision, import('@tanstack/react-query').QueryKey>, "queryFn"> & {
161
+ queryFn?: import('@tanstack/react-query').QueryFunction<import('../../../models/revision').Revision, import('@tanstack/react-query').QueryKey, never> | undefined;
203
162
  } & {
204
- queryKey: readonly ["page", "revision", {
205
- readonly id: string;
206
- }, {
207
- readonly id: string | undefined;
208
- }] & {
209
- [dataTagSymbol]: import('../../../models/revision').Revision;
210
- [dataTagErrorSymbol]: Error;
211
- };
163
+ queryKey: import('@tanstack/react-query').DataTag<import('@tanstack/react-query').QueryKey, import('../../../models/revision').Revision>;
212
164
  };
213
165
  findPagesViewsCounter: ({ pageIds }: {
214
166
  pageIds: string[];
215
- }) => import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('@edifice.io/client').ViewsCounters, Error, import('@edifice.io/client').ViewsCounters, readonly ["page", "viewsCounter", {
216
- readonly id: string[];
217
- }]>, "queryFn"> & {
218
- queryFn?: import('@tanstack/react-query').QueryFunction<import('@edifice.io/client').ViewsCounters, readonly ["page", "viewsCounter", {
219
- readonly id: string[];
220
- }], never> | undefined;
167
+ }) => import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('@edifice.io/client').ViewsCounters, Error, import('@edifice.io/client').ViewsCounters, import('@tanstack/react-query').QueryKey>, "queryFn"> & {
168
+ queryFn?: import('@tanstack/react-query').QueryFunction<import('@edifice.io/client').ViewsCounters, import('@tanstack/react-query').QueryKey, never> | undefined;
221
169
  } & {
222
- queryKey: readonly ["page", "viewsCounter", {
223
- readonly id: string[];
224
- }] & {
225
- [dataTagSymbol]: import('@edifice.io/client').ViewsCounters;
226
- [dataTagErrorSymbol]: Error;
227
- };
170
+ queryKey: import('@tanstack/react-query').DataTag<import('@tanstack/react-query').QueryKey, import('@edifice.io/client').ViewsCounters>;
228
171
  };
229
172
  findPageViewsDetails: ({ pageId }: {
230
173
  pageId: string;
231
- }) => import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('@edifice.io/client').ViewsDetails | undefined, Error, import('@edifice.io/client').ViewsDetails | undefined, readonly ["page", "viewsDetails", {
232
- readonly id: string;
233
- }]>, "queryFn"> & {
234
- queryFn?: import('@tanstack/react-query').QueryFunction<import('@edifice.io/client').ViewsDetails | undefined, readonly ["page", "viewsDetails", {
235
- readonly id: string;
236
- }], never> | undefined;
174
+ }) => import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('@edifice.io/client').ViewsDetails | undefined, Error, import('@edifice.io/client').ViewsDetails | undefined, import('@tanstack/react-query').QueryKey>, "queryFn"> & {
175
+ queryFn?: import('@tanstack/react-query').QueryFunction<import('@edifice.io/client').ViewsDetails | undefined, import('@tanstack/react-query').QueryKey, never> | undefined;
237
176
  } & {
238
- queryKey: readonly ["page", "viewsDetails", {
239
- readonly id: string;
240
- }] & {
241
- [dataTagSymbol]: import('@edifice.io/client').ViewsDetails | undefined;
242
- [dataTagErrorSymbol]: Error;
243
- };
177
+ queryKey: import('@tanstack/react-query').DataTag<import('@tanstack/react-query').QueryKey, import('@edifice.io/client').ViewsDetails | undefined>;
244
178
  };
245
179
  };
246
180
  /**
@@ -1,18 +1,9 @@
1
1
  export declare const pollQueryOptions: {
2
2
  base: readonly ["poll"];
3
- findOne: (pollName: string) => import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('../../api/poll/poll.types').Poll, Error, import('../../api/poll/poll.types').Poll, readonly ["poll", {
4
- readonly name: string;
5
- }]>, "queryFn"> & {
6
- queryFn?: import('@tanstack/react-query').QueryFunction<import('../../api/poll/poll.types').Poll, readonly ["poll", {
7
- readonly name: string;
8
- }], never> | undefined;
3
+ findOne: (pollName: string) => import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('../../api/poll/poll.types').Poll, Error, import('../../api/poll/poll.types').Poll, import('@tanstack/react-query').QueryKey>, "queryFn"> & {
4
+ queryFn?: import('@tanstack/react-query').QueryFunction<import('../../api/poll/poll.types').Poll, import('@tanstack/react-query').QueryKey, never> | undefined;
9
5
  } & {
10
- queryKey: readonly ["poll", {
11
- readonly name: string;
12
- }] & {
13
- [dataTagSymbol]: import('../../api/poll/poll.types').Poll;
14
- [dataTagErrorSymbol]: Error;
15
- };
6
+ queryKey: import('@tanstack/react-query').DataTag<import('@tanstack/react-query').QueryKey, import('../../api/poll/poll.types').Poll>;
16
7
  };
17
8
  };
18
9
  export declare const useGetPoll: (pollName: string) => import('@tanstack/react-query').UseQueryResult<import('../../api/poll/poll.types').Poll, Error>;
@@ -3,29 +3,20 @@
3
3
  */
4
4
  export declare const wikiQueryOptions: {
5
5
  base: readonly ["wiki"];
6
- findAllAsResources: () => import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('@edifice.io/client').IResource[], Error, import('@edifice.io/client').IResource[], readonly ["wiki", "resources"]>, "queryFn"> & {
7
- queryFn?: import('@tanstack/react-query').QueryFunction<import('@edifice.io/client').IResource[], readonly ["wiki", "resources"], never> | undefined;
6
+ findAllAsResources: () => import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('@edifice.io/client').IResource[], Error, import('@edifice.io/client').IResource[], import('@tanstack/react-query').QueryKey>, "queryFn"> & {
7
+ queryFn?: import('@tanstack/react-query').QueryFunction<import('@edifice.io/client').IResource[], import('@tanstack/react-query').QueryKey, never> | undefined;
8
8
  } & {
9
- queryKey: readonly ["wiki", "resources"] & {
10
- [dataTagSymbol]: import('@edifice.io/client').IResource[];
11
- [dataTagErrorSymbol]: Error;
12
- };
9
+ queryKey: import('@tanstack/react-query').DataTag<import('@tanstack/react-query').QueryKey, import('@edifice.io/client').IResource[]>;
13
10
  };
14
- findAll: () => import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('../../../models').PickedWiki[], Error, import('../../../models').PickedWiki[], readonly ["wiki", "list"]>, "queryFn"> & {
15
- queryFn?: import('@tanstack/react-query').QueryFunction<import('../../../models').PickedWiki[], readonly ["wiki", "list"], never> | undefined;
11
+ findAll: () => import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('../../../models').PickedWiki[], Error, import('../../../models').PickedWiki[], import('@tanstack/react-query').QueryKey>, "queryFn"> & {
12
+ queryFn?: import('@tanstack/react-query').QueryFunction<import('../../../models').PickedWiki[], import('@tanstack/react-query').QueryKey, never> | undefined;
16
13
  } & {
17
- queryKey: readonly ["wiki", "list"] & {
18
- [dataTagSymbol]: import('../../../models').PickedWiki[];
19
- [dataTagErrorSymbol]: Error;
20
- };
14
+ queryKey: import('@tanstack/react-query').DataTag<import('@tanstack/react-query').QueryKey, import('../../../models').PickedWiki[]>;
21
15
  };
22
- findAllWithPages: () => import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('../../../models').Wiki[], Error, import('../../../models').Wiki[], readonly ["wiki", "listallpages"]>, "queryFn"> & {
23
- queryFn?: import('@tanstack/react-query').QueryFunction<import('../../../models').Wiki[], readonly ["wiki", "listallpages"], never> | undefined;
16
+ findAllWithPages: () => import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('../../../models').Wiki[], Error, import('../../../models').Wiki[], import('@tanstack/react-query').QueryKey>, "queryFn"> & {
17
+ queryFn?: import('@tanstack/react-query').QueryFunction<import('../../../models').Wiki[], import('@tanstack/react-query').QueryKey, never> | undefined;
24
18
  } & {
25
- queryKey: readonly ["wiki", "listallpages"] & {
26
- [dataTagSymbol]: import('../../../models').Wiki[];
27
- [dataTagErrorSymbol]: Error;
28
- };
19
+ queryKey: import('@tanstack/react-query').DataTag<import('@tanstack/react-query').QueryKey, import('../../../models').Wiki[]>;
29
20
  };
30
21
  findOne: (wikiId: string) => import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<{
31
22
  pages: {
@@ -111,9 +102,7 @@ export declare const wikiQueryOptions: {
111
102
  shared?: string[];
112
103
  aiGenerated?: boolean;
113
104
  aiMetadata?: import('../../../models').AIMetadata;
114
- }, readonly ["wiki", {
115
- readonly id: string;
116
- }]>, "queryFn"> & {
105
+ }, import('@tanstack/react-query').QueryKey>, "queryFn"> & {
117
106
  queryFn?: import('@tanstack/react-query').QueryFunction<{
118
107
  pages: {
119
108
  isVisible: boolean;
@@ -156,58 +145,51 @@ export declare const wikiQueryOptions: {
156
145
  shared?: string[];
157
146
  aiGenerated?: boolean;
158
147
  aiMetadata?: import('../../../models').AIMetadata;
159
- }, readonly ["wiki", {
160
- readonly id: string;
161
- }], never> | undefined;
148
+ }, import('@tanstack/react-query').QueryKey, never> | undefined;
162
149
  } & {
163
- queryKey: readonly ["wiki", {
164
- readonly id: string;
165
- }] & {
166
- [dataTagSymbol]: {
167
- pages: {
168
- isVisible: boolean;
169
- _id: string;
170
- title: string;
171
- content: string;
172
- jsonContent?: any;
173
- contentPlain: string;
174
- contentVersion: number;
175
- author: string;
176
- authorName: string;
177
- modified: import('../../../models').Modified;
178
- created?: import('../../../models').Created;
179
- lastContributer?: string;
180
- lastContributerName?: string;
181
- comments?: import('../../../models').Comment[];
182
- children?: [{
183
- _id: string;
184
- title: string;
185
- isVisible: boolean;
186
- position?: number;
187
- }];
188
- position?: number;
189
- parentId?: string;
190
- error?: any;
191
- views?: number;
192
- aiMetadata?: {
193
- contentGenerated?: boolean;
194
- contentGeneratedDate?: import('../../../models').Created;
195
- };
196
- }[];
150
+ queryKey: import('@tanstack/react-query').DataTag<import('@tanstack/react-query').QueryKey, {
151
+ pages: {
152
+ isVisible: boolean;
197
153
  _id: string;
198
154
  title: string;
199
- thumbnail: string;
200
- created: import('../../../models').Created;
155
+ content: string;
156
+ jsonContent?: any;
157
+ contentPlain: string;
158
+ contentVersion: number;
159
+ author: string;
160
+ authorName: string;
201
161
  modified: import('../../../models').Modified;
202
- owner: import('../../../models').Owner;
203
- rights: string[];
204
- index?: string;
205
- shared?: string[];
206
- aiGenerated?: boolean;
207
- aiMetadata?: import('../../../models').AIMetadata;
208
- };
209
- [dataTagErrorSymbol]: Error;
210
- };
162
+ created?: import('../../../models').Created;
163
+ lastContributer?: string;
164
+ lastContributerName?: string;
165
+ comments?: import('../../../models').Comment[];
166
+ children?: [{
167
+ _id: string;
168
+ title: string;
169
+ isVisible: boolean;
170
+ position?: number;
171
+ }];
172
+ position?: number;
173
+ parentId?: string;
174
+ error?: any;
175
+ views?: number;
176
+ aiMetadata?: {
177
+ contentGenerated?: boolean;
178
+ contentGeneratedDate?: import('../../../models').Created;
179
+ };
180
+ }[];
181
+ _id: string;
182
+ title: string;
183
+ thumbnail: string;
184
+ created: import('../../../models').Created;
185
+ modified: import('../../../models').Modified;
186
+ owner: import('../../../models').Owner;
187
+ rights: string[];
188
+ index?: string;
189
+ shared?: string[];
190
+ aiGenerated?: boolean;
191
+ aiMetadata?: import('../../../models').AIMetadata;
192
+ }>;
211
193
  };
212
194
  };
213
195
  export declare const useGetWikis: () => import('@tanstack/react-query').UseQueryResult<import('../../../models').PickedWiki[], Error>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edifice.io/wiki",
3
- "version": "3.6.15-develop-integration.20261005092327",
3
+ "version": "3.6.15-develop-pedago.20261005172908",
4
4
  "description": "Wiki application",
5
5
  "license": "AGPL-3.0",
6
6
  "author": "Edifice",
@@ -17,29 +17,35 @@
17
17
  ]
18
18
  },
19
19
  "dependencies": {
20
- "@edifice.io/bootstrap": "develop-integration",
21
- "@edifice.io/client": "develop-integration",
22
- "@edifice.io/react": "develop-integration",
23
20
  "@react-spring/web": "9.7.5",
24
- "@tanstack/react-query": "5.81.5",
25
21
  "@uidotdev/usehooks": "2.4.1",
26
22
  "clsx": "2.1.1",
27
23
  "i18next": "23.8.1",
28
24
  "i18next-http-backend": "2.4.2",
29
25
  "lottie-react": "2.4.1",
30
- "ode-explorer": "develop-integration",
31
- "react": "18.3.1",
32
- "react-dom": "18.3.1",
26
+ "ode-explorer": "develop-pedago",
33
27
  "react-error-boundary": "4.0.13",
34
28
  "react-hook-form": "7.71.1",
35
- "react-i18next": "14.1.0",
36
29
  "react-router-dom": "6.30.3",
37
30
  "zustand": "4.5.7"
38
31
  },
32
+ "peerDependencies": {
33
+ "@edifice.io/bootstrap": "develop-pedago",
34
+ "@edifice.io/client": "develop-pedago",
35
+ "@edifice.io/react": "develop-pedago",
36
+ "@tanstack/react-query": "^5",
37
+ "react": "18.3.1",
38
+ "react-dom": "18.3.1",
39
+ "react-i18next": "^14"
40
+ },
39
41
  "devDependencies": {
40
42
  "@axe-core/react": "4.11.1",
41
43
  "@babel/plugin-transform-react-pure-annotations": "7.23.3",
44
+ "@edifice.io/bootstrap": "develop-pedago",
45
+ "@edifice.io/client": "develop-pedago",
46
+ "@edifice.io/react": "develop-pedago",
42
47
  "@eslint/js": "9.39.2",
48
+ "@tanstack/react-query": "5.62.7",
43
49
  "@tanstack/react-query-devtools": "5.91.3",
44
50
  "@testing-library/jest-dom": "6.5.0",
45
51
  "@testing-library/react": "16.0.1",
@@ -60,6 +66,9 @@
60
66
  "msw": "2.12.8",
61
67
  "nx": "19.6.0",
62
68
  "prettier": "3.8.1",
69
+ "react": "18.3.1",
70
+ "react-dom": "18.3.1",
71
+ "react-i18next": "14.1.0",
63
72
  "typescript": "5.9.3",
64
73
  "typescript-eslint": "8.54.0",
65
74
  "vite": "5.4.21",
@@ -91,6 +100,7 @@
91
100
  "format": "prettier --write .",
92
101
  "lint": "eslint .",
93
102
  "pre-commit": "lint-staged",
103
+ "postinstall": "sh scripts/check-singletons.sh",
94
104
  "preview": "vite preview",
95
105
  "test": "vitest",
96
106
  "test:coverage": "vitest run --coverage",