Move kind to string

Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
Bryan Frimin
2026-03-11 10:18:59 +01:00
parent 764f61bfa7
commit e393411333
19 changed files with 52 additions and 238 deletions

View File

@@ -1,5 +1,5 @@
/**
* @generated SignedSource<<426a1227dea8949a1d77d75edf05437a>>
* @generated SignedSource<<ad7907a1de226f5486fd309c3d17e40e>>
* @lightSyntaxTransform
* @nogrep
*/
@@ -9,7 +9,6 @@
// @ts-nocheck
import { ReaderFragment } from 'relay-runtime';
export type ProfileKind = "CONTRACTOR" | "EMPLOYEE" | "SERVICE_ACCOUNT";
import { FragmentRefs } from "relay-runtime";
export type PeopleGraphPaginatedFragment$data = {
readonly canCreatePeople: boolean;
@@ -26,7 +25,7 @@ export type PeopleGraphPaginatedFragment$data = {
readonly emailAddress: string;
readonly fullName: string;
readonly id: string;
readonly kind: ProfileKind | null | undefined;
readonly kind: string | null | undefined;
readonly position: string | null | undefined;
};
}>;

View File

@@ -1,5 +1,5 @@
/**
* @generated SignedSource<<e88375170021c3387ee6a5491bc60e52>>
* @generated SignedSource<<113726f3e57dbdd5c0f20352a44deca9>>
* @lightSyntaxTransform
* @nogrep
*/
@@ -10,7 +10,6 @@
import { ReaderFragment } from 'relay-runtime';
export type MembershipRole = "ADMIN" | "AUDITOR" | "EMPLOYEE" | "OWNER" | "VIEWER";
export type ProfileKind = "CONTRACTOR" | "EMPLOYEE" | "SERVICE_ACCOUNT";
import { FragmentRefs } from "relay-runtime";
export type PersonFormFragment$data = {
readonly additionalEmailAddresses: ReadonlyArray<string>;
@@ -20,7 +19,7 @@ export type PersonFormFragment$data = {
readonly emailAddress: string;
readonly fullName: string;
readonly id: string;
readonly kind: ProfileKind | null | undefined;
readonly kind: string | null | undefined;
readonly membership: {
readonly role: MembershipRole;
};

View File

@@ -1,5 +1,5 @@
/**
* @generated SignedSource<<8ef1dc9de9a669636884e4f60f7f39fc>>
* @generated SignedSource<<4dd6dcfde0f1afbc5a3245929bd8fcd9>>
* @lightSyntaxTransform
* @nogrep
*/
@@ -11,14 +11,13 @@
import { ConcreteRequest } from 'relay-runtime';
import { FragmentRefs } from "relay-runtime";
export type MembershipRole = "ADMIN" | "AUDITOR" | "EMPLOYEE" | "OWNER" | "VIEWER";
export type ProfileKind = "CONTRACTOR" | "EMPLOYEE" | "SERVICE_ACCOUNT";
export type CreateUserInput = {
additionalEmailAddresses?: ReadonlyArray<string> | null | undefined;
contractEndDate?: string | null | undefined;
contractStartDate?: string | null | undefined;
emailAddress: string;
fullName: string;
kind?: ProfileKind | null | undefined;
kind?: string | null | undefined;
organizationId: string;
position?: string | null | undefined;
role: MembershipRole;

View File

@@ -1,5 +1,5 @@
/**
* @generated SignedSource<<dc04e9218150e42554925f8c39d83b41>>
* @generated SignedSource<<87d07de57247f129b66225595215a2b4>>
* @lightSyntaxTransform
* @nogrep
*/
@@ -9,14 +9,13 @@
// @ts-nocheck
import { ConcreteRequest } from 'relay-runtime';
export type ProfileKind = "CONTRACTOR" | "EMPLOYEE" | "SERVICE_ACCOUNT";
export type UpdateUserInput = {
additionalEmailAddresses?: ReadonlyArray<string> | null | undefined;
contractEndDate?: string | null | undefined;
contractStartDate?: string | null | undefined;
fullName: string;
id: string;
kind?: ProfileKind | null | undefined;
kind?: string | null | undefined;
position?: string | null | undefined;
};
export type PersonForm_updateMutation$variables = {