diff --git a/generated-src/destiny2/manifest.ts b/generated-src/destiny2/manifest.ts index 7105cd55..cadee709 100644 --- a/generated-src/destiny2/manifest.ts +++ b/generated-src/destiny2/manifest.ts @@ -147,6 +147,16 @@ export interface AllDestinyManifestComponents { DestinyLoadoutConstantsDefinition: { [key: number]: DestinyLoadoutConstantsDefinition }; } +export type DestinyInventoryItemLiteDefinition = Omit< + DestinyInventoryItemDefinition, + | "iconWatermarkShelved" | "screenshot" | "flavorText" | "tooltipStyle" + | "action" | "stats" | "statsEnabledUnlockExpression" | "translationBlock" + | "preview" | "sourceData" | "objectives" | "metrics" | "plug" + | "gearset" | "sack" | "sockets" | "investmentStats" | "traitIds" + | "traitHashes" | "boundToRelease" | "hash" | "index" | "contentIdentifier" + | "redacted" | "blacklisted" +>; + /** * languages the manifest comes in, as their required keys to download them */ diff --git a/generator/generate-manifest.ts b/generator/generate-manifest.ts index f30dce30..83894e69 100644 --- a/generator/generate-manifest.ts +++ b/generator/generate-manifest.ts @@ -57,6 +57,16 @@ ${defsToInclude .map((manifestComponent) => ` ${manifestComponent}: { [key: number]: ${manifestComponent} };\n`) .join('')}} +export type DestinyInventoryItemLiteDefinition = Omit< + DestinyInventoryItemDefinition, + | "iconWatermarkShelved" | "screenshot" | "flavorText" | "tooltipStyle" + | "action" | "stats" | "statsEnabledUnlockExpression" | "translationBlock" + | "preview" | "sourceData" | "objectives" | "metrics" | "plug" + | "gearset" | "sack" | "sockets" | "investmentStats" | "traitIds" + | "traitHashes" | "boundToRelease" | "hash" | "index" | "contentIdentifier" + | "redacted" | "blacklisted" +>; + /** * languages the manifest comes in, as their required keys to download them */ diff --git a/lib/destiny2/manifest.d.ts b/lib/destiny2/manifest.d.ts index 5d62209e..a85a80b9 100644 --- a/lib/destiny2/manifest.d.ts +++ b/lib/destiny2/manifest.d.ts @@ -265,6 +265,34 @@ export interface AllDestinyManifestComponents { [key: number]: DestinyLoadoutConstantsDefinition; }; } +export type DestinyInventoryItemLiteDefinition = Omit< + DestinyInventoryItemDefinition, + | 'iconWatermarkShelved' + | 'screenshot' + | 'flavorText' + | 'tooltipStyle' + | 'action' + | 'stats' + | 'statsEnabledUnlockExpression' + | 'translationBlock' + | 'preview' + | 'sourceData' + | 'objectives' + | 'metrics' + | 'plug' + | 'gearset' + | 'sack' + | 'sockets' + | 'investmentStats' + | 'traitIds' + | 'traitHashes' + | 'boundToRelease' + | 'hash' + | 'index' + | 'contentIdentifier' + | 'redacted' + | 'blacklisted' +>; /** * languages the manifest comes in, as their required keys to download them */