Add proper custom scalar type definitions

Update Relay's GraphQL scalar types by adding explicit type
definitions in package.json. This change:
- Defines custom scalar types for Datetime and CursorKey as strings
- Updates generated TypeScript files to use string types instead of any
- Improves type safety across the application by replacing any with proper types

This change provides better TypeScript type checking and reduces
implicit any usage throughout the codebase.

Signed-off-by: gearnode <bryan@frimin.fr>
This commit is contained in:
gearnode
2025-02-28 12:17:09 +01:00
parent 7329039b32
commit 367cf02e60
14 changed files with 52 additions and 48 deletions

View File

@@ -1,5 +1,5 @@
/**
* @generated SignedSource<<528ad6b0a104964c9d947ef1e9c41b46>>
* @generated SignedSource<<12b9bffcb7d1b32602592f77810dd9cb>>
* @lightSyntaxTransform
* @nogrep
*/
@@ -16,12 +16,12 @@ export type PeopleOverviewPageQuery$variables = {
export type PeopleOverviewPageQuery$data = {
readonly node: {
readonly additionalEmailAddresses?: ReadonlyArray<string>;
readonly createdAt?: any;
readonly createdAt?: string;
readonly fullName?: string;
readonly id?: string;
readonly kind?: PeopleKind;
readonly primaryEmailAddress?: string;
readonly updatedAt?: any;
readonly updatedAt?: string;
readonly version?: number;
};
};