@topgroup/diginext
Version:
A BUILD SERVER & CLI to deploy apps to any Kubernetes clusters.
32 lines • 962 B
TypeScript
import type { ResponseData } from "../../interfaces";
export type CreateWorkspaceParams = {
userId: string;
name: string;
public: boolean;
email?: string;
subscriptionId?: string;
};
export type CreateWorkspaceResponse = ResponseData & {
data: {
name: string;
slug: string;
domain: string;
subscriptionId: string;
createdAt: string;
updatedAt: string;
};
};
export type JoinWorkspaceResponse = ResponseData & {
data: {
name: string;
createdAt: string;
updatedAt: string;
};
};
export declare function dxCreateWorkspace(params: CreateWorkspaceParams, options?: {
isDebugging?: boolean;
}): Promise<CreateWorkspaceResponse>;
export declare function dxJoinWorkspace(email: string, slug: string, dxKey: string, options?: {
isDebugging?: boolean;
}): Promise<CreateWorkspaceResponse | JoinWorkspaceResponse>;
//# sourceMappingURL=dx-workspace.d.ts.map