* added layouts for moving teams step * added admin section for org creation step * extended org creation to also move existing teams * wip * wip * wip * further changes * Add checkout for org in onboarding * Fix ts errors * Self review feedback * Self review addressed * Fix unit tests * Fix ts error * Seans feedback addressed * feat: fix correct accounts pending * fix: unit tests for new invite member permissions * tests: org admin onboarding tests for existing user * tests: Inital user self serve flow * chore: update teamAndUserFixture to create X amount of teams * chore: add testId to card actionButton * test: add test-Id to continue or checkout button * tests: add tests for migrating existing teams * feat: match new designs * fix: isAdminCheck * chore: fix pricing copy * fix: flacky tests * Fix tests? * More test fixes * Check all checkboxes * Fix type error * Fix failing test and typescript issues * Fix unpaid org allowing auto-add users * Add self-serve flag * Skip tests --------- Co-authored-by: Alex van Andel <[email protected]> Co-authored-by: Hariom <[email protected]> Co-authored-by: sean-brydon <[email protected]> Co-authored-by: Joe Au-Yeung <[email protected]> Co-authored-by: Joe Au-Yeung <[email protected]> Co-authored-by: Omar López <[email protected]>
16 lines
339 B
TypeScript
16 lines
339 B
TypeScript
import { z } from "zod";
|
|
|
|
export const ZCreateTeamsSchema = z.object({
|
|
teamNames: z.string().array(),
|
|
orgId: z.number(),
|
|
moveTeams: z.array(
|
|
z.object({
|
|
id: z.number(),
|
|
newSlug: z.string().nullable(),
|
|
shouldMove: z.boolean(),
|
|
})
|
|
),
|
|
});
|
|
|
|
export type TCreateTeamsSchema = z.infer<typeof ZCreateTeamsSchema>;
|