Update types
This commit is contained in:
parent
4cfb408d5e
commit
08b6eb6eb5
4 changed files with 125 additions and 0 deletions
35
src/plugins/types/pluginConfiguration.ts
Normal file
35
src/plugins/types/pluginConfiguration.ts
Normal file
|
@ -0,0 +1,35 @@
|
|||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import { ConfigurationTypeFieldEnum } from "./../../types/globalTypes";
|
||||
|
||||
// ====================================================
|
||||
// GraphQL query operation: pluginConfiguration
|
||||
// ====================================================
|
||||
|
||||
export interface pluginConfiguration_pluginConfiguration_configuration {
|
||||
__typename: "ConfigurationItem";
|
||||
name: string;
|
||||
type: ConfigurationTypeFieldEnum | null;
|
||||
value: string;
|
||||
helpText: string | null;
|
||||
label: string | null;
|
||||
}
|
||||
|
||||
export interface pluginConfiguration_pluginConfiguration {
|
||||
__typename: "PluginConfiguration";
|
||||
id: string;
|
||||
name: string;
|
||||
description: string;
|
||||
active: boolean;
|
||||
configuration: (pluginConfiguration_pluginConfiguration_configuration | null)[] | null;
|
||||
}
|
||||
|
||||
export interface pluginConfiguration {
|
||||
pluginConfiguration: pluginConfiguration_pluginConfiguration | null;
|
||||
}
|
||||
|
||||
export interface pluginConfigurationVariables {
|
||||
id: string;
|
||||
}
|
48
src/plugins/types/pluginConfigurationUpdate.ts
Normal file
48
src/plugins/types/pluginConfigurationUpdate.ts
Normal file
|
@ -0,0 +1,48 @@
|
|||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import { PluginConfigurationUpdateInput, ConfigurationTypeFieldEnum } from "./../../types/globalTypes";
|
||||
|
||||
// ====================================================
|
||||
// GraphQL mutation operation: pluginConfigurationUpdate
|
||||
// ====================================================
|
||||
|
||||
export interface pluginConfigurationUpdate_pluginConfigurationUpdate_errors {
|
||||
__typename: "Error";
|
||||
field: string | null;
|
||||
message: string | null;
|
||||
}
|
||||
|
||||
export interface pluginConfigurationUpdate_pluginConfigurationUpdate_pluginConfiguration_configuration {
|
||||
__typename: "ConfigurationItem";
|
||||
name: string;
|
||||
type: ConfigurationTypeFieldEnum | null;
|
||||
value: string;
|
||||
helpText: string | null;
|
||||
label: string | null;
|
||||
}
|
||||
|
||||
export interface pluginConfigurationUpdate_pluginConfigurationUpdate_pluginConfiguration {
|
||||
__typename: "PluginConfiguration";
|
||||
id: string;
|
||||
name: string;
|
||||
description: string;
|
||||
active: boolean;
|
||||
configuration: (pluginConfigurationUpdate_pluginConfigurationUpdate_pluginConfiguration_configuration | null)[] | null;
|
||||
}
|
||||
|
||||
export interface pluginConfigurationUpdate_pluginConfigurationUpdate {
|
||||
__typename: "PluginConfigurationUpdate";
|
||||
errors: pluginConfigurationUpdate_pluginConfigurationUpdate_errors[] | null;
|
||||
pluginConfiguration: pluginConfigurationUpdate_pluginConfigurationUpdate_pluginConfiguration | null;
|
||||
}
|
||||
|
||||
export interface pluginConfigurationUpdate {
|
||||
pluginConfigurationUpdate: pluginConfigurationUpdate_pluginConfigurationUpdate | null;
|
||||
}
|
||||
|
||||
export interface pluginConfigurationUpdateVariables {
|
||||
id: string;
|
||||
input: PluginConfigurationUpdateInput;
|
||||
}
|
27
src/plugins/types/pluginsDetailsFragment.ts
Normal file
27
src/plugins/types/pluginsDetailsFragment.ts
Normal file
|
@ -0,0 +1,27 @@
|
|||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import { ConfigurationTypeFieldEnum } from "./../../types/globalTypes";
|
||||
|
||||
// ====================================================
|
||||
// GraphQL fragment: pluginsDetailsFragment
|
||||
// ====================================================
|
||||
|
||||
export interface pluginsDetailsFragment_configuration {
|
||||
__typename: "ConfigurationItem";
|
||||
name: string;
|
||||
type: ConfigurationTypeFieldEnum | null;
|
||||
value: string;
|
||||
helpText: string | null;
|
||||
label: string | null;
|
||||
}
|
||||
|
||||
export interface pluginsDetailsFragment {
|
||||
__typename: "PluginConfiguration";
|
||||
id: string;
|
||||
name: string;
|
||||
description: string;
|
||||
active: boolean;
|
||||
configuration: (pluginsDetailsFragment_configuration | null)[] | null;
|
||||
}
|
|
@ -33,6 +33,11 @@ export enum AuthorizationKeyType {
|
|||
GOOGLE_OAUTH2 = "GOOGLE_OAUTH2",
|
||||
}
|
||||
|
||||
export enum ConfigurationTypeFieldEnum {
|
||||
BOOLEAN = "BOOLEAN",
|
||||
STRING = "STRING",
|
||||
}
|
||||
|
||||
export enum DiscountValueTypeEnum {
|
||||
FIXED = "FIXED",
|
||||
PERCENTAGE = "PERCENTAGE",
|
||||
|
@ -340,6 +345,11 @@ export interface CollectionInput {
|
|||
publicationDate?: any | null;
|
||||
}
|
||||
|
||||
export interface ConfigurationItemInput {
|
||||
name: string;
|
||||
value: string;
|
||||
}
|
||||
|
||||
export interface CustomerInput {
|
||||
defaultBillingAddress?: AddressInput | null;
|
||||
defaultShippingAddress?: AddressInput | null;
|
||||
|
@ -466,6 +476,11 @@ export interface PageTranslationInput {
|
|||
contentJson?: any | null;
|
||||
}
|
||||
|
||||
export interface PluginConfigurationUpdateInput {
|
||||
active?: boolean | null;
|
||||
configuration?: (ConfigurationItemInput | null)[] | null;
|
||||
}
|
||||
|
||||
export interface PriceRangeInput {
|
||||
gte?: number | null;
|
||||
lte?: number | null;
|
||||
|
|
Loading…
Reference in a new issue