From d07f12d4ae788c7ae0274d31270a727deb484201 Mon Sep 17 00:00:00 2001 From: Ben Hollis Date: Mon, 9 Dec 2024 19:00:11 -0800 Subject: [PATCH] docs was deprecated --- api/stately/schema/types.ts | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/api/stately/schema/types.ts b/api/stately/schema/types.ts index dd9c7d2..7990110 100644 --- a/api/stately/schema/types.ts +++ b/api/stately/schema/types.ts @@ -6,19 +6,17 @@ export const uint32 = type('uint32', FieldDescriptorProto_Type.UINT32); // it included some signed special values. export const LockedExoticHash = type('LockedExoticHash', FieldDescriptorProto_Type.INT64); -export const ItemID = type('ItemID', uint, { docs: 'The unique ID of an inventory item' }); +/** The unique ID of an inventory item */ +export const ItemID = type('ItemID', uint); +/** The hash ID of a definition */ // Manifest hashes are actually a uint32 -export const HashID = type('HashID', uint32, { - docs: 'The hash ID of a definition', -}); +export const HashID = type('HashID', uint32); -export const MembershipID = type('MembershipID', uint, { - docs: 'The unique ID of a Bungie.net membership', -}); -export const ProfileID = type('ProfileID', uint, { - docs: 'The unique ID of a Destiny profile. These can be moved between different Bungie.net memberships.', -}); +/** The unique ID of a Bungie.net membership */ +export const MembershipID = type('MembershipID', uint); +/** The unique ID of a Destiny profile. These can be moved between different Bungie.net memberships. */ +export const ProfileID = type('ProfileID', uint); // This could be an enum, but it's easy enough as a constrained number. export const DestinyVersion = type('DestinyVersion', uint32, {