@wacht/jsx 0.0.1-alpha.17 → 0.0.1-alpha.19

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.
package/dist/index.d.ts CHANGED
@@ -981,6 +981,7 @@ export declare interface UseMagicLinkVerificationReturnType {
981
981
  export declare const useNavigation: () => {
982
982
  navigate: (to: string, options?: NavigateOptions) => void;
983
983
  navigateToSignIn: (redirectUri?: string) => void;
984
+ navigateToAccountSelection: (redirectUri?: string) => void;
984
985
  navigateToSignUp: (redirectUri?: string) => void;
985
986
  };
986
987
 
@@ -1262,11 +1263,17 @@ export declare const useWorkspaceList: () => {
1262
1263
  error: any;
1263
1264
  refetch: () => Promise<void>;
1264
1265
  leaveWorkspace: (id: string, userId: string) => Promise<void>;
1265
- createWorkspace: (organizationId: string, name: string, image?: File, description?: string) => Promise<Response>;
1266
+ createWorkspace: (organizationId: string, name: string, image?: File, description?: string) => Promise<{
1267
+ workspace: Workspace;
1268
+ membership: WorkspaceMembership;
1269
+ }>;
1266
1270
  updateWorkspace: (workspace: Workspace, data: {
1267
1271
  name?: string;
1268
1272
  description?: string;
1269
1273
  image?: File;
1274
+ enforce_2fa?: boolean;
1275
+ enable_ip_restriction?: boolean;
1276
+ whitelisted_ips?: string[];
1270
1277
  }) => Promise<unknown>;
1271
1278
  deleteWorkspace: (workspace: Workspace) => Promise<unknown>;
1272
1279
  getWorkspaceMembers: (workspace: Workspace) => Promise<WorkspaceMembership[]>;