mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-11 00:05:36 +02:00
## Description - [x] Adds support for AWS SSO, which makes us (the team) able to use SST and update the components independently - [x] Splits the webpage into the landing page (Qwik), and Astro (the console) in charge of playing. This allows us to pass in Environment Variables to the console - ~Migrates the docs from Nuxt to Nextjs, and connects them to SST. This allows us to use Fumadocs _citation needed_ that's much more beautiful, and supports OpenApi~ - Cloudflare pages with github integration is not working on our new CF account. So we will have to push the pages deployment manually with Github actions - [x] Moves the current set up from my personal CF and AWS accounts to dedicated Nestri accounts - ## Related Issues <!-- List any related issues (e.g., "Closes #123", "Fixes #456") --> ## Type of Change - [ ] Bug fix (non-breaking change) - [x] New feature (non-breaking change) - [ ] Breaking change (fix or feature that changes existing functionality) - [x] Documentation update - [ ] Other (please describe): ## Checklist - [x] I have updated relevant documentation - [x] My code follows the project's coding style - [x] My changes generate no new warnings/errors ## Notes for Reviewers <!-- Point out areas you'd like reviewers to focus on, questions you have, or decisions that need discussion --> Please approve my PR 🥹 ## Screenshots/Demo <!-- If applicable, add screenshots or a GIF demo of your changes (especially for UI changes) --> ## Additional Context <!-- Add any other context about the pull request here -->
75 lines
2.4 KiB
TypeScript
75 lines
2.4 KiB
TypeScript
export module Examples {
|
|
|
|
export const User = {
|
|
id: "0bfcc712-df13-4454-81a8-fbee66eddca4",
|
|
email: "john@example.com",
|
|
};
|
|
|
|
export const Task = {
|
|
id: "0bfcc712-df13-4454-81a8-fbee66eddca4",
|
|
taskID: "b8302fca2d224d91ab342a2e4ab926d3",
|
|
type: "AWS" as const, //or "on-premises",
|
|
lastStatus: "RUNNING" as const,
|
|
healthStatus: "UNKNOWN" as const,
|
|
startedAt: '2025-01-09T01:56:23.902Z',
|
|
lastUpdated: '2025-01-09T01:56:23.902Z',
|
|
stoppedAt: '2025-01-09T04:46:23.902Z'
|
|
}
|
|
|
|
export const Profile = {
|
|
id: "0bfcb712-df13-4454-81a8-fbee66eddca4",
|
|
username: "janedoe47",
|
|
status: "active" as const,
|
|
avatarUrl: "https://cdn.discordapp.com/avatars/xxxxxxx/xxxxxxx.png",
|
|
discriminator: 12, //it needs to be two digits
|
|
createdAt: '2025-01-04T11:56:23.902Z',
|
|
updatedAt: '2025-01-09T01:56:23.902Z'
|
|
}
|
|
|
|
export const Subscription = {
|
|
id: "0bfcb712-df13-4454-81a8-fbee66eddca4",
|
|
checkoutID: "0bfcb712-df43-4454-81a8-fbee66eddca4",
|
|
// productID: "0bfcb712-df43-4454-81a8-fbee66eddca4",
|
|
// quantity: 1,
|
|
// frequency: "monthly" as const,
|
|
// next: '2025-01-09T01:56:23.902Z',
|
|
canceledAt: '2025-02-09T01:56:23.902Z'
|
|
}
|
|
|
|
export const Team = {
|
|
id: "0bfcb712-df13-4454-81a8-fbee66eddca4",
|
|
// owner: true,
|
|
name: "Jane Doe's Games",
|
|
slug: "jane-does-games",
|
|
createdAt: '2025-01-04T11:56:23.902Z',
|
|
updatedAt: '2025-01-09T01:56:23.902Z'
|
|
}
|
|
|
|
export const Machine = {
|
|
id: "0bfcb712-df13-4454-81a8-fbee66eddca4",
|
|
hostname: "DESKTOP-EUO8VSF",
|
|
fingerprint: "fc27f428f9ca47d4b41b70889ae0c62090",
|
|
createdAt: '2025-01-04T11:56:23.902Z',
|
|
deletedAt: '2025-01-09T01:56:23.902Z'
|
|
}
|
|
|
|
export const Instance = {
|
|
id: "0bfcb712-df13-4454-81a8-fbee66eddca4",
|
|
hostname: "a955e059f05d",
|
|
createdAt: '2025-01-04T11:56:23.902Z',
|
|
lastActive: '2025-01-09T01:56:23.902Z'
|
|
}
|
|
|
|
export const Game = {
|
|
id: '0bfcb712-df13-4454-81a8-fbee66eddca4',
|
|
name: "Control Ultimate Edition",
|
|
steamID: 870780,
|
|
}
|
|
|
|
export const Session = {
|
|
id: "0bfcb712-df13-4454-81a8-fbee66eddca4",
|
|
public: true,
|
|
startedAt: '2025-01-04T11:56:23.902Z',
|
|
endedAt: '2025-01-04T12:36:23.902Z'
|
|
}
|
|
} |