Skip to content

Commit 23db8cd

Browse files
authored
Merge pull request #1152 from joshunrau/zod-v4
add zod 3.25 to runtime
2 parents e1e9238 + 69c8c97 commit 23db8cd

File tree

17 files changed

+10696
-4450
lines changed

17 files changed

+10696
-4450
lines changed
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
1+
/** @public */
12
export type RuntimeNotification = {
23
message?: string;
34
title?: string;
45
type: 'error' | 'info' | 'success' | 'warning';
56
variant?: 'critical' | 'standard';
67
};
78

8-
/** Display a notification in ODC for the user during an interactive instrument. Please note this will not work with forms. */
9+
/**
10+
* @public
11+
* Display a notification in ODC for the user during an interactive instrument.
12+
* Please note this will not work with forms.
13+
*/
914
export function addNotification(notification: RuntimeNotification) {
1015
window.parent.document.dispatchEvent(new CustomEvent('addNotification', { detail: notification }));
1116
}

pnpm-lock.yaml

Lines changed: 2197 additions & 1859 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

runtime/v1/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@opendatacapture/runtime-v1",
33
"type": "module",
4-
"version": "1.8.3",
4+
"version": "1.8.4",
55
"author": {
66
"name": "Douglas Neuroinformatics",
77
"email": "[email protected]"
@@ -70,6 +70,7 @@
7070
"simple-statistics__7.x": "workspace:*",
7171
"ts-pattern__5.x": "workspace:*",
7272
"type-fest__4.x": "workspace:*",
73-
"zod__3.23.x": "workspace:*"
73+
"zod__3.23.x": "workspace:*",
74+
"zod__3.x": "workspace:*"
7475
}
7576
}

runtime/v1/runtime.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ export default {
4040
'simple-statistics__7.x',
4141
'ts-pattern__5.x',
4242
'type-fest__4.x',
43-
'zod__3.23.x'
43+
'zod__3.23.x',
44+
'zod__3.x'
4445
],
4546
mode: 'production',
4647
outdir: 'dist'
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "zod__3.23.x",
33
"type": "module",
4-
"version": "3.23.8",
4+
"version": "3.25.36",
55
"license": "MIT",
66
"exports": {
77
".": {
@@ -11,6 +11,6 @@
1111
"./package.json": "./package.json"
1212
},
1313
"dependencies": {
14-
"zod": "3.23.8"
14+
"zod__3.x": "workspace:*"
1515
}
1616
}

0 commit comments

Comments
 (0)