Skip to content

Commit

Permalink
Dust client: export WorkspaceType & LightWorkspaceType
Browse files Browse the repository at this point in the history
  • Loading branch information
PopDaph committed Jan 2, 2025
1 parent 9b681fc commit a8755e9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions sdks/js/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdks/js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dust-tt/client",
"version": "1.0.17",
"version": "1.0.18",
"description": "Client for Dust API",
"repository": {
"type": "git",
Expand Down
2 changes: 2 additions & 0 deletions sdks/js/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -688,6 +688,8 @@ const LightWorkspaceSchema = z.object({
});

export type LightWorkspaceType = z.infer<typeof LightWorkspaceSchema>;
export type WorkspaceType = z.infer<typeof WorkspaceSchema>;
export type ExtensionWorkspaceType = z.infer<typeof ExtensionWorkspaceSchema>;

const WorkspaceSchema = LightWorkspaceSchema.extend({
ssoEnforced: z.boolean().optional(),
Expand Down

0 comments on commit a8755e9

Please sign in to comment.