From 7301ff7ac345ea5e2c0f954e5dba53a8ea7ec89f Mon Sep 17 00:00:00 2001 From: Rainnny7 Date: Wed, 18 Sep 2024 23:35:13 -0400 Subject: [PATCH] fix types - make snowflakes a string --- src/app/types/org/organization.ts | 2 +- src/app/types/page/status-page.ts | 4 ++-- src/app/types/user/user.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/types/org/organization.ts b/src/app/types/org/organization.ts index d13b923..cea71eb 100644 --- a/src/app/types/org/organization.ts +++ b/src/app/types/org/organization.ts @@ -28,7 +28,7 @@ export type Organization = { * The snowflake of the {@link User} * that owns this organization. */ - ownerSnowflake: number; + ownerSnowflake: string; /** * The status pages owned by this organization. diff --git a/src/app/types/page/status-page.ts b/src/app/types/page/status-page.ts index 5f07811..1bd1666 100644 --- a/src/app/types/page/status-page.ts +++ b/src/app/types/page/status-page.ts @@ -5,7 +5,7 @@ export type StatusPage = { /** * The snowflake id of this status page. */ - snowflake: bigint; + snowflake: string; /** * The name of this status page. @@ -46,5 +46,5 @@ export type StatusPage = { * The snowflake of the {@link Organization} * that owns this status page. */ - orgSnowflake: boolean; + orgSnowflake: string; }; diff --git a/src/app/types/user/user.ts b/src/app/types/user/user.ts index 301162b..4e14f7e 100644 --- a/src/app/types/user/user.ts +++ b/src/app/types/user/user.ts @@ -2,7 +2,7 @@ export type User = { /** * The snowflake id of this user. */ - snowflake: bigint; + snowflake: string; /** * This user's email.