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:
@@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user