-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from DestinyItemManager/esm
3.0: ES Modules, no more const enum
- Loading branch information
Showing
68 changed files
with
17,333 additions
and
14,575 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"comments": false, | ||
"presets": ["@babel/typescript"], | ||
"plugins": [ | ||
[ | ||
"const-enum", | ||
{ | ||
"transform": "constObject" | ||
} | ||
], | ||
"@babel/proposal-class-properties", | ||
"@babel/proposal-object-rest-spread" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,16 @@ | ||
"use strict"; | ||
/** | ||
* Bungie.Net API | ||
* These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality. | ||
* | ||
* OpenAPI spec version: 2.8.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by the bungie-api-ts code generator program. | ||
* https://github.com/DestinyItemManager/bungie-api-ts | ||
* Do not edit these files manually. | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/** | ||
* Get API usage by application for time frame specified. You can go as far back as | ||
* 30 days ago, and can ask for up to a 48 hour window of time in a single request. | ||
* You must be authenticated with at least the ReadUserData permission to access | ||
* this endpoint. | ||
*/ | ||
function getApplicationApiUsage(http, params) { | ||
return http({ | ||
method: 'GET', | ||
url: "https://www.bungie.net/Platform/App/ApiUsage/" + params.applicationId + "/", | ||
params: { | ||
end: params.end, | ||
start: params.start | ||
} | ||
}); | ||
export function getApplicationApiUsage(http, params) { | ||
return http({ | ||
method: 'GET', | ||
url: `https://www.bungie.net/Platform/App/ApiUsage/${params.applicationId}/`, | ||
params: { | ||
end: params.end, | ||
start: params.start, | ||
}, | ||
}); | ||
} | ||
exports.getApplicationApiUsage = getApplicationApiUsage; | ||
/** Get list of applications created by Bungie. */ | ||
function getBungieApplications(http) { | ||
return http({ | ||
method: 'GET', | ||
url: 'https://www.bungie.net/Platform/App/FirstParty/' | ||
}); | ||
export function getBungieApplications(http) { | ||
return http({ | ||
method: 'GET', | ||
url: 'https://www.bungie.net/Platform/App/FirstParty/', | ||
}); | ||
} | ||
exports.getBungieApplications = getBungieApplications; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,5 @@ | ||
"use strict"; | ||
/** | ||
* Bungie.Net API | ||
* These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality. | ||
* | ||
* OpenAPI spec version: 2.8.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by the bungie-api-ts code generator program. | ||
* https://github.com/DestinyItemManager/bungie-api-ts | ||
* Do not edit these files manually. | ||
*/ | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__export(require("../common")); | ||
__export(require("../platform")); | ||
__export(require("./api")); | ||
__export(require("./interfaces")); | ||
export * from '../common'; | ||
export * from '../platform'; | ||
export * from '../http'; | ||
export * from './api'; | ||
export * from './interfaces'; |
Oops, something went wrong.