Skip to content

Commit

Permalink
chore: run build
Browse files Browse the repository at this point in the history
  • Loading branch information
gothfemme committed Sep 15, 2023
1 parent c617c06 commit c4fd988
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 44 deletions.
42 changes: 2 additions & 40 deletions dist/api.d.ts
Original file line number Diff line number Diff line change
@@ -1,44 +1,6 @@
import { AllDestinyManifestComponents, DestinyManifestSlice, HttpClientConfig } from "bungie-api-ts/destiny2";
import { MANIFEST_SLICES } from "./constants";
export declare function buildSearchDatabase(defs: AllDestinyManifestComponents): {
energy: string | string[];
adept: string | string[];
ammo: string | string[];
craftable: string | string[];
event: string | string[];
foundry: string | string[];
frame: string | string[];
name: string | string[];
perk: string | string[];
rarity: string | string[];
rpm: string | string[];
season: string | string[];
slot: string | string[];
source: string | string[];
sunset: string | string[];
trait_1: string | string[];
trait_2: string | string[];
weapon: string | string[];
}[];
export declare function buildSearchDatabase(defs: AllDestinyManifestComponents): import("./keywords").SearchDbItem[];
export declare function $http<T>(config: HttpClientConfig): Promise<T>;
export declare function getManifest(): Promise<DestinyManifestSlice<typeof MANIFEST_SLICES>>;
export declare function getSearchDb(): Promise<{
energy: string | string[];
adept: string | string[];
ammo: string | string[];
craftable: string | string[];
event: string | string[];
foundry: string | string[];
frame: string | string[];
name: string | string[];
perk: string | string[];
rarity: string | string[];
rpm: string | string[];
season: string | string[];
slot: string | string[];
source: string | string[];
sunset: string | string[];
trait_1: string | string[];
trait_2: string | string[];
weapon: string | string[];
}[]>;
export declare function getSearchDb(): Promise<import("./keywords").SearchDbItem[]>;
4 changes: 2 additions & 2 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export { keywordDictionary } from "./keywords";
export type { KeywordDefinition, KeywordDefinitionDictionary, SearchKeywords, } from "./keywords";
export type { KeywordDefinition, KeywordDefinitionDictionary, SearchKeywords, SearchDbItem, } from "./keywords";
export { decompressJson, compressJson } from "./utils";
export { buildSearchDatabase } from "./api";
export { getSearchDb } from "./api";
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/keywords.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { AllDestinyManifestComponents, DestinyInventoryItemDefinition } from "bu
type JsonValue = string | number | boolean | JsonValue[] | null;
type SearchValue = string | string[];
export type SearchKeywords = "adept" | "ammo" | "craftable" | "energy" | "event" | "foundry" | "frame" | "name" | "perk" | "rarity" | "rpm" | "season" | "slot" | "source" | "sunset" | "trait_1" | "trait_2" | "weapon";
type SearchDbItem = Record<SearchKeywords, SearchValue>;
export type SearchDbItem = Record<SearchKeywords, SearchValue>;
export interface KeywordDefinition {
label: SearchKeywords;
formatToDb: (inventoryItemHash: number, definitions: AllDestinyManifestComponents) => JsonValue;
Expand Down

0 comments on commit c4fd988

Please sign in to comment.