mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-12 08:45:38 +02:00
Merging this prematurely to make sure the team is on the same boat... like dang! We need to find a better way to do this. Plus it has become too big
34 lines
913 B
TypeScript
34 lines
913 B
TypeScript
import { prefixes } from "./utils";
|
|
export module Examples {
|
|
export const Id = (prefix: keyof typeof prefixes) =>
|
|
`${prefixes[prefix]}_XXXXXXXXXXXXXXXXXXXXXXXXX`;
|
|
|
|
export const User = {
|
|
id: Id("user"),
|
|
name: "John Doe",
|
|
email: "john@example.com",
|
|
discriminator: 47,
|
|
avatarUrl: "https://cdn.discordapp.com/avatars/xxxxxxx/xxxxxxx.png",
|
|
polarCustomerID: "0bfcb712-df13-4454-81a8-fbee66eddca4",
|
|
};
|
|
|
|
export const Team = {
|
|
id: Id("team"),
|
|
name: "John Does' Team",
|
|
slug: "john_doe",
|
|
planType: "BYOG" as const
|
|
}
|
|
|
|
export const Member = {
|
|
id: Id("member"),
|
|
email: "john@example.com",
|
|
teamID: Id("team"),
|
|
timeSeen: new Date("2025-02-23T13:39:52.249Z"),
|
|
}
|
|
|
|
export const Polar = {
|
|
teamID: Id("team"),
|
|
timeSeen: new Date("2025-02-23T13:39:52.249Z"),
|
|
}
|
|
|
|
} |