Skip to content

Commit 8fa9750

Browse files
committed
feat(plugin): add systemCode option to root Tool Kit options
1 parent 34a0337 commit 8fa9750

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

lib/plugin/src/root-schema.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
import * as z from 'zod'
22

33
export const RootSchema = z.object({
4-
allowNativeFetch: z.boolean().default(false)
4+
allowNativeFetch: z.boolean().default(false),
5+
// TODO:IM:20251112 require this option in a future major version
6+
systemCode: z
7+
.string()
8+
.optional()
9+
.describe('Biz Ops system code or the package name prefixed with "npm:" otherwise')
510
})
611
export type RootOptions = z.infer<typeof RootSchema>

0 commit comments

Comments
 (0)