Skip to content

Commit b12b4b1

Browse files
committed
wip
1 parent 3bd3d93 commit b12b4b1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/tools/args.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,3 +89,11 @@ function toEJSON<T extends object | undefined>(value: T): T {
8989
export function zEJSON(): z.AnyZodObject {
9090
return z.object({}).passthrough().transform(toEJSON) as unknown as z.AnyZodObject;
9191
}
92+
export const ProjectAndClusterArgs = {
93+
projectId: AtlasArgs.projectId(),
94+
clusterName: AtlasArgs.clusterName().describe("Atlas cluster name"),
95+
};
96+
97+
export const ProjectArgs = {
98+
projectId: AtlasArgs.projectId(),
99+
};

0 commit comments

Comments
 (0)