+27
-9
entrypoints/home.content.ts
+27
-9
entrypoints/home.content.ts
······+"9656": {"id":9656,"name":"The Wayland Bridge","description":"Listen up troops,\r\n\r\nOn this battlefield your mission is to capture the enemy flag and perform as many casualties to the enemy team. The first team to reach 5 captures will claim victory. The high order will reward you for your confirmed kills, use this wisely to upgrade your arsenal.\r\n\r\nGood luck soldier.","creator":{"type":"user","id":1,"name":"Polytoria","thumbnail":"https://c0.ptacdn.com/thumbnails/avatars/4f42532128b4b6938bb4a01b0f74537ebf5e9efaa09b88d0bf7d343de536c46e-icon.png"},"thumbnail":"https://c0.ptacdn.com/places/icons/WxomBAbMNNNnnAkKxuD11Snnoz2C26wW.png","genre":"fighting","maxPlayers":24,"isActive":false,"isToolsEnabled":true,"isCopyable":false,"visits":10205,"uniqueVisits":799,"playing":0,"rating":{"likes":149,"dislikes":49,"percent":"75%"},"accessType":"everyone","accessPrice":null,"createdAt":"2024-06-14T07:48:36.720+00:00","updatedAt":"2024-07-14T09:07:53.198+00:00"}···const user: userApiSchema = (await (await fetch('https://api.polytoria.com/v1/users/' + id)).json());···+"1": {"id":1,"username":"Polytoria","description":"Welcome to the Polytoria profile!\r\nFor inquiries or support, please send a message to one of our staff members. Messages sent to this account will not be read!","signature":"Hello!","thumbnail":{"avatar":"https://c0.ptacdn.com/thumbnails/avatars/4f42532128b4b6938bb4a01b0f74537ebf5e9efaa09b88d0bf7d343de536c46e.png","icon":"https://c0.ptacdn.com/thumbnails/avatars/4f42532128b4b6938bb4a01b0f74537ebf5e9efaa09b88d0bf7d343de536c46e-icon.png"},"playing":null,"netWorth":3991,"placeVisits":20461,"profileViews":2567,"forumPosts":17,"assetSales":64172,"membershipType":"plusDeluxe","isStaff":true,"registeredAt":"2019-04-14T12:29:52.000+00:00","lastSeenAt":"2024-11-21T11:34:14.119+00:00"}
+15
entrypoints/places.content/index.ts
+15
entrypoints/places.content/index.ts
···
+71
entrypoints/places.content/view.ts
+71
entrypoints/places.content/view.ts
···
+1
-1
entrypoints/sitewide.content.ts
+1
-1
entrypoints/sitewide.content.ts
+8
-3
utils/storage.ts
+8
-3
utils/storage.ts
···export const preferences = storage.defineItem('sync:preferences', { fallback: defaultPreferences, version: 1 });-export const _favoritedPlaces = storage.defineItem('sync:favoritedPlaces', { fallback: [9656], version: 1 });-export const _bestFriends = storage.defineItem('sync:bestFriends', { fallback: [2782], version: 1 });+export const _favoritedPlaces = storage.defineItem('sync:favoritedPlaces', { fallback: ["9656"], version: 1 });+export const _bestFriends = storage.defineItem('sync:bestFriends', { fallback: ["2782"], version: 1 });···
+9
-4
utils/types.ts
+9
-4
utils/types.ts
······
+27
-7
utils/utilities.ts
+27
-7
utils/utilities.ts
···+export async function pullCache(key: string, replenish: Function, expiry: number, forceReplenish: boolean) {······