XenoWaiT
XenoWaiT
Explore posts from servers
DTDrizzle Team
Created by XenoWaiT on 4/29/2024 in #help
Drizzle Studio: Cannot read properties of undefined (reading 'name')
@Ze'ev sure its imported from a file enums.ts
export enum Gender {
MALE = "MALE",
FEMALE = "FEMALE",
}


export function enumToPgEnum(myEnum: any): [string, ...string[]] {
return Object.values(myEnum).map((value: any) => `${value}`) as [
string,
...string[],
];
}
const genderEnumList = enumToPgEnum(Gender);
export const genderEnum = pgEnum('gender', genderEnumList);
export enum Gender {
MALE = "MALE",
FEMALE = "FEMALE",
}


export function enumToPgEnum(myEnum: any): [string, ...string[]] {
return Object.values(myEnum).map((value: any) => `${value}`) as [
string,
...string[],
];
}
const genderEnumList = enumToPgEnum(Gender);
export const genderEnum = pgEnum('gender', genderEnumList);
4 replies
RRailway
Created by XenoWaiT on 12/15/2023 in #✋|help
Can't view my services
thanks alot ~
8 replies
RRailway
Created by XenoWaiT on 12/15/2023 in #✋|help
Can't view my services
N/A
8 replies
RRailway
Created by shoppealtech00 on 12/11/2023 in #✋|help
Unbale to delete project or add service
my issue got resolved by itself somehow after minutes of panicking because it was right before my teams release :”) basically two main things: 1) in one environment (staging), i couldnt see my services, just a blank canvas . basically same as what you see here (https://discord.com/channels/713503345364697088/1183820072108687441/1183820694463709184) 2) in both (all) my environments, i couldnt deploy new changes as the build process seemed to get stuck at “building” what i was doing before this problem came about: i had opted in for the staged changes feature flag and tried to commit a new variable in my staging environment which led to 1) what might have fixed it: - i turned off the staged changes feature flag and had to wait a few minutes (around 10) - eventually things went back to normal magically, but i dont think the environment commit got through. previous halted builds resumed and went back to normal.
25 replies
RRailway
Created by shoppealtech00 on 12/11/2023 in #✋|help
Unbale to delete project or add service
it only happens for one of my environments, the other works normally
25 replies
RRailway
Created by shoppealtech00 on 12/11/2023 in #✋|help
Unbale to delete project or add service
have the same issue here! happened when i was trying to commit environment variables when i had the "staged changes" feature flag on
25 replies
RRailway
Created by XenoWaiT on 7/21/2023 in #✋|help
Can only purchase dollar amounts of credits error
it worked 🙂 thanks!
10 replies
RRailway
Created by XenoWaiT on 7/21/2023 in #✋|help
Can only purchase dollar amounts of credits error
Hi sorry gimme a sec
10 replies
RRailway
Created by XenoWaiT on 7/21/2023 in #✋|help
Can only purchase dollar amounts of credits error
N/A
10 replies