Comment out mobygames and giantbomb
This commit is contained in:
parent
5833ca261f
commit
e38f450e24
1 changed files with 36 additions and 36 deletions
|
|
@ -50,8 +50,8 @@ function createPropertyMappingsDescription(): DocumentFragment {
|
||||||
export interface MediaDbPluginSettings {
|
export interface MediaDbPluginSettings {
|
||||||
OMDbKeyId: string;
|
OMDbKeyId: string;
|
||||||
TMDBKeyId: string;
|
TMDBKeyId: string;
|
||||||
MobyGamesKeyId: string;
|
//MobyGamesKeyId: string;
|
||||||
GiantBombKeyId: string;
|
//GiantBombKeyId: string;
|
||||||
IGDBClientId: string;
|
IGDBClientId: string;
|
||||||
IGDBClientSecret: string;
|
IGDBClientSecret: string;
|
||||||
RAWGAPIKeyId: string;
|
RAWGAPIKeyId: string;
|
||||||
|
|
@ -69,12 +69,12 @@ export interface MediaDbPluginSettings {
|
||||||
|
|
||||||
BoardgameGeekAPI_disabledMediaTypes: MediaType[];
|
BoardgameGeekAPI_disabledMediaTypes: MediaType[];
|
||||||
ComicVineAPI_disabledMediaTypes: MediaType[];
|
ComicVineAPI_disabledMediaTypes: MediaType[];
|
||||||
GiantBombAPI_disabledMediaTypes: MediaType[];
|
//GiantBombAPI_disabledMediaTypes: MediaType[];
|
||||||
IGDBAPI_disabledMediaTypes: MediaType[];
|
IGDBAPI_disabledMediaTypes: MediaType[];
|
||||||
RAWGAPI_disabledMediaTypes: MediaType[];
|
RAWGAPI_disabledMediaTypes: MediaType[];
|
||||||
MALAPI_disabledMediaTypes: MediaType[];
|
MALAPI_disabledMediaTypes: MediaType[];
|
||||||
MALAPIManga_disabledMediaTypes: MediaType[];
|
MALAPIManga_disabledMediaTypes: MediaType[];
|
||||||
MobyGamesAPI_disabledMediaTypes: MediaType[];
|
//MobyGamesAPI_disabledMediaTypes: MediaType[];
|
||||||
MusicBrainzAPI_disabledMediaTypes: MediaType[];
|
MusicBrainzAPI_disabledMediaTypes: MediaType[];
|
||||||
OMDbAPI_disabledMediaTypes: MediaType[];
|
OMDbAPI_disabledMediaTypes: MediaType[];
|
||||||
OpenLibraryAPI_disabledMediaTypes: MediaType[];
|
OpenLibraryAPI_disabledMediaTypes: MediaType[];
|
||||||
|
|
@ -309,8 +309,8 @@ class MediaTypeMappedSettings {
|
||||||
const DEFAULT_SETTINGS: MediaDbPluginSettings = {
|
const DEFAULT_SETTINGS: MediaDbPluginSettings = {
|
||||||
OMDbKeyId: '',
|
OMDbKeyId: '',
|
||||||
TMDBKeyId: '',
|
TMDBKeyId: '',
|
||||||
MobyGamesKeyId: '',
|
//MobyGamesKeyId: '',
|
||||||
GiantBombKeyId: '',
|
//GiantBombKeyId: '',
|
||||||
IGDBClientId: '',
|
IGDBClientId: '',
|
||||||
IGDBClientSecret: '',
|
IGDBClientSecret: '',
|
||||||
RAWGAPIKeyId: '',
|
RAWGAPIKeyId: '',
|
||||||
|
|
@ -328,12 +328,12 @@ const DEFAULT_SETTINGS: MediaDbPluginSettings = {
|
||||||
|
|
||||||
BoardgameGeekAPI_disabledMediaTypes: [],
|
BoardgameGeekAPI_disabledMediaTypes: [],
|
||||||
ComicVineAPI_disabledMediaTypes: [],
|
ComicVineAPI_disabledMediaTypes: [],
|
||||||
GiantBombAPI_disabledMediaTypes: [],
|
//GiantBombAPI_disabledMediaTypes: [],
|
||||||
IGDBAPI_disabledMediaTypes: [],
|
IGDBAPI_disabledMediaTypes: [],
|
||||||
RAWGAPI_disabledMediaTypes: [],
|
RAWGAPI_disabledMediaTypes: [],
|
||||||
MALAPI_disabledMediaTypes: [],
|
MALAPI_disabledMediaTypes: [],
|
||||||
MALAPIManga_disabledMediaTypes: [],
|
MALAPIManga_disabledMediaTypes: [],
|
||||||
MobyGamesAPI_disabledMediaTypes: [],
|
//MobyGamesAPI_disabledMediaTypes: [],
|
||||||
MusicBrainzAPI_disabledMediaTypes: [],
|
MusicBrainzAPI_disabledMediaTypes: [],
|
||||||
OMDbAPI_disabledMediaTypes: [],
|
OMDbAPI_disabledMediaTypes: [],
|
||||||
OpenLibraryAPI_disabledMediaTypes: [],
|
OpenLibraryAPI_disabledMediaTypes: [],
|
||||||
|
|
@ -610,38 +610,38 @@ export class MediaDbSettingTab extends PluginSettingTab {
|
||||||
return component;
|
return component;
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
apiKeyGroup.addSetting(
|
// apiKeyGroup.addSetting(
|
||||||
setting =>
|
// setting =>
|
||||||
void setting
|
// void setting
|
||||||
.setName('Moby Games key')
|
// .setName('Moby Games key')
|
||||||
.setDesc('API key for "www.mobygames.com".')
|
// .setDesc('API key for "www.mobygames.com".')
|
||||||
.addComponent(el => {
|
// .addComponent(el => {
|
||||||
const component = new SecretComponent(this.app, el);
|
// const component = new SecretComponent(this.app, el);
|
||||||
|
|
||||||
component.setValue(this.plugin.settings.MobyGamesKeyId).onChange(data => {
|
// component.setValue(this.plugin.settings.MobyGamesKeyId).onChange(data => {
|
||||||
this.plugin.settings.MobyGamesKeyId = data;
|
// this.plugin.settings.MobyGamesKeyId = data;
|
||||||
void this.plugin.saveSettings();
|
// void this.plugin.saveSettings();
|
||||||
});
|
// });
|
||||||
|
|
||||||
return component;
|
// return component;
|
||||||
}),
|
// }),
|
||||||
);
|
// );
|
||||||
apiKeyGroup.addSetting(
|
// apiKeyGroup.addSetting(
|
||||||
setting =>
|
// setting =>
|
||||||
void setting
|
// void setting
|
||||||
.setName('Giant Bomb Key')
|
// .setName('Giant Bomb Key')
|
||||||
.setDesc('API key for "www.giantbomb.com".')
|
// .setDesc('API key for "www.giantbomb.com".')
|
||||||
.addComponent(el => {
|
// .addComponent(el => {
|
||||||
const component = new SecretComponent(this.app, el);
|
// const component = new SecretComponent(this.app, el);
|
||||||
|
|
||||||
component.setValue(this.plugin.settings.GiantBombKeyId).onChange(data => {
|
// component.setValue(this.plugin.settings.GiantBombKeyId).onChange(data => {
|
||||||
this.plugin.settings.GiantBombKeyId = data;
|
// this.plugin.settings.GiantBombKeyId = data;
|
||||||
void this.plugin.saveSettings();
|
// void this.plugin.saveSettings();
|
||||||
});
|
// });
|
||||||
|
|
||||||
return component;
|
// return component;
|
||||||
}),
|
// }),
|
||||||
);
|
// );
|
||||||
apiKeyGroup.addSetting(
|
apiKeyGroup.addSetting(
|
||||||
setting =>
|
setting =>
|
||||||
void setting
|
void setting
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue